]> git.saurik.com Git - wxWidgets.git/blob - configure
wxRichTextAttr does not exist anymore - document instead wxTextAttr
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49855 2007-11-12 10:44:06Z RR .
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_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GTKPRINT
745 EXTRALIBS_GNOMEPRINT
746 EXTRALIBS_GNOMEVFS
747 EXTRALIBS_HILDON
748 UNICODE
749 BUILD
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 SAMPLES_RPATH_FLAG
755 SAMPLES_RPATH_POSTLINK
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 GCC_PCH
808 ICC_PCH
809 BK_MAKE_PCH
810 COND_BUILD_DEBUG
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_INFO_0
821 COND_DEBUG_INFO_1
822 COND_DEPS_TRACKING_0
823 COND_DEPS_TRACKING_1
824 COND_GCC_PCH_1
825 COND_ICC_PCH_1
826 COND_MONOLITHIC_0
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
854 COND_MONOLITHIC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MAC_1
873 COND_PLATFORM_MSDOS_1
874 COND_PLATFORM_OS2_1
875 COND_PLATFORM_UNIX_0
876 COND_PLATFORM_UNIX_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
883 COND_SHARED_0
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
895 COND_SHARED_1
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
897 COND_TOOLKIT_
898 COND_TOOLKIT_COCOA
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_DFB
902 COND_TOOLKIT_DFB_USE_GUI_1
903 COND_TOOLKIT_GTK
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_USE_GUI_1
912 COND_TOOLKIT_MAC
913 COND_TOOLKIT_MAC_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MGL
916 COND_TOOLKIT_MGL_USE_GUI_1
917 COND_TOOLKIT_MOTIF
918 COND_TOOLKIT_MOTIF_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MSW
921 COND_TOOLKIT_MSW_USE_GUI_1
922 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_WXUNIV_0
924 COND_TOOLKIT_PM
925 COND_TOOLKIT_PM_USE_GUI_1
926 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_WINCE
928 COND_TOOLKIT_WINCE_USE_GUI_1
929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_WXUNIV_0
931 COND_TOOLKIT_X11
932 COND_TOOLKIT_X11_USE_GUI_1
933 COND_UNICODE_1
934 COND_USE_EXCEPTIONS_0
935 COND_USE_EXCEPTIONS_1
936 COND_USE_GUI_0
937 COND_USE_GUI_1
938 COND_USE_GUI_1_USE_OPENGL_1
939 COND_USE_GUI_1_WXUNIV_0
940 COND_USE_GUI_1_WXUNIV_1
941 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
944 COND_USE_PCH_1
945 COND_USE_PLUGINS_0
946 COND_USE_RTTI_0
947 COND_USE_RTTI_1
948 COND_USE_SOSYMLINKS_1
949 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
950 COND_USE_SOVERLINUX_1
951 COND_USE_SOVERSION_0
952 COND_USE_SOVERSOLARIS_1
953 COND_USE_STC_1
954 COND_USE_THREADS_0
955 COND_USE_THREADS_1
956 COND_USE_XRC_1
957 COND_WINDOWS_IMPLIB_1
958 COND_WITH_PLUGIN_SDL_1
959 COND_WXUNIV_0
960 COND_WXUNIV_1
961 COND_WXUSE_EXPAT_BUILTIN
962 COND_WXUSE_LIBJPEG_BUILTIN
963 COND_WXUSE_LIBPNG_BUILTIN
964 COND_WXUSE_LIBTIFF_BUILTIN
965 COND_WXUSE_REGEX_BUILTIN
966 COND_WXUSE_ZLIB_BUILTIN
967 DEREZ
968 SHARED
969 WX_LIBRARY_BASENAME_NOGUI
970 WX_LIBRARY_BASENAME_GUI
971 USE_GUI
972 AFMINSTALL
973 WIN32INSTALL
974 TOOLKIT
975 TOOLKIT_DIR
976 TOOLCHAIN_NAME
977 TOOLCHAIN_FULLNAME
978 cross_compiling
979 WIDGET_SET
980 WX_RELEASE
981 WX_VERSION
982 WX_SUBVERSION
983 WX_CHARTYPE
984 WX_DEBUGTYPE
985 WXCONFIG_CPPFLAGS
986 WXCONFIG_CFLAGS
987 WXCONFIG_CXXFLAGS
988 WXCONFIG_LIBS
989 WXCONFIG_RPATH
990 WXCONFIG_LDFLAGS_GUI
991 WXCONFIG_RESFLAGS
992 GUIDIST
993 DISTDIR
994 SAMPLES_SUBDIRS
995 LDFLAGS_GL
996 OPENGL_LIBS
997 DMALLOC_LIBS
998 WX_VERSION_TAG
999 RESCOMP
1000 RESFLAGS
1001 RESPROGRAMOBJ
1002 WX_RESOURCES_MACOSX_ASCII
1003 WX_RESOURCES_MACOSX_DATA
1004 LIBWXMACRES
1005 POSTLINK_COMMAND
1006 MACSETFILE
1007 GCC
1008 DLLTOOL
1009 CPPUNIT_CONFIG
1010 LIBOBJS
1011 LTLIBOBJS'
1012 ac_subst_files=''
1013 ac_precious_vars='build_alias
1014 host_alias
1015 target_alias
1016 CC
1017 CFLAGS
1018 LDFLAGS
1019 LIBS
1020 CPPFLAGS
1021 CPP
1022 CXX
1023 CXXFLAGS
1024 CCC
1025 PKG_CONFIG
1026 DIRECTFB_CFLAGS
1027 DIRECTFB_LIBS
1028 XMKMF
1029 PANGOX_CFLAGS
1030 PANGOX_LIBS
1031 PANGOFT2_CFLAGS
1032 PANGOFT2_LIBS
1033 PANGOXFT_CFLAGS
1034 PANGOXFT_LIBS
1035 GTKPRINT_CFLAGS
1036 GTKPRINT_LIBS
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1039 GNOMEVFS_CFLAGS
1040 GNOMEVFS_LIBS
1041 HILDON_CFLAGS
1042 HILDON_LIBS
1043 CAIRO_CFLAGS
1044 CAIRO_LIBS
1045 GST_CFLAGS
1046 GST_LIBS'
1047 ac_subdirs_all='src/tiff
1048 src/expat'
1049
1050 # Initialize some variables set by options.
1051 ac_init_help=
1052 ac_init_version=false
1053 # The variables have the same names as the options, with
1054 # dashes changed to underlines.
1055 cache_file=/dev/null
1056 exec_prefix=NONE
1057 no_create=
1058 no_recursion=
1059 prefix=NONE
1060 program_prefix=NONE
1061 program_suffix=NONE
1062 program_transform_name=s,x,x,
1063 silent=
1064 site=
1065 srcdir=
1066 verbose=
1067 x_includes=NONE
1068 x_libraries=NONE
1069
1070 # Installation directory options.
1071 # These are left unexpanded so users can "make install exec_prefix=/foo"
1072 # and all the variables that are supposed to be based on exec_prefix
1073 # by default will actually change.
1074 # Use braces instead of parens because sh, perl, etc. also accept them.
1075 # (The list follows the same order as the GNU Coding Standards.)
1076 bindir='${exec_prefix}/bin'
1077 sbindir='${exec_prefix}/sbin'
1078 libexecdir='${exec_prefix}/libexec'
1079 datarootdir='${prefix}/share'
1080 datadir='${datarootdir}'
1081 sysconfdir='${prefix}/etc'
1082 sharedstatedir='${prefix}/com'
1083 localstatedir='${prefix}/var'
1084 includedir='${prefix}/include'
1085 oldincludedir='/usr/include'
1086 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1087 infodir='${datarootdir}/info'
1088 htmldir='${docdir}'
1089 dvidir='${docdir}'
1090 pdfdir='${docdir}'
1091 psdir='${docdir}'
1092 libdir='${exec_prefix}/lib'
1093 localedir='${datarootdir}/locale'
1094 mandir='${datarootdir}/man'
1095
1096 ac_prev=
1097 ac_dashdash=
1098 for ac_option
1099 do
1100 # If the previous option needs an argument, assign it.
1101 if test -n "$ac_prev"; then
1102 eval $ac_prev=\$ac_option
1103 ac_prev=
1104 continue
1105 fi
1106
1107 case $ac_option in
1108 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1109 *) ac_optarg=yes ;;
1110 esac
1111
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1113
1114 case $ac_dashdash$ac_option in
1115 --)
1116 ac_dashdash=yes ;;
1117
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119 ac_prev=bindir ;;
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir=$ac_optarg ;;
1122
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev=build_alias ;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias=$ac_optarg ;;
1127
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev=cache_file ;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file=$ac_optarg ;;
1134
1135 --config-cache | -C)
1136 cache_file=config.cache ;;
1137
1138 -datadir | --datadir | --datadi | --datad)
1139 ac_prev=datadir ;;
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir=$ac_optarg ;;
1142
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev=datarootdir ;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir=$ac_optarg ;;
1149
1150 -disable-* | --disable-*)
1151 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155 { (exit 1); exit 1; }; }
1156 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1157 eval enable_$ac_feature=no ;;
1158
1159 -docdir | --docdir | --docdi | --doc | --do)
1160 ac_prev=docdir ;;
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir=$ac_optarg ;;
1163
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1165 ac_prev=dvidir ;;
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir=$ac_optarg ;;
1168
1169 -enable-* | --enable-*)
1170 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1176 eval enable_$ac_feature=\$ac_optarg ;;
1177
1178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180 | --exec | --exe | --ex)
1181 ac_prev=exec_prefix ;;
1182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184 | --exec=* | --exe=* | --ex=*)
1185 exec_prefix=$ac_optarg ;;
1186
1187 -gas | --gas | --ga | --g)
1188 # Obsolete; use --with-gas.
1189 with_gas=yes ;;
1190
1191 -help | --help | --hel | --he | -h)
1192 ac_init_help=long ;;
1193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1194 ac_init_help=recursive ;;
1195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1196 ac_init_help=short ;;
1197
1198 -host | --host | --hos | --ho)
1199 ac_prev=host_alias ;;
1200 -host=* | --host=* | --hos=* | --ho=*)
1201 host_alias=$ac_optarg ;;
1202
1203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1204 ac_prev=htmldir ;;
1205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1206 | --ht=*)
1207 htmldir=$ac_optarg ;;
1208
1209 -includedir | --includedir | --includedi | --included | --include \
1210 | --includ | --inclu | --incl | --inc)
1211 ac_prev=includedir ;;
1212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213 | --includ=* | --inclu=* | --incl=* | --inc=*)
1214 includedir=$ac_optarg ;;
1215
1216 -infodir | --infodir | --infodi | --infod | --info | --inf)
1217 ac_prev=infodir ;;
1218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219 infodir=$ac_optarg ;;
1220
1221 -libdir | --libdir | --libdi | --libd)
1222 ac_prev=libdir ;;
1223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224 libdir=$ac_optarg ;;
1225
1226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227 | --libexe | --libex | --libe)
1228 ac_prev=libexecdir ;;
1229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230 | --libexe=* | --libex=* | --libe=*)
1231 libexecdir=$ac_optarg ;;
1232
1233 -localedir | --localedir | --localedi | --localed | --locale)
1234 ac_prev=localedir ;;
1235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236 localedir=$ac_optarg ;;
1237
1238 -localstatedir | --localstatedir | --localstatedi | --localstated \
1239 | --localstate | --localstat | --localsta | --localst | --locals)
1240 ac_prev=localstatedir ;;
1241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243 localstatedir=$ac_optarg ;;
1244
1245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1246 ac_prev=mandir ;;
1247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248 mandir=$ac_optarg ;;
1249
1250 -nfp | --nfp | --nf)
1251 # Obsolete; use --without-fp.
1252 with_fp=no ;;
1253
1254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255 | --no-cr | --no-c | -n)
1256 no_create=yes ;;
1257
1258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1260 no_recursion=yes ;;
1261
1262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264 | --oldin | --oldi | --old | --ol | --o)
1265 ac_prev=oldincludedir ;;
1266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269 oldincludedir=$ac_optarg ;;
1270
1271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1272 ac_prev=prefix ;;
1273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274 prefix=$ac_optarg ;;
1275
1276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277 | --program-pre | --program-pr | --program-p)
1278 ac_prev=program_prefix ;;
1279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281 program_prefix=$ac_optarg ;;
1282
1283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284 | --program-suf | --program-su | --program-s)
1285 ac_prev=program_suffix ;;
1286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288 program_suffix=$ac_optarg ;;
1289
1290 -program-transform-name | --program-transform-name \
1291 | --program-transform-nam | --program-transform-na \
1292 | --program-transform-n | --program-transform- \
1293 | --program-transform | --program-transfor \
1294 | --program-transfo | --program-transf \
1295 | --program-trans | --program-tran \
1296 | --progr-tra | --program-tr | --program-t)
1297 ac_prev=program_transform_name ;;
1298 -program-transform-name=* | --program-transform-name=* \
1299 | --program-transform-nam=* | --program-transform-na=* \
1300 | --program-transform-n=* | --program-transform-=* \
1301 | --program-transform=* | --program-transfor=* \
1302 | --program-transfo=* | --program-transf=* \
1303 | --program-trans=* | --program-tran=* \
1304 | --progr-tra=* | --program-tr=* | --program-t=*)
1305 program_transform_name=$ac_optarg ;;
1306
1307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1308 ac_prev=pdfdir ;;
1309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310 pdfdir=$ac_optarg ;;
1311
1312 -psdir | --psdir | --psdi | --psd | --ps)
1313 ac_prev=psdir ;;
1314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1315 psdir=$ac_optarg ;;
1316
1317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318 | -silent | --silent | --silen | --sile | --sil)
1319 silent=yes ;;
1320
1321 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1322 ac_prev=sbindir ;;
1323 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1324 | --sbi=* | --sb=*)
1325 sbindir=$ac_optarg ;;
1326
1327 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329 | --sharedst | --shareds | --shared | --share | --shar \
1330 | --sha | --sh)
1331 ac_prev=sharedstatedir ;;
1332 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1335 | --sha=* | --sh=*)
1336 sharedstatedir=$ac_optarg ;;
1337
1338 -site | --site | --sit)
1339 ac_prev=site ;;
1340 -site=* | --site=* | --sit=*)
1341 site=$ac_optarg ;;
1342
1343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1344 ac_prev=srcdir ;;
1345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346 srcdir=$ac_optarg ;;
1347
1348 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349 | --syscon | --sysco | --sysc | --sys | --sy)
1350 ac_prev=sysconfdir ;;
1351 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353 sysconfdir=$ac_optarg ;;
1354
1355 -target | --target | --targe | --targ | --tar | --ta | --t)
1356 ac_prev=target_alias ;;
1357 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358 target_alias=$ac_optarg ;;
1359
1360 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1361 verbose=yes ;;
1362
1363 -version | --version | --versio | --versi | --vers | -V)
1364 ac_init_version=: ;;
1365
1366 -with-* | --with-*)
1367 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=\$ac_optarg ;;
1374
1375 -without-* | --without-*)
1376 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=no ;;
1383
1384 --x)
1385 # Obsolete; use --with-x.
1386 with_x=yes ;;
1387
1388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389 | --x-incl | --x-inc | --x-in | --x-i)
1390 ac_prev=x_includes ;;
1391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393 x_includes=$ac_optarg ;;
1394
1395 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397 ac_prev=x_libraries ;;
1398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400 x_libraries=$ac_optarg ;;
1401
1402 -*) { echo "$as_me: error: unrecognized option: $ac_option
1403 Try \`$0 --help' for more information." >&2
1404 { (exit 1); exit 1; }; }
1405 ;;
1406
1407 *=*)
1408 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1411 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412 { (exit 1); exit 1; }; }
1413 eval $ac_envvar=\$ac_optarg
1414 export $ac_envvar ;;
1415
1416 *)
1417 # FIXME: should be removed in autoconf 3.0.
1418 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1422 ;;
1423
1424 esac
1425 done
1426
1427 if test -n "$ac_prev"; then
1428 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429 { echo "$as_me: error: missing argument to $ac_option" >&2
1430 { (exit 1); exit 1; }; }
1431 fi
1432
1433 # Be sure to have absolute directory names.
1434 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435 datadir sysconfdir sharedstatedir localstatedir includedir \
1436 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437 libdir localedir mandir
1438 do
1439 eval ac_val=\$$ac_var
1440 case $ac_val in
1441 [\\/$]* | ?:[\\/]* ) continue;;
1442 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1443 esac
1444 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445 { (exit 1); exit 1; }; }
1446 done
1447
1448 # There might be people who depend on the old broken behavior: `$host'
1449 # used to hold the argument of --host etc.
1450 # FIXME: To remove some day.
1451 build=$build_alias
1452 host=$host_alias
1453 target=$target_alias
1454
1455 # FIXME: To remove some day.
1456 if test "x$host_alias" != x; then
1457 if test "x$build_alias" = x; then
1458 cross_compiling=maybe
1459 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460 If a cross compiler is detected then cross compile mode will be used." >&2
1461 elif test "x$build_alias" != "x$host_alias"; then
1462 cross_compiling=yes
1463 fi
1464 fi
1465
1466 ac_tool_prefix=
1467 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1468
1469 test "$silent" = yes && exec 6>/dev/null
1470
1471
1472 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1473 ac_ls_di=`ls -di .` &&
1474 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1475 { echo "$as_me: error: Working directory cannot be determined" >&2
1476 { (exit 1); exit 1; }; }
1477 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478 { echo "$as_me: error: pwd does not report name of working directory" >&2
1479 { (exit 1); exit 1; }; }
1480
1481
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484 ac_srcdir_defaulted=yes
1485 # Try the directory containing this script, then the parent directory.
1486 ac_confdir=`$as_dirname -- "$0" ||
1487 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488 X"$0" : 'X\(//\)[^/]' \| \
1489 X"$0" : 'X\(//\)$' \| \
1490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1491 echo X"$0" |
1492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493 s//\1/
1494 q
1495 }
1496 /^X\(\/\/\)[^/].*/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)$/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\).*/{
1505 s//\1/
1506 q
1507 }
1508 s/.*/./; q'`
1509 srcdir=$ac_confdir
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1511 srcdir=..
1512 fi
1513 else
1514 ac_srcdir_defaulted=no
1515 fi
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519 { (exit 1); exit 1; }; }
1520 fi
1521 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1522 ac_abs_confdir=`(
1523 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524 { (exit 1); exit 1; }; }
1525 pwd)`
1526 # When building in place, set srcdir=.
1527 if test "$ac_abs_confdir" = "$ac_pwd"; then
1528 srcdir=.
1529 fi
1530 # Remove unnecessary trailing slashes from srcdir.
1531 # Double slashes in file names in object file debugging info
1532 # mess up M-x gdb in Emacs.
1533 case $srcdir in
1534 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1535 esac
1536 for ac_var in $ac_precious_vars; do
1537 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1538 eval ac_env_${ac_var}_value=\$${ac_var}
1539 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1540 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1541 done
1542
1543 #
1544 # Report the --help message.
1545 #
1546 if test "$ac_init_help" = "long"; then
1547 # Omit some internal or obsolete options to make the list less imposing.
1548 # This message is too long to be a string in the A/UX 3.1 sh.
1549 cat <<_ACEOF
1550 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1551
1552 Usage: $0 [OPTION]... [VAR=VALUE]...
1553
1554 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555 VAR=VALUE. See below for descriptions of some of the useful variables.
1556
1557 Defaults for the options are specified in brackets.
1558
1559 Configuration:
1560 -h, --help display this help and exit
1561 --help=short display options specific to this package
1562 --help=recursive display the short help of all the included packages
1563 -V, --version display version information and exit
1564 -q, --quiet, --silent do not print \`checking...' messages
1565 --cache-file=FILE cache test results in FILE [disabled]
1566 -C, --config-cache alias for \`--cache-file=config.cache'
1567 -n, --no-create do not create output files
1568 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1569
1570 Installation directories:
1571 --prefix=PREFIX install architecture-independent files in PREFIX
1572 [$ac_default_prefix]
1573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1574 [PREFIX]
1575
1576 By default, \`make install' will install all the files in
1577 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1578 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579 for instance \`--prefix=\$HOME'.
1580
1581 For better control, use the options below.
1582
1583 Fine tuning of the installation directories:
1584 --bindir=DIR user executables [EPREFIX/bin]
1585 --sbindir=DIR system admin executables [EPREFIX/sbin]
1586 --libexecdir=DIR program executables [EPREFIX/libexec]
1587 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1588 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1589 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1590 --libdir=DIR object code libraries [EPREFIX/lib]
1591 --includedir=DIR C header files [PREFIX/include]
1592 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1593 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1594 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1595 --infodir=DIR info documentation [DATAROOTDIR/info]
1596 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1597 --mandir=DIR man documentation [DATAROOTDIR/man]
1598 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1599 --htmldir=DIR html documentation [DOCDIR]
1600 --dvidir=DIR dvi documentation [DOCDIR]
1601 --pdfdir=DIR pdf documentation [DOCDIR]
1602 --psdir=DIR ps documentation [DOCDIR]
1603 _ACEOF
1604
1605 cat <<\_ACEOF
1606
1607 X features:
1608 --x-includes=DIR X include files are in DIR
1609 --x-libraries=DIR X library files are in DIR
1610
1611 System types:
1612 --build=BUILD configure for building on BUILD [guessed]
1613 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1614 --target=TARGET configure for building compilers for TARGET [HOST]
1615 _ACEOF
1616 fi
1617
1618 if test -n "$ac_init_help"; then
1619 case $ac_init_help in
1620 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1621 esac
1622 cat <<\_ACEOF
1623
1624 Optional Features:
1625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1627 --disable-gui don't build GUI parts of the library
1628 --enable-monolithic build wxWidgets as single library
1629 --enable-plugins build parts of wxWidgets as loadable components
1630 --enable-official_build official build of wxWidgets (win32 DLL only)
1631 --enable-vendor=VENDOR vendor name (win32 DLL only)
1632 --disable-all-features disable all optional features to build minimal library
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --disable-shared create static library instead of shared
1638 --disable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-std_iostreams use standard C++ stream classes
1642 --enable-std_string use standard C++ string classes
1643 --disable-unicode compile without Unicode support
1644 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1645 --enable-utf8 use UTF-8 representation for strings (Unix only)
1646 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1647 --enable-extended_rtti use extended RTTI (XTI)
1648 --enable-omf use OMF object format
1649 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1650 --enable-debug_info create code with debugging information
1651 --enable-debug_gdb create code with extra GDB debugging information
1652 --enable-debug_cntxt use wxDebugContext
1653 --enable-mem_tracing create code with memory tracing
1654 --enable-profile create code with profiling information
1655 --enable-no_rtti create code without RTTI information
1656 --enable-no_exceptions create code without C++ exceptions handling
1657 --enable-permissive compile code disregarding strict ANSI
1658 --enable-no_deps create code without dependency information
1659 --disable-vararg_macros don't use vararg macros, even if they are supported
1660 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1661 --enable-compat26 enable wxWidgets 2.6 compatibility
1662 --disable-compat28 disable wxWidgets 2.8 compatibility
1663 --disable-rpath disable use of rpath for uninstalled builds
1664 --enable-objc_uniquifying enable Objective-C class name uniquifying
1665 --disable-visibility disable use of ELF symbols visibility even if supported
1666 --enable-intl use internationalization system
1667 --enable-config use wxConfig (and derived) classes
1668 --enable-protocols use wxProtocol and derived classes
1669 --enable-ftp use wxFTP (requires wxProtocol
1670 --enable-http use wxHTTP (requires wxProtocol
1671 --enable-fileproto use wxFileProto class (requires wxProtocol
1672 --enable-sockets use socket/network classes
1673 --enable-ole use OLE classes (Win32 only)
1674 --enable-dataobj use data object classes
1675 --enable-ipc use interprocess communication (wxSocket etc.)
1676 --enable-baseevtloop use event loop in console programs too
1677 --enable-epollloop use wxEpollDispatcher class (Linux only)
1678 --enable-selectloop use wxSelectDispatcher class
1679 --enable-apple_ieee use the Apple IEEE codec
1680 --enable-arcstream use wxArchive streams
1681 --enable-base64 use base64 encoding/decoding functions
1682 --enable-backtrace use wxStackWalker class for getting backtraces
1683 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1684 --enable-cmdline use wxCmdLineParser class
1685 --enable-datetime use wxDateTime class
1686 --enable-debugreport use wxDebugReport class
1687 --enable-dialupman use dialup network classes
1688 --enable-dynlib use wxLibrary class for DLL loading
1689 --enable-dynamicloader use (new) wxDynamicLibrary class
1690 --enable-exceptions build exception-safe library
1691 --enable-ffile use wxFFile class
1692 --enable-file use wxFile class
1693 --enable-filesystem use virtual file systems classes
1694 --enable-fontenum use wxFontEnumerator class
1695 --enable-fontmap use font encodings conversion classes
1696 --enable-fs_archive use virtual archive filesystems
1697 --enable-fs_inet use virtual HTTP/FTP filesystems
1698 --enable-fs_zip now replaced by fs_archive
1699 --enable-geometry use geometry class
1700 --enable-log use logging system
1701 --enable-longlong use wxLongLong class
1702 --enable-mimetype use wxMimeTypesManager
1703 --enable-snglinst use wxSingleInstanceChecker class
1704 --enable-stdpaths use wxStandardPaths class
1705 --enable-stopwatch use wxStopWatch class
1706 --enable-streams use wxStream etc classes
1707 --enable-sysoptions use wxSystemOptions
1708 --enable-tarstream use wxTar streams
1709 --enable-textbuf use wxTextBuffer class
1710 --enable-textfile use wxTextFile class
1711 --enable-timer use wxTimer class
1712 --enable-sound use wxSound class
1713 --enable-mediactrl use wxMediaCtrl class
1714 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1715 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1716 --enable-zipstream use wxZip streams
1717 --enable-url use wxURL class
1718 --enable-variant use wxVariant class
1719 --enable-protocol use wxProtocol class
1720 --enable-protocol-http HTTP support in wxProtocol
1721 --enable-protocol-ftp FTP support in wxProtocol
1722 --enable-protocol-file FILE support in wxProtocol
1723 --enable-threads use threads
1724 --enable-iniconf use wxIniConfig (Win32 only)
1725 --enable-regkey use wxRegKey class (Win32 only)
1726 --enable-docview use document view architecture
1727 --enable-help use help subsystem
1728 --enable-mshtmlhelp use MS HTML Help (win32)
1729 --enable-html use wxHTML sub-library
1730 --enable-htmlhelp use wxHTML-based help
1731 --enable-xrc use XRC resources sub-library
1732 --enable-aui use AUI docking library
1733 --enable-stc use wxStyledTextCtrl library
1734 --enable-constraints use layout-constraints system
1735 --enable-printarch use printing architecture
1736 --enable-mdi use multiple document interface architecture
1737 --enable-mdidoc use docview architecture with MDI
1738 --enable-loggui use standard GUI logger
1739 --enable-logwin use wxLogWindow
1740 --enable-logdialog use wxLogDialog
1741 --enable-webkit use wxWebKitCtrl (Mac)
1742 --enable-richtext use wxRichTextCtrl
1743 --enable-graphics_ctx use graphics context 2D drawing API
1744 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1745 --enable-svg use wxSVGFileDC device context
1746 --enable-clipboard use wxClipboard class
1747 --enable-dnd use Drag'n'Drop classes
1748 --enable-metafile use win32 metafiles
1749 --disable-controls disable compilation of all standard controls
1750 --enable-accel use accelerators
1751 --enable-animatectrl use wxAnimationCtrl class
1752 --enable-button use wxButton class
1753 --enable-bmpbutton use wxBitmapButton class
1754 --enable-bmpcombobox use wxBitmapComboBox class
1755 --enable-calendar use wxCalendarCtrl class
1756 --enable-caret use wxCaret class
1757 --enable-checkbox use wxCheckBox class
1758 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1759 --enable-choice use wxChoice class
1760 --enable-choicebook use wxChoicebook class
1761 --enable-collpane use wxCollapsiblePane class
1762 --enable-colourpicker use wxColourPickerCtrl class
1763 --enable-combobox use wxComboBox class
1764 --enable-comboctrl use wxComboCtrl class
1765 --enable-datepick use wxDatePickerCtrl class
1766 --enable-dirpicker use wxDirPickerCtrl class
1767 --enable-display use wxDisplay class
1768 --enable-detect_sm use code to detect X11 session manager
1769 --enable-editablebox use wxEditableListBox class
1770 --enable-filepicker use wxFilePickerCtrl class
1771 --enable-filectrl use wxFileCtrl class
1772 --enable-fontpicker use wxFontPickerCtrl class
1773 --enable-gauge use wxGauge class
1774 --enable-grid use wxGrid class
1775 --enable-dataviewctrl use wxDataViewCtrl class
1776 --enable-hyperlink use wxHyperlinkCtrl class
1777 --enable-imaglist use wxImageList class
1778 --enable-listbook use wxListbook class
1779 --enable-listbox use wxListBox class
1780 --enable-listctrl use wxListCtrl class
1781 --enable-notebook use wxNotebook class
1782 --enable-odcombobox use wxOwnerDrawnComboBox class
1783 --enable-radiobox use wxRadioBox class
1784 --enable-radiobtn use wxRadioButton class
1785 --enable-sash use wxSashWindow class
1786 --enable-scrollbar use wxScrollBar class and scrollable windows
1787 --enable-searchctrl use wxSearchCtrl class
1788 --enable-slider use wxSlider class
1789 --enable-spinbtn use wxSpinButton class
1790 --enable-spinctrl use wxSpinCtrl class
1791 --enable-splitter use wxSplitterWindow class
1792 --enable-statbmp use wxStaticBitmap class
1793 --enable-statbox use wxStaticBox class
1794 --enable-statline use wxStaticLine class
1795 --enable-stattext use wxStaticText class
1796 --enable-statusbar use wxStatusBar class
1797 --enable-tabdialog use wxTabControl class
1798 --enable-taskbaricon use wxTaskBarIcon class
1799 --enable-textctrl use wxTextCtrl class
1800 --enable-togglebtn use wxToggleButton class
1801 --enable-toolbar use wxToolBar class
1802 --enable-tbarnative use native wxToolBar class
1803 --enable-treebook use wxTreebook class
1804 --enable-toolbook use wxToolbook class
1805 --enable-treectrl use wxTreeCtrl class
1806 --enable-tipwindow use wxTipWindow class
1807 --enable-popupwin use wxPopUpWindow class
1808 --enable-commondlg use all common dialogs
1809 --enable-aboutdlg use wxAboutBox
1810 --enable-choicedlg use wxChoiceDialog
1811 --enable-coldlg use wxColourDialog
1812 --enable-filedlg use wxFileDialog
1813 --enable-finddlg use wxFindReplaceDialog
1814 --enable-fontdlg use wxFontDialog
1815 --enable-dirdlg use wxDirDialog
1816 --enable-msgdlg use wxMessageDialog
1817 --enable-numberdlg use wxNumberEntryDialog
1818 --enable-splash use wxSplashScreen
1819 --enable-textdlg use wxTextDialog
1820 --enable-tipdlg use startup tips
1821 --enable-progressdlg use wxProgressDialog
1822 --enable-wizarddlg use wxWizard
1823 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1824 --enable-miniframe use wxMiniFrame class
1825 --enable-tooltips use wxToolTip class
1826 --enable-splines use spline drawing code
1827 --enable-mousewheel use mousewheel
1828 --enable-validators use wxValidator and derived classes
1829 --enable-busyinfo use wxBusyInfo
1830 --enable-joystick use wxJoystick
1831 --enable-metafiles use wxMetaFile (Win32 only)
1832 --enable-dragimage use wxDragImage
1833 --enable-accessibility enable accessibility support
1834 --enable-palette use wxPalette class
1835 --enable-image use wxImage class
1836 --enable-gif use gif images (GIF file format)
1837 --enable-pcx use pcx images (PCX file format)
1838 --enable-tga use tga images (TGA file format)
1839 --enable-iff use iff images (IFF file format)
1840 --enable-pnm use pnm images (PNM file format)
1841 --enable-xpm use xpm images (XPM file format)
1842 --enable-icocur use Windows ICO and CUR formats
1843 --enable-dccache cache temporary wxDC objects (Win32 only)
1844 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1845 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1846 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1847 --enable-wxdib use wxDIB class (Win32 only)
1848 --disable-largefile omit support for large files
1849 --disable-gtktest do not try to compile and run a test GTK+ program
1850 --disable-gtktest Do not try to compile and run a test GTK program
1851 --disable-sdltest Do not try to compile and run a test SDL program
1852 --enable-omf use OMF object format (OS/2)
1853 --disable-dependency-tracking
1854 don't use dependency tracking even if the compiler
1855 can
1856 --disable-precomp-headers
1857 don't use precompiled headers even if compiler can
1858
1859 Optional Packages:
1860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1862 --without-subdirs don't generate makefiles for samples/demos/...
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1866 --with-motif use Motif/Lesstif
1867 --with-mac use Mac OS X
1868 --with-cocoa use Cocoa
1869 --with-wine use Wine
1870 --with-msw use MS-Windows
1871 --with-pm use OS/2 Presentation Manager
1872 --with-mgl use SciTech MGL
1873 --with-directfb use DirectFB
1874 --with-microwin use MicroWindows
1875 --with-x11 use X11
1876 --with-libpng use libpng (PNG image format)
1877 --with-libjpeg use libjpeg (JPEG file format)
1878 --with-libtiff use libtiff (TIFF file format)
1879 --with-libxpm use libxpm (XPM file format)
1880 --with-libmspack use libmspack (CHM help files loading)
1881 --without-gtkprint don't use GTK printing support
1882 --without-gnomeprint don't use GNOME printing libraries
1883 --with-gnomevfs use GNOME VFS for associating MIME types
1884 --with-hildon use Hildon framework for Nokia 770
1885 --with-opengl use OpenGL (or Mesa)
1886 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1887 --with-sdl use SDL for audio on Unix
1888 --with-regex enable support for wxRegEx class
1889 --with-zlib use zlib for LZW compression
1890 --with-expat enable XML support using expat parser
1891 --with-macosx-sdk=PATH use an OS X SDK at PATH
1892 --with-macosx-version-min=VER build binaries which require at least this OS X version
1893 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1894 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1895 --with-x use the X Window System
1896 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1897 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1898 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1899 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1900 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1901
1902 Some influential environment variables:
1903 CC C compiler command
1904 CFLAGS C compiler flags
1905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1906 nonstandard directory <lib dir>
1907 LIBS libraries to pass to the linker, e.g. -l<library>
1908 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1909 you have headers in a nonstandard directory <include dir>
1910 CPP C preprocessor
1911 CXX C++ compiler command
1912 CXXFLAGS C++ compiler flags
1913 PKG_CONFIG path to pkg-config utility
1914 DIRECTFB_CFLAGS
1915 C compiler flags for DIRECTFB, overriding pkg-config
1916 DIRECTFB_LIBS
1917 linker flags for DIRECTFB, overriding pkg-config
1918 XMKMF Path to xmkmf, Makefile generator for X Window System
1919 PANGOX_CFLAGS
1920 C compiler flags for PANGOX, overriding pkg-config
1921 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1922 PANGOFT2_CFLAGS
1923 C compiler flags for PANGOFT2, overriding pkg-config
1924 PANGOFT2_LIBS
1925 linker flags for PANGOFT2, overriding pkg-config
1926 PANGOXFT_CFLAGS
1927 C compiler flags for PANGOXFT, overriding pkg-config
1928 PANGOXFT_LIBS
1929 linker flags for PANGOXFT, overriding pkg-config
1930 GTKPRINT_CFLAGS
1931 C compiler flags for GTKPRINT, overriding pkg-config
1932 GTKPRINT_LIBS
1933 linker flags for GTKPRINT, overriding pkg-config
1934 LIBGNOMEPRINTUI_CFLAGS
1935 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1936 LIBGNOMEPRINTUI_LIBS
1937 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 GNOMEVFS_CFLAGS
1939 C compiler flags for GNOMEVFS, overriding pkg-config
1940 GNOMEVFS_LIBS
1941 linker flags for GNOMEVFS, overriding pkg-config
1942 HILDON_CFLAGS
1943 C compiler flags for HILDON, overriding pkg-config
1944 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1945 CAIRO_CFLAGS
1946 C compiler flags for CAIRO, overriding pkg-config
1947 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1948 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1949 GST_LIBS linker flags for GST, overriding pkg-config
1950
1951 Use these variables to override the choices made by `configure' or to help
1952 it to find libraries and programs with nonstandard names/locations.
1953
1954 Report bugs to <wx-dev@lists.wxwidgets.org>.
1955 _ACEOF
1956 ac_status=$?
1957 fi
1958
1959 if test "$ac_init_help" = "recursive"; then
1960 # If there are subdirs, report their specific --help.
1961 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1962 test -d "$ac_dir" || continue
1963 ac_builddir=.
1964
1965 case "$ac_dir" in
1966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1967 *)
1968 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1969 # A ".." for each directory in $ac_dir_suffix.
1970 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1971 case $ac_top_builddir_sub in
1972 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1973 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1974 esac ;;
1975 esac
1976 ac_abs_top_builddir=$ac_pwd
1977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1978 # for backward compatibility:
1979 ac_top_builddir=$ac_top_build_prefix
1980
1981 case $srcdir in
1982 .) # We are building in place.
1983 ac_srcdir=.
1984 ac_top_srcdir=$ac_top_builddir_sub
1985 ac_abs_top_srcdir=$ac_pwd ;;
1986 [\\/]* | ?:[\\/]* ) # Absolute name.
1987 ac_srcdir=$srcdir$ac_dir_suffix;
1988 ac_top_srcdir=$srcdir
1989 ac_abs_top_srcdir=$srcdir ;;
1990 *) # Relative name.
1991 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1992 ac_top_srcdir=$ac_top_build_prefix$srcdir
1993 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1994 esac
1995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1996
1997 cd "$ac_dir" || { ac_status=$?; continue; }
1998 # Check for guested configure.
1999 if test -f "$ac_srcdir/configure.gnu"; then
2000 echo &&
2001 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2002 elif test -f "$ac_srcdir/configure"; then
2003 echo &&
2004 $SHELL "$ac_srcdir/configure" --help=recursive
2005 else
2006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2007 fi || ac_status=$?
2008 cd "$ac_pwd" || { ac_status=$?; break; }
2009 done
2010 fi
2011
2012 test -n "$ac_init_help" && exit $ac_status
2013 if $ac_init_version; then
2014 cat <<\_ACEOF
2015 wxWidgets configure 2.9.0
2016 generated by GNU Autoconf 2.61
2017
2018 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2019 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2020 This configure script is free software; the Free Software Foundation
2021 gives unlimited permission to copy, distribute and modify it.
2022 _ACEOF
2023 exit
2024 fi
2025 cat >config.log <<_ACEOF
2026 This file contains any messages produced by compilers while
2027 running configure, to aid debugging if configure makes a mistake.
2028
2029 It was created by wxWidgets $as_me 2.9.0, which was
2030 generated by GNU Autoconf 2.61. Invocation command line was
2031
2032 $ $0 $@
2033
2034 _ACEOF
2035 exec 5>>config.log
2036 {
2037 cat <<_ASUNAME
2038 ## --------- ##
2039 ## Platform. ##
2040 ## --------- ##
2041
2042 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2043 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2044 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2045 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2046 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2047
2048 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2049 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2050
2051 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2052 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2053 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2054 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2055 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2056 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2057 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2058
2059 _ASUNAME
2060
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 for as_dir in $PATH
2063 do
2064 IFS=$as_save_IFS
2065 test -z "$as_dir" && as_dir=.
2066 echo "PATH: $as_dir"
2067 done
2068 IFS=$as_save_IFS
2069
2070 } >&5
2071
2072 cat >&5 <<_ACEOF
2073
2074
2075 ## ----------- ##
2076 ## Core tests. ##
2077 ## ----------- ##
2078
2079 _ACEOF
2080
2081
2082 # Keep a trace of the command line.
2083 # Strip out --no-create and --no-recursion so they do not pile up.
2084 # Strip out --silent because we don't want to record it for future runs.
2085 # Also quote any args containing shell meta-characters.
2086 # Make two passes to allow for proper duplicate-argument suppression.
2087 ac_configure_args=
2088 ac_configure_args0=
2089 ac_configure_args1=
2090 ac_must_keep_next=false
2091 for ac_pass in 1 2
2092 do
2093 for ac_arg
2094 do
2095 case $ac_arg in
2096 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2099 continue ;;
2100 *\'*)
2101 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 esac
2103 case $ac_pass in
2104 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2105 2)
2106 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2107 if test $ac_must_keep_next = true; then
2108 ac_must_keep_next=false # Got value, back to normal.
2109 else
2110 case $ac_arg in
2111 *=* | --config-cache | -C | -disable-* | --disable-* \
2112 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2113 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2114 | -with-* | --with-* | -without-* | --without-* | --x)
2115 case "$ac_configure_args0 " in
2116 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2117 esac
2118 ;;
2119 -* ) ac_must_keep_next=true ;;
2120 esac
2121 fi
2122 ac_configure_args="$ac_configure_args '$ac_arg'"
2123 ;;
2124 esac
2125 done
2126 done
2127 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2128 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2129
2130 # When interrupted or exit'd, cleanup temporary files, and complete
2131 # config.log. We remove comments because anyway the quotes in there
2132 # would cause problems or look ugly.
2133 # WARNING: Use '\'' to represent an apostrophe within the trap.
2134 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2135 trap 'exit_status=$?
2136 # Save into config.log some information that might help in debugging.
2137 {
2138 echo
2139
2140 cat <<\_ASBOX
2141 ## ---------------- ##
2142 ## Cache variables. ##
2143 ## ---------------- ##
2144 _ASBOX
2145 echo
2146 # The following way of writing the cache mishandles newlines in values,
2147 (
2148 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2149 eval ac_val=\$$ac_var
2150 case $ac_val in #(
2151 *${as_nl}*)
2152 case $ac_var in #(
2153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2155 esac
2156 case $ac_var in #(
2157 _ | IFS | as_nl) ;; #(
2158 *) $as_unset $ac_var ;;
2159 esac ;;
2160 esac
2161 done
2162 (set) 2>&1 |
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2165 sed -n \
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2168 ;; #(
2169 *)
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2171 ;;
2172 esac |
2173 sort
2174 )
2175 echo
2176
2177 cat <<\_ASBOX
2178 ## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##
2181 _ASBOX
2182 echo
2183 for ac_var in $ac_subst_vars
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192
2193 if test -n "$ac_subst_files"; then
2194 cat <<\_ASBOX
2195 ## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##
2198 _ASBOX
2199 echo
2200 for ac_var in $ac_subst_files
2201 do
2202 eval ac_val=\$$ac_var
2203 case $ac_val in
2204 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 esac
2206 echo "$ac_var='\''$ac_val'\''"
2207 done | sort
2208 echo
2209 fi
2210
2211 if test -s confdefs.h; then
2212 cat <<\_ASBOX
2213 ## ----------- ##
2214 ## confdefs.h. ##
2215 ## ----------- ##
2216 _ASBOX
2217 echo
2218 cat confdefs.h
2219 echo
2220 fi
2221 test "$ac_signal" != 0 &&
2222 echo "$as_me: caught signal $ac_signal"
2223 echo "$as_me: exit $exit_status"
2224 } >&5
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2227 exit $exit_status
2228 ' 0
2229 for ac_signal in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2231 done
2232 ac_signal=0
2233
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest* confdefs.h
2236
2237 # Predefined preprocessor variables.
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2246 _ACEOF
2247
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2251 _ACEOF
2252
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_STRING "$PACKAGE_STRING"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 _ACEOF
2262
2263
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 set x "$CONFIG_SITE"
2268 elif test "x$prefix" != xNONE; then
2269 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2270 else
2271 set x "$ac_default_prefix/share/config.site" \
2272 "$ac_default_prefix/etc/config.site"
2273 fi
2274 shift
2275 for ac_site_file
2276 do
2277 if test -r "$ac_site_file"; then
2278 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2279 echo "$as_me: loading site script $ac_site_file" >&6;}
2280 sed 's/^/| /' "$ac_site_file" >&5
2281 . "$ac_site_file"
2282 fi
2283 done
2284
2285 if test -r "$cache_file"; then
2286 # Some versions of bash will fail to source /dev/null (special
2287 # files actually), so we avoid doing that.
2288 if test -f "$cache_file"; then
2289 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2290 echo "$as_me: loading cache $cache_file" >&6;}
2291 case $cache_file in
2292 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2293 *) . "./$cache_file";;
2294 esac
2295 fi
2296 else
2297 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2298 echo "$as_me: creating cache $cache_file" >&6;}
2299 >$cache_file
2300 fi
2301
2302 # Check that the precious variables saved in the cache have kept the same
2303 # value.
2304 ac_cache_corrupted=false
2305 for ac_var in $ac_precious_vars; do
2306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2307 eval ac_new_set=\$ac_env_${ac_var}_set
2308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2309 eval ac_new_val=\$ac_env_${ac_var}_value
2310 case $ac_old_set,$ac_new_set in
2311 set,)
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2315 ,set)
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2319 ,);;
2320 *)
2321 if test "x$ac_old_val" != "x$ac_new_val"; then
2322 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2323 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2325 echo "$as_me: former value: $ac_old_val" >&2;}
2326 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2327 echo "$as_me: current value: $ac_new_val" >&2;}
2328 ac_cache_corrupted=:
2329 fi;;
2330 esac
2331 # Pass precious variables to config.status.
2332 if test "$ac_new_set" = set; then
2333 case $ac_new_val in
2334 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335 *) ac_arg=$ac_var=$ac_new_val ;;
2336 esac
2337 case " $ac_configure_args " in
2338 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2339 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2340 esac
2341 fi
2342 done
2343 if $ac_cache_corrupted; then
2344 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2345 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2347 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2348 { (exit 1); exit 1; }; }
2349 fi
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375 ac_ext=c
2376 ac_cpp='$CPP $CPPFLAGS'
2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2380
2381
2382
2383
2384
2385 ac_aux_dir=
2386 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387 if test -f "$ac_dir/install-sh"; then
2388 ac_aux_dir=$ac_dir
2389 ac_install_sh="$ac_aux_dir/install-sh -c"
2390 break
2391 elif test -f "$ac_dir/install.sh"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/install.sh -c"
2394 break
2395 elif test -f "$ac_dir/shtool"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/shtool install -c"
2398 break
2399 fi
2400 done
2401 if test -z "$ac_aux_dir"; then
2402 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2403 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2404 { (exit 1); exit 1; }; }
2405 fi
2406
2407 # These three variables are undocumented and unsupported,
2408 # and are intended to be withdrawn in a future Autoconf release.
2409 # They can cause serious problems if a builder's source tree is in a directory
2410 # whose full name contains unusual characters.
2411 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414
2415
2416 # Make sure we can run config.sub.
2417 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2418 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2419 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2420 { (exit 1); exit 1; }; }
2421
2422 { echo "$as_me:$LINENO: checking build system type" >&5
2423 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_build+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 else
2427 ac_build_alias=$build_alias
2428 test "x$ac_build_alias" = x &&
2429 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2430 test "x$ac_build_alias" = x &&
2431 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2432 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2433 { (exit 1); exit 1; }; }
2434 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2435 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2436 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2437 { (exit 1); exit 1; }; }
2438
2439 fi
2440 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2441 echo "${ECHO_T}$ac_cv_build" >&6; }
2442 case $ac_cv_build in
2443 *-*-*) ;;
2444 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2445 echo "$as_me: error: invalid value of canonical build" >&2;}
2446 { (exit 1); exit 1; }; };;
2447 esac
2448 build=$ac_cv_build
2449 ac_save_IFS=$IFS; IFS='-'
2450 set x $ac_cv_build
2451 shift
2452 build_cpu=$1
2453 build_vendor=$2
2454 shift; shift
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2457 build_os=$*
2458 IFS=$ac_save_IFS
2459 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2460
2461
2462 { echo "$as_me:$LINENO: checking host system type" >&5
2463 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_host+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 if test "x$host_alias" = x; then
2468 ac_cv_host=$ac_cv_build
2469 else
2470 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2471 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2472 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2473 { (exit 1); exit 1; }; }
2474 fi
2475
2476 fi
2477 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2478 echo "${ECHO_T}$ac_cv_host" >&6; }
2479 case $ac_cv_host in
2480 *-*-*) ;;
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2482 echo "$as_me: error: invalid value of canonical host" >&2;}
2483 { (exit 1); exit 1; }; };;
2484 esac
2485 host=$ac_cv_host
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_host
2488 shift
2489 host_cpu=$1
2490 host_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 host_os=$*
2495 IFS=$ac_save_IFS
2496 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { echo "$as_me:$LINENO: checking target system type" >&5
2500 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_target+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test "x$target_alias" = x; then
2505 ac_cv_target=$ac_cv_host
2506 else
2507 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2511 fi
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2515 echo "${ECHO_T}$ac_cv_target" >&6; }
2516 case $ac_cv_target in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2519 echo "$as_me: error: invalid value of canonical target" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 target=$ac_cv_target
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_target
2525 shift
2526 target_cpu=$1
2527 target_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 target_os=$*
2532 IFS=$ac_save_IFS
2533 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2534
2535
2536 # The aliases save the names the user supplied, while $host etc.
2537 # will get canonicalized.
2538 test -n "$target_alias" &&
2539 test "$program_prefix$program_suffix$program_transform_name" = \
2540 NONENONEs,x,x, &&
2541 program_prefix=${target_alias}-
2542
2543
2544
2545 wx_major_version_number=2
2546 wx_minor_version_number=9
2547 wx_release_number=0
2548 wx_subrelease_number=0
2549
2550 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2551 WX_VERSION=$WX_RELEASE.$wx_release_number
2552 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2553
2554 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2555
2556
2557 wx_top_builddir="`pwd`"
2558
2559
2560
2561
2562 USE_UNIX=1
2563 USE_OS2=0
2564 USE_WIN32=0
2565 USE_DOS=0
2566 USE_BEOS=0
2567 USE_MAC=0
2568
2569 USE_AIX=
2570 USE_BSD= USE_DARWIN= USE_FREEBSD=
2571 USE_GNU= USE_HPUX=
2572 USE_LINUX=
2573 USE_NETBSD=
2574 USE_OPENBSD=
2575 USE_OSF= USE_SGI=
2576 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2577 USE_ULTRIX=
2578 USE_UNIXWARE=
2579
2580 USE_ALPHA=
2581
2582 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2583
2584 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2585
2586 DEFAULT_wxUSE_COCOA=0
2587 DEFAULT_wxUSE_GTK=0
2588 DEFAULT_wxUSE_MAC=0
2589 DEFAULT_wxUSE_MGL=0
2590 DEFAULT_wxUSE_MICROWIN=0
2591 DEFAULT_wxUSE_MOTIF=0
2592 DEFAULT_wxUSE_MSW=0
2593 DEFAULT_wxUSE_PM=0
2594 DEFAULT_wxUSE_X11=0
2595 DEFAULT_wxUSE_DFB=0
2596
2597 DEFAULT_DEFAULT_wxUSE_COCOA=0
2598 DEFAULT_DEFAULT_wxUSE_GTK=0
2599 DEFAULT_DEFAULT_wxUSE_MAC=0
2600 DEFAULT_DEFAULT_wxUSE_MGL=0
2601 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2603 DEFAULT_DEFAULT_wxUSE_MSW=0
2604 DEFAULT_DEFAULT_wxUSE_PM=0
2605 DEFAULT_DEFAULT_wxUSE_X11=0
2606 DEFAULT_DEFAULT_wxUSE_DFB=0
2607
2608 PROGRAM_EXT=
2609 SO_SUFFIX=so
2610 SAMPLES_RPATH_FLAG=
2611 SAMPLES_RPATH_POSTLINK=
2612
2613 DEFAULT_STD_FLAG=yes
2614
2615 case "${host}" in
2616 *-hp-hpux* )
2617 USE_HPUX=1
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2619 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2620 SO_SUFFIX=sl
2621 cat >>confdefs.h <<\_ACEOF
2622 #define __HPUX__ 1
2623 _ACEOF
2624
2625
2626 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2627 ;;
2628 *-*-linux* )
2629 USE_LINUX=1
2630 cat >>confdefs.h <<\_ACEOF
2631 #define __LINUX__ 1
2632 _ACEOF
2633
2634 TMP=`uname -m`
2635 if test "x$TMP" = "xalpha"; then
2636 USE_ALPHA=1
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __ALPHA__ 1
2639 _ACEOF
2640
2641 fi
2642 DEFAULT_DEFAULT_wxUSE_GTK=1
2643 ;;
2644 *-*-gnu* | *-*-k*bsd*-gnu )
2645 USE_GNU=1
2646 TMP=`uname -m`
2647 if test "x$TMP" = "xalpha"; then
2648 USE_ALPHA=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __ALPHA__ 1
2651 _ACEOF
2652
2653 fi
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 ;;
2656 *-*-irix5* | *-*-irix6* )
2657 USE_SGI=1
2658 USE_SVR4=1
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SGI__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 ;;
2669 *-*-solaris2* )
2670 USE_SUN=1
2671 USE_SOLARIS=1
2672 USE_SVR4=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SUN__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SOLARIS__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SVR4__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2687 ;;
2688 *-*-sunos4* )
2689 USE_SUN=1
2690 USE_SUNOS=1
2691 USE_BSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SUN__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SUNOS__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __BSD__ 1
2702 _ACEOF
2703
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2705 ;;
2706 *-*-freebsd*)
2707 USE_BSD=1
2708 USE_FREEBSD=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __FREEBSD__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __BSD__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 ;;
2719 *-*-openbsd*|*-*-mirbsd*)
2720 USE_BSD=1
2721 USE_OPENBSD=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __OPENBSD__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __BSD__ 1
2728 _ACEOF
2729
2730 DEFAULT_DEFAULT_wxUSE_GTK=1
2731 ;;
2732 *-*-netbsd*)
2733 USE_BSD=1
2734 USE_NETBSD=1
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __NETBSD__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __BSD__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745
2746 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2747 ;;
2748 *-*-osf* )
2749 USE_ALPHA=1
2750 USE_OSF=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __ALPHA__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __OSF__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2761 ;;
2762 *-*-dgux5* )
2763 USE_ALPHA=1
2764 USE_SVR4=1
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __ALPHA__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SVR4__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 ;;
2775 *-*-sysv5* )
2776 USE_SYSV=1
2777 USE_SVR4=1
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SYSV__ 1
2780 _ACEOF
2781
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SVR4__ 1
2784 _ACEOF
2785
2786 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 ;;
2788 *-*-aix* )
2789 USE_AIX=1
2790 USE_SYSV=1
2791 USE_SVR4=1
2792 SO_SUFFIX=a
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __AIX__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SYSV__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SVR4__ 1
2803 _ACEOF
2804
2805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806 ;;
2807
2808 *-*-*UnixWare*)
2809 USE_SYSV=1
2810 USE_SVR4=1
2811 USE_UNIXWARE=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __UNIXWARE__ 1
2814 _ACEOF
2815
2816 ;;
2817
2818 *-*-cygwin* | *-*-mingw32* )
2819 SO_SUFFIX=dll
2820 PROGRAM_EXT=".exe"
2821 DEFAULT_DEFAULT_wxUSE_MSW=1
2822 ;;
2823
2824 *-pc-msdosdjgpp )
2825 USE_UNIX=0
2826 USE_DOS=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __DOS__ 1
2829 _ACEOF
2830
2831 PROGRAM_EXT=".exe"
2832 DEFAULT_DEFAULT_wxUSE_MGL=1
2833 ;;
2834
2835 *-pc-os2_emx | *-pc-os2-emx )
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __EMX__ 1
2838 _ACEOF
2839
2840 USE_OS2=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __OS2__ 1
2843 _ACEOF
2844
2845 PROGRAM_EXT=".exe"
2846 DEFAULT_DEFAULT_wxUSE_PM=1
2847 CXX=gcc
2848 LDFLAGS="$LDFLAGS -Zcrtdll"
2849 ac_executable_extensions=".exe"
2850 export ac_executable_extensions
2851 ac_save_IFS="$IFS"
2852 IFS='\\'
2853 ac_TEMP_PATH=
2854 for ac_dir in $PATH; do
2855 IFS=$ac_save_IFS
2856 if test -z "$ac_TEMP_PATH"; then
2857 ac_TEMP_PATH="$ac_dir"
2858 else
2859 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2860 fi
2861 done
2862 export PATH="$ac_TEMP_PATH"
2863 unset ac_TEMP_PATH
2864 DEFAULT_STD_FLAG=no
2865 ;;
2866
2867 *-*-darwin* )
2868 USE_BSD=1
2869 USE_DARWIN=1
2870 SO_SUFFIX=dylib
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __BSD__ 1
2873 _ACEOF
2874
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __DARWIN__ 1
2877 _ACEOF
2878
2879 cat >>confdefs.h <<\_ACEOF
2880 #define TARGET_CARBON 1
2881 _ACEOF
2882
2883 DEFAULT_DEFAULT_wxUSE_MAC=1
2884 DEFAULT_STD_FLAG=no
2885 ;;
2886 powerpc-apple-macos* )
2887 USE_UNIX=0
2888 ac_cv_c_bigendian=yes
2889 SO_SUFFIX=shlib
2890 DEFAULT_DEFAULT_wxUSE_MAC=1
2891 DEFAULT_STD_FLAG=no
2892 ;;
2893
2894 *-*-beos* )
2895 USE_BEOS=1
2896 cat >>confdefs.h <<\_ACEOF
2897 #define __BEOS__ 1
2898 _ACEOF
2899
2900 ;;
2901
2902 *)
2903 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2904 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2905 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2906 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2907
2908 DEFAULT_DEFAULT_wxUSE_X11=1
2909 DEFAULT_wxUSE_SHARED=no
2910 esac
2911
2912
2913
2914
2915 wx_arg_cache_file="configarg.cache"
2916 echo "loading argument cache $wx_arg_cache_file"
2917 rm -f ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}
2920
2921
2922 DEFAULT_wxUSE_ALL_FEATURES=yes
2923
2924 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2926
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS=no
2929 DEFAULT_wxUSE_LIBHILDON=no
2930 DEFAULT_wxUSE_LIBMSPACK=no
2931 DEFAULT_wxUSE_LIBSDL=no
2932 DEFAULT_wxUSE_OPENGL=no
2933
2934 DEFAULT_wxUSE_ACCESSIBILITY=no
2935 DEFAULT_wxUSE_DATAVIEWCTRL=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_MEDIACTRL=no
2938 DEFAULT_wxUSE_TAB_DIALOG=no
2939 DEFAULT_wxUSE_GSTREAMER8=no
2940
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2943
2944 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2945
2946 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2947
2948 DEFAULT_wxUSE_GTK2=yes
2949
2950 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2951
2952
2953 for toolkit in $ALL_TOOLKITS; do
2954 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2955 if test "x$LINE" != "x" ; then
2956 has_toolkit_in_cache=1
2957 eval "DEFAULT_$LINE"
2958 eval "CACHE_$toolkit=1"
2959
2960 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2961 if test "x$LINE" != "x" ; then
2962 eval "DEFAULT_$LINE"
2963 fi
2964 fi
2965 done
2966
2967
2968
2969
2970
2971 enablestring=disable
2972 defaultval=
2973 if test -z "$defaultval"; then
2974 if test x"$enablestring" = xdisable; then
2975 defaultval=yes
2976 else
2977 defaultval=no
2978 fi
2979 fi
2980
2981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2982 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2983 # Check whether --enable-gui was given.
2984 if test "${enable_gui+set}" = set; then
2985 enableval=$enable_gui;
2986 if test "$enableval" = yes; then
2987 wx_cv_use_gui='wxUSE_GUI=yes'
2988 else
2989 wx_cv_use_gui='wxUSE_GUI=no'
2990 fi
2991 cache=yes
2992
2993 else
2994
2995 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 cache=yes
2999 else
3000 cache=no
3001 fi
3002
3003 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3004
3005 fi
3006
3007
3008 eval "$wx_cv_use_gui"
3009 if test "x$cache" = xyes; then
3010 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3011 fi
3012
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_GUI = yes; then
3015 result=no
3016 else
3017 result=yes
3018 fi
3019 else
3020 result=$wxUSE_GUI
3021 fi
3022
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3025
3026
3027 enablestring=
3028 defaultval=
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3031 defaultval=yes
3032 else
3033 defaultval=no
3034 fi
3035 fi
3036
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3039 # Check whether --enable-monolithic was given.
3040 if test "${enable_monolithic+set}" = set; then
3041 enableval=$enable_monolithic;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3044 else
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3046 fi
3047 cache=yes
3048
3049 else
3050
3051 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3054 cache=yes
3055 else
3056 cache=no
3057 fi
3058
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3060
3061 fi
3062
3063
3064 eval "$wx_cv_use_monolithic"
3065 if test "x$cache" = xyes; then
3066 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3067 fi
3068
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = yes; then
3071 result=no
3072 else
3073 result=yes
3074 fi
3075 else
3076 result=$wxUSE_MONOLITHIC
3077 fi
3078
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3081
3082
3083 enablestring=
3084 defaultval=
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3087 defaultval=yes
3088 else
3089 defaultval=no
3090 fi
3091 fi
3092
3093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3100 else
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3102 fi
3103 cache=yes
3104
3105 else
3106
3107 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 cache=yes
3111 else
3112 cache=no
3113 fi
3114
3115 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_plugins"
3121 if test "x$cache" = xyes; then
3122 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test x"$enablestring" = xdisable; then
3126 if test $wxUSE_PLUGINS = yes; then
3127 result=no
3128 else
3129 result=yes
3130 fi
3131 else
3132 result=$wxUSE_PLUGINS
3133 fi
3134
3135 { echo "$as_me:$LINENO: result: $result" >&5
3136 echo "${ECHO_T}$result" >&6; }
3137
3138
3139 withstring=without
3140 defaultval=$wxUSE_ALL_FEATURES
3141 if test -z "$defaultval"; then
3142 if test x"$withstring" = xwithout; then
3143 defaultval=yes
3144 else
3145 defaultval=no
3146 fi
3147 fi
3148 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3149 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3150
3151 # Check whether --with-subdirs was given.
3152 if test "${with_subdirs+set}" = set; then
3153 withval=$with_subdirs;
3154 if test "$withval" = yes; then
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3156 else
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3158 fi
3159 cache=yes
3160
3161 else
3162
3163 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x ; then
3165 eval "DEFAULT_$LINE"
3166 cache=yes
3167 else
3168 cache=no
3169 fi
3170
3171 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3172
3173 fi
3174
3175
3176 eval "$wx_cv_use_subdirs"
3177 if test "x$cache" = xyes; then
3178 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3179 fi
3180
3181 if test x"$withstring" = xwithout; then
3182 if test $wxWITH_SUBDIRS = yes; then
3183 result=no
3184 else
3185 result=yes
3186 fi
3187 else
3188 result=$wxWITH_SUBDIRS
3189 fi
3190
3191 { echo "$as_me:$LINENO: result: $result" >&5
3192 echo "${ECHO_T}$result" >&6; }
3193
3194
3195 # Check whether --with-flavour was given.
3196 if test "${with_flavour+set}" = set; then
3197 withval=$with_flavour; WX_FLAVOUR="$withval"
3198 fi
3199
3200
3201 enablestring=
3202 defaultval=
3203 if test -z "$defaultval"; then
3204 if test x"$enablestring" = xdisable; then
3205 defaultval=yes
3206 else
3207 defaultval=no
3208 fi
3209 fi
3210
3211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3212 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3213 # Check whether --enable-official_build was given.
3214 if test "${enable_official_build+set}" = set; then
3215 enableval=$enable_official_build;
3216 if test "$enableval" = yes; then
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3218 else
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3220 fi
3221 cache=yes
3222
3223 else
3224
3225 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3228 cache=yes
3229 else
3230 cache=no
3231 fi
3232
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3234
3235 fi
3236
3237
3238 eval "$wx_cv_use_official_build"
3239 if test "x$cache" = xyes; then
3240 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3241 fi
3242
3243 if test x"$enablestring" = xdisable; then
3244 if test $wxUSE_OFFICIAL_BUILD = yes; then
3245 result=no
3246 else
3247 result=yes
3248 fi
3249 else
3250 result=$wxUSE_OFFICIAL_BUILD
3251 fi
3252
3253 { echo "$as_me:$LINENO: result: $result" >&5
3254 echo "${ECHO_T}$result" >&6; }
3255
3256 # Check whether --enable-vendor was given.
3257 if test "${enable_vendor+set}" = set; then
3258 enableval=$enable_vendor; VENDOR="$enableval"
3259 fi
3260
3261 if test "x$VENDOR" = "x"; then
3262 VENDOR="custom"
3263 fi
3264
3265
3266 enablestring=disable
3267 defaultval=
3268 if test -z "$defaultval"; then
3269 if test x"$enablestring" = xdisable; then
3270 defaultval=yes
3271 else
3272 defaultval=no
3273 fi
3274 fi
3275
3276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3277 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3278 # Check whether --enable-all-features was given.
3279 if test "${enable_all_features+set}" = set; then
3280 enableval=$enable_all_features;
3281 if test "$enableval" = yes; then
3282 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3283 else
3284 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3285 fi
3286 cache=yes
3287
3288 else
3289
3290 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x ; then
3292 eval "DEFAULT_$LINE"
3293 cache=yes
3294 else
3295 cache=no
3296 fi
3297
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3299
3300 fi
3301
3302
3303 eval "$wx_cv_use_all_features"
3304 if test "x$cache" = xyes; then
3305 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3306 fi
3307
3308 if test x"$enablestring" = xdisable; then
3309 if test $wxUSE_ALL_FEATURES = yes; then
3310 result=no
3311 else
3312 result=yes
3313 fi
3314 else
3315 result=$wxUSE_ALL_FEATURES
3316 fi
3317
3318 { echo "$as_me:$LINENO: result: $result" >&5
3319 echo "${ECHO_T}$result" >&6; }
3320
3321
3322
3323 if test "$wxUSE_GUI" = "yes"; then
3324
3325
3326 enablestring=
3327 defaultval=
3328 if test -z "$defaultval"; then
3329 if test x"$enablestring" = xdisable; then
3330 defaultval=yes
3331 else
3332 defaultval=no
3333 fi
3334 fi
3335
3336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3337 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3338 # Check whether --enable-universal was given.
3339 if test "${enable_universal+set}" = set; then
3340 enableval=$enable_universal;
3341 if test "$enableval" = yes; then
3342 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3343 else
3344 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3345 fi
3346 cache=yes
3347
3348 else
3349
3350 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 cache=yes
3354 else
3355 cache=no
3356 fi
3357
3358 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3359
3360 fi
3361
3362
3363 eval "$wx_cv_use_universal"
3364 if test "x$cache" = xyes; then
3365 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test x"$enablestring" = xdisable; then
3369 if test $wxUSE_UNIVERSAL = yes; then
3370 result=no
3371 else
3372 result=yes
3373 fi
3374 else
3375 result=$wxUSE_UNIVERSAL
3376 fi
3377
3378 { echo "$as_me:$LINENO: result: $result" >&5
3379 echo "${ECHO_T}$result" >&6; }
3380
3381 if test "$wxUSE_UNIVERSAL" = "yes"; then
3382
3383 # Check whether --with-themes was given.
3384 if test "${with_themes+set}" = set; then
3385 withval=$with_themes; wxUNIV_THEMES="$withval"
3386 fi
3387
3388 fi
3389
3390
3391 # Check whether --with-gtk was given.
3392 if test "${with_gtk+set}" = set; then
3393 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-motif was given.
3398 if test "${with_motif+set}" = set; then
3399 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-mac was given.
3404 if test "${with_mac+set}" = set; then
3405 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-cocoa was given.
3410 if test "${with_cocoa+set}" = set; then
3411 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3412 fi
3413
3414
3415 # Check whether --with-wine was given.
3416 if test "${with_wine+set}" = set; then
3417 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3418 fi
3419
3420
3421 # Check whether --with-msw was given.
3422 if test "${with_msw+set}" = set; then
3423 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-pm was given.
3428 if test "${with_pm+set}" = set; then
3429 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-mgl was given.
3434 if test "${with_mgl+set}" = set; then
3435 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-directfb was given.
3440 if test "${with_directfb+set}" = set; then
3441 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-microwin was given.
3446 if test "${with_microwin+set}" = set; then
3447 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 # Check whether --with-x11 was given.
3452 if test "${with_x11+set}" = set; then
3453 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3454 fi
3455
3456
3457 enablestring=
3458 defaultval=
3459 if test -z "$defaultval"; then
3460 if test x"$enablestring" = xdisable; then
3461 defaultval=yes
3462 else
3463 defaultval=no
3464 fi
3465 fi
3466
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3469 # Check whether --enable-nanox was given.
3470 if test "${enable_nanox+set}" = set; then
3471 enableval=$enable_nanox;
3472 if test "$enableval" = yes; then
3473 wx_cv_use_nanox='wxUSE_NANOX=yes'
3474 else
3475 wx_cv_use_nanox='wxUSE_NANOX=no'
3476 fi
3477 cache=yes
3478
3479 else
3480
3481 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 cache=yes
3485 else
3486 cache=no
3487 fi
3488
3489 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490
3491 fi
3492
3493
3494 eval "$wx_cv_use_nanox"
3495 if test "x$cache" = xyes; then
3496 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test x"$enablestring" = xdisable; then
3500 if test $wxUSE_NANOX = yes; then
3501 result=no
3502 else
3503 result=yes
3504 fi
3505 else
3506 result=$wxUSE_NANOX
3507 fi
3508
3509 { echo "$as_me:$LINENO: result: $result" >&5
3510 echo "${ECHO_T}$result" >&6; }
3511
3512
3513 # Check whether --enable-gtk2 was given.
3514 if test "${enable_gtk2+set}" = set; then
3515 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3516 fi
3517
3518
3519 enablestring=
3520 defaultval=
3521 if test -z "$defaultval"; then
3522 if test x"$enablestring" = xdisable; then
3523 defaultval=yes
3524 else
3525 defaultval=no
3526 fi
3527 fi
3528
3529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3531 # Check whether --enable-gpe was given.
3532 if test "${enable_gpe+set}" = set; then
3533 enableval=$enable_gpe;
3534 if test "$enableval" = yes; then
3535 wx_cv_use_gpe='wxUSE_GPE=yes'
3536 else
3537 wx_cv_use_gpe='wxUSE_GPE=no'
3538 fi
3539 cache=yes
3540
3541 else
3542
3543 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x ; then
3545 eval "DEFAULT_$LINE"
3546 cache=yes
3547 else
3548 cache=no
3549 fi
3550
3551 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3552
3553 fi
3554
3555
3556 eval "$wx_cv_use_gpe"
3557 if test "x$cache" = xyes; then
3558 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3559 fi
3560
3561 if test x"$enablestring" = xdisable; then
3562 if test $wxUSE_GPE = yes; then
3563 result=no
3564 else
3565 result=yes
3566 fi
3567 else
3568 result=$wxUSE_GPE
3569 fi
3570
3571 { echo "$as_me:$LINENO: result: $result" >&5
3572 echo "${ECHO_T}$result" >&6; }
3573
3574
3575
3576
3577 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3578 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3579
3580 # Check whether --with-libpng was given.
3581 if test "${with_libpng+set}" = set; then
3582 withval=$with_libpng;
3583 if test "$withval" = yes; then
3584 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3585 elif test "$withval" = no; then
3586 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3587 elif test "$withval" = sys; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3589 elif test "$withval" = builtin; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3591 else
3592 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3593 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3594 { (exit 1); exit 1; }; }
3595 fi
3596 cache=yes
3597
3598 else
3599
3600 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3603 cache=yes
3604 else
3605 cache=no
3606 fi
3607
3608 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3609
3610 fi
3611
3612
3613 eval "$wx_cv_use_libpng"
3614 if test "x$cache" = xyes; then
3615 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3616 fi
3617
3618 if test "$wxUSE_LIBPNG" = yes; then
3619 { echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6; }
3621 elif test "$wxUSE_LIBPNG" = no; then
3622 { echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6; }
3624 elif test "$wxUSE_LIBPNG" = sys; then
3625 { echo "$as_me:$LINENO: result: system version" >&5
3626 echo "${ECHO_T}system version" >&6; }
3627 elif test "$wxUSE_LIBPNG" = builtin; then
3628 { echo "$as_me:$LINENO: result: builtin version" >&5
3629 echo "${ECHO_T}builtin version" >&6; }
3630 else
3631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3632 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3633 { (exit 1); exit 1; }; }
3634 fi
3635
3636
3637 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3638 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3639
3640 # Check whether --with-libjpeg was given.
3641 if test "${with_libjpeg+set}" = set; then
3642 withval=$with_libjpeg;
3643 if test "$withval" = yes; then
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3645 elif test "$withval" = no; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3647 elif test "$withval" = sys; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3649 elif test "$withval" = builtin; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3651 else
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3655 fi
3656 cache=yes
3657
3658 else
3659
3660 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x ; then
3662 eval "DEFAULT_$LINE"
3663 cache=yes
3664 else
3665 cache=no
3666 fi
3667
3668 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3669
3670 fi
3671
3672
3673 eval "$wx_cv_use_libjpeg"
3674 if test "x$cache" = xyes; then
3675 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3676 fi
3677
3678 if test "$wxUSE_LIBJPEG" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = no; then
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3684 elif test "$wxUSE_LIBJPEG" = sys; then
3685 { echo "$as_me:$LINENO: result: system version" >&5
3686 echo "${ECHO_T}system version" >&6; }
3687 elif test "$wxUSE_LIBJPEG" = builtin; then
3688 { echo "$as_me:$LINENO: result: builtin version" >&5
3689 echo "${ECHO_T}builtin version" >&6; }
3690 else
3691 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3692 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3694 fi
3695
3696
3697 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3698 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3699
3700 # Check whether --with-libtiff was given.
3701 if test "${with_libtiff+set}" = set; then
3702 withval=$with_libtiff;
3703 if test "$withval" = yes; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3705 elif test "$withval" = no; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3707 elif test "$withval" = sys; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3709 elif test "$withval" = builtin; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716 cache=yes
3717
3718 else
3719
3720 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x ; then
3722 eval "DEFAULT_$LINE"
3723 cache=yes
3724 else
3725 cache=no
3726 fi
3727
3728 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3729
3730 fi
3731
3732
3733 eval "$wx_cv_use_libtiff"
3734 if test "x$cache" = xyes; then
3735 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_LIBTIFF" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 elif test "$wxUSE_LIBTIFF" = no; then
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 elif test "$wxUSE_LIBTIFF" = sys; then
3745 { echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6; }
3747 elif test "$wxUSE_LIBTIFF" = builtin; then
3748 { echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6; }
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756
3757 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3758 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3759
3760 # Check whether --with-libxpm was given.
3761 if test "${with_libxpm+set}" = set; then
3762 withval=$with_libxpm;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3765 elif test "$withval" = no; then
3766 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3767 elif test "$withval" = sys; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3769 elif test "$withval" = builtin; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3771 else
3772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3773 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3774 { (exit 1); exit 1; }; }
3775 fi
3776 cache=yes
3777
3778 else
3779
3780 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x ; then
3782 eval "DEFAULT_$LINE"
3783 cache=yes
3784 else
3785 cache=no
3786 fi
3787
3788 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3789
3790 fi
3791
3792
3793 eval "$wx_cv_use_libxpm"
3794 if test "x$cache" = xyes; then
3795 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3796 fi
3797
3798 if test "$wxUSE_LIBXPM" = yes; then
3799 { echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6; }
3801 elif test "$wxUSE_LIBXPM" = no; then
3802 { echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6; }
3804 elif test "$wxUSE_LIBXPM" = sys; then
3805 { echo "$as_me:$LINENO: result: system version" >&5
3806 echo "${ECHO_T}system version" >&6; }
3807 elif test "$wxUSE_LIBXPM" = builtin; then
3808 { echo "$as_me:$LINENO: result: builtin version" >&5
3809 echo "${ECHO_T}builtin version" >&6; }
3810 else
3811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3813 { (exit 1); exit 1; }; }
3814 fi
3815
3816
3817 withstring=
3818 defaultval=$wxUSE_ALL_FEATURES
3819 if test -z "$defaultval"; then
3820 if test x"$withstring" = xwithout; then
3821 defaultval=yes
3822 else
3823 defaultval=no
3824 fi
3825 fi
3826 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3827 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3828
3829 # Check whether --with-libmspack was given.
3830 if test "${with_libmspack+set}" = set; then
3831 withval=$with_libmspack;
3832 if test "$withval" = yes; then
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3834 else
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3836 fi
3837 cache=yes
3838
3839 else
3840
3841 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x ; then
3843 eval "DEFAULT_$LINE"
3844 cache=yes
3845 else
3846 cache=no
3847 fi
3848
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3850
3851 fi
3852
3853
3854 eval "$wx_cv_use_libmspack"
3855 if test "x$cache" = xyes; then
3856 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3857 fi
3858
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_LIBMSPACK = yes; then
3861 result=no
3862 else
3863 result=yes
3864 fi
3865 else
3866 result=$wxUSE_LIBMSPACK
3867 fi
3868
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3871
3872
3873 withstring=without
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3877 defaultval=yes
3878 else
3879 defaultval=no
3880 fi
3881 fi
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3884
3885 # Check whether --with-gtkprint was given.
3886 if test "${with_gtkprint+set}" = set; then
3887 withval=$with_gtkprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3890 else
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3892 fi
3893 cache=yes
3894
3895 else
3896
3897 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3898 if test "x$LINE" != x ; then
3899 eval "DEFAULT_$LINE"
3900 cache=yes
3901 else
3902 cache=no
3903 fi
3904
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3906
3907 fi
3908
3909
3910 eval "$wx_cv_use_gtkprint"
3911 if test "x$cache" = xyes; then
3912 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3913 fi
3914
3915 if test x"$withstring" = xwithout; then
3916 if test $wxUSE_GTKPRINT = yes; then
3917 result=no
3918 else
3919 result=yes
3920 fi
3921 else
3922 result=$wxUSE_GTKPRINT
3923 fi
3924
3925 { echo "$as_me:$LINENO: result: $result" >&5
3926 echo "${ECHO_T}$result" >&6; }
3927
3928
3929 withstring=without
3930 defaultval=$wxUSE_ALL_FEATURES
3931 if test -z "$defaultval"; then
3932 if test x"$withstring" = xwithout; then
3933 defaultval=yes
3934 else
3935 defaultval=no
3936 fi
3937 fi
3938 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3939 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3940
3941 # Check whether --with-gnomeprint was given.
3942 if test "${with_gnomeprint+set}" = set; then
3943 withval=$with_gnomeprint;
3944 if test "$withval" = yes; then
3945 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3946 else
3947 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3948 fi
3949 cache=yes
3950
3951 else
3952
3953 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3956 cache=yes
3957 else
3958 cache=no
3959 fi
3960
3961 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3962
3963 fi
3964
3965
3966 eval "$wx_cv_use_gnomeprint"
3967 if test "x$cache" = xyes; then
3968 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_LIBGNOMEPRINT = yes; then
3973 result=no
3974 else
3975 result=yes
3976 fi
3977 else
3978 result=$wxUSE_LIBGNOMEPRINT
3979 fi
3980
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3983
3984
3985 withstring=
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3989 defaultval=yes
3990 else
3991 defaultval=no
3992 fi
3993 fi
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3996
3997 # Check whether --with-gnomevfs was given.
3998 if test "${with_gnomevfs+set}" = set; then
3999 withval=$with_gnomevfs;
4000 if test "$withval" = yes; then
4001 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4002 else
4003 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4004 fi
4005 cache=yes
4006
4007 else
4008
4009 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 cache=yes
4013 else
4014 cache=no
4015 fi
4016
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4018
4019 fi
4020
4021
4022 eval "$wx_cv_use_gnomevfs"
4023 if test "x$cache" = xyes; then
4024 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4025 fi
4026
4027 if test x"$withstring" = xwithout; then
4028 if test $wxUSE_LIBGNOMEVFS = yes; then
4029 result=no
4030 else
4031 result=yes
4032 fi
4033 else
4034 result=$wxUSE_LIBGNOMEVFS
4035 fi
4036
4037 { echo "$as_me:$LINENO: result: $result" >&5
4038 echo "${ECHO_T}$result" >&6; }
4039
4040
4041 withstring=
4042 defaultval=$wxUSE_ALL_FEATURES
4043 if test -z "$defaultval"; then
4044 if test x"$withstring" = xwithout; then
4045 defaultval=yes
4046 else
4047 defaultval=no
4048 fi
4049 fi
4050 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4051 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4052
4053 # Check whether --with-hildon was given.
4054 if test "${with_hildon+set}" = set; then
4055 withval=$with_hildon;
4056 if test "$withval" = yes; then
4057 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4058 else
4059 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4060 fi
4061 cache=yes
4062
4063 else
4064
4065 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 cache=yes
4069 else
4070 cache=no
4071 fi
4072
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_hildon"
4079 if test "x$cache" = xyes; then
4080 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4081 fi
4082
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_LIBHILDON = yes; then
4085 result=no
4086 else
4087 result=yes
4088 fi
4089 else
4090 result=$wxUSE_LIBHILDON
4091 fi
4092
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4108
4109 # Check whether --with-opengl was given.
4110 if test "${with_opengl+set}" = set; then
4111 withval=$with_opengl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4114 else
4115 wx_cv_use_opengl='wxUSE_OPENGL=no'
4116 fi
4117 cache=yes
4118
4119 else
4120
4121 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4124 cache=yes
4125 else
4126 cache=no
4127 fi
4128
4129 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4130
4131 fi
4132
4133
4134 eval "$wx_cv_use_opengl"
4135 if test "x$cache" = xyes; then
4136 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test x"$withstring" = xwithout; then
4140 if test $wxUSE_OPENGL = yes; then
4141 result=no
4142 else
4143 result=yes
4144 fi
4145 else
4146 result=$wxUSE_OPENGL
4147 fi
4148
4149 { echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6; }
4151
4152
4153 fi
4154
4155
4156 withstring=
4157 defaultval=$wxUSE_ALL_FEATURES
4158 if test -z "$defaultval"; then
4159 if test x"$withstring" = xwithout; then
4160 defaultval=yes
4161 else
4162 defaultval=no
4163 fi
4164 fi
4165 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4166 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4167
4168 # Check whether --with-dmalloc was given.
4169 if test "${with_dmalloc+set}" = set; then
4170 withval=$with_dmalloc;
4171 if test "$withval" = yes; then
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4173 else
4174 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4175 fi
4176 cache=yes
4177
4178 else
4179
4180 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 cache=yes
4184 else
4185 cache=no
4186 fi
4187
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4189
4190 fi
4191
4192
4193 eval "$wx_cv_use_dmalloc"
4194 if test "x$cache" = xyes; then
4195 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4196 fi
4197
4198 if test x"$withstring" = xwithout; then
4199 if test $wxUSE_DMALLOC = yes; then
4200 result=no
4201 else
4202 result=yes
4203 fi
4204 else
4205 result=$wxUSE_DMALLOC
4206 fi
4207
4208 { echo "$as_me:$LINENO: result: $result" >&5
4209 echo "${ECHO_T}$result" >&6; }
4210
4211
4212 withstring=
4213 defaultval=$wxUSE_ALL_FEATURES
4214 if test -z "$defaultval"; then
4215 if test x"$withstring" = xwithout; then
4216 defaultval=yes
4217 else
4218 defaultval=no
4219 fi
4220 fi
4221 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4222 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4223
4224 # Check whether --with-sdl was given.
4225 if test "${with_sdl+set}" = set; then
4226 withval=$with_sdl;
4227 if test "$withval" = yes; then
4228 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4229 else
4230 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4231 fi
4232 cache=yes
4233
4234 else
4235
4236 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x ; then
4238 eval "DEFAULT_$LINE"
4239 cache=yes
4240 else
4241 cache=no
4242 fi
4243
4244 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4245
4246 fi
4247
4248
4249 eval "$wx_cv_use_sdl"
4250 if test "x$cache" = xyes; then
4251 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4252 fi
4253
4254 if test x"$withstring" = xwithout; then
4255 if test $wxUSE_LIBSDL = yes; then
4256 result=no
4257 else
4258 result=yes
4259 fi
4260 else
4261 result=$wxUSE_LIBSDL
4262 fi
4263
4264 { echo "$as_me:$LINENO: result: $result" >&5
4265 echo "${ECHO_T}$result" >&6; }
4266
4267
4268 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4269 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4270
4271 # Check whether --with-regex was given.
4272 if test "${with_regex+set}" = set; then
4273 withval=$with_regex;
4274 if test "$withval" = yes; then
4275 wx_cv_use_regex='wxUSE_REGEX=yes'
4276 elif test "$withval" = no; then
4277 wx_cv_use_regex='wxUSE_REGEX=no'
4278 elif test "$withval" = sys; then
4279 wx_cv_use_regex='wxUSE_REGEX=sys'
4280 elif test "$withval" = builtin; then
4281 wx_cv_use_regex='wxUSE_REGEX=builtin'
4282 else
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4286 fi
4287 cache=yes
4288
4289 else
4290
4291 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 cache=yes
4295 else
4296 cache=no
4297 fi
4298
4299 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4300
4301 fi
4302
4303
4304 eval "$wx_cv_use_regex"
4305 if test "x$cache" = xyes; then
4306 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4307 fi
4308
4309 if test "$wxUSE_REGEX" = yes; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4312 elif test "$wxUSE_REGEX" = no; then
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 elif test "$wxUSE_REGEX" = sys; then
4316 { echo "$as_me:$LINENO: result: system version" >&5
4317 echo "${ECHO_T}system version" >&6; }
4318 elif test "$wxUSE_REGEX" = builtin; then
4319 { echo "$as_me:$LINENO: result: builtin version" >&5
4320 echo "${ECHO_T}builtin version" >&6; }
4321 else
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4325 fi
4326
4327
4328 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4329 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4330
4331 # Check whether --with-zlib was given.
4332 if test "${with_zlib+set}" = set; then
4333 withval=$with_zlib;
4334 if test "$withval" = yes; then
4335 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4336 elif test "$withval" = no; then
4337 wx_cv_use_zlib='wxUSE_ZLIB=no'
4338 elif test "$withval" = sys; then
4339 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4340 elif test "$withval" = builtin; then
4341 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347 cache=yes
4348
4349 else
4350
4351 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x ; then
4353 eval "DEFAULT_$LINE"
4354 cache=yes
4355 else
4356 cache=no
4357 fi
4358
4359 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4360
4361 fi
4362
4363
4364 eval "$wx_cv_use_zlib"
4365 if test "x$cache" = xyes; then
4366 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4367 fi
4368
4369 if test "$wxUSE_ZLIB" = yes; then
4370 { echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_ZLIB" = no; then
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4375 elif test "$wxUSE_ZLIB" = sys; then
4376 { echo "$as_me:$LINENO: result: system version" >&5
4377 echo "${ECHO_T}system version" >&6; }
4378 elif test "$wxUSE_ZLIB" = builtin; then
4379 { echo "$as_me:$LINENO: result: builtin version" >&5
4380 echo "${ECHO_T}builtin version" >&6; }
4381 else
4382 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4383 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4385 fi
4386
4387
4388 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4389 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4390
4391 # Check whether --with-expat was given.
4392 if test "${with_expat+set}" = set; then
4393 withval=$with_expat;
4394 if test "$withval" = yes; then
4395 wx_cv_use_expat='wxUSE_EXPAT=yes'
4396 elif test "$withval" = no; then
4397 wx_cv_use_expat='wxUSE_EXPAT=no'
4398 elif test "$withval" = sys; then
4399 wx_cv_use_expat='wxUSE_EXPAT=sys'
4400 elif test "$withval" = builtin; then
4401 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4402 else
4403 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4404 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4405 { (exit 1); exit 1; }; }
4406 fi
4407 cache=yes
4408
4409 else
4410
4411 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x ; then
4413 eval "DEFAULT_$LINE"
4414 cache=yes
4415 else
4416 cache=no
4417 fi
4418
4419 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4420
4421 fi
4422
4423
4424 eval "$wx_cv_use_expat"
4425 if test "x$cache" = xyes; then
4426 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4427 fi
4428
4429 if test "$wxUSE_EXPAT" = yes; then
4430 { echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6; }
4432 elif test "$wxUSE_EXPAT" = no; then
4433 { echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6; }
4435 elif test "$wxUSE_EXPAT" = sys; then
4436 { echo "$as_me:$LINENO: result: system version" >&5
4437 echo "${ECHO_T}system version" >&6; }
4438 elif test "$wxUSE_EXPAT" = builtin; then
4439 { echo "$as_me:$LINENO: result: builtin version" >&5
4440 echo "${ECHO_T}builtin version" >&6; }
4441 else
4442 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4443 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4444 { (exit 1); exit 1; }; }
4445 fi
4446
4447
4448 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4449 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4450
4451 # Check whether --with-macosx-sdk was given.
4452 if test "${with_macosx_sdk+set}" = set; then
4453 withval=$with_macosx_sdk;
4454 wxUSE_MACOSX_SDK=$withval
4455 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4456 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4457
4458 else
4459
4460 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4461 # will override --enable-universal_binary's automatic SDK usage.
4462 wxUSE_MACOSX_SDK=
4463 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x ; then
4465 eval "$LINE"
4466 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 fi
4470
4471 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4472 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4473
4474 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4475 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4476
4477 # Check whether --with-macosx-version-min was given.
4478 if test "${with_macosx_version_min+set}" = set; then
4479 withval=$with_macosx_version_min;
4480 wxUSE_MACOSX_VERSION_MIN=$withval
4481 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4482 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4483
4484 else
4485
4486 # default "yes" because when not using an SDK it means the same as no
4487 # but when using an SDK it means to use the SDK version
4488 wxUSE_MACOSX_VERSION_MIN=yes
4489 # See if there is a value in the cache
4490 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "$LINE"
4493 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 fi
4497
4498 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4499 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4500
4501
4502
4503 enablestring=disable
4504 defaultval=
4505 if test -z "$defaultval"; then
4506 if test x"$enablestring" = xdisable; then
4507 defaultval=yes
4508 else
4509 defaultval=no
4510 fi
4511 fi
4512
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4515 # Check whether --enable-shared was given.
4516 if test "${enable_shared+set}" = set; then
4517 enableval=$enable_shared;
4518 if test "$enableval" = yes; then
4519 wx_cv_use_shared='wxUSE_SHARED=yes'
4520 else
4521 wx_cv_use_shared='wxUSE_SHARED=no'
4522 fi
4523 cache=yes
4524
4525 else
4526
4527 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 cache=yes
4531 else
4532 cache=no
4533 fi
4534
4535 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4536
4537 fi
4538
4539
4540 eval "$wx_cv_use_shared"
4541 if test "x$cache" = xyes; then
4542 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4543 fi
4544
4545 if test x"$enablestring" = xdisable; then
4546 if test $wxUSE_SHARED = yes; then
4547 result=no
4548 else
4549 result=yes
4550 fi
4551 else
4552 result=$wxUSE_SHARED
4553 fi
4554
4555 { echo "$as_me:$LINENO: result: $result" >&5
4556 echo "${ECHO_T}$result" >&6; }
4557
4558
4559 enablestring=disable
4560 defaultval=
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4563 defaultval=yes
4564 else
4565 defaultval=no
4566 fi
4567 fi
4568
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4571 # Check whether --enable-optimise was given.
4572 if test "${enable_optimise+set}" = set; then
4573 enableval=$enable_optimise;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4576 else
4577 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4578 fi
4579 cache=yes
4580
4581 else
4582
4583 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4586 cache=yes
4587 else
4588 cache=no
4589 fi
4590
4591 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4592
4593 fi
4594
4595
4596 eval "$wx_cv_use_optimise"
4597 if test "x$cache" = xyes; then
4598 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4599 fi
4600
4601 if test x"$enablestring" = xdisable; then
4602 if test $wxUSE_OPTIMISE = yes; then
4603 result=no
4604 else
4605 result=yes
4606 fi
4607 else
4608 result=$wxUSE_OPTIMISE
4609 fi
4610
4611 { echo "$as_me:$LINENO: result: $result" >&5
4612 echo "${ECHO_T}$result" >&6; }
4613
4614
4615 enablestring=
4616 defaultval=
4617 if test -z "$defaultval"; then
4618 if test x"$enablestring" = xdisable; then
4619 defaultval=yes
4620 else
4621 defaultval=no
4622 fi
4623 fi
4624
4625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4627 # Check whether --enable-debug was given.
4628 if test "${enable_debug+set}" = set; then
4629 enableval=$enable_debug;
4630 if test "$enableval" = yes; then
4631 wx_cv_use_debug='wxUSE_DEBUG=yes'
4632 else
4633 wx_cv_use_debug='wxUSE_DEBUG=no'
4634 fi
4635 cache=yes
4636
4637 else
4638
4639 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4640 if test "x$LINE" != x ; then
4641 eval "DEFAULT_$LINE"
4642 cache=yes
4643 else
4644 cache=no
4645 fi
4646
4647 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4648
4649 fi
4650
4651
4652 eval "$wx_cv_use_debug"
4653 if test "x$cache" = xyes; then
4654 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test x"$enablestring" = xdisable; then
4658 if test $wxUSE_DEBUG = yes; then
4659 result=no
4660 else
4661 result=yes
4662 fi
4663 else
4664 result=$wxUSE_DEBUG
4665 fi
4666
4667 { echo "$as_me:$LINENO: result: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4669
4670
4671 enablestring=
4672 defaultval=
4673 if test -z "$defaultval"; then
4674 if test x"$enablestring" = xdisable; then
4675 defaultval=yes
4676 else
4677 defaultval=no
4678 fi
4679 fi
4680
4681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4683 # Check whether --enable-stl was given.
4684 if test "${enable_stl+set}" = set; then
4685 enableval=$enable_stl;
4686 if test "$enableval" = yes; then
4687 wx_cv_use_stl='wxUSE_STL=yes'
4688 else
4689 wx_cv_use_stl='wxUSE_STL=no'
4690 fi
4691 cache=yes
4692
4693 else
4694
4695 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4698 cache=yes
4699 else
4700 cache=no
4701 fi
4702
4703 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4704
4705 fi
4706
4707
4708 eval "$wx_cv_use_stl"
4709 if test "x$cache" = xyes; then
4710 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_STL = yes; then
4715 result=no
4716 else
4717 result=yes
4718 fi
4719 else
4720 result=$wxUSE_STL
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726
4727 enablestring=
4728 defaultval=
4729 if test -z "$defaultval"; then
4730 if test x"$enablestring" = xdisable; then
4731 defaultval=yes
4732 else
4733 defaultval=no
4734 fi
4735 fi
4736
4737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4739 # Check whether --enable-std_iostreams was given.
4740 if test "${enable_std_iostreams+set}" = set; then
4741 enableval=$enable_std_iostreams;
4742 if test "$enableval" = yes; then
4743 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4744 else
4745 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4746 fi
4747 cache=yes
4748
4749 else
4750
4751 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x ; then
4753 eval "DEFAULT_$LINE"
4754 cache=yes
4755 else
4756 cache=no
4757 fi
4758
4759 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4760
4761 fi
4762
4763
4764 eval "$wx_cv_use_std_iostreams"
4765 if test "x$cache" = xyes; then
4766 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4767 fi
4768
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_STD_IOSTREAM = yes; then
4771 result=no
4772 else
4773 result=yes
4774 fi
4775 else
4776 result=$wxUSE_STD_IOSTREAM
4777 fi
4778
4779 { echo "$as_me:$LINENO: result: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4781
4782
4783 enablestring=
4784 defaultval=
4785 if test -z "$defaultval"; then
4786 if test x"$enablestring" = xdisable; then
4787 defaultval=yes
4788 else
4789 defaultval=no
4790 fi
4791 fi
4792
4793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4795 # Check whether --enable-std_string was given.
4796 if test "${enable_std_string+set}" = set; then
4797 enableval=$enable_std_string;
4798 if test "$enableval" = yes; then
4799 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4800 else
4801 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4802 fi
4803 cache=yes
4804
4805 else
4806
4807 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4808 if test "x$LINE" != x ; then
4809 eval "DEFAULT_$LINE"
4810 cache=yes
4811 else
4812 cache=no
4813 fi
4814
4815 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4816
4817 fi
4818
4819
4820 eval "$wx_cv_use_std_string"
4821 if test "x$cache" = xyes; then
4822 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4823 fi
4824
4825 if test x"$enablestring" = xdisable; then
4826 if test $wxUSE_STD_STRING = yes; then
4827 result=no
4828 else
4829 result=yes
4830 fi
4831 else
4832 result=$wxUSE_STD_STRING
4833 fi
4834
4835 { echo "$as_me:$LINENO: result: $result" >&5
4836 echo "${ECHO_T}$result" >&6; }
4837
4838
4839 enablestring=disable
4840 defaultval=
4841 if test -z "$defaultval"; then
4842 if test x"$enablestring" = xdisable; then
4843 defaultval=yes
4844 else
4845 defaultval=no
4846 fi
4847 fi
4848
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4851 # Check whether --enable-unicode was given.
4852 if test "${enable_unicode+set}" = set; then
4853 enableval=$enable_unicode;
4854 if test "$enableval" = yes; then
4855 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4856 else
4857 wx_cv_use_unicode='wxUSE_UNICODE=no'
4858 fi
4859 cache=yes
4860
4861 else
4862
4863 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x ; then
4865 eval "DEFAULT_$LINE"
4866 cache=yes
4867 else
4868 cache=no
4869 fi
4870
4871 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4872
4873 fi
4874
4875
4876 eval "$wx_cv_use_unicode"
4877 if test "x$cache" = xyes; then
4878 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4879 fi
4880
4881 if test x"$enablestring" = xdisable; then
4882 if test $wxUSE_UNICODE = yes; then
4883 result=no
4884 else
4885 result=yes
4886 fi
4887 else
4888 result=$wxUSE_UNICODE
4889 fi
4890
4891 { echo "$as_me:$LINENO: result: $result" >&5
4892 echo "${ECHO_T}$result" >&6; }
4893
4894
4895 enablestring=
4896 defaultval=
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4899 defaultval=yes
4900 else
4901 defaultval=no
4902 fi
4903 fi
4904
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4907 # Check whether --enable-mslu was given.
4908 if test "${enable_mslu+set}" = set; then
4909 enableval=$enable_mslu;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4912 else
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4914 fi
4915 cache=yes
4916
4917 else
4918
4919 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 cache=yes
4923 else
4924 cache=no
4925 fi
4926
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4928
4929 fi
4930
4931
4932 eval "$wx_cv_use_mslu"
4933 if test "x$cache" = xyes; then
4934 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test x"$enablestring" = xdisable; then
4938 if test $wxUSE_UNICODE_MSLU = yes; then
4939 result=no
4940 else
4941 result=yes
4942 fi
4943 else
4944 result=$wxUSE_UNICODE_MSLU
4945 fi
4946
4947 { echo "$as_me:$LINENO: result: $result" >&5
4948 echo "${ECHO_T}$result" >&6; }
4949
4950
4951 enablestring=
4952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4953 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4954 # Check whether --enable-utf8 was given.
4955 if test "${enable_utf8+set}" = set; then
4956 enableval=$enable_utf8;
4957 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4958 cache=yes
4959
4960 else
4961
4962 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 cache=yes
4966 else
4967 cache=no
4968 fi
4969
4970 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_utf8"
4976 if test "x$cache" = xyes; then
4977 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4981 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4982
4983
4984 enablestring=
4985 defaultval=
4986 if test -z "$defaultval"; then
4987 if test x"$enablestring" = xdisable; then
4988 defaultval=yes
4989 else
4990 defaultval=no
4991 fi
4992 fi
4993
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4996 # Check whether --enable-utf8only was given.
4997 if test "${enable_utf8only+set}" = set; then
4998 enableval=$enable_utf8only;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5001 else
5002 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5003 fi
5004 cache=yes
5005
5006 else
5007
5008 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 cache=yes
5012 else
5013 cache=no
5014 fi
5015
5016 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5017
5018 fi
5019
5020
5021 eval "$wx_cv_use_utf8only"
5022 if test "x$cache" = xyes; then
5023 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test x"$enablestring" = xdisable; then
5027 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5028 result=no
5029 else
5030 result=yes
5031 fi
5032 else
5033 result=$wxUSE_UNICODE_UTF8_LOCALE
5034 fi
5035
5036 { echo "$as_me:$LINENO: result: $result" >&5
5037 echo "${ECHO_T}$result" >&6; }
5038
5039
5040 enablestring=
5041 defaultval=
5042 if test -z "$defaultval"; then
5043 if test x"$enablestring" = xdisable; then
5044 defaultval=yes
5045 else
5046 defaultval=no
5047 fi
5048 fi
5049
5050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5052 # Check whether --enable-extended_rtti was given.
5053 if test "${enable_extended_rtti+set}" = set; then
5054 enableval=$enable_extended_rtti;
5055 if test "$enableval" = yes; then
5056 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5057 else
5058 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5059 fi
5060 cache=yes
5061
5062 else
5063
5064 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x ; then
5066 eval "DEFAULT_$LINE"
5067 cache=yes
5068 else
5069 cache=no
5070 fi
5071
5072 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5073
5074 fi
5075
5076
5077 eval "$wx_cv_use_extended_rtti"
5078 if test "x$cache" = xyes; then
5079 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test x"$enablestring" = xdisable; then
5083 if test $wxUSE_EXTENDED_RTTI = yes; then
5084 result=no
5085 else
5086 result=yes
5087 fi
5088 else
5089 result=$wxUSE_EXTENDED_RTTI
5090 fi
5091
5092 { echo "$as_me:$LINENO: result: $result" >&5
5093 echo "${ECHO_T}$result" >&6; }
5094
5095 if test "$USE_OS2" = 1; then
5096 DEFAULT_wxUSE_OMF=no
5097
5098 enablestring=
5099 defaultval=
5100 if test -z "$defaultval"; then
5101 if test x"$enablestring" = xdisable; then
5102 defaultval=yes
5103 else
5104 defaultval=no
5105 fi
5106 fi
5107
5108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5109 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5110 # Check whether --enable-omf was given.
5111 if test "${enable_omf+set}" = set; then
5112 enableval=$enable_omf;
5113 if test "$enableval" = yes; then
5114 wx_cv_use_omf='wxUSE_OMF=yes'
5115 else
5116 wx_cv_use_omf='wxUSE_OMF=no'
5117 fi
5118 cache=yes
5119
5120 else
5121
5122 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 cache=yes
5126 else
5127 cache=no
5128 fi
5129
5130 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5131
5132 fi
5133
5134
5135 eval "$wx_cv_use_omf"
5136 if test "x$cache" = xyes; then
5137 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_OMF = yes; then
5142 result=no
5143 else
5144 result=yes
5145 fi
5146 else
5147 result=$wxUSE_OMF
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153 fi
5154
5155 if test "$wxUSE_DEBUG" = "yes"; then
5156 DEFAULT_wxUSE_DEBUG_FLAG=yes
5157 DEFAULT_wxUSE_DEBUG_INFO=yes
5158 BUILD=debug
5159 elif test "$wxUSE_DEBUG" = "no"; then
5160 DEFAULT_wxUSE_DEBUG_FLAG=no
5161 DEFAULT_wxUSE_DEBUG_INFO=no
5162 BUILD=release
5163 fi
5164
5165
5166 enablestring=
5167 defaultval=
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5178 # Check whether --enable-debug_flag was given.
5179 if test "${enable_debug_flag+set}" = set; then
5180 enableval=$enable_debug_flag;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5183 else
5184 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5185 fi
5186 cache=yes
5187
5188 else
5189
5190 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 cache=yes
5194 else
5195 cache=no
5196 fi
5197
5198 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5199
5200 fi
5201
5202
5203 eval "$wx_cv_use_debug_flag"
5204 if test "x$cache" = xyes; then
5205 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5206 fi
5207
5208 if test x"$enablestring" = xdisable; then
5209 if test $wxUSE_DEBUG_FLAG = yes; then
5210 result=no
5211 else
5212 result=yes
5213 fi
5214 else
5215 result=$wxUSE_DEBUG_FLAG
5216 fi
5217
5218 { echo "$as_me:$LINENO: result: $result" >&5
5219 echo "${ECHO_T}$result" >&6; }
5220
5221
5222 enablestring=
5223 defaultval=
5224 if test -z "$defaultval"; then
5225 if test x"$enablestring" = xdisable; then
5226 defaultval=yes
5227 else
5228 defaultval=no
5229 fi
5230 fi
5231
5232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5234 # Check whether --enable-debug_info was given.
5235 if test "${enable_debug_info+set}" = set; then
5236 enableval=$enable_debug_info;
5237 if test "$enableval" = yes; then
5238 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5239 else
5240 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5241 fi
5242 cache=yes
5243
5244 else
5245
5246 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5247 if test "x$LINE" != x ; then
5248 eval "DEFAULT_$LINE"
5249 cache=yes
5250 else
5251 cache=no
5252 fi
5253
5254 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5255
5256 fi
5257
5258
5259 eval "$wx_cv_use_debug_info"
5260 if test "x$cache" = xyes; then
5261 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5262 fi
5263
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_DEBUG_INFO = yes; then
5266 result=no
5267 else
5268 result=yes
5269 fi
5270 else
5271 result=$wxUSE_DEBUG_INFO
5272 fi
5273
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5276
5277
5278 enablestring=
5279 defaultval=
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5282 defaultval=yes
5283 else
5284 defaultval=no
5285 fi
5286 fi
5287
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5290 # Check whether --enable-debug_gdb was given.
5291 if test "${enable_debug_gdb+set}" = set; then
5292 enableval=$enable_debug_gdb;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5295 else
5296 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5297 fi
5298 cache=yes
5299
5300 else
5301
5302 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x ; then
5304 eval "DEFAULT_$LINE"
5305 cache=yes
5306 else
5307 cache=no
5308 fi
5309
5310 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5311
5312 fi
5313
5314
5315 eval "$wx_cv_use_debug_gdb"
5316 if test "x$cache" = xyes; then
5317 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5318 fi
5319
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_DEBUG_GDB = yes; then
5322 result=no
5323 else
5324 result=yes
5325 fi
5326 else
5327 result=$wxUSE_DEBUG_GDB
5328 fi
5329
5330 { echo "$as_me:$LINENO: result: $result" >&5
5331 echo "${ECHO_T}$result" >&6; }
5332
5333
5334 enablestring=
5335 defaultval=
5336 if test -z "$defaultval"; then
5337 if test x"$enablestring" = xdisable; then
5338 defaultval=yes
5339 else
5340 defaultval=no
5341 fi
5342 fi
5343
5344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5345 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5346 # Check whether --enable-debug_cntxt was given.
5347 if test "${enable_debug_cntxt+set}" = set; then
5348 enableval=$enable_debug_cntxt;
5349 if test "$enableval" = yes; then
5350 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5351 else
5352 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5353 fi
5354 cache=yes
5355
5356 else
5357
5358 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5359 if test "x$LINE" != x ; then
5360 eval "DEFAULT_$LINE"
5361 cache=yes
5362 else
5363 cache=no
5364 fi
5365
5366 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5367
5368 fi
5369
5370
5371 eval "$wx_cv_use_debug_cntxt"
5372 if test "x$cache" = xyes; then
5373 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test x"$enablestring" = xdisable; then
5377 if test $wxUSE_DEBUG_CONTEXT = yes; then
5378 result=no
5379 else
5380 result=yes
5381 fi
5382 else
5383 result=$wxUSE_DEBUG_CONTEXT
5384 fi
5385
5386 { echo "$as_me:$LINENO: result: $result" >&5
5387 echo "${ECHO_T}$result" >&6; }
5388
5389
5390 enablestring=
5391 defaultval=
5392 if test -z "$defaultval"; then
5393 if test x"$enablestring" = xdisable; then
5394 defaultval=yes
5395 else
5396 defaultval=no
5397 fi
5398 fi
5399
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5402 # Check whether --enable-mem_tracing was given.
5403 if test "${enable_mem_tracing+set}" = set; then
5404 enableval=$enable_mem_tracing;
5405 if test "$enableval" = yes; then
5406 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5407 else
5408 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5409 fi
5410 cache=yes
5411
5412 else
5413
5414 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 cache=yes
5418 else
5419 cache=no
5420 fi
5421
5422 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_mem_tracing"
5428 if test "x$cache" = xyes; then
5429 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $wxUSE_MEM_TRACING = yes; then
5434 result=no
5435 else
5436 result=yes
5437 fi
5438 else
5439 result=$wxUSE_MEM_TRACING
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446 enablestring=
5447 defaultval=
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5450 defaultval=yes
5451 else
5452 defaultval=no
5453 fi
5454 fi
5455
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5458 # Check whether --enable-profile was given.
5459 if test "${enable_profile+set}" = set; then
5460 enableval=$enable_profile;
5461 if test "$enableval" = yes; then
5462 wx_cv_use_profile='wxUSE_PROFILE=yes'
5463 else
5464 wx_cv_use_profile='wxUSE_PROFILE=no'
5465 fi
5466 cache=yes
5467
5468 else
5469
5470 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 cache=yes
5474 else
5475 cache=no
5476 fi
5477
5478 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5479
5480 fi
5481
5482
5483 eval "$wx_cv_use_profile"
5484 if test "x$cache" = xyes; then
5485 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test x"$enablestring" = xdisable; then
5489 if test $wxUSE_PROFILE = yes; then
5490 result=no
5491 else
5492 result=yes
5493 fi
5494 else
5495 result=$wxUSE_PROFILE
5496 fi
5497
5498 { echo "$as_me:$LINENO: result: $result" >&5
5499 echo "${ECHO_T}$result" >&6; }
5500
5501
5502 enablestring=
5503 defaultval=
5504 if test -z "$defaultval"; then
5505 if test x"$enablestring" = xdisable; then
5506 defaultval=yes
5507 else
5508 defaultval=no
5509 fi
5510 fi
5511
5512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5514 # Check whether --enable-no_rtti was given.
5515 if test "${enable_no_rtti+set}" = set; then
5516 enableval=$enable_no_rtti;
5517 if test "$enableval" = yes; then
5518 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5519 else
5520 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5521 fi
5522 cache=yes
5523
5524 else
5525
5526 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 cache=yes
5530 else
5531 cache=no
5532 fi
5533
5534 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5535
5536 fi
5537
5538
5539 eval "$wx_cv_use_no_rtti"
5540 if test "x$cache" = xyes; then
5541 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5542 fi
5543
5544 if test x"$enablestring" = xdisable; then
5545 if test $wxUSE_NO_RTTI = yes; then
5546 result=no
5547 else
5548 result=yes
5549 fi
5550 else
5551 result=$wxUSE_NO_RTTI
5552 fi
5553
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5556
5557
5558 enablestring=
5559 defaultval=
5560 if test -z "$defaultval"; then
5561 if test x"$enablestring" = xdisable; then
5562 defaultval=yes
5563 else
5564 defaultval=no
5565 fi
5566 fi
5567
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5570 # Check whether --enable-no_exceptions was given.
5571 if test "${enable_no_exceptions+set}" = set; then
5572 enableval=$enable_no_exceptions;
5573 if test "$enableval" = yes; then
5574 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5575 else
5576 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5577 fi
5578 cache=yes
5579
5580 else
5581
5582 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5585 cache=yes
5586 else
5587 cache=no
5588 fi
5589
5590 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5591
5592 fi
5593
5594
5595 eval "$wx_cv_use_no_exceptions"
5596 if test "x$cache" = xyes; then
5597 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_NO_EXCEPTIONS = yes; then
5602 result=no
5603 else
5604 result=yes
5605 fi
5606 else
5607 result=$wxUSE_NO_EXCEPTIONS
5608 fi
5609
5610 { echo "$as_me:$LINENO: result: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5612
5613
5614 enablestring=
5615 defaultval=
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5626 # Check whether --enable-permissive was given.
5627 if test "${enable_permissive+set}" = set; then
5628 enableval=$enable_permissive;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5631 else
5632 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5633 fi
5634 cache=yes
5635
5636 else
5637
5638 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x ; then
5640 eval "DEFAULT_$LINE"
5641 cache=yes
5642 else
5643 cache=no
5644 fi
5645
5646 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5647
5648 fi
5649
5650
5651 eval "$wx_cv_use_permissive"
5652 if test "x$cache" = xyes; then
5653 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test x"$enablestring" = xdisable; then
5657 if test $wxUSE_PERMISSIVE = yes; then
5658 result=no
5659 else
5660 result=yes
5661 fi
5662 else
5663 result=$wxUSE_PERMISSIVE
5664 fi
5665
5666 { echo "$as_me:$LINENO: result: $result" >&5
5667 echo "${ECHO_T}$result" >&6; }
5668
5669
5670 enablestring=
5671 defaultval=
5672 if test -z "$defaultval"; then
5673 if test x"$enablestring" = xdisable; then
5674 defaultval=yes
5675 else
5676 defaultval=no
5677 fi
5678 fi
5679
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5682 # Check whether --enable-no_deps was given.
5683 if test "${enable_no_deps+set}" = set; then
5684 enableval=$enable_no_deps;
5685 if test "$enableval" = yes; then
5686 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5687 else
5688 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5689 fi
5690 cache=yes
5691
5692 else
5693
5694 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x ; then
5696 eval "DEFAULT_$LINE"
5697 cache=yes
5698 else
5699 cache=no
5700 fi
5701
5702 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5703
5704 fi
5705
5706
5707 eval "$wx_cv_use_no_deps"
5708 if test "x$cache" = xyes; then
5709 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test x"$enablestring" = xdisable; then
5713 if test $wxUSE_NO_DEPS = yes; then
5714 result=no
5715 else
5716 result=yes
5717 fi
5718 else
5719 result=$wxUSE_NO_DEPS
5720 fi
5721
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5724
5725
5726 enablestring=disable
5727 defaultval=
5728 if test -z "$defaultval"; then
5729 if test x"$enablestring" = xdisable; then
5730 defaultval=yes
5731 else
5732 defaultval=no
5733 fi
5734 fi
5735
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5738 # Check whether --enable-vararg_macros was given.
5739 if test "${enable_vararg_macros+set}" = set; then
5740 enableval=$enable_vararg_macros;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5743 else
5744 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5745 fi
5746 cache=yes
5747
5748 else
5749
5750 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5751 if test "x$LINE" != x ; then
5752 eval "DEFAULT_$LINE"
5753 cache=yes
5754 else
5755 cache=no
5756 fi
5757
5758 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5759
5760 fi
5761
5762
5763 eval "$wx_cv_use_vararg_macros"
5764 if test "x$cache" = xyes; then
5765 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5766 fi
5767
5768 if test x"$enablestring" = xdisable; then
5769 if test $wxUSE_VARARG_MACROS = yes; then
5770 result=no
5771 else
5772 result=yes
5773 fi
5774 else
5775 result=$wxUSE_VARARG_MACROS
5776 fi
5777
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5780
5781
5782 enablestring=
5783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5785 # Check whether --enable-universal_binary was given.
5786 if test "${enable_universal_binary+set}" = set; then
5787 enableval=$enable_universal_binary;
5788 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5789 cache=yes
5790
5791 else
5792
5793 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5796 cache=yes
5797 else
5798 cache=no
5799 fi
5800
5801 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5802
5803 fi
5804
5805
5806 eval "$wx_cv_use_universal_binary"
5807 if test "x$cache" = xyes; then
5808 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5809 fi
5810
5811 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5812 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5813
5814
5815
5816 enablestring=
5817 defaultval=
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5820 defaultval=yes
5821 else
5822 defaultval=no
5823 fi
5824 fi
5825
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5828 # Check whether --enable-compat26 was given.
5829 if test "${enable_compat26+set}" = set; then
5830 enableval=$enable_compat26;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5833 else
5834 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5835 fi
5836 cache=yes
5837
5838 else
5839
5840 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5843 cache=yes
5844 else
5845 cache=no
5846 fi
5847
5848 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5849
5850 fi
5851
5852
5853 eval "$wx_cv_use_compat26"
5854 if test "x$cache" = xyes; then
5855 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5856 fi
5857
5858 if test x"$enablestring" = xdisable; then
5859 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5860 result=no
5861 else
5862 result=yes
5863 fi
5864 else
5865 result=$WXWIN_COMPATIBILITY_2_6
5866 fi
5867
5868 { echo "$as_me:$LINENO: result: $result" >&5
5869 echo "${ECHO_T}$result" >&6; }
5870
5871
5872 enablestring=disable
5873 defaultval=
5874 if test -z "$defaultval"; then
5875 if test x"$enablestring" = xdisable; then
5876 defaultval=yes
5877 else
5878 defaultval=no
5879 fi
5880 fi
5881
5882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5884 # Check whether --enable-compat28 was given.
5885 if test "${enable_compat28+set}" = set; then
5886 enableval=$enable_compat28;
5887 if test "$enableval" = yes; then
5888 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5889 else
5890 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5891 fi
5892 cache=yes
5893
5894 else
5895
5896 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 cache=yes
5900 else
5901 cache=no
5902 fi
5903
5904 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5905
5906 fi
5907
5908
5909 eval "$wx_cv_use_compat28"
5910 if test "x$cache" = xyes; then
5911 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5912 fi
5913
5914 if test x"$enablestring" = xdisable; then
5915 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5916 result=no
5917 else
5918 result=yes
5919 fi
5920 else
5921 result=$WXWIN_COMPATIBILITY_2_8
5922 fi
5923
5924 { echo "$as_me:$LINENO: result: $result" >&5
5925 echo "${ECHO_T}$result" >&6; }
5926
5927
5928
5929 enablestring=disable
5930 defaultval=
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5933 defaultval=yes
5934 else
5935 defaultval=no
5936 fi
5937 fi
5938
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5941 # Check whether --enable-rpath was given.
5942 if test "${enable_rpath+set}" = set; then
5943 enableval=$enable_rpath;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_rpath='wxUSE_RPATH=yes'
5946 else
5947 wx_cv_use_rpath='wxUSE_RPATH=no'
5948 fi
5949 cache=yes
5950
5951 else
5952
5953 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 cache=yes
5957 else
5958 cache=no
5959 fi
5960
5961 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5962
5963 fi
5964
5965
5966 eval "$wx_cv_use_rpath"
5967 if test "x$cache" = xyes; then
5968 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5969 fi
5970
5971 if test x"$enablestring" = xdisable; then
5972 if test $wxUSE_RPATH = yes; then
5973 result=no
5974 else
5975 result=yes
5976 fi
5977 else
5978 result=$wxUSE_RPATH
5979 fi
5980
5981 { echo "$as_me:$LINENO: result: $result" >&5
5982 echo "${ECHO_T}$result" >&6; }
5983
5984
5985
5986 enablestring=
5987 defaultval=
5988 if test -z "$defaultval"; then
5989 if test x"$enablestring" = xdisable; then
5990 defaultval=yes
5991 else
5992 defaultval=no
5993 fi
5994 fi
5995
5996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5998 # Check whether --enable-objc_uniquifying was given.
5999 if test "${enable_objc_uniquifying+set}" = set; then
6000 enableval=$enable_objc_uniquifying;
6001 if test "$enableval" = yes; then
6002 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6003 else
6004 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6005 fi
6006 cache=yes
6007
6008 else
6009
6010 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6013 cache=yes
6014 else
6015 cache=no
6016 fi
6017
6018 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6019
6020 fi
6021
6022
6023 eval "$wx_cv_use_objc_uniquifying"
6024 if test "x$cache" = xyes; then
6025 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6026 fi
6027
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6030 result=no
6031 else
6032 result=yes
6033 fi
6034 else
6035 result=$wxUSE_OBJC_UNIQUIFYING
6036 fi
6037
6038 { echo "$as_me:$LINENO: result: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6040
6041
6042
6043 enablestring=disable
6044 defaultval=
6045 if test -z "$defaultval"; then
6046 if test x"$enablestring" = xdisable; then
6047 defaultval=yes
6048 else
6049 defaultval=no
6050 fi
6051 fi
6052
6053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6055 # Check whether --enable-visibility was given.
6056 if test "${enable_visibility+set}" = set; then
6057 enableval=$enable_visibility;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6060 else
6061 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6062 fi
6063 cache=yes
6064
6065 else
6066
6067 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 cache=yes
6071 else
6072 cache=no
6073 fi
6074
6075 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6076
6077 fi
6078
6079
6080 eval "$wx_cv_use_visibility"
6081 if test "x$cache" = xyes; then
6082 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6083 fi
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_VISIBILITY = yes; then
6087 result=no
6088 else
6089 result=yes
6090 fi
6091 else
6092 result=$wxUSE_VISIBILITY
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6113 # Check whether --enable-intl was given.
6114 if test "${enable_intl+set}" = set; then
6115 enableval=$enable_intl;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_intl='wxUSE_INTL=yes'
6118 else
6119 wx_cv_use_intl='wxUSE_INTL=no'
6120 fi
6121 cache=yes
6122
6123 else
6124
6125 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x ; then
6127 eval "DEFAULT_$LINE"
6128 cache=yes
6129 else
6130 cache=no
6131 fi
6132
6133 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6134
6135 fi
6136
6137
6138 eval "$wx_cv_use_intl"
6139 if test "x$cache" = xyes; then
6140 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6141 fi
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_INTL = yes; then
6145 result=no
6146 else
6147 result=yes
6148 fi
6149 else
6150 result=$wxUSE_INTL
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157 enablestring=
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6161 defaultval=yes
6162 else
6163 defaultval=no
6164 fi
6165 fi
6166
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6169 # Check whether --enable-config was given.
6170 if test "${enable_config+set}" = set; then
6171 enableval=$enable_config;
6172 if test "$enableval" = yes; then
6173 wx_cv_use_config='wxUSE_CONFIG=yes'
6174 else
6175 wx_cv_use_config='wxUSE_CONFIG=no'
6176 fi
6177 cache=yes
6178
6179 else
6180
6181 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6184 cache=yes
6185 else
6186 cache=no
6187 fi
6188
6189 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6190
6191 fi
6192
6193
6194 eval "$wx_cv_use_config"
6195 if test "x$cache" = xyes; then
6196 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_CONFIG = yes; then
6201 result=no
6202 else
6203 result=yes
6204 fi
6205 else
6206 result=$wxUSE_CONFIG
6207 fi
6208
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6211
6212
6213
6214 enablestring=
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6218 defaultval=yes
6219 else
6220 defaultval=no
6221 fi
6222 fi
6223
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6226 # Check whether --enable-protocols was given.
6227 if test "${enable_protocols+set}" = set; then
6228 enableval=$enable_protocols;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6231 else
6232 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6233 fi
6234 cache=yes
6235
6236 else
6237
6238 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x ; then
6240 eval "DEFAULT_$LINE"
6241 cache=yes
6242 else
6243 cache=no
6244 fi
6245
6246 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6247
6248 fi
6249
6250
6251 eval "$wx_cv_use_protocols"
6252 if test "x$cache" = xyes; then
6253 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test x"$enablestring" = xdisable; then
6257 if test $wxUSE_PROTOCOL = yes; then
6258 result=no
6259 else
6260 result=yes
6261 fi
6262 else
6263 result=$wxUSE_PROTOCOL
6264 fi
6265
6266 { echo "$as_me:$LINENO: result: $result" >&5
6267 echo "${ECHO_T}$result" >&6; }
6268
6269
6270 enablestring=
6271 defaultval=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x"$enablestring" = xdisable; then
6274 defaultval=yes
6275 else
6276 defaultval=no
6277 fi
6278 fi
6279
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6282 # Check whether --enable-ftp was given.
6283 if test "${enable_ftp+set}" = set; then
6284 enableval=$enable_ftp;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6287 else
6288 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6289 fi
6290 cache=yes
6291
6292 else
6293
6294 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 cache=yes
6298 else
6299 cache=no
6300 fi
6301
6302 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_ftp"
6308 if test "x$cache" = xyes; then
6309 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6310 fi
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_PROTOCOL_FTP = yes; then
6314 result=no
6315 else
6316 result=yes
6317 fi
6318 else
6319 result=$wxUSE_PROTOCOL_FTP
6320 fi
6321
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6324
6325
6326 enablestring=
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6330 defaultval=yes
6331 else
6332 defaultval=no
6333 fi
6334 fi
6335
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6338 # Check whether --enable-http was given.
6339 if test "${enable_http+set}" = set; then
6340 enableval=$enable_http;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6343 else
6344 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6345 fi
6346 cache=yes
6347
6348 else
6349
6350 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6353 cache=yes
6354 else
6355 cache=no
6356 fi
6357
6358 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6359
6360 fi
6361
6362
6363 eval "$wx_cv_use_http"
6364 if test "x$cache" = xyes; then
6365 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6366 fi
6367
6368 if test x"$enablestring" = xdisable; then
6369 if test $wxUSE_PROTOCOL_HTTP = yes; then
6370 result=no
6371 else
6372 result=yes
6373 fi
6374 else
6375 result=$wxUSE_PROTOCOL_HTTP
6376 fi
6377
6378 { echo "$as_me:$LINENO: result: $result" >&5
6379 echo "${ECHO_T}$result" >&6; }
6380
6381
6382 enablestring=
6383 defaultval=$wxUSE_ALL_FEATURES
6384 if test -z "$defaultval"; then
6385 if test x"$enablestring" = xdisable; then
6386 defaultval=yes
6387 else
6388 defaultval=no
6389 fi
6390 fi
6391
6392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6394 # Check whether --enable-fileproto was given.
6395 if test "${enable_fileproto+set}" = set; then
6396 enableval=$enable_fileproto;
6397 if test "$enableval" = yes; then
6398 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6399 else
6400 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6401 fi
6402 cache=yes
6403
6404 else
6405
6406 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x ; then
6408 eval "DEFAULT_$LINE"
6409 cache=yes
6410 else
6411 cache=no
6412 fi
6413
6414 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6415
6416 fi
6417
6418
6419 eval "$wx_cv_use_fileproto"
6420 if test "x$cache" = xyes; then
6421 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6422 fi
6423
6424 if test x"$enablestring" = xdisable; then
6425 if test $wxUSE_PROTOCOL_FILE = yes; then
6426 result=no
6427 else
6428 result=yes
6429 fi
6430 else
6431 result=$wxUSE_PROTOCOL_FILE
6432 fi
6433
6434 { echo "$as_me:$LINENO: result: $result" >&5
6435 echo "${ECHO_T}$result" >&6; }
6436
6437
6438 enablestring=
6439 defaultval=$wxUSE_ALL_FEATURES
6440 if test -z "$defaultval"; then
6441 if test x"$enablestring" = xdisable; then
6442 defaultval=yes
6443 else
6444 defaultval=no
6445 fi
6446 fi
6447
6448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6450 # Check whether --enable-sockets was given.
6451 if test "${enable_sockets+set}" = set; then
6452 enableval=$enable_sockets;
6453 if test "$enableval" = yes; then
6454 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6455 else
6456 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6457 fi
6458 cache=yes
6459
6460 else
6461
6462 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x ; then
6464 eval "DEFAULT_$LINE"
6465 cache=yes
6466 else
6467 cache=no
6468 fi
6469
6470 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6471
6472 fi
6473
6474
6475 eval "$wx_cv_use_sockets"
6476 if test "x$cache" = xyes; then
6477 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_SOCKETS = yes; then
6482 result=no
6483 else
6484 result=yes
6485 fi
6486 else
6487 result=$wxUSE_SOCKETS
6488 fi
6489
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6492
6493
6494 enablestring=
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6498 defaultval=yes
6499 else
6500 defaultval=no
6501 fi
6502 fi
6503
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6506 # Check whether --enable-ole was given.
6507 if test "${enable_ole+set}" = set; then
6508 enableval=$enable_ole;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_ole='wxUSE_OLE=yes'
6511 else
6512 wx_cv_use_ole='wxUSE_OLE=no'
6513 fi
6514 cache=yes
6515
6516 else
6517
6518 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x ; then
6520 eval "DEFAULT_$LINE"
6521 cache=yes
6522 else
6523 cache=no
6524 fi
6525
6526 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6527
6528 fi
6529
6530
6531 eval "$wx_cv_use_ole"
6532 if test "x$cache" = xyes; then
6533 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6534 fi
6535
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_OLE = yes; then
6538 result=no
6539 else
6540 result=yes
6541 fi
6542 else
6543 result=$wxUSE_OLE
6544 fi
6545
6546 { echo "$as_me:$LINENO: result: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6548
6549
6550 enablestring=
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6554 defaultval=yes
6555 else
6556 defaultval=no
6557 fi
6558 fi
6559
6560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6562 # Check whether --enable-dataobj was given.
6563 if test "${enable_dataobj+set}" = set; then
6564 enableval=$enable_dataobj;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6567 else
6568 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6569 fi
6570 cache=yes
6571
6572 else
6573
6574 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x ; then
6576 eval "DEFAULT_$LINE"
6577 cache=yes
6578 else
6579 cache=no
6580 fi
6581
6582 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6583
6584 fi
6585
6586
6587 eval "$wx_cv_use_dataobj"
6588 if test "x$cache" = xyes; then
6589 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6590 fi
6591
6592 if test x"$enablestring" = xdisable; then
6593 if test $wxUSE_DATAOBJ = yes; then
6594 result=no
6595 else
6596 result=yes
6597 fi
6598 else
6599 result=$wxUSE_DATAOBJ
6600 fi
6601
6602 { echo "$as_me:$LINENO: result: $result" >&5
6603 echo "${ECHO_T}$result" >&6; }
6604
6605
6606
6607 enablestring=
6608 defaultval=$wxUSE_ALL_FEATURES
6609 if test -z "$defaultval"; then
6610 if test x"$enablestring" = xdisable; then
6611 defaultval=yes
6612 else
6613 defaultval=no
6614 fi
6615 fi
6616
6617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6619 # Check whether --enable-ipc was given.
6620 if test "${enable_ipc+set}" = set; then
6621 enableval=$enable_ipc;
6622 if test "$enableval" = yes; then
6623 wx_cv_use_ipc='wxUSE_IPC=yes'
6624 else
6625 wx_cv_use_ipc='wxUSE_IPC=no'
6626 fi
6627 cache=yes
6628
6629 else
6630
6631 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x ; then
6633 eval "DEFAULT_$LINE"
6634 cache=yes
6635 else
6636 cache=no
6637 fi
6638
6639 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6640
6641 fi
6642
6643
6644 eval "$wx_cv_use_ipc"
6645 if test "x$cache" = xyes; then
6646 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6647 fi
6648
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_IPC = yes; then
6651 result=no
6652 else
6653 result=yes
6654 fi
6655 else
6656 result=$wxUSE_IPC
6657 fi
6658
6659 { echo "$as_me:$LINENO: result: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6661
6662
6663
6664 enablestring=
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6668 defaultval=yes
6669 else
6670 defaultval=no
6671 fi
6672 fi
6673
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6676 # Check whether --enable-baseevtloop was given.
6677 if test "${enable_baseevtloop+set}" = set; then
6678 enableval=$enable_baseevtloop;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6681 else
6682 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6683 fi
6684 cache=yes
6685
6686 else
6687
6688 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 cache=yes
6692 else
6693 cache=no
6694 fi
6695
6696 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6697
6698 fi
6699
6700
6701 eval "$wx_cv_use_baseevtloop"
6702 if test "x$cache" = xyes; then
6703 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6704 fi
6705
6706 if test x"$enablestring" = xdisable; then
6707 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6708 result=no
6709 else
6710 result=yes
6711 fi
6712 else
6713 result=$wxUSE_CONSOLE_EVENTLOOP
6714 fi
6715
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6718
6719
6720 enablestring=
6721 defaultval=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6732 # Check whether --enable-epollloop was given.
6733 if test "${enable_epollloop+set}" = set; then
6734 enableval=$enable_epollloop;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6737 else
6738 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6739 fi
6740 cache=yes
6741
6742 else
6743
6744 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 cache=yes
6748 else
6749 cache=no
6750 fi
6751
6752 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6753
6754 fi
6755
6756
6757 eval "$wx_cv_use_epollloop"
6758 if test "x$cache" = xyes; then
6759 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6760 fi
6761
6762 if test x"$enablestring" = xdisable; then
6763 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6764 result=no
6765 else
6766 result=yes
6767 fi
6768 else
6769 result=$wxUSE_EPOLL_DISPATCHER
6770 fi
6771
6772 { echo "$as_me:$LINENO: result: $result" >&5
6773 echo "${ECHO_T}$result" >&6; }
6774
6775
6776 enablestring=
6777 defaultval=$wxUSE_ALL_FEATURES
6778 if test -z "$defaultval"; then
6779 if test x"$enablestring" = xdisable; then
6780 defaultval=yes
6781 else
6782 defaultval=no
6783 fi
6784 fi
6785
6786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6788 # Check whether --enable-selectloop was given.
6789 if test "${enable_selectloop+set}" = set; then
6790 enableval=$enable_selectloop;
6791 if test "$enableval" = yes; then
6792 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6793 else
6794 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6795 fi
6796 cache=yes
6797
6798 else
6799
6800 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6803 cache=yes
6804 else
6805 cache=no
6806 fi
6807
6808 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6809
6810 fi
6811
6812
6813 eval "$wx_cv_use_selectloop"
6814 if test "x$cache" = xyes; then
6815 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6816 fi
6817
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_SELECT_DISPATCHER = yes; then
6820 result=no
6821 else
6822 result=yes
6823 fi
6824 else
6825 result=$wxUSE_SELECT_DISPATCHER
6826 fi
6827
6828 { echo "$as_me:$LINENO: result: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6830
6831
6832
6833 enablestring=
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6845 # Check whether --enable-apple_ieee was given.
6846 if test "${enable_apple_ieee+set}" = set; then
6847 enableval=$enable_apple_ieee;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6850 else
6851 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6852 fi
6853 cache=yes
6854
6855 else
6856
6857 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x ; then
6859 eval "DEFAULT_$LINE"
6860 cache=yes
6861 else
6862 cache=no
6863 fi
6864
6865 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6866
6867 fi
6868
6869
6870 eval "$wx_cv_use_apple_ieee"
6871 if test "x$cache" = xyes; then
6872 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6873 fi
6874
6875 if test x"$enablestring" = xdisable; then
6876 if test $wxUSE_APPLE_IEEE = yes; then
6877 result=no
6878 else
6879 result=yes
6880 fi
6881 else
6882 result=$wxUSE_APPLE_IEEE
6883 fi
6884
6885 { echo "$as_me:$LINENO: result: $result" >&5
6886 echo "${ECHO_T}$result" >&6; }
6887
6888
6889 enablestring=
6890 defaultval=$wxUSE_ALL_FEATURES
6891 if test -z "$defaultval"; then
6892 if test x"$enablestring" = xdisable; then
6893 defaultval=yes
6894 else
6895 defaultval=no
6896 fi
6897 fi
6898
6899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6901 # Check whether --enable-arcstream was given.
6902 if test "${enable_arcstream+set}" = set; then
6903 enableval=$enable_arcstream;
6904 if test "$enableval" = yes; then
6905 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6906 else
6907 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6908 fi
6909 cache=yes
6910
6911 else
6912
6913 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 cache=yes
6917 else
6918 cache=no
6919 fi
6920
6921 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6922
6923 fi
6924
6925
6926 eval "$wx_cv_use_arcstream"
6927 if test "x$cache" = xyes; then
6928 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6933 result=no
6934 else
6935 result=yes
6936 fi
6937 else
6938 result=$wxUSE_ARCHIVE_STREAMS
6939 fi
6940
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6943
6944
6945 enablestring=
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6949 defaultval=yes
6950 else
6951 defaultval=no
6952 fi
6953 fi
6954
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6957 # Check whether --enable-base64 was given.
6958 if test "${enable_base64+set}" = set; then
6959 enableval=$enable_base64;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_base64='wxUSE_BASE64=yes'
6962 else
6963 wx_cv_use_base64='wxUSE_BASE64=no'
6964 fi
6965 cache=yes
6966
6967 else
6968
6969 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6972 cache=yes
6973 else
6974 cache=no
6975 fi
6976
6977 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6978
6979 fi
6980
6981
6982 eval "$wx_cv_use_base64"
6983 if test "x$cache" = xyes; then
6984 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6985 fi
6986
6987 if test x"$enablestring" = xdisable; then
6988 if test $wxUSE_BASE64 = yes; then
6989 result=no
6990 else
6991 result=yes
6992 fi
6993 else
6994 result=$wxUSE_BASE64
6995 fi
6996
6997 { echo "$as_me:$LINENO: result: $result" >&5
6998 echo "${ECHO_T}$result" >&6; }
6999
7000
7001 enablestring=
7002 defaultval=$wxUSE_ALL_FEATURES
7003 if test -z "$defaultval"; then
7004 if test x"$enablestring" = xdisable; then
7005 defaultval=yes
7006 else
7007 defaultval=no
7008 fi
7009 fi
7010
7011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7012 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7013 # Check whether --enable-backtrace was given.
7014 if test "${enable_backtrace+set}" = set; then
7015 enableval=$enable_backtrace;
7016 if test "$enableval" = yes; then
7017 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7018 else
7019 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7020 fi
7021 cache=yes
7022
7023 else
7024
7025 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7028 cache=yes
7029 else
7030 cache=no
7031 fi
7032
7033 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7034
7035 fi
7036
7037
7038 eval "$wx_cv_use_backtrace"
7039 if test "x$cache" = xyes; then
7040 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_STACKWALKER = yes; then
7045 result=no
7046 else
7047 result=yes
7048 fi
7049 else
7050 result=$wxUSE_STACKWALKER
7051 fi
7052
7053 { echo "$as_me:$LINENO: result: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7055
7056
7057 enablestring=
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7061 defaultval=yes
7062 else
7063 defaultval=no
7064 fi
7065 fi
7066
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7069 # Check whether --enable-catch_segvs was given.
7070 if test "${enable_catch_segvs+set}" = set; then
7071 enableval=$enable_catch_segvs;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7074 else
7075 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7076 fi
7077 cache=yes
7078
7079 else
7080
7081 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x ; then
7083 eval "DEFAULT_$LINE"
7084 cache=yes
7085 else
7086 cache=no
7087 fi
7088
7089 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7090
7091 fi
7092
7093
7094 eval "$wx_cv_use_catch_segvs"
7095 if test "x$cache" = xyes; then
7096 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7101 result=no
7102 else
7103 result=yes
7104 fi
7105 else
7106 result=$wxUSE_ON_FATAL_EXCEPTION
7107 fi
7108
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7111
7112
7113 enablestring=
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7117 defaultval=yes
7118 else
7119 defaultval=no
7120 fi
7121 fi
7122
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7125 # Check whether --enable-cmdline was given.
7126 if test "${enable_cmdline+set}" = set; then
7127 enableval=$enable_cmdline;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7130 else
7131 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7132 fi
7133 cache=yes
7134
7135 else
7136
7137 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7140 cache=yes
7141 else
7142 cache=no
7143 fi
7144
7145 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7146
7147 fi
7148
7149
7150 eval "$wx_cv_use_cmdline"
7151 if test "x$cache" = xyes; then
7152 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7153 fi
7154
7155 if test x"$enablestring" = xdisable; then
7156 if test $wxUSE_CMDLINE_PARSER = yes; then
7157 result=no
7158 else
7159 result=yes
7160 fi
7161 else
7162 result=$wxUSE_CMDLINE_PARSER
7163 fi
7164
7165 { echo "$as_me:$LINENO: result: $result" >&5
7166 echo "${ECHO_T}$result" >&6; }
7167
7168
7169 enablestring=
7170 defaultval=$wxUSE_ALL_FEATURES
7171 if test -z "$defaultval"; then
7172 if test x"$enablestring" = xdisable; then
7173 defaultval=yes
7174 else
7175 defaultval=no
7176 fi
7177 fi
7178
7179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7181 # Check whether --enable-datetime was given.
7182 if test "${enable_datetime+set}" = set; then
7183 enableval=$enable_datetime;
7184 if test "$enableval" = yes; then
7185 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7186 else
7187 wx_cv_use_datetime='wxUSE_DATETIME=no'
7188 fi
7189 cache=yes
7190
7191 else
7192
7193 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7196 cache=yes
7197 else
7198 cache=no
7199 fi
7200
7201 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7202
7203 fi
7204
7205
7206 eval "$wx_cv_use_datetime"
7207 if test "x$cache" = xyes; then
7208 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7209 fi
7210
7211 if test x"$enablestring" = xdisable; then
7212 if test $wxUSE_DATETIME = yes; then
7213 result=no
7214 else
7215 result=yes
7216 fi
7217 else
7218 result=$wxUSE_DATETIME
7219 fi
7220
7221 { echo "$as_me:$LINENO: result: $result" >&5
7222 echo "${ECHO_T}$result" >&6; }
7223
7224
7225 enablestring=
7226 defaultval=$wxUSE_ALL_FEATURES
7227 if test -z "$defaultval"; then
7228 if test x"$enablestring" = xdisable; then
7229 defaultval=yes
7230 else
7231 defaultval=no
7232 fi
7233 fi
7234
7235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7236 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7237 # Check whether --enable-debugreport was given.
7238 if test "${enable_debugreport+set}" = set; then
7239 enableval=$enable_debugreport;
7240 if test "$enableval" = yes; then
7241 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7242 else
7243 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7244 fi
7245 cache=yes
7246
7247 else
7248
7249 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7252 cache=yes
7253 else
7254 cache=no
7255 fi
7256
7257 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7258
7259 fi
7260
7261
7262 eval "$wx_cv_use_debugreport"
7263 if test "x$cache" = xyes; then
7264 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7265 fi
7266
7267 if test x"$enablestring" = xdisable; then
7268 if test $wxUSE_DEBUGREPORT = yes; then
7269 result=no
7270 else
7271 result=yes
7272 fi
7273 else
7274 result=$wxUSE_DEBUGREPORT
7275 fi
7276
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7279
7280
7281 enablestring=
7282 defaultval=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x"$enablestring" = xdisable; then
7285 defaultval=yes
7286 else
7287 defaultval=no
7288 fi
7289 fi
7290
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7293 # Check whether --enable-dialupman was given.
7294 if test "${enable_dialupman+set}" = set; then
7295 enableval=$enable_dialupman;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7298 else
7299 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7300 fi
7301 cache=yes
7302
7303 else
7304
7305 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 cache=yes
7309 else
7310 cache=no
7311 fi
7312
7313 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_dialupman"
7319 if test "x$cache" = xyes; then
7320 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7321 fi
7322
7323 if test x"$enablestring" = xdisable; then
7324 if test $wxUSE_DIALUP_MANAGER = yes; then
7325 result=no
7326 else
7327 result=yes
7328 fi
7329 else
7330 result=$wxUSE_DIALUP_MANAGER
7331 fi
7332
7333 { echo "$as_me:$LINENO: result: $result" >&5
7334 echo "${ECHO_T}$result" >&6; }
7335
7336
7337 enablestring=
7338 defaultval=$wxUSE_ALL_FEATURES
7339 if test -z "$defaultval"; then
7340 if test x"$enablestring" = xdisable; then
7341 defaultval=yes
7342 else
7343 defaultval=no
7344 fi
7345 fi
7346
7347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7348 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7349 # Check whether --enable-dynlib was given.
7350 if test "${enable_dynlib+set}" = set; then
7351 enableval=$enable_dynlib;
7352 if test "$enableval" = yes; then
7353 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7354 else
7355 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7356 fi
7357 cache=yes
7358
7359 else
7360
7361 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x ; then
7363 eval "DEFAULT_$LINE"
7364 cache=yes
7365 else
7366 cache=no
7367 fi
7368
7369 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7370
7371 fi
7372
7373
7374 eval "$wx_cv_use_dynlib"
7375 if test "x$cache" = xyes; then
7376 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7377 fi
7378
7379 if test x"$enablestring" = xdisable; then
7380 if test $wxUSE_DYNLIB_CLASS = yes; then
7381 result=no
7382 else
7383 result=yes
7384 fi
7385 else
7386 result=$wxUSE_DYNLIB_CLASS
7387 fi
7388
7389 { echo "$as_me:$LINENO: result: $result" >&5
7390 echo "${ECHO_T}$result" >&6; }
7391
7392
7393 enablestring=
7394 defaultval=$wxUSE_ALL_FEATURES
7395 if test -z "$defaultval"; then
7396 if test x"$enablestring" = xdisable; then
7397 defaultval=yes
7398 else
7399 defaultval=no
7400 fi
7401 fi
7402
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7405 # Check whether --enable-dynamicloader was given.
7406 if test "${enable_dynamicloader+set}" = set; then
7407 enableval=$enable_dynamicloader;
7408 if test "$enableval" = yes; then
7409 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7410 else
7411 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7412 fi
7413 cache=yes
7414
7415 else
7416
7417 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 cache=yes
7421 else
7422 cache=no
7423 fi
7424
7425 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7426
7427 fi
7428
7429
7430 eval "$wx_cv_use_dynamicloader"
7431 if test "x$cache" = xyes; then
7432 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7433 fi
7434
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_DYNAMIC_LOADER = yes; then
7437 result=no
7438 else
7439 result=yes
7440 fi
7441 else
7442 result=$wxUSE_DYNAMIC_LOADER
7443 fi
7444
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7447
7448
7449 enablestring=
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7453 defaultval=yes
7454 else
7455 defaultval=no
7456 fi
7457 fi
7458
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7461 # Check whether --enable-exceptions was given.
7462 if test "${enable_exceptions+set}" = set; then
7463 enableval=$enable_exceptions;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7466 else
7467 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7468 fi
7469 cache=yes
7470
7471 else
7472
7473 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 cache=yes
7477 else
7478 cache=no
7479 fi
7480
7481 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7482
7483 fi
7484
7485
7486 eval "$wx_cv_use_exceptions"
7487 if test "x$cache" = xyes; then
7488 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test x"$enablestring" = xdisable; then
7492 if test $wxUSE_EXCEPTIONS = yes; then
7493 result=no
7494 else
7495 result=yes
7496 fi
7497 else
7498 result=$wxUSE_EXCEPTIONS
7499 fi
7500
7501 { echo "$as_me:$LINENO: result: $result" >&5
7502 echo "${ECHO_T}$result" >&6; }
7503
7504
7505 enablestring=
7506 defaultval=$wxUSE_ALL_FEATURES
7507 if test -z "$defaultval"; then
7508 if test x"$enablestring" = xdisable; then
7509 defaultval=yes
7510 else
7511 defaultval=no
7512 fi
7513 fi
7514
7515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7517 # Check whether --enable-ffile was given.
7518 if test "${enable_ffile+set}" = set; then
7519 enableval=$enable_ffile;
7520 if test "$enableval" = yes; then
7521 wx_cv_use_ffile='wxUSE_FFILE=yes'
7522 else
7523 wx_cv_use_ffile='wxUSE_FFILE=no'
7524 fi
7525 cache=yes
7526
7527 else
7528
7529 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7532 cache=yes
7533 else
7534 cache=no
7535 fi
7536
7537 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7538
7539 fi
7540
7541
7542 eval "$wx_cv_use_ffile"
7543 if test "x$cache" = xyes; then
7544 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_FFILE = yes; then
7549 result=no
7550 else
7551 result=yes
7552 fi
7553 else
7554 result=$wxUSE_FFILE
7555 fi
7556
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7559
7560
7561 enablestring=
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7565 defaultval=yes
7566 else
7567 defaultval=no
7568 fi
7569 fi
7570
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7573 # Check whether --enable-file was given.
7574 if test "${enable_file+set}" = set; then
7575 enableval=$enable_file;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_file='wxUSE_FILE=yes'
7578 else
7579 wx_cv_use_file='wxUSE_FILE=no'
7580 fi
7581 cache=yes
7582
7583 else
7584
7585 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7588 cache=yes
7589 else
7590 cache=no
7591 fi
7592
7593 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7594
7595 fi
7596
7597
7598 eval "$wx_cv_use_file"
7599 if test "x$cache" = xyes; then
7600 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7601 fi
7602
7603 if test x"$enablestring" = xdisable; then
7604 if test $wxUSE_FILE = yes; then
7605 result=no
7606 else
7607 result=yes
7608 fi
7609 else
7610 result=$wxUSE_FILE
7611 fi
7612
7613 { echo "$as_me:$LINENO: result: $result" >&5
7614 echo "${ECHO_T}$result" >&6; }
7615
7616
7617 enablestring=
7618 defaultval=$wxUSE_ALL_FEATURES
7619 if test -z "$defaultval"; then
7620 if test x"$enablestring" = xdisable; then
7621 defaultval=yes
7622 else
7623 defaultval=no
7624 fi
7625 fi
7626
7627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7629 # Check whether --enable-filesystem was given.
7630 if test "${enable_filesystem+set}" = set; then
7631 enableval=$enable_filesystem;
7632 if test "$enableval" = yes; then
7633 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7634 else
7635 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7636 fi
7637 cache=yes
7638
7639 else
7640
7641 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x ; then
7643 eval "DEFAULT_$LINE"
7644 cache=yes
7645 else
7646 cache=no
7647 fi
7648
7649 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7650
7651 fi
7652
7653
7654 eval "$wx_cv_use_filesystem"
7655 if test "x$cache" = xyes; then
7656 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test x"$enablestring" = xdisable; then
7660 if test $wxUSE_FILESYSTEM = yes; then
7661 result=no
7662 else
7663 result=yes
7664 fi
7665 else
7666 result=$wxUSE_FILESYSTEM
7667 fi
7668
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7671
7672
7673 enablestring=
7674 defaultval=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x"$enablestring" = xdisable; then
7677 defaultval=yes
7678 else
7679 defaultval=no
7680 fi
7681 fi
7682
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7685 # Check whether --enable-fontenum was given.
7686 if test "${enable_fontenum+set}" = set; then
7687 enableval=$enable_fontenum;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7690 else
7691 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7692 fi
7693 cache=yes
7694
7695 else
7696
7697 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7700 cache=yes
7701 else
7702 cache=no
7703 fi
7704
7705 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7706
7707 fi
7708
7709
7710 eval "$wx_cv_use_fontenum"
7711 if test "x$cache" = xyes; then
7712 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7713 fi
7714
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_FONTENUM = yes; then
7717 result=no
7718 else
7719 result=yes
7720 fi
7721 else
7722 result=$wxUSE_FONTENUM
7723 fi
7724
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7727
7728
7729 enablestring=
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7733 defaultval=yes
7734 else
7735 defaultval=no
7736 fi
7737 fi
7738
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7741 # Check whether --enable-fontmap was given.
7742 if test "${enable_fontmap+set}" = set; then
7743 enableval=$enable_fontmap;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7746 else
7747 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7748 fi
7749 cache=yes
7750
7751 else
7752
7753 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7754 if test "x$LINE" != x ; then
7755 eval "DEFAULT_$LINE"
7756 cache=yes
7757 else
7758 cache=no
7759 fi
7760
7761 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_fontmap"
7767 if test "x$cache" = xyes; then
7768 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7769 fi
7770
7771 if test x"$enablestring" = xdisable; then
7772 if test $wxUSE_FONTMAP = yes; then
7773 result=no
7774 else
7775 result=yes
7776 fi
7777 else
7778 result=$wxUSE_FONTMAP
7779 fi
7780
7781 { echo "$as_me:$LINENO: result: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7783
7784
7785 enablestring=
7786 defaultval=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x"$enablestring" = xdisable; then
7789 defaultval=yes
7790 else
7791 defaultval=no
7792 fi
7793 fi
7794
7795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7797 # Check whether --enable-fs_archive was given.
7798 if test "${enable_fs_archive+set}" = set; then
7799 enableval=$enable_fs_archive;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7802 else
7803 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7804 fi
7805 cache=yes
7806
7807 else
7808
7809 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 cache=yes
7813 else
7814 cache=no
7815 fi
7816
7817 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7818
7819 fi
7820
7821
7822 eval "$wx_cv_use_fs_archive"
7823 if test "x$cache" = xyes; then
7824 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7825 fi
7826
7827 if test x"$enablestring" = xdisable; then
7828 if test $wxUSE_FS_ARCHIVE = yes; then
7829 result=no
7830 else
7831 result=yes
7832 fi
7833 else
7834 result=$wxUSE_FS_ARCHIVE
7835 fi
7836
7837 { echo "$as_me:$LINENO: result: $result" >&5
7838 echo "${ECHO_T}$result" >&6; }
7839
7840
7841 enablestring=
7842 defaultval=$wxUSE_ALL_FEATURES
7843 if test -z "$defaultval"; then
7844 if test x"$enablestring" = xdisable; then
7845 defaultval=yes
7846 else
7847 defaultval=no
7848 fi
7849 fi
7850
7851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7853 # Check whether --enable-fs_inet was given.
7854 if test "${enable_fs_inet+set}" = set; then
7855 enableval=$enable_fs_inet;
7856 if test "$enableval" = yes; then
7857 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7858 else
7859 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7860 fi
7861 cache=yes
7862
7863 else
7864
7865 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x ; then
7867 eval "DEFAULT_$LINE"
7868 cache=yes
7869 else
7870 cache=no
7871 fi
7872
7873 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7874
7875 fi
7876
7877
7878 eval "$wx_cv_use_fs_inet"
7879 if test "x$cache" = xyes; then
7880 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7881 fi
7882
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_FS_INET = yes; then
7885 result=no
7886 else
7887 result=yes
7888 fi
7889 else
7890 result=$wxUSE_FS_INET
7891 fi
7892
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7895
7896
7897 enablestring=
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7901 defaultval=yes
7902 else
7903 defaultval=no
7904 fi
7905 fi
7906
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7909 # Check whether --enable-fs_zip was given.
7910 if test "${enable_fs_zip+set}" = set; then
7911 enableval=$enable_fs_zip;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7914 else
7915 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7916 fi
7917 cache=yes
7918
7919 else
7920
7921 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 cache=yes
7925 else
7926 cache=no
7927 fi
7928
7929 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_fs_zip"
7935 if test "x$cache" = xyes; then
7936 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7937 fi
7938
7939 if test x"$enablestring" = xdisable; then
7940 if test $wxUSE_FS_ZIP = yes; then
7941 result=no
7942 else
7943 result=yes
7944 fi
7945 else
7946 result=$wxUSE_FS_ZIP
7947 fi
7948
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7951
7952
7953 enablestring=
7954 defaultval=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x"$enablestring" = xdisable; then
7957 defaultval=yes
7958 else
7959 defaultval=no
7960 fi
7961 fi
7962
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7965 # Check whether --enable-geometry was given.
7966 if test "${enable_geometry+set}" = set; then
7967 enableval=$enable_geometry;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7970 else
7971 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7972 fi
7973 cache=yes
7974
7975 else
7976
7977 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7980 cache=yes
7981 else
7982 cache=no
7983 fi
7984
7985 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7986
7987 fi
7988
7989
7990 eval "$wx_cv_use_geometry"
7991 if test "x$cache" = xyes; then
7992 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_GEOMETRY = yes; then
7997 result=no
7998 else
7999 result=yes
8000 fi
8001 else
8002 result=$wxUSE_GEOMETRY
8003 fi
8004
8005 { echo "$as_me:$LINENO: result: $result" >&5
8006 echo "${ECHO_T}$result" >&6; }
8007
8008
8009 enablestring=
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8013 defaultval=yes
8014 else
8015 defaultval=no
8016 fi
8017 fi
8018
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8021 # Check whether --enable-log was given.
8022 if test "${enable_log+set}" = set; then
8023 enableval=$enable_log;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_log='wxUSE_LOG=yes'
8026 else
8027 wx_cv_use_log='wxUSE_LOG=no'
8028 fi
8029 cache=yes
8030
8031 else
8032
8033 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8036 cache=yes
8037 else
8038 cache=no
8039 fi
8040
8041 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8042
8043 fi
8044
8045
8046 eval "$wx_cv_use_log"
8047 if test "x$cache" = xyes; then
8048 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8049 fi
8050
8051 if test x"$enablestring" = xdisable; then
8052 if test $wxUSE_LOG = yes; then
8053 result=no
8054 else
8055 result=yes
8056 fi
8057 else
8058 result=$wxUSE_LOG
8059 fi
8060
8061 { echo "$as_me:$LINENO: result: $result" >&5
8062 echo "${ECHO_T}$result" >&6; }
8063
8064
8065 enablestring=
8066 defaultval=$wxUSE_ALL_FEATURES
8067 if test -z "$defaultval"; then
8068 if test x"$enablestring" = xdisable; then
8069 defaultval=yes
8070 else
8071 defaultval=no
8072 fi
8073 fi
8074
8075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8077 # Check whether --enable-longlong was given.
8078 if test "${enable_longlong+set}" = set; then
8079 enableval=$enable_longlong;
8080 if test "$enableval" = yes; then
8081 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8082 else
8083 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8084 fi
8085 cache=yes
8086
8087 else
8088
8089 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 cache=yes
8093 else
8094 cache=no
8095 fi
8096
8097 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_longlong"
8103 if test "x$cache" = xyes; then
8104 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test x"$enablestring" = xdisable; then
8108 if test $wxUSE_LONGLONG = yes; then
8109 result=no
8110 else
8111 result=yes
8112 fi
8113 else
8114 result=$wxUSE_LONGLONG
8115 fi
8116
8117 { echo "$as_me:$LINENO: result: $result" >&5
8118 echo "${ECHO_T}$result" >&6; }
8119
8120
8121 enablestring=
8122 defaultval=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x"$enablestring" = xdisable; then
8125 defaultval=yes
8126 else
8127 defaultval=no
8128 fi
8129 fi
8130
8131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8133 # Check whether --enable-mimetype was given.
8134 if test "${enable_mimetype+set}" = set; then
8135 enableval=$enable_mimetype;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8138 else
8139 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8140 fi
8141 cache=yes
8142
8143 else
8144
8145 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 cache=yes
8149 else
8150 cache=no
8151 fi
8152
8153 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8154
8155 fi
8156
8157
8158 eval "$wx_cv_use_mimetype"
8159 if test "x$cache" = xyes; then
8160 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8161 fi
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_MIMETYPE = yes; then
8165 result=no
8166 else
8167 result=yes
8168 fi
8169 else
8170 result=$wxUSE_MIMETYPE
8171 fi
8172
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8175
8176
8177 enablestring=
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8189 # Check whether --enable-snglinst was given.
8190 if test "${enable_snglinst+set}" = set; then
8191 enableval=$enable_snglinst;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8194 else
8195 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8196 fi
8197 cache=yes
8198
8199 else
8200
8201 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8202 if test "x$LINE" != x ; then
8203 eval "DEFAULT_$LINE"
8204 cache=yes
8205 else
8206 cache=no
8207 fi
8208
8209 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8210
8211 fi
8212
8213
8214 eval "$wx_cv_use_snglinst"
8215 if test "x$cache" = xyes; then
8216 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8217 fi
8218
8219 if test x"$enablestring" = xdisable; then
8220 if test $wxUSE_SNGLINST_CHECKER = yes; then
8221 result=no
8222 else
8223 result=yes
8224 fi
8225 else
8226 result=$wxUSE_SNGLINST_CHECKER
8227 fi
8228
8229 { echo "$as_me:$LINENO: result: $result" >&5
8230 echo "${ECHO_T}$result" >&6; }
8231
8232
8233 enablestring=
8234 defaultval=$wxUSE_ALL_FEATURES
8235 if test -z "$defaultval"; then
8236 if test x"$enablestring" = xdisable; then
8237 defaultval=yes
8238 else
8239 defaultval=no
8240 fi
8241 fi
8242
8243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8245 # Check whether --enable-stdpaths was given.
8246 if test "${enable_stdpaths+set}" = set; then
8247 enableval=$enable_stdpaths;
8248 if test "$enableval" = yes; then
8249 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8250 else
8251 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8252 fi
8253 cache=yes
8254
8255 else
8256
8257 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x ; then
8259 eval "DEFAULT_$LINE"
8260 cache=yes
8261 else
8262 cache=no
8263 fi
8264
8265 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8266
8267 fi
8268
8269
8270 eval "$wx_cv_use_stdpaths"
8271 if test "x$cache" = xyes; then
8272 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test x"$enablestring" = xdisable; then
8276 if test $wxUSE_STDPATHS = yes; then
8277 result=no
8278 else
8279 result=yes
8280 fi
8281 else
8282 result=$wxUSE_STDPATHS
8283 fi
8284
8285 { echo "$as_me:$LINENO: result: $result" >&5
8286 echo "${ECHO_T}$result" >&6; }
8287
8288
8289 enablestring=
8290 defaultval=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x"$enablestring" = xdisable; then
8293 defaultval=yes
8294 else
8295 defaultval=no
8296 fi
8297 fi
8298
8299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8301 # Check whether --enable-stopwatch was given.
8302 if test "${enable_stopwatch+set}" = set; then
8303 enableval=$enable_stopwatch;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8306 else
8307 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8308 fi
8309 cache=yes
8310
8311 else
8312
8313 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8316 cache=yes
8317 else
8318 cache=no
8319 fi
8320
8321 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8322
8323 fi
8324
8325
8326 eval "$wx_cv_use_stopwatch"
8327 if test "x$cache" = xyes; then
8328 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test x"$enablestring" = xdisable; then
8332 if test $wxUSE_STOPWATCH = yes; then
8333 result=no
8334 else
8335 result=yes
8336 fi
8337 else
8338 result=$wxUSE_STOPWATCH
8339 fi
8340
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8343
8344
8345 enablestring=
8346 defaultval=$wxUSE_ALL_FEATURES
8347 if test -z "$defaultval"; then
8348 if test x"$enablestring" = xdisable; then
8349 defaultval=yes
8350 else
8351 defaultval=no
8352 fi
8353 fi
8354
8355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8357 # Check whether --enable-streams was given.
8358 if test "${enable_streams+set}" = set; then
8359 enableval=$enable_streams;
8360 if test "$enableval" = yes; then
8361 wx_cv_use_streams='wxUSE_STREAMS=yes'
8362 else
8363 wx_cv_use_streams='wxUSE_STREAMS=no'
8364 fi
8365 cache=yes
8366
8367 else
8368
8369 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x ; then
8371 eval "DEFAULT_$LINE"
8372 cache=yes
8373 else
8374 cache=no
8375 fi
8376
8377 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8378
8379 fi
8380
8381
8382 eval "$wx_cv_use_streams"
8383 if test "x$cache" = xyes; then
8384 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8385 fi
8386
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_STREAMS = yes; then
8389 result=no
8390 else
8391 result=yes
8392 fi
8393 else
8394 result=$wxUSE_STREAMS
8395 fi
8396
8397 { echo "$as_me:$LINENO: result: $result" >&5
8398 echo "${ECHO_T}$result" >&6; }
8399
8400
8401 enablestring=
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8405 defaultval=yes
8406 else
8407 defaultval=no
8408 fi
8409 fi
8410
8411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8413 # Check whether --enable-system_options was given.
8414 if test "${enable_system_options+set}" = set; then
8415 enableval=$enable_system_options;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8418 else
8419 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8420 fi
8421 cache=yes
8422
8423 else
8424
8425 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8428 cache=yes
8429 else
8430 cache=no
8431 fi
8432
8433 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_system_options"
8439 if test "x$cache" = xyes; then
8440 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8441 fi
8442
8443 if test x"$enablestring" = xdisable; then
8444 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8445 result=no
8446 else
8447 result=yes
8448 fi
8449 else
8450 result=$wxUSE_SYSTEM_OPTIONS
8451 fi
8452
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8455
8456
8457 enablestring=
8458 defaultval=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x"$enablestring" = xdisable; then
8461 defaultval=yes
8462 else
8463 defaultval=no
8464 fi
8465 fi
8466
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8469 # Check whether --enable-tarstream was given.
8470 if test "${enable_tarstream+set}" = set; then
8471 enableval=$enable_tarstream;
8472 if test "$enableval" = yes; then
8473 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8474 else
8475 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8476 fi
8477 cache=yes
8478
8479 else
8480
8481 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8484 cache=yes
8485 else
8486 cache=no
8487 fi
8488
8489 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_tarstream"
8495 if test "x$cache" = xyes; then
8496 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test x"$enablestring" = xdisable; then
8500 if test $wxUSE_TARSTREAM = yes; then
8501 result=no
8502 else
8503 result=yes
8504 fi
8505 else
8506 result=$wxUSE_TARSTREAM
8507 fi
8508
8509 { echo "$as_me:$LINENO: result: $result" >&5
8510 echo "${ECHO_T}$result" >&6; }
8511
8512
8513 enablestring=
8514 defaultval=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x"$enablestring" = xdisable; then
8517 defaultval=yes
8518 else
8519 defaultval=no
8520 fi
8521 fi
8522
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8525 # Check whether --enable-textbuf was given.
8526 if test "${enable_textbuf+set}" = set; then
8527 enableval=$enable_textbuf;
8528 if test "$enableval" = yes; then
8529 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8530 else
8531 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8532 fi
8533 cache=yes
8534
8535 else
8536
8537 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 cache=yes
8541 else
8542 cache=no
8543 fi
8544
8545 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8546
8547 fi
8548
8549
8550 eval "$wx_cv_use_textbuf"
8551 if test "x$cache" = xyes; then
8552 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8553 fi
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_TEXTBUFFER = yes; then
8557 result=no
8558 else
8559 result=yes
8560 fi
8561 else
8562 result=$wxUSE_TEXTBUFFER
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8581 # Check whether --enable-textfile was given.
8582 if test "${enable_textfile+set}" = set; then
8583 enableval=$enable_textfile;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8586 else
8587 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8588 fi
8589 cache=yes
8590
8591 else
8592
8593 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x ; then
8595 eval "DEFAULT_$LINE"
8596 cache=yes
8597 else
8598 cache=no
8599 fi
8600
8601 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8602
8603 fi
8604
8605
8606 eval "$wx_cv_use_textfile"
8607 if test "x$cache" = xyes; then
8608 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8609 fi
8610
8611 if test x"$enablestring" = xdisable; then
8612 if test $wxUSE_TEXTFILE = yes; then
8613 result=no
8614 else
8615 result=yes
8616 fi
8617 else
8618 result=$wxUSE_TEXTFILE
8619 fi
8620
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8623
8624
8625 enablestring=
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8629 defaultval=yes
8630 else
8631 defaultval=no
8632 fi
8633 fi
8634
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8637 # Check whether --enable-timer was given.
8638 if test "${enable_timer+set}" = set; then
8639 enableval=$enable_timer;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_timer='wxUSE_TIMER=yes'
8642 else
8643 wx_cv_use_timer='wxUSE_TIMER=no'
8644 fi
8645 cache=yes
8646
8647 else
8648
8649 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x ; then
8651 eval "DEFAULT_$LINE"
8652 cache=yes
8653 else
8654 cache=no
8655 fi
8656
8657 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8658
8659 fi
8660
8661
8662 eval "$wx_cv_use_timer"
8663 if test "x$cache" = xyes; then
8664 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8665 fi
8666
8667 if test x"$enablestring" = xdisable; then
8668 if test $wxUSE_TIMER = yes; then
8669 result=no
8670 else
8671 result=yes
8672 fi
8673 else
8674 result=$wxUSE_TIMER
8675 fi
8676
8677 { echo "$as_me:$LINENO: result: $result" >&5
8678 echo "${ECHO_T}$result" >&6; }
8679
8680
8681 enablestring=
8682 defaultval=$wxUSE_ALL_FEATURES
8683 if test -z "$defaultval"; then
8684 if test x"$enablestring" = xdisable; then
8685 defaultval=yes
8686 else
8687 defaultval=no
8688 fi
8689 fi
8690
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8693 # Check whether --enable-sound was given.
8694 if test "${enable_sound+set}" = set; then
8695 enableval=$enable_sound;
8696 if test "$enableval" = yes; then
8697 wx_cv_use_sound='wxUSE_SOUND=yes'
8698 else
8699 wx_cv_use_sound='wxUSE_SOUND=no'
8700 fi
8701 cache=yes
8702
8703 else
8704
8705 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 cache=yes
8709 else
8710 cache=no
8711 fi
8712
8713 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8714
8715 fi
8716
8717
8718 eval "$wx_cv_use_sound"
8719 if test "x$cache" = xyes; then
8720 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test x"$enablestring" = xdisable; then
8724 if test $wxUSE_SOUND = yes; then
8725 result=no
8726 else
8727 result=yes
8728 fi
8729 else
8730 result=$wxUSE_SOUND
8731 fi
8732
8733 { echo "$as_me:$LINENO: result: $result" >&5
8734 echo "${ECHO_T}$result" >&6; }
8735
8736
8737 enablestring=
8738 defaultval=$wxUSE_ALL_FEATURES
8739 if test -z "$defaultval"; then
8740 if test x"$enablestring" = xdisable; then
8741 defaultval=yes
8742 else
8743 defaultval=no
8744 fi
8745 fi
8746
8747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8749 # Check whether --enable-mediactrl was given.
8750 if test "${enable_mediactrl+set}" = set; then
8751 enableval=$enable_mediactrl;
8752 if test "$enableval" = yes; then
8753 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8754 else
8755 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8756 fi
8757 cache=yes
8758
8759 else
8760
8761 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8762 if test "x$LINE" != x ; then
8763 eval "DEFAULT_$LINE"
8764 cache=yes
8765 else
8766 cache=no
8767 fi
8768
8769 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8770
8771 fi
8772
8773
8774 eval "$wx_cv_use_mediactrl"
8775 if test "x$cache" = xyes; then
8776 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8777 fi
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_MEDIACTRL = yes; then
8781 result=no
8782 else
8783 result=yes
8784 fi
8785 else
8786 result=$wxUSE_MEDIACTRL
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8805 # Check whether --enable-gstreamer8 was given.
8806 if test "${enable_gstreamer8+set}" = set; then
8807 enableval=$enable_gstreamer8;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8810 else
8811 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8812 fi
8813 cache=yes
8814
8815 else
8816
8817 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x ; then
8819 eval "DEFAULT_$LINE"
8820 cache=yes
8821 else
8822 cache=no
8823 fi
8824
8825 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8826
8827 fi
8828
8829
8830 eval "$wx_cv_use_gstreamer8"
8831 if test "x$cache" = xyes; then
8832 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8833 fi
8834
8835 if test x"$enablestring" = xdisable; then
8836 if test $wxUSE_GSTREAMER8 = yes; then
8837 result=no
8838 else
8839 result=yes
8840 fi
8841 else
8842 result=$wxUSE_GSTREAMER8
8843 fi
8844
8845 { echo "$as_me:$LINENO: result: $result" >&5
8846 echo "${ECHO_T}$result" >&6; }
8847
8848
8849 enablestring=
8850 defaultval=$wxUSE_ALL_FEATURES
8851 if test -z "$defaultval"; then
8852 if test x"$enablestring" = xdisable; then
8853 defaultval=yes
8854 else
8855 defaultval=no
8856 fi
8857 fi
8858
8859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8861 # Check whether --enable-printfposparam was given.
8862 if test "${enable_printfposparam+set}" = set; then
8863 enableval=$enable_printfposparam;
8864 if test "$enableval" = yes; then
8865 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8866 else
8867 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8868 fi
8869 cache=yes
8870
8871 else
8872
8873 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 cache=yes
8877 else
8878 cache=no
8879 fi
8880
8881 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8882
8883 fi
8884
8885
8886 eval "$wx_cv_use_printfposparam"
8887 if test "x$cache" = xyes; then
8888 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8889 fi
8890
8891 if test x"$enablestring" = xdisable; then
8892 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8893 result=no
8894 else
8895 result=yes
8896 fi
8897 else
8898 result=$wxUSE_PRINTF_POS_PARAMS
8899 fi
8900
8901 { echo "$as_me:$LINENO: result: $result" >&5
8902 echo "${ECHO_T}$result" >&6; }
8903
8904
8905 enablestring=
8906 defaultval=$wxUSE_ALL_FEATURES
8907 if test -z "$defaultval"; then
8908 if test x"$enablestring" = xdisable; then
8909 defaultval=yes
8910 else
8911 defaultval=no
8912 fi
8913 fi
8914
8915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8917 # Check whether --enable-zipstream was given.
8918 if test "${enable_zipstream+set}" = set; then
8919 enableval=$enable_zipstream;
8920 if test "$enableval" = yes; then
8921 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8922 else
8923 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8924 fi
8925 cache=yes
8926
8927 else
8928
8929 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8930 if test "x$LINE" != x ; then
8931 eval "DEFAULT_$LINE"
8932 cache=yes
8933 else
8934 cache=no
8935 fi
8936
8937 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8938
8939 fi
8940
8941
8942 eval "$wx_cv_use_zipstream"
8943 if test "x$cache" = xyes; then
8944 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8945 fi
8946
8947 if test x"$enablestring" = xdisable; then
8948 if test $wxUSE_ZIPSTREAM = yes; then
8949 result=no
8950 else
8951 result=yes
8952 fi
8953 else
8954 result=$wxUSE_ZIPSTREAM
8955 fi
8956
8957 { echo "$as_me:$LINENO: result: $result" >&5
8958 echo "${ECHO_T}$result" >&6; }
8959
8960
8961
8962 enablestring=
8963 defaultval=$wxUSE_ALL_FEATURES
8964 if test -z "$defaultval"; then
8965 if test x"$enablestring" = xdisable; then
8966 defaultval=yes
8967 else
8968 defaultval=no
8969 fi
8970 fi
8971
8972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8974 # Check whether --enable-url was given.
8975 if test "${enable_url+set}" = set; then
8976 enableval=$enable_url;
8977 if test "$enableval" = yes; then
8978 wx_cv_use_url='wxUSE_URL=yes'
8979 else
8980 wx_cv_use_url='wxUSE_URL=no'
8981 fi
8982 cache=yes
8983
8984 else
8985
8986 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8987 if test "x$LINE" != x ; then
8988 eval "DEFAULT_$LINE"
8989 cache=yes
8990 else
8991 cache=no
8992 fi
8993
8994 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8995
8996 fi
8997
8998
8999 eval "$wx_cv_use_url"
9000 if test "x$cache" = xyes; then
9001 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_URL = yes; then
9006 result=no
9007 else
9008 result=yes
9009 fi
9010 else
9011 result=$wxUSE_URL
9012 fi
9013
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9016
9017
9018 enablestring=
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9022 defaultval=yes
9023 else
9024 defaultval=no
9025 fi
9026 fi
9027
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9030 # Check whether --enable-variant was given.
9031 if test "${enable_variant+set}" = set; then
9032 enableval=$enable_variant;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_variant='wxUSE_VARIANT=yes'
9035 else
9036 wx_cv_use_variant='wxUSE_VARIANT=no'
9037 fi
9038 cache=yes
9039
9040 else
9041
9042 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9043 if test "x$LINE" != x ; then
9044 eval "DEFAULT_$LINE"
9045 cache=yes
9046 else
9047 cache=no
9048 fi
9049
9050 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9051
9052 fi
9053
9054
9055 eval "$wx_cv_use_variant"
9056 if test "x$cache" = xyes; then
9057 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9058 fi
9059
9060 if test x"$enablestring" = xdisable; then
9061 if test $wxUSE_VARIANT = yes; then
9062 result=no
9063 else
9064 result=yes
9065 fi
9066 else
9067 result=$wxUSE_VARIANT
9068 fi
9069
9070 { echo "$as_me:$LINENO: result: $result" >&5
9071 echo "${ECHO_T}$result" >&6; }
9072
9073
9074 enablestring=
9075 defaultval=$wxUSE_ALL_FEATURES
9076 if test -z "$defaultval"; then
9077 if test x"$enablestring" = xdisable; then
9078 defaultval=yes
9079 else
9080 defaultval=no
9081 fi
9082 fi
9083
9084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9085 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9086 # Check whether --enable-protocol was given.
9087 if test "${enable_protocol+set}" = set; then
9088 enableval=$enable_protocol;
9089 if test "$enableval" = yes; then
9090 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9091 else
9092 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9093 fi
9094 cache=yes
9095
9096 else
9097
9098 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9099 if test "x$LINE" != x ; then
9100 eval "DEFAULT_$LINE"
9101 cache=yes
9102 else
9103 cache=no
9104 fi
9105
9106 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9107
9108 fi
9109
9110
9111 eval "$wx_cv_use_protocol"
9112 if test "x$cache" = xyes; then
9113 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_PROTOCOL = yes; then
9118 result=no
9119 else
9120 result=yes
9121 fi
9122 else
9123 result=$wxUSE_PROTOCOL
9124 fi
9125
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9128
9129
9130 enablestring=
9131 defaultval=$wxUSE_ALL_FEATURES
9132 if test -z "$defaultval"; then
9133 if test x"$enablestring" = xdisable; then
9134 defaultval=yes
9135 else
9136 defaultval=no
9137 fi
9138 fi
9139
9140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9142 # Check whether --enable-protocol_http was given.
9143 if test "${enable_protocol_http+set}" = set; then
9144 enableval=$enable_protocol_http;
9145 if test "$enableval" = yes; then
9146 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9147 else
9148 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9149 fi
9150 cache=yes
9151
9152 else
9153
9154 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9157 cache=yes
9158 else
9159 cache=no
9160 fi
9161
9162 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9163
9164 fi
9165
9166
9167 eval "$wx_cv_use_protocol_http"
9168 if test "x$cache" = xyes; then
9169 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9170 fi
9171
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_PROTOCOL_HTTP = yes; then
9174 result=no
9175 else
9176 result=yes
9177 fi
9178 else
9179 result=$wxUSE_PROTOCOL_HTTP
9180 fi
9181
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9184
9185
9186 enablestring=
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9190 defaultval=yes
9191 else
9192 defaultval=no
9193 fi
9194 fi
9195
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9198 # Check whether --enable-protocol_ftp was given.
9199 if test "${enable_protocol_ftp+set}" = set; then
9200 enableval=$enable_protocol_ftp;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9203 else
9204 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9205 fi
9206 cache=yes
9207
9208 else
9209
9210 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9213 cache=yes
9214 else
9215 cache=no
9216 fi
9217
9218 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9219
9220 fi
9221
9222
9223 eval "$wx_cv_use_protocol_ftp"
9224 if test "x$cache" = xyes; then
9225 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9226 fi
9227
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_PROTOCOL_FTP = yes; then
9230 result=no
9231 else
9232 result=yes
9233 fi
9234 else
9235 result=$wxUSE_PROTOCOL_FTP
9236 fi
9237
9238 { echo "$as_me:$LINENO: result: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9240
9241
9242 enablestring=
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9246 defaultval=yes
9247 else
9248 defaultval=no
9249 fi
9250 fi
9251
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9254 # Check whether --enable-protocol_file was given.
9255 if test "${enable_protocol_file+set}" = set; then
9256 enableval=$enable_protocol_file;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9259 else
9260 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9261 fi
9262 cache=yes
9263
9264 else
9265
9266 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 cache=yes
9270 else
9271 cache=no
9272 fi
9273
9274 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9275
9276 fi
9277
9278
9279 eval "$wx_cv_use_protocol_file"
9280 if test "x$cache" = xyes; then
9281 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9282 fi
9283
9284 if test x"$enablestring" = xdisable; then
9285 if test $wxUSE_PROTOCOL_FILE = yes; then
9286 result=no
9287 else
9288 result=yes
9289 fi
9290 else
9291 result=$wxUSE_PROTOCOL_FILE
9292 fi
9293
9294 { echo "$as_me:$LINENO: result: $result" >&5
9295 echo "${ECHO_T}$result" >&6; }
9296
9297
9298
9299 enablestring=
9300 defaultval=$wxUSE_ALL_FEATURES
9301 if test -z "$defaultval"; then
9302 if test x"$enablestring" = xdisable; then
9303 defaultval=yes
9304 else
9305 defaultval=no
9306 fi
9307 fi
9308
9309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9311 # Check whether --enable-threads was given.
9312 if test "${enable_threads+set}" = set; then
9313 enableval=$enable_threads;
9314 if test "$enableval" = yes; then
9315 wx_cv_use_threads='wxUSE_THREADS=yes'
9316 else
9317 wx_cv_use_threads='wxUSE_THREADS=no'
9318 fi
9319 cache=yes
9320
9321 else
9322
9323 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x ; then
9325 eval "DEFAULT_$LINE"
9326 cache=yes
9327 else
9328 cache=no
9329 fi
9330
9331 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9332
9333 fi
9334
9335
9336 eval "$wx_cv_use_threads"
9337 if test "x$cache" = xyes; then
9338 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9339 fi
9340
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_THREADS = yes; then
9343 result=no
9344 else
9345 result=yes
9346 fi
9347 else
9348 result=$wxUSE_THREADS
9349 fi
9350
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9353
9354
9355
9356 enablestring=
9357 defaultval=
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9360 defaultval=yes
9361 else
9362 defaultval=no
9363 fi
9364 fi
9365
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9368 # Check whether --enable-iniconf was given.
9369 if test "${enable_iniconf+set}" = set; then
9370 enableval=$enable_iniconf;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9373 else
9374 wx_cv_use_iniconf='wxUSE_INICONF=no'
9375 fi
9376 cache=yes
9377
9378 else
9379
9380 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9383 cache=yes
9384 else
9385 cache=no
9386 fi
9387
9388 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_iniconf"
9394 if test "x$cache" = xyes; then
9395 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9396 fi
9397
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_INICONF = yes; then
9400 result=no
9401 else
9402 result=yes
9403 fi
9404 else
9405 result=$wxUSE_INICONF
9406 fi
9407
9408 { echo "$as_me:$LINENO: result: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9410
9411
9412 enablestring=
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9416 defaultval=yes
9417 else
9418 defaultval=no
9419 fi
9420 fi
9421
9422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9424 # Check whether --enable-regkey was given.
9425 if test "${enable_regkey+set}" = set; then
9426 enableval=$enable_regkey;
9427 if test "$enableval" = yes; then
9428 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9429 else
9430 wx_cv_use_regkey='wxUSE_REGKEY=no'
9431 fi
9432 cache=yes
9433
9434 else
9435
9436 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 cache=yes
9440 else
9441 cache=no
9442 fi
9443
9444 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9445
9446 fi
9447
9448
9449 eval "$wx_cv_use_regkey"
9450 if test "x$cache" = xyes; then
9451 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9452 fi
9453
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_REGKEY = yes; then
9456 result=no
9457 else
9458 result=yes
9459 fi
9460 else
9461 result=$wxUSE_REGKEY
9462 fi
9463
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9466
9467
9468 if test "$wxUSE_GUI" = "yes"; then
9469
9470
9471
9472 enablestring=
9473 defaultval=$wxUSE_ALL_FEATURES
9474 if test -z "$defaultval"; then
9475 if test x"$enablestring" = xdisable; then
9476 defaultval=yes
9477 else
9478 defaultval=no
9479 fi
9480 fi
9481
9482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9484 # Check whether --enable-docview was given.
9485 if test "${enable_docview+set}" = set; then
9486 enableval=$enable_docview;
9487 if test "$enableval" = yes; then
9488 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9489 else
9490 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9491 fi
9492 cache=yes
9493
9494 else
9495
9496 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x ; then
9498 eval "DEFAULT_$LINE"
9499 cache=yes
9500 else
9501 cache=no
9502 fi
9503
9504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9505
9506 fi
9507
9508
9509 eval "$wx_cv_use_docview"
9510 if test "x$cache" = xyes; then
9511 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9512 fi
9513
9514 if test x"$enablestring" = xdisable; then
9515 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9516 result=no
9517 else
9518 result=yes
9519 fi
9520 else
9521 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9522 fi
9523
9524 { echo "$as_me:$LINENO: result: $result" >&5
9525 echo "${ECHO_T}$result" >&6; }
9526
9527
9528 enablestring=
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9532 defaultval=yes
9533 else
9534 defaultval=no
9535 fi
9536 fi
9537
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9540 # Check whether --enable-help was given.
9541 if test "${enable_help+set}" = set; then
9542 enableval=$enable_help;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_help='wxUSE_HELP=yes'
9545 else
9546 wx_cv_use_help='wxUSE_HELP=no'
9547 fi
9548 cache=yes
9549
9550 else
9551
9552 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9555 cache=yes
9556 else
9557 cache=no
9558 fi
9559
9560 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9561
9562 fi
9563
9564
9565 eval "$wx_cv_use_help"
9566 if test "x$cache" = xyes; then
9567 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9568 fi
9569
9570 if test x"$enablestring" = xdisable; then
9571 if test $wxUSE_HELP = yes; then
9572 result=no
9573 else
9574 result=yes
9575 fi
9576 else
9577 result=$wxUSE_HELP
9578 fi
9579
9580 { echo "$as_me:$LINENO: result: $result" >&5
9581 echo "${ECHO_T}$result" >&6; }
9582
9583
9584 enablestring=
9585 defaultval=$wxUSE_ALL_FEATURES
9586 if test -z "$defaultval"; then
9587 if test x"$enablestring" = xdisable; then
9588 defaultval=yes
9589 else
9590 defaultval=no
9591 fi
9592 fi
9593
9594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9596 # Check whether --enable-mshtmlhelp was given.
9597 if test "${enable_mshtmlhelp+set}" = set; then
9598 enableval=$enable_mshtmlhelp;
9599 if test "$enableval" = yes; then
9600 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9601 else
9602 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9603 fi
9604 cache=yes
9605
9606 else
9607
9608 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 cache=yes
9612 else
9613 cache=no
9614 fi
9615
9616 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9617
9618 fi
9619
9620
9621 eval "$wx_cv_use_mshtmlhelp"
9622 if test "x$cache" = xyes; then
9623 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9624 fi
9625
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_MS_HTML_HELP = yes; then
9628 result=no
9629 else
9630 result=yes
9631 fi
9632 else
9633 result=$wxUSE_MS_HTML_HELP
9634 fi
9635
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9638
9639
9640 enablestring=
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9644 defaultval=yes
9645 else
9646 defaultval=no
9647 fi
9648 fi
9649
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9652 # Check whether --enable-html was given.
9653 if test "${enable_html+set}" = set; then
9654 enableval=$enable_html;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_html='wxUSE_HTML=yes'
9657 else
9658 wx_cv_use_html='wxUSE_HTML=no'
9659 fi
9660 cache=yes
9661
9662 else
9663
9664 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9665 if test "x$LINE" != x ; then
9666 eval "DEFAULT_$LINE"
9667 cache=yes
9668 else
9669 cache=no
9670 fi
9671
9672 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9673
9674 fi
9675
9676
9677 eval "$wx_cv_use_html"
9678 if test "x$cache" = xyes; then
9679 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9680 fi
9681
9682 if test x"$enablestring" = xdisable; then
9683 if test $wxUSE_HTML = yes; then
9684 result=no
9685 else
9686 result=yes
9687 fi
9688 else
9689 result=$wxUSE_HTML
9690 fi
9691
9692 { echo "$as_me:$LINENO: result: $result" >&5
9693 echo "${ECHO_T}$result" >&6; }
9694
9695
9696 enablestring=
9697 defaultval=$wxUSE_ALL_FEATURES
9698 if test -z "$defaultval"; then
9699 if test x"$enablestring" = xdisable; then
9700 defaultval=yes
9701 else
9702 defaultval=no
9703 fi
9704 fi
9705
9706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9707 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9708 # Check whether --enable-htmlhelp was given.
9709 if test "${enable_htmlhelp+set}" = set; then
9710 enableval=$enable_htmlhelp;
9711 if test "$enableval" = yes; then
9712 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9713 else
9714 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9715 fi
9716 cache=yes
9717
9718 else
9719
9720 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9721 if test "x$LINE" != x ; then
9722 eval "DEFAULT_$LINE"
9723 cache=yes
9724 else
9725 cache=no
9726 fi
9727
9728 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_htmlhelp"
9734 if test "x$cache" = xyes; then
9735 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9736 fi
9737
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_WXHTML_HELP = yes; then
9740 result=no
9741 else
9742 result=yes
9743 fi
9744 else
9745 result=$wxUSE_WXHTML_HELP
9746 fi
9747
9748 { echo "$as_me:$LINENO: result: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9750
9751
9752 enablestring=
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9756 defaultval=yes
9757 else
9758 defaultval=no
9759 fi
9760 fi
9761
9762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9764 # Check whether --enable-xrc was given.
9765 if test "${enable_xrc+set}" = set; then
9766 enableval=$enable_xrc;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_xrc='wxUSE_XRC=yes'
9769 else
9770 wx_cv_use_xrc='wxUSE_XRC=no'
9771 fi
9772 cache=yes
9773
9774 else
9775
9776 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 cache=yes
9780 else
9781 cache=no
9782 fi
9783
9784 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9785
9786 fi
9787
9788
9789 eval "$wx_cv_use_xrc"
9790 if test "x$cache" = xyes; then
9791 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9792 fi
9793
9794 if test x"$enablestring" = xdisable; then
9795 if test $wxUSE_XRC = yes; then
9796 result=no
9797 else
9798 result=yes
9799 fi
9800 else
9801 result=$wxUSE_XRC
9802 fi
9803
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9806
9807
9808 enablestring=
9809 defaultval=$wxUSE_ALL_FEATURES
9810 if test -z "$defaultval"; then
9811 if test x"$enablestring" = xdisable; then
9812 defaultval=yes
9813 else
9814 defaultval=no
9815 fi
9816 fi
9817
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9820 # Check whether --enable-aui was given.
9821 if test "${enable_aui+set}" = set; then
9822 enableval=$enable_aui;
9823 if test "$enableval" = yes; then
9824 wx_cv_use_aui='wxUSE_AUI=yes'
9825 else
9826 wx_cv_use_aui='wxUSE_AUI=no'
9827 fi
9828 cache=yes
9829
9830 else
9831
9832 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9835 cache=yes
9836 else
9837 cache=no
9838 fi
9839
9840 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9841
9842 fi
9843
9844
9845 eval "$wx_cv_use_aui"
9846 if test "x$cache" = xyes; then
9847 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test x"$enablestring" = xdisable; then
9851 if test $wxUSE_AUI = yes; then
9852 result=no
9853 else
9854 result=yes
9855 fi
9856 else
9857 result=$wxUSE_AUI
9858 fi
9859
9860 { echo "$as_me:$LINENO: result: $result" >&5
9861 echo "${ECHO_T}$result" >&6; }
9862
9863
9864 enablestring=
9865 defaultval=$wxUSE_ALL_FEATURES
9866 if test -z "$defaultval"; then
9867 if test x"$enablestring" = xdisable; then
9868 defaultval=yes
9869 else
9870 defaultval=no
9871 fi
9872 fi
9873
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9876 # Check whether --enable-stc was given.
9877 if test "${enable_stc+set}" = set; then
9878 enableval=$enable_stc;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_stc='wxUSE_STC=yes'
9881 else
9882 wx_cv_use_stc='wxUSE_STC=no'
9883 fi
9884 cache=yes
9885
9886 else
9887
9888 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9889 if test "x$LINE" != x ; then
9890 eval "DEFAULT_$LINE"
9891 cache=yes
9892 else
9893 cache=no
9894 fi
9895
9896 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9897
9898 fi
9899
9900
9901 eval "$wx_cv_use_stc"
9902 if test "x$cache" = xyes; then
9903 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_STC = yes; then
9908 result=no
9909 else
9910 result=yes
9911 fi
9912 else
9913 result=$wxUSE_STC
9914 fi
9915
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9918
9919
9920 enablestring=
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9924 defaultval=yes
9925 else
9926 defaultval=no
9927 fi
9928 fi
9929
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9932 # Check whether --enable-constraints was given.
9933 if test "${enable_constraints+set}" = set; then
9934 enableval=$enable_constraints;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9937 else
9938 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9939 fi
9940 cache=yes
9941
9942 else
9943
9944 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x ; then
9946 eval "DEFAULT_$LINE"
9947 cache=yes
9948 else
9949 cache=no
9950 fi
9951
9952 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_constraints"
9958 if test "x$cache" = xyes; then
9959 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9960 fi
9961
9962 if test x"$enablestring" = xdisable; then
9963 if test $wxUSE_CONSTRAINTS = yes; then
9964 result=no
9965 else
9966 result=yes
9967 fi
9968 else
9969 result=$wxUSE_CONSTRAINTS
9970 fi
9971
9972 { echo "$as_me:$LINENO: result: $result" >&5
9973 echo "${ECHO_T}$result" >&6; }
9974
9975
9976 enablestring=
9977 defaultval=$wxUSE_ALL_FEATURES
9978 if test -z "$defaultval"; then
9979 if test x"$enablestring" = xdisable; then
9980 defaultval=yes
9981 else
9982 defaultval=no
9983 fi
9984 fi
9985
9986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9988 # Check whether --enable-printarch was given.
9989 if test "${enable_printarch+set}" = set; then
9990 enableval=$enable_printarch;
9991 if test "$enableval" = yes; then
9992 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9993 else
9994 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9995 fi
9996 cache=yes
9997
9998 else
9999
10000 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x ; then
10002 eval "DEFAULT_$LINE"
10003 cache=yes
10004 else
10005 cache=no
10006 fi
10007
10008 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10009
10010 fi
10011
10012
10013 eval "$wx_cv_use_printarch"
10014 if test "x$cache" = xyes; then
10015 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test x"$enablestring" = xdisable; then
10019 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10020 result=no
10021 else
10022 result=yes
10023 fi
10024 else
10025 result=$wxUSE_PRINTING_ARCHITECTURE
10026 fi
10027
10028 { echo "$as_me:$LINENO: result: $result" >&5
10029 echo "${ECHO_T}$result" >&6; }
10030
10031
10032 enablestring=
10033 defaultval=$wxUSE_ALL_FEATURES
10034 if test -z "$defaultval"; then
10035 if test x"$enablestring" = xdisable; then
10036 defaultval=yes
10037 else
10038 defaultval=no
10039 fi
10040 fi
10041
10042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10044 # Check whether --enable-mdi was given.
10045 if test "${enable_mdi+set}" = set; then
10046 enableval=$enable_mdi;
10047 if test "$enableval" = yes; then
10048 wx_cv_use_mdi='wxUSE_MDI=yes'
10049 else
10050 wx_cv_use_mdi='wxUSE_MDI=no'
10051 fi
10052 cache=yes
10053
10054 else
10055
10056 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10057 if test "x$LINE" != x ; then
10058 eval "DEFAULT_$LINE"
10059 cache=yes
10060 else
10061 cache=no
10062 fi
10063
10064 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_mdi"
10070 if test "x$cache" = xyes; then
10071 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10072 fi
10073
10074 if test x"$enablestring" = xdisable; then
10075 if test $wxUSE_MDI = yes; then
10076 result=no
10077 else
10078 result=yes
10079 fi
10080 else
10081 result=$wxUSE_MDI
10082 fi
10083
10084 { echo "$as_me:$LINENO: result: $result" >&5
10085 echo "${ECHO_T}$result" >&6; }
10086
10087
10088 enablestring=
10089 defaultval=$wxUSE_ALL_FEATURES
10090 if test -z "$defaultval"; then
10091 if test x"$enablestring" = xdisable; then
10092 defaultval=yes
10093 else
10094 defaultval=no
10095 fi
10096 fi
10097
10098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10100 # Check whether --enable-mdidoc was given.
10101 if test "${enable_mdidoc+set}" = set; then
10102 enableval=$enable_mdidoc;
10103 if test "$enableval" = yes; then
10104 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10105 else
10106 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10107 fi
10108 cache=yes
10109
10110 else
10111
10112 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10113 if test "x$LINE" != x ; then
10114 eval "DEFAULT_$LINE"
10115 cache=yes
10116 else
10117 cache=no
10118 fi
10119
10120 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_mdidoc"
10126 if test "x$cache" = xyes; then
10127 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10128 fi
10129
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10132 result=no
10133 else
10134 result=yes
10135 fi
10136 else
10137 result=$wxUSE_MDI_ARCHITECTURE
10138 fi
10139
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10142
10143
10144 enablestring=
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10148 defaultval=yes
10149 else
10150 defaultval=no
10151 fi
10152 fi
10153
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10156 # Check whether --enable-loggui was given.
10157 if test "${enable_loggui+set}" = set; then
10158 enableval=$enable_loggui;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10161 else
10162 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10163 fi
10164 cache=yes
10165
10166 else
10167
10168 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 cache=yes
10172 else
10173 cache=no
10174 fi
10175
10176 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10177
10178 fi
10179
10180
10181 eval "$wx_cv_use_loggui"
10182 if test "x$cache" = xyes; then
10183 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test x"$enablestring" = xdisable; then
10187 if test $wxUSE_LOGGUI = yes; then
10188 result=no
10189 else
10190 result=yes
10191 fi
10192 else
10193 result=$wxUSE_LOGGUI
10194 fi
10195
10196 { echo "$as_me:$LINENO: result: $result" >&5
10197 echo "${ECHO_T}$result" >&6; }
10198
10199
10200 enablestring=
10201 defaultval=$wxUSE_ALL_FEATURES
10202 if test -z "$defaultval"; then
10203 if test x"$enablestring" = xdisable; then
10204 defaultval=yes
10205 else
10206 defaultval=no
10207 fi
10208 fi
10209
10210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10212 # Check whether --enable-logwin was given.
10213 if test "${enable_logwin+set}" = set; then
10214 enableval=$enable_logwin;
10215 if test "$enableval" = yes; then
10216 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10217 else
10218 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10219 fi
10220 cache=yes
10221
10222 else
10223
10224 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10225 if test "x$LINE" != x ; then
10226 eval "DEFAULT_$LINE"
10227 cache=yes
10228 else
10229 cache=no
10230 fi
10231
10232 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10233
10234 fi
10235
10236
10237 eval "$wx_cv_use_logwin"
10238 if test "x$cache" = xyes; then
10239 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10240 fi
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_LOGWINDOW = yes; then
10244 result=no
10245 else
10246 result=yes
10247 fi
10248 else
10249 result=$wxUSE_LOGWINDOW
10250 fi
10251
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10268 # Check whether --enable-logdialog was given.
10269 if test "${enable_logdialog+set}" = set; then
10270 enableval=$enable_logdialog;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10273 else
10274 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10275 fi
10276 cache=yes
10277
10278 else
10279
10280 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10283 cache=yes
10284 else
10285 cache=no
10286 fi
10287
10288 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10289
10290 fi
10291
10292
10293 eval "$wx_cv_use_logdialog"
10294 if test "x$cache" = xyes; then
10295 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10296 fi
10297
10298 if test x"$enablestring" = xdisable; then
10299 if test $wxUSE_LOGDIALOG = yes; then
10300 result=no
10301 else
10302 result=yes
10303 fi
10304 else
10305 result=$wxUSE_LOGDIALOG
10306 fi
10307
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10310
10311
10312 enablestring=
10313 defaultval=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x"$enablestring" = xdisable; then
10316 defaultval=yes
10317 else
10318 defaultval=no
10319 fi
10320 fi
10321
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10324 # Check whether --enable-webkit was given.
10325 if test "${enable_webkit+set}" = set; then
10326 enableval=$enable_webkit;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10329 else
10330 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10331 fi
10332 cache=yes
10333
10334 else
10335
10336 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x ; then
10338 eval "DEFAULT_$LINE"
10339 cache=yes
10340 else
10341 cache=no
10342 fi
10343
10344 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_webkit"
10350 if test "x$cache" = xyes; then
10351 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10352 fi
10353
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_WEBKIT = yes; then
10356 result=no
10357 else
10358 result=yes
10359 fi
10360 else
10361 result=$wxUSE_WEBKIT
10362 fi
10363
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10366
10367
10368 enablestring=
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10372 defaultval=yes
10373 else
10374 defaultval=no
10375 fi
10376 fi
10377
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10380 # Check whether --enable-richtext was given.
10381 if test "${enable_richtext+set}" = set; then
10382 enableval=$enable_richtext;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10385 else
10386 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10387 fi
10388 cache=yes
10389
10390 else
10391
10392 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10393 if test "x$LINE" != x ; then
10394 eval "DEFAULT_$LINE"
10395 cache=yes
10396 else
10397 cache=no
10398 fi
10399
10400 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10401
10402 fi
10403
10404
10405 eval "$wx_cv_use_richtext"
10406 if test "x$cache" = xyes; then
10407 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10408 fi
10409
10410 if test x"$enablestring" = xdisable; then
10411 if test $wxUSE_RICHTEXT = yes; then
10412 result=no
10413 else
10414 result=yes
10415 fi
10416 else
10417 result=$wxUSE_RICHTEXT
10418 fi
10419
10420 { echo "$as_me:$LINENO: result: $result" >&5
10421 echo "${ECHO_T}$result" >&6; }
10422
10423
10424 enablestring=
10425 defaultval=$wxUSE_ALL_FEATURES
10426 if test -z "$defaultval"; then
10427 if test x"$enablestring" = xdisable; then
10428 defaultval=yes
10429 else
10430 defaultval=no
10431 fi
10432 fi
10433
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10436 # Check whether --enable-graphics_ctx was given.
10437 if test "${enable_graphics_ctx+set}" = set; then
10438 enableval=$enable_graphics_ctx;
10439 if test "$enableval" = yes; then
10440 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10441 else
10442 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10443 fi
10444 cache=yes
10445
10446 else
10447
10448 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10449 if test "x$LINE" != x ; then
10450 eval "DEFAULT_$LINE"
10451 cache=yes
10452 else
10453 cache=no
10454 fi
10455
10456 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10457
10458 fi
10459
10460
10461 eval "$wx_cv_use_graphics_ctx"
10462 if test "x$cache" = xyes; then
10463 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10464 fi
10465
10466 if test x"$enablestring" = xdisable; then
10467 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10468 result=no
10469 else
10470 result=yes
10471 fi
10472 else
10473 result=$wxUSE_GRAPHICS_CONTEXT
10474 fi
10475
10476 { echo "$as_me:$LINENO: result: $result" >&5
10477 echo "${ECHO_T}$result" >&6; }
10478
10479
10480 enablestring=
10481 defaultval=$wxUSE_ALL_FEATURES
10482 if test -z "$defaultval"; then
10483 if test x"$enablestring" = xdisable; then
10484 defaultval=yes
10485 else
10486 defaultval=no
10487 fi
10488 fi
10489
10490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10491 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10492 # Check whether --enable-postscript was given.
10493 if test "${enable_postscript+set}" = set; then
10494 enableval=$enable_postscript;
10495 if test "$enableval" = yes; then
10496 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10497 else
10498 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10499 fi
10500 cache=yes
10501
10502 else
10503
10504 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x ; then
10506 eval "DEFAULT_$LINE"
10507 cache=yes
10508 else
10509 cache=no
10510 fi
10511
10512 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10513
10514 fi
10515
10516
10517 eval "$wx_cv_use_postscript"
10518 if test "x$cache" = xyes; then
10519 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10520 fi
10521
10522 if test x"$enablestring" = xdisable; then
10523 if test $wxUSE_POSTSCRIPT = yes; then
10524 result=no
10525 else
10526 result=yes
10527 fi
10528 else
10529 result=$wxUSE_POSTSCRIPT
10530 fi
10531
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10534
10535
10536 enablestring=
10537 defaultval=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x"$enablestring" = xdisable; then
10540 defaultval=yes
10541 else
10542 defaultval=no
10543 fi
10544 fi
10545
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10548 # Check whether --enable-svg was given.
10549 if test "${enable_svg+set}" = set; then
10550 enableval=$enable_svg;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_svg='wxUSE_SVG=yes'
10553 else
10554 wx_cv_use_svg='wxUSE_SVG=no'
10555 fi
10556 cache=yes
10557
10558 else
10559
10560 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10561 if test "x$LINE" != x ; then
10562 eval "DEFAULT_$LINE"
10563 cache=yes
10564 else
10565 cache=no
10566 fi
10567
10568 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_svg"
10574 if test "x$cache" = xyes; then
10575 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10576 fi
10577
10578 if test x"$enablestring" = xdisable; then
10579 if test $wxUSE_SVG = yes; then
10580 result=no
10581 else
10582 result=yes
10583 fi
10584 else
10585 result=$wxUSE_SVG
10586 fi
10587
10588 { echo "$as_me:$LINENO: result: $result" >&5
10589 echo "${ECHO_T}$result" >&6; }
10590
10591
10592
10593
10594 enablestring=
10595 defaultval=$wxUSE_ALL_FEATURES
10596 if test -z "$defaultval"; then
10597 if test x"$enablestring" = xdisable; then
10598 defaultval=yes
10599 else
10600 defaultval=no
10601 fi
10602 fi
10603
10604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10606 # Check whether --enable-clipboard was given.
10607 if test "${enable_clipboard+set}" = set; then
10608 enableval=$enable_clipboard;
10609 if test "$enableval" = yes; then
10610 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10611 else
10612 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10613 fi
10614 cache=yes
10615
10616 else
10617
10618 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x ; then
10620 eval "DEFAULT_$LINE"
10621 cache=yes
10622 else
10623 cache=no
10624 fi
10625
10626 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10627
10628 fi
10629
10630
10631 eval "$wx_cv_use_clipboard"
10632 if test "x$cache" = xyes; then
10633 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test x"$enablestring" = xdisable; then
10637 if test $wxUSE_CLIPBOARD = yes; then
10638 result=no
10639 else
10640 result=yes
10641 fi
10642 else
10643 result=$wxUSE_CLIPBOARD
10644 fi
10645
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10648
10649
10650 enablestring=
10651 defaultval=$wxUSE_ALL_FEATURES
10652 if test -z "$defaultval"; then
10653 if test x"$enablestring" = xdisable; then
10654 defaultval=yes
10655 else
10656 defaultval=no
10657 fi
10658 fi
10659
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10662 # Check whether --enable-dnd was given.
10663 if test "${enable_dnd+set}" = set; then
10664 enableval=$enable_dnd;
10665 if test "$enableval" = yes; then
10666 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10667 else
10668 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10669 fi
10670 cache=yes
10671
10672 else
10673
10674 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 cache=yes
10678 else
10679 cache=no
10680 fi
10681
10682 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10683
10684 fi
10685
10686
10687 eval "$wx_cv_use_dnd"
10688 if test "x$cache" = xyes; then
10689 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10690 fi
10691
10692 if test x"$enablestring" = xdisable; then
10693 if test $wxUSE_DRAG_AND_DROP = yes; then
10694 result=no
10695 else
10696 result=yes
10697 fi
10698 else
10699 result=$wxUSE_DRAG_AND_DROP
10700 fi
10701
10702 { echo "$as_me:$LINENO: result: $result" >&5
10703 echo "${ECHO_T}$result" >&6; }
10704
10705
10706 enablestring=
10707 defaultval=$wxUSE_ALL_FEATURES
10708 if test -z "$defaultval"; then
10709 if test x"$enablestring" = xdisable; then
10710 defaultval=yes
10711 else
10712 defaultval=no
10713 fi
10714 fi
10715
10716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10717 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10718 # Check whether --enable-metafile was given.
10719 if test "${enable_metafile+set}" = set; then
10720 enableval=$enable_metafile;
10721 if test "$enableval" = yes; then
10722 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10723 else
10724 wx_cv_use_metafile='wxUSE_METAFILE=no'
10725 fi
10726 cache=yes
10727
10728 else
10729
10730 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x ; then
10732 eval "DEFAULT_$LINE"
10733 cache=yes
10734 else
10735 cache=no
10736 fi
10737
10738 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10739
10740 fi
10741
10742
10743 eval "$wx_cv_use_metafile"
10744 if test "x$cache" = xyes; then
10745 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10746 fi
10747
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_METAFILE = yes; then
10750 result=no
10751 else
10752 result=yes
10753 fi
10754 else
10755 result=$wxUSE_METAFILE
10756 fi
10757
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10760
10761
10762
10763 DEFAULT_wxUSE_CONTROLS=none
10764
10765 enablestring=disable
10766 defaultval=
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10776 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10777 # Check whether --enable-controls was given.
10778 if test "${enable_controls+set}" = set; then
10779 enableval=$enable_controls;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10782 else
10783 wx_cv_use_controls='wxUSE_CONTROLS=no'
10784 fi
10785 cache=yes
10786
10787 else
10788
10789 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10790 if test "x$LINE" != x ; then
10791 eval "DEFAULT_$LINE"
10792 cache=yes
10793 else
10794 cache=no
10795 fi
10796
10797 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10798
10799 fi
10800
10801
10802 eval "$wx_cv_use_controls"
10803 if test "x$cache" = xyes; then
10804 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10805 fi
10806
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_CONTROLS = yes; then
10809 result=no
10810 else
10811 result=yes
10812 fi
10813 else
10814 result=$wxUSE_CONTROLS
10815 fi
10816
10817 { echo "$as_me:$LINENO: result: $result" >&5
10818 echo "${ECHO_T}$result" >&6; }
10819
10820
10821 if test "$wxUSE_CONTROLS" = "yes"; then
10822 DEFAULT_wxUSE_ACCEL=yes
10823 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10824 DEFAULT_wxUSE_BMPBUTTON=yes
10825 DEFAULT_wxUSE_BUTTON=yes
10826 DEFAULT_wxUSE_CALCTRL=yes
10827 DEFAULT_wxUSE_CARET=yes
10828 DEFAULT_wxUSE_COMBOBOX=yes
10829 DEFAULT_wxUSE_CHECKBOX=yes
10830 DEFAULT_wxUSE_CHECKLISTBOX=yes
10831 DEFAULT_wxUSE_CHOICE=yes
10832 DEFAULT_wxUSE_CHOICEBOOK=yes
10833 DEFAULT_wxUSE_COLLPANE=yes
10834 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10835 DEFAULT_wxUSE_COMBOBOX=yes
10836 DEFAULT_wxUSE_DATEPICKCTRL=yes
10837 DEFAULT_wxUSE_DISPLAY=yes
10838 DEFAULT_wxUSE_DETECT_SM=yes
10839 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10840 DEFAULT_wxUSE_FILECTRL=yes
10841 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10842 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10843 DEFAULT_wxUSE_GAUGE=yes
10844 DEFAULT_wxUSE_GRID=yes
10845 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10846 DEFAULT_wxUSE_DATAVIEWCTRL=no
10847 DEFAULT_wxUSE_IMAGLIST=yes
10848 DEFAULT_wxUSE_LISTBOOK=yes
10849 DEFAULT_wxUSE_LISTBOX=yes
10850 DEFAULT_wxUSE_LISTCTRL=yes
10851 DEFAULT_wxUSE_NOTEBOOK=yes
10852 DEFAULT_wxUSE_RADIOBOX=yes
10853 DEFAULT_wxUSE_RADIOBTN=yes
10854 DEFAULT_wxUSE_SASH=yes
10855 DEFAULT_wxUSE_SCROLLBAR=yes
10856 DEFAULT_wxUSE_SEARCHCTRL=yes
10857 DEFAULT_wxUSE_SLIDER=yes
10858 DEFAULT_wxUSE_SPINBTN=yes
10859 DEFAULT_wxUSE_SPINCTRL=yes
10860 DEFAULT_wxUSE_SPLITTER=yes
10861 DEFAULT_wxUSE_STATBMP=yes
10862 DEFAULT_wxUSE_STATBOX=yes
10863 DEFAULT_wxUSE_STATLINE=yes
10864 DEFAULT_wxUSE_STATUSBAR=yes
10865 DEFAULT_wxUSE_TAB_DIALOG=yes
10866 DEFAULT_wxUSE_TOGGLEBTN=yes
10867 DEFAULT_wxUSE_TOOLBAR=yes
10868 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10869 DEFAULT_wxUSE_TOOLTIPS=yes
10870 DEFAULT_wxUSE_TREEBOOK=yes
10871 DEFAULT_wxUSE_TOOLBOOK=yes
10872 DEFAULT_wxUSE_TREECTRL=yes
10873 DEFAULT_wxUSE_POPUPWIN=yes
10874 DEFAULT_wxUSE_TIPWINDOW=yes
10875 elif test "$wxUSE_CONTROLS" = "no"; then
10876 DEFAULT_wxUSE_ACCEL=no
10877 DEFAULT_wxUSE_ANIMATIONCTRL=no
10878 DEFAULT_wxUSE_BMPBUTTON=no
10879 DEFAULT_wxUSE_BUTTON=no
10880 DEFAULT_wxUSE_CALCTRL=no
10881 DEFAULT_wxUSE_CARET=no
10882 DEFAULT_wxUSE_COLLPANE=no
10883 DEFAULT_wxUSE_COMBOBOX=no
10884 DEFAULT_wxUSE_CHECKBOX=no
10885 DEFAULT_wxUSE_CHECKLISTBOX=no
10886 DEFAULT_wxUSE_CHOICE=no
10887 DEFAULT_wxUSE_CHOICEBOOK=no
10888 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10889 DEFAULT_wxUSE_COMBOBOX=no
10890 DEFAULT_wxUSE_DATEPICKCTRL=no
10891 DEFAULT_wxUSE_DISPLAY=no
10892 DEFAULT_wxUSE_DETECT_SM=no
10893 DEFAULT_wxUSE_DIRPICKERCTRL=no
10894 DEFAULT_wxUSE_FILECTRL=no
10895 DEFAULT_wxUSE_FILEPICKERCTRL=no
10896 DEFAULT_wxUSE_FONTPICKERCTRL=no
10897 DEFAULT_wxUSE_GAUGE=no
10898 DEFAULT_wxUSE_GRID=no
10899 DEFAULT_wxUSE_HYPERLINKCTRL=no
10900 DEFAULT_wxUSE_DATAVIEWCTRL=no
10901 DEFAULT_wxUSE_IMAGLIST=no
10902 DEFAULT_wxUSE_LISTBOOK=no
10903 DEFAULT_wxUSE_LISTBOX=no
10904 DEFAULT_wxUSE_LISTCTRL=no
10905 DEFAULT_wxUSE_NOTEBOOK=no
10906 DEFAULT_wxUSE_RADIOBOX=no
10907 DEFAULT_wxUSE_RADIOBTN=no
10908 DEFAULT_wxUSE_SASH=no
10909 DEFAULT_wxUSE_SCROLLBAR=no
10910 DEFAULT_wxUSE_SEARCHCTRL=no
10911 DEFAULT_wxUSE_SLIDER=no
10912 DEFAULT_wxUSE_SPINBTN=no
10913 DEFAULT_wxUSE_SPINCTRL=no
10914 DEFAULT_wxUSE_SPLITTER=no
10915 DEFAULT_wxUSE_STATBMP=no
10916 DEFAULT_wxUSE_STATBOX=no
10917 DEFAULT_wxUSE_STATLINE=no
10918 DEFAULT_wxUSE_STATUSBAR=no
10919 DEFAULT_wxUSE_TAB_DIALOG=no
10920 DEFAULT_wxUSE_TOGGLEBTN=no
10921 DEFAULT_wxUSE_TOOLBAR=no
10922 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10923 DEFAULT_wxUSE_TOOLTIPS=no
10924 DEFAULT_wxUSE_TREEBOOK=no
10925 DEFAULT_wxUSE_TOOLBOOK=no
10926 DEFAULT_wxUSE_TREECTRL=no
10927 DEFAULT_wxUSE_POPUPWIN=no
10928 DEFAULT_wxUSE_TIPWINDOW=no
10929 fi
10930
10931
10932 enablestring=
10933 defaultval=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x"$enablestring" = xdisable; then
10936 defaultval=yes
10937 else
10938 defaultval=no
10939 fi
10940 fi
10941
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10944 # Check whether --enable-accel was given.
10945 if test "${enable_accel+set}" = set; then
10946 enableval=$enable_accel;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_accel='wxUSE_ACCEL=yes'
10949 else
10950 wx_cv_use_accel='wxUSE_ACCEL=no'
10951 fi
10952 cache=yes
10953
10954 else
10955
10956 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10957 if test "x$LINE" != x ; then
10958 eval "DEFAULT_$LINE"
10959 cache=yes
10960 else
10961 cache=no
10962 fi
10963
10964 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10965
10966 fi
10967
10968
10969 eval "$wx_cv_use_accel"
10970 if test "x$cache" = xyes; then
10971 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10972 fi
10973
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_ACCEL = yes; then
10976 result=no
10977 else
10978 result=yes
10979 fi
10980 else
10981 result=$wxUSE_ACCEL
10982 fi
10983
10984 { echo "$as_me:$LINENO: result: $result" >&5
10985 echo "${ECHO_T}$result" >&6; }
10986
10987
10988 enablestring=
10989 defaultval=$wxUSE_ALL_FEATURES
10990 if test -z "$defaultval"; then
10991 if test x"$enablestring" = xdisable; then
10992 defaultval=yes
10993 else
10994 defaultval=no
10995 fi
10996 fi
10997
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11000 # Check whether --enable-animatectrl was given.
11001 if test "${enable_animatectrl+set}" = set; then
11002 enableval=$enable_animatectrl;
11003 if test "$enableval" = yes; then
11004 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11005 else
11006 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11007 fi
11008 cache=yes
11009
11010 else
11011
11012 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11015 cache=yes
11016 else
11017 cache=no
11018 fi
11019
11020 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11021
11022 fi
11023
11024
11025 eval "$wx_cv_use_animatectrl"
11026 if test "x$cache" = xyes; then
11027 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11028 fi
11029
11030 if test x"$enablestring" = xdisable; then
11031 if test $wxUSE_ANIMATIONCTRL = yes; then
11032 result=no
11033 else
11034 result=yes
11035 fi
11036 else
11037 result=$wxUSE_ANIMATIONCTRL
11038 fi
11039
11040 { echo "$as_me:$LINENO: result: $result" >&5
11041 echo "${ECHO_T}$result" >&6; }
11042
11043
11044 enablestring=
11045 defaultval=$wxUSE_ALL_FEATURES
11046 if test -z "$defaultval"; then
11047 if test x"$enablestring" = xdisable; then
11048 defaultval=yes
11049 else
11050 defaultval=no
11051 fi
11052 fi
11053
11054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11055 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11056 # Check whether --enable-button was given.
11057 if test "${enable_button+set}" = set; then
11058 enableval=$enable_button;
11059 if test "$enableval" = yes; then
11060 wx_cv_use_button='wxUSE_BUTTON=yes'
11061 else
11062 wx_cv_use_button='wxUSE_BUTTON=no'
11063 fi
11064 cache=yes
11065
11066 else
11067
11068 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11069 if test "x$LINE" != x ; then
11070 eval "DEFAULT_$LINE"
11071 cache=yes
11072 else
11073 cache=no
11074 fi
11075
11076 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_button"
11082 if test "x$cache" = xyes; then
11083 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11084 fi
11085
11086 if test x"$enablestring" = xdisable; then
11087 if test $wxUSE_BUTTON = yes; then
11088 result=no
11089 else
11090 result=yes
11091 fi
11092 else
11093 result=$wxUSE_BUTTON
11094 fi
11095
11096 { echo "$as_me:$LINENO: result: $result" >&5
11097 echo "${ECHO_T}$result" >&6; }
11098
11099
11100 enablestring=
11101 defaultval=$wxUSE_ALL_FEATURES
11102 if test -z "$defaultval"; then
11103 if test x"$enablestring" = xdisable; then
11104 defaultval=yes
11105 else
11106 defaultval=no
11107 fi
11108 fi
11109
11110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11111 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11112 # Check whether --enable-bmpbutton was given.
11113 if test "${enable_bmpbutton+set}" = set; then
11114 enableval=$enable_bmpbutton;
11115 if test "$enableval" = yes; then
11116 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11117 else
11118 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11119 fi
11120 cache=yes
11121
11122 else
11123
11124 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 cache=yes
11128 else
11129 cache=no
11130 fi
11131
11132 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_bmpbutton"
11138 if test "x$cache" = xyes; then
11139 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11140 fi
11141
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_BMPBUTTON = yes; then
11144 result=no
11145 else
11146 result=yes
11147 fi
11148 else
11149 result=$wxUSE_BMPBUTTON
11150 fi
11151
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11154
11155
11156 enablestring=
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11160 defaultval=yes
11161 else
11162 defaultval=no
11163 fi
11164 fi
11165
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11168 # Check whether --enable-bmpcombobox was given.
11169 if test "${enable_bmpcombobox+set}" = set; then
11170 enableval=$enable_bmpcombobox;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11173 else
11174 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11175 fi
11176 cache=yes
11177
11178 else
11179
11180 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x ; then
11182 eval "DEFAULT_$LINE"
11183 cache=yes
11184 else
11185 cache=no
11186 fi
11187
11188 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11189
11190 fi
11191
11192
11193 eval "$wx_cv_use_bmpcombobox"
11194 if test "x$cache" = xyes; then
11195 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11196 fi
11197
11198 if test x"$enablestring" = xdisable; then
11199 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11200 result=no
11201 else
11202 result=yes
11203 fi
11204 else
11205 result=$wxUSE_BITMAPCOMBOBOX
11206 fi
11207
11208 { echo "$as_me:$LINENO: result: $result" >&5
11209 echo "${ECHO_T}$result" >&6; }
11210
11211
11212 enablestring=
11213 defaultval=$wxUSE_ALL_FEATURES
11214 if test -z "$defaultval"; then
11215 if test x"$enablestring" = xdisable; then
11216 defaultval=yes
11217 else
11218 defaultval=no
11219 fi
11220 fi
11221
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11224 # Check whether --enable-calendar was given.
11225 if test "${enable_calendar+set}" = set; then
11226 enableval=$enable_calendar;
11227 if test "$enableval" = yes; then
11228 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11229 else
11230 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11231 fi
11232 cache=yes
11233
11234 else
11235
11236 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 cache=yes
11240 else
11241 cache=no
11242 fi
11243
11244 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11245
11246 fi
11247
11248
11249 eval "$wx_cv_use_calendar"
11250 if test "x$cache" = xyes; then
11251 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11252 fi
11253
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_CALCTRL = yes; then
11256 result=no
11257 else
11258 result=yes
11259 fi
11260 else
11261 result=$wxUSE_CALCTRL
11262 fi
11263
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11266
11267
11268 enablestring=
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11272 defaultval=yes
11273 else
11274 defaultval=no
11275 fi
11276 fi
11277
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11280 # Check whether --enable-caret was given.
11281 if test "${enable_caret+set}" = set; then
11282 enableval=$enable_caret;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_caret='wxUSE_CARET=yes'
11285 else
11286 wx_cv_use_caret='wxUSE_CARET=no'
11287 fi
11288 cache=yes
11289
11290 else
11291
11292 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11293 if test "x$LINE" != x ; then
11294 eval "DEFAULT_$LINE"
11295 cache=yes
11296 else
11297 cache=no
11298 fi
11299
11300 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11301
11302 fi
11303
11304
11305 eval "$wx_cv_use_caret"
11306 if test "x$cache" = xyes; then
11307 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11308 fi
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_CARET = yes; then
11312 result=no
11313 else
11314 result=yes
11315 fi
11316 else
11317 result=$wxUSE_CARET
11318 fi
11319
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11336 # Check whether --enable-checkbox was given.
11337 if test "${enable_checkbox+set}" = set; then
11338 enableval=$enable_checkbox;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11341 else
11342 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11343 fi
11344 cache=yes
11345
11346 else
11347
11348 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11349 if test "x$LINE" != x ; then
11350 eval "DEFAULT_$LINE"
11351 cache=yes
11352 else
11353 cache=no
11354 fi
11355
11356 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_checkbox"
11362 if test "x$cache" = xyes; then
11363 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11364 fi
11365
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_CHECKBOX = yes; then
11368 result=no
11369 else
11370 result=yes
11371 fi
11372 else
11373 result=$wxUSE_CHECKBOX
11374 fi
11375
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11378
11379
11380 enablestring=
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11384 defaultval=yes
11385 else
11386 defaultval=no
11387 fi
11388 fi
11389
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11392 # Check whether --enable-checklst was given.
11393 if test "${enable_checklst+set}" = set; then
11394 enableval=$enable_checklst;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11397 else
11398 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11399 fi
11400 cache=yes
11401
11402 else
11403
11404 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11405 if test "x$LINE" != x ; then
11406 eval "DEFAULT_$LINE"
11407 cache=yes
11408 else
11409 cache=no
11410 fi
11411
11412 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11413
11414 fi
11415
11416
11417 eval "$wx_cv_use_checklst"
11418 if test "x$cache" = xyes; then
11419 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11420 fi
11421
11422 if test x"$enablestring" = xdisable; then
11423 if test $wxUSE_CHECKLST = yes; then
11424 result=no
11425 else
11426 result=yes
11427 fi
11428 else
11429 result=$wxUSE_CHECKLST
11430 fi
11431
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11434
11435
11436 enablestring=
11437 defaultval=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x"$enablestring" = xdisable; then
11440 defaultval=yes
11441 else
11442 defaultval=no
11443 fi
11444 fi
11445
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11448 # Check whether --enable-choice was given.
11449 if test "${enable_choice+set}" = set; then
11450 enableval=$enable_choice;
11451 if test "$enableval" = yes; then
11452 wx_cv_use_choice='wxUSE_CHOICE=yes'
11453 else
11454 wx_cv_use_choice='wxUSE_CHOICE=no'
11455 fi
11456 cache=yes
11457
11458 else
11459
11460 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11463 cache=yes
11464 else
11465 cache=no
11466 fi
11467
11468 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11469
11470 fi
11471
11472
11473 eval "$wx_cv_use_choice"
11474 if test "x$cache" = xyes; then
11475 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11476 fi
11477
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_CHOICE = yes; then
11480 result=no
11481 else
11482 result=yes
11483 fi
11484 else
11485 result=$wxUSE_CHOICE
11486 fi
11487
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11490
11491
11492 enablestring=
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11496 defaultval=yes
11497 else
11498 defaultval=no
11499 fi
11500 fi
11501
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11504 # Check whether --enable-choicebook was given.
11505 if test "${enable_choicebook+set}" = set; then
11506 enableval=$enable_choicebook;
11507 if test "$enableval" = yes; then
11508 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11509 else
11510 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11511 fi
11512 cache=yes
11513
11514 else
11515
11516 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11519 cache=yes
11520 else
11521 cache=no
11522 fi
11523
11524 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11525
11526 fi
11527
11528
11529 eval "$wx_cv_use_choicebook"
11530 if test "x$cache" = xyes; then
11531 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11532 fi
11533
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_CHOICEBOOK = yes; then
11536 result=no
11537 else
11538 result=yes
11539 fi
11540 else
11541 result=$wxUSE_CHOICEBOOK
11542 fi
11543
11544 { echo "$as_me:$LINENO: result: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11546
11547
11548 enablestring=
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11552 defaultval=yes
11553 else
11554 defaultval=no
11555 fi
11556 fi
11557
11558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11560 # Check whether --enable-collpane was given.
11561 if test "${enable_collpane+set}" = set; then
11562 enableval=$enable_collpane;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11565 else
11566 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11567 fi
11568 cache=yes
11569
11570 else
11571
11572 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11573 if test "x$LINE" != x ; then
11574 eval "DEFAULT_$LINE"
11575 cache=yes
11576 else
11577 cache=no
11578 fi
11579
11580 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11581
11582 fi
11583
11584
11585 eval "$wx_cv_use_collpane"
11586 if test "x$cache" = xyes; then
11587 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11588 fi
11589
11590 if test x"$enablestring" = xdisable; then
11591 if test $wxUSE_COLLPANE = yes; then
11592 result=no
11593 else
11594 result=yes
11595 fi
11596 else
11597 result=$wxUSE_COLLPANE
11598 fi
11599
11600 { echo "$as_me:$LINENO: result: $result" >&5
11601 echo "${ECHO_T}$result" >&6; }
11602
11603
11604 enablestring=
11605 defaultval=$wxUSE_ALL_FEATURES
11606 if test -z "$defaultval"; then
11607 if test x"$enablestring" = xdisable; then
11608 defaultval=yes
11609 else
11610 defaultval=no
11611 fi
11612 fi
11613
11614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11615 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11616 # Check whether --enable-colourpicker was given.
11617 if test "${enable_colourpicker+set}" = set; then
11618 enableval=$enable_colourpicker;
11619 if test "$enableval" = yes; then
11620 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11621 else
11622 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11623 fi
11624 cache=yes
11625
11626 else
11627
11628 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11629 if test "x$LINE" != x ; then
11630 eval "DEFAULT_$LINE"
11631 cache=yes
11632 else
11633 cache=no
11634 fi
11635
11636 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11637
11638 fi
11639
11640
11641 eval "$wx_cv_use_colourpicker"
11642 if test "x$cache" = xyes; then
11643 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11644 fi
11645
11646 if test x"$enablestring" = xdisable; then
11647 if test $wxUSE_COLOURPICKERCTRL = yes; then
11648 result=no
11649 else
11650 result=yes
11651 fi
11652 else
11653 result=$wxUSE_COLOURPICKERCTRL
11654 fi
11655
11656 { echo "$as_me:$LINENO: result: $result" >&5
11657 echo "${ECHO_T}$result" >&6; }
11658
11659
11660 enablestring=
11661 defaultval=$wxUSE_ALL_FEATURES
11662 if test -z "$defaultval"; then
11663 if test x"$enablestring" = xdisable; then
11664 defaultval=yes
11665 else
11666 defaultval=no
11667 fi
11668 fi
11669
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11672 # Check whether --enable-combobox was given.
11673 if test "${enable_combobox+set}" = set; then
11674 enableval=$enable_combobox;
11675 if test "$enableval" = yes; then
11676 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11677 else
11678 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11679 fi
11680 cache=yes
11681
11682 else
11683
11684 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11687 cache=yes
11688 else
11689 cache=no
11690 fi
11691
11692 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_combobox"
11698 if test "x$cache" = xyes; then
11699 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11700 fi
11701
11702 if test x"$enablestring" = xdisable; then
11703 if test $wxUSE_COMBOBOX = yes; then
11704 result=no
11705 else
11706 result=yes
11707 fi
11708 else
11709 result=$wxUSE_COMBOBOX
11710 fi
11711
11712 { echo "$as_me:$LINENO: result: $result" >&5
11713 echo "${ECHO_T}$result" >&6; }
11714
11715
11716 enablestring=
11717 defaultval=$wxUSE_ALL_FEATURES
11718 if test -z "$defaultval"; then
11719 if test x"$enablestring" = xdisable; then
11720 defaultval=yes
11721 else
11722 defaultval=no
11723 fi
11724 fi
11725
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11728 # Check whether --enable-comboctrl was given.
11729 if test "${enable_comboctrl+set}" = set; then
11730 enableval=$enable_comboctrl;
11731 if test "$enableval" = yes; then
11732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11733 else
11734 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11735 fi
11736 cache=yes
11737
11738 else
11739
11740 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11741 if test "x$LINE" != x ; then
11742 eval "DEFAULT_$LINE"
11743 cache=yes
11744 else
11745 cache=no
11746 fi
11747
11748 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_comboctrl"
11754 if test "x$cache" = xyes; then
11755 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11756 fi
11757
11758 if test x"$enablestring" = xdisable; then
11759 if test $wxUSE_COMBOCTRL = yes; then
11760 result=no
11761 else
11762 result=yes
11763 fi
11764 else
11765 result=$wxUSE_COMBOCTRL
11766 fi
11767
11768 { echo "$as_me:$LINENO: result: $result" >&5
11769 echo "${ECHO_T}$result" >&6; }
11770
11771
11772 enablestring=
11773 defaultval=$wxUSE_ALL_FEATURES
11774 if test -z "$defaultval"; then
11775 if test x"$enablestring" = xdisable; then
11776 defaultval=yes
11777 else
11778 defaultval=no
11779 fi
11780 fi
11781
11782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11784 # Check whether --enable-datepick was given.
11785 if test "${enable_datepick+set}" = set; then
11786 enableval=$enable_datepick;
11787 if test "$enableval" = yes; then
11788 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11789 else
11790 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11791 fi
11792 cache=yes
11793
11794 else
11795
11796 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11797 if test "x$LINE" != x ; then
11798 eval "DEFAULT_$LINE"
11799 cache=yes
11800 else
11801 cache=no
11802 fi
11803
11804 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11805
11806 fi
11807
11808
11809 eval "$wx_cv_use_datepick"
11810 if test "x$cache" = xyes; then
11811 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11812 fi
11813
11814 if test x"$enablestring" = xdisable; then
11815 if test $wxUSE_DATEPICKCTRL = yes; then
11816 result=no
11817 else
11818 result=yes
11819 fi
11820 else
11821 result=$wxUSE_DATEPICKCTRL
11822 fi
11823
11824 { echo "$as_me:$LINENO: result: $result" >&5
11825 echo "${ECHO_T}$result" >&6; }
11826
11827
11828 enablestring=
11829 defaultval=$wxUSE_ALL_FEATURES
11830 if test -z "$defaultval"; then
11831 if test x"$enablestring" = xdisable; then
11832 defaultval=yes
11833 else
11834 defaultval=no
11835 fi
11836 fi
11837
11838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11839 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11840 # Check whether --enable-dirpicker was given.
11841 if test "${enable_dirpicker+set}" = set; then
11842 enableval=$enable_dirpicker;
11843 if test "$enableval" = yes; then
11844 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11845 else
11846 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11847 fi
11848 cache=yes
11849
11850 else
11851
11852 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11853 if test "x$LINE" != x ; then
11854 eval "DEFAULT_$LINE"
11855 cache=yes
11856 else
11857 cache=no
11858 fi
11859
11860 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11861
11862 fi
11863
11864
11865 eval "$wx_cv_use_dirpicker"
11866 if test "x$cache" = xyes; then
11867 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11868 fi
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_DIRPICKERCTRL = yes; then
11872 result=no
11873 else
11874 result=yes
11875 fi
11876 else
11877 result=$wxUSE_DIRPICKERCTRL
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
11884 enablestring=
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11888 defaultval=yes
11889 else
11890 defaultval=no
11891 fi
11892 fi
11893
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11896 # Check whether --enable-display was given.
11897 if test "${enable_display+set}" = set; then
11898 enableval=$enable_display;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_display='wxUSE_DISPLAY=yes'
11901 else
11902 wx_cv_use_display='wxUSE_DISPLAY=no'
11903 fi
11904 cache=yes
11905
11906 else
11907
11908 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11909 if test "x$LINE" != x ; then
11910 eval "DEFAULT_$LINE"
11911 cache=yes
11912 else
11913 cache=no
11914 fi
11915
11916 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11917
11918 fi
11919
11920
11921 eval "$wx_cv_use_display"
11922 if test "x$cache" = xyes; then
11923 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11924 fi
11925
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_DISPLAY = yes; then
11928 result=no
11929 else
11930 result=yes
11931 fi
11932 else
11933 result=$wxUSE_DISPLAY
11934 fi
11935
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11938
11939
11940 enablestring=
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11944 defaultval=yes
11945 else
11946 defaultval=no
11947 fi
11948 fi
11949
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11952 # Check whether --enable-detect_sm was given.
11953 if test "${enable_detect_sm+set}" = set; then
11954 enableval=$enable_detect_sm;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11957 else
11958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11959 fi
11960 cache=yes
11961
11962 else
11963
11964 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11965 if test "x$LINE" != x ; then
11966 eval "DEFAULT_$LINE"
11967 cache=yes
11968 else
11969 cache=no
11970 fi
11971
11972 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_detect_sm"
11978 if test "x$cache" = xyes; then
11979 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11980 fi
11981
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_DETECT_SM = yes; then
11984 result=no
11985 else
11986 result=yes
11987 fi
11988 else
11989 result=$wxUSE_DETECT_SM
11990 fi
11991
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11994
11995
11996 enablestring=
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12000 defaultval=yes
12001 else
12002 defaultval=no
12003 fi
12004 fi
12005
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12008 # Check whether --enable-editablebox was given.
12009 if test "${enable_editablebox+set}" = set; then
12010 enableval=$enable_editablebox;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12013 else
12014 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12015 fi
12016 cache=yes
12017
12018 else
12019
12020 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12021 if test "x$LINE" != x ; then
12022 eval "DEFAULT_$LINE"
12023 cache=yes
12024 else
12025 cache=no
12026 fi
12027
12028 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12029
12030 fi
12031
12032
12033 eval "$wx_cv_use_editablebox"
12034 if test "x$cache" = xyes; then
12035 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12036 fi
12037
12038 if test x"$enablestring" = xdisable; then
12039 if test $wxUSE_EDITABLELISTBOX = yes; then
12040 result=no
12041 else
12042 result=yes
12043 fi
12044 else
12045 result=$wxUSE_EDITABLELISTBOX
12046 fi
12047
12048 { echo "$as_me:$LINENO: result: $result" >&5
12049 echo "${ECHO_T}$result" >&6; }
12050
12051
12052 enablestring=
12053 defaultval=$wxUSE_ALL_FEATURES
12054 if test -z "$defaultval"; then
12055 if test x"$enablestring" = xdisable; then
12056 defaultval=yes
12057 else
12058 defaultval=no
12059 fi
12060 fi
12061
12062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12063 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12064 # Check whether --enable-filepicker was given.
12065 if test "${enable_filepicker+set}" = set; then
12066 enableval=$enable_filepicker;
12067 if test "$enableval" = yes; then
12068 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12069 else
12070 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12071 fi
12072 cache=yes
12073
12074 else
12075
12076 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12077 if test "x$LINE" != x ; then
12078 eval "DEFAULT_$LINE"
12079 cache=yes
12080 else
12081 cache=no
12082 fi
12083
12084 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12085
12086 fi
12087
12088
12089 eval "$wx_cv_use_filepicker"
12090 if test "x$cache" = xyes; then
12091 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12092 fi
12093
12094 if test x"$enablestring" = xdisable; then
12095 if test $wxUSE_FILEPICKERCTRL = yes; then
12096 result=no
12097 else
12098 result=yes
12099 fi
12100 else
12101 result=$wxUSE_FILEPICKERCTRL
12102 fi
12103
12104 { echo "$as_me:$LINENO: result: $result" >&5
12105 echo "${ECHO_T}$result" >&6; }
12106
12107
12108 enablestring=
12109 defaultval=$wxUSE_ALL_FEATURES
12110 if test -z "$defaultval"; then
12111 if test x"$enablestring" = xdisable; then
12112 defaultval=yes
12113 else
12114 defaultval=no
12115 fi
12116 fi
12117
12118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12119 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12120 # Check whether --enable-filectrl was given.
12121 if test "${enable_filectrl+set}" = set; then
12122 enableval=$enable_filectrl;
12123 if test "$enableval" = yes; then
12124 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12125 else
12126 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12127 fi
12128 cache=yes
12129
12130 else
12131
12132 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12133 if test "x$LINE" != x ; then
12134 eval "DEFAULT_$LINE"
12135 cache=yes
12136 else
12137 cache=no
12138 fi
12139
12140 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12141
12142 fi
12143
12144
12145 eval "$wx_cv_use_filectrl"
12146 if test "x$cache" = xyes; then
12147 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12148 fi
12149
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_FILECTRL = yes; then
12152 result=no
12153 else
12154 result=yes
12155 fi
12156 else
12157 result=$wxUSE_FILECTRL
12158 fi
12159
12160 { echo "$as_me:$LINENO: result: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12162
12163
12164 enablestring=
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12168 defaultval=yes
12169 else
12170 defaultval=no
12171 fi
12172 fi
12173
12174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12175 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12176 # Check whether --enable-fontpicker was given.
12177 if test "${enable_fontpicker+set}" = set; then
12178 enableval=$enable_fontpicker;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12181 else
12182 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12183 fi
12184 cache=yes
12185
12186 else
12187
12188 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12189 if test "x$LINE" != x ; then
12190 eval "DEFAULT_$LINE"
12191 cache=yes
12192 else
12193 cache=no
12194 fi
12195
12196 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12197
12198 fi
12199
12200
12201 eval "$wx_cv_use_fontpicker"
12202 if test "x$cache" = xyes; then
12203 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12204 fi
12205
12206 if test x"$enablestring" = xdisable; then
12207 if test $wxUSE_FONTPICKERCTRL = yes; then
12208 result=no
12209 else
12210 result=yes
12211 fi
12212 else
12213 result=$wxUSE_FONTPICKERCTRL
12214 fi
12215
12216 { echo "$as_me:$LINENO: result: $result" >&5
12217 echo "${ECHO_T}$result" >&6; }
12218
12219
12220 enablestring=
12221 defaultval=$wxUSE_ALL_FEATURES
12222 if test -z "$defaultval"; then
12223 if test x"$enablestring" = xdisable; then
12224 defaultval=yes
12225 else
12226 defaultval=no
12227 fi
12228 fi
12229
12230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12231 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12232 # Check whether --enable-gauge was given.
12233 if test "${enable_gauge+set}" = set; then
12234 enableval=$enable_gauge;
12235 if test "$enableval" = yes; then
12236 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12237 else
12238 wx_cv_use_gauge='wxUSE_GAUGE=no'
12239 fi
12240 cache=yes
12241
12242 else
12243
12244 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12245 if test "x$LINE" != x ; then
12246 eval "DEFAULT_$LINE"
12247 cache=yes
12248 else
12249 cache=no
12250 fi
12251
12252 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12253
12254 fi
12255
12256
12257 eval "$wx_cv_use_gauge"
12258 if test "x$cache" = xyes; then
12259 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12260 fi
12261
12262 if test x"$enablestring" = xdisable; then
12263 if test $wxUSE_GAUGE = yes; then
12264 result=no
12265 else
12266 result=yes
12267 fi
12268 else
12269 result=$wxUSE_GAUGE
12270 fi
12271
12272 { echo "$as_me:$LINENO: result: $result" >&5
12273 echo "${ECHO_T}$result" >&6; }
12274
12275
12276 enablestring=
12277 defaultval=$wxUSE_ALL_FEATURES
12278 if test -z "$defaultval"; then
12279 if test x"$enablestring" = xdisable; then
12280 defaultval=yes
12281 else
12282 defaultval=no
12283 fi
12284 fi
12285
12286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12288 # Check whether --enable-grid was given.
12289 if test "${enable_grid+set}" = set; then
12290 enableval=$enable_grid;
12291 if test "$enableval" = yes; then
12292 wx_cv_use_grid='wxUSE_GRID=yes'
12293 else
12294 wx_cv_use_grid='wxUSE_GRID=no'
12295 fi
12296 cache=yes
12297
12298 else
12299
12300 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x ; then
12302 eval "DEFAULT_$LINE"
12303 cache=yes
12304 else
12305 cache=no
12306 fi
12307
12308 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12309
12310 fi
12311
12312
12313 eval "$wx_cv_use_grid"
12314 if test "x$cache" = xyes; then
12315 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12316 fi
12317
12318 if test x"$enablestring" = xdisable; then
12319 if test $wxUSE_GRID = yes; then
12320 result=no
12321 else
12322 result=yes
12323 fi
12324 else
12325 result=$wxUSE_GRID
12326 fi
12327
12328 { echo "$as_me:$LINENO: result: $result" >&5
12329 echo "${ECHO_T}$result" >&6; }
12330
12331
12332 enablestring=
12333 defaultval=$wxUSE_ALL_FEATURES
12334 if test -z "$defaultval"; then
12335 if test x"$enablestring" = xdisable; then
12336 defaultval=yes
12337 else
12338 defaultval=no
12339 fi
12340 fi
12341
12342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12343 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12344 # Check whether --enable-dataviewctrl was given.
12345 if test "${enable_dataviewctrl+set}" = set; then
12346 enableval=$enable_dataviewctrl;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12349 else
12350 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12351 fi
12352 cache=yes
12353
12354 else
12355
12356 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12357 if test "x$LINE" != x ; then
12358 eval "DEFAULT_$LINE"
12359 cache=yes
12360 else
12361 cache=no
12362 fi
12363
12364 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_dataviewctrl"
12370 if test "x$cache" = xyes; then
12371 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12372 fi
12373
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_DATAVIEWCTRL = yes; then
12376 result=no
12377 else
12378 result=yes
12379 fi
12380 else
12381 result=$wxUSE_DATAVIEWCTRL
12382 fi
12383
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12386
12387
12388 enablestring=
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12392 defaultval=yes
12393 else
12394 defaultval=no
12395 fi
12396 fi
12397
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12400 # Check whether --enable-hyperlink was given.
12401 if test "${enable_hyperlink+set}" = set; then
12402 enableval=$enable_hyperlink;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12405 else
12406 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12407 fi
12408 cache=yes
12409
12410 else
12411
12412 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12415 cache=yes
12416 else
12417 cache=no
12418 fi
12419
12420 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12421
12422 fi
12423
12424
12425 eval "$wx_cv_use_hyperlink"
12426 if test "x$cache" = xyes; then
12427 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12428 fi
12429
12430 if test x"$enablestring" = xdisable; then
12431 if test $wxUSE_HYPERLINKCTRL = yes; then
12432 result=no
12433 else
12434 result=yes
12435 fi
12436 else
12437 result=$wxUSE_HYPERLINKCTRL
12438 fi
12439
12440 { echo "$as_me:$LINENO: result: $result" >&5
12441 echo "${ECHO_T}$result" >&6; }
12442
12443
12444 enablestring=
12445 defaultval=$wxUSE_ALL_FEATURES
12446 if test -z "$defaultval"; then
12447 if test x"$enablestring" = xdisable; then
12448 defaultval=yes
12449 else
12450 defaultval=no
12451 fi
12452 fi
12453
12454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12455 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12456 # Check whether --enable-imaglist was given.
12457 if test "${enable_imaglist+set}" = set; then
12458 enableval=$enable_imaglist;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12461 else
12462 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12463 fi
12464 cache=yes
12465
12466 else
12467
12468 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12469 if test "x$LINE" != x ; then
12470 eval "DEFAULT_$LINE"
12471 cache=yes
12472 else
12473 cache=no
12474 fi
12475
12476 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12477
12478 fi
12479
12480
12481 eval "$wx_cv_use_imaglist"
12482 if test "x$cache" = xyes; then
12483 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12484 fi
12485
12486 if test x"$enablestring" = xdisable; then
12487 if test $wxUSE_IMAGLIST = yes; then
12488 result=no
12489 else
12490 result=yes
12491 fi
12492 else
12493 result=$wxUSE_IMAGLIST
12494 fi
12495
12496 { echo "$as_me:$LINENO: result: $result" >&5
12497 echo "${ECHO_T}$result" >&6; }
12498
12499
12500 enablestring=
12501 defaultval=$wxUSE_ALL_FEATURES
12502 if test -z "$defaultval"; then
12503 if test x"$enablestring" = xdisable; then
12504 defaultval=yes
12505 else
12506 defaultval=no
12507 fi
12508 fi
12509
12510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12511 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12512 # Check whether --enable-listbook was given.
12513 if test "${enable_listbook+set}" = set; then
12514 enableval=$enable_listbook;
12515 if test "$enableval" = yes; then
12516 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12517 else
12518 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12519 fi
12520 cache=yes
12521
12522 else
12523
12524 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12525 if test "x$LINE" != x ; then
12526 eval "DEFAULT_$LINE"
12527 cache=yes
12528 else
12529 cache=no
12530 fi
12531
12532 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12533
12534 fi
12535
12536
12537 eval "$wx_cv_use_listbook"
12538 if test "x$cache" = xyes; then
12539 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12540 fi
12541
12542 if test x"$enablestring" = xdisable; then
12543 if test $wxUSE_LISTBOOK = yes; then
12544 result=no
12545 else
12546 result=yes
12547 fi
12548 else
12549 result=$wxUSE_LISTBOOK
12550 fi
12551
12552 { echo "$as_me:$LINENO: result: $result" >&5
12553 echo "${ECHO_T}$result" >&6; }
12554
12555
12556 enablestring=
12557 defaultval=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x"$enablestring" = xdisable; then
12560 defaultval=yes
12561 else
12562 defaultval=no
12563 fi
12564 fi
12565
12566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12567 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12568 # Check whether --enable-listbox was given.
12569 if test "${enable_listbox+set}" = set; then
12570 enableval=$enable_listbox;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12573 else
12574 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12575 fi
12576 cache=yes
12577
12578 else
12579
12580 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12581 if test "x$LINE" != x ; then
12582 eval "DEFAULT_$LINE"
12583 cache=yes
12584 else
12585 cache=no
12586 fi
12587
12588 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12589
12590 fi
12591
12592
12593 eval "$wx_cv_use_listbox"
12594 if test "x$cache" = xyes; then
12595 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12596 fi
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_LISTBOX = yes; then
12600 result=no
12601 else
12602 result=yes
12603 fi
12604 else
12605 result=$wxUSE_LISTBOX
12606 fi
12607
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12610
12611
12612 enablestring=
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12616 defaultval=yes
12617 else
12618 defaultval=no
12619 fi
12620 fi
12621
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12624 # Check whether --enable-listctrl was given.
12625 if test "${enable_listctrl+set}" = set; then
12626 enableval=$enable_listctrl;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12629 else
12630 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12631 fi
12632 cache=yes
12633
12634 else
12635
12636 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12637 if test "x$LINE" != x ; then
12638 eval "DEFAULT_$LINE"
12639 cache=yes
12640 else
12641 cache=no
12642 fi
12643
12644 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12645
12646 fi
12647
12648
12649 eval "$wx_cv_use_listctrl"
12650 if test "x$cache" = xyes; then
12651 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12652 fi
12653
12654 if test x"$enablestring" = xdisable; then
12655 if test $wxUSE_LISTCTRL = yes; then
12656 result=no
12657 else
12658 result=yes
12659 fi
12660 else
12661 result=$wxUSE_LISTCTRL
12662 fi
12663
12664 { echo "$as_me:$LINENO: result: $result" >&5
12665 echo "${ECHO_T}$result" >&6; }
12666
12667
12668 enablestring=
12669 defaultval=$wxUSE_ALL_FEATURES
12670 if test -z "$defaultval"; then
12671 if test x"$enablestring" = xdisable; then
12672 defaultval=yes
12673 else
12674 defaultval=no
12675 fi
12676 fi
12677
12678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12679 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12680 # Check whether --enable-notebook was given.
12681 if test "${enable_notebook+set}" = set; then
12682 enableval=$enable_notebook;
12683 if test "$enableval" = yes; then
12684 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12685 else
12686 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12687 fi
12688 cache=yes
12689
12690 else
12691
12692 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12693 if test "x$LINE" != x ; then
12694 eval "DEFAULT_$LINE"
12695 cache=yes
12696 else
12697 cache=no
12698 fi
12699
12700 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12701
12702 fi
12703
12704
12705 eval "$wx_cv_use_notebook"
12706 if test "x$cache" = xyes; then
12707 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12708 fi
12709
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_NOTEBOOK = yes; then
12712 result=no
12713 else
12714 result=yes
12715 fi
12716 else
12717 result=$wxUSE_NOTEBOOK
12718 fi
12719
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12722
12723
12724 enablestring=
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12728 defaultval=yes
12729 else
12730 defaultval=no
12731 fi
12732 fi
12733
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12736 # Check whether --enable-odcombobox was given.
12737 if test "${enable_odcombobox+set}" = set; then
12738 enableval=$enable_odcombobox;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12741 else
12742 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12743 fi
12744 cache=yes
12745
12746 else
12747
12748 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12749 if test "x$LINE" != x ; then
12750 eval "DEFAULT_$LINE"
12751 cache=yes
12752 else
12753 cache=no
12754 fi
12755
12756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12757
12758 fi
12759
12760
12761 eval "$wx_cv_use_odcombobox"
12762 if test "x$cache" = xyes; then
12763 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12764 fi
12765
12766 if test x"$enablestring" = xdisable; then
12767 if test $wxUSE_ODCOMBOBOX = yes; then
12768 result=no
12769 else
12770 result=yes
12771 fi
12772 else
12773 result=$wxUSE_ODCOMBOBOX
12774 fi
12775
12776 { echo "$as_me:$LINENO: result: $result" >&5
12777 echo "${ECHO_T}$result" >&6; }
12778
12779
12780 enablestring=
12781 defaultval=$wxUSE_ALL_FEATURES
12782 if test -z "$defaultval"; then
12783 if test x"$enablestring" = xdisable; then
12784 defaultval=yes
12785 else
12786 defaultval=no
12787 fi
12788 fi
12789
12790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12791 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12792 # Check whether --enable-radiobox was given.
12793 if test "${enable_radiobox+set}" = set; then
12794 enableval=$enable_radiobox;
12795 if test "$enableval" = yes; then
12796 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12797 else
12798 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12799 fi
12800 cache=yes
12801
12802 else
12803
12804 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12805 if test "x$LINE" != x ; then
12806 eval "DEFAULT_$LINE"
12807 cache=yes
12808 else
12809 cache=no
12810 fi
12811
12812 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12813
12814 fi
12815
12816
12817 eval "$wx_cv_use_radiobox"
12818 if test "x$cache" = xyes; then
12819 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12820 fi
12821
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_RADIOBOX = yes; then
12824 result=no
12825 else
12826 result=yes
12827 fi
12828 else
12829 result=$wxUSE_RADIOBOX
12830 fi
12831
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12834
12835
12836 enablestring=
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12840 defaultval=yes
12841 else
12842 defaultval=no
12843 fi
12844 fi
12845
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12848 # Check whether --enable-radiobtn was given.
12849 if test "${enable_radiobtn+set}" = set; then
12850 enableval=$enable_radiobtn;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12853 else
12854 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12855 fi
12856 cache=yes
12857
12858 else
12859
12860 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12861 if test "x$LINE" != x ; then
12862 eval "DEFAULT_$LINE"
12863 cache=yes
12864 else
12865 cache=no
12866 fi
12867
12868 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12869
12870 fi
12871
12872
12873 eval "$wx_cv_use_radiobtn"
12874 if test "x$cache" = xyes; then
12875 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12876 fi
12877
12878 if test x"$enablestring" = xdisable; then
12879 if test $wxUSE_RADIOBTN = yes; then
12880 result=no
12881 else
12882 result=yes
12883 fi
12884 else
12885 result=$wxUSE_RADIOBTN
12886 fi
12887
12888 { echo "$as_me:$LINENO: result: $result" >&5
12889 echo "${ECHO_T}$result" >&6; }
12890
12891
12892 enablestring=
12893 defaultval=$wxUSE_ALL_FEATURES
12894 if test -z "$defaultval"; then
12895 if test x"$enablestring" = xdisable; then
12896 defaultval=yes
12897 else
12898 defaultval=no
12899 fi
12900 fi
12901
12902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12903 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12904 # Check whether --enable-sash was given.
12905 if test "${enable_sash+set}" = set; then
12906 enableval=$enable_sash;
12907 if test "$enableval" = yes; then
12908 wx_cv_use_sash='wxUSE_SASH=yes'
12909 else
12910 wx_cv_use_sash='wxUSE_SASH=no'
12911 fi
12912 cache=yes
12913
12914 else
12915
12916 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12917 if test "x$LINE" != x ; then
12918 eval "DEFAULT_$LINE"
12919 cache=yes
12920 else
12921 cache=no
12922 fi
12923
12924 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12925
12926 fi
12927
12928
12929 eval "$wx_cv_use_sash"
12930 if test "x$cache" = xyes; then
12931 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12932 fi
12933
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_SASH = yes; then
12936 result=no
12937 else
12938 result=yes
12939 fi
12940 else
12941 result=$wxUSE_SASH
12942 fi
12943
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12946
12947
12948 enablestring=
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12952 defaultval=yes
12953 else
12954 defaultval=no
12955 fi
12956 fi
12957
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12960 # Check whether --enable-scrollbar was given.
12961 if test "${enable_scrollbar+set}" = set; then
12962 enableval=$enable_scrollbar;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12965 else
12966 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12967 fi
12968 cache=yes
12969
12970 else
12971
12972 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12973 if test "x$LINE" != x ; then
12974 eval "DEFAULT_$LINE"
12975 cache=yes
12976 else
12977 cache=no
12978 fi
12979
12980 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_scrollbar"
12986 if test "x$cache" = xyes; then
12987 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12988 fi
12989
12990 if test x"$enablestring" = xdisable; then
12991 if test $wxUSE_SCROLLBAR = yes; then
12992 result=no
12993 else
12994 result=yes
12995 fi
12996 else
12997 result=$wxUSE_SCROLLBAR
12998 fi
12999
13000 { echo "$as_me:$LINENO: result: $result" >&5
13001 echo "${ECHO_T}$result" >&6; }
13002
13003
13004 enablestring=
13005 defaultval=$wxUSE_ALL_FEATURES
13006 if test -z "$defaultval"; then
13007 if test x"$enablestring" = xdisable; then
13008 defaultval=yes
13009 else
13010 defaultval=no
13011 fi
13012 fi
13013
13014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13015 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13016 # Check whether --enable-searchctrl was given.
13017 if test "${enable_searchctrl+set}" = set; then
13018 enableval=$enable_searchctrl;
13019 if test "$enableval" = yes; then
13020 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13021 else
13022 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13023 fi
13024 cache=yes
13025
13026 else
13027
13028 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13029 if test "x$LINE" != x ; then
13030 eval "DEFAULT_$LINE"
13031 cache=yes
13032 else
13033 cache=no
13034 fi
13035
13036 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13037
13038 fi
13039
13040
13041 eval "$wx_cv_use_searchctrl"
13042 if test "x$cache" = xyes; then
13043 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13044 fi
13045
13046 if test x"$enablestring" = xdisable; then
13047 if test $wxUSE_SEARCHCTRL = yes; then
13048 result=no
13049 else
13050 result=yes
13051 fi
13052 else
13053 result=$wxUSE_SEARCHCTRL
13054 fi
13055
13056 { echo "$as_me:$LINENO: result: $result" >&5
13057 echo "${ECHO_T}$result" >&6; }
13058
13059
13060 enablestring=
13061 defaultval=$wxUSE_ALL_FEATURES
13062 if test -z "$defaultval"; then
13063 if test x"$enablestring" = xdisable; then
13064 defaultval=yes
13065 else
13066 defaultval=no
13067 fi
13068 fi
13069
13070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13071 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13072 # Check whether --enable-slider was given.
13073 if test "${enable_slider+set}" = set; then
13074 enableval=$enable_slider;
13075 if test "$enableval" = yes; then
13076 wx_cv_use_slider='wxUSE_SLIDER=yes'
13077 else
13078 wx_cv_use_slider='wxUSE_SLIDER=no'
13079 fi
13080 cache=yes
13081
13082 else
13083
13084 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13085 if test "x$LINE" != x ; then
13086 eval "DEFAULT_$LINE"
13087 cache=yes
13088 else
13089 cache=no
13090 fi
13091
13092 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13093
13094 fi
13095
13096
13097 eval "$wx_cv_use_slider"
13098 if test "x$cache" = xyes; then
13099 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13100 fi
13101
13102 if test x"$enablestring" = xdisable; then
13103 if test $wxUSE_SLIDER = yes; then
13104 result=no
13105 else
13106 result=yes
13107 fi
13108 else
13109 result=$wxUSE_SLIDER
13110 fi
13111
13112 { echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6; }
13114
13115
13116 enablestring=
13117 defaultval=$wxUSE_ALL_FEATURES
13118 if test -z "$defaultval"; then
13119 if test x"$enablestring" = xdisable; then
13120 defaultval=yes
13121 else
13122 defaultval=no
13123 fi
13124 fi
13125
13126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13128 # Check whether --enable-spinbtn was given.
13129 if test "${enable_spinbtn+set}" = set; then
13130 enableval=$enable_spinbtn;
13131 if test "$enableval" = yes; then
13132 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13133 else
13134 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13135 fi
13136 cache=yes
13137
13138 else
13139
13140 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13141 if test "x$LINE" != x ; then
13142 eval "DEFAULT_$LINE"
13143 cache=yes
13144 else
13145 cache=no
13146 fi
13147
13148 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13149
13150 fi
13151
13152
13153 eval "$wx_cv_use_spinbtn"
13154 if test "x$cache" = xyes; then
13155 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13156 fi
13157
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_SPINBTN = yes; then
13160 result=no
13161 else
13162 result=yes
13163 fi
13164 else
13165 result=$wxUSE_SPINBTN
13166 fi
13167
13168 { echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13170
13171
13172 enablestring=
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13176 defaultval=yes
13177 else
13178 defaultval=no
13179 fi
13180 fi
13181
13182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13184 # Check whether --enable-spinctrl was given.
13185 if test "${enable_spinctrl+set}" = set; then
13186 enableval=$enable_spinctrl;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13189 else
13190 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13191 fi
13192 cache=yes
13193
13194 else
13195
13196 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13197 if test "x$LINE" != x ; then
13198 eval "DEFAULT_$LINE"
13199 cache=yes
13200 else
13201 cache=no
13202 fi
13203
13204 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13205
13206 fi
13207
13208
13209 eval "$wx_cv_use_spinctrl"
13210 if test "x$cache" = xyes; then
13211 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13212 fi
13213
13214 if test x"$enablestring" = xdisable; then
13215 if test $wxUSE_SPINCTRL = yes; then
13216 result=no
13217 else
13218 result=yes
13219 fi
13220 else
13221 result=$wxUSE_SPINCTRL
13222 fi
13223
13224 { echo "$as_me:$LINENO: result: $result" >&5
13225 echo "${ECHO_T}$result" >&6; }
13226
13227
13228 enablestring=
13229 defaultval=$wxUSE_ALL_FEATURES
13230 if test -z "$defaultval"; then
13231 if test x"$enablestring" = xdisable; then
13232 defaultval=yes
13233 else
13234 defaultval=no
13235 fi
13236 fi
13237
13238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13239 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13240 # Check whether --enable-splitter was given.
13241 if test "${enable_splitter+set}" = set; then
13242 enableval=$enable_splitter;
13243 if test "$enableval" = yes; then
13244 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13245 else
13246 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13247 fi
13248 cache=yes
13249
13250 else
13251
13252 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13253 if test "x$LINE" != x ; then
13254 eval "DEFAULT_$LINE"
13255 cache=yes
13256 else
13257 cache=no
13258 fi
13259
13260 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13261
13262 fi
13263
13264
13265 eval "$wx_cv_use_splitter"
13266 if test "x$cache" = xyes; then
13267 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13268 fi
13269
13270 if test x"$enablestring" = xdisable; then
13271 if test $wxUSE_SPLITTER = yes; then
13272 result=no
13273 else
13274 result=yes
13275 fi
13276 else
13277 result=$wxUSE_SPLITTER
13278 fi
13279
13280 { echo "$as_me:$LINENO: result: $result" >&5
13281 echo "${ECHO_T}$result" >&6; }
13282
13283
13284 enablestring=
13285 defaultval=$wxUSE_ALL_FEATURES
13286 if test -z "$defaultval"; then
13287 if test x"$enablestring" = xdisable; then
13288 defaultval=yes
13289 else
13290 defaultval=no
13291 fi
13292 fi
13293
13294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13295 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13296 # Check whether --enable-statbmp was given.
13297 if test "${enable_statbmp+set}" = set; then
13298 enableval=$enable_statbmp;
13299 if test "$enableval" = yes; then
13300 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13301 else
13302 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13303 fi
13304 cache=yes
13305
13306 else
13307
13308 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13309 if test "x$LINE" != x ; then
13310 eval "DEFAULT_$LINE"
13311 cache=yes
13312 else
13313 cache=no
13314 fi
13315
13316 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13317
13318 fi
13319
13320
13321 eval "$wx_cv_use_statbmp"
13322 if test "x$cache" = xyes; then
13323 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13324 fi
13325
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_STATBMP = yes; then
13328 result=no
13329 else
13330 result=yes
13331 fi
13332 else
13333 result=$wxUSE_STATBMP
13334 fi
13335
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13338
13339
13340 enablestring=
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13344 defaultval=yes
13345 else
13346 defaultval=no
13347 fi
13348 fi
13349
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13352 # Check whether --enable-statbox was given.
13353 if test "${enable_statbox+set}" = set; then
13354 enableval=$enable_statbox;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13357 else
13358 wx_cv_use_statbox='wxUSE_STATBOX=no'
13359 fi
13360 cache=yes
13361
13362 else
13363
13364 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13365 if test "x$LINE" != x ; then
13366 eval "DEFAULT_$LINE"
13367 cache=yes
13368 else
13369 cache=no
13370 fi
13371
13372 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13373
13374 fi
13375
13376
13377 eval "$wx_cv_use_statbox"
13378 if test "x$cache" = xyes; then
13379 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13380 fi
13381
13382 if test x"$enablestring" = xdisable; then
13383 if test $wxUSE_STATBOX = yes; then
13384 result=no
13385 else
13386 result=yes
13387 fi
13388 else
13389 result=$wxUSE_STATBOX
13390 fi
13391
13392 { echo "$as_me:$LINENO: result: $result" >&5
13393 echo "${ECHO_T}$result" >&6; }
13394
13395
13396 enablestring=
13397 defaultval=$wxUSE_ALL_FEATURES
13398 if test -z "$defaultval"; then
13399 if test x"$enablestring" = xdisable; then
13400 defaultval=yes
13401 else
13402 defaultval=no
13403 fi
13404 fi
13405
13406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13407 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13408 # Check whether --enable-statline was given.
13409 if test "${enable_statline+set}" = set; then
13410 enableval=$enable_statline;
13411 if test "$enableval" = yes; then
13412 wx_cv_use_statline='wxUSE_STATLINE=yes'
13413 else
13414 wx_cv_use_statline='wxUSE_STATLINE=no'
13415 fi
13416 cache=yes
13417
13418 else
13419
13420 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13421 if test "x$LINE" != x ; then
13422 eval "DEFAULT_$LINE"
13423 cache=yes
13424 else
13425 cache=no
13426 fi
13427
13428 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13429
13430 fi
13431
13432
13433 eval "$wx_cv_use_statline"
13434 if test "x$cache" = xyes; then
13435 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13436 fi
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_STATLINE = yes; then
13440 result=no
13441 else
13442 result=yes
13443 fi
13444 else
13445 result=$wxUSE_STATLINE
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13464 # Check whether --enable-stattext was given.
13465 if test "${enable_stattext+set}" = set; then
13466 enableval=$enable_stattext;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13469 else
13470 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13471 fi
13472 cache=yes
13473
13474 else
13475
13476 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13477 if test "x$LINE" != x ; then
13478 eval "DEFAULT_$LINE"
13479 cache=yes
13480 else
13481 cache=no
13482 fi
13483
13484 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13485
13486 fi
13487
13488
13489 eval "$wx_cv_use_stattext"
13490 if test "x$cache" = xyes; then
13491 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13492 fi
13493
13494 if test x"$enablestring" = xdisable; then
13495 if test $wxUSE_STATTEXT = yes; then
13496 result=no
13497 else
13498 result=yes
13499 fi
13500 else
13501 result=$wxUSE_STATTEXT
13502 fi
13503
13504 { echo "$as_me:$LINENO: result: $result" >&5
13505 echo "${ECHO_T}$result" >&6; }
13506
13507
13508 enablestring=
13509 defaultval=$wxUSE_ALL_FEATURES
13510 if test -z "$defaultval"; then
13511 if test x"$enablestring" = xdisable; then
13512 defaultval=yes
13513 else
13514 defaultval=no
13515 fi
13516 fi
13517
13518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13519 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13520 # Check whether --enable-statusbar was given.
13521 if test "${enable_statusbar+set}" = set; then
13522 enableval=$enable_statusbar;
13523 if test "$enableval" = yes; then
13524 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13525 else
13526 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13527 fi
13528 cache=yes
13529
13530 else
13531
13532 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13533 if test "x$LINE" != x ; then
13534 eval "DEFAULT_$LINE"
13535 cache=yes
13536 else
13537 cache=no
13538 fi
13539
13540 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13541
13542 fi
13543
13544
13545 eval "$wx_cv_use_statusbar"
13546 if test "x$cache" = xyes; then
13547 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13548 fi
13549
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_STATUSBAR = yes; then
13552 result=no
13553 else
13554 result=yes
13555 fi
13556 else
13557 result=$wxUSE_STATUSBAR
13558 fi
13559
13560 { echo "$as_me:$LINENO: result: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13562
13563
13564 enablestring=
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13568 defaultval=yes
13569 else
13570 defaultval=no
13571 fi
13572 fi
13573
13574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13575 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13576 # Check whether --enable-tabdialog was given.
13577 if test "${enable_tabdialog+set}" = set; then
13578 enableval=$enable_tabdialog;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13581 else
13582 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13583 fi
13584 cache=yes
13585
13586 else
13587
13588 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13589 if test "x$LINE" != x ; then
13590 eval "DEFAULT_$LINE"
13591 cache=yes
13592 else
13593 cache=no
13594 fi
13595
13596 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13597
13598 fi
13599
13600
13601 eval "$wx_cv_use_tabdialog"
13602 if test "x$cache" = xyes; then
13603 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13604 fi
13605
13606 if test x"$enablestring" = xdisable; then
13607 if test $wxUSE_TAB_DIALOG = yes; then
13608 result=no
13609 else
13610 result=yes
13611 fi
13612 else
13613 result=$wxUSE_TAB_DIALOG
13614 fi
13615
13616 { echo "$as_me:$LINENO: result: $result" >&5
13617 echo "${ECHO_T}$result" >&6; }
13618
13619
13620 enablestring=
13621 defaultval=$wxUSE_ALL_FEATURES
13622 if test -z "$defaultval"; then
13623 if test x"$enablestring" = xdisable; then
13624 defaultval=yes
13625 else
13626 defaultval=no
13627 fi
13628 fi
13629
13630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13631 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13632 # Check whether --enable-taskbaricon was given.
13633 if test "${enable_taskbaricon+set}" = set; then
13634 enableval=$enable_taskbaricon;
13635 if test "$enableval" = yes; then
13636 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13637 else
13638 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13639 fi
13640 cache=yes
13641
13642 else
13643
13644 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13645 if test "x$LINE" != x ; then
13646 eval "DEFAULT_$LINE"
13647 cache=yes
13648 else
13649 cache=no
13650 fi
13651
13652 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13653
13654 fi
13655
13656
13657 eval "$wx_cv_use_taskbaricon"
13658 if test "x$cache" = xyes; then
13659 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13660 fi
13661
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_TASKBARICON = yes; then
13664 result=no
13665 else
13666 result=yes
13667 fi
13668 else
13669 result=$wxUSE_TASKBARICON
13670 fi
13671
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13674
13675
13676 enablestring=
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13680 defaultval=yes
13681 else
13682 defaultval=no
13683 fi
13684 fi
13685
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13688 # Check whether --enable-textctrl was given.
13689 if test "${enable_textctrl+set}" = set; then
13690 enableval=$enable_textctrl;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13693 else
13694 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13695 fi
13696 cache=yes
13697
13698 else
13699
13700 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13701 if test "x$LINE" != x ; then
13702 eval "DEFAULT_$LINE"
13703 cache=yes
13704 else
13705 cache=no
13706 fi
13707
13708 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13709
13710 fi
13711
13712
13713 eval "$wx_cv_use_textctrl"
13714 if test "x$cache" = xyes; then
13715 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13716 fi
13717
13718 if test x"$enablestring" = xdisable; then
13719 if test $wxUSE_TEXTCTRL = yes; then
13720 result=no
13721 else
13722 result=yes
13723 fi
13724 else
13725 result=$wxUSE_TEXTCTRL
13726 fi
13727
13728 { echo "$as_me:$LINENO: result: $result" >&5
13729 echo "${ECHO_T}$result" >&6; }
13730
13731
13732 enablestring=
13733 defaultval=$wxUSE_ALL_FEATURES
13734 if test -z "$defaultval"; then
13735 if test x"$enablestring" = xdisable; then
13736 defaultval=yes
13737 else
13738 defaultval=no
13739 fi
13740 fi
13741
13742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13743 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13744 # Check whether --enable-togglebtn was given.
13745 if test "${enable_togglebtn+set}" = set; then
13746 enableval=$enable_togglebtn;
13747 if test "$enableval" = yes; then
13748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13749 else
13750 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13751 fi
13752 cache=yes
13753
13754 else
13755
13756 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13757 if test "x$LINE" != x ; then
13758 eval "DEFAULT_$LINE"
13759 cache=yes
13760 else
13761 cache=no
13762 fi
13763
13764 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13765
13766 fi
13767
13768
13769 eval "$wx_cv_use_togglebtn"
13770 if test "x$cache" = xyes; then
13771 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13772 fi
13773
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_TOGGLEBTN = yes; then
13776 result=no
13777 else
13778 result=yes
13779 fi
13780 else
13781 result=$wxUSE_TOGGLEBTN
13782 fi
13783
13784 { echo "$as_me:$LINENO: result: $result" >&5
13785 echo "${ECHO_T}$result" >&6; }
13786
13787
13788 enablestring=
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13792 defaultval=yes
13793 else
13794 defaultval=no
13795 fi
13796 fi
13797
13798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13799 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13800 # Check whether --enable-toolbar was given.
13801 if test "${enable_toolbar+set}" = set; then
13802 enableval=$enable_toolbar;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13805 else
13806 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13807 fi
13808 cache=yes
13809
13810 else
13811
13812 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13813 if test "x$LINE" != x ; then
13814 eval "DEFAULT_$LINE"
13815 cache=yes
13816 else
13817 cache=no
13818 fi
13819
13820 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_toolbar"
13826 if test "x$cache" = xyes; then
13827 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13828 fi
13829
13830 if test x"$enablestring" = xdisable; then
13831 if test $wxUSE_TOOLBAR = yes; then
13832 result=no
13833 else
13834 result=yes
13835 fi
13836 else
13837 result=$wxUSE_TOOLBAR
13838 fi
13839
13840 { echo "$as_me:$LINENO: result: $result" >&5
13841 echo "${ECHO_T}$result" >&6; }
13842
13843
13844 enablestring=
13845 defaultval=$wxUSE_ALL_FEATURES
13846 if test -z "$defaultval"; then
13847 if test x"$enablestring" = xdisable; then
13848 defaultval=yes
13849 else
13850 defaultval=no
13851 fi
13852 fi
13853
13854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13855 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13856 # Check whether --enable-tbarnative was given.
13857 if test "${enable_tbarnative+set}" = set; then
13858 enableval=$enable_tbarnative;
13859 if test "$enableval" = yes; then
13860 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13861 else
13862 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13863 fi
13864 cache=yes
13865
13866 else
13867
13868 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13869 if test "x$LINE" != x ; then
13870 eval "DEFAULT_$LINE"
13871 cache=yes
13872 else
13873 cache=no
13874 fi
13875
13876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13877
13878 fi
13879
13880
13881 eval "$wx_cv_use_tbarnative"
13882 if test "x$cache" = xyes; then
13883 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13884 fi
13885
13886 if test x"$enablestring" = xdisable; then
13887 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13888 result=no
13889 else
13890 result=yes
13891 fi
13892 else
13893 result=$wxUSE_TOOLBAR_NATIVE
13894 fi
13895
13896 { echo "$as_me:$LINENO: result: $result" >&5
13897 echo "${ECHO_T}$result" >&6; }
13898
13899
13900 enablestring=
13901 defaultval=$wxUSE_ALL_FEATURES
13902 if test -z "$defaultval"; then
13903 if test x"$enablestring" = xdisable; then
13904 defaultval=yes
13905 else
13906 defaultval=no
13907 fi
13908 fi
13909
13910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13911 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13912 # Check whether --enable-treebook was given.
13913 if test "${enable_treebook+set}" = set; then
13914 enableval=$enable_treebook;
13915 if test "$enableval" = yes; then
13916 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13917 else
13918 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13919 fi
13920 cache=yes
13921
13922 else
13923
13924 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13925 if test "x$LINE" != x ; then
13926 eval "DEFAULT_$LINE"
13927 cache=yes
13928 else
13929 cache=no
13930 fi
13931
13932 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13933
13934 fi
13935
13936
13937 eval "$wx_cv_use_treebook"
13938 if test "x$cache" = xyes; then
13939 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13940 fi
13941
13942 if test x"$enablestring" = xdisable; then
13943 if test $wxUSE_TREEBOOK = yes; then
13944 result=no
13945 else
13946 result=yes
13947 fi
13948 else
13949 result=$wxUSE_TREEBOOK
13950 fi
13951
13952 { echo "$as_me:$LINENO: result: $result" >&5
13953 echo "${ECHO_T}$result" >&6; }
13954
13955
13956 enablestring=
13957 defaultval=$wxUSE_ALL_FEATURES
13958 if test -z "$defaultval"; then
13959 if test x"$enablestring" = xdisable; then
13960 defaultval=yes
13961 else
13962 defaultval=no
13963 fi
13964 fi
13965
13966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13967 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13968 # Check whether --enable-toolbook was given.
13969 if test "${enable_toolbook+set}" = set; then
13970 enableval=$enable_toolbook;
13971 if test "$enableval" = yes; then
13972 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13973 else
13974 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13975 fi
13976 cache=yes
13977
13978 else
13979
13980 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13981 if test "x$LINE" != x ; then
13982 eval "DEFAULT_$LINE"
13983 cache=yes
13984 else
13985 cache=no
13986 fi
13987
13988 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13989
13990 fi
13991
13992
13993 eval "$wx_cv_use_toolbook"
13994 if test "x$cache" = xyes; then
13995 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13996 fi
13997
13998 if test x"$enablestring" = xdisable; then
13999 if test $wxUSE_TOOLBOOK = yes; then
14000 result=no
14001 else
14002 result=yes
14003 fi
14004 else
14005 result=$wxUSE_TOOLBOOK
14006 fi
14007
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14010
14011
14012 enablestring=
14013 defaultval=$wxUSE_ALL_FEATURES
14014 if test -z "$defaultval"; then
14015 if test x"$enablestring" = xdisable; then
14016 defaultval=yes
14017 else
14018 defaultval=no
14019 fi
14020 fi
14021
14022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14023 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14024 # Check whether --enable-treectrl was given.
14025 if test "${enable_treectrl+set}" = set; then
14026 enableval=$enable_treectrl;
14027 if test "$enableval" = yes; then
14028 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14029 else
14030 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14031 fi
14032 cache=yes
14033
14034 else
14035
14036 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14037 if test "x$LINE" != x ; then
14038 eval "DEFAULT_$LINE"
14039 cache=yes
14040 else
14041 cache=no
14042 fi
14043
14044 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14045
14046 fi
14047
14048
14049 eval "$wx_cv_use_treectrl"
14050 if test "x$cache" = xyes; then
14051 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14052 fi
14053
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_TREECTRL = yes; then
14056 result=no
14057 else
14058 result=yes
14059 fi
14060 else
14061 result=$wxUSE_TREECTRL
14062 fi
14063
14064 { echo "$as_me:$LINENO: result: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14066
14067
14068 enablestring=
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14072 defaultval=yes
14073 else
14074 defaultval=no
14075 fi
14076 fi
14077
14078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14079 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14080 # Check whether --enable-tipwindow was given.
14081 if test "${enable_tipwindow+set}" = set; then
14082 enableval=$enable_tipwindow;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14085 else
14086 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14087 fi
14088 cache=yes
14089
14090 else
14091
14092 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14093 if test "x$LINE" != x ; then
14094 eval "DEFAULT_$LINE"
14095 cache=yes
14096 else
14097 cache=no
14098 fi
14099
14100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14101
14102 fi
14103
14104
14105 eval "$wx_cv_use_tipwindow"
14106 if test "x$cache" = xyes; then
14107 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14108 fi
14109
14110 if test x"$enablestring" = xdisable; then
14111 if test $wxUSE_TIPWINDOW = yes; then
14112 result=no
14113 else
14114 result=yes
14115 fi
14116 else
14117 result=$wxUSE_TIPWINDOW
14118 fi
14119
14120 { echo "$as_me:$LINENO: result: $result" >&5
14121 echo "${ECHO_T}$result" >&6; }
14122
14123
14124 enablestring=
14125 defaultval=$wxUSE_ALL_FEATURES
14126 if test -z "$defaultval"; then
14127 if test x"$enablestring" = xdisable; then
14128 defaultval=yes
14129 else
14130 defaultval=no
14131 fi
14132 fi
14133
14134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14135 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14136 # Check whether --enable-popupwin was given.
14137 if test "${enable_popupwin+set}" = set; then
14138 enableval=$enable_popupwin;
14139 if test "$enableval" = yes; then
14140 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14141 else
14142 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14143 fi
14144 cache=yes
14145
14146 else
14147
14148 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14149 if test "x$LINE" != x ; then
14150 eval "DEFAULT_$LINE"
14151 cache=yes
14152 else
14153 cache=no
14154 fi
14155
14156 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14157
14158 fi
14159
14160
14161 eval "$wx_cv_use_popupwin"
14162 if test "x$cache" = xyes; then
14163 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14164 fi
14165
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_POPUPWIN = yes; then
14168 result=no
14169 else
14170 result=yes
14171 fi
14172 else
14173 result=$wxUSE_POPUPWIN
14174 fi
14175
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14178
14179
14180
14181
14182 enablestring=
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14186 defaultval=yes
14187 else
14188 defaultval=no
14189 fi
14190 fi
14191
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14194 # Check whether --enable-commondlg was given.
14195 if test "${enable_commondlg+set}" = set; then
14196 enableval=$enable_commondlg;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14199 else
14200 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14201 fi
14202 cache=yes
14203
14204 else
14205
14206 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14209 cache=yes
14210 else
14211 cache=no
14212 fi
14213
14214 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14215
14216 fi
14217
14218
14219 eval "$wx_cv_use_commondlg"
14220 if test "x$cache" = xyes; then
14221 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14222 fi
14223
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_COMMONDLGS = yes; then
14226 result=no
14227 else
14228 result=yes
14229 fi
14230 else
14231 result=$wxUSE_COMMONDLGS
14232 fi
14233
14234 { echo "$as_me:$LINENO: result: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14236
14237
14238 enablestring=
14239 defaultval=$wxUSE_ALL_FEATURES
14240 if test -z "$defaultval"; then
14241 if test x"$enablestring" = xdisable; then
14242 defaultval=yes
14243 else
14244 defaultval=no
14245 fi
14246 fi
14247
14248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14249 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14250 # Check whether --enable-aboutdlg was given.
14251 if test "${enable_aboutdlg+set}" = set; then
14252 enableval=$enable_aboutdlg;
14253 if test "$enableval" = yes; then
14254 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14255 else
14256 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14257 fi
14258 cache=yes
14259
14260 else
14261
14262 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14263 if test "x$LINE" != x ; then
14264 eval "DEFAULT_$LINE"
14265 cache=yes
14266 else
14267 cache=no
14268 fi
14269
14270 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14271
14272 fi
14273
14274
14275 eval "$wx_cv_use_aboutdlg"
14276 if test "x$cache" = xyes; then
14277 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14278 fi
14279
14280 if test x"$enablestring" = xdisable; then
14281 if test $wxUSE_ABOUTDLG = yes; then
14282 result=no
14283 else
14284 result=yes
14285 fi
14286 else
14287 result=$wxUSE_ABOUTDLG
14288 fi
14289
14290 { echo "$as_me:$LINENO: result: $result" >&5
14291 echo "${ECHO_T}$result" >&6; }
14292
14293
14294 enablestring=
14295 defaultval=$wxUSE_ALL_FEATURES
14296 if test -z "$defaultval"; then
14297 if test x"$enablestring" = xdisable; then
14298 defaultval=yes
14299 else
14300 defaultval=no
14301 fi
14302 fi
14303
14304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14306 # Check whether --enable-choicedlg was given.
14307 if test "${enable_choicedlg+set}" = set; then
14308 enableval=$enable_choicedlg;
14309 if test "$enableval" = yes; then
14310 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14311 else
14312 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14313 fi
14314 cache=yes
14315
14316 else
14317
14318 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14319 if test "x$LINE" != x ; then
14320 eval "DEFAULT_$LINE"
14321 cache=yes
14322 else
14323 cache=no
14324 fi
14325
14326 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14327
14328 fi
14329
14330
14331 eval "$wx_cv_use_choicedlg"
14332 if test "x$cache" = xyes; then
14333 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14334 fi
14335
14336 if test x"$enablestring" = xdisable; then
14337 if test $wxUSE_CHOICEDLG = yes; then
14338 result=no
14339 else
14340 result=yes
14341 fi
14342 else
14343 result=$wxUSE_CHOICEDLG
14344 fi
14345
14346 { echo "$as_me:$LINENO: result: $result" >&5
14347 echo "${ECHO_T}$result" >&6; }
14348
14349
14350 enablestring=
14351 defaultval=$wxUSE_ALL_FEATURES
14352 if test -z "$defaultval"; then
14353 if test x"$enablestring" = xdisable; then
14354 defaultval=yes
14355 else
14356 defaultval=no
14357 fi
14358 fi
14359
14360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14361 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14362 # Check whether --enable-coldlg was given.
14363 if test "${enable_coldlg+set}" = set; then
14364 enableval=$enable_coldlg;
14365 if test "$enableval" = yes; then
14366 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14367 else
14368 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14369 fi
14370 cache=yes
14371
14372 else
14373
14374 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14375 if test "x$LINE" != x ; then
14376 eval "DEFAULT_$LINE"
14377 cache=yes
14378 else
14379 cache=no
14380 fi
14381
14382 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14383
14384 fi
14385
14386
14387 eval "$wx_cv_use_coldlg"
14388 if test "x$cache" = xyes; then
14389 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14390 fi
14391
14392 if test x"$enablestring" = xdisable; then
14393 if test $wxUSE_COLOURDLG = yes; then
14394 result=no
14395 else
14396 result=yes
14397 fi
14398 else
14399 result=$wxUSE_COLOURDLG
14400 fi
14401
14402 { echo "$as_me:$LINENO: result: $result" >&5
14403 echo "${ECHO_T}$result" >&6; }
14404
14405
14406 enablestring=
14407 defaultval=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x"$enablestring" = xdisable; then
14410 defaultval=yes
14411 else
14412 defaultval=no
14413 fi
14414 fi
14415
14416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14417 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14418 # Check whether --enable-filedlg was given.
14419 if test "${enable_filedlg+set}" = set; then
14420 enableval=$enable_filedlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14423 else
14424 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14425 fi
14426 cache=yes
14427
14428 else
14429
14430 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14431 if test "x$LINE" != x ; then
14432 eval "DEFAULT_$LINE"
14433 cache=yes
14434 else
14435 cache=no
14436 fi
14437
14438 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14439
14440 fi
14441
14442
14443 eval "$wx_cv_use_filedlg"
14444 if test "x$cache" = xyes; then
14445 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14446 fi
14447
14448 if test x"$enablestring" = xdisable; then
14449 if test $wxUSE_FILEDLG = yes; then
14450 result=no
14451 else
14452 result=yes
14453 fi
14454 else
14455 result=$wxUSE_FILEDLG
14456 fi
14457
14458 { echo "$as_me:$LINENO: result: $result" >&5
14459 echo "${ECHO_T}$result" >&6; }
14460
14461
14462 enablestring=
14463 defaultval=$wxUSE_ALL_FEATURES
14464 if test -z "$defaultval"; then
14465 if test x"$enablestring" = xdisable; then
14466 defaultval=yes
14467 else
14468 defaultval=no
14469 fi
14470 fi
14471
14472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14473 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14474 # Check whether --enable-finddlg was given.
14475 if test "${enable_finddlg+set}" = set; then
14476 enableval=$enable_finddlg;
14477 if test "$enableval" = yes; then
14478 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14479 else
14480 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14481 fi
14482 cache=yes
14483
14484 else
14485
14486 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14487 if test "x$LINE" != x ; then
14488 eval "DEFAULT_$LINE"
14489 cache=yes
14490 else
14491 cache=no
14492 fi
14493
14494 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14495
14496 fi
14497
14498
14499 eval "$wx_cv_use_finddlg"
14500 if test "x$cache" = xyes; then
14501 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14502 fi
14503
14504 if test x"$enablestring" = xdisable; then
14505 if test $wxUSE_FINDREPLDLG = yes; then
14506 result=no
14507 else
14508 result=yes
14509 fi
14510 else
14511 result=$wxUSE_FINDREPLDLG
14512 fi
14513
14514 { echo "$as_me:$LINENO: result: $result" >&5
14515 echo "${ECHO_T}$result" >&6; }
14516
14517
14518 enablestring=
14519 defaultval=$wxUSE_ALL_FEATURES
14520 if test -z "$defaultval"; then
14521 if test x"$enablestring" = xdisable; then
14522 defaultval=yes
14523 else
14524 defaultval=no
14525 fi
14526 fi
14527
14528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14529 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14530 # Check whether --enable-fontdlg was given.
14531 if test "${enable_fontdlg+set}" = set; then
14532 enableval=$enable_fontdlg;
14533 if test "$enableval" = yes; then
14534 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14535 else
14536 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14537 fi
14538 cache=yes
14539
14540 else
14541
14542 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14543 if test "x$LINE" != x ; then
14544 eval "DEFAULT_$LINE"
14545 cache=yes
14546 else
14547 cache=no
14548 fi
14549
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14551
14552 fi
14553
14554
14555 eval "$wx_cv_use_fontdlg"
14556 if test "x$cache" = xyes; then
14557 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14558 fi
14559
14560 if test x"$enablestring" = xdisable; then
14561 if test $wxUSE_FONTDLG = yes; then
14562 result=no
14563 else
14564 result=yes
14565 fi
14566 else
14567 result=$wxUSE_FONTDLG
14568 fi
14569
14570 { echo "$as_me:$LINENO: result: $result" >&5
14571 echo "${ECHO_T}$result" >&6; }
14572
14573
14574 enablestring=
14575 defaultval=$wxUSE_ALL_FEATURES
14576 if test -z "$defaultval"; then
14577 if test x"$enablestring" = xdisable; then
14578 defaultval=yes
14579 else
14580 defaultval=no
14581 fi
14582 fi
14583
14584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14585 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14586 # Check whether --enable-dirdlg was given.
14587 if test "${enable_dirdlg+set}" = set; then
14588 enableval=$enable_dirdlg;
14589 if test "$enableval" = yes; then
14590 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14591 else
14592 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14593 fi
14594 cache=yes
14595
14596 else
14597
14598 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14599 if test "x$LINE" != x ; then
14600 eval "DEFAULT_$LINE"
14601 cache=yes
14602 else
14603 cache=no
14604 fi
14605
14606 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14607
14608 fi
14609
14610
14611 eval "$wx_cv_use_dirdlg"
14612 if test "x$cache" = xyes; then
14613 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14614 fi
14615
14616 if test x"$enablestring" = xdisable; then
14617 if test $wxUSE_DIRDLG = yes; then
14618 result=no
14619 else
14620 result=yes
14621 fi
14622 else
14623 result=$wxUSE_DIRDLG
14624 fi
14625
14626 { echo "$as_me:$LINENO: result: $result" >&5
14627 echo "${ECHO_T}$result" >&6; }
14628
14629
14630 enablestring=
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14634 defaultval=yes
14635 else
14636 defaultval=no
14637 fi
14638 fi
14639
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14642 # Check whether --enable-msgdlg was given.
14643 if test "${enable_msgdlg+set}" = set; then
14644 enableval=$enable_msgdlg;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14647 else
14648 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14649 fi
14650 cache=yes
14651
14652 else
14653
14654 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14655 if test "x$LINE" != x ; then
14656 eval "DEFAULT_$LINE"
14657 cache=yes
14658 else
14659 cache=no
14660 fi
14661
14662 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14663
14664 fi
14665
14666
14667 eval "$wx_cv_use_msgdlg"
14668 if test "x$cache" = xyes; then
14669 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14670 fi
14671
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_MSGDLG = yes; then
14674 result=no
14675 else
14676 result=yes
14677 fi
14678 else
14679 result=$wxUSE_MSGDLG
14680 fi
14681
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14684
14685
14686 enablestring=
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14690 defaultval=yes
14691 else
14692 defaultval=no
14693 fi
14694 fi
14695
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14698 # Check whether --enable-numberdlg was given.
14699 if test "${enable_numberdlg+set}" = set; then
14700 enableval=$enable_numberdlg;
14701 if test "$enableval" = yes; then
14702 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14703 else
14704 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14705 fi
14706 cache=yes
14707
14708 else
14709
14710 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14711 if test "x$LINE" != x ; then
14712 eval "DEFAULT_$LINE"
14713 cache=yes
14714 else
14715 cache=no
14716 fi
14717
14718 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14719
14720 fi
14721
14722
14723 eval "$wx_cv_use_numberdlg"
14724 if test "x$cache" = xyes; then
14725 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14726 fi
14727
14728 if test x"$enablestring" = xdisable; then
14729 if test $wxUSE_NUMBERDLG = yes; then
14730 result=no
14731 else
14732 result=yes
14733 fi
14734 else
14735 result=$wxUSE_NUMBERDLG
14736 fi
14737
14738 { echo "$as_me:$LINENO: result: $result" >&5
14739 echo "${ECHO_T}$result" >&6; }
14740
14741
14742 enablestring=
14743 defaultval=$wxUSE_ALL_FEATURES
14744 if test -z "$defaultval"; then
14745 if test x"$enablestring" = xdisable; then
14746 defaultval=yes
14747 else
14748 defaultval=no
14749 fi
14750 fi
14751
14752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14753 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14754 # Check whether --enable-splash was given.
14755 if test "${enable_splash+set}" = set; then
14756 enableval=$enable_splash;
14757 if test "$enableval" = yes; then
14758 wx_cv_use_splash='wxUSE_SPLASH=yes'
14759 else
14760 wx_cv_use_splash='wxUSE_SPLASH=no'
14761 fi
14762 cache=yes
14763
14764 else
14765
14766 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14767 if test "x$LINE" != x ; then
14768 eval "DEFAULT_$LINE"
14769 cache=yes
14770 else
14771 cache=no
14772 fi
14773
14774 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14775
14776 fi
14777
14778
14779 eval "$wx_cv_use_splash"
14780 if test "x$cache" = xyes; then
14781 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14782 fi
14783
14784 if test x"$enablestring" = xdisable; then
14785 if test $wxUSE_SPLASH = yes; then
14786 result=no
14787 else
14788 result=yes
14789 fi
14790 else
14791 result=$wxUSE_SPLASH
14792 fi
14793
14794 { echo "$as_me:$LINENO: result: $result" >&5
14795 echo "${ECHO_T}$result" >&6; }
14796
14797
14798 enablestring=
14799 defaultval=$wxUSE_ALL_FEATURES
14800 if test -z "$defaultval"; then
14801 if test x"$enablestring" = xdisable; then
14802 defaultval=yes
14803 else
14804 defaultval=no
14805 fi
14806 fi
14807
14808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14809 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14810 # Check whether --enable-textdlg was given.
14811 if test "${enable_textdlg+set}" = set; then
14812 enableval=$enable_textdlg;
14813 if test "$enableval" = yes; then
14814 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14815 else
14816 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14817 fi
14818 cache=yes
14819
14820 else
14821
14822 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14823 if test "x$LINE" != x ; then
14824 eval "DEFAULT_$LINE"
14825 cache=yes
14826 else
14827 cache=no
14828 fi
14829
14830 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14831
14832 fi
14833
14834
14835 eval "$wx_cv_use_textdlg"
14836 if test "x$cache" = xyes; then
14837 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14838 fi
14839
14840 if test x"$enablestring" = xdisable; then
14841 if test $wxUSE_TEXTDLG = yes; then
14842 result=no
14843 else
14844 result=yes
14845 fi
14846 else
14847 result=$wxUSE_TEXTDLG
14848 fi
14849
14850 { echo "$as_me:$LINENO: result: $result" >&5
14851 echo "${ECHO_T}$result" >&6; }
14852
14853
14854 enablestring=
14855 defaultval=$wxUSE_ALL_FEATURES
14856 if test -z "$defaultval"; then
14857 if test x"$enablestring" = xdisable; then
14858 defaultval=yes
14859 else
14860 defaultval=no
14861 fi
14862 fi
14863
14864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14865 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14866 # Check whether --enable-tipdlg was given.
14867 if test "${enable_tipdlg+set}" = set; then
14868 enableval=$enable_tipdlg;
14869 if test "$enableval" = yes; then
14870 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14871 else
14872 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14873 fi
14874 cache=yes
14875
14876 else
14877
14878 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14879 if test "x$LINE" != x ; then
14880 eval "DEFAULT_$LINE"
14881 cache=yes
14882 else
14883 cache=no
14884 fi
14885
14886 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14887
14888 fi
14889
14890
14891 eval "$wx_cv_use_tipdlg"
14892 if test "x$cache" = xyes; then
14893 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14894 fi
14895
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_STARTUP_TIPS = yes; then
14898 result=no
14899 else
14900 result=yes
14901 fi
14902 else
14903 result=$wxUSE_STARTUP_TIPS
14904 fi
14905
14906 { echo "$as_me:$LINENO: result: $result" >&5
14907 echo "${ECHO_T}$result" >&6; }
14908
14909
14910 enablestring=
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14914 defaultval=yes
14915 else
14916 defaultval=no
14917 fi
14918 fi
14919
14920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14921 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14922 # Check whether --enable-progressdlg was given.
14923 if test "${enable_progressdlg+set}" = set; then
14924 enableval=$enable_progressdlg;
14925 if test "$enableval" = yes; then
14926 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14927 else
14928 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14929 fi
14930 cache=yes
14931
14932 else
14933
14934 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14935 if test "x$LINE" != x ; then
14936 eval "DEFAULT_$LINE"
14937 cache=yes
14938 else
14939 cache=no
14940 fi
14941
14942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14943
14944 fi
14945
14946
14947 eval "$wx_cv_use_progressdlg"
14948 if test "x$cache" = xyes; then
14949 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14950 fi
14951
14952 if test x"$enablestring" = xdisable; then
14953 if test $wxUSE_PROGRESSDLG = yes; then
14954 result=no
14955 else
14956 result=yes
14957 fi
14958 else
14959 result=$wxUSE_PROGRESSDLG
14960 fi
14961
14962 { echo "$as_me:$LINENO: result: $result" >&5
14963 echo "${ECHO_T}$result" >&6; }
14964
14965
14966 enablestring=
14967 defaultval=$wxUSE_ALL_FEATURES
14968 if test -z "$defaultval"; then
14969 if test x"$enablestring" = xdisable; then
14970 defaultval=yes
14971 else
14972 defaultval=no
14973 fi
14974 fi
14975
14976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14977 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14978 # Check whether --enable-wizarddlg was given.
14979 if test "${enable_wizarddlg+set}" = set; then
14980 enableval=$enable_wizarddlg;
14981 if test "$enableval" = yes; then
14982 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14983 else
14984 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14985 fi
14986 cache=yes
14987
14988 else
14989
14990 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14991 if test "x$LINE" != x ; then
14992 eval "DEFAULT_$LINE"
14993 cache=yes
14994 else
14995 cache=no
14996 fi
14997
14998 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14999
15000 fi
15001
15002
15003 eval "$wx_cv_use_wizarddlg"
15004 if test "x$cache" = xyes; then
15005 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15006 fi
15007
15008 if test x"$enablestring" = xdisable; then
15009 if test $wxUSE_WIZARDDLG = yes; then
15010 result=no
15011 else
15012 result=yes
15013 fi
15014 else
15015 result=$wxUSE_WIZARDDLG
15016 fi
15017
15018 { echo "$as_me:$LINENO: result: $result" >&5
15019 echo "${ECHO_T}$result" >&6; }
15020
15021
15022
15023
15024 enablestring=
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15028 defaultval=yes
15029 else
15030 defaultval=no
15031 fi
15032 fi
15033
15034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15035 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15036 # Check whether --enable-menus was given.
15037 if test "${enable_menus+set}" = set; then
15038 enableval=$enable_menus;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_menus='wxUSE_MENUS=yes'
15041 else
15042 wx_cv_use_menus='wxUSE_MENUS=no'
15043 fi
15044 cache=yes
15045
15046 else
15047
15048 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15049 if test "x$LINE" != x ; then
15050 eval "DEFAULT_$LINE"
15051 cache=yes
15052 else
15053 cache=no
15054 fi
15055
15056 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15057
15058 fi
15059
15060
15061 eval "$wx_cv_use_menus"
15062 if test "x$cache" = xyes; then
15063 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15064 fi
15065
15066 if test x"$enablestring" = xdisable; then
15067 if test $wxUSE_MENUS = yes; then
15068 result=no
15069 else
15070 result=yes
15071 fi
15072 else
15073 result=$wxUSE_MENUS
15074 fi
15075
15076 { echo "$as_me:$LINENO: result: $result" >&5
15077 echo "${ECHO_T}$result" >&6; }
15078
15079
15080 enablestring=
15081 defaultval=$wxUSE_ALL_FEATURES
15082 if test -z "$defaultval"; then
15083 if test x"$enablestring" = xdisable; then
15084 defaultval=yes
15085 else
15086 defaultval=no
15087 fi
15088 fi
15089
15090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15091 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15092 # Check whether --enable-miniframe was given.
15093 if test "${enable_miniframe+set}" = set; then
15094 enableval=$enable_miniframe;
15095 if test "$enableval" = yes; then
15096 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15097 else
15098 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15099 fi
15100 cache=yes
15101
15102 else
15103
15104 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15105 if test "x$LINE" != x ; then
15106 eval "DEFAULT_$LINE"
15107 cache=yes
15108 else
15109 cache=no
15110 fi
15111
15112 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15113
15114 fi
15115
15116
15117 eval "$wx_cv_use_miniframe"
15118 if test "x$cache" = xyes; then
15119 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15120 fi
15121
15122 if test x"$enablestring" = xdisable; then
15123 if test $wxUSE_MINIFRAME = yes; then
15124 result=no
15125 else
15126 result=yes
15127 fi
15128 else
15129 result=$wxUSE_MINIFRAME
15130 fi
15131
15132 { echo "$as_me:$LINENO: result: $result" >&5
15133 echo "${ECHO_T}$result" >&6; }
15134
15135
15136 enablestring=
15137 defaultval=$wxUSE_ALL_FEATURES
15138 if test -z "$defaultval"; then
15139 if test x"$enablestring" = xdisable; then
15140 defaultval=yes
15141 else
15142 defaultval=no
15143 fi
15144 fi
15145
15146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15147 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15148 # Check whether --enable-tooltips was given.
15149 if test "${enable_tooltips+set}" = set; then
15150 enableval=$enable_tooltips;
15151 if test "$enableval" = yes; then
15152 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15153 else
15154 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15155 fi
15156 cache=yes
15157
15158 else
15159
15160 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15161 if test "x$LINE" != x ; then
15162 eval "DEFAULT_$LINE"
15163 cache=yes
15164 else
15165 cache=no
15166 fi
15167
15168 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15169
15170 fi
15171
15172
15173 eval "$wx_cv_use_tooltips"
15174 if test "x$cache" = xyes; then
15175 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15176 fi
15177
15178 if test x"$enablestring" = xdisable; then
15179 if test $wxUSE_TOOLTIPS = yes; then
15180 result=no
15181 else
15182 result=yes
15183 fi
15184 else
15185 result=$wxUSE_TOOLTIPS
15186 fi
15187
15188 { echo "$as_me:$LINENO: result: $result" >&5
15189 echo "${ECHO_T}$result" >&6; }
15190
15191
15192 enablestring=
15193 defaultval=$wxUSE_ALL_FEATURES
15194 if test -z "$defaultval"; then
15195 if test x"$enablestring" = xdisable; then
15196 defaultval=yes
15197 else
15198 defaultval=no
15199 fi
15200 fi
15201
15202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15203 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15204 # Check whether --enable-splines was given.
15205 if test "${enable_splines+set}" = set; then
15206 enableval=$enable_splines;
15207 if test "$enableval" = yes; then
15208 wx_cv_use_splines='wxUSE_SPLINES=yes'
15209 else
15210 wx_cv_use_splines='wxUSE_SPLINES=no'
15211 fi
15212 cache=yes
15213
15214 else
15215
15216 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15217 if test "x$LINE" != x ; then
15218 eval "DEFAULT_$LINE"
15219 cache=yes
15220 else
15221 cache=no
15222 fi
15223
15224 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15225
15226 fi
15227
15228
15229 eval "$wx_cv_use_splines"
15230 if test "x$cache" = xyes; then
15231 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15232 fi
15233
15234 if test x"$enablestring" = xdisable; then
15235 if test $wxUSE_SPLINES = yes; then
15236 result=no
15237 else
15238 result=yes
15239 fi
15240 else
15241 result=$wxUSE_SPLINES
15242 fi
15243
15244 { echo "$as_me:$LINENO: result: $result" >&5
15245 echo "${ECHO_T}$result" >&6; }
15246
15247
15248 enablestring=
15249 defaultval=$wxUSE_ALL_FEATURES
15250 if test -z "$defaultval"; then
15251 if test x"$enablestring" = xdisable; then
15252 defaultval=yes
15253 else
15254 defaultval=no
15255 fi
15256 fi
15257
15258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15259 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15260 # Check whether --enable-mousewheel was given.
15261 if test "${enable_mousewheel+set}" = set; then
15262 enableval=$enable_mousewheel;
15263 if test "$enableval" = yes; then
15264 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15265 else
15266 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15267 fi
15268 cache=yes
15269
15270 else
15271
15272 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15273 if test "x$LINE" != x ; then
15274 eval "DEFAULT_$LINE"
15275 cache=yes
15276 else
15277 cache=no
15278 fi
15279
15280 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15281
15282 fi
15283
15284
15285 eval "$wx_cv_use_mousewheel"
15286 if test "x$cache" = xyes; then
15287 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15288 fi
15289
15290 if test x"$enablestring" = xdisable; then
15291 if test $wxUSE_MOUSEWHEEL = yes; then
15292 result=no
15293 else
15294 result=yes
15295 fi
15296 else
15297 result=$wxUSE_MOUSEWHEEL
15298 fi
15299
15300 { echo "$as_me:$LINENO: result: $result" >&5
15301 echo "${ECHO_T}$result" >&6; }
15302
15303
15304 enablestring=
15305 defaultval=$wxUSE_ALL_FEATURES
15306 if test -z "$defaultval"; then
15307 if test x"$enablestring" = xdisable; then
15308 defaultval=yes
15309 else
15310 defaultval=no
15311 fi
15312 fi
15313
15314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15315 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15316 # Check whether --enable-validators was given.
15317 if test "${enable_validators+set}" = set; then
15318 enableval=$enable_validators;
15319 if test "$enableval" = yes; then
15320 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15321 else
15322 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15323 fi
15324 cache=yes
15325
15326 else
15327
15328 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15329 if test "x$LINE" != x ; then
15330 eval "DEFAULT_$LINE"
15331 cache=yes
15332 else
15333 cache=no
15334 fi
15335
15336 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15337
15338 fi
15339
15340
15341 eval "$wx_cv_use_validators"
15342 if test "x$cache" = xyes; then
15343 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15344 fi
15345
15346 if test x"$enablestring" = xdisable; then
15347 if test $wxUSE_VALIDATORS = yes; then
15348 result=no
15349 else
15350 result=yes
15351 fi
15352 else
15353 result=$wxUSE_VALIDATORS
15354 fi
15355
15356 { echo "$as_me:$LINENO: result: $result" >&5
15357 echo "${ECHO_T}$result" >&6; }
15358
15359
15360 enablestring=
15361 defaultval=$wxUSE_ALL_FEATURES
15362 if test -z "$defaultval"; then
15363 if test x"$enablestring" = xdisable; then
15364 defaultval=yes
15365 else
15366 defaultval=no
15367 fi
15368 fi
15369
15370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15371 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15372 # Check whether --enable-busyinfo was given.
15373 if test "${enable_busyinfo+set}" = set; then
15374 enableval=$enable_busyinfo;
15375 if test "$enableval" = yes; then
15376 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15377 else
15378 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15379 fi
15380 cache=yes
15381
15382 else
15383
15384 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15385 if test "x$LINE" != x ; then
15386 eval "DEFAULT_$LINE"
15387 cache=yes
15388 else
15389 cache=no
15390 fi
15391
15392 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15393
15394 fi
15395
15396
15397 eval "$wx_cv_use_busyinfo"
15398 if test "x$cache" = xyes; then
15399 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15400 fi
15401
15402 if test x"$enablestring" = xdisable; then
15403 if test $wxUSE_BUSYINFO = yes; then
15404 result=no
15405 else
15406 result=yes
15407 fi
15408 else
15409 result=$wxUSE_BUSYINFO
15410 fi
15411
15412 { echo "$as_me:$LINENO: result: $result" >&5
15413 echo "${ECHO_T}$result" >&6; }
15414
15415
15416 enablestring=
15417 defaultval=$wxUSE_ALL_FEATURES
15418 if test -z "$defaultval"; then
15419 if test x"$enablestring" = xdisable; then
15420 defaultval=yes
15421 else
15422 defaultval=no
15423 fi
15424 fi
15425
15426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15427 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15428 # Check whether --enable-joystick was given.
15429 if test "${enable_joystick+set}" = set; then
15430 enableval=$enable_joystick;
15431 if test "$enableval" = yes; then
15432 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15433 else
15434 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15435 fi
15436 cache=yes
15437
15438 else
15439
15440 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15441 if test "x$LINE" != x ; then
15442 eval "DEFAULT_$LINE"
15443 cache=yes
15444 else
15445 cache=no
15446 fi
15447
15448 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15449
15450 fi
15451
15452
15453 eval "$wx_cv_use_joystick"
15454 if test "x$cache" = xyes; then
15455 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15456 fi
15457
15458 if test x"$enablestring" = xdisable; then
15459 if test $wxUSE_JOYSTICK = yes; then
15460 result=no
15461 else
15462 result=yes
15463 fi
15464 else
15465 result=$wxUSE_JOYSTICK
15466 fi
15467
15468 { echo "$as_me:$LINENO: result: $result" >&5
15469 echo "${ECHO_T}$result" >&6; }
15470
15471
15472 enablestring=
15473 defaultval=$wxUSE_ALL_FEATURES
15474 if test -z "$defaultval"; then
15475 if test x"$enablestring" = xdisable; then
15476 defaultval=yes
15477 else
15478 defaultval=no
15479 fi
15480 fi
15481
15482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15483 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15484 # Check whether --enable-metafile was given.
15485 if test "${enable_metafile+set}" = set; then
15486 enableval=$enable_metafile;
15487 if test "$enableval" = yes; then
15488 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15489 else
15490 wx_cv_use_metafile='wxUSE_METAFILE=no'
15491 fi
15492 cache=yes
15493
15494 else
15495
15496 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15497 if test "x$LINE" != x ; then
15498 eval "DEFAULT_$LINE"
15499 cache=yes
15500 else
15501 cache=no
15502 fi
15503
15504 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15505
15506 fi
15507
15508
15509 eval "$wx_cv_use_metafile"
15510 if test "x$cache" = xyes; then
15511 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15512 fi
15513
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_METAFILE = yes; then
15516 result=no
15517 else
15518 result=yes
15519 fi
15520 else
15521 result=$wxUSE_METAFILE
15522 fi
15523
15524 { echo "$as_me:$LINENO: result: $result" >&5
15525 echo "${ECHO_T}$result" >&6; }
15526
15527
15528 enablestring=
15529 defaultval=$wxUSE_ALL_FEATURES
15530 if test -z "$defaultval"; then
15531 if test x"$enablestring" = xdisable; then
15532 defaultval=yes
15533 else
15534 defaultval=no
15535 fi
15536 fi
15537
15538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15539 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15540 # Check whether --enable-dragimage was given.
15541 if test "${enable_dragimage+set}" = set; then
15542 enableval=$enable_dragimage;
15543 if test "$enableval" = yes; then
15544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15545 else
15546 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15547 fi
15548 cache=yes
15549
15550 else
15551
15552 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15553 if test "x$LINE" != x ; then
15554 eval "DEFAULT_$LINE"
15555 cache=yes
15556 else
15557 cache=no
15558 fi
15559
15560 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15561
15562 fi
15563
15564
15565 eval "$wx_cv_use_dragimage"
15566 if test "x$cache" = xyes; then
15567 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15568 fi
15569
15570 if test x"$enablestring" = xdisable; then
15571 if test $wxUSE_DRAGIMAGE = yes; then
15572 result=no
15573 else
15574 result=yes
15575 fi
15576 else
15577 result=$wxUSE_DRAGIMAGE
15578 fi
15579
15580 { echo "$as_me:$LINENO: result: $result" >&5
15581 echo "${ECHO_T}$result" >&6; }
15582
15583
15584 enablestring=
15585 defaultval=$wxUSE_ALL_FEATURES
15586 if test -z "$defaultval"; then
15587 if test x"$enablestring" = xdisable; then
15588 defaultval=yes
15589 else
15590 defaultval=no
15591 fi
15592 fi
15593
15594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15595 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15596 # Check whether --enable-accessibility was given.
15597 if test "${enable_accessibility+set}" = set; then
15598 enableval=$enable_accessibility;
15599 if test "$enableval" = yes; then
15600 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15601 else
15602 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15603 fi
15604 cache=yes
15605
15606 else
15607
15608 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15609 if test "x$LINE" != x ; then
15610 eval "DEFAULT_$LINE"
15611 cache=yes
15612 else
15613 cache=no
15614 fi
15615
15616 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15617
15618 fi
15619
15620
15621 eval "$wx_cv_use_accessibility"
15622 if test "x$cache" = xyes; then
15623 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15624 fi
15625
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_ACCESSIBILITY = yes; then
15628 result=no
15629 else
15630 result=yes
15631 fi
15632 else
15633 result=$wxUSE_ACCESSIBILITY
15634 fi
15635
15636 { echo "$as_me:$LINENO: result: $result" >&5
15637 echo "${ECHO_T}$result" >&6; }
15638
15639
15640
15641
15642 enablestring=
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15646 defaultval=yes
15647 else
15648 defaultval=no
15649 fi
15650 fi
15651
15652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15653 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15654 # Check whether --enable-palette was given.
15655 if test "${enable_palette+set}" = set; then
15656 enableval=$enable_palette;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_palette='wxUSE_PALETTE=yes'
15659 else
15660 wx_cv_use_palette='wxUSE_PALETTE=no'
15661 fi
15662 cache=yes
15663
15664 else
15665
15666 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15667 if test "x$LINE" != x ; then
15668 eval "DEFAULT_$LINE"
15669 cache=yes
15670 else
15671 cache=no
15672 fi
15673
15674 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15675
15676 fi
15677
15678
15679 eval "$wx_cv_use_palette"
15680 if test "x$cache" = xyes; then
15681 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15682 fi
15683
15684 if test x"$enablestring" = xdisable; then
15685 if test $wxUSE_PALETTE = yes; then
15686 result=no
15687 else
15688 result=yes
15689 fi
15690 else
15691 result=$wxUSE_PALETTE
15692 fi
15693
15694 { echo "$as_me:$LINENO: result: $result" >&5
15695 echo "${ECHO_T}$result" >&6; }
15696
15697
15698 enablestring=
15699 defaultval=$wxUSE_ALL_FEATURES
15700 if test -z "$defaultval"; then
15701 if test x"$enablestring" = xdisable; then
15702 defaultval=yes
15703 else
15704 defaultval=no
15705 fi
15706 fi
15707
15708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15709 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15710 # Check whether --enable-image was given.
15711 if test "${enable_image+set}" = set; then
15712 enableval=$enable_image;
15713 if test "$enableval" = yes; then
15714 wx_cv_use_image='wxUSE_IMAGE=yes'
15715 else
15716 wx_cv_use_image='wxUSE_IMAGE=no'
15717 fi
15718 cache=yes
15719
15720 else
15721
15722 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15723 if test "x$LINE" != x ; then
15724 eval "DEFAULT_$LINE"
15725 cache=yes
15726 else
15727 cache=no
15728 fi
15729
15730 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15731
15732 fi
15733
15734
15735 eval "$wx_cv_use_image"
15736 if test "x$cache" = xyes; then
15737 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15738 fi
15739
15740 if test x"$enablestring" = xdisable; then
15741 if test $wxUSE_IMAGE = yes; then
15742 result=no
15743 else
15744 result=yes
15745 fi
15746 else
15747 result=$wxUSE_IMAGE
15748 fi
15749
15750 { echo "$as_me:$LINENO: result: $result" >&5
15751 echo "${ECHO_T}$result" >&6; }
15752
15753
15754 enablestring=
15755 defaultval=$wxUSE_ALL_FEATURES
15756 if test -z "$defaultval"; then
15757 if test x"$enablestring" = xdisable; then
15758 defaultval=yes
15759 else
15760 defaultval=no
15761 fi
15762 fi
15763
15764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15765 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15766 # Check whether --enable-gif was given.
15767 if test "${enable_gif+set}" = set; then
15768 enableval=$enable_gif;
15769 if test "$enableval" = yes; then
15770 wx_cv_use_gif='wxUSE_GIF=yes'
15771 else
15772 wx_cv_use_gif='wxUSE_GIF=no'
15773 fi
15774 cache=yes
15775
15776 else
15777
15778 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15779 if test "x$LINE" != x ; then
15780 eval "DEFAULT_$LINE"
15781 cache=yes
15782 else
15783 cache=no
15784 fi
15785
15786 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15787
15788 fi
15789
15790
15791 eval "$wx_cv_use_gif"
15792 if test "x$cache" = xyes; then
15793 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15794 fi
15795
15796 if test x"$enablestring" = xdisable; then
15797 if test $wxUSE_GIF = yes; then
15798 result=no
15799 else
15800 result=yes
15801 fi
15802 else
15803 result=$wxUSE_GIF
15804 fi
15805
15806 { echo "$as_me:$LINENO: result: $result" >&5
15807 echo "${ECHO_T}$result" >&6; }
15808
15809
15810 enablestring=
15811 defaultval=$wxUSE_ALL_FEATURES
15812 if test -z "$defaultval"; then
15813 if test x"$enablestring" = xdisable; then
15814 defaultval=yes
15815 else
15816 defaultval=no
15817 fi
15818 fi
15819
15820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15821 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15822 # Check whether --enable-pcx was given.
15823 if test "${enable_pcx+set}" = set; then
15824 enableval=$enable_pcx;
15825 if test "$enableval" = yes; then
15826 wx_cv_use_pcx='wxUSE_PCX=yes'
15827 else
15828 wx_cv_use_pcx='wxUSE_PCX=no'
15829 fi
15830 cache=yes
15831
15832 else
15833
15834 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15835 if test "x$LINE" != x ; then
15836 eval "DEFAULT_$LINE"
15837 cache=yes
15838 else
15839 cache=no
15840 fi
15841
15842 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15843
15844 fi
15845
15846
15847 eval "$wx_cv_use_pcx"
15848 if test "x$cache" = xyes; then
15849 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15850 fi
15851
15852 if test x"$enablestring" = xdisable; then
15853 if test $wxUSE_PCX = yes; then
15854 result=no
15855 else
15856 result=yes
15857 fi
15858 else
15859 result=$wxUSE_PCX
15860 fi
15861
15862 { echo "$as_me:$LINENO: result: $result" >&5
15863 echo "${ECHO_T}$result" >&6; }
15864
15865
15866 enablestring=
15867 defaultval=$wxUSE_ALL_FEATURES
15868 if test -z "$defaultval"; then
15869 if test x"$enablestring" = xdisable; then
15870 defaultval=yes
15871 else
15872 defaultval=no
15873 fi
15874 fi
15875
15876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15877 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15878 # Check whether --enable-tga was given.
15879 if test "${enable_tga+set}" = set; then
15880 enableval=$enable_tga;
15881 if test "$enableval" = yes; then
15882 wx_cv_use_tga='wxUSE_TGA=yes'
15883 else
15884 wx_cv_use_tga='wxUSE_TGA=no'
15885 fi
15886 cache=yes
15887
15888 else
15889
15890 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15891 if test "x$LINE" != x ; then
15892 eval "DEFAULT_$LINE"
15893 cache=yes
15894 else
15895 cache=no
15896 fi
15897
15898 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15899
15900 fi
15901
15902
15903 eval "$wx_cv_use_tga"
15904 if test "x$cache" = xyes; then
15905 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15906 fi
15907
15908 if test x"$enablestring" = xdisable; then
15909 if test $wxUSE_TGA = yes; then
15910 result=no
15911 else
15912 result=yes
15913 fi
15914 else
15915 result=$wxUSE_TGA
15916 fi
15917
15918 { echo "$as_me:$LINENO: result: $result" >&5
15919 echo "${ECHO_T}$result" >&6; }
15920
15921
15922 enablestring=
15923 defaultval=$wxUSE_ALL_FEATURES
15924 if test -z "$defaultval"; then
15925 if test x"$enablestring" = xdisable; then
15926 defaultval=yes
15927 else
15928 defaultval=no
15929 fi
15930 fi
15931
15932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15933 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15934 # Check whether --enable-iff was given.
15935 if test "${enable_iff+set}" = set; then
15936 enableval=$enable_iff;
15937 if test "$enableval" = yes; then
15938 wx_cv_use_iff='wxUSE_IFF=yes'
15939 else
15940 wx_cv_use_iff='wxUSE_IFF=no'
15941 fi
15942 cache=yes
15943
15944 else
15945
15946 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15947 if test "x$LINE" != x ; then
15948 eval "DEFAULT_$LINE"
15949 cache=yes
15950 else
15951 cache=no
15952 fi
15953
15954 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15955
15956 fi
15957
15958
15959 eval "$wx_cv_use_iff"
15960 if test "x$cache" = xyes; then
15961 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15962 fi
15963
15964 if test x"$enablestring" = xdisable; then
15965 if test $wxUSE_IFF = yes; then
15966 result=no
15967 else
15968 result=yes
15969 fi
15970 else
15971 result=$wxUSE_IFF
15972 fi
15973
15974 { echo "$as_me:$LINENO: result: $result" >&5
15975 echo "${ECHO_T}$result" >&6; }
15976
15977
15978 enablestring=
15979 defaultval=$wxUSE_ALL_FEATURES
15980 if test -z "$defaultval"; then
15981 if test x"$enablestring" = xdisable; then
15982 defaultval=yes
15983 else
15984 defaultval=no
15985 fi
15986 fi
15987
15988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15989 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15990 # Check whether --enable-pnm was given.
15991 if test "${enable_pnm+set}" = set; then
15992 enableval=$enable_pnm;
15993 if test "$enableval" = yes; then
15994 wx_cv_use_pnm='wxUSE_PNM=yes'
15995 else
15996 wx_cv_use_pnm='wxUSE_PNM=no'
15997 fi
15998 cache=yes
15999
16000 else
16001
16002 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16003 if test "x$LINE" != x ; then
16004 eval "DEFAULT_$LINE"
16005 cache=yes
16006 else
16007 cache=no
16008 fi
16009
16010 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16011
16012 fi
16013
16014
16015 eval "$wx_cv_use_pnm"
16016 if test "x$cache" = xyes; then
16017 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16018 fi
16019
16020 if test x"$enablestring" = xdisable; then
16021 if test $wxUSE_PNM = yes; then
16022 result=no
16023 else
16024 result=yes
16025 fi
16026 else
16027 result=$wxUSE_PNM
16028 fi
16029
16030 { echo "$as_me:$LINENO: result: $result" >&5
16031 echo "${ECHO_T}$result" >&6; }
16032
16033
16034 enablestring=
16035 defaultval=$wxUSE_ALL_FEATURES
16036 if test -z "$defaultval"; then
16037 if test x"$enablestring" = xdisable; then
16038 defaultval=yes
16039 else
16040 defaultval=no
16041 fi
16042 fi
16043
16044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16045 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16046 # Check whether --enable-xpm was given.
16047 if test "${enable_xpm+set}" = set; then
16048 enableval=$enable_xpm;
16049 if test "$enableval" = yes; then
16050 wx_cv_use_xpm='wxUSE_XPM=yes'
16051 else
16052 wx_cv_use_xpm='wxUSE_XPM=no'
16053 fi
16054 cache=yes
16055
16056 else
16057
16058 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16059 if test "x$LINE" != x ; then
16060 eval "DEFAULT_$LINE"
16061 cache=yes
16062 else
16063 cache=no
16064 fi
16065
16066 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16067
16068 fi
16069
16070
16071 eval "$wx_cv_use_xpm"
16072 if test "x$cache" = xyes; then
16073 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16074 fi
16075
16076 if test x"$enablestring" = xdisable; then
16077 if test $wxUSE_XPM = yes; then
16078 result=no
16079 else
16080 result=yes
16081 fi
16082 else
16083 result=$wxUSE_XPM
16084 fi
16085
16086 { echo "$as_me:$LINENO: result: $result" >&5
16087 echo "${ECHO_T}$result" >&6; }
16088
16089
16090 enablestring=
16091 defaultval=$wxUSE_ALL_FEATURES
16092 if test -z "$defaultval"; then
16093 if test x"$enablestring" = xdisable; then
16094 defaultval=yes
16095 else
16096 defaultval=no
16097 fi
16098 fi
16099
16100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16101 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16102 # Check whether --enable-ico_cur was given.
16103 if test "${enable_ico_cur+set}" = set; then
16104 enableval=$enable_ico_cur;
16105 if test "$enableval" = yes; then
16106 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16107 else
16108 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16109 fi
16110 cache=yes
16111
16112 else
16113
16114 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16115 if test "x$LINE" != x ; then
16116 eval "DEFAULT_$LINE"
16117 cache=yes
16118 else
16119 cache=no
16120 fi
16121
16122 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16123
16124 fi
16125
16126
16127 eval "$wx_cv_use_ico_cur"
16128 if test "x$cache" = xyes; then
16129 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16130 fi
16131
16132 if test x"$enablestring" = xdisable; then
16133 if test $wxUSE_ICO_CUR = yes; then
16134 result=no
16135 else
16136 result=yes
16137 fi
16138 else
16139 result=$wxUSE_ICO_CUR
16140 fi
16141
16142 { echo "$as_me:$LINENO: result: $result" >&5
16143 echo "${ECHO_T}$result" >&6; }
16144
16145
16146
16147
16148 enablestring=
16149 defaultval=$wxUSE_ALL_FEATURES
16150 if test -z "$defaultval"; then
16151 if test x"$enablestring" = xdisable; then
16152 defaultval=yes
16153 else
16154 defaultval=no
16155 fi
16156 fi
16157
16158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16159 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16160 # Check whether --enable-dccache was given.
16161 if test "${enable_dccache+set}" = set; then
16162 enableval=$enable_dccache;
16163 if test "$enableval" = yes; then
16164 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16165 else
16166 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16167 fi
16168 cache=yes
16169
16170 else
16171
16172 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16173 if test "x$LINE" != x ; then
16174 eval "DEFAULT_$LINE"
16175 cache=yes
16176 else
16177 cache=no
16178 fi
16179
16180 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16181
16182 fi
16183
16184
16185 eval "$wx_cv_use_dccache"
16186 if test "x$cache" = xyes; then
16187 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16188 fi
16189
16190 if test x"$enablestring" = xdisable; then
16191 if test $wxUSE_DC_CACHEING = yes; then
16192 result=no
16193 else
16194 result=yes
16195 fi
16196 else
16197 result=$wxUSE_DC_CACHEING
16198 fi
16199
16200 { echo "$as_me:$LINENO: result: $result" >&5
16201 echo "${ECHO_T}$result" >&6; }
16202
16203
16204 enablestring=
16205 defaultval=$wxUSE_ALL_FEATURES
16206 if test -z "$defaultval"; then
16207 if test x"$enablestring" = xdisable; then
16208 defaultval=yes
16209 else
16210 defaultval=no
16211 fi
16212 fi
16213
16214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16215 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16216 # Check whether --enable-ps-in-msw was given.
16217 if test "${enable_ps_in_msw+set}" = set; then
16218 enableval=$enable_ps_in_msw;
16219 if test "$enableval" = yes; then
16220 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16221 else
16222 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16223 fi
16224 cache=yes
16225
16226 else
16227
16228 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16229 if test "x$LINE" != x ; then
16230 eval "DEFAULT_$LINE"
16231 cache=yes
16232 else
16233 cache=no
16234 fi
16235
16236 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16237
16238 fi
16239
16240
16241 eval "$wx_cv_use_ps_in_msw"
16242 if test "x$cache" = xyes; then
16243 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16244 fi
16245
16246 if test x"$enablestring" = xdisable; then
16247 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16248 result=no
16249 else
16250 result=yes
16251 fi
16252 else
16253 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16254 fi
16255
16256 { echo "$as_me:$LINENO: result: $result" >&5
16257 echo "${ECHO_T}$result" >&6; }
16258
16259
16260 enablestring=
16261 defaultval=$wxUSE_ALL_FEATURES
16262 if test -z "$defaultval"; then
16263 if test x"$enablestring" = xdisable; then
16264 defaultval=yes
16265 else
16266 defaultval=no
16267 fi
16268 fi
16269
16270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16271 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16272 # Check whether --enable-ownerdrawn was given.
16273 if test "${enable_ownerdrawn+set}" = set; then
16274 enableval=$enable_ownerdrawn;
16275 if test "$enableval" = yes; then
16276 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16277 else
16278 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16279 fi
16280 cache=yes
16281
16282 else
16283
16284 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16285 if test "x$LINE" != x ; then
16286 eval "DEFAULT_$LINE"
16287 cache=yes
16288 else
16289 cache=no
16290 fi
16291
16292 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16293
16294 fi
16295
16296
16297 eval "$wx_cv_use_ownerdrawn"
16298 if test "x$cache" = xyes; then
16299 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16300 fi
16301
16302 if test x"$enablestring" = xdisable; then
16303 if test $wxUSE_OWNER_DRAWN = yes; then
16304 result=no
16305 else
16306 result=yes
16307 fi
16308 else
16309 result=$wxUSE_OWNER_DRAWN
16310 fi
16311
16312 { echo "$as_me:$LINENO: result: $result" >&5
16313 echo "${ECHO_T}$result" >&6; }
16314
16315
16316 enablestring=
16317 defaultval=$wxUSE_ALL_FEATURES
16318 if test -z "$defaultval"; then
16319 if test x"$enablestring" = xdisable; then
16320 defaultval=yes
16321 else
16322 defaultval=no
16323 fi
16324 fi
16325
16326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16327 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16328 # Check whether --enable-uxtheme was given.
16329 if test "${enable_uxtheme+set}" = set; then
16330 enableval=$enable_uxtheme;
16331 if test "$enableval" = yes; then
16332 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16333 else
16334 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16335 fi
16336 cache=yes
16337
16338 else
16339
16340 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16341 if test "x$LINE" != x ; then
16342 eval "DEFAULT_$LINE"
16343 cache=yes
16344 else
16345 cache=no
16346 fi
16347
16348 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16349
16350 fi
16351
16352
16353 eval "$wx_cv_use_uxtheme"
16354 if test "x$cache" = xyes; then
16355 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16356 fi
16357
16358 if test x"$enablestring" = xdisable; then
16359 if test $wxUSE_UXTHEME = yes; then
16360 result=no
16361 else
16362 result=yes
16363 fi
16364 else
16365 result=$wxUSE_UXTHEME
16366 fi
16367
16368 { echo "$as_me:$LINENO: result: $result" >&5
16369 echo "${ECHO_T}$result" >&6; }
16370
16371
16372 enablestring=
16373 defaultval=$wxUSE_ALL_FEATURES
16374 if test -z "$defaultval"; then
16375 if test x"$enablestring" = xdisable; then
16376 defaultval=yes
16377 else
16378 defaultval=no
16379 fi
16380 fi
16381
16382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16383 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16384 # Check whether --enable-wxdib was given.
16385 if test "${enable_wxdib+set}" = set; then
16386 enableval=$enable_wxdib;
16387 if test "$enableval" = yes; then
16388 wx_cv_use_wxdib='wxUSE_DIB=yes'
16389 else
16390 wx_cv_use_wxdib='wxUSE_DIB=no'
16391 fi
16392 cache=yes
16393
16394 else
16395
16396 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16397 if test "x$LINE" != x ; then
16398 eval "DEFAULT_$LINE"
16399 cache=yes
16400 else
16401 cache=no
16402 fi
16403
16404 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16405
16406 fi
16407
16408
16409 eval "$wx_cv_use_wxdib"
16410 if test "x$cache" = xyes; then
16411 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16412 fi
16413
16414 if test x"$enablestring" = xdisable; then
16415 if test $wxUSE_DIB = yes; then
16416 result=no
16417 else
16418 result=yes
16419 fi
16420 else
16421 result=$wxUSE_DIB
16422 fi
16423
16424 { echo "$as_me:$LINENO: result: $result" >&5
16425 echo "${ECHO_T}$result" >&6; }
16426
16427
16428 fi
16429
16430
16431 echo "saving argument cache $wx_arg_cache_file"
16432 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16433
16434
16435
16436 { echo "$as_me:$LINENO: checking for toolkit" >&5
16437 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16438
16439 # In Wine, we need to default to MSW, not GTK or MOTIF
16440 if test "$wxUSE_WINE" = "yes"; then
16441 DEFAULT_DEFAULT_wxUSE_GTK=0
16442 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16443 DEFAULT_DEFAULT_wxUSE_MSW=1
16444 wxUSE_SHARED=no
16445 CC=${CC:-winegcc}
16446 CXX=${CXX:-wineg++}
16447 fi
16448
16449
16450 if test "$wxUSE_GUI" = "yes"; then
16451
16452 if test "$USE_BEOS" = 1; then
16453 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16454 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16455 { (exit 1); exit 1; }; }
16456 fi
16457
16458 if test "$TOOLKIT_GIVEN" = 1; then
16459 for toolkit in $ALL_TOOLKITS; do
16460 var=wxUSE_$toolkit
16461 eval "value=\$${var}"
16462 if test "x$value" = "xno"; then
16463 eval "$var=0"
16464 elif test "x$value" != "x"; then
16465 eval "$var=1"
16466 fi
16467
16468 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16469 eval "wx${toolkit}_VERSION=$value"
16470 fi
16471 done
16472 else
16473 for toolkit in $ALL_TOOLKITS; do
16474 if test "$has_toolkit_in_cache" != 1; then
16475 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16476 else
16477 var=DEFAULT_wxUSE_$toolkit
16478
16479 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16480 if test "x$version" != "x"; then
16481 eval "wx${toolkit}_VERSION=$version"
16482 fi
16483 fi
16484 eval "wxUSE_$toolkit=\$${var}"
16485 done
16486 fi
16487
16488 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16489 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16490 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16491
16492 case "${host}" in
16493 *-pc-os2_emx | *-pc-os2-emx )
16494 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16495 esac
16496
16497 case "$NUM_TOOLKITS" in
16498 1)
16499 ;;
16500 0)
16501 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16502 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16503 { (exit 1); exit 1; }; }
16504 ;;
16505 *)
16506 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16507 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16508 { (exit 1); exit 1; }; }
16509 esac
16510
16511 # to be removed when --disable-gtk2 isn't needed
16512 if test "x$wxUSE_GTK2" = "xyes"; then
16513 wxGTK_VERSION=2
16514 elif test "x$wxUSE_GTK2" = "xno"; then
16515 wxGTK_VERSION=1
16516 fi
16517
16518 for toolkit in $ALL_TOOLKITS; do
16519 var=wxUSE_$toolkit
16520 eval "value=\$${var}"
16521 if test "x$value" != x; then
16522 cache_var=CACHE_$toolkit
16523 eval "cache=\$${cache_var}"
16524 if test "$cache" = 1; then
16525 echo "$var=$value" >> ${wx_arg_cache_file}
16526 eval "version=\$wx${toolkit}_VERSION"
16527 if test "x$version" != "x"; then
16528 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16529 fi
16530 fi
16531 if test "$value" = 1; then
16532 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16533 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16534 echo "${ECHO_T}$toolkit_echo" >&6; }
16535 fi
16536 fi
16537 done
16538 else
16539 if test "x$host_alias" != "x"; then
16540 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16541 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16542 else
16543 { echo "$as_me:$LINENO: result: base only" >&5
16544 echo "${ECHO_T}base only" >&6; }
16545 fi
16546 fi
16547
16548
16549 cat >confcache <<\_ACEOF
16550 # This file is a shell script that caches the results of configure
16551 # tests run on this system so they can be shared between configure
16552 # scripts and configure runs, see configure's option --config-cache.
16553 # It is not useful on other systems. If it contains results you don't
16554 # want to keep, you may remove or edit it.
16555 #
16556 # config.status only pays attention to the cache file if you give it
16557 # the --recheck option to rerun configure.
16558 #
16559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16561 # following values.
16562
16563 _ACEOF
16564
16565 # The following way of writing the cache mishandles newlines in values,
16566 # but we know of no workaround that is simple, portable, and efficient.
16567 # So, we kill variables containing newlines.
16568 # Ultrix sh set writes to stderr and can't be redirected directly,
16569 # and sets the high bit in the cache file unless we assign to the vars.
16570 (
16571 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16572 eval ac_val=\$$ac_var
16573 case $ac_val in #(
16574 *${as_nl}*)
16575 case $ac_var in #(
16576 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16577 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16578 esac
16579 case $ac_var in #(
16580 _ | IFS | as_nl) ;; #(
16581 *) $as_unset $ac_var ;;
16582 esac ;;
16583 esac
16584 done
16585
16586 (set) 2>&1 |
16587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16588 *${as_nl}ac_space=\ *)
16589 # `set' does not quote correctly, so add quotes (double-quote
16590 # substitution turns \\\\ into \\, and sed turns \\ into \).
16591 sed -n \
16592 "s/'/'\\\\''/g;
16593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16594 ;; #(
16595 *)
16596 # `set' quotes correctly as required by POSIX, so do not add quotes.
16597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16598 ;;
16599 esac |
16600 sort
16601 ) |
16602 sed '
16603 /^ac_cv_env_/b end
16604 t clear
16605 :clear
16606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16607 t end
16608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16609 :end' >>confcache
16610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16611 if test -w "$cache_file"; then
16612 test "x$cache_file" != "x/dev/null" &&
16613 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16614 echo "$as_me: updating cache $cache_file" >&6;}
16615 cat confcache >$cache_file
16616 else
16617 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16618 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16619 fi
16620 fi
16621 rm -f confcache
16622
16623 CFLAGS=${CFLAGS:=}
16624
16625
16626
16627 ac_ext=c
16628 ac_cpp='$CPP $CPPFLAGS'
16629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16632 if test -n "$ac_tool_prefix"; then
16633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16634 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16637 if test "${ac_cv_prog_CC+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 if test -n "$CC"; then
16641 ac_cv_prog_CC="$CC" # Let the user override the test.
16642 else
16643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16644 for as_dir in $PATH
16645 do
16646 IFS=$as_save_IFS
16647 test -z "$as_dir" && as_dir=.
16648 for ac_exec_ext in '' $ac_executable_extensions; do
16649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16650 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16652 break 2
16653 fi
16654 done
16655 done
16656 IFS=$as_save_IFS
16657
16658 fi
16659 fi
16660 CC=$ac_cv_prog_CC
16661 if test -n "$CC"; then
16662 { echo "$as_me:$LINENO: result: $CC" >&5
16663 echo "${ECHO_T}$CC" >&6; }
16664 else
16665 { echo "$as_me:$LINENO: result: no" >&5
16666 echo "${ECHO_T}no" >&6; }
16667 fi
16668
16669
16670 fi
16671 if test -z "$ac_cv_prog_CC"; then
16672 ac_ct_CC=$CC
16673 # Extract the first word of "gcc", so it can be a program name with args.
16674 set dummy gcc; ac_word=$2
16675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 else
16680 if test -n "$ac_ct_CC"; then
16681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16682 else
16683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16684 for as_dir in $PATH
16685 do
16686 IFS=$as_save_IFS
16687 test -z "$as_dir" && as_dir=.
16688 for ac_exec_ext in '' $ac_executable_extensions; do
16689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16690 ac_cv_prog_ac_ct_CC="gcc"
16691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16692 break 2
16693 fi
16694 done
16695 done
16696 IFS=$as_save_IFS
16697
16698 fi
16699 fi
16700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16701 if test -n "$ac_ct_CC"; then
16702 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16703 echo "${ECHO_T}$ac_ct_CC" >&6; }
16704 else
16705 { echo "$as_me:$LINENO: result: no" >&5
16706 echo "${ECHO_T}no" >&6; }
16707 fi
16708
16709 if test "x$ac_ct_CC" = x; then
16710 CC=""
16711 else
16712 case $cross_compiling:$ac_tool_warned in
16713 yes:)
16714 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16715 whose name does not start with the host triplet. If you think this
16716 configuration is useful to you, please write to autoconf@gnu.org." >&5
16717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16718 whose name does not start with the host triplet. If you think this
16719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16720 ac_tool_warned=yes ;;
16721 esac
16722 CC=$ac_ct_CC
16723 fi
16724 else
16725 CC="$ac_cv_prog_CC"
16726 fi
16727
16728 if test -z "$CC"; then
16729 if test -n "$ac_tool_prefix"; then
16730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16731 set dummy ${ac_tool_prefix}cc; ac_word=$2
16732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16734 if test "${ac_cv_prog_CC+set}" = set; then
16735 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 else
16737 if test -n "$CC"; then
16738 ac_cv_prog_CC="$CC" # Let the user override the test.
16739 else
16740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16741 for as_dir in $PATH
16742 do
16743 IFS=$as_save_IFS
16744 test -z "$as_dir" && as_dir=.
16745 for ac_exec_ext in '' $ac_executable_extensions; do
16746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16747 ac_cv_prog_CC="${ac_tool_prefix}cc"
16748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16749 break 2
16750 fi
16751 done
16752 done
16753 IFS=$as_save_IFS
16754
16755 fi
16756 fi
16757 CC=$ac_cv_prog_CC
16758 if test -n "$CC"; then
16759 { echo "$as_me:$LINENO: result: $CC" >&5
16760 echo "${ECHO_T}$CC" >&6; }
16761 else
16762 { echo "$as_me:$LINENO: result: no" >&5
16763 echo "${ECHO_T}no" >&6; }
16764 fi
16765
16766
16767 fi
16768 fi
16769 if test -z "$CC"; then
16770 # Extract the first word of "cc", so it can be a program name with args.
16771 set dummy cc; ac_word=$2
16772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16774 if test "${ac_cv_prog_CC+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 if test -n "$CC"; then
16778 ac_cv_prog_CC="$CC" # Let the user override the test.
16779 else
16780 ac_prog_rejected=no
16781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16782 for as_dir in $PATH
16783 do
16784 IFS=$as_save_IFS
16785 test -z "$as_dir" && as_dir=.
16786 for ac_exec_ext in '' $ac_executable_extensions; do
16787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16789 ac_prog_rejected=yes
16790 continue
16791 fi
16792 ac_cv_prog_CC="cc"
16793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16794 break 2
16795 fi
16796 done
16797 done
16798 IFS=$as_save_IFS
16799
16800 if test $ac_prog_rejected = yes; then
16801 # We found a bogon in the path, so make sure we never use it.
16802 set dummy $ac_cv_prog_CC
16803 shift
16804 if test $# != 0; then
16805 # We chose a different compiler from the bogus one.
16806 # However, it has the same basename, so the bogon will be chosen
16807 # first if we set CC to just the basename; use the full file name.
16808 shift
16809 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16810 fi
16811 fi
16812 fi
16813 fi
16814 CC=$ac_cv_prog_CC
16815 if test -n "$CC"; then
16816 { echo "$as_me:$LINENO: result: $CC" >&5
16817 echo "${ECHO_T}$CC" >&6; }
16818 else
16819 { echo "$as_me:$LINENO: result: no" >&5
16820 echo "${ECHO_T}no" >&6; }
16821 fi
16822
16823
16824 fi
16825 if test -z "$CC"; then
16826 if test -n "$ac_tool_prefix"; then
16827 for ac_prog in cl.exe
16828 do
16829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16833 if test "${ac_cv_prog_CC+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 else
16836 if test -n "$CC"; then
16837 ac_cv_prog_CC="$CC" # Let the user override the test.
16838 else
16839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16840 for as_dir in $PATH
16841 do
16842 IFS=$as_save_IFS
16843 test -z "$as_dir" && as_dir=.
16844 for ac_exec_ext in '' $ac_executable_extensions; do
16845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16846 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16848 break 2
16849 fi
16850 done
16851 done
16852 IFS=$as_save_IFS
16853
16854 fi
16855 fi
16856 CC=$ac_cv_prog_CC
16857 if test -n "$CC"; then
16858 { echo "$as_me:$LINENO: result: $CC" >&5
16859 echo "${ECHO_T}$CC" >&6; }
16860 else
16861 { echo "$as_me:$LINENO: result: no" >&5
16862 echo "${ECHO_T}no" >&6; }
16863 fi
16864
16865
16866 test -n "$CC" && break
16867 done
16868 fi
16869 if test -z "$CC"; then
16870 ac_ct_CC=$CC
16871 for ac_prog in cl.exe
16872 do
16873 # Extract the first word of "$ac_prog", so it can be a program name with args.
16874 set dummy $ac_prog; ac_word=$2
16875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880 if test -n "$ac_ct_CC"; then
16881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16882 else
16883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16884 for as_dir in $PATH
16885 do
16886 IFS=$as_save_IFS
16887 test -z "$as_dir" && as_dir=.
16888 for ac_exec_ext in '' $ac_executable_extensions; do
16889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16890 ac_cv_prog_ac_ct_CC="$ac_prog"
16891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16892 break 2
16893 fi
16894 done
16895 done
16896 IFS=$as_save_IFS
16897
16898 fi
16899 fi
16900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16901 if test -n "$ac_ct_CC"; then
16902 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16903 echo "${ECHO_T}$ac_ct_CC" >&6; }
16904 else
16905 { echo "$as_me:$LINENO: result: no" >&5
16906 echo "${ECHO_T}no" >&6; }
16907 fi
16908
16909
16910 test -n "$ac_ct_CC" && break
16911 done
16912
16913 if test "x$ac_ct_CC" = x; then
16914 CC=""
16915 else
16916 case $cross_compiling:$ac_tool_warned in
16917 yes:)
16918 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16919 whose name does not start with the host triplet. If you think this
16920 configuration is useful to you, please write to autoconf@gnu.org." >&5
16921 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16922 whose name does not start with the host triplet. If you think this
16923 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16924 ac_tool_warned=yes ;;
16925 esac
16926 CC=$ac_ct_CC
16927 fi
16928 fi
16929
16930 fi
16931
16932
16933 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: no acceptable C compiler found in \$PATH
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; }
16938
16939 # Provide some information about the compiler.
16940 echo "$as_me:$LINENO: checking for C compiler version" >&5
16941 ac_compiler=`set X $ac_compile; echo $2`
16942 { (ac_try="$ac_compiler --version >&5"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compiler --version >&5") 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }
16952 { (ac_try="$ac_compiler -v >&5"
16953 case "(($ac_try" in
16954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16955 *) ac_try_echo=$ac_try;;
16956 esac
16957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16958 (eval "$ac_compiler -v >&5") 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }
16962 { (ac_try="$ac_compiler -V >&5"
16963 case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16966 esac
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compiler -V >&5") 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }
16972
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979
16980 int
16981 main ()
16982 {
16983
16984 ;
16985 return 0;
16986 }
16987 _ACEOF
16988 ac_clean_files_save=$ac_clean_files
16989 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16990 # Try to create an executable without -o first, disregard a.out.
16991 # It will help us diagnose broken compilers, and finding out an intuition
16992 # of exeext.
16993 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16994 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16995 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16996 #
16997 # List of possible output files, starting from the most likely.
16998 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16999 # only as a last resort. b.out is created by i960 compilers.
17000 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17001 #
17002 # The IRIX 6 linker writes into existing files which may not be
17003 # executable, retaining their permissions. Remove them first so a
17004 # subsequent execution test works.
17005 ac_rmfiles=
17006 for ac_file in $ac_files
17007 do
17008 case $ac_file in
17009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17011 esac
17012 done
17013 rm -f $ac_rmfiles
17014
17015 if { (ac_try="$ac_link_default"
17016 case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17019 esac
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_link_default") 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; then
17025 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17026 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17027 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17028 # so that the user can short-circuit this test for compilers unknown to
17029 # Autoconf.
17030 for ac_file in $ac_files ''
17031 do
17032 test -f "$ac_file" || continue
17033 case $ac_file in
17034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17035 ;;
17036 [ab].out )
17037 # We found the default executable, but exeext='' is most
17038 # certainly right.
17039 break;;
17040 *.* )
17041 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17042 then :; else
17043 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17044 fi
17045 # We set ac_cv_exeext here because the later test for it is not
17046 # safe: cross compilers may not add the suffix if given an `-o'
17047 # argument, so we may need to know it at that point already.
17048 # Even if this section looks crufty: it has the advantage of
17049 # actually working.
17050 break;;
17051 * )
17052 break;;
17053 esac
17054 done
17055 test "$ac_cv_exeext" = no && ac_cv_exeext=
17056
17057 else
17058 ac_file=''
17059 fi
17060
17061 { echo "$as_me:$LINENO: result: $ac_file" >&5
17062 echo "${ECHO_T}$ac_file" >&6; }
17063 if test -z "$ac_file"; then
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17066
17067 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17068 See \`config.log' for more details." >&5
17069 echo "$as_me: error: C compiler cannot create executables
17070 See \`config.log' for more details." >&2;}
17071 { (exit 77); exit 77; }; }
17072 fi
17073
17074 ac_exeext=$ac_cv_exeext
17075
17076 # Check that the compiler produces executables we can run. If not, either
17077 # the compiler is broken, or we cross compile.
17078 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17079 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17080 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17081 # If not cross compiling, check that we can run a simple program.
17082 if test "$cross_compiling" != yes; then
17083 if { ac_try='./$ac_file'
17084 { (case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17087 esac
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_try") 2>&5
17090 ac_status=$?
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17093 cross_compiling=no
17094 else
17095 if test "$cross_compiling" = maybe; then
17096 cross_compiling=yes
17097 else
17098 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17099 If you meant to cross compile, use \`--host'.
17100 See \`config.log' for more details." >&5
17101 echo "$as_me: error: cannot run C compiled programs.
17102 If you meant to cross compile, use \`--host'.
17103 See \`config.log' for more details." >&2;}
17104 { (exit 1); exit 1; }; }
17105 fi
17106 fi
17107 fi
17108 { echo "$as_me:$LINENO: result: yes" >&5
17109 echo "${ECHO_T}yes" >&6; }
17110
17111 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17112 ac_clean_files=$ac_clean_files_save
17113 # Check that the compiler produces executables we can run. If not, either
17114 # the compiler is broken, or we cross compile.
17115 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17116 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17117 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17118 echo "${ECHO_T}$cross_compiling" >&6; }
17119
17120 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17121 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17122 if { (ac_try="$ac_link"
17123 case "(($ac_try" in
17124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17125 *) ac_try_echo=$ac_try;;
17126 esac
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_link") 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; then
17132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17134 # work properly (i.e., refer to `conftest.exe'), while it won't with
17135 # `rm'.
17136 for ac_file in conftest.exe conftest conftest.*; do
17137 test -f "$ac_file" || continue
17138 case $ac_file in
17139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17141 break;;
17142 * ) break;;
17143 esac
17144 done
17145 else
17146 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17147 See \`config.log' for more details." >&5
17148 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17149 See \`config.log' for more details." >&2;}
17150 { (exit 1); exit 1; }; }
17151 fi
17152
17153 rm -f conftest$ac_cv_exeext
17154 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17155 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17156
17157 rm -f conftest.$ac_ext
17158 EXEEXT=$ac_cv_exeext
17159 ac_exeext=$EXEEXT
17160 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17161 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17162 if test "${ac_cv_objext+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 else
17165 cat >conftest.$ac_ext <<_ACEOF
17166 /* confdefs.h. */
17167 _ACEOF
17168 cat confdefs.h >>conftest.$ac_ext
17169 cat >>conftest.$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171
17172 int
17173 main ()
17174 {
17175
17176 ;
17177 return 0;
17178 }
17179 _ACEOF
17180 rm -f conftest.o conftest.obj
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>&5
17188 ac_status=$?
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; then
17191 for ac_file in conftest.o conftest.obj conftest.*; do
17192 test -f "$ac_file" || continue;
17193 case $ac_file in
17194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17195 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17196 break;;
17197 esac
17198 done
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17202
17203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17204 See \`config.log' for more details." >&5
17205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17206 See \`config.log' for more details." >&2;}
17207 { (exit 1); exit 1; }; }
17208 fi
17209
17210 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17211 fi
17212 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17213 echo "${ECHO_T}$ac_cv_objext" >&6; }
17214 OBJEXT=$ac_cv_objext
17215 ac_objext=$OBJEXT
17216 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17217 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17219 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 else
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h. */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227
17228 int
17229 main ()
17230 {
17231 #ifndef __GNUC__
17232 choke me
17233 #endif
17234
17235 ;
17236 return 0;
17237 }
17238 _ACEOF
17239 rm -f conftest.$ac_objext
17240 if { (ac_try="$ac_compile"
17241 case "(($ac_try" in
17242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17243 *) ac_try_echo=$ac_try;;
17244 esac
17245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17246 (eval "$ac_compile") 2>conftest.er1
17247 ac_status=$?
17248 grep -v '^ *+' conftest.er1 >conftest.err
17249 rm -f conftest.er1
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } && {
17253 test -z "$ac_c_werror_flag" ||
17254 test ! -s conftest.err
17255 } && test -s conftest.$ac_objext; then
17256 ac_compiler_gnu=yes
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 ac_compiler_gnu=no
17262 fi
17263
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17266
17267 fi
17268 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17269 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17270 GCC=`test $ac_compiler_gnu = yes && echo yes`
17271 ac_test_CFLAGS=${CFLAGS+set}
17272 ac_save_CFLAGS=$CFLAGS
17273 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17274 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17275 if test "${ac_cv_prog_cc_g+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 else
17278 ac_save_c_werror_flag=$ac_c_werror_flag
17279 ac_c_werror_flag=yes
17280 ac_cv_prog_cc_g=no
17281 CFLAGS="-g"
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288
17289 int
17290 main ()
17291 {
17292
17293 ;
17294 return 0;
17295 }
17296 _ACEOF
17297 rm -f conftest.$ac_objext
17298 if { (ac_try="$ac_compile"
17299 case "(($ac_try" in
17300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17301 *) ac_try_echo=$ac_try;;
17302 esac
17303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_compile") 2>conftest.er1
17305 ac_status=$?
17306 grep -v '^ *+' conftest.er1 >conftest.err
17307 rm -f conftest.er1
17308 cat conftest.err >&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } && {
17311 test -z "$ac_c_werror_flag" ||
17312 test ! -s conftest.err
17313 } && test -s conftest.$ac_objext; then
17314 ac_cv_prog_cc_g=yes
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 CFLAGS=""
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326
17327 int
17328 main ()
17329 {
17330
17331 ;
17332 return 0;
17333 }
17334 _ACEOF
17335 rm -f conftest.$ac_objext
17336 if { (ac_try="$ac_compile"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17340 esac
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_compile") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest.$ac_objext; then
17352 :
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 ac_c_werror_flag=$ac_save_c_werror_flag
17358 CFLAGS="-g"
17359 cat >conftest.$ac_ext <<_ACEOF
17360 /* confdefs.h. */
17361 _ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365
17366 int
17367 main ()
17368 {
17369
17370 ;
17371 return 0;
17372 }
17373 _ACEOF
17374 rm -f conftest.$ac_objext
17375 if { (ac_try="$ac_compile"
17376 case "(($ac_try" in
17377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17378 *) ac_try_echo=$ac_try;;
17379 esac
17380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_compile") 2>conftest.er1
17382 ac_status=$?
17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } && {
17388 test -z "$ac_c_werror_flag" ||
17389 test ! -s conftest.err
17390 } && test -s conftest.$ac_objext; then
17391 ac_cv_prog_cc_g=yes
17392 else
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17395
17396
17397 fi
17398
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 fi
17401
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 fi
17404
17405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17406 ac_c_werror_flag=$ac_save_c_werror_flag
17407 fi
17408 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17410 if test "$ac_test_CFLAGS" = set; then
17411 CFLAGS=$ac_save_CFLAGS
17412 elif test $ac_cv_prog_cc_g = yes; then
17413 if test "$GCC" = yes; then
17414 CFLAGS="-g -O2"
17415 else
17416 CFLAGS="-g"
17417 fi
17418 else
17419 if test "$GCC" = yes; then
17420 CFLAGS="-O2"
17421 else
17422 CFLAGS=
17423 fi
17424 fi
17425 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17426 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17427 if test "${ac_cv_prog_cc_c89+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17430 ac_cv_prog_cc_c89=no
17431 ac_save_CC=$CC
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 #include <stdarg.h>
17439 #include <stdio.h>
17440 #include <sys/types.h>
17441 #include <sys/stat.h>
17442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17443 struct buf { int x; };
17444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17445 static char *e (p, i)
17446 char **p;
17447 int i;
17448 {
17449 return p[i];
17450 }
17451 static char *f (char * (*g) (char **, int), char **p, ...)
17452 {
17453 char *s;
17454 va_list v;
17455 va_start (v,p);
17456 s = g (p, va_arg (v,int));
17457 va_end (v);
17458 return s;
17459 }
17460
17461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17462 function prototypes and stuff, but not '\xHH' hex character constants.
17463 These don't provoke an error unfortunately, instead are silently treated
17464 as 'x'. The following induces an error, until -std is added to get
17465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17466 array size at least. It's necessary to write '\x00'==0 to get something
17467 that's true only with -std. */
17468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17469
17470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17471 inside strings and character constants. */
17472 #define FOO(x) 'x'
17473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17474
17475 int test (int i, double x);
17476 struct s1 {int (*f) (int a);};
17477 struct s2 {int (*f) (double a);};
17478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17479 int argc;
17480 char **argv;
17481 int
17482 main ()
17483 {
17484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17491 do
17492 CC="$ac_save_CC $ac_arg"
17493 rm -f conftest.$ac_objext
17494 if { (ac_try="$ac_compile"
17495 case "(($ac_try" in
17496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17497 *) ac_try_echo=$ac_try;;
17498 esac
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_compile") 2>conftest.er1
17501 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest.$ac_objext; then
17510 ac_cv_prog_cc_c89=$ac_arg
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17514
17515
17516 fi
17517
17518 rm -f core conftest.err conftest.$ac_objext
17519 test "x$ac_cv_prog_cc_c89" != "xno" && break
17520 done
17521 rm -f conftest.$ac_ext
17522 CC=$ac_save_CC
17523
17524 fi
17525 # AC_CACHE_VAL
17526 case "x$ac_cv_prog_cc_c89" in
17527 x)
17528 { echo "$as_me:$LINENO: result: none needed" >&5
17529 echo "${ECHO_T}none needed" >&6; } ;;
17530 xno)
17531 { echo "$as_me:$LINENO: result: unsupported" >&5
17532 echo "${ECHO_T}unsupported" >&6; } ;;
17533 *)
17534 CC="$CC $ac_cv_prog_cc_c89"
17535 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17536 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17537 esac
17538
17539
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547
17548
17549 ac_ext=c
17550 ac_cpp='$CPP $CPPFLAGS'
17551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17554
17555 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17556 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17557 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17558 echo $ECHO_N "(cached) $ECHO_C" >&6
17559 else
17560 cat >conftest.$ac_ext <<_ACEOF
17561 /* confdefs.h. */
17562 _ACEOF
17563 cat confdefs.h >>conftest.$ac_ext
17564 cat >>conftest.$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17566
17567 int
17568 main ()
17569 {
17570
17571 #ifndef __INTEL_COMPILER
17572 choke me
17573 #endif
17574
17575 ;
17576 return 0;
17577 }
17578 _ACEOF
17579 rm -f conftest.$ac_objext
17580 if { (ac_try="$ac_compile"
17581 case "(($ac_try" in
17582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17584 esac
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17587 ac_status=$?
17588 grep -v '^ *+' conftest.er1 >conftest.err
17589 rm -f conftest.er1
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_c_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest.$ac_objext; then
17596 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17600
17601 bakefile_cv_c_compiler___INTEL_COMPILER=no
17602
17603 fi
17604
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606
17607
17608 fi
17609 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17610 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17611 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17612 :; INTELCC=yes
17613 else
17614 :;
17615 fi
17616 ac_ext=c
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
17622
17623
17624
17625 if test "x$GCC" != "xyes"; then
17626 if test "xCC" = "xC"; then
17627 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17628 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17629 if test "${bakefile_cv_c_exto+set}" = set; then
17630 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 else
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h. */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638
17639 int
17640 main ()
17641 {
17642
17643 ;
17644 return 0;
17645 }
17646 _ACEOF
17647 rm -f conftest.$ac_objext conftest.$ac_ext.o
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649 (eval $ac_compile) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; then
17653 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17654 case $ac_file in
17655 conftest.$ac_ext.o)
17656 bakefile_cv_c_exto="-ext o"
17657 ;;
17658 *)
17659 ;;
17660 esac
17661 done
17662 else
17663 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17664 See \`config.log' for more details." >&5
17665 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17666 See \`config.log' for more details." >&2;}
17667 { (exit 1); exit 1; }; }
17668
17669 fi
17670
17671 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17672
17673 fi
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17675 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17676 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17677 if test "c" = "c"; then
17678 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17679 fi
17680 if test "c" = "cxx"; then
17681 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17682 fi
17683 fi
17684
17685 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17686 unset ac_cv_prog_cc_g
17687 ac_test_CFLAGS=${CFLAGS+set}
17688 ac_save_CFLAGS=$CFLAGS
17689 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17690 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17691 if test "${ac_cv_prog_cc_g+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17694 ac_save_c_werror_flag=$ac_c_werror_flag
17695 ac_c_werror_flag=yes
17696 ac_cv_prog_cc_g=no
17697 CFLAGS="-g"
17698 cat >conftest.$ac_ext <<_ACEOF
17699 /* confdefs.h. */
17700 _ACEOF
17701 cat confdefs.h >>conftest.$ac_ext
17702 cat >>conftest.$ac_ext <<_ACEOF
17703 /* end confdefs.h. */
17704
17705 int
17706 main ()
17707 {
17708
17709 ;
17710 return 0;
17711 }
17712 _ACEOF
17713 rm -f conftest.$ac_objext
17714 if { (ac_try="$ac_compile"
17715 case "(($ac_try" in
17716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17717 *) ac_try_echo=$ac_try;;
17718 esac
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720 (eval "$ac_compile") 2>conftest.er1
17721 ac_status=$?
17722 grep -v '^ *+' conftest.er1 >conftest.err
17723 rm -f conftest.er1
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } && {
17727 test -z "$ac_c_werror_flag" ||
17728 test ! -s conftest.err
17729 } && test -s conftest.$ac_objext; then
17730 ac_cv_prog_cc_g=yes
17731 else
17732 echo "$as_me: failed program was:" >&5
17733 sed 's/^/| /' conftest.$ac_ext >&5
17734
17735 CFLAGS=""
17736 cat >conftest.$ac_ext <<_ACEOF
17737 /* confdefs.h. */
17738 _ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742
17743 int
17744 main ()
17745 {
17746
17747 ;
17748 return 0;
17749 }
17750 _ACEOF
17751 rm -f conftest.$ac_objext
17752 if { (ac_try="$ac_compile"
17753 case "(($ac_try" in
17754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17756 esac
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compile") 2>conftest.er1
17759 ac_status=$?
17760 grep -v '^ *+' conftest.er1 >conftest.err
17761 rm -f conftest.er1
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } && {
17765 test -z "$ac_c_werror_flag" ||
17766 test ! -s conftest.err
17767 } && test -s conftest.$ac_objext; then
17768 :
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 ac_c_werror_flag=$ac_save_c_werror_flag
17774 CFLAGS="-g"
17775 cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781
17782 int
17783 main ()
17784 {
17785
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17795 esac
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_c_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 ac_cv_prog_cc_g=yes
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812
17813 fi
17814
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 fi
17817
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 fi
17820
17821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 ac_c_werror_flag=$ac_save_c_werror_flag
17823 fi
17824 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17825 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17826 if test "$ac_test_CFLAGS" = set; then
17827 CFLAGS=$ac_save_CFLAGS
17828 elif test $ac_cv_prog_cc_g = yes; then
17829 if test "$GCC" = yes; then
17830 CFLAGS="-g -O2"
17831 else
17832 CFLAGS="-g"
17833 fi
17834 else
17835 if test "$GCC" = yes; then
17836 CFLAGS="-O2"
17837 else
17838 CFLAGS=
17839 fi
17840 fi
17841 fi
17842 fi
17843
17844 case `uname -s` in
17845 AIX*)
17846
17847
17848 ac_ext=c
17849 ac_cpp='$CPP $CPPFLAGS'
17850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853
17854 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17855 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17856 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17858 else
17859 cat >conftest.$ac_ext <<_ACEOF
17860 /* confdefs.h. */
17861 _ACEOF
17862 cat confdefs.h >>conftest.$ac_ext
17863 cat >>conftest.$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17865
17866 int
17867 main ()
17868 {
17869
17870 #ifndef __xlC__
17871 choke me
17872 #endif
17873
17874 ;
17875 return 0;
17876 }
17877 _ACEOF
17878 rm -f conftest.$ac_objext
17879 if { (ac_try="$ac_compile"
17880 case "(($ac_try" in
17881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17882 *) ac_try_echo=$ac_try;;
17883 esac
17884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17885 (eval "$ac_compile") 2>conftest.er1
17886 ac_status=$?
17887 grep -v '^ *+' conftest.er1 >conftest.err
17888 rm -f conftest.er1
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } && {
17892 test -z "$ac_c_werror_flag" ||
17893 test ! -s conftest.err
17894 } && test -s conftest.$ac_objext; then
17895 bakefile_cv_c_compiler___xlC__=yes
17896 else
17897 echo "$as_me: failed program was:" >&5
17898 sed 's/^/| /' conftest.$ac_ext >&5
17899
17900 bakefile_cv_c_compiler___xlC__=no
17901
17902 fi
17903
17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17905
17906
17907 fi
17908 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17909 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17910 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17911 :; XLCC=yes
17912 else
17913 :;
17914 fi
17915 ac_ext=c
17916 ac_cpp='$CPP $CPPFLAGS'
17917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920
17921
17922
17923 ;;
17924
17925 Darwin)
17926
17927
17928 ac_ext=c
17929 ac_cpp='$CPP $CPPFLAGS'
17930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17933
17934 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17935 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17936 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945
17946 int
17947 main ()
17948 {
17949
17950 #ifndef __MWERKS__
17951 choke me
17952 #endif
17953
17954 ;
17955 return 0;
17956 }
17957 _ACEOF
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17963 esac
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 bakefile_cv_c_compiler___MWERKS__=yes
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17979
17980 bakefile_cv_c_compiler___MWERKS__=no
17981
17982 fi
17983
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985
17986
17987 fi
17988 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17989 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17990 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17991 :; MWCC=yes
17992 else
17993 :;
17994 fi
17995 ac_ext=c
17996 ac_cpp='$CPP $CPPFLAGS'
17997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18000
18001
18002
18003
18004
18005 ac_ext=c
18006 ac_cpp='$CPP $CPPFLAGS'
18007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18010
18011 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18012 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18013 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022
18023 int
18024 main ()
18025 {
18026
18027 #ifndef __xlC__
18028 choke me
18029 #endif
18030
18031 ;
18032 return 0;
18033 }
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18040 esac
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 bakefile_cv_c_compiler___xlC__=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057 bakefile_cv_c_compiler___xlC__=no
18058
18059 fi
18060
18061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062
18063
18064 fi
18065 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18066 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18067 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18068 :; XLCC=yes
18069 else
18070 :;
18071 fi
18072 ac_ext=c
18073 ac_cpp='$CPP $CPPFLAGS'
18074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18077
18078
18079
18080 ;;
18081
18082 IRIX*)
18083
18084
18085 ac_ext=c
18086 ac_cpp='$CPP $CPPFLAGS'
18087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18090
18091 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18092 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18093 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102
18103 int
18104 main ()
18105 {
18106
18107 #ifndef _SGI_COMPILER_VERSION
18108 choke me
18109 #endif
18110
18111 ;
18112 return 0;
18113 }
18114 _ACEOF
18115 rm -f conftest.$ac_objext
18116 if { (ac_try="$ac_compile"
18117 case "(($ac_try" in
18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18120 esac
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_compile") 2>conftest.er1
18123 ac_status=$?
18124 grep -v '^ *+' conftest.er1 >conftest.err
18125 rm -f conftest.er1
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && {
18129 test -z "$ac_c_werror_flag" ||
18130 test ! -s conftest.err
18131 } && test -s conftest.$ac_objext; then
18132 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18138
18139 fi
18140
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142
18143
18144 fi
18145 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18146 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18147 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18148 :; SGICC=yes
18149 else
18150 :;
18151 fi
18152 ac_ext=c
18153 ac_cpp='$CPP $CPPFLAGS'
18154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18157
18158
18159
18160 ;;
18161
18162 Linux*)
18163
18164
18165 ac_ext=c
18166 ac_cpp='$CPP $CPPFLAGS'
18167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18170
18171 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18172 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18173 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 else
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182
18183 int
18184 main ()
18185 {
18186
18187 #ifndef __SUNPRO_C
18188 choke me
18189 #endif
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (ac_try="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18200 esac
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.$ac_objext; then
18212 bakefile_cv_c_compiler___SUNPRO_C=yes
18213 else
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18216
18217 bakefile_cv_c_compiler___SUNPRO_C=no
18218
18219 fi
18220
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222
18223
18224 fi
18225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18226 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18227 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18228 :; SUNCC=yes
18229 else
18230 :;
18231 fi
18232 ac_ext=c
18233 ac_cpp='$CPP $CPPFLAGS'
18234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237
18238
18239
18240 ;;
18241
18242 HP-UX*)
18243
18244
18245 ac_ext=c
18246 ac_cpp='$CPP $CPPFLAGS'
18247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18250
18251 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18252 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18253 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 else
18256 cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h. */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262
18263 int
18264 main ()
18265 {
18266
18267 #ifndef __HP_cc
18268 choke me
18269 #endif
18270
18271 ;
18272 return 0;
18273 }
18274 _ACEOF
18275 rm -f conftest.$ac_objext
18276 if { (ac_try="$ac_compile"
18277 case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18279 *) ac_try_echo=$ac_try;;
18280 esac
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_compile") 2>conftest.er1
18283 ac_status=$?
18284 grep -v '^ *+' conftest.er1 >conftest.err
18285 rm -f conftest.er1
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_c_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest.$ac_objext; then
18292 bakefile_cv_c_compiler___HP_cc=yes
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18296
18297 bakefile_cv_c_compiler___HP_cc=no
18298
18299 fi
18300
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302
18303
18304 fi
18305 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18306 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18307 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18308 :; HPCC=yes
18309 else
18310 :;
18311 fi
18312 ac_ext=c
18313 ac_cpp='$CPP $CPPFLAGS'
18314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18317
18318
18319
18320 ;;
18321
18322 OSF1)
18323
18324
18325 ac_ext=c
18326 ac_cpp='$CPP $CPPFLAGS'
18327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18330
18331 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18332 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18333 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18334 echo $ECHO_N "(cached) $ECHO_C" >&6
18335 else
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342
18343 int
18344 main ()
18345 {
18346
18347 #ifndef __DECC
18348 choke me
18349 #endif
18350
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 rm -f conftest.$ac_objext
18356 if { (ac_try="$ac_compile"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18360 esac
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_compile") 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && {
18369 test -z "$ac_c_werror_flag" ||
18370 test ! -s conftest.err
18371 } && test -s conftest.$ac_objext; then
18372 bakefile_cv_c_compiler___DECC=yes
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18376
18377 bakefile_cv_c_compiler___DECC=no
18378
18379 fi
18380
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382
18383
18384 fi
18385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18386 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18387 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18388 :; COMPAQCC=yes
18389 else
18390 :;
18391 fi
18392 ac_ext=c
18393 ac_cpp='$CPP $CPPFLAGS'
18394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18397
18398
18399
18400 ;;
18401
18402 SunOS)
18403
18404
18405 ac_ext=c
18406 ac_cpp='$CPP $CPPFLAGS'
18407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18410
18411 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18412 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18413 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18414 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 else
18416 cat >conftest.$ac_ext <<_ACEOF
18417 /* confdefs.h. */
18418 _ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422
18423 int
18424 main ()
18425 {
18426
18427 #ifndef __SUNPRO_C
18428 choke me
18429 #endif
18430
18431 ;
18432 return 0;
18433 }
18434 _ACEOF
18435 rm -f conftest.$ac_objext
18436 if { (ac_try="$ac_compile"
18437 case "(($ac_try" in
18438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18440 esac
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_compile") 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && {
18449 test -z "$ac_c_werror_flag" ||
18450 test ! -s conftest.err
18451 } && test -s conftest.$ac_objext; then
18452 bakefile_cv_c_compiler___SUNPRO_C=yes
18453 else
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.$ac_ext >&5
18456
18457 bakefile_cv_c_compiler___SUNPRO_C=no
18458
18459 fi
18460
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462
18463
18464 fi
18465 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18466 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18467 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18468 :; SUNCC=yes
18469 else
18470 :;
18471 fi
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
18478
18479
18480 ;;
18481 esac
18482 fi
18483
18484
18485
18486 ac_ext=c
18487 ac_cpp='$CPP $CPPFLAGS'
18488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18491 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18492 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18493 # On Suns, sometimes $CPP names a directory.
18494 if test -n "$CPP" && test -d "$CPP"; then
18495 CPP=
18496 fi
18497 if test -z "$CPP"; then
18498 if test "${ac_cv_prog_CPP+set}" = set; then
18499 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 else
18501 # Double quotes because CPP needs to be expanded
18502 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18503 do
18504 ac_preproc_ok=false
18505 for ac_c_preproc_warn_flag in '' yes
18506 do
18507 # Use a header file that comes with gcc, so configuring glibc
18508 # with a fresh cross-compiler works.
18509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18510 # <limits.h> exists even on freestanding compilers.
18511 # On the NeXT, cc -E runs the code through the compiler's parser,
18512 # not just through cpp. "Syntax error" is here to catch this case.
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 #ifdef __STDC__
18520 # include <limits.h>
18521 #else
18522 # include <assert.h>
18523 #endif
18524 Syntax error
18525 _ACEOF
18526 if { (ac_try="$ac_cpp conftest.$ac_ext"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } >/dev/null && {
18539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 }; then
18542 :
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18546
18547 # Broken: fails on valid input.
18548 continue
18549 fi
18550
18551 rm -f conftest.err conftest.$ac_ext
18552
18553 # OK, works on sane cases. Now check whether nonexistent headers
18554 # can be detected and how.
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <ac_nonexistent.h>
18562 _ACEOF
18563 if { (ac_try="$ac_cpp conftest.$ac_ext"
18564 case "(($ac_try" in
18565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18566 *) ac_try_echo=$ac_try;;
18567 esac
18568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18570 ac_status=$?
18571 grep -v '^ *+' conftest.er1 >conftest.err
18572 rm -f conftest.er1
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } >/dev/null && {
18576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18577 test ! -s conftest.err
18578 }; then
18579 # Broken: success on invalid input.
18580 continue
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 # Passes both tests.
18586 ac_preproc_ok=:
18587 break
18588 fi
18589
18590 rm -f conftest.err conftest.$ac_ext
18591
18592 done
18593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18594 rm -f conftest.err conftest.$ac_ext
18595 if $ac_preproc_ok; then
18596 break
18597 fi
18598
18599 done
18600 ac_cv_prog_CPP=$CPP
18601
18602 fi
18603 CPP=$ac_cv_prog_CPP
18604 else
18605 ac_cv_prog_CPP=$CPP
18606 fi
18607 { echo "$as_me:$LINENO: result: $CPP" >&5
18608 echo "${ECHO_T}$CPP" >&6; }
18609 ac_preproc_ok=false
18610 for ac_c_preproc_warn_flag in '' yes
18611 do
18612 # Use a header file that comes with gcc, so configuring glibc
18613 # with a fresh cross-compiler works.
18614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18615 # <limits.h> exists even on freestanding compilers.
18616 # On the NeXT, cc -E runs the code through the compiler's parser,
18617 # not just through cpp. "Syntax error" is here to catch this case.
18618 cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h. */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 #ifdef __STDC__
18625 # include <limits.h>
18626 #else
18627 # include <assert.h>
18628 #endif
18629 Syntax error
18630 _ACEOF
18631 if { (ac_try="$ac_cpp conftest.$ac_ext"
18632 case "(($ac_try" in
18633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18634 *) ac_try_echo=$ac_try;;
18635 esac
18636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18638 ac_status=$?
18639 grep -v '^ *+' conftest.er1 >conftest.err
18640 rm -f conftest.er1
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } >/dev/null && {
18644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18645 test ! -s conftest.err
18646 }; then
18647 :
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 # Broken: fails on valid input.
18653 continue
18654 fi
18655
18656 rm -f conftest.err conftest.$ac_ext
18657
18658 # OK, works on sane cases. Now check whether nonexistent headers
18659 # can be detected and how.
18660 cat >conftest.$ac_ext <<_ACEOF
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <ac_nonexistent.h>
18667 _ACEOF
18668 if { (ac_try="$ac_cpp conftest.$ac_ext"
18669 case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18672 esac
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } >/dev/null && {
18681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18682 test ! -s conftest.err
18683 }; then
18684 # Broken: success on invalid input.
18685 continue
18686 else
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.$ac_ext >&5
18689
18690 # Passes both tests.
18691 ac_preproc_ok=:
18692 break
18693 fi
18694
18695 rm -f conftest.err conftest.$ac_ext
18696
18697 done
18698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18699 rm -f conftest.err conftest.$ac_ext
18700 if $ac_preproc_ok; then
18701 :
18702 else
18703 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18704 See \`config.log' for more details." >&5
18705 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18706 See \`config.log' for more details." >&2;}
18707 { (exit 1); exit 1; }; }
18708 fi
18709
18710 ac_ext=c
18711 ac_cpp='$CPP $CPPFLAGS'
18712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18715
18716
18717 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18718 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18719 if test "${ac_cv_path_GREP+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18722 # Extract the first word of "grep ggrep" to use in msg output
18723 if test -z "$GREP"; then
18724 set dummy grep ggrep; ac_prog_name=$2
18725 if test "${ac_cv_path_GREP+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 else
18728 ac_path_GREP_found=false
18729 # Loop through the user's path and test for each of PROGNAME-LIST
18730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18732 do
18733 IFS=$as_save_IFS
18734 test -z "$as_dir" && as_dir=.
18735 for ac_prog in grep ggrep; do
18736 for ac_exec_ext in '' $ac_executable_extensions; do
18737 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18738 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18739 # Check for GNU ac_path_GREP and select it if it is found.
18740 # Check for GNU $ac_path_GREP
18741 case `"$ac_path_GREP" --version 2>&1` in
18742 *GNU*)
18743 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18744 *)
18745 ac_count=0
18746 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18747 while :
18748 do
18749 cat "conftest.in" "conftest.in" >"conftest.tmp"
18750 mv "conftest.tmp" "conftest.in"
18751 cp "conftest.in" "conftest.nl"
18752 echo 'GREP' >> "conftest.nl"
18753 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18755 ac_count=`expr $ac_count + 1`
18756 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18757 # Best one so far, save it but keep looking for a better one
18758 ac_cv_path_GREP="$ac_path_GREP"
18759 ac_path_GREP_max=$ac_count
18760 fi
18761 # 10*(2^10) chars as input seems more than enough
18762 test $ac_count -gt 10 && break
18763 done
18764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18765 esac
18766
18767
18768 $ac_path_GREP_found && break 3
18769 done
18770 done
18771
18772 done
18773 IFS=$as_save_IFS
18774
18775
18776 fi
18777
18778 GREP="$ac_cv_path_GREP"
18779 if test -z "$GREP"; then
18780 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18781 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18782 { (exit 1); exit 1; }; }
18783 fi
18784
18785 else
18786 ac_cv_path_GREP=$GREP
18787 fi
18788
18789
18790 fi
18791 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18792 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18793 GREP="$ac_cv_path_GREP"
18794
18795
18796 { echo "$as_me:$LINENO: checking for egrep" >&5
18797 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18798 if test "${ac_cv_path_EGREP+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 else
18801 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18802 then ac_cv_path_EGREP="$GREP -E"
18803 else
18804 # Extract the first word of "egrep" to use in msg output
18805 if test -z "$EGREP"; then
18806 set dummy egrep; ac_prog_name=$2
18807 if test "${ac_cv_path_EGREP+set}" = set; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 else
18810 ac_path_EGREP_found=false
18811 # Loop through the user's path and test for each of PROGNAME-LIST
18812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18814 do
18815 IFS=$as_save_IFS
18816 test -z "$as_dir" && as_dir=.
18817 for ac_prog in egrep; do
18818 for ac_exec_ext in '' $ac_executable_extensions; do
18819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18821 # Check for GNU ac_path_EGREP and select it if it is found.
18822 # Check for GNU $ac_path_EGREP
18823 case `"$ac_path_EGREP" --version 2>&1` in
18824 *GNU*)
18825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18826 *)
18827 ac_count=0
18828 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18829 while :
18830 do
18831 cat "conftest.in" "conftest.in" >"conftest.tmp"
18832 mv "conftest.tmp" "conftest.in"
18833 cp "conftest.in" "conftest.nl"
18834 echo 'EGREP' >> "conftest.nl"
18835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18837 ac_count=`expr $ac_count + 1`
18838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18839 # Best one so far, save it but keep looking for a better one
18840 ac_cv_path_EGREP="$ac_path_EGREP"
18841 ac_path_EGREP_max=$ac_count
18842 fi
18843 # 10*(2^10) chars as input seems more than enough
18844 test $ac_count -gt 10 && break
18845 done
18846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18847 esac
18848
18849
18850 $ac_path_EGREP_found && break 3
18851 done
18852 done
18853
18854 done
18855 IFS=$as_save_IFS
18856
18857
18858 fi
18859
18860 EGREP="$ac_cv_path_EGREP"
18861 if test -z "$EGREP"; then
18862 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18863 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18864 { (exit 1); exit 1; }; }
18865 fi
18866
18867 else
18868 ac_cv_path_EGREP=$EGREP
18869 fi
18870
18871
18872 fi
18873 fi
18874 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18875 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18876 EGREP="$ac_cv_path_EGREP"
18877
18878
18879 if test $ac_cv_c_compiler_gnu = yes; then
18880 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18881 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18882 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 else
18885 ac_pattern="Autoconf.*'x'"
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 #include <sgtty.h>
18893 Autoconf TIOCGETP
18894 _ACEOF
18895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18896 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18897 ac_cv_prog_gcc_traditional=yes
18898 else
18899 ac_cv_prog_gcc_traditional=no
18900 fi
18901 rm -f conftest*
18902
18903
18904 if test $ac_cv_prog_gcc_traditional = no; then
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <termio.h>
18912 Autoconf TCGETA
18913 _ACEOF
18914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18915 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18916 ac_cv_prog_gcc_traditional=yes
18917 fi
18918 rm -f conftest*
18919
18920 fi
18921 fi
18922 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18923 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18924 if test $ac_cv_prog_gcc_traditional = yes; then
18925 CC="$CC -traditional"
18926 fi
18927 fi
18928
18929
18930 CXXFLAGS=${CXXFLAGS:=}
18931
18932
18933
18934 ac_ext=cpp
18935 ac_cpp='$CXXCPP $CPPFLAGS'
18936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18939 if test -z "$CXX"; then
18940 if test -n "$CCC"; then
18941 CXX=$CCC
18942 else
18943 if test -n "$ac_tool_prefix"; then
18944 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18945 do
18946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18950 if test "${ac_cv_prog_CXX+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18953 if test -n "$CXX"; then
18954 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18955 else
18956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18957 for as_dir in $PATH
18958 do
18959 IFS=$as_save_IFS
18960 test -z "$as_dir" && as_dir=.
18961 for ac_exec_ext in '' $ac_executable_extensions; do
18962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18963 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18965 break 2
18966 fi
18967 done
18968 done
18969 IFS=$as_save_IFS
18970
18971 fi
18972 fi
18973 CXX=$ac_cv_prog_CXX
18974 if test -n "$CXX"; then
18975 { echo "$as_me:$LINENO: result: $CXX" >&5
18976 echo "${ECHO_T}$CXX" >&6; }
18977 else
18978 { echo "$as_me:$LINENO: result: no" >&5
18979 echo "${ECHO_T}no" >&6; }
18980 fi
18981
18982
18983 test -n "$CXX" && break
18984 done
18985 fi
18986 if test -z "$CXX"; then
18987 ac_ct_CXX=$CXX
18988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18989 do
18990 # Extract the first word of "$ac_prog", so it can be a program name with args.
18991 set dummy $ac_prog; ac_word=$2
18992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18994 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18995 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 else
18997 if test -n "$ac_ct_CXX"; then
18998 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18999 else
19000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19001 for as_dir in $PATH
19002 do
19003 IFS=$as_save_IFS
19004 test -z "$as_dir" && as_dir=.
19005 for ac_exec_ext in '' $ac_executable_extensions; do
19006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19007 ac_cv_prog_ac_ct_CXX="$ac_prog"
19008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19009 break 2
19010 fi
19011 done
19012 done
19013 IFS=$as_save_IFS
19014
19015 fi
19016 fi
19017 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19018 if test -n "$ac_ct_CXX"; then
19019 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19020 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19021 else
19022 { echo "$as_me:$LINENO: result: no" >&5
19023 echo "${ECHO_T}no" >&6; }
19024 fi
19025
19026
19027 test -n "$ac_ct_CXX" && break
19028 done
19029
19030 if test "x$ac_ct_CXX" = x; then
19031 CXX="g++"
19032 else
19033 case $cross_compiling:$ac_tool_warned in
19034 yes:)
19035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19036 whose name does not start with the host triplet. If you think this
19037 configuration is useful to you, please write to autoconf@gnu.org." >&5
19038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19039 whose name does not start with the host triplet. If you think this
19040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19041 ac_tool_warned=yes ;;
19042 esac
19043 CXX=$ac_ct_CXX
19044 fi
19045 fi
19046
19047 fi
19048 fi
19049 # Provide some information about the compiler.
19050 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19051 ac_compiler=`set X $ac_compile; echo $2`
19052 { (ac_try="$ac_compiler --version >&5"
19053 case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19056 esac
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_compiler --version >&5") 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }
19062 { (ac_try="$ac_compiler -v >&5"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compiler -v >&5") 2>&5
19069 ac_status=$?
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }
19072 { (ac_try="$ac_compiler -V >&5"
19073 case "(($ac_try" in
19074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19075 *) ac_try_echo=$ac_try;;
19076 esac
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_compiler -V >&5") 2>&5
19079 ac_status=$?
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }
19082
19083 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19084 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19085 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094
19095 int
19096 main ()
19097 {
19098 #ifndef __GNUC__
19099 choke me
19100 #endif
19101
19102 ;
19103 return 0;
19104 }
19105 _ACEOF
19106 rm -f conftest.$ac_objext
19107 if { (ac_try="$ac_compile"
19108 case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19111 esac
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_compile") 2>conftest.er1
19114 ac_status=$?
19115 grep -v '^ *+' conftest.er1 >conftest.err
19116 rm -f conftest.er1
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } && {
19120 test -z "$ac_cxx_werror_flag" ||
19121 test ! -s conftest.err
19122 } && test -s conftest.$ac_objext; then
19123 ac_compiler_gnu=yes
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 ac_compiler_gnu=no
19129 fi
19130
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19132 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19133
19134 fi
19135 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19136 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19137 GXX=`test $ac_compiler_gnu = yes && echo yes`
19138 ac_test_CXXFLAGS=${CXXFLAGS+set}
19139 ac_save_CXXFLAGS=$CXXFLAGS
19140 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19141 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19142 if test "${ac_cv_prog_cxx_g+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19146 ac_cxx_werror_flag=yes
19147 ac_cv_prog_cxx_g=no
19148 CXXFLAGS="-g"
19149 cat >conftest.$ac_ext <<_ACEOF
19150 /* confdefs.h. */
19151 _ACEOF
19152 cat confdefs.h >>conftest.$ac_ext
19153 cat >>conftest.$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19155
19156 int
19157 main ()
19158 {
19159
19160 ;
19161 return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_cxx_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.$ac_objext; then
19181 ac_cv_prog_cxx_g=yes
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186 CXXFLAGS=""
19187 cat >conftest.$ac_ext <<_ACEOF
19188 /* confdefs.h. */
19189 _ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19193
19194 int
19195 main ()
19196 {
19197
19198 ;
19199 return 0;
19200 }
19201 _ACEOF
19202 rm -f conftest.$ac_objext
19203 if { (ac_try="$ac_compile"
19204 case "(($ac_try" in
19205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19206 *) ac_try_echo=$ac_try;;
19207 esac
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209 (eval "$ac_compile") 2>conftest.er1
19210 ac_status=$?
19211 grep -v '^ *+' conftest.er1 >conftest.err
19212 rm -f conftest.er1
19213 cat conftest.err >&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && {
19216 test -z "$ac_cxx_werror_flag" ||
19217 test ! -s conftest.err
19218 } && test -s conftest.$ac_objext; then
19219 :
19220 else
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.$ac_ext >&5
19223
19224 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19225 CXXFLAGS="-g"
19226 cat >conftest.$ac_ext <<_ACEOF
19227 /* confdefs.h. */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232
19233 int
19234 main ()
19235 {
19236
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 rm -f conftest.$ac_objext
19242 if { (ac_try="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19245 *) ac_try_echo=$ac_try;;
19246 esac
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19249 ac_status=$?
19250 grep -v '^ *+' conftest.er1 >conftest.err
19251 rm -f conftest.er1
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_cxx_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest.$ac_objext; then
19258 ac_cv_prog_cxx_g=yes
19259 else
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19262
19263
19264 fi
19265
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 fi
19268
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 fi
19271
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19274 fi
19275 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19276 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19277 if test "$ac_test_CXXFLAGS" = set; then
19278 CXXFLAGS=$ac_save_CXXFLAGS
19279 elif test $ac_cv_prog_cxx_g = yes; then
19280 if test "$GXX" = yes; then
19281 CXXFLAGS="-g -O2"
19282 else
19283 CXXFLAGS="-g"
19284 fi
19285 else
19286 if test "$GXX" = yes; then
19287 CXXFLAGS="-O2"
19288 else
19289 CXXFLAGS=
19290 fi
19291 fi
19292 ac_ext=c
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19297
19298
19299
19300
19301 ac_ext=cpp
19302 ac_cpp='$CXXCPP $CPPFLAGS'
19303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19306
19307 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19308 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19309 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 else
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318
19319 int
19320 main ()
19321 {
19322
19323 #ifndef __INTEL_COMPILER
19324 choke me
19325 #endif
19326
19327 ;
19328 return 0;
19329 }
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19336 esac
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19339 ac_status=$?
19340 grep -v '^ *+' conftest.er1 >conftest.err
19341 rm -f conftest.er1
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_cxx_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19349 else
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19352
19353 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19354
19355 fi
19356
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358
19359
19360 fi
19361 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19362 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19363 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19364 :; INTELCXX=yes
19365 else
19366 :;
19367 fi
19368 ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373
19374
19375
19376
19377 if test "x$GCXX" != "xyes"; then
19378 if test "xCXX" = "xC"; then
19379 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19380 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19381 if test "${bakefile_cv_c_exto+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384 cat >conftest.$ac_ext <<_ACEOF
19385 /* confdefs.h. */
19386 _ACEOF
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390
19391 int
19392 main ()
19393 {
19394
19395 ;
19396 return 0;
19397 }
19398 _ACEOF
19399 rm -f conftest.$ac_objext conftest.$ac_ext.o
19400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19401 (eval $ac_compile) 2>&5
19402 ac_status=$?
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; then
19405 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19406 case $ac_file in
19407 conftest.$ac_ext.o)
19408 bakefile_cv_c_exto="-ext o"
19409 ;;
19410 *)
19411 ;;
19412 esac
19413 done
19414 else
19415 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19416 See \`config.log' for more details." >&5
19417 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19418 See \`config.log' for more details." >&2;}
19419 { (exit 1); exit 1; }; }
19420
19421 fi
19422
19423 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19424
19425 fi
19426 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19427 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19428 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19429 if test "c" = "c"; then
19430 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19431 fi
19432 if test "c" = "cxx"; then
19433 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19434 fi
19435 fi
19436
19437 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19438 unset ac_cv_prog_cc_g
19439 ac_test_CFLAGS=${CFLAGS+set}
19440 ac_save_CFLAGS=$CFLAGS
19441 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19442 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19443 if test "${ac_cv_prog_cc_g+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 else
19446 ac_save_c_werror_flag=$ac_c_werror_flag
19447 ac_c_werror_flag=yes
19448 ac_cv_prog_cc_g=no
19449 CFLAGS="-g"
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456
19457 int
19458 main ()
19459 {
19460
19461 ;
19462 return 0;
19463 }
19464 _ACEOF
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_prog_cc_g=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 CFLAGS=""
19488 cat >conftest.$ac_ext <<_ACEOF
19489 /* confdefs.h. */
19490 _ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494
19495 int
19496 main ()
19497 {
19498
19499 ;
19500 return 0;
19501 }
19502 _ACEOF
19503 rm -f conftest.$ac_objext
19504 if { (ac_try="$ac_compile"
19505 case "(($ac_try" in
19506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19507 *) ac_try_echo=$ac_try;;
19508 esac
19509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19510 (eval "$ac_compile") 2>conftest.er1
19511 ac_status=$?
19512 grep -v '^ *+' conftest.er1 >conftest.err
19513 rm -f conftest.er1
19514 cat conftest.err >&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } && {
19517 test -z "$ac_c_werror_flag" ||
19518 test ! -s conftest.err
19519 } && test -s conftest.$ac_objext; then
19520 :
19521 else
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 ac_c_werror_flag=$ac_save_c_werror_flag
19526 CFLAGS="-g"
19527 cat >conftest.$ac_ext <<_ACEOF
19528 /* confdefs.h. */
19529 _ACEOF
19530 cat confdefs.h >>conftest.$ac_ext
19531 cat >>conftest.$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533
19534 int
19535 main ()
19536 {
19537
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 rm -f conftest.$ac_objext
19543 if { (ac_try="$ac_compile"
19544 case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19547 esac
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_compile") 2>conftest.er1
19550 ac_status=$?
19551 grep -v '^ *+' conftest.er1 >conftest.err
19552 rm -f conftest.er1
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest.$ac_objext; then
19559 ac_cv_prog_cc_g=yes
19560 else
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19563
19564
19565 fi
19566
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 fi
19569
19570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 fi
19572
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 ac_c_werror_flag=$ac_save_c_werror_flag
19575 fi
19576 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19577 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19578 if test "$ac_test_CFLAGS" = set; then
19579 CFLAGS=$ac_save_CFLAGS
19580 elif test $ac_cv_prog_cc_g = yes; then
19581 if test "$GCC" = yes; then
19582 CFLAGS="-g -O2"
19583 else
19584 CFLAGS="-g"
19585 fi
19586 else
19587 if test "$GCC" = yes; then
19588 CFLAGS="-O2"
19589 else
19590 CFLAGS=
19591 fi
19592 fi
19593 fi
19594 fi
19595
19596 case `uname -s` in
19597 AIX*)
19598
19599
19600 ac_ext=cpp
19601 ac_cpp='$CXXCPP $CPPFLAGS'
19602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19605
19606 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19607 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19608 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19610 else
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617
19618 int
19619 main ()
19620 {
19621
19622 #ifndef __xlC__
19623 choke me
19624 #endif
19625
19626 ;
19627 return 0;
19628 }
19629 _ACEOF
19630 rm -f conftest.$ac_objext
19631 if { (ac_try="$ac_compile"
19632 case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19634 *) ac_try_echo=$ac_try;;
19635 esac
19636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19637 (eval "$ac_compile") 2>conftest.er1
19638 ac_status=$?
19639 grep -v '^ *+' conftest.er1 >conftest.err
19640 rm -f conftest.er1
19641 cat conftest.err >&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } && {
19644 test -z "$ac_cxx_werror_flag" ||
19645 test ! -s conftest.err
19646 } && test -s conftest.$ac_objext; then
19647 bakefile_cv_cxx_compiler___xlC__=yes
19648 else
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19651
19652 bakefile_cv_cxx_compiler___xlC__=no
19653
19654 fi
19655
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19657
19658
19659 fi
19660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19661 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19662 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19663 :; XLCXX=yes
19664 else
19665 :;
19666 fi
19667 ac_ext=c
19668 ac_cpp='$CPP $CPPFLAGS'
19669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19672
19673
19674
19675 ;;
19676
19677 Darwin)
19678
19679
19680 ac_ext=cpp
19681 ac_cpp='$CXXCPP $CPPFLAGS'
19682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19685
19686 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19687 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19688 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 else
19691 cat >conftest.$ac_ext <<_ACEOF
19692 /* confdefs.h. */
19693 _ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697
19698 int
19699 main ()
19700 {
19701
19702 #ifndef __MWERKS__
19703 choke me
19704 #endif
19705
19706 ;
19707 return 0;
19708 }
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_cxx_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 bakefile_cv_cxx_compiler___MWERKS__=yes
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 bakefile_cv_cxx_compiler___MWERKS__=no
19733
19734 fi
19735
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737
19738
19739 fi
19740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19742 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19743 :; MWCXX=yes
19744 else
19745 :;
19746 fi
19747 ac_ext=c
19748 ac_cpp='$CPP $CPPFLAGS'
19749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19752
19753
19754
19755
19756
19757 ac_ext=cpp
19758 ac_cpp='$CXXCPP $CPPFLAGS'
19759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19762
19763 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19764 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19765 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 else
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774
19775 int
19776 main ()
19777 {
19778
19779 #ifndef __xlC__
19780 choke me
19781 #endif
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_cxx_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 bakefile_cv_cxx_compiler___xlC__=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 bakefile_cv_cxx_compiler___xlC__=no
19810
19811 fi
19812
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814
19815
19816 fi
19817 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19818 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19819 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19820 :; XLCXX=yes
19821 else
19822 :;
19823 fi
19824 ac_ext=c
19825 ac_cpp='$CPP $CPPFLAGS'
19826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19829
19830
19831
19832 ;;
19833
19834 IRIX*)
19835
19836
19837 ac_ext=cpp
19838 ac_cpp='$CXXCPP $CPPFLAGS'
19839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19842
19843 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19844 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19845 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19847 else
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854
19855 int
19856 main ()
19857 {
19858
19859 #ifndef _SGI_COMPILER_VERSION
19860 choke me
19861 #endif
19862
19863 ;
19864 return 0;
19865 }
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (ac_try="$ac_compile"
19869 case "(($ac_try" in
19870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19871 *) ac_try_echo=$ac_try;;
19872 esac
19873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19874 (eval "$ac_compile") 2>conftest.er1
19875 ac_status=$?
19876 grep -v '^ *+' conftest.er1 >conftest.err
19877 rm -f conftest.er1
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } && {
19881 test -z "$ac_cxx_werror_flag" ||
19882 test ! -s conftest.err
19883 } && test -s conftest.$ac_objext; then
19884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19885 else
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.$ac_ext >&5
19888
19889 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19890
19891 fi
19892
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894
19895
19896 fi
19897 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19898 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19899 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19900 :; SGICXX=yes
19901 else
19902 :;
19903 fi
19904 ac_ext=c
19905 ac_cpp='$CPP $CPPFLAGS'
19906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19909
19910
19911
19912 ;;
19913
19914 Linux*)
19915
19916
19917 ac_ext=cpp
19918 ac_cpp='$CXXCPP $CPPFLAGS'
19919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19922
19923 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19924 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19925 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 else
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934
19935 int
19936 main ()
19937 {
19938
19939 #ifndef __SUNPRO_CC
19940 choke me
19941 #endif
19942
19943 ;
19944 return 0;
19945 }
19946 _ACEOF
19947 rm -f conftest.$ac_objext
19948 if { (ac_try="$ac_compile"
19949 case "(($ac_try" in
19950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19951 *) ac_try_echo=$ac_try;;
19952 esac
19953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19954 (eval "$ac_compile") 2>conftest.er1
19955 ac_status=$?
19956 grep -v '^ *+' conftest.er1 >conftest.err
19957 rm -f conftest.er1
19958 cat conftest.err >&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); } && {
19961 test -z "$ac_cxx_werror_flag" ||
19962 test ! -s conftest.err
19963 } && test -s conftest.$ac_objext; then
19964 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19965 else
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19970
19971 fi
19972
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974
19975
19976 fi
19977 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19978 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19979 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19980 :; SUNCXX=yes
19981 else
19982 :;
19983 fi
19984 ac_ext=c
19985 ac_cpp='$CPP $CPPFLAGS'
19986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19989
19990
19991
19992 ;;
19993
19994 HP-UX*)
19995
19996
19997 ac_ext=cpp
19998 ac_cpp='$CXXCPP $CPPFLAGS'
19999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20002
20003 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20004 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20005 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014
20015 int
20016 main ()
20017 {
20018
20019 #ifndef __HP_aCC
20020 choke me
20021 #endif
20022
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 rm -f conftest.$ac_objext
20028 if { (ac_try="$ac_compile"
20029 case "(($ac_try" in
20030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20032 esac
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_cxx_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20044 bakefile_cv_cxx_compiler___HP_aCC=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20048
20049 bakefile_cv_cxx_compiler___HP_aCC=no
20050
20051 fi
20052
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054
20055
20056 fi
20057 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20058 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20059 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20060 :; HPCXX=yes
20061 else
20062 :;
20063 fi
20064 ac_ext=c
20065 ac_cpp='$CPP $CPPFLAGS'
20066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20069
20070
20071
20072 ;;
20073
20074 OSF1)
20075
20076
20077 ac_ext=cpp
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20082
20083 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20084 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20085 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 else
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094
20095 int
20096 main ()
20097 {
20098
20099 #ifndef __DECCXX
20100 choke me
20101 #endif
20102
20103 ;
20104 return 0;
20105 }
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (ac_try="$ac_compile"
20109 case "(($ac_try" in
20110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20111 *) ac_try_echo=$ac_try;;
20112 esac
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_compile") 2>conftest.er1
20115 ac_status=$?
20116 grep -v '^ *+' conftest.er1 >conftest.err
20117 rm -f conftest.er1
20118 cat conftest.err >&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } && {
20121 test -z "$ac_cxx_werror_flag" ||
20122 test ! -s conftest.err
20123 } && test -s conftest.$ac_objext; then
20124 bakefile_cv_cxx_compiler___DECCXX=yes
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20128
20129 bakefile_cv_cxx_compiler___DECCXX=no
20130
20131 fi
20132
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20134
20135
20136 fi
20137 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20138 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20139 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20140 :; COMPAQCXX=yes
20141 else
20142 :;
20143 fi
20144 ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20149
20150
20151
20152 ;;
20153
20154 SunOS)
20155
20156
20157 ac_ext=cpp
20158 ac_cpp='$CXXCPP $CPPFLAGS'
20159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20162
20163 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20164 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20165 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 else
20168 cat >conftest.$ac_ext <<_ACEOF
20169 /* confdefs.h. */
20170 _ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174
20175 int
20176 main ()
20177 {
20178
20179 #ifndef __SUNPRO_CC
20180 choke me
20181 #endif
20182
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 rm -f conftest.$ac_objext
20188 if { (ac_try="$ac_compile"
20189 case "(($ac_try" in
20190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20191 *) ac_try_echo=$ac_try;;
20192 esac
20193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20194 (eval "$ac_compile") 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } && {
20201 test -z "$ac_cxx_werror_flag" ||
20202 test ! -s conftest.err
20203 } && test -s conftest.$ac_objext; then
20204 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20208
20209 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20210
20211 fi
20212
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214
20215
20216 fi
20217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20219 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20220 :; SUNCXX=yes
20221 else
20222 :;
20223 fi
20224 ac_ext=c
20225 ac_cpp='$CPP $CPPFLAGS'
20226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20229
20230
20231
20232 ;;
20233 esac
20234 fi
20235
20236
20237
20238 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20239 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20240 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20241 { (exit 1); exit 1; }; }
20242 fi
20243
20244 if test "x$SUNCXX" != xyes; then
20245 if test -n "$ac_tool_prefix"; then
20246 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20247 set dummy ${ac_tool_prefix}ar; ac_word=$2
20248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20250 if test "${ac_cv_prog_AR+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 if test -n "$AR"; then
20254 ac_cv_prog_AR="$AR" # Let the user override the test.
20255 else
20256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20257 for as_dir in $PATH
20258 do
20259 IFS=$as_save_IFS
20260 test -z "$as_dir" && as_dir=.
20261 for ac_exec_ext in '' $ac_executable_extensions; do
20262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20263 ac_cv_prog_AR="${ac_tool_prefix}ar"
20264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20265 break 2
20266 fi
20267 done
20268 done
20269 IFS=$as_save_IFS
20270
20271 fi
20272 fi
20273 AR=$ac_cv_prog_AR
20274 if test -n "$AR"; then
20275 { echo "$as_me:$LINENO: result: $AR" >&5
20276 echo "${ECHO_T}$AR" >&6; }
20277 else
20278 { echo "$as_me:$LINENO: result: no" >&5
20279 echo "${ECHO_T}no" >&6; }
20280 fi
20281
20282
20283 fi
20284 if test -z "$ac_cv_prog_AR"; then
20285 ac_ct_AR=$AR
20286 # Extract the first word of "ar", so it can be a program name with args.
20287 set dummy ar; ac_word=$2
20288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20290 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20292 else
20293 if test -n "$ac_ct_AR"; then
20294 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20295 else
20296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20297 for as_dir in $PATH
20298 do
20299 IFS=$as_save_IFS
20300 test -z "$as_dir" && as_dir=.
20301 for ac_exec_ext in '' $ac_executable_extensions; do
20302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20303 ac_cv_prog_ac_ct_AR="ar"
20304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20305 break 2
20306 fi
20307 done
20308 done
20309 IFS=$as_save_IFS
20310
20311 fi
20312 fi
20313 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20314 if test -n "$ac_ct_AR"; then
20315 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20316 echo "${ECHO_T}$ac_ct_AR" >&6; }
20317 else
20318 { echo "$as_me:$LINENO: result: no" >&5
20319 echo "${ECHO_T}no" >&6; }
20320 fi
20321
20322 if test "x$ac_ct_AR" = x; then
20323 AR=""
20324 else
20325 case $cross_compiling:$ac_tool_warned in
20326 yes:)
20327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20328 whose name does not start with the host triplet. If you think this
20329 configuration is useful to you, please write to autoconf@gnu.org." >&5
20330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20331 whose name does not start with the host triplet. If you think this
20332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20333 ac_tool_warned=yes ;;
20334 esac
20335 AR=$ac_ct_AR
20336 fi
20337 else
20338 AR="$ac_cv_prog_AR"
20339 fi
20340
20341 if test "x$AR" = "x" ; then
20342 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20343 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20344 { (exit 1); exit 1; }; }
20345 fi
20346 fi
20347
20348 retest_macosx_linking=no
20349
20350 #if test "$wxUSE_MAC" = 1; then
20351 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20352 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20353 # Implicitly turn on the new --with-macosx-sdk using the default
20354 # SDK which provides the behavior this option has always had.
20355 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20356 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20357 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20358 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20359 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20360 wxUSE_MACOSX_SDK=yes
20361 fi
20362 else
20363 # Complain to user if he specified an argument to --enable-universal_binary
20364 # and also 1) specified --with-macosx-sdk using the default (yes) or
20365 # 2) specified --with-macosx-sdk using a path or 3) specified
20366 # --without-macosx-sdk (no).
20367 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20368 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20369 See \`config.log' for more details." >&5
20370 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20371 See \`config.log' for more details." >&2;}
20372 { (exit 1); exit 1; }; }
20373 else
20374 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20375 # special-case the empty string because the below test simply
20376 # converts "no" to the empty string anyway.
20377 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20378 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20379 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20380 fi
20381 fi
20382 OSX_UNIV_OPTS="-arch ppc -arch i386"
20383 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20384 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20385 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20386 retest_macosx_linking=yes
20387
20388 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20389 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20390 bk_use_pch=no
20391 fi
20392 #fi
20393
20394 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20395 wxUSE_MACOSX_SDK=
20396 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20397 # TODO: Search for most recent SDK and use it.
20398 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20399 fi
20400
20401
20402 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20403 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20404 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20405 if ! test -d "$wxUSE_MACOSX_SDK"; then
20406 { { echo "$as_me:$LINENO: error: not found
20407 See \`config.log' for more details." >&5
20408 echo "$as_me: error: not found
20409 See \`config.log' for more details." >&2;}
20410 { (exit 1); exit 1; }; }
20411 else
20412 { echo "$as_me:$LINENO: result: exists" >&5
20413 echo "${ECHO_T}exists" >&6; }
20414 fi
20415 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20416 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20417 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20418 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20419 retest_macosx_linking=yes
20420 fi
20421
20422 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20423 wxUSE_MACOSX_VERSION_MIN=
20424 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20425 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20426 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20427 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20428
20429 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/'`
20430
20431 # If that failed, try again with the new key
20432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20433
20434 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/'`
20435
20436 fi
20437
20438 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20439 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20440 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20441 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20442 else
20443 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20444 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20445 wxUSE_MACOSX_VERSION_MIN=
20446 fi
20447 else
20448 wxUSE_MACOSX_VERSION_MIN=
20449 fi
20450 fi
20451
20452 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20453 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20454 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20455 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20456 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20457 retest_macosx_linking=yes
20458 fi
20459
20460 if test "x$retest_macosx_linking" = "xyes"; then
20461 ac_ext=c
20462 ac_cpp='$CPP $CPPFLAGS'
20463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20466
20467 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20468 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20469 cat >conftest.$ac_ext <<_ACEOF
20470 /* confdefs.h. */
20471 _ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475
20476 int
20477 main ()
20478 {
20479
20480 ;
20481 return 0;
20482 }
20483 _ACEOF
20484 rm -f conftest.$ac_objext conftest$ac_exeext
20485 if { (ac_try="$ac_link"
20486 case "(($ac_try" in
20487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20488 *) ac_try_echo=$ac_try;;
20489 esac
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20491 (eval "$ac_link") 2>conftest.er1
20492 ac_status=$?
20493 grep -v '^ *+' conftest.er1 >conftest.err
20494 rm -f conftest.er1
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } && {
20498 test -z "$ac_c_werror_flag" ||
20499 test ! -s conftest.err
20500 } && test -s conftest$ac_exeext &&
20501 $as_test_x conftest$ac_exeext; then
20502 { echo "$as_me:$LINENO: result: yes" >&5
20503 echo "${ECHO_T}yes" >&6; }
20504 else
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.$ac_ext >&5
20507
20508 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20509 See \`config.log' for more details." >&5
20510 echo "$as_me: error: no. Try a different SDK
20511 See \`config.log' for more details." >&2;}
20512 { (exit 1); exit 1; }; }; exit 1
20513 fi
20514
20515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20516 conftest$ac_exeext conftest.$ac_ext
20517 ac_ext=c
20518 ac_cpp='$CPP $CPPFLAGS'
20519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20522
20523
20524 ac_ext=cpp
20525 ac_cpp='$CXXCPP $CPPFLAGS'
20526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20529
20530 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20531 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538
20539 int
20540 main ()
20541 {
20542
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest.$ac_objext conftest$ac_exeext
20548 if { (ac_try="$ac_link"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_link") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_cxx_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest$ac_exeext &&
20564 $as_test_x conftest$ac_exeext; then
20565 { echo "$as_me:$LINENO: result: yes" >&5
20566 echo "${ECHO_T}yes" >&6; }
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20570
20571 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20572 See \`config.log' for more details." >&5
20573 echo "$as_me: error: no. Try a different SDK
20574 See \`config.log' for more details." >&2;}
20575 { (exit 1); exit 1; }; }; exit 1
20576 fi
20577
20578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20579 conftest$ac_exeext conftest.$ac_ext
20580 ac_ext=c
20581 ac_cpp='$CPP $CPPFLAGS'
20582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20585
20586 fi
20587
20588
20589 case "${host}" in
20590
20591 *-*-darwin* )
20592 INSTALL_PROGRAM="cp -fp"
20593 INSTALL_DATA="cp -fp"
20594 ;;
20595 *)
20596 ;;
20597 esac
20598
20599
20600 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20601 CXXFLAGS="-qunique $CXXFLAGS"
20602 fi
20603
20604 case "${host}" in
20605 powerpc-*-darwin* )
20606 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20607 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614
20615 int
20616 main ()
20617 {
20618 #ifndef __POWERPC__
20619 choke me for lack of PowerPC
20620 #endif
20621
20622 ;
20623 return 0;
20624 }
20625 _ACEOF
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20631 esac
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 { echo "$as_me:$LINENO: result: yes" >&5
20644 echo "${ECHO_T}yes" >&6; }
20645 else
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20648
20649 { echo "$as_me:$LINENO: result: no" >&5
20650 echo "${ECHO_T}no" >&6; }
20651 cat >>confdefs.h <<\_ACEOF
20652 #define __POWERPC__ 1
20653 _ACEOF
20654
20655
20656 fi
20657
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659 ;;
20660 esac
20661
20662 case "${host}" in
20663 *-*-darwin* )
20664 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20665 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 #include <CoreFoundation/CFBase.h>
20673
20674 int
20675 main ()
20676 {
20677
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 rm -f conftest.$ac_objext
20683 if { (ac_try="$ac_compile"
20684 case "(($ac_try" in
20685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20686 *) ac_try_echo=$ac_try;;
20687 esac
20688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20689 (eval "$ac_compile") 2>conftest.er1
20690 ac_status=$?
20691 grep -v '^ *+' conftest.er1 >conftest.err
20692 rm -f conftest.er1
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } && {
20696 test -z "$ac_c_werror_flag" ||
20697 test ! -s conftest.err
20698 } && test -s conftest.$ac_objext; then
20699 { echo "$as_me:$LINENO: result: yes" >&5
20700 echo "${ECHO_T}yes" >&6; }
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 { echo "$as_me:$LINENO: result: no" >&5
20706 echo "${ECHO_T}no" >&6; }
20707 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20708 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20709 cat >conftest.$ac_ext <<_ACEOF
20710 /* confdefs.h. */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715 #define __CF_USE_FRAMEWORK_INCLUDES__
20716 #include <CoreFoundation/CFBase.h>
20717
20718 int
20719 main ()
20720 {
20721
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 { echo "$as_me:$LINENO: result: yes" >&5
20744 echo "${ECHO_T}yes" >&6; }
20745 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20746 else
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20749
20750 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20751 See \`config.log' for more details." >&5
20752 echo "$as_me: error: no. CoreFoundation not available.
20753 See \`config.log' for more details." >&2;}
20754 { (exit 1); exit 1; }; }
20755
20756 fi
20757
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759
20760
20761 fi
20762
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 ;;
20765 esac
20766
20767 wants_win32=0
20768 doesnt_want_win32=0
20769 case "${host}" in
20770 *-*-cygwin*)
20771 if test "$wxUSE_MSW" = 1 ; then
20772 wants_win32=1
20773 else
20774 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20775 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20776 if test "${wx_cv_nocygwin+set}" = set; then
20777 echo $ECHO_N "(cached) $ECHO_C" >&6
20778 else
20779
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786
20787 int
20788 main ()
20789 {
20790
20791 #ifdef __MINGW32__
20792 choke me
20793 #endif
20794
20795 ;
20796 return 0;
20797 }
20798 _ACEOF
20799 rm -f conftest.$ac_objext
20800 if { (ac_try="$ac_compile"
20801 case "(($ac_try" in
20802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20803 *) ac_try_echo=$ac_try;;
20804 esac
20805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_compile") 2>conftest.er1
20807 ac_status=$?
20808 grep -v '^ *+' conftest.er1 >conftest.err
20809 rm -f conftest.er1
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } && {
20813 test -z "$ac_c_werror_flag" ||
20814 test ! -s conftest.err
20815 } && test -s conftest.$ac_objext; then
20816 wx_cv_nocygwin=no
20817 else
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20820
20821 wx_cv_nocygwin=yes
20822
20823 fi
20824
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826
20827
20828 fi
20829 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20830 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20831
20832 if test "$wx_cv_nocygwin" = "yes"; then
20833 wants_win32=1
20834 else
20835 doesnt_want_win32=1
20836 fi
20837 fi
20838 if test "$wants_win32" = 1 ; then
20839 BAKEFILE_FORCE_PLATFORM=win32
20840 fi
20841 ;;
20842 *-*-mingw*)
20843 wants_win32=1
20844 ;;
20845 esac
20846
20847 if test "$wxUSE_WINE" = "yes"; then
20848 wants_win32=1
20849 LDFLAGS_GUI="-mwindows"
20850 fi
20851
20852 if test "$wants_win32" = 1 ; then
20853 USE_UNIX=0
20854 USE_WIN32=1
20855 cat >>confdefs.h <<\_ACEOF
20856 #define __WIN32__ 1
20857 _ACEOF
20858
20859 cat >>confdefs.h <<\_ACEOF
20860 #define __WIN95__ 1
20861 _ACEOF
20862
20863 cat >>confdefs.h <<\_ACEOF
20864 #define __WINDOWS__ 1
20865 _ACEOF
20866
20867 cat >>confdefs.h <<\_ACEOF
20868 #define __GNUWIN32__ 1
20869 _ACEOF
20870
20871 cat >>confdefs.h <<\_ACEOF
20872 #define STRICT 1
20873 _ACEOF
20874
20875 fi
20876 if test "$doesnt_want_win32" = 1 ; then
20877 USE_UNIX=1
20878 USE_WIN32=0
20879 fi
20880
20881 if test "$USE_UNIX" = 1 ; then
20882 wxUSE_UNIX=yes
20883 cat >>confdefs.h <<\_ACEOF
20884 #define __UNIX__ 1
20885 _ACEOF
20886
20887 fi
20888
20889 case "${host}" in
20890 *-pc-os2_emx | *-pc-os2-emx )
20891 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20892 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20893 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20894 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20896 else
20897 ac_check_lib_save_LIBS=$LIBS
20898 LIBS="-lcExt $LIBS"
20899 cat >conftest.$ac_ext <<_ACEOF
20900 /* confdefs.h. */
20901 _ACEOF
20902 cat confdefs.h >>conftest.$ac_ext
20903 cat >>conftest.$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905
20906 /* Override any GCC internal prototype to avoid an error.
20907 Use char because int might match the return type of a GCC
20908 builtin and then its argument prototype would still apply. */
20909 #ifdef __cplusplus
20910 extern "C"
20911 #endif
20912 char drand48 ();
20913 int
20914 main ()
20915 {
20916 return drand48 ();
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest.$ac_objext conftest$ac_exeext
20922 if { (ac_try="$ac_link"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926 esac
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_link") 2>conftest.er1
20929 ac_status=$?
20930 grep -v '^ *+' conftest.er1 >conftest.err
20931 rm -f conftest.er1
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } && {
20935 test -z "$ac_c_werror_flag" ||
20936 test ! -s conftest.err
20937 } && test -s conftest$ac_exeext &&
20938 $as_test_x conftest$ac_exeext; then
20939 ac_cv_lib_cExt_drand48=yes
20940 else
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20943
20944 ac_cv_lib_cExt_drand48=no
20945 fi
20946
20947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20948 conftest$ac_exeext conftest.$ac_ext
20949 LIBS=$ac_check_lib_save_LIBS
20950 fi
20951 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20952 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20953 if test $ac_cv_lib_cExt_drand48 = yes; then
20954 LIBS="$LIBS -lcExt"
20955 fi
20956
20957 else
20958 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20959 fi
20960 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20961 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20962 if test "${wx_cv_gccversion+set}" = set; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20964 else
20965
20966 if test "$cross_compiling" = yes; then
20967 wx_cv_gccversion="EMX2"
20968
20969 else
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976
20977 #include <stdio.h>
20978
20979 int main()
20980 {
20981 FILE *f=fopen("conftestval", "w");
20982 if (!f) exit(1);
20983 fprintf(f,
20984 #if (__GNUC__ < 3)
20985 "EMX2"
20986 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20987 "EMX3"
20988 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20989 "Innotek5"
20990 #else
20991 "Innotek6"
20992 #endif
20993 );
20994 exit(0);
20995 }
20996
20997 _ACEOF
20998 rm -f conftest$ac_exeext
20999 if { (ac_try="$ac_link"
21000 case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21003 esac
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_link") 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21009 { (case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_try") 2>&5
21015 ac_status=$?
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; }; then
21018 wx_cv_gccversion=`cat conftestval`
21019 else
21020 echo "$as_me: program exited with status $ac_status" >&5
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21023
21024 ( exit $ac_status )
21025 wx_cv_gccversion="EMX2"
21026 fi
21027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21028 fi
21029
21030
21031
21032 fi
21033 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21034 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21035 if test "$wx_cv_gccversion" = "EMX2"; then
21036 LIBS="$LIBS -lstdcpp"
21037 LDFLAGS="$LDFLAGS -Zsysv-signals"
21038 else
21039 if test "$wx_cv_gccversion" = "EMX3"; then
21040 LIBS="$LIBS -lstdcxx -lgcc"
21041 LDFLAGS="$LDFLAGS -Zsysv-signals"
21042 else
21043 LIBS="$LIBS -lstdc++"
21044 fi
21045 fi
21046 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21047 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21048 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21049 wxUSE_OMF=yes
21050 enable_omf=yes
21051 fi
21052 ;;
21053 *)
21054
21055 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21056 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21057 if test "${ac_cv_string_strcasecmp+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21060
21061 cat >conftest.$ac_ext <<_ACEOF
21062 /* confdefs.h. */
21063 _ACEOF
21064 cat confdefs.h >>conftest.$ac_ext
21065 cat >>conftest.$ac_ext <<_ACEOF
21066 /* end confdefs.h. */
21067
21068 #include <string.h>
21069
21070 int
21071 main ()
21072 {
21073
21074 strcasecmp("foo", "bar");
21075
21076 ;
21077 return 0;
21078 }
21079 _ACEOF
21080 rm -f conftest.$ac_objext conftest$ac_exeext
21081 if { (ac_try="$ac_link"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21085 esac
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_link") 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest$ac_exeext &&
21097 $as_test_x conftest$ac_exeext; then
21098 ac_cv_string_strcasecmp=yes
21099 else
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21102
21103 ac_cv_string_strcasecmp=no
21104
21105 fi
21106
21107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21108 conftest$ac_exeext conftest.$ac_ext
21109
21110 fi
21111 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21112 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21113
21114 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21115 cat >>confdefs.h <<\_ACEOF
21116 #define HAVE_STRCASECMP_IN_STRING_H 1
21117 _ACEOF
21118
21119 else
21120 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21121 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21122 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 else
21125
21126 cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h. */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132
21133 #include <strings.h>
21134
21135 int
21136 main ()
21137 {
21138
21139 strcasecmp("foo", "bar");
21140
21141 ;
21142 return 0;
21143 }
21144 _ACEOF
21145 rm -f conftest.$ac_objext conftest$ac_exeext
21146 if { (ac_try="$ac_link"
21147 case "(($ac_try" in
21148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21149 *) ac_try_echo=$ac_try;;
21150 esac
21151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21152 (eval "$ac_link") 2>conftest.er1
21153 ac_status=$?
21154 grep -v '^ *+' conftest.er1 >conftest.err
21155 rm -f conftest.er1
21156 cat conftest.err >&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } && {
21159 test -z "$ac_c_werror_flag" ||
21160 test ! -s conftest.err
21161 } && test -s conftest$ac_exeext &&
21162 $as_test_x conftest$ac_exeext; then
21163 ac_cv_strings_strcasecmp=yes
21164 else
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21167
21168 ac_cv_strings_strcasecmp=no
21169
21170 fi
21171
21172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21173 conftest$ac_exeext conftest.$ac_ext
21174
21175 fi
21176 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21177 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21178
21179 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21180 cat >>confdefs.h <<\_ACEOF
21181 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21182 _ACEOF
21183
21184 else
21185 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21186 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21187 { (exit 1); exit 1; }; }
21188 fi
21189 fi
21190
21191 ;;
21192 esac
21193
21194
21195 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21196 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21197 if test "${ac_cv_header_stdc+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 #include <stdlib.h>
21207 #include <stdarg.h>
21208 #include <string.h>
21209 #include <float.h>
21210
21211 int
21212 main ()
21213 {
21214
21215 ;
21216 return 0;
21217 }
21218 _ACEOF
21219 rm -f conftest.$ac_objext
21220 if { (ac_try="$ac_compile"
21221 case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21224 esac
21225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21226 (eval "$ac_compile") 2>conftest.er1
21227 ac_status=$?
21228 grep -v '^ *+' conftest.er1 >conftest.err
21229 rm -f conftest.er1
21230 cat conftest.err >&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } && {
21233 test -z "$ac_c_werror_flag" ||
21234 test ! -s conftest.err
21235 } && test -s conftest.$ac_objext; then
21236 ac_cv_header_stdc=yes
21237 else
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21240
21241 ac_cv_header_stdc=no
21242 fi
21243
21244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21245
21246 if test $ac_cv_header_stdc = yes; then
21247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <string.h>
21255
21256 _ACEOF
21257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21258 $EGREP "memchr" >/dev/null 2>&1; then
21259 :
21260 else
21261 ac_cv_header_stdc=no
21262 fi
21263 rm -f conftest*
21264
21265 fi
21266
21267 if test $ac_cv_header_stdc = yes; then
21268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21269 cat >conftest.$ac_ext <<_ACEOF
21270 /* confdefs.h. */
21271 _ACEOF
21272 cat confdefs.h >>conftest.$ac_ext
21273 cat >>conftest.$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21275 #include <stdlib.h>
21276
21277 _ACEOF
21278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21279 $EGREP "free" >/dev/null 2>&1; then
21280 :
21281 else
21282 ac_cv_header_stdc=no
21283 fi
21284 rm -f conftest*
21285
21286 fi
21287
21288 if test $ac_cv_header_stdc = yes; then
21289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21290 if test "$cross_compiling" = yes; then
21291 :
21292 else
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 #include <ctype.h>
21300 #include <stdlib.h>
21301 #if ((' ' & 0x0FF) == 0x020)
21302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21304 #else
21305 # define ISLOWER(c) \
21306 (('a' <= (c) && (c) <= 'i') \
21307 || ('j' <= (c) && (c) <= 'r') \
21308 || ('s' <= (c) && (c) <= 'z'))
21309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21310 #endif
21311
21312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21313 int
21314 main ()
21315 {
21316 int i;
21317 for (i = 0; i < 256; i++)
21318 if (XOR (islower (i), ISLOWER (i))
21319 || toupper (i) != TOUPPER (i))
21320 return 2;
21321 return 0;
21322 }
21323 _ACEOF
21324 rm -f conftest$ac_exeext
21325 if { (ac_try="$ac_link"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329 esac
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_link") 2>&5
21332 ac_status=$?
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21335 { (case "(($ac_try" in
21336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21337 *) ac_try_echo=$ac_try;;
21338 esac
21339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21340 (eval "$ac_try") 2>&5
21341 ac_status=$?
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); }; }; then
21344 :
21345 else
21346 echo "$as_me: program exited with status $ac_status" >&5
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21349
21350 ( exit $ac_status )
21351 ac_cv_header_stdc=no
21352 fi
21353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21354 fi
21355
21356
21357 fi
21358 fi
21359 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21360 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21361 if test $ac_cv_header_stdc = yes; then
21362
21363 cat >>confdefs.h <<\_ACEOF
21364 #define STDC_HEADERS 1
21365 _ACEOF
21366
21367 fi
21368
21369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21380 inttypes.h stdint.h unistd.h
21381 do
21382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395
21396 #include <$ac_header>
21397 _ACEOF
21398 rm -f conftest.$ac_objext
21399 if { (ac_try="$ac_compile"
21400 case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21406 ac_status=$?
21407 grep -v '^ *+' conftest.er1 >conftest.err
21408 rm -f conftest.er1
21409 cat conftest.err >&5
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); } && {
21412 test -z "$ac_c_werror_flag" ||
21413 test ! -s conftest.err
21414 } && test -s conftest.$ac_objext; then
21415 eval "$as_ac_Header=yes"
21416 else
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21419
21420 eval "$as_ac_Header=no"
21421 fi
21422
21423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21424 fi
21425 ac_res=`eval echo '${'$as_ac_Header'}'`
21426 { echo "$as_me:$LINENO: result: $ac_res" >&5
21427 echo "${ECHO_T}$ac_res" >&6; }
21428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21429 cat >>confdefs.h <<_ACEOF
21430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21431 _ACEOF
21432
21433 fi
21434
21435 done
21436
21437
21438
21439
21440 for ac_header in langinfo.h wchar.h
21441 do
21442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 else
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455
21456 #include <$ac_header>
21457 _ACEOF
21458 rm -f conftest.$ac_objext
21459 if { (ac_try="$ac_compile"
21460 case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21463 esac
21464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_compile") 2>conftest.er1
21466 ac_status=$?
21467 grep -v '^ *+' conftest.er1 >conftest.err
21468 rm -f conftest.er1
21469 cat conftest.err >&5
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); } && {
21472 test -z "$ac_c_werror_flag" ||
21473 test ! -s conftest.err
21474 } && test -s conftest.$ac_objext; then
21475 eval "$as_ac_Header=yes"
21476 else
21477 echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.$ac_ext >&5
21479
21480 eval "$as_ac_Header=no"
21481 fi
21482
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 fi
21485 ac_res=`eval echo '${'$as_ac_Header'}'`
21486 { echo "$as_me:$LINENO: result: $ac_res" >&5
21487 echo "${ECHO_T}$ac_res" >&6; }
21488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21489 cat >>confdefs.h <<_ACEOF
21490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21491 _ACEOF
21492
21493 fi
21494
21495 done
21496
21497
21498 if test "$ac_cv_header_wchar_h" != "yes"; then
21499
21500 for ac_header in wcstr.h
21501 do
21502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 else
21508 cat >conftest.$ac_ext <<_ACEOF
21509 /* confdefs.h. */
21510 _ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 $ac_includes_default
21515
21516 #include <$ac_header>
21517 _ACEOF
21518 rm -f conftest.$ac_objext
21519 if { (ac_try="$ac_compile"
21520 case "(($ac_try" in
21521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21522 *) ac_try_echo=$ac_try;;
21523 esac
21524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_compile") 2>conftest.er1
21526 ac_status=$?
21527 grep -v '^ *+' conftest.er1 >conftest.err
21528 rm -f conftest.er1
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } && {
21532 test -z "$ac_c_werror_flag" ||
21533 test ! -s conftest.err
21534 } && test -s conftest.$ac_objext; then
21535 eval "$as_ac_Header=yes"
21536 else
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21539
21540 eval "$as_ac_Header=no"
21541 fi
21542
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 fi
21545 ac_res=`eval echo '${'$as_ac_Header'}'`
21546 { echo "$as_me:$LINENO: result: $ac_res" >&5
21547 echo "${ECHO_T}$ac_res" >&6; }
21548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21549 cat >>confdefs.h <<_ACEOF
21550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21551 _ACEOF
21552
21553 fi
21554
21555 done
21556
21557 fi
21558
21559 case "${host}" in
21560 *-pc-os2_emx | *-pc-os2-emx )
21561 if test $ac_cv_header_langinfo_h = "yes" \
21562 -a \( "$wx_cv_gccversion" = "EMX2" \
21563 -o "$wx_cv_gccversion" = "EMX3" \
21564 -o "$wx_cv_gccversion" = "Innotek5" \); then
21565 LIBS="$LIBS -lintl"
21566 fi
21567 ;;
21568 esac
21569
21570 if test "$USE_UNIX" = 1 ; then
21571
21572 for ac_header in sys/select.h
21573 do
21574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 else
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587
21588 #include <$ac_header>
21589 _ACEOF
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21595 esac
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21598 ac_status=$?
21599 grep -v '^ *+' conftest.er1 >conftest.err
21600 rm -f conftest.er1
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } && {
21604 test -z "$ac_c_werror_flag" ||
21605 test ! -s conftest.err
21606 } && test -s conftest.$ac_objext; then
21607 eval "$as_ac_Header=yes"
21608 else
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21611
21612 eval "$as_ac_Header=no"
21613 fi
21614
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21616 fi
21617 ac_res=`eval echo '${'$as_ac_Header'}'`
21618 { echo "$as_me:$LINENO: result: $ac_res" >&5
21619 echo "${ECHO_T}$ac_res" >&6; }
21620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21621 cat >>confdefs.h <<_ACEOF
21622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21623 _ACEOF
21624
21625 fi
21626
21627 done
21628
21629 fi
21630
21631
21632 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21633 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21634 if test "${ac_cv_c_const+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 else
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h. */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643
21644 int
21645 main ()
21646 {
21647 /* FIXME: Include the comments suggested by Paul. */
21648 #ifndef __cplusplus
21649 /* Ultrix mips cc rejects this. */
21650 typedef int charset[2];
21651 const charset cs;
21652 /* SunOS 4.1.1 cc rejects this. */
21653 char const *const *pcpcc;
21654 char **ppc;
21655 /* NEC SVR4.0.2 mips cc rejects this. */
21656 struct point {int x, y;};
21657 static struct point const zero = {0,0};
21658 /* AIX XL C 1.02.0.0 rejects this.
21659 It does not let you subtract one const X* pointer from another in
21660 an arm of an if-expression whose if-part is not a constant
21661 expression */
21662 const char *g = "string";
21663 pcpcc = &g + (g ? g-g : 0);
21664 /* HPUX 7.0 cc rejects these. */
21665 ++pcpcc;
21666 ppc = (char**) pcpcc;
21667 pcpcc = (char const *const *) ppc;
21668 { /* SCO 3.2v4 cc rejects this. */
21669 char *t;
21670 char const *s = 0 ? (char *) 0 : (char const *) 0;
21671
21672 *t++ = 0;
21673 if (s) return 0;
21674 }
21675 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21676 int x[] = {25, 17};
21677 const int *foo = &x[0];
21678 ++foo;
21679 }
21680 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21681 typedef const int *iptr;
21682 iptr p = 0;
21683 ++p;
21684 }
21685 { /* AIX XL C 1.02.0.0 rejects this saying
21686 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21687 struct s { int j; const int *ap[3]; };
21688 struct s *b; b->j = 5;
21689 }
21690 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21691 const int foo = 10;
21692 if (!foo) return 0;
21693 }
21694 return !cs[0] && !zero.x;
21695 #endif
21696
21697 ;
21698 return 0;
21699 }
21700 _ACEOF
21701 rm -f conftest.$ac_objext
21702 if { (ac_try="$ac_compile"
21703 case "(($ac_try" in
21704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21705 *) ac_try_echo=$ac_try;;
21706 esac
21707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21708 (eval "$ac_compile") 2>conftest.er1
21709 ac_status=$?
21710 grep -v '^ *+' conftest.er1 >conftest.err
21711 rm -f conftest.er1
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } && {
21715 test -z "$ac_c_werror_flag" ||
21716 test ! -s conftest.err
21717 } && test -s conftest.$ac_objext; then
21718 ac_cv_c_const=yes
21719 else
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.$ac_ext >&5
21722
21723 ac_cv_c_const=no
21724 fi
21725
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 fi
21728 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21729 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21730 if test $ac_cv_c_const = no; then
21731
21732 cat >>confdefs.h <<\_ACEOF
21733 #define const
21734 _ACEOF
21735
21736 fi
21737
21738 { echo "$as_me:$LINENO: checking for inline" >&5
21739 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21740 if test "${ac_cv_c_inline+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 else
21743 ac_cv_c_inline=no
21744 for ac_kw in inline __inline__ __inline; do
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 #ifndef __cplusplus
21752 typedef int foo_t;
21753 static $ac_kw foo_t static_foo () {return 0; }
21754 $ac_kw foo_t foo () {return 0; }
21755 #endif
21756
21757 _ACEOF
21758 rm -f conftest.$ac_objext
21759 if { (ac_try="$ac_compile"
21760 case "(($ac_try" in
21761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21763 esac
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_compile") 2>conftest.er1
21766 ac_status=$?
21767 grep -v '^ *+' conftest.er1 >conftest.err
21768 rm -f conftest.er1
21769 cat conftest.err >&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } && {
21772 test -z "$ac_c_werror_flag" ||
21773 test ! -s conftest.err
21774 } && test -s conftest.$ac_objext; then
21775 ac_cv_c_inline=$ac_kw
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21779
21780
21781 fi
21782
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 test "$ac_cv_c_inline" != no && break
21785 done
21786
21787 fi
21788 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21789 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21790
21791
21792 case $ac_cv_c_inline in
21793 inline | yes) ;;
21794 *)
21795 case $ac_cv_c_inline in
21796 no) ac_val=;;
21797 *) ac_val=$ac_cv_c_inline;;
21798 esac
21799 cat >>confdefs.h <<_ACEOF
21800 #ifndef __cplusplus
21801 #define inline $ac_val
21802 #endif
21803 _ACEOF
21804 ;;
21805 esac
21806
21807
21808 { echo "$as_me:$LINENO: checking for short" >&5
21809 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21810 if test "${ac_cv_type_short+set}" = set; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 $ac_includes_default
21820 typedef short ac__type_new_;
21821 int
21822 main ()
21823 {
21824 if ((ac__type_new_ *) 0)
21825 return 0;
21826 if (sizeof (ac__type_new_))
21827 return 0;
21828 ;
21829 return 0;
21830 }
21831 _ACEOF
21832 rm -f conftest.$ac_objext
21833 if { (ac_try="$ac_compile"
21834 case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21837 esac
21838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_compile") 2>conftest.er1
21840 ac_status=$?
21841 grep -v '^ *+' conftest.er1 >conftest.err
21842 rm -f conftest.er1
21843 cat conftest.err >&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } && {
21846 test -z "$ac_c_werror_flag" ||
21847 test ! -s conftest.err
21848 } && test -s conftest.$ac_objext; then
21849 ac_cv_type_short=yes
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 ac_cv_type_short=no
21855 fi
21856
21857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21858 fi
21859 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21860 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21861
21862 # The cast to long int works around a bug in the HP C Compiler
21863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21864 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21865 # This bug is HP SR number 8606223364.
21866 { echo "$as_me:$LINENO: checking size of short" >&5
21867 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21868 if test "${ac_cv_sizeof_short+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 if test "$cross_compiling" = yes; then
21872 # Depending upon the size, compute the lo and hi bounds.
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21880 typedef short ac__type_sizeof_;
21881 int
21882 main ()
21883 {
21884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21885 test_array [0] = 0
21886
21887 ;
21888 return 0;
21889 }
21890 _ACEOF
21891 rm -f conftest.$ac_objext
21892 if { (ac_try="$ac_compile"
21893 case "(($ac_try" in
21894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21895 *) ac_try_echo=$ac_try;;
21896 esac
21897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21898 (eval "$ac_compile") 2>conftest.er1
21899 ac_status=$?
21900 grep -v '^ *+' conftest.er1 >conftest.err
21901 rm -f conftest.er1
21902 cat conftest.err >&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } && {
21905 test -z "$ac_c_werror_flag" ||
21906 test ! -s conftest.err
21907 } && test -s conftest.$ac_objext; then
21908 ac_lo=0 ac_mid=0
21909 while :; do
21910 cat >conftest.$ac_ext <<_ACEOF
21911 /* confdefs.h. */
21912 _ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef short ac__type_sizeof_;
21918 int
21919 main ()
21920 {
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21922 test_array [0] = 0
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21933 esac
21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21936 ac_status=$?
21937 grep -v '^ *+' conftest.er1 >conftest.err
21938 rm -f conftest.er1
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21945 ac_hi=$ac_mid; break
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 ac_lo=`expr $ac_mid + 1`
21951 if test $ac_lo -le $ac_mid; then
21952 ac_lo= ac_hi=
21953 break
21954 fi
21955 ac_mid=`expr 2 '*' $ac_mid + 1`
21956 fi
21957
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959 done
21960 else
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21963
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970 $ac_includes_default
21971 typedef short ac__type_sizeof_;
21972 int
21973 main ()
21974 {
21975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21976 test_array [0] = 0
21977
21978 ;
21979 return 0;
21980 }
21981 _ACEOF
21982 rm -f conftest.$ac_objext
21983 if { (ac_try="$ac_compile"
21984 case "(($ac_try" in
21985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21986 *) ac_try_echo=$ac_try;;
21987 esac
21988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21989 (eval "$ac_compile") 2>conftest.er1
21990 ac_status=$?
21991 grep -v '^ *+' conftest.er1 >conftest.err
21992 rm -f conftest.er1
21993 cat conftest.err >&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); } && {
21996 test -z "$ac_c_werror_flag" ||
21997 test ! -s conftest.err
21998 } && test -s conftest.$ac_objext; then
21999 ac_hi=-1 ac_mid=-1
22000 while :; do
22001 cat >conftest.$ac_ext <<_ACEOF
22002 /* confdefs.h. */
22003 _ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007 $ac_includes_default
22008 typedef short ac__type_sizeof_;
22009 int
22010 main ()
22011 {
22012 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22013 test_array [0] = 0
22014
22015 ;
22016 return 0;
22017 }
22018 _ACEOF
22019 rm -f conftest.$ac_objext
22020 if { (ac_try="$ac_compile"
22021 case "(($ac_try" in
22022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22023 *) ac_try_echo=$ac_try;;
22024 esac
22025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22026 (eval "$ac_compile") 2>conftest.er1
22027 ac_status=$?
22028 grep -v '^ *+' conftest.er1 >conftest.err
22029 rm -f conftest.er1
22030 cat conftest.err >&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } && {
22033 test -z "$ac_c_werror_flag" ||
22034 test ! -s conftest.err
22035 } && test -s conftest.$ac_objext; then
22036 ac_lo=$ac_mid; break
22037 else
22038 echo "$as_me: failed program was:" >&5
22039 sed 's/^/| /' conftest.$ac_ext >&5
22040
22041 ac_hi=`expr '(' $ac_mid ')' - 1`
22042 if test $ac_mid -le $ac_hi; then
22043 ac_lo= ac_hi=
22044 break
22045 fi
22046 ac_mid=`expr 2 '*' $ac_mid`
22047 fi
22048
22049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22050 done
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 ac_lo= ac_hi=
22056 fi
22057
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 fi
22060
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 # Binary search between lo and hi bounds.
22063 while test "x$ac_lo" != "x$ac_hi"; do
22064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22065 cat >conftest.$ac_ext <<_ACEOF
22066 /* confdefs.h. */
22067 _ACEOF
22068 cat confdefs.h >>conftest.$ac_ext
22069 cat >>conftest.$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 $ac_includes_default
22072 typedef short ac__type_sizeof_;
22073 int
22074 main ()
22075 {
22076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22077 test_array [0] = 0
22078
22079 ;
22080 return 0;
22081 }
22082 _ACEOF
22083 rm -f conftest.$ac_objext
22084 if { (ac_try="$ac_compile"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22088 esac
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_compile") 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } && {
22097 test -z "$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22099 } && test -s conftest.$ac_objext; then
22100 ac_hi=$ac_mid
22101 else
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22104
22105 ac_lo=`expr '(' $ac_mid ')' + 1`
22106 fi
22107
22108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 done
22110 case $ac_lo in
22111 ?*) ac_cv_sizeof_short=$ac_lo;;
22112 '') if test "$ac_cv_type_short" = yes; then
22113 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22114 See \`config.log' for more details." >&5
22115 echo "$as_me: error: cannot compute sizeof (short)
22116 See \`config.log' for more details." >&2;}
22117 { (exit 77); exit 77; }; }
22118 else
22119 ac_cv_sizeof_short=0
22120 fi ;;
22121 esac
22122 else
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 typedef short ac__type_sizeof_;
22131 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22132 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22133 #include <stdio.h>
22134 #include <stdlib.h>
22135 int
22136 main ()
22137 {
22138
22139 FILE *f = fopen ("conftest.val", "w");
22140 if (! f)
22141 return 1;
22142 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22143 {
22144 long int i = longval ();
22145 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22146 return 1;
22147 fprintf (f, "%ld\n", i);
22148 }
22149 else
22150 {
22151 unsigned long int i = ulongval ();
22152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22153 return 1;
22154 fprintf (f, "%lu\n", i);
22155 }
22156 return ferror (f) || fclose (f) != 0;
22157
22158 ;
22159 return 0;
22160 }
22161 _ACEOF
22162 rm -f conftest$ac_exeext
22163 if { (ac_try="$ac_link"
22164 case "(($ac_try" in
22165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22166 *) ac_try_echo=$ac_try;;
22167 esac
22168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22169 (eval "$ac_link") 2>&5
22170 ac_status=$?
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22173 { (case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22176 esac
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_try") 2>&5
22179 ac_status=$?
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; }; then
22182 ac_cv_sizeof_short=`cat conftest.val`
22183 else
22184 echo "$as_me: program exited with status $ac_status" >&5
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 ( exit $ac_status )
22189 if test "$ac_cv_type_short" = yes; then
22190 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22191 See \`config.log' for more details." >&5
22192 echo "$as_me: error: cannot compute sizeof (short)
22193 See \`config.log' for more details." >&2;}
22194 { (exit 77); exit 77; }; }
22195 else
22196 ac_cv_sizeof_short=0
22197 fi
22198 fi
22199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22200 fi
22201 rm -f conftest.val
22202 fi
22203 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22205
22206
22207
22208 cat >>confdefs.h <<_ACEOF
22209 #define SIZEOF_SHORT $ac_cv_sizeof_short
22210 _ACEOF
22211
22212
22213 { echo "$as_me:$LINENO: checking for void *" >&5
22214 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22215 if test "${ac_cv_type_void_p+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 else
22218 cat >conftest.$ac_ext <<_ACEOF
22219 /* confdefs.h. */
22220 _ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef void * ac__type_new_;
22226 int
22227 main ()
22228 {
22229 if ((ac__type_new_ *) 0)
22230 return 0;
22231 if (sizeof (ac__type_new_))
22232 return 0;
22233 ;
22234 return 0;
22235 }
22236 _ACEOF
22237 rm -f conftest.$ac_objext
22238 if { (ac_try="$ac_compile"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22242 esac
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_compile") 2>conftest.er1
22245 ac_status=$?
22246 grep -v '^ *+' conftest.er1 >conftest.err
22247 rm -f conftest.er1
22248 cat conftest.err >&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && {
22251 test -z "$ac_c_werror_flag" ||
22252 test ! -s conftest.err
22253 } && test -s conftest.$ac_objext; then
22254 ac_cv_type_void_p=yes
22255 else
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22258
22259 ac_cv_type_void_p=no
22260 fi
22261
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 fi
22264 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22265 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22266
22267 # The cast to long int works around a bug in the HP C Compiler
22268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22270 # This bug is HP SR number 8606223364.
22271 { echo "$as_me:$LINENO: checking size of void *" >&5
22272 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22273 if test "${ac_cv_sizeof_void_p+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 if test "$cross_compiling" = yes; then
22277 # Depending upon the size, compute the lo and hi bounds.
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h. */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 $ac_includes_default
22285 typedef void * ac__type_sizeof_;
22286 int
22287 main ()
22288 {
22289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22290 test_array [0] = 0
22291
22292 ;
22293 return 0;
22294 }
22295 _ACEOF
22296 rm -f conftest.$ac_objext
22297 if { (ac_try="$ac_compile"
22298 case "(($ac_try" in
22299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22300 *) ac_try_echo=$ac_try;;
22301 esac
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303 (eval "$ac_compile") 2>conftest.er1
22304 ac_status=$?
22305 grep -v '^ *+' conftest.er1 >conftest.err
22306 rm -f conftest.er1
22307 cat conftest.err >&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } && {
22310 test -z "$ac_c_werror_flag" ||
22311 test ! -s conftest.err
22312 } && test -s conftest.$ac_objext; then
22313 ac_lo=0 ac_mid=0
22314 while :; do
22315 cat >conftest.$ac_ext <<_ACEOF
22316 /* confdefs.h. */
22317 _ACEOF
22318 cat confdefs.h >>conftest.$ac_ext
22319 cat >>conftest.$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22321 $ac_includes_default
22322 typedef void * ac__type_sizeof_;
22323 int
22324 main ()
22325 {
22326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22327 test_array [0] = 0
22328
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 rm -f conftest.$ac_objext
22334 if { (ac_try="$ac_compile"
22335 case "(($ac_try" in
22336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22337 *) ac_try_echo=$ac_try;;
22338 esac
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_compile") 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest.$ac_objext; then
22350 ac_hi=$ac_mid; break
22351 else
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22354
22355 ac_lo=`expr $ac_mid + 1`
22356 if test $ac_lo -le $ac_mid; then
22357 ac_lo= ac_hi=
22358 break
22359 fi
22360 ac_mid=`expr 2 '*' $ac_mid + 1`
22361 fi
22362
22363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 done
22365 else
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22368
22369 cat >conftest.$ac_ext <<_ACEOF
22370 /* confdefs.h. */
22371 _ACEOF
22372 cat confdefs.h >>conftest.$ac_ext
22373 cat >>conftest.$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22375 $ac_includes_default
22376 typedef void * ac__type_sizeof_;
22377 int
22378 main ()
22379 {
22380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22381 test_array [0] = 0
22382
22383 ;
22384 return 0;
22385 }
22386 _ACEOF
22387 rm -f conftest.$ac_objext
22388 if { (ac_try="$ac_compile"
22389 case "(($ac_try" in
22390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391 *) ac_try_echo=$ac_try;;
22392 esac
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394 (eval "$ac_compile") 2>conftest.er1
22395 ac_status=$?
22396 grep -v '^ *+' conftest.er1 >conftest.err
22397 rm -f conftest.er1
22398 cat conftest.err >&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); } && {
22401 test -z "$ac_c_werror_flag" ||
22402 test ! -s conftest.err
22403 } && test -s conftest.$ac_objext; then
22404 ac_hi=-1 ac_mid=-1
22405 while :; do
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 $ac_includes_default
22413 typedef void * ac__type_sizeof_;
22414 int
22415 main ()
22416 {
22417 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22418 test_array [0] = 0
22419
22420 ;
22421 return 0;
22422 }
22423 _ACEOF
22424 rm -f conftest.$ac_objext
22425 if { (ac_try="$ac_compile"
22426 case "(($ac_try" in
22427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22428 *) ac_try_echo=$ac_try;;
22429 esac
22430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 (eval "$ac_compile") 2>conftest.er1
22432 ac_status=$?
22433 grep -v '^ *+' conftest.er1 >conftest.err
22434 rm -f conftest.er1
22435 cat conftest.err >&5
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); } && {
22438 test -z "$ac_c_werror_flag" ||
22439 test ! -s conftest.err
22440 } && test -s conftest.$ac_objext; then
22441 ac_lo=$ac_mid; break
22442 else
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22445
22446 ac_hi=`expr '(' $ac_mid ')' - 1`
22447 if test $ac_mid -le $ac_hi; then
22448 ac_lo= ac_hi=
22449 break
22450 fi
22451 ac_mid=`expr 2 '*' $ac_mid`
22452 fi
22453
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 done
22456 else
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22459
22460 ac_lo= ac_hi=
22461 fi
22462
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22464 fi
22465
22466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 # Binary search between lo and hi bounds.
22468 while test "x$ac_lo" != "x$ac_hi"; do
22469 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22470 cat >conftest.$ac_ext <<_ACEOF
22471 /* confdefs.h. */
22472 _ACEOF
22473 cat confdefs.h >>conftest.$ac_ext
22474 cat >>conftest.$ac_ext <<_ACEOF
22475 /* end confdefs.h. */
22476 $ac_includes_default
22477 typedef void * ac__type_sizeof_;
22478 int
22479 main ()
22480 {
22481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22482 test_array [0] = 0
22483
22484 ;
22485 return 0;
22486 }
22487 _ACEOF
22488 rm -f conftest.$ac_objext
22489 if { (ac_try="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22493 esac
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22496 ac_status=$?
22497 grep -v '^ *+' conftest.er1 >conftest.err
22498 rm -f conftest.er1
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && {
22502 test -z "$ac_c_werror_flag" ||
22503 test ! -s conftest.err
22504 } && test -s conftest.$ac_objext; then
22505 ac_hi=$ac_mid
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 ac_lo=`expr '(' $ac_mid ')' + 1`
22511 fi
22512
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514 done
22515 case $ac_lo in
22516 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22517 '') if test "$ac_cv_type_void_p" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22519 See \`config.log' for more details." >&5
22520 echo "$as_me: error: cannot compute sizeof (void *)
22521 See \`config.log' for more details." >&2;}
22522 { (exit 77); exit 77; }; }
22523 else
22524 ac_cv_sizeof_void_p=0
22525 fi ;;
22526 esac
22527 else
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef void * ac__type_sizeof_;
22536 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22537 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22538 #include <stdio.h>
22539 #include <stdlib.h>
22540 int
22541 main ()
22542 {
22543
22544 FILE *f = fopen ("conftest.val", "w");
22545 if (! f)
22546 return 1;
22547 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22548 {
22549 long int i = longval ();
22550 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22551 return 1;
22552 fprintf (f, "%ld\n", i);
22553 }
22554 else
22555 {
22556 unsigned long int i = ulongval ();
22557 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22558 return 1;
22559 fprintf (f, "%lu\n", i);
22560 }
22561 return ferror (f) || fclose (f) != 0;
22562
22563 ;
22564 return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest$ac_exeext
22568 if { (ac_try="$ac_link"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22572 esac
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_link") 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22578 { (case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22581 esac
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_try") 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_sizeof_void_p=`cat conftest.val`
22588 else
22589 echo "$as_me: program exited with status $ac_status" >&5
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 ( exit $ac_status )
22594 if test "$ac_cv_type_void_p" = yes; then
22595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22596 See \`config.log' for more details." >&5
22597 echo "$as_me: error: cannot compute sizeof (void *)
22598 See \`config.log' for more details." >&2;}
22599 { (exit 77); exit 77; }; }
22600 else
22601 ac_cv_sizeof_void_p=0
22602 fi
22603 fi
22604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22605 fi
22606 rm -f conftest.val
22607 fi
22608 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22609 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22610
22611
22612
22613 cat >>confdefs.h <<_ACEOF
22614 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22615 _ACEOF
22616
22617
22618 { echo "$as_me:$LINENO: checking for int" >&5
22619 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22620 if test "${ac_cv_type_int+set}" = set; then
22621 echo $ECHO_N "(cached) $ECHO_C" >&6
22622 else
22623 cat >conftest.$ac_ext <<_ACEOF
22624 /* confdefs.h. */
22625 _ACEOF
22626 cat confdefs.h >>conftest.$ac_ext
22627 cat >>conftest.$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22630 typedef int ac__type_new_;
22631 int
22632 main ()
22633 {
22634 if ((ac__type_new_ *) 0)
22635 return 0;
22636 if (sizeof (ac__type_new_))
22637 return 0;
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest.$ac_objext
22643 if { (ac_try="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22650 ac_status=$?
22651 grep -v '^ *+' conftest.er1 >conftest.err
22652 rm -f conftest.er1
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest.$ac_objext; then
22659 ac_cv_type_int=yes
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22663
22664 ac_cv_type_int=no
22665 fi
22666
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 fi
22669 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22670 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22671
22672 # The cast to long int works around a bug in the HP C Compiler
22673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22675 # This bug is HP SR number 8606223364.
22676 { echo "$as_me:$LINENO: checking size of int" >&5
22677 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22678 if test "${ac_cv_sizeof_int+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22680 else
22681 if test "$cross_compiling" = yes; then
22682 # Depending upon the size, compute the lo and hi bounds.
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef int ac__type_sizeof_;
22691 int
22692 main ()
22693 {
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22695 test_array [0] = 0
22696
22697 ;
22698 return 0;
22699 }
22700 _ACEOF
22701 rm -f conftest.$ac_objext
22702 if { (ac_try="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22706 esac
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22718 ac_lo=0 ac_mid=0
22719 while :; do
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726 $ac_includes_default
22727 typedef int ac__type_sizeof_;
22728 int
22729 main ()
22730 {
22731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22732 test_array [0] = 0
22733
22734 ;
22735 return 0;
22736 }
22737 _ACEOF
22738 rm -f conftest.$ac_objext
22739 if { (ac_try="$ac_compile"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22743 esac
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_compile") 2>conftest.er1
22746 ac_status=$?
22747 grep -v '^ *+' conftest.er1 >conftest.err
22748 rm -f conftest.er1
22749 cat conftest.err >&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } && {
22752 test -z "$ac_c_werror_flag" ||
22753 test ! -s conftest.err
22754 } && test -s conftest.$ac_objext; then
22755 ac_hi=$ac_mid; break
22756 else
22757 echo "$as_me: failed program was:" >&5
22758 sed 's/^/| /' conftest.$ac_ext >&5
22759
22760 ac_lo=`expr $ac_mid + 1`
22761 if test $ac_lo -le $ac_mid; then
22762 ac_lo= ac_hi=
22763 break
22764 fi
22765 ac_mid=`expr 2 '*' $ac_mid + 1`
22766 fi
22767
22768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22769 done
22770 else
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.$ac_ext >&5
22773
22774 cat >conftest.$ac_ext <<_ACEOF
22775 /* confdefs.h. */
22776 _ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 $ac_includes_default
22781 typedef int ac__type_sizeof_;
22782 int
22783 main ()
22784 {
22785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22786 test_array [0] = 0
22787
22788 ;
22789 return 0;
22790 }
22791 _ACEOF
22792 rm -f conftest.$ac_objext
22793 if { (ac_try="$ac_compile"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_compile") 2>conftest.er1
22800 ac_status=$?
22801 grep -v '^ *+' conftest.er1 >conftest.err
22802 rm -f conftest.er1
22803 cat conftest.err >&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && {
22806 test -z "$ac_c_werror_flag" ||
22807 test ! -s conftest.err
22808 } && test -s conftest.$ac_objext; then
22809 ac_hi=-1 ac_mid=-1
22810 while :; do
22811 cat >conftest.$ac_ext <<_ACEOF
22812 /* confdefs.h. */
22813 _ACEOF
22814 cat confdefs.h >>conftest.$ac_ext
22815 cat >>conftest.$ac_ext <<_ACEOF
22816 /* end confdefs.h. */
22817 $ac_includes_default
22818 typedef int ac__type_sizeof_;
22819 int
22820 main ()
22821 {
22822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22823 test_array [0] = 0
22824
22825 ;
22826 return 0;
22827 }
22828 _ACEOF
22829 rm -f conftest.$ac_objext
22830 if { (ac_try="$ac_compile"
22831 case "(($ac_try" in
22832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22833 *) ac_try_echo=$ac_try;;
22834 esac
22835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22836 (eval "$ac_compile") 2>conftest.er1
22837 ac_status=$?
22838 grep -v '^ *+' conftest.er1 >conftest.err
22839 rm -f conftest.er1
22840 cat conftest.err >&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); } && {
22843 test -z "$ac_c_werror_flag" ||
22844 test ! -s conftest.err
22845 } && test -s conftest.$ac_objext; then
22846 ac_lo=$ac_mid; break
22847 else
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22850
22851 ac_hi=`expr '(' $ac_mid ')' - 1`
22852 if test $ac_mid -le $ac_hi; then
22853 ac_lo= ac_hi=
22854 break
22855 fi
22856 ac_mid=`expr 2 '*' $ac_mid`
22857 fi
22858
22859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22860 done
22861 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 ac_lo= ac_hi=
22866 fi
22867
22868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22869 fi
22870
22871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22872 # Binary search between lo and hi bounds.
22873 while test "x$ac_lo" != "x$ac_hi"; do
22874 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 $ac_includes_default
22882 typedef int ac__type_sizeof_;
22883 int
22884 main ()
22885 {
22886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22887 test_array [0] = 0
22888
22889 ;
22890 return 0;
22891 }
22892 _ACEOF
22893 rm -f conftest.$ac_objext
22894 if { (ac_try="$ac_compile"
22895 case "(($ac_try" in
22896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22897 *) ac_try_echo=$ac_try;;
22898 esac
22899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22900 (eval "$ac_compile") 2>conftest.er1
22901 ac_status=$?
22902 grep -v '^ *+' conftest.er1 >conftest.err
22903 rm -f conftest.er1
22904 cat conftest.err >&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } && {
22907 test -z "$ac_c_werror_flag" ||
22908 test ! -s conftest.err
22909 } && test -s conftest.$ac_objext; then
22910 ac_hi=$ac_mid
22911 else
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 ac_lo=`expr '(' $ac_mid ')' + 1`
22916 fi
22917
22918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22919 done
22920 case $ac_lo in
22921 ?*) ac_cv_sizeof_int=$ac_lo;;
22922 '') if test "$ac_cv_type_int" = yes; then
22923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22924 See \`config.log' for more details." >&5
22925 echo "$as_me: error: cannot compute sizeof (int)
22926 See \`config.log' for more details." >&2;}
22927 { (exit 77); exit 77; }; }
22928 else
22929 ac_cv_sizeof_int=0
22930 fi ;;
22931 esac
22932 else
22933 cat >conftest.$ac_ext <<_ACEOF
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939 $ac_includes_default
22940 typedef int ac__type_sizeof_;
22941 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22942 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22943 #include <stdio.h>
22944 #include <stdlib.h>
22945 int
22946 main ()
22947 {
22948
22949 FILE *f = fopen ("conftest.val", "w");
22950 if (! f)
22951 return 1;
22952 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22953 {
22954 long int i = longval ();
22955 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22956 return 1;
22957 fprintf (f, "%ld\n", i);
22958 }
22959 else
22960 {
22961 unsigned long int i = ulongval ();
22962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22963 return 1;
22964 fprintf (f, "%lu\n", i);
22965 }
22966 return ferror (f) || fclose (f) != 0;
22967
22968 ;
22969 return 0;
22970 }
22971 _ACEOF
22972 rm -f conftest$ac_exeext
22973 if { (ac_try="$ac_link"
22974 case "(($ac_try" in
22975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22976 *) ac_try_echo=$ac_try;;
22977 esac
22978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22979 (eval "$ac_link") 2>&5
22980 ac_status=$?
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22983 { (case "(($ac_try" in
22984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22985 *) ac_try_echo=$ac_try;;
22986 esac
22987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22988 (eval "$ac_try") 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_cv_sizeof_int=`cat conftest.val`
22993 else
22994 echo "$as_me: program exited with status $ac_status" >&5
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 ( exit $ac_status )
22999 if test "$ac_cv_type_int" = yes; then
23000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23001 See \`config.log' for more details." >&5
23002 echo "$as_me: error: cannot compute sizeof (int)
23003 See \`config.log' for more details." >&2;}
23004 { (exit 77); exit 77; }; }
23005 else
23006 ac_cv_sizeof_int=0
23007 fi
23008 fi
23009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23010 fi
23011 rm -f conftest.val
23012 fi
23013 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23014 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23015
23016
23017
23018 cat >>confdefs.h <<_ACEOF
23019 #define SIZEOF_INT $ac_cv_sizeof_int
23020 _ACEOF
23021
23022
23023 { echo "$as_me:$LINENO: checking for long" >&5
23024 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23025 if test "${ac_cv_type_long+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 else
23028 cat >conftest.$ac_ext <<_ACEOF
23029 /* confdefs.h. */
23030 _ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 $ac_includes_default
23035 typedef long ac__type_new_;
23036 int
23037 main ()
23038 {
23039 if ((ac__type_new_ *) 0)
23040 return 0;
23041 if (sizeof (ac__type_new_))
23042 return 0;
23043 ;
23044 return 0;
23045 }
23046 _ACEOF
23047 rm -f conftest.$ac_objext
23048 if { (ac_try="$ac_compile"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23052 esac
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_compile") 2>conftest.er1
23055 ac_status=$?
23056 grep -v '^ *+' conftest.er1 >conftest.err
23057 rm -f conftest.er1
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && {
23061 test -z "$ac_c_werror_flag" ||
23062 test ! -s conftest.err
23063 } && test -s conftest.$ac_objext; then
23064 ac_cv_type_long=yes
23065 else
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23068
23069 ac_cv_type_long=no
23070 fi
23071
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23073 fi
23074 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23075 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23076
23077 # The cast to long int works around a bug in the HP C Compiler
23078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23079 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23080 # This bug is HP SR number 8606223364.
23081 { echo "$as_me:$LINENO: checking size of long" >&5
23082 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23083 if test "${ac_cv_sizeof_long+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 if test "$cross_compiling" = yes; then
23087 # Depending upon the size, compute the lo and hi bounds.
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long ac__type_sizeof_;
23096 int
23097 main ()
23098 {
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23100 test_array [0] = 0
23101
23102 ;
23103 return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext
23107 if { (ac_try="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23111 esac
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23114 ac_status=$?
23115 grep -v '^ *+' conftest.er1 >conftest.err
23116 rm -f conftest.er1
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } && {
23120 test -z "$ac_c_werror_flag" ||
23121 test ! -s conftest.err
23122 } && test -s conftest.$ac_objext; then
23123 ac_lo=0 ac_mid=0
23124 while :; do
23125 cat >conftest.$ac_ext <<_ACEOF
23126 /* confdefs.h. */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 $ac_includes_default
23132 typedef long ac__type_sizeof_;
23133 int
23134 main ()
23135 {
23136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23137 test_array [0] = 0
23138
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (ac_try="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23148 esac
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23151 ac_status=$?
23152 grep -v '^ *+' conftest.er1 >conftest.err
23153 rm -f conftest.er1
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_c_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23160 ac_hi=$ac_mid; break
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_lo=`expr $ac_mid + 1`
23166 if test $ac_lo -le $ac_mid; then
23167 ac_lo= ac_hi=
23168 break
23169 fi
23170 ac_mid=`expr 2 '*' $ac_mid + 1`
23171 fi
23172
23173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23174 done
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179 cat >conftest.$ac_ext <<_ACEOF
23180 /* confdefs.h. */
23181 _ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 $ac_includes_default
23186 typedef long ac__type_sizeof_;
23187 int
23188 main ()
23189 {
23190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23191 test_array [0] = 0
23192
23193 ;
23194 return 0;
23195 }
23196 _ACEOF
23197 rm -f conftest.$ac_objext
23198 if { (ac_try="$ac_compile"
23199 case "(($ac_try" in
23200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23202 esac
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_compile") 2>conftest.er1
23205 ac_status=$?
23206 grep -v '^ *+' conftest.er1 >conftest.err
23207 rm -f conftest.er1
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } && {
23211 test -z "$ac_c_werror_flag" ||
23212 test ! -s conftest.err
23213 } && test -s conftest.$ac_objext; then
23214 ac_hi=-1 ac_mid=-1
23215 while :; do
23216 cat >conftest.$ac_ext <<_ACEOF
23217 /* confdefs.h. */
23218 _ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222 $ac_includes_default
23223 typedef long ac__type_sizeof_;
23224 int
23225 main ()
23226 {
23227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23228 test_array [0] = 0
23229
23230 ;
23231 return 0;
23232 }
23233 _ACEOF
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238 *) ac_try_echo=$ac_try;;
23239 esac
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_compile") 2>conftest.er1
23242 ac_status=$?
23243 grep -v '^ *+' conftest.er1 >conftest.err
23244 rm -f conftest.er1
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } && {
23248 test -z "$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23250 } && test -s conftest.$ac_objext; then
23251 ac_lo=$ac_mid; break
23252 else
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23255
23256 ac_hi=`expr '(' $ac_mid ')' - 1`
23257 if test $ac_mid -le $ac_hi; then
23258 ac_lo= ac_hi=
23259 break
23260 fi
23261 ac_mid=`expr 2 '*' $ac_mid`
23262 fi
23263
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265 done
23266 else
23267 echo "$as_me: failed program was:" >&5
23268 sed 's/^/| /' conftest.$ac_ext >&5
23269
23270 ac_lo= ac_hi=
23271 fi
23272
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 fi
23275
23276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277 # Binary search between lo and hi bounds.
23278 while test "x$ac_lo" != "x$ac_hi"; do
23279 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23280 cat >conftest.$ac_ext <<_ACEOF
23281 /* confdefs.h. */
23282 _ACEOF
23283 cat confdefs.h >>conftest.$ac_ext
23284 cat >>conftest.$ac_ext <<_ACEOF
23285 /* end confdefs.h. */
23286 $ac_includes_default
23287 typedef long ac__type_sizeof_;
23288 int
23289 main ()
23290 {
23291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23292 test_array [0] = 0
23293
23294 ;
23295 return 0;
23296 }
23297 _ACEOF
23298 rm -f conftest.$ac_objext
23299 if { (ac_try="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23303 esac
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23306 ac_status=$?
23307 grep -v '^ *+' conftest.er1 >conftest.err
23308 rm -f conftest.er1
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } && {
23312 test -z "$ac_c_werror_flag" ||
23313 test ! -s conftest.err
23314 } && test -s conftest.$ac_objext; then
23315 ac_hi=$ac_mid
23316 else
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.$ac_ext >&5
23319
23320 ac_lo=`expr '(' $ac_mid ')' + 1`
23321 fi
23322
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 done
23325 case $ac_lo in
23326 ?*) ac_cv_sizeof_long=$ac_lo;;
23327 '') if test "$ac_cv_type_long" = yes; then
23328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23329 See \`config.log' for more details." >&5
23330 echo "$as_me: error: cannot compute sizeof (long)
23331 See \`config.log' for more details." >&2;}
23332 { (exit 77); exit 77; }; }
23333 else
23334 ac_cv_sizeof_long=0
23335 fi ;;
23336 esac
23337 else
23338 cat >conftest.$ac_ext <<_ACEOF
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 $ac_includes_default
23345 typedef long ac__type_sizeof_;
23346 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23347 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23348 #include <stdio.h>
23349 #include <stdlib.h>
23350 int
23351 main ()
23352 {
23353
23354 FILE *f = fopen ("conftest.val", "w");
23355 if (! f)
23356 return 1;
23357 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23358 {
23359 long int i = longval ();
23360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23361 return 1;
23362 fprintf (f, "%ld\n", i);
23363 }
23364 else
23365 {
23366 unsigned long int i = ulongval ();
23367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23368 return 1;
23369 fprintf (f, "%lu\n", i);
23370 }
23371 return ferror (f) || fclose (f) != 0;
23372
23373 ;
23374 return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest$ac_exeext
23378 if { (ac_try="$ac_link"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23382 esac
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_link") 2>&5
23385 ac_status=$?
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23388 { (case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23391 esac
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_try") 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_sizeof_long=`cat conftest.val`
23398 else
23399 echo "$as_me: program exited with status $ac_status" >&5
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23402
23403 ( exit $ac_status )
23404 if test "$ac_cv_type_long" = yes; then
23405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23406 See \`config.log' for more details." >&5
23407 echo "$as_me: error: cannot compute sizeof (long)
23408 See \`config.log' for more details." >&2;}
23409 { (exit 77); exit 77; }; }
23410 else
23411 ac_cv_sizeof_long=0
23412 fi
23413 fi
23414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23415 fi
23416 rm -f conftest.val
23417 fi
23418 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23419 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23420
23421
23422
23423 cat >>confdefs.h <<_ACEOF
23424 #define SIZEOF_LONG $ac_cv_sizeof_long
23425 _ACEOF
23426
23427
23428 { echo "$as_me:$LINENO: checking for size_t" >&5
23429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23430 if test "${ac_cv_type_size_t+set}" = set; then
23431 echo $ECHO_N "(cached) $ECHO_C" >&6
23432 else
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef size_t ac__type_new_;
23441 int
23442 main ()
23443 {
23444 if ((ac__type_new_ *) 0)
23445 return 0;
23446 if (sizeof (ac__type_new_))
23447 return 0;
23448 ;
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest.$ac_objext
23453 if { (ac_try="$ac_compile"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23457 esac
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_compile") 2>conftest.er1
23460 ac_status=$?
23461 grep -v '^ *+' conftest.er1 >conftest.err
23462 rm -f conftest.er1
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_c_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest.$ac_objext; then
23469 ac_cv_type_size_t=yes
23470 else
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23473
23474 ac_cv_type_size_t=no
23475 fi
23476
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 fi
23479 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23480 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23481
23482 # The cast to long int works around a bug in the HP C Compiler
23483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23485 # This bug is HP SR number 8606223364.
23486 { echo "$as_me:$LINENO: checking size of size_t" >&5
23487 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23488 if test "${ac_cv_sizeof_size_t+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 else
23491 if test "$cross_compiling" = yes; then
23492 # Depending upon the size, compute the lo and hi bounds.
23493 cat >conftest.$ac_ext <<_ACEOF
23494 /* confdefs.h. */
23495 _ACEOF
23496 cat confdefs.h >>conftest.$ac_ext
23497 cat >>conftest.$ac_ext <<_ACEOF
23498 /* end confdefs.h. */
23499 $ac_includes_default
23500 typedef size_t ac__type_sizeof_;
23501 int
23502 main ()
23503 {
23504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23505 test_array [0] = 0
23506
23507 ;
23508 return 0;
23509 }
23510 _ACEOF
23511 rm -f conftest.$ac_objext
23512 if { (ac_try="$ac_compile"
23513 case "(($ac_try" in
23514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23516 esac
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_compile") 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } && {
23525 test -z "$ac_c_werror_flag" ||
23526 test ! -s conftest.err
23527 } && test -s conftest.$ac_objext; then
23528 ac_lo=0 ac_mid=0
23529 while :; do
23530 cat >conftest.$ac_ext <<_ACEOF
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 $ac_includes_default
23537 typedef size_t ac__type_sizeof_;
23538 int
23539 main ()
23540 {
23541 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23542 test_array [0] = 0
23543
23544 ;
23545 return 0;
23546 }
23547 _ACEOF
23548 rm -f conftest.$ac_objext
23549 if { (ac_try="$ac_compile"
23550 case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;;
23553 esac
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23555 (eval "$ac_compile") 2>conftest.er1
23556 ac_status=$?
23557 grep -v '^ *+' conftest.er1 >conftest.err
23558 rm -f conftest.er1
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } && {
23562 test -z "$ac_c_werror_flag" ||
23563 test ! -s conftest.err
23564 } && test -s conftest.$ac_objext; then
23565 ac_hi=$ac_mid; break
23566 else
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 ac_lo=`expr $ac_mid + 1`
23571 if test $ac_lo -le $ac_mid; then
23572 ac_lo= ac_hi=
23573 break
23574 fi
23575 ac_mid=`expr 2 '*' $ac_mid + 1`
23576 fi
23577
23578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23579 done
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 cat >conftest.$ac_ext <<_ACEOF
23585 /* confdefs.h. */
23586 _ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 $ac_includes_default
23591 typedef size_t ac__type_sizeof_;
23592 int
23593 main ()
23594 {
23595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23596 test_array [0] = 0
23597
23598 ;
23599 return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23607 esac
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23610 ac_status=$?
23611 grep -v '^ *+' conftest.er1 >conftest.err
23612 rm -f conftest.er1
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23619 ac_hi=-1 ac_mid=-1
23620 while :; do
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 $ac_includes_default
23628 typedef size_t ac__type_sizeof_;
23629 int
23630 main ()
23631 {
23632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23633 test_array [0] = 0
23634
23635 ;
23636 return 0;
23637 }
23638 _ACEOF
23639 rm -f conftest.$ac_objext
23640 if { (ac_try="$ac_compile"
23641 case "(($ac_try" in
23642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23643 *) ac_try_echo=$ac_try;;
23644 esac
23645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23646 (eval "$ac_compile") 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } && {
23653 test -z "$ac_c_werror_flag" ||
23654 test ! -s conftest.err
23655 } && test -s conftest.$ac_objext; then
23656 ac_lo=$ac_mid; break
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23660
23661 ac_hi=`expr '(' $ac_mid ')' - 1`
23662 if test $ac_mid -le $ac_hi; then
23663 ac_lo= ac_hi=
23664 break
23665 fi
23666 ac_mid=`expr 2 '*' $ac_mid`
23667 fi
23668
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 done
23671 else
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23674
23675 ac_lo= ac_hi=
23676 fi
23677
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 fi
23680
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 # Binary search between lo and hi bounds.
23683 while test "x$ac_lo" != "x$ac_hi"; do
23684 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 $ac_includes_default
23692 typedef size_t ac__type_sizeof_;
23693 int
23694 main ()
23695 {
23696 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23697 test_array [0] = 0
23698
23699 ;
23700 return 0;
23701 }
23702 _ACEOF
23703 rm -f conftest.$ac_objext
23704 if { (ac_try="$ac_compile"
23705 case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23708 esac
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_compile") 2>conftest.er1
23711 ac_status=$?
23712 grep -v '^ *+' conftest.er1 >conftest.err
23713 rm -f conftest.er1
23714 cat conftest.err >&5
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); } && {
23717 test -z "$ac_c_werror_flag" ||
23718 test ! -s conftest.err
23719 } && test -s conftest.$ac_objext; then
23720 ac_hi=$ac_mid
23721 else
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.$ac_ext >&5
23724
23725 ac_lo=`expr '(' $ac_mid ')' + 1`
23726 fi
23727
23728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23729 done
23730 case $ac_lo in
23731 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23732 '') if test "$ac_cv_type_size_t" = yes; then
23733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23734 See \`config.log' for more details." >&5
23735 echo "$as_me: error: cannot compute sizeof (size_t)
23736 See \`config.log' for more details." >&2;}
23737 { (exit 77); exit 77; }; }
23738 else
23739 ac_cv_sizeof_size_t=0
23740 fi ;;
23741 esac
23742 else
23743 cat >conftest.$ac_ext <<_ACEOF
23744 /* confdefs.h. */
23745 _ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 $ac_includes_default
23750 typedef size_t ac__type_sizeof_;
23751 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23752 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23753 #include <stdio.h>
23754 #include <stdlib.h>
23755 int
23756 main ()
23757 {
23758
23759 FILE *f = fopen ("conftest.val", "w");
23760 if (! f)
23761 return 1;
23762 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23763 {
23764 long int i = longval ();
23765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23766 return 1;
23767 fprintf (f, "%ld\n", i);
23768 }
23769 else
23770 {
23771 unsigned long int i = ulongval ();
23772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23773 return 1;
23774 fprintf (f, "%lu\n", i);
23775 }
23776 return ferror (f) || fclose (f) != 0;
23777
23778 ;
23779 return 0;
23780 }
23781 _ACEOF
23782 rm -f conftest$ac_exeext
23783 if { (ac_try="$ac_link"
23784 case "(($ac_try" in
23785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23786 *) ac_try_echo=$ac_try;;
23787 esac
23788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23789 (eval "$ac_link") 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23793 { (case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;;
23796 esac
23797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798 (eval "$ac_try") 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; }; then
23802 ac_cv_sizeof_size_t=`cat conftest.val`
23803 else
23804 echo "$as_me: program exited with status $ac_status" >&5
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23807
23808 ( exit $ac_status )
23809 if test "$ac_cv_type_size_t" = yes; then
23810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23811 See \`config.log' for more details." >&5
23812 echo "$as_me: error: cannot compute sizeof (size_t)
23813 See \`config.log' for more details." >&2;}
23814 { (exit 77); exit 77; }; }
23815 else
23816 ac_cv_sizeof_size_t=0
23817 fi
23818 fi
23819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23820 fi
23821 rm -f conftest.val
23822 fi
23823 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23824 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23825
23826
23827
23828 cat >>confdefs.h <<_ACEOF
23829 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23830 _ACEOF
23831
23832
23833
23834 case "${host}" in
23835 arm-*-linux* )
23836 { echo "$as_me:$LINENO: checking for long long" >&5
23837 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23838 if test "${ac_cv_type_long_long+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23840 else
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 $ac_includes_default
23848 typedef long long ac__type_new_;
23849 int
23850 main ()
23851 {
23852 if ((ac__type_new_ *) 0)
23853 return 0;
23854 if (sizeof (ac__type_new_))
23855 return 0;
23856 ;
23857 return 0;
23858 }
23859 _ACEOF
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23865 esac
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23868 ac_status=$?
23869 grep -v '^ *+' conftest.er1 >conftest.err
23870 rm -f conftest.er1
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_c_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 ac_cv_type_long_long=yes
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882 ac_cv_type_long_long=no
23883 fi
23884
23885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23886 fi
23887 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23888 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23889
23890 # The cast to long int works around a bug in the HP C Compiler
23891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23893 # This bug is HP SR number 8606223364.
23894 { echo "$as_me:$LINENO: checking size of long long" >&5
23895 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23896 if test "${ac_cv_sizeof_long_long+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899 if test "$cross_compiling" = yes; then
23900 # Depending upon the size, compute the lo and hi bounds.
23901 cat >conftest.$ac_ext <<_ACEOF
23902 /* confdefs.h. */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 $ac_includes_default
23908 typedef long long ac__type_sizeof_;
23909 int
23910 main ()
23911 {
23912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23913 test_array [0] = 0
23914
23915 ;
23916 return 0;
23917 }
23918 _ACEOF
23919 rm -f conftest.$ac_objext
23920 if { (ac_try="$ac_compile"
23921 case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23924 esac
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_compile") 2>conftest.er1
23927 ac_status=$?
23928 grep -v '^ *+' conftest.er1 >conftest.err
23929 rm -f conftest.er1
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } && {
23933 test -z "$ac_c_werror_flag" ||
23934 test ! -s conftest.err
23935 } && test -s conftest.$ac_objext; then
23936 ac_lo=0 ac_mid=0
23937 while :; do
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 typedef long long ac__type_sizeof_;
23946 int
23947 main ()
23948 {
23949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23950 test_array [0] = 0
23951
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23961 esac
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23973 ac_hi=$ac_mid; break
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 ac_lo=`expr $ac_mid + 1`
23979 if test $ac_lo -le $ac_mid; then
23980 ac_lo= ac_hi=
23981 break
23982 fi
23983 ac_mid=`expr 2 '*' $ac_mid + 1`
23984 fi
23985
23986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23987 done
23988 else
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.$ac_ext >&5
23991
23992 cat >conftest.$ac_ext <<_ACEOF
23993 /* confdefs.h. */
23994 _ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 $ac_includes_default
23999 typedef long long ac__type_sizeof_;
24000 int
24001 main ()
24002 {
24003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24004 test_array [0] = 0
24005
24006 ;
24007 return 0;
24008 }
24009 _ACEOF
24010 rm -f conftest.$ac_objext
24011 if { (ac_try="$ac_compile"
24012 case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24015 esac
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_compile") 2>conftest.er1
24018 ac_status=$?
24019 grep -v '^ *+' conftest.er1 >conftest.err
24020 rm -f conftest.er1
24021 cat conftest.err >&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } && {
24024 test -z "$ac_c_werror_flag" ||
24025 test ! -s conftest.err
24026 } && test -s conftest.$ac_objext; then
24027 ac_hi=-1 ac_mid=-1
24028 while :; do
24029 cat >conftest.$ac_ext <<_ACEOF
24030 /* confdefs.h. */
24031 _ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 $ac_includes_default
24036 typedef long long ac__type_sizeof_;
24037 int
24038 main ()
24039 {
24040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24041 test_array [0] = 0
24042
24043 ;
24044 return 0;
24045 }
24046 _ACEOF
24047 rm -f conftest.$ac_objext
24048 if { (ac_try="$ac_compile"
24049 case "(($ac_try" in
24050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24051 *) ac_try_echo=$ac_try;;
24052 esac
24053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24054 (eval "$ac_compile") 2>conftest.er1
24055 ac_status=$?
24056 grep -v '^ *+' conftest.er1 >conftest.err
24057 rm -f conftest.er1
24058 cat conftest.err >&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && {
24061 test -z "$ac_c_werror_flag" ||
24062 test ! -s conftest.err
24063 } && test -s conftest.$ac_objext; then
24064 ac_lo=$ac_mid; break
24065 else
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 ac_hi=`expr '(' $ac_mid ')' - 1`
24070 if test $ac_mid -le $ac_hi; then
24071 ac_lo= ac_hi=
24072 break
24073 fi
24074 ac_mid=`expr 2 '*' $ac_mid`
24075 fi
24076
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 done
24079 else
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.$ac_ext >&5
24082
24083 ac_lo= ac_hi=
24084 fi
24085
24086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24087 fi
24088
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090 # Binary search between lo and hi bounds.
24091 while test "x$ac_lo" != "x$ac_hi"; do
24092 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24093 cat >conftest.$ac_ext <<_ACEOF
24094 /* confdefs.h. */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099 $ac_includes_default
24100 typedef long long ac__type_sizeof_;
24101 int
24102 main ()
24103 {
24104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24105 test_array [0] = 0
24106
24107 ;
24108 return 0;
24109 }
24110 _ACEOF
24111 rm -f conftest.$ac_objext
24112 if { (ac_try="$ac_compile"
24113 case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24116 esac
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_compile") 2>conftest.er1
24119 ac_status=$?
24120 grep -v '^ *+' conftest.er1 >conftest.err
24121 rm -f conftest.er1
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } && {
24125 test -z "$ac_c_werror_flag" ||
24126 test ! -s conftest.err
24127 } && test -s conftest.$ac_objext; then
24128 ac_hi=$ac_mid
24129 else
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24132
24133 ac_lo=`expr '(' $ac_mid ')' + 1`
24134 fi
24135
24136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24137 done
24138 case $ac_lo in
24139 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24140 '') if test "$ac_cv_type_long_long" = yes; then
24141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24142 See \`config.log' for more details." >&5
24143 echo "$as_me: error: cannot compute sizeof (long long)
24144 See \`config.log' for more details." >&2;}
24145 { (exit 77); exit 77; }; }
24146 else
24147 ac_cv_sizeof_long_long=0
24148 fi ;;
24149 esac
24150 else
24151 cat >conftest.$ac_ext <<_ACEOF
24152 /* confdefs.h. */
24153 _ACEOF
24154 cat confdefs.h >>conftest.$ac_ext
24155 cat >>conftest.$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24157 $ac_includes_default
24158 typedef long long ac__type_sizeof_;
24159 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24160 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24161 #include <stdio.h>
24162 #include <stdlib.h>
24163 int
24164 main ()
24165 {
24166
24167 FILE *f = fopen ("conftest.val", "w");
24168 if (! f)
24169 return 1;
24170 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24171 {
24172 long int i = longval ();
24173 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24174 return 1;
24175 fprintf (f, "%ld\n", i);
24176 }
24177 else
24178 {
24179 unsigned long int i = ulongval ();
24180 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24181 return 1;
24182 fprintf (f, "%lu\n", i);
24183 }
24184 return ferror (f) || fclose (f) != 0;
24185
24186 ;
24187 return 0;
24188 }
24189 _ACEOF
24190 rm -f conftest$ac_exeext
24191 if { (ac_try="$ac_link"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 *) ac_try_echo=$ac_try;;
24195 esac
24196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24197 (eval "$ac_link") 2>&5
24198 ac_status=$?
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24201 { (case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24204 esac
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_try") 2>&5
24207 ac_status=$?
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; }; then
24210 ac_cv_sizeof_long_long=`cat conftest.val`
24211 else
24212 echo "$as_me: program exited with status $ac_status" >&5
24213 echo "$as_me: failed program was:" >&5
24214 sed 's/^/| /' conftest.$ac_ext >&5
24215
24216 ( exit $ac_status )
24217 if test "$ac_cv_type_long_long" = yes; then
24218 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24219 See \`config.log' for more details." >&5
24220 echo "$as_me: error: cannot compute sizeof (long long)
24221 See \`config.log' for more details." >&2;}
24222 { (exit 77); exit 77; }; }
24223 else
24224 ac_cv_sizeof_long_long=0
24225 fi
24226 fi
24227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24228 fi
24229 rm -f conftest.val
24230 fi
24231 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24232 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24233
24234
24235
24236 cat >>confdefs.h <<_ACEOF
24237 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24238 _ACEOF
24239
24240
24241 ;;
24242 *-hp-hpux* )
24243 { echo "$as_me:$LINENO: checking for long long" >&5
24244 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24245 if test "${ac_cv_type_long_long+set}" = set; then
24246 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 else
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 $ac_includes_default
24255 typedef long long ac__type_new_;
24256 int
24257 main ()
24258 {
24259 if ((ac__type_new_ *) 0)
24260 return 0;
24261 if (sizeof (ac__type_new_))
24262 return 0;
24263 ;
24264 return 0;
24265 }
24266 _ACEOF
24267 rm -f conftest.$ac_objext
24268 if { (ac_try="$ac_compile"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_compile") 2>conftest.er1
24275 ac_status=$?
24276 grep -v '^ *+' conftest.er1 >conftest.err
24277 rm -f conftest.er1
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } && {
24281 test -z "$ac_c_werror_flag" ||
24282 test ! -s conftest.err
24283 } && test -s conftest.$ac_objext; then
24284 ac_cv_type_long_long=yes
24285 else
24286 echo "$as_me: failed program was:" >&5
24287 sed 's/^/| /' conftest.$ac_ext >&5
24288
24289 ac_cv_type_long_long=no
24290 fi
24291
24292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293 fi
24294 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24295 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24296
24297 # The cast to long int works around a bug in the HP C Compiler
24298 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24299 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24300 # This bug is HP SR number 8606223364.
24301 { echo "$as_me:$LINENO: checking size of long long" >&5
24302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24303 if test "${ac_cv_sizeof_long_long+set}" = set; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24305 else
24306 if test "$cross_compiling" = yes; then
24307 # Depending upon the size, compute the lo and hi bounds.
24308 cat >conftest.$ac_ext <<_ACEOF
24309 /* confdefs.h. */
24310 _ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 $ac_includes_default
24315 typedef long long ac__type_sizeof_;
24316 int
24317 main ()
24318 {
24319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24320 test_array [0] = 0
24321
24322 ;
24323 return 0;
24324 }
24325 _ACEOF
24326 rm -f conftest.$ac_objext
24327 if { (ac_try="$ac_compile"
24328 case "(($ac_try" in
24329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24331 esac
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_compile") 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } && {
24340 test -z "$ac_c_werror_flag" ||
24341 test ! -s conftest.err
24342 } && test -s conftest.$ac_objext; then
24343 ac_lo=0 ac_mid=0
24344 while :; do
24345 cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 $ac_includes_default
24352 typedef long long ac__type_sizeof_;
24353 int
24354 main ()
24355 {
24356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24357 test_array [0] = 0
24358
24359 ;
24360 return 0;
24361 }
24362 _ACEOF
24363 rm -f conftest.$ac_objext
24364 if { (ac_try="$ac_compile"
24365 case "(($ac_try" in
24366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24367 *) ac_try_echo=$ac_try;;
24368 esac
24369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.$ac_objext; then
24380 ac_hi=$ac_mid; break
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 ac_lo=`expr $ac_mid + 1`
24386 if test $ac_lo -le $ac_mid; then
24387 ac_lo= ac_hi=
24388 break
24389 fi
24390 ac_mid=`expr 2 '*' $ac_mid + 1`
24391 fi
24392
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394 done
24395 else
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.$ac_ext >&5
24398
24399 cat >conftest.$ac_ext <<_ACEOF
24400 /* confdefs.h. */
24401 _ACEOF
24402 cat confdefs.h >>conftest.$ac_ext
24403 cat >>conftest.$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24405 $ac_includes_default
24406 typedef long long ac__type_sizeof_;
24407 int
24408 main ()
24409 {
24410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24411 test_array [0] = 0
24412
24413 ;
24414 return 0;
24415 }
24416 _ACEOF
24417 rm -f conftest.$ac_objext
24418 if { (ac_try="$ac_compile"
24419 case "(($ac_try" in
24420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24421 *) ac_try_echo=$ac_try;;
24422 esac
24423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24424 (eval "$ac_compile") 2>conftest.er1
24425 ac_status=$?
24426 grep -v '^ *+' conftest.er1 >conftest.err
24427 rm -f conftest.er1
24428 cat conftest.err >&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); } && {
24431 test -z "$ac_c_werror_flag" ||
24432 test ! -s conftest.err
24433 } && test -s conftest.$ac_objext; then
24434 ac_hi=-1 ac_mid=-1
24435 while :; do
24436 cat >conftest.$ac_ext <<_ACEOF
24437 /* confdefs.h. */
24438 _ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 typedef long long ac__type_sizeof_;
24444 int
24445 main ()
24446 {
24447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24448 test_array [0] = 0
24449
24450 ;
24451 return 0;
24452 }
24453 _ACEOF
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24459 esac
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24462 ac_status=$?
24463 grep -v '^ *+' conftest.er1 >conftest.err
24464 rm -f conftest.er1
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_c_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24471 ac_lo=$ac_mid; break
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ac_hi=`expr '(' $ac_mid ')' - 1`
24477 if test $ac_mid -le $ac_hi; then
24478 ac_lo= ac_hi=
24479 break
24480 fi
24481 ac_mid=`expr 2 '*' $ac_mid`
24482 fi
24483
24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24485 done
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24489
24490 ac_lo= ac_hi=
24491 fi
24492
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 fi
24495
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24497 # Binary search between lo and hi bounds.
24498 while test "x$ac_lo" != "x$ac_hi"; do
24499 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24500 cat >conftest.$ac_ext <<_ACEOF
24501 /* confdefs.h. */
24502 _ACEOF
24503 cat confdefs.h >>conftest.$ac_ext
24504 cat >>conftest.$ac_ext <<_ACEOF
24505 /* end confdefs.h. */
24506 $ac_includes_default
24507 typedef long long ac__type_sizeof_;
24508 int
24509 main ()
24510 {
24511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24512 test_array [0] = 0
24513
24514 ;
24515 return 0;
24516 }
24517 _ACEOF
24518 rm -f conftest.$ac_objext
24519 if { (ac_try="$ac_compile"
24520 case "(($ac_try" in
24521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24522 *) ac_try_echo=$ac_try;;
24523 esac
24524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24525 (eval "$ac_compile") 2>conftest.er1
24526 ac_status=$?
24527 grep -v '^ *+' conftest.er1 >conftest.err
24528 rm -f conftest.er1
24529 cat conftest.err >&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } && {
24532 test -z "$ac_c_werror_flag" ||
24533 test ! -s conftest.err
24534 } && test -s conftest.$ac_objext; then
24535 ac_hi=$ac_mid
24536 else
24537 echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24539
24540 ac_lo=`expr '(' $ac_mid ')' + 1`
24541 fi
24542
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 done
24545 case $ac_lo in
24546 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24547 '') if test "$ac_cv_type_long_long" = yes; then
24548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24549 See \`config.log' for more details." >&5
24550 echo "$as_me: error: cannot compute sizeof (long long)
24551 See \`config.log' for more details." >&2;}
24552 { (exit 77); exit 77; }; }
24553 else
24554 ac_cv_sizeof_long_long=0
24555 fi ;;
24556 esac
24557 else
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 $ac_includes_default
24565 typedef long long ac__type_sizeof_;
24566 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24567 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24568 #include <stdio.h>
24569 #include <stdlib.h>
24570 int
24571 main ()
24572 {
24573
24574 FILE *f = fopen ("conftest.val", "w");
24575 if (! f)
24576 return 1;
24577 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24578 {
24579 long int i = longval ();
24580 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24581 return 1;
24582 fprintf (f, "%ld\n", i);
24583 }
24584 else
24585 {
24586 unsigned long int i = ulongval ();
24587 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24588 return 1;
24589 fprintf (f, "%lu\n", i);
24590 }
24591 return ferror (f) || fclose (f) != 0;
24592
24593 ;
24594 return 0;
24595 }
24596 _ACEOF
24597 rm -f conftest$ac_exeext
24598 if { (ac_try="$ac_link"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24602 esac
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_link") 2>&5
24605 ac_status=$?
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24608 { (case "(($ac_try" in
24609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24610 *) ac_try_echo=$ac_try;;
24611 esac
24612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24613 (eval "$ac_try") 2>&5
24614 ac_status=$?
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; }; then
24617 ac_cv_sizeof_long_long=`cat conftest.val`
24618 else
24619 echo "$as_me: program exited with status $ac_status" >&5
24620 echo "$as_me: failed program was:" >&5
24621 sed 's/^/| /' conftest.$ac_ext >&5
24622
24623 ( exit $ac_status )
24624 if test "$ac_cv_type_long_long" = yes; then
24625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24626 See \`config.log' for more details." >&5
24627 echo "$as_me: error: cannot compute sizeof (long long)
24628 See \`config.log' for more details." >&2;}
24629 { (exit 77); exit 77; }; }
24630 else
24631 ac_cv_sizeof_long_long=0
24632 fi
24633 fi
24634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24635 fi
24636 rm -f conftest.val
24637 fi
24638 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24639 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24640
24641
24642
24643 cat >>confdefs.h <<_ACEOF
24644 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24645 _ACEOF
24646
24647
24648 if test "$ac_cv_sizeof_long_long" != 0; then
24649 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24650 fi
24651 ;;
24652 * )
24653 { echo "$as_me:$LINENO: checking for long long" >&5
24654 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24655 if test "${ac_cv_type_long_long+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else
24658 cat >conftest.$ac_ext <<_ACEOF
24659 /* confdefs.h. */
24660 _ACEOF
24661 cat confdefs.h >>conftest.$ac_ext
24662 cat >>conftest.$ac_ext <<_ACEOF
24663 /* end confdefs.h. */
24664 $ac_includes_default
24665 typedef long long ac__type_new_;
24666 int
24667 main ()
24668 {
24669 if ((ac__type_new_ *) 0)
24670 return 0;
24671 if (sizeof (ac__type_new_))
24672 return 0;
24673 ;
24674 return 0;
24675 }
24676 _ACEOF
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24682 esac
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_c_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 ac_cv_type_long_long=yes
24695 else
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 ac_cv_type_long_long=no
24700 fi
24701
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24703 fi
24704 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24705 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24706
24707 # The cast to long int works around a bug in the HP C Compiler
24708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24710 # This bug is HP SR number 8606223364.
24711 { echo "$as_me:$LINENO: checking size of long long" >&5
24712 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24713 if test "${ac_cv_sizeof_long_long+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 else
24716 if test "$cross_compiling" = yes; then
24717 # Depending upon the size, compute the lo and hi bounds.
24718 cat >conftest.$ac_ext <<_ACEOF
24719 /* confdefs.h. */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 $ac_includes_default
24725 typedef long long ac__type_sizeof_;
24726 int
24727 main ()
24728 {
24729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24730 test_array [0] = 0
24731
24732 ;
24733 return 0;
24734 }
24735 _ACEOF
24736 rm -f conftest.$ac_objext
24737 if { (ac_try="$ac_compile"
24738 case "(($ac_try" in
24739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24740 *) ac_try_echo=$ac_try;;
24741 esac
24742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24743 (eval "$ac_compile") 2>conftest.er1
24744 ac_status=$?
24745 grep -v '^ *+' conftest.er1 >conftest.err
24746 rm -f conftest.er1
24747 cat conftest.err >&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } && {
24750 test -z "$ac_c_werror_flag" ||
24751 test ! -s conftest.err
24752 } && test -s conftest.$ac_objext; then
24753 ac_lo=0 ac_mid=0
24754 while :; do
24755 cat >conftest.$ac_ext <<_ACEOF
24756 /* confdefs.h. */
24757 _ACEOF
24758 cat confdefs.h >>conftest.$ac_ext
24759 cat >>conftest.$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 $ac_includes_default
24762 typedef long long ac__type_sizeof_;
24763 int
24764 main ()
24765 {
24766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24767 test_array [0] = 0
24768
24769 ;
24770 return 0;
24771 }
24772 _ACEOF
24773 rm -f conftest.$ac_objext
24774 if { (ac_try="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24777 *) ac_try_echo=$ac_try;;
24778 esac
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_compile") 2>conftest.er1
24781 ac_status=$?
24782 grep -v '^ *+' conftest.er1 >conftest.err
24783 rm -f conftest.er1
24784 cat conftest.err >&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } && {
24787 test -z "$ac_c_werror_flag" ||
24788 test ! -s conftest.err
24789 } && test -s conftest.$ac_objext; then
24790 ac_hi=$ac_mid; break
24791 else
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.$ac_ext >&5
24794
24795 ac_lo=`expr $ac_mid + 1`
24796 if test $ac_lo -le $ac_mid; then
24797 ac_lo= ac_hi=
24798 break
24799 fi
24800 ac_mid=`expr 2 '*' $ac_mid + 1`
24801 fi
24802
24803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24804 done
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24808
24809 cat >conftest.$ac_ext <<_ACEOF
24810 /* confdefs.h. */
24811 _ACEOF
24812 cat confdefs.h >>conftest.$ac_ext
24813 cat >>conftest.$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815 $ac_includes_default
24816 typedef long long ac__type_sizeof_;
24817 int
24818 main ()
24819 {
24820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24821 test_array [0] = 0
24822
24823 ;
24824 return 0;
24825 }
24826 _ACEOF
24827 rm -f conftest.$ac_objext
24828 if { (ac_try="$ac_compile"
24829 case "(($ac_try" in
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24832 esac
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_compile") 2>conftest.er1
24835 ac_status=$?
24836 grep -v '^ *+' conftest.er1 >conftest.err
24837 rm -f conftest.er1
24838 cat conftest.err >&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); } && {
24841 test -z "$ac_c_werror_flag" ||
24842 test ! -s conftest.err
24843 } && test -s conftest.$ac_objext; then
24844 ac_hi=-1 ac_mid=-1
24845 while :; do
24846 cat >conftest.$ac_ext <<_ACEOF
24847 /* confdefs.h. */
24848 _ACEOF
24849 cat confdefs.h >>conftest.$ac_ext
24850 cat >>conftest.$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852 $ac_includes_default
24853 typedef long long ac__type_sizeof_;
24854 int
24855 main ()
24856 {
24857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24858 test_array [0] = 0
24859
24860 ;
24861 return 0;
24862 }
24863 _ACEOF
24864 rm -f conftest.$ac_objext
24865 if { (ac_try="$ac_compile"
24866 case "(($ac_try" in
24867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24868 *) ac_try_echo=$ac_try;;
24869 esac
24870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24871 (eval "$ac_compile") 2>conftest.er1
24872 ac_status=$?
24873 grep -v '^ *+' conftest.er1 >conftest.err
24874 rm -f conftest.er1
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } && {
24878 test -z "$ac_c_werror_flag" ||
24879 test ! -s conftest.err
24880 } && test -s conftest.$ac_objext; then
24881 ac_lo=$ac_mid; break
24882 else
24883 echo "$as_me: failed program was:" >&5
24884 sed 's/^/| /' conftest.$ac_ext >&5
24885
24886 ac_hi=`expr '(' $ac_mid ')' - 1`
24887 if test $ac_mid -le $ac_hi; then
24888 ac_lo= ac_hi=
24889 break
24890 fi
24891 ac_mid=`expr 2 '*' $ac_mid`
24892 fi
24893
24894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24895 done
24896 else
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.$ac_ext >&5
24899
24900 ac_lo= ac_hi=
24901 fi
24902
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 fi
24905
24906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24907 # Binary search between lo and hi bounds.
24908 while test "x$ac_lo" != "x$ac_hi"; do
24909 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24910 cat >conftest.$ac_ext <<_ACEOF
24911 /* confdefs.h. */
24912 _ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24916 $ac_includes_default
24917 typedef long long ac__type_sizeof_;
24918 int
24919 main ()
24920 {
24921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24922 test_array [0] = 0
24923
24924 ;
24925 return 0;
24926 }
24927 _ACEOF
24928 rm -f conftest.$ac_objext
24929 if { (ac_try="$ac_compile"
24930 case "(($ac_try" in
24931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24932 *) ac_try_echo=$ac_try;;
24933 esac
24934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24935 (eval "$ac_compile") 2>conftest.er1
24936 ac_status=$?
24937 grep -v '^ *+' conftest.er1 >conftest.err
24938 rm -f conftest.er1
24939 cat conftest.err >&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && {
24942 test -z "$ac_c_werror_flag" ||
24943 test ! -s conftest.err
24944 } && test -s conftest.$ac_objext; then
24945 ac_hi=$ac_mid
24946 else
24947 echo "$as_me: failed program was:" >&5
24948 sed 's/^/| /' conftest.$ac_ext >&5
24949
24950 ac_lo=`expr '(' $ac_mid ')' + 1`
24951 fi
24952
24953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24954 done
24955 case $ac_lo in
24956 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24957 '') if test "$ac_cv_type_long_long" = yes; then
24958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24959 See \`config.log' for more details." >&5
24960 echo "$as_me: error: cannot compute sizeof (long long)
24961 See \`config.log' for more details." >&2;}
24962 { (exit 77); exit 77; }; }
24963 else
24964 ac_cv_sizeof_long_long=0
24965 fi ;;
24966 esac
24967 else
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974 $ac_includes_default
24975 typedef long long ac__type_sizeof_;
24976 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24977 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24978 #include <stdio.h>
24979 #include <stdlib.h>
24980 int
24981 main ()
24982 {
24983
24984 FILE *f = fopen ("conftest.val", "w");
24985 if (! f)
24986 return 1;
24987 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24988 {
24989 long int i = longval ();
24990 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24991 return 1;
24992 fprintf (f, "%ld\n", i);
24993 }
24994 else
24995 {
24996 unsigned long int i = ulongval ();
24997 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24998 return 1;
24999 fprintf (f, "%lu\n", i);
25000 }
25001 return ferror (f) || fclose (f) != 0;
25002
25003 ;
25004 return 0;
25005 }
25006 _ACEOF
25007 rm -f conftest$ac_exeext
25008 if { (ac_try="$ac_link"
25009 case "(($ac_try" in
25010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25011 *) ac_try_echo=$ac_try;;
25012 esac
25013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25014 (eval "$ac_link") 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25018 { (case "(($ac_try" in
25019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25020 *) ac_try_echo=$ac_try;;
25021 esac
25022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25023 (eval "$ac_try") 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 ac_cv_sizeof_long_long=`cat conftest.val`
25028 else
25029 echo "$as_me: program exited with status $ac_status" >&5
25030 echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5
25032
25033 ( exit $ac_status )
25034 if test "$ac_cv_type_long_long" = yes; then
25035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25036 See \`config.log' for more details." >&5
25037 echo "$as_me: error: cannot compute sizeof (long long)
25038 See \`config.log' for more details." >&2;}
25039 { (exit 77); exit 77; }; }
25040 else
25041 ac_cv_sizeof_long_long=0
25042 fi
25043 fi
25044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25045 fi
25046 rm -f conftest.val
25047 fi
25048 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25049 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25050
25051
25052
25053 cat >>confdefs.h <<_ACEOF
25054 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25055 _ACEOF
25056
25057
25058 esac
25059
25060 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25061 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25062 if test "${ac_cv_type_wchar_t+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 else
25065 cat >conftest.$ac_ext <<_ACEOF
25066 /* confdefs.h. */
25067 _ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25071
25072 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25073 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25074 # error "fake wchar_t"
25075 #endif
25076 #ifdef HAVE_WCHAR_H
25077 # ifdef __CYGWIN__
25078 # include <stddef.h>
25079 # endif
25080 # include <wchar.h>
25081 #endif
25082 #ifdef HAVE_STDLIB_H
25083 # include <stdlib.h>
25084 #endif
25085 #include <stdio.h>
25086
25087
25088
25089 typedef wchar_t ac__type_new_;
25090 int
25091 main ()
25092 {
25093 if ((ac__type_new_ *) 0)
25094 return 0;
25095 if (sizeof (ac__type_new_))
25096 return 0;
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext
25102 if { (ac_try="$ac_compile"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25106 esac
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_compile") 2>conftest.er1
25109 ac_status=$?
25110 grep -v '^ *+' conftest.er1 >conftest.err
25111 rm -f conftest.er1
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_c_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest.$ac_objext; then
25118 ac_cv_type_wchar_t=yes
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25122
25123 ac_cv_type_wchar_t=no
25124 fi
25125
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25127 fi
25128 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25129 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25130
25131 # The cast to long int works around a bug in the HP C Compiler
25132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25134 # This bug is HP SR number 8606223364.
25135 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25136 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140 if test "$cross_compiling" = yes; then
25141 # Depending upon the size, compute the lo and hi bounds.
25142 cat >conftest.$ac_ext <<_ACEOF
25143 /* confdefs.h. */
25144 _ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25148
25149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25151 # error "fake wchar_t"
25152 #endif
25153 #ifdef HAVE_WCHAR_H
25154 # ifdef __CYGWIN__
25155 # include <stddef.h>
25156 # endif
25157 # include <wchar.h>
25158 #endif
25159 #ifdef HAVE_STDLIB_H
25160 # include <stdlib.h>
25161 #endif
25162 #include <stdio.h>
25163
25164
25165
25166 typedef wchar_t ac__type_sizeof_;
25167 int
25168 main ()
25169 {
25170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25171 test_array [0] = 0
25172
25173 ;
25174 return 0;
25175 }
25176 _ACEOF
25177 rm -f conftest.$ac_objext
25178 if { (ac_try="$ac_compile"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25182 esac
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_compile") 2>conftest.er1
25185 ac_status=$?
25186 grep -v '^ *+' conftest.er1 >conftest.err
25187 rm -f conftest.er1
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } && {
25191 test -z "$ac_c_werror_flag" ||
25192 test ! -s conftest.err
25193 } && test -s conftest.$ac_objext; then
25194 ac_lo=0 ac_mid=0
25195 while :; do
25196 cat >conftest.$ac_ext <<_ACEOF
25197 /* confdefs.h. */
25198 _ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25202
25203 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25204 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25205 # error "fake wchar_t"
25206 #endif
25207 #ifdef HAVE_WCHAR_H
25208 # ifdef __CYGWIN__
25209 # include <stddef.h>
25210 # endif
25211 # include <wchar.h>
25212 #endif
25213 #ifdef HAVE_STDLIB_H
25214 # include <stdlib.h>
25215 #endif
25216 #include <stdio.h>
25217
25218
25219
25220 typedef wchar_t ac__type_sizeof_;
25221 int
25222 main ()
25223 {
25224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25225 test_array [0] = 0
25226
25227 ;
25228 return 0;
25229 }
25230 _ACEOF
25231 rm -f conftest.$ac_objext
25232 if { (ac_try="$ac_compile"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25236 esac
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_compile") 2>conftest.er1
25239 ac_status=$?
25240 grep -v '^ *+' conftest.er1 >conftest.err
25241 rm -f conftest.er1
25242 cat conftest.err >&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && {
25245 test -z "$ac_c_werror_flag" ||
25246 test ! -s conftest.err
25247 } && test -s conftest.$ac_objext; then
25248 ac_hi=$ac_mid; break
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 ac_lo=`expr $ac_mid + 1`
25254 if test $ac_lo -le $ac_mid; then
25255 ac_lo= ac_hi=
25256 break
25257 fi
25258 ac_mid=`expr 2 '*' $ac_mid + 1`
25259 fi
25260
25261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25262 done
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267 cat >conftest.$ac_ext <<_ACEOF
25268 /* confdefs.h. */
25269 _ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25273
25274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25276 # error "fake wchar_t"
25277 #endif
25278 #ifdef HAVE_WCHAR_H
25279 # ifdef __CYGWIN__
25280 # include <stddef.h>
25281 # endif
25282 # include <wchar.h>
25283 #endif
25284 #ifdef HAVE_STDLIB_H
25285 # include <stdlib.h>
25286 #endif
25287 #include <stdio.h>
25288
25289
25290
25291 typedef wchar_t ac__type_sizeof_;
25292 int
25293 main ()
25294 {
25295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25296 test_array [0] = 0
25297
25298 ;
25299 return 0;
25300 }
25301 _ACEOF
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25307 esac
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25310 ac_status=$?
25311 grep -v '^ *+' conftest.er1 >conftest.err
25312 rm -f conftest.er1
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_c_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25319 ac_hi=-1 ac_mid=-1
25320 while :; do
25321 cat >conftest.$ac_ext <<_ACEOF
25322 /* confdefs.h. */
25323 _ACEOF
25324 cat confdefs.h >>conftest.$ac_ext
25325 cat >>conftest.$ac_ext <<_ACEOF
25326 /* end confdefs.h. */
25327
25328 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25329 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25330 # error "fake wchar_t"
25331 #endif
25332 #ifdef HAVE_WCHAR_H
25333 # ifdef __CYGWIN__
25334 # include <stddef.h>
25335 # endif
25336 # include <wchar.h>
25337 #endif
25338 #ifdef HAVE_STDLIB_H
25339 # include <stdlib.h>
25340 #endif
25341 #include <stdio.h>
25342
25343
25344
25345 typedef wchar_t ac__type_sizeof_;
25346 int
25347 main ()
25348 {
25349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25350 test_array [0] = 0
25351
25352 ;
25353 return 0;
25354 }
25355 _ACEOF
25356 rm -f conftest.$ac_objext
25357 if { (ac_try="$ac_compile"
25358 case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360 *) ac_try_echo=$ac_try;;
25361 esac
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_compile") 2>conftest.er1
25364 ac_status=$?
25365 grep -v '^ *+' conftest.er1 >conftest.err
25366 rm -f conftest.er1
25367 cat conftest.err >&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); } && {
25370 test -z "$ac_c_werror_flag" ||
25371 test ! -s conftest.err
25372 } && test -s conftest.$ac_objext; then
25373 ac_lo=$ac_mid; break
25374 else
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.$ac_ext >&5
25377
25378 ac_hi=`expr '(' $ac_mid ')' - 1`
25379 if test $ac_mid -le $ac_hi; then
25380 ac_lo= ac_hi=
25381 break
25382 fi
25383 ac_mid=`expr 2 '*' $ac_mid`
25384 fi
25385
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 done
25388 else
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.$ac_ext >&5
25391
25392 ac_lo= ac_hi=
25393 fi
25394
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 fi
25397
25398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25399 # Binary search between lo and hi bounds.
25400 while test "x$ac_lo" != "x$ac_hi"; do
25401 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408
25409 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25410 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25411 # error "fake wchar_t"
25412 #endif
25413 #ifdef HAVE_WCHAR_H
25414 # ifdef __CYGWIN__
25415 # include <stddef.h>
25416 # endif
25417 # include <wchar.h>
25418 #endif
25419 #ifdef HAVE_STDLIB_H
25420 # include <stdlib.h>
25421 #endif
25422 #include <stdio.h>
25423
25424
25425
25426 typedef wchar_t ac__type_sizeof_;
25427 int
25428 main ()
25429 {
25430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25431 test_array [0] = 0
25432
25433 ;
25434 return 0;
25435 }
25436 _ACEOF
25437 rm -f conftest.$ac_objext
25438 if { (ac_try="$ac_compile"
25439 case "(($ac_try" in
25440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25442 esac
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_compile") 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_c_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest.$ac_objext; then
25454 ac_hi=$ac_mid
25455 else
25456 echo "$as_me: failed program was:" >&5
25457 sed 's/^/| /' conftest.$ac_ext >&5
25458
25459 ac_lo=`expr '(' $ac_mid ')' + 1`
25460 fi
25461
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 done
25464 case $ac_lo in
25465 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25466 '') if test "$ac_cv_type_wchar_t" = yes; then
25467 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25468 See \`config.log' for more details." >&5
25469 echo "$as_me: error: cannot compute sizeof (wchar_t)
25470 See \`config.log' for more details." >&2;}
25471 { (exit 77); exit 77; }; }
25472 else
25473 ac_cv_sizeof_wchar_t=0
25474 fi ;;
25475 esac
25476 else
25477 cat >conftest.$ac_ext <<_ACEOF
25478 /* confdefs.h. */
25479 _ACEOF
25480 cat confdefs.h >>conftest.$ac_ext
25481 cat >>conftest.$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25483
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t"
25487 #endif
25488 #ifdef HAVE_WCHAR_H
25489 # ifdef __CYGWIN__
25490 # include <stddef.h>
25491 # endif
25492 # include <wchar.h>
25493 #endif
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25496 #endif
25497 #include <stdio.h>
25498
25499
25500
25501 typedef wchar_t ac__type_sizeof_;
25502 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25503 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25504 #include <stdio.h>
25505 #include <stdlib.h>
25506 int
25507 main ()
25508 {
25509
25510 FILE *f = fopen ("conftest.val", "w");
25511 if (! f)
25512 return 1;
25513 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25514 {
25515 long int i = longval ();
25516 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25517 return 1;
25518 fprintf (f, "%ld\n", i);
25519 }
25520 else
25521 {
25522 unsigned long int i = ulongval ();
25523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25524 return 1;
25525 fprintf (f, "%lu\n", i);
25526 }
25527 return ferror (f) || fclose (f) != 0;
25528
25529 ;
25530 return 0;
25531 }
25532 _ACEOF
25533 rm -f conftest$ac_exeext
25534 if { (ac_try="$ac_link"
25535 case "(($ac_try" in
25536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25537 *) ac_try_echo=$ac_try;;
25538 esac
25539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25540 (eval "$ac_link") 2>&5
25541 ac_status=$?
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25544 { (case "(($ac_try" in
25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25546 *) ac_try_echo=$ac_try;;
25547 esac
25548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25549 (eval "$ac_try") 2>&5
25550 ac_status=$?
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; }; then
25553 ac_cv_sizeof_wchar_t=`cat conftest.val`
25554 else
25555 echo "$as_me: program exited with status $ac_status" >&5
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25558
25559 ( exit $ac_status )
25560 if test "$ac_cv_type_wchar_t" = yes; then
25561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25562 See \`config.log' for more details." >&5
25563 echo "$as_me: error: cannot compute sizeof (wchar_t)
25564 See \`config.log' for more details." >&2;}
25565 { (exit 77); exit 77; }; }
25566 else
25567 ac_cv_sizeof_wchar_t=0
25568 fi
25569 fi
25570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25571 fi
25572 rm -f conftest.val
25573 fi
25574 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25575 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25576
25577
25578
25579 cat >>confdefs.h <<_ACEOF
25580 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25581 _ACEOF
25582
25583
25584 if test "$ac_cv_sizeof_wchar_t" != 0; then
25585 wxUSE_WCHAR_T=yes
25586 else
25587 wxUSE_WCHAR_T=no
25588 fi
25589
25590 { echo "$as_me:$LINENO: checking for va_copy" >&5
25591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25592 if test "${wx_cv_func_va_copy+set}" = set; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25594 else
25595
25596 ac_ext=cpp
25597 ac_cpp='$CXXCPP $CPPFLAGS'
25598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25601
25602 cat >conftest.$ac_ext <<_ACEOF
25603
25604 #include <stdarg.h>
25605 void foo(char *f, ...)
25606 {
25607 va_list ap1, ap2;
25608 va_start(ap1, f);
25609 va_copy(ap2, ap1);
25610 va_end(ap2);
25611 va_end(ap1);
25612 }
25613 int main()
25614 {
25615 foo("hi", 17);
25616 return 0;
25617 }
25618 _ACEOF
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (ac_try="$ac_link"
25621 case "(($ac_try" in
25622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25623 *) ac_try_echo=$ac_try;;
25624 esac
25625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25626 (eval "$ac_link") 2>conftest.er1
25627 ac_status=$?
25628 grep -v '^ *+' conftest.er1 >conftest.err
25629 rm -f conftest.er1
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && {
25633 test -z "$ac_cxx_werror_flag" ||
25634 test ! -s conftest.err
25635 } && test -s conftest$ac_exeext &&
25636 $as_test_x conftest$ac_exeext; then
25637 wx_cv_func_va_copy=yes
25638 else
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25641
25642 wx_cv_func_va_copy=no
25643
25644 fi
25645
25646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25647 conftest$ac_exeext conftest.$ac_ext
25648 ac_ext=c
25649 ac_cpp='$CPP $CPPFLAGS'
25650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25653
25654
25655
25656 fi
25657 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25658 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25659
25660 if test $wx_cv_func_va_copy = "yes"; then
25661 cat >>confdefs.h <<\_ACEOF
25662 #define HAVE_VA_COPY 1
25663 _ACEOF
25664
25665 else
25666 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25667 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25668 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 else
25671
25672 if test "$cross_compiling" = yes; then
25673 wx_cv_type_va_list_lvalue=yes
25674
25675 else
25676 cat >conftest.$ac_ext <<_ACEOF
25677
25678 #include <stdarg.h>
25679 int foo(char *f, ...)
25680 {
25681 va_list ap1, ap2;
25682 va_start(ap1, f);
25683 ap2 = ap1;
25684 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25685 return 1;
25686 va_end(ap2);
25687 va_end(ap1);
25688 return 0;
25689 }
25690 int main()
25691 {
25692 return foo("hi", 17);
25693 }
25694 _ACEOF
25695 rm -f conftest$ac_exeext
25696 if { (ac_try="$ac_link"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25700 esac
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_link") 2>&5
25703 ac_status=$?
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25706 { (case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25709 esac
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_try") 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 wx_cv_type_va_list_lvalue=yes
25716 else
25717 echo "$as_me: program exited with status $ac_status" >&5
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 ( exit $ac_status )
25722 wx_cv_type_va_list_lvalue=no
25723 fi
25724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25725 fi
25726
25727
25728
25729
25730 fi
25731 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25732 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25733
25734 if test $wx_cv_type_va_list_lvalue != "yes"; then
25735 cat >>confdefs.h <<\_ACEOF
25736 #define VA_LIST_IS_ARRAY 1
25737 _ACEOF
25738
25739 fi
25740 fi
25741
25742 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25743
25744 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25745 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25746 if test "${wx_cv_have_variadic_macros+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749
25750 ac_ext=cpp
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25755
25756 cat >conftest.$ac_ext <<_ACEOF
25757 /* confdefs.h. */
25758 _ACEOF
25759 cat confdefs.h >>conftest.$ac_ext
25760 cat >>conftest.$ac_ext <<_ACEOF
25761 /* end confdefs.h. */
25762
25763 #include <stdio.h>
25764 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25765
25766 int
25767 main ()
25768 {
25769
25770 test("%s %d %p", "test", 1, 0);
25771
25772
25773 ;
25774 return 0;
25775 }
25776 _ACEOF
25777 rm -f conftest.$ac_objext
25778 if { (ac_try="$ac_compile"
25779 case "(($ac_try" in
25780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25781 *) ac_try_echo=$ac_try;;
25782 esac
25783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25784 (eval "$ac_compile") 2>conftest.er1
25785 ac_status=$?
25786 grep -v '^ *+' conftest.er1 >conftest.err
25787 rm -f conftest.er1
25788 cat conftest.err >&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } && {
25791 test -z "$ac_cxx_werror_flag" ||
25792 test ! -s conftest.err
25793 } && test -s conftest.$ac_objext; then
25794 wx_cv_have_variadic_macros=yes
25795 else
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.$ac_ext >&5
25798
25799 wx_cv_have_variadic_macros=no
25800
25801 fi
25802
25803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25804 ac_ext=c
25805 ac_cpp='$CPP $CPPFLAGS'
25806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25809
25810
25811
25812 fi
25813 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25814 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25815
25816 if test $wx_cv_have_variadic_macros = "yes"; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define HAVE_VARIADIC_MACROS 1
25819 _ACEOF
25820
25821 fi
25822
25823 fi
25824 # Check whether --enable-largefile was given.
25825 if test "${enable_largefile+set}" = set; then
25826 enableval=$enable_largefile;
25827 fi
25828
25829 if test "$enable_largefile" != no; then
25830 wx_largefile=no
25831
25832 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25833 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25834 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 else
25837
25838 cat >conftest.$ac_ext <<_ACEOF
25839 /* confdefs.h. */
25840 _ACEOF
25841 cat confdefs.h >>conftest.$ac_ext
25842 cat >>conftest.$ac_ext <<_ACEOF
25843 /* end confdefs.h. */
25844 #define _FILE_OFFSET_BITS 64
25845 #include <sys/types.h>
25846 int
25847 main ()
25848 {
25849 typedef struct {
25850 unsigned int field: sizeof(off_t) == 8;
25851 } wxlf;
25852
25853 ;
25854 return 0;
25855 }
25856 _ACEOF
25857 rm -f conftest.$ac_objext
25858 if { (ac_try="$ac_compile"
25859 case "(($ac_try" in
25860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25861 *) ac_try_echo=$ac_try;;
25862 esac
25863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25864 (eval "$ac_compile") 2>conftest.er1
25865 ac_status=$?
25866 grep -v '^ *+' conftest.er1 >conftest.err
25867 rm -f conftest.er1
25868 cat conftest.err >&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && {
25871 test -z "$ac_c_werror_flag" ||
25872 test ! -s conftest.err
25873 } && test -s conftest.$ac_objext; then
25874 ac_cv_sys_file_offset_bits=64
25875 else
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25878
25879 ac_cv_sys_file_offset_bits=no
25880 fi
25881
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883
25884
25885 fi
25886 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25887 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25888
25889 if test "$ac_cv_sys_file_offset_bits" != no; then
25890 wx_largefile=yes
25891 cat >>confdefs.h <<_ACEOF
25892 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25893 _ACEOF
25894
25895 fi
25896
25897 if test "x$wx_largefile" != "xyes"; then
25898
25899 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25900 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25901 if test "${ac_cv_sys_large_files+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 #define _LARGE_FILES 1
25912 #include <sys/types.h>
25913 int
25914 main ()
25915 {
25916 typedef struct {
25917 unsigned int field: sizeof(off_t) == 8;
25918 } wxlf;
25919
25920 ;
25921 return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext
25925 if { (ac_try="$ac_compile"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25929 esac
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_compile") 2>conftest.er1
25932 ac_status=$?
25933 grep -v '^ *+' conftest.er1 >conftest.err
25934 rm -f conftest.er1
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest.$ac_objext; then
25941 ac_cv_sys_large_files=1
25942 else
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25945
25946 ac_cv_sys_large_files=no
25947 fi
25948
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950
25951
25952 fi
25953 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25954 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25955
25956 if test "$ac_cv_sys_large_files" != no; then
25957 wx_largefile=yes
25958 cat >>confdefs.h <<_ACEOF
25959 #define _LARGE_FILES $ac_cv_sys_large_files
25960 _ACEOF
25961
25962 fi
25963
25964 fi
25965
25966 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25967 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25968 if test "x$wx_largefile" = "xyes"; then
25969 cat >>confdefs.h <<\_ACEOF
25970 #define HAVE_LARGEFILE_SUPPORT 1
25971 _ACEOF
25972
25973 fi
25974 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25975 echo "${ECHO_T}$wx_largefile" >&6; }
25976 fi
25977
25978
25979 if test "x$wx_largefile" = "xyes"; then
25980 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25982
25983 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25984 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25985 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25986 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25987 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 else
25989
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995
25996 cat >conftest.$ac_ext <<_ACEOF
25997 /* confdefs.h. */
25998 _ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002
26003 int
26004 main ()
26005 {
26006
26007 #ifndef __STDC_EXT__
26008 choke me
26009 #endif
26010
26011 ;
26012 return 0;
26013 }
26014 _ACEOF
26015 rm -f conftest.$ac_objext
26016 if { (ac_try="$ac_compile"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26020 esac
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_compile") 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_cxx_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest.$ac_objext; then
26032 wx_cv_STDC_EXT_required=no
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 wx_cv_STDC_EXT_required=yes
26038
26039 fi
26040
26041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26042 ac_ext=c
26043 ac_cpp='$CPP $CPPFLAGS'
26044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26047
26048
26049
26050 fi
26051 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26052 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26053 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26054 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26055 fi
26056 fi
26057 else
26058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26059 fi
26060 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26061 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26062 if test "${ac_cv_sys_largefile_source+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065 while :; do
26066 cat >conftest.$ac_ext <<_ACEOF
26067 /* confdefs.h. */
26068 _ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26072 #include <sys/types.h> /* for off_t */
26073 #include <stdio.h>
26074 int
26075 main ()
26076 {
26077 int (*fp) (FILE *, off_t, int) = fseeko;
26078 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26079 ;
26080 return 0;
26081 }
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (ac_try="$ac_link"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26088 esac
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_link") 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest$ac_exeext &&
26100 $as_test_x conftest$ac_exeext; then
26101 ac_cv_sys_largefile_source=no; break
26102 else
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26105
26106
26107 fi
26108
26109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26110 conftest$ac_exeext conftest.$ac_ext
26111 cat >conftest.$ac_ext <<_ACEOF
26112 /* confdefs.h. */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117 #define _LARGEFILE_SOURCE 1
26118 #include <sys/types.h> /* for off_t */
26119 #include <stdio.h>
26120 int
26121 main ()
26122 {
26123 int (*fp) (FILE *, off_t, int) = fseeko;
26124 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26125 ;
26126 return 0;
26127 }
26128 _ACEOF
26129 rm -f conftest.$ac_objext conftest$ac_exeext
26130 if { (ac_try="$ac_link"
26131 case "(($ac_try" in
26132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26133 *) ac_try_echo=$ac_try;;
26134 esac
26135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26136 (eval "$ac_link") 2>conftest.er1
26137 ac_status=$?
26138 grep -v '^ *+' conftest.er1 >conftest.err
26139 rm -f conftest.er1
26140 cat conftest.err >&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); } && {
26143 test -z "$ac_c_werror_flag" ||
26144 test ! -s conftest.err
26145 } && test -s conftest$ac_exeext &&
26146 $as_test_x conftest$ac_exeext; then
26147 ac_cv_sys_largefile_source=1; break
26148 else
26149 echo "$as_me: failed program was:" >&5
26150 sed 's/^/| /' conftest.$ac_ext >&5
26151
26152
26153 fi
26154
26155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26156 conftest$ac_exeext conftest.$ac_ext
26157 ac_cv_sys_largefile_source=unknown
26158 break
26159 done
26160 fi
26161 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26162 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26163 case $ac_cv_sys_largefile_source in #(
26164 no | unknown) ;;
26165 *)
26166 cat >>confdefs.h <<_ACEOF
26167 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26168 _ACEOF
26169 ;;
26170 esac
26171 rm -f conftest*
26172
26173 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26174 # in glibc 2.1.3, but that breaks too many other things.
26175 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26176 if test $ac_cv_sys_largefile_source != unknown; then
26177
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_FSEEKO 1
26180 _ACEOF
26181
26182 fi
26183
26184 if test "$ac_cv_sys_largefile_source" != no; then
26185 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26186 fi
26187 fi
26188
26189 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26190 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26191 if test "${ac_cv_c_bigendian+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194 ac_cv_c_bigendian=unknown
26195 # See if sys/param.h defines the BYTE_ORDER macro.
26196 cat >conftest.$ac_ext <<_ACEOF
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202 #include <sys/types.h>
26203 #include <sys/param.h>
26204 int
26205 main ()
26206 {
26207
26208 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26209 bogus endian macros
26210 #endif
26211 ;
26212 return 0;
26213 }
26214 _ACEOF
26215 rm -f conftest.$ac_objext
26216 if { (ac_try="$ac_compile"
26217 case "(($ac_try" in
26218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219 *) ac_try_echo=$ac_try;;
26220 esac
26221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26222 (eval "$ac_compile") 2>conftest.er1
26223 ac_status=$?
26224 grep -v '^ *+' conftest.er1 >conftest.err
26225 rm -f conftest.er1
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } && {
26229 test -z "$ac_c_werror_flag" ||
26230 test ! -s conftest.err
26231 } && test -s conftest.$ac_objext; then
26232 # It does; now see whether it defined to BIG_ENDIAN or not.
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 #include <sys/types.h>
26240 #include <sys/param.h>
26241 int
26242 main ()
26243 {
26244
26245 #if BYTE_ORDER != BIG_ENDIAN
26246 not big endian
26247 #endif
26248 ;
26249 return 0;
26250 }
26251 _ACEOF
26252 rm -f conftest.$ac_objext
26253 if { (ac_try="$ac_compile"
26254 case "(($ac_try" in
26255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26256 *) ac_try_echo=$ac_try;;
26257 esac
26258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26259 (eval "$ac_compile") 2>conftest.er1
26260 ac_status=$?
26261 grep -v '^ *+' conftest.er1 >conftest.err
26262 rm -f conftest.er1
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } && {
26266 test -z "$ac_c_werror_flag" ||
26267 test ! -s conftest.err
26268 } && test -s conftest.$ac_objext; then
26269 ac_cv_c_bigendian=yes
26270 else
26271 echo "$as_me: failed program was:" >&5
26272 sed 's/^/| /' conftest.$ac_ext >&5
26273
26274 ac_cv_c_bigendian=no
26275 fi
26276
26277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26278 else
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26281
26282
26283 fi
26284
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 if test $ac_cv_c_bigendian = unknown; then
26287 if test "$cross_compiling" = yes; then
26288 ac_cv_c_bigendian=unknown
26289 else
26290 cat >conftest.$ac_ext <<_ACEOF
26291 /* confdefs.h. */
26292 _ACEOF
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26296 main () {
26297 /* Are we little or big endian? From Harbison&Steele. */
26298 union
26299 {
26300 long l;
26301 char c[sizeof (long)];
26302 } u;
26303 u.l = 1;
26304 exit (u.c[sizeof (long) - 1] == 1);
26305 }
26306 _ACEOF
26307 rm -f conftest$ac_exeext
26308 if { (ac_try="$ac_link"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26311 *) ac_try_echo=$ac_try;;
26312 esac
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_link") 2>&5
26315 ac_status=$?
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26318 { (case "(($ac_try" in
26319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26320 *) ac_try_echo=$ac_try;;
26321 esac
26322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26323 (eval "$ac_try") 2>&5
26324 ac_status=$?
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); }; }; then
26327 ac_cv_c_bigendian=no
26328 else
26329 echo "$as_me: program exited with status $ac_status" >&5
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 ( exit $ac_status )
26334 ac_cv_c_bigendian=yes
26335 fi
26336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26337 fi
26338
26339
26340 fi
26341 fi
26342 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26343 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26344 if test $ac_cv_c_bigendian = unknown; then
26345 { 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
26346 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;}
26347 fi
26348 if test $ac_cv_c_bigendian = yes; then
26349 cat >>confdefs.h <<\_ACEOF
26350 #define WORDS_BIGENDIAN 1
26351 _ACEOF
26352
26353 fi
26354
26355
26356
26357
26358 ac_ext=cpp
26359 ac_cpp='$CXXCPP $CPPFLAGS'
26360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26363
26364
26365
26366 for ac_header in iostream
26367 do
26368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26372 echo $ECHO_N "(cached) $ECHO_C" >&6
26373 else
26374 cat >conftest.$ac_ext <<_ACEOF
26375 /* confdefs.h. */
26376 _ACEOF
26377 cat confdefs.h >>conftest.$ac_ext
26378 cat >>conftest.$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26380
26381
26382 #include <$ac_header>
26383 _ACEOF
26384 rm -f conftest.$ac_objext
26385 if { (ac_try="$ac_compile"
26386 case "(($ac_try" in
26387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26388 *) ac_try_echo=$ac_try;;
26389 esac
26390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26391 (eval "$ac_compile") 2>conftest.er1
26392 ac_status=$?
26393 grep -v '^ *+' conftest.er1 >conftest.err
26394 rm -f conftest.er1
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } && {
26398 test -z "$ac_cxx_werror_flag" ||
26399 test ! -s conftest.err
26400 } && test -s conftest.$ac_objext; then
26401 eval "$as_ac_Header=yes"
26402 else
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.$ac_ext >&5
26405
26406 eval "$as_ac_Header=no"
26407 fi
26408
26409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26410 fi
26411 ac_res=`eval echo '${'$as_ac_Header'}'`
26412 { echo "$as_me:$LINENO: result: $ac_res" >&5
26413 echo "${ECHO_T}$ac_res" >&6; }
26414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26415 cat >>confdefs.h <<_ACEOF
26416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26417 _ACEOF
26418
26419 fi
26420
26421 done
26422
26423
26424 if test "$ac_cv_header_iostream" = "yes" ; then
26425 :
26426 else
26427 cat >>confdefs.h <<\_ACEOF
26428 #define wxUSE_IOSTREAMH 1
26429 _ACEOF
26430
26431 fi
26432
26433 ac_ext=c
26434 ac_cpp='$CPP $CPPFLAGS'
26435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26438
26439
26440
26441
26442 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26443 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26444 if test "${wx_cv_cpp_bool+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26446 else
26447
26448
26449 ac_ext=cpp
26450 ac_cpp='$CXXCPP $CPPFLAGS'
26451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26454
26455
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462
26463
26464 int
26465 main ()
26466 {
26467
26468 bool b = true;
26469
26470 return 0;
26471
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext
26477 if { (ac_try="$ac_compile"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26481 esac
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_compile") 2>conftest.er1
26484 ac_status=$?
26485 grep -v '^ *+' conftest.er1 >conftest.err
26486 rm -f conftest.er1
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_cxx_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest.$ac_objext; then
26493
26494 wx_cv_cpp_bool=yes
26495
26496 else
26497 echo "$as_me: failed program was:" >&5
26498 sed 's/^/| /' conftest.$ac_ext >&5
26499
26500
26501 wx_cv_cpp_bool=no
26502
26503
26504 fi
26505
26506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26507
26508 ac_ext=c
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26513
26514
26515 fi
26516 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26517 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26518
26519 if test "$wx_cv_cpp_bool" = "yes"; then
26520 cat >>confdefs.h <<\_ACEOF
26521 #define HAVE_BOOL 1
26522 _ACEOF
26523
26524 fi
26525
26526
26527
26528 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26529 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26530 if test "${wx_cv_explicit+set}" = set; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26532 else
26533
26534
26535 ac_ext=cpp
26536 ac_cpp='$CXXCPP $CPPFLAGS'
26537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26540
26541
26542 cat >conftest.$ac_ext <<_ACEOF
26543 /* confdefs.h. */
26544 _ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26548
26549 class Foo { public: explicit Foo(int) {} };
26550
26551 int
26552 main ()
26553 {
26554
26555 return 0;
26556
26557 ;
26558 return 0;
26559 }
26560 _ACEOF
26561 rm -f conftest.$ac_objext
26562 if { (ac_try="$ac_compile"
26563 case "(($ac_try" in
26564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26565 *) ac_try_echo=$ac_try;;
26566 esac
26567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26568 (eval "$ac_compile") 2>conftest.er1
26569 ac_status=$?
26570 grep -v '^ *+' conftest.er1 >conftest.err
26571 rm -f conftest.er1
26572 cat conftest.err >&5
26573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574 (exit $ac_status); } && {
26575 test -z "$ac_cxx_werror_flag" ||
26576 test ! -s conftest.err
26577 } && test -s conftest.$ac_objext; then
26578
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585
26586 class Foo { public: explicit Foo(int) {} };
26587 static void TakeFoo(const Foo& foo) { }
26588
26589 int
26590 main ()
26591 {
26592
26593 TakeFoo(17);
26594 return 0;
26595
26596 ;
26597 return 0;
26598 }
26599 _ACEOF
26600 rm -f conftest.$ac_objext
26601 if { (ac_try="$ac_compile"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26605 esac
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_compile") 2>conftest.er1
26608 ac_status=$?
26609 grep -v '^ *+' conftest.er1 >conftest.err
26610 rm -f conftest.er1
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } && {
26614 test -z "$ac_cxx_werror_flag" ||
26615 test ! -s conftest.err
26616 } && test -s conftest.$ac_objext; then
26617 wx_cv_explicit=no
26618 else
26619 echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26621
26622 wx_cv_explicit=yes
26623
26624 fi
26625
26626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26627
26628 else
26629 echo "$as_me: failed program was:" >&5
26630 sed 's/^/| /' conftest.$ac_ext >&5
26631
26632 wx_cv_explicit=no
26633
26634 fi
26635
26636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26637
26638 ac_ext=c
26639 ac_cpp='$CPP $CPPFLAGS'
26640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26643
26644
26645 fi
26646 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26647 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26648
26649 if test "$wx_cv_explicit" = "yes"; then
26650 cat >>confdefs.h <<\_ACEOF
26651 #define HAVE_EXPLICIT 1
26652 _ACEOF
26653
26654 fi
26655
26656
26657 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26658 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26659 if test "${ac_cv_cxx_const_cast+set}" = set; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 else
26662
26663 ac_ext=cpp
26664 ac_cpp='$CXXCPP $CPPFLAGS'
26665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26668
26669 cat >conftest.$ac_ext <<_ACEOF
26670 /* confdefs.h. */
26671 _ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26675
26676 int
26677 main ()
26678 {
26679 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26680 ;
26681 return 0;
26682 }
26683 _ACEOF
26684 rm -f conftest.$ac_objext
26685 if { (ac_try="$ac_compile"
26686 case "(($ac_try" in
26687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26688 *) ac_try_echo=$ac_try;;
26689 esac
26690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26691 (eval "$ac_compile") 2>conftest.er1
26692 ac_status=$?
26693 grep -v '^ *+' conftest.er1 >conftest.err
26694 rm -f conftest.er1
26695 cat conftest.err >&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } && {
26698 test -z "$ac_cxx_werror_flag" ||
26699 test ! -s conftest.err
26700 } && test -s conftest.$ac_objext; then
26701 ac_cv_cxx_const_cast=yes
26702 else
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.$ac_ext >&5
26705
26706 ac_cv_cxx_const_cast=no
26707 fi
26708
26709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26710 ac_ext=c
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26715
26716
26717 fi
26718 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26719 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26720 if test "$ac_cv_cxx_const_cast" = yes; then
26721
26722 cat >>confdefs.h <<\_ACEOF
26723 #define HAVE_CONST_CAST
26724 _ACEOF
26725
26726 fi
26727
26728 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26729 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26730 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26731 echo $ECHO_N "(cached) $ECHO_C" >&6
26732 else
26733
26734 ac_ext=cpp
26735 ac_cpp='$CXXCPP $CPPFLAGS'
26736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26739
26740 cat >conftest.$ac_ext <<_ACEOF
26741 /* confdefs.h. */
26742 _ACEOF
26743 cat confdefs.h >>conftest.$ac_ext
26744 cat >>conftest.$ac_ext <<_ACEOF
26745 /* end confdefs.h. */
26746 #include <typeinfo>
26747 class Base { public : Base () {} virtual void f () = 0;};
26748 class Derived : public Base { public : Derived () {} virtual void f () {} };
26749 class Unrelated { public : Unrelated () {} };
26750 int g (Unrelated&) { return 0; }
26751 int
26752 main ()
26753 {
26754
26755 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26756 ;
26757 return 0;
26758 }
26759 _ACEOF
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26765 esac
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_cxx_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_cxx_reinterpret_cast=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26781
26782 ac_cv_cxx_reinterpret_cast=no
26783 fi
26784
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 ac_ext=c
26787 ac_cpp='$CPP $CPPFLAGS'
26788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26791
26792
26793 fi
26794 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26795 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26796 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26797
26798 cat >>confdefs.h <<\_ACEOF
26799 #define HAVE_REINTERPRET_CAST
26800 _ACEOF
26801
26802 fi
26803
26804 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26805 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26806 if test "${ac_cv_cxx_static_cast+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26808 else
26809
26810 ac_ext=cpp
26811 ac_cpp='$CXXCPP $CPPFLAGS'
26812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <typeinfo>
26823 class Base { public : Base () {} virtual void f () = 0; };
26824 class Derived : public Base { public : Derived () {} virtual void f () {} };
26825 int g (Derived&) { return 0; }
26826 int
26827 main ()
26828 {
26829
26830 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26831 ;
26832 return 0;
26833 }
26834 _ACEOF
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26840 esac
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26843 ac_status=$?
26844 grep -v '^ *+' conftest.er1 >conftest.err
26845 rm -f conftest.er1
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_static_cast=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_cxx_static_cast=no
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866
26867
26868 fi
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26871 if test "$ac_cv_cxx_static_cast" = yes; then
26872
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_STATIC_CAST
26875 _ACEOF
26876
26877 fi
26878
26879
26880 if test "x$SUNCXX" = xyes; then
26881 CXXFLAGS="-features=tmplife $CXXFLAGS"
26882 fi
26883
26884 if test "x$SUNCC" = xyes; then
26885 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26886 fi
26887
26888 if test "x$SGICC" = "xyes"; then
26889 CFLAGS="-woff 3970 $CFLAGS"
26890 fi
26891 if test "x$SGICXX" = "xyes"; then
26892 CXXFLAGS="-woff 3970 $CXXFLAGS"
26893 fi
26894
26895 if test "x$HPCC" = "xyes"; then
26896 CFLAGS="+W 2011,2450 $CFLAGS"
26897 fi
26898 if test "x$HPCXX" = "xyes"; then
26899 CXXFLAGS="+W 2340 $CXXFLAGS"
26900 fi
26901
26902 if test "x$COMPAQCXX" = "xyes"; then
26903 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26904 fi
26905
26906 ac_ext=cpp
26907 ac_cpp='$CXXCPP $CPPFLAGS'
26908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26911
26912
26913 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26914 if test "$wxUSE_UNICODE" = "yes"; then
26915 std_string="std::wstring"
26916 char_type="wchar_t"
26917 else
26918 std_string="std::string"
26919 char_type="char"
26920 fi
26921
26922 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26923 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26924 if test "${wx_cv_class_stdstring+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h. */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26934 #include <string>
26935 int
26936 main ()
26937 {
26938 $std_string foo;
26939 ;
26940 return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext
26944 if { (ac_try="$ac_compile"
26945 case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26948 esac
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_compile") 2>conftest.er1
26951 ac_status=$?
26952 grep -v '^ *+' conftest.er1 >conftest.err
26953 rm -f conftest.er1
26954 cat conftest.err >&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); } && {
26957 test -z "$ac_cxx_werror_flag" ||
26958 test ! -s conftest.err
26959 } && test -s conftest.$ac_objext; then
26960 wx_cv_class_stdstring=yes
26961 else
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26964
26965 wx_cv_class_stdstring=no
26966
26967 fi
26968
26969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26970
26971
26972 fi
26973 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26974 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26975
26976 if test "$wx_cv_class_stdstring" = yes; then
26977 if test "$wxUSE_UNICODE" = "yes"; then
26978 cat >>confdefs.h <<\_ACEOF
26979 #define HAVE_STD_WSTRING 1
26980 _ACEOF
26981
26982 fi
26983 else
26984 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26985 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26986 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26987 echo $ECHO_N "(cached) $ECHO_C" >&6
26988 else
26989
26990 cat >conftest.$ac_ext <<_ACEOF
26991 /* confdefs.h. */
26992 _ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996
26997 #ifdef HAVE_WCHAR_H
26998 # ifdef __CYGWIN__
26999 # include <stddef.h>
27000 # endif
27001 # include <wchar.h>
27002 #endif
27003 #ifdef HAVE_STDLIB_H
27004 # include <stdlib.h>
27005 #endif
27006 #include <stdio.h>
27007 #include <string>
27008
27009 int
27010 main ()
27011 {
27012 std::basic_string<$char_type> foo;
27013 const $char_type* dummy = foo.c_str();
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27023 esac
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27026 ac_status=$?
27027 grep -v '^ *+' conftest.er1 >conftest.err
27028 rm -f conftest.er1
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdbasicstring=yes
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040 wx_cv_class_stdbasicstring=no
27041
27042 fi
27043
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27045
27046
27047 fi
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27050
27051 if test "$wx_cv_class_stdbasicstring" != yes; then
27052 if test "$wxUSE_STL" = "yes"; then
27053 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27054 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27055 { (exit 1); exit 1; }; }
27056 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27057 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27058 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27059 { (exit 1); exit 1; }; }
27060 else
27061 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27062 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27063 wxUSE_STD_STRING=no
27064 fi
27065 fi
27066 fi
27067 fi
27068
27069 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27070 { echo "$as_me:$LINENO: checking for std::istream" >&5
27071 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27072 if test "${ac_cv_type_std__istream+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27075 cat >conftest.$ac_ext <<_ACEOF
27076 /* confdefs.h. */
27077 _ACEOF
27078 cat confdefs.h >>conftest.$ac_ext
27079 cat >>conftest.$ac_ext <<_ACEOF
27080 /* end confdefs.h. */
27081 #include <iostream>
27082
27083 typedef std::istream ac__type_new_;
27084 int
27085 main ()
27086 {
27087 if ((ac__type_new_ *) 0)
27088 return 0;
27089 if (sizeof (ac__type_new_))
27090 return 0;
27091 ;
27092 return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27100 esac
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27103 ac_status=$?
27104 grep -v '^ *+' conftest.er1 >conftest.err
27105 rm -f conftest.er1
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_cxx_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27112 ac_cv_type_std__istream=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 ac_cv_type_std__istream=no
27118 fi
27119
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121 fi
27122 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27123 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27124 if test $ac_cv_type_std__istream = yes; then
27125
27126 cat >>confdefs.h <<_ACEOF
27127 #define HAVE_STD__ISTREAM 1
27128 _ACEOF
27129
27130
27131 else
27132 wxUSE_STD_IOSTREAM=no
27133 fi
27134 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27135 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27136 if test "${ac_cv_type_std__ostream+set}" = set; then
27137 echo $ECHO_N "(cached) $ECHO_C" >&6
27138 else
27139 cat >conftest.$ac_ext <<_ACEOF
27140 /* confdefs.h. */
27141 _ACEOF
27142 cat confdefs.h >>conftest.$ac_ext
27143 cat >>conftest.$ac_ext <<_ACEOF
27144 /* end confdefs.h. */
27145 #include <iostream>
27146
27147 typedef std::ostream ac__type_new_;
27148 int
27149 main ()
27150 {
27151 if ((ac__type_new_ *) 0)
27152 return 0;
27153 if (sizeof (ac__type_new_))
27154 return 0;
27155 ;
27156 return 0;
27157 }
27158 _ACEOF
27159 rm -f conftest.$ac_objext
27160 if { (ac_try="$ac_compile"
27161 case "(($ac_try" in
27162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27164 esac
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_compile") 2>conftest.er1
27167 ac_status=$?
27168 grep -v '^ *+' conftest.er1 >conftest.err
27169 rm -f conftest.er1
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } && {
27173 test -z "$ac_cxx_werror_flag" ||
27174 test ! -s conftest.err
27175 } && test -s conftest.$ac_objext; then
27176 ac_cv_type_std__ostream=yes
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27180
27181 ac_cv_type_std__ostream=no
27182 fi
27183
27184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27185 fi
27186 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27187 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27188 if test $ac_cv_type_std__ostream = yes; then
27189
27190 cat >>confdefs.h <<_ACEOF
27191 #define HAVE_STD__OSTREAM 1
27192 _ACEOF
27193
27194
27195 else
27196 wxUSE_STD_IOSTREAM=no
27197 fi
27198
27199
27200 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27201 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27202 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27203 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27204 { (exit 1); exit 1; }; }
27205 else
27206 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27207 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27208 fi
27209 fi
27210 fi
27211
27212 if test "$wxUSE_STL" = "yes"; then
27213 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27214 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27215 if test "${wx_cv_lib_stl+set}" = set; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27217 else
27218 cat >conftest.$ac_ext <<_ACEOF
27219 /* confdefs.h. */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224 #include <string>
27225 #include <functional>
27226 #include <algorithm>
27227 #include <vector>
27228 #include <list>
27229 int
27230 main ()
27231 {
27232 std::vector<int> moo;
27233 std::list<int> foo;
27234 std::vector<int>::iterator it =
27235 std::find_if(moo.begin(), moo.end(),
27236 std::bind2nd(std::less<int>(), 3));
27237 ;
27238 return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27246 esac
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27249 ac_status=$?
27250 grep -v '^ *+' conftest.er1 >conftest.err
27251 rm -f conftest.er1
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_cxx_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27258 wx_cv_lib_stl=yes
27259 else
27260 echo "$as_me: failed program was:" >&5
27261 sed 's/^/| /' conftest.$ac_ext >&5
27262
27263 wx_cv_lib_stl=no
27264
27265 fi
27266
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268
27269 fi
27270 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27271 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27272
27273 if test "$wx_cv_lib_stl" != yes; then
27274 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27275 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27276 { (exit 1); exit 1; }; }
27277 fi
27278
27279 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27280 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27281 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27283 else
27284 cat >conftest.$ac_ext <<_ACEOF
27285 /* confdefs.h. */
27286 _ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27290 #include <string>
27291 int
27292 main ()
27293 {
27294 std::string foo, bar;
27295 foo.compare(bar);
27296 foo.compare(1, 1, bar);
27297 foo.compare(1, 1, bar, 1, 1);
27298 foo.compare("");
27299 foo.compare(1, 1, "");
27300 foo.compare(1, 1, "", 2);
27301 ;
27302 return 0;
27303 }
27304 _ACEOF
27305 rm -f conftest.$ac_objext
27306 if { (ac_try="$ac_compile"
27307 case "(($ac_try" in
27308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27309 *) ac_try_echo=$ac_try;;
27310 esac
27311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27312 (eval "$ac_compile") 2>conftest.er1
27313 ac_status=$?
27314 grep -v '^ *+' conftest.er1 >conftest.err
27315 rm -f conftest.er1
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } && {
27319 test -z "$ac_cxx_werror_flag" ||
27320 test ! -s conftest.err
27321 } && test -s conftest.$ac_objext; then
27322 wx_cv_func_stdstring_compare=yes
27323 else
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 wx_cv_func_stdstring_compare=no
27328
27329 fi
27330
27331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27332
27333 fi
27334 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27335 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27336
27337 if test "$wx_cv_func_stdstring_compare" = yes; then
27338 cat >>confdefs.h <<\_ACEOF
27339 #define HAVE_STD_STRING_COMPARE 1
27340 _ACEOF
27341
27342 fi
27343
27344 { echo "$as_me:$LINENO: checking for hash_map" >&5
27345 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27346 if test "${ac_cv_header_hash_map+set}" = set; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 else
27349 cat >conftest.$ac_ext <<_ACEOF
27350 /* confdefs.h. */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355
27356
27357
27358 #include <hash_map>
27359 _ACEOF
27360 rm -f conftest.$ac_objext
27361 if { (ac_try="$ac_compile"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27365 esac
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_compile") 2>conftest.er1
27368 ac_status=$?
27369 grep -v '^ *+' conftest.er1 >conftest.err
27370 rm -f conftest.er1
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } && {
27374 test -z "$ac_cxx_werror_flag" ||
27375 test ! -s conftest.err
27376 } && test -s conftest.$ac_objext; then
27377 ac_cv_header_hash_map=yes
27378 else
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27381
27382 ac_cv_header_hash_map=no
27383 fi
27384
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 fi
27387 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27388 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27389 if test $ac_cv_header_hash_map = yes; then
27390 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27391 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27392 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27393 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 else
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 #include <hash_map>
27402 #include <hash_set>
27403 int
27404 main ()
27405 {
27406 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27407 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27408 ;
27409 return 0;
27410 }
27411 _ACEOF
27412 rm -f conftest.$ac_objext
27413 if { (ac_try="$ac_compile"
27414 case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27417 esac
27418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27419 (eval "$ac_compile") 2>conftest.er1
27420 ac_status=$?
27421 grep -v '^ *+' conftest.er1 >conftest.err
27422 rm -f conftest.er1
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } && {
27426 test -z "$ac_cxx_werror_flag" ||
27427 test ! -s conftest.err
27428 } && test -s conftest.$ac_objext; then
27429 wx_cv_class_stdhashmapset=yes
27430 else
27431 echo "$as_me: failed program was:" >&5
27432 sed 's/^/| /' conftest.$ac_ext >&5
27433
27434 wx_cv_class_stdhashmapset=no
27435 fi
27436
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438
27439
27440 fi
27441 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27442 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27443 fi
27444
27445
27446
27447 if test "$wx_cv_class_stdhashmapset" = yes; then
27448 cat >>confdefs.h <<\_ACEOF
27449 #define HAVE_HASH_MAP 1
27450 _ACEOF
27451
27452 cat >>confdefs.h <<\_ACEOF
27453 #define HAVE_STD_HASH_MAP 1
27454 _ACEOF
27455
27456 fi
27457
27458 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27459 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27460 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27462 else
27463 cat >conftest.$ac_ext <<_ACEOF
27464 /* confdefs.h. */
27465 _ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27469
27470
27471
27472 #include <ext/hash_map>
27473 _ACEOF
27474 rm -f conftest.$ac_objext
27475 if { (ac_try="$ac_compile"
27476 case "(($ac_try" in
27477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27478 *) ac_try_echo=$ac_try;;
27479 esac
27480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27481 (eval "$ac_compile") 2>conftest.er1
27482 ac_status=$?
27483 grep -v '^ *+' conftest.er1 >conftest.err
27484 rm -f conftest.er1
27485 cat conftest.err >&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } && {
27488 test -z "$ac_cxx_werror_flag" ||
27489 test ! -s conftest.err
27490 } && test -s conftest.$ac_objext; then
27491 ac_cv_header_ext_hash_map=yes
27492 else
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.$ac_ext >&5
27495
27496 ac_cv_header_ext_hash_map=no
27497 fi
27498
27499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27500 fi
27501 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27502 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27503 if test $ac_cv_header_ext_hash_map = yes; then
27504 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27505 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27506 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27507 echo $ECHO_N "(cached) $ECHO_C" >&6
27508 else
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 #include <ext/hash_map>
27516 #include <ext/hash_set>
27517 int
27518 main ()
27519 {
27520 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27521 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27522 ;
27523 return 0;
27524 }
27525 _ACEOF
27526 rm -f conftest.$ac_objext
27527 if { (ac_try="$ac_compile"
27528 case "(($ac_try" in
27529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27530 *) ac_try_echo=$ac_try;;
27531 esac
27532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27533 (eval "$ac_compile") 2>conftest.er1
27534 ac_status=$?
27535 grep -v '^ *+' conftest.er1 >conftest.err
27536 rm -f conftest.er1
27537 cat conftest.err >&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } && {
27540 test -z "$ac_cxx_werror_flag" ||
27541 test ! -s conftest.err
27542 } && test -s conftest.$ac_objext; then
27543 wx_cv_class_gnuhashmapset=yes
27544 else
27545 echo "$as_me: failed program was:" >&5
27546 sed 's/^/| /' conftest.$ac_ext >&5
27547
27548 wx_cv_class_gnuhashmapset=no
27549 fi
27550
27551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27552
27553
27554 fi
27555 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27556 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27557 fi
27558
27559
27560
27561 if test "$wx_cv_class_gnuhashmapset" = yes; then
27562 cat >>confdefs.h <<\_ACEOF
27563 #define HAVE_EXT_HASH_MAP 1
27564 _ACEOF
27565
27566 cat >>confdefs.h <<\_ACEOF
27567 #define HAVE_GNU_CXX_HASH_MAP 1
27568 _ACEOF
27569
27570 fi
27571 fi
27572
27573
27574
27575 if test -n "$GCC"; then
27576 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27577 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27578 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 else
27581
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588
27589 int
27590 main ()
27591 {
27592
27593 int value=0;
27594 __sync_fetch_and_add(&value, 1);
27595 __sync_sub_and_fetch(&value, 1);
27596
27597 ;
27598 return 0;
27599 }
27600 _ACEOF
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27606 esac
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_cc_gcc_atomic_builtins=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 wx_cv_cc_gcc_atomic_builtins=no
27624 fi
27625
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27627
27628 fi
27629
27630 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27631 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27632 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27633 cat >>confdefs.h <<\_ACEOF
27634 #define HAVE_GCC_ATOMIC_BUILTINS 1
27635 _ACEOF
27636
27637 fi
27638 fi
27639
27640
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27646
27647
27648
27649 SEARCH_INCLUDE="\
27650 /usr/local/include \
27651 \
27652 /usr/Motif-2.1/include \
27653 /usr/Motif-1.2/include \
27654 /usr/include/Motif1.2 \
27655 \
27656 /usr/dt/include \
27657 /usr/openwin/include \
27658 \
27659 /usr/include/Xm \
27660 \
27661 /usr/X11R6/include \
27662 /usr/X11R6.4/include \
27663 /usr/X11R5/include \
27664 /usr/X11R4/include \
27665 \
27666 /usr/include/X11R6 \
27667 /usr/include/X11R5 \
27668 /usr/include/X11R4 \
27669 \
27670 /usr/local/X11R6/include \
27671 /usr/local/X11R5/include \
27672 /usr/local/X11R4/include \
27673 \
27674 /usr/local/include/X11R6 \
27675 /usr/local/include/X11R5 \
27676 /usr/local/include/X11R4 \
27677 \
27678 /usr/X11/include \
27679 /usr/include/X11 \
27680 /usr/local/X11/include \
27681 /usr/local/include/X11 \
27682 \
27683 /usr/XFree86/include/X11 \
27684 /usr/pkg/include \
27685 \
27686 /usr/openwin/share/include"
27687
27688 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27689 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27690
27691 case "${host}" in
27692 *-*-irix6* )
27693 if test "${wx_cv_std_libpath+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 else
27696
27697 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27698 for e in a so sl dylib dll.a; do
27699 libc="$d/libc.$e"
27700 if test -f $libc; then
27701 save_LIBS="$LIBS"
27702 LIBS="$libc"
27703 cat >conftest.$ac_ext <<_ACEOF
27704 int main() { return 0; }
27705 _ACEOF
27706 rm -f conftest.$ac_objext conftest$ac_exeext
27707 if { (ac_try="$ac_link"
27708 case "(($ac_try" in
27709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27710 *) ac_try_echo=$ac_try;;
27711 esac
27712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27713 (eval "$ac_link") 2>conftest.er1
27714 ac_status=$?
27715 grep -v '^ *+' conftest.er1 >conftest.err
27716 rm -f conftest.er1
27717 cat conftest.err >&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } && {
27720 test -z "$ac_c_werror_flag" ||
27721 test ! -s conftest.err
27722 } && test -s conftest$ac_exeext &&
27723 $as_test_x conftest$ac_exeext; then
27724 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729
27730 fi
27731
27732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27733 conftest$ac_exeext conftest.$ac_ext
27734 LIBS="$save_LIBS"
27735 if test "x$wx_cv_std_libpath" != "x"; then
27736 break 2
27737 fi
27738 fi
27739 done
27740 done
27741 if test "x$wx_cv_std_libpath" = "x"; then
27742 wx_cv_std_libpath="lib"
27743 fi
27744
27745
27746 fi
27747
27748 ;;
27749
27750 *-*-solaris2* )
27751 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27752 wx_cv_std_libpath="lib/64"
27753 else
27754 wx_cv_std_libpath="lib"
27755 fi
27756 ;;
27757
27758 *-*-linux* )
27759 if test "$ac_cv_sizeof_void_p" = 8 -a \
27760 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27761 wx_cv_std_libpath="lib64"
27762 else
27763 wx_cv_std_libpath="lib"
27764 fi
27765 ;;
27766
27767 *)
27768 wx_cv_std_libpath="lib";
27769 ;;
27770 esac
27771
27772 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27773 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27774
27775 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27776
27777 if test "$build" != "$host" -a "$GCC" = yes; then
27778 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27779 cross_root=`dirname $cross_root`
27780 cross_root=`dirname $cross_root`
27781
27782 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27783 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27784 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27785
27786 if test -z "$PKG_CONFIG_PATH"; then
27787 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27788 export PKG_CONFIG_PATH
27789 fi
27790
27791 if test -z "$x_includes" -o "$x_includes" = NONE; then
27792
27793 ac_find_includes=
27794 for ac_dir in $SEARCH_INCLUDE /usr/include;
27795 do
27796 if test -f "$ac_dir/X11/Intrinsic.h"; then
27797 ac_find_includes=$ac_dir
27798 break
27799 fi
27800 done
27801
27802 x_includes=$ac_find_includes
27803 fi
27804 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27805
27806 ac_find_libraries=
27807 for ac_dir in $SEARCH_LIB;
27808 do
27809 for ac_extension in a so sl dylib dll.a; do
27810 if test -f "$ac_dir/libXt.$ac_extension"; then
27811 ac_find_libraries=$ac_dir
27812 break 2
27813 fi
27814 done
27815 done
27816
27817 x_libraries=$ac_find_libraries
27818 fi
27819 fi
27820 fi
27821
27822
27823 cat >confcache <<\_ACEOF
27824 # This file is a shell script that caches the results of configure
27825 # tests run on this system so they can be shared between configure
27826 # scripts and configure runs, see configure's option --config-cache.
27827 # It is not useful on other systems. If it contains results you don't
27828 # want to keep, you may remove or edit it.
27829 #
27830 # config.status only pays attention to the cache file if you give it
27831 # the --recheck option to rerun configure.
27832 #
27833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27835 # following values.
27836
27837 _ACEOF
27838
27839 # The following way of writing the cache mishandles newlines in values,
27840 # but we know of no workaround that is simple, portable, and efficient.
27841 # So, we kill variables containing newlines.
27842 # Ultrix sh set writes to stderr and can't be redirected directly,
27843 # and sets the high bit in the cache file unless we assign to the vars.
27844 (
27845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27846 eval ac_val=\$$ac_var
27847 case $ac_val in #(
27848 *${as_nl}*)
27849 case $ac_var in #(
27850 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27852 esac
27853 case $ac_var in #(
27854 _ | IFS | as_nl) ;; #(
27855 *) $as_unset $ac_var ;;
27856 esac ;;
27857 esac
27858 done
27859
27860 (set) 2>&1 |
27861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27862 *${as_nl}ac_space=\ *)
27863 # `set' does not quote correctly, so add quotes (double-quote
27864 # substitution turns \\\\ into \\, and sed turns \\ into \).
27865 sed -n \
27866 "s/'/'\\\\''/g;
27867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27868 ;; #(
27869 *)
27870 # `set' quotes correctly as required by POSIX, so do not add quotes.
27871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27872 ;;
27873 esac |
27874 sort
27875 ) |
27876 sed '
27877 /^ac_cv_env_/b end
27878 t clear
27879 :clear
27880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27881 t end
27882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27883 :end' >>confcache
27884 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27885 if test -w "$cache_file"; then
27886 test "x$cache_file" != "x/dev/null" &&
27887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27888 echo "$as_me: updating cache $cache_file" >&6;}
27889 cat confcache >$cache_file
27890 else
27891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27893 fi
27894 fi
27895 rm -f confcache
27896
27897 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27898 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27899 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27900 if test "${wx_cv_lib_glibc21+set}" = set; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903
27904 cat >conftest.$ac_ext <<_ACEOF
27905 /* confdefs.h. */
27906 _ACEOF
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27910 #include <features.h>
27911 int
27912 main ()
27913 {
27914
27915 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27916 not glibc 2.1
27917 #endif
27918
27919 ;
27920 return 0;
27921 }
27922 _ACEOF
27923 rm -f conftest.$ac_objext
27924 if { (ac_try="$ac_compile"
27925 case "(($ac_try" in
27926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27927 *) ac_try_echo=$ac_try;;
27928 esac
27929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27930 (eval "$ac_compile") 2>conftest.er1
27931 ac_status=$?
27932 grep -v '^ *+' conftest.er1 >conftest.err
27933 rm -f conftest.er1
27934 cat conftest.err >&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); } && {
27937 test -z "$ac_c_werror_flag" ||
27938 test ! -s conftest.err
27939 } && test -s conftest.$ac_objext; then
27940
27941 wx_cv_lib_glibc21=yes
27942
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947
27948 wx_cv_lib_glibc21=no
27949
27950
27951 fi
27952
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27954
27955 fi
27956 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27957 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27958 if test "$wx_cv_lib_glibc21" = "yes"; then
27959 cat >>confdefs.h <<\_ACEOF
27960 #define wxHAVE_GLIBC2 1
27961 _ACEOF
27962
27963 fi
27964 fi
27965
27966 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27967 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27968 cat >>confdefs.h <<\_ACEOF
27969 #define _GNU_SOURCE 1
27970 _ACEOF
27971
27972 fi
27973 fi
27974
27975 have_cos=0
27976 have_floor=0
27977
27978 for ac_func in cos
27979 do
27980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986 cat >conftest.$ac_ext <<_ACEOF
27987 /* confdefs.h. */
27988 _ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27994 #define $ac_func innocuous_$ac_func
27995
27996 /* System header to define __stub macros and hopefully few prototypes,
27997 which can conflict with char $ac_func (); below.
27998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27999 <limits.h> exists even on freestanding compilers. */
28000
28001 #ifdef __STDC__
28002 # include <limits.h>
28003 #else
28004 # include <assert.h>
28005 #endif
28006
28007 #undef $ac_func
28008
28009 /* Override any GCC internal prototype to avoid an error.
28010 Use char because int might match the return type of a GCC
28011 builtin and then its argument prototype would still apply. */
28012 #ifdef __cplusplus
28013 extern "C"
28014 #endif
28015 char $ac_func ();
28016 /* The GNU C library defines this for functions which it implements
28017 to always fail with ENOSYS. Some functions are actually named
28018 something starting with __ and the normal name is an alias. */
28019 #if defined __stub_$ac_func || defined __stub___$ac_func
28020 choke me
28021 #endif
28022
28023 int
28024 main ()
28025 {
28026 return $ac_func ();
28027 ;
28028 return 0;
28029 }
28030 _ACEOF
28031 rm -f conftest.$ac_objext conftest$ac_exeext
28032 if { (ac_try="$ac_link"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28036 esac
28037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_link") 2>conftest.er1
28039 ac_status=$?
28040 grep -v '^ *+' conftest.er1 >conftest.err
28041 rm -f conftest.er1
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_c_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest$ac_exeext &&
28048 $as_test_x conftest$ac_exeext; then
28049 eval "$as_ac_var=yes"
28050 else
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28053
28054 eval "$as_ac_var=no"
28055 fi
28056
28057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28058 conftest$ac_exeext conftest.$ac_ext
28059 fi
28060 ac_res=`eval echo '${'$as_ac_var'}'`
28061 { echo "$as_me:$LINENO: result: $ac_res" >&5
28062 echo "${ECHO_T}$ac_res" >&6; }
28063 if test `eval echo '${'$as_ac_var'}'` = yes; then
28064 cat >>confdefs.h <<_ACEOF
28065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28066 _ACEOF
28067 have_cos=1
28068 fi
28069 done
28070
28071
28072 for ac_func in floor
28073 do
28074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 else
28080 cat >conftest.$ac_ext <<_ACEOF
28081 /* confdefs.h. */
28082 _ACEOF
28083 cat confdefs.h >>conftest.$ac_ext
28084 cat >>conftest.$ac_ext <<_ACEOF
28085 /* end confdefs.h. */
28086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28088 #define $ac_func innocuous_$ac_func
28089
28090 /* System header to define __stub macros and hopefully few prototypes,
28091 which can conflict with char $ac_func (); below.
28092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28093 <limits.h> exists even on freestanding compilers. */
28094
28095 #ifdef __STDC__
28096 # include <limits.h>
28097 #else
28098 # include <assert.h>
28099 #endif
28100
28101 #undef $ac_func
28102
28103 /* Override any GCC internal prototype to avoid an error.
28104 Use char because int might match the return type of a GCC
28105 builtin and then its argument prototype would still apply. */
28106 #ifdef __cplusplus
28107 extern "C"
28108 #endif
28109 char $ac_func ();
28110 /* The GNU C library defines this for functions which it implements
28111 to always fail with ENOSYS. Some functions are actually named
28112 something starting with __ and the normal name is an alias. */
28113 #if defined __stub_$ac_func || defined __stub___$ac_func
28114 choke me
28115 #endif
28116
28117 int
28118 main ()
28119 {
28120 return $ac_func ();
28121 ;
28122 return 0;
28123 }
28124 _ACEOF
28125 rm -f conftest.$ac_objext conftest$ac_exeext
28126 if { (ac_try="$ac_link"
28127 case "(($ac_try" in
28128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28129 *) ac_try_echo=$ac_try;;
28130 esac
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_link") 2>conftest.er1
28133 ac_status=$?
28134 grep -v '^ *+' conftest.er1 >conftest.err
28135 rm -f conftest.er1
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest$ac_exeext &&
28142 $as_test_x conftest$ac_exeext; then
28143 eval "$as_ac_var=yes"
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 eval "$as_ac_var=no"
28149 fi
28150
28151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28152 conftest$ac_exeext conftest.$ac_ext
28153 fi
28154 ac_res=`eval echo '${'$as_ac_var'}'`
28155 { echo "$as_me:$LINENO: result: $ac_res" >&5
28156 echo "${ECHO_T}$ac_res" >&6; }
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158 cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28160 _ACEOF
28161 have_floor=1
28162 fi
28163 done
28164
28165 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28166 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28167 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28168 { echo "$as_me:$LINENO: result: yes" >&5
28169 echo "${ECHO_T}yes" >&6; }
28170 else
28171 { echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6; }
28173 LIBS="$LIBS -lm"
28174 # use different functions to avoid configure caching
28175 have_sin=0
28176 have_ceil=0
28177
28178 for ac_func in sin
28179 do
28180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28181 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28183 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 else
28186 cat >conftest.$ac_ext <<_ACEOF
28187 /* confdefs.h. */
28188 _ACEOF
28189 cat confdefs.h >>conftest.$ac_ext
28190 cat >>conftest.$ac_ext <<_ACEOF
28191 /* end confdefs.h. */
28192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28194 #define $ac_func innocuous_$ac_func
28195
28196 /* System header to define __stub macros and hopefully few prototypes,
28197 which can conflict with char $ac_func (); below.
28198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28199 <limits.h> exists even on freestanding compilers. */
28200
28201 #ifdef __STDC__
28202 # include <limits.h>
28203 #else
28204 # include <assert.h>
28205 #endif
28206
28207 #undef $ac_func
28208
28209 /* Override any GCC internal prototype to avoid an error.
28210 Use char because int might match the return type of a GCC
28211 builtin and then its argument prototype would still apply. */
28212 #ifdef __cplusplus
28213 extern "C"
28214 #endif
28215 char $ac_func ();
28216 /* The GNU C library defines this for functions which it implements
28217 to always fail with ENOSYS. Some functions are actually named
28218 something starting with __ and the normal name is an alias. */
28219 #if defined __stub_$ac_func || defined __stub___$ac_func
28220 choke me
28221 #endif
28222
28223 int
28224 main ()
28225 {
28226 return $ac_func ();
28227 ;
28228 return 0;
28229 }
28230 _ACEOF
28231 rm -f conftest.$ac_objext conftest$ac_exeext
28232 if { (ac_try="$ac_link"
28233 case "(($ac_try" in
28234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28235 *) ac_try_echo=$ac_try;;
28236 esac
28237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28238 (eval "$ac_link") 2>conftest.er1
28239 ac_status=$?
28240 grep -v '^ *+' conftest.er1 >conftest.err
28241 rm -f conftest.er1
28242 cat conftest.err >&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } && {
28245 test -z "$ac_c_werror_flag" ||
28246 test ! -s conftest.err
28247 } && test -s conftest$ac_exeext &&
28248 $as_test_x conftest$ac_exeext; then
28249 eval "$as_ac_var=yes"
28250 else
28251 echo "$as_me: failed program was:" >&5
28252 sed 's/^/| /' conftest.$ac_ext >&5
28253
28254 eval "$as_ac_var=no"
28255 fi
28256
28257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28258 conftest$ac_exeext conftest.$ac_ext
28259 fi
28260 ac_res=`eval echo '${'$as_ac_var'}'`
28261 { echo "$as_me:$LINENO: result: $ac_res" >&5
28262 echo "${ECHO_T}$ac_res" >&6; }
28263 if test `eval echo '${'$as_ac_var'}'` = yes; then
28264 cat >>confdefs.h <<_ACEOF
28265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28266 _ACEOF
28267 have_sin=1
28268 fi
28269 done
28270
28271
28272 for ac_func in ceil
28273 do
28274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28278 echo $ECHO_N "(cached) $ECHO_C" >&6
28279 else
28280 cat >conftest.$ac_ext <<_ACEOF
28281 /* confdefs.h. */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28288 #define $ac_func innocuous_$ac_func
28289
28290 /* System header to define __stub macros and hopefully few prototypes,
28291 which can conflict with char $ac_func (); below.
28292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28293 <limits.h> exists even on freestanding compilers. */
28294
28295 #ifdef __STDC__
28296 # include <limits.h>
28297 #else
28298 # include <assert.h>
28299 #endif
28300
28301 #undef $ac_func
28302
28303 /* Override any GCC internal prototype to avoid an error.
28304 Use char because int might match the return type of a GCC
28305 builtin and then its argument prototype would still apply. */
28306 #ifdef __cplusplus
28307 extern "C"
28308 #endif
28309 char $ac_func ();
28310 /* The GNU C library defines this for functions which it implements
28311 to always fail with ENOSYS. Some functions are actually named
28312 something starting with __ and the normal name is an alias. */
28313 #if defined __stub_$ac_func || defined __stub___$ac_func
28314 choke me
28315 #endif
28316
28317 int
28318 main ()
28319 {
28320 return $ac_func ();
28321 ;
28322 return 0;
28323 }
28324 _ACEOF
28325 rm -f conftest.$ac_objext conftest$ac_exeext
28326 if { (ac_try="$ac_link"
28327 case "(($ac_try" in
28328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28329 *) ac_try_echo=$ac_try;;
28330 esac
28331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28332 (eval "$ac_link") 2>conftest.er1
28333 ac_status=$?
28334 grep -v '^ *+' conftest.er1 >conftest.err
28335 rm -f conftest.er1
28336 cat conftest.err >&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } && {
28339 test -z "$ac_c_werror_flag" ||
28340 test ! -s conftest.err
28341 } && test -s conftest$ac_exeext &&
28342 $as_test_x conftest$ac_exeext; then
28343 eval "$as_ac_var=yes"
28344 else
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.$ac_ext >&5
28347
28348 eval "$as_ac_var=no"
28349 fi
28350
28351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28352 conftest$ac_exeext conftest.$ac_ext
28353 fi
28354 ac_res=`eval echo '${'$as_ac_var'}'`
28355 { echo "$as_me:$LINENO: result: $ac_res" >&5
28356 echo "${ECHO_T}$ac_res" >&6; }
28357 if test `eval echo '${'$as_ac_var'}'` = yes; then
28358 cat >>confdefs.h <<_ACEOF
28359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28360 _ACEOF
28361 have_ceil=1
28362 fi
28363 done
28364
28365 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28366 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28367 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28368 { echo "$as_me:$LINENO: result: yes" >&5
28369 echo "${ECHO_T}yes" >&6; }
28370 else
28371 { echo "$as_me:$LINENO: result: no" >&5
28372 echo "${ECHO_T}no" >&6; }
28373 # not sure we should warn the user, crash, etc.
28374 fi
28375 fi
28376
28377 ac_ext=cpp
28378 ac_cpp='$CXXCPP $CPPFLAGS'
28379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28382
28383 if test "wxUSE_UNICODE" = "yes"; then
28384
28385 for wx_func in wcstoull
28386 do
28387 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28388 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28389 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 else
28392
28393 cat >conftest.$ac_ext <<_ACEOF
28394
28395 /* confdefs.h. */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400
28401
28402 $ac_includes_default
28403
28404 int
28405 main ()
28406 {
28407
28408 #ifndef $wx_func
28409 &$wx_func;
28410 #endif
28411
28412
28413 ;
28414 return 0;
28415 }
28416
28417 _ACEOF
28418 rm -f conftest.$ac_objext conftest$ac_exeext
28419 if { (ac_try="$ac_link"
28420 case "(($ac_try" in
28421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28422 *) ac_try_echo=$ac_try;;
28423 esac
28424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28425 (eval "$ac_link") 2>conftest.er1
28426 ac_status=$?
28427 grep -v '^ *+' conftest.er1 >conftest.err
28428 rm -f conftest.er1
28429 cat conftest.err >&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } && {
28432 test -z "$ac_cxx_werror_flag" ||
28433 test ! -s conftest.err
28434 } && test -s conftest$ac_exeext &&
28435 $as_test_x conftest$ac_exeext; then
28436 eval wx_cv_func_$wx_func=yes
28437 else
28438 echo "$as_me: failed program was:" >&5
28439 sed 's/^/| /' conftest.$ac_ext >&5
28440
28441 eval wx_cv_func_$wx_func=no
28442 fi
28443
28444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28445 conftest$ac_exeext conftest.$ac_ext
28446
28447 fi
28448 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28449 { echo "$as_me:$LINENO: result: $ac_res" >&5
28450 echo "${ECHO_T}$ac_res" >&6; }
28451
28452 if eval test \$wx_cv_func_$wx_func = yes
28453 then
28454 cat >>confdefs.h <<_ACEOF
28455 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28456 _ACEOF
28457
28458
28459 else
28460 :
28461
28462 fi
28463 done
28464
28465 else
28466
28467 for wx_func in strtoull
28468 do
28469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 else
28474
28475 cat >conftest.$ac_ext <<_ACEOF
28476
28477 /* confdefs.h. */
28478 _ACEOF
28479 cat confdefs.h >>conftest.$ac_ext
28480 cat >>conftest.$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482
28483
28484 $ac_includes_default
28485
28486 int
28487 main ()
28488 {
28489
28490 #ifndef $wx_func
28491 &$wx_func;
28492 #endif
28493
28494
28495 ;
28496 return 0;
28497 }
28498
28499 _ACEOF
28500 rm -f conftest.$ac_objext conftest$ac_exeext
28501 if { (ac_try="$ac_link"
28502 case "(($ac_try" in
28503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28504 *) ac_try_echo=$ac_try;;
28505 esac
28506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28507 (eval "$ac_link") 2>conftest.er1
28508 ac_status=$?
28509 grep -v '^ *+' conftest.er1 >conftest.err
28510 rm -f conftest.er1
28511 cat conftest.err >&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } && {
28514 test -z "$ac_cxx_werror_flag" ||
28515 test ! -s conftest.err
28516 } && test -s conftest$ac_exeext &&
28517 $as_test_x conftest$ac_exeext; then
28518 eval wx_cv_func_$wx_func=yes
28519 else
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28522
28523 eval wx_cv_func_$wx_func=no
28524 fi
28525
28526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28527 conftest$ac_exeext conftest.$ac_ext
28528
28529 fi
28530 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28531 { echo "$as_me:$LINENO: result: $ac_res" >&5
28532 echo "${ECHO_T}$ac_res" >&6; }
28533
28534 if eval test \$wx_cv_func_$wx_func = yes
28535 then
28536 cat >>confdefs.h <<_ACEOF
28537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28538 _ACEOF
28539
28540
28541 else
28542 :
28543
28544 fi
28545 done
28546
28547 fi
28548 ac_ext=c
28549 ac_cpp='$CPP $CPPFLAGS'
28550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28553
28554
28555
28556
28557 if test "$wxUSE_REGEX" != "no"; then
28558 cat >>confdefs.h <<\_ACEOF
28559 #define wxUSE_REGEX 1
28560 _ACEOF
28561
28562
28563 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28564 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28565 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28566 wxUSE_REGEX=builtin
28567 fi
28568
28569 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28570 { echo "$as_me:$LINENO: checking for regex.h" >&5
28571 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28572 if test "${ac_cv_header_regex_h+set}" = set; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28574 else
28575 cat >conftest.$ac_ext <<_ACEOF
28576 /* confdefs.h. */
28577 _ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28581
28582
28583 #include <regex.h>
28584 _ACEOF
28585 rm -f conftest.$ac_objext
28586 if { (ac_try="$ac_compile"
28587 case "(($ac_try" in
28588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28589 *) ac_try_echo=$ac_try;;
28590 esac
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_compile") 2>conftest.er1
28593 ac_status=$?
28594 grep -v '^ *+' conftest.er1 >conftest.err
28595 rm -f conftest.er1
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } && {
28599 test -z "$ac_c_werror_flag" ||
28600 test ! -s conftest.err
28601 } && test -s conftest.$ac_objext; then
28602 ac_cv_header_regex_h=yes
28603 else
28604 echo "$as_me: failed program was:" >&5
28605 sed 's/^/| /' conftest.$ac_ext >&5
28606
28607 ac_cv_header_regex_h=no
28608 fi
28609
28610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28611 fi
28612 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28613 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28614 if test $ac_cv_header_regex_h = yes; then
28615
28616
28617 for ac_func in regcomp re_search
28618 do
28619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 else
28625 cat >conftest.$ac_ext <<_ACEOF
28626 /* confdefs.h. */
28627 _ACEOF
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28633 #define $ac_func innocuous_$ac_func
28634
28635 /* System header to define __stub macros and hopefully few prototypes,
28636 which can conflict with char $ac_func (); below.
28637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28638 <limits.h> exists even on freestanding compilers. */
28639
28640 #ifdef __STDC__
28641 # include <limits.h>
28642 #else
28643 # include <assert.h>
28644 #endif
28645
28646 #undef $ac_func
28647
28648 /* Override any GCC internal prototype to avoid an error.
28649 Use char because int might match the return type of a GCC
28650 builtin and then its argument prototype would still apply. */
28651 #ifdef __cplusplus
28652 extern "C"
28653 #endif
28654 char $ac_func ();
28655 /* The GNU C library defines this for functions which it implements
28656 to always fail with ENOSYS. Some functions are actually named
28657 something starting with __ and the normal name is an alias. */
28658 #if defined __stub_$ac_func || defined __stub___$ac_func
28659 choke me
28660 #endif
28661
28662 int
28663 main ()
28664 {
28665 return $ac_func ();
28666 ;
28667 return 0;
28668 }
28669 _ACEOF
28670 rm -f conftest.$ac_objext conftest$ac_exeext
28671 if { (ac_try="$ac_link"
28672 case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28675 esac
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_link") 2>conftest.er1
28678 ac_status=$?
28679 grep -v '^ *+' conftest.er1 >conftest.err
28680 rm -f conftest.er1
28681 cat conftest.err >&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); } && {
28684 test -z "$ac_c_werror_flag" ||
28685 test ! -s conftest.err
28686 } && test -s conftest$ac_exeext &&
28687 $as_test_x conftest$ac_exeext; then
28688 eval "$as_ac_var=yes"
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 eval "$as_ac_var=no"
28694 fi
28695
28696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28697 conftest$ac_exeext conftest.$ac_ext
28698 fi
28699 ac_res=`eval echo '${'$as_ac_var'}'`
28700 { echo "$as_me:$LINENO: result: $ac_res" >&5
28701 echo "${ECHO_T}$ac_res" >&6; }
28702 if test `eval echo '${'$as_ac_var'}'` = yes; then
28703 cat >>confdefs.h <<_ACEOF
28704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28705 _ACEOF
28706
28707 fi
28708 done
28709
28710 fi
28711
28712
28713
28714 if test "x$ac_cv_func_regcomp" != "xyes"; then
28715 if test "$wxUSE_REGEX" = "sys" ; then
28716 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28717 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28718 { (exit 1); exit 1; }; }
28719 else
28720 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28721 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28722 wxUSE_REGEX=builtin
28723 fi
28724 else
28725 wxUSE_REGEX=sys
28726 cat >>confdefs.h <<\_ACEOF
28727 #define WX_NO_REGEX_ADVANCED 1
28728 _ACEOF
28729
28730 fi
28731 fi
28732 fi
28733
28734
28735 ZLIB_LINK=
28736 if test "$wxUSE_ZLIB" != "no" ; then
28737 cat >>confdefs.h <<\_ACEOF
28738 #define wxUSE_ZLIB 1
28739 _ACEOF
28740
28741
28742 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28743 if test "$USE_DARWIN" = 1; then
28744 system_zlib_h_ok="yes"
28745 else
28746 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28747 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28748 if test "${ac_cv_header_zlib_h+set}" = set; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 else
28751 if test "$cross_compiling" = yes; then
28752 unset ac_cv_header_zlib_h
28753
28754 else
28755 cat >conftest.$ac_ext <<_ACEOF
28756 /* confdefs.h. */
28757 _ACEOF
28758 cat confdefs.h >>conftest.$ac_ext
28759 cat >>conftest.$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761
28762 #include <zlib.h>
28763 #include <stdio.h>
28764
28765 int main()
28766 {
28767 FILE *f=fopen("conftestval", "w");
28768 if (!f) exit(1);
28769 fprintf(f, "%s",
28770 ZLIB_VERSION[0] == '1' &&
28771 (ZLIB_VERSION[2] > '1' ||
28772 (ZLIB_VERSION[2] == '1' &&
28773 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28774 exit(0);
28775 }
28776
28777 _ACEOF
28778 rm -f conftest$ac_exeext
28779 if { (ac_try="$ac_link"
28780 case "(($ac_try" in
28781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28782 *) ac_try_echo=$ac_try;;
28783 esac
28784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28785 (eval "$ac_link") 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28789 { (case "(($ac_try" in
28790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28791 *) ac_try_echo=$ac_try;;
28792 esac
28793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28794 (eval "$ac_try") 2>&5
28795 ac_status=$?
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; }; then
28798 ac_cv_header_zlib_h=`cat conftestval`
28799 else
28800 echo "$as_me: program exited with status $ac_status" >&5
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.$ac_ext >&5
28803
28804 ( exit $ac_status )
28805 ac_cv_header_zlib_h=no
28806 fi
28807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28808 fi
28809
28810
28811
28812 fi
28813 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28814 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28815 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28816 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28817 if test "${ac_cv_header_zlib_h+set}" = set; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 else
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826
28827
28828 #include <zlib.h>
28829 _ACEOF
28830 rm -f conftest.$ac_objext
28831 if { (ac_try="$ac_compile"
28832 case "(($ac_try" in
28833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28834 *) ac_try_echo=$ac_try;;
28835 esac
28836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28837 (eval "$ac_compile") 2>conftest.er1
28838 ac_status=$?
28839 grep -v '^ *+' conftest.er1 >conftest.err
28840 rm -f conftest.er1
28841 cat conftest.err >&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } && {
28844 test -z "$ac_c_werror_flag" ||
28845 test ! -s conftest.err
28846 } && test -s conftest.$ac_objext; then
28847 ac_cv_header_zlib_h=yes
28848 else
28849 echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.$ac_ext >&5
28851
28852 ac_cv_header_zlib_h=no
28853 fi
28854
28855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28856 fi
28857 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28859
28860
28861
28862 system_zlib_h_ok=$ac_cv_header_zlib_h
28863 fi
28864
28865 if test "$system_zlib_h_ok" = "yes"; then
28866 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28867 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28868 if test "${ac_cv_lib_z_deflate+set}" = set; then
28869 echo $ECHO_N "(cached) $ECHO_C" >&6
28870 else
28871 ac_check_lib_save_LIBS=$LIBS
28872 LIBS="-lz $LIBS"
28873 cat >conftest.$ac_ext <<_ACEOF
28874 /* confdefs.h. */
28875 _ACEOF
28876 cat confdefs.h >>conftest.$ac_ext
28877 cat >>conftest.$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28879
28880 /* Override any GCC internal prototype to avoid an error.
28881 Use char because int might match the return type of a GCC
28882 builtin and then its argument prototype would still apply. */
28883 #ifdef __cplusplus
28884 extern "C"
28885 #endif
28886 char deflate ();
28887 int
28888 main ()
28889 {
28890 return deflate ();
28891 ;
28892 return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (ac_try="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>conftest.er1
28903 ac_status=$?
28904 grep -v '^ *+' conftest.er1 >conftest.err
28905 rm -f conftest.er1
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest$ac_exeext &&
28912 $as_test_x conftest$ac_exeext; then
28913 ac_cv_lib_z_deflate=yes
28914 else
28915 echo "$as_me: failed program was:" >&5
28916 sed 's/^/| /' conftest.$ac_ext >&5
28917
28918 ac_cv_lib_z_deflate=no
28919 fi
28920
28921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28922 conftest$ac_exeext conftest.$ac_ext
28923 LIBS=$ac_check_lib_save_LIBS
28924 fi
28925 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28926 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28927 if test $ac_cv_lib_z_deflate = yes; then
28928 ZLIB_LINK=" -lz"
28929 fi
28930
28931 fi
28932
28933 if test "x$ZLIB_LINK" = "x" ; then
28934 if test "$wxUSE_ZLIB" = "sys" ; then
28935 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28936 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28937 { (exit 1); exit 1; }; }
28938 else
28939 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28940 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28941 wxUSE_ZLIB=builtin
28942 fi
28943 else
28944 wxUSE_ZLIB=sys
28945 fi
28946 fi
28947 fi
28948
28949
28950 PNG_LINK=
28951 if test "$wxUSE_LIBPNG" != "no" ; then
28952 cat >>confdefs.h <<\_ACEOF
28953 #define wxUSE_LIBPNG 1
28954 _ACEOF
28955
28956
28957 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28958 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28959 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28960 wxUSE_LIBPNG=sys
28961 fi
28962
28963 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28964 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28965 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28966 wxUSE_LIBPNG=builtin
28967 fi
28968
28969 if test "$wxUSE_MGL" != 1 ; then
28970 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28971 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28972 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28973 if test "${ac_cv_header_png_h+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976 if test "$cross_compiling" = yes; then
28977 unset ac_cv_header_png_h
28978
28979 else
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986
28987 #include <png.h>
28988 #include <stdio.h>
28989
28990 int main()
28991 {
28992 FILE *f=fopen("conftestval", "w");
28993 if (!f) exit(1);
28994 fprintf(f, "%s",
28995 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28996 exit(0);
28997 }
28998
28999 _ACEOF
29000 rm -f conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29005 esac
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>&5
29008 ac_status=$?
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29011 { (case "(($ac_try" in
29012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29013 *) ac_try_echo=$ac_try;;
29014 esac
29015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29016 (eval "$ac_try") 2>&5
29017 ac_status=$?
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 ac_cv_header_png_h=`cat conftestval`
29021 else
29022 echo "$as_me: program exited with status $ac_status" >&5
29023 echo "$as_me: failed program was:" >&5
29024 sed 's/^/| /' conftest.$ac_ext >&5
29025
29026 ( exit $ac_status )
29027 ac_cv_header_png_h=no
29028 fi
29029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29030 fi
29031
29032
29033
29034 fi
29035 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29036 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29037 { echo "$as_me:$LINENO: checking for png.h" >&5
29038 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29039 if test "${ac_cv_header_png_h+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049
29050 #include <png.h>
29051 _ACEOF
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29057 esac
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29060 ac_status=$?
29061 grep -v '^ *+' conftest.er1 >conftest.err
29062 rm -f conftest.er1
29063 cat conftest.err >&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.$ac_objext; then
29069 ac_cv_header_png_h=yes
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 ac_cv_header_png_h=no
29075 fi
29076
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 fi
29079 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29080 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29081
29082
29083
29084 if test "$ac_cv_header_png_h" = "yes"; then
29085 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29086 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29087 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 ac_check_lib_save_LIBS=$LIBS
29091 LIBS="-lpng -lz -lm $LIBS"
29092 cat >conftest.$ac_ext <<_ACEOF
29093 /* confdefs.h. */
29094 _ACEOF
29095 cat confdefs.h >>conftest.$ac_ext
29096 cat >>conftest.$ac_ext <<_ACEOF
29097 /* end confdefs.h. */
29098
29099 /* Override any GCC internal prototype to avoid an error.
29100 Use char because int might match the return type of a GCC
29101 builtin and then its argument prototype would still apply. */
29102 #ifdef __cplusplus
29103 extern "C"
29104 #endif
29105 char png_check_sig ();
29106 int
29107 main ()
29108 {
29109 return png_check_sig ();
29110 ;
29111 return 0;
29112 }
29113 _ACEOF
29114 rm -f conftest.$ac_objext conftest$ac_exeext
29115 if { (ac_try="$ac_link"
29116 case "(($ac_try" in
29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29119 esac
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_link") 2>conftest.er1
29122 ac_status=$?
29123 grep -v '^ *+' conftest.er1 >conftest.err
29124 rm -f conftest.er1
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } && {
29128 test -z "$ac_c_werror_flag" ||
29129 test ! -s conftest.err
29130 } && test -s conftest$ac_exeext &&
29131 $as_test_x conftest$ac_exeext; then
29132 ac_cv_lib_png_png_check_sig=yes
29133 else
29134 echo "$as_me: failed program was:" >&5
29135 sed 's/^/| /' conftest.$ac_ext >&5
29136
29137 ac_cv_lib_png_png_check_sig=no
29138 fi
29139
29140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29141 conftest$ac_exeext conftest.$ac_ext
29142 LIBS=$ac_check_lib_save_LIBS
29143 fi
29144 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29145 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29146 if test $ac_cv_lib_png_png_check_sig = yes; then
29147 PNG_LINK=" -lpng -lz"
29148 fi
29149
29150 fi
29151
29152 if test "x$PNG_LINK" = "x" ; then
29153 if test "$wxUSE_LIBPNG" = "sys" ; then
29154 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29155 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29156 { (exit 1); exit 1; }; }
29157 else
29158 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29159 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29160 wxUSE_LIBPNG=builtin
29161 fi
29162 else
29163 wxUSE_LIBPNG=sys
29164 fi
29165 fi
29166 fi
29167 fi
29168
29169
29170 JPEG_LINK=
29171 if test "$wxUSE_LIBJPEG" != "no" ; then
29172 cat >>confdefs.h <<\_ACEOF
29173 #define wxUSE_LIBJPEG 1
29174 _ACEOF
29175
29176
29177 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29178 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29179 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29180 wxUSE_LIBJPEG=sys
29181 fi
29182
29183 if test "$wxUSE_MGL" != 1 ; then
29184 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29185 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29186 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29187 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 else
29190 cat >conftest.$ac_ext <<_ACEOF
29191 /* confdefs.h. */
29192 _ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196
29197 #undef HAVE_STDLIB_H
29198 #include <stdio.h>
29199 #include <jpeglib.h>
29200
29201 int
29202 main ()
29203 {
29204
29205
29206 ;
29207 return 0;
29208 }
29209 _ACEOF
29210 rm -f conftest.$ac_objext
29211 if { (ac_try="$ac_compile"
29212 case "(($ac_try" in
29213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29214 *) ac_try_echo=$ac_try;;
29215 esac
29216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29217 (eval "$ac_compile") 2>conftest.er1
29218 ac_status=$?
29219 grep -v '^ *+' conftest.er1 >conftest.err
29220 rm -f conftest.er1
29221 cat conftest.err >&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); } && {
29224 test -z "$ac_c_werror_flag" ||
29225 test ! -s conftest.err
29226 } && test -s conftest.$ac_objext; then
29227 ac_cv_header_jpeglib_h=yes
29228 else
29229 echo "$as_me: failed program was:" >&5
29230 sed 's/^/| /' conftest.$ac_ext >&5
29231
29232 ac_cv_header_jpeglib_h=no
29233
29234 fi
29235
29236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29237
29238 fi
29239
29240 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29241 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29242
29243 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29244 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29245 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29246 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 else
29249 ac_check_lib_save_LIBS=$LIBS
29250 LIBS="-ljpeg $LIBS"
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257
29258 /* Override any GCC internal prototype to avoid an error.
29259 Use char because int might match the return type of a GCC
29260 builtin and then its argument prototype would still apply. */
29261 #ifdef __cplusplus
29262 extern "C"
29263 #endif
29264 char jpeg_read_header ();
29265 int
29266 main ()
29267 {
29268 return jpeg_read_header ();
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 rm -f conftest.$ac_objext conftest$ac_exeext
29274 if { (ac_try="$ac_link"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29278 esac
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_link") 2>conftest.er1
29281 ac_status=$?
29282 grep -v '^ *+' conftest.er1 >conftest.err
29283 rm -f conftest.er1
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest$ac_exeext &&
29290 $as_test_x conftest$ac_exeext; then
29291 ac_cv_lib_jpeg_jpeg_read_header=yes
29292 else
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29295
29296 ac_cv_lib_jpeg_jpeg_read_header=no
29297 fi
29298
29299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29300 conftest$ac_exeext conftest.$ac_ext
29301 LIBS=$ac_check_lib_save_LIBS
29302 fi
29303 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29304 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29305 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29306 JPEG_LINK=" -ljpeg"
29307 fi
29308
29309 fi
29310
29311 if test "x$JPEG_LINK" = "x" ; then
29312 if test "$wxUSE_LIBJPEG" = "sys" ; then
29313 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29314 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29315 { (exit 1); exit 1; }; }
29316 else
29317 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29318 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29319 wxUSE_LIBJPEG=builtin
29320 fi
29321 else
29322 wxUSE_LIBJPEG=sys
29323
29324 if test "$wxUSE_MSW" = 1; then
29325 { echo "$as_me:$LINENO: checking for boolean" >&5
29326 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29327 if test "${ac_cv_type_boolean+set}" = set; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29329 else
29330 cat >conftest.$ac_ext <<_ACEOF
29331 /* confdefs.h. */
29332 _ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <windows.h>
29337
29338 typedef boolean ac__type_new_;
29339 int
29340 main ()
29341 {
29342 if ((ac__type_new_ *) 0)
29343 return 0;
29344 if (sizeof (ac__type_new_))
29345 return 0;
29346 ;
29347 return 0;
29348 }
29349 _ACEOF
29350 rm -f conftest.$ac_objext
29351 if { (ac_try="$ac_compile"
29352 case "(($ac_try" in
29353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29354 *) ac_try_echo=$ac_try;;
29355 esac
29356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29357 (eval "$ac_compile") 2>conftest.er1
29358 ac_status=$?
29359 grep -v '^ *+' conftest.er1 >conftest.err
29360 rm -f conftest.er1
29361 cat conftest.err >&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } && {
29364 test -z "$ac_c_werror_flag" ||
29365 test ! -s conftest.err
29366 } && test -s conftest.$ac_objext; then
29367 ac_cv_type_boolean=yes
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29371
29372 ac_cv_type_boolean=no
29373 fi
29374
29375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29376 fi
29377 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29378 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29379 if test $ac_cv_type_boolean = yes; then
29380
29381 cat >>confdefs.h <<_ACEOF
29382 #define HAVE_BOOLEAN 1
29383 _ACEOF
29384
29385
29386 { echo "$as_me:$LINENO: checking for boolean" >&5
29387 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29388 if test "${ac_cv_type_boolean+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29391 cat >conftest.$ac_ext <<_ACEOF
29392 /* confdefs.h. */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29397
29398 #undef HAVE_BOOLEAN
29399 #include <stdio.h>
29400 #include <jpeglib.h>
29401
29402
29403 typedef boolean ac__type_new_;
29404 int
29405 main ()
29406 {
29407 if ((ac__type_new_ *) 0)
29408 return 0;
29409 if (sizeof (ac__type_new_))
29410 return 0;
29411 ;
29412 return 0;
29413 }
29414 _ACEOF
29415 rm -f conftest.$ac_objext
29416 if { (ac_try="$ac_compile"
29417 case "(($ac_try" in
29418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29419 *) ac_try_echo=$ac_try;;
29420 esac
29421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29422 (eval "$ac_compile") 2>conftest.er1
29423 ac_status=$?
29424 grep -v '^ *+' conftest.er1 >conftest.err
29425 rm -f conftest.er1
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } && {
29429 test -z "$ac_c_werror_flag" ||
29430 test ! -s conftest.err
29431 } && test -s conftest.$ac_objext; then
29432 ac_cv_type_boolean=yes
29433 else
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29436
29437 ac_cv_type_boolean=no
29438 fi
29439
29440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29441 fi
29442 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29443 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29444
29445 # The cast to long int works around a bug in the HP C Compiler
29446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29448 # This bug is HP SR number 8606223364.
29449 { echo "$as_me:$LINENO: checking size of boolean" >&5
29450 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29451 if test "${ac_cv_sizeof_boolean+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29453 else
29454 if test "$cross_compiling" = yes; then
29455 # Depending upon the size, compute the lo and hi bounds.
29456 cat >conftest.$ac_ext <<_ACEOF
29457 /* confdefs.h. */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462
29463 #undef HAVE_BOOLEAN
29464 #include <stdio.h>
29465 #include <jpeglib.h>
29466
29467
29468 typedef boolean ac__type_sizeof_;
29469 int
29470 main ()
29471 {
29472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29473 test_array [0] = 0
29474
29475 ;
29476 return 0;
29477 }
29478 _ACEOF
29479 rm -f conftest.$ac_objext
29480 if { (ac_try="$ac_compile"
29481 case "(($ac_try" in
29482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29484 esac
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_compile") 2>conftest.er1
29487 ac_status=$?
29488 grep -v '^ *+' conftest.er1 >conftest.err
29489 rm -f conftest.er1
29490 cat conftest.err >&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } && {
29493 test -z "$ac_c_werror_flag" ||
29494 test ! -s conftest.err
29495 } && test -s conftest.$ac_objext; then
29496 ac_lo=0 ac_mid=0
29497 while :; do
29498 cat >conftest.$ac_ext <<_ACEOF
29499 /* confdefs.h. */
29500 _ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29504
29505 #undef HAVE_BOOLEAN
29506 #include <stdio.h>
29507 #include <jpeglib.h>
29508
29509
29510 typedef boolean ac__type_sizeof_;
29511 int
29512 main ()
29513 {
29514 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29515 test_array [0] = 0
29516
29517 ;
29518 return 0;
29519 }
29520 _ACEOF
29521 rm -f conftest.$ac_objext
29522 if { (ac_try="$ac_compile"
29523 case "(($ac_try" in
29524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29525 *) ac_try_echo=$ac_try;;
29526 esac
29527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29528 (eval "$ac_compile") 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } && {
29535 test -z "$ac_c_werror_flag" ||
29536 test ! -s conftest.err
29537 } && test -s conftest.$ac_objext; then
29538 ac_hi=$ac_mid; break
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29542
29543 ac_lo=`expr $ac_mid + 1`
29544 if test $ac_lo -le $ac_mid; then
29545 ac_lo= ac_hi=
29546 break
29547 fi
29548 ac_mid=`expr 2 '*' $ac_mid + 1`
29549 fi
29550
29551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29552 done
29553 else
29554 echo "$as_me: failed program was:" >&5
29555 sed 's/^/| /' conftest.$ac_ext >&5
29556
29557 cat >conftest.$ac_ext <<_ACEOF
29558 /* confdefs.h. */
29559 _ACEOF
29560 cat confdefs.h >>conftest.$ac_ext
29561 cat >>conftest.$ac_ext <<_ACEOF
29562 /* end confdefs.h. */
29563
29564 #undef HAVE_BOOLEAN
29565 #include <stdio.h>
29566 #include <jpeglib.h>
29567
29568
29569 typedef boolean ac__type_sizeof_;
29570 int
29571 main ()
29572 {
29573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29574 test_array [0] = 0
29575
29576 ;
29577 return 0;
29578 }
29579 _ACEOF
29580 rm -f conftest.$ac_objext
29581 if { (ac_try="$ac_compile"
29582 case "(($ac_try" in
29583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29584 *) ac_try_echo=$ac_try;;
29585 esac
29586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29587 (eval "$ac_compile") 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } && {
29594 test -z "$ac_c_werror_flag" ||
29595 test ! -s conftest.err
29596 } && test -s conftest.$ac_objext; then
29597 ac_hi=-1 ac_mid=-1
29598 while :; do
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605
29606 #undef HAVE_BOOLEAN
29607 #include <stdio.h>
29608 #include <jpeglib.h>
29609
29610
29611 typedef boolean ac__type_sizeof_;
29612 int
29613 main ()
29614 {
29615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29616 test_array [0] = 0
29617
29618 ;
29619 return 0;
29620 }
29621 _ACEOF
29622 rm -f conftest.$ac_objext
29623 if { (ac_try="$ac_compile"
29624 case "(($ac_try" in
29625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29626 *) ac_try_echo=$ac_try;;
29627 esac
29628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29629 (eval "$ac_compile") 2>conftest.er1
29630 ac_status=$?
29631 grep -v '^ *+' conftest.er1 >conftest.err
29632 rm -f conftest.er1
29633 cat conftest.err >&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } && {
29636 test -z "$ac_c_werror_flag" ||
29637 test ! -s conftest.err
29638 } && test -s conftest.$ac_objext; then
29639 ac_lo=$ac_mid; break
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 ac_hi=`expr '(' $ac_mid ')' - 1`
29645 if test $ac_mid -le $ac_hi; then
29646 ac_lo= ac_hi=
29647 break
29648 fi
29649 ac_mid=`expr 2 '*' $ac_mid`
29650 fi
29651
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 done
29654 else
29655 echo "$as_me: failed program was:" >&5
29656 sed 's/^/| /' conftest.$ac_ext >&5
29657
29658 ac_lo= ac_hi=
29659 fi
29660
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 fi
29663
29664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29665 # Binary search between lo and hi bounds.
29666 while test "x$ac_lo" != "x$ac_hi"; do
29667 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29668 cat >conftest.$ac_ext <<_ACEOF
29669 /* confdefs.h. */
29670 _ACEOF
29671 cat confdefs.h >>conftest.$ac_ext
29672 cat >>conftest.$ac_ext <<_ACEOF
29673 /* end confdefs.h. */
29674
29675 #undef HAVE_BOOLEAN
29676 #include <stdio.h>
29677 #include <jpeglib.h>
29678
29679
29680 typedef boolean ac__type_sizeof_;
29681 int
29682 main ()
29683 {
29684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29685 test_array [0] = 0
29686
29687 ;
29688 return 0;
29689 }
29690 _ACEOF
29691 rm -f conftest.$ac_objext
29692 if { (ac_try="$ac_compile"
29693 case "(($ac_try" in
29694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29695 *) ac_try_echo=$ac_try;;
29696 esac
29697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29698 (eval "$ac_compile") 2>conftest.er1
29699 ac_status=$?
29700 grep -v '^ *+' conftest.er1 >conftest.err
29701 rm -f conftest.er1
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } && {
29705 test -z "$ac_c_werror_flag" ||
29706 test ! -s conftest.err
29707 } && test -s conftest.$ac_objext; then
29708 ac_hi=$ac_mid
29709 else
29710 echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29712
29713 ac_lo=`expr '(' $ac_mid ')' + 1`
29714 fi
29715
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 done
29718 case $ac_lo in
29719 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29720 '') if test "$ac_cv_type_boolean" = yes; then
29721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29722 See \`config.log' for more details." >&5
29723 echo "$as_me: error: cannot compute sizeof (boolean)
29724 See \`config.log' for more details." >&2;}
29725 { (exit 77); exit 77; }; }
29726 else
29727 ac_cv_sizeof_boolean=0
29728 fi ;;
29729 esac
29730 else
29731 cat >conftest.$ac_ext <<_ACEOF
29732 /* confdefs.h. */
29733 _ACEOF
29734 cat confdefs.h >>conftest.$ac_ext
29735 cat >>conftest.$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29737
29738 #undef HAVE_BOOLEAN
29739 #include <stdio.h>
29740 #include <jpeglib.h>
29741
29742
29743 typedef boolean ac__type_sizeof_;
29744 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29745 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29746 #include <stdio.h>
29747 #include <stdlib.h>
29748 int
29749 main ()
29750 {
29751
29752 FILE *f = fopen ("conftest.val", "w");
29753 if (! f)
29754 return 1;
29755 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29756 {
29757 long int i = longval ();
29758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29759 return 1;
29760 fprintf (f, "%ld\n", i);
29761 }
29762 else
29763 {
29764 unsigned long int i = ulongval ();
29765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29766 return 1;
29767 fprintf (f, "%lu\n", i);
29768 }
29769 return ferror (f) || fclose (f) != 0;
29770
29771 ;
29772 return 0;
29773 }
29774 _ACEOF
29775 rm -f conftest$ac_exeext
29776 if { (ac_try="$ac_link"
29777 case "(($ac_try" in
29778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29779 *) ac_try_echo=$ac_try;;
29780 esac
29781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29782 (eval "$ac_link") 2>&5
29783 ac_status=$?
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29786 { (case "(($ac_try" in
29787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29789 esac
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_try") 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; }; then
29795 ac_cv_sizeof_boolean=`cat conftest.val`
29796 else
29797 echo "$as_me: program exited with status $ac_status" >&5
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 ( exit $ac_status )
29802 if test "$ac_cv_type_boolean" = yes; then
29803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29804 See \`config.log' for more details." >&5
29805 echo "$as_me: error: cannot compute sizeof (boolean)
29806 See \`config.log' for more details." >&2;}
29807 { (exit 77); exit 77; }; }
29808 else
29809 ac_cv_sizeof_boolean=0
29810 fi
29811 fi
29812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29813 fi
29814 rm -f conftest.val
29815 fi
29816 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29817 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29818
29819
29820
29821 cat >>confdefs.h <<_ACEOF
29822 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29823 _ACEOF
29824
29825
29826 cat >>confdefs.h <<_ACEOF
29827 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29828 _ACEOF
29829
29830
29831 fi
29832
29833 fi
29834 fi
29835 fi
29836 fi
29837 fi
29838
29839
29840 TIFF_LINK=
29841 TIFF_PREREQ_LINKS=-lm
29842 if test "$wxUSE_LIBTIFF" != "no" ; then
29843 cat >>confdefs.h <<\_ACEOF
29844 #define wxUSE_LIBTIFF 1
29845 _ACEOF
29846
29847
29848 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29849 if test "$wxUSE_LIBJPEG" = "sys"; then
29850 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29851 fi
29852 if test "$wxUSE_ZLIB" = "sys"; then
29853 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29854 fi
29855 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29856 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29857 if test "${ac_cv_header_tiffio_h+set}" = set; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29859 else
29860 cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h. */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866
29867
29868
29869 #include <tiffio.h>
29870 _ACEOF
29871 rm -f conftest.$ac_objext
29872 if { (ac_try="$ac_compile"
29873 case "(($ac_try" in
29874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29875 *) ac_try_echo=$ac_try;;
29876 esac
29877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29878 (eval "$ac_compile") 2>conftest.er1
29879 ac_status=$?
29880 grep -v '^ *+' conftest.er1 >conftest.err
29881 rm -f conftest.er1
29882 cat conftest.err >&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); } && {
29885 test -z "$ac_c_werror_flag" ||
29886 test ! -s conftest.err
29887 } && test -s conftest.$ac_objext; then
29888 ac_cv_header_tiffio_h=yes
29889 else
29890 echo "$as_me: failed program was:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29892
29893 ac_cv_header_tiffio_h=no
29894 fi
29895
29896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29897 fi
29898 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29899 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29900 if test $ac_cv_header_tiffio_h = yes; then
29901
29902 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29903 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29904 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29905 echo $ECHO_N "(cached) $ECHO_C" >&6
29906 else
29907 ac_check_lib_save_LIBS=$LIBS
29908 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29909 cat >conftest.$ac_ext <<_ACEOF
29910 /* confdefs.h. */
29911 _ACEOF
29912 cat confdefs.h >>conftest.$ac_ext
29913 cat >>conftest.$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29915
29916 /* Override any GCC internal prototype to avoid an error.
29917 Use char because int might match the return type of a GCC
29918 builtin and then its argument prototype would still apply. */
29919 #ifdef __cplusplus
29920 extern "C"
29921 #endif
29922 char TIFFError ();
29923 int
29924 main ()
29925 {
29926 return TIFFError ();
29927 ;
29928 return 0;
29929 }
29930 _ACEOF
29931 rm -f conftest.$ac_objext conftest$ac_exeext
29932 if { (ac_try="$ac_link"
29933 case "(($ac_try" in
29934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29935 *) ac_try_echo=$ac_try;;
29936 esac
29937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29938 (eval "$ac_link") 2>conftest.er1
29939 ac_status=$?
29940 grep -v '^ *+' conftest.er1 >conftest.err
29941 rm -f conftest.er1
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } && {
29945 test -z "$ac_c_werror_flag" ||
29946 test ! -s conftest.err
29947 } && test -s conftest$ac_exeext &&
29948 $as_test_x conftest$ac_exeext; then
29949 ac_cv_lib_tiff_TIFFError=yes
29950 else
29951 echo "$as_me: failed program was:" >&5
29952 sed 's/^/| /' conftest.$ac_ext >&5
29953
29954 ac_cv_lib_tiff_TIFFError=no
29955 fi
29956
29957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29958 conftest$ac_exeext conftest.$ac_ext
29959 LIBS=$ac_check_lib_save_LIBS
29960 fi
29961 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29962 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29963 if test $ac_cv_lib_tiff_TIFFError = yes; then
29964 TIFF_LINK=" -ltiff"
29965 fi
29966
29967
29968 fi
29969
29970
29971
29972 if test "x$TIFF_LINK" = "x" ; then
29973 if test "$wxUSE_LIBTIFF" = "sys" ; then
29974 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29975 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29976 { (exit 1); exit 1; }; }
29977 else
29978 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29979 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29980 wxUSE_LIBTIFF=builtin
29981 fi
29982 else
29983 wxUSE_LIBTIFF=sys
29984 fi
29985 fi
29986 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29987 if test "$wxUSE_LIBJPEG" = "no"; then
29988 ac_configure_args="$ac_configure_args --disable-jpeg"
29989 fi
29990 subdirs="$subdirs src/tiff"
29991
29992 fi
29993 fi
29994
29995
29996 if test "$wxUSE_WCHAR_T" != "yes"; then
29997 if test "$wxUSE_EXPAT" != "no"; then
29998 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29999 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30000 wxUSE_EXPAT=no
30001 fi
30002 if test "$wxUSE_XML" != "no"; then
30003 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30004 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30005 wxUSE_XML=no
30006 fi
30007 fi
30008
30009 if test "$wxUSE_EXPAT" != "no"; then
30010 wxUSE_XML=yes
30011 cat >>confdefs.h <<\_ACEOF
30012 #define wxUSE_EXPAT 1
30013 _ACEOF
30014
30015 cat >>confdefs.h <<\_ACEOF
30016 #define wxUSE_XML 1
30017 _ACEOF
30018
30019
30020 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30021 { echo "$as_me:$LINENO: checking for expat.h" >&5
30022 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30023 if test "${ac_cv_header_expat_h+set}" = set; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30025 else
30026 cat >conftest.$ac_ext <<_ACEOF
30027 /* confdefs.h. */
30028 _ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30032
30033
30034 #include <expat.h>
30035 _ACEOF
30036 rm -f conftest.$ac_objext
30037 if { (ac_try="$ac_compile"
30038 case "(($ac_try" in
30039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30040 *) ac_try_echo=$ac_try;;
30041 esac
30042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30043 (eval "$ac_compile") 2>conftest.er1
30044 ac_status=$?
30045 grep -v '^ *+' conftest.er1 >conftest.err
30046 rm -f conftest.er1
30047 cat conftest.err >&5
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); } && {
30050 test -z "$ac_c_werror_flag" ||
30051 test ! -s conftest.err
30052 } && test -s conftest.$ac_objext; then
30053 ac_cv_header_expat_h=yes
30054 else
30055 echo "$as_me: failed program was:" >&5
30056 sed 's/^/| /' conftest.$ac_ext >&5
30057
30058 ac_cv_header_expat_h=no
30059 fi
30060
30061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30062 fi
30063 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30064 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30065 if test $ac_cv_header_expat_h = yes; then
30066 found_expat_h=1
30067 fi
30068
30069
30070 if test "x$found_expat_h" = "x1"; then
30071 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30072 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30073 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30074 echo $ECHO_N "(cached) $ECHO_C" >&6
30075 else
30076
30077 ac_ext=cpp
30078 ac_cpp='$CXXCPP $CPPFLAGS'
30079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30082
30083 cat >conftest.$ac_ext <<_ACEOF
30084 /* confdefs.h. */
30085 _ACEOF
30086 cat confdefs.h >>conftest.$ac_ext
30087 cat >>conftest.$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30089 #include <expat.h>
30090 int
30091 main ()
30092 {
30093
30094 ;
30095 return 0;
30096 }
30097 _ACEOF
30098 rm -f conftest.$ac_objext
30099 if { (ac_try="$ac_compile"
30100 case "(($ac_try" in
30101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30102 *) ac_try_echo=$ac_try;;
30103 esac
30104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30105 (eval "$ac_compile") 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } && {
30112 test -z "$ac_cxx_werror_flag" ||
30113 test ! -s conftest.err
30114 } && test -s conftest.$ac_objext; then
30115 wx_cv_expat_is_not_broken=yes
30116 else
30117 echo "$as_me: failed program was:" >&5
30118 sed 's/^/| /' conftest.$ac_ext >&5
30119
30120 wx_cv_expat_is_not_broken=no
30121
30122 fi
30123
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30130
30131
30132
30133 fi
30134 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30135 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30136 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30137 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30138 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30139 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142 ac_check_lib_save_LIBS=$LIBS
30143 LIBS="-lexpat $LIBS"
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150
30151 /* Override any GCC internal prototype to avoid an error.
30152 Use char because int might match the return type of a GCC
30153 builtin and then its argument prototype would still apply. */
30154 #ifdef __cplusplus
30155 extern "C"
30156 #endif
30157 char XML_ParserCreate ();
30158 int
30159 main ()
30160 {
30161 return XML_ParserCreate ();
30162 ;
30163 return 0;
30164 }
30165 _ACEOF
30166 rm -f conftest.$ac_objext conftest$ac_exeext
30167 if { (ac_try="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30171 esac
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30174 ac_status=$?
30175 grep -v '^ *+' conftest.er1 >conftest.err
30176 rm -f conftest.er1
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30184 ac_cv_lib_expat_XML_ParserCreate=yes
30185 else
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30188
30189 ac_cv_lib_expat_XML_ParserCreate=no
30190 fi
30191
30192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30193 conftest$ac_exeext conftest.$ac_ext
30194 LIBS=$ac_check_lib_save_LIBS
30195 fi
30196 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30197 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30198 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30199 EXPAT_LINK=" -lexpat"
30200 fi
30201
30202 fi
30203 fi
30204 if test "x$EXPAT_LINK" = "x" ; then
30205 if test "$wxUSE_EXPAT" = "sys" ; then
30206 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30207 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30208 { (exit 1); exit 1; }; }
30209 else
30210 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30211 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30212 wxUSE_EXPAT=builtin
30213 fi
30214 else
30215 wxUSE_EXPAT=sys
30216 fi
30217 fi
30218 if test "$wxUSE_EXPAT" = "builtin" ; then
30219 subdirs="$subdirs src/expat"
30220
30221 fi
30222 fi
30223
30224
30225
30226 if test "$wxUSE_LIBMSPACK" != "no"; then
30227 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30228 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30229 if test "${ac_cv_header_mspack_h+set}" = set; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 else
30232 cat >conftest.$ac_ext <<_ACEOF
30233 /* confdefs.h. */
30234 _ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30238
30239
30240 #include <mspack.h>
30241 _ACEOF
30242 rm -f conftest.$ac_objext
30243 if { (ac_try="$ac_compile"
30244 case "(($ac_try" in
30245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30246 *) ac_try_echo=$ac_try;;
30247 esac
30248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30249 (eval "$ac_compile") 2>conftest.er1
30250 ac_status=$?
30251 grep -v '^ *+' conftest.er1 >conftest.err
30252 rm -f conftest.er1
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } && {
30256 test -z "$ac_c_werror_flag" ||
30257 test ! -s conftest.err
30258 } && test -s conftest.$ac_objext; then
30259 ac_cv_header_mspack_h=yes
30260 else
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30263
30264 ac_cv_header_mspack_h=no
30265 fi
30266
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 fi
30269 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30270 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30271 if test $ac_cv_header_mspack_h = yes; then
30272 found_mspack_h=1
30273 fi
30274
30275
30276 if test "x$found_mspack_h" = "x1"; then
30277 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30278 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30279 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30280 echo $ECHO_N "(cached) $ECHO_C" >&6
30281 else
30282 ac_check_lib_save_LIBS=$LIBS
30283 LIBS="-lmspack $LIBS"
30284 cat >conftest.$ac_ext <<_ACEOF
30285 /* confdefs.h. */
30286 _ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30290
30291 /* Override any GCC internal prototype to avoid an error.
30292 Use char because int might match the return type of a GCC
30293 builtin and then its argument prototype would still apply. */
30294 #ifdef __cplusplus
30295 extern "C"
30296 #endif
30297 char mspack_create_chm_decompressor ();
30298 int
30299 main ()
30300 {
30301 return mspack_create_chm_decompressor ();
30302 ;
30303 return 0;
30304 }
30305 _ACEOF
30306 rm -f conftest.$ac_objext conftest$ac_exeext
30307 if { (ac_try="$ac_link"
30308 case "(($ac_try" in
30309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30310 *) ac_try_echo=$ac_try;;
30311 esac
30312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30313 (eval "$ac_link") 2>conftest.er1
30314 ac_status=$?
30315 grep -v '^ *+' conftest.er1 >conftest.err
30316 rm -f conftest.er1
30317 cat conftest.err >&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); } && {
30320 test -z "$ac_c_werror_flag" ||
30321 test ! -s conftest.err
30322 } && test -s conftest$ac_exeext &&
30323 $as_test_x conftest$ac_exeext; then
30324 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30325 else
30326 echo "$as_me: failed program was:" >&5
30327 sed 's/^/| /' conftest.$ac_ext >&5
30328
30329 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30330 fi
30331
30332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30333 conftest$ac_exeext conftest.$ac_ext
30334 LIBS=$ac_check_lib_save_LIBS
30335 fi
30336 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30337 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30338 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30339 MSPACK_LINK=" -lmspack"
30340 fi
30341
30342 fi
30343 if test "x$MSPACK_LINK" = "x" ; then
30344 wxUSE_LIBMSPACK=no
30345 fi
30346 fi
30347
30348 if test "$wxUSE_LIBMSPACK" != "no"; then
30349 cat >>confdefs.h <<\_ACEOF
30350 #define wxUSE_LIBMSPACK 1
30351 _ACEOF
30352
30353 fi
30354
30355
30356
30357 AFMINSTALL=
30358 WIN32INSTALL=
30359
30360 TOOLKIT=
30361 TOOLKIT_INCLUDE=
30362 WIDGET_SET=
30363
30364 if test "$USE_WIN32" = 1 ; then
30365
30366 for ac_header in w32api.h
30367 do
30368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 cat >conftest.$ac_ext <<_ACEOF
30375 /* confdefs.h. */
30376 _ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380
30381
30382 #include <$ac_header>
30383 _ACEOF
30384 rm -f conftest.$ac_objext
30385 if { (ac_try="$ac_compile"
30386 case "(($ac_try" in
30387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30388 *) ac_try_echo=$ac_try;;
30389 esac
30390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30391 (eval "$ac_compile") 2>conftest.er1
30392 ac_status=$?
30393 grep -v '^ *+' conftest.er1 >conftest.err
30394 rm -f conftest.er1
30395 cat conftest.err >&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); } && {
30398 test -z "$ac_c_werror_flag" ||
30399 test ! -s conftest.err
30400 } && test -s conftest.$ac_objext; then
30401 eval "$as_ac_Header=yes"
30402 else
30403 echo "$as_me: failed program was:" >&5
30404 sed 's/^/| /' conftest.$ac_ext >&5
30405
30406 eval "$as_ac_Header=no"
30407 fi
30408
30409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30410 fi
30411 ac_res=`eval echo '${'$as_ac_Header'}'`
30412 { echo "$as_me:$LINENO: result: $ac_res" >&5
30413 echo "${ECHO_T}$ac_res" >&6; }
30414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30415 cat >>confdefs.h <<_ACEOF
30416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30417 _ACEOF
30418
30419 fi
30420
30421 done
30422
30423 { echo "$as_me:$LINENO: checking for windows.h" >&5
30424 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30425 if test "${ac_cv_header_windows_h+set}" = set; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428 cat >conftest.$ac_ext <<_ACEOF
30429 /* confdefs.h. */
30430 _ACEOF
30431 cat confdefs.h >>conftest.$ac_ext
30432 cat >>conftest.$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30434
30435
30436 #include <windows.h>
30437 _ACEOF
30438 rm -f conftest.$ac_objext
30439 if { (ac_try="$ac_compile"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30443 esac
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_compile") 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } && {
30452 test -z "$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 } && test -s conftest.$ac_objext; then
30455 ac_cv_header_windows_h=yes
30456 else
30457 echo "$as_me: failed program was:" >&5
30458 sed 's/^/| /' conftest.$ac_ext >&5
30459
30460 ac_cv_header_windows_h=no
30461 fi
30462
30463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30464 fi
30465 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30466 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30467 if test $ac_cv_header_windows_h = yes; then
30468 :
30469 else
30470
30471 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30472 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30473 { (exit 1); exit 1; }; }
30474
30475 fi
30476
30477
30478
30479 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30480
30481 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30482 LIBS="$LIBS -loleacc"
30483 fi
30484
30485 case "${host}" in
30486 *-*-cygwin* )
30487 LIBS="$LIBS -lkernel32 -luser32"
30488 esac
30489
30490 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30491 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30492
30493 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30494
30495 WIN32INSTALL=win32install
30496
30497 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30498 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30499 if test "${ac_cv_header_pbt_h+set}" = set; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30501 else
30502 cat >conftest.$ac_ext <<_ACEOF
30503 /* confdefs.h. */
30504 _ACEOF
30505 cat confdefs.h >>conftest.$ac_ext
30506 cat >>conftest.$ac_ext <<_ACEOF
30507 /* end confdefs.h. */
30508
30509
30510 #include <pbt.h>
30511 _ACEOF
30512 rm -f conftest.$ac_objext
30513 if { (ac_try="$ac_compile"
30514 case "(($ac_try" in
30515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30516 *) ac_try_echo=$ac_try;;
30517 esac
30518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30519 (eval "$ac_compile") 2>conftest.er1
30520 ac_status=$?
30521 grep -v '^ *+' conftest.er1 >conftest.err
30522 rm -f conftest.er1
30523 cat conftest.err >&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } && {
30526 test -z "$ac_c_werror_flag" ||
30527 test ! -s conftest.err
30528 } && test -s conftest.$ac_objext; then
30529 ac_cv_header_pbt_h=yes
30530 else
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.$ac_ext >&5
30533
30534 ac_cv_header_pbt_h=no
30535 fi
30536
30537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30538 fi
30539 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30540 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30541 if test $ac_cv_header_pbt_h = yes; then
30542 :
30543 else
30544 cat >>confdefs.h <<\_ACEOF
30545 #define NEED_PBT_H 1
30546 _ACEOF
30547
30548 fi
30549
30550
30551 fi
30552
30553 if test "$wxUSE_GUI" = "yes"; then
30554 USE_GUI=1
30555
30556 GUI_TK_LIBRARY=
30557
30558 WXGTK12=
30559 WXGTK127=
30560 WXGTK2=
30561 WXGPE=
30562
30563 if test "$wxUSE_COCOA" = 1 ; then
30564 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30565 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30566 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30567 wxUSE_PRINTING_ARCHITECTURE=no
30568 fi
30569 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30570 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30571 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30572 wxUSE_DRAG_AND_DROP=no
30573 fi
30574 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30575 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30576 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30577 wxUSE_DRAGIMAGE=no
30578 fi
30579 fi
30580
30581 if test "$wxUSE_MSW" = 1 ; then
30582 TOOLKIT=MSW
30583 GUIDIST=MSW_DIST
30584
30585 case "${host}" in
30586 *-*-mingw32* )
30587 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30588 esac
30589 fi
30590
30591 if test "$wxUSE_GTK" = 1; then
30592 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30593 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30594
30595 gtk_version_cached=1
30596 if test "${wx_cv_lib_gtk+set}" = set; then
30597 echo $ECHO_N "(cached) $ECHO_C" >&6
30598 else
30599
30600 gtk_version_cached=0
30601 { echo "$as_me:$LINENO: result: " >&5
30602 echo "${ECHO_T}" >&6; }
30603
30604 GTK_MODULES=
30605 if test "$wxUSE_THREADS" = "yes"; then
30606 GTK_MODULES=gthread
30607 fi
30608
30609 wx_cv_lib_gtk=
30610 if test "x$wxGTK_VERSION" != "x1"
30611 then
30612 case "${host}" in
30613 *-*-solaris2* )
30614 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30615 enable_gtktest=no
30616 fi
30617 esac
30618
30619 # Check whether --enable-gtktest was given.
30620 if test "${enable_gtktest+set}" = set; then
30621 enableval=$enable_gtktest;
30622 else
30623 enable_gtktest=yes
30624 fi
30625
30626
30627 pkg_config_args=gtk+-2.0
30628 for module in . $GTK_MODULES
30629 do
30630 case "$module" in
30631 gthread)
30632 pkg_config_args="$pkg_config_args gthread-2.0"
30633 ;;
30634 esac
30635 done
30636
30637 no_gtk=""
30638
30639 # Extract the first word of "pkg-config", so it can be a program name with args.
30640 set dummy pkg-config; ac_word=$2
30641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30643 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30644 echo $ECHO_N "(cached) $ECHO_C" >&6
30645 else
30646 case $PKG_CONFIG in
30647 [\\/]* | ?:[\\/]*)
30648 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30649 ;;
30650 *)
30651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30652 for as_dir in $PATH
30653 do
30654 IFS=$as_save_IFS
30655 test -z "$as_dir" && as_dir=.
30656 for ac_exec_ext in '' $ac_executable_extensions; do
30657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30658 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30660 break 2
30661 fi
30662 done
30663 done
30664 IFS=$as_save_IFS
30665
30666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30667 ;;
30668 esac
30669 fi
30670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30671 if test -n "$PKG_CONFIG"; then
30672 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30673 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30674 else
30675 { echo "$as_me:$LINENO: result: no" >&5
30676 echo "${ECHO_T}no" >&6; }
30677 fi
30678
30679
30680
30681 if test x$PKG_CONFIG != xno ; then
30682 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30683 :
30684 else
30685 echo "*** pkg-config too old; version 0.7 or better required."
30686 no_gtk=yes
30687 PKG_CONFIG=no
30688 fi
30689 else
30690 no_gtk=yes
30691 fi
30692
30693 min_gtk_version=2.4.0
30694 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30695 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30696
30697 if test x$PKG_CONFIG != xno ; then
30698 ## don't try to run the test against uninstalled libtool libs
30699 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30700 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30701 enable_gtktest=no
30702 fi
30703
30704 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30705 :
30706 else
30707 no_gtk=yes
30708 fi
30709 fi
30710
30711 if test x"$no_gtk" = x ; then
30712 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30713 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30714 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30716 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30718 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30720 if test "x$enable_gtktest" = "xyes" ; then
30721 ac_save_CFLAGS="$CFLAGS"
30722 ac_save_LIBS="$LIBS"
30723 CFLAGS="$CFLAGS $GTK_CFLAGS"
30724 LIBS="$GTK_LIBS $LIBS"
30725 rm -f conf.gtktest
30726 if test "$cross_compiling" = yes; then
30727 echo $ac_n "cross compiling; assumed OK... $ac_c"
30728 else
30729 cat >conftest.$ac_ext <<_ACEOF
30730 /* confdefs.h. */
30731 _ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735
30736 #include <gtk/gtk.h>
30737 #include <stdio.h>
30738 #include <stdlib.h>
30739
30740 int
30741 main ()
30742 {
30743 int major, minor, micro;
30744 char *tmp_version;
30745
30746 system ("touch conf.gtktest");
30747
30748 /* HP/UX 9 (%@#!) writes to sscanf strings */
30749 tmp_version = g_strdup("$min_gtk_version");
30750 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30751 printf("%s, bad version string\n", "$min_gtk_version");
30752 exit(1);
30753 }
30754
30755 if ((gtk_major_version != $gtk_config_major_version) ||
30756 (gtk_minor_version != $gtk_config_minor_version) ||
30757 (gtk_micro_version != $gtk_config_micro_version))
30758 {
30759 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30760 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30761 gtk_major_version, gtk_minor_version, gtk_micro_version);
30762 printf ("*** was found! If pkg-config was correct, then it is best\n");
30763 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30764 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30765 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30766 printf("*** required on your system.\n");
30767 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30768 printf("*** to point to the correct configuration files\n");
30769 }
30770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30771 (gtk_minor_version != GTK_MINOR_VERSION) ||
30772 (gtk_micro_version != GTK_MICRO_VERSION))
30773 {
30774 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30776 printf("*** library (version %d.%d.%d)\n",
30777 gtk_major_version, gtk_minor_version, gtk_micro_version);
30778 }
30779 else
30780 {
30781 if ((gtk_major_version > major) ||
30782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30784 {
30785 return 0;
30786 }
30787 else
30788 {
30789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30790 gtk_major_version, gtk_minor_version, gtk_micro_version);
30791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30792 major, minor, micro);
30793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30794 printf("***\n");
30795 printf("*** If you have already installed a sufficiently new version, this error\n");
30796 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30798 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30799 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30801 printf("*** so that the correct libraries are found at run-time))\n");
30802 }
30803 }
30804 return 1;
30805 }
30806
30807 _ACEOF
30808 rm -f conftest$ac_exeext
30809 if { (ac_try="$ac_link"
30810 case "(($ac_try" in
30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30812 *) ac_try_echo=$ac_try;;
30813 esac
30814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30815 (eval "$ac_link") 2>&5
30816 ac_status=$?
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30819 { (case "(($ac_try" in
30820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30821 *) ac_try_echo=$ac_try;;
30822 esac
30823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30824 (eval "$ac_try") 2>&5
30825 ac_status=$?
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 :
30829 else
30830 echo "$as_me: program exited with status $ac_status" >&5
30831 echo "$as_me: failed program was:" >&5
30832 sed 's/^/| /' conftest.$ac_ext >&5
30833
30834 ( exit $ac_status )
30835 no_gtk=yes
30836 fi
30837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30838 fi
30839
30840
30841 CFLAGS="$ac_save_CFLAGS"
30842 LIBS="$ac_save_LIBS"
30843 fi
30844 fi
30845 if test "x$no_gtk" = x ; then
30846 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30847 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30848 wx_cv_lib_gtk=2.0
30849 else
30850 { echo "$as_me:$LINENO: result: no" >&5
30851 echo "${ECHO_T}no" >&6; }
30852 if test "$PKG_CONFIG" = "no" ; then
30853 echo "*** A new enough version of pkg-config was not found."
30854 echo "*** See http://pkgconfig.sourceforge.net"
30855 else
30856 if test -f conf.gtktest ; then
30857 :
30858 else
30859 echo "*** Could not run GTK+ test program, checking why..."
30860 ac_save_CFLAGS="$CFLAGS"
30861 ac_save_LIBS="$LIBS"
30862 CFLAGS="$CFLAGS $GTK_CFLAGS"
30863 LIBS="$LIBS $GTK_LIBS"
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870
30871 #include <gtk/gtk.h>
30872 #include <stdio.h>
30873
30874 int
30875 main ()
30876 {
30877 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30878 ;
30879 return 0;
30880 }
30881 _ACEOF
30882 rm -f conftest.$ac_objext conftest$ac_exeext
30883 if { (ac_try="$ac_link"
30884 case "(($ac_try" in
30885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30886 *) ac_try_echo=$ac_try;;
30887 esac
30888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30889 (eval "$ac_link") 2>conftest.er1
30890 ac_status=$?
30891 grep -v '^ *+' conftest.er1 >conftest.err
30892 rm -f conftest.er1
30893 cat conftest.err >&5
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); } && {
30896 test -z "$ac_c_werror_flag" ||
30897 test ! -s conftest.err
30898 } && test -s conftest$ac_exeext &&
30899 $as_test_x conftest$ac_exeext; then
30900 echo "*** The test program compiled, but did not run. This usually means"
30901 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30902 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30905 echo "*** is required on your system"
30906 echo "***"
30907 echo "*** If you have an old version installed, it is best to remove it, although"
30908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30909 else
30910 echo "$as_me: failed program was:" >&5
30911 sed 's/^/| /' conftest.$ac_ext >&5
30912
30913 echo "*** The test program failed to compile or link. See the file config.log for the"
30914 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30915 fi
30916
30917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30918 conftest$ac_exeext conftest.$ac_ext
30919 CFLAGS="$ac_save_CFLAGS"
30920 LIBS="$ac_save_LIBS"
30921 fi
30922 fi
30923 GTK_CFLAGS=""
30924 GTK_LIBS=""
30925 :
30926 fi
30927
30928
30929 rm -f conf.gtktest
30930
30931
30932 case "${host}" in
30933 *-*-solaris2* )
30934 if test "$wxUSE_SHARED" != "yes"; then
30935 GTK_LIBS="$GTK_LIBS -lX11"
30936 fi
30937 esac
30938 fi
30939
30940 if test -z "$wx_cv_lib_gtk"; then
30941 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30942
30943 # Check whether --with-gtk-prefix was given.
30944 if test "${with_gtk_prefix+set}" = set; then
30945 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30946 else
30947 gtk_config_prefix=""
30948 fi
30949
30950
30951 # Check whether --with-gtk-exec-prefix was given.
30952 if test "${with_gtk_exec_prefix+set}" = set; then
30953 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30954 else
30955 gtk_config_exec_prefix=""
30956 fi
30957
30958 # Check whether --enable-gtktest was given.
30959 if test "${enable_gtktest+set}" = set; then
30960 enableval=$enable_gtktest;
30961 else
30962 enable_gtktest=yes
30963 fi
30964
30965
30966 for module in . $GTK_MODULES
30967 do
30968 case "$module" in
30969 gthread)
30970 gtk_config_args="$gtk_config_args gthread"
30971 ;;
30972 esac
30973 done
30974
30975 if test x$gtk_config_exec_prefix != x ; then
30976 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30977 if test x${GTK_CONFIG+set} != xset ; then
30978 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30979 fi
30980 fi
30981 if test x$gtk_config_prefix != x ; then
30982 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30983 if test x${GTK_CONFIG+set} != xset ; then
30984 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30985 fi
30986 fi
30987
30988 # Extract the first word of "gtk-config", so it can be a program name with args.
30989 set dummy gtk-config; ac_word=$2
30990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30992 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 else
30995 case $GTK_CONFIG in
30996 [\\/]* | ?:[\\/]*)
30997 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30998 ;;
30999 *)
31000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31001 for as_dir in $PATH
31002 do
31003 IFS=$as_save_IFS
31004 test -z "$as_dir" && as_dir=.
31005 for ac_exec_ext in '' $ac_executable_extensions; do
31006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31007 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31009 break 2
31010 fi
31011 done
31012 done
31013 IFS=$as_save_IFS
31014
31015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31016 ;;
31017 esac
31018 fi
31019 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31020 if test -n "$GTK_CONFIG"; then
31021 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31022 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31023 else
31024 { echo "$as_me:$LINENO: result: no" >&5
31025 echo "${ECHO_T}no" >&6; }
31026 fi
31027
31028
31029 min_gtk_version=1.2.7
31030 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31031 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31032 no_gtk=""
31033 if test "$GTK_CONFIG" = "no" ; then
31034 no_gtk=yes
31035 else
31036 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31037 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31038 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31040 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31042 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31044 if test "x$enable_gtktest" = "xyes" ; then
31045 ac_save_CFLAGS="$CFLAGS"
31046 ac_save_LIBS="$LIBS"
31047 CFLAGS="$CFLAGS $GTK_CFLAGS"
31048 LIBS="$GTK_LIBS $LIBS"
31049 rm -f conf.gtktest
31050 if test "$cross_compiling" = yes; then
31051 echo $ac_n "cross compiling; assumed OK... $ac_c"
31052 else
31053 cat >conftest.$ac_ext <<_ACEOF
31054 /* confdefs.h. */
31055 _ACEOF
31056 cat confdefs.h >>conftest.$ac_ext
31057 cat >>conftest.$ac_ext <<_ACEOF
31058 /* end confdefs.h. */
31059
31060 #include <gtk/gtk.h>
31061 #include <stdio.h>
31062 #include <stdlib.h>
31063
31064 int
31065 main ()
31066 {
31067 int major, minor, micro;
31068 char *tmp_version;
31069
31070 system ("touch conf.gtktest");
31071
31072 /* HP/UX 9 (%@#!) writes to sscanf strings */
31073 tmp_version = g_strdup("$min_gtk_version");
31074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31075 printf("%s, bad version string\n", "$min_gtk_version");
31076 exit(1);
31077 }
31078
31079 if ((gtk_major_version != $gtk_config_major_version) ||
31080 (gtk_minor_version != $gtk_config_minor_version) ||
31081 (gtk_micro_version != $gtk_config_micro_version))
31082 {
31083 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31085 gtk_major_version, gtk_minor_version, gtk_micro_version);
31086 printf ("*** was found! If gtk-config was correct, then it is best\n");
31087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31090 printf("*** required on your system.\n");
31091 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31092 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31093 printf("*** before re-running configure\n");
31094 }
31095 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31096 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31097 (gtk_minor_version != GTK_MINOR_VERSION) ||
31098 (gtk_micro_version != GTK_MICRO_VERSION))
31099 {
31100 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31101 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31102 printf("*** library (version %d.%d.%d)\n",
31103 gtk_major_version, gtk_minor_version, gtk_micro_version);
31104 }
31105 #endif /* defined (GTK_MAJOR_VERSION) ... */
31106 else
31107 {
31108 if ((gtk_major_version > major) ||
31109 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31110 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31111 {
31112 return 0;
31113 }
31114 else
31115 {
31116 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31117 gtk_major_version, gtk_minor_version, gtk_micro_version);
31118 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31119 major, minor, micro);
31120 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31121 printf("***\n");
31122 printf("*** If you have already installed a sufficiently new version, this error\n");
31123 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31124 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31125 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31126 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31127 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31128 printf("*** so that the correct libraries are found at run-time))\n");
31129 }
31130 }
31131 return 1;
31132 }
31133
31134 _ACEOF
31135 rm -f conftest$ac_exeext
31136 if { (ac_try="$ac_link"
31137 case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31140 esac
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_link") 2>&5
31143 ac_status=$?
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31146 { (case "(($ac_try" in
31147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31148 *) ac_try_echo=$ac_try;;
31149 esac
31150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31151 (eval "$ac_try") 2>&5
31152 ac_status=$?
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; }; then
31155 :
31156 else
31157 echo "$as_me: program exited with status $ac_status" >&5
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161 ( exit $ac_status )
31162 no_gtk=yes
31163 fi
31164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31165 fi
31166
31167
31168 CFLAGS="$ac_save_CFLAGS"
31169 LIBS="$ac_save_LIBS"
31170 fi
31171 fi
31172 if test "x$no_gtk" = x ; then
31173 { echo "$as_me:$LINENO: result: yes" >&5
31174 echo "${ECHO_T}yes" >&6; }
31175 wx_cv_lib_gtk=1.2.7
31176 else
31177 { echo "$as_me:$LINENO: result: no" >&5
31178 echo "${ECHO_T}no" >&6; }
31179 if test "$GTK_CONFIG" = "no" ; then
31180 echo "*** The gtk-config script installed by GTK could not be found"
31181 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31182 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31183 echo "*** full path to gtk-config."
31184 else
31185 if test -f conf.gtktest ; then
31186 :
31187 else
31188 echo "*** Could not run GTK test program, checking why..."
31189 CFLAGS="$CFLAGS $GTK_CFLAGS"
31190 LIBS="$LIBS $GTK_LIBS"
31191 cat >conftest.$ac_ext <<_ACEOF
31192 /* confdefs.h. */
31193 _ACEOF
31194 cat confdefs.h >>conftest.$ac_ext
31195 cat >>conftest.$ac_ext <<_ACEOF
31196 /* end confdefs.h. */
31197
31198 #include <gtk/gtk.h>
31199 #include <stdio.h>
31200
31201 int
31202 main ()
31203 {
31204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31214 esac
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>conftest.er1
31217 ac_status=$?
31218 grep -v '^ *+' conftest.er1 >conftest.err
31219 rm -f conftest.er1
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && {
31223 test -z "$ac_c_werror_flag" ||
31224 test ! -s conftest.err
31225 } && test -s conftest$ac_exeext &&
31226 $as_test_x conftest$ac_exeext; then
31227 echo "*** The test program compiled, but did not run. This usually means"
31228 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31229 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31230 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31231 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31232 echo "*** is required on your system"
31233 echo "***"
31234 echo "*** If you have an old version installed, it is best to remove it, although"
31235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31236 echo "***"
31237 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31238 echo "*** came with the system with the command"
31239 echo "***"
31240 echo "*** rpm --erase --nodeps gtk gtk-devel"
31241 else
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31244
31245 echo "*** The test program failed to compile or link. See the file config.log for the"
31246 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31247 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31248 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31249 fi
31250
31251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31252 conftest$ac_exeext conftest.$ac_ext
31253 CFLAGS="$ac_save_CFLAGS"
31254 LIBS="$ac_save_LIBS"
31255 fi
31256 fi
31257 GTK_CFLAGS=""
31258 GTK_LIBS=""
31259 :
31260 fi
31261
31262
31263 rm -f conf.gtktest
31264
31265
31266 if test -z "$wx_cv_lib_gtk"; then
31267
31268 # Check whether --with-gtk-prefix was given.
31269 if test "${with_gtk_prefix+set}" = set; then
31270 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31271 else
31272 gtk_config_prefix=""
31273 fi
31274
31275
31276 # Check whether --with-gtk-exec-prefix was given.
31277 if test "${with_gtk_exec_prefix+set}" = set; then
31278 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31279 else
31280 gtk_config_exec_prefix=""
31281 fi
31282
31283 # Check whether --enable-gtktest was given.
31284 if test "${enable_gtktest+set}" = set; then
31285 enableval=$enable_gtktest;
31286 else
31287 enable_gtktest=yes
31288 fi
31289
31290
31291 for module in . $GTK_MODULES
31292 do
31293 case "$module" in
31294 gthread)
31295 gtk_config_args="$gtk_config_args gthread"
31296 ;;
31297 esac
31298 done
31299
31300 if test x$gtk_config_exec_prefix != x ; then
31301 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31302 if test x${GTK_CONFIG+set} != xset ; then
31303 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31304 fi
31305 fi
31306 if test x$gtk_config_prefix != x ; then
31307 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31308 if test x${GTK_CONFIG+set} != xset ; then
31309 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31310 fi
31311 fi
31312
31313 # Extract the first word of "gtk-config", so it can be a program name with args.
31314 set dummy gtk-config; ac_word=$2
31315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31317 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 else
31320 case $GTK_CONFIG in
31321 [\\/]* | ?:[\\/]*)
31322 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31323 ;;
31324 *)
31325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31326 for as_dir in $PATH
31327 do
31328 IFS=$as_save_IFS
31329 test -z "$as_dir" && as_dir=.
31330 for ac_exec_ext in '' $ac_executable_extensions; do
31331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31332 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31334 break 2
31335 fi
31336 done
31337 done
31338 IFS=$as_save_IFS
31339
31340 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31341 ;;
31342 esac
31343 fi
31344 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31345 if test -n "$GTK_CONFIG"; then
31346 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31347 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31348 else
31349 { echo "$as_me:$LINENO: result: no" >&5
31350 echo "${ECHO_T}no" >&6; }
31351 fi
31352
31353
31354 min_gtk_version=1.2.3
31355 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31356 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31357 no_gtk=""
31358 if test "$GTK_CONFIG" = "no" ; then
31359 no_gtk=yes
31360 else
31361 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31362 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31363 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31365 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31367 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31369 if test "x$enable_gtktest" = "xyes" ; then
31370 ac_save_CFLAGS="$CFLAGS"
31371 ac_save_LIBS="$LIBS"
31372 CFLAGS="$CFLAGS $GTK_CFLAGS"
31373 LIBS="$GTK_LIBS $LIBS"
31374 rm -f conf.gtktest
31375 if test "$cross_compiling" = yes; then
31376 echo $ac_n "cross compiling; assumed OK... $ac_c"
31377 else
31378 cat >conftest.$ac_ext <<_ACEOF
31379 /* confdefs.h. */
31380 _ACEOF
31381 cat confdefs.h >>conftest.$ac_ext
31382 cat >>conftest.$ac_ext <<_ACEOF
31383 /* end confdefs.h. */
31384
31385 #include <gtk/gtk.h>
31386 #include <stdio.h>
31387 #include <stdlib.h>
31388
31389 int
31390 main ()
31391 {
31392 int major, minor, micro;
31393 char *tmp_version;
31394
31395 system ("touch conf.gtktest");
31396
31397 /* HP/UX 9 (%@#!) writes to sscanf strings */
31398 tmp_version = g_strdup("$min_gtk_version");
31399 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31400 printf("%s, bad version string\n", "$min_gtk_version");
31401 exit(1);
31402 }
31403
31404 if ((gtk_major_version != $gtk_config_major_version) ||
31405 (gtk_minor_version != $gtk_config_minor_version) ||
31406 (gtk_micro_version != $gtk_config_micro_version))
31407 {
31408 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31409 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31410 gtk_major_version, gtk_minor_version, gtk_micro_version);
31411 printf ("*** was found! If gtk-config was correct, then it is best\n");
31412 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31413 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31414 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31415 printf("*** required on your system.\n");
31416 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31417 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31418 printf("*** before re-running configure\n");
31419 }
31420 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31422 (gtk_minor_version != GTK_MINOR_VERSION) ||
31423 (gtk_micro_version != GTK_MICRO_VERSION))
31424 {
31425 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31427 printf("*** library (version %d.%d.%d)\n",
31428 gtk_major_version, gtk_minor_version, gtk_micro_version);
31429 }
31430 #endif /* defined (GTK_MAJOR_VERSION) ... */
31431 else
31432 {
31433 if ((gtk_major_version > major) ||
31434 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31435 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31436 {
31437 return 0;
31438 }
31439 else
31440 {
31441 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31442 gtk_major_version, gtk_minor_version, gtk_micro_version);
31443 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31444 major, minor, micro);
31445 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31446 printf("***\n");
31447 printf("*** If you have already installed a sufficiently new version, this error\n");
31448 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31449 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31450 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31451 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31452 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31453 printf("*** so that the correct libraries are found at run-time))\n");
31454 }
31455 }
31456 return 1;
31457 }
31458
31459 _ACEOF
31460 rm -f conftest$ac_exeext
31461 if { (ac_try="$ac_link"
31462 case "(($ac_try" in
31463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31464 *) ac_try_echo=$ac_try;;
31465 esac
31466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31467 (eval "$ac_link") 2>&5
31468 ac_status=$?
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31471 { (case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31473 *) ac_try_echo=$ac_try;;
31474 esac
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_try") 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; }; then
31480 :
31481 else
31482 echo "$as_me: program exited with status $ac_status" >&5
31483 echo "$as_me: failed program was:" >&5
31484 sed 's/^/| /' conftest.$ac_ext >&5
31485
31486 ( exit $ac_status )
31487 no_gtk=yes
31488 fi
31489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31490 fi
31491
31492
31493 CFLAGS="$ac_save_CFLAGS"
31494 LIBS="$ac_save_LIBS"
31495 fi
31496 fi
31497 if test "x$no_gtk" = x ; then
31498 { echo "$as_me:$LINENO: result: yes" >&5
31499 echo "${ECHO_T}yes" >&6; }
31500 wx_cv_lib_gtk=1.2.3
31501 else
31502 { echo "$as_me:$LINENO: result: no" >&5
31503 echo "${ECHO_T}no" >&6; }
31504 if test "$GTK_CONFIG" = "no" ; then
31505 echo "*** The gtk-config script installed by GTK could not be found"
31506 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31507 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31508 echo "*** full path to gtk-config."
31509 else
31510 if test -f conf.gtktest ; then
31511 :
31512 else
31513 echo "*** Could not run GTK test program, checking why..."
31514 CFLAGS="$CFLAGS $GTK_CFLAGS"
31515 LIBS="$LIBS $GTK_LIBS"
31516 cat >conftest.$ac_ext <<_ACEOF
31517 /* confdefs.h. */
31518 _ACEOF
31519 cat confdefs.h >>conftest.$ac_ext
31520 cat >>conftest.$ac_ext <<_ACEOF
31521 /* end confdefs.h. */
31522
31523 #include <gtk/gtk.h>
31524 #include <stdio.h>
31525
31526 int
31527 main ()
31528 {
31529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31530 ;
31531 return 0;
31532 }
31533 _ACEOF
31534 rm -f conftest.$ac_objext conftest$ac_exeext
31535 if { (ac_try="$ac_link"
31536 case "(($ac_try" in
31537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31538 *) ac_try_echo=$ac_try;;
31539 esac
31540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31541 (eval "$ac_link") 2>conftest.er1
31542 ac_status=$?
31543 grep -v '^ *+' conftest.er1 >conftest.err
31544 rm -f conftest.er1
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } && {
31548 test -z "$ac_c_werror_flag" ||
31549 test ! -s conftest.err
31550 } && test -s conftest$ac_exeext &&
31551 $as_test_x conftest$ac_exeext; then
31552 echo "*** The test program compiled, but did not run. This usually means"
31553 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31554 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31557 echo "*** is required on your system"
31558 echo "***"
31559 echo "*** If you have an old version installed, it is best to remove it, although"
31560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31561 echo "***"
31562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31563 echo "*** came with the system with the command"
31564 echo "***"
31565 echo "*** rpm --erase --nodeps gtk gtk-devel"
31566 else
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.$ac_ext >&5
31569
31570 echo "*** The test program failed to compile or link. See the file config.log for the"
31571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31574 fi
31575
31576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31577 conftest$ac_exeext conftest.$ac_ext
31578 CFLAGS="$ac_save_CFLAGS"
31579 LIBS="$ac_save_LIBS"
31580 fi
31581 fi
31582 GTK_CFLAGS=""
31583 GTK_LIBS=""
31584 :
31585 fi
31586
31587
31588 rm -f conf.gtktest
31589
31590 fi
31591 fi
31592 fi
31593
31594 if test -z "$wx_cv_lib_gtk"; then
31595 wx_cv_lib_gtk=none
31596 else
31597 wx_cv_cflags_gtk=$GTK_CFLAGS
31598 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31599 fi
31600
31601
31602 fi
31603
31604
31605 if test "$gtk_version_cached" = 1; then
31606 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31607 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31608 fi
31609
31610 case "$wx_cv_lib_gtk" in
31611 2.0) WXGTK2=1
31612 TOOLKIT_VERSION=2
31613 ;;
31614 1.2.7) WXGTK127=1
31615 WXGTK12=1
31616 ;;
31617 1.2.3) WXGTK12=1
31618 ;;
31619 *) { { echo "$as_me:$LINENO: error:
31620 The development files for GTK+ were not found. For GTK+ 2, please
31621 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31622 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31623 and that the version is 1.2.3 or above. Also check that the
31624 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31625 --libs' are in the LD_LIBRARY_PATH or equivalent.
31626 " >&5
31627 echo "$as_me: error:
31628 The development files for GTK+ were not found. For GTK+ 2, please
31629 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31630 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31631 and that the version is 1.2.3 or above. Also check that the
31632 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31633 --libs' are in the LD_LIBRARY_PATH or equivalent.
31634 " >&2;}
31635 { (exit 1); exit 1; }; }
31636 ;;
31637 esac
31638
31639 if test "$WXGTK2" = 1; then
31640 save_CFLAGS="$CFLAGS"
31641 save_LIBS="$LIBS"
31642 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31643 LIBS="$LIBS $wx_cv_libs_gtk"
31644
31645 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31646 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31647 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 else
31650 cat >conftest.$ac_ext <<_ACEOF
31651 /* confdefs.h. */
31652 _ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 #include <gtk/gtk.h>
31657
31658 int
31659 main ()
31660 {
31661 #ifndef gtk_icon_size_lookup
31662 (void) gtk_icon_size_lookup;
31663 #endif
31664
31665 ;
31666 return 0;
31667 }
31668 _ACEOF
31669 rm -f conftest.$ac_objext
31670 if { (ac_try="$ac_compile"
31671 case "(($ac_try" in
31672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31673 *) ac_try_echo=$ac_try;;
31674 esac
31675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31676 (eval "$ac_compile") 2>conftest.er1
31677 ac_status=$?
31678 grep -v '^ *+' conftest.er1 >conftest.err
31679 rm -f conftest.er1
31680 cat conftest.err >&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } && {
31683 test -z "$ac_c_werror_flag" ||
31684 test ! -s conftest.err
31685 } && test -s conftest.$ac_objext; then
31686 ac_cv_have_decl_gtk_icon_size_lookup=yes
31687 else
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691 ac_cv_have_decl_gtk_icon_size_lookup=no
31692 fi
31693
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695 fi
31696 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31697 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31698 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31699
31700 cat >>confdefs.h <<_ACEOF
31701 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31702 _ACEOF
31703
31704
31705 else
31706 cat >>confdefs.h <<_ACEOF
31707 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31708 _ACEOF
31709
31710 cat >>confdefs.h <<\_ACEOF
31711 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31712 _ACEOF
31713
31714 fi
31715
31716
31717
31718
31719 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31720 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31721 cat >conftest.$ac_ext <<_ACEOF
31722 /* confdefs.h. */
31723 _ACEOF
31724 cat confdefs.h >>conftest.$ac_ext
31725 cat >>conftest.$ac_ext <<_ACEOF
31726 /* end confdefs.h. */
31727
31728 #include <gtk/gtk.h>
31729
31730 int
31731 main ()
31732 {
31733
31734 #if !GTK_CHECK_VERSION(2,10,0)
31735 Not GTK+ 2.10
31736 #endif
31737
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 rm -f conftest.$ac_objext
31743 if { (ac_try="$ac_compile"
31744 case "(($ac_try" in
31745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31746 *) ac_try_echo=$ac_try;;
31747 esac
31748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31749 (eval "$ac_compile") 2>conftest.er1
31750 ac_status=$?
31751 grep -v '^ *+' conftest.er1 >conftest.err
31752 rm -f conftest.er1
31753 cat conftest.err >&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } && {
31756 test -z "$ac_c_werror_flag" ||
31757 test ! -s conftest.err
31758 } && test -s conftest.$ac_objext; then
31759
31760 cat >>confdefs.h <<\_ACEOF
31761 #define __WXGTK210__ 1
31762 _ACEOF
31763
31764 cat >>confdefs.h <<\_ACEOF
31765 #define __WXGTK26__ 1
31766 _ACEOF
31767
31768 { echo "$as_me:$LINENO: result: yes" >&5
31769 echo "${ECHO_T}yes" >&6; }
31770 ac_wxgtk210=1
31771
31772 else
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.$ac_ext >&5
31775
31776
31777 { echo "$as_me:$LINENO: result: no" >&5
31778 echo "${ECHO_T}no" >&6; }
31779 ac_wxgtk210=0
31780
31781 fi
31782
31783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31784
31785 if test "$ac_wxgtk210" = 0; then
31786 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31787 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31788 cat >conftest.$ac_ext <<_ACEOF
31789 /* confdefs.h. */
31790 _ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31794
31795 #include <gtk/gtk.h>
31796
31797 int
31798 main ()
31799 {
31800
31801 #if !GTK_CHECK_VERSION(2,6,0)
31802 Not GTK+ 2.6
31803 #endif
31804
31805 ;
31806 return 0;
31807 }
31808 _ACEOF
31809 rm -f conftest.$ac_objext
31810 if { (ac_try="$ac_compile"
31811 case "(($ac_try" in
31812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31813 *) ac_try_echo=$ac_try;;
31814 esac
31815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31816 (eval "$ac_compile") 2>conftest.er1
31817 ac_status=$?
31818 grep -v '^ *+' conftest.er1 >conftest.err
31819 rm -f conftest.er1
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } && {
31823 test -z "$ac_c_werror_flag" ||
31824 test ! -s conftest.err
31825 } && test -s conftest.$ac_objext; then
31826
31827 cat >>confdefs.h <<\_ACEOF
31828 #define __WXGTK26__ 1
31829 _ACEOF
31830
31831 { echo "$as_me:$LINENO: result: yes" >&5
31832 echo "${ECHO_T}yes" >&6; }
31833 ac_wxgtk26=1
31834
31835 else
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.$ac_ext >&5
31838
31839
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31842 ac_wxgtk26=0
31843
31844 fi
31845
31846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31847 fi
31848
31849 CFLAGS="$save_CFLAGS"
31850 LIBS="$save_LIBS"
31851 else
31852 if test "$wxUSE_UNICODE" = "yes"; then
31853 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31854 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31855 wxUSE_UNICODE=no
31856 fi
31857
31858 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31859 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31860 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31862 else
31863 ac_check_lib_save_LIBS=$LIBS
31864 LIBS="-lgdk $LIBS"
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h. */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871
31872 /* Override any GCC internal prototype to avoid an error.
31873 Use char because int might match the return type of a GCC
31874 builtin and then its argument prototype would still apply. */
31875 #ifdef __cplusplus
31876 extern "C"
31877 #endif
31878 char gdk_im_open ();
31879 int
31880 main ()
31881 {
31882 return gdk_im_open ();
31883 ;
31884 return 0;
31885 }
31886 _ACEOF
31887 rm -f conftest.$ac_objext conftest$ac_exeext
31888 if { (ac_try="$ac_link"
31889 case "(($ac_try" in
31890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31891 *) ac_try_echo=$ac_try;;
31892 esac
31893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31894 (eval "$ac_link") 2>conftest.er1
31895 ac_status=$?
31896 grep -v '^ *+' conftest.er1 >conftest.err
31897 rm -f conftest.er1
31898 cat conftest.err >&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); } && {
31901 test -z "$ac_c_werror_flag" ||
31902 test ! -s conftest.err
31903 } && test -s conftest$ac_exeext &&
31904 $as_test_x conftest$ac_exeext; then
31905 ac_cv_lib_gdk_gdk_im_open=yes
31906 else
31907 echo "$as_me: failed program was:" >&5
31908 sed 's/^/| /' conftest.$ac_ext >&5
31909
31910 ac_cv_lib_gdk_gdk_im_open=no
31911 fi
31912
31913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31914 conftest$ac_exeext conftest.$ac_ext
31915 LIBS=$ac_check_lib_save_LIBS
31916 fi
31917 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31918 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31919 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31920 cat >>confdefs.h <<\_ACEOF
31921 #define HAVE_XIM 1
31922 _ACEOF
31923
31924 fi
31925
31926
31927 if test "$USE_DARWIN" != 1; then
31928
31929 for ac_func in poll
31930 do
31931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31936 else
31937 cat >conftest.$ac_ext <<_ACEOF
31938 /* confdefs.h. */
31939 _ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31945 #define $ac_func innocuous_$ac_func
31946
31947 /* System header to define __stub macros and hopefully few prototypes,
31948 which can conflict with char $ac_func (); below.
31949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31950 <limits.h> exists even on freestanding compilers. */
31951
31952 #ifdef __STDC__
31953 # include <limits.h>
31954 #else
31955 # include <assert.h>
31956 #endif
31957
31958 #undef $ac_func
31959
31960 /* Override any GCC internal prototype to avoid an error.
31961 Use char because int might match the return type of a GCC
31962 builtin and then its argument prototype would still apply. */
31963 #ifdef __cplusplus
31964 extern "C"
31965 #endif
31966 char $ac_func ();
31967 /* The GNU C library defines this for functions which it implements
31968 to always fail with ENOSYS. Some functions are actually named
31969 something starting with __ and the normal name is an alias. */
31970 #if defined __stub_$ac_func || defined __stub___$ac_func
31971 choke me
31972 #endif
31973
31974 int
31975 main ()
31976 {
31977 return $ac_func ();
31978 ;
31979 return 0;
31980 }
31981 _ACEOF
31982 rm -f conftest.$ac_objext conftest$ac_exeext
31983 if { (ac_try="$ac_link"
31984 case "(($ac_try" in
31985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31986 *) ac_try_echo=$ac_try;;
31987 esac
31988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31989 (eval "$ac_link") 2>conftest.er1
31990 ac_status=$?
31991 grep -v '^ *+' conftest.er1 >conftest.err
31992 rm -f conftest.er1
31993 cat conftest.err >&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } && {
31996 test -z "$ac_c_werror_flag" ||
31997 test ! -s conftest.err
31998 } && test -s conftest$ac_exeext &&
31999 $as_test_x conftest$ac_exeext; then
32000 eval "$as_ac_var=yes"
32001 else
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.$ac_ext >&5
32004
32005 eval "$as_ac_var=no"
32006 fi
32007
32008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32009 conftest$ac_exeext conftest.$ac_ext
32010 fi
32011 ac_res=`eval echo '${'$as_ac_var'}'`
32012 { echo "$as_me:$LINENO: result: $ac_res" >&5
32013 echo "${ECHO_T}$ac_res" >&6; }
32014 if test `eval echo '${'$as_ac_var'}'` = yes; then
32015 cat >>confdefs.h <<_ACEOF
32016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32017 _ACEOF
32018
32019 fi
32020 done
32021
32022 fi
32023 fi
32024
32025 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32026 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32027
32028 AFMINSTALL=afminstall
32029 TOOLKIT=GTK
32030 GUIDIST=GTK_DIST
32031
32032 if test "$wxUSE_GPE" = "yes"; then
32033 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32034 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32035
32036 ac_find_libraries=
32037 for ac_dir in $SEARCH_LIB;
32038 do
32039 for ac_extension in a so sl dylib dll.a; do
32040 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32041 ac_find_libraries=$ac_dir
32042 break 2
32043 fi
32044 done
32045 done
32046
32047 if test "$ac_find_libraries" != "" ; then
32048
32049 if test "$ac_find_libraries" = "default location"; then
32050 ac_path_to_link=""
32051 else
32052 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32053 result=$?
32054 if test $result = 0; then
32055 ac_path_to_link=""
32056 else
32057 ac_path_to_link=" -L$ac_find_libraries"
32058 fi
32059 fi
32060
32061 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32062 WXGPE=1
32063 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32064 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32065 else
32066 { echo "$as_me:$LINENO: result: not found" >&5
32067 echo "${ECHO_T}not found" >&6; }
32068 fi
32069
32070 fi
32071 fi
32072
32073 if test "$wxUSE_MGL" = 1; then
32074 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32075 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32076 if test "x$MGL_ROOT" = x ; then
32077 { echo "$as_me:$LINENO: result: not found" >&5
32078 echo "${ECHO_T}not found" >&6; }
32079 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32080 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32081 { (exit 1); exit 1; }; }
32082 else
32083 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32084 echo "${ECHO_T}$MGL_ROOT" >&6; }
32085 fi
32086
32087 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32088 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32089 case "${host}" in
32090 *-*-linux* )
32091 if test "x$wxUSE_SHARED" = xyes ; then
32092 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32093 else
32094 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32095 fi
32096 ;;
32097 *-pc-msdosdjgpp )
32098 mgl_os_candidates="dos32/dj2"
32099 ;;
32100 *)
32101 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32102 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32103 { (exit 1); exit 1; }; }
32104 esac
32105
32106 mgl_lib_type=""
32107 mgl_os=""
32108
32109 for mgl_os_i in $mgl_os_candidates ; do
32110 if test "x$mgl_os" = x ; then
32111 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32112 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32113 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32114 mgl_lib_type=debug
32115 mgl_os=$mgl_os_i
32116 fi
32117 fi
32118 if test "x$mgl_lib_type" = x ; then
32119 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32120 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32121 mgl_lib_type=release
32122 mgl_os=$mgl_os_i
32123 fi
32124 fi
32125 fi
32126 done
32127
32128 if test "x$mgl_os" = x ; then
32129 { echo "$as_me:$LINENO: result: not found" >&5
32130 echo "${ECHO_T}not found" >&6; }
32131 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32132 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32133 { (exit 1); exit 1; }; }
32134 fi
32135 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32136 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32137
32138 wxUSE_UNIVERSAL="yes"
32139
32140 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32141 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32142
32143 AFMINSTALL=afminstall
32144 TOOLKIT=MGL
32145 GUIDIST=MGL_DIST
32146 fi
32147
32148 if test "$wxUSE_DFB" = 1; then
32149
32150
32151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32152 if test -n "$ac_tool_prefix"; then
32153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 else
32160 case $PKG_CONFIG in
32161 [\\/]* | ?:[\\/]*)
32162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32163 ;;
32164 *)
32165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32166 for as_dir in $PATH
32167 do
32168 IFS=$as_save_IFS
32169 test -z "$as_dir" && as_dir=.
32170 for ac_exec_ext in '' $ac_executable_extensions; do
32171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32174 break 2
32175 fi
32176 done
32177 done
32178 IFS=$as_save_IFS
32179
32180 ;;
32181 esac
32182 fi
32183 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32184 if test -n "$PKG_CONFIG"; then
32185 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32186 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32187 else
32188 { echo "$as_me:$LINENO: result: no" >&5
32189 echo "${ECHO_T}no" >&6; }
32190 fi
32191
32192
32193 fi
32194 if test -z "$ac_cv_path_PKG_CONFIG"; then
32195 ac_pt_PKG_CONFIG=$PKG_CONFIG
32196 # Extract the first word of "pkg-config", so it can be a program name with args.
32197 set dummy pkg-config; ac_word=$2
32198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32200 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32202 else
32203 case $ac_pt_PKG_CONFIG in
32204 [\\/]* | ?:[\\/]*)
32205 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32206 ;;
32207 *)
32208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32209 for as_dir in $PATH
32210 do
32211 IFS=$as_save_IFS
32212 test -z "$as_dir" && as_dir=.
32213 for ac_exec_ext in '' $ac_executable_extensions; do
32214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32215 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32217 break 2
32218 fi
32219 done
32220 done
32221 IFS=$as_save_IFS
32222
32223 ;;
32224 esac
32225 fi
32226 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32227 if test -n "$ac_pt_PKG_CONFIG"; then
32228 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32229 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32230 else
32231 { echo "$as_me:$LINENO: result: no" >&5
32232 echo "${ECHO_T}no" >&6; }
32233 fi
32234
32235 if test "x$ac_pt_PKG_CONFIG" = x; then
32236 PKG_CONFIG=""
32237 else
32238 case $cross_compiling:$ac_tool_warned in
32239 yes:)
32240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32241 whose name does not start with the host triplet. If you think this
32242 configuration is useful to you, please write to autoconf@gnu.org." >&5
32243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32244 whose name does not start with the host triplet. If you think this
32245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32246 ac_tool_warned=yes ;;
32247 esac
32248 PKG_CONFIG=$ac_pt_PKG_CONFIG
32249 fi
32250 else
32251 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32252 fi
32253
32254 fi
32255 if test -n "$PKG_CONFIG"; then
32256 _pkg_min_version=0.9.0
32257 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32258 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32260 { echo "$as_me:$LINENO: result: yes" >&5
32261 echo "${ECHO_T}yes" >&6; }
32262 else
32263 { echo "$as_me:$LINENO: result: no" >&5
32264 echo "${ECHO_T}no" >&6; }
32265 PKG_CONFIG=""
32266 fi
32267
32268 fi
32269
32270
32271 pkg_failed=no
32272 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32273 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32274
32275 if test -n "$PKG_CONFIG"; then
32276 if test -n "$DIRECTFB_CFLAGS"; then
32277 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32278 else
32279 if test -n "$PKG_CONFIG" && \
32280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32281 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32282 ac_status=$?
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; then
32285 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32286 else
32287 pkg_failed=yes
32288 fi
32289 fi
32290 else
32291 pkg_failed=untried
32292 fi
32293 if test -n "$PKG_CONFIG"; then
32294 if test -n "$DIRECTFB_LIBS"; then
32295 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32296 else
32297 if test -n "$PKG_CONFIG" && \
32298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32299 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32300 ac_status=$?
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; then
32303 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32304 else
32305 pkg_failed=yes
32306 fi
32307 fi
32308 else
32309 pkg_failed=untried
32310 fi
32311
32312
32313
32314 if test $pkg_failed = yes; then
32315
32316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32317 _pkg_short_errors_supported=yes
32318 else
32319 _pkg_short_errors_supported=no
32320 fi
32321 if test $_pkg_short_errors_supported = yes; then
32322 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32323 else
32324 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32325 fi
32326 # Put the nasty error message in config.log where it belongs
32327 echo "$DIRECTFB_PKG_ERRORS" >&5
32328
32329
32330 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32331 echo "$as_me: error: DirectFB not found." >&2;}
32332 { (exit 1); exit 1; }; }
32333
32334
32335 elif test $pkg_failed = untried; then
32336
32337 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32338 echo "$as_me: error: DirectFB not found." >&2;}
32339 { (exit 1); exit 1; }; }
32340
32341
32342 else
32343 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32344 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32345 { echo "$as_me:$LINENO: result: yes" >&5
32346 echo "${ECHO_T}yes" >&6; }
32347
32348 wxUSE_UNIVERSAL="yes"
32349 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32350 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32351 TOOLKIT=DFB
32352 GUIDIST=DFB_DIST
32353
32354 fi
32355 fi
32356
32357 if test "$wxUSE_MICROWIN" = 1; then
32358 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32359 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32360 if test "x$MICROWINDOWS" = x ; then
32361 { echo "$as_me:$LINENO: result: not found" >&5
32362 echo "${ECHO_T}not found" >&6; }
32363 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32364 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32365 { (exit 1); exit 1; }; }
32366 else
32367 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32368 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32369 fi
32370
32371 if test -f $MICROWINDOWS/lib/libmwin.a; then
32372 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32373 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32374 else
32375 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32376 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32377 { (exit 1); exit 1; }; }
32378 fi
32379
32380 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32381 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32382
32383 wxUSE_UNIVERSAL="yes"
32384
32385 AFMINSTALL=afminstall
32386 TOOLKIT=MICROWIN
32387 GUIDIST=MICROWIN_DIST
32388
32389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32390 fi
32391
32392 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32393 { echo "$as_me:$LINENO: checking for X" >&5
32394 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32395
32396
32397 # Check whether --with-x was given.
32398 if test "${with_x+set}" = set; then
32399 withval=$with_x;
32400 fi
32401
32402 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32403 if test "x$with_x" = xno; then
32404 # The user explicitly disabled X.
32405 have_x=disabled
32406 else
32407 case $x_includes,$x_libraries in #(
32408 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32409 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32410 { (exit 1); exit 1; }; };; #(
32411 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32412 echo $ECHO_N "(cached) $ECHO_C" >&6
32413 else
32414 # One or both of the vars are not set, and there is no cached value.
32415 ac_x_includes=no ac_x_libraries=no
32416 rm -f -r conftest.dir
32417 if mkdir conftest.dir; then
32418 cd conftest.dir
32419 cat >Imakefile <<'_ACEOF'
32420 incroot:
32421 @echo incroot='${INCROOT}'
32422 usrlibdir:
32423 @echo usrlibdir='${USRLIBDIR}'
32424 libdir:
32425 @echo libdir='${LIBDIR}'
32426 _ACEOF
32427 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32428 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32429 for ac_var in incroot usrlibdir libdir; do
32430 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32431 done
32432 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32433 for ac_extension in a so sl; do
32434 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32435 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32436 ac_im_usrlibdir=$ac_im_libdir; break
32437 fi
32438 done
32439 # Screen out bogus values from the imake configuration. They are
32440 # bogus both because they are the default anyway, and because
32441 # using them would break gcc on systems where it needs fixed includes.
32442 case $ac_im_incroot in
32443 /usr/include) ac_x_includes= ;;
32444 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32445 esac
32446 case $ac_im_usrlibdir in
32447 /usr/lib | /lib) ;;
32448 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32449 esac
32450 fi
32451 cd ..
32452 rm -f -r conftest.dir
32453 fi
32454
32455 # Standard set of common directories for X headers.
32456 # Check X11 before X11Rn because it is often a symlink to the current release.
32457 ac_x_header_dirs='
32458 /usr/X11/include
32459 /usr/X11R6/include
32460 /usr/X11R5/include
32461 /usr/X11R4/include
32462
32463 /usr/include/X11
32464 /usr/include/X11R6
32465 /usr/include/X11R5
32466 /usr/include/X11R4
32467
32468 /usr/local/X11/include
32469 /usr/local/X11R6/include
32470 /usr/local/X11R5/include
32471 /usr/local/X11R4/include
32472
32473 /usr/local/include/X11
32474 /usr/local/include/X11R6
32475 /usr/local/include/X11R5
32476 /usr/local/include/X11R4
32477
32478 /usr/X386/include
32479 /usr/x386/include
32480 /usr/XFree86/include/X11
32481
32482 /usr/include
32483 /usr/local/include
32484 /usr/unsupported/include
32485 /usr/athena/include
32486 /usr/local/x11r5/include
32487 /usr/lpp/Xamples/include
32488
32489 /usr/openwin/include
32490 /usr/openwin/share/include'
32491
32492 if test "$ac_x_includes" = no; then
32493 # Guess where to find include files, by looking for Xlib.h.
32494 # First, try using that file with no special directory specified.
32495 cat >conftest.$ac_ext <<_ACEOF
32496 /* confdefs.h. */
32497 _ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 #include <X11/Xlib.h>
32502 _ACEOF
32503 if { (ac_try="$ac_cpp conftest.$ac_ext"
32504 case "(($ac_try" in
32505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32506 *) ac_try_echo=$ac_try;;
32507 esac
32508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32510 ac_status=$?
32511 grep -v '^ *+' conftest.er1 >conftest.err
32512 rm -f conftest.er1
32513 cat conftest.err >&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); } >/dev/null && {
32516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32517 test ! -s conftest.err
32518 }; then
32519 # We can compile using X headers with no special include directory.
32520 ac_x_includes=
32521 else
32522 echo "$as_me: failed program was:" >&5
32523 sed 's/^/| /' conftest.$ac_ext >&5
32524
32525 for ac_dir in $ac_x_header_dirs; do
32526 if test -r "$ac_dir/X11/Xlib.h"; then
32527 ac_x_includes=$ac_dir
32528 break
32529 fi
32530 done
32531 fi
32532
32533 rm -f conftest.err conftest.$ac_ext
32534 fi # $ac_x_includes = no
32535
32536 if test "$ac_x_libraries" = no; then
32537 # Check for the libraries.
32538 # See if we find them without any special options.
32539 # Don't add to $LIBS permanently.
32540 ac_save_LIBS=$LIBS
32541 LIBS="-lX11 $LIBS"
32542 cat >conftest.$ac_ext <<_ACEOF
32543 /* confdefs.h. */
32544 _ACEOF
32545 cat confdefs.h >>conftest.$ac_ext
32546 cat >>conftest.$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 #include <X11/Xlib.h>
32549 int
32550 main ()
32551 {
32552 XrmInitialize ()
32553 ;
32554 return 0;
32555 }
32556 _ACEOF
32557 rm -f conftest.$ac_objext conftest$ac_exeext
32558 if { (ac_try="$ac_link"
32559 case "(($ac_try" in
32560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32561 *) ac_try_echo=$ac_try;;
32562 esac
32563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32564 (eval "$ac_link") 2>conftest.er1
32565 ac_status=$?
32566 grep -v '^ *+' conftest.er1 >conftest.err
32567 rm -f conftest.er1
32568 cat conftest.err >&5
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); } && {
32571 test -z "$ac_c_werror_flag" ||
32572 test ! -s conftest.err
32573 } && test -s conftest$ac_exeext &&
32574 $as_test_x conftest$ac_exeext; then
32575 LIBS=$ac_save_LIBS
32576 # We can link X programs with no special library path.
32577 ac_x_libraries=
32578 else
32579 echo "$as_me: failed program was:" >&5
32580 sed 's/^/| /' conftest.$ac_ext >&5
32581
32582 LIBS=$ac_save_LIBS
32583 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32584 do
32585 # Don't even attempt the hair of trying to link an X program!
32586 for ac_extension in a so sl; do
32587 if test -r "$ac_dir/libX11.$ac_extension"; then
32588 ac_x_libraries=$ac_dir
32589 break 2
32590 fi
32591 done
32592 done
32593 fi
32594
32595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32596 conftest$ac_exeext conftest.$ac_ext
32597 fi # $ac_x_libraries = no
32598
32599 case $ac_x_includes,$ac_x_libraries in #(
32600 no,* | *,no | *\'*)
32601 # Didn't find X, or a directory has "'" in its name.
32602 ac_cv_have_x="have_x=no";; #(
32603 *)
32604 # Record where we found X for the cache.
32605 ac_cv_have_x="have_x=yes\
32606 ac_x_includes='$ac_x_includes'\
32607 ac_x_libraries='$ac_x_libraries'"
32608 esac
32609 fi
32610 ;; #(
32611 *) have_x=yes;;
32612 esac
32613 eval "$ac_cv_have_x"
32614 fi # $with_x != no
32615
32616 if test "$have_x" != yes; then
32617 { echo "$as_me:$LINENO: result: $have_x" >&5
32618 echo "${ECHO_T}$have_x" >&6; }
32619 no_x=yes
32620 else
32621 # If each of the values was on the command line, it overrides each guess.
32622 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32623 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32624 # Update the cache value to reflect the command line values.
32625 ac_cv_have_x="have_x=yes\
32626 ac_x_includes='$x_includes'\
32627 ac_x_libraries='$x_libraries'"
32628 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32629 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32630 fi
32631
32632 if test "$no_x" = yes; then
32633 # Not all programs may use this symbol, but it does not hurt to define it.
32634
32635 cat >>confdefs.h <<\_ACEOF
32636 #define X_DISPLAY_MISSING 1
32637 _ACEOF
32638
32639 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32640 else
32641 if test -n "$x_includes"; then
32642 X_CFLAGS="$X_CFLAGS -I$x_includes"
32643 fi
32644
32645 # It would also be nice to do this for all -L options, not just this one.
32646 if test -n "$x_libraries"; then
32647 X_LIBS="$X_LIBS -L$x_libraries"
32648 # For Solaris; some versions of Sun CC require a space after -R and
32649 # others require no space. Words are not sufficient . . . .
32650 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32651 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32652 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32653 ac_xsave_c_werror_flag=$ac_c_werror_flag
32654 ac_c_werror_flag=yes
32655 cat >conftest.$ac_ext <<_ACEOF
32656 /* confdefs.h. */
32657 _ACEOF
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661
32662 int
32663 main ()
32664 {
32665
32666 ;
32667 return 0;
32668 }
32669 _ACEOF
32670 rm -f conftest.$ac_objext conftest$ac_exeext
32671 if { (ac_try="$ac_link"
32672 case "(($ac_try" in
32673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32674 *) ac_try_echo=$ac_try;;
32675 esac
32676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32677 (eval "$ac_link") 2>conftest.er1
32678 ac_status=$?
32679 grep -v '^ *+' conftest.er1 >conftest.err
32680 rm -f conftest.er1
32681 cat conftest.err >&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); } && {
32684 test -z "$ac_c_werror_flag" ||
32685 test ! -s conftest.err
32686 } && test -s conftest$ac_exeext &&
32687 $as_test_x conftest$ac_exeext; then
32688 { echo "$as_me:$LINENO: result: no" >&5
32689 echo "${ECHO_T}no" >&6; }
32690 X_LIBS="$X_LIBS -R$x_libraries"
32691 else
32692 echo "$as_me: failed program was:" >&5
32693 sed 's/^/| /' conftest.$ac_ext >&5
32694
32695 LIBS="$ac_xsave_LIBS -R $x_libraries"
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702
32703 int
32704 main ()
32705 {
32706
32707 ;
32708 return 0;
32709 }
32710 _ACEOF
32711 rm -f conftest.$ac_objext conftest$ac_exeext
32712 if { (ac_try="$ac_link"
32713 case "(($ac_try" in
32714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32715 *) ac_try_echo=$ac_try;;
32716 esac
32717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32718 (eval "$ac_link") 2>conftest.er1
32719 ac_status=$?
32720 grep -v '^ *+' conftest.er1 >conftest.err
32721 rm -f conftest.er1
32722 cat conftest.err >&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } && {
32725 test -z "$ac_c_werror_flag" ||
32726 test ! -s conftest.err
32727 } && test -s conftest$ac_exeext &&
32728 $as_test_x conftest$ac_exeext; then
32729 { echo "$as_me:$LINENO: result: yes" >&5
32730 echo "${ECHO_T}yes" >&6; }
32731 X_LIBS="$X_LIBS -R $x_libraries"
32732 else
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32735
32736 { echo "$as_me:$LINENO: result: neither works" >&5
32737 echo "${ECHO_T}neither works" >&6; }
32738 fi
32739
32740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32741 conftest$ac_exeext conftest.$ac_ext
32742 fi
32743
32744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32745 conftest$ac_exeext conftest.$ac_ext
32746 ac_c_werror_flag=$ac_xsave_c_werror_flag
32747 LIBS=$ac_xsave_LIBS
32748 fi
32749
32750 # Check for system-dependent libraries X programs must link with.
32751 # Do this before checking for the system-independent R6 libraries
32752 # (-lICE), since we may need -lsocket or whatever for X linking.
32753
32754 if test "$ISC" = yes; then
32755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32756 else
32757 # Martyn Johnson says this is needed for Ultrix, if the X
32758 # libraries were built with DECnet support. And Karl Berry says
32759 # the Alpha needs dnet_stub (dnet does not exist).
32760 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767
32768 /* Override any GCC internal prototype to avoid an error.
32769 Use char because int might match the return type of a GCC
32770 builtin and then its argument prototype would still apply. */
32771 #ifdef __cplusplus
32772 extern "C"
32773 #endif
32774 char XOpenDisplay ();
32775 int
32776 main ()
32777 {
32778 return XOpenDisplay ();
32779 ;
32780 return 0;
32781 }
32782 _ACEOF
32783 rm -f conftest.$ac_objext conftest$ac_exeext
32784 if { (ac_try="$ac_link"
32785 case "(($ac_try" in
32786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32787 *) ac_try_echo=$ac_try;;
32788 esac
32789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32790 (eval "$ac_link") 2>conftest.er1
32791 ac_status=$?
32792 grep -v '^ *+' conftest.er1 >conftest.err
32793 rm -f conftest.er1
32794 cat conftest.err >&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } && {
32797 test -z "$ac_c_werror_flag" ||
32798 test ! -s conftest.err
32799 } && test -s conftest$ac_exeext &&
32800 $as_test_x conftest$ac_exeext; then
32801 :
32802 else
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32805
32806 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32807 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32808 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811 ac_check_lib_save_LIBS=$LIBS
32812 LIBS="-ldnet $LIBS"
32813 cat >conftest.$ac_ext <<_ACEOF
32814 /* confdefs.h. */
32815 _ACEOF
32816 cat confdefs.h >>conftest.$ac_ext
32817 cat >>conftest.$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32819
32820 /* Override any GCC internal prototype to avoid an error.
32821 Use char because int might match the return type of a GCC
32822 builtin and then its argument prototype would still apply. */
32823 #ifdef __cplusplus
32824 extern "C"
32825 #endif
32826 char dnet_ntoa ();
32827 int
32828 main ()
32829 {
32830 return dnet_ntoa ();
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext conftest$ac_exeext
32836 if { (ac_try="$ac_link"
32837 case "(($ac_try" in
32838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32840 esac
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_link") 2>conftest.er1
32843 ac_status=$?
32844 grep -v '^ *+' conftest.er1 >conftest.err
32845 rm -f conftest.er1
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest$ac_exeext &&
32852 $as_test_x conftest$ac_exeext; then
32853 ac_cv_lib_dnet_dnet_ntoa=yes
32854 else
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32857
32858 ac_cv_lib_dnet_dnet_ntoa=no
32859 fi
32860
32861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32862 conftest$ac_exeext conftest.$ac_ext
32863 LIBS=$ac_check_lib_save_LIBS
32864 fi
32865 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32866 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32867 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32868 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32869 fi
32870
32871 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32872 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32873 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32874 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32875 echo $ECHO_N "(cached) $ECHO_C" >&6
32876 else
32877 ac_check_lib_save_LIBS=$LIBS
32878 LIBS="-ldnet_stub $LIBS"
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885
32886 /* Override any GCC internal prototype to avoid an error.
32887 Use char because int might match the return type of a GCC
32888 builtin and then its argument prototype would still apply. */
32889 #ifdef __cplusplus
32890 extern "C"
32891 #endif
32892 char dnet_ntoa ();
32893 int
32894 main ()
32895 {
32896 return dnet_ntoa ();
32897 ;
32898 return 0;
32899 }
32900 _ACEOF
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (ac_try="$ac_link"
32903 case "(($ac_try" in
32904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32905 *) ac_try_echo=$ac_try;;
32906 esac
32907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 (eval "$ac_link") 2>conftest.er1
32909 ac_status=$?
32910 grep -v '^ *+' conftest.er1 >conftest.err
32911 rm -f conftest.er1
32912 cat conftest.err >&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } && {
32915 test -z "$ac_c_werror_flag" ||
32916 test ! -s conftest.err
32917 } && test -s conftest$ac_exeext &&
32918 $as_test_x conftest$ac_exeext; then
32919 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32920 else
32921 echo "$as_me: failed program was:" >&5
32922 sed 's/^/| /' conftest.$ac_ext >&5
32923
32924 ac_cv_lib_dnet_stub_dnet_ntoa=no
32925 fi
32926
32927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32928 conftest$ac_exeext conftest.$ac_ext
32929 LIBS=$ac_check_lib_save_LIBS
32930 fi
32931 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32932 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32933 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32934 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32935 fi
32936
32937 fi
32938 fi
32939
32940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32941 conftest$ac_exeext conftest.$ac_ext
32942 LIBS="$ac_xsave_LIBS"
32943
32944 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32945 # to get the SysV transport functions.
32946 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32947 # needs -lnsl.
32948 # The nsl library prevents programs from opening the X display
32949 # on Irix 5.2, according to T.E. Dickey.
32950 # The functions gethostbyname, getservbyname, and inet_addr are
32951 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32952 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32953 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32954 if test "${ac_cv_func_gethostbyname+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 else
32957 cat >conftest.$ac_ext <<_ACEOF
32958 /* confdefs.h. */
32959 _ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32965 #define gethostbyname innocuous_gethostbyname
32966
32967 /* System header to define __stub macros and hopefully few prototypes,
32968 which can conflict with char gethostbyname (); below.
32969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32970 <limits.h> exists even on freestanding compilers. */
32971
32972 #ifdef __STDC__
32973 # include <limits.h>
32974 #else
32975 # include <assert.h>
32976 #endif
32977
32978 #undef gethostbyname
32979
32980 /* Override any GCC internal prototype to avoid an error.
32981 Use char because int might match the return type of a GCC
32982 builtin and then its argument prototype would still apply. */
32983 #ifdef __cplusplus
32984 extern "C"
32985 #endif
32986 char gethostbyname ();
32987 /* The GNU C library defines this for functions which it implements
32988 to always fail with ENOSYS. Some functions are actually named
32989 something starting with __ and the normal name is an alias. */
32990 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32991 choke me
32992 #endif
32993
32994 int
32995 main ()
32996 {
32997 return gethostbyname ();
32998 ;
32999 return 0;
33000 }
33001 _ACEOF
33002 rm -f conftest.$ac_objext conftest$ac_exeext
33003 if { (ac_try="$ac_link"
33004 case "(($ac_try" in
33005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33006 *) ac_try_echo=$ac_try;;
33007 esac
33008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33009 (eval "$ac_link") 2>conftest.er1
33010 ac_status=$?
33011 grep -v '^ *+' conftest.er1 >conftest.err
33012 rm -f conftest.er1
33013 cat conftest.err >&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); } && {
33016 test -z "$ac_c_werror_flag" ||
33017 test ! -s conftest.err
33018 } && test -s conftest$ac_exeext &&
33019 $as_test_x conftest$ac_exeext; then
33020 ac_cv_func_gethostbyname=yes
33021 else
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33024
33025 ac_cv_func_gethostbyname=no
33026 fi
33027
33028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33029 conftest$ac_exeext conftest.$ac_ext
33030 fi
33031 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33032 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33033
33034 if test $ac_cv_func_gethostbyname = no; then
33035 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33036 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33037 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33038 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 else
33040 ac_check_lib_save_LIBS=$LIBS
33041 LIBS="-lnsl $LIBS"
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h. */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048
33049 /* Override any GCC internal prototype to avoid an error.
33050 Use char because int might match the return type of a GCC
33051 builtin and then its argument prototype would still apply. */
33052 #ifdef __cplusplus
33053 extern "C"
33054 #endif
33055 char gethostbyname ();
33056 int
33057 main ()
33058 {
33059 return gethostbyname ();
33060 ;
33061 return 0;
33062 }
33063 _ACEOF
33064 rm -f conftest.$ac_objext conftest$ac_exeext
33065 if { (ac_try="$ac_link"
33066 case "(($ac_try" in
33067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33068 *) ac_try_echo=$ac_try;;
33069 esac
33070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33071 (eval "$ac_link") 2>conftest.er1
33072 ac_status=$?
33073 grep -v '^ *+' conftest.er1 >conftest.err
33074 rm -f conftest.er1
33075 cat conftest.err >&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } && {
33078 test -z "$ac_c_werror_flag" ||
33079 test ! -s conftest.err
33080 } && test -s conftest$ac_exeext &&
33081 $as_test_x conftest$ac_exeext; then
33082 ac_cv_lib_nsl_gethostbyname=yes
33083 else
33084 echo "$as_me: failed program was:" >&5
33085 sed 's/^/| /' conftest.$ac_ext >&5
33086
33087 ac_cv_lib_nsl_gethostbyname=no
33088 fi
33089
33090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33091 conftest$ac_exeext conftest.$ac_ext
33092 LIBS=$ac_check_lib_save_LIBS
33093 fi
33094 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33095 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33096 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33098 fi
33099
33100 if test $ac_cv_lib_nsl_gethostbyname = no; then
33101 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33102 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33103 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 else
33106 ac_check_lib_save_LIBS=$LIBS
33107 LIBS="-lbsd $LIBS"
33108 cat >conftest.$ac_ext <<_ACEOF
33109 /* confdefs.h. */
33110 _ACEOF
33111 cat confdefs.h >>conftest.$ac_ext
33112 cat >>conftest.$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33114
33115 /* Override any GCC internal prototype to avoid an error.
33116 Use char because int might match the return type of a GCC
33117 builtin and then its argument prototype would still apply. */
33118 #ifdef __cplusplus
33119 extern "C"
33120 #endif
33121 char gethostbyname ();
33122 int
33123 main ()
33124 {
33125 return gethostbyname ();
33126 ;
33127 return 0;
33128 }
33129 _ACEOF
33130 rm -f conftest.$ac_objext conftest$ac_exeext
33131 if { (ac_try="$ac_link"
33132 case "(($ac_try" in
33133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33134 *) ac_try_echo=$ac_try;;
33135 esac
33136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33137 (eval "$ac_link") 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } && {
33144 test -z "$ac_c_werror_flag" ||
33145 test ! -s conftest.err
33146 } && test -s conftest$ac_exeext &&
33147 $as_test_x conftest$ac_exeext; then
33148 ac_cv_lib_bsd_gethostbyname=yes
33149 else
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33152
33153 ac_cv_lib_bsd_gethostbyname=no
33154 fi
33155
33156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33157 conftest$ac_exeext conftest.$ac_ext
33158 LIBS=$ac_check_lib_save_LIBS
33159 fi
33160 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33161 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33162 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33164 fi
33165
33166 fi
33167 fi
33168
33169 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33170 # socket/setsockopt and other routines are undefined under SCO ODT
33171 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33172 # on later versions), says Simon Leinen: it contains gethostby*
33173 # variants that don't use the name server (or something). -lsocket
33174 # must be given before -lnsl if both are needed. We assume that
33175 # if connect needs -lnsl, so does gethostbyname.
33176 { echo "$as_me:$LINENO: checking for connect" >&5
33177 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33178 if test "${ac_cv_func_connect+set}" = set; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 else
33181 cat >conftest.$ac_ext <<_ACEOF
33182 /* confdefs.h. */
33183 _ACEOF
33184 cat confdefs.h >>conftest.$ac_ext
33185 cat >>conftest.$ac_ext <<_ACEOF
33186 /* end confdefs.h. */
33187 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33189 #define connect innocuous_connect
33190
33191 /* System header to define __stub macros and hopefully few prototypes,
33192 which can conflict with char connect (); below.
33193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33194 <limits.h> exists even on freestanding compilers. */
33195
33196 #ifdef __STDC__
33197 # include <limits.h>
33198 #else
33199 # include <assert.h>
33200 #endif
33201
33202 #undef connect
33203
33204 /* Override any GCC internal prototype to avoid an error.
33205 Use char because int might match the return type of a GCC
33206 builtin and then its argument prototype would still apply. */
33207 #ifdef __cplusplus
33208 extern "C"
33209 #endif
33210 char connect ();
33211 /* The GNU C library defines this for functions which it implements
33212 to always fail with ENOSYS. Some functions are actually named
33213 something starting with __ and the normal name is an alias. */
33214 #if defined __stub_connect || defined __stub___connect
33215 choke me
33216 #endif
33217
33218 int
33219 main ()
33220 {
33221 return connect ();
33222 ;
33223 return 0;
33224 }
33225 _ACEOF
33226 rm -f conftest.$ac_objext conftest$ac_exeext
33227 if { (ac_try="$ac_link"
33228 case "(($ac_try" in
33229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33230 *) ac_try_echo=$ac_try;;
33231 esac
33232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33233 (eval "$ac_link") 2>conftest.er1
33234 ac_status=$?
33235 grep -v '^ *+' conftest.er1 >conftest.err
33236 rm -f conftest.er1
33237 cat conftest.err >&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); } && {
33240 test -z "$ac_c_werror_flag" ||
33241 test ! -s conftest.err
33242 } && test -s conftest$ac_exeext &&
33243 $as_test_x conftest$ac_exeext; then
33244 ac_cv_func_connect=yes
33245 else
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.$ac_ext >&5
33248
33249 ac_cv_func_connect=no
33250 fi
33251
33252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33253 conftest$ac_exeext conftest.$ac_ext
33254 fi
33255 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33256 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33257
33258 if test $ac_cv_func_connect = no; then
33259 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33260 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33261 if test "${ac_cv_lib_socket_connect+set}" = set; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33263 else
33264 ac_check_lib_save_LIBS=$LIBS
33265 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272
33273 /* Override any GCC internal prototype to avoid an error.
33274 Use char because int might match the return type of a GCC
33275 builtin and then its argument prototype would still apply. */
33276 #ifdef __cplusplus
33277 extern "C"
33278 #endif
33279 char connect ();
33280 int
33281 main ()
33282 {
33283 return connect ();
33284 ;
33285 return 0;
33286 }
33287 _ACEOF
33288 rm -f conftest.$ac_objext conftest$ac_exeext
33289 if { (ac_try="$ac_link"
33290 case "(($ac_try" in
33291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33292 *) ac_try_echo=$ac_try;;
33293 esac
33294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33295 (eval "$ac_link") 2>conftest.er1
33296 ac_status=$?
33297 grep -v '^ *+' conftest.er1 >conftest.err
33298 rm -f conftest.er1
33299 cat conftest.err >&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); } && {
33302 test -z "$ac_c_werror_flag" ||
33303 test ! -s conftest.err
33304 } && test -s conftest$ac_exeext &&
33305 $as_test_x conftest$ac_exeext; then
33306 ac_cv_lib_socket_connect=yes
33307 else
33308 echo "$as_me: failed program was:" >&5
33309 sed 's/^/| /' conftest.$ac_ext >&5
33310
33311 ac_cv_lib_socket_connect=no
33312 fi
33313
33314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33315 conftest$ac_exeext conftest.$ac_ext
33316 LIBS=$ac_check_lib_save_LIBS
33317 fi
33318 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33319 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33320 if test $ac_cv_lib_socket_connect = yes; then
33321 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33322 fi
33323
33324 fi
33325
33326 # Guillermo Gomez says -lposix is necessary on A/UX.
33327 { echo "$as_me:$LINENO: checking for remove" >&5
33328 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33329 if test "${ac_cv_func_remove+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33332 cat >conftest.$ac_ext <<_ACEOF
33333 /* confdefs.h. */
33334 _ACEOF
33335 cat confdefs.h >>conftest.$ac_ext
33336 cat >>conftest.$ac_ext <<_ACEOF
33337 /* end confdefs.h. */
33338 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33340 #define remove innocuous_remove
33341
33342 /* System header to define __stub macros and hopefully few prototypes,
33343 which can conflict with char remove (); below.
33344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33345 <limits.h> exists even on freestanding compilers. */
33346
33347 #ifdef __STDC__
33348 # include <limits.h>
33349 #else
33350 # include <assert.h>
33351 #endif
33352
33353 #undef remove
33354
33355 /* Override any GCC internal prototype to avoid an error.
33356 Use char because int might match the return type of a GCC
33357 builtin and then its argument prototype would still apply. */
33358 #ifdef __cplusplus
33359 extern "C"
33360 #endif
33361 char remove ();
33362 /* The GNU C library defines this for functions which it implements
33363 to always fail with ENOSYS. Some functions are actually named
33364 something starting with __ and the normal name is an alias. */
33365 #if defined __stub_remove || defined __stub___remove
33366 choke me
33367 #endif
33368
33369 int
33370 main ()
33371 {
33372 return remove ();
33373 ;
33374 return 0;
33375 }
33376 _ACEOF
33377 rm -f conftest.$ac_objext conftest$ac_exeext
33378 if { (ac_try="$ac_link"
33379 case "(($ac_try" in
33380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33381 *) ac_try_echo=$ac_try;;
33382 esac
33383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33384 (eval "$ac_link") 2>conftest.er1
33385 ac_status=$?
33386 grep -v '^ *+' conftest.er1 >conftest.err
33387 rm -f conftest.er1
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } && {
33391 test -z "$ac_c_werror_flag" ||
33392 test ! -s conftest.err
33393 } && test -s conftest$ac_exeext &&
33394 $as_test_x conftest$ac_exeext; then
33395 ac_cv_func_remove=yes
33396 else
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33399
33400 ac_cv_func_remove=no
33401 fi
33402
33403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33404 conftest$ac_exeext conftest.$ac_ext
33405 fi
33406 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33407 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33408
33409 if test $ac_cv_func_remove = no; then
33410 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33411 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33412 if test "${ac_cv_lib_posix_remove+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33414 else
33415 ac_check_lib_save_LIBS=$LIBS
33416 LIBS="-lposix $LIBS"
33417 cat >conftest.$ac_ext <<_ACEOF
33418 /* confdefs.h. */
33419 _ACEOF
33420 cat confdefs.h >>conftest.$ac_ext
33421 cat >>conftest.$ac_ext <<_ACEOF
33422 /* end confdefs.h. */
33423
33424 /* Override any GCC internal prototype to avoid an error.
33425 Use char because int might match the return type of a GCC
33426 builtin and then its argument prototype would still apply. */
33427 #ifdef __cplusplus
33428 extern "C"
33429 #endif
33430 char remove ();
33431 int
33432 main ()
33433 {
33434 return remove ();
33435 ;
33436 return 0;
33437 }
33438 _ACEOF
33439 rm -f conftest.$ac_objext conftest$ac_exeext
33440 if { (ac_try="$ac_link"
33441 case "(($ac_try" in
33442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33443 *) ac_try_echo=$ac_try;;
33444 esac
33445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33446 (eval "$ac_link") 2>conftest.er1
33447 ac_status=$?
33448 grep -v '^ *+' conftest.er1 >conftest.err
33449 rm -f conftest.er1
33450 cat conftest.err >&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } && {
33453 test -z "$ac_c_werror_flag" ||
33454 test ! -s conftest.err
33455 } && test -s conftest$ac_exeext &&
33456 $as_test_x conftest$ac_exeext; then
33457 ac_cv_lib_posix_remove=yes
33458 else
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.$ac_ext >&5
33461
33462 ac_cv_lib_posix_remove=no
33463 fi
33464
33465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33466 conftest$ac_exeext conftest.$ac_ext
33467 LIBS=$ac_check_lib_save_LIBS
33468 fi
33469 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33470 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33471 if test $ac_cv_lib_posix_remove = yes; then
33472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33473 fi
33474
33475 fi
33476
33477 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33478 { echo "$as_me:$LINENO: checking for shmat" >&5
33479 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33480 if test "${ac_cv_func_shmat+set}" = set; then
33481 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 else
33483 cat >conftest.$ac_ext <<_ACEOF
33484 /* confdefs.h. */
33485 _ACEOF
33486 cat confdefs.h >>conftest.$ac_ext
33487 cat >>conftest.$ac_ext <<_ACEOF
33488 /* end confdefs.h. */
33489 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33491 #define shmat innocuous_shmat
33492
33493 /* System header to define __stub macros and hopefully few prototypes,
33494 which can conflict with char shmat (); below.
33495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33496 <limits.h> exists even on freestanding compilers. */
33497
33498 #ifdef __STDC__
33499 # include <limits.h>
33500 #else
33501 # include <assert.h>
33502 #endif
33503
33504 #undef shmat
33505
33506 /* Override any GCC internal prototype to avoid an error.
33507 Use char because int might match the return type of a GCC
33508 builtin and then its argument prototype would still apply. */
33509 #ifdef __cplusplus
33510 extern "C"
33511 #endif
33512 char shmat ();
33513 /* The GNU C library defines this for functions which it implements
33514 to always fail with ENOSYS. Some functions are actually named
33515 something starting with __ and the normal name is an alias. */
33516 #if defined __stub_shmat || defined __stub___shmat
33517 choke me
33518 #endif
33519
33520 int
33521 main ()
33522 {
33523 return shmat ();
33524 ;
33525 return 0;
33526 }
33527 _ACEOF
33528 rm -f conftest.$ac_objext conftest$ac_exeext
33529 if { (ac_try="$ac_link"
33530 case "(($ac_try" in
33531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33532 *) ac_try_echo=$ac_try;;
33533 esac
33534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33535 (eval "$ac_link") 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } && {
33542 test -z "$ac_c_werror_flag" ||
33543 test ! -s conftest.err
33544 } && test -s conftest$ac_exeext &&
33545 $as_test_x conftest$ac_exeext; then
33546 ac_cv_func_shmat=yes
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33550
33551 ac_cv_func_shmat=no
33552 fi
33553
33554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33555 conftest$ac_exeext conftest.$ac_ext
33556 fi
33557 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33558 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33559
33560 if test $ac_cv_func_shmat = no; then
33561 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33562 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33563 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33565 else
33566 ac_check_lib_save_LIBS=$LIBS
33567 LIBS="-lipc $LIBS"
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574
33575 /* Override any GCC internal prototype to avoid an error.
33576 Use char because int might match the return type of a GCC
33577 builtin and then its argument prototype would still apply. */
33578 #ifdef __cplusplus
33579 extern "C"
33580 #endif
33581 char shmat ();
33582 int
33583 main ()
33584 {
33585 return shmat ();
33586 ;
33587 return 0;
33588 }
33589 _ACEOF
33590 rm -f conftest.$ac_objext conftest$ac_exeext
33591 if { (ac_try="$ac_link"
33592 case "(($ac_try" in
33593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33594 *) ac_try_echo=$ac_try;;
33595 esac
33596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33597 (eval "$ac_link") 2>conftest.er1
33598 ac_status=$?
33599 grep -v '^ *+' conftest.er1 >conftest.err
33600 rm -f conftest.er1
33601 cat conftest.err >&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } && {
33604 test -z "$ac_c_werror_flag" ||
33605 test ! -s conftest.err
33606 } && test -s conftest$ac_exeext &&
33607 $as_test_x conftest$ac_exeext; then
33608 ac_cv_lib_ipc_shmat=yes
33609 else
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33612
33613 ac_cv_lib_ipc_shmat=no
33614 fi
33615
33616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33617 conftest$ac_exeext conftest.$ac_ext
33618 LIBS=$ac_check_lib_save_LIBS
33619 fi
33620 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33621 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33622 if test $ac_cv_lib_ipc_shmat = yes; then
33623 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33624 fi
33625
33626 fi
33627 fi
33628
33629 # Check for libraries that X11R6 Xt/Xaw programs need.
33630 ac_save_LDFLAGS=$LDFLAGS
33631 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33632 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33633 # check for ICE first), but we must link in the order -lSM -lICE or
33634 # we get undefined symbols. So assume we have SM if we have ICE.
33635 # These have to be linked with before -lX11, unlike the other
33636 # libraries we check for below, so use a different variable.
33637 # John Interrante, Karl Berry
33638 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33639 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33640 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33641 echo $ECHO_N "(cached) $ECHO_C" >&6
33642 else
33643 ac_check_lib_save_LIBS=$LIBS
33644 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33645 cat >conftest.$ac_ext <<_ACEOF
33646 /* confdefs.h. */
33647 _ACEOF
33648 cat confdefs.h >>conftest.$ac_ext
33649 cat >>conftest.$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651
33652 /* Override any GCC internal prototype to avoid an error.
33653 Use char because int might match the return type of a GCC
33654 builtin and then its argument prototype would still apply. */
33655 #ifdef __cplusplus
33656 extern "C"
33657 #endif
33658 char IceConnectionNumber ();
33659 int
33660 main ()
33661 {
33662 return IceConnectionNumber ();
33663 ;
33664 return 0;
33665 }
33666 _ACEOF
33667 rm -f conftest.$ac_objext conftest$ac_exeext
33668 if { (ac_try="$ac_link"
33669 case "(($ac_try" in
33670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33671 *) ac_try_echo=$ac_try;;
33672 esac
33673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33674 (eval "$ac_link") 2>conftest.er1
33675 ac_status=$?
33676 grep -v '^ *+' conftest.er1 >conftest.err
33677 rm -f conftest.er1
33678 cat conftest.err >&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); } && {
33681 test -z "$ac_c_werror_flag" ||
33682 test ! -s conftest.err
33683 } && test -s conftest$ac_exeext &&
33684 $as_test_x conftest$ac_exeext; then
33685 ac_cv_lib_ICE_IceConnectionNumber=yes
33686 else
33687 echo "$as_me: failed program was:" >&5
33688 sed 's/^/| /' conftest.$ac_ext >&5
33689
33690 ac_cv_lib_ICE_IceConnectionNumber=no
33691 fi
33692
33693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33694 conftest$ac_exeext conftest.$ac_ext
33695 LIBS=$ac_check_lib_save_LIBS
33696 fi
33697 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33698 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33699 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33700 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33701 fi
33702
33703 LDFLAGS=$ac_save_LDFLAGS
33704
33705 fi
33706
33707
33708 if test "$no_x" = "yes"; then
33709 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33710 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33711 { (exit 1); exit 1; }; }
33712 fi
33713
33714 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33715 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33716 AFMINSTALL=afminstall
33717 COMPILED_X_PROGRAM=0
33718
33719 fi
33720
33721 if test "$wxUSE_X11" = 1; then
33722 if test "$wxUSE_NANOX" = "yes"; then
33723 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33724 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33725 if test "x$MICROWIN" = x ; then
33726 { echo "$as_me:$LINENO: result: not found" >&5
33727 echo "${ECHO_T}not found" >&6; }
33728 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33729 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33730 { (exit 1); exit 1; }; }
33731 else
33732 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33733 echo "${ECHO_T}$MICROWIN" >&6; }
33734 cat >>confdefs.h <<\_ACEOF
33735 #define wxUSE_NANOX 1
33736 _ACEOF
33737
33738 fi
33739 fi
33740
33741 if test "$wxUSE_UNICODE" = "yes"; then
33742
33743
33744 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33745 if test -n "$ac_tool_prefix"; then
33746 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33747 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33750 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33751 echo $ECHO_N "(cached) $ECHO_C" >&6
33752 else
33753 case $PKG_CONFIG in
33754 [\\/]* | ?:[\\/]*)
33755 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33756 ;;
33757 *)
33758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33759 for as_dir in $PATH
33760 do
33761 IFS=$as_save_IFS
33762 test -z "$as_dir" && as_dir=.
33763 for ac_exec_ext in '' $ac_executable_extensions; do
33764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33765 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33767 break 2
33768 fi
33769 done
33770 done
33771 IFS=$as_save_IFS
33772
33773 ;;
33774 esac
33775 fi
33776 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33777 if test -n "$PKG_CONFIG"; then
33778 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33779 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33780 else
33781 { echo "$as_me:$LINENO: result: no" >&5
33782 echo "${ECHO_T}no" >&6; }
33783 fi
33784
33785
33786 fi
33787 if test -z "$ac_cv_path_PKG_CONFIG"; then
33788 ac_pt_PKG_CONFIG=$PKG_CONFIG
33789 # Extract the first word of "pkg-config", so it can be a program name with args.
33790 set dummy pkg-config; ac_word=$2
33791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33793 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 else
33796 case $ac_pt_PKG_CONFIG in
33797 [\\/]* | ?:[\\/]*)
33798 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33799 ;;
33800 *)
33801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33802 for as_dir in $PATH
33803 do
33804 IFS=$as_save_IFS
33805 test -z "$as_dir" && as_dir=.
33806 for ac_exec_ext in '' $ac_executable_extensions; do
33807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33808 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33810 break 2
33811 fi
33812 done
33813 done
33814 IFS=$as_save_IFS
33815
33816 ;;
33817 esac
33818 fi
33819 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33820 if test -n "$ac_pt_PKG_CONFIG"; then
33821 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33822 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33823 else
33824 { echo "$as_me:$LINENO: result: no" >&5
33825 echo "${ECHO_T}no" >&6; }
33826 fi
33827
33828 if test "x$ac_pt_PKG_CONFIG" = x; then
33829 PKG_CONFIG=""
33830 else
33831 case $cross_compiling:$ac_tool_warned in
33832 yes:)
33833 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33834 whose name does not start with the host triplet. If you think this
33835 configuration is useful to you, please write to autoconf@gnu.org." >&5
33836 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33837 whose name does not start with the host triplet. If you think this
33838 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33839 ac_tool_warned=yes ;;
33840 esac
33841 PKG_CONFIG=$ac_pt_PKG_CONFIG
33842 fi
33843 else
33844 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33845 fi
33846
33847 fi
33848 if test -n "$PKG_CONFIG"; then
33849 _pkg_min_version=0.9.0
33850 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33851 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33852 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33853 { echo "$as_me:$LINENO: result: yes" >&5
33854 echo "${ECHO_T}yes" >&6; }
33855 else
33856 { echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6; }
33858 PKG_CONFIG=""
33859 fi
33860
33861 fi
33862
33863
33864 pkg_failed=no
33865 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33866 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33867
33868 if test -n "$PKG_CONFIG"; then
33869 if test -n "$PANGOX_CFLAGS"; then
33870 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33871 else
33872 if test -n "$PKG_CONFIG" && \
33873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33874 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33875 ac_status=$?
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); }; then
33878 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33879 else
33880 pkg_failed=yes
33881 fi
33882 fi
33883 else
33884 pkg_failed=untried
33885 fi
33886 if test -n "$PKG_CONFIG"; then
33887 if test -n "$PANGOX_LIBS"; then
33888 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33889 else
33890 if test -n "$PKG_CONFIG" && \
33891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33892 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33893 ac_status=$?
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); }; then
33896 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33897 else
33898 pkg_failed=yes
33899 fi
33900 fi
33901 else
33902 pkg_failed=untried
33903 fi
33904
33905
33906
33907 if test $pkg_failed = yes; then
33908
33909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33910 _pkg_short_errors_supported=yes
33911 else
33912 _pkg_short_errors_supported=no
33913 fi
33914 if test $_pkg_short_errors_supported = yes; then
33915 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33916 else
33917 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33918 fi
33919 # Put the nasty error message in config.log where it belongs
33920 echo "$PANGOX_PKG_ERRORS" >&5
33921
33922
33923 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33924 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33925 { (exit 1); exit 1; }; }
33926
33927
33928 elif test $pkg_failed = untried; then
33929
33930 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33931 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33932 { (exit 1); exit 1; }; }
33933
33934
33935 else
33936 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33937 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33938 { echo "$as_me:$LINENO: result: yes" >&5
33939 echo "${ECHO_T}yes" >&6; }
33940
33941 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33942 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33943 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33944
33945 fi
33946
33947 pkg_failed=no
33948 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33949 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33950
33951 if test -n "$PKG_CONFIG"; then
33952 if test -n "$PANGOFT2_CFLAGS"; then
33953 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33954 else
33955 if test -n "$PKG_CONFIG" && \
33956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33957 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33958 ac_status=$?
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; then
33961 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33962 else
33963 pkg_failed=yes
33964 fi
33965 fi
33966 else
33967 pkg_failed=untried
33968 fi
33969 if test -n "$PKG_CONFIG"; then
33970 if test -n "$PANGOFT2_LIBS"; then
33971 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33972 else
33973 if test -n "$PKG_CONFIG" && \
33974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33975 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; then
33979 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33980 else
33981 pkg_failed=yes
33982 fi
33983 fi
33984 else
33985 pkg_failed=untried
33986 fi
33987
33988
33989
33990 if test $pkg_failed = yes; then
33991
33992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33993 _pkg_short_errors_supported=yes
33994 else
33995 _pkg_short_errors_supported=no
33996 fi
33997 if test $_pkg_short_errors_supported = yes; then
33998 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33999 else
34000 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34001 fi
34002 # Put the nasty error message in config.log where it belongs
34003 echo "$PANGOFT2_PKG_ERRORS" >&5
34004
34005
34006 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34007 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34008 wxUSE_PRINTING_ARCHITECTURE="no"
34009
34010
34011 elif test $pkg_failed = untried; then
34012
34013 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34014 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34015 wxUSE_PRINTING_ARCHITECTURE="no"
34016
34017
34018 else
34019 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34020 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34021 { echo "$as_me:$LINENO: result: yes" >&5
34022 echo "${ECHO_T}yes" >&6; }
34023
34024 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34025 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34026 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34027
34028 fi
34029
34030 pkg_failed=no
34031 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34032 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34033
34034 if test -n "$PKG_CONFIG"; then
34035 if test -n "$PANGOXFT_CFLAGS"; then
34036 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34037 else
34038 if test -n "$PKG_CONFIG" && \
34039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34040 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; then
34044 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34045 else
34046 pkg_failed=yes
34047 fi
34048 fi
34049 else
34050 pkg_failed=untried
34051 fi
34052 if test -n "$PKG_CONFIG"; then
34053 if test -n "$PANGOXFT_LIBS"; then
34054 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34055 else
34056 if test -n "$PKG_CONFIG" && \
34057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34058 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34059 ac_status=$?
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; then
34062 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34063 else
34064 pkg_failed=yes
34065 fi
34066 fi
34067 else
34068 pkg_failed=untried
34069 fi
34070
34071
34072
34073 if test $pkg_failed = yes; then
34074
34075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34076 _pkg_short_errors_supported=yes
34077 else
34078 _pkg_short_errors_supported=no
34079 fi
34080 if test $_pkg_short_errors_supported = yes; then
34081 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34082 else
34083 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34084 fi
34085 # Put the nasty error message in config.log where it belongs
34086 echo "$PANGOXFT_PKG_ERRORS" >&5
34087
34088
34089 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34090 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34091
34092
34093 elif test $pkg_failed = untried; then
34094
34095 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34096 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34097
34098
34099 else
34100 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34101 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34102 { echo "$as_me:$LINENO: result: yes" >&5
34103 echo "${ECHO_T}yes" >&6; }
34104
34105 cat >>confdefs.h <<\_ACEOF
34106 #define HAVE_PANGO_XFT 1
34107 _ACEOF
34108
34109 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34110 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34111 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34112
34113 fi
34114 save_LIBS="$LIBS"
34115 LIBS="$LIBS $PANGOX_LIBS"
34116
34117 for ac_func in pango_font_family_is_monospace
34118 do
34119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34124 else
34125 cat >conftest.$ac_ext <<_ACEOF
34126 /* confdefs.h. */
34127 _ACEOF
34128 cat confdefs.h >>conftest.$ac_ext
34129 cat >>conftest.$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34133 #define $ac_func innocuous_$ac_func
34134
34135 /* System header to define __stub macros and hopefully few prototypes,
34136 which can conflict with char $ac_func (); below.
34137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34138 <limits.h> exists even on freestanding compilers. */
34139
34140 #ifdef __STDC__
34141 # include <limits.h>
34142 #else
34143 # include <assert.h>
34144 #endif
34145
34146 #undef $ac_func
34147
34148 /* Override any GCC internal prototype to avoid an error.
34149 Use char because int might match the return type of a GCC
34150 builtin and then its argument prototype would still apply. */
34151 #ifdef __cplusplus
34152 extern "C"
34153 #endif
34154 char $ac_func ();
34155 /* The GNU C library defines this for functions which it implements
34156 to always fail with ENOSYS. Some functions are actually named
34157 something starting with __ and the normal name is an alias. */
34158 #if defined __stub_$ac_func || defined __stub___$ac_func
34159 choke me
34160 #endif
34161
34162 int
34163 main ()
34164 {
34165 return $ac_func ();
34166 ;
34167 return 0;
34168 }
34169 _ACEOF
34170 rm -f conftest.$ac_objext conftest$ac_exeext
34171 if { (ac_try="$ac_link"
34172 case "(($ac_try" in
34173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174 *) ac_try_echo=$ac_try;;
34175 esac
34176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34177 (eval "$ac_link") 2>conftest.er1
34178 ac_status=$?
34179 grep -v '^ *+' conftest.er1 >conftest.err
34180 rm -f conftest.er1
34181 cat conftest.err >&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } && {
34184 test -z "$ac_c_werror_flag" ||
34185 test ! -s conftest.err
34186 } && test -s conftest$ac_exeext &&
34187 $as_test_x conftest$ac_exeext; then
34188 eval "$as_ac_var=yes"
34189 else
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34192
34193 eval "$as_ac_var=no"
34194 fi
34195
34196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34197 conftest$ac_exeext conftest.$ac_ext
34198 fi
34199 ac_res=`eval echo '${'$as_ac_var'}'`
34200 { echo "$as_me:$LINENO: result: $ac_res" >&5
34201 echo "${ECHO_T}$ac_res" >&6; }
34202 if test `eval echo '${'$as_ac_var'}'` = yes; then
34203 cat >>confdefs.h <<_ACEOF
34204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34205 _ACEOF
34206
34207 fi
34208 done
34209
34210 LIBS="$save_LIBS"
34211 fi
34212
34213 wxUSE_UNIVERSAL="yes"
34214
34215 if test "$wxUSE_NANOX" = "yes"; then
34216 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34217 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"
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34219 else
34220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34221 fi
34222
34223 TOOLKIT=X11
34224 GUIDIST=X11_DIST
34225 fi
34226
34227 if test "$wxUSE_MOTIF" = 1; then
34228 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34229 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34230
34231 ac_find_includes=
34232 for ac_dir in $SEARCH_INCLUDE /usr/include;
34233 do
34234 if test -f "$ac_dir/Xm/Xm.h"; then
34235 ac_find_includes=$ac_dir
34236 break
34237 fi
34238 done
34239
34240 if test "$ac_find_includes" != "" ; then
34241 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34242 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34243
34244 if test "x$ac_find_includes" = "x/usr/include"; then
34245 ac_path_to_include=""
34246 else
34247 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34248 result=$?
34249 if test $result = 0; then
34250 ac_path_to_include=""
34251 else
34252 ac_path_to_include=" -I$ac_find_includes"
34253 fi
34254 fi
34255
34256 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34257 else
34258 save_CFLAGS=$CFLAGS
34259 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34260
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267
34268 #include <Xm/Xm.h>
34269
34270 int
34271 main ()
34272 {
34273
34274 int version;
34275 version = xmUseVersion;
34276
34277 ;
34278 return 0;
34279 }
34280 _ACEOF
34281 rm -f conftest.$ac_objext
34282 if { (ac_try="$ac_compile"
34283 case "(($ac_try" in
34284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34285 *) ac_try_echo=$ac_try;;
34286 esac
34287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34288 (eval "$ac_compile") 2>conftest.er1
34289 ac_status=$?
34290 grep -v '^ *+' conftest.er1 >conftest.err
34291 rm -f conftest.er1
34292 cat conftest.err >&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); } && {
34295 test -z "$ac_c_werror_flag" ||
34296 test ! -s conftest.err
34297 } && test -s conftest.$ac_objext; then
34298
34299 { echo "$as_me:$LINENO: result: found in default search path" >&5
34300 echo "${ECHO_T}found in default search path" >&6; }
34301 COMPILED_X_PROGRAM=1
34302
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307
34308 { echo "$as_me:$LINENO: result: no" >&5
34309 echo "${ECHO_T}no" >&6; }
34310 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34311 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34312 { (exit 1); exit 1; }; }
34313
34314
34315 fi
34316
34317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34318
34319 CFLAGS=$save_CFLAGS
34320 fi
34321
34322
34323 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34324 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34325
34326 ac_find_libraries=
34327 for ac_dir in $SEARCH_LIB;
34328 do
34329 for ac_extension in a so sl dylib dll.a; do
34330 if test -f "$ac_dir/libXm.$ac_extension"; then
34331 ac_find_libraries=$ac_dir
34332 break 2
34333 fi
34334 done
34335 done
34336
34337
34338 if test "x$ac_find_libraries" != "x" ; then
34339 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34340 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34341
34342
34343 if test "$ac_find_libraries" = "default location"; then
34344 ac_path_to_link=""
34345 else
34346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34347 result=$?
34348 if test $result = 0; then
34349 ac_path_to_link=""
34350 else
34351 ac_path_to_link=" -L$ac_find_libraries"
34352 fi
34353 fi
34354
34355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34356 else
34357 save_CFLAGS=$CFLAGS
34358 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34359 save_LIBS="$LIBS"
34360 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34361
34362 cat >conftest.$ac_ext <<_ACEOF
34363 /* confdefs.h. */
34364 _ACEOF
34365 cat confdefs.h >>conftest.$ac_ext
34366 cat >>conftest.$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368
34369 #include <Xm/Xm.h>
34370
34371 int
34372 main ()
34373 {
34374
34375 int version;
34376 version = xmUseVersion;
34377
34378 ;
34379 return 0;
34380 }
34381 _ACEOF
34382 rm -f conftest.$ac_objext conftest$ac_exeext
34383 if { (ac_try="$ac_link"
34384 case "(($ac_try" in
34385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34386 *) ac_try_echo=$ac_try;;
34387 esac
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_link") 2>conftest.er1
34390 ac_status=$?
34391 grep -v '^ *+' conftest.er1 >conftest.err
34392 rm -f conftest.er1
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_c_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest$ac_exeext &&
34399 $as_test_x conftest$ac_exeext; then
34400
34401 { echo "$as_me:$LINENO: result: found in default search path" >&5
34402 echo "${ECHO_T}found in default search path" >&6; }
34403 COMPILED_X_PROGRAM=1
34404
34405 else
34406 echo "$as_me: failed program was:" >&5
34407 sed 's/^/| /' conftest.$ac_ext >&5
34408
34409
34410 { echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6; }
34412 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34413 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34414 { (exit 1); exit 1; }; }
34415
34416
34417 fi
34418
34419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34420 conftest$ac_exeext conftest.$ac_ext
34421
34422 CFLAGS=$save_CFLAGS
34423 LIBS="$save_LIBS"
34424 fi
34425
34426 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34427 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34428 libp_link=""
34429 libsm_ice_link=""
34430 libs_found=0
34431 for libp in "" " -lXp"; do
34432 if test "$libs_found" = 0; then
34433 for libsm_ice in "" " -lSM -lICE"; do
34434 if test "$libs_found" = 0; then
34435 save_LIBS="$LIBS"
34436 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34437 save_CFLAGS=$CFLAGS
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34439
34440 cat >conftest.$ac_ext <<_ACEOF
34441 /* confdefs.h. */
34442 _ACEOF
34443 cat confdefs.h >>conftest.$ac_ext
34444 cat >>conftest.$ac_ext <<_ACEOF
34445 /* end confdefs.h. */
34446
34447 #include <Xm/Xm.h>
34448 #include <Xm/List.h>
34449
34450 int
34451 main ()
34452 {
34453
34454 XmString string = NULL;
34455 Widget w = NULL;
34456 int position = 0;
34457 XmListAddItem(w, string, position);
34458
34459 ;
34460 return 0;
34461 }
34462 _ACEOF
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34467 *) ac_try_echo=$ac_try;;
34468 esac
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest$ac_exeext &&
34480 $as_test_x conftest$ac_exeext; then
34481
34482 libp_link="$libp"
34483 libsm_ice_link="$libsm_ice"
34484 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34485 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34486 libs_found=1
34487
34488 else
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.$ac_ext >&5
34491
34492
34493
34494 fi
34495
34496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34497 conftest$ac_exeext conftest.$ac_ext
34498
34499 LIBS="$save_LIBS"
34500 CFLAGS=$save_CFLAGS
34501 fi
34502 done
34503 fi
34504 done
34505
34506 if test "$libs_found" = 0; then
34507 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34508 echo "${ECHO_T}can't find the right libraries" >&6; }
34509 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34510 echo "$as_me: error: can't link a simple motif program" >&2;}
34511 { (exit 1); exit 1; }; }
34512 fi
34513
34514 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34515 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34516 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 else
34519 ac_check_lib_save_LIBS=$LIBS
34520 LIBS="-lSgm $LIBS"
34521 cat >conftest.$ac_ext <<_ACEOF
34522 /* confdefs.h. */
34523 _ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34527
34528 /* Override any GCC internal prototype to avoid an error.
34529 Use char because int might match the return type of a GCC
34530 builtin and then its argument prototype would still apply. */
34531 #ifdef __cplusplus
34532 extern "C"
34533 #endif
34534 char SgCreateList ();
34535 int
34536 main ()
34537 {
34538 return SgCreateList ();
34539 ;
34540 return 0;
34541 }
34542 _ACEOF
34543 rm -f conftest.$ac_objext conftest$ac_exeext
34544 if { (ac_try="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34547 *) ac_try_echo=$ac_try;;
34548 esac
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34551 ac_status=$?
34552 grep -v '^ *+' conftest.er1 >conftest.err
34553 rm -f conftest.er1
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } && {
34557 test -z "$ac_c_werror_flag" ||
34558 test ! -s conftest.err
34559 } && test -s conftest$ac_exeext &&
34560 $as_test_x conftest$ac_exeext; then
34561 ac_cv_lib_Sgm_SgCreateList=yes
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566 ac_cv_lib_Sgm_SgCreateList=no
34567 fi
34568
34569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34570 conftest$ac_exeext conftest.$ac_ext
34571 LIBS=$ac_check_lib_save_LIBS
34572 fi
34573 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34574 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34575 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34576 libsgm_link=" -lSgm"
34577 fi
34578
34579
34580 save_CFLAGS=$CFLAGS
34581 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34582
34583 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34584 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34585 if test "${wx_cv_lib_motif2+set}" = set; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 else
34588 cat >conftest.$ac_ext <<_ACEOF
34589 /* confdefs.h. */
34590 _ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594
34595 #include <Xm/Xm.h>
34596
34597 int
34598 main ()
34599 {
34600
34601 #if XmVersion < 2000
34602 Not Motif 2
34603 #endif
34604
34605 ;
34606 return 0;
34607 }
34608 _ACEOF
34609 rm -f conftest.$ac_objext
34610 if { (ac_try="$ac_compile"
34611 case "(($ac_try" in
34612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34613 *) ac_try_echo=$ac_try;;
34614 esac
34615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34616 (eval "$ac_compile") 2>conftest.er1
34617 ac_status=$?
34618 grep -v '^ *+' conftest.er1 >conftest.err
34619 rm -f conftest.er1
34620 cat conftest.err >&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } && {
34623 test -z "$ac_c_werror_flag" ||
34624 test ! -s conftest.err
34625 } && test -s conftest.$ac_objext; then
34626 wx_cv_lib_motif2="yes"
34627 else
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.$ac_ext >&5
34630
34631 wx_cv_lib_motif2="no"
34632 fi
34633
34634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 fi
34636 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34637 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34638 if test "$wx_cv_lib_motif2" = "yes"; then
34639 cat >>confdefs.h <<\_ACEOF
34640 #define __WXMOTIF20__ 1
34641 _ACEOF
34642
34643 else
34644 cat >>confdefs.h <<\_ACEOF
34645 #define __WXMOTIF20__ 0
34646 _ACEOF
34647
34648 fi
34649
34650 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34651 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34652 if test "${wx_cv_lib_lesstif+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 else
34655 cat >conftest.$ac_ext <<_ACEOF
34656 /* confdefs.h. */
34657 _ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661
34662 #include <Xm/Xm.h>
34663
34664 int
34665 main ()
34666 {
34667
34668 #if !defined(LesstifVersion) || LesstifVersion <= 0
34669 Not Lesstif
34670 #endif
34671
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 rm -f conftest.$ac_objext
34677 if { (ac_try="$ac_compile"
34678 case "(($ac_try" in
34679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34680 *) ac_try_echo=$ac_try;;
34681 esac
34682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34683 (eval "$ac_compile") 2>conftest.er1
34684 ac_status=$?
34685 grep -v '^ *+' conftest.er1 >conftest.err
34686 rm -f conftest.er1
34687 cat conftest.err >&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } && {
34690 test -z "$ac_c_werror_flag" ||
34691 test ! -s conftest.err
34692 } && test -s conftest.$ac_objext; then
34693 wx_cv_lib_lesstif="yes"
34694 else
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34697
34698 wx_cv_lib_lesstif="no"
34699 fi
34700
34701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34702
34703 fi
34704 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34705 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34706 if test "$wx_cv_lib_lesstif" = "yes"; then
34707 cat >>confdefs.h <<\_ACEOF
34708 #define __WXLESSTIF__ 1
34709 _ACEOF
34710
34711 else
34712 cat >>confdefs.h <<\_ACEOF
34713 #define __WXLESSTIF__ 0
34714 _ACEOF
34715
34716 fi
34717
34718 CFLAGS=$save_CFLAGS
34719
34720 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34721 TOOLKIT=MOTIF
34722 GUIDIST=MOTIF_DIST
34723 fi
34724
34725 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34726 if test "$wxUSE_LIBXPM" = "sys"; then
34727 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34728 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34729
34730 ac_find_libraries=
34731 for ac_dir in $SEARCH_LIB;
34732 do
34733 for ac_extension in a so sl dylib dll.a; do
34734 if test -f "$ac_dir/libXpm.$ac_extension"; then
34735 ac_find_libraries=$ac_dir
34736 break 2
34737 fi
34738 done
34739 done
34740
34741 if test "$ac_find_libraries" != "" ; then
34742
34743 if test "$ac_find_libraries" = "default location"; then
34744 ac_path_to_link=""
34745 else
34746 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34747 result=$?
34748 if test $result = 0; then
34749 ac_path_to_link=""
34750 else
34751 ac_path_to_link=" -L$ac_find_libraries"
34752 fi
34753 fi
34754
34755 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34756 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34757 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34758
34759 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34760 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34761 if test "${wx_cv_x11_xpm_h+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 else
34764
34765 save_CFLAGS=$CFLAGS
34766 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34767
34768 cat >conftest.$ac_ext <<_ACEOF
34769 /* confdefs.h. */
34770 _ACEOF
34771 cat confdefs.h >>conftest.$ac_ext
34772 cat >>conftest.$ac_ext <<_ACEOF
34773 /* end confdefs.h. */
34774
34775 #include <X11/xpm.h>
34776
34777 int
34778 main ()
34779 {
34780
34781 int version;
34782 version = XpmLibraryVersion();
34783
34784 ;
34785 return 0;
34786 }
34787 _ACEOF
34788 rm -f conftest.$ac_objext
34789 if { (ac_try="$ac_compile"
34790 case "(($ac_try" in
34791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34792 *) ac_try_echo=$ac_try;;
34793 esac
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_compile") 2>conftest.er1
34796 ac_status=$?
34797 grep -v '^ *+' conftest.er1 >conftest.err
34798 rm -f conftest.er1
34799 cat conftest.err >&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } && {
34802 test -z "$ac_c_werror_flag" ||
34803 test ! -s conftest.err
34804 } && test -s conftest.$ac_objext; then
34805 wx_cv_x11_xpm_h=yes
34806 else
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.$ac_ext >&5
34809
34810 wx_cv_x11_xpm_h=no
34811
34812 fi
34813
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815
34816 CFLAGS=$save_CFLAGS
34817
34818
34819 fi
34820 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34821 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34822
34823 if test $wx_cv_x11_xpm_h = "yes"; then
34824 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34825 cat >>confdefs.h <<\_ACEOF
34826 #define wxHAVE_LIB_XPM 1
34827 _ACEOF
34828
34829 else
34830 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34831 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34832 fi
34833 fi
34834
34835 fi
34836
34837 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34838 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34839 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842 ac_check_lib_save_LIBS=$LIBS
34843 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34844 cat >conftest.$ac_ext <<_ACEOF
34845 /* confdefs.h. */
34846 _ACEOF
34847 cat confdefs.h >>conftest.$ac_ext
34848 cat >>conftest.$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850
34851 /* Override any GCC internal prototype to avoid an error.
34852 Use char because int might match the return type of a GCC
34853 builtin and then its argument prototype would still apply. */
34854 #ifdef __cplusplus
34855 extern "C"
34856 #endif
34857 char XShapeQueryExtension ();
34858 int
34859 main ()
34860 {
34861 return XShapeQueryExtension ();
34862 ;
34863 return 0;
34864 }
34865 _ACEOF
34866 rm -f conftest.$ac_objext conftest$ac_exeext
34867 if { (ac_try="$ac_link"
34868 case "(($ac_try" in
34869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34870 *) ac_try_echo=$ac_try;;
34871 esac
34872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34873 (eval "$ac_link") 2>conftest.er1
34874 ac_status=$?
34875 grep -v '^ *+' conftest.er1 >conftest.err
34876 rm -f conftest.er1
34877 cat conftest.err >&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } && {
34880 test -z "$ac_c_werror_flag" ||
34881 test ! -s conftest.err
34882 } && test -s conftest$ac_exeext &&
34883 $as_test_x conftest$ac_exeext; then
34884 ac_cv_lib_Xext_XShapeQueryExtension=yes
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889 ac_cv_lib_Xext_XShapeQueryExtension=no
34890 fi
34891
34892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34893 conftest$ac_exeext conftest.$ac_ext
34894 LIBS=$ac_check_lib_save_LIBS
34895 fi
34896 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34897 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34898 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34899
34900 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34901 wxHAVE_XEXT_LIB=1
34902
34903 fi
34904
34905
34906 if test "$wxHAVE_XEXT_LIB" = 1; then
34907 save_CFLAGS="$CFLAGS"
34908 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34909
34910 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34911 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34912 cat >conftest.$ac_ext <<_ACEOF
34913 /* confdefs.h. */
34914 _ACEOF
34915 cat confdefs.h >>conftest.$ac_ext
34916 cat >>conftest.$ac_ext <<_ACEOF
34917 /* end confdefs.h. */
34918
34919 #include <X11/Xlib.h>
34920 #include <X11/extensions/shape.h>
34921
34922 int
34923 main ()
34924 {
34925
34926 int dummy1, dummy2;
34927 XShapeQueryExtension((Display*)NULL,
34928 (int*)NULL, (int*)NULL);
34929
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (ac_try="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34939 esac
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34942 ac_status=$?
34943 grep -v '^ *+' conftest.er1 >conftest.err
34944 rm -f conftest.er1
34945 cat conftest.err >&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.$ac_objext; then
34951
34952 cat >>confdefs.h <<\_ACEOF
34953 #define HAVE_XSHAPE 1
34954 _ACEOF
34955
34956 { echo "$as_me:$LINENO: result: found" >&5
34957 echo "${ECHO_T}found" >&6; }
34958
34959 else
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34962
34963
34964 { echo "$as_me:$LINENO: result: not found" >&5
34965 echo "${ECHO_T}not found" >&6; }
34966
34967 fi
34968
34969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 CFLAGS="$save_CFLAGS"
34971
34972 fi
34973 fi
34974
34975 if test "$wxUSE_MAC" = 1; then
34976 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34977 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34978 if test "$GCC" = yes; then
34979 { echo "$as_me:$LINENO: result: gcc" >&5
34980 echo "${ECHO_T}gcc" >&6; }
34981 CPPFLAGS_PASCAL="-fpascal-strings"
34982 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34983 { echo "$as_me:$LINENO: result: xlc" >&5
34984 echo "${ECHO_T}xlc" >&6; }
34985 CPPFLAGS_PASCAL="-qmacpstr"
34986 else
34987 { echo "$as_me:$LINENO: result: none" >&5
34988 echo "${ECHO_T}none" >&6; }
34989 fi
34990
34991 if test "x$wxUSE_UNIX" = "xyes"; then
34992 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34993 else
34994 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34995 fi
34996
34997 TOOLKIT=MAC
34998 GUIDIST=MACX_DIST
34999 WXBASEPORT="_carbon"
35000 fi
35001
35002 if test "$wxUSE_COCOA" = 1; then
35003 TOOLKIT=COCOA
35004 GUIDIST=COCOA_DIST
35005 fi
35006
35007 if test "$wxUSE_PM" = 1; then
35008 TOOLKIT=PM
35009 GUIDIST=PM_DIST
35010 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35011 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35012 if test "${wx_cv_spbcdata+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35014 else
35015
35016 cat >conftest.$ac_ext <<_ACEOF
35017 /* confdefs.h. */
35018 _ACEOF
35019 cat confdefs.h >>conftest.$ac_ext
35020 cat >>conftest.$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35022
35023 #define INCL_PM
35024 #include <os2.h>
35025
35026 int
35027 main ()
35028 {
35029
35030 SPBCDATA test;
35031
35032 ;
35033 return 0;
35034 }
35035 _ACEOF
35036 rm -f conftest.$ac_objext
35037 if { (ac_try="$ac_compile"
35038 case "(($ac_try" in
35039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35040 *) ac_try_echo=$ac_try;;
35041 esac
35042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35043 (eval "$ac_compile") 2>conftest.er1
35044 ac_status=$?
35045 grep -v '^ *+' conftest.er1 >conftest.err
35046 rm -f conftest.er1
35047 cat conftest.err >&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); } && {
35050 test -z "$ac_c_werror_flag" ||
35051 test ! -s conftest.err
35052 } && test -s conftest.$ac_objext; then
35053 wx_cv_spbcdata=yes
35054 else
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.$ac_ext >&5
35057
35058 wx_cv_spbcdata=no
35059
35060 fi
35061
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35063
35064
35065 fi
35066 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35067 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35068
35069 if test $wx_cv_spbcdata = "yes"; then
35070 cat >>confdefs.h <<\_ACEOF
35071 #define HAVE_SPBCDATA 1
35072 _ACEOF
35073
35074 fi
35075 fi
35076
35077 if test "$TOOLKIT" = "PM" ; then
35078 TOOLKIT_DIR="os2"
35079 else
35080 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
35081 fi
35082
35083 if test "$wxUSE_UNIVERSAL" = "yes"; then
35084 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35085 WIDGET_SET=univ
35086 fi
35087
35088 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35089 DISTDIR="wx\$(TOOLKIT)"
35090 else
35091 USE_GUI=0
35092
35093 TOOLKIT_DIR="base"
35094
35095 if test "$USE_WIN32" = 1 ; then
35096 TOOLKIT="MSW"
35097 fi
35098
35099 GUIDIST="BASE_DIST"
35100 DISTDIR="wxBase"
35101 fi
35102
35103
35104
35105 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35106 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35107 wxUSE_UNICODE_UTF8=yes
35108 elif test "$USE_OS2" = 1 ; then
35109 wxUSE_UNICODE_UTF8=yes
35110 else
35111 wxUSE_UNICODE_UTF8=no
35112 fi
35113 fi
35114
35115
35116 if test "$wxUSE_GUI" = "yes"; then
35117 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35118
35119 for ac_header in X11/Xlib.h
35120 do
35121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 else
35127 cat >conftest.$ac_ext <<_ACEOF
35128 /* confdefs.h. */
35129 _ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133
35134
35135 #include <$ac_header>
35136 _ACEOF
35137 rm -f conftest.$ac_objext
35138 if { (ac_try="$ac_compile"
35139 case "(($ac_try" in
35140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35141 *) ac_try_echo=$ac_try;;
35142 esac
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_compile") 2>conftest.er1
35145 ac_status=$?
35146 grep -v '^ *+' conftest.er1 >conftest.err
35147 rm -f conftest.er1
35148 cat conftest.err >&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } && {
35151 test -z "$ac_c_werror_flag" ||
35152 test ! -s conftest.err
35153 } && test -s conftest.$ac_objext; then
35154 eval "$as_ac_Header=yes"
35155 else
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.$ac_ext >&5
35158
35159 eval "$as_ac_Header=no"
35160 fi
35161
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163 fi
35164 ac_res=`eval echo '${'$as_ac_Header'}'`
35165 { echo "$as_me:$LINENO: result: $ac_res" >&5
35166 echo "${ECHO_T}$ac_res" >&6; }
35167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35168 cat >>confdefs.h <<_ACEOF
35169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35170 _ACEOF
35171
35172 fi
35173
35174 done
35175
35176
35177 for ac_header in X11/XKBlib.h
35178 do
35179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 cat >conftest.$ac_ext <<_ACEOF
35186 /* confdefs.h. */
35187 _ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191
35192 #if HAVE_X11_XLIB_H
35193 #include <X11/Xlib.h>
35194 #endif
35195
35196
35197 #include <$ac_header>
35198 _ACEOF
35199 rm -f conftest.$ac_objext
35200 if { (ac_try="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35204 esac
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35207 ac_status=$?
35208 grep -v '^ *+' conftest.er1 >conftest.err
35209 rm -f conftest.er1
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_c_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.$ac_objext; then
35216 eval "$as_ac_Header=yes"
35217 else
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.$ac_ext >&5
35220
35221 eval "$as_ac_Header=no"
35222 fi
35223
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 fi
35226 ac_res=`eval echo '${'$as_ac_Header'}'`
35227 { echo "$as_me:$LINENO: result: $ac_res" >&5
35228 echo "${ECHO_T}$ac_res" >&6; }
35229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35230 cat >>confdefs.h <<_ACEOF
35231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35232 _ACEOF
35233
35234 fi
35235
35236 done
35237
35238 fi
35239 fi
35240
35241
35242
35243 if test "$wxUSE_DISPLAY" = "yes"; then
35244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35245 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35246 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35247
35248 ac_find_libraries=
35249 for ac_dir in $SEARCH_LIB;
35250 do
35251 for ac_extension in a so sl dylib dll.a; do
35252 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35253 ac_find_libraries=$ac_dir
35254 break 2
35255 fi
35256 done
35257 done
35258
35259 if test "$ac_find_libraries" != "" ; then
35260
35261 if test "$ac_find_libraries" = "default location"; then
35262 ac_path_to_link=""
35263 else
35264 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35265 result=$?
35266 if test $result = 0; then
35267 ac_path_to_link=""
35268 else
35269 ac_path_to_link=" -L$ac_find_libraries"
35270 fi
35271 fi
35272
35273 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35274 LDFLAGS="$LDFLAGS $ac_path_to_link"
35275 fi
35276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35277 { echo "$as_me:$LINENO: result: yes" >&5
35278 echo "${ECHO_T}yes" >&6; }
35279
35280 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35281 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35282
35283 ac_find_libraries=
35284 for ac_dir in $SEARCH_LIB;
35285 do
35286 for ac_extension in a so sl dylib dll.a; do
35287 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35288 ac_find_libraries=$ac_dir
35289 break 2
35290 fi
35291 done
35292 done
35293
35294 if test "$ac_find_libraries" != "" ; then
35295 { echo "$as_me:$LINENO: result: yes" >&5
35296 echo "${ECHO_T}yes" >&6; }
35297
35298 for ac_header in X11/extensions/xf86vmode.h
35299 do
35300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35304 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 else
35306 cat >conftest.$ac_ext <<_ACEOF
35307 /* confdefs.h. */
35308 _ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35312
35313 #if HAVE_X11_XLIB_H
35314 #include <X11/Xlib.h>
35315 #endif
35316
35317
35318 #include <$ac_header>
35319 _ACEOF
35320 rm -f conftest.$ac_objext
35321 if { (ac_try="$ac_compile"
35322 case "(($ac_try" in
35323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35324 *) ac_try_echo=$ac_try;;
35325 esac
35326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35327 (eval "$ac_compile") 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } && {
35334 test -z "$ac_c_werror_flag" ||
35335 test ! -s conftest.err
35336 } && test -s conftest.$ac_objext; then
35337 eval "$as_ac_Header=yes"
35338 else
35339 echo "$as_me: failed program was:" >&5
35340 sed 's/^/| /' conftest.$ac_ext >&5
35341
35342 eval "$as_ac_Header=no"
35343 fi
35344
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35346 fi
35347 ac_res=`eval echo '${'$as_ac_Header'}'`
35348 { echo "$as_me:$LINENO: result: $ac_res" >&5
35349 echo "${ECHO_T}$ac_res" >&6; }
35350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35351 cat >>confdefs.h <<_ACEOF
35352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35353 _ACEOF
35354
35355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35356
35357 fi
35358
35359 done
35360
35361 else
35362 { echo "$as_me:$LINENO: result: no" >&5
35363 echo "${ECHO_T}no" >&6; }
35364 fi
35365
35366 else
35367 { echo "$as_me:$LINENO: result: no" >&5
35368 echo "${ECHO_T}no" >&6; }
35369 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35370 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35371 wxUSE_DISPLAY="no"
35372 fi
35373 elif test "$wxUSE_MSW" = 1; then
35374 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35375 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35376 if test "${ac_cv_header_ddraw_h+set}" = set; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 else
35379 cat >conftest.$ac_ext <<_ACEOF
35380 /* confdefs.h. */
35381 _ACEOF
35382 cat confdefs.h >>conftest.$ac_ext
35383 cat >>conftest.$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35385 #include <windows.h>
35386
35387 #include <ddraw.h>
35388 _ACEOF
35389 rm -f conftest.$ac_objext
35390 if { (ac_try="$ac_compile"
35391 case "(($ac_try" in
35392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35393 *) ac_try_echo=$ac_try;;
35394 esac
35395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35396 (eval "$ac_compile") 2>conftest.er1
35397 ac_status=$?
35398 grep -v '^ *+' conftest.er1 >conftest.err
35399 rm -f conftest.er1
35400 cat conftest.err >&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); } && {
35403 test -z "$ac_c_werror_flag" ||
35404 test ! -s conftest.err
35405 } && test -s conftest.$ac_objext; then
35406 ac_cv_header_ddraw_h=yes
35407 else
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35410
35411 ac_cv_header_ddraw_h=no
35412 fi
35413
35414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35415 fi
35416 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35417 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35418
35419
35420 fi
35421 fi
35422
35423 if test "$wxUSE_DETECT_SM" = "yes"; then
35424 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35425 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35426 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35427
35428 ac_find_libraries=
35429 for ac_dir in $SEARCH_LIB;
35430 do
35431 for ac_extension in a so sl dylib dll.a; do
35432 if test -f "$ac_dir/libSM.$ac_extension"; then
35433 ac_find_libraries=$ac_dir
35434 break 2
35435 fi
35436 done
35437 done
35438
35439 if test "$ac_find_libraries" != "" ; then
35440
35441 if test "$ac_find_libraries" = "default location"; then
35442 ac_path_to_link=""
35443 else
35444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35445 result=$?
35446 if test $result = 0; then
35447 ac_path_to_link=""
35448 else
35449 ac_path_to_link=" -L$ac_find_libraries"
35450 fi
35451 fi
35452
35453 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35454 LDFLAGS="$LDFLAGS $ac_path_to_link"
35455 fi
35456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35457 { echo "$as_me:$LINENO: result: yes" >&5
35458 echo "${ECHO_T}yes" >&6; }
35459 else
35460 { echo "$as_me:$LINENO: result: no" >&5
35461 echo "${ECHO_T}no" >&6; }
35462 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35463 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35464 wxUSE_DETECT_SM="no"
35465 fi
35466 else
35467 wxUSE_DETECT_SM="no"
35468 fi
35469 fi
35470
35471
35472
35473 USE_OPENGL=0
35474 if test "$wxUSE_OPENGL" = "yes"; then
35475 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35476 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35477 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35478 wxUSE_OPENGL="no"
35479 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35480 OPENGL_LIBS="-framework OpenGL -framework AGL"
35481 elif test "$wxUSE_MSW" = 1; then
35482 OPENGL_LIBS="-lopengl32 -lglu32"
35483 else
35484 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35485 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35486
35487 ac_find_includes=
35488 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35489 do
35490 if test -f "$ac_dir/GL/gl.h"; then
35491 ac_find_includes=$ac_dir
35492 break
35493 fi
35494 done
35495
35496 if test "$ac_find_includes" != "" ; then
35497 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35498 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35499
35500 if test "x$ac_find_includes" = "x/usr/include"; then
35501 ac_path_to_include=""
35502 else
35503 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35504 result=$?
35505 if test $result = 0; then
35506 ac_path_to_include=""
35507 else
35508 ac_path_to_include=" -I$ac_find_includes"
35509 fi
35510 fi
35511
35512 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35513 else
35514 { echo "$as_me:$LINENO: result: not found" >&5
35515 echo "${ECHO_T}not found" >&6; }
35516 fi
35517
35518 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35519 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35520 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35522 else
35523 cat >conftest.$ac_ext <<_ACEOF
35524 /* confdefs.h. */
35525 _ACEOF
35526 cat confdefs.h >>conftest.$ac_ext
35527 cat >>conftest.$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35529
35530
35531 #include <GL/gl.h>
35532 _ACEOF
35533 rm -f conftest.$ac_objext
35534 if { (ac_try="$ac_compile"
35535 case "(($ac_try" in
35536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35537 *) ac_try_echo=$ac_try;;
35538 esac
35539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35540 (eval "$ac_compile") 2>conftest.er1
35541 ac_status=$?
35542 grep -v '^ *+' conftest.er1 >conftest.err
35543 rm -f conftest.er1
35544 cat conftest.err >&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } && {
35547 test -z "$ac_c_werror_flag" ||
35548 test ! -s conftest.err
35549 } && test -s conftest.$ac_objext; then
35550 ac_cv_header_GL_gl_h=yes
35551 else
35552 echo "$as_me: failed program was:" >&5
35553 sed 's/^/| /' conftest.$ac_ext >&5
35554
35555 ac_cv_header_GL_gl_h=no
35556 fi
35557
35558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35559 fi
35560 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35561 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35562 if test $ac_cv_header_GL_gl_h = yes; then
35563
35564 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35565 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35566 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35568 else
35569 cat >conftest.$ac_ext <<_ACEOF
35570 /* confdefs.h. */
35571 _ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575
35576
35577 #include <GL/glu.h>
35578 _ACEOF
35579 rm -f conftest.$ac_objext
35580 if { (ac_try="$ac_compile"
35581 case "(($ac_try" in
35582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35583 *) ac_try_echo=$ac_try;;
35584 esac
35585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35586 (eval "$ac_compile") 2>conftest.er1
35587 ac_status=$?
35588 grep -v '^ *+' conftest.er1 >conftest.err
35589 rm -f conftest.er1
35590 cat conftest.err >&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } && {
35593 test -z "$ac_c_werror_flag" ||
35594 test ! -s conftest.err
35595 } && test -s conftest.$ac_objext; then
35596 ac_cv_header_GL_glu_h=yes
35597 else
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35600
35601 ac_cv_header_GL_glu_h=no
35602 fi
35603
35604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35605 fi
35606 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35607 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35608 if test $ac_cv_header_GL_glu_h = yes; then
35609
35610 found_gl=0
35611
35612 { echo "$as_me:$LINENO: checking for -lGL" >&5
35613 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35614
35615 ac_find_libraries=
35616 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35617 do
35618 for ac_extension in a so sl dylib dll.a; do
35619 if test -f "$ac_dir/libGL.$ac_extension"; then
35620 ac_find_libraries=$ac_dir
35621 break 2
35622 fi
35623 done
35624 done
35625
35626 if test "$ac_find_libraries" != "" ; then
35627 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35628 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35629
35630
35631 if test "$ac_find_libraries" = "default location"; then
35632 ac_path_to_link=""
35633 else
35634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35635 result=$?
35636 if test $result = 0; then
35637 ac_path_to_link=""
35638 else
35639 ac_path_to_link=" -L$ac_find_libraries"
35640 fi
35641 fi
35642
35643 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35644 LDFLAGS_GL="$ac_path_to_link"
35645 fi
35646
35647 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35648 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35649
35650 ac_find_libraries=
35651 for ac_dir in $SEARCH_LIB;
35652 do
35653 for ac_extension in a so sl dylib dll.a; do
35654 if test -f "$ac_dir/libGLU.$ac_extension"; then
35655 ac_find_libraries=$ac_dir
35656 break 2
35657 fi
35658 done
35659 done
35660
35661 if test "$ac_find_libraries" != "" ; then
35662
35663 if test "$ac_find_libraries" = "default location"; then
35664 ac_path_to_link=""
35665 else
35666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35667 result=$?
35668 if test $result = 0; then
35669 ac_path_to_link=""
35670 else
35671 ac_path_to_link=" -L$ac_find_libraries"
35672 fi
35673 fi
35674
35675 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35676 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35677 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35678 fi
35679
35680 found_gl=1
35681 OPENGL_LIBS="-lGL -lGLU"
35682 { echo "$as_me:$LINENO: result: yes" >&5
35683 echo "${ECHO_T}yes" >&6; }
35684 else
35685 { echo "$as_me:$LINENO: result: no" >&5
35686 echo "${ECHO_T}no" >&6; }
35687 fi
35688 else
35689 { echo "$as_me:$LINENO: result: no" >&5
35690 echo "${ECHO_T}no" >&6; }
35691 fi
35692
35693 if test "$found_gl" != 1; then
35694 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35695 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35696
35697 ac_find_libraries=
35698 for ac_dir in $SEARCH_LIB;
35699 do
35700 for ac_extension in a so sl dylib dll.a; do
35701 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35702 ac_find_libraries=$ac_dir
35703 break 2
35704 fi
35705 done
35706 done
35707
35708 if test "$ac_find_libraries" != "" ; then
35709
35710 if test "$ac_find_libraries" = "default location"; then
35711 ac_path_to_link=""
35712 else
35713 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35714 result=$?
35715 if test $result = 0; then
35716 ac_path_to_link=""
35717 else
35718 ac_path_to_link=" -L$ac_find_libraries"
35719 fi
35720 fi
35721
35722 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35723 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35724 { echo "$as_me:$LINENO: result: yes" >&5
35725 echo "${ECHO_T}yes" >&6; }
35726 else
35727 { echo "$as_me:$LINENO: result: no" >&5
35728 echo "${ECHO_T}no" >&6; }
35729 fi
35730 fi
35731
35732 fi
35733
35734
35735
35736 fi
35737
35738
35739
35740 if test "x$OPENGL_LIBS" = "x"; then
35741 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35742 echo "$as_me: error: OpenGL libraries not available" >&2;}
35743 { (exit 1); exit 1; }; }
35744 fi
35745 fi
35746
35747 if test "$wxUSE_OPENGL" = "yes"; then
35748 USE_OPENGL=1
35749 cat >>confdefs.h <<\_ACEOF
35750 #define wxUSE_OPENGL 1
35751 _ACEOF
35752
35753 cat >>confdefs.h <<\_ACEOF
35754 #define wxUSE_GLCANVAS 1
35755 _ACEOF
35756
35757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35758 fi
35759 fi
35760
35761
35762 if test -n "$TOOLKIT" ; then
35763 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35764 fi
35765
35766
35767
35768 if test "$wxUSE_SHARED" = "yes"; then
35769 case "${host}" in
35770 *-pc-msdosdjgpp )
35771 wxUSE_SHARED=no
35772 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35773 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35774 ;;
35775 esac
35776 fi
35777
35778 if test "$wxUSE_SHARED" = "yes"; then
35779
35780
35781 case "${host}" in
35782 *-*-cygwin* | *-*-mingw* )
35783 wx_cv_version_script=no
35784 ;;
35785
35786 *)
35787 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35788 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35789 if test "${wx_cv_version_script+set}" = set; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792
35793 echo "VER_1 { *; };" >conftest.sym
35794 echo "int main() { return 0; }" >conftest.cpp
35795
35796 if { ac_try='
35797 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35798 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35801 ac_status=$?
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; } ; then
35804 if test -s conftest.stderr ; then
35805 wx_cv_version_script=no
35806 else
35807 wx_cv_version_script=yes
35808 fi
35809 else
35810 wx_cv_version_script=no
35811 fi
35812
35813 if test $wx_cv_version_script = yes
35814 then
35815 echo "struct B { virtual ~B() { } }; \
35816 struct D : public B { }; \
35817 void F() { D d; }" > conftest.cpp
35818
35819 if { ac_try='
35820 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35821 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823 (eval $ac_try) 2>&5
35824 ac_status=$?
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); }; } &&
35827 { ac_try='
35828 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35829 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35832 ac_status=$?
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; }
35835 then
35836 if { ac_try='
35837 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35838 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }
35844 then
35845 wx_cv_version_script=yes
35846 else
35847 wx_cv_version_script=no
35848 fi
35849 fi
35850 fi
35851
35852 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35853 rm -f conftest1.output conftest2.output conftest3.output
35854
35855 fi
35856 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35857 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35858
35859 if test $wx_cv_version_script = yes ; then
35860 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35861 fi
35862 ;;
35863 esac
35864
35865
35866 if test "$wxUSE_VISIBILITY" != "no"; then
35867
35868
35869 if test -n "$GCC"; then
35870 CFLAGS_VISIBILITY="-fvisibility=hidden"
35871 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35872 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35873 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35874 if test "${wx_cv_cc_visibility+set}" = set; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35876 else
35877
35878 wx_save_CXXFLAGS="$CXXFLAGS"
35879 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35880 ac_ext=cpp
35881 ac_cpp='$CXXCPP $CPPFLAGS'
35882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35885
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892
35893 /* we need gcc >= 4.0, older versions with visibility support
35894 didn't have class visibility: */
35895 #if defined(__GNUC__) && __GNUC__ < 4
35896 error this gcc is too old;
35897 #endif
35898
35899 /* visibility only makes sense for ELF shared libs: */
35900 #if !defined(__ELF__) && !defined(__APPLE__)
35901 error this platform has no visibility;
35902 #endif
35903
35904 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35905 extern __attribute__((__visibility__("default"))) int exportedvar;
35906 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35907 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35908 class __attribute__((__visibility__("default"))) Foo {
35909 Foo() {}
35910 };
35911
35912 int
35913 main ()
35914 {
35915
35916 ;
35917 return 0;
35918 }
35919 _ACEOF
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35924 *) ac_try_echo=$ac_try;;
35925 esac
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35928 ac_status=$?
35929 grep -v '^ *+' conftest.er1 >conftest.err
35930 rm -f conftest.er1
35931 cat conftest.err >&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_cxx_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.$ac_objext; then
35937 wx_cv_cc_visibility=yes
35938 else
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.$ac_ext >&5
35941
35942 wx_cv_cc_visibility=no
35943 fi
35944
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35951
35952 CXXFLAGS="$wx_save_CXXFLAGS"
35953 fi
35954
35955 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35956 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35957 if test $wx_cv_cc_visibility = yes; then
35958 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35959 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35960 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35961 echo $ECHO_N "(cached) $ECHO_C" >&6
35962 else
35963
35964 wx_save_CXXFLAGS="$CXXFLAGS"
35965 wx_save_LDFLAGS="$LDFLAGS"
35966 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35967 LDFLAGS="$LDFLAGS -shared -fPIC"
35968 ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980
35981 #include <string>
35982
35983 int
35984 main ()
35985 {
35986
35987 std::string s("hello");
35988 return s.length();
35989
35990 ;
35991 return 0;
35992 }
35993 _ACEOF
35994 rm -f conftest.$ac_objext conftest$ac_exeext
35995 if { (ac_try="$ac_link"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
35999 esac
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_link") 2>conftest.er1
36002 ac_status=$?
36003 grep -v '^ *+' conftest.er1 >conftest.err
36004 rm -f conftest.er1
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_cxx_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest$ac_exeext &&
36011 $as_test_x conftest$ac_exeext; then
36012 wx_cv_cc_broken_libstdcxx_visibility=no
36013 else
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017 wx_cv_cc_broken_libstdcxx_visibility=yes
36018 fi
36019
36020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36021 conftest$ac_exeext conftest.$ac_ext
36022 ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027
36028 CXXFLAGS="$wx_save_CXXFLAGS"
36029 LDFLAGS="$wx_save_LDFLAGS"
36030 fi
36031
36032 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36033 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36034
36035 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36036 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36037 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36038 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 else
36041
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36047
36048 cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h. */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h. */
36054
36055 #pragma GCC visibility push(default)
36056 #include <string>
36057 #pragma GCC visibility pop
36058
36059 int
36060 main ()
36061 {
36062
36063 std::string s("hello");
36064 return s.length();
36065
36066 ;
36067 return 0;
36068 }
36069 _ACEOF
36070 rm -f conftest.$ac_objext conftest$ac_exeext
36071 if { (ac_try="$ac_link"
36072 case "(($ac_try" in
36073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36074 *) ac_try_echo=$ac_try;;
36075 esac
36076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36077 (eval "$ac_link") 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } && {
36084 test -z "$ac_cxx_werror_flag" ||
36085 test ! -s conftest.err
36086 } && test -s conftest$ac_exeext &&
36087 $as_test_x conftest$ac_exeext; then
36088 wx_cv_cc_visibility_workaround=no
36089 else
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36092
36093 wx_cv_cc_visibility_workaround=yes
36094 fi
36095
36096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36097 conftest$ac_exeext conftest.$ac_ext
36098 ac_ext=c
36099 ac_cpp='$CPP $CPPFLAGS'
36100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36103
36104
36105 fi
36106
36107 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36108 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36109
36110 if test $wx_cv_cc_visibility_workaround = no; then
36111 wx_cv_cc_visibility=no
36112 fi
36113 fi
36114 fi
36115
36116 if test $wx_cv_cc_visibility = yes; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define HAVE_VISIBILITY 1
36119 _ACEOF
36120
36121 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36122 cat >>confdefs.h <<\_ACEOF
36123 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36124 _ACEOF
36125
36126 fi
36127 else
36128 CFLAGS_VISIBILITY=""
36129 CXXFLAGS_VISIBILITY=""
36130 fi
36131
36132
36133 fi
36134
36135 fi
36136
36137 if test "x$SUNCXX" = xyes; then
36138 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36139 WXCONFIG_RPATH="-R\$libdir"
36140 else
36141 case "${host}" in
36142 *-*-linux* | *-*-gnu* )
36143 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36144 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36145 ;;
36146
36147 *-*-solaris2* )
36148
36149 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36150
36151 saveLdflags="$LDFLAGS"
36152 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36153 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36154 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36155 cat >conftest.$ac_ext <<_ACEOF
36156 /* confdefs.h. */
36157 _ACEOF
36158 cat confdefs.h >>conftest.$ac_ext
36159 cat >>conftest.$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36161
36162 int
36163 main ()
36164 {
36165
36166 ;
36167 return 0;
36168 }
36169 _ACEOF
36170 rm -f conftest.$ac_objext conftest$ac_exeext
36171 if { (ac_try="$ac_link"
36172 case "(($ac_try" in
36173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36174 *) ac_try_echo=$ac_try;;
36175 esac
36176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36177 (eval "$ac_link") 2>conftest.er1
36178 ac_status=$?
36179 grep -v '^ *+' conftest.er1 >conftest.err
36180 rm -f conftest.er1
36181 cat conftest.err >&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } && {
36184 test -z "$ac_c_werror_flag" ||
36185 test ! -s conftest.err
36186 } && test -s conftest$ac_exeext &&
36187 $as_test_x conftest$ac_exeext; then
36188
36189 { echo "$as_me:$LINENO: result: yes" >&5
36190 echo "${ECHO_T}yes" >&6; }
36191 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36192 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36193
36194 else
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.$ac_ext >&5
36197
36198
36199 { echo "$as_me:$LINENO: result: no" >&5
36200 echo "${ECHO_T}no" >&6; }
36201 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36202 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36203 LDFLAGS="$saveLdflags -Wl,-R,/"
36204 cat >conftest.$ac_ext <<_ACEOF
36205 /* confdefs.h. */
36206 _ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210
36211 int
36212 main ()
36213 {
36214
36215 ;
36216 return 0;
36217 }
36218 _ACEOF
36219 rm -f conftest.$ac_objext conftest$ac_exeext
36220 if { (ac_try="$ac_link"
36221 case "(($ac_try" in
36222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36223 *) ac_try_echo=$ac_try;;
36224 esac
36225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36226 (eval "$ac_link") 2>conftest.er1
36227 ac_status=$?
36228 grep -v '^ *+' conftest.er1 >conftest.err
36229 rm -f conftest.er1
36230 cat conftest.err >&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); } && {
36233 test -z "$ac_c_werror_flag" ||
36234 test ! -s conftest.err
36235 } && test -s conftest$ac_exeext &&
36236 $as_test_x conftest$ac_exeext; then
36237
36238 { echo "$as_me:$LINENO: result: yes" >&5
36239 echo "${ECHO_T}yes" >&6; }
36240 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36241 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36242
36243 else
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36246
36247
36248 { echo "$as_me:$LINENO: result: no" >&5
36249 echo "${ECHO_T}no" >&6; }
36250
36251 fi
36252
36253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36254 conftest$ac_exeext conftest.$ac_ext
36255
36256 fi
36257
36258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36259 conftest$ac_exeext conftest.$ac_ext
36260 LDFLAGS="$saveLdflags"
36261 ;;
36262
36263 *-*-darwin* )
36264 install_name_tool=`which install_name_tool`
36265 if test "$install_name_tool" -a -x "$install_name_tool"; then
36266 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36267 cat <<EOF >change-install-names
36268 #!/bin/sh
36269 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36270 inst_cmd="install_name_tool "
36271 for i in \${libnames} ; do
36272 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36273 done
36274 \${inst_cmd} \${3}
36275 EOF
36276 chmod +x change-install-names
36277 fi
36278 ;;
36279
36280 *-*-cygwin* | *-*-mingw32* )
36281 ;;
36282
36283 *-*-hpux* )
36284 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36285 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36286 ;;
36287
36288 esac
36289 fi
36290
36291 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36292
36293 if test $wxUSE_RPATH = "no"; then
36294 SAMPLES_RPATH_FLAG=''
36295 SAMPLES_RPATH_POSTLINK=''
36296 WXCONFIG_RPATH=''
36297 fi
36298
36299 SHARED=1
36300
36301 else
36302
36303 config_linkage_component="-static"
36304 SHARED=0
36305
36306 fi
36307
36308
36309 UNICODE=0
36310 lib_unicode_suffix=
36311 WX_CHARTYPE="ansi"
36312 if test "$wxUSE_UNICODE" = "yes"; then
36313 lib_unicode_suffix=u
36314 WX_CHARTYPE="unicode"
36315 UNICODE=1
36316 fi
36317
36318 lib_debug_suffix=
36319 WX_DEBUGTYPE="release"
36320 DEBUG_FLAG=0
36321 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36322 lib_debug_suffix=d
36323 WX_DEBUGTYPE="debug"
36324 DEBUG_FLAG=1
36325 fi
36326
36327 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36328 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36329
36330 DEBUG_INFO=0
36331 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36332 DEBUG_INFO=1
36333 fi
36334
36335 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36336
36337 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36338
36339 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36340
36341 if test "$cross_compiling" = "yes"; then
36342 HOST_SUFFIX="-$host_alias"
36343 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36344 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36345 fi
36346
36347 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36348 if test "${TOOLKIT_DIR}" = "os2"; then
36349 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36350 else
36351 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36352 fi
36353
36354
36355
36356 if test "$wxUSE_COCOA" = 1; then
36357
36358 ac_ext=c
36359 ac_cpp='$CPP $CPPFLAGS'
36360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36363
36364 ac_ext=m
36365
36366 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36367 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36368 cat >conftest.$ac_ext <<_ACEOF
36369 /* confdefs.h. */
36370 _ACEOF
36371 cat confdefs.h >>conftest.$ac_ext
36372 cat >>conftest.$ac_ext <<_ACEOF
36373 /* end confdefs.h. */
36374 #include <AppKit/NSEvent.h>
36375 #include <CoreFoundation/CoreFoundation.h>
36376
36377 int
36378 main ()
36379 {
36380
36381 ;
36382 return 0;
36383 }
36384 _ACEOF
36385 rm -f conftest.$ac_objext
36386 if { (ac_try="$ac_compile"
36387 case "(($ac_try" in
36388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36390 esac
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_compile") 2>conftest.er1
36393 ac_status=$?
36394 grep -v '^ *+' conftest.er1 >conftest.err
36395 rm -f conftest.er1
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } && {
36399 test -z "$ac_c_werror_flag" ||
36400 test ! -s conftest.err
36401 } && test -s conftest.$ac_objext; then
36402 { echo "$as_me:$LINENO: result: no" >&5
36403 echo "${ECHO_T}no" >&6; }
36404 else
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.$ac_ext >&5
36407
36408 { echo "$as_me:$LINENO: result: yes" >&5
36409 echo "${ECHO_T}yes" >&6; }
36410 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36411 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36412 cat >conftest.$ac_ext <<_ACEOF
36413 /* confdefs.h. */
36414 _ACEOF
36415 cat confdefs.h >>conftest.$ac_ext
36416 cat >>conftest.$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 #define __Point__ 1
36419 #include <AppKit/NSEvent.h>
36420 #include <CoreFoundation/CoreFoundation.h>
36421
36422 int
36423 main ()
36424 {
36425
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36434 *) ac_try_echo=$ac_try;;
36435 esac
36436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36438 ac_status=$?
36439 grep -v '^ *+' conftest.er1 >conftest.err
36440 rm -f conftest.er1
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_c_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.$ac_objext; then
36447 { echo "$as_me:$LINENO: result: yes" >&5
36448 echo "${ECHO_T}yes" >&6; }
36449 cat >>confdefs.h <<\_ACEOF
36450 #define __Point__ 1
36451 _ACEOF
36452
36453
36454 else
36455 echo "$as_me: failed program was:" >&5
36456 sed 's/^/| /' conftest.$ac_ext >&5
36457
36458 { { echo "$as_me:$LINENO: error: no
36459 See \`config.log' for more details." >&5
36460 echo "$as_me: error: no
36461 See \`config.log' for more details." >&2;}
36462 { (exit 1); exit 1; }; }
36463
36464 fi
36465
36466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36467
36468 fi
36469
36470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36471 ac_ext=c
36472 ac_cpp='$CPP $CPPFLAGS'
36473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36476
36477 fi
36478
36479
36480 { echo "$as_me:$LINENO: checking for mode_t" >&5
36481 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36482 if test "${ac_cv_type_mode_t+set}" = set; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 else
36485 cat >conftest.$ac_ext <<_ACEOF
36486 /* confdefs.h. */
36487 _ACEOF
36488 cat confdefs.h >>conftest.$ac_ext
36489 cat >>conftest.$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 $ac_includes_default
36492 typedef mode_t ac__type_new_;
36493 int
36494 main ()
36495 {
36496 if ((ac__type_new_ *) 0)
36497 return 0;
36498 if (sizeof (ac__type_new_))
36499 return 0;
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext
36505 if { (ac_try="$ac_compile"
36506 case "(($ac_try" in
36507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36508 *) ac_try_echo=$ac_try;;
36509 esac
36510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36511 (eval "$ac_compile") 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } && {
36518 test -z "$ac_c_werror_flag" ||
36519 test ! -s conftest.err
36520 } && test -s conftest.$ac_objext; then
36521 ac_cv_type_mode_t=yes
36522 else
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36525
36526 ac_cv_type_mode_t=no
36527 fi
36528
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36530 fi
36531 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36532 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36533 if test $ac_cv_type_mode_t = yes; then
36534 :
36535 else
36536
36537 cat >>confdefs.h <<_ACEOF
36538 #define mode_t int
36539 _ACEOF
36540
36541 fi
36542
36543 { echo "$as_me:$LINENO: checking for off_t" >&5
36544 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36545 if test "${ac_cv_type_off_t+set}" = set; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 else
36548 cat >conftest.$ac_ext <<_ACEOF
36549 /* confdefs.h. */
36550 _ACEOF
36551 cat confdefs.h >>conftest.$ac_ext
36552 cat >>conftest.$ac_ext <<_ACEOF
36553 /* end confdefs.h. */
36554 $ac_includes_default
36555 typedef off_t ac__type_new_;
36556 int
36557 main ()
36558 {
36559 if ((ac__type_new_ *) 0)
36560 return 0;
36561 if (sizeof (ac__type_new_))
36562 return 0;
36563 ;
36564 return 0;
36565 }
36566 _ACEOF
36567 rm -f conftest.$ac_objext
36568 if { (ac_try="$ac_compile"
36569 case "(($ac_try" in
36570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36571 *) ac_try_echo=$ac_try;;
36572 esac
36573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36574 (eval "$ac_compile") 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } && {
36581 test -z "$ac_c_werror_flag" ||
36582 test ! -s conftest.err
36583 } && test -s conftest.$ac_objext; then
36584 ac_cv_type_off_t=yes
36585 else
36586 echo "$as_me: failed program was:" >&5
36587 sed 's/^/| /' conftest.$ac_ext >&5
36588
36589 ac_cv_type_off_t=no
36590 fi
36591
36592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36593 fi
36594 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36595 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36596 if test $ac_cv_type_off_t = yes; then
36597 :
36598 else
36599
36600 cat >>confdefs.h <<_ACEOF
36601 #define off_t long int
36602 _ACEOF
36603
36604 fi
36605
36606 { echo "$as_me:$LINENO: checking for pid_t" >&5
36607 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36608 if test "${ac_cv_type_pid_t+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 else
36611 cat >conftest.$ac_ext <<_ACEOF
36612 /* confdefs.h. */
36613 _ACEOF
36614 cat confdefs.h >>conftest.$ac_ext
36615 cat >>conftest.$ac_ext <<_ACEOF
36616 /* end confdefs.h. */
36617 $ac_includes_default
36618 typedef pid_t ac__type_new_;
36619 int
36620 main ()
36621 {
36622 if ((ac__type_new_ *) 0)
36623 return 0;
36624 if (sizeof (ac__type_new_))
36625 return 0;
36626 ;
36627 return 0;
36628 }
36629 _ACEOF
36630 rm -f conftest.$ac_objext
36631 if { (ac_try="$ac_compile"
36632 case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36635 esac
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_compile") 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_c_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest.$ac_objext; then
36647 ac_cv_type_pid_t=yes
36648 else
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36651
36652 ac_cv_type_pid_t=no
36653 fi
36654
36655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36656 fi
36657 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36658 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36659 if test $ac_cv_type_pid_t = yes; then
36660 :
36661 else
36662
36663 cat >>confdefs.h <<_ACEOF
36664 #define pid_t int
36665 _ACEOF
36666
36667 fi
36668
36669 { echo "$as_me:$LINENO: checking for size_t" >&5
36670 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36671 if test "${ac_cv_type_size_t+set}" = set; then
36672 echo $ECHO_N "(cached) $ECHO_C" >&6
36673 else
36674 cat >conftest.$ac_ext <<_ACEOF
36675 /* confdefs.h. */
36676 _ACEOF
36677 cat confdefs.h >>conftest.$ac_ext
36678 cat >>conftest.$ac_ext <<_ACEOF
36679 /* end confdefs.h. */
36680 $ac_includes_default
36681 typedef size_t ac__type_new_;
36682 int
36683 main ()
36684 {
36685 if ((ac__type_new_ *) 0)
36686 return 0;
36687 if (sizeof (ac__type_new_))
36688 return 0;
36689 ;
36690 return 0;
36691 }
36692 _ACEOF
36693 rm -f conftest.$ac_objext
36694 if { (ac_try="$ac_compile"
36695 case "(($ac_try" in
36696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36697 *) ac_try_echo=$ac_try;;
36698 esac
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_compile") 2>conftest.er1
36701 ac_status=$?
36702 grep -v '^ *+' conftest.er1 >conftest.err
36703 rm -f conftest.er1
36704 cat conftest.err >&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest.$ac_objext; then
36710 ac_cv_type_size_t=yes
36711 else
36712 echo "$as_me: failed program was:" >&5
36713 sed 's/^/| /' conftest.$ac_ext >&5
36714
36715 ac_cv_type_size_t=no
36716 fi
36717
36718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36719 fi
36720 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36721 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36722 if test $ac_cv_type_size_t = yes; then
36723 :
36724 else
36725
36726 cat >>confdefs.h <<_ACEOF
36727 #define size_t unsigned int
36728 _ACEOF
36729
36730 fi
36731
36732 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36733 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36734 if test "${ac_cv_type_uid_t+set}" = set; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 else
36737 cat >conftest.$ac_ext <<_ACEOF
36738 /* confdefs.h. */
36739 _ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 #include <sys/types.h>
36744
36745 _ACEOF
36746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36747 $EGREP "uid_t" >/dev/null 2>&1; then
36748 ac_cv_type_uid_t=yes
36749 else
36750 ac_cv_type_uid_t=no
36751 fi
36752 rm -f conftest*
36753
36754 fi
36755 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36756 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36757 if test $ac_cv_type_uid_t = no; then
36758
36759 cat >>confdefs.h <<\_ACEOF
36760 #define uid_t int
36761 _ACEOF
36762
36763
36764 cat >>confdefs.h <<\_ACEOF
36765 #define gid_t int
36766 _ACEOF
36767
36768 fi
36769
36770
36771 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36772 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36773 if test "${ac_cv_type_ssize_t+set}" = set; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36775 else
36776 cat >conftest.$ac_ext <<_ACEOF
36777 /* confdefs.h. */
36778 _ACEOF
36779 cat confdefs.h >>conftest.$ac_ext
36780 cat >>conftest.$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 $ac_includes_default
36783 typedef ssize_t ac__type_new_;
36784 int
36785 main ()
36786 {
36787 if ((ac__type_new_ *) 0)
36788 return 0;
36789 if (sizeof (ac__type_new_))
36790 return 0;
36791 ;
36792 return 0;
36793 }
36794 _ACEOF
36795 rm -f conftest.$ac_objext
36796 if { (ac_try="$ac_compile"
36797 case "(($ac_try" in
36798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36800 esac
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_compile") 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest.$ac_objext; then
36812 ac_cv_type_ssize_t=yes
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 ac_cv_type_ssize_t=no
36818 fi
36819
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 fi
36822 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36823 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36824 if test $ac_cv_type_ssize_t = yes; then
36825
36826 cat >>confdefs.h <<_ACEOF
36827 #define HAVE_SSIZE_T 1
36828 _ACEOF
36829
36830
36831 fi
36832
36833
36834 ac_ext=cpp
36835 ac_cpp='$CXXCPP $CPPFLAGS'
36836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36840 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36841 if test "${wx_cv_size_t_is_uint+set}" = set; then
36842 echo $ECHO_N "(cached) $ECHO_C" >&6
36843 else
36844
36845 cat >conftest.$ac_ext <<_ACEOF
36846 /* confdefs.h. */
36847 _ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 #include <stddef.h>
36852 int
36853 main ()
36854 {
36855
36856 return 0; }
36857
36858 struct Foo { void foo(size_t); void foo(unsigned int); };
36859
36860 int bar() {
36861
36862 ;
36863 return 0;
36864 }
36865 _ACEOF
36866 rm -f conftest.$ac_objext
36867 if { (ac_try="$ac_compile"
36868 case "(($ac_try" in
36869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36870 *) ac_try_echo=$ac_try;;
36871 esac
36872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36873 (eval "$ac_compile") 2>conftest.er1
36874 ac_status=$?
36875 grep -v '^ *+' conftest.er1 >conftest.err
36876 rm -f conftest.er1
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } && {
36880 test -z "$ac_cxx_werror_flag" ||
36881 test ! -s conftest.err
36882 } && test -s conftest.$ac_objext; then
36883 wx_cv_size_t_is_uint=no
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 wx_cv_size_t_is_uint=yes
36889
36890 fi
36891
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893
36894
36895 fi
36896 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36897 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36898
36899 if test "$wx_cv_size_t_is_uint" = "yes"; then
36900 cat >>confdefs.h <<\_ACEOF
36901 #define wxSIZE_T_IS_UINT 1
36902 _ACEOF
36903
36904 else
36905 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36906 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36907 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 #include <stddef.h>
36917 int
36918 main ()
36919 {
36920
36921 return 0; }
36922
36923 struct Foo { void foo(size_t); void foo(unsigned long); };
36924
36925 int bar() {
36926
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36936 esac
36937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36939 ac_status=$?
36940 grep -v '^ *+' conftest.er1 >conftest.err
36941 rm -f conftest.er1
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_cxx_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948 wx_cv_size_t_is_ulong=no
36949 else
36950 echo "$as_me: failed program was:" >&5
36951 sed 's/^/| /' conftest.$ac_ext >&5
36952
36953 wx_cv_size_t_is_ulong=yes
36954
36955 fi
36956
36957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958
36959 fi
36960 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36961 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36962
36963 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36964 cat >>confdefs.h <<\_ACEOF
36965 #define wxSIZE_T_IS_ULONG 1
36966 _ACEOF
36967
36968 fi
36969 fi
36970
36971 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36972 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36973 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36975 else
36976 cat >conftest.$ac_ext <<_ACEOF
36977 /* confdefs.h. */
36978 _ACEOF
36979 cat confdefs.h >>conftest.$ac_ext
36980 cat >>conftest.$ac_ext <<_ACEOF
36981 /* end confdefs.h. */
36982 #include <wchar.h>
36983 int
36984 main ()
36985 {
36986
36987 return 0; }
36988
36989 struct Foo { void foo(wchar_t);
36990 void foo(unsigned short);
36991 void foo(unsigned int);
36992 void foo(unsigned long); };
36993
36994 int bar() {
36995
36996 ;
36997 return 0;
36998 }
36999 _ACEOF
37000 rm -f conftest.$ac_objext
37001 if { (ac_try="$ac_compile"
37002 case "(($ac_try" in
37003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37004 *) ac_try_echo=$ac_try;;
37005 esac
37006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37007 (eval "$ac_compile") 2>conftest.er1
37008 ac_status=$?
37009 grep -v '^ *+' conftest.er1 >conftest.err
37010 rm -f conftest.er1
37011 cat conftest.err >&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } && {
37014 test -z "$ac_cxx_werror_flag" ||
37015 test ! -s conftest.err
37016 } && test -s conftest.$ac_objext; then
37017 wx_cv_wchar_t_is_separate_type=yes
37018 else
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.$ac_ext >&5
37021
37022 wx_cv_wchar_t_is_separate_type=no
37023
37024 fi
37025
37026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37027
37028 fi
37029 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37030 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37031
37032 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define wxWCHAR_T_IS_REAL_TYPE 1
37035 _ACEOF
37036
37037 else
37038 cat >>confdefs.h <<\_ACEOF
37039 #define wxWCHAR_T_IS_REAL_TYPE 0
37040 _ACEOF
37041
37042 fi
37043
37044 ac_ext=c
37045 ac_cpp='$CPP $CPPFLAGS'
37046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37049
37050
37051 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37052 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37053 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37054 echo $ECHO_N "(cached) $ECHO_C" >&6
37055 else
37056
37057 cat >conftest.$ac_ext <<_ACEOF
37058 /* confdefs.h. */
37059 _ACEOF
37060 cat confdefs.h >>conftest.$ac_ext
37061 cat >>conftest.$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37063 #include <pwd.h>
37064 int
37065 main ()
37066 {
37067
37068 char *p;
37069 struct passwd *pw;
37070 p = pw->pw_gecos;
37071
37072 ;
37073 return 0;
37074 }
37075 _ACEOF
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37081 esac
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37084 ac_status=$?
37085 grep -v '^ *+' conftest.er1 >conftest.err
37086 rm -f conftest.er1
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093
37094 wx_cv_struct_pw_gecos=yes
37095
37096 else
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37099
37100
37101 wx_cv_struct_pw_gecos=no
37102
37103
37104 fi
37105
37106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37107
37108
37109 fi
37110 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37111 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37112
37113 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37114 cat >>confdefs.h <<\_ACEOF
37115 #define HAVE_PW_GECOS 1
37116 _ACEOF
37117
37118 fi
37119
37120
37121 if test "$wxUSE_WCHAR_T" = "yes"; then
37122 cat >>confdefs.h <<\_ACEOF
37123 #define wxUSE_WCHAR_T 1
37124 _ACEOF
37125
37126
37127 WCSLEN_FOUND=0
37128 WCHAR_LINK=
37129
37130 for ac_func in wcslen
37131 do
37132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 else
37138 cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h. */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37146 #define $ac_func innocuous_$ac_func
37147
37148 /* System header to define __stub macros and hopefully few prototypes,
37149 which can conflict with char $ac_func (); below.
37150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37151 <limits.h> exists even on freestanding compilers. */
37152
37153 #ifdef __STDC__
37154 # include <limits.h>
37155 #else
37156 # include <assert.h>
37157 #endif
37158
37159 #undef $ac_func
37160
37161 /* Override any GCC internal prototype to avoid an error.
37162 Use char because int might match the return type of a GCC
37163 builtin and then its argument prototype would still apply. */
37164 #ifdef __cplusplus
37165 extern "C"
37166 #endif
37167 char $ac_func ();
37168 /* The GNU C library defines this for functions which it implements
37169 to always fail with ENOSYS. Some functions are actually named
37170 something starting with __ and the normal name is an alias. */
37171 #if defined __stub_$ac_func || defined __stub___$ac_func
37172 choke me
37173 #endif
37174
37175 int
37176 main ()
37177 {
37178 return $ac_func ();
37179 ;
37180 return 0;
37181 }
37182 _ACEOF
37183 rm -f conftest.$ac_objext conftest$ac_exeext
37184 if { (ac_try="$ac_link"
37185 case "(($ac_try" in
37186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37187 *) ac_try_echo=$ac_try;;
37188 esac
37189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37190 (eval "$ac_link") 2>conftest.er1
37191 ac_status=$?
37192 grep -v '^ *+' conftest.er1 >conftest.err
37193 rm -f conftest.er1
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } && {
37197 test -z "$ac_c_werror_flag" ||
37198 test ! -s conftest.err
37199 } && test -s conftest$ac_exeext &&
37200 $as_test_x conftest$ac_exeext; then
37201 eval "$as_ac_var=yes"
37202 else
37203 echo "$as_me: failed program was:" >&5
37204 sed 's/^/| /' conftest.$ac_ext >&5
37205
37206 eval "$as_ac_var=no"
37207 fi
37208
37209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37210 conftest$ac_exeext conftest.$ac_ext
37211 fi
37212 ac_res=`eval echo '${'$as_ac_var'}'`
37213 { echo "$as_me:$LINENO: result: $ac_res" >&5
37214 echo "${ECHO_T}$ac_res" >&6; }
37215 if test `eval echo '${'$as_ac_var'}'` = yes; then
37216 cat >>confdefs.h <<_ACEOF
37217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 _ACEOF
37219 WCSLEN_FOUND=1
37220 fi
37221 done
37222
37223
37224 if test "$WCSLEN_FOUND" = 0; then
37225 if test "$TOOLKIT" = "MSW"; then
37226 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37227 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37228 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 else
37231 ac_check_lib_save_LIBS=$LIBS
37232 LIBS="-lmsvcrt $LIBS"
37233 cat >conftest.$ac_ext <<_ACEOF
37234 /* confdefs.h. */
37235 _ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37239
37240 /* Override any GCC internal prototype to avoid an error.
37241 Use char because int might match the return type of a GCC
37242 builtin and then its argument prototype would still apply. */
37243 #ifdef __cplusplus
37244 extern "C"
37245 #endif
37246 char wcslen ();
37247 int
37248 main ()
37249 {
37250 return wcslen ();
37251 ;
37252 return 0;
37253 }
37254 _ACEOF
37255 rm -f conftest.$ac_objext conftest$ac_exeext
37256 if { (ac_try="$ac_link"
37257 case "(($ac_try" in
37258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37259 *) ac_try_echo=$ac_try;;
37260 esac
37261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37262 (eval "$ac_link") 2>conftest.er1
37263 ac_status=$?
37264 grep -v '^ *+' conftest.er1 >conftest.err
37265 rm -f conftest.er1
37266 cat conftest.err >&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } && {
37269 test -z "$ac_c_werror_flag" ||
37270 test ! -s conftest.err
37271 } && test -s conftest$ac_exeext &&
37272 $as_test_x conftest$ac_exeext; then
37273 ac_cv_lib_msvcrt_wcslen=yes
37274 else
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.$ac_ext >&5
37277
37278 ac_cv_lib_msvcrt_wcslen=no
37279 fi
37280
37281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37282 conftest$ac_exeext conftest.$ac_ext
37283 LIBS=$ac_check_lib_save_LIBS
37284 fi
37285 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37286 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37287 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37288 WCHAR_OK=1
37289 fi
37290
37291 else
37292 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37293 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37294 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37296 else
37297 ac_check_lib_save_LIBS=$LIBS
37298 LIBS="-lw $LIBS"
37299 cat >conftest.$ac_ext <<_ACEOF
37300 /* confdefs.h. */
37301 _ACEOF
37302 cat confdefs.h >>conftest.$ac_ext
37303 cat >>conftest.$ac_ext <<_ACEOF
37304 /* end confdefs.h. */
37305
37306 /* Override any GCC internal prototype to avoid an error.
37307 Use char because int might match the return type of a GCC
37308 builtin and then its argument prototype would still apply. */
37309 #ifdef __cplusplus
37310 extern "C"
37311 #endif
37312 char wcslen ();
37313 int
37314 main ()
37315 {
37316 return wcslen ();
37317 ;
37318 return 0;
37319 }
37320 _ACEOF
37321 rm -f conftest.$ac_objext conftest$ac_exeext
37322 if { (ac_try="$ac_link"
37323 case "(($ac_try" in
37324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37325 *) ac_try_echo=$ac_try;;
37326 esac
37327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37328 (eval "$ac_link") 2>conftest.er1
37329 ac_status=$?
37330 grep -v '^ *+' conftest.er1 >conftest.err
37331 rm -f conftest.er1
37332 cat conftest.err >&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); } && {
37335 test -z "$ac_c_werror_flag" ||
37336 test ! -s conftest.err
37337 } && test -s conftest$ac_exeext &&
37338 $as_test_x conftest$ac_exeext; then
37339 ac_cv_lib_w_wcslen=yes
37340 else
37341 echo "$as_me: failed program was:" >&5
37342 sed 's/^/| /' conftest.$ac_ext >&5
37343
37344 ac_cv_lib_w_wcslen=no
37345 fi
37346
37347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37348 conftest$ac_exeext conftest.$ac_ext
37349 LIBS=$ac_check_lib_save_LIBS
37350 fi
37351 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37352 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37353 if test $ac_cv_lib_w_wcslen = yes; then
37354
37355 WCHAR_LINK=" -lw"
37356 WCSLEN_FOUND=1
37357
37358 fi
37359
37360 fi
37361 fi
37362
37363 if test "$WCSLEN_FOUND" = 1; then
37364 cat >>confdefs.h <<\_ACEOF
37365 #define HAVE_WCSLEN 1
37366 _ACEOF
37367
37368 fi
37369
37370
37371 for ac_func in wcsdup
37372 do
37373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37376 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37378 else
37379 cat >conftest.$ac_ext <<_ACEOF
37380 /* confdefs.h. */
37381 _ACEOF
37382 cat confdefs.h >>conftest.$ac_ext
37383 cat >>conftest.$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37387 #define $ac_func innocuous_$ac_func
37388
37389 /* System header to define __stub macros and hopefully few prototypes,
37390 which can conflict with char $ac_func (); below.
37391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37392 <limits.h> exists even on freestanding compilers. */
37393
37394 #ifdef __STDC__
37395 # include <limits.h>
37396 #else
37397 # include <assert.h>
37398 #endif
37399
37400 #undef $ac_func
37401
37402 /* Override any GCC internal prototype to avoid an error.
37403 Use char because int might match the return type of a GCC
37404 builtin and then its argument prototype would still apply. */
37405 #ifdef __cplusplus
37406 extern "C"
37407 #endif
37408 char $ac_func ();
37409 /* The GNU C library defines this for functions which it implements
37410 to always fail with ENOSYS. Some functions are actually named
37411 something starting with __ and the normal name is an alias. */
37412 #if defined __stub_$ac_func || defined __stub___$ac_func
37413 choke me
37414 #endif
37415
37416 int
37417 main ()
37418 {
37419 return $ac_func ();
37420 ;
37421 return 0;
37422 }
37423 _ACEOF
37424 rm -f conftest.$ac_objext conftest$ac_exeext
37425 if { (ac_try="$ac_link"
37426 case "(($ac_try" in
37427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37428 *) ac_try_echo=$ac_try;;
37429 esac
37430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37431 (eval "$ac_link") 2>conftest.er1
37432 ac_status=$?
37433 grep -v '^ *+' conftest.er1 >conftest.err
37434 rm -f conftest.er1
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } && {
37438 test -z "$ac_c_werror_flag" ||
37439 test ! -s conftest.err
37440 } && test -s conftest$ac_exeext &&
37441 $as_test_x conftest$ac_exeext; then
37442 eval "$as_ac_var=yes"
37443 else
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37446
37447 eval "$as_ac_var=no"
37448 fi
37449
37450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37451 conftest$ac_exeext conftest.$ac_ext
37452 fi
37453 ac_res=`eval echo '${'$as_ac_var'}'`
37454 { echo "$as_me:$LINENO: result: $ac_res" >&5
37455 echo "${ECHO_T}$ac_res" >&6; }
37456 if test `eval echo '${'$as_ac_var'}'` = yes; then
37457 cat >>confdefs.h <<_ACEOF
37458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37459 _ACEOF
37460
37461 fi
37462 done
37463
37464
37465 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37466 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37467 fi
37468
37469 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37470 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37471 if test "${ac_cv_type_mbstate_t+set}" = set; then
37472 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 else
37474 cat >conftest.$ac_ext <<_ACEOF
37475 /* confdefs.h. */
37476 _ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37480 #include <wchar.h>
37481
37482 typedef mbstate_t ac__type_new_;
37483 int
37484 main ()
37485 {
37486 if ((ac__type_new_ *) 0)
37487 return 0;
37488 if (sizeof (ac__type_new_))
37489 return 0;
37490 ;
37491 return 0;
37492 }
37493 _ACEOF
37494 rm -f conftest.$ac_objext
37495 if { (ac_try="$ac_compile"
37496 case "(($ac_try" in
37497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37498 *) ac_try_echo=$ac_try;;
37499 esac
37500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37501 (eval "$ac_compile") 2>conftest.er1
37502 ac_status=$?
37503 grep -v '^ *+' conftest.er1 >conftest.err
37504 rm -f conftest.er1
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } && {
37508 test -z "$ac_c_werror_flag" ||
37509 test ! -s conftest.err
37510 } && test -s conftest.$ac_objext; then
37511 ac_cv_type_mbstate_t=yes
37512 else
37513 echo "$as_me: failed program was:" >&5
37514 sed 's/^/| /' conftest.$ac_ext >&5
37515
37516 ac_cv_type_mbstate_t=no
37517 fi
37518
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37520 fi
37521 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37522 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37523 if test $ac_cv_type_mbstate_t = yes; then
37524
37525 cat >>confdefs.h <<_ACEOF
37526 #define HAVE_MBSTATE_T 1
37527 _ACEOF
37528
37529
37530 for ac_func in wcsrtombs
37531 do
37532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37533 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 cat >conftest.$ac_ext <<_ACEOF
37539 /* confdefs.h. */
37540 _ACEOF
37541 cat confdefs.h >>conftest.$ac_ext
37542 cat >>conftest.$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37546 #define $ac_func innocuous_$ac_func
37547
37548 /* System header to define __stub macros and hopefully few prototypes,
37549 which can conflict with char $ac_func (); below.
37550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37551 <limits.h> exists even on freestanding compilers. */
37552
37553 #ifdef __STDC__
37554 # include <limits.h>
37555 #else
37556 # include <assert.h>
37557 #endif
37558
37559 #undef $ac_func
37560
37561 /* Override any GCC internal prototype to avoid an error.
37562 Use char because int might match the return type of a GCC
37563 builtin and then its argument prototype would still apply. */
37564 #ifdef __cplusplus
37565 extern "C"
37566 #endif
37567 char $ac_func ();
37568 /* The GNU C library defines this for functions which it implements
37569 to always fail with ENOSYS. Some functions are actually named
37570 something starting with __ and the normal name is an alias. */
37571 #if defined __stub_$ac_func || defined __stub___$ac_func
37572 choke me
37573 #endif
37574
37575 int
37576 main ()
37577 {
37578 return $ac_func ();
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext conftest$ac_exeext
37584 if { (ac_try="$ac_link"
37585 case "(($ac_try" in
37586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37588 esac
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_link") 2>conftest.er1
37591 ac_status=$?
37592 grep -v '^ *+' conftest.er1 >conftest.err
37593 rm -f conftest.er1
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest$ac_exeext &&
37600 $as_test_x conftest$ac_exeext; then
37601 eval "$as_ac_var=yes"
37602 else
37603 echo "$as_me: failed program was:" >&5
37604 sed 's/^/| /' conftest.$ac_ext >&5
37605
37606 eval "$as_ac_var=no"
37607 fi
37608
37609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37610 conftest$ac_exeext conftest.$ac_ext
37611 fi
37612 ac_res=`eval echo '${'$as_ac_var'}'`
37613 { echo "$as_me:$LINENO: result: $ac_res" >&5
37614 echo "${ECHO_T}$ac_res" >&6; }
37615 if test `eval echo '${'$as_ac_var'}'` = yes; then
37616 cat >>confdefs.h <<_ACEOF
37617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37618 _ACEOF
37619
37620 fi
37621 done
37622
37623 fi
37624
37625 else
37626 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37627 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37628 fi
37629
37630
37631
37632 for ac_func in snprintf vsnprintf
37633 do
37634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 else
37640 cat >conftest.$ac_ext <<_ACEOF
37641 /* confdefs.h. */
37642 _ACEOF
37643 cat confdefs.h >>conftest.$ac_ext
37644 cat >>conftest.$ac_ext <<_ACEOF
37645 /* end confdefs.h. */
37646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37648 #define $ac_func innocuous_$ac_func
37649
37650 /* System header to define __stub macros and hopefully few prototypes,
37651 which can conflict with char $ac_func (); below.
37652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37653 <limits.h> exists even on freestanding compilers. */
37654
37655 #ifdef __STDC__
37656 # include <limits.h>
37657 #else
37658 # include <assert.h>
37659 #endif
37660
37661 #undef $ac_func
37662
37663 /* Override any GCC internal prototype to avoid an error.
37664 Use char because int might match the return type of a GCC
37665 builtin and then its argument prototype would still apply. */
37666 #ifdef __cplusplus
37667 extern "C"
37668 #endif
37669 char $ac_func ();
37670 /* The GNU C library defines this for functions which it implements
37671 to always fail with ENOSYS. Some functions are actually named
37672 something starting with __ and the normal name is an alias. */
37673 #if defined __stub_$ac_func || defined __stub___$ac_func
37674 choke me
37675 #endif
37676
37677 int
37678 main ()
37679 {
37680 return $ac_func ();
37681 ;
37682 return 0;
37683 }
37684 _ACEOF
37685 rm -f conftest.$ac_objext conftest$ac_exeext
37686 if { (ac_try="$ac_link"
37687 case "(($ac_try" in
37688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37689 *) ac_try_echo=$ac_try;;
37690 esac
37691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37692 (eval "$ac_link") 2>conftest.er1
37693 ac_status=$?
37694 grep -v '^ *+' conftest.er1 >conftest.err
37695 rm -f conftest.er1
37696 cat conftest.err >&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); } && {
37699 test -z "$ac_c_werror_flag" ||
37700 test ! -s conftest.err
37701 } && test -s conftest$ac_exeext &&
37702 $as_test_x conftest$ac_exeext; then
37703 eval "$as_ac_var=yes"
37704 else
37705 echo "$as_me: failed program was:" >&5
37706 sed 's/^/| /' conftest.$ac_ext >&5
37707
37708 eval "$as_ac_var=no"
37709 fi
37710
37711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37712 conftest$ac_exeext conftest.$ac_ext
37713 fi
37714 ac_res=`eval echo '${'$as_ac_var'}'`
37715 { echo "$as_me:$LINENO: result: $ac_res" >&5
37716 echo "${ECHO_T}$ac_res" >&6; }
37717 if test `eval echo '${'$as_ac_var'}'` = yes; then
37718 cat >>confdefs.h <<_ACEOF
37719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37720 _ACEOF
37721
37722 fi
37723 done
37724
37725
37726 if test "$ac_cv_func_vsnprintf" = "yes"; then
37727 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37728 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37729 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37730 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 else
37732
37733 cat >conftest.$ac_ext <<_ACEOF
37734 /* confdefs.h. */
37735 _ACEOF
37736 cat confdefs.h >>conftest.$ac_ext
37737 cat >>conftest.$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37739
37740 #include <stdio.h>
37741 #include <stdarg.h>
37742 #ifdef __MSL__
37743 #if __MSL__ >= 0x6000
37744 namespace std {}
37745 using namespace std;
37746 #endif
37747 #endif
37748
37749 int
37750 main ()
37751 {
37752
37753 char *buf;
37754 va_list ap;
37755 vsnprintf(buf, 10u, "%s", ap);
37756
37757 ;
37758 return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext
37762 if { (ac_try="$ac_compile"
37763 case "(($ac_try" in
37764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37765 *) ac_try_echo=$ac_try;;
37766 esac
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768 (eval "$ac_compile") 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } && {
37775 test -z "$ac_c_werror_flag" ||
37776 test ! -s conftest.err
37777 } && test -s conftest.$ac_objext; then
37778 wx_cv_func_vsnprintf_decl=yes
37779 else
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37782
37783 wx_cv_func_vsnprintf_decl=no
37784
37785 fi
37786
37787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37788
37789
37790 fi
37791 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37792 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37793
37794 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37795 cat >>confdefs.h <<\_ACEOF
37796 #define HAVE_VSNPRINTF_DECL 1
37797 _ACEOF
37798
37799
37800 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37801 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37802 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 else
37805
37806 cat >conftest.$ac_ext <<_ACEOF
37807 /* confdefs.h. */
37808 _ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h. */
37812
37813 #include <stdio.h>
37814 #include <stdarg.h>
37815 #ifdef __MSL__
37816 #if __MSL__ >= 0x6000
37817 namespace std {}
37818 using namespace std;
37819 #endif
37820 #endif
37821
37822 int
37823 main ()
37824 {
37825
37826 char *buf;
37827 va_list ap;
37828 const char *fmt = "%s";
37829 vsnprintf(buf, 10u, fmt, ap);
37830
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext
37836 if { (ac_try="$ac_compile"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_compile") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_c_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest.$ac_objext; then
37852 wx_cv_func_broken_vsnprintf_decl=no
37853 else
37854 echo "$as_me: failed program was:" >&5
37855 sed 's/^/| /' conftest.$ac_ext >&5
37856
37857 wx_cv_func_broken_vsnprintf_decl=yes
37858
37859 fi
37860
37861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37862
37863
37864 fi
37865 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37866 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37867
37868 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37869 cat >>confdefs.h <<\_ACEOF
37870 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37871 _ACEOF
37872
37873 fi
37874 fi
37875 fi
37876
37877 if test "$ac_cv_func_snprintf" = "yes"; then
37878 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37879 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37880 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 else
37883
37884 cat >conftest.$ac_ext <<_ACEOF
37885 /* confdefs.h. */
37886 _ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37890
37891 #include <stdio.h>
37892 #include <stdarg.h>
37893 #ifdef __MSL__
37894 #if __MSL__ >= 0x6000
37895 namespace std {}
37896 using namespace std;
37897 #endif
37898 #endif
37899
37900 int
37901 main ()
37902 {
37903
37904 char *buf;
37905 snprintf(buf, 10u, "%s", "wx");
37906
37907 ;
37908 return 0;
37909 }
37910 _ACEOF
37911 rm -f conftest.$ac_objext
37912 if { (ac_try="$ac_compile"
37913 case "(($ac_try" in
37914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37915 *) ac_try_echo=$ac_try;;
37916 esac
37917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37918 (eval "$ac_compile") 2>conftest.er1
37919 ac_status=$?
37920 grep -v '^ *+' conftest.er1 >conftest.err
37921 rm -f conftest.er1
37922 cat conftest.err >&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); } && {
37925 test -z "$ac_c_werror_flag" ||
37926 test ! -s conftest.err
37927 } && test -s conftest.$ac_objext; then
37928 wx_cv_func_snprintf_decl=yes
37929 else
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37932
37933 wx_cv_func_snprintf_decl=no
37934
37935 fi
37936
37937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37938
37939
37940 fi
37941 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37942 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37943
37944 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37945 cat >>confdefs.h <<\_ACEOF
37946 #define HAVE_SNPRINTF_DECL 1
37947 _ACEOF
37948
37949 fi
37950
37951 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37952
37953 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37954 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37955 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 else
37958
37959 if test "$cross_compiling" = yes; then
37960
37961 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37962 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37963 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37964 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37965 wx_cv_func_snprintf_pos_params=no
37966
37967
37968 else
37969 cat >conftest.$ac_ext <<_ACEOF
37970 /* confdefs.h. */
37971 _ACEOF
37972 cat confdefs.h >>conftest.$ac_ext
37973 cat >>conftest.$ac_ext <<_ACEOF
37974 /* end confdefs.h. */
37975
37976 #include <stdio.h>
37977
37978 int main (void)
37979 {
37980 char buffer[128];
37981 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37982 if (strcmp ("2 3 1", buffer) == 0)
37983 exit (0);
37984 exit (1);
37985 }
37986
37987 _ACEOF
37988 rm -f conftest$ac_exeext
37989 if { (ac_try="$ac_link"
37990 case "(($ac_try" in
37991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37992 *) ac_try_echo=$ac_try;;
37993 esac
37994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37995 (eval "$ac_link") 2>&5
37996 ac_status=$?
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37999 { (case "(($ac_try" in
38000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38001 *) ac_try_echo=$ac_try;;
38002 esac
38003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38004 (eval "$ac_try") 2>&5
38005 ac_status=$?
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; }; then
38008 wx_cv_func_snprintf_pos_params=no
38009 else
38010 echo "$as_me: program exited with status $ac_status" >&5
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38013
38014 ( exit $ac_status )
38015 wx_cv_func_snprintf_pos_params=yes
38016 fi
38017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38018 fi
38019
38020
38021
38022
38023 fi
38024 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38025 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38026
38027 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define HAVE_UNIX98_PRINTF 1
38030 _ACEOF
38031
38032 fi
38033 fi
38034 fi
38035
38036 if test "$wxUSE_UNICODE" = yes; then
38037
38038 wchar_headers="#include <stdio.h>
38039 #include <wchar.h>"
38040 case "${host}" in
38041 *-*-solaris2* )
38042
38043 for ac_header in widec.h
38044 do
38045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38046 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38048 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 else
38051 cat >conftest.$ac_ext <<_ACEOF
38052 /* confdefs.h. */
38053 _ACEOF
38054 cat confdefs.h >>conftest.$ac_ext
38055 cat >>conftest.$ac_ext <<_ACEOF
38056 /* end confdefs.h. */
38057 $ac_includes_default
38058
38059 #include <$ac_header>
38060 _ACEOF
38061 rm -f conftest.$ac_objext
38062 if { (ac_try="$ac_compile"
38063 case "(($ac_try" in
38064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38065 *) ac_try_echo=$ac_try;;
38066 esac
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_compile") 2>conftest.er1
38069 ac_status=$?
38070 grep -v '^ *+' conftest.er1 >conftest.err
38071 rm -f conftest.er1
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest.$ac_objext; then
38078 eval "$as_ac_Header=yes"
38079 else
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38082
38083 eval "$as_ac_Header=no"
38084 fi
38085
38086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38087 fi
38088 ac_res=`eval echo '${'$as_ac_Header'}'`
38089 { echo "$as_me:$LINENO: result: $ac_res" >&5
38090 echo "${ECHO_T}$ac_res" >&6; }
38091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38092 cat >>confdefs.h <<_ACEOF
38093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38094 _ACEOF
38095
38096 fi
38097
38098 done
38099
38100 if test "$ac_cv_header_widec_h" = "yes"; then
38101 wchar_headers="$wchar_headers
38102 #include <widec.h>"
38103 fi
38104 esac
38105
38106
38107 for wx_func in putws fputws wprintf vswprintf
38108 do
38109 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38110 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38111 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 else
38114
38115 cat >conftest.$ac_ext <<_ACEOF
38116
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122
38123 $wchar_headers
38124 $ac_includes_default
38125
38126 int
38127 main ()
38128 {
38129
38130 #ifndef $wx_func
38131 &$wx_func;
38132 #endif
38133
38134
38135 ;
38136 return 0;
38137 }
38138
38139 _ACEOF
38140 rm -f conftest.$ac_objext conftest$ac_exeext
38141 if { (ac_try="$ac_link"
38142 case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38145 esac
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_link") 2>conftest.er1
38148 ac_status=$?
38149 grep -v '^ *+' conftest.er1 >conftest.err
38150 rm -f conftest.er1
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_c_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest$ac_exeext &&
38157 $as_test_x conftest$ac_exeext; then
38158 eval wx_cv_func_$wx_func=yes
38159 else
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38162
38163 eval wx_cv_func_$wx_func=no
38164 fi
38165
38166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38167 conftest$ac_exeext conftest.$ac_ext
38168
38169 fi
38170 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38171 { echo "$as_me:$LINENO: result: $ac_res" >&5
38172 echo "${ECHO_T}$ac_res" >&6; }
38173
38174 if eval test \$wx_cv_func_$wx_func = yes
38175 then
38176 cat >>confdefs.h <<_ACEOF
38177 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38178 _ACEOF
38179
38180
38181 else
38182 :
38183
38184 fi
38185 done
38186
38187
38188 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38189 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38190 cat >conftest.$ac_ext <<_ACEOF
38191 /* confdefs.h. */
38192 _ACEOF
38193 cat confdefs.h >>conftest.$ac_ext
38194 cat >>conftest.$ac_ext <<_ACEOF
38195 /* end confdefs.h. */
38196 #include <wchar.h>
38197 int
38198 main ()
38199 {
38200 &_vsnwprintf;
38201 ;
38202 return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38210 esac
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 { echo "$as_me:$LINENO: result: yes" >&5
38223 echo "${ECHO_T}yes" >&6; }
38224 cat >>confdefs.h <<\_ACEOF
38225 #define HAVE__VSNWPRINTF 1
38226 _ACEOF
38227
38228 else
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 { echo "$as_me:$LINENO: result: no" >&5
38233 echo "${ECHO_T}no" >&6; }
38234 fi
38235
38236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38237 fi
38238
38239 if test "$wxUSE_FILE" = "yes"; then
38240
38241 for wx_func in fsync
38242 do
38243 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38244 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38245 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248
38249 cat >conftest.$ac_ext <<_ACEOF
38250
38251 /* confdefs.h. */
38252 _ACEOF
38253 cat confdefs.h >>conftest.$ac_ext
38254 cat >>conftest.$ac_ext <<_ACEOF
38255 /* end confdefs.h. */
38256
38257
38258 $ac_includes_default
38259
38260 int
38261 main ()
38262 {
38263
38264 #ifndef $wx_func
38265 &$wx_func;
38266 #endif
38267
38268
38269 ;
38270 return 0;
38271 }
38272
38273 _ACEOF
38274 rm -f conftest.$ac_objext conftest$ac_exeext
38275 if { (ac_try="$ac_link"
38276 case "(($ac_try" in
38277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38278 *) ac_try_echo=$ac_try;;
38279 esac
38280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38281 (eval "$ac_link") 2>conftest.er1
38282 ac_status=$?
38283 grep -v '^ *+' conftest.er1 >conftest.err
38284 rm -f conftest.er1
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } && {
38288 test -z "$ac_c_werror_flag" ||
38289 test ! -s conftest.err
38290 } && test -s conftest$ac_exeext &&
38291 $as_test_x conftest$ac_exeext; then
38292 eval wx_cv_func_$wx_func=yes
38293 else
38294 echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.$ac_ext >&5
38296
38297 eval wx_cv_func_$wx_func=no
38298 fi
38299
38300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38301 conftest$ac_exeext conftest.$ac_ext
38302
38303 fi
38304 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38305 { echo "$as_me:$LINENO: result: $ac_res" >&5
38306 echo "${ECHO_T}$ac_res" >&6; }
38307
38308 if eval test \$wx_cv_func_$wx_func = yes
38309 then
38310 cat >>confdefs.h <<_ACEOF
38311 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38312 _ACEOF
38313
38314
38315 else
38316 :
38317
38318 fi
38319 done
38320
38321 fi
38322
38323 ac_ext=cpp
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38328
38329
38330 for wx_func in round
38331 do
38332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337
38338 cat >conftest.$ac_ext <<_ACEOF
38339
38340 /* confdefs.h. */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345
38346 #include <math.h>
38347 $ac_includes_default
38348
38349 int
38350 main ()
38351 {
38352
38353 #ifndef $wx_func
38354 &$wx_func;
38355 #endif
38356
38357
38358 ;
38359 return 0;
38360 }
38361
38362 _ACEOF
38363 rm -f conftest.$ac_objext conftest$ac_exeext
38364 if { (ac_try="$ac_link"
38365 case "(($ac_try" in
38366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38367 *) ac_try_echo=$ac_try;;
38368 esac
38369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38370 (eval "$ac_link") 2>conftest.er1
38371 ac_status=$?
38372 grep -v '^ *+' conftest.er1 >conftest.err
38373 rm -f conftest.er1
38374 cat conftest.err >&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } && {
38377 test -z "$ac_cxx_werror_flag" ||
38378 test ! -s conftest.err
38379 } && test -s conftest$ac_exeext &&
38380 $as_test_x conftest$ac_exeext; then
38381 eval wx_cv_func_$wx_func=yes
38382 else
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38385
38386 eval wx_cv_func_$wx_func=no
38387 fi
38388
38389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38390 conftest$ac_exeext conftest.$ac_ext
38391
38392 fi
38393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38396
38397 if eval test \$wx_cv_func_$wx_func = yes
38398 then
38399 cat >>confdefs.h <<_ACEOF
38400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38401 _ACEOF
38402
38403
38404 else
38405 :
38406
38407 fi
38408 done
38409
38410 ac_ext=c
38411 ac_cpp='$CPP $CPPFLAGS'
38412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38415
38416
38417 if test "$TOOLKIT" != "MSW"; then
38418
38419
38420
38421
38422
38423 # Check whether --with-libiconv-prefix was given.
38424 if test "${with_libiconv_prefix+set}" = set; then
38425 withval=$with_libiconv_prefix;
38426 for dir in `echo "$withval" | tr : ' '`; do
38427 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38428 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38429 done
38430
38431 fi
38432
38433
38434 { echo "$as_me:$LINENO: checking for iconv" >&5
38435 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38436 if test "${am_cv_func_iconv+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 else
38439
38440 am_cv_func_iconv="no, consider installing GNU libiconv"
38441 am_cv_lib_iconv=no
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448 #include <stdlib.h>
38449 #include <iconv.h>
38450 int
38451 main ()
38452 {
38453 iconv_t cd = iconv_open("","");
38454 iconv(cd,NULL,NULL,NULL,NULL);
38455 iconv_close(cd);
38456 ;
38457 return 0;
38458 }
38459 _ACEOF
38460 rm -f conftest.$ac_objext conftest$ac_exeext
38461 if { (ac_try="$ac_link"
38462 case "(($ac_try" in
38463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38464 *) ac_try_echo=$ac_try;;
38465 esac
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_link") 2>conftest.er1
38468 ac_status=$?
38469 grep -v '^ *+' conftest.er1 >conftest.err
38470 rm -f conftest.er1
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_c_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest$ac_exeext &&
38477 $as_test_x conftest$ac_exeext; then
38478 am_cv_func_iconv=yes
38479 else
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38482
38483
38484 fi
38485
38486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38487 conftest$ac_exeext conftest.$ac_ext
38488 if test "$am_cv_func_iconv" != yes; then
38489 am_save_LIBS="$LIBS"
38490 LIBS="$LIBS -liconv"
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h. */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497 #include <stdlib.h>
38498 #include <iconv.h>
38499 int
38500 main ()
38501 {
38502 iconv_t cd = iconv_open("","");
38503 iconv(cd,NULL,NULL,NULL,NULL);
38504 iconv_close(cd);
38505 ;
38506 return 0;
38507 }
38508 _ACEOF
38509 rm -f conftest.$ac_objext conftest$ac_exeext
38510 if { (ac_try="$ac_link"
38511 case "(($ac_try" in
38512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38513 *) ac_try_echo=$ac_try;;
38514 esac
38515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38516 (eval "$ac_link") 2>conftest.er1
38517 ac_status=$?
38518 grep -v '^ *+' conftest.er1 >conftest.err
38519 rm -f conftest.er1
38520 cat conftest.err >&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); } && {
38523 test -z "$ac_c_werror_flag" ||
38524 test ! -s conftest.err
38525 } && test -s conftest$ac_exeext &&
38526 $as_test_x conftest$ac_exeext; then
38527 am_cv_lib_iconv=yes
38528 am_cv_func_iconv=yes
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533
38534 fi
38535
38536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38537 conftest$ac_exeext conftest.$ac_ext
38538 LIBS="$am_save_LIBS"
38539 fi
38540
38541 fi
38542 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38543 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38544 if test "$am_cv_func_iconv" = yes; then
38545
38546 cat >>confdefs.h <<\_ACEOF
38547 #define HAVE_ICONV 1
38548 _ACEOF
38549
38550 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38551 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38552 if test "${wx_cv_func_iconv_const+set}" = set; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38554 else
38555 cat >conftest.$ac_ext <<_ACEOF
38556 /* confdefs.h. */
38557 _ACEOF
38558 cat confdefs.h >>conftest.$ac_ext
38559 cat >>conftest.$ac_ext <<_ACEOF
38560 /* end confdefs.h. */
38561
38562 #include <stdlib.h>
38563 #include <iconv.h>
38564 extern
38565 #ifdef __cplusplus
38566 "C"
38567 #endif
38568 #if defined(__STDC__) || defined(__cplusplus)
38569 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38570 #else
38571 size_t iconv();
38572 #endif
38573
38574 int
38575 main ()
38576 {
38577
38578 ;
38579 return 0;
38580 }
38581 _ACEOF
38582 rm -f conftest.$ac_objext
38583 if { (ac_try="$ac_compile"
38584 case "(($ac_try" in
38585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38587 esac
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_compile") 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } && {
38596 test -z "$ac_c_werror_flag" ||
38597 test ! -s conftest.err
38598 } && test -s conftest.$ac_objext; then
38599 wx_cv_func_iconv_const="no"
38600 else
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38603
38604 wx_cv_func_iconv_const="yes"
38605
38606 fi
38607
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609
38610 fi
38611 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38612 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38613
38614 iconv_const=
38615 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38616 iconv_const="const"
38617 fi
38618
38619
38620 cat >>confdefs.h <<_ACEOF
38621 #define ICONV_CONST $iconv_const
38622 _ACEOF
38623
38624 fi
38625 LIBICONV=
38626 if test "$am_cv_lib_iconv" = yes; then
38627 LIBICONV="-liconv"
38628 fi
38629
38630
38631 LIBS="$LIBICONV $LIBS"
38632
38633 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38634
38635 for ac_func in sigaction
38636 do
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38643 cat >conftest.$ac_ext <<_ACEOF
38644 /* confdefs.h. */
38645 _ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38651 #define $ac_func innocuous_$ac_func
38652
38653 /* System header to define __stub macros and hopefully few prototypes,
38654 which can conflict with char $ac_func (); below.
38655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38656 <limits.h> exists even on freestanding compilers. */
38657
38658 #ifdef __STDC__
38659 # include <limits.h>
38660 #else
38661 # include <assert.h>
38662 #endif
38663
38664 #undef $ac_func
38665
38666 /* Override any GCC internal prototype to avoid an error.
38667 Use char because int might match the return type of a GCC
38668 builtin and then its argument prototype would still apply. */
38669 #ifdef __cplusplus
38670 extern "C"
38671 #endif
38672 char $ac_func ();
38673 /* The GNU C library defines this for functions which it implements
38674 to always fail with ENOSYS. Some functions are actually named
38675 something starting with __ and the normal name is an alias. */
38676 #if defined __stub_$ac_func || defined __stub___$ac_func
38677 choke me
38678 #endif
38679
38680 int
38681 main ()
38682 {
38683 return $ac_func ();
38684 ;
38685 return 0;
38686 }
38687 _ACEOF
38688 rm -f conftest.$ac_objext conftest$ac_exeext
38689 if { (ac_try="$ac_link"
38690 case "(($ac_try" in
38691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38692 *) ac_try_echo=$ac_try;;
38693 esac
38694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38695 (eval "$ac_link") 2>conftest.er1
38696 ac_status=$?
38697 grep -v '^ *+' conftest.er1 >conftest.err
38698 rm -f conftest.er1
38699 cat conftest.err >&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } && {
38702 test -z "$ac_c_werror_flag" ||
38703 test ! -s conftest.err
38704 } && test -s conftest$ac_exeext &&
38705 $as_test_x conftest$ac_exeext; then
38706 eval "$as_ac_var=yes"
38707 else
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.$ac_ext >&5
38710
38711 eval "$as_ac_var=no"
38712 fi
38713
38714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38715 conftest$ac_exeext conftest.$ac_ext
38716 fi
38717 ac_res=`eval echo '${'$as_ac_var'}'`
38718 { echo "$as_me:$LINENO: result: $ac_res" >&5
38719 echo "${ECHO_T}$ac_res" >&6; }
38720 if test `eval echo '${'$as_ac_var'}'` = yes; then
38721 cat >>confdefs.h <<_ACEOF
38722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38723 _ACEOF
38724
38725 fi
38726 done
38727
38728
38729 if test "$ac_cv_func_sigaction" = "no"; then
38730 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38731 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38732 wxUSE_ON_FATAL_EXCEPTION=no
38733 fi
38734
38735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38736 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38737 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38738 if test "${wx_cv_type_sa_handler+set}" = set; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 else
38741
38742 ac_ext=cpp
38743 ac_cpp='$CXXCPP $CPPFLAGS'
38744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38747
38748 cat >conftest.$ac_ext <<_ACEOF
38749 /* confdefs.h. */
38750 _ACEOF
38751 cat confdefs.h >>conftest.$ac_ext
38752 cat >>conftest.$ac_ext <<_ACEOF
38753 /* end confdefs.h. */
38754 #include <signal.h>
38755 int
38756 main ()
38757 {
38758
38759 extern void testSigHandler(int);
38760
38761 struct sigaction sa;
38762 sa.sa_handler = testSigHandler;
38763
38764 ;
38765 return 0;
38766 }
38767 _ACEOF
38768 rm -f conftest.$ac_objext
38769 if { (ac_try="$ac_compile"
38770 case "(($ac_try" in
38771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38772 *) ac_try_echo=$ac_try;;
38773 esac
38774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38775 (eval "$ac_compile") 2>conftest.er1
38776 ac_status=$?
38777 grep -v '^ *+' conftest.er1 >conftest.err
38778 rm -f conftest.er1
38779 cat conftest.err >&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } && {
38782 test -z "$ac_cxx_werror_flag" ||
38783 test ! -s conftest.err
38784 } && test -s conftest.$ac_objext; then
38785
38786 wx_cv_type_sa_handler=int
38787
38788 else
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38791
38792
38793 wx_cv_type_sa_handler=void
38794
38795 fi
38796
38797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38798 ac_ext=c
38799 ac_cpp='$CPP $CPPFLAGS'
38800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38803
38804
38805 fi
38806 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38807 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38808
38809 cat >>confdefs.h <<_ACEOF
38810 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38811 _ACEOF
38812
38813 fi
38814 fi
38815
38816 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38817 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38818 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38819 if test "${wx_cv_func_backtrace+set}" = set; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38821 else
38822
38823 ac_ext=cpp
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38828
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <execinfo.h>
38836 int
38837 main ()
38838 {
38839
38840 void *trace[1];
38841 char **messages;
38842
38843 backtrace(trace, 1);
38844 messages = backtrace_symbols(trace, 1);
38845
38846 ;
38847 return 0;
38848 }
38849 _ACEOF
38850 rm -f conftest.$ac_objext
38851 if { (ac_try="$ac_compile"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38854 *) ac_try_echo=$ac_try;;
38855 esac
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_compile") 2>conftest.er1
38858 ac_status=$?
38859 grep -v '^ *+' conftest.er1 >conftest.err
38860 rm -f conftest.er1
38861 cat conftest.err >&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_cxx_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest.$ac_objext; then
38867 wx_cv_func_backtrace=yes
38868 else
38869 echo "$as_me: failed program was:" >&5
38870 sed 's/^/| /' conftest.$ac_ext >&5
38871
38872 wx_cv_func_backtrace=no
38873
38874 fi
38875
38876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38877 ac_ext=c
38878 ac_cpp='$CPP $CPPFLAGS'
38879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38882
38883
38884
38885 fi
38886 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38887 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38888
38889
38890 if test "$wx_cv_func_backtrace" = "no"; then
38891 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38892 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38893 wxUSE_STACKWALKER=no
38894 else
38895 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38896 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38897 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38899 else
38900
38901 ac_ext=cpp
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38906
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <cxxabi.h>
38914 int
38915 main ()
38916 {
38917
38918 int rc;
38919 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38920
38921 ;
38922 return 0;
38923 }
38924 _ACEOF
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (ac_try="$ac_link"
38927 case "(($ac_try" in
38928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38930 esac
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_link") 2>conftest.er1
38933 ac_status=$?
38934 grep -v '^ *+' conftest.er1 >conftest.err
38935 rm -f conftest.er1
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } && {
38939 test -z "$ac_cxx_werror_flag" ||
38940 test ! -s conftest.err
38941 } && test -s conftest$ac_exeext &&
38942 $as_test_x conftest$ac_exeext; then
38943 wx_cv_func_cxa_demangle=yes
38944 else
38945 echo "$as_me: failed program was:" >&5
38946 sed 's/^/| /' conftest.$ac_ext >&5
38947
38948 wx_cv_func_cxa_demangle=no
38949
38950 fi
38951
38952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38953 conftest$ac_exeext conftest.$ac_ext
38954 ac_ext=c
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38959
38960
38961
38962 fi
38963 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38964 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38965
38966 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38967 cat >>confdefs.h <<\_ACEOF
38968 #define HAVE_CXA_DEMANGLE 1
38969 _ACEOF
38970
38971 fi
38972 fi
38973 fi
38974
38975 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38976 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38977 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38978 wxUSE_STACKWALKER=no
38979 fi
38980
38981
38982
38983
38984 for ac_func in mkstemp mktemp
38985 do
38986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 cat >conftest.$ac_ext <<_ACEOF
38993 /* confdefs.h. */
38994 _ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define $ac_func innocuous_$ac_func
39001
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char $ac_func (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39006
39007 #ifdef __STDC__
39008 # include <limits.h>
39009 #else
39010 # include <assert.h>
39011 #endif
39012
39013 #undef $ac_func
39014
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39018 #ifdef __cplusplus
39019 extern "C"
39020 #endif
39021 char $ac_func ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_$ac_func || defined __stub___$ac_func
39026 choke me
39027 #endif
39028
39029 int
39030 main ()
39031 {
39032 return $ac_func ();
39033 ;
39034 return 0;
39035 }
39036 _ACEOF
39037 rm -f conftest.$ac_objext conftest$ac_exeext
39038 if { (ac_try="$ac_link"
39039 case "(($ac_try" in
39040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39041 *) ac_try_echo=$ac_try;;
39042 esac
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_link") 2>conftest.er1
39045 ac_status=$?
39046 grep -v '^ *+' conftest.er1 >conftest.err
39047 rm -f conftest.er1
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest$ac_exeext &&
39054 $as_test_x conftest$ac_exeext; then
39055 eval "$as_ac_var=yes"
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 eval "$as_ac_var=no"
39061 fi
39062
39063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064 conftest$ac_exeext conftest.$ac_ext
39065 fi
39066 ac_res=`eval echo '${'$as_ac_var'}'`
39067 { echo "$as_me:$LINENO: result: $ac_res" >&5
39068 echo "${ECHO_T}$ac_res" >&6; }
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070 cat >>confdefs.h <<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39072 _ACEOF
39073 break
39074 fi
39075 done
39076
39077
39078 { echo "$as_me:$LINENO: checking for statfs" >&5
39079 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39080 if test "${wx_cv_func_statfs+set}" = set; then
39081 echo $ECHO_N "(cached) $ECHO_C" >&6
39082 else
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089
39090 #if defined(__BSD__)
39091 #include <sys/param.h>
39092 #include <sys/mount.h>
39093 #else
39094 #include <sys/vfs.h>
39095 #endif
39096
39097 int
39098 main ()
39099 {
39100
39101 long l;
39102 struct statfs fs;
39103 statfs("/", &fs);
39104 l = fs.f_bsize;
39105 l += fs.f_blocks;
39106 l += fs.f_bavail;
39107
39108 ;
39109 return 0;
39110 }
39111 _ACEOF
39112 rm -f conftest.$ac_objext
39113 if { (ac_try="$ac_compile"
39114 case "(($ac_try" in
39115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39116 *) ac_try_echo=$ac_try;;
39117 esac
39118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39119 (eval "$ac_compile") 2>conftest.er1
39120 ac_status=$?
39121 grep -v '^ *+' conftest.er1 >conftest.err
39122 rm -f conftest.er1
39123 cat conftest.err >&5
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); } && {
39126 test -z "$ac_c_werror_flag" ||
39127 test ! -s conftest.err
39128 } && test -s conftest.$ac_objext; then
39129 wx_cv_func_statfs=yes
39130 else
39131 echo "$as_me: failed program was:" >&5
39132 sed 's/^/| /' conftest.$ac_ext >&5
39133
39134 wx_cv_func_statfs=no
39135
39136 fi
39137
39138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39139
39140 fi
39141 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39142 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39143
39144 if test "$wx_cv_func_statfs" = "yes"; then
39145 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39146 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39147 if test "${wx_cv_func_statfs_decl+set}" = set; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 else
39150 ac_ext=cpp
39151 ac_cpp='$CXXCPP $CPPFLAGS'
39152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39155
39156 cat >conftest.$ac_ext <<_ACEOF
39157 /* confdefs.h. */
39158 _ACEOF
39159 cat confdefs.h >>conftest.$ac_ext
39160 cat >>conftest.$ac_ext <<_ACEOF
39161 /* end confdefs.h. */
39162
39163 #if defined(__BSD__)
39164 #include <sys/param.h>
39165 #include <sys/mount.h>
39166 #else
39167 #include <sys/vfs.h>
39168 #endif
39169
39170 int
39171 main ()
39172 {
39173
39174 struct statfs fs;
39175 statfs("", &fs);
39176
39177 ;
39178 return 0;
39179 }
39180 _ACEOF
39181 rm -f conftest.$ac_objext
39182 if { (ac_try="$ac_compile"
39183 case "(($ac_try" in
39184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39185 *) ac_try_echo=$ac_try;;
39186 esac
39187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39188 (eval "$ac_compile") 2>conftest.er1
39189 ac_status=$?
39190 grep -v '^ *+' conftest.er1 >conftest.err
39191 rm -f conftest.er1
39192 cat conftest.err >&5
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); } && {
39195 test -z "$ac_cxx_werror_flag" ||
39196 test ! -s conftest.err
39197 } && test -s conftest.$ac_objext; then
39198 wx_cv_func_statfs_decl=yes
39199 else
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.$ac_ext >&5
39202
39203 wx_cv_func_statfs_decl=no
39204
39205 fi
39206
39207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39208 ac_ext=c
39209 ac_cpp='$CPP $CPPFLAGS'
39210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39213
39214
39215 fi
39216 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39217 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39218
39219 if test "$wx_cv_func_statfs_decl" = "yes"; then
39220 cat >>confdefs.h <<\_ACEOF
39221 #define HAVE_STATFS_DECL 1
39222 _ACEOF
39223
39224 fi
39225
39226 wx_cv_type_statvfs_t="struct statfs"
39227 cat >>confdefs.h <<\_ACEOF
39228 #define HAVE_STATFS 1
39229 _ACEOF
39230
39231 else
39232 { echo "$as_me:$LINENO: checking for statvfs" >&5
39233 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39234 if test "${wx_cv_func_statvfs+set}" = set; then
39235 echo $ECHO_N "(cached) $ECHO_C" >&6
39236 else
39237 cat >conftest.$ac_ext <<_ACEOF
39238 /* confdefs.h. */
39239 _ACEOF
39240 cat confdefs.h >>conftest.$ac_ext
39241 cat >>conftest.$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39243
39244 #include <stddef.h>
39245 #include <sys/statvfs.h>
39246
39247 int
39248 main ()
39249 {
39250
39251 statvfs("/", NULL);
39252
39253 ;
39254 return 0;
39255 }
39256 _ACEOF
39257 rm -f conftest.$ac_objext
39258 if { (ac_try="$ac_compile"
39259 case "(($ac_try" in
39260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39261 *) ac_try_echo=$ac_try;;
39262 esac
39263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39264 (eval "$ac_compile") 2>conftest.er1
39265 ac_status=$?
39266 grep -v '^ *+' conftest.er1 >conftest.err
39267 rm -f conftest.er1
39268 cat conftest.err >&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); } && {
39271 test -z "$ac_c_werror_flag" ||
39272 test ! -s conftest.err
39273 } && test -s conftest.$ac_objext; then
39274 wx_cv_func_statvfs=yes
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 wx_cv_func_statvfs=no
39280
39281 fi
39282
39283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284
39285 fi
39286 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39287 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39288
39289 if test "$wx_cv_func_statvfs" = "yes"; then
39290 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39291 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39292 if test "${wx_cv_type_statvfs_t+set}" = set; then
39293 echo $ECHO_N "(cached) $ECHO_C" >&6
39294 else
39295 ac_ext=cpp
39296 ac_cpp='$CXXCPP $CPPFLAGS'
39297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39300
39301 cat >conftest.$ac_ext <<_ACEOF
39302 /* confdefs.h. */
39303 _ACEOF
39304 cat confdefs.h >>conftest.$ac_ext
39305 cat >>conftest.$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307
39308 #include <sys/statvfs.h>
39309
39310 int
39311 main ()
39312 {
39313
39314 long l;
39315 statvfs_t fs;
39316 statvfs("/", &fs);
39317 l = fs.f_bsize;
39318 l += fs.f_blocks;
39319 l += fs.f_bavail;
39320
39321 ;
39322 return 0;
39323 }
39324 _ACEOF
39325 rm -f conftest.$ac_objext
39326 if { (ac_try="$ac_compile"
39327 case "(($ac_try" in
39328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39329 *) ac_try_echo=$ac_try;;
39330 esac
39331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39332 (eval "$ac_compile") 2>conftest.er1
39333 ac_status=$?
39334 grep -v '^ *+' conftest.er1 >conftest.err
39335 rm -f conftest.er1
39336 cat conftest.err >&5
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); } && {
39339 test -z "$ac_cxx_werror_flag" ||
39340 test ! -s conftest.err
39341 } && test -s conftest.$ac_objext; then
39342 wx_cv_type_statvfs_t=statvfs_t
39343 else
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39346
39347
39348 cat >conftest.$ac_ext <<_ACEOF
39349 /* confdefs.h. */
39350 _ACEOF
39351 cat confdefs.h >>conftest.$ac_ext
39352 cat >>conftest.$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39354
39355 #include <sys/statvfs.h>
39356
39357 int
39358 main ()
39359 {
39360
39361 long l;
39362 struct statvfs fs;
39363 statvfs("/", &fs);
39364 l = fs.f_bsize;
39365 l += fs.f_blocks;
39366 l += fs.f_bavail;
39367
39368 ;
39369 return 0;
39370 }
39371 _ACEOF
39372 rm -f conftest.$ac_objext
39373 if { (ac_try="$ac_compile"
39374 case "(($ac_try" in
39375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39376 *) ac_try_echo=$ac_try;;
39377 esac
39378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39379 (eval "$ac_compile") 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } && {
39386 test -z "$ac_cxx_werror_flag" ||
39387 test ! -s conftest.err
39388 } && test -s conftest.$ac_objext; then
39389 wx_cv_type_statvfs_t="struct statvfs"
39390 else
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39393
39394 wx_cv_type_statvfs_t="unknown"
39395
39396 fi
39397
39398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39399
39400
39401 fi
39402
39403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39404 ac_ext=c
39405 ac_cpp='$CPP $CPPFLAGS'
39406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39409
39410
39411 fi
39412 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39413 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39414
39415 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_STATVFS 1
39418 _ACEOF
39419
39420 fi
39421 else
39422 wx_cv_type_statvfs_t="unknown"
39423 fi
39424 fi
39425
39426 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39427 cat >>confdefs.h <<_ACEOF
39428 #define WX_STATFS_T $wx_cv_type_statvfs_t
39429 _ACEOF
39430
39431 else
39432 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39433 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39434 fi
39435
39436 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39437
39438
39439 for ac_func in fcntl flock
39440 do
39441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39445 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 else
39447 cat >conftest.$ac_ext <<_ACEOF
39448 /* confdefs.h. */
39449 _ACEOF
39450 cat confdefs.h >>conftest.$ac_ext
39451 cat >>conftest.$ac_ext <<_ACEOF
39452 /* end confdefs.h. */
39453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39455 #define $ac_func innocuous_$ac_func
39456
39457 /* System header to define __stub macros and hopefully few prototypes,
39458 which can conflict with char $ac_func (); below.
39459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39460 <limits.h> exists even on freestanding compilers. */
39461
39462 #ifdef __STDC__
39463 # include <limits.h>
39464 #else
39465 # include <assert.h>
39466 #endif
39467
39468 #undef $ac_func
39469
39470 /* Override any GCC internal prototype to avoid an error.
39471 Use char because int might match the return type of a GCC
39472 builtin and then its argument prototype would still apply. */
39473 #ifdef __cplusplus
39474 extern "C"
39475 #endif
39476 char $ac_func ();
39477 /* The GNU C library defines this for functions which it implements
39478 to always fail with ENOSYS. Some functions are actually named
39479 something starting with __ and the normal name is an alias. */
39480 #if defined __stub_$ac_func || defined __stub___$ac_func
39481 choke me
39482 #endif
39483
39484 int
39485 main ()
39486 {
39487 return $ac_func ();
39488 ;
39489 return 0;
39490 }
39491 _ACEOF
39492 rm -f conftest.$ac_objext conftest$ac_exeext
39493 if { (ac_try="$ac_link"
39494 case "(($ac_try" in
39495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39496 *) ac_try_echo=$ac_try;;
39497 esac
39498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39499 (eval "$ac_link") 2>conftest.er1
39500 ac_status=$?
39501 grep -v '^ *+' conftest.er1 >conftest.err
39502 rm -f conftest.er1
39503 cat conftest.err >&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } && {
39506 test -z "$ac_c_werror_flag" ||
39507 test ! -s conftest.err
39508 } && test -s conftest$ac_exeext &&
39509 $as_test_x conftest$ac_exeext; then
39510 eval "$as_ac_var=yes"
39511 else
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.$ac_ext >&5
39514
39515 eval "$as_ac_var=no"
39516 fi
39517
39518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39519 conftest$ac_exeext conftest.$ac_ext
39520 fi
39521 ac_res=`eval echo '${'$as_ac_var'}'`
39522 { echo "$as_me:$LINENO: result: $ac_res" >&5
39523 echo "${ECHO_T}$ac_res" >&6; }
39524 if test `eval echo '${'$as_ac_var'}'` = yes; then
39525 cat >>confdefs.h <<_ACEOF
39526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39527 _ACEOF
39528 break
39529 fi
39530 done
39531
39532
39533 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39534 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39535 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39536 wxUSE_SNGLINST_CHECKER=no
39537 fi
39538 fi
39539
39540
39541
39542 for ac_func in setenv putenv
39543 do
39544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39547 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39548 echo $ECHO_N "(cached) $ECHO_C" >&6
39549 else
39550 cat >conftest.$ac_ext <<_ACEOF
39551 /* confdefs.h. */
39552 _ACEOF
39553 cat confdefs.h >>conftest.$ac_ext
39554 cat >>conftest.$ac_ext <<_ACEOF
39555 /* end confdefs.h. */
39556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39558 #define $ac_func innocuous_$ac_func
39559
39560 /* System header to define __stub macros and hopefully few prototypes,
39561 which can conflict with char $ac_func (); below.
39562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39563 <limits.h> exists even on freestanding compilers. */
39564
39565 #ifdef __STDC__
39566 # include <limits.h>
39567 #else
39568 # include <assert.h>
39569 #endif
39570
39571 #undef $ac_func
39572
39573 /* Override any GCC internal prototype to avoid an error.
39574 Use char because int might match the return type of a GCC
39575 builtin and then its argument prototype would still apply. */
39576 #ifdef __cplusplus
39577 extern "C"
39578 #endif
39579 char $ac_func ();
39580 /* The GNU C library defines this for functions which it implements
39581 to always fail with ENOSYS. Some functions are actually named
39582 something starting with __ and the normal name is an alias. */
39583 #if defined __stub_$ac_func || defined __stub___$ac_func
39584 choke me
39585 #endif
39586
39587 int
39588 main ()
39589 {
39590 return $ac_func ();
39591 ;
39592 return 0;
39593 }
39594 _ACEOF
39595 rm -f conftest.$ac_objext conftest$ac_exeext
39596 if { (ac_try="$ac_link"
39597 case "(($ac_try" in
39598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39599 *) ac_try_echo=$ac_try;;
39600 esac
39601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39602 (eval "$ac_link") 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } && {
39609 test -z "$ac_c_werror_flag" ||
39610 test ! -s conftest.err
39611 } && test -s conftest$ac_exeext &&
39612 $as_test_x conftest$ac_exeext; then
39613 eval "$as_ac_var=yes"
39614 else
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39617
39618 eval "$as_ac_var=no"
39619 fi
39620
39621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39622 conftest$ac_exeext conftest.$ac_ext
39623 fi
39624 ac_res=`eval echo '${'$as_ac_var'}'`
39625 { echo "$as_me:$LINENO: result: $ac_res" >&5
39626 echo "${ECHO_T}$ac_res" >&6; }
39627 if test `eval echo '${'$as_ac_var'}'` = yes; then
39628 cat >>confdefs.h <<_ACEOF
39629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39630 _ACEOF
39631 break
39632 fi
39633 done
39634
39635 if test "$ac_cv_func_setenv" = "yes"; then
39636
39637 for ac_func in unsetenv
39638 do
39639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39644 else
39645 cat >conftest.$ac_ext <<_ACEOF
39646 /* confdefs.h. */
39647 _ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39653 #define $ac_func innocuous_$ac_func
39654
39655 /* System header to define __stub macros and hopefully few prototypes,
39656 which can conflict with char $ac_func (); below.
39657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39658 <limits.h> exists even on freestanding compilers. */
39659
39660 #ifdef __STDC__
39661 # include <limits.h>
39662 #else
39663 # include <assert.h>
39664 #endif
39665
39666 #undef $ac_func
39667
39668 /* Override any GCC internal prototype to avoid an error.
39669 Use char because int might match the return type of a GCC
39670 builtin and then its argument prototype would still apply. */
39671 #ifdef __cplusplus
39672 extern "C"
39673 #endif
39674 char $ac_func ();
39675 /* The GNU C library defines this for functions which it implements
39676 to always fail with ENOSYS. Some functions are actually named
39677 something starting with __ and the normal name is an alias. */
39678 #if defined __stub_$ac_func || defined __stub___$ac_func
39679 choke me
39680 #endif
39681
39682 int
39683 main ()
39684 {
39685 return $ac_func ();
39686 ;
39687 return 0;
39688 }
39689 _ACEOF
39690 rm -f conftest.$ac_objext conftest$ac_exeext
39691 if { (ac_try="$ac_link"
39692 case "(($ac_try" in
39693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39694 *) ac_try_echo=$ac_try;;
39695 esac
39696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39697 (eval "$ac_link") 2>conftest.er1
39698 ac_status=$?
39699 grep -v '^ *+' conftest.er1 >conftest.err
39700 rm -f conftest.er1
39701 cat conftest.err >&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } && {
39704 test -z "$ac_c_werror_flag" ||
39705 test ! -s conftest.err
39706 } && test -s conftest$ac_exeext &&
39707 $as_test_x conftest$ac_exeext; then
39708 eval "$as_ac_var=yes"
39709 else
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 eval "$as_ac_var=no"
39714 fi
39715
39716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39717 conftest$ac_exeext conftest.$ac_ext
39718 fi
39719 ac_res=`eval echo '${'$as_ac_var'}'`
39720 { echo "$as_me:$LINENO: result: $ac_res" >&5
39721 echo "${ECHO_T}$ac_res" >&6; }
39722 if test `eval echo '${'$as_ac_var'}'` = yes; then
39723 cat >>confdefs.h <<_ACEOF
39724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39725 _ACEOF
39726
39727 fi
39728 done
39729
39730 fi
39731
39732 HAVE_SOME_SLEEP_FUNC=0
39733 if test "$USE_BEOS" = 1; then
39734 cat >>confdefs.h <<\_ACEOF
39735 #define HAVE_SLEEP 1
39736 _ACEOF
39737
39738 HAVE_SOME_SLEEP_FUNC=1
39739 fi
39740
39741 if test "$USE_DARWIN" = 1; then
39742 cat >>confdefs.h <<\_ACEOF
39743 #define HAVE_USLEEP 1
39744 _ACEOF
39745
39746 HAVE_SOME_SLEEP_FUNC=1
39747 fi
39748
39749 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39750 POSIX4_LINK=
39751
39752 for ac_func in nanosleep
39753 do
39754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 else
39760 cat >conftest.$ac_ext <<_ACEOF
39761 /* confdefs.h. */
39762 _ACEOF
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39768 #define $ac_func innocuous_$ac_func
39769
39770 /* System header to define __stub macros and hopefully few prototypes,
39771 which can conflict with char $ac_func (); below.
39772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39773 <limits.h> exists even on freestanding compilers. */
39774
39775 #ifdef __STDC__
39776 # include <limits.h>
39777 #else
39778 # include <assert.h>
39779 #endif
39780
39781 #undef $ac_func
39782
39783 /* Override any GCC internal prototype to avoid an error.
39784 Use char because int might match the return type of a GCC
39785 builtin and then its argument prototype would still apply. */
39786 #ifdef __cplusplus
39787 extern "C"
39788 #endif
39789 char $ac_func ();
39790 /* The GNU C library defines this for functions which it implements
39791 to always fail with ENOSYS. Some functions are actually named
39792 something starting with __ and the normal name is an alias. */
39793 #if defined __stub_$ac_func || defined __stub___$ac_func
39794 choke me
39795 #endif
39796
39797 int
39798 main ()
39799 {
39800 return $ac_func ();
39801 ;
39802 return 0;
39803 }
39804 _ACEOF
39805 rm -f conftest.$ac_objext conftest$ac_exeext
39806 if { (ac_try="$ac_link"
39807 case "(($ac_try" in
39808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39809 *) ac_try_echo=$ac_try;;
39810 esac
39811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39812 (eval "$ac_link") 2>conftest.er1
39813 ac_status=$?
39814 grep -v '^ *+' conftest.er1 >conftest.err
39815 rm -f conftest.er1
39816 cat conftest.err >&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } && {
39819 test -z "$ac_c_werror_flag" ||
39820 test ! -s conftest.err
39821 } && test -s conftest$ac_exeext &&
39822 $as_test_x conftest$ac_exeext; then
39823 eval "$as_ac_var=yes"
39824 else
39825 echo "$as_me: failed program was:" >&5
39826 sed 's/^/| /' conftest.$ac_ext >&5
39827
39828 eval "$as_ac_var=no"
39829 fi
39830
39831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39832 conftest$ac_exeext conftest.$ac_ext
39833 fi
39834 ac_res=`eval echo '${'$as_ac_var'}'`
39835 { echo "$as_me:$LINENO: result: $ac_res" >&5
39836 echo "${ECHO_T}$ac_res" >&6; }
39837 if test `eval echo '${'$as_ac_var'}'` = yes; then
39838 cat >>confdefs.h <<_ACEOF
39839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39840 _ACEOF
39841 cat >>confdefs.h <<\_ACEOF
39842 #define HAVE_NANOSLEEP 1
39843 _ACEOF
39844
39845 else
39846
39847 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39848 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39849 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 else
39852 ac_check_lib_save_LIBS=$LIBS
39853 LIBS="-lposix4 $LIBS"
39854 cat >conftest.$ac_ext <<_ACEOF
39855 /* confdefs.h. */
39856 _ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39860
39861 /* Override any GCC internal prototype to avoid an error.
39862 Use char because int might match the return type of a GCC
39863 builtin and then its argument prototype would still apply. */
39864 #ifdef __cplusplus
39865 extern "C"
39866 #endif
39867 char nanosleep ();
39868 int
39869 main ()
39870 {
39871 return nanosleep ();
39872 ;
39873 return 0;
39874 }
39875 _ACEOF
39876 rm -f conftest.$ac_objext conftest$ac_exeext
39877 if { (ac_try="$ac_link"
39878 case "(($ac_try" in
39879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39880 *) ac_try_echo=$ac_try;;
39881 esac
39882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39883 (eval "$ac_link") 2>conftest.er1
39884 ac_status=$?
39885 grep -v '^ *+' conftest.er1 >conftest.err
39886 rm -f conftest.er1
39887 cat conftest.err >&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); } && {
39890 test -z "$ac_c_werror_flag" ||
39891 test ! -s conftest.err
39892 } && test -s conftest$ac_exeext &&
39893 $as_test_x conftest$ac_exeext; then
39894 ac_cv_lib_posix4_nanosleep=yes
39895 else
39896 echo "$as_me: failed program was:" >&5
39897 sed 's/^/| /' conftest.$ac_ext >&5
39898
39899 ac_cv_lib_posix4_nanosleep=no
39900 fi
39901
39902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39903 conftest$ac_exeext conftest.$ac_ext
39904 LIBS=$ac_check_lib_save_LIBS
39905 fi
39906 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39907 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39908 if test $ac_cv_lib_posix4_nanosleep = yes; then
39909
39910 cat >>confdefs.h <<\_ACEOF
39911 #define HAVE_NANOSLEEP 1
39912 _ACEOF
39913
39914 POSIX4_LINK=" -lposix4"
39915
39916 else
39917
39918
39919 for wx_func in usleep
39920 do
39921 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39922 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39923 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39924 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 else
39926
39927 cat >conftest.$ac_ext <<_ACEOF
39928
39929 /* confdefs.h. */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934
39935
39936 $ac_includes_default
39937
39938 int
39939 main ()
39940 {
39941
39942 #ifndef $wx_func
39943 &$wx_func;
39944 #endif
39945
39946
39947 ;
39948 return 0;
39949 }
39950
39951 _ACEOF
39952 rm -f conftest.$ac_objext conftest$ac_exeext
39953 if { (ac_try="$ac_link"
39954 case "(($ac_try" in
39955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39956 *) ac_try_echo=$ac_try;;
39957 esac
39958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39959 (eval "$ac_link") 2>conftest.er1
39960 ac_status=$?
39961 grep -v '^ *+' conftest.er1 >conftest.err
39962 rm -f conftest.er1
39963 cat conftest.err >&5
39964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39965 (exit $ac_status); } && {
39966 test -z "$ac_c_werror_flag" ||
39967 test ! -s conftest.err
39968 } && test -s conftest$ac_exeext &&
39969 $as_test_x conftest$ac_exeext; then
39970 eval wx_cv_func_$wx_func=yes
39971 else
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.$ac_ext >&5
39974
39975 eval wx_cv_func_$wx_func=no
39976 fi
39977
39978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39979 conftest$ac_exeext conftest.$ac_ext
39980
39981 fi
39982 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39983 { echo "$as_me:$LINENO: result: $ac_res" >&5
39984 echo "${ECHO_T}$ac_res" >&6; }
39985
39986 if eval test \$wx_cv_func_$wx_func = yes
39987 then
39988 cat >>confdefs.h <<_ACEOF
39989 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39990 _ACEOF
39991
39992
39993 else
39994 :
39995 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39996 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39997
39998 fi
39999 done
40000
40001
40002
40003 fi
40004
40005
40006
40007 fi
40008 done
40009
40010 fi
40011
40012
40013 for wx_func in uname
40014 do
40015 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40016 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40017 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40018 echo $ECHO_N "(cached) $ECHO_C" >&6
40019 else
40020
40021 cat >conftest.$ac_ext <<_ACEOF
40022
40023 /* confdefs.h. */
40024 _ACEOF
40025 cat confdefs.h >>conftest.$ac_ext
40026 cat >>conftest.$ac_ext <<_ACEOF
40027 /* end confdefs.h. */
40028
40029 #include <sys/utsname.h>
40030 $ac_includes_default
40031
40032 int
40033 main ()
40034 {
40035
40036 #ifndef $wx_func
40037 &$wx_func;
40038 #endif
40039
40040
40041 ;
40042 return 0;
40043 }
40044
40045 _ACEOF
40046 rm -f conftest.$ac_objext conftest$ac_exeext
40047 if { (ac_try="$ac_link"
40048 case "(($ac_try" in
40049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40050 *) ac_try_echo=$ac_try;;
40051 esac
40052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40053 (eval "$ac_link") 2>conftest.er1
40054 ac_status=$?
40055 grep -v '^ *+' conftest.er1 >conftest.err
40056 rm -f conftest.er1
40057 cat conftest.err >&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); } && {
40060 test -z "$ac_c_werror_flag" ||
40061 test ! -s conftest.err
40062 } && test -s conftest$ac_exeext &&
40063 $as_test_x conftest$ac_exeext; then
40064 eval wx_cv_func_$wx_func=yes
40065 else
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.$ac_ext >&5
40068
40069 eval wx_cv_func_$wx_func=no
40070 fi
40071
40072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40073 conftest$ac_exeext conftest.$ac_ext
40074
40075 fi
40076 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40077 { echo "$as_me:$LINENO: result: $ac_res" >&5
40078 echo "${ECHO_T}$ac_res" >&6; }
40079
40080 if eval test \$wx_cv_func_$wx_func = yes
40081 then
40082 cat >>confdefs.h <<_ACEOF
40083 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40084 _ACEOF
40085
40086
40087 else
40088 :
40089
40090 fi
40091 done
40092
40093 if test "$wx_cv_func_uname" != yes; then
40094
40095 for wx_func in gethostname
40096 do
40097 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40098 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40099 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40100 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 else
40102
40103 cat >conftest.$ac_ext <<_ACEOF
40104
40105 /* confdefs.h. */
40106 _ACEOF
40107 cat confdefs.h >>conftest.$ac_ext
40108 cat >>conftest.$ac_ext <<_ACEOF
40109 /* end confdefs.h. */
40110
40111
40112 $ac_includes_default
40113
40114 int
40115 main ()
40116 {
40117
40118 #ifndef $wx_func
40119 &$wx_func;
40120 #endif
40121
40122
40123 ;
40124 return 0;
40125 }
40126
40127 _ACEOF
40128 rm -f conftest.$ac_objext conftest$ac_exeext
40129 if { (ac_try="$ac_link"
40130 case "(($ac_try" in
40131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40132 *) ac_try_echo=$ac_try;;
40133 esac
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135 (eval "$ac_link") 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } && {
40142 test -z "$ac_c_werror_flag" ||
40143 test ! -s conftest.err
40144 } && test -s conftest$ac_exeext &&
40145 $as_test_x conftest$ac_exeext; then
40146 eval wx_cv_func_$wx_func=yes
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 eval wx_cv_func_$wx_func=no
40152 fi
40153
40154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40155 conftest$ac_exeext conftest.$ac_ext
40156
40157 fi
40158 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40159 { echo "$as_me:$LINENO: result: $ac_res" >&5
40160 echo "${ECHO_T}$ac_res" >&6; }
40161
40162 if eval test \$wx_cv_func_$wx_func = yes
40163 then
40164 cat >>confdefs.h <<_ACEOF
40165 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40166 _ACEOF
40167
40168
40169 else
40170 :
40171
40172 fi
40173 done
40174
40175 fi
40176
40177
40178 for wx_func in strtok_r
40179 do
40180 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40181 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40182 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40183 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 else
40185
40186 cat >conftest.$ac_ext <<_ACEOF
40187
40188 /* confdefs.h. */
40189 _ACEOF
40190 cat confdefs.h >>conftest.$ac_ext
40191 cat >>conftest.$ac_ext <<_ACEOF
40192 /* end confdefs.h. */
40193
40194 #define _REENTRANT
40195 $ac_includes_default
40196
40197 int
40198 main ()
40199 {
40200
40201 #ifndef $wx_func
40202 &$wx_func;
40203 #endif
40204
40205
40206 ;
40207 return 0;
40208 }
40209
40210 _ACEOF
40211 rm -f conftest.$ac_objext conftest$ac_exeext
40212 if { (ac_try="$ac_link"
40213 case "(($ac_try" in
40214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40215 *) ac_try_echo=$ac_try;;
40216 esac
40217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40218 (eval "$ac_link") 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } && {
40225 test -z "$ac_c_werror_flag" ||
40226 test ! -s conftest.err
40227 } && test -s conftest$ac_exeext &&
40228 $as_test_x conftest$ac_exeext; then
40229 eval wx_cv_func_$wx_func=yes
40230 else
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.$ac_ext >&5
40233
40234 eval wx_cv_func_$wx_func=no
40235 fi
40236
40237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40238 conftest$ac_exeext conftest.$ac_ext
40239
40240 fi
40241 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40242 { echo "$as_me:$LINENO: result: $ac_res" >&5
40243 echo "${ECHO_T}$ac_res" >&6; }
40244
40245 if eval test \$wx_cv_func_$wx_func = yes
40246 then
40247 cat >>confdefs.h <<_ACEOF
40248 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40249 _ACEOF
40250
40251
40252 else
40253 :
40254
40255 fi
40256 done
40257
40258
40259 INET_LINK=
40260
40261 for ac_func in inet_addr
40262 do
40263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40267 echo $ECHO_N "(cached) $ECHO_C" >&6
40268 else
40269 cat >conftest.$ac_ext <<_ACEOF
40270 /* confdefs.h. */
40271 _ACEOF
40272 cat confdefs.h >>conftest.$ac_ext
40273 cat >>conftest.$ac_ext <<_ACEOF
40274 /* end confdefs.h. */
40275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40277 #define $ac_func innocuous_$ac_func
40278
40279 /* System header to define __stub macros and hopefully few prototypes,
40280 which can conflict with char $ac_func (); below.
40281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40282 <limits.h> exists even on freestanding compilers. */
40283
40284 #ifdef __STDC__
40285 # include <limits.h>
40286 #else
40287 # include <assert.h>
40288 #endif
40289
40290 #undef $ac_func
40291
40292 /* Override any GCC internal prototype to avoid an error.
40293 Use char because int might match the return type of a GCC
40294 builtin and then its argument prototype would still apply. */
40295 #ifdef __cplusplus
40296 extern "C"
40297 #endif
40298 char $ac_func ();
40299 /* The GNU C library defines this for functions which it implements
40300 to always fail with ENOSYS. Some functions are actually named
40301 something starting with __ and the normal name is an alias. */
40302 #if defined __stub_$ac_func || defined __stub___$ac_func
40303 choke me
40304 #endif
40305
40306 int
40307 main ()
40308 {
40309 return $ac_func ();
40310 ;
40311 return 0;
40312 }
40313 _ACEOF
40314 rm -f conftest.$ac_objext conftest$ac_exeext
40315 if { (ac_try="$ac_link"
40316 case "(($ac_try" in
40317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40318 *) ac_try_echo=$ac_try;;
40319 esac
40320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40321 (eval "$ac_link") 2>conftest.er1
40322 ac_status=$?
40323 grep -v '^ *+' conftest.er1 >conftest.err
40324 rm -f conftest.er1
40325 cat conftest.err >&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); } && {
40328 test -z "$ac_c_werror_flag" ||
40329 test ! -s conftest.err
40330 } && test -s conftest$ac_exeext &&
40331 $as_test_x conftest$ac_exeext; then
40332 eval "$as_ac_var=yes"
40333 else
40334 echo "$as_me: failed program was:" >&5
40335 sed 's/^/| /' conftest.$ac_ext >&5
40336
40337 eval "$as_ac_var=no"
40338 fi
40339
40340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40341 conftest$ac_exeext conftest.$ac_ext
40342 fi
40343 ac_res=`eval echo '${'$as_ac_var'}'`
40344 { echo "$as_me:$LINENO: result: $ac_res" >&5
40345 echo "${ECHO_T}$ac_res" >&6; }
40346 if test `eval echo '${'$as_ac_var'}'` = yes; then
40347 cat >>confdefs.h <<_ACEOF
40348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40349 _ACEOF
40350 cat >>confdefs.h <<\_ACEOF
40351 #define HAVE_INET_ADDR 1
40352 _ACEOF
40353
40354 else
40355
40356 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40357 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40358 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40359 echo $ECHO_N "(cached) $ECHO_C" >&6
40360 else
40361 ac_check_lib_save_LIBS=$LIBS
40362 LIBS="-lnsl $LIBS"
40363 cat >conftest.$ac_ext <<_ACEOF
40364 /* confdefs.h. */
40365 _ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40369
40370 /* Override any GCC internal prototype to avoid an error.
40371 Use char because int might match the return type of a GCC
40372 builtin and then its argument prototype would still apply. */
40373 #ifdef __cplusplus
40374 extern "C"
40375 #endif
40376 char inet_addr ();
40377 int
40378 main ()
40379 {
40380 return inet_addr ();
40381 ;
40382 return 0;
40383 }
40384 _ACEOF
40385 rm -f conftest.$ac_objext conftest$ac_exeext
40386 if { (ac_try="$ac_link"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40389 *) ac_try_echo=$ac_try;;
40390 esac
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_link") 2>conftest.er1
40393 ac_status=$?
40394 grep -v '^ *+' conftest.er1 >conftest.err
40395 rm -f conftest.er1
40396 cat conftest.err >&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_c_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest$ac_exeext &&
40402 $as_test_x conftest$ac_exeext; then
40403 ac_cv_lib_nsl_inet_addr=yes
40404 else
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.$ac_ext >&5
40407
40408 ac_cv_lib_nsl_inet_addr=no
40409 fi
40410
40411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40412 conftest$ac_exeext conftest.$ac_ext
40413 LIBS=$ac_check_lib_save_LIBS
40414 fi
40415 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40416 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40417 if test $ac_cv_lib_nsl_inet_addr = yes; then
40418 INET_LINK="nsl"
40419 else
40420
40421 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40422 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40423 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 else
40426 ac_check_lib_save_LIBS=$LIBS
40427 LIBS="-lresolv $LIBS"
40428 cat >conftest.$ac_ext <<_ACEOF
40429 /* confdefs.h. */
40430 _ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434
40435 /* Override any GCC internal prototype to avoid an error.
40436 Use char because int might match the return type of a GCC
40437 builtin and then its argument prototype would still apply. */
40438 #ifdef __cplusplus
40439 extern "C"
40440 #endif
40441 char inet_addr ();
40442 int
40443 main ()
40444 {
40445 return inet_addr ();
40446 ;
40447 return 0;
40448 }
40449 _ACEOF
40450 rm -f conftest.$ac_objext conftest$ac_exeext
40451 if { (ac_try="$ac_link"
40452 case "(($ac_try" in
40453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40454 *) ac_try_echo=$ac_try;;
40455 esac
40456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40457 (eval "$ac_link") 2>conftest.er1
40458 ac_status=$?
40459 grep -v '^ *+' conftest.er1 >conftest.err
40460 rm -f conftest.er1
40461 cat conftest.err >&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); } && {
40464 test -z "$ac_c_werror_flag" ||
40465 test ! -s conftest.err
40466 } && test -s conftest$ac_exeext &&
40467 $as_test_x conftest$ac_exeext; then
40468 ac_cv_lib_resolv_inet_addr=yes
40469 else
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40472
40473 ac_cv_lib_resolv_inet_addr=no
40474 fi
40475
40476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40477 conftest$ac_exeext conftest.$ac_ext
40478 LIBS=$ac_check_lib_save_LIBS
40479 fi
40480 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40481 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40482 if test $ac_cv_lib_resolv_inet_addr = yes; then
40483 INET_LINK="resolv"
40484 else
40485
40486 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40487 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40488 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40489 echo $ECHO_N "(cached) $ECHO_C" >&6
40490 else
40491 ac_check_lib_save_LIBS=$LIBS
40492 LIBS="-lsocket $LIBS"
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499
40500 /* Override any GCC internal prototype to avoid an error.
40501 Use char because int might match the return type of a GCC
40502 builtin and then its argument prototype would still apply. */
40503 #ifdef __cplusplus
40504 extern "C"
40505 #endif
40506 char inet_addr ();
40507 int
40508 main ()
40509 {
40510 return inet_addr ();
40511 ;
40512 return 0;
40513 }
40514 _ACEOF
40515 rm -f conftest.$ac_objext conftest$ac_exeext
40516 if { (ac_try="$ac_link"
40517 case "(($ac_try" in
40518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40519 *) ac_try_echo=$ac_try;;
40520 esac
40521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40522 (eval "$ac_link") 2>conftest.er1
40523 ac_status=$?
40524 grep -v '^ *+' conftest.er1 >conftest.err
40525 rm -f conftest.er1
40526 cat conftest.err >&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); } && {
40529 test -z "$ac_c_werror_flag" ||
40530 test ! -s conftest.err
40531 } && test -s conftest$ac_exeext &&
40532 $as_test_x conftest$ac_exeext; then
40533 ac_cv_lib_socket_inet_addr=yes
40534 else
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.$ac_ext >&5
40537
40538 ac_cv_lib_socket_inet_addr=no
40539 fi
40540
40541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40542 conftest$ac_exeext conftest.$ac_ext
40543 LIBS=$ac_check_lib_save_LIBS
40544 fi
40545 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40546 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40547 if test $ac_cv_lib_socket_inet_addr = yes; then
40548 INET_LINK="socket"
40549
40550 fi
40551
40552
40553
40554 fi
40555
40556
40557
40558 fi
40559
40560
40561
40562 fi
40563 done
40564
40565
40566
40567 for ac_func in inet_aton
40568 do
40569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40572 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 else
40575 cat >conftest.$ac_ext <<_ACEOF
40576 /* confdefs.h. */
40577 _ACEOF
40578 cat confdefs.h >>conftest.$ac_ext
40579 cat >>conftest.$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40583 #define $ac_func innocuous_$ac_func
40584
40585 /* System header to define __stub macros and hopefully few prototypes,
40586 which can conflict with char $ac_func (); below.
40587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40588 <limits.h> exists even on freestanding compilers. */
40589
40590 #ifdef __STDC__
40591 # include <limits.h>
40592 #else
40593 # include <assert.h>
40594 #endif
40595
40596 #undef $ac_func
40597
40598 /* Override any GCC internal prototype to avoid an error.
40599 Use char because int might match the return type of a GCC
40600 builtin and then its argument prototype would still apply. */
40601 #ifdef __cplusplus
40602 extern "C"
40603 #endif
40604 char $ac_func ();
40605 /* The GNU C library defines this for functions which it implements
40606 to always fail with ENOSYS. Some functions are actually named
40607 something starting with __ and the normal name is an alias. */
40608 #if defined __stub_$ac_func || defined __stub___$ac_func
40609 choke me
40610 #endif
40611
40612 int
40613 main ()
40614 {
40615 return $ac_func ();
40616 ;
40617 return 0;
40618 }
40619 _ACEOF
40620 rm -f conftest.$ac_objext conftest$ac_exeext
40621 if { (ac_try="$ac_link"
40622 case "(($ac_try" in
40623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40624 *) ac_try_echo=$ac_try;;
40625 esac
40626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40627 (eval "$ac_link") 2>conftest.er1
40628 ac_status=$?
40629 grep -v '^ *+' conftest.er1 >conftest.err
40630 rm -f conftest.er1
40631 cat conftest.err >&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && {
40634 test -z "$ac_c_werror_flag" ||
40635 test ! -s conftest.err
40636 } && test -s conftest$ac_exeext &&
40637 $as_test_x conftest$ac_exeext; then
40638 eval "$as_ac_var=yes"
40639 else
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40642
40643 eval "$as_ac_var=no"
40644 fi
40645
40646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40647 conftest$ac_exeext conftest.$ac_ext
40648 fi
40649 ac_res=`eval echo '${'$as_ac_var'}'`
40650 { echo "$as_me:$LINENO: result: $ac_res" >&5
40651 echo "${ECHO_T}$ac_res" >&6; }
40652 if test `eval echo '${'$as_ac_var'}'` = yes; then
40653 cat >>confdefs.h <<_ACEOF
40654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40655 _ACEOF
40656 cat >>confdefs.h <<\_ACEOF
40657 #define HAVE_INET_ATON 1
40658 _ACEOF
40659
40660 else
40661
40662 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40663 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40664 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40665 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 else
40668 ac_check_lib_save_LIBS=$LIBS
40669 LIBS="-l$INET_LINK $LIBS"
40670 cat >conftest.$ac_ext <<_ACEOF
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676
40677 /* Override any GCC internal prototype to avoid an error.
40678 Use char because int might match the return type of a GCC
40679 builtin and then its argument prototype would still apply. */
40680 #ifdef __cplusplus
40681 extern "C"
40682 #endif
40683 char inet_aton ();
40684 int
40685 main ()
40686 {
40687 return inet_aton ();
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (ac_try="$ac_link"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40696 *) ac_try_echo=$ac_try;;
40697 esac
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_link") 2>conftest.er1
40700 ac_status=$?
40701 grep -v '^ *+' conftest.er1 >conftest.err
40702 rm -f conftest.er1
40703 cat conftest.err >&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest$ac_exeext &&
40709 $as_test_x conftest$ac_exeext; then
40710 eval "$as_ac_Lib=yes"
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 eval "$as_ac_Lib=no"
40716 fi
40717
40718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40719 conftest$ac_exeext conftest.$ac_ext
40720 LIBS=$ac_check_lib_save_LIBS
40721 fi
40722 ac_res=`eval echo '${'$as_ac_Lib'}'`
40723 { echo "$as_me:$LINENO: result: $ac_res" >&5
40724 echo "${ECHO_T}$ac_res" >&6; }
40725 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40726 cat >>confdefs.h <<\_ACEOF
40727 #define HAVE_INET_ATON 1
40728 _ACEOF
40729
40730 fi
40731
40732
40733 fi
40734 done
40735
40736
40737 if test "x$INET_LINK" != "x"; then
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_INET_ADDR 1
40740 _ACEOF
40741
40742 INET_LINK=" -l$INET_LINK"
40743 fi
40744
40745
40746 for wx_func in fdopen
40747 do
40748 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40749 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40750 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40751 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 else
40753
40754 cat >conftest.$ac_ext <<_ACEOF
40755
40756 /* confdefs.h. */
40757 _ACEOF
40758 cat confdefs.h >>conftest.$ac_ext
40759 cat >>conftest.$ac_ext <<_ACEOF
40760 /* end confdefs.h. */
40761
40762
40763 $ac_includes_default
40764
40765 int
40766 main ()
40767 {
40768
40769 #ifndef $wx_func
40770 &$wx_func;
40771 #endif
40772
40773
40774 ;
40775 return 0;
40776 }
40777
40778 _ACEOF
40779 rm -f conftest.$ac_objext conftest$ac_exeext
40780 if { (ac_try="$ac_link"
40781 case "(($ac_try" in
40782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40783 *) ac_try_echo=$ac_try;;
40784 esac
40785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40786 (eval "$ac_link") 2>conftest.er1
40787 ac_status=$?
40788 grep -v '^ *+' conftest.er1 >conftest.err
40789 rm -f conftest.er1
40790 cat conftest.err >&5
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); } && {
40793 test -z "$ac_c_werror_flag" ||
40794 test ! -s conftest.err
40795 } && test -s conftest$ac_exeext &&
40796 $as_test_x conftest$ac_exeext; then
40797 eval wx_cv_func_$wx_func=yes
40798 else
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40801
40802 eval wx_cv_func_$wx_func=no
40803 fi
40804
40805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40806 conftest$ac_exeext conftest.$ac_ext
40807
40808 fi
40809 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40810 { echo "$as_me:$LINENO: result: $ac_res" >&5
40811 echo "${ECHO_T}$ac_res" >&6; }
40812
40813 if eval test \$wx_cv_func_$wx_func = yes
40814 then
40815 cat >>confdefs.h <<_ACEOF
40816 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40817 _ACEOF
40818
40819
40820 else
40821 :
40822
40823 fi
40824 done
40825
40826
40827 if test "$wxUSE_TARSTREAM" = "yes"; then
40828
40829 for wx_func in sysconf
40830 do
40831 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40832 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40833 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836
40837 cat >conftest.$ac_ext <<_ACEOF
40838
40839 /* confdefs.h. */
40840 _ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40844
40845
40846 $ac_includes_default
40847
40848 int
40849 main ()
40850 {
40851
40852 #ifndef $wx_func
40853 &$wx_func;
40854 #endif
40855
40856
40857 ;
40858 return 0;
40859 }
40860
40861 _ACEOF
40862 rm -f conftest.$ac_objext conftest$ac_exeext
40863 if { (ac_try="$ac_link"
40864 case "(($ac_try" in
40865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40866 *) ac_try_echo=$ac_try;;
40867 esac
40868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40869 (eval "$ac_link") 2>conftest.er1
40870 ac_status=$?
40871 grep -v '^ *+' conftest.er1 >conftest.err
40872 rm -f conftest.er1
40873 cat conftest.err >&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); } && {
40876 test -z "$ac_c_werror_flag" ||
40877 test ! -s conftest.err
40878 } && test -s conftest$ac_exeext &&
40879 $as_test_x conftest$ac_exeext; then
40880 eval wx_cv_func_$wx_func=yes
40881 else
40882 echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.$ac_ext >&5
40884
40885 eval wx_cv_func_$wx_func=no
40886 fi
40887
40888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40889 conftest$ac_exeext conftest.$ac_ext
40890
40891 fi
40892 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40893 { echo "$as_me:$LINENO: result: $ac_res" >&5
40894 echo "${ECHO_T}$ac_res" >&6; }
40895
40896 if eval test \$wx_cv_func_$wx_func = yes
40897 then
40898 cat >>confdefs.h <<_ACEOF
40899 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40900 _ACEOF
40901
40902
40903 else
40904 :
40905
40906 fi
40907 done
40908
40909
40910
40911 for wx_func in getpwuid_r
40912 do
40913 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40914 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40915 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40916 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 else
40918
40919 cat >conftest.$ac_ext <<_ACEOF
40920
40921 /* confdefs.h. */
40922 _ACEOF
40923 cat confdefs.h >>conftest.$ac_ext
40924 cat >>conftest.$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40926
40927
40928 #define _REENTRANT
40929 #include <pwd.h>
40930
40931 $ac_includes_default
40932
40933 int
40934 main ()
40935 {
40936
40937 #ifndef $wx_func
40938 &$wx_func;
40939 #endif
40940
40941 struct passwd pw, *ppw;
40942 char buf[1024];
40943 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40944
40945
40946 ;
40947 return 0;
40948 }
40949
40950 _ACEOF
40951 rm -f conftest.$ac_objext conftest$ac_exeext
40952 if { (ac_try="$ac_link"
40953 case "(($ac_try" in
40954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40955 *) ac_try_echo=$ac_try;;
40956 esac
40957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40958 (eval "$ac_link") 2>conftest.er1
40959 ac_status=$?
40960 grep -v '^ *+' conftest.er1 >conftest.err
40961 rm -f conftest.er1
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } && {
40965 test -z "$ac_c_werror_flag" ||
40966 test ! -s conftest.err
40967 } && test -s conftest$ac_exeext &&
40968 $as_test_x conftest$ac_exeext; then
40969 eval wx_cv_func_$wx_func=yes
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40973
40974 eval wx_cv_func_$wx_func=no
40975 fi
40976
40977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40978 conftest$ac_exeext conftest.$ac_ext
40979
40980 fi
40981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40982 { echo "$as_me:$LINENO: result: $ac_res" >&5
40983 echo "${ECHO_T}$ac_res" >&6; }
40984
40985 if eval test \$wx_cv_func_$wx_func = yes
40986 then
40987 cat >>confdefs.h <<_ACEOF
40988 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40989 _ACEOF
40990
40991
40992 else
40993 :
40994
40995 fi
40996 done
40997
40998
40999
41000 for wx_func in getgrgid_r
41001 do
41002 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41003 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41004 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 else
41007
41008 cat >conftest.$ac_ext <<_ACEOF
41009
41010 /* confdefs.h. */
41011 _ACEOF
41012 cat confdefs.h >>conftest.$ac_ext
41013 cat >>conftest.$ac_ext <<_ACEOF
41014 /* end confdefs.h. */
41015
41016
41017 #define _REENTRANT
41018 #include <grp.h>
41019
41020 $ac_includes_default
41021
41022 int
41023 main ()
41024 {
41025
41026 #ifndef $wx_func
41027 &$wx_func;
41028 #endif
41029
41030 struct group grp, *pgrp;
41031 char buf[1024];
41032 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41033
41034
41035 ;
41036 return 0;
41037 }
41038
41039 _ACEOF
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (ac_try="$ac_link"
41042 case "(($ac_try" in
41043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41044 *) ac_try_echo=$ac_try;;
41045 esac
41046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41047 (eval "$ac_link") 2>conftest.er1
41048 ac_status=$?
41049 grep -v '^ *+' conftest.er1 >conftest.err
41050 rm -f conftest.er1
41051 cat conftest.err >&5
41052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053 (exit $ac_status); } && {
41054 test -z "$ac_c_werror_flag" ||
41055 test ! -s conftest.err
41056 } && test -s conftest$ac_exeext &&
41057 $as_test_x conftest$ac_exeext; then
41058 eval wx_cv_func_$wx_func=yes
41059 else
41060 echo "$as_me: failed program was:" >&5
41061 sed 's/^/| /' conftest.$ac_ext >&5
41062
41063 eval wx_cv_func_$wx_func=no
41064 fi
41065
41066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41067 conftest$ac_exeext conftest.$ac_ext
41068
41069 fi
41070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41071 { echo "$as_me:$LINENO: result: $ac_res" >&5
41072 echo "${ECHO_T}$ac_res" >&6; }
41073
41074 if eval test \$wx_cv_func_$wx_func = yes
41075 then
41076 cat >>confdefs.h <<_ACEOF
41077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41078 _ACEOF
41079
41080
41081 else
41082 :
41083
41084 fi
41085 done
41086
41087 fi
41088
41089 fi
41090
41091
41092
41093 cat >confcache <<\_ACEOF
41094 # This file is a shell script that caches the results of configure
41095 # tests run on this system so they can be shared between configure
41096 # scripts and configure runs, see configure's option --config-cache.
41097 # It is not useful on other systems. If it contains results you don't
41098 # want to keep, you may remove or edit it.
41099 #
41100 # config.status only pays attention to the cache file if you give it
41101 # the --recheck option to rerun configure.
41102 #
41103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41105 # following values.
41106
41107 _ACEOF
41108
41109 # The following way of writing the cache mishandles newlines in values,
41110 # but we know of no workaround that is simple, portable, and efficient.
41111 # So, we kill variables containing newlines.
41112 # Ultrix sh set writes to stderr and can't be redirected directly,
41113 # and sets the high bit in the cache file unless we assign to the vars.
41114 (
41115 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41116 eval ac_val=\$$ac_var
41117 case $ac_val in #(
41118 *${as_nl}*)
41119 case $ac_var in #(
41120 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41121 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41122 esac
41123 case $ac_var in #(
41124 _ | IFS | as_nl) ;; #(
41125 *) $as_unset $ac_var ;;
41126 esac ;;
41127 esac
41128 done
41129
41130 (set) 2>&1 |
41131 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41132 *${as_nl}ac_space=\ *)
41133 # `set' does not quote correctly, so add quotes (double-quote
41134 # substitution turns \\\\ into \\, and sed turns \\ into \).
41135 sed -n \
41136 "s/'/'\\\\''/g;
41137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41138 ;; #(
41139 *)
41140 # `set' quotes correctly as required by POSIX, so do not add quotes.
41141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41142 ;;
41143 esac |
41144 sort
41145 ) |
41146 sed '
41147 /^ac_cv_env_/b end
41148 t clear
41149 :clear
41150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41151 t end
41152 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41153 :end' >>confcache
41154 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41155 if test -w "$cache_file"; then
41156 test "x$cache_file" != "x/dev/null" &&
41157 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41158 echo "$as_me: updating cache $cache_file" >&6;}
41159 cat confcache >$cache_file
41160 else
41161 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41162 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41163 fi
41164 fi
41165 rm -f confcache
41166
41167
41168 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41169
41170
41171 THREADS_LINK=
41172 THREADS_CFLAGS=
41173
41174 if test "$wxUSE_THREADS" = "yes" ; then
41175 if test "$USE_BEOS" = 1; then
41176 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41177 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41178 wxUSE_THREADS="no"
41179 fi
41180 fi
41181
41182 if test "$wxUSE_THREADS" = "yes" ; then
41183
41184
41185 THREAD_OPTS="-pthread"
41186 if test "x$SUNCXX" = xyes; then
41187 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41188 fi
41189
41190 case "${host}" in
41191 *-*-solaris2* | *-*-sunos4* )
41192 if test "x$GCC" = "xyes"; then
41193 THREAD_OPTS="-pthreads $THREAD_OPTS"
41194 fi
41195 ;;
41196 *-*-freebsd*)
41197 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41198 ;;
41199 *-*-darwin* | *-*-cygwin* )
41200 THREAD_OPTS=""
41201 ;;
41202 *-*-aix*)
41203 THREAD_OPTS="pthreads"
41204 ;;
41205 *-hp-hpux* )
41206 if test "x$GCC" = "xyes"; then
41207 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41208 THREAD_OPTS=""
41209 else
41210 THREAD_OPTS="-mt"
41211 fi
41212 ;;
41213
41214 *-*-irix* )
41215 if test "x$GCC" = "xyes"; then
41216 THREAD_OPTS=""
41217 fi
41218 ;;
41219
41220 *-*-*UnixWare*)
41221 if test "x$GCC" != "xyes"; then
41222 THREAD_OPTS="-Ethread"
41223 fi
41224 ;;
41225 esac
41226
41227 THREAD_OPTS="$THREAD_OPTS pthread none"
41228
41229 THREADS_OK=no
41230 for flag in $THREAD_OPTS; do
41231 case $flag in
41232 none)
41233 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41234 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41235 ;;
41236
41237 -*)
41238 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41239 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41240 THREADS_CFLAGS="$flag"
41241 ;;
41242
41243 *)
41244 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41245 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41246 THREADS_LINK="-l$flag"
41247 ;;
41248 esac
41249
41250 save_LIBS="$LIBS"
41251 save_CFLAGS="$CFLAGS"
41252 LIBS="$THREADS_LINK $LIBS"
41253 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41254
41255 cat >conftest.$ac_ext <<_ACEOF
41256 /* confdefs.h. */
41257 _ACEOF
41258 cat confdefs.h >>conftest.$ac_ext
41259 cat >>conftest.$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 #include <pthread.h>
41262 int
41263 main ()
41264 {
41265 pthread_create(0,0,0,0);
41266 ;
41267 return 0;
41268 }
41269 _ACEOF
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (ac_try="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41274 *) ac_try_echo=$ac_try;;
41275 esac
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest$ac_exeext &&
41287 $as_test_x conftest$ac_exeext; then
41288 THREADS_OK=yes
41289 else
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41292
41293
41294 fi
41295
41296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41297 conftest$ac_exeext conftest.$ac_ext
41298
41299 LIBS="$save_LIBS"
41300 CFLAGS="$save_CFLAGS"
41301
41302 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41303 echo "${ECHO_T}$THREADS_OK" >&6; }
41304 if test "x$THREADS_OK" = "xyes"; then
41305 break;
41306 fi
41307
41308 THREADS_LINK=""
41309 THREADS_CFLAGS=""
41310 done
41311
41312 if test "x$THREADS_OK" != "xyes"; then
41313 wxUSE_THREADS=no
41314 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41315 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41316 else
41317 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41318 LIBS="$THREADS_LINK $LIBS"
41319
41320 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41321 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41322 flag=no
41323 case "${host}" in
41324 *-aix*)
41325 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41326 flag="-D_THREAD_SAFE"
41327 ;;
41328 *-freebsd*)
41329 flag="-D_THREAD_SAFE"
41330 ;;
41331 *-hp-hpux* )
41332 flag="-D_REENTRANT"
41333 if test "x$GCC" != "xyes"; then
41334 flag="$flag -D_RWSTD_MULTI_THREAD"
41335 fi
41336 ;;
41337 *solaris* | alpha*-osf*)
41338 flag="-D_REENTRANT"
41339 ;;
41340 esac
41341 { echo "$as_me:$LINENO: result: ${flag}" >&5
41342 echo "${ECHO_T}${flag}" >&6; }
41343 if test "x$flag" != xno; then
41344 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41345 fi
41346
41347 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41348 fi
41349 fi
41350
41351 if test "$wxUSE_THREADS" = "yes" ; then
41352
41353 for ac_func in thr_setconcurrency
41354 do
41355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41359 echo $ECHO_N "(cached) $ECHO_C" >&6
41360 else
41361 cat >conftest.$ac_ext <<_ACEOF
41362 /* confdefs.h. */
41363 _ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41369 #define $ac_func innocuous_$ac_func
41370
41371 /* System header to define __stub macros and hopefully few prototypes,
41372 which can conflict with char $ac_func (); below.
41373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41374 <limits.h> exists even on freestanding compilers. */
41375
41376 #ifdef __STDC__
41377 # include <limits.h>
41378 #else
41379 # include <assert.h>
41380 #endif
41381
41382 #undef $ac_func
41383
41384 /* Override any GCC internal prototype to avoid an error.
41385 Use char because int might match the return type of a GCC
41386 builtin and then its argument prototype would still apply. */
41387 #ifdef __cplusplus
41388 extern "C"
41389 #endif
41390 char $ac_func ();
41391 /* The GNU C library defines this for functions which it implements
41392 to always fail with ENOSYS. Some functions are actually named
41393 something starting with __ and the normal name is an alias. */
41394 #if defined __stub_$ac_func || defined __stub___$ac_func
41395 choke me
41396 #endif
41397
41398 int
41399 main ()
41400 {
41401 return $ac_func ();
41402 ;
41403 return 0;
41404 }
41405 _ACEOF
41406 rm -f conftest.$ac_objext conftest$ac_exeext
41407 if { (ac_try="$ac_link"
41408 case "(($ac_try" in
41409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41410 *) ac_try_echo=$ac_try;;
41411 esac
41412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41413 (eval "$ac_link") 2>conftest.er1
41414 ac_status=$?
41415 grep -v '^ *+' conftest.er1 >conftest.err
41416 rm -f conftest.er1
41417 cat conftest.err >&5
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); } && {
41420 test -z "$ac_c_werror_flag" ||
41421 test ! -s conftest.err
41422 } && test -s conftest$ac_exeext &&
41423 $as_test_x conftest$ac_exeext; then
41424 eval "$as_ac_var=yes"
41425 else
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.$ac_ext >&5
41428
41429 eval "$as_ac_var=no"
41430 fi
41431
41432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41433 conftest$ac_exeext conftest.$ac_ext
41434 fi
41435 ac_res=`eval echo '${'$as_ac_var'}'`
41436 { echo "$as_me:$LINENO: result: $ac_res" >&5
41437 echo "${ECHO_T}$ac_res" >&6; }
41438 if test `eval echo '${'$as_ac_var'}'` = yes; then
41439 cat >>confdefs.h <<_ACEOF
41440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41441 _ACEOF
41442
41443 fi
41444 done
41445
41446
41447 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41448 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41449 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41450 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 else
41452
41453 ac_ext=cpp
41454 ac_cpp='$CXXCPP $CPPFLAGS'
41455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41458
41459 cat >conftest.$ac_ext <<_ACEOF
41460 /* confdefs.h. */
41461 _ACEOF
41462 cat confdefs.h >>conftest.$ac_ext
41463 cat >>conftest.$ac_ext <<_ACEOF
41464 /* end confdefs.h. */
41465 #include <pthread.h>
41466 void ThreadCleanupFunc(void *p);
41467
41468 int
41469 main ()
41470 {
41471
41472 void *p;
41473 pthread_cleanup_push(ThreadCleanupFunc, p);
41474 pthread_cleanup_pop(0);
41475
41476 ;
41477 return 0;
41478 }
41479 _ACEOF
41480 rm -f conftest.$ac_objext
41481 if { (ac_try="$ac_compile"
41482 case "(($ac_try" in
41483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41484 *) ac_try_echo=$ac_try;;
41485 esac
41486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41487 (eval "$ac_compile") 2>conftest.er1
41488 ac_status=$?
41489 grep -v '^ *+' conftest.er1 >conftest.err
41490 rm -f conftest.er1
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } && {
41494 test -z "$ac_cxx_werror_flag" ||
41495 test ! -s conftest.err
41496 } && test -s conftest.$ac_objext; then
41497
41498 wx_cv_func_pthread_cleanup=yes
41499
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41503
41504
41505 wx_cv_func_pthread_cleanup=no
41506
41507
41508 fi
41509
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41511 ac_ext=c
41512 ac_cpp='$CPP $CPPFLAGS'
41513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41516
41517
41518 fi
41519 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41520 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41521 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41522 cat >>confdefs.h <<\_ACEOF
41523 #define wxHAVE_PTHREAD_CLEANUP 1
41524 _ACEOF
41525
41526 fi
41527
41528
41529 for ac_header in sched.h
41530 do
41531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537 cat >conftest.$ac_ext <<_ACEOF
41538 /* confdefs.h. */
41539 _ACEOF
41540 cat confdefs.h >>conftest.$ac_ext
41541 cat >>conftest.$ac_ext <<_ACEOF
41542 /* end confdefs.h. */
41543 $ac_includes_default
41544
41545 #include <$ac_header>
41546 _ACEOF
41547 rm -f conftest.$ac_objext
41548 if { (ac_try="$ac_compile"
41549 case "(($ac_try" in
41550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41551 *) ac_try_echo=$ac_try;;
41552 esac
41553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41554 (eval "$ac_compile") 2>conftest.er1
41555 ac_status=$?
41556 grep -v '^ *+' conftest.er1 >conftest.err
41557 rm -f conftest.er1
41558 cat conftest.err >&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } && {
41561 test -z "$ac_c_werror_flag" ||
41562 test ! -s conftest.err
41563 } && test -s conftest.$ac_objext; then
41564 eval "$as_ac_Header=yes"
41565 else
41566 echo "$as_me: failed program was:" >&5
41567 sed 's/^/| /' conftest.$ac_ext >&5
41568
41569 eval "$as_ac_Header=no"
41570 fi
41571
41572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 fi
41574 ac_res=`eval echo '${'$as_ac_Header'}'`
41575 { echo "$as_me:$LINENO: result: $ac_res" >&5
41576 echo "${ECHO_T}$ac_res" >&6; }
41577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41578 cat >>confdefs.h <<_ACEOF
41579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41580 _ACEOF
41581
41582 fi
41583
41584 done
41585
41586 if test "$ac_cv_header_sched_h" = "yes"; then
41587 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41588 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41589 if test "${ac_cv_func_sched_yield+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 else
41592 cat >conftest.$ac_ext <<_ACEOF
41593 /* confdefs.h. */
41594 _ACEOF
41595 cat confdefs.h >>conftest.$ac_ext
41596 cat >>conftest.$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41598 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41600 #define sched_yield innocuous_sched_yield
41601
41602 /* System header to define __stub macros and hopefully few prototypes,
41603 which can conflict with char sched_yield (); below.
41604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41605 <limits.h> exists even on freestanding compilers. */
41606
41607 #ifdef __STDC__
41608 # include <limits.h>
41609 #else
41610 # include <assert.h>
41611 #endif
41612
41613 #undef sched_yield
41614
41615 /* Override any GCC internal prototype to avoid an error.
41616 Use char because int might match the return type of a GCC
41617 builtin and then its argument prototype would still apply. */
41618 #ifdef __cplusplus
41619 extern "C"
41620 #endif
41621 char sched_yield ();
41622 /* The GNU C library defines this for functions which it implements
41623 to always fail with ENOSYS. Some functions are actually named
41624 something starting with __ and the normal name is an alias. */
41625 #if defined __stub_sched_yield || defined __stub___sched_yield
41626 choke me
41627 #endif
41628
41629 int
41630 main ()
41631 {
41632 return sched_yield ();
41633 ;
41634 return 0;
41635 }
41636 _ACEOF
41637 rm -f conftest.$ac_objext conftest$ac_exeext
41638 if { (ac_try="$ac_link"
41639 case "(($ac_try" in
41640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41641 *) ac_try_echo=$ac_try;;
41642 esac
41643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41644 (eval "$ac_link") 2>conftest.er1
41645 ac_status=$?
41646 grep -v '^ *+' conftest.er1 >conftest.err
41647 rm -f conftest.er1
41648 cat conftest.err >&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } && {
41651 test -z "$ac_c_werror_flag" ||
41652 test ! -s conftest.err
41653 } && test -s conftest$ac_exeext &&
41654 $as_test_x conftest$ac_exeext; then
41655 ac_cv_func_sched_yield=yes
41656 else
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.$ac_ext >&5
41659
41660 ac_cv_func_sched_yield=no
41661 fi
41662
41663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41664 conftest$ac_exeext conftest.$ac_ext
41665 fi
41666 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41667 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41668 if test $ac_cv_func_sched_yield = yes; then
41669 cat >>confdefs.h <<\_ACEOF
41670 #define HAVE_SCHED_YIELD 1
41671 _ACEOF
41672
41673 else
41674
41675 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41676 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41677 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41678 echo $ECHO_N "(cached) $ECHO_C" >&6
41679 else
41680 ac_check_lib_save_LIBS=$LIBS
41681 LIBS="-lposix4 $LIBS"
41682 cat >conftest.$ac_ext <<_ACEOF
41683 /* confdefs.h. */
41684 _ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h. */
41688
41689 /* Override any GCC internal prototype to avoid an error.
41690 Use char because int might match the return type of a GCC
41691 builtin and then its argument prototype would still apply. */
41692 #ifdef __cplusplus
41693 extern "C"
41694 #endif
41695 char sched_yield ();
41696 int
41697 main ()
41698 {
41699 return sched_yield ();
41700 ;
41701 return 0;
41702 }
41703 _ACEOF
41704 rm -f conftest.$ac_objext conftest$ac_exeext
41705 if { (ac_try="$ac_link"
41706 case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41708 *) ac_try_echo=$ac_try;;
41709 esac
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_link") 2>conftest.er1
41712 ac_status=$?
41713 grep -v '^ *+' conftest.er1 >conftest.err
41714 rm -f conftest.er1
41715 cat conftest.err >&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); } && {
41718 test -z "$ac_c_werror_flag" ||
41719 test ! -s conftest.err
41720 } && test -s conftest$ac_exeext &&
41721 $as_test_x conftest$ac_exeext; then
41722 ac_cv_lib_posix4_sched_yield=yes
41723 else
41724 echo "$as_me: failed program was:" >&5
41725 sed 's/^/| /' conftest.$ac_ext >&5
41726
41727 ac_cv_lib_posix4_sched_yield=no
41728 fi
41729
41730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41731 conftest$ac_exeext conftest.$ac_ext
41732 LIBS=$ac_check_lib_save_LIBS
41733 fi
41734 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41735 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41736 if test $ac_cv_lib_posix4_sched_yield = yes; then
41737 cat >>confdefs.h <<\_ACEOF
41738 #define HAVE_SCHED_YIELD 1
41739 _ACEOF
41740 POSIX4_LINK=" -lposix4"
41741 else
41742 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41743 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41744
41745 fi
41746
41747
41748
41749 fi
41750
41751 fi
41752
41753 HAVE_PRIOR_FUNCS=0
41754 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41755 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41756 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41757 echo $ECHO_N "(cached) $ECHO_C" >&6
41758 else
41759 cat >conftest.$ac_ext <<_ACEOF
41760 /* confdefs.h. */
41761 _ACEOF
41762 cat confdefs.h >>conftest.$ac_ext
41763 cat >>conftest.$ac_ext <<_ACEOF
41764 /* end confdefs.h. */
41765 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41767 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41768
41769 /* System header to define __stub macros and hopefully few prototypes,
41770 which can conflict with char pthread_attr_getschedpolicy (); below.
41771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41772 <limits.h> exists even on freestanding compilers. */
41773
41774 #ifdef __STDC__
41775 # include <limits.h>
41776 #else
41777 # include <assert.h>
41778 #endif
41779
41780 #undef pthread_attr_getschedpolicy
41781
41782 /* Override any GCC internal prototype to avoid an error.
41783 Use char because int might match the return type of a GCC
41784 builtin and then its argument prototype would still apply. */
41785 #ifdef __cplusplus
41786 extern "C"
41787 #endif
41788 char pthread_attr_getschedpolicy ();
41789 /* The GNU C library defines this for functions which it implements
41790 to always fail with ENOSYS. Some functions are actually named
41791 something starting with __ and the normal name is an alias. */
41792 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41793 choke me
41794 #endif
41795
41796 int
41797 main ()
41798 {
41799 return pthread_attr_getschedpolicy ();
41800 ;
41801 return 0;
41802 }
41803 _ACEOF
41804 rm -f conftest.$ac_objext conftest$ac_exeext
41805 if { (ac_try="$ac_link"
41806 case "(($ac_try" in
41807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41808 *) ac_try_echo=$ac_try;;
41809 esac
41810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41811 (eval "$ac_link") 2>conftest.er1
41812 ac_status=$?
41813 grep -v '^ *+' conftest.er1 >conftest.err
41814 rm -f conftest.er1
41815 cat conftest.err >&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); } && {
41818 test -z "$ac_c_werror_flag" ||
41819 test ! -s conftest.err
41820 } && test -s conftest$ac_exeext &&
41821 $as_test_x conftest$ac_exeext; then
41822 ac_cv_func_pthread_attr_getschedpolicy=yes
41823 else
41824 echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41826
41827 ac_cv_func_pthread_attr_getschedpolicy=no
41828 fi
41829
41830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41831 conftest$ac_exeext conftest.$ac_ext
41832 fi
41833 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41834 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41835 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41836 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41837 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41838 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41839 echo $ECHO_N "(cached) $ECHO_C" >&6
41840 else
41841 cat >conftest.$ac_ext <<_ACEOF
41842 /* confdefs.h. */
41843 _ACEOF
41844 cat confdefs.h >>conftest.$ac_ext
41845 cat >>conftest.$ac_ext <<_ACEOF
41846 /* end confdefs.h. */
41847 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41849 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41850
41851 /* System header to define __stub macros and hopefully few prototypes,
41852 which can conflict with char pthread_attr_setschedparam (); below.
41853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41854 <limits.h> exists even on freestanding compilers. */
41855
41856 #ifdef __STDC__
41857 # include <limits.h>
41858 #else
41859 # include <assert.h>
41860 #endif
41861
41862 #undef pthread_attr_setschedparam
41863
41864 /* Override any GCC internal prototype to avoid an error.
41865 Use char because int might match the return type of a GCC
41866 builtin and then its argument prototype would still apply. */
41867 #ifdef __cplusplus
41868 extern "C"
41869 #endif
41870 char pthread_attr_setschedparam ();
41871 /* The GNU C library defines this for functions which it implements
41872 to always fail with ENOSYS. Some functions are actually named
41873 something starting with __ and the normal name is an alias. */
41874 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41875 choke me
41876 #endif
41877
41878 int
41879 main ()
41880 {
41881 return pthread_attr_setschedparam ();
41882 ;
41883 return 0;
41884 }
41885 _ACEOF
41886 rm -f conftest.$ac_objext conftest$ac_exeext
41887 if { (ac_try="$ac_link"
41888 case "(($ac_try" in
41889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41890 *) ac_try_echo=$ac_try;;
41891 esac
41892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41893 (eval "$ac_link") 2>conftest.er1
41894 ac_status=$?
41895 grep -v '^ *+' conftest.er1 >conftest.err
41896 rm -f conftest.er1
41897 cat conftest.err >&5
41898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899 (exit $ac_status); } && {
41900 test -z "$ac_c_werror_flag" ||
41901 test ! -s conftest.err
41902 } && test -s conftest$ac_exeext &&
41903 $as_test_x conftest$ac_exeext; then
41904 ac_cv_func_pthread_attr_setschedparam=yes
41905 else
41906 echo "$as_me: failed program was:" >&5
41907 sed 's/^/| /' conftest.$ac_ext >&5
41908
41909 ac_cv_func_pthread_attr_setschedparam=no
41910 fi
41911
41912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41913 conftest$ac_exeext conftest.$ac_ext
41914 fi
41915 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41916 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41917 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41918 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41919 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41920 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41922 else
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define sched_get_priority_max innocuous_sched_get_priority_max
41932
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char sched_get_priority_max (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41937
41938 #ifdef __STDC__
41939 # include <limits.h>
41940 #else
41941 # include <assert.h>
41942 #endif
41943
41944 #undef sched_get_priority_max
41945
41946 /* Override any GCC internal prototype to avoid an error.
41947 Use char because int might match the return type of a GCC
41948 builtin and then its argument prototype would still apply. */
41949 #ifdef __cplusplus
41950 extern "C"
41951 #endif
41952 char sched_get_priority_max ();
41953 /* The GNU C library defines this for functions which it implements
41954 to always fail with ENOSYS. Some functions are actually named
41955 something starting with __ and the normal name is an alias. */
41956 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41957 choke me
41958 #endif
41959
41960 int
41961 main ()
41962 {
41963 return sched_get_priority_max ();
41964 ;
41965 return 0;
41966 }
41967 _ACEOF
41968 rm -f conftest.$ac_objext conftest$ac_exeext
41969 if { (ac_try="$ac_link"
41970 case "(($ac_try" in
41971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41972 *) ac_try_echo=$ac_try;;
41973 esac
41974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41975 (eval "$ac_link") 2>conftest.er1
41976 ac_status=$?
41977 grep -v '^ *+' conftest.er1 >conftest.err
41978 rm -f conftest.er1
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } && {
41982 test -z "$ac_c_werror_flag" ||
41983 test ! -s conftest.err
41984 } && test -s conftest$ac_exeext &&
41985 $as_test_x conftest$ac_exeext; then
41986 ac_cv_func_sched_get_priority_max=yes
41987 else
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.$ac_ext >&5
41990
41991 ac_cv_func_sched_get_priority_max=no
41992 fi
41993
41994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41995 conftest$ac_exeext conftest.$ac_ext
41996 fi
41997 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41998 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41999 if test $ac_cv_func_sched_get_priority_max = yes; then
42000 HAVE_PRIOR_FUNCS=1
42001 else
42002 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42003 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42004 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42005 echo $ECHO_N "(cached) $ECHO_C" >&6
42006 else
42007 ac_check_lib_save_LIBS=$LIBS
42008 LIBS="-lposix4 $LIBS"
42009 cat >conftest.$ac_ext <<_ACEOF
42010 /* confdefs.h. */
42011 _ACEOF
42012 cat confdefs.h >>conftest.$ac_ext
42013 cat >>conftest.$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42015
42016 /* Override any GCC internal prototype to avoid an error.
42017 Use char because int might match the return type of a GCC
42018 builtin and then its argument prototype would still apply. */
42019 #ifdef __cplusplus
42020 extern "C"
42021 #endif
42022 char sched_get_priority_max ();
42023 int
42024 main ()
42025 {
42026 return sched_get_priority_max ();
42027 ;
42028 return 0;
42029 }
42030 _ACEOF
42031 rm -f conftest.$ac_objext conftest$ac_exeext
42032 if { (ac_try="$ac_link"
42033 case "(($ac_try" in
42034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42035 *) ac_try_echo=$ac_try;;
42036 esac
42037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42038 (eval "$ac_link") 2>conftest.er1
42039 ac_status=$?
42040 grep -v '^ *+' conftest.er1 >conftest.err
42041 rm -f conftest.er1
42042 cat conftest.err >&5
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); } && {
42045 test -z "$ac_c_werror_flag" ||
42046 test ! -s conftest.err
42047 } && test -s conftest$ac_exeext &&
42048 $as_test_x conftest$ac_exeext; then
42049 ac_cv_lib_posix4_sched_get_priority_max=yes
42050 else
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42053
42054 ac_cv_lib_posix4_sched_get_priority_max=no
42055 fi
42056
42057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42058 conftest$ac_exeext conftest.$ac_ext
42059 LIBS=$ac_check_lib_save_LIBS
42060 fi
42061 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42062 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42063 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42064
42065 HAVE_PRIOR_FUNCS=1
42066 POSIX4_LINK=" -lposix4"
42067
42068 fi
42069
42070
42071 fi
42072
42073
42074 fi
42075
42076
42077 fi
42078
42079
42080 if test "$HAVE_PRIOR_FUNCS" = 1; then
42081 cat >>confdefs.h <<\_ACEOF
42082 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42083 _ACEOF
42084
42085 else
42086 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42087 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42088 fi
42089
42090 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42091 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42092 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42093 echo $ECHO_N "(cached) $ECHO_C" >&6
42094 else
42095 cat >conftest.$ac_ext <<_ACEOF
42096 /* confdefs.h. */
42097 _ACEOF
42098 cat confdefs.h >>conftest.$ac_ext
42099 cat >>conftest.$ac_ext <<_ACEOF
42100 /* end confdefs.h. */
42101 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42103 #define pthread_cancel innocuous_pthread_cancel
42104
42105 /* System header to define __stub macros and hopefully few prototypes,
42106 which can conflict with char pthread_cancel (); below.
42107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42108 <limits.h> exists even on freestanding compilers. */
42109
42110 #ifdef __STDC__
42111 # include <limits.h>
42112 #else
42113 # include <assert.h>
42114 #endif
42115
42116 #undef pthread_cancel
42117
42118 /* Override any GCC internal prototype to avoid an error.
42119 Use char because int might match the return type of a GCC
42120 builtin and then its argument prototype would still apply. */
42121 #ifdef __cplusplus
42122 extern "C"
42123 #endif
42124 char pthread_cancel ();
42125 /* The GNU C library defines this for functions which it implements
42126 to always fail with ENOSYS. Some functions are actually named
42127 something starting with __ and the normal name is an alias. */
42128 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42129 choke me
42130 #endif
42131
42132 int
42133 main ()
42134 {
42135 return pthread_cancel ();
42136 ;
42137 return 0;
42138 }
42139 _ACEOF
42140 rm -f conftest.$ac_objext conftest$ac_exeext
42141 if { (ac_try="$ac_link"
42142 case "(($ac_try" in
42143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42144 *) ac_try_echo=$ac_try;;
42145 esac
42146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42147 (eval "$ac_link") 2>conftest.er1
42148 ac_status=$?
42149 grep -v '^ *+' conftest.er1 >conftest.err
42150 rm -f conftest.er1
42151 cat conftest.err >&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); } && {
42154 test -z "$ac_c_werror_flag" ||
42155 test ! -s conftest.err
42156 } && test -s conftest$ac_exeext &&
42157 $as_test_x conftest$ac_exeext; then
42158 ac_cv_func_pthread_cancel=yes
42159 else
42160 echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.$ac_ext >&5
42162
42163 ac_cv_func_pthread_cancel=no
42164 fi
42165
42166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42167 conftest$ac_exeext conftest.$ac_ext
42168 fi
42169 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42170 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42171 if test $ac_cv_func_pthread_cancel = yes; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define HAVE_PTHREAD_CANCEL 1
42174 _ACEOF
42175
42176 else
42177 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42178 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42179 fi
42180
42181
42182 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42183 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42184 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42185 echo $ECHO_N "(cached) $ECHO_C" >&6
42186 else
42187 cat >conftest.$ac_ext <<_ACEOF
42188 /* confdefs.h. */
42189 _ACEOF
42190 cat confdefs.h >>conftest.$ac_ext
42191 cat >>conftest.$ac_ext <<_ACEOF
42192 /* end confdefs.h. */
42193 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42195 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42196
42197 /* System header to define __stub macros and hopefully few prototypes,
42198 which can conflict with char pthread_mutex_timedlock (); below.
42199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42200 <limits.h> exists even on freestanding compilers. */
42201
42202 #ifdef __STDC__
42203 # include <limits.h>
42204 #else
42205 # include <assert.h>
42206 #endif
42207
42208 #undef pthread_mutex_timedlock
42209
42210 /* Override any GCC internal prototype to avoid an error.
42211 Use char because int might match the return type of a GCC
42212 builtin and then its argument prototype would still apply. */
42213 #ifdef __cplusplus
42214 extern "C"
42215 #endif
42216 char pthread_mutex_timedlock ();
42217 /* The GNU C library defines this for functions which it implements
42218 to always fail with ENOSYS. Some functions are actually named
42219 something starting with __ and the normal name is an alias. */
42220 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42221 choke me
42222 #endif
42223
42224 int
42225 main ()
42226 {
42227 return pthread_mutex_timedlock ();
42228 ;
42229 return 0;
42230 }
42231 _ACEOF
42232 rm -f conftest.$ac_objext conftest$ac_exeext
42233 if { (ac_try="$ac_link"
42234 case "(($ac_try" in
42235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42236 *) ac_try_echo=$ac_try;;
42237 esac
42238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42239 (eval "$ac_link") 2>conftest.er1
42240 ac_status=$?
42241 grep -v '^ *+' conftest.er1 >conftest.err
42242 rm -f conftest.er1
42243 cat conftest.err >&5
42244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245 (exit $ac_status); } && {
42246 test -z "$ac_c_werror_flag" ||
42247 test ! -s conftest.err
42248 } && test -s conftest$ac_exeext &&
42249 $as_test_x conftest$ac_exeext; then
42250 ac_cv_func_pthread_mutex_timedlock=yes
42251 else
42252 echo "$as_me: failed program was:" >&5
42253 sed 's/^/| /' conftest.$ac_ext >&5
42254
42255 ac_cv_func_pthread_mutex_timedlock=no
42256 fi
42257
42258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42259 conftest$ac_exeext conftest.$ac_ext
42260 fi
42261 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42262 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42263 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42264 cat >>confdefs.h <<\_ACEOF
42265 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42266 _ACEOF
42267
42268 else
42269 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42270 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42271 fi
42272
42273
42274 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42275 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42276 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42277 echo $ECHO_N "(cached) $ECHO_C" >&6
42278 else
42279 cat >conftest.$ac_ext <<_ACEOF
42280 /* confdefs.h. */
42281 _ACEOF
42282 cat confdefs.h >>conftest.$ac_ext
42283 cat >>conftest.$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42287 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42288
42289 /* System header to define __stub macros and hopefully few prototypes,
42290 which can conflict with char pthread_attr_setstacksize (); below.
42291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42292 <limits.h> exists even on freestanding compilers. */
42293
42294 #ifdef __STDC__
42295 # include <limits.h>
42296 #else
42297 # include <assert.h>
42298 #endif
42299
42300 #undef pthread_attr_setstacksize
42301
42302 /* Override any GCC internal prototype to avoid an error.
42303 Use char because int might match the return type of a GCC
42304 builtin and then its argument prototype would still apply. */
42305 #ifdef __cplusplus
42306 extern "C"
42307 #endif
42308 char pthread_attr_setstacksize ();
42309 /* The GNU C library defines this for functions which it implements
42310 to always fail with ENOSYS. Some functions are actually named
42311 something starting with __ and the normal name is an alias. */
42312 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42313 choke me
42314 #endif
42315
42316 int
42317 main ()
42318 {
42319 return pthread_attr_setstacksize ();
42320 ;
42321 return 0;
42322 }
42323 _ACEOF
42324 rm -f conftest.$ac_objext conftest$ac_exeext
42325 if { (ac_try="$ac_link"
42326 case "(($ac_try" in
42327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42328 *) ac_try_echo=$ac_try;;
42329 esac
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_link") 2>conftest.er1
42332 ac_status=$?
42333 grep -v '^ *+' conftest.er1 >conftest.err
42334 rm -f conftest.er1
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } && {
42338 test -z "$ac_c_werror_flag" ||
42339 test ! -s conftest.err
42340 } && test -s conftest$ac_exeext &&
42341 $as_test_x conftest$ac_exeext; then
42342 ac_cv_func_pthread_attr_setstacksize=yes
42343 else
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.$ac_ext >&5
42346
42347 ac_cv_func_pthread_attr_setstacksize=no
42348 fi
42349
42350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42351 conftest$ac_exeext conftest.$ac_ext
42352 fi
42353 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42354 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42355 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42358 _ACEOF
42359
42360 fi
42361
42362
42363
42364 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42365 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42366 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42367 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 else
42369
42370 cat >conftest.$ac_ext <<_ACEOF
42371 /* confdefs.h. */
42372 _ACEOF
42373 cat confdefs.h >>conftest.$ac_ext
42374 cat >>conftest.$ac_ext <<_ACEOF
42375 /* end confdefs.h. */
42376 #include <pthread.h>
42377 int
42378 main ()
42379 {
42380
42381 pthread_mutexattr_t attr;
42382 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42383
42384 ;
42385 return 0;
42386 }
42387 _ACEOF
42388 rm -f conftest.$ac_objext
42389 if { (ac_try="$ac_compile"
42390 case "(($ac_try" in
42391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42392 *) ac_try_echo=$ac_try;;
42393 esac
42394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42395 (eval "$ac_compile") 2>conftest.er1
42396 ac_status=$?
42397 grep -v '^ *+' conftest.er1 >conftest.err
42398 rm -f conftest.er1
42399 cat conftest.err >&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); } && {
42402 test -z "$ac_c_werror_flag" ||
42403 test ! -s conftest.err
42404 } && test -s conftest.$ac_objext; then
42405 wx_cv_type_pthread_mutexattr_t=yes
42406 else
42407 echo "$as_me: failed program was:" >&5
42408 sed 's/^/| /' conftest.$ac_ext >&5
42409
42410 wx_cv_type_pthread_mutexattr_t=no
42411
42412 fi
42413
42414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42415
42416 fi
42417 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42418 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42419
42420 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42421 cat >>confdefs.h <<\_ACEOF
42422 #define HAVE_PTHREAD_MUTEXATTR_T 1
42423 _ACEOF
42424
42425
42426 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42427 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42428 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42429 echo $ECHO_N "(cached) $ECHO_C" >&6
42430 else
42431
42432 cat >conftest.$ac_ext <<_ACEOF
42433 /* confdefs.h. */
42434 _ACEOF
42435 cat confdefs.h >>conftest.$ac_ext
42436 cat >>conftest.$ac_ext <<_ACEOF
42437 /* end confdefs.h. */
42438 #include <pthread.h>
42439 int
42440 main ()
42441 {
42442
42443 pthread_mutexattr_t attr;
42444 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42445
42446 ;
42447 return 0;
42448 }
42449 _ACEOF
42450 rm -f conftest.$ac_objext
42451 if { (ac_try="$ac_compile"
42452 case "(($ac_try" in
42453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42454 *) ac_try_echo=$ac_try;;
42455 esac
42456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42457 (eval "$ac_compile") 2>conftest.er1
42458 ac_status=$?
42459 grep -v '^ *+' conftest.er1 >conftest.err
42460 rm -f conftest.er1
42461 cat conftest.err >&5
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); } && {
42464 test -z "$ac_c_werror_flag" ||
42465 test ! -s conftest.err
42466 } && test -s conftest.$ac_objext; then
42467 wx_cv_func_pthread_mutexattr_settype_decl=yes
42468 else
42469 echo "$as_me: failed program was:" >&5
42470 sed 's/^/| /' conftest.$ac_ext >&5
42471
42472 wx_cv_func_pthread_mutexattr_settype_decl=no
42473
42474 fi
42475
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477
42478 fi
42479 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42480 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42481 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42482 cat >>confdefs.h <<\_ACEOF
42483 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42484 _ACEOF
42485
42486 fi
42487 else
42488 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42489 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42490 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42493
42494 cat >conftest.$ac_ext <<_ACEOF
42495 /* confdefs.h. */
42496 _ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42500 #include <pthread.h>
42501 int
42502 main ()
42503 {
42504
42505 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42506
42507 ;
42508 return 0;
42509 }
42510 _ACEOF
42511 rm -f conftest.$ac_objext
42512 if { (ac_try="$ac_compile"
42513 case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42516 esac
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_compile") 2>conftest.er1
42519 ac_status=$?
42520 grep -v '^ *+' conftest.er1 >conftest.err
42521 rm -f conftest.er1
42522 cat conftest.err >&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest.$ac_objext; then
42528
42529 wx_cv_type_pthread_rec_mutex_init=yes
42530
42531 else
42532 echo "$as_me: failed program was:" >&5
42533 sed 's/^/| /' conftest.$ac_ext >&5
42534
42535
42536 wx_cv_type_pthread_rec_mutex_init=no
42537
42538
42539 fi
42540
42541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42542
42543 fi
42544 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42545 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42546 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42547 cat >>confdefs.h <<\_ACEOF
42548 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42549 _ACEOF
42550
42551 else
42552 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42553 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42554 fi
42555 fi
42556 fi
42557
42558 else
42559 if test "$wxUSE_THREADS" = "yes" ; then
42560 case "${host}" in
42561 *-*-mingw32* )
42562 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42563 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42564 if test "${wx_cv_cflags_mthread+set}" = set; then
42565 echo $ECHO_N "(cached) $ECHO_C" >&6
42566 else
42567
42568 CFLAGS_OLD="$CFLAGS"
42569 CFLAGS="-mthreads $CFLAGS"
42570 cat >conftest.$ac_ext <<_ACEOF
42571 /* confdefs.h. */
42572 _ACEOF
42573 cat confdefs.h >>conftest.$ac_ext
42574 cat >>conftest.$ac_ext <<_ACEOF
42575 /* end confdefs.h. */
42576
42577 int
42578 main ()
42579 {
42580
42581 ;
42582 return 0;
42583 }
42584 _ACEOF
42585 rm -f conftest.$ac_objext
42586 if { (ac_try="$ac_compile"
42587 case "(($ac_try" in
42588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42589 *) ac_try_echo=$ac_try;;
42590 esac
42591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42592 (eval "$ac_compile") 2>conftest.er1
42593 ac_status=$?
42594 grep -v '^ *+' conftest.er1 >conftest.err
42595 rm -f conftest.er1
42596 cat conftest.err >&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); } && {
42599 test -z "$ac_c_werror_flag" ||
42600 test ! -s conftest.err
42601 } && test -s conftest.$ac_objext; then
42602 wx_cv_cflags_mthread=yes
42603 else
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42606
42607 wx_cv_cflags_mthread=no
42608
42609 fi
42610
42611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42612
42613
42614 fi
42615 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42616 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42617
42618 if test "$wx_cv_cflags_mthread" = "yes"; then
42619 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42620 LDFLAGS="$LDFLAGS -mthreads"
42621 else
42622 CFLAGS="$CFLAGS_OLD"
42623 fi
42624 ;;
42625 *-pc-os2*emx )
42626 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42627 LDFLAGS="$LDFLAGS -Zmt"
42628 ;;
42629 esac
42630 fi
42631 fi
42632
42633 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42634 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42635 if test "${ac_cv_func_localtime_r+set}" = set; then
42636 echo $ECHO_N "(cached) $ECHO_C" >&6
42637 else
42638 cat >conftest.$ac_ext <<_ACEOF
42639 /* confdefs.h. */
42640 _ACEOF
42641 cat confdefs.h >>conftest.$ac_ext
42642 cat >>conftest.$ac_ext <<_ACEOF
42643 /* end confdefs.h. */
42644 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42646 #define localtime_r innocuous_localtime_r
42647
42648 /* System header to define __stub macros and hopefully few prototypes,
42649 which can conflict with char localtime_r (); below.
42650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42651 <limits.h> exists even on freestanding compilers. */
42652
42653 #ifdef __STDC__
42654 # include <limits.h>
42655 #else
42656 # include <assert.h>
42657 #endif
42658
42659 #undef localtime_r
42660
42661 /* Override any GCC internal prototype to avoid an error.
42662 Use char because int might match the return type of a GCC
42663 builtin and then its argument prototype would still apply. */
42664 #ifdef __cplusplus
42665 extern "C"
42666 #endif
42667 char localtime_r ();
42668 /* The GNU C library defines this for functions which it implements
42669 to always fail with ENOSYS. Some functions are actually named
42670 something starting with __ and the normal name is an alias. */
42671 #if defined __stub_localtime_r || defined __stub___localtime_r
42672 choke me
42673 #endif
42674
42675 int
42676 main ()
42677 {
42678 return localtime_r ();
42679 ;
42680 return 0;
42681 }
42682 _ACEOF
42683 rm -f conftest.$ac_objext conftest$ac_exeext
42684 if { (ac_try="$ac_link"
42685 case "(($ac_try" in
42686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42687 *) ac_try_echo=$ac_try;;
42688 esac
42689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42690 (eval "$ac_link") 2>conftest.er1
42691 ac_status=$?
42692 grep -v '^ *+' conftest.er1 >conftest.err
42693 rm -f conftest.er1
42694 cat conftest.err >&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && {
42697 test -z "$ac_c_werror_flag" ||
42698 test ! -s conftest.err
42699 } && test -s conftest$ac_exeext &&
42700 $as_test_x conftest$ac_exeext; then
42701 ac_cv_func_localtime_r=yes
42702 else
42703 echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.$ac_ext >&5
42705
42706 ac_cv_func_localtime_r=no
42707 fi
42708
42709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42710 conftest$ac_exeext conftest.$ac_ext
42711 fi
42712 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42713 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42714 if test $ac_cv_func_localtime_r = yes; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define HAVE_LOCALTIME_R 1
42717 _ACEOF
42718
42719 fi
42720
42721 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42722 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42723 if test "${ac_cv_func_gmtime_r+set}" = set; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 else
42726 cat >conftest.$ac_ext <<_ACEOF
42727 /* confdefs.h. */
42728 _ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42734 #define gmtime_r innocuous_gmtime_r
42735
42736 /* System header to define __stub macros and hopefully few prototypes,
42737 which can conflict with char gmtime_r (); below.
42738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42739 <limits.h> exists even on freestanding compilers. */
42740
42741 #ifdef __STDC__
42742 # include <limits.h>
42743 #else
42744 # include <assert.h>
42745 #endif
42746
42747 #undef gmtime_r
42748
42749 /* Override any GCC internal prototype to avoid an error.
42750 Use char because int might match the return type of a GCC
42751 builtin and then its argument prototype would still apply. */
42752 #ifdef __cplusplus
42753 extern "C"
42754 #endif
42755 char gmtime_r ();
42756 /* The GNU C library defines this for functions which it implements
42757 to always fail with ENOSYS. Some functions are actually named
42758 something starting with __ and the normal name is an alias. */
42759 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42760 choke me
42761 #endif
42762
42763 int
42764 main ()
42765 {
42766 return gmtime_r ();
42767 ;
42768 return 0;
42769 }
42770 _ACEOF
42771 rm -f conftest.$ac_objext conftest$ac_exeext
42772 if { (ac_try="$ac_link"
42773 case "(($ac_try" in
42774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42776 esac
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_link") 2>conftest.er1
42779 ac_status=$?
42780 grep -v '^ *+' conftest.er1 >conftest.err
42781 rm -f conftest.er1
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest$ac_exeext &&
42788 $as_test_x conftest$ac_exeext; then
42789 ac_cv_func_gmtime_r=yes
42790 else
42791 echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42793
42794 ac_cv_func_gmtime_r=no
42795 fi
42796
42797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42798 conftest$ac_exeext conftest.$ac_ext
42799 fi
42800 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42801 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42802 if test $ac_cv_func_gmtime_r = yes; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_GMTIME_R 1
42805 _ACEOF
42806
42807 fi
42808
42809
42810
42811
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817
42818 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42819 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42820
42821 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42822 echo $ECHO_N "(cached) $ECHO_C" >&6
42823 else
42824
42825
42826 ################################################################
42827
42828 ac_cv_func_which_gethostbyname_r=unknown
42829
42830 #
42831 # ONE ARGUMENT (sanity check)
42832 #
42833
42834 # This should fail, as there is no variant of gethostbyname_r() that takes
42835 # a single argument. If it actually compiles, then we can assume that
42836 # netdb.h is not declaring the function, and the compiler is thereby
42837 # assuming an implicit prototype. In which case, we're out of luck.
42838 #
42839 cat >conftest.$ac_ext <<_ACEOF
42840 /* confdefs.h. */
42841 _ACEOF
42842 cat confdefs.h >>conftest.$ac_ext
42843 cat >>conftest.$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42845 #include <netdb.h>
42846 int
42847 main ()
42848 {
42849
42850 char *name = "www.gnu.org";
42851 (void)gethostbyname_r(name) /* ; */
42852
42853 ;
42854 return 0;
42855 }
42856 _ACEOF
42857 rm -f conftest.$ac_objext
42858 if { (ac_try="$ac_compile"
42859 case "(($ac_try" in
42860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42861 *) ac_try_echo=$ac_try;;
42862 esac
42863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42864 (eval "$ac_compile") 2>conftest.er1
42865 ac_status=$?
42866 grep -v '^ *+' conftest.er1 >conftest.err
42867 rm -f conftest.er1
42868 cat conftest.err >&5
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); } && {
42871 test -z "$ac_c_werror_flag" ||
42872 test ! -s conftest.err
42873 } && test -s conftest.$ac_objext; then
42874 ac_cv_func_which_gethostbyname_r=no
42875 else
42876 echo "$as_me: failed program was:" >&5
42877 sed 's/^/| /' conftest.$ac_ext >&5
42878
42879
42880 fi
42881
42882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42883
42884 #
42885 # SIX ARGUMENTS
42886 # (e.g. Linux)
42887 #
42888
42889 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42890
42891 cat >conftest.$ac_ext <<_ACEOF
42892 /* confdefs.h. */
42893 _ACEOF
42894 cat confdefs.h >>conftest.$ac_ext
42895 cat >>conftest.$ac_ext <<_ACEOF
42896 /* end confdefs.h. */
42897 #include <netdb.h>
42898 int
42899 main ()
42900 {
42901
42902 char *name = "www.gnu.org";
42903 struct hostent ret, *retp;
42904 char buf[1024];
42905 int buflen = 1024;
42906 int my_h_errno;
42907 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42908
42909 ;
42910 return 0;
42911 }
42912 _ACEOF
42913 rm -f conftest.$ac_objext
42914 if { (ac_try="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42917 *) ac_try_echo=$ac_try;;
42918 esac
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42921 ac_status=$?
42922 grep -v '^ *+' conftest.er1 >conftest.err
42923 rm -f conftest.er1
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.$ac_objext; then
42930 ac_cv_func_which_gethostbyname_r=six
42931 else
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.$ac_ext >&5
42934
42935
42936 fi
42937
42938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42939
42940 fi
42941
42942 #
42943 # FIVE ARGUMENTS
42944 # (e.g. Solaris)
42945 #
42946
42947 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42948
42949 cat >conftest.$ac_ext <<_ACEOF
42950 /* confdefs.h. */
42951 _ACEOF
42952 cat confdefs.h >>conftest.$ac_ext
42953 cat >>conftest.$ac_ext <<_ACEOF
42954 /* end confdefs.h. */
42955 #include <netdb.h>
42956 int
42957 main ()
42958 {
42959
42960 char *name = "www.gnu.org";
42961 struct hostent ret;
42962 char buf[1024];
42963 int buflen = 1024;
42964 int my_h_errno;
42965 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42966
42967 ;
42968 return 0;
42969 }
42970 _ACEOF
42971 rm -f conftest.$ac_objext
42972 if { (ac_try="$ac_compile"
42973 case "(($ac_try" in
42974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42976 esac
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_compile") 2>conftest.er1
42979 ac_status=$?
42980 grep -v '^ *+' conftest.er1 >conftest.err
42981 rm -f conftest.er1
42982 cat conftest.err >&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } && {
42985 test -z "$ac_c_werror_flag" ||
42986 test ! -s conftest.err
42987 } && test -s conftest.$ac_objext; then
42988 ac_cv_func_which_gethostbyname_r=five
42989 else
42990 echo "$as_me: failed program was:" >&5
42991 sed 's/^/| /' conftest.$ac_ext >&5
42992
42993
42994 fi
42995
42996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42997
42998 fi
42999
43000 #
43001 # THREE ARGUMENTS
43002 # (e.g. AIX, HP-UX, Tru64)
43003 #
43004
43005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43006
43007 cat >conftest.$ac_ext <<_ACEOF
43008 /* confdefs.h. */
43009 _ACEOF
43010 cat confdefs.h >>conftest.$ac_ext
43011 cat >>conftest.$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43013 #include <netdb.h>
43014 int
43015 main ()
43016 {
43017
43018 char *name = "www.gnu.org";
43019 struct hostent ret;
43020 struct hostent_data data;
43021 (void)gethostbyname_r(name, &ret, &data) /* ; */
43022
43023 ;
43024 return 0;
43025 }
43026 _ACEOF
43027 rm -f conftest.$ac_objext
43028 if { (ac_try="$ac_compile"
43029 case "(($ac_try" in
43030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43032 esac
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_compile") 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } && {
43041 test -z "$ac_c_werror_flag" ||
43042 test ! -s conftest.err
43043 } && test -s conftest.$ac_objext; then
43044 ac_cv_func_which_gethostbyname_r=three
43045 else
43046 echo "$as_me: failed program was:" >&5
43047 sed 's/^/| /' conftest.$ac_ext >&5
43048
43049
43050 fi
43051
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053
43054 fi
43055
43056 ################################################################
43057
43058
43059 fi
43060
43061 case "$ac_cv_func_which_gethostbyname_r" in
43062 three)
43063 { echo "$as_me:$LINENO: result: three" >&5
43064 echo "${ECHO_T}three" >&6; }
43065 cat >>confdefs.h <<\_ACEOF
43066 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43067 _ACEOF
43068
43069 ;;
43070
43071 five)
43072 { echo "$as_me:$LINENO: result: five" >&5
43073 echo "${ECHO_T}five" >&6; }
43074 cat >>confdefs.h <<\_ACEOF
43075 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43076 _ACEOF
43077
43078 ;;
43079
43080 six)
43081 { echo "$as_me:$LINENO: result: six" >&5
43082 echo "${ECHO_T}six" >&6; }
43083 cat >>confdefs.h <<\_ACEOF
43084 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43085 _ACEOF
43086
43087 ;;
43088
43089 no)
43090 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43091 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43092 ;;
43093
43094 unknown)
43095 { echo "$as_me:$LINENO: result: can't tell" >&5
43096 echo "${ECHO_T}can't tell" >&6; }
43097 ;;
43098
43099 *)
43100 { { echo "$as_me:$LINENO: error: internal error" >&5
43101 echo "$as_me: error: internal error" >&2;}
43102 { (exit 1); exit 1; }; }
43103 ;;
43104 esac
43105
43106 ac_ext=c
43107 ac_cpp='$CPP $CPPFLAGS'
43108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43111
43112
43113
43114 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43115 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43116 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43117 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43118 if test "${ac_cv_func_gethostbyname+set}" = set; then
43119 echo $ECHO_N "(cached) $ECHO_C" >&6
43120 else
43121 cat >conftest.$ac_ext <<_ACEOF
43122 /* confdefs.h. */
43123 _ACEOF
43124 cat confdefs.h >>conftest.$ac_ext
43125 cat >>conftest.$ac_ext <<_ACEOF
43126 /* end confdefs.h. */
43127 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43129 #define gethostbyname innocuous_gethostbyname
43130
43131 /* System header to define __stub macros and hopefully few prototypes,
43132 which can conflict with char gethostbyname (); below.
43133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43134 <limits.h> exists even on freestanding compilers. */
43135
43136 #ifdef __STDC__
43137 # include <limits.h>
43138 #else
43139 # include <assert.h>
43140 #endif
43141
43142 #undef gethostbyname
43143
43144 /* Override any GCC internal prototype to avoid an error.
43145 Use char because int might match the return type of a GCC
43146 builtin and then its argument prototype would still apply. */
43147 #ifdef __cplusplus
43148 extern "C"
43149 #endif
43150 char gethostbyname ();
43151 /* The GNU C library defines this for functions which it implements
43152 to always fail with ENOSYS. Some functions are actually named
43153 something starting with __ and the normal name is an alias. */
43154 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43155 choke me
43156 #endif
43157
43158 int
43159 main ()
43160 {
43161 return gethostbyname ();
43162 ;
43163 return 0;
43164 }
43165 _ACEOF
43166 rm -f conftest.$ac_objext conftest$ac_exeext
43167 if { (ac_try="$ac_link"
43168 case "(($ac_try" in
43169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43170 *) ac_try_echo=$ac_try;;
43171 esac
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_link") 2>conftest.er1
43174 ac_status=$?
43175 grep -v '^ *+' conftest.er1 >conftest.err
43176 rm -f conftest.er1
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } && {
43180 test -z "$ac_c_werror_flag" ||
43181 test ! -s conftest.err
43182 } && test -s conftest$ac_exeext &&
43183 $as_test_x conftest$ac_exeext; then
43184 ac_cv_func_gethostbyname=yes
43185 else
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.$ac_ext >&5
43188
43189 ac_cv_func_gethostbyname=no
43190 fi
43191
43192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43193 conftest$ac_exeext conftest.$ac_ext
43194 fi
43195 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43196 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43197 if test $ac_cv_func_gethostbyname = yes; then
43198 cat >>confdefs.h <<\_ACEOF
43199 #define HAVE_GETHOSTBYNAME 1
43200 _ACEOF
43201
43202 fi
43203
43204 fi
43205
43206 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43207 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43208 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43209 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 else
43211
43212 ac_ext=cpp
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43217
43218
43219 cat >conftest.$ac_ext <<_ACEOF
43220 /* confdefs.h. */
43221 _ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43225 #include <netdb.h>
43226 int
43227 main ()
43228 {
43229
43230 char *name;
43231 char *proto;
43232 struct servent *se, *res;
43233 char buffer[2048];
43234 int buflen = 2048;
43235 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43236
43237 ;
43238 return 0;
43239 }
43240 _ACEOF
43241 rm -f conftest.$ac_objext
43242 if { (ac_try="$ac_compile"
43243 case "(($ac_try" in
43244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43245 *) ac_try_echo=$ac_try;;
43246 esac
43247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43248 (eval "$ac_compile") 2>conftest.er1
43249 ac_status=$?
43250 grep -v '^ *+' conftest.er1 >conftest.err
43251 rm -f conftest.er1
43252 cat conftest.err >&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } && {
43255 test -z "$ac_cxx_werror_flag" ||
43256 test ! -s conftest.err
43257 } && test -s conftest.$ac_objext; then
43258 ac_cv_func_which_getservbyname_r=six
43259 else
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43262
43263
43264 cat >conftest.$ac_ext <<_ACEOF
43265 /* confdefs.h. */
43266 _ACEOF
43267 cat confdefs.h >>conftest.$ac_ext
43268 cat >>conftest.$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43270 #include <netdb.h>
43271 int
43272 main ()
43273 {
43274
43275 char *name;
43276 char *proto;
43277 struct servent *se;
43278 char buffer[2048];
43279 int buflen = 2048;
43280 (void) getservbyname_r(name, proto, se, buffer, buflen)
43281
43282 ;
43283 return 0;
43284 }
43285 _ACEOF
43286 rm -f conftest.$ac_objext
43287 if { (ac_try="$ac_compile"
43288 case "(($ac_try" in
43289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43290 *) ac_try_echo=$ac_try;;
43291 esac
43292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43293 (eval "$ac_compile") 2>conftest.er1
43294 ac_status=$?
43295 grep -v '^ *+' conftest.er1 >conftest.err
43296 rm -f conftest.er1
43297 cat conftest.err >&5
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); } && {
43300 test -z "$ac_cxx_werror_flag" ||
43301 test ! -s conftest.err
43302 } && test -s conftest.$ac_objext; then
43303 ac_cv_func_which_getservbyname_r=five
43304 else
43305 echo "$as_me: failed program was:" >&5
43306 sed 's/^/| /' conftest.$ac_ext >&5
43307
43308
43309 cat >conftest.$ac_ext <<_ACEOF
43310 /* confdefs.h. */
43311 _ACEOF
43312 cat confdefs.h >>conftest.$ac_ext
43313 cat >>conftest.$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315 #include <netdb.h>
43316 int
43317 main ()
43318 {
43319
43320 char *name;
43321 char *proto;
43322 struct servent *se;
43323 struct servent_data data;
43324 (void) getservbyname_r(name, proto, se, &data);
43325
43326 ;
43327 return 0;
43328 }
43329 _ACEOF
43330 rm -f conftest.$ac_objext
43331 if { (ac_try="$ac_compile"
43332 case "(($ac_try" in
43333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43334 *) ac_try_echo=$ac_try;;
43335 esac
43336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43337 (eval "$ac_compile") 2>conftest.er1
43338 ac_status=$?
43339 grep -v '^ *+' conftest.er1 >conftest.err
43340 rm -f conftest.er1
43341 cat conftest.err >&5
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); } && {
43344 test -z "$ac_cxx_werror_flag" ||
43345 test ! -s conftest.err
43346 } && test -s conftest.$ac_objext; then
43347 ac_cv_func_which_getservbyname_r=four
43348 else
43349 echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43351
43352 ac_cv_func_which_getservbyname_r=no
43353
43354 fi
43355
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43357
43358
43359 fi
43360
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43362
43363
43364 fi
43365
43366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43367 ac_ext=c
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43372
43373
43374
43375 fi
43376 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43377 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43378
43379 if test $ac_cv_func_which_getservbyname_r = six; then
43380 cat >>confdefs.h <<\_ACEOF
43381 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43382 _ACEOF
43383
43384 elif test $ac_cv_func_which_getservbyname_r = five; then
43385 cat >>confdefs.h <<\_ACEOF
43386 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43387 _ACEOF
43388
43389 elif test $ac_cv_func_which_getservbyname_r = four; then
43390 cat >>confdefs.h <<\_ACEOF
43391 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43392 _ACEOF
43393
43394 fi
43395
43396
43397 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43398 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43399
43400 for ac_func in getservbyname
43401 do
43402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43405 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43406 echo $ECHO_N "(cached) $ECHO_C" >&6
43407 else
43408 cat >conftest.$ac_ext <<_ACEOF
43409 /* confdefs.h. */
43410 _ACEOF
43411 cat confdefs.h >>conftest.$ac_ext
43412 cat >>conftest.$ac_ext <<_ACEOF
43413 /* end confdefs.h. */
43414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43416 #define $ac_func innocuous_$ac_func
43417
43418 /* System header to define __stub macros and hopefully few prototypes,
43419 which can conflict with char $ac_func (); below.
43420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43421 <limits.h> exists even on freestanding compilers. */
43422
43423 #ifdef __STDC__
43424 # include <limits.h>
43425 #else
43426 # include <assert.h>
43427 #endif
43428
43429 #undef $ac_func
43430
43431 /* Override any GCC internal prototype to avoid an error.
43432 Use char because int might match the return type of a GCC
43433 builtin and then its argument prototype would still apply. */
43434 #ifdef __cplusplus
43435 extern "C"
43436 #endif
43437 char $ac_func ();
43438 /* The GNU C library defines this for functions which it implements
43439 to always fail with ENOSYS. Some functions are actually named
43440 something starting with __ and the normal name is an alias. */
43441 #if defined __stub_$ac_func || defined __stub___$ac_func
43442 choke me
43443 #endif
43444
43445 int
43446 main ()
43447 {
43448 return $ac_func ();
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 rm -f conftest.$ac_objext conftest$ac_exeext
43454 if { (ac_try="$ac_link"
43455 case "(($ac_try" in
43456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43457 *) ac_try_echo=$ac_try;;
43458 esac
43459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43460 (eval "$ac_link") 2>conftest.er1
43461 ac_status=$?
43462 grep -v '^ *+' conftest.er1 >conftest.err
43463 rm -f conftest.er1
43464 cat conftest.err >&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && {
43467 test -z "$ac_c_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest$ac_exeext &&
43470 $as_test_x conftest$ac_exeext; then
43471 eval "$as_ac_var=yes"
43472 else
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.$ac_ext >&5
43475
43476 eval "$as_ac_var=no"
43477 fi
43478
43479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43480 conftest$ac_exeext conftest.$ac_ext
43481 fi
43482 ac_res=`eval echo '${'$as_ac_var'}'`
43483 { echo "$as_me:$LINENO: result: $ac_res" >&5
43484 echo "${ECHO_T}$ac_res" >&6; }
43485 if test `eval echo '${'$as_ac_var'}'` = yes; then
43486 cat >>confdefs.h <<_ACEOF
43487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43488 _ACEOF
43489 cat >>confdefs.h <<\_ACEOF
43490 #define HAVE_GETSERVBYNAME 1
43491 _ACEOF
43492
43493 fi
43494 done
43495
43496 fi
43497
43498 if test "$wxUSE_THREADS" = "yes"; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_THREADS 1
43501 _ACEOF
43502
43503
43504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43505 else
43506 if test "$wx_cv_func_strtok_r" = "yes"; then
43507 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43508 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43509 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43510 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43511 { echo "$as_me:$LINENO: result: yes" >&5
43512 echo "${ECHO_T}yes" >&6; }
43513 else
43514 { echo "$as_me:$LINENO: result: no" >&5
43515 echo "${ECHO_T}no" >&6; }
43516 fi
43517 fi
43518 fi
43519
43520 if test "$WXGTK2" = 1 ; then
43521 cat >>confdefs.h <<_ACEOF
43522 #define __WXGTK20__ $WXGTK2
43523 _ACEOF
43524
43525 WXGTK12=1
43526 fi
43527
43528 if test "$WXGTK12" = 1 ; then
43529 cat >>confdefs.h <<_ACEOF
43530 #define __WXGTK12__ $WXGTK12
43531 _ACEOF
43532
43533 fi
43534
43535 if test "$WXGTK127" = 1 ; then
43536 cat >>confdefs.h <<_ACEOF
43537 #define __WXGTK127__ $WXGTK127
43538 _ACEOF
43539
43540 fi
43541
43542 if test "$WXGPE" = 1 ; then
43543 cat >>confdefs.h <<_ACEOF
43544 #define __WXGPE__ $WXGPE
43545 _ACEOF
43546
43547 fi
43548
43549 DEBUG_CFLAGS=
43550 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43551 DEBUG_CFLAGS="-g"
43552 wxUSE_OPTIMISE=no
43553 fi
43554
43555 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43556 wxUSE_DEBUG_INFO=yes
43557 if test "$GCC" = yes; then
43558 DEBUG_CFLAGS="-ggdb"
43559 fi
43560 fi
43561
43562 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define WXDEBUG 1
43565 _ACEOF
43566
43567 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43568 else
43569 if test "$wxUSE_GTK" = 1 ; then
43570 if test "x$wxGTK_VERSION" = "x1" ; then
43571 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43572 fi
43573 fi
43574 fi
43575
43576 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_MEMORY_TRACING 1
43579 _ACEOF
43580
43581 cat >>confdefs.h <<\_ACEOF
43582 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43583 _ACEOF
43584
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_DEBUG_NEW_ALWAYS 1
43587 _ACEOF
43588
43589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43590 fi
43591
43592 if test "$wxUSE_DMALLOC" = "yes" ; then
43593 DMALLOC_LIBS="-ldmallocthcxx"
43594 fi
43595
43596 PROFILE_FLAGS=
43597 if test "$wxUSE_PROFILE" = "yes" ; then
43598 PROFILE_FLAGS=" -pg"
43599 fi
43600
43601 if test "$GCC" = "yes" ; then
43602 if test "$wxUSE_NO_RTTI" = "yes" ; then
43603 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43604 fi
43605 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43606 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43607 fi
43608 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43609 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43610 fi
43611
43612 case "${host}" in
43613 powerpc*-*-aix* )
43614 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43615 ;;
43616 *-hppa* )
43617 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43618 ;;
43619 esac
43620 fi
43621
43622 OPTIMISE_CFLAGS=
43623 if test "$wxUSE_OPTIMISE" = "no" ; then
43624 if test "$GCC" = yes ; then
43625 OPTIMISE_CFLAGS="-O0"
43626 fi
43627 else
43628 if test "$GCC" = yes ; then
43629 case "${host}" in
43630 *-pc-os2_emx | *-pc-os2-emx )
43631 OPTIMISE_CFLAGS="-O2"
43632 ;;
43633 *)
43634 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43635 ;;
43636 esac
43637 else
43638 OPTIMISE_CFLAGS="-O"
43639 fi
43640 fi
43641
43642
43643 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define WXWIN_COMPATIBILITY_2_6 1
43646 _ACEOF
43647
43648
43649 WXWIN_COMPATIBILITY_2_8="yes"
43650 fi
43651
43652 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43653 cat >>confdefs.h <<\_ACEOF
43654 #define WXWIN_COMPATIBILITY_2_8 1
43655 _ACEOF
43656
43657 fi
43658
43659
43660 if test "$wxUSE_GUI" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_GUI 1
43663 _ACEOF
43664
43665
43666 fi
43667
43668
43669 if test "$wxUSE_UNIX" = "yes"; then
43670 cat >>confdefs.h <<\_ACEOF
43671 #define wxUSE_UNIX 1
43672 _ACEOF
43673
43674 fi
43675
43676
43677 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43678
43679 HAVE_DL_FUNCS=0
43680 HAVE_SHL_FUNCS=0
43681 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43682 if test "$USE_DARWIN" = 1; then
43683 HAVE_DL_FUNCS=1
43684 elif test "$USE_DOS" = 1; then
43685 HAVE_DL_FUNCS=0
43686 else
43687
43688 for ac_func in dlopen
43689 do
43690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696 cat >conftest.$ac_ext <<_ACEOF
43697 /* confdefs.h. */
43698 _ACEOF
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43704 #define $ac_func innocuous_$ac_func
43705
43706 /* System header to define __stub macros and hopefully few prototypes,
43707 which can conflict with char $ac_func (); below.
43708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43709 <limits.h> exists even on freestanding compilers. */
43710
43711 #ifdef __STDC__
43712 # include <limits.h>
43713 #else
43714 # include <assert.h>
43715 #endif
43716
43717 #undef $ac_func
43718
43719 /* Override any GCC internal prototype to avoid an error.
43720 Use char because int might match the return type of a GCC
43721 builtin and then its argument prototype would still apply. */
43722 #ifdef __cplusplus
43723 extern "C"
43724 #endif
43725 char $ac_func ();
43726 /* The GNU C library defines this for functions which it implements
43727 to always fail with ENOSYS. Some functions are actually named
43728 something starting with __ and the normal name is an alias. */
43729 #if defined __stub_$ac_func || defined __stub___$ac_func
43730 choke me
43731 #endif
43732
43733 int
43734 main ()
43735 {
43736 return $ac_func ();
43737 ;
43738 return 0;
43739 }
43740 _ACEOF
43741 rm -f conftest.$ac_objext conftest$ac_exeext
43742 if { (ac_try="$ac_link"
43743 case "(($ac_try" in
43744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43745 *) ac_try_echo=$ac_try;;
43746 esac
43747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43748 (eval "$ac_link") 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } && {
43755 test -z "$ac_c_werror_flag" ||
43756 test ! -s conftest.err
43757 } && test -s conftest$ac_exeext &&
43758 $as_test_x conftest$ac_exeext; then
43759 eval "$as_ac_var=yes"
43760 else
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43763
43764 eval "$as_ac_var=no"
43765 fi
43766
43767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43768 conftest$ac_exeext conftest.$ac_ext
43769 fi
43770 ac_res=`eval echo '${'$as_ac_var'}'`
43771 { echo "$as_me:$LINENO: result: $ac_res" >&5
43772 echo "${ECHO_T}$ac_res" >&6; }
43773 if test `eval echo '${'$as_ac_var'}'` = yes; then
43774 cat >>confdefs.h <<_ACEOF
43775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43776 _ACEOF
43777
43778 cat >>confdefs.h <<\_ACEOF
43779 #define HAVE_DLOPEN 1
43780 _ACEOF
43781
43782 HAVE_DL_FUNCS=1
43783
43784 else
43785
43786 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43789 echo $ECHO_N "(cached) $ECHO_C" >&6
43790 else
43791 ac_check_lib_save_LIBS=$LIBS
43792 LIBS="-ldl $LIBS"
43793 cat >conftest.$ac_ext <<_ACEOF
43794 /* confdefs.h. */
43795 _ACEOF
43796 cat confdefs.h >>conftest.$ac_ext
43797 cat >>conftest.$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43799
43800 /* Override any GCC internal prototype to avoid an error.
43801 Use char because int might match the return type of a GCC
43802 builtin and then its argument prototype would still apply. */
43803 #ifdef __cplusplus
43804 extern "C"
43805 #endif
43806 char dlopen ();
43807 int
43808 main ()
43809 {
43810 return dlopen ();
43811 ;
43812 return 0;
43813 }
43814 _ACEOF
43815 rm -f conftest.$ac_objext conftest$ac_exeext
43816 if { (ac_try="$ac_link"
43817 case "(($ac_try" in
43818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43819 *) ac_try_echo=$ac_try;;
43820 esac
43821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43822 (eval "$ac_link") 2>conftest.er1
43823 ac_status=$?
43824 grep -v '^ *+' conftest.er1 >conftest.err
43825 rm -f conftest.er1
43826 cat conftest.err >&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && {
43829 test -z "$ac_c_werror_flag" ||
43830 test ! -s conftest.err
43831 } && test -s conftest$ac_exeext &&
43832 $as_test_x conftest$ac_exeext; then
43833 ac_cv_lib_dl_dlopen=yes
43834 else
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.$ac_ext >&5
43837
43838 ac_cv_lib_dl_dlopen=no
43839 fi
43840
43841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43842 conftest$ac_exeext conftest.$ac_ext
43843 LIBS=$ac_check_lib_save_LIBS
43844 fi
43845 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43846 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43847 if test $ac_cv_lib_dl_dlopen = yes; then
43848
43849 cat >>confdefs.h <<\_ACEOF
43850 #define HAVE_DLOPEN 1
43851 _ACEOF
43852
43853 HAVE_DL_FUNCS=1
43854 DL_LINK=" -ldl$DL_LINK"
43855
43856 else
43857
43858
43859 for ac_func in shl_load
43860 do
43861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43864 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43865 echo $ECHO_N "(cached) $ECHO_C" >&6
43866 else
43867 cat >conftest.$ac_ext <<_ACEOF
43868 /* confdefs.h. */
43869 _ACEOF
43870 cat confdefs.h >>conftest.$ac_ext
43871 cat >>conftest.$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43875 #define $ac_func innocuous_$ac_func
43876
43877 /* System header to define __stub macros and hopefully few prototypes,
43878 which can conflict with char $ac_func (); below.
43879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43880 <limits.h> exists even on freestanding compilers. */
43881
43882 #ifdef __STDC__
43883 # include <limits.h>
43884 #else
43885 # include <assert.h>
43886 #endif
43887
43888 #undef $ac_func
43889
43890 /* Override any GCC internal prototype to avoid an error.
43891 Use char because int might match the return type of a GCC
43892 builtin and then its argument prototype would still apply. */
43893 #ifdef __cplusplus
43894 extern "C"
43895 #endif
43896 char $ac_func ();
43897 /* The GNU C library defines this for functions which it implements
43898 to always fail with ENOSYS. Some functions are actually named
43899 something starting with __ and the normal name is an alias. */
43900 #if defined __stub_$ac_func || defined __stub___$ac_func
43901 choke me
43902 #endif
43903
43904 int
43905 main ()
43906 {
43907 return $ac_func ();
43908 ;
43909 return 0;
43910 }
43911 _ACEOF
43912 rm -f conftest.$ac_objext conftest$ac_exeext
43913 if { (ac_try="$ac_link"
43914 case "(($ac_try" in
43915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43916 *) ac_try_echo=$ac_try;;
43917 esac
43918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43919 (eval "$ac_link") 2>conftest.er1
43920 ac_status=$?
43921 grep -v '^ *+' conftest.er1 >conftest.err
43922 rm -f conftest.er1
43923 cat conftest.err >&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); } && {
43926 test -z "$ac_c_werror_flag" ||
43927 test ! -s conftest.err
43928 } && test -s conftest$ac_exeext &&
43929 $as_test_x conftest$ac_exeext; then
43930 eval "$as_ac_var=yes"
43931 else
43932 echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43934
43935 eval "$as_ac_var=no"
43936 fi
43937
43938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43939 conftest$ac_exeext conftest.$ac_ext
43940 fi
43941 ac_res=`eval echo '${'$as_ac_var'}'`
43942 { echo "$as_me:$LINENO: result: $ac_res" >&5
43943 echo "${ECHO_T}$ac_res" >&6; }
43944 if test `eval echo '${'$as_ac_var'}'` = yes; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43947 _ACEOF
43948
43949 cat >>confdefs.h <<\_ACEOF
43950 #define HAVE_SHL_LOAD 1
43951 _ACEOF
43952
43953 HAVE_SHL_FUNCS=1
43954
43955 else
43956
43957 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43958 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43959 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43961 else
43962 ac_check_lib_save_LIBS=$LIBS
43963 LIBS="-lshl_load $LIBS"
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h. */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970
43971 /* Override any GCC internal prototype to avoid an error.
43972 Use char because int might match the return type of a GCC
43973 builtin and then its argument prototype would still apply. */
43974 #ifdef __cplusplus
43975 extern "C"
43976 #endif
43977 char dld ();
43978 int
43979 main ()
43980 {
43981 return dld ();
43982 ;
43983 return 0;
43984 }
43985 _ACEOF
43986 rm -f conftest.$ac_objext conftest$ac_exeext
43987 if { (ac_try="$ac_link"
43988 case "(($ac_try" in
43989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43990 *) ac_try_echo=$ac_try;;
43991 esac
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_link") 2>conftest.er1
43994 ac_status=$?
43995 grep -v '^ *+' conftest.er1 >conftest.err
43996 rm -f conftest.er1
43997 cat conftest.err >&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); } && {
44000 test -z "$ac_c_werror_flag" ||
44001 test ! -s conftest.err
44002 } && test -s conftest$ac_exeext &&
44003 $as_test_x conftest$ac_exeext; then
44004 ac_cv_lib_shl_load_dld=yes
44005 else
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.$ac_ext >&5
44008
44009 ac_cv_lib_shl_load_dld=no
44010 fi
44011
44012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44013 conftest$ac_exeext conftest.$ac_ext
44014 LIBS=$ac_check_lib_save_LIBS
44015 fi
44016 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44017 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44018 if test $ac_cv_lib_shl_load_dld = yes; then
44019
44020 HAVE_SHL_FUNCS=1
44021 DL_LINK=" -ldld$DL_LINK"
44022
44023 fi
44024
44025
44026 fi
44027 done
44028
44029
44030 fi
44031
44032
44033 fi
44034 done
44035
44036
44037 if test "$HAVE_DL_FUNCS" = 1; then
44038
44039 for ac_func in dlerror
44040 do
44041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44045 echo $ECHO_N "(cached) $ECHO_C" >&6
44046 else
44047 cat >conftest.$ac_ext <<_ACEOF
44048 /* confdefs.h. */
44049 _ACEOF
44050 cat confdefs.h >>conftest.$ac_ext
44051 cat >>conftest.$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44055 #define $ac_func innocuous_$ac_func
44056
44057 /* System header to define __stub macros and hopefully few prototypes,
44058 which can conflict with char $ac_func (); below.
44059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44060 <limits.h> exists even on freestanding compilers. */
44061
44062 #ifdef __STDC__
44063 # include <limits.h>
44064 #else
44065 # include <assert.h>
44066 #endif
44067
44068 #undef $ac_func
44069
44070 /* Override any GCC internal prototype to avoid an error.
44071 Use char because int might match the return type of a GCC
44072 builtin and then its argument prototype would still apply. */
44073 #ifdef __cplusplus
44074 extern "C"
44075 #endif
44076 char $ac_func ();
44077 /* The GNU C library defines this for functions which it implements
44078 to always fail with ENOSYS. Some functions are actually named
44079 something starting with __ and the normal name is an alias. */
44080 #if defined __stub_$ac_func || defined __stub___$ac_func
44081 choke me
44082 #endif
44083
44084 int
44085 main ()
44086 {
44087 return $ac_func ();
44088 ;
44089 return 0;
44090 }
44091 _ACEOF
44092 rm -f conftest.$ac_objext conftest$ac_exeext
44093 if { (ac_try="$ac_link"
44094 case "(($ac_try" in
44095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44096 *) ac_try_echo=$ac_try;;
44097 esac
44098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44099 (eval "$ac_link") 2>conftest.er1
44100 ac_status=$?
44101 grep -v '^ *+' conftest.er1 >conftest.err
44102 rm -f conftest.er1
44103 cat conftest.err >&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); } && {
44106 test -z "$ac_c_werror_flag" ||
44107 test ! -s conftest.err
44108 } && test -s conftest$ac_exeext &&
44109 $as_test_x conftest$ac_exeext; then
44110 eval "$as_ac_var=yes"
44111 else
44112 echo "$as_me: failed program was:" >&5
44113 sed 's/^/| /' conftest.$ac_ext >&5
44114
44115 eval "$as_ac_var=no"
44116 fi
44117
44118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44119 conftest$ac_exeext conftest.$ac_ext
44120 fi
44121 ac_res=`eval echo '${'$as_ac_var'}'`
44122 { echo "$as_me:$LINENO: result: $ac_res" >&5
44123 echo "${ECHO_T}$ac_res" >&6; }
44124 if test `eval echo '${'$as_ac_var'}'` = yes; then
44125 cat >>confdefs.h <<_ACEOF
44126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44127 _ACEOF
44128 cat >>confdefs.h <<\_ACEOF
44129 #define HAVE_DLERROR 1
44130 _ACEOF
44131
44132 else
44133
44134 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44135 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44136 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44137 echo $ECHO_N "(cached) $ECHO_C" >&6
44138 else
44139 ac_check_lib_save_LIBS=$LIBS
44140 LIBS="-ldl $LIBS"
44141 cat >conftest.$ac_ext <<_ACEOF
44142 /* confdefs.h. */
44143 _ACEOF
44144 cat confdefs.h >>conftest.$ac_ext
44145 cat >>conftest.$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44147
44148 /* Override any GCC internal prototype to avoid an error.
44149 Use char because int might match the return type of a GCC
44150 builtin and then its argument prototype would still apply. */
44151 #ifdef __cplusplus
44152 extern "C"
44153 #endif
44154 char dlerror ();
44155 int
44156 main ()
44157 {
44158 return dlerror ();
44159 ;
44160 return 0;
44161 }
44162 _ACEOF
44163 rm -f conftest.$ac_objext conftest$ac_exeext
44164 if { (ac_try="$ac_link"
44165 case "(($ac_try" in
44166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44167 *) ac_try_echo=$ac_try;;
44168 esac
44169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44170 (eval "$ac_link") 2>conftest.er1
44171 ac_status=$?
44172 grep -v '^ *+' conftest.er1 >conftest.err
44173 rm -f conftest.er1
44174 cat conftest.err >&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); } && {
44177 test -z "$ac_c_werror_flag" ||
44178 test ! -s conftest.err
44179 } && test -s conftest$ac_exeext &&
44180 $as_test_x conftest$ac_exeext; then
44181 ac_cv_lib_dl_dlerror=yes
44182 else
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.$ac_ext >&5
44185
44186 ac_cv_lib_dl_dlerror=no
44187 fi
44188
44189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44190 conftest$ac_exeext conftest.$ac_ext
44191 LIBS=$ac_check_lib_save_LIBS
44192 fi
44193 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44194 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44195 if test $ac_cv_lib_dl_dlerror = yes; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define HAVE_DLERROR 1
44198 _ACEOF
44199
44200 fi
44201
44202
44203
44204 fi
44205 done
44206
44207 fi
44208 fi
44209
44210 if test "$HAVE_DL_FUNCS" = 0; then
44211 if test "$HAVE_SHL_FUNCS" = 0; then
44212 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44213 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44214 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44215 wxUSE_DYNAMIC_LOADER=no
44216 wxUSE_DYNLIB_CLASS=no
44217 else
44218 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44219 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44220 fi
44221 fi
44222 fi
44223 fi
44224 fi
44225
44226 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_DYNAMIC_LOADER 1
44229 _ACEOF
44230
44231 fi
44232 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_DYNLIB_CLASS 1
44235 _ACEOF
44236
44237 fi
44238
44239
44240
44241 if test "$wxUSE_PLUGINS" = "yes" ; then
44242 if test "$wxUSE_SHARED" = "no" ; then
44243 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44244 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44245 wxUSE_PLUGINS=no
44246 fi
44247 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44248 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44249 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44250 wxUSE_PLUGINS=no
44251 fi
44252 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44253 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44254 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44255 wxUSE_PLUGINS=no
44256 fi
44257 if test "$wxUSE_PLUGINS" = "yes" ; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_PLUGINS 1
44260 _ACEOF
44261
44262 fi
44263 fi
44264
44265
44266 if test "$wxUSE_STL" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_STL 1
44269 _ACEOF
44270
44271 fi
44272
44273 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_EXTENDED_RTTI 1
44276 _ACEOF
44277
44278 fi
44279
44280 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44281 cat >>confdefs.h <<\_ACEOF
44282 #define wxUSE_APPLE_IEEE 1
44283 _ACEOF
44284
44285 fi
44286
44287 if test "$wxUSE_TIMER" = "yes"; then
44288 cat >>confdefs.h <<\_ACEOF
44289 #define wxUSE_TIMER 1
44290 _ACEOF
44291
44292 fi
44293
44294 if test "$USE_UNIX" = 1 ; then
44295 if test "$wxUSE_MGL" != 1; then
44296 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44297 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44298 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 else
44301
44302 cat >conftest.$ac_ext <<_ACEOF
44303 /* confdefs.h. */
44304 _ACEOF
44305 cat confdefs.h >>conftest.$ac_ext
44306 cat >>conftest.$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44308
44309 #include <sys/ioctl.h>
44310 #include <sys/soundcard.h>
44311
44312 int
44313 main ()
44314 {
44315
44316 ioctl(0, SNDCTL_DSP_SPEED, 0);
44317
44318 ;
44319 return 0;
44320 }
44321 _ACEOF
44322 rm -f conftest.$ac_objext conftest$ac_exeext
44323 if { (ac_try="$ac_link"
44324 case "(($ac_try" in
44325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44326 *) ac_try_echo=$ac_try;;
44327 esac
44328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44329 (eval "$ac_link") 2>conftest.er1
44330 ac_status=$?
44331 grep -v '^ *+' conftest.er1 >conftest.err
44332 rm -f conftest.er1
44333 cat conftest.err >&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } && {
44336 test -z "$ac_c_werror_flag" ||
44337 test ! -s conftest.err
44338 } && test -s conftest$ac_exeext &&
44339 $as_test_x conftest$ac_exeext; then
44340 ac_cv_header_sys_soundcard=yes
44341 else
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44344
44345
44346 saveLibs="$LIBS"
44347 LIBS="$saveLibs -lossaudio"
44348 cat >conftest.$ac_ext <<_ACEOF
44349 /* confdefs.h. */
44350 _ACEOF
44351 cat confdefs.h >>conftest.$ac_ext
44352 cat >>conftest.$ac_ext <<_ACEOF
44353 /* end confdefs.h. */
44354
44355 #include <sys/ioctl.h>
44356 #include <sys/soundcard.h>
44357
44358 int
44359 main ()
44360 {
44361
44362 ioctl(0, SNDCTL_DSP_SPEED, 0);
44363
44364 ;
44365 return 0;
44366 }
44367 _ACEOF
44368 rm -f conftest.$ac_objext conftest$ac_exeext
44369 if { (ac_try="$ac_link"
44370 case "(($ac_try" in
44371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44372 *) ac_try_echo=$ac_try;;
44373 esac
44374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 (eval "$ac_link") 2>conftest.er1
44376 ac_status=$?
44377 grep -v '^ *+' conftest.er1 >conftest.err
44378 rm -f conftest.er1
44379 cat conftest.err >&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); } && {
44382 test -z "$ac_c_werror_flag" ||
44383 test ! -s conftest.err
44384 } && test -s conftest$ac_exeext &&
44385 $as_test_x conftest$ac_exeext; then
44386 ac_cv_header_sys_soundcard=yes
44387 else
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.$ac_ext >&5
44390
44391
44392 LIBS="$saveLibs"
44393 ac_cv_header_sys_soundcard=no
44394
44395
44396 fi
44397
44398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44399 conftest$ac_exeext conftest.$ac_ext
44400
44401
44402 fi
44403
44404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44405 conftest$ac_exeext conftest.$ac_ext
44406
44407 fi
44408 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44409 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44410 fi
44411
44412 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define HAVE_SYS_SOUNDCARD_H 1
44415 _ACEOF
44416
44417 fi
44418 fi
44419
44420 WITH_PLUGIN_SDL=0
44421 if test "$wxUSE_SOUND" = "yes"; then
44422 if test "$USE_UNIX" = 1 ; then
44423 if test "$wxUSE_LIBSDL" != "no"; then
44424
44425 # Check whether --with-sdl-prefix was given.
44426 if test "${with_sdl_prefix+set}" = set; then
44427 withval=$with_sdl_prefix; sdl_prefix="$withval"
44428 else
44429 sdl_prefix=""
44430 fi
44431
44432
44433 # Check whether --with-sdl-exec-prefix was given.
44434 if test "${with_sdl_exec_prefix+set}" = set; then
44435 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44436 else
44437 sdl_exec_prefix=""
44438 fi
44439
44440 # Check whether --enable-sdltest was given.
44441 if test "${enable_sdltest+set}" = set; then
44442 enableval=$enable_sdltest;
44443 else
44444 enable_sdltest=yes
44445 fi
44446
44447
44448 if test x$sdl_exec_prefix != x ; then
44449 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44450 if test x${SDL_CONFIG+set} != xset ; then
44451 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44452 fi
44453 fi
44454 if test x$sdl_prefix != x ; then
44455 sdl_args="$sdl_args --prefix=$sdl_prefix"
44456 if test x${SDL_CONFIG+set} != xset ; then
44457 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44458 fi
44459 fi
44460
44461 if test "x$prefix" != xNONE; then
44462 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44463 fi
44464 # Extract the first word of "sdl-config", so it can be a program name with args.
44465 set dummy sdl-config; ac_word=$2
44466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44468 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 else
44471 case $SDL_CONFIG in
44472 [\\/]* | ?:[\\/]*)
44473 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44474 ;;
44475 *)
44476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44477 for as_dir in $PATH
44478 do
44479 IFS=$as_save_IFS
44480 test -z "$as_dir" && as_dir=.
44481 for ac_exec_ext in '' $ac_executable_extensions; do
44482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44483 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44485 break 2
44486 fi
44487 done
44488 done
44489 IFS=$as_save_IFS
44490
44491 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44492 ;;
44493 esac
44494 fi
44495 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44496 if test -n "$SDL_CONFIG"; then
44497 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44498 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44499 else
44500 { echo "$as_me:$LINENO: result: no" >&5
44501 echo "${ECHO_T}no" >&6; }
44502 fi
44503
44504
44505 min_sdl_version=1.2.0
44506 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44507 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44508 no_sdl=""
44509 if test "$SDL_CONFIG" = "no" ; then
44510 no_sdl=yes
44511 else
44512 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44513 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44514
44515 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44517 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44519 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44521 if test "x$enable_sdltest" = "xyes" ; then
44522 ac_save_CFLAGS="$CFLAGS"
44523 ac_save_CXXFLAGS="$CXXFLAGS"
44524 ac_save_LIBS="$LIBS"
44525 CFLAGS="$CFLAGS $SDL_CFLAGS"
44526 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44527 LIBS="$LIBS $SDL_LIBS"
44528 rm -f conf.sdltest
44529 if test "$cross_compiling" = yes; then
44530 echo $ac_n "cross compiling; assumed OK... $ac_c"
44531 else
44532 cat >conftest.$ac_ext <<_ACEOF
44533 /* confdefs.h. */
44534 _ACEOF
44535 cat confdefs.h >>conftest.$ac_ext
44536 cat >>conftest.$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44538
44539 #include <stdio.h>
44540 #include <stdlib.h>
44541 #include <string.h>
44542 #include "SDL.h"
44543
44544 char*
44545 my_strdup (char *str)
44546 {
44547 char *new_str;
44548
44549 if (str)
44550 {
44551 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44552 strcpy (new_str, str);
44553 }
44554 else
44555 new_str = NULL;
44556
44557 return new_str;
44558 }
44559
44560 int main (int argc, char *argv[])
44561 {
44562 int major, minor, micro;
44563 char *tmp_version;
44564
44565 /* This hangs on some systems (?)
44566 system ("touch conf.sdltest");
44567 */
44568 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44569
44570 /* HP/UX 9 (%@#!) writes to sscanf strings */
44571 tmp_version = my_strdup("$min_sdl_version");
44572 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44573 printf("%s, bad version string\n", "$min_sdl_version");
44574 exit(1);
44575 }
44576
44577 if (($sdl_major_version > major) ||
44578 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44579 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44580 {
44581 return 0;
44582 }
44583 else
44584 {
44585 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44586 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44587 printf("*** best to upgrade to the required version.\n");
44588 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44589 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44590 printf("*** config.cache before re-running configure\n");
44591 return 1;
44592 }
44593 }
44594
44595
44596 _ACEOF
44597 rm -f conftest$ac_exeext
44598 if { (ac_try="$ac_link"
44599 case "(($ac_try" in
44600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44601 *) ac_try_echo=$ac_try;;
44602 esac
44603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44604 (eval "$ac_link") 2>&5
44605 ac_status=$?
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44608 { (case "(($ac_try" in
44609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44610 *) ac_try_echo=$ac_try;;
44611 esac
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_try") 2>&5
44614 ac_status=$?
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); }; }; then
44617 :
44618 else
44619 echo "$as_me: program exited with status $ac_status" >&5
44620 echo "$as_me: failed program was:" >&5
44621 sed 's/^/| /' conftest.$ac_ext >&5
44622
44623 ( exit $ac_status )
44624 no_sdl=yes
44625 fi
44626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44627 fi
44628
44629
44630 CFLAGS="$ac_save_CFLAGS"
44631 CXXFLAGS="$ac_save_CXXFLAGS"
44632 LIBS="$ac_save_LIBS"
44633 fi
44634 fi
44635 if test "x$no_sdl" = x ; then
44636 { echo "$as_me:$LINENO: result: yes" >&5
44637 echo "${ECHO_T}yes" >&6; }
44638
44639 EXTRALIBS_SDL="$SDL_LIBS"
44640 CFLAGS="$SDL_CFLAGS $CFLAGS"
44641 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44642 cat >>confdefs.h <<\_ACEOF
44643 #define wxUSE_LIBSDL 1
44644 _ACEOF
44645
44646
44647 else
44648 { echo "$as_me:$LINENO: result: no" >&5
44649 echo "${ECHO_T}no" >&6; }
44650 if test "$SDL_CONFIG" = "no" ; then
44651 echo "*** The sdl-config script installed by SDL could not be found"
44652 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44653 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44654 echo "*** full path to sdl-config."
44655 else
44656 if test -f conf.sdltest ; then
44657 :
44658 else
44659 echo "*** Could not run SDL test program, checking why..."
44660 CFLAGS="$CFLAGS $SDL_CFLAGS"
44661 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44662 LIBS="$LIBS $SDL_LIBS"
44663 cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h. */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44669
44670 #include <stdio.h>
44671 #include "SDL.h"
44672
44673 int main(int argc, char *argv[])
44674 { return 0; }
44675 #undef main
44676 #define main K_and_R_C_main
44677
44678 int
44679 main ()
44680 {
44681 return 0;
44682 ;
44683 return 0;
44684 }
44685 _ACEOF
44686 rm -f conftest.$ac_objext conftest$ac_exeext
44687 if { (ac_try="$ac_link"
44688 case "(($ac_try" in
44689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44690 *) ac_try_echo=$ac_try;;
44691 esac
44692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44693 (eval "$ac_link") 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } && {
44700 test -z "$ac_c_werror_flag" ||
44701 test ! -s conftest.err
44702 } && test -s conftest$ac_exeext &&
44703 $as_test_x conftest$ac_exeext; then
44704 echo "*** The test program compiled, but did not run. This usually means"
44705 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44706 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44709 echo "*** is required on your system"
44710 echo "***"
44711 echo "*** If you have an old version installed, it is best to remove it, although"
44712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44713 else
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44716
44717 echo "*** The test program failed to compile or link. See the file config.log for the"
44718 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44719 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44720 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44721 fi
44722
44723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44724 conftest$ac_exeext conftest.$ac_ext
44725 CFLAGS="$ac_save_CFLAGS"
44726 CXXFLAGS="$ac_save_CXXFLAGS"
44727 LIBS="$ac_save_LIBS"
44728 fi
44729 fi
44730 SDL_CFLAGS=""
44731 SDL_LIBS=""
44732 wxUSE_LIBSDL="no"
44733 fi
44734
44735
44736 rm -f conf.sdltest
44737
44738 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44739 WITH_PLUGIN_SDL=1
44740 fi
44741 fi
44742 else
44743 if test "$wxUSE_MGL" = 1; then
44744 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44745 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44746 wxUSE_SOUND="no"
44747 fi
44748 fi
44749 fi
44750
44751 if test "$wxUSE_SOUND" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_SOUND 1
44754 _ACEOF
44755
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44757 fi
44758
44759 if test "$WXGTK2" = 1; then
44760
44761
44762 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44763 if test -n "$ac_tool_prefix"; then
44764 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44765 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44769 echo $ECHO_N "(cached) $ECHO_C" >&6
44770 else
44771 case $PKG_CONFIG in
44772 [\\/]* | ?:[\\/]*)
44773 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44774 ;;
44775 *)
44776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44777 for as_dir in $PATH
44778 do
44779 IFS=$as_save_IFS
44780 test -z "$as_dir" && as_dir=.
44781 for ac_exec_ext in '' $ac_executable_extensions; do
44782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44783 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44785 break 2
44786 fi
44787 done
44788 done
44789 IFS=$as_save_IFS
44790
44791 ;;
44792 esac
44793 fi
44794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44795 if test -n "$PKG_CONFIG"; then
44796 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44797 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44798 else
44799 { echo "$as_me:$LINENO: result: no" >&5
44800 echo "${ECHO_T}no" >&6; }
44801 fi
44802
44803
44804 fi
44805 if test -z "$ac_cv_path_PKG_CONFIG"; then
44806 ac_pt_PKG_CONFIG=$PKG_CONFIG
44807 # Extract the first word of "pkg-config", so it can be a program name with args.
44808 set dummy pkg-config; ac_word=$2
44809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44811 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44812 echo $ECHO_N "(cached) $ECHO_C" >&6
44813 else
44814 case $ac_pt_PKG_CONFIG in
44815 [\\/]* | ?:[\\/]*)
44816 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44817 ;;
44818 *)
44819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44820 for as_dir in $PATH
44821 do
44822 IFS=$as_save_IFS
44823 test -z "$as_dir" && as_dir=.
44824 for ac_exec_ext in '' $ac_executable_extensions; do
44825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44826 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44828 break 2
44829 fi
44830 done
44831 done
44832 IFS=$as_save_IFS
44833
44834 ;;
44835 esac
44836 fi
44837 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44838 if test -n "$ac_pt_PKG_CONFIG"; then
44839 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44840 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44841 else
44842 { echo "$as_me:$LINENO: result: no" >&5
44843 echo "${ECHO_T}no" >&6; }
44844 fi
44845
44846 if test "x$ac_pt_PKG_CONFIG" = x; then
44847 PKG_CONFIG=""
44848 else
44849 case $cross_compiling:$ac_tool_warned in
44850 yes:)
44851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44852 whose name does not start with the host triplet. If you think this
44853 configuration is useful to you, please write to autoconf@gnu.org." >&5
44854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44855 whose name does not start with the host triplet. If you think this
44856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44857 ac_tool_warned=yes ;;
44858 esac
44859 PKG_CONFIG=$ac_pt_PKG_CONFIG
44860 fi
44861 else
44862 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44863 fi
44864
44865 fi
44866 if test -n "$PKG_CONFIG"; then
44867 _pkg_min_version=0.9.0
44868 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44869 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44870 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44871 { echo "$as_me:$LINENO: result: yes" >&5
44872 echo "${ECHO_T}yes" >&6; }
44873 else
44874 { echo "$as_me:$LINENO: result: no" >&5
44875 echo "${ECHO_T}no" >&6; }
44876 PKG_CONFIG=""
44877 fi
44878
44879 fi
44880
44881 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44882
44883 if test "$wxUSE_GTKPRINT" = "yes" ; then
44884
44885
44886 pkg_failed=no
44887 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44888 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44889
44890 if test -n "$PKG_CONFIG"; then
44891 if test -n "$GTKPRINT_CFLAGS"; then
44892 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44893 else
44894 if test -n "$PKG_CONFIG" && \
44895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44896 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; then
44900 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44901 else
44902 pkg_failed=yes
44903 fi
44904 fi
44905 else
44906 pkg_failed=untried
44907 fi
44908 if test -n "$PKG_CONFIG"; then
44909 if test -n "$GTKPRINT_LIBS"; then
44910 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44911 else
44912 if test -n "$PKG_CONFIG" && \
44913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44914 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44915 ac_status=$?
44916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44917 (exit $ac_status); }; then
44918 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44919 else
44920 pkg_failed=yes
44921 fi
44922 fi
44923 else
44924 pkg_failed=untried
44925 fi
44926
44927
44928
44929 if test $pkg_failed = yes; then
44930
44931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44932 _pkg_short_errors_supported=yes
44933 else
44934 _pkg_short_errors_supported=no
44935 fi
44936 if test $_pkg_short_errors_supported = yes; then
44937 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44938 else
44939 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44940 fi
44941 # Put the nasty error message in config.log where it belongs
44942 echo "$GTKPRINT_PKG_ERRORS" >&5
44943
44944
44945 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44946 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44947 wxUSE_GTKPRINT="no"
44948
44949
44950 elif test $pkg_failed = untried; then
44951
44952 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44953 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44954 wxUSE_GTKPRINT="no"
44955
44956
44957 else
44958 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44959 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44960 { echo "$as_me:$LINENO: result: yes" >&5
44961 echo "${ECHO_T}yes" >&6; }
44962
44963 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44964 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_GTKPRINT 1
44967 _ACEOF
44968
44969
44970 fi
44971 fi
44972
44973 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44974
44975
44976 pkg_failed=no
44977 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44978 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44979
44980 if test -n "$PKG_CONFIG"; then
44981 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44982 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44983 else
44984 if test -n "$PKG_CONFIG" && \
44985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44986 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44987 ac_status=$?
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); }; then
44990 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44991 else
44992 pkg_failed=yes
44993 fi
44994 fi
44995 else
44996 pkg_failed=untried
44997 fi
44998 if test -n "$PKG_CONFIG"; then
44999 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45000 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45001 else
45002 if test -n "$PKG_CONFIG" && \
45003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45004 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45005 ac_status=$?
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); }; then
45008 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45009 else
45010 pkg_failed=yes
45011 fi
45012 fi
45013 else
45014 pkg_failed=untried
45015 fi
45016
45017
45018
45019 if test $pkg_failed = yes; then
45020
45021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45022 _pkg_short_errors_supported=yes
45023 else
45024 _pkg_short_errors_supported=no
45025 fi
45026 if test $_pkg_short_errors_supported = yes; then
45027 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45028 else
45029 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45030 fi
45031 # Put the nasty error message in config.log where it belongs
45032 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45033
45034
45035 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45036 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45037 wxUSE_LIBGNOMEPRINT="no"
45038
45039
45040 elif test $pkg_failed = untried; then
45041
45042 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45043 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45044 wxUSE_LIBGNOMEPRINT="no"
45045
45046
45047 else
45048 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45049 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45050 { echo "$as_me:$LINENO: result: yes" >&5
45051 echo "${ECHO_T}yes" >&6; }
45052
45053 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45054 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_LIBGNOMEPRINT 1
45057 _ACEOF
45058
45059
45060 fi
45061 fi
45062 fi
45063
45064 if test "$wxUSE_MIMETYPE" = "yes" ; then
45065 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45066
45067
45068 pkg_failed=no
45069 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45070 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45071
45072 if test -n "$PKG_CONFIG"; then
45073 if test -n "$GNOMEVFS_CFLAGS"; then
45074 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45075 else
45076 if test -n "$PKG_CONFIG" && \
45077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45078 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; then
45082 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45083 else
45084 pkg_failed=yes
45085 fi
45086 fi
45087 else
45088 pkg_failed=untried
45089 fi
45090 if test -n "$PKG_CONFIG"; then
45091 if test -n "$GNOMEVFS_LIBS"; then
45092 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45093 else
45094 if test -n "$PKG_CONFIG" && \
45095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45096 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; then
45100 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45101 else
45102 pkg_failed=yes
45103 fi
45104 fi
45105 else
45106 pkg_failed=untried
45107 fi
45108
45109
45110
45111 if test $pkg_failed = yes; then
45112
45113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45114 _pkg_short_errors_supported=yes
45115 else
45116 _pkg_short_errors_supported=no
45117 fi
45118 if test $_pkg_short_errors_supported = yes; then
45119 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45120 else
45121 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45122 fi
45123 # Put the nasty error message in config.log where it belongs
45124 echo "$GNOMEVFS_PKG_ERRORS" >&5
45125
45126
45127 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45128 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45129 wxUSE_LIBGNOMEVFS="no"
45130
45131
45132 elif test $pkg_failed = untried; then
45133
45134 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45135 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45136 wxUSE_LIBGNOMEVFS="no"
45137
45138
45139 else
45140 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45141 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45142 { echo "$as_me:$LINENO: result: yes" >&5
45143 echo "${ECHO_T}yes" >&6; }
45144
45145 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45146 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_LIBGNOMEVFS 1
45149 _ACEOF
45150
45151
45152 fi
45153 fi
45154 fi
45155
45156 if test "$wxUSE_LIBHILDON" = "yes" ; then
45157
45158 pkg_failed=no
45159 { echo "$as_me:$LINENO: checking for HILDON" >&5
45160 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45161
45162 if test -n "$PKG_CONFIG"; then
45163 if test -n "$HILDON_CFLAGS"; then
45164 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45165 else
45166 if test -n "$PKG_CONFIG" && \
45167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45168 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45169 ac_status=$?
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; then
45172 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45173 else
45174 pkg_failed=yes
45175 fi
45176 fi
45177 else
45178 pkg_failed=untried
45179 fi
45180 if test -n "$PKG_CONFIG"; then
45181 if test -n "$HILDON_LIBS"; then
45182 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45183 else
45184 if test -n "$PKG_CONFIG" && \
45185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45186 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45187 ac_status=$?
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; then
45190 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45191 else
45192 pkg_failed=yes
45193 fi
45194 fi
45195 else
45196 pkg_failed=untried
45197 fi
45198
45199
45200
45201 if test $pkg_failed = yes; then
45202
45203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45204 _pkg_short_errors_supported=yes
45205 else
45206 _pkg_short_errors_supported=no
45207 fi
45208 if test $_pkg_short_errors_supported = yes; then
45209 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45210 else
45211 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45212 fi
45213 # Put the nasty error message in config.log where it belongs
45214 echo "$HILDON_PKG_ERRORS" >&5
45215
45216
45217 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45218 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45219 wxUSE_LIBHILDON="no"
45220
45221
45222 elif test $pkg_failed = untried; then
45223
45224 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45225 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45226 wxUSE_LIBHILDON="no"
45227
45228
45229 else
45230 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45231 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45232 { echo "$as_me:$LINENO: result: yes" >&5
45233 echo "${ECHO_T}yes" >&6; }
45234
45235 EXTRALIBS_HILDON="$HILDON_LIBS"
45236 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45237 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_LIBHILDON 1
45240 _ACEOF
45241
45242
45243 fi
45244 fi
45245 fi
45246
45247 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_CMDLINE_PARSER 1
45250 _ACEOF
45251
45252 fi
45253
45254 if test "$wxUSE_STOPWATCH" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_STOPWATCH 1
45257 _ACEOF
45258
45259 fi
45260
45261 if test "$wxUSE_DATETIME" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_DATETIME 1
45264 _ACEOF
45265
45266 fi
45267
45268 if test "$wxUSE_FILE" = "yes"; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_FILE 1
45271 _ACEOF
45272
45273 fi
45274
45275 if test "$wxUSE_FFILE" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_FFILE 1
45278 _ACEOF
45279
45280 fi
45281
45282 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45283 if test "$wxUSE_STREAMS" != yes; then
45284 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45285 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45286 wxUSE_ARCHIVE_STREAMS=no
45287 else
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_ARCHIVE_STREAMS 1
45290 _ACEOF
45291
45292 fi
45293 fi
45294
45295 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45296 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45298 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45299 elif test "$wxUSE_ZLIB" = "no"; then
45300 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45301 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45302 else
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_ZIPSTREAM 1
45305 _ACEOF
45306
45307 fi
45308 fi
45309
45310 if test "$wxUSE_TARSTREAM" = "yes"; then
45311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45313 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45314 else
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TARSTREAM 1
45317 _ACEOF
45318
45319 fi
45320 fi
45321
45322 if test "$wxUSE_FILESYSTEM" = "yes"; then
45323 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45324 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45325 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45326 wxUSE_FILESYSTEM=no
45327 else
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_FILESYSTEM 1
45330 _ACEOF
45331
45332 fi
45333 fi
45334
45335 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45336 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45337 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45338 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45339 else
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_FS_ARCHIVE 1
45342 _ACEOF
45343
45344 fi
45345 fi
45346
45347 if test "$wxUSE_FS_ZIP" = "yes"; then
45348 if test "$wxUSE_FS_ARCHIVE" != yes; then
45349 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45350 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45351 else
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_FS_ZIP 1
45354 _ACEOF
45355
45356 fi
45357 fi
45358
45359 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45360 if test "$USE_UNIX" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45362 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45363 wxUSE_ON_FATAL_EXCEPTION=no
45364 else
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_ON_FATAL_EXCEPTION 1
45367 _ACEOF
45368
45369 fi
45370 fi
45371
45372 if test "$wxUSE_STACKWALKER" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_STACKWALKER 1
45375 _ACEOF
45376
45377 fi
45378
45379 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45380 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45381 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45382 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45383 wxUSE_DEBUGREPORT=no
45384 else
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_DEBUGREPORT 1
45387 _ACEOF
45388
45389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45391 fi
45392 fi
45393 fi
45394
45395 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_SNGLINST_CHECKER 1
45398 _ACEOF
45399
45400 fi
45401
45402 if test "$wxUSE_BUSYINFO" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_BUSYINFO 1
45405 _ACEOF
45406
45407 fi
45408
45409 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_STD_IOSTREAM 1
45412 _ACEOF
45413
45414 fi
45415
45416 if test "$wxUSE_STD_STRING" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_STD_STRING 1
45419 _ACEOF
45420
45421 fi
45422
45423 if test "$wxUSE_STDPATHS" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_STDPATHS 1
45426 _ACEOF
45427
45428 fi
45429
45430 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_TEXTBUFFER 1
45433 _ACEOF
45434
45435 fi
45436
45437 if test "$wxUSE_TEXTFILE" = "yes"; then
45438 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45439 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45440 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45441 else
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_TEXTFILE 1
45444 _ACEOF
45445
45446 fi
45447 fi
45448
45449 if test "$wxUSE_CONFIG" = "yes" ; then
45450 if test "$wxUSE_TEXTFILE" != "yes"; then
45451 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45452 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45453 else
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_CONFIG 1
45456 _ACEOF
45457
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_CONFIG_NATIVE 1
45460 _ACEOF
45461
45462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45463 fi
45464 fi
45465
45466 if test "$wxUSE_INTL" = "yes" ; then
45467 if test "$wxUSE_FILE" != "yes"; then
45468 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45469 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45470 else
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_INTL 1
45473 _ACEOF
45474
45475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45476 GUIDIST="$GUIDIST INTL_DIST"
45477 fi
45478 fi
45479
45480 if test "$wxUSE_LOG" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_LOG 1
45483 _ACEOF
45484
45485
45486 if test "$wxUSE_LOGGUI" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LOGGUI 1
45489 _ACEOF
45490
45491 fi
45492
45493 if test "$wxUSE_LOGWINDOW" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_LOGWINDOW 1
45496 _ACEOF
45497
45498 fi
45499
45500 if test "$wxUSE_LOGDIALOG" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_LOG_DIALOG 1
45503 _ACEOF
45504
45505 fi
45506
45507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45508 fi
45509
45510 if test "$wxUSE_LONGLONG" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_LONGLONG 1
45513 _ACEOF
45514
45515 fi
45516
45517 if test "$wxUSE_GEOMETRY" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_GEOMETRY 1
45520 _ACEOF
45521
45522 fi
45523
45524 if test "$wxUSE_BASE64" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_BASE64 1
45527 _ACEOF
45528
45529 fi
45530
45531 if test "$wxUSE_STREAMS" = "yes" ; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_STREAMS 1
45534 _ACEOF
45535
45536 fi
45537
45538 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_PRINTF_POS_PARAMS 1
45541 _ACEOF
45542
45543 fi
45544
45545 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_OBJC_UNIQUIFYING 1
45548 _ACEOF
45549
45550 fi
45551
45552
45553 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_CONSOLE_EVENTLOOP 1
45556 _ACEOF
45557
45558
45559 if test "$wxUSE_UNIX" = "yes"; then
45560 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_SELECT_DISPATCHER 1
45563 _ACEOF
45564
45565 fi
45566
45567 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45568
45569 for ac_header in sys/epoll.h
45570 do
45571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45575 echo $ECHO_N "(cached) $ECHO_C" >&6
45576 else
45577 cat >conftest.$ac_ext <<_ACEOF
45578 /* confdefs.h. */
45579 _ACEOF
45580 cat confdefs.h >>conftest.$ac_ext
45581 cat >>conftest.$ac_ext <<_ACEOF
45582 /* end confdefs.h. */
45583 $ac_includes_default
45584
45585 #include <$ac_header>
45586 _ACEOF
45587 rm -f conftest.$ac_objext
45588 if { (ac_try="$ac_compile"
45589 case "(($ac_try" in
45590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45591 *) ac_try_echo=$ac_try;;
45592 esac
45593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45594 (eval "$ac_compile") 2>conftest.er1
45595 ac_status=$?
45596 grep -v '^ *+' conftest.er1 >conftest.err
45597 rm -f conftest.er1
45598 cat conftest.err >&5
45599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45600 (exit $ac_status); } && {
45601 test -z "$ac_c_werror_flag" ||
45602 test ! -s conftest.err
45603 } && test -s conftest.$ac_objext; then
45604 eval "$as_ac_Header=yes"
45605 else
45606 echo "$as_me: failed program was:" >&5
45607 sed 's/^/| /' conftest.$ac_ext >&5
45608
45609 eval "$as_ac_Header=no"
45610 fi
45611
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613 fi
45614 ac_res=`eval echo '${'$as_ac_Header'}'`
45615 { echo "$as_me:$LINENO: result: $ac_res" >&5
45616 echo "${ECHO_T}$ac_res" >&6; }
45617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45618 cat >>confdefs.h <<_ACEOF
45619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45620 _ACEOF
45621
45622 fi
45623
45624 done
45625
45626 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_EPOLL_DISPATCHER 1
45629 _ACEOF
45630
45631 else
45632 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45633 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45634 fi
45635 fi
45636 fi
45637 fi
45638
45639
45640
45641
45642 for ac_func in gettimeofday ftime
45643 do
45644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 else
45650 cat >conftest.$ac_ext <<_ACEOF
45651 /* confdefs.h. */
45652 _ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45658 #define $ac_func innocuous_$ac_func
45659
45660 /* System header to define __stub macros and hopefully few prototypes,
45661 which can conflict with char $ac_func (); below.
45662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45663 <limits.h> exists even on freestanding compilers. */
45664
45665 #ifdef __STDC__
45666 # include <limits.h>
45667 #else
45668 # include <assert.h>
45669 #endif
45670
45671 #undef $ac_func
45672
45673 /* Override any GCC internal prototype to avoid an error.
45674 Use char because int might match the return type of a GCC
45675 builtin and then its argument prototype would still apply. */
45676 #ifdef __cplusplus
45677 extern "C"
45678 #endif
45679 char $ac_func ();
45680 /* The GNU C library defines this for functions which it implements
45681 to always fail with ENOSYS. Some functions are actually named
45682 something starting with __ and the normal name is an alias. */
45683 #if defined __stub_$ac_func || defined __stub___$ac_func
45684 choke me
45685 #endif
45686
45687 int
45688 main ()
45689 {
45690 return $ac_func ();
45691 ;
45692 return 0;
45693 }
45694 _ACEOF
45695 rm -f conftest.$ac_objext conftest$ac_exeext
45696 if { (ac_try="$ac_link"
45697 case "(($ac_try" in
45698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45699 *) ac_try_echo=$ac_try;;
45700 esac
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_link") 2>conftest.er1
45703 ac_status=$?
45704 grep -v '^ *+' conftest.er1 >conftest.err
45705 rm -f conftest.er1
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } && {
45709 test -z "$ac_c_werror_flag" ||
45710 test ! -s conftest.err
45711 } && test -s conftest$ac_exeext &&
45712 $as_test_x conftest$ac_exeext; then
45713 eval "$as_ac_var=yes"
45714 else
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.$ac_ext >&5
45717
45718 eval "$as_ac_var=no"
45719 fi
45720
45721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45722 conftest$ac_exeext conftest.$ac_ext
45723 fi
45724 ac_res=`eval echo '${'$as_ac_var'}'`
45725 { echo "$as_me:$LINENO: result: $ac_res" >&5
45726 echo "${ECHO_T}$ac_res" >&6; }
45727 if test `eval echo '${'$as_ac_var'}'` = yes; then
45728 cat >>confdefs.h <<_ACEOF
45729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45730 _ACEOF
45731 break
45732 fi
45733 done
45734
45735
45736 if test "$ac_cv_func_gettimeofday" = "yes"; then
45737 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45738 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45739 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45740 echo $ECHO_N "(cached) $ECHO_C" >&6
45741 else
45742
45743 cat >conftest.$ac_ext <<_ACEOF
45744 /* confdefs.h. */
45745 _ACEOF
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h. */
45749
45750 #include <sys/time.h>
45751 #include <unistd.h>
45752
45753 int
45754 main ()
45755 {
45756
45757 struct timeval tv;
45758 gettimeofday(&tv, NULL);
45759
45760 ;
45761 return 0;
45762 }
45763 _ACEOF
45764 rm -f conftest.$ac_objext
45765 if { (ac_try="$ac_compile"
45766 case "(($ac_try" in
45767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45768 *) ac_try_echo=$ac_try;;
45769 esac
45770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45771 (eval "$ac_compile") 2>conftest.er1
45772 ac_status=$?
45773 grep -v '^ *+' conftest.er1 >conftest.err
45774 rm -f conftest.er1
45775 cat conftest.err >&5
45776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45777 (exit $ac_status); } && {
45778 test -z "$ac_c_werror_flag" ||
45779 test ! -s conftest.err
45780 } && test -s conftest.$ac_objext; then
45781 wx_cv_func_gettimeofday_has_2_args=yes
45782 else
45783 echo "$as_me: failed program was:" >&5
45784 sed 's/^/| /' conftest.$ac_ext >&5
45785
45786 cat >conftest.$ac_ext <<_ACEOF
45787 /* confdefs.h. */
45788 _ACEOF
45789 cat confdefs.h >>conftest.$ac_ext
45790 cat >>conftest.$ac_ext <<_ACEOF
45791 /* end confdefs.h. */
45792
45793 #include <sys/time.h>
45794 #include <unistd.h>
45795
45796 int
45797 main ()
45798 {
45799
45800 struct timeval tv;
45801 gettimeofday(&tv);
45802
45803 ;
45804 return 0;
45805 }
45806 _ACEOF
45807 rm -f conftest.$ac_objext
45808 if { (ac_try="$ac_compile"
45809 case "(($ac_try" in
45810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45811 *) ac_try_echo=$ac_try;;
45812 esac
45813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45814 (eval "$ac_compile") 2>conftest.er1
45815 ac_status=$?
45816 grep -v '^ *+' conftest.er1 >conftest.err
45817 rm -f conftest.er1
45818 cat conftest.err >&5
45819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820 (exit $ac_status); } && {
45821 test -z "$ac_c_werror_flag" ||
45822 test ! -s conftest.err
45823 } && test -s conftest.$ac_objext; then
45824 wx_cv_func_gettimeofday_has_2_args=no
45825 else
45826 echo "$as_me: failed program was:" >&5
45827 sed 's/^/| /' conftest.$ac_ext >&5
45828
45829
45830 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45831 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45832 wx_cv_func_gettimeofday_has_2_args=unknown
45833
45834
45835 fi
45836
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838
45839 fi
45840
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842
45843 fi
45844 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45845 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45846
45847 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define WX_GETTIMEOFDAY_NO_TZ 1
45850 _ACEOF
45851
45852 fi
45853 fi
45854
45855 if test "$wxUSE_DATETIME" = "yes"; then
45856 { echo "$as_me:$LINENO: checking for strptime" >&5
45857 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45858 if test "${ac_cv_func_strptime+set}" = set; then
45859 echo $ECHO_N "(cached) $ECHO_C" >&6
45860 else
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45869 #define strptime innocuous_strptime
45870
45871 /* System header to define __stub macros and hopefully few prototypes,
45872 which can conflict with char strptime (); below.
45873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45874 <limits.h> exists even on freestanding compilers. */
45875
45876 #ifdef __STDC__
45877 # include <limits.h>
45878 #else
45879 # include <assert.h>
45880 #endif
45881
45882 #undef strptime
45883
45884 /* Override any GCC internal prototype to avoid an error.
45885 Use char because int might match the return type of a GCC
45886 builtin and then its argument prototype would still apply. */
45887 #ifdef __cplusplus
45888 extern "C"
45889 #endif
45890 char strptime ();
45891 /* The GNU C library defines this for functions which it implements
45892 to always fail with ENOSYS. Some functions are actually named
45893 something starting with __ and the normal name is an alias. */
45894 #if defined __stub_strptime || defined __stub___strptime
45895 choke me
45896 #endif
45897
45898 int
45899 main ()
45900 {
45901 return strptime ();
45902 ;
45903 return 0;
45904 }
45905 _ACEOF
45906 rm -f conftest.$ac_objext conftest$ac_exeext
45907 if { (ac_try="$ac_link"
45908 case "(($ac_try" in
45909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45910 *) ac_try_echo=$ac_try;;
45911 esac
45912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45913 (eval "$ac_link") 2>conftest.er1
45914 ac_status=$?
45915 grep -v '^ *+' conftest.er1 >conftest.err
45916 rm -f conftest.er1
45917 cat conftest.err >&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); } && {
45920 test -z "$ac_c_werror_flag" ||
45921 test ! -s conftest.err
45922 } && test -s conftest$ac_exeext &&
45923 $as_test_x conftest$ac_exeext; then
45924 ac_cv_func_strptime=yes
45925 else
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45928
45929 ac_cv_func_strptime=no
45930 fi
45931
45932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45933 conftest$ac_exeext conftest.$ac_ext
45934 fi
45935 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45936 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45937
45938 if test "$ac_cv_func_strptime" = "yes"; then
45939 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45940 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45941 if test "${wx_cv_func_strptime_decl+set}" = set; then
45942 echo $ECHO_N "(cached) $ECHO_C" >&6
45943 else
45944
45945 ac_ext=cpp
45946 ac_cpp='$CXXCPP $CPPFLAGS'
45947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45950
45951 cat >conftest.$ac_ext <<_ACEOF
45952 /* confdefs.h. */
45953 _ACEOF
45954 cat confdefs.h >>conftest.$ac_ext
45955 cat >>conftest.$ac_ext <<_ACEOF
45956 /* end confdefs.h. */
45957
45958 #include <time.h>
45959
45960 int
45961 main ()
45962 {
45963
45964 struct tm t;
45965 strptime("foo", "bar", &t);
45966
45967 ;
45968 return 0;
45969 }
45970 _ACEOF
45971 rm -f conftest.$ac_objext
45972 if { (ac_try="$ac_compile"
45973 case "(($ac_try" in
45974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45975 *) ac_try_echo=$ac_try;;
45976 esac
45977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45978 (eval "$ac_compile") 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } && {
45985 test -z "$ac_cxx_werror_flag" ||
45986 test ! -s conftest.err
45987 } && test -s conftest.$ac_objext; then
45988 wx_cv_func_strptime_decl=yes
45989 else
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45992
45993 wx_cv_func_strptime_decl=no
45994
45995 fi
45996
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45998 ac_ext=c
45999 ac_cpp='$CPP $CPPFLAGS'
46000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46003
46004
46005
46006 fi
46007 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46008 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46009 fi
46010 if test "$wx_cv_func_strptime_decl" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define HAVE_STRPTIME_DECL 1
46013 _ACEOF
46014
46015 else
46016 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46017 fi
46018 if test "$ac_cv_func_strptime" = "yes"; then
46019 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46020 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46021 if test "${wx_cv_func_strptime_ok+set}" = set; then
46022 echo $ECHO_N "(cached) $ECHO_C" >&6
46023 else
46024 if test "$cross_compiling" = yes; then
46025 wx_cv_func_strptime_ok=no
46026
46027 else
46028 cat >conftest.$ac_ext <<_ACEOF
46029
46030 #include <stdlib.h>
46031 #include <time.h>
46032 #include "confdefs.h"
46033
46034 $wx_strptime_decl
46035
46036 int main()
46037 {
46038 struct tm t;
46039 return !!strptime("", "%x", &t);
46040 }
46041
46042 _ACEOF
46043 rm -f conftest$ac_exeext
46044 if { (ac_try="$ac_link"
46045 case "(($ac_try" in
46046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46047 *) ac_try_echo=$ac_try;;
46048 esac
46049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46050 (eval "$ac_link") 2>&5
46051 ac_status=$?
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46054 { (case "(($ac_try" in
46055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46056 *) ac_try_echo=$ac_try;;
46057 esac
46058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46059 (eval "$ac_try") 2>&5
46060 ac_status=$?
46061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46062 (exit $ac_status); }; }; then
46063 wx_cv_func_strptime_ok=yes
46064 else
46065 echo "$as_me: program exited with status $ac_status" >&5
46066 echo "$as_me: failed program was:" >&5
46067 sed 's/^/| /' conftest.$ac_ext >&5
46068
46069 ( exit $ac_status )
46070 wx_cv_func_strptime_ok=no
46071 fi
46072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46073 fi
46074
46075
46076
46077 fi
46078 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46079 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46080
46081 if test "$wx_cv_func_strptime_ok" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define HAVE_STRPTIME 1
46084 _ACEOF
46085
46086 fi
46087 fi
46088
46089 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46090 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46091 if test "${wx_cv_var_timezone+set}" = set; then
46092 echo $ECHO_N "(cached) $ECHO_C" >&6
46093 else
46094
46095 ac_ext=cpp
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46100
46101 cat >conftest.$ac_ext <<_ACEOF
46102 /* confdefs.h. */
46103 _ACEOF
46104 cat confdefs.h >>conftest.$ac_ext
46105 cat >>conftest.$ac_ext <<_ACEOF
46106 /* end confdefs.h. */
46107
46108 #include <time.h>
46109
46110 int
46111 main ()
46112 {
46113
46114 int tz;
46115 tz = timezone;
46116
46117 ;
46118 return 0;
46119 }
46120 _ACEOF
46121 rm -f conftest.$ac_objext
46122 if { (ac_try="$ac_compile"
46123 case "(($ac_try" in
46124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46125 *) ac_try_echo=$ac_try;;
46126 esac
46127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46128 (eval "$ac_compile") 2>conftest.er1
46129 ac_status=$?
46130 grep -v '^ *+' conftest.er1 >conftest.err
46131 rm -f conftest.er1
46132 cat conftest.err >&5
46133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134 (exit $ac_status); } && {
46135 test -z "$ac_cxx_werror_flag" ||
46136 test ! -s conftest.err
46137 } && test -s conftest.$ac_objext; then
46138
46139 wx_cv_var_timezone=timezone
46140
46141 else
46142 echo "$as_me: failed program was:" >&5
46143 sed 's/^/| /' conftest.$ac_ext >&5
46144
46145
46146 cat >conftest.$ac_ext <<_ACEOF
46147 /* confdefs.h. */
46148 _ACEOF
46149 cat confdefs.h >>conftest.$ac_ext
46150 cat >>conftest.$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46152
46153 #include <time.h>
46154
46155 int
46156 main ()
46157 {
46158
46159 int tz;
46160 tz = _timezone;
46161
46162 ;
46163 return 0;
46164 }
46165 _ACEOF
46166 rm -f conftest.$ac_objext
46167 if { (ac_try="$ac_compile"
46168 case "(($ac_try" in
46169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46170 *) ac_try_echo=$ac_try;;
46171 esac
46172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46173 (eval "$ac_compile") 2>conftest.er1
46174 ac_status=$?
46175 grep -v '^ *+' conftest.er1 >conftest.err
46176 rm -f conftest.er1
46177 cat conftest.err >&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } && {
46180 test -z "$ac_cxx_werror_flag" ||
46181 test ! -s conftest.err
46182 } && test -s conftest.$ac_objext; then
46183
46184 wx_cv_var_timezone=_timezone
46185
46186 else
46187 echo "$as_me: failed program was:" >&5
46188 sed 's/^/| /' conftest.$ac_ext >&5
46189
46190
46191 cat >conftest.$ac_ext <<_ACEOF
46192 /* confdefs.h. */
46193 _ACEOF
46194 cat confdefs.h >>conftest.$ac_ext
46195 cat >>conftest.$ac_ext <<_ACEOF
46196 /* end confdefs.h. */
46197
46198 #include <time.h>
46199
46200 int
46201 main ()
46202 {
46203
46204 int tz;
46205 tz = __timezone;
46206
46207 ;
46208 return 0;
46209 }
46210 _ACEOF
46211 rm -f conftest.$ac_objext
46212 if { (ac_try="$ac_compile"
46213 case "(($ac_try" in
46214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46215 *) ac_try_echo=$ac_try;;
46216 esac
46217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46218 (eval "$ac_compile") 2>conftest.er1
46219 ac_status=$?
46220 grep -v '^ *+' conftest.er1 >conftest.err
46221 rm -f conftest.er1
46222 cat conftest.err >&5
46223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224 (exit $ac_status); } && {
46225 test -z "$ac_cxx_werror_flag" ||
46226 test ! -s conftest.err
46227 } && test -s conftest.$ac_objext; then
46228
46229 wx_cv_var_timezone=__timezone
46230
46231 else
46232 echo "$as_me: failed program was:" >&5
46233 sed 's/^/| /' conftest.$ac_ext >&5
46234
46235
46236 if test "$USE_DOS" = 0 ; then
46237 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46238 echo "$as_me: WARNING: no timezone variable" >&2;}
46239 fi
46240
46241
46242 fi
46243
46244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46245
46246
46247 fi
46248
46249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250
46251
46252 fi
46253
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262
46263 fi
46264 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46265 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46266
46267 if test "x$wx_cv_var_timezone" != x ; then
46268 cat >>confdefs.h <<_ACEOF
46269 #define WX_TIMEZONE $wx_cv_var_timezone
46270 _ACEOF
46271
46272 fi
46273
46274
46275 for ac_func in localtime
46276 do
46277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46281 echo $ECHO_N "(cached) $ECHO_C" >&6
46282 else
46283 cat >conftest.$ac_ext <<_ACEOF
46284 /* confdefs.h. */
46285 _ACEOF
46286 cat confdefs.h >>conftest.$ac_ext
46287 cat >>conftest.$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46291 #define $ac_func innocuous_$ac_func
46292
46293 /* System header to define __stub macros and hopefully few prototypes,
46294 which can conflict with char $ac_func (); below.
46295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46296 <limits.h> exists even on freestanding compilers. */
46297
46298 #ifdef __STDC__
46299 # include <limits.h>
46300 #else
46301 # include <assert.h>
46302 #endif
46303
46304 #undef $ac_func
46305
46306 /* Override any GCC internal prototype to avoid an error.
46307 Use char because int might match the return type of a GCC
46308 builtin and then its argument prototype would still apply. */
46309 #ifdef __cplusplus
46310 extern "C"
46311 #endif
46312 char $ac_func ();
46313 /* The GNU C library defines this for functions which it implements
46314 to always fail with ENOSYS. Some functions are actually named
46315 something starting with __ and the normal name is an alias. */
46316 #if defined __stub_$ac_func || defined __stub___$ac_func
46317 choke me
46318 #endif
46319
46320 int
46321 main ()
46322 {
46323 return $ac_func ();
46324 ;
46325 return 0;
46326 }
46327 _ACEOF
46328 rm -f conftest.$ac_objext conftest$ac_exeext
46329 if { (ac_try="$ac_link"
46330 case "(($ac_try" in
46331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46333 esac
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_link") 2>conftest.er1
46336 ac_status=$?
46337 grep -v '^ *+' conftest.er1 >conftest.err
46338 rm -f conftest.er1
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest$ac_exeext &&
46345 $as_test_x conftest$ac_exeext; then
46346 eval "$as_ac_var=yes"
46347 else
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46350
46351 eval "$as_ac_var=no"
46352 fi
46353
46354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46355 conftest$ac_exeext conftest.$ac_ext
46356 fi
46357 ac_res=`eval echo '${'$as_ac_var'}'`
46358 { echo "$as_me:$LINENO: result: $ac_res" >&5
46359 echo "${ECHO_T}$ac_res" >&6; }
46360 if test `eval echo '${'$as_ac_var'}'` = yes; then
46361 cat >>confdefs.h <<_ACEOF
46362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46363 _ACEOF
46364
46365 fi
46366 done
46367
46368
46369 if test "$ac_cv_func_localtime" = "yes"; then
46370 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46371 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46372 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46373 echo $ECHO_N "(cached) $ECHO_C" >&6
46374 else
46375
46376 cat >conftest.$ac_ext <<_ACEOF
46377 /* confdefs.h. */
46378 _ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h. */
46382
46383 #include <time.h>
46384
46385 int
46386 main ()
46387 {
46388
46389 struct tm tm;
46390 tm.tm_gmtoff++;
46391
46392 ;
46393 return 0;
46394 }
46395 _ACEOF
46396 rm -f conftest.$ac_objext
46397 if { (ac_try="$ac_compile"
46398 case "(($ac_try" in
46399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46400 *) ac_try_echo=$ac_try;;
46401 esac
46402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46403 (eval "$ac_compile") 2>conftest.er1
46404 ac_status=$?
46405 grep -v '^ *+' conftest.er1 >conftest.err
46406 rm -f conftest.er1
46407 cat conftest.err >&5
46408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46409 (exit $ac_status); } && {
46410 test -z "$ac_c_werror_flag" ||
46411 test ! -s conftest.err
46412 } && test -s conftest.$ac_objext; then
46413
46414 wx_cv_struct_tm_has_gmtoff=yes
46415
46416 else
46417 echo "$as_me: failed program was:" >&5
46418 sed 's/^/| /' conftest.$ac_ext >&5
46419
46420 wx_cv_struct_tm_has_gmtoff=no
46421
46422 fi
46423
46424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46425
46426 fi
46427 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46428 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46429 fi
46430
46431 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define WX_GMTOFF_IN_TM 1
46434 _ACEOF
46435
46436 fi
46437
46438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46439 fi
46440
46441
46442 if test "$wxUSE_SOCKETS" = "yes"; then
46443 if test "$wxUSE_MGL" = 1; then
46444 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46445 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46446 wxUSE_SOCKETS="no"
46447 fi
46448 fi
46449
46450 if test "$wxUSE_SOCKETS" = "yes"; then
46451 if test "$TOOLKIT" != "MSW"; then
46452 { echo "$as_me:$LINENO: checking for socket" >&5
46453 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46454 if test "${ac_cv_func_socket+set}" = set; then
46455 echo $ECHO_N "(cached) $ECHO_C" >&6
46456 else
46457 cat >conftest.$ac_ext <<_ACEOF
46458 /* confdefs.h. */
46459 _ACEOF
46460 cat confdefs.h >>conftest.$ac_ext
46461 cat >>conftest.$ac_ext <<_ACEOF
46462 /* end confdefs.h. */
46463 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46465 #define socket innocuous_socket
46466
46467 /* System header to define __stub macros and hopefully few prototypes,
46468 which can conflict with char socket (); below.
46469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46470 <limits.h> exists even on freestanding compilers. */
46471
46472 #ifdef __STDC__
46473 # include <limits.h>
46474 #else
46475 # include <assert.h>
46476 #endif
46477
46478 #undef socket
46479
46480 /* Override any GCC internal prototype to avoid an error.
46481 Use char because int might match the return type of a GCC
46482 builtin and then its argument prototype would still apply. */
46483 #ifdef __cplusplus
46484 extern "C"
46485 #endif
46486 char socket ();
46487 /* The GNU C library defines this for functions which it implements
46488 to always fail with ENOSYS. Some functions are actually named
46489 something starting with __ and the normal name is an alias. */
46490 #if defined __stub_socket || defined __stub___socket
46491 choke me
46492 #endif
46493
46494 int
46495 main ()
46496 {
46497 return socket ();
46498 ;
46499 return 0;
46500 }
46501 _ACEOF
46502 rm -f conftest.$ac_objext conftest$ac_exeext
46503 if { (ac_try="$ac_link"
46504 case "(($ac_try" in
46505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46506 *) ac_try_echo=$ac_try;;
46507 esac
46508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46509 (eval "$ac_link") 2>conftest.er1
46510 ac_status=$?
46511 grep -v '^ *+' conftest.er1 >conftest.err
46512 rm -f conftest.er1
46513 cat conftest.err >&5
46514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46515 (exit $ac_status); } && {
46516 test -z "$ac_c_werror_flag" ||
46517 test ! -s conftest.err
46518 } && test -s conftest$ac_exeext &&
46519 $as_test_x conftest$ac_exeext; then
46520 ac_cv_func_socket=yes
46521 else
46522 echo "$as_me: failed program was:" >&5
46523 sed 's/^/| /' conftest.$ac_ext >&5
46524
46525 ac_cv_func_socket=no
46526 fi
46527
46528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46529 conftest$ac_exeext conftest.$ac_ext
46530 fi
46531 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46532 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46533 if test $ac_cv_func_socket = yes; then
46534 :
46535 else
46536
46537 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46538 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46539 if test "${ac_cv_lib_socket_socket+set}" = set; then
46540 echo $ECHO_N "(cached) $ECHO_C" >&6
46541 else
46542 ac_check_lib_save_LIBS=$LIBS
46543 LIBS="-lsocket $LIBS"
46544 cat >conftest.$ac_ext <<_ACEOF
46545 /* confdefs.h. */
46546 _ACEOF
46547 cat confdefs.h >>conftest.$ac_ext
46548 cat >>conftest.$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46550
46551 /* Override any GCC internal prototype to avoid an error.
46552 Use char because int might match the return type of a GCC
46553 builtin and then its argument prototype would still apply. */
46554 #ifdef __cplusplus
46555 extern "C"
46556 #endif
46557 char socket ();
46558 int
46559 main ()
46560 {
46561 return socket ();
46562 ;
46563 return 0;
46564 }
46565 _ACEOF
46566 rm -f conftest.$ac_objext conftest$ac_exeext
46567 if { (ac_try="$ac_link"
46568 case "(($ac_try" in
46569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46570 *) ac_try_echo=$ac_try;;
46571 esac
46572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46573 (eval "$ac_link") 2>conftest.er1
46574 ac_status=$?
46575 grep -v '^ *+' conftest.er1 >conftest.err
46576 rm -f conftest.er1
46577 cat conftest.err >&5
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); } && {
46580 test -z "$ac_c_werror_flag" ||
46581 test ! -s conftest.err
46582 } && test -s conftest$ac_exeext &&
46583 $as_test_x conftest$ac_exeext; then
46584 ac_cv_lib_socket_socket=yes
46585 else
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46588
46589 ac_cv_lib_socket_socket=no
46590 fi
46591
46592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46593 conftest$ac_exeext conftest.$ac_ext
46594 LIBS=$ac_check_lib_save_LIBS
46595 fi
46596 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46597 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46598 if test $ac_cv_lib_socket_socket = yes; then
46599 if test "$INET_LINK" != " -lsocket"; then
46600 INET_LINK="$INET_LINK -lsocket"
46601 fi
46602 else
46603
46604 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46605 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46606 wxUSE_SOCKETS=no
46607
46608
46609 fi
46610
46611
46612
46613 fi
46614
46615 fi
46616 fi
46617
46618 if test "$wxUSE_SOCKETS" = "yes" ; then
46619 if test "$TOOLKIT" != "MSW"; then
46620 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46621 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46622 if test "${wx_cv_type_getsockname3+set}" = set; then
46623 echo $ECHO_N "(cached) $ECHO_C" >&6
46624 else
46625
46626 ac_ext=cpp
46627 ac_cpp='$CXXCPP $CPPFLAGS'
46628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46631
46632 cat >conftest.$ac_ext <<_ACEOF
46633 /* confdefs.h. */
46634 _ACEOF
46635 cat confdefs.h >>conftest.$ac_ext
46636 cat >>conftest.$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46638
46639 #include <sys/types.h>
46640 #include <sys/socket.h>
46641
46642 int
46643 main ()
46644 {
46645
46646 socklen_t len;
46647 getsockname(0, 0, &len);
46648
46649 ;
46650 return 0;
46651 }
46652 _ACEOF
46653 rm -f conftest.$ac_objext
46654 if { (ac_try="$ac_compile"
46655 case "(($ac_try" in
46656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46657 *) ac_try_echo=$ac_try;;
46658 esac
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_compile") 2>conftest.er1
46661 ac_status=$?
46662 grep -v '^ *+' conftest.er1 >conftest.err
46663 rm -f conftest.er1
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_cxx_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest.$ac_objext; then
46670 wx_cv_type_getsockname3=socklen_t
46671 else
46672 echo "$as_me: failed program was:" >&5
46673 sed 's/^/| /' conftest.$ac_ext >&5
46674
46675
46676 CFLAGS_OLD="$CFLAGS"
46677 if test "$GCC" = yes ; then
46678 CFLAGS="-Werror $CFLAGS"
46679 fi
46680
46681 cat >conftest.$ac_ext <<_ACEOF
46682 /* confdefs.h. */
46683 _ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h. */
46687
46688 #include <sys/types.h>
46689 #include <sys/socket.h>
46690
46691 int
46692 main ()
46693 {
46694
46695 size_t len;
46696 getsockname(0, 0, &len);
46697
46698 ;
46699 return 0;
46700 }
46701 _ACEOF
46702 rm -f conftest.$ac_objext
46703 if { (ac_try="$ac_compile"
46704 case "(($ac_try" in
46705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46706 *) ac_try_echo=$ac_try;;
46707 esac
46708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46709 (eval "$ac_compile") 2>conftest.er1
46710 ac_status=$?
46711 grep -v '^ *+' conftest.er1 >conftest.err
46712 rm -f conftest.er1
46713 cat conftest.err >&5
46714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46715 (exit $ac_status); } && {
46716 test -z "$ac_cxx_werror_flag" ||
46717 test ! -s conftest.err
46718 } && test -s conftest.$ac_objext; then
46719 wx_cv_type_getsockname3=size_t
46720 else
46721 echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.$ac_ext >&5
46723
46724 cat >conftest.$ac_ext <<_ACEOF
46725 /* confdefs.h. */
46726 _ACEOF
46727 cat confdefs.h >>conftest.$ac_ext
46728 cat >>conftest.$ac_ext <<_ACEOF
46729 /* end confdefs.h. */
46730
46731 #include <sys/types.h>
46732 #include <sys/socket.h>
46733
46734 int
46735 main ()
46736 {
46737
46738 int len;
46739 getsockname(0, 0, &len);
46740
46741 ;
46742 return 0;
46743 }
46744 _ACEOF
46745 rm -f conftest.$ac_objext
46746 if { (ac_try="$ac_compile"
46747 case "(($ac_try" in
46748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46749 *) ac_try_echo=$ac_try;;
46750 esac
46751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46752 (eval "$ac_compile") 2>conftest.er1
46753 ac_status=$?
46754 grep -v '^ *+' conftest.er1 >conftest.err
46755 rm -f conftest.er1
46756 cat conftest.err >&5
46757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758 (exit $ac_status); } && {
46759 test -z "$ac_cxx_werror_flag" ||
46760 test ! -s conftest.err
46761 } && test -s conftest.$ac_objext; then
46762 wx_cv_type_getsockname3=int
46763 else
46764 echo "$as_me: failed program was:" >&5
46765 sed 's/^/| /' conftest.$ac_ext >&5
46766
46767 wx_cv_type_getsockname3=unknown
46768
46769 fi
46770
46771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46772
46773 fi
46774
46775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46776
46777 CFLAGS="$CFLAGS_OLD"
46778
46779
46780 fi
46781
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788
46789
46790 fi
46791 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46792 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46793
46794 if test "$wx_cv_type_getsockname3" = "unknown"; then
46795 wxUSE_SOCKETS=no
46796 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46797 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46798 else
46799 cat >>confdefs.h <<_ACEOF
46800 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46801 _ACEOF
46802
46803 fi
46804 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46805 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46806 if test "${wx_cv_type_getsockopt5+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46808 else
46809
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46815
46816 cat >conftest.$ac_ext <<_ACEOF
46817 /* confdefs.h. */
46818 _ACEOF
46819 cat confdefs.h >>conftest.$ac_ext
46820 cat >>conftest.$ac_ext <<_ACEOF
46821 /* end confdefs.h. */
46822
46823 #include <sys/types.h>
46824 #include <sys/socket.h>
46825
46826 int
46827 main ()
46828 {
46829
46830 socklen_t len;
46831 getsockopt(0, 0, 0, 0, &len);
46832
46833 ;
46834 return 0;
46835 }
46836 _ACEOF
46837 rm -f conftest.$ac_objext
46838 if { (ac_try="$ac_compile"
46839 case "(($ac_try" in
46840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46841 *) ac_try_echo=$ac_try;;
46842 esac
46843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46844 (eval "$ac_compile") 2>conftest.er1
46845 ac_status=$?
46846 grep -v '^ *+' conftest.er1 >conftest.err
46847 rm -f conftest.er1
46848 cat conftest.err >&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); } && {
46851 test -z "$ac_cxx_werror_flag" ||
46852 test ! -s conftest.err
46853 } && test -s conftest.$ac_objext; then
46854 wx_cv_type_getsockopt5=socklen_t
46855 else
46856 echo "$as_me: failed program was:" >&5
46857 sed 's/^/| /' conftest.$ac_ext >&5
46858
46859
46860 cat >conftest.$ac_ext <<_ACEOF
46861 /* confdefs.h. */
46862 _ACEOF
46863 cat confdefs.h >>conftest.$ac_ext
46864 cat >>conftest.$ac_ext <<_ACEOF
46865 /* end confdefs.h. */
46866
46867 #include <sys/types.h>
46868 #include <sys/socket.h>
46869
46870 int
46871 main ()
46872 {
46873
46874 size_t len;
46875 getsockopt(0, 0, 0, 0, &len);
46876
46877 ;
46878 return 0;
46879 }
46880 _ACEOF
46881 rm -f conftest.$ac_objext
46882 if { (ac_try="$ac_compile"
46883 case "(($ac_try" in
46884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46885 *) ac_try_echo=$ac_try;;
46886 esac
46887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46888 (eval "$ac_compile") 2>conftest.er1
46889 ac_status=$?
46890 grep -v '^ *+' conftest.er1 >conftest.err
46891 rm -f conftest.er1
46892 cat conftest.err >&5
46893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46894 (exit $ac_status); } && {
46895 test -z "$ac_cxx_werror_flag" ||
46896 test ! -s conftest.err
46897 } && test -s conftest.$ac_objext; then
46898 wx_cv_type_getsockopt5=size_t
46899 else
46900 echo "$as_me: failed program was:" >&5
46901 sed 's/^/| /' conftest.$ac_ext >&5
46902
46903 cat >conftest.$ac_ext <<_ACEOF
46904 /* confdefs.h. */
46905 _ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46909
46910 #include <sys/types.h>
46911 #include <sys/socket.h>
46912
46913 int
46914 main ()
46915 {
46916
46917 int len;
46918 getsockopt(0, 0, 0, 0, &len);
46919
46920 ;
46921 return 0;
46922 }
46923 _ACEOF
46924 rm -f conftest.$ac_objext
46925 if { (ac_try="$ac_compile"
46926 case "(($ac_try" in
46927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46928 *) ac_try_echo=$ac_try;;
46929 esac
46930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46931 (eval "$ac_compile") 2>conftest.er1
46932 ac_status=$?
46933 grep -v '^ *+' conftest.er1 >conftest.err
46934 rm -f conftest.er1
46935 cat conftest.err >&5
46936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46937 (exit $ac_status); } && {
46938 test -z "$ac_cxx_werror_flag" ||
46939 test ! -s conftest.err
46940 } && test -s conftest.$ac_objext; then
46941 wx_cv_type_getsockopt5=int
46942 else
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.$ac_ext >&5
46945
46946 wx_cv_type_getsockopt5=unknown
46947
46948 fi
46949
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951
46952 fi
46953
46954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46955
46956
46957 fi
46958
46959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46960 ac_ext=c
46961 ac_cpp='$CPP $CPPFLAGS'
46962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46965
46966
46967 fi
46968 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46969 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46970
46971 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46972 wxUSE_SOCKETS=no
46973 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46974 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46975 else
46976 cat >>confdefs.h <<_ACEOF
46977 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46978 _ACEOF
46979
46980 fi
46981 fi
46982 fi
46983
46984 if test "$wxUSE_SOCKETS" = "yes" ; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_SOCKETS 1
46987 _ACEOF
46988
46989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46990 fi
46991
46992 if test "$wxUSE_PROTOCOL" = "yes"; then
46993 if test "$wxUSE_SOCKETS" != "yes"; then
46994 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46995 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46996 wxUSE_PROTOCOL=no
46997 fi
46998 fi
46999
47000 if test "$wxUSE_PROTOCOL" = "yes"; then
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_PROTOCOL 1
47003 _ACEOF
47004
47005
47006 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_PROTOCOL_HTTP 1
47009 _ACEOF
47010
47011 fi
47012 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_PROTOCOL_FTP 1
47015 _ACEOF
47016
47017 fi
47018 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_PROTOCOL_FILE 1
47021 _ACEOF
47022
47023 fi
47024 else
47025 if test "$wxUSE_FS_INET" = "yes"; then
47026 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47027 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47028 wxUSE_FS_INET="no"
47029 fi
47030 fi
47031
47032 if test "$wxUSE_URL" = "yes"; then
47033 if test "$wxUSE_PROTOCOL" != "yes"; then
47034 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47035 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47036 wxUSE_URL=no
47037 fi
47038 if test "$wxUSE_URL" = "yes"; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_URL 1
47041 _ACEOF
47042
47043 fi
47044 fi
47045
47046 if test "$wxUSE_VARIANT" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_VARIANT 1
47049 _ACEOF
47050
47051 fi
47052
47053 if test "$wxUSE_FS_INET" = "yes"; then
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_FS_INET 1
47056 _ACEOF
47057
47058 fi
47059
47060
47061 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47062 wxUSE_JOYSTICK=no
47063
47064 if test "$TOOLKIT" = "MSW"; then
47065 wxUSE_JOYSTICK=yes
47066
47067 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47068 if test "$USE_DARWIN" = 1; then
47069 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47070 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47071 ac_ext=cpp
47072 ac_cpp='$CXXCPP $CPPFLAGS'
47073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47076
47077 cat >conftest.$ac_ext <<_ACEOF
47078 /* confdefs.h. */
47079 _ACEOF
47080 cat confdefs.h >>conftest.$ac_ext
47081 cat >>conftest.$ac_ext <<_ACEOF
47082 /* end confdefs.h. */
47083 #include <IOKit/hid/IOHIDLib.h>
47084 int
47085 main ()
47086 {
47087 IOHIDQueueInterface *qi = NULL;
47088 IOHIDCallbackFunction cb = NULL;
47089 qi->setEventCallout(NULL, cb, NULL, NULL);
47090 ;
47091 return 0;
47092 }
47093 _ACEOF
47094 rm -f conftest.$ac_objext
47095 if { (ac_try="$ac_compile"
47096 case "(($ac_try" in
47097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47098 *) ac_try_echo=$ac_try;;
47099 esac
47100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47101 (eval "$ac_compile") 2>conftest.er1
47102 ac_status=$?
47103 grep -v '^ *+' conftest.er1 >conftest.err
47104 rm -f conftest.er1
47105 cat conftest.err >&5
47106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47107 (exit $ac_status); } && {
47108 test -z "$ac_cxx_werror_flag" ||
47109 test ! -s conftest.err
47110 } && test -s conftest.$ac_objext; then
47111 wxUSE_JOYSTICK=yes
47112
47113 else
47114 echo "$as_me: failed program was:" >&5
47115 sed 's/^/| /' conftest.$ac_ext >&5
47116
47117
47118 fi
47119
47120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47121 ac_ext=c
47122 ac_cpp='$CPP $CPPFLAGS'
47123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47126
47127 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47128 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47129 fi
47130
47131 else
47132 if test "$wxUSE_MGL" != 1; then
47133
47134 for ac_header in linux/joystick.h
47135 do
47136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47140 echo $ECHO_N "(cached) $ECHO_C" >&6
47141 else
47142 cat >conftest.$ac_ext <<_ACEOF
47143 /* confdefs.h. */
47144 _ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47148 $ac_includes_default
47149
47150 #include <$ac_header>
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_c_werror_flag" ||
47167 test ! -s conftest.err
47168 } && test -s conftest.$ac_objext; then
47169 eval "$as_ac_Header=yes"
47170 else
47171 echo "$as_me: failed program was:" >&5
47172 sed 's/^/| /' conftest.$ac_ext >&5
47173
47174 eval "$as_ac_Header=no"
47175 fi
47176
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178 fi
47179 ac_res=`eval echo '${'$as_ac_Header'}'`
47180 { echo "$as_me:$LINENO: result: $ac_res" >&5
47181 echo "${ECHO_T}$ac_res" >&6; }
47182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47183 cat >>confdefs.h <<_ACEOF
47184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47185 _ACEOF
47186 wxUSE_JOYSTICK=yes
47187 fi
47188
47189 done
47190
47191 fi
47192 fi
47193
47194 if test "$wxUSE_JOYSTICK" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_JOYSTICK 1
47197 _ACEOF
47198
47199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47200 else
47201 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47202 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47203 fi
47204 fi
47205
47206
47207
47208 if test "$wxUSE_FONTENUM" = "yes" ; then
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_FONTENUM 1
47211 _ACEOF
47212
47213 fi
47214
47215 if test "$wxUSE_FONTMAP" = "yes" ; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_FONTMAP 1
47218 _ACEOF
47219
47220 fi
47221
47222 if test "$wxUSE_UNICODE" = "yes" ; then
47223 cat >>confdefs.h <<\_ACEOF
47224 #define wxUSE_UNICODE 1
47225 _ACEOF
47226
47227
47228 if test "$USE_WIN32" != 1; then
47229 wxUSE_UNICODE_MSLU=no
47230 fi
47231
47232 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47233 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47234 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47235 if test "${ac_cv_lib_unicows_main+set}" = set; then
47236 echo $ECHO_N "(cached) $ECHO_C" >&6
47237 else
47238 ac_check_lib_save_LIBS=$LIBS
47239 LIBS="-lunicows $LIBS"
47240 cat >conftest.$ac_ext <<_ACEOF
47241 /* confdefs.h. */
47242 _ACEOF
47243 cat confdefs.h >>conftest.$ac_ext
47244 cat >>conftest.$ac_ext <<_ACEOF
47245 /* end confdefs.h. */
47246
47247
47248 int
47249 main ()
47250 {
47251 return main ();
47252 ;
47253 return 0;
47254 }
47255 _ACEOF
47256 rm -f conftest.$ac_objext conftest$ac_exeext
47257 if { (ac_try="$ac_link"
47258 case "(($ac_try" in
47259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47260 *) ac_try_echo=$ac_try;;
47261 esac
47262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47263 (eval "$ac_link") 2>conftest.er1
47264 ac_status=$?
47265 grep -v '^ *+' conftest.er1 >conftest.err
47266 rm -f conftest.er1
47267 cat conftest.err >&5
47268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47269 (exit $ac_status); } && {
47270 test -z "$ac_c_werror_flag" ||
47271 test ! -s conftest.err
47272 } && test -s conftest$ac_exeext &&
47273 $as_test_x conftest$ac_exeext; then
47274 ac_cv_lib_unicows_main=yes
47275 else
47276 echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47278
47279 ac_cv_lib_unicows_main=no
47280 fi
47281
47282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47283 conftest$ac_exeext conftest.$ac_ext
47284 LIBS=$ac_check_lib_save_LIBS
47285 fi
47286 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47287 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47288 if test $ac_cv_lib_unicows_main = yes; then
47289
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_UNICODE_MSLU 1
47292 _ACEOF
47293
47294
47295 else
47296
47297 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47298 Applications will only run on Windows NT/2000/XP!" >&5
47299 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47300 Applications will only run on Windows NT/2000/XP!" >&2;}
47301 wxUSE_UNICODE_MSLU=no
47302
47303 fi
47304
47305 fi
47306 fi
47307
47308 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_UNICODE_UTF8 1
47311 _ACEOF
47312
47313
47314 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_UTF8_LOCALE_ONLY 1
47317 _ACEOF
47318
47319 fi
47320 fi
47321
47322
47323 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_CONSTRAINTS 1
47326 _ACEOF
47327
47328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47329 fi
47330
47331 if test "$wxUSE_MDI" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_MDI 1
47334 _ACEOF
47335
47336
47337 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_MDI_ARCHITECTURE 1
47340 _ACEOF
47341
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47343 fi
47344 fi
47345
47346 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47347 cat >>confdefs.h <<\_ACEOF
47348 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47349 _ACEOF
47350
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47352 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47354 fi
47355 fi
47356
47357 if test "$wxUSE_HELP" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_HELP 1
47360 _ACEOF
47361
47362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47363
47364 if test "$wxUSE_MSW" = 1; then
47365 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_MS_HTML_HELP 1
47368 _ACEOF
47369
47370 fi
47371 fi
47372
47373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47374 if test "$wxUSE_HTML" = "yes"; then
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_WXHTML_HELP 1
47377 _ACEOF
47378
47379 else
47380 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47381 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47382 wxUSE_WXHTML_HELP=no
47383 fi
47384 fi
47385 fi
47386
47387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47389 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47390 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47391 else
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_PRINTING_ARCHITECTURE 1
47394 _ACEOF
47395
47396 fi
47397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47398 fi
47399
47400 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_POSTSCRIPT 1
47403 _ACEOF
47404
47405 fi
47406
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47409 _ACEOF
47410
47411
47412 if test "$wxUSE_SVG" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_SVG 1
47415 _ACEOF
47416
47417 fi
47418
47419
47420 if test "$wxUSE_METAFILE" = "yes"; then
47421 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47422 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47423 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47424 wxUSE_METAFILE=no
47425 fi
47426 fi
47427
47428
47429 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47430 -o "$wxUSE_CLIPBOARD" = "yes" \
47431 -o "$wxUSE_OLE" = "yes" \
47432 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47433 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47434 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47435 if test "${ac_cv_header_ole2_h+set}" = set; then
47436 echo $ECHO_N "(cached) $ECHO_C" >&6
47437 else
47438 cat >conftest.$ac_ext <<_ACEOF
47439 /* confdefs.h. */
47440 _ACEOF
47441 cat confdefs.h >>conftest.$ac_ext
47442 cat >>conftest.$ac_ext <<_ACEOF
47443 /* end confdefs.h. */
47444
47445
47446 #include <ole2.h>
47447 _ACEOF
47448 rm -f conftest.$ac_objext
47449 if { (ac_try="$ac_compile"
47450 case "(($ac_try" in
47451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47452 *) ac_try_echo=$ac_try;;
47453 esac
47454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47455 (eval "$ac_compile") 2>conftest.er1
47456 ac_status=$?
47457 grep -v '^ *+' conftest.er1 >conftest.err
47458 rm -f conftest.er1
47459 cat conftest.err >&5
47460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47461 (exit $ac_status); } && {
47462 test -z "$ac_c_werror_flag" ||
47463 test ! -s conftest.err
47464 } && test -s conftest.$ac_objext; then
47465 ac_cv_header_ole2_h=yes
47466 else
47467 echo "$as_me: failed program was:" >&5
47468 sed 's/^/| /' conftest.$ac_ext >&5
47469
47470 ac_cv_header_ole2_h=no
47471 fi
47472
47473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47474 fi
47475 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47476 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47477
47478
47479
47480 if test "$ac_cv_header_ole2_h" = "yes" ; then
47481 if test "$GCC" = yes ; then
47482 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47484 cat >conftest.$ac_ext <<_ACEOF
47485 /* confdefs.h. */
47486 _ACEOF
47487 cat confdefs.h >>conftest.$ac_ext
47488 cat >>conftest.$ac_ext <<_ACEOF
47489 /* end confdefs.h. */
47490 #include <windows.h>
47491 #include <ole2.h>
47492 int
47493 main ()
47494 {
47495
47496 ;
47497 return 0;
47498 }
47499 _ACEOF
47500 rm -f conftest.$ac_objext
47501 if { (ac_try="$ac_compile"
47502 case "(($ac_try" in
47503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47504 *) ac_try_echo=$ac_try;;
47505 esac
47506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47507 (eval "$ac_compile") 2>conftest.er1
47508 ac_status=$?
47509 grep -v '^ *+' conftest.er1 >conftest.err
47510 rm -f conftest.er1
47511 cat conftest.err >&5
47512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47513 (exit $ac_status); } && {
47514 test -z "$ac_c_werror_flag" ||
47515 test ! -s conftest.err
47516 } && test -s conftest.$ac_objext; then
47517 { echo "$as_me:$LINENO: result: no" >&5
47518 echo "${ECHO_T}no" >&6; }
47519 else
47520 echo "$as_me: failed program was:" >&5
47521 sed 's/^/| /' conftest.$ac_ext >&5
47522
47523 { echo "$as_me:$LINENO: result: yes" >&5
47524 echo "${ECHO_T}yes" >&6; }
47525 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47526 fi
47527
47528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47529 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47530 if test "$wxUSE_OLE" = "yes" ; then
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_OLE 1
47533 _ACEOF
47534
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_OLE_AUTOMATION 1
47537 _ACEOF
47538
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_ACTIVEX 1
47541 _ACEOF
47542
47543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47544 fi
47545 fi
47546
47547 if test "$wxUSE_DATAOBJ" = "yes" ; then
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_DATAOBJ 1
47550 _ACEOF
47551
47552 fi
47553 else
47554 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47555 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47556
47557 wxUSE_CLIPBOARD=no
47558 wxUSE_DRAG_AND_DROP=no
47559 wxUSE_DATAOBJ=no
47560 wxUSE_OLE=no
47561 fi
47562
47563 if test "$wxUSE_METAFILE" = "yes"; then
47564 cat >>confdefs.h <<\_ACEOF
47565 #define wxUSE_METAFILE 1
47566 _ACEOF
47567
47568
47569 cat >>confdefs.h <<\_ACEOF
47570 #define wxUSE_ENH_METAFILE 1
47571 _ACEOF
47572
47573 fi
47574 fi
47575
47576 if test "$wxUSE_IPC" = "yes"; then
47577 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47578 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47579 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47580 wxUSE_IPC=no
47581 fi
47582
47583 if test "$wxUSE_IPC" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_IPC 1
47586 _ACEOF
47587
47588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47589 fi
47590 fi
47591
47592 if test "$wxUSE_DATAOBJ" = "yes"; then
47593 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47594 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47595 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47596 wxUSE_DATAOBJ=no
47597 else
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_DATAOBJ 1
47600 _ACEOF
47601
47602 fi
47603 else
47604 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47605 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47606 wxUSE_CLIPBOARD=no
47607 wxUSE_DRAG_AND_DROP=no
47608 fi
47609
47610 if test "$wxUSE_CLIPBOARD" = "yes"; then
47611 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47612 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47613 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47614 wxUSE_CLIPBOARD=no
47615 fi
47616
47617 if test "$wxUSE_CLIPBOARD" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_CLIPBOARD 1
47620 _ACEOF
47621
47622 fi
47623 fi
47624
47625 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47626 if test "$wxUSE_GTK" = 1; then
47627 if test "$WXGTK12" != 1; then
47628 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47629 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47630 wxUSE_DRAG_AND_DROP=no
47631 fi
47632 fi
47633
47634 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47635 "$wxUSE_DFB" = 1; then
47636 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47637 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47638 wxUSE_DRAG_AND_DROP=no
47639 fi
47640
47641 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_DRAG_AND_DROP 1
47644 _ACEOF
47645
47646 fi
47647
47648 fi
47649
47650 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47652 fi
47653
47654 if test "$wxUSE_SPLINES" = "yes" ; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_SPLINES 1
47657 _ACEOF
47658
47659 fi
47660
47661 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_MOUSEWHEEL 1
47664 _ACEOF
47665
47666 fi
47667
47668
47669 USES_CONTROLS=0
47670 if test "$wxUSE_CONTROLS" = "yes"; then
47671 USES_CONTROLS=1
47672 fi
47673
47674 if test "$wxUSE_ACCEL" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_ACCEL 1
47677 _ACEOF
47678
47679 USES_CONTROLS=1
47680 fi
47681
47682 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_ANIMATIONCTRL 1
47685 _ACEOF
47686
47687 USES_CONTROLS=1
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47689 fi
47690
47691 if test "$wxUSE_BUTTON" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_BUTTON 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 fi
47698
47699 if test "$wxUSE_BMPBUTTON" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_BMPBUTTON 1
47702 _ACEOF
47703
47704 USES_CONTROLS=1
47705 fi
47706
47707 if test "$wxUSE_CALCTRL" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_CALENDARCTRL 1
47710 _ACEOF
47711
47712 USES_CONTROLS=1
47713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47714 fi
47715
47716 if test "$wxUSE_CARET" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_CARET 1
47719 _ACEOF
47720
47721 USES_CONTROLS=1
47722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47723 fi
47724
47725 if test "$wxUSE_COLLPANE" = "yes"; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_COLLPANE 1
47728 _ACEOF
47729
47730 USES_CONTROLS=1
47731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47732 fi
47733
47734 if test "$wxUSE_COMBOBOX" = "yes"; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_COMBOBOX 1
47737 _ACEOF
47738
47739 USES_CONTROLS=1
47740 fi
47741
47742 if test "$wxUSE_COMBOCTRL" = "yes"; then
47743 cat >>confdefs.h <<\_ACEOF
47744 #define wxUSE_COMBOCTRL 1
47745 _ACEOF
47746
47747 USES_CONTROLS=1
47748 fi
47749
47750 if test "$wxUSE_CHOICE" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_CHOICE 1
47753 _ACEOF
47754
47755 USES_CONTROLS=1
47756 fi
47757
47758 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_CHOICEBOOK 1
47761 _ACEOF
47762
47763 USES_CONTROLS=1
47764 fi
47765
47766 if test "$wxUSE_CHECKBOX" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CHECKBOX 1
47769 _ACEOF
47770
47771 USES_CONTROLS=1
47772 fi
47773
47774 if test "$wxUSE_CHECKLST" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_CHECKLISTBOX 1
47777 _ACEOF
47778
47779 USES_CONTROLS=1
47780 fi
47781
47782 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_COLOURPICKERCTRL 1
47785 _ACEOF
47786
47787 USES_CONTROLS=1
47788 fi
47789
47790 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_DATEPICKCTRL 1
47793 _ACEOF
47794
47795 USES_CONTROLS=1
47796 fi
47797
47798 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_DIRPICKERCTRL 1
47801 _ACEOF
47802
47803 USES_CONTROLS=1
47804 fi
47805
47806 if test "$wxUSE_FILECTRL" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_FILECTRL 1
47809 _ACEOF
47810
47811 USES_CONTROLS=1
47812 fi
47813
47814 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_FILEPICKERCTRL 1
47817 _ACEOF
47818
47819 USES_CONTROLS=1
47820 fi
47821
47822 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_FONTPICKERCTRL 1
47825 _ACEOF
47826
47827 USES_CONTROLS=1
47828 fi
47829
47830 if test "$wxUSE_DISPLAY" = "yes"; then
47831 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47832 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47833 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47834 wxUSE_DISPLAY=no
47835 else
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_DISPLAY 1
47838 _ACEOF
47839
47840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47841 fi
47842 fi
47843
47844 if test "$wxUSE_DETECT_SM" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_DETECT_SM 1
47847 _ACEOF
47848
47849 fi
47850
47851 if test "$wxUSE_GAUGE" = "yes"; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_GAUGE 1
47854 _ACEOF
47855
47856 USES_CONTROLS=1
47857 fi
47858
47859 if test "$wxUSE_GRID" = "yes"; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_GRID 1
47862 _ACEOF
47863
47864 USES_CONTROLS=1
47865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47866 fi
47867
47868 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_HYPERLINKCTRL 1
47871 _ACEOF
47872
47873 USES_CONTROLS=1
47874 fi
47875
47876 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_BITMAPCOMBOBOX 1
47879 _ACEOF
47880
47881 USES_CONTROLS=1
47882 fi
47883
47884 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_DATAVIEWCTRL 1
47887 _ACEOF
47888
47889 USES_CONTROLS=1
47890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47891 fi
47892
47893 if test "$wxUSE_IMAGLIST" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_IMAGLIST 1
47896 _ACEOF
47897
47898 fi
47899
47900 if test "$wxUSE_LISTBOOK" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_LISTBOOK 1
47903 _ACEOF
47904
47905 USES_CONTROLS=1
47906 fi
47907
47908 if test "$wxUSE_LISTBOX" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_LISTBOX 1
47911 _ACEOF
47912
47913 USES_CONTROLS=1
47914 fi
47915
47916 if test "$wxUSE_LISTCTRL" = "yes"; then
47917 if test "$wxUSE_IMAGLIST" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_LISTCTRL 1
47920 _ACEOF
47921
47922 USES_CONTROLS=1
47923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47924 else
47925 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47926 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47927 fi
47928 fi
47929
47930 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_EDITABLELISTBOX 1
47933 _ACEOF
47934
47935 USES_CONTROLS=1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47937 fi
47938
47939 if test "$wxUSE_NOTEBOOK" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_NOTEBOOK 1
47942 _ACEOF
47943
47944 USES_CONTROLS=1
47945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47946 fi
47947
47948 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_ODCOMBOBOX 1
47951 _ACEOF
47952
47953 USES_CONTROLS=1
47954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47955 fi
47956
47957 if test "$wxUSE_RADIOBOX" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_RADIOBOX 1
47960 _ACEOF
47961
47962 USES_CONTROLS=1
47963 fi
47964
47965 if test "$wxUSE_RADIOBTN" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_RADIOBTN 1
47968 _ACEOF
47969
47970 USES_CONTROLS=1
47971 fi
47972
47973 if test "$wxUSE_SASH" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_SASH 1
47976 _ACEOF
47977
47978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47979 fi
47980
47981 if test "$wxUSE_SCROLLBAR" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_SCROLLBAR 1
47984 _ACEOF
47985
47986 USES_CONTROLS=1
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47988 fi
47989
47990 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_SEARCHCTRL 1
47993 _ACEOF
47994
47995 USES_CONTROLS=1
47996 fi
47997
47998 if test "$wxUSE_SLIDER" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_SLIDER 1
48001 _ACEOF
48002
48003 USES_CONTROLS=1
48004 fi
48005
48006 if test "$wxUSE_SPINBTN" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_SPINBTN 1
48009 _ACEOF
48010
48011 USES_CONTROLS=1
48012 fi
48013
48014 if test "$wxUSE_SPINCTRL" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_SPINCTRL 1
48017 _ACEOF
48018
48019 USES_CONTROLS=1
48020 fi
48021
48022 if test "$wxUSE_SPLITTER" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_SPLITTER 1
48025 _ACEOF
48026
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48028 fi
48029
48030 if test "$wxUSE_STATBMP" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_STATBMP 1
48033 _ACEOF
48034
48035 USES_CONTROLS=1
48036 fi
48037
48038 if test "$wxUSE_STATBOX" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_STATBOX 1
48041 _ACEOF
48042
48043 USES_CONTROLS=1
48044 fi
48045
48046 if test "$wxUSE_STATTEXT" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_STATTEXT 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 fi
48053
48054 if test "$wxUSE_STATLINE" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_STATLINE 1
48057 _ACEOF
48058
48059 USES_CONTROLS=1
48060 fi
48061
48062 if test "$wxUSE_STATUSBAR" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_NATIVE_STATUSBAR 1
48065 _ACEOF
48066
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_STATUSBAR 1
48069 _ACEOF
48070
48071 USES_CONTROLS=1
48072
48073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48074 fi
48075
48076 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_TAB_DIALOG 1
48079 _ACEOF
48080
48081 fi
48082
48083 if test "$wxUSE_TEXTCTRL" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_TEXTCTRL 1
48086 _ACEOF
48087
48088 USES_CONTROLS=1
48089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48090 fi
48091
48092 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48093 if test "$wxUSE_COCOA" = 1 ; then
48094 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48095 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48096 wxUSE_TOGGLEBTN=no
48097 fi
48098
48099 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_TOGGLEBTN 1
48102 _ACEOF
48103
48104 USES_CONTROLS=1
48105 fi
48106 fi
48107
48108 if test "$wxUSE_TOOLBAR" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_TOOLBAR 1
48111 _ACEOF
48112
48113 USES_CONTROLS=1
48114
48115 if test "$wxUSE_UNIVERSAL" = "yes"; then
48116 wxUSE_TOOLBAR_NATIVE="no"
48117 else
48118 wxUSE_TOOLBAR_NATIVE="yes"
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_TOOLBAR_NATIVE 1
48121 _ACEOF
48122
48123 fi
48124
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48126 fi
48127
48128 if test "$wxUSE_TOOLTIPS" = "yes"; then
48129 if test "$wxUSE_MOTIF" = 1; then
48130 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48131 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48132 else
48133 if test "$wxUSE_UNIVERSAL" = "yes"; then
48134 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48135 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48136 else
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_TOOLTIPS 1
48139 _ACEOF
48140
48141 fi
48142 fi
48143 fi
48144
48145 if test "$wxUSE_TREEBOOK" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_TREEBOOK 1
48148 _ACEOF
48149
48150 USES_CONTROLS=1
48151 fi
48152
48153 if test "$wxUSE_TOOLBOOK" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_TOOLBOOK 1
48156 _ACEOF
48157
48158 USES_CONTROLS=1
48159 fi
48160
48161 if test "$wxUSE_TREECTRL" = "yes"; then
48162 if test "$wxUSE_IMAGLIST" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_TREECTRL 1
48165 _ACEOF
48166
48167 USES_CONTROLS=1
48168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48169 else
48170 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48171 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48172 fi
48173 fi
48174
48175 if test "$wxUSE_POPUPWIN" = "yes"; then
48176 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48177 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48178 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48179 else
48180 if test "$wxUSE_PM" = 1; then
48181 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48182 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48183 else
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_POPUPWIN 1
48186 _ACEOF
48187
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48189
48190 USES_CONTROLS=1
48191 fi
48192 fi
48193 fi
48194
48195 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48196 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48197 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48198 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48199 else
48200 cat >>confdefs.h <<\_ACEOF
48201 #define wxUSE_DIALUP_MANAGER 1
48202 _ACEOF
48203
48204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48205 fi
48206 fi
48207
48208 if test "$wxUSE_TIPWINDOW" = "yes"; then
48209 if test "$wxUSE_PM" = 1; then
48210 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48211 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48212 else
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_TIPWINDOW 1
48215 _ACEOF
48216
48217 fi
48218 fi
48219
48220 if test "$USES_CONTROLS" = 1; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_CONTROLS 1
48223 _ACEOF
48224
48225 fi
48226
48227
48228 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_ACCESSIBILITY 1
48231 _ACEOF
48232
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48234 fi
48235
48236 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_DRAGIMAGE 1
48239 _ACEOF
48240
48241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48242 fi
48243
48244 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48245 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48246 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48247 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48248 else
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_EXCEPTIONS 1
48251 _ACEOF
48252
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48254 fi
48255 fi
48256
48257 USE_HTML=0
48258 if test "$wxUSE_HTML" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_HTML 1
48261 _ACEOF
48262
48263 USE_HTML=1
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48265 if test "$wxUSE_MAC" = 1; then
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48267 fi
48268 fi
48269 if test "$wxUSE_WEBKIT" = "yes"; then
48270 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48271 old_CPPFLAGS="$CPPFLAGS"
48272 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48273 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48274 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48275 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48276 echo $ECHO_N "(cached) $ECHO_C" >&6
48277 else
48278 cat >conftest.$ac_ext <<_ACEOF
48279 /* confdefs.h. */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h. */
48284
48285 #include <Carbon/Carbon.h>
48286 #include <WebKit/WebKit.h>
48287
48288
48289 #include <WebKit/HIWebView.h>
48290 _ACEOF
48291 rm -f conftest.$ac_objext
48292 if { (ac_try="$ac_compile"
48293 case "(($ac_try" in
48294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48295 *) ac_try_echo=$ac_try;;
48296 esac
48297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48298 (eval "$ac_compile") 2>conftest.er1
48299 ac_status=$?
48300 grep -v '^ *+' conftest.er1 >conftest.err
48301 rm -f conftest.er1
48302 cat conftest.err >&5
48303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48304 (exit $ac_status); } && {
48305 test -z "$ac_c_werror_flag" ||
48306 test ! -s conftest.err
48307 } && test -s conftest.$ac_objext; then
48308 ac_cv_header_WebKit_HIWebView_h=yes
48309 else
48310 echo "$as_me: failed program was:" >&5
48311 sed 's/^/| /' conftest.$ac_ext >&5
48312
48313 ac_cv_header_WebKit_HIWebView_h=no
48314 fi
48315
48316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48317 fi
48318 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48319 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48320 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48321
48322 cat >>confdefs.h <<\_ACEOF
48323 #define wxUSE_WEBKIT 1
48324 _ACEOF
48325
48326 WEBKIT_LINK="-framework WebKit"
48327
48328 else
48329
48330 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48331 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48332 wxUSE_WEBKIT=no
48333
48334 fi
48335
48336
48337 CPPFLAGS="$old_CPPFLAGS"
48338 elif test "$wxUSE_COCOA" = 1; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_WEBKIT 1
48341 _ACEOF
48342
48343 else
48344 wxUSE_WEBKIT=no
48345 fi
48346 fi
48347
48348 USE_XRC=0
48349 if test "$wxUSE_XRC" = "yes"; then
48350 if test "$wxUSE_XML" != "yes"; then
48351 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48352 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48353 wxUSE_XRC=no
48354 else
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_XRC 1
48357 _ACEOF
48358
48359 USE_XRC=1
48360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48361 fi
48362 fi
48363
48364 USE_AUI=0
48365 if test "$wxUSE_AUI" = "yes"; then
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_AUI 1
48368 _ACEOF
48369
48370 USE_AUI=1
48371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48372 fi
48373
48374 USE_STC=0
48375 if test "$wxUSE_STC" = "yes"; then
48376 cat >>confdefs.h <<\_ACEOF
48377 #define wxUSE_STC 1
48378 _ACEOF
48379
48380 USE_STC=1
48381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48382 fi
48383
48384 if test "$wxUSE_MENUS" = "yes"; then
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_MENUS 1
48387 _ACEOF
48388
48389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48390 fi
48391
48392 if test "$wxUSE_METAFILE" = "yes"; then
48393 cat >>confdefs.h <<\_ACEOF
48394 #define wxUSE_METAFILE 1
48395 _ACEOF
48396
48397 fi
48398
48399 if test "$wxUSE_MIMETYPE" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_MIMETYPE 1
48402 _ACEOF
48403
48404 fi
48405
48406 if test "$wxUSE_MINIFRAME" = "yes"; then
48407 cat >>confdefs.h <<\_ACEOF
48408 #define wxUSE_MINIFRAME 1
48409 _ACEOF
48410
48411 fi
48412
48413 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_SYSTEM_OPTIONS 1
48416 _ACEOF
48417
48418 fi
48419
48420 if test "$wxUSE_TASKBARICON" = "yes"; then
48421 cat >>confdefs.h <<\_ACEOF
48422 #define wxUSE_TASKBARICON 1
48423 _ACEOF
48424
48425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48426 fi
48427
48428
48429 if test "$wxUSE_VALIDATORS" = "yes"; then
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_VALIDATORS 1
48432 _ACEOF
48433
48434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48435 fi
48436
48437 if test "$wxUSE_PALETTE" = "yes" ; then
48438 if test "$wxUSE_DFB" = 1; then
48439 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48440 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48441 wxUSE_PALETTE=no
48442 else
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_PALETTE 1
48445 _ACEOF
48446
48447 fi
48448 fi
48449
48450 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48451 LIBS=" -lunicows $LIBS"
48452 fi
48453
48454 USE_RICHTEXT=0
48455 if test "$wxUSE_RICHTEXT" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_RICHTEXT 1
48458 _ACEOF
48459
48460 USE_RICHTEXT=1
48461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48462 fi
48463
48464
48465 if test "$wxUSE_IMAGE" = "yes" ; then
48466 cat >>confdefs.h <<\_ACEOF
48467 #define wxUSE_IMAGE 1
48468 _ACEOF
48469
48470
48471 if test "$wxUSE_GIF" = "yes" ; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_GIF 1
48474 _ACEOF
48475
48476 fi
48477
48478 if test "$wxUSE_PCX" = "yes" ; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_PCX 1
48481 _ACEOF
48482
48483 fi
48484
48485 if test "$wxUSE_TGA" = "yes" ; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_TGA 1
48488 _ACEOF
48489
48490 fi
48491
48492 if test "$wxUSE_IFF" = "yes" ; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_IFF 1
48495 _ACEOF
48496
48497 fi
48498
48499 if test "$wxUSE_PNM" = "yes" ; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_PNM 1
48502 _ACEOF
48503
48504 fi
48505
48506 if test "$wxUSE_XPM" = "yes" ; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_XPM 1
48509 _ACEOF
48510
48511 fi
48512
48513 if test "$wxUSE_ICO_CUR" = "yes" ; then
48514 cat >>confdefs.h <<\_ACEOF
48515 #define wxUSE_ICO_CUR 1
48516 _ACEOF
48517
48518 fi
48519 fi
48520
48521
48522 if test "$wxUSE_ABOUTDLG" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_ABOUTDLG 1
48525 _ACEOF
48526
48527 fi
48528
48529 if test "$wxUSE_CHOICEDLG" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_CHOICEDLG 1
48532 _ACEOF
48533
48534 fi
48535
48536 if test "$wxUSE_COLOURDLG" = "yes"; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_COLOURDLG 1
48539 _ACEOF
48540
48541 fi
48542
48543 if test "$wxUSE_FILEDLG" = "yes"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_FILEDLG 1
48546 _ACEOF
48547
48548 fi
48549
48550 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_FINDREPLDLG 1
48553 _ACEOF
48554
48555 fi
48556
48557 if test "$wxUSE_FONTDLG" = "yes"; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_FONTDLG 1
48560 _ACEOF
48561
48562 fi
48563
48564 if test "$wxUSE_DIRDLG" = "yes"; then
48565 if test "$wxUSE_TREECTRL" != "yes"; then
48566 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48567 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48568 else
48569 cat >>confdefs.h <<\_ACEOF
48570 #define wxUSE_DIRDLG 1
48571 _ACEOF
48572
48573 fi
48574 fi
48575
48576 if test "$wxUSE_MSGDLG" = "yes"; then
48577 cat >>confdefs.h <<\_ACEOF
48578 #define wxUSE_MSGDLG 1
48579 _ACEOF
48580
48581 fi
48582
48583 if test "$wxUSE_NUMBERDLG" = "yes"; then
48584 cat >>confdefs.h <<\_ACEOF
48585 #define wxUSE_NUMBERDLG 1
48586 _ACEOF
48587
48588 fi
48589
48590 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48591 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48592 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48593 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48594 else
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_PROGRESSDLG 1
48597 _ACEOF
48598
48599 fi
48600 fi
48601
48602 if test "$wxUSE_SPLASH" = "yes"; then
48603 cat >>confdefs.h <<\_ACEOF
48604 #define wxUSE_SPLASH 1
48605 _ACEOF
48606
48607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48608 fi
48609
48610 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48611 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48612 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48613 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48614 else
48615 cat >>confdefs.h <<\_ACEOF
48616 #define wxUSE_STARTUP_TIPS 1
48617 _ACEOF
48618
48619 fi
48620 fi
48621
48622 if test "$wxUSE_TEXTDLG" = "yes"; then
48623 cat >>confdefs.h <<\_ACEOF
48624 #define wxUSE_TEXTDLG 1
48625 _ACEOF
48626
48627 fi
48628
48629 if test "$wxUSE_WIZARDDLG" = "yes"; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_WIZARDDLG 1
48632 _ACEOF
48633
48634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48635 fi
48636
48637
48638 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48639 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48640 cat >>confdefs.h <<\_ACEOF
48641 #define wxUSE_OWNER_DRAWN 1
48642 _ACEOF
48643
48644 fi
48645 fi
48646
48647
48648 if test "$wxUSE_MSW" = 1 ; then
48649
48650 if test "$wxUSE_DC_CACHEING" = "yes"; then
48651 cat >>confdefs.h <<\_ACEOF
48652 #define wxUSE_DC_CACHEING 1
48653 _ACEOF
48654
48655 fi
48656
48657 if test "$wxUSE_DIB" = "yes"; then
48658 cat >>confdefs.h <<\_ACEOF
48659 #define wxUSE_WXDIB 1
48660 _ACEOF
48661
48662 fi
48663
48664 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48665 cat >>confdefs.h <<\_ACEOF
48666 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48667 _ACEOF
48668
48669 fi
48670
48671 if test "$wxUSE_UXTHEME" = "yes"; then
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_UXTHEME 1
48674 _ACEOF
48675
48676 fi
48677
48678 fi
48679
48680
48681 if test "$USE_WIN32" = 1 ; then
48682 if test "$wxUSE_INICONF" = "yes"; then
48683 cat >>confdefs.h <<\_ACEOF
48684 #define wxUSE_INICONF 1
48685 _ACEOF
48686
48687 fi
48688
48689 if test "$wxUSE_REGKEY" = "yes"; then
48690 cat >>confdefs.h <<\_ACEOF
48691 #define wxUSE_REGKEY 1
48692 _ACEOF
48693
48694 fi
48695 fi
48696
48697
48698 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48699 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_GRAPHICS_CONTEXT 1
48702 _ACEOF
48703
48704 elif test "$wxUSE_GTK" != 1; then
48705 cat >>confdefs.h <<\_ACEOF
48706 #define wxUSE_GRAPHICS_CONTEXT 1
48707 _ACEOF
48708
48709 else
48710
48711 pkg_failed=no
48712 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48713 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48714
48715 if test -n "$PKG_CONFIG"; then
48716 if test -n "$CAIRO_CFLAGS"; then
48717 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48718 else
48719 if test -n "$PKG_CONFIG" && \
48720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48721 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48722 ac_status=$?
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); }; then
48725 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48726 else
48727 pkg_failed=yes
48728 fi
48729 fi
48730 else
48731 pkg_failed=untried
48732 fi
48733 if test -n "$PKG_CONFIG"; then
48734 if test -n "$CAIRO_LIBS"; then
48735 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48736 else
48737 if test -n "$PKG_CONFIG" && \
48738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48739 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48740 ac_status=$?
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); }; then
48743 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48744 else
48745 pkg_failed=yes
48746 fi
48747 fi
48748 else
48749 pkg_failed=untried
48750 fi
48751
48752
48753
48754 if test $pkg_failed = yes; then
48755
48756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48757 _pkg_short_errors_supported=yes
48758 else
48759 _pkg_short_errors_supported=no
48760 fi
48761 if test $_pkg_short_errors_supported = yes; then
48762 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48763 else
48764 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48765 fi
48766 # Put the nasty error message in config.log where it belongs
48767 echo "$CAIRO_PKG_ERRORS" >&5
48768
48769 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48770 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48771
48772 elif test $pkg_failed = untried; then
48773 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48774 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48775
48776 else
48777 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48778 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48779 { echo "$as_me:$LINENO: result: yes" >&5
48780 echo "${ECHO_T}yes" >&6; }
48781 cat >>confdefs.h <<\_ACEOF
48782 #define wxUSE_GRAPHICS_CONTEXT 1
48783 _ACEOF
48784
48785 fi
48786 fi
48787 fi
48788
48789
48790 USE_MEDIA=0
48791
48792 if test "$wxUSE_MEDIACTRL" = "yes"; then
48793 USE_MEDIA=1
48794
48795 if test "$wxUSE_GTK" = 1; then
48796 wxUSE_GSTREAMER="no"
48797
48798 GST_VERSION_MAJOR=0
48799 GST_VERSION_MINOR=10
48800 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48801
48802 if test "$wxUSE_GSTREAMER8" = "no"; then
48803
48804 pkg_failed=no
48805 { echo "$as_me:$LINENO: checking for GST" >&5
48806 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48807
48808 if test -n "$PKG_CONFIG"; then
48809 if test -n "$GST_CFLAGS"; then
48810 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48811 else
48812 if test -n "$PKG_CONFIG" && \
48813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48814 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48815 ac_status=$?
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; then
48818 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48819 else
48820 pkg_failed=yes
48821 fi
48822 fi
48823 else
48824 pkg_failed=untried
48825 fi
48826 if test -n "$PKG_CONFIG"; then
48827 if test -n "$GST_LIBS"; then
48828 pkg_cv_GST_LIBS="$GST_LIBS"
48829 else
48830 if test -n "$PKG_CONFIG" && \
48831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48833 ac_status=$?
48834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48835 (exit $ac_status); }; then
48836 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48837 else
48838 pkg_failed=yes
48839 fi
48840 fi
48841 else
48842 pkg_failed=untried
48843 fi
48844
48845
48846
48847 if test $pkg_failed = yes; then
48848
48849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48850 _pkg_short_errors_supported=yes
48851 else
48852 _pkg_short_errors_supported=no
48853 fi
48854 if test $_pkg_short_errors_supported = yes; then
48855 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48856 else
48857 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48858 fi
48859 # Put the nasty error message in config.log where it belongs
48860 echo "$GST_PKG_ERRORS" >&5
48861
48862
48863 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48864 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48865 GST_VERSION_MINOR=8
48866
48867
48868 elif test $pkg_failed = untried; then
48869
48870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48871 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48872 GST_VERSION_MINOR=8
48873
48874
48875 else
48876 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48877 GST_LIBS=$pkg_cv_GST_LIBS
48878 { echo "$as_me:$LINENO: result: yes" >&5
48879 echo "${ECHO_T}yes" >&6; }
48880
48881 wxUSE_GSTREAMER="yes"
48882 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48883
48884 fi
48885 else
48886 GST_VERSION_MINOR=8
48887 fi
48888
48889 if test $GST_VERSION_MINOR = "8"; then
48890 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48891
48892 pkg_failed=no
48893 { echo "$as_me:$LINENO: checking for GST" >&5
48894 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48895
48896 if test -n "$PKG_CONFIG"; then
48897 if test -n "$GST_CFLAGS"; then
48898 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48899 else
48900 if test -n "$PKG_CONFIG" && \
48901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48902 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48903 ac_status=$?
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; then
48906 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48907 else
48908 pkg_failed=yes
48909 fi
48910 fi
48911 else
48912 pkg_failed=untried
48913 fi
48914 if test -n "$PKG_CONFIG"; then
48915 if test -n "$GST_LIBS"; then
48916 pkg_cv_GST_LIBS="$GST_LIBS"
48917 else
48918 if test -n "$PKG_CONFIG" && \
48919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48920 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48921 ac_status=$?
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; then
48924 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48925 else
48926 pkg_failed=yes
48927 fi
48928 fi
48929 else
48930 pkg_failed=untried
48931 fi
48932
48933
48934
48935 if test $pkg_failed = yes; then
48936
48937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48938 _pkg_short_errors_supported=yes
48939 else
48940 _pkg_short_errors_supported=no
48941 fi
48942 if test $_pkg_short_errors_supported = yes; then
48943 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48944 else
48945 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48946 fi
48947 # Put the nasty error message in config.log where it belongs
48948 echo "$GST_PKG_ERRORS" >&5
48949
48950
48951 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48952 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48953
48954 elif test $pkg_failed = untried; then
48955
48956 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48957 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48958
48959 else
48960 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48961 GST_LIBS=$pkg_cv_GST_LIBS
48962 { echo "$as_me:$LINENO: result: yes" >&5
48963 echo "${ECHO_T}yes" >&6; }
48964 wxUSE_GSTREAMER="yes"
48965 fi
48966 fi
48967
48968
48969 if test "$wxUSE_GSTREAMER" = "yes"; then
48970 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48971 LIBS="$GST_LIBS $LIBS"
48972
48973 cat >>confdefs.h <<\_ACEOF
48974 #define wxUSE_GSTREAMER 1
48975 _ACEOF
48976
48977 else
48978 USE_MEDIA=0
48979 fi
48980 fi
48981
48982 if test $USE_MEDIA = 1; then
48983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48984 cat >>confdefs.h <<\_ACEOF
48985 #define wxUSE_MEDIACTRL 1
48986 _ACEOF
48987
48988 fi
48989 fi
48990
48991
48992 if test "$cross_compiling" = "yes"; then
48993 OSINFO="\"$host\""
48994 else
48995 OSINFO=`uname -s -r -m`
48996 OSINFO="\"$OSINFO\""
48997 fi
48998
48999 cat >>confdefs.h <<_ACEOF
49000 #define WXWIN_OS_DESCRIPTION $OSINFO
49001 _ACEOF
49002
49003
49004
49005 if test "x$prefix" != "xNONE"; then
49006 wxPREFIX=$prefix
49007 else
49008 wxPREFIX=$ac_default_prefix
49009 fi
49010
49011 cat >>confdefs.h <<_ACEOF
49012 #define wxINSTALL_PREFIX "$wxPREFIX"
49013 _ACEOF
49014
49015
49016
49017
49018 STD_BASE_LIBS="base"
49019 STD_GUI_LIBS=""
49020 BUILT_WX_LIBS="base"
49021 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49022
49023 if test "$wxUSE_SOCKETS" = "yes" ; then
49024 STD_BASE_LIBS="net $STD_BASE_LIBS"
49025 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49026 fi
49027 if test "$wxUSE_XML" = "yes" ; then
49028 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49029 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49030 fi
49031
49032 if test "$wxUSE_GUI" = "yes"; then
49033 STD_GUI_LIBS="adv core"
49034 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49035
49036 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49037 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49038 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49039 fi
49040 if test "$wxUSE_HTML" = "yes" ; then
49041 STD_GUI_LIBS="html $STD_GUI_LIBS"
49042 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49043 fi
49044 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49045 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49046 fi
49047 if test "$wxUSE_OPENGL" = "yes" ; then
49048 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49049 fi
49050 if test "$wxUSE_AUI" = "yes" ; then
49051 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49052 fi
49053 if test "$wxUSE_STC" = "yes" ; then
49054 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49055 fi
49056 if test "$wxUSE_XRC" = "yes" ; then
49057 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49058 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49059 fi
49060 fi
49061
49062
49063
49064
49065
49066
49067
49068
49069 if test "$wxUSE_MAC" = 1 ; then
49070 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49071 if test "$USE_DARWIN" = 1; then
49072 LDFLAGS="$LDFLAGS -framework QuickTime"
49073 else
49074 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49075 fi
49076 fi
49077 if test "$USE_DARWIN" = 1; then
49078 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49079 else
49080 LDFLAGS="$LDFLAGS -lCarbonLib"
49081 fi
49082 fi
49083 if test "$wxUSE_COCOA" = 1 ; then
49084 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49085 if test "$wxUSE_MEDIACTRL" = "yes"; then
49086 LDFLAGS="$LDFLAGS -framework QuickTime"
49087 fi
49088 fi
49089 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49090 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49091 fi
49092
49093 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49094
49095 if test "$wxUSE_GUI" = "yes"; then
49096
49097
49098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49099 erase event exec font image minimal mobile \
49100 mobile/wxedit mobile/styles render \
49101 shaped svg taborder vscroll widgets"
49102
49103 if test "$wxUSE_MONOLITHIC" != "yes"; then
49104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49105 fi
49106 if test "$TOOLKIT" = "MSW"; then
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49108 if test "$wxUSE_UNIVERSAL" != "yes"; then
49109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49110 fi
49111 fi
49112 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49114 fi
49115 else
49116 SAMPLES_SUBDIRS="console"
49117 fi
49118
49119
49120 if test "x$INTELCC" = "xyes" ; then
49121 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49122 elif test "$GCC" = yes ; then
49123 CWARNINGS="-Wall -Wundef"
49124 fi
49125
49126 if test "x$INTELCXX" = "xyes" ; then
49127 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49128 elif test "$GXX" = yes ; then
49129 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49130 fi
49131
49132
49133 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49134 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49135
49136
49137 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49138 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49139 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49140 $CPPFLAGS `
49141
49142 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49143 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49144 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49145
49146 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49147
49148
49149 if test "x$MWCC" = "xyes"; then
49150
49151 CC="$CC -cwd source -I-"
49152 CXX="$CXX -cwd source -I-"
49153 fi
49154
49155
49156 LIBS=`echo $LIBS`
49157 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49158 EXTRALIBS_XML="$EXPAT_LINK"
49159 EXTRALIBS_HTML="$MSPACK_LINK"
49160 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49161 if test "$wxUSE_GUI" = "yes"; then
49162 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49163 fi
49164 if test "$wxUSE_OPENGL" = "yes"; then
49165 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49166 fi
49167
49168 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49169
49170 WXCONFIG_LIBS="$LIBS"
49171
49172 if test "$wxUSE_REGEX" = "builtin" ; then
49173 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49174 fi
49175 if test "$wxUSE_EXPAT" = "builtin" ; then
49176 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49177 fi
49178 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49179 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49180 fi
49181 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49182 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49183 fi
49184 if test "$wxUSE_LIBPNG" = "builtin" ; then
49185 wxconfig_3rdparty="png $wxconfig_3rdparty"
49186 fi
49187 if test "$wxUSE_ZLIB" = "builtin" ; then
49188 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49189 fi
49190
49191 for i in $wxconfig_3rdparty ; do
49192 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49193 done
49194
49195
49196 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49197 WXUNIV=1
49198
49199 case "$wxUNIV_THEMES" in
49200 ''|all)
49201 cat >>confdefs.h <<\_ACEOF
49202 #define wxUSE_ALL_THEMES 1
49203 _ACEOF
49204
49205 ;;
49206
49207 *)
49208 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49209 cat >>confdefs.h <<_ACEOF
49210 #define wxUSE_THEME_$t 1
49211 _ACEOF
49212
49213 done
49214 esac
49215 else
49216 WXUNIV=0
49217 fi
49218
49219
49220
49221
49222
49223
49224
49225
49226 if test $wxUSE_MONOLITHIC = "yes" ; then
49227 MONOLITHIC=1
49228 else
49229 MONOLITHIC=0
49230 fi
49231
49232 if test $wxUSE_PLUGINS = "yes" ; then
49233 USE_PLUGINS=1
49234 else
49235 USE_PLUGINS=0
49236 fi
49237
49238 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49239 USE_QA=1
49240 else
49241 USE_QA=0
49242 fi
49243
49244 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49245 OFFICIAL_BUILD=1
49246 else
49247 OFFICIAL_BUILD=0
49248 fi
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
49276
49277
49278
49279
49280
49281
49282
49283
49284 case "$TOOLKIT" in
49285 GTK)
49286 TOOLKIT_DESC="GTK+"
49287 if test "$WXGTK2" = 1; then
49288 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49289 if test "$wxUSE_GTKPRINT" = "yes" ; then
49290 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49291 fi
49292 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49293 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49294 fi
49295 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49296 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49297 fi
49298 if test "$wxUSE_LIBHILDON" = "yes"; then
49299 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49300 fi
49301
49302 if test "$TOOLKIT_EXTRA" != ""; then
49303 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49304 fi
49305 fi
49306 ;;
49307
49308 ?*)
49309 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49310 ;;
49311
49312 *)
49313 TOOLKIT_DESC="base only"
49314 ;;
49315 esac
49316
49317 if test "$wxUSE_WINE" = "yes"; then
49318 BAKEFILE_FORCE_PLATFORM=win32
49319 fi
49320
49321 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49322 then
49323 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49324 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49325 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328
49329 echo '#include <stdio.h>
49330 const wchar_t test_var[] = L"awidetest";' > conftest.h
49331
49332 echo '#include "conftest.h"
49333 int main()
49334 {
49335 printf("%ls", test_var);
49336 return 0;
49337 }' > conftest.cpp
49338
49339 wx_cv_gcc_pch_bug="pch not supported"
49340
49341 if $CXX conftest.h >/dev/null 2>&1
49342 then
49343 wx_cv_gcc_pch_bug=
49344
49345 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49346 then
49347 if tr -dc a-z < conftest$PROGRAM_EXT |
49348 grep awidetest >/dev/null
49349 then
49350 wx_cv_gcc_pch_bug=no
49351 else
49352 wx_cv_gcc_pch_bug=yes
49353 fi
49354 fi
49355 fi
49356
49357 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49358
49359 fi
49360 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49361 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49362
49363 if test "$wx_cv_gcc_pch_bug" = yes; then
49364 bk_use_pch=no
49365 fi
49366 fi
49367
49368
49369
49370
49371 if test "x$BAKEFILE_HOST" = "x"; then
49372 if test "x${host}" = "x" ; then
49373 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49374 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49375 { (exit 1); exit 1; }; }
49376 fi
49377
49378 BAKEFILE_HOST="${host}"
49379 fi
49380
49381 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49382
49383 if test -n "$ac_tool_prefix"; then
49384 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49385 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49388 if test "${ac_cv_prog_RANLIB+set}" = set; then
49389 echo $ECHO_N "(cached) $ECHO_C" >&6
49390 else
49391 if test -n "$RANLIB"; then
49392 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49393 else
49394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49395 for as_dir in $PATH
49396 do
49397 IFS=$as_save_IFS
49398 test -z "$as_dir" && as_dir=.
49399 for ac_exec_ext in '' $ac_executable_extensions; do
49400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49401 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49403 break 2
49404 fi
49405 done
49406 done
49407 IFS=$as_save_IFS
49408
49409 fi
49410 fi
49411 RANLIB=$ac_cv_prog_RANLIB
49412 if test -n "$RANLIB"; then
49413 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49414 echo "${ECHO_T}$RANLIB" >&6; }
49415 else
49416 { echo "$as_me:$LINENO: result: no" >&5
49417 echo "${ECHO_T}no" >&6; }
49418 fi
49419
49420
49421 fi
49422 if test -z "$ac_cv_prog_RANLIB"; then
49423 ac_ct_RANLIB=$RANLIB
49424 # Extract the first word of "ranlib", so it can be a program name with args.
49425 set dummy ranlib; ac_word=$2
49426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49428 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49429 echo $ECHO_N "(cached) $ECHO_C" >&6
49430 else
49431 if test -n "$ac_ct_RANLIB"; then
49432 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49433 else
49434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49435 for as_dir in $PATH
49436 do
49437 IFS=$as_save_IFS
49438 test -z "$as_dir" && as_dir=.
49439 for ac_exec_ext in '' $ac_executable_extensions; do
49440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49441 ac_cv_prog_ac_ct_RANLIB="ranlib"
49442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49443 break 2
49444 fi
49445 done
49446 done
49447 IFS=$as_save_IFS
49448
49449 fi
49450 fi
49451 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49452 if test -n "$ac_ct_RANLIB"; then
49453 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49454 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49455 else
49456 { echo "$as_me:$LINENO: result: no" >&5
49457 echo "${ECHO_T}no" >&6; }
49458 fi
49459
49460 if test "x$ac_ct_RANLIB" = x; then
49461 RANLIB=":"
49462 else
49463 case $cross_compiling:$ac_tool_warned in
49464 yes:)
49465 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&5
49468 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49469 whose name does not start with the host triplet. If you think this
49470 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49471 ac_tool_warned=yes ;;
49472 esac
49473 RANLIB=$ac_ct_RANLIB
49474 fi
49475 else
49476 RANLIB="$ac_cv_prog_RANLIB"
49477 fi
49478
49479 # Find a good install program. We prefer a C program (faster),
49480 # so one script is as good as another. But avoid the broken or
49481 # incompatible versions:
49482 # SysV /etc/install, /usr/sbin/install
49483 # SunOS /usr/etc/install
49484 # IRIX /sbin/install
49485 # AIX /bin/install
49486 # AmigaOS /C/install, which installs bootblocks on floppy discs
49487 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49488 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49489 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49490 # OS/2's system install, which has a completely different semantic
49491 # ./install, which can be erroneously created by make from ./install.sh.
49492 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49493 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49494 if test -z "$INSTALL"; then
49495 if test "${ac_cv_path_install+set}" = set; then
49496 echo $ECHO_N "(cached) $ECHO_C" >&6
49497 else
49498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49499 for as_dir in $PATH
49500 do
49501 IFS=$as_save_IFS
49502 test -z "$as_dir" && as_dir=.
49503 # Account for people who put trailing slashes in PATH elements.
49504 case $as_dir/ in
49505 ./ | .// | /cC/* | \
49506 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49507 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49508 /usr/ucb/* ) ;;
49509 *)
49510 # OSF1 and SCO ODT 3.0 have their own names for install.
49511 # Don't use installbsd from OSF since it installs stuff as root
49512 # by default.
49513 for ac_prog in ginstall scoinst install; do
49514 for ac_exec_ext in '' $ac_executable_extensions; do
49515 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49516 if test $ac_prog = install &&
49517 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49518 # AIX install. It has an incompatible calling convention.
49519 :
49520 elif test $ac_prog = install &&
49521 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49522 # program-specific install script used by HP pwplus--don't use.
49523 :
49524 else
49525 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49526 break 3
49527 fi
49528 fi
49529 done
49530 done
49531 ;;
49532 esac
49533 done
49534 IFS=$as_save_IFS
49535
49536
49537 fi
49538 if test "${ac_cv_path_install+set}" = set; then
49539 INSTALL=$ac_cv_path_install
49540 else
49541 # As a last resort, use the slow shell script. Don't cache a
49542 # value for INSTALL within a source directory, because that will
49543 # break other packages using the cache if that directory is
49544 # removed, or if the value is a relative name.
49545 INSTALL=$ac_install_sh
49546 fi
49547 fi
49548 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49549 echo "${ECHO_T}$INSTALL" >&6; }
49550
49551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49552 # It thinks the first close brace ends the variable substitution.
49553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49554
49555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49556
49557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49558
49559 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49560 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49561 LN_S=$as_ln_s
49562 if test "$LN_S" = "ln -s"; then
49563 { echo "$as_me:$LINENO: result: yes" >&5
49564 echo "${ECHO_T}yes" >&6; }
49565 else
49566 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49567 echo "${ECHO_T}no, using $LN_S" >&6; }
49568 fi
49569
49570
49571 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49573 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49574 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49575 echo $ECHO_N "(cached) $ECHO_C" >&6
49576 else
49577 cat >conftest.make <<\_ACEOF
49578 SHELL = /bin/sh
49579 all:
49580 @echo '@@@%%%=$(MAKE)=@@@%%%'
49581 _ACEOF
49582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49584 *@@@%%%=?*=@@@%%%*)
49585 eval ac_cv_prog_make_${ac_make}_set=yes;;
49586 *)
49587 eval ac_cv_prog_make_${ac_make}_set=no;;
49588 esac
49589 rm -f conftest.make
49590 fi
49591 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49592 { echo "$as_me:$LINENO: result: yes" >&5
49593 echo "${ECHO_T}yes" >&6; }
49594 SET_MAKE=
49595 else
49596 { echo "$as_me:$LINENO: result: no" >&5
49597 echo "${ECHO_T}no" >&6; }
49598 SET_MAKE="MAKE=${MAKE-make}"
49599 fi
49600
49601
49602
49603 if test "x$SUNCXX" = "xyes"; then
49604 AR=$CXX
49605 AROPTIONS="-xar -o"
49606
49607 elif test "x$SGICC" = "xyes"; then
49608 AR=$CXX
49609 AROPTIONS="-ar -o"
49610
49611 else
49612 if test -n "$ac_tool_prefix"; then
49613 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49614 set dummy ${ac_tool_prefix}ar; ac_word=$2
49615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49617 if test "${ac_cv_prog_AR+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49619 else
49620 if test -n "$AR"; then
49621 ac_cv_prog_AR="$AR" # Let the user override the test.
49622 else
49623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49624 for as_dir in $PATH
49625 do
49626 IFS=$as_save_IFS
49627 test -z "$as_dir" && as_dir=.
49628 for ac_exec_ext in '' $ac_executable_extensions; do
49629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49630 ac_cv_prog_AR="${ac_tool_prefix}ar"
49631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49632 break 2
49633 fi
49634 done
49635 done
49636 IFS=$as_save_IFS
49637
49638 fi
49639 fi
49640 AR=$ac_cv_prog_AR
49641 if test -n "$AR"; then
49642 { echo "$as_me:$LINENO: result: $AR" >&5
49643 echo "${ECHO_T}$AR" >&6; }
49644 else
49645 { echo "$as_me:$LINENO: result: no" >&5
49646 echo "${ECHO_T}no" >&6; }
49647 fi
49648
49649
49650 fi
49651 if test -z "$ac_cv_prog_AR"; then
49652 ac_ct_AR=$AR
49653 # Extract the first word of "ar", so it can be a program name with args.
49654 set dummy ar; ac_word=$2
49655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49657 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49658 echo $ECHO_N "(cached) $ECHO_C" >&6
49659 else
49660 if test -n "$ac_ct_AR"; then
49661 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49662 else
49663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49664 for as_dir in $PATH
49665 do
49666 IFS=$as_save_IFS
49667 test -z "$as_dir" && as_dir=.
49668 for ac_exec_ext in '' $ac_executable_extensions; do
49669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49670 ac_cv_prog_ac_ct_AR="ar"
49671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49672 break 2
49673 fi
49674 done
49675 done
49676 IFS=$as_save_IFS
49677
49678 fi
49679 fi
49680 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49681 if test -n "$ac_ct_AR"; then
49682 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49683 echo "${ECHO_T}$ac_ct_AR" >&6; }
49684 else
49685 { echo "$as_me:$LINENO: result: no" >&5
49686 echo "${ECHO_T}no" >&6; }
49687 fi
49688
49689 if test "x$ac_ct_AR" = x; then
49690 AR="ar"
49691 else
49692 case $cross_compiling:$ac_tool_warned in
49693 yes:)
49694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49695 whose name does not start with the host triplet. If you think this
49696 configuration is useful to you, please write to autoconf@gnu.org." >&5
49697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49698 whose name does not start with the host triplet. If you think this
49699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49700 ac_tool_warned=yes ;;
49701 esac
49702 AR=$ac_ct_AR
49703 fi
49704 else
49705 AR="$ac_cv_prog_AR"
49706 fi
49707
49708 AROPTIONS=rcu
49709 fi
49710
49711
49712 if test -n "$ac_tool_prefix"; then
49713 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49714 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720 if test -n "$STRIP"; then
49721 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
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 STRIP=$ac_cv_prog_STRIP
49741 if test -n "$STRIP"; then
49742 { echo "$as_me:$LINENO: result: $STRIP" >&5
49743 echo "${ECHO_T}$STRIP" >&6; }
49744 else
49745 { echo "$as_me:$LINENO: result: no" >&5
49746 echo "${ECHO_T}no" >&6; }
49747 fi
49748
49749
49750 fi
49751 if test -z "$ac_cv_prog_STRIP"; then
49752 ac_ct_STRIP=$STRIP
49753 # Extract the first word of "strip", so it can be a program name with args.
49754 set dummy strip; ac_word=$2
49755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49757 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49758 echo $ECHO_N "(cached) $ECHO_C" >&6
49759 else
49760 if test -n "$ac_ct_STRIP"; then
49761 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49762 else
49763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49764 for as_dir in $PATH
49765 do
49766 IFS=$as_save_IFS
49767 test -z "$as_dir" && as_dir=.
49768 for ac_exec_ext in '' $ac_executable_extensions; do
49769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49770 ac_cv_prog_ac_ct_STRIP="strip"
49771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49772 break 2
49773 fi
49774 done
49775 done
49776 IFS=$as_save_IFS
49777
49778 fi
49779 fi
49780 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49781 if test -n "$ac_ct_STRIP"; then
49782 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49783 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49784 else
49785 { echo "$as_me:$LINENO: result: no" >&5
49786 echo "${ECHO_T}no" >&6; }
49787 fi
49788
49789 if test "x$ac_ct_STRIP" = x; then
49790 STRIP=":"
49791 else
49792 case $cross_compiling:$ac_tool_warned in
49793 yes:)
49794 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49795 whose name does not start with the host triplet. If you think this
49796 configuration is useful to you, please write to autoconf@gnu.org." >&5
49797 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49798 whose name does not start with the host triplet. If you think this
49799 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49800 ac_tool_warned=yes ;;
49801 esac
49802 STRIP=$ac_ct_STRIP
49803 fi
49804 else
49805 STRIP="$ac_cv_prog_STRIP"
49806 fi
49807
49808 if test -n "$ac_tool_prefix"; then
49809 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49810 set dummy ${ac_tool_prefix}nm; ac_word=$2
49811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49813 if test "${ac_cv_prog_NM+set}" = set; then
49814 echo $ECHO_N "(cached) $ECHO_C" >&6
49815 else
49816 if test -n "$NM"; then
49817 ac_cv_prog_NM="$NM" # Let the user override the test.
49818 else
49819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49820 for as_dir in $PATH
49821 do
49822 IFS=$as_save_IFS
49823 test -z "$as_dir" && as_dir=.
49824 for ac_exec_ext in '' $ac_executable_extensions; do
49825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49826 ac_cv_prog_NM="${ac_tool_prefix}nm"
49827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49828 break 2
49829 fi
49830 done
49831 done
49832 IFS=$as_save_IFS
49833
49834 fi
49835 fi
49836 NM=$ac_cv_prog_NM
49837 if test -n "$NM"; then
49838 { echo "$as_me:$LINENO: result: $NM" >&5
49839 echo "${ECHO_T}$NM" >&6; }
49840 else
49841 { echo "$as_me:$LINENO: result: no" >&5
49842 echo "${ECHO_T}no" >&6; }
49843 fi
49844
49845
49846 fi
49847 if test -z "$ac_cv_prog_NM"; then
49848 ac_ct_NM=$NM
49849 # Extract the first word of "nm", so it can be a program name with args.
49850 set dummy nm; ac_word=$2
49851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49853 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49854 echo $ECHO_N "(cached) $ECHO_C" >&6
49855 else
49856 if test -n "$ac_ct_NM"; then
49857 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49858 else
49859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49860 for as_dir in $PATH
49861 do
49862 IFS=$as_save_IFS
49863 test -z "$as_dir" && as_dir=.
49864 for ac_exec_ext in '' $ac_executable_extensions; do
49865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49866 ac_cv_prog_ac_ct_NM="nm"
49867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49868 break 2
49869 fi
49870 done
49871 done
49872 IFS=$as_save_IFS
49873
49874 fi
49875 fi
49876 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49877 if test -n "$ac_ct_NM"; then
49878 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49879 echo "${ECHO_T}$ac_ct_NM" >&6; }
49880 else
49881 { echo "$as_me:$LINENO: result: no" >&5
49882 echo "${ECHO_T}no" >&6; }
49883 fi
49884
49885 if test "x$ac_ct_NM" = x; then
49886 NM=":"
49887 else
49888 case $cross_compiling:$ac_tool_warned in
49889 yes:)
49890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49891 whose name does not start with the host triplet. If you think this
49892 configuration is useful to you, please write to autoconf@gnu.org." >&5
49893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49894 whose name does not start with the host triplet. If you think this
49895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49896 ac_tool_warned=yes ;;
49897 esac
49898 NM=$ac_ct_NM
49899 fi
49900 else
49901 NM="$ac_cv_prog_NM"
49902 fi
49903
49904
49905 case ${BAKEFILE_HOST} in
49906 *-hp-hpux* )
49907 INSTALL_DIR="mkdir -p"
49908 ;;
49909 * )
49910 INSTALL_DIR='$(INSTALL) -d'
49911 ;;
49912 esac
49913
49914
49915 LDFLAGS_GUI=
49916 case ${BAKEFILE_HOST} in
49917 *-*-cygwin* | *-*-mingw32* )
49918 LDFLAGS_GUI="-mwindows"
49919 esac
49920
49921
49922 fi
49923
49924 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49925 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49926 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 else
49929
49930 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49931 egrep -s GNU > /dev/null); then
49932 bakefile_cv_prog_makeisgnu="yes"
49933 else
49934 bakefile_cv_prog_makeisgnu="no"
49935 fi
49936
49937 fi
49938 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49939 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49940
49941 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49942 IF_GNU_MAKE=""
49943 else
49944 IF_GNU_MAKE="#"
49945 fi
49946
49947
49948
49949 PLATFORM_UNIX=0
49950 PLATFORM_WIN32=0
49951 PLATFORM_MSDOS=0
49952 PLATFORM_MAC=0
49953 PLATFORM_MACOS=0
49954 PLATFORM_MACOSX=0
49955 PLATFORM_OS2=0
49956 PLATFORM_BEOS=0
49957
49958 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49959 case "${BAKEFILE_HOST}" in
49960 *-*-mingw32* )
49961 PLATFORM_WIN32=1
49962 ;;
49963 *-pc-msdosdjgpp )
49964 PLATFORM_MSDOS=1
49965 ;;
49966 *-pc-os2_emx | *-pc-os2-emx )
49967 PLATFORM_OS2=1
49968 ;;
49969 *-*-darwin* )
49970 PLATFORM_MAC=1
49971 PLATFORM_MACOSX=1
49972 ;;
49973 *-*-beos* )
49974 PLATFORM_BEOS=1
49975 ;;
49976 powerpc-apple-macos* )
49977 PLATFORM_MAC=1
49978 PLATFORM_MACOS=1
49979 ;;
49980 * )
49981 PLATFORM_UNIX=1
49982 ;;
49983 esac
49984 else
49985 case "$BAKEFILE_FORCE_PLATFORM" in
49986 win32 )
49987 PLATFORM_WIN32=1
49988 ;;
49989 msdos )
49990 PLATFORM_MSDOS=1
49991 ;;
49992 os2 )
49993 PLATFORM_OS2=1
49994 ;;
49995 darwin )
49996 PLATFORM_MAC=1
49997 PLATFORM_MACOSX=1
49998 ;;
49999 unix )
50000 PLATFORM_UNIX=1
50001 ;;
50002 beos )
50003 PLATFORM_BEOS=1
50004 ;;
50005 * )
50006 ;;
50007 esac
50008 fi
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020 # Check whether --enable-omf was given.
50021 if test "${enable_omf+set}" = set; then
50022 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50023 fi
50024
50025
50026 case "${BAKEFILE_HOST}" in
50027 *-*-darwin* )
50028 if test "x$GCC" = "xyes"; then
50029 CFLAGS="$CFLAGS -fno-common"
50030 CXXFLAGS="$CXXFLAGS -fno-common"
50031 fi
50032 if test "x$XLCC" = "xyes"; then
50033 CFLAGS="$CFLAGS -qnocommon"
50034 CXXFLAGS="$CXXFLAGS -qnocommon"
50035 fi
50036 ;;
50037
50038 *-pc-os2_emx | *-pc-os2-emx )
50039 if test "x$bk_os2_use_omf" = "xyes" ; then
50040 AR=emxomfar
50041 RANLIB=:
50042 LDFLAGS="-Zomf $LDFLAGS"
50043 CFLAGS="-Zomf $CFLAGS"
50044 CXXFLAGS="-Zomf $CXXFLAGS"
50045 OS2_LIBEXT="lib"
50046 else
50047 OS2_LIBEXT="a"
50048 fi
50049 ;;
50050
50051 i*86-*-beos* )
50052 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50053 ;;
50054 esac
50055
50056
50057 SO_SUFFIX="so"
50058 SO_SUFFIX_MODULE="so"
50059 EXEEXT=""
50060 LIBPREFIX="lib"
50061 LIBEXT=".a"
50062 DLLPREFIX="lib"
50063 DLLPREFIX_MODULE=""
50064 DLLIMP_SUFFIX=""
50065 dlldir="$libdir"
50066
50067 case "${BAKEFILE_HOST}" in
50068 *-hp-hpux* )
50069 SO_SUFFIX="sl"
50070 SO_SUFFIX_MODULE="sl"
50071 ;;
50072 *-*-aix* )
50073 SO_SUFFIX="a"
50074 SO_SUFFIX_MODULE="a"
50075 ;;
50076 *-*-cygwin* )
50077 SO_SUFFIX="dll"
50078 SO_SUFFIX_MODULE="dll"
50079 DLLIMP_SUFFIX="dll.a"
50080 EXEEXT=".exe"
50081 DLLPREFIX="cyg"
50082 dlldir="$bindir"
50083 ;;
50084 *-*-mingw32* )
50085 SO_SUFFIX="dll"
50086 SO_SUFFIX_MODULE="dll"
50087 DLLIMP_SUFFIX="dll.a"
50088 EXEEXT=".exe"
50089 DLLPREFIX=""
50090 dlldir="$bindir"
50091 ;;
50092 *-pc-msdosdjgpp )
50093 EXEEXT=".exe"
50094 DLLPREFIX=""
50095 dlldir="$bindir"
50096 ;;
50097 *-pc-os2_emx | *-pc-os2-emx )
50098 SO_SUFFIX="dll"
50099 SO_SUFFIX_MODULE="dll"
50100 DLLIMP_SUFFIX=$OS2_LIBEXT
50101 EXEEXT=".exe"
50102 DLLPREFIX=""
50103 LIBPREFIX=""
50104 LIBEXT=".$OS2_LIBEXT"
50105 dlldir="$bindir"
50106 ;;
50107 *-*-darwin* )
50108 SO_SUFFIX="dylib"
50109 SO_SUFFIX_MODULE="bundle"
50110 ;;
50111 esac
50112
50113 if test "x$DLLIMP_SUFFIX" = "x" ; then
50114 DLLIMP_SUFFIX="$SO_SUFFIX"
50115 fi
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128 PIC_FLAG=""
50129 if test "x$GCC" = "xyes"; then
50130 PIC_FLAG="-fPIC"
50131 fi
50132
50133 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50134 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50135 WINDOWS_IMPLIB=0
50136
50137 case "${BAKEFILE_HOST}" in
50138 *-hp-hpux* )
50139 if test "x$GCC" != "xyes"; then
50140 LDFLAGS="$LDFLAGS -L/usr/lib"
50141
50142 SHARED_LD_CC="${CC} -b -o"
50143 SHARED_LD_CXX="${CXX} -b -o"
50144 PIC_FLAG="+Z"
50145 fi
50146 ;;
50147
50148 *-*-linux* )
50149 if test "$INTELCC" = "yes"; then
50150 PIC_FLAG="-KPIC"
50151 elif test "x$SUNCXX" = "xyes"; then
50152 SHARED_LD_CC="${CC} -G -o"
50153 SHARED_LD_CXX="${CXX} -G -o"
50154 PIC_FLAG="-KPIC"
50155 fi
50156 ;;
50157
50158 *-*-solaris2* )
50159 if test "x$SUNCXX" = xyes ; then
50160 SHARED_LD_CC="${CC} -G -o"
50161 SHARED_LD_CXX="${CXX} -G -o"
50162 PIC_FLAG="-KPIC"
50163 fi
50164 ;;
50165
50166 *-*-darwin* )
50167
50168 D='$'
50169 cat <<EOF >shared-ld-sh
50170 #!/bin/sh
50171 #-----------------------------------------------------------------------------
50172 #-- Name: distrib/mac/shared-ld-sh
50173 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50174 #-- Author: Gilles Depeyrot
50175 #-- Copyright: (c) 2002 Gilles Depeyrot
50176 #-- Licence: any use permitted
50177 #-----------------------------------------------------------------------------
50178
50179 verbose=0
50180 args=""
50181 objects=""
50182 linking_flag="-dynamiclib"
50183 ldargs="-r -keep_private_externs -nostdlib"
50184
50185 while test ${D}# -gt 0; do
50186 case ${D}1 in
50187
50188 -v)
50189 verbose=1
50190 ;;
50191
50192 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50193 # collect these options and values
50194 args="${D}{args} ${D}1 ${D}2"
50195 shift
50196 ;;
50197
50198 -s|-Wl,*)
50199 # collect these load args
50200 ldargs="${D}{ldargs} ${D}1"
50201 ;;
50202
50203 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50204 # collect these options
50205 args="${D}{args} ${D}1"
50206 ;;
50207
50208 -dynamiclib|-bundle)
50209 linking_flag="${D}1"
50210 ;;
50211
50212 -*)
50213 echo "shared-ld: unhandled option '${D}1'"
50214 exit 1
50215 ;;
50216
50217 *.o | *.a | *.dylib)
50218 # collect object files
50219 objects="${D}{objects} ${D}1"
50220 ;;
50221
50222 *)
50223 echo "shared-ld: unhandled argument '${D}1'"
50224 exit 1
50225 ;;
50226
50227 esac
50228 shift
50229 done
50230
50231 status=0
50232
50233 #
50234 # Link one module containing all the others
50235 #
50236 if test ${D}{verbose} = 1; then
50237 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50238 fi
50239 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50240 status=${D}?
50241
50242 #
50243 # Link the shared library from the single module created, but only if the
50244 # previous command didn't fail:
50245 #
50246 if test ${D}{status} = 0; then
50247 if test ${D}{verbose} = 1; then
50248 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50249 fi
50250 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50251 status=${D}?
50252 fi
50253
50254 #
50255 # Remove intermediate module
50256 #
50257 rm -f master.${D}${D}.o
50258
50259 exit ${D}status
50260 EOF
50261
50262 chmod +x shared-ld-sh
50263
50264 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50265 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50266
50267
50268 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50269 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50270 if test "${bakefile_cv_gcc31+set}" = set; then
50271 echo $ECHO_N "(cached) $ECHO_C" >&6
50272 else
50273
50274 cat >conftest.$ac_ext <<_ACEOF
50275 /* confdefs.h. */
50276 _ACEOF
50277 cat confdefs.h >>conftest.$ac_ext
50278 cat >>conftest.$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50280
50281 int
50282 main ()
50283 {
50284
50285 #if (__GNUC__ < 3) || \
50286 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50287 This is old gcc
50288 #endif
50289
50290 ;
50291 return 0;
50292 }
50293 _ACEOF
50294 rm -f conftest.$ac_objext
50295 if { (ac_try="$ac_compile"
50296 case "(($ac_try" in
50297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50298 *) ac_try_echo=$ac_try;;
50299 esac
50300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50301 (eval "$ac_compile") 2>conftest.er1
50302 ac_status=$?
50303 grep -v '^ *+' conftest.er1 >conftest.err
50304 rm -f conftest.er1
50305 cat conftest.err >&5
50306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50307 (exit $ac_status); } && {
50308 test -z "$ac_c_werror_flag" ||
50309 test ! -s conftest.err
50310 } && test -s conftest.$ac_objext; then
50311
50312 bakefile_cv_gcc31=yes
50313
50314 else
50315 echo "$as_me: failed program was:" >&5
50316 sed 's/^/| /' conftest.$ac_ext >&5
50317
50318
50319 bakefile_cv_gcc31=no
50320
50321
50322 fi
50323
50324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50325
50326 fi
50327 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50328 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50329 if test "$bakefile_cv_gcc31" = "no"; then
50330 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50331 SHARED_LD_CXX="$SHARED_LD_CC"
50332 else
50333 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50334 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50335 fi
50336
50337 if test "x$GCC" == "xyes"; then
50338 PIC_FLAG="-dynamic -fPIC"
50339 fi
50340 if test "x$XLCC" = "xyes"; then
50341 PIC_FLAG="-dynamic -DPIC"
50342 fi
50343 ;;
50344
50345 *-*-aix* )
50346 if test "x$GCC" = "xyes"; then
50347 PIC_FLAG=""
50348
50349 case "${BAKEFILE_HOST}" in
50350 *-*-aix5* )
50351 LD_EXPFULL="-Wl,-bexpfull"
50352 ;;
50353 esac
50354
50355 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50356 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50357 else
50358 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50359 set dummy makeC++SharedLib; ac_word=$2
50360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50362 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50363 echo $ECHO_N "(cached) $ECHO_C" >&6
50364 else
50365 if test -n "$AIX_CXX_LD"; then
50366 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50367 else
50368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50369 for as_dir in $PATH
50370 do
50371 IFS=$as_save_IFS
50372 test -z "$as_dir" && as_dir=.
50373 for ac_exec_ext in '' $ac_executable_extensions; do
50374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50375 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50377 break 2
50378 fi
50379 done
50380 done
50381 IFS=$as_save_IFS
50382
50383 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50384 fi
50385 fi
50386 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50387 if test -n "$AIX_CXX_LD"; then
50388 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50389 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50390 else
50391 { echo "$as_me:$LINENO: result: no" >&5
50392 echo "${ECHO_T}no" >&6; }
50393 fi
50394
50395
50396 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50397 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50398 fi
50399 ;;
50400
50401 *-*-beos* )
50402 SHARED_LD_CC="${LD} -nostart -o"
50403 SHARED_LD_CXX="${LD} -nostart -o"
50404 ;;
50405
50406 *-*-irix* )
50407 if test "x$GCC" != "xyes"; then
50408 PIC_FLAG="-KPIC"
50409 fi
50410 ;;
50411
50412 *-*-cygwin* | *-*-mingw32* )
50413 PIC_FLAG=""
50414 SHARED_LD_CC="\$(CC) -shared -o"
50415 SHARED_LD_CXX="\$(CXX) -shared -o"
50416 WINDOWS_IMPLIB=1
50417 ;;
50418
50419 *-pc-os2_emx | *-pc-os2-emx )
50420 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50421 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50422 PIC_FLAG=""
50423
50424 D='$'
50425 cat <<EOF >dllar.sh
50426 #!/bin/sh
50427 #
50428 # dllar - a tool to build both a .dll and an .a file
50429 # from a set of object (.o) files for EMX/OS2.
50430 #
50431 # Written by Andrew Zabolotny, bit@freya.etu.ru
50432 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50433 #
50434 # This script will accept a set of files on the command line.
50435 # All the public symbols from the .o files will be exported into
50436 # a .DEF file, then linker will be run (through gcc) against them to
50437 # build a shared library consisting of all given .o files. All libraries
50438 # (.a) will be first decompressed into component .o files then act as
50439 # described above. You can optionally give a description (-d "description")
50440 # which will be put into .DLL. To see the list of accepted options (as well
50441 # as command-line format) simply run this program without options. The .DLL
50442 # is built to be imported by name (there is no guarantee that new versions
50443 # of the library you build will have same ordinals for same symbols).
50444 #
50445 # dllar is free software; you can redistribute it and/or modify
50446 # it under the terms of the GNU General Public License as published by
50447 # the Free Software Foundation; either version 2, or (at your option)
50448 # any later version.
50449 #
50450 # dllar is distributed in the hope that it will be useful,
50451 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50452 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50453 # GNU General Public License for more details.
50454 #
50455 # You should have received a copy of the GNU General Public License
50456 # along with dllar; see the file COPYING. If not, write to the Free
50457 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50458 # 02111-1307, USA.
50459
50460 # To successfuly run this program you will need:
50461 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50462 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50463 # - gcc
50464 # (used to build the .dll)
50465 # - emxexp
50466 # (used to create .def file from .o files)
50467 # - emximp
50468 # (used to create .a file from .def file)
50469 # - GNU text utilites (cat, sort, uniq)
50470 # used to process emxexp output
50471 # - GNU file utilities (mv, rm)
50472 # - GNU sed
50473 # - lxlite (optional, see flag below)
50474 # (used for general .dll cleanup)
50475 #
50476
50477 flag_USE_LXLITE=1;
50478
50479 #
50480 # helper functions
50481 # basnam, variant of basename, which does _not_ remove the path, _iff_
50482 # second argument (suffix to remove) is given
50483 basnam(){
50484 case ${D}# in
50485 1)
50486 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50487 ;;
50488 2)
50489 echo ${D}1 | sed 's/'${D}2'${D}//'
50490 ;;
50491 *)
50492 echo "error in basnam ${D}*"
50493 exit 8
50494 ;;
50495 esac
50496 }
50497
50498 # Cleanup temporary files and output
50499 CleanUp() {
50500 cd ${D}curDir
50501 for i in ${D}inputFiles ; do
50502 case ${D}i in
50503 *!)
50504 rm -rf \`basnam ${D}i !\`
50505 ;;
50506 *)
50507 ;;
50508 esac
50509 done
50510
50511 # Kill result in case of failure as there is just to many stupid make/nmake
50512 # things out there which doesn't do this.
50513 if [ ${D}# -eq 0 ]; then
50514 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50515 fi
50516 }
50517
50518 # Print usage and exit script with rc=1.
50519 PrintHelp() {
50520 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50521 echo ' [-name-mangler-script script.sh]'
50522 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50523 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50524 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50525 echo ' [*.o] [*.a]'
50526 echo '*> "output_file" should have no extension.'
50527 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50528 echo ' The import library name is derived from this and is set to "name".a,'
50529 echo ' unless overridden by -import'
50530 echo '*> "importlib_name" should have no extension.'
50531 echo ' If it has the .o, or .a extension, it is automatically removed.'
50532 echo ' This name is used as the import library name and may be longer and'
50533 echo ' more descriptive than the DLL name which has to follow the old '
50534 echo ' 8.3 convention of FAT.'
50535 echo '*> "script.sh may be given to override the output_file name by a'
50536 echo ' different name. It is mainly useful if the regular make process'
50537 echo ' of some package does not take into account OS/2 restriction of'
50538 echo ' DLL name lengths. It takes the importlib name as input and is'
50539 echo ' supposed to procude a shorter name as output. The script should'
50540 echo ' expect to get importlib_name without extension and should produce'
50541 echo ' a (max.) 8 letter name without extension.'
50542 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50543 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50544 echo ' These flags will be put at the start of GCC command line.'
50545 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50546 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50547 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50548 echo ' If the last character of a symbol is "*", all symbols beginning'
50549 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50550 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50551 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50552 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50553 echo ' C runtime DLLs.'
50554 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50555 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50556 echo ' unchanged to GCC at the end of command line.'
50557 echo '*> If you create a DLL from a library and you do not specify -o,'
50558 echo ' the basename for DLL and import library will be set to library name,'
50559 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50560 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50561 echo ' library will be renamed into gcc_s.a.'
50562 echo '--------'
50563 echo 'Example:'
50564 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50565 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50566 CleanUp
50567 exit 1
50568 }
50569
50570 # Execute a command.
50571 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50572 # @Uses Whatever CleanUp() uses.
50573 doCommand() {
50574 echo "${D}*"
50575 eval ${D}*
50576 rcCmd=${D}?
50577
50578 if [ ${D}rcCmd -ne 0 ]; then
50579 echo "command failed, exit code="${D}rcCmd
50580 CleanUp
50581 exit ${D}rcCmd
50582 fi
50583 }
50584
50585 # main routine
50586 # setup globals
50587 cmdLine=${D}*
50588 outFile=""
50589 outimpFile=""
50590 inputFiles=""
50591 renameScript=""
50592 description=""
50593 CC=gcc.exe
50594 CFLAGS="-s -Zcrtdll"
50595 EXTRA_CFLAGS=""
50596 EXPORT_BY_ORDINALS=0
50597 exclude_symbols=""
50598 library_flags=""
50599 curDir=\`pwd\`
50600 curDirS=curDir
50601 case ${D}curDirS in
50602 */)
50603 ;;
50604 *)
50605 curDirS=${D}{curDirS}"/"
50606 ;;
50607 esac
50608 # Parse commandline
50609 libsToLink=0
50610 omfLinking=0
50611 while [ ${D}1 ]; do
50612 case ${D}1 in
50613 -ord*)
50614 EXPORT_BY_ORDINALS=1;
50615 ;;
50616 -o*)
50617 shift
50618 outFile=${D}1
50619 ;;
50620 -i*)
50621 shift
50622 outimpFile=${D}1
50623 ;;
50624 -name-mangler-script)
50625 shift
50626 renameScript=${D}1
50627 ;;
50628 -d*)
50629 shift
50630 description=${D}1
50631 ;;
50632 -f*)
50633 shift
50634 CFLAGS=${D}1
50635 ;;
50636 -c*)
50637 shift
50638 CC=${D}1
50639 ;;
50640 -h*)
50641 PrintHelp
50642 ;;
50643 -ex*)
50644 shift
50645 exclude_symbols=${D}{exclude_symbols}${D}1" "
50646 ;;
50647 -libf*)
50648 shift
50649 library_flags=${D}{library_flags}${D}1" "
50650 ;;
50651 -nocrt*)
50652 CFLAGS="-s"
50653 ;;
50654 -nolxl*)
50655 flag_USE_LXLITE=0
50656 ;;
50657 -* | /*)
50658 case ${D}1 in
50659 -L* | -l*)
50660 libsToLink=1
50661 ;;
50662 -Zomf)
50663 omfLinking=1
50664 ;;
50665 *)
50666 ;;
50667 esac
50668 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50669 ;;
50670 *.dll)
50671 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50672 if [ ${D}omfLinking -eq 1 ]; then
50673 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50674 else
50675 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50676 fi
50677 ;;
50678 *)
50679 found=0;
50680 if [ ${D}libsToLink -ne 0 ]; then
50681 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50682 else
50683 for file in ${D}1 ; do
50684 if [ -f ${D}file ]; then
50685 inputFiles="${D}{inputFiles} ${D}file"
50686 found=1
50687 fi
50688 done
50689 if [ ${D}found -eq 0 ]; then
50690 echo "ERROR: No file(s) found: "${D}1
50691 exit 8
50692 fi
50693 fi
50694 ;;
50695 esac
50696 shift
50697 done # iterate cmdline words
50698
50699 #
50700 if [ -z "${D}inputFiles" ]; then
50701 echo "dllar: no input files"
50702 PrintHelp
50703 fi
50704
50705 # Now extract all .o files from .a files
50706 newInputFiles=""
50707 for file in ${D}inputFiles ; do
50708 case ${D}file in
50709 *.a | *.lib)
50710 case ${D}file in
50711 *.a)
50712 suffix=".a"
50713 AR="ar"
50714 ;;
50715 *.lib)
50716 suffix=".lib"
50717 AR="emxomfar"
50718 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50719 ;;
50720 *)
50721 ;;
50722 esac
50723 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50724 mkdir ${D}dirname
50725 if [ ${D}? -ne 0 ]; then
50726 echo "Failed to create subdirectory ./${D}dirname"
50727 CleanUp
50728 exit 8;
50729 fi
50730 # Append '!' to indicate archive
50731 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50732 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50733 cd ${D}curDir
50734 found=0;
50735 for subfile in ${D}dirname/*.o* ; do
50736 if [ -f ${D}subfile ]; then
50737 found=1
50738 if [ -s ${D}subfile ]; then
50739 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50740 newInputFiles="${D}newInputFiles ${D}subfile"
50741 fi
50742 fi
50743 done
50744 if [ ${D}found -eq 0 ]; then
50745 echo "WARNING: there are no files in archive \\'${D}file\\'"
50746 fi
50747 ;;
50748 *)
50749 newInputFiles="${D}{newInputFiles} ${D}file"
50750 ;;
50751 esac
50752 done
50753 inputFiles="${D}newInputFiles"
50754
50755 # Output filename(s).
50756 do_backup=0;
50757 if [ -z ${D}outFile ]; then
50758 do_backup=1;
50759 set outFile ${D}inputFiles; outFile=${D}2
50760 fi
50761
50762 # If it is an archive, remove the '!' and the '_%' suffixes
50763 case ${D}outFile in
50764 *_%!)
50765 outFile=\`basnam ${D}outFile _%!\`
50766 ;;
50767 *)
50768 ;;
50769 esac
50770 case ${D}outFile in
50771 *.dll)
50772 outFile=\`basnam ${D}outFile .dll\`
50773 ;;
50774 *.DLL)
50775 outFile=\`basnam ${D}outFile .DLL\`
50776 ;;
50777 *.o)
50778 outFile=\`basnam ${D}outFile .o\`
50779 ;;
50780 *.obj)
50781 outFile=\`basnam ${D}outFile .obj\`
50782 ;;
50783 *.a)
50784 outFile=\`basnam ${D}outFile .a\`
50785 ;;
50786 *.lib)
50787 outFile=\`basnam ${D}outFile .lib\`
50788 ;;
50789 *)
50790 ;;
50791 esac
50792 case ${D}outimpFile in
50793 *.a)
50794 outimpFile=\`basnam ${D}outimpFile .a\`
50795 ;;
50796 *.lib)
50797 outimpFile=\`basnam ${D}outimpFile .lib\`
50798 ;;
50799 *)
50800 ;;
50801 esac
50802 if [ -z ${D}outimpFile ]; then
50803 outimpFile=${D}outFile
50804 fi
50805 defFile="${D}{outFile}.def"
50806 arcFile="${D}{outimpFile}.a"
50807 arcFile2="${D}{outimpFile}.lib"
50808
50809 #create ${D}dllFile as something matching 8.3 restrictions,
50810 if [ -z ${D}renameScript ] ; then
50811 dllFile="${D}outFile"
50812 else
50813 dllFile=\`${D}renameScript ${D}outimpFile\`
50814 fi
50815
50816 if [ ${D}do_backup -ne 0 ] ; then
50817 if [ -f ${D}arcFile ] ; then
50818 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50819 fi
50820 if [ -f ${D}arcFile2 ] ; then
50821 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50822 fi
50823 fi
50824
50825 # Extract public symbols from all the object files.
50826 tmpdefFile=${D}{defFile}_%
50827 rm -f ${D}tmpdefFile
50828 for file in ${D}inputFiles ; do
50829 case ${D}file in
50830 *!)
50831 ;;
50832 *)
50833 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50834 ;;
50835 esac
50836 done
50837
50838 # Create the def file.
50839 rm -f ${D}defFile
50840 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50841 dllFile="${D}{dllFile}.dll"
50842 if [ ! -z ${D}description ]; then
50843 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50844 fi
50845 echo "EXPORTS" >> ${D}defFile
50846
50847 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50848 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50849
50850 # Checks if the export is ok or not.
50851 for word in ${D}exclude_symbols; do
50852 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50853 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50854 done
50855
50856
50857 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50858 sed "=" < ${D}tmpdefFile | \\
50859 sed '
50860 N
50861 : loop
50862 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50863 t loop
50864 ' > ${D}{tmpdefFile}%
50865 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50866 else
50867 rm -f ${D}{tmpdefFile}%
50868 fi
50869 cat ${D}tmpdefFile >> ${D}defFile
50870 rm -f ${D}tmpdefFile
50871
50872 # Do linking, create implib, and apply lxlite.
50873 gccCmdl="";
50874 for file in ${D}inputFiles ; do
50875 case ${D}file in
50876 *!)
50877 ;;
50878 *)
50879 gccCmdl="${D}gccCmdl ${D}file"
50880 ;;
50881 esac
50882 done
50883 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50884 touch "${D}{outFile}.dll"
50885
50886 doCommand "emximp -o ${D}arcFile ${D}defFile"
50887 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50888 add_flags="";
50889 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50890 add_flags="-ynd"
50891 fi
50892 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50893 fi
50894 doCommand "emxomf -s -l ${D}arcFile"
50895
50896 # Successful exit.
50897 CleanUp 1
50898 exit 0
50899 EOF
50900
50901 chmod +x dllar.sh
50902 ;;
50903
50904 powerpc-apple-macos* | \
50905 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50906 *-*-mirbsd* | \
50907 *-*-sunos4* | \
50908 *-*-osf* | \
50909 *-*-dgux5* | \
50910 *-*-sysv5* | \
50911 *-pc-msdosdjgpp )
50912 ;;
50913
50914 *)
50915 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50916 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50917 { (exit 1); exit 1; }; }
50918 esac
50919
50920 if test "x$PIC_FLAG" != "x" ; then
50921 PIC_FLAG="$PIC_FLAG -DPIC"
50922 fi
50923
50924 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50925 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50926 fi
50927 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50928 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50929 fi
50930
50931
50932
50933
50934
50935
50936
50937
50938
50939 USE_SOVERSION=0
50940 USE_SOVERLINUX=0
50941 USE_SOVERSOLARIS=0
50942 USE_SOVERCYGWIN=0
50943 USE_SOSYMLINKS=0
50944 USE_MACVERSION=0
50945 SONAME_FLAG=
50946
50947 case "${BAKEFILE_HOST}" in
50948 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50949 if test "x$SUNCXX" = "xyes"; then
50950 SONAME_FLAG="-h "
50951 else
50952 SONAME_FLAG="-Wl,-soname,"
50953 fi
50954 USE_SOVERSION=1
50955 USE_SOVERLINUX=1
50956 USE_SOSYMLINKS=1
50957 ;;
50958
50959 *-*-solaris2* )
50960 SONAME_FLAG="-h "
50961 USE_SOVERSION=1
50962 USE_SOVERSOLARIS=1
50963 USE_SOSYMLINKS=1
50964 ;;
50965
50966 *-*-darwin* )
50967 USE_MACVERSION=1
50968 USE_SOVERSION=1
50969 USE_SOSYMLINKS=1
50970 ;;
50971
50972 *-*-cygwin* )
50973 USE_SOVERSION=1
50974 USE_SOVERCYGWIN=1
50975 ;;
50976 esac
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987 # Check whether --enable-dependency-tracking was given.
50988 if test "${enable_dependency_tracking+set}" = set; then
50989 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50990 fi
50991
50992
50993 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50994 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50995
50996 BK_DEPS=""
50997 if test "x$bk_use_trackdeps" = "xno" ; then
50998 DEPS_TRACKING=0
50999 { echo "$as_me:$LINENO: result: disabled" >&5
51000 echo "${ECHO_T}disabled" >&6; }
51001 else
51002 DEPS_TRACKING=1
51003
51004 if test "x$GCC" = "xyes"; then
51005 DEPSMODE=gcc
51006 case "${BAKEFILE_HOST}" in
51007 *-*-darwin* )
51008 DEPSFLAG="-no-cpp-precomp -MMD"
51009 ;;
51010 * )
51011 DEPSFLAG="-MMD"
51012 ;;
51013 esac
51014 { echo "$as_me:$LINENO: result: gcc" >&5
51015 echo "${ECHO_T}gcc" >&6; }
51016 elif test "x$MWCC" = "xyes"; then
51017 DEPSMODE=mwcc
51018 DEPSFLAG="-MM"
51019 { echo "$as_me:$LINENO: result: mwcc" >&5
51020 echo "${ECHO_T}mwcc" >&6; }
51021 elif test "x$SUNCC" = "xyes"; then
51022 DEPSMODE=unixcc
51023 DEPSFLAG="-xM1"
51024 { echo "$as_me:$LINENO: result: Sun cc" >&5
51025 echo "${ECHO_T}Sun cc" >&6; }
51026 elif test "x$SGICC" = "xyes"; then
51027 DEPSMODE=unixcc
51028 DEPSFLAG="-M"
51029 { echo "$as_me:$LINENO: result: SGI cc" >&5
51030 echo "${ECHO_T}SGI cc" >&6; }
51031 elif test "x$HPCC" = "xyes"; then
51032 DEPSMODE=unixcc
51033 DEPSFLAG="+make"
51034 { echo "$as_me:$LINENO: result: HP cc" >&5
51035 echo "${ECHO_T}HP cc" >&6; }
51036 elif test "x$COMPAQCC" = "xyes"; then
51037 DEPSMODE=gcc
51038 DEPSFLAG="-MD"
51039 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51040 echo "${ECHO_T}Compaq cc" >&6; }
51041 else
51042 DEPS_TRACKING=0
51043 { echo "$as_me:$LINENO: result: none" >&5
51044 echo "${ECHO_T}none" >&6; }
51045 fi
51046
51047 if test $DEPS_TRACKING = 1 ; then
51048
51049 D='$'
51050 cat <<EOF >bk-deps
51051 #!/bin/sh
51052
51053 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51054 # script. It is used to track C/C++ files dependencies in portable way.
51055 #
51056 # Permission is given to use this file in any way.
51057
51058 DEPSMODE=${DEPSMODE}
51059 DEPSDIR=.deps
51060 DEPSFLAG="${DEPSFLAG}"
51061
51062 mkdir -p ${D}DEPSDIR
51063
51064 if test ${D}DEPSMODE = gcc ; then
51065 ${D}* ${D}{DEPSFLAG}
51066 status=${D}?
51067 if test ${D}{status} != 0 ; then
51068 exit ${D}{status}
51069 fi
51070 # move created file to the location we want it in:
51071 while test ${D}# -gt 0; do
51072 case "${D}1" in
51073 -o )
51074 shift
51075 objfile=${D}1
51076 ;;
51077 -* )
51078 ;;
51079 * )
51080 srcfile=${D}1
51081 ;;
51082 esac
51083 shift
51084 done
51085 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51086 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51087 if test -f ${D}depfile ; then
51088 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51089 rm -f ${D}depfile
51090 else
51091 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51092 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51093 if test ! -f ${D}depfile ; then
51094 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51095 depfile="${D}objfile.d"
51096 fi
51097 if test -f ${D}depfile ; then
51098 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51099 rm -f ${D}depfile
51100 fi
51101 fi
51102 exit 0
51103 elif test ${D}DEPSMODE = mwcc ; then
51104 ${D}* || exit ${D}?
51105 # Run mwcc again with -MM and redirect into the dep file we want
51106 # NOTE: We can't use shift here because we need ${D}* to be valid
51107 prevarg=
51108 for arg in ${D}* ; do
51109 if test "${D}prevarg" = "-o"; then
51110 objfile=${D}arg
51111 else
51112 case "${D}arg" in
51113 -* )
51114 ;;
51115 * )
51116 srcfile=${D}arg
51117 ;;
51118 esac
51119 fi
51120 prevarg="${D}arg"
51121 done
51122 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51123 exit 0
51124 elif test ${D}DEPSMODE = unixcc; then
51125 ${D}* || exit ${D}?
51126 # Run compiler again with deps flag and redirect into the dep file.
51127 # It doesn't work if the '-o FILE' option is used, but without it the
51128 # dependency file will contain the wrong name for the object. So it is
51129 # removed from the command line, and the dep file is fixed with sed.
51130 cmd=""
51131 while test ${D}# -gt 0; do
51132 case "${D}1" in
51133 -o )
51134 shift
51135 objfile=${D}1
51136 ;;
51137 * )
51138 eval arg${D}#=\\${D}1
51139 cmd="${D}cmd \\${D}arg${D}#"
51140 ;;
51141 esac
51142 shift
51143 done
51144 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51145 exit 0
51146 else
51147 ${D}*
51148 exit ${D}?
51149 fi
51150 EOF
51151
51152 chmod +x bk-deps
51153 BK_DEPS="`pwd`/bk-deps"
51154 fi
51155 fi
51156
51157
51158
51159
51160
51161 case ${BAKEFILE_HOST} in
51162 *-*-cygwin* | *-*-mingw32* )
51163 if test -n "$ac_tool_prefix"; then
51164 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51165 set dummy ${ac_tool_prefix}windres; ac_word=$2
51166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51168 if test "${ac_cv_prog_WINDRES+set}" = set; then
51169 echo $ECHO_N "(cached) $ECHO_C" >&6
51170 else
51171 if test -n "$WINDRES"; then
51172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51173 else
51174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51175 for as_dir in $PATH
51176 do
51177 IFS=$as_save_IFS
51178 test -z "$as_dir" && as_dir=.
51179 for ac_exec_ext in '' $ac_executable_extensions; do
51180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51181 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51183 break 2
51184 fi
51185 done
51186 done
51187 IFS=$as_save_IFS
51188
51189 fi
51190 fi
51191 WINDRES=$ac_cv_prog_WINDRES
51192 if test -n "$WINDRES"; then
51193 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51194 echo "${ECHO_T}$WINDRES" >&6; }
51195 else
51196 { echo "$as_me:$LINENO: result: no" >&5
51197 echo "${ECHO_T}no" >&6; }
51198 fi
51199
51200
51201 fi
51202 if test -z "$ac_cv_prog_WINDRES"; then
51203 ac_ct_WINDRES=$WINDRES
51204 # Extract the first word of "windres", so it can be a program name with args.
51205 set dummy windres; ac_word=$2
51206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51208 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51209 echo $ECHO_N "(cached) $ECHO_C" >&6
51210 else
51211 if test -n "$ac_ct_WINDRES"; then
51212 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51213 else
51214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51215 for as_dir in $PATH
51216 do
51217 IFS=$as_save_IFS
51218 test -z "$as_dir" && as_dir=.
51219 for ac_exec_ext in '' $ac_executable_extensions; do
51220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51221 ac_cv_prog_ac_ct_WINDRES="windres"
51222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51223 break 2
51224 fi
51225 done
51226 done
51227 IFS=$as_save_IFS
51228
51229 fi
51230 fi
51231 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51232 if test -n "$ac_ct_WINDRES"; then
51233 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51234 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51235 else
51236 { echo "$as_me:$LINENO: result: no" >&5
51237 echo "${ECHO_T}no" >&6; }
51238 fi
51239
51240 if test "x$ac_ct_WINDRES" = x; then
51241 WINDRES=""
51242 else
51243 case $cross_compiling:$ac_tool_warned in
51244 yes:)
51245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51246 whose name does not start with the host triplet. If you think this
51247 configuration is useful to you, please write to autoconf@gnu.org." >&5
51248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51249 whose name does not start with the host triplet. If you think this
51250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51251 ac_tool_warned=yes ;;
51252 esac
51253 WINDRES=$ac_ct_WINDRES
51254 fi
51255 else
51256 WINDRES="$ac_cv_prog_WINDRES"
51257 fi
51258
51259 ;;
51260
51261 *-*-darwin* | powerpc-apple-macos* )
51262 # Extract the first word of "Rez", so it can be a program name with args.
51263 set dummy Rez; ac_word=$2
51264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51266 if test "${ac_cv_prog_REZ+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51268 else
51269 if test -n "$REZ"; then
51270 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51271 else
51272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51273 for as_dir in $PATH
51274 do
51275 IFS=$as_save_IFS
51276 test -z "$as_dir" && as_dir=.
51277 for ac_exec_ext in '' $ac_executable_extensions; do
51278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51279 ac_cv_prog_REZ="Rez"
51280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51281 break 2
51282 fi
51283 done
51284 done
51285 IFS=$as_save_IFS
51286
51287 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51288 fi
51289 fi
51290 REZ=$ac_cv_prog_REZ
51291 if test -n "$REZ"; then
51292 { echo "$as_me:$LINENO: result: $REZ" >&5
51293 echo "${ECHO_T}$REZ" >&6; }
51294 else
51295 { echo "$as_me:$LINENO: result: no" >&5
51296 echo "${ECHO_T}no" >&6; }
51297 fi
51298
51299
51300 # Extract the first word of "SetFile", so it can be a program name with args.
51301 set dummy SetFile; ac_word=$2
51302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51304 if test "${ac_cv_prog_SETFILE+set}" = set; then
51305 echo $ECHO_N "(cached) $ECHO_C" >&6
51306 else
51307 if test -n "$SETFILE"; then
51308 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51309 else
51310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51311 for as_dir in $PATH
51312 do
51313 IFS=$as_save_IFS
51314 test -z "$as_dir" && as_dir=.
51315 for ac_exec_ext in '' $ac_executable_extensions; do
51316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51317 ac_cv_prog_SETFILE="SetFile"
51318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51319 break 2
51320 fi
51321 done
51322 done
51323 IFS=$as_save_IFS
51324
51325 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51326 fi
51327 fi
51328 SETFILE=$ac_cv_prog_SETFILE
51329 if test -n "$SETFILE"; then
51330 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51331 echo "${ECHO_T}$SETFILE" >&6; }
51332 else
51333 { echo "$as_me:$LINENO: result: no" >&5
51334 echo "${ECHO_T}no" >&6; }
51335 fi
51336
51337
51338 ;;
51339 esac
51340
51341
51342
51343
51344
51345
51346 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51347
51348
51349 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51350
51351
51352
51353 # Check whether --enable-precomp-headers was given.
51354 if test "${enable_precomp_headers+set}" = set; then
51355 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51356 fi
51357
51358
51359 GCC_PCH=0
51360 ICC_PCH=0
51361 USE_PCH=0
51362 BK_MAKE_PCH=""
51363
51364 case ${BAKEFILE_HOST} in
51365 *-*-cygwin* )
51366 bk_use_pch="no"
51367 ;;
51368 esac
51369
51370 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51371 if test "x$GCC" = "xyes"; then
51372 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51373 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51374 cat >conftest.$ac_ext <<_ACEOF
51375 /* confdefs.h. */
51376 _ACEOF
51377 cat confdefs.h >>conftest.$ac_ext
51378 cat >>conftest.$ac_ext <<_ACEOF
51379 /* end confdefs.h. */
51380
51381 int
51382 main ()
51383 {
51384
51385 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51386 There is no PCH support
51387 #endif
51388 #if (__GNUC__ < 3)
51389 There is no PCH support
51390 #endif
51391 #if (__GNUC__ == 3) && \
51392 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51393 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51394 ( defined(__INTEL_COMPILER) )
51395 There is no PCH support
51396 #endif
51397
51398 ;
51399 return 0;
51400 }
51401 _ACEOF
51402 rm -f conftest.$ac_objext
51403 if { (ac_try="$ac_compile"
51404 case "(($ac_try" in
51405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51406 *) ac_try_echo=$ac_try;;
51407 esac
51408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51409 (eval "$ac_compile") 2>conftest.er1
51410 ac_status=$?
51411 grep -v '^ *+' conftest.er1 >conftest.err
51412 rm -f conftest.er1
51413 cat conftest.err >&5
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); } && {
51416 test -z "$ac_c_werror_flag" ||
51417 test ! -s conftest.err
51418 } && test -s conftest.$ac_objext; then
51419
51420 { echo "$as_me:$LINENO: result: yes" >&5
51421 echo "${ECHO_T}yes" >&6; }
51422 GCC_PCH=1
51423
51424 else
51425 echo "$as_me: failed program was:" >&5
51426 sed 's/^/| /' conftest.$ac_ext >&5
51427
51428
51429 cat >conftest.$ac_ext <<_ACEOF
51430 /* confdefs.h. */
51431 _ACEOF
51432 cat confdefs.h >>conftest.$ac_ext
51433 cat >>conftest.$ac_ext <<_ACEOF
51434 /* end confdefs.h. */
51435
51436 int
51437 main ()
51438 {
51439
51440 #if !defined(__INTEL_COMPILER) || \
51441 (__INTEL_COMPILER < 800)
51442 There is no PCH support
51443 #endif
51444
51445 ;
51446 return 0;
51447 }
51448 _ACEOF
51449 rm -f conftest.$ac_objext
51450 if { (ac_try="$ac_compile"
51451 case "(($ac_try" in
51452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51453 *) ac_try_echo=$ac_try;;
51454 esac
51455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51456 (eval "$ac_compile") 2>conftest.er1
51457 ac_status=$?
51458 grep -v '^ *+' conftest.er1 >conftest.err
51459 rm -f conftest.er1
51460 cat conftest.err >&5
51461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51462 (exit $ac_status); } && {
51463 test -z "$ac_c_werror_flag" ||
51464 test ! -s conftest.err
51465 } && test -s conftest.$ac_objext; then
51466
51467 { echo "$as_me:$LINENO: result: yes" >&5
51468 echo "${ECHO_T}yes" >&6; }
51469 ICC_PCH=1
51470
51471 else
51472 echo "$as_me: failed program was:" >&5
51473 sed 's/^/| /' conftest.$ac_ext >&5
51474
51475
51476 { echo "$as_me:$LINENO: result: no" >&5
51477 echo "${ECHO_T}no" >&6; }
51478
51479 fi
51480
51481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51482
51483 fi
51484
51485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51486 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51487 USE_PCH=1
51488
51489 D='$'
51490 cat <<EOF >bk-make-pch
51491 #!/bin/sh
51492
51493 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51494 # script. It is used to generated precompiled headers.
51495 #
51496 # Permission is given to use this file in any way.
51497
51498 outfile="${D}{1}"
51499 header="${D}{2}"
51500 shift
51501 shift
51502
51503 compiler=""
51504 headerfile=""
51505
51506 while test ${D}{#} -gt 0; do
51507 add_to_cmdline=1
51508 case "${D}{1}" in
51509 -I* )
51510 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51511 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51512 headerfile="${D}{incdir}/${D}{header}"
51513 fi
51514 ;;
51515 -use-pch|-use_pch )
51516 shift
51517 add_to_cmdline=0
51518 ;;
51519 esac
51520 if test ${D}add_to_cmdline = 1 ; then
51521 compiler="${D}{compiler} ${D}{1}"
51522 fi
51523 shift
51524 done
51525
51526 if test "x${D}{headerfile}" = "x" ; then
51527 echo "error: can't find header ${D}{header} in include paths" >&2
51528 else
51529 if test -f ${D}{outfile} ; then
51530 rm -f ${D}{outfile}
51531 else
51532 mkdir -p \`dirname ${D}{outfile}\`
51533 fi
51534 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51535 mkdir -p .deps
51536 if test "x${GCC_PCH}" = "x1" ; then
51537 # can do this because gcc is >= 3.4:
51538 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51539 elif test "x${ICC_PCH}" = "x1" ; then
51540 filename=pch_gen-${D}${D}
51541 file=${D}{filename}.c
51542 dfile=${D}{filename}.d
51543 cat > ${D}file <<EOT
51544 #include "${D}header"
51545 EOT
51546 # using -MF icc complains about differing command lines in creation/use
51547 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51548 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51549 rm -f ${D}file ${D}dfile ${D}{filename}.o
51550 fi
51551 exit ${D}{?}
51552 fi
51553 EOF
51554
51555 chmod +x bk-make-pch
51556 BK_MAKE_PCH="`pwd`/bk-make-pch"
51557 fi
51558 fi
51559 fi
51560
51561
51562
51563
51564
51565 COND_BUILD_DEBUG="#"
51566 if test "x$BUILD" = "xdebug" ; then
51567 COND_BUILD_DEBUG=""
51568 fi
51569
51570 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51571 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51572 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51573 fi
51574
51575 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51577 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51578 fi
51579
51580 COND_BUILD_DEBUG_UNICODE_0="#"
51581 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51582 COND_BUILD_DEBUG_UNICODE_0=""
51583 fi
51584
51585 COND_BUILD_DEBUG_UNICODE_1="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51587 COND_BUILD_DEBUG_UNICODE_1=""
51588 fi
51589
51590 COND_BUILD_RELEASE="#"
51591 if test "x$BUILD" = "xrelease" ; then
51592 COND_BUILD_RELEASE=""
51593 fi
51594
51595 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51596 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51597 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51598 fi
51599
51600 COND_BUILD_RELEASE_UNICODE_0="#"
51601 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51602 COND_BUILD_RELEASE_UNICODE_0=""
51603 fi
51604
51605 COND_BUILD_RELEASE_UNICODE_1="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51607 COND_BUILD_RELEASE_UNICODE_1=""
51608 fi
51609
51610 COND_DEBUG_FLAG_1="#"
51611 if test "x$DEBUG_FLAG" = "x1" ; then
51612 COND_DEBUG_FLAG_1=""
51613 fi
51614
51615 COND_DEBUG_INFO_0="#"
51616 if test "x$DEBUG_INFO" = "x0" ; then
51617 COND_DEBUG_INFO_0=""
51618 fi
51619
51620 COND_DEBUG_INFO_1="#"
51621 if test "x$DEBUG_INFO" = "x1" ; then
51622 COND_DEBUG_INFO_1=""
51623 fi
51624
51625 COND_DEPS_TRACKING_0="#"
51626 if test "x$DEPS_TRACKING" = "x0" ; then
51627 COND_DEPS_TRACKING_0=""
51628 fi
51629
51630 COND_DEPS_TRACKING_1="#"
51631 if test "x$DEPS_TRACKING" = "x1" ; then
51632 COND_DEPS_TRACKING_1=""
51633 fi
51634
51635 COND_GCC_PCH_1="#"
51636 if test "x$GCC_PCH" = "x1" ; then
51637 COND_GCC_PCH_1=""
51638 fi
51639
51640 COND_ICC_PCH_1="#"
51641 if test "x$ICC_PCH" = "x1" ; then
51642 COND_ICC_PCH_1=""
51643 fi
51644
51645 COND_MONOLITHIC_0="#"
51646 if test "x$MONOLITHIC" = "x0" ; then
51647 COND_MONOLITHIC_0=""
51648 fi
51649
51650 COND_MONOLITHIC_0_SHARED_0="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51652 COND_MONOLITHIC_0_SHARED_0=""
51653 fi
51654
51655 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51658 fi
51659
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51663 fi
51664
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51688 fi
51689
51690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51693 fi
51694
51695 COND_MONOLITHIC_0_SHARED_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_1=""
51698 fi
51699
51700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51708 fi
51709
51710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51713 fi
51714
51715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51723 fi
51724
51725 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51728 fi
51729
51730 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_USE_AUI_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51742 COND_MONOLITHIC_0_USE_AUI_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_USE_GUI_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51747 COND_MONOLITHIC_0_USE_GUI_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51752 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_USE_HTML_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51757 COND_MONOLITHIC_0_USE_HTML_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51762 COND_MONOLITHIC_0_USE_MEDIA_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_USE_QA_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_QA_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_USE_STC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_STC_1=""
51778 fi
51779
51780 COND_MONOLITHIC_0_USE_XRC_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_XRC_1=""
51783 fi
51784
51785 COND_MONOLITHIC_1="#"
51786 if test "x$MONOLITHIC" = "x1" ; then
51787 COND_MONOLITHIC_1=""
51788 fi
51789
51790 COND_MONOLITHIC_1_SHARED_0="#"
51791 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51792 COND_MONOLITHIC_1_SHARED_0=""
51793 fi
51794
51795 COND_MONOLITHIC_1_SHARED_1="#"
51796 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51797 COND_MONOLITHIC_1_SHARED_1=""
51798 fi
51799
51800 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51801 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51802 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51803 fi
51804
51805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51806 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51808 fi
51809
51810 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51813 fi
51814
51815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51816 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51817 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51818 fi
51819
51820 COND_PLATFORM_MACOSX_1="#"
51821 if test "x$PLATFORM_MACOSX" = "x1" ; then
51822 COND_PLATFORM_MACOSX_1=""
51823 fi
51824
51825 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51826 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51827 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51828 fi
51829
51830 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51832 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51833 fi
51834
51835 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51837 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51838 fi
51839
51840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51843 fi
51844
51845 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51847 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51848 fi
51849
51850 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51853 fi
51854
51855 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51857 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51858 fi
51859
51860 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51863 fi
51864
51865 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51867 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51868 fi
51869
51870 COND_PLATFORM_MACOS_1="#"
51871 if test "x$PLATFORM_MACOS" = "x1" ; then
51872 COND_PLATFORM_MACOS_1=""
51873 fi
51874
51875 COND_PLATFORM_MAC_1="#"
51876 if test "x$PLATFORM_MAC" = "x1" ; then
51877 COND_PLATFORM_MAC_1=""
51878 fi
51879
51880 COND_PLATFORM_MSDOS_1="#"
51881 if test "x$PLATFORM_MSDOS" = "x1" ; then
51882 COND_PLATFORM_MSDOS_1=""
51883 fi
51884
51885 COND_PLATFORM_OS2_1="#"
51886 if test "x$PLATFORM_OS2" = "x1" ; then
51887 COND_PLATFORM_OS2_1=""
51888 fi
51889
51890 COND_PLATFORM_UNIX_0="#"
51891 if test "x$PLATFORM_UNIX" = "x0" ; then
51892 COND_PLATFORM_UNIX_0=""
51893 fi
51894
51895 COND_PLATFORM_UNIX_1="#"
51896 if test "x$PLATFORM_UNIX" = "x1" ; then
51897 COND_PLATFORM_UNIX_1=""
51898 fi
51899
51900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51901 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51903 fi
51904
51905 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51906 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51908 fi
51909
51910 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51911 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51912 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51913 fi
51914
51915 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51916 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51917 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51918 fi
51919
51920 COND_PLATFORM_WIN32_0="#"
51921 if test "x$PLATFORM_WIN32" = "x0" ; then
51922 COND_PLATFORM_WIN32_0=""
51923 fi
51924
51925 COND_PLATFORM_WIN32_1="#"
51926 if test "x$PLATFORM_WIN32" = "x1" ; then
51927 COND_PLATFORM_WIN32_1=""
51928 fi
51929
51930 COND_SHARED_0="#"
51931 if test "x$SHARED" = "x0" ; then
51932 COND_SHARED_0=""
51933 fi
51934
51935 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51936 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51938 fi
51939
51940 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51941 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51942 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51943 fi
51944
51945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51946 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51947 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51948 fi
51949
51950 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51951 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51952 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51953 fi
51954
51955 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51956 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51958 fi
51959
51960 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51962 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51963 fi
51964
51965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51968 fi
51969
51970 COND_SHARED_0_USE_STC_1="#"
51971 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51972 COND_SHARED_0_USE_STC_1=""
51973 fi
51974
51975 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51976 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51977 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51978 fi
51979
51980 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51981 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51982 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51983 fi
51984
51985 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51986 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51987 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51988 fi
51989
51990 COND_SHARED_1="#"
51991 if test "x$SHARED" = "x1" ; then
51992 COND_SHARED_1=""
51993 fi
51994
51995 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51996 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51997 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51998 fi
51999
52000 COND_TOOLKIT_="#"
52001 if test "x$TOOLKIT" = "x" ; then
52002 COND_TOOLKIT_=""
52003 fi
52004
52005 COND_TOOLKIT_COCOA="#"
52006 if test "x$TOOLKIT" = "xCOCOA" ; then
52007 COND_TOOLKIT_COCOA=""
52008 fi
52009
52010 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52011 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52012 COND_TOOLKIT_COCOA_USE_GUI_1=""
52013 fi
52014
52015 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52016 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52017 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52018 fi
52019
52020 COND_TOOLKIT_DFB="#"
52021 if test "x$TOOLKIT" = "xDFB" ; then
52022 COND_TOOLKIT_DFB=""
52023 fi
52024
52025 COND_TOOLKIT_DFB_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_DFB_USE_GUI_1=""
52028 fi
52029
52030 COND_TOOLKIT_GTK="#"
52031 if test "x$TOOLKIT" = "xGTK" ; then
52032 COND_TOOLKIT_GTK=""
52033 fi
52034
52035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52036 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52037 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52038 fi
52039
52040 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52041 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52042 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52043 fi
52044
52045 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52046 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52047 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52048 fi
52049
52050 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52051 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52052 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52053 fi
52054
52055 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
52056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
52057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
52058 fi
52059
52060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52062 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52063 fi
52064
52065 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52067 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52068 fi
52069
52070 COND_TOOLKIT_GTK_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_GTK_USE_GUI_1=""
52073 fi
52074
52075 COND_TOOLKIT_MAC="#"
52076 if test "x$TOOLKIT" = "xMAC" ; then
52077 COND_TOOLKIT_MAC=""
52078 fi
52079
52080 COND_TOOLKIT_MAC_USE_GUI_1="#"
52081 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52082 COND_TOOLKIT_MAC_USE_GUI_1=""
52083 fi
52084
52085 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52086 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52087 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52088 fi
52089
52090 COND_TOOLKIT_MGL="#"
52091 if test "x$TOOLKIT" = "xMGL" ; then
52092 COND_TOOLKIT_MGL=""
52093 fi
52094
52095 COND_TOOLKIT_MGL_USE_GUI_1="#"
52096 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52097 COND_TOOLKIT_MGL_USE_GUI_1=""
52098 fi
52099
52100 COND_TOOLKIT_MOTIF="#"
52101 if test "x$TOOLKIT" = "xMOTIF" ; then
52102 COND_TOOLKIT_MOTIF=""
52103 fi
52104
52105 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52108 fi
52109
52110 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52113 fi
52114
52115 COND_TOOLKIT_MSW="#"
52116 if test "x$TOOLKIT" = "xMSW" ; then
52117 COND_TOOLKIT_MSW=""
52118 fi
52119
52120 COND_TOOLKIT_MSW_USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_MSW_USE_GUI_1=""
52123 fi
52124
52125 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52128 fi
52129
52130 COND_TOOLKIT_MSW_WXUNIV_0="#"
52131 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52132 COND_TOOLKIT_MSW_WXUNIV_0=""
52133 fi
52134
52135 COND_TOOLKIT_PM="#"
52136 if test "x$TOOLKIT" = "xPM" ; then
52137 COND_TOOLKIT_PM=""
52138 fi
52139
52140 COND_TOOLKIT_PM_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_PM_USE_GUI_1=""
52143 fi
52144
52145 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52148 fi
52149
52150 COND_TOOLKIT_WINCE="#"
52151 if test "x$TOOLKIT" = "xWINCE" ; then
52152 COND_TOOLKIT_WINCE=""
52153 fi
52154
52155 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_WINCE_USE_GUI_1=""
52158 fi
52159
52160 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52161 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52162 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52163 fi
52164
52165 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52166 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52167 COND_TOOLKIT_WINCE_WXUNIV_0=""
52168 fi
52169
52170 COND_TOOLKIT_X11="#"
52171 if test "x$TOOLKIT" = "xX11" ; then
52172 COND_TOOLKIT_X11=""
52173 fi
52174
52175 COND_TOOLKIT_X11_USE_GUI_1="#"
52176 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52177 COND_TOOLKIT_X11_USE_GUI_1=""
52178 fi
52179
52180 COND_UNICODE_1="#"
52181 if test "x$UNICODE" = "x1" ; then
52182 COND_UNICODE_1=""
52183 fi
52184
52185 COND_USE_EXCEPTIONS_0="#"
52186 if test "x$USE_EXCEPTIONS" = "x0" ; then
52187 COND_USE_EXCEPTIONS_0=""
52188 fi
52189
52190 COND_USE_EXCEPTIONS_1="#"
52191 if test "x$USE_EXCEPTIONS" = "x1" ; then
52192 COND_USE_EXCEPTIONS_1=""
52193 fi
52194
52195 COND_USE_GUI_0="#"
52196 if test "x$USE_GUI" = "x0" ; then
52197 COND_USE_GUI_0=""
52198 fi
52199
52200 COND_USE_GUI_1="#"
52201 if test "x$USE_GUI" = "x1" ; then
52202 COND_USE_GUI_1=""
52203 fi
52204
52205 COND_USE_GUI_1_USE_OPENGL_1="#"
52206 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52207 COND_USE_GUI_1_USE_OPENGL_1=""
52208 fi
52209
52210 COND_USE_GUI_1_WXUNIV_0="#"
52211 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52212 COND_USE_GUI_1_WXUNIV_0=""
52213 fi
52214
52215 COND_USE_GUI_1_WXUNIV_1="#"
52216 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52217 COND_USE_GUI_1_WXUNIV_1=""
52218 fi
52219
52220 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52221 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52223 fi
52224
52225 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52226 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52227 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52228 fi
52229
52230 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52232 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52233 fi
52234
52235 COND_USE_PCH_1="#"
52236 if test "x$USE_PCH" = "x1" ; then
52237 COND_USE_PCH_1=""
52238 fi
52239
52240 COND_USE_PLUGINS_0="#"
52241 if test "x$USE_PLUGINS" = "x0" ; then
52242 COND_USE_PLUGINS_0=""
52243 fi
52244
52245 COND_USE_RTTI_0="#"
52246 if test "x$USE_RTTI" = "x0" ; then
52247 COND_USE_RTTI_0=""
52248 fi
52249
52250 COND_USE_RTTI_1="#"
52251 if test "x$USE_RTTI" = "x1" ; then
52252 COND_USE_RTTI_1=""
52253 fi
52254
52255 COND_USE_SOSYMLINKS_1="#"
52256 if test "x$USE_SOSYMLINKS" = "x1" ; then
52257 COND_USE_SOSYMLINKS_1=""
52258 fi
52259
52260 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52261 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52262 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52263 fi
52264
52265 COND_USE_SOVERLINUX_1="#"
52266 if test "x$USE_SOVERLINUX" = "x1" ; then
52267 COND_USE_SOVERLINUX_1=""
52268 fi
52269
52270 COND_USE_SOVERSION_0="#"
52271 if test "x$USE_SOVERSION" = "x0" ; then
52272 COND_USE_SOVERSION_0=""
52273 fi
52274
52275 COND_USE_SOVERSOLARIS_1="#"
52276 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52277 COND_USE_SOVERSOLARIS_1=""
52278 fi
52279
52280 COND_USE_STC_1="#"
52281 if test "x$USE_STC" = "x1" ; then
52282 COND_USE_STC_1=""
52283 fi
52284
52285 COND_USE_THREADS_0="#"
52286 if test "x$USE_THREADS" = "x0" ; then
52287 COND_USE_THREADS_0=""
52288 fi
52289
52290 COND_USE_THREADS_1="#"
52291 if test "x$USE_THREADS" = "x1" ; then
52292 COND_USE_THREADS_1=""
52293 fi
52294
52295 COND_USE_XRC_1="#"
52296 if test "x$USE_XRC" = "x1" ; then
52297 COND_USE_XRC_1=""
52298 fi
52299
52300 COND_WINDOWS_IMPLIB_1="#"
52301 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52302 COND_WINDOWS_IMPLIB_1=""
52303 fi
52304
52305 COND_WITH_PLUGIN_SDL_1="#"
52306 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52307 COND_WITH_PLUGIN_SDL_1=""
52308 fi
52309
52310 COND_WXUNIV_0="#"
52311 if test "x$WXUNIV" = "x0" ; then
52312 COND_WXUNIV_0=""
52313 fi
52314
52315 COND_WXUNIV_1="#"
52316 if test "x$WXUNIV" = "x1" ; then
52317 COND_WXUNIV_1=""
52318 fi
52319
52320 COND_WXUSE_EXPAT_BUILTIN="#"
52321 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52322 COND_WXUSE_EXPAT_BUILTIN=""
52323 fi
52324
52325 COND_WXUSE_LIBJPEG_BUILTIN="#"
52326 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52327 COND_WXUSE_LIBJPEG_BUILTIN=""
52328 fi
52329
52330 COND_WXUSE_LIBPNG_BUILTIN="#"
52331 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52332 COND_WXUSE_LIBPNG_BUILTIN=""
52333 fi
52334
52335 COND_WXUSE_LIBTIFF_BUILTIN="#"
52336 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52337 COND_WXUSE_LIBTIFF_BUILTIN=""
52338 fi
52339
52340 COND_WXUSE_REGEX_BUILTIN="#"
52341 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52342 COND_WXUSE_REGEX_BUILTIN=""
52343 fi
52344
52345 COND_WXUSE_ZLIB_BUILTIN="#"
52346 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52347 COND_WXUSE_ZLIB_BUILTIN=""
52348 fi
52349
52350
52351
52352 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52353 { { 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
52354 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;}
52355 { (exit 1); exit 1; }; }
52356 fi
52357
52358 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52359 { { 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
52360 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;}
52361 { (exit 1); exit 1; }; }
52362 fi
52363
52364
52365 case ${INSTALL} in
52366 /* ) # Absolute
52367 ;;
52368 ?:* ) # Drive letter, considered as absolute.
52369 ;;
52370 *)
52371 INSTALL=`pwd`/${INSTALL} ;;
52372 esac
52373
52374 if test "$wxUSE_GUI" = "yes"; then
52375
52376 if test "$wxUSE_MSW" = 1 ; then
52377 if test "x$WINDRES" = "x"; then
52378 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52379 echo "$as_me: error: Required windres program not found" >&2;}
52380 { (exit 1); exit 1; }; }
52381 fi
52382
52383 RESCOMP="$WINDRES"
52384 fi
52385
52386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52387 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52388 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52389
52390 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52391
52392 # Extract the first word of "DeRez", so it can be a program name with args.
52393 set dummy DeRez; ac_word=$2
52394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52396 if test "${ac_cv_prog_DEREZ+set}" = set; then
52397 echo $ECHO_N "(cached) $ECHO_C" >&6
52398 else
52399 if test -n "$DEREZ"; then
52400 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52401 else
52402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52403 for as_dir in $PATH
52404 do
52405 IFS=$as_save_IFS
52406 test -z "$as_dir" && as_dir=.
52407 for ac_exec_ext in '' $ac_executable_extensions; do
52408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52409 ac_cv_prog_DEREZ="DeRez"
52410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52411 break 2
52412 fi
52413 done
52414 done
52415 IFS=$as_save_IFS
52416
52417 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52418 fi
52419 fi
52420 DEREZ=$ac_cv_prog_DEREZ
52421 if test -n "$DEREZ"; then
52422 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52423 echo "${ECHO_T}$DEREZ" >&6; }
52424 else
52425 { echo "$as_me:$LINENO: result: no" >&5
52426 echo "${ECHO_T}no" >&6; }
52427 fi
52428
52429
52430
52431 MACSETFILE="\$(SETFILE)"
52432
52433 if test "$wxUSE_MAC" = 1; then
52434 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52435 RESCOMP="$REZ"
52436 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52437 else
52438 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52439 RESCOMP="cat /dev/null \| $REZ"
52440 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52441 fi
52442
52443 else
52444 MACSETFILE="@true"
52445
52446 if test "$wxUSE_PM" = 1; then
52447 RESCOMP="emxbind"
52448 WXCONFIG_RESFLAGS="-ep"
52449
52450 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52451 else
52452 POSTLINK_COMMAND="@true"
52453 fi
52454 fi
52455
52456 fi
52457
52458
52459 if test $GCC_PCH = 1
52460 then
52461 if test "$wx_cv_gcc_pch_bug" = yes; then
52462 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52463 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52464 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52465 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52466 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52467 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52468 fi
52469
52470 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52471 fi
52472
52473
52474 if test "$wxUSE_MAC" = 1 ; then
52475 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52476 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52477 mv temp bk-deps
52478 chmod +x bk-deps
52479 fi
52480 fi
52481
52482 if test "$wxUSE_SHARED" = "yes"; then
52483 case "${host}" in
52484 *-pc-os2_emx | *-pc-os2-emx )
52485 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52486 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52487 cp -p ${srcdir}/src/os2/dllnames.sh .
52488 cp -p ${srcdir}/src/os2/dllar.sh .
52489 ;;
52490 esac
52491 fi
52492 if test "$wxUSE_OMF" = "yes"; then
52493 case "${host}" in
52494 *-pc-os2_emx | *-pc-os2-emx )
52495 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52496 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52497 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52498 ;;
52499 esac
52500 fi
52501
52502 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52503
52504
52505 case "${host}" in
52506 *-*-solaris2* )
52507 if test "$GCC" = yes; then
52508 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52509 LIBS=`echo $LIBS | sed 's/-mt//'`
52510 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52511 fi
52512 ;;
52513
52514 *-*-linux* )
52515 if test "x$SUNCXX" = xyes; then
52516 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52517 LIBS=`echo $LIBS | sed 's/-pthread//'`
52518 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52519 fi
52520 ;;
52521 esac
52522
52523 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52524 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52525
52526 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52527
52528
52529
52530
52531
52532
52533
52534
52535
52536
52537
52538
52539
52540
52541
52542
52543
52544
52545
52546
52547
52548
52549
52550
52551
52552
52553
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569
52570
52571
52572
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52589 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52590 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52591 echo $ECHO_N "(cached) $ECHO_C" >&6
52592 else
52593 cat >conftest.make <<\_ACEOF
52594 SHELL = /bin/sh
52595 all:
52596 @echo '@@@%%%=$(MAKE)=@@@%%%'
52597 _ACEOF
52598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52600 *@@@%%%=?*=@@@%%%*)
52601 eval ac_cv_prog_make_${ac_make}_set=yes;;
52602 *)
52603 eval ac_cv_prog_make_${ac_make}_set=no;;
52604 esac
52605 rm -f conftest.make
52606 fi
52607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52608 { echo "$as_me:$LINENO: result: yes" >&5
52609 echo "${ECHO_T}yes" >&6; }
52610 SET_MAKE=
52611 else
52612 { echo "$as_me:$LINENO: result: no" >&5
52613 echo "${ECHO_T}no" >&6; }
52614 SET_MAKE="MAKE=${MAKE-make}"
52615 fi
52616
52617
52618
52619 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52620
52621
52622 if test "$USE_WIN32" = 1; then
52623 ac_config_commands="$ac_config_commands
52624 rcdefs.h
52625 "
52626
52627 fi
52628
52629 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52630
52631
52632 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52633
52634
52635 if test "$wx_cv_version_script" = "yes"; then
52636 ac_config_files="$ac_config_files version-script"
52637
52638 fi
52639 ac_config_files="$ac_config_files Makefile"
52640
52641
52642 ac_config_commands="$ac_config_commands wx-config"
52643
52644
52645
52646 if test "$wxWITH_SUBDIRS" != "no"; then
52647 if test "$wxUSE_GUI" = "yes"; then
52648 SUBDIRS="samples demos utils"
52649 else
52650 SUBDIRS="samples utils"
52651 fi
52652
52653
52654
52655 # Check whether --with-cppunit-prefix was given.
52656 if test "${with_cppunit_prefix+set}" = set; then
52657 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52658 else
52659 cppunit_config_prefix=""
52660 fi
52661
52662
52663 # Check whether --with-cppunit-exec-prefix was given.
52664 if test "${with_cppunit_exec_prefix+set}" = set; then
52665 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52666 else
52667 cppunit_config_exec_prefix=""
52668 fi
52669
52670
52671 if test x$cppunit_config_exec_prefix != x ; then
52672 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52673 if test x${CPPUNIT_CONFIG+set} != xset ; then
52674 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52675 fi
52676 fi
52677 if test x$cppunit_config_prefix != x ; then
52678 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52679 if test x${CPPUNIT_CONFIG+set} != xset ; then
52680 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52681 fi
52682 fi
52683
52684 # Extract the first word of "cppunit-config", so it can be a program name with args.
52685 set dummy cppunit-config; ac_word=$2
52686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52688 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52689 echo $ECHO_N "(cached) $ECHO_C" >&6
52690 else
52691 case $CPPUNIT_CONFIG in
52692 [\\/]* | ?:[\\/]*)
52693 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52694 ;;
52695 *)
52696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52697 for as_dir in $PATH
52698 do
52699 IFS=$as_save_IFS
52700 test -z "$as_dir" && as_dir=.
52701 for ac_exec_ext in '' $ac_executable_extensions; do
52702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52703 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52705 break 2
52706 fi
52707 done
52708 done
52709 IFS=$as_save_IFS
52710
52711 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52712 ;;
52713 esac
52714 fi
52715 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52716 if test -n "$CPPUNIT_CONFIG"; then
52717 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52718 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52719 else
52720 { echo "$as_me:$LINENO: result: no" >&5
52721 echo "${ECHO_T}no" >&6; }
52722 fi
52723
52724
52725 cppunit_version_min=1.8.0
52726
52727 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52728 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52729 no_cppunit=""
52730 if test "$CPPUNIT_CONFIG" = "no" ; then
52731 { echo "$as_me:$LINENO: result: no" >&5
52732 echo "${ECHO_T}no" >&6; }
52733 no_cppunit=yes
52734 else
52735 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52736 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52737 cppunit_version=`$CPPUNIT_CONFIG --version`
52738
52739 cppunit_major_version=`echo $cppunit_version | \
52740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52741 cppunit_minor_version=`echo $cppunit_version | \
52742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52743 cppunit_micro_version=`echo $cppunit_version | \
52744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52745
52746 cppunit_major_min=`echo $cppunit_version_min | \
52747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52748 cppunit_minor_min=`echo $cppunit_version_min | \
52749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52750 cppunit_micro_min=`echo $cppunit_version_min | \
52751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52752
52753 cppunit_version_proper=`expr \
52754 $cppunit_major_version \> $cppunit_major_min \| \
52755 $cppunit_major_version \= $cppunit_major_min \& \
52756 $cppunit_minor_version \> $cppunit_minor_min \| \
52757 $cppunit_major_version \= $cppunit_major_min \& \
52758 $cppunit_minor_version \= $cppunit_minor_min \& \
52759 $cppunit_micro_version \>= $cppunit_micro_min `
52760
52761 if test "$cppunit_version_proper" = "1" ; then
52762 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52763 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52764 else
52765 { echo "$as_me:$LINENO: result: no" >&5
52766 echo "${ECHO_T}no" >&6; }
52767 no_cppunit=yes
52768 fi
52769 fi
52770
52771 if test "x$no_cppunit" = x ; then
52772 SUBDIRS="$SUBDIRS tests"
52773 else
52774 CPPUNIT_CFLAGS=""
52775 CPPUNIT_LIBS=""
52776 :
52777 fi
52778
52779
52780
52781
52782
52783 for subdir in $SUBDIRS; do
52784 if test -d ${srcdir}/${subdir} ; then
52785 if test "$wxUSE_GUI" = "yes"; then
52786 if test ${subdir} = "samples"; then
52787 makefiles="samples/Makefile.in $makefiles"
52788 for sample in $SAMPLES_SUBDIRS; do
52789 if test -d $srcdir/samples/$sample; then
52790 makefiles="samples/$sample/Makefile.in $makefiles"
52791 fi
52792 done
52793 else
52794 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
52795 eval "disabled=\$$disabled_var"
52796 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52797 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52798 fi
52799 else
52800 if test ${subdir} = "samples"; then
52801 makefiles="samples/Makefile.in samples/console/Makefile.in"
52802 elif test ${subdir} = "utils"; then
52803 makefiles=""
52804 for util in HelpGen tex2rtf ; do
52805 if test -d $srcdir/utils/$util ; then
52806 makefiles="utils/$util/Makefile.in \
52807 utils/$util/src/Makefile.in \
52808 $makefiles"
52809 fi
52810 done
52811 else
52812 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52813 fi
52814 fi
52815
52816 for mkin in $makefiles ; do
52817 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52818 ac_config_files="$ac_config_files $mk"
52819
52820 done
52821 fi
52822 done
52823 fi
52824 cat >confcache <<\_ACEOF
52825 # This file is a shell script that caches the results of configure
52826 # tests run on this system so they can be shared between configure
52827 # scripts and configure runs, see configure's option --config-cache.
52828 # It is not useful on other systems. If it contains results you don't
52829 # want to keep, you may remove or edit it.
52830 #
52831 # config.status only pays attention to the cache file if you give it
52832 # the --recheck option to rerun configure.
52833 #
52834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52836 # following values.
52837
52838 _ACEOF
52839
52840 # The following way of writing the cache mishandles newlines in values,
52841 # but we know of no workaround that is simple, portable, and efficient.
52842 # So, we kill variables containing newlines.
52843 # Ultrix sh set writes to stderr and can't be redirected directly,
52844 # and sets the high bit in the cache file unless we assign to the vars.
52845 (
52846 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52847 eval ac_val=\$$ac_var
52848 case $ac_val in #(
52849 *${as_nl}*)
52850 case $ac_var in #(
52851 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52852 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52853 esac
52854 case $ac_var in #(
52855 _ | IFS | as_nl) ;; #(
52856 *) $as_unset $ac_var ;;
52857 esac ;;
52858 esac
52859 done
52860
52861 (set) 2>&1 |
52862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52863 *${as_nl}ac_space=\ *)
52864 # `set' does not quote correctly, so add quotes (double-quote
52865 # substitution turns \\\\ into \\, and sed turns \\ into \).
52866 sed -n \
52867 "s/'/'\\\\''/g;
52868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52869 ;; #(
52870 *)
52871 # `set' quotes correctly as required by POSIX, so do not add quotes.
52872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52873 ;;
52874 esac |
52875 sort
52876 ) |
52877 sed '
52878 /^ac_cv_env_/b end
52879 t clear
52880 :clear
52881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52882 t end
52883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52884 :end' >>confcache
52885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52886 if test -w "$cache_file"; then
52887 test "x$cache_file" != "x/dev/null" &&
52888 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52889 echo "$as_me: updating cache $cache_file" >&6;}
52890 cat confcache >$cache_file
52891 else
52892 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52893 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52894 fi
52895 fi
52896 rm -f confcache
52897
52898 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52899 # Let make expand exec_prefix.
52900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52901
52902 DEFS=-DHAVE_CONFIG_H
52903
52904 ac_libobjs=
52905 ac_ltlibobjs=
52906 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52907 # 1. Remove the extension, and $U if already installed.
52908 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52909 ac_i=`echo "$ac_i" | sed "$ac_script"`
52910 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52911 # will be set to the directory where LIBOBJS objects are built.
52912 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52913 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52914 done
52915 LIBOBJS=$ac_libobjs
52916
52917 LTLIBOBJS=$ac_ltlibobjs
52918
52919
52920
52921 : ${CONFIG_STATUS=./config.status}
52922 ac_clean_files_save=$ac_clean_files
52923 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52924 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52925 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52926 cat >$CONFIG_STATUS <<_ACEOF
52927 #! $SHELL
52928 # Generated by $as_me.
52929 # Run this file to recreate the current configuration.
52930 # Compiler output produced by configure, useful for debugging
52931 # configure, is in config.log if it exists.
52932
52933 debug=false
52934 ac_cs_recheck=false
52935 ac_cs_silent=false
52936 SHELL=\${CONFIG_SHELL-$SHELL}
52937 _ACEOF
52938
52939 cat >>$CONFIG_STATUS <<\_ACEOF
52940 ## --------------------- ##
52941 ## M4sh Initialization. ##
52942 ## --------------------- ##
52943
52944 # Be more Bourne compatible
52945 DUALCASE=1; export DUALCASE # for MKS sh
52946 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52947 emulate sh
52948 NULLCMD=:
52949 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52950 # is contrary to our usage. Disable this feature.
52951 alias -g '${1+"$@"}'='"$@"'
52952 setopt NO_GLOB_SUBST
52953 else
52954 case `(set -o) 2>/dev/null` in
52955 *posix*) set -o posix ;;
52956 esac
52957
52958 fi
52959
52960
52961
52962
52963 # PATH needs CR
52964 # Avoid depending upon Character Ranges.
52965 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52966 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52967 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52968 as_cr_digits='0123456789'
52969 as_cr_alnum=$as_cr_Letters$as_cr_digits
52970
52971 # The user is always right.
52972 if test "${PATH_SEPARATOR+set}" != set; then
52973 echo "#! /bin/sh" >conf$$.sh
52974 echo "exit 0" >>conf$$.sh
52975 chmod +x conf$$.sh
52976 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52977 PATH_SEPARATOR=';'
52978 else
52979 PATH_SEPARATOR=:
52980 fi
52981 rm -f conf$$.sh
52982 fi
52983
52984 # Support unset when possible.
52985 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52986 as_unset=unset
52987 else
52988 as_unset=false
52989 fi
52990
52991
52992 # IFS
52993 # We need space, tab and new line, in precisely that order. Quoting is
52994 # there to prevent editors from complaining about space-tab.
52995 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52996 # splitting by setting IFS to empty value.)
52997 as_nl='
52998 '
52999 IFS=" "" $as_nl"
53000
53001 # Find who we are. Look in the path if we contain no directory separator.
53002 case $0 in
53003 *[\\/]* ) as_myself=$0 ;;
53004 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53005 for as_dir in $PATH
53006 do
53007 IFS=$as_save_IFS
53008 test -z "$as_dir" && as_dir=.
53009 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53010 done
53011 IFS=$as_save_IFS
53012
53013 ;;
53014 esac
53015 # We did not find ourselves, most probably we were run as `sh COMMAND'
53016 # in which case we are not to be found in the path.
53017 if test "x$as_myself" = x; then
53018 as_myself=$0
53019 fi
53020 if test ! -f "$as_myself"; then
53021 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53022 { (exit 1); exit 1; }
53023 fi
53024
53025 # Work around bugs in pre-3.0 UWIN ksh.
53026 for as_var in ENV MAIL MAILPATH
53027 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53028 done
53029 PS1='$ '
53030 PS2='> '
53031 PS4='+ '
53032
53033 # NLS nuisances.
53034 for as_var in \
53035 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53036 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53037 LC_TELEPHONE LC_TIME
53038 do
53039 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53040 eval $as_var=C; export $as_var
53041 else
53042 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53043 fi
53044 done
53045
53046 # Required to use basename.
53047 if expr a : '\(a\)' >/dev/null 2>&1 &&
53048 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53049 as_expr=expr
53050 else
53051 as_expr=false
53052 fi
53053
53054 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53055 as_basename=basename
53056 else
53057 as_basename=false
53058 fi
53059
53060
53061 # Name of the executable.
53062 as_me=`$as_basename -- "$0" ||
53063 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53064 X"$0" : 'X\(//\)$' \| \
53065 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53066 echo X/"$0" |
53067 sed '/^.*\/\([^/][^/]*\)\/*$/{
53068 s//\1/
53069 q
53070 }
53071 /^X\/\(\/\/\)$/{
53072 s//\1/
53073 q
53074 }
53075 /^X\/\(\/\).*/{
53076 s//\1/
53077 q
53078 }
53079 s/.*/./; q'`
53080
53081 # CDPATH.
53082 $as_unset CDPATH
53083
53084
53085
53086 as_lineno_1=$LINENO
53087 as_lineno_2=$LINENO
53088 test "x$as_lineno_1" != "x$as_lineno_2" &&
53089 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53090
53091 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53092 # uniformly replaced by the line number. The first 'sed' inserts a
53093 # line-number line after each line using $LINENO; the second 'sed'
53094 # does the real work. The second script uses 'N' to pair each
53095 # line-number line with the line containing $LINENO, and appends
53096 # trailing '-' during substitution so that $LINENO is not a special
53097 # case at line end.
53098 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53099 # scripts with optimization help from Paolo Bonzini. Blame Lee
53100 # E. McMahon (1931-1989) for sed's syntax. :-)
53101 sed -n '
53102 p
53103 /[$]LINENO/=
53104 ' <$as_myself |
53105 sed '
53106 s/[$]LINENO.*/&-/
53107 t lineno
53108 b
53109 :lineno
53110 N
53111 :loop
53112 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53113 t loop
53114 s/-\n.*//
53115 ' >$as_me.lineno &&
53116 chmod +x "$as_me.lineno" ||
53117 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53118 { (exit 1); exit 1; }; }
53119
53120 # Don't try to exec as it changes $[0], causing all sort of problems
53121 # (the dirname of $[0] is not the place where we might find the
53122 # original and so on. Autoconf is especially sensitive to this).
53123 . "./$as_me.lineno"
53124 # Exit status is that of the last command.
53125 exit
53126 }
53127
53128
53129 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53130 as_dirname=dirname
53131 else
53132 as_dirname=false
53133 fi
53134
53135 ECHO_C= ECHO_N= ECHO_T=
53136 case `echo -n x` in
53137 -n*)
53138 case `echo 'x\c'` in
53139 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53140 *) ECHO_C='\c';;
53141 esac;;
53142 *)
53143 ECHO_N='-n';;
53144 esac
53145
53146 if expr a : '\(a\)' >/dev/null 2>&1 &&
53147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53148 as_expr=expr
53149 else
53150 as_expr=false
53151 fi
53152
53153 rm -f conf$$ conf$$.exe conf$$.file
53154 if test -d conf$$.dir; then
53155 rm -f conf$$.dir/conf$$.file
53156 else
53157 rm -f conf$$.dir
53158 mkdir conf$$.dir
53159 fi
53160 echo >conf$$.file
53161 if ln -s conf$$.file conf$$ 2>/dev/null; then
53162 as_ln_s='ln -s'
53163 # ... but there are two gotchas:
53164 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53165 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53166 # In both cases, we have to default to `cp -p'.
53167 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53168 as_ln_s='cp -p'
53169 elif ln conf$$.file conf$$ 2>/dev/null; then
53170 as_ln_s=ln
53171 else
53172 as_ln_s='cp -p'
53173 fi
53174 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53175 rmdir conf$$.dir 2>/dev/null
53176
53177 if mkdir -p . 2>/dev/null; then
53178 as_mkdir_p=:
53179 else
53180 test -d ./-p && rmdir ./-p
53181 as_mkdir_p=false
53182 fi
53183
53184 if test -x / >/dev/null 2>&1; then
53185 as_test_x='test -x'
53186 else
53187 if ls -dL / >/dev/null 2>&1; then
53188 as_ls_L_option=L
53189 else
53190 as_ls_L_option=
53191 fi
53192 as_test_x='
53193 eval sh -c '\''
53194 if test -d "$1"; then
53195 test -d "$1/.";
53196 else
53197 case $1 in
53198 -*)set "./$1";;
53199 esac;
53200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53201 ???[sx]*):;;*)false;;esac;fi
53202 '\'' sh
53203 '
53204 fi
53205 as_executable_p=$as_test_x
53206
53207 # Sed expression to map a string onto a valid CPP name.
53208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53209
53210 # Sed expression to map a string onto a valid variable name.
53211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53212
53213
53214 exec 6>&1
53215
53216 # Save the log message, to keep $[0] and so on meaningful, and to
53217 # report actual input values of CONFIG_FILES etc. instead of their
53218 # values after options handling.
53219 ac_log="
53220 This file was extended by wxWidgets $as_me 2.9.0, which was
53221 generated by GNU Autoconf 2.61. Invocation command line was
53222
53223 CONFIG_FILES = $CONFIG_FILES
53224 CONFIG_HEADERS = $CONFIG_HEADERS
53225 CONFIG_LINKS = $CONFIG_LINKS
53226 CONFIG_COMMANDS = $CONFIG_COMMANDS
53227 $ $0 $@
53228
53229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53230 "
53231
53232 _ACEOF
53233
53234 cat >>$CONFIG_STATUS <<_ACEOF
53235 # Files that config.status was made for.
53236 config_files="$ac_config_files"
53237 config_headers="$ac_config_headers"
53238 config_commands="$ac_config_commands"
53239
53240 _ACEOF
53241
53242 cat >>$CONFIG_STATUS <<\_ACEOF
53243 ac_cs_usage="\
53244 \`$as_me' instantiates files from templates according to the
53245 current configuration.
53246
53247 Usage: $0 [OPTIONS] [FILE]...
53248
53249 -h, --help print this help, then exit
53250 -V, --version print version number and configuration settings, then exit
53251 -q, --quiet do not print progress messages
53252 -d, --debug don't remove temporary files
53253 --recheck update $as_me by reconfiguring in the same conditions
53254 --file=FILE[:TEMPLATE]
53255 instantiate the configuration file FILE
53256 --header=FILE[:TEMPLATE]
53257 instantiate the configuration header FILE
53258
53259 Configuration files:
53260 $config_files
53261
53262 Configuration headers:
53263 $config_headers
53264
53265 Configuration commands:
53266 $config_commands
53267
53268 Report bugs to <bug-autoconf@gnu.org>."
53269
53270 _ACEOF
53271 cat >>$CONFIG_STATUS <<_ACEOF
53272 ac_cs_version="\\
53273 wxWidgets config.status 2.9.0
53274 configured by $0, generated by GNU Autoconf 2.61,
53275 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53276
53277 Copyright (C) 2006 Free Software Foundation, Inc.
53278 This config.status script is free software; the Free Software Foundation
53279 gives unlimited permission to copy, distribute and modify it."
53280
53281 ac_pwd='$ac_pwd'
53282 srcdir='$srcdir'
53283 INSTALL='$INSTALL'
53284 _ACEOF
53285
53286 cat >>$CONFIG_STATUS <<\_ACEOF
53287 # If no file are specified by the user, then we need to provide default
53288 # value. By we need to know if files were specified by the user.
53289 ac_need_defaults=:
53290 while test $# != 0
53291 do
53292 case $1 in
53293 --*=*)
53294 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53295 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53296 ac_shift=:
53297 ;;
53298 *)
53299 ac_option=$1
53300 ac_optarg=$2
53301 ac_shift=shift
53302 ;;
53303 esac
53304
53305 case $ac_option in
53306 # Handling of the options.
53307 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53308 ac_cs_recheck=: ;;
53309 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53310 echo "$ac_cs_version"; exit ;;
53311 --debug | --debu | --deb | --de | --d | -d )
53312 debug=: ;;
53313 --file | --fil | --fi | --f )
53314 $ac_shift
53315 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53316 ac_need_defaults=false;;
53317 --header | --heade | --head | --hea )
53318 $ac_shift
53319 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53320 ac_need_defaults=false;;
53321 --he | --h)
53322 # Conflict between --help and --header
53323 { echo "$as_me: error: ambiguous option: $1
53324 Try \`$0 --help' for more information." >&2
53325 { (exit 1); exit 1; }; };;
53326 --help | --hel | -h )
53327 echo "$ac_cs_usage"; exit ;;
53328 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53329 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53330 ac_cs_silent=: ;;
53331
53332 # This is an error.
53333 -*) { echo "$as_me: error: unrecognized option: $1
53334 Try \`$0 --help' for more information." >&2
53335 { (exit 1); exit 1; }; } ;;
53336
53337 *) ac_config_targets="$ac_config_targets $1"
53338 ac_need_defaults=false ;;
53339
53340 esac
53341 shift
53342 done
53343
53344 ac_configure_extra_args=
53345
53346 if $ac_cs_silent; then
53347 exec 6>/dev/null
53348 ac_configure_extra_args="$ac_configure_extra_args --silent"
53349 fi
53350
53351 _ACEOF
53352 cat >>$CONFIG_STATUS <<_ACEOF
53353 if \$ac_cs_recheck; then
53354 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53355 CONFIG_SHELL=$SHELL
53356 export CONFIG_SHELL
53357 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53358 fi
53359
53360 _ACEOF
53361 cat >>$CONFIG_STATUS <<\_ACEOF
53362 exec 5>>config.log
53363 {
53364 echo
53365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53366 ## Running $as_me. ##
53367 _ASBOX
53368 echo "$ac_log"
53369 } >&5
53370
53371 _ACEOF
53372 cat >>$CONFIG_STATUS <<_ACEOF
53373 #
53374 # INIT-COMMANDS
53375 #
53376
53377 CPP="$CPP"
53378 infile="$srcdir/include/wx/msw/genrcdefs.h"
53379 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53380
53381
53382 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53383 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53384 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53385 LN_S="${LN_S}"
53386
53387
53388 _ACEOF
53389
53390 cat >>$CONFIG_STATUS <<\_ACEOF
53391
53392 # Handling of arguments.
53393 for ac_config_target in $ac_config_targets
53394 do
53395 case $ac_config_target in
53396 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53397 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53398 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53399 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53400 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53401 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53402 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53403 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53404
53405 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53406 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53407 { (exit 1); exit 1; }; };;
53408 esac
53409 done
53410
53411
53412 # If the user did not use the arguments to specify the items to instantiate,
53413 # then the envvar interface is used. Set only those that are not.
53414 # We use the long form for the default assignment because of an extremely
53415 # bizarre bug on SunOS 4.1.3.
53416 if $ac_need_defaults; then
53417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53419 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53420 fi
53421
53422 # Have a temporary directory for convenience. Make it in the build tree
53423 # simply because there is no reason against having it here, and in addition,
53424 # creating and moving files from /tmp can sometimes cause problems.
53425 # Hook for its removal unless debugging.
53426 # Note that there is a small window in which the directory will not be cleaned:
53427 # after its creation but before its name has been assigned to `$tmp'.
53428 $debug ||
53429 {
53430 tmp=
53431 trap 'exit_status=$?
53432 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53433 ' 0
53434 trap '{ (exit 1); exit 1; }' 1 2 13 15
53435 }
53436 # Create a (secure) tmp directory for tmp files.
53437
53438 {
53439 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53440 test -n "$tmp" && test -d "$tmp"
53441 } ||
53442 {
53443 tmp=./conf$$-$RANDOM
53444 (umask 077 && mkdir "$tmp")
53445 } ||
53446 {
53447 echo "$me: cannot create a temporary directory in ." >&2
53448 { (exit 1); exit 1; }
53449 }
53450
53451 #
53452 # Set up the sed scripts for CONFIG_FILES section.
53453 #
53454
53455 # No need to generate the scripts if there are no CONFIG_FILES.
53456 # This happens for instance when ./config.status config.h
53457 if test -n "$CONFIG_FILES"; then
53458
53459 _ACEOF
53460
53461
53462
53463 ac_delim='%!_!# '
53464 for ac_last_try in false false false false false :; do
53465 cat >conf$$subs.sed <<_ACEOF
53466 SHELL!$SHELL$ac_delim
53467 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53468 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53469 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53470 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53471 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53472 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53473 exec_prefix!$exec_prefix$ac_delim
53474 prefix!$prefix$ac_delim
53475 program_transform_name!$program_transform_name$ac_delim
53476 bindir!$bindir$ac_delim
53477 sbindir!$sbindir$ac_delim
53478 libexecdir!$libexecdir$ac_delim
53479 datarootdir!$datarootdir$ac_delim
53480 datadir!$datadir$ac_delim
53481 sysconfdir!$sysconfdir$ac_delim
53482 sharedstatedir!$sharedstatedir$ac_delim
53483 localstatedir!$localstatedir$ac_delim
53484 includedir!$includedir$ac_delim
53485 oldincludedir!$oldincludedir$ac_delim
53486 docdir!$docdir$ac_delim
53487 infodir!$infodir$ac_delim
53488 htmldir!$htmldir$ac_delim
53489 dvidir!$dvidir$ac_delim
53490 pdfdir!$pdfdir$ac_delim
53491 psdir!$psdir$ac_delim
53492 libdir!$libdir$ac_delim
53493 localedir!$localedir$ac_delim
53494 mandir!$mandir$ac_delim
53495 DEFS!$DEFS$ac_delim
53496 ECHO_C!$ECHO_C$ac_delim
53497 ECHO_N!$ECHO_N$ac_delim
53498 ECHO_T!$ECHO_T$ac_delim
53499 LIBS!$LIBS$ac_delim
53500 build_alias!$build_alias$ac_delim
53501 host_alias!$host_alias$ac_delim
53502 target_alias!$target_alias$ac_delim
53503 build!$build$ac_delim
53504 build_cpu!$build_cpu$ac_delim
53505 build_vendor!$build_vendor$ac_delim
53506 build_os!$build_os$ac_delim
53507 host!$host$ac_delim
53508 host_cpu!$host_cpu$ac_delim
53509 host_vendor!$host_vendor$ac_delim
53510 host_os!$host_os$ac_delim
53511 target!$target$ac_delim
53512 target_cpu!$target_cpu$ac_delim
53513 target_vendor!$target_vendor$ac_delim
53514 target_os!$target_os$ac_delim
53515 wx_top_builddir!$wx_top_builddir$ac_delim
53516 CC!$CC$ac_delim
53517 CFLAGS!$CFLAGS$ac_delim
53518 LDFLAGS!$LDFLAGS$ac_delim
53519 CPPFLAGS!$CPPFLAGS$ac_delim
53520 ac_ct_CC!$ac_ct_CC$ac_delim
53521 EXEEXT!$EXEEXT$ac_delim
53522 OBJEXT!$OBJEXT$ac_delim
53523 CPP!$CPP$ac_delim
53524 GREP!$GREP$ac_delim
53525 EGREP!$EGREP$ac_delim
53526 CXX!$CXX$ac_delim
53527 CXXFLAGS!$CXXFLAGS$ac_delim
53528 ac_ct_CXX!$ac_ct_CXX$ac_delim
53529 AR!$AR$ac_delim
53530 subdirs!$subdirs$ac_delim
53531 PKG_CONFIG!$PKG_CONFIG$ac_delim
53532 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53533 GTK_LIBS!$GTK_LIBS$ac_delim
53534 GTK_CONFIG!$GTK_CONFIG$ac_delim
53535 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53536 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53537 XMKMF!$XMKMF$ac_delim
53538 X_CFLAGS!$X_CFLAGS$ac_delim
53539 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53540 X_LIBS!$X_LIBS$ac_delim
53541 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53542 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53543 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53544 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53545 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53546 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53547 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53548 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53549 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53550 LIBICONV!$LIBICONV$ac_delim
53551 SDL_CONFIG!$SDL_CONFIG$ac_delim
53552 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53553 SDL_LIBS!$SDL_LIBS$ac_delim
53554 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53555 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53556 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53557 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53558 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53559 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53560 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53561 HILDON_LIBS!$HILDON_LIBS$ac_delim
53562 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53563 _ACEOF
53564
53565 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53566 break
53567 elif $ac_last_try; then
53568 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53569 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53570 { (exit 1); exit 1; }; }
53571 else
53572 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53573 fi
53574 done
53575
53576 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53577 if test -n "$ac_eof"; then
53578 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53579 ac_eof=`expr $ac_eof + 1`
53580 fi
53581
53582 cat >>$CONFIG_STATUS <<_ACEOF
53583 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53584 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53585 _ACEOF
53586 sed '
53587 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53588 s/^/s,@/; s/!/@,|#_!!_#|/
53589 :n
53590 t n
53591 s/'"$ac_delim"'$/,g/; t
53592 s/$/\\/; p
53593 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53594 ' >>$CONFIG_STATUS <conf$$subs.sed
53595 rm -f conf$$subs.sed
53596 cat >>$CONFIG_STATUS <<_ACEOF
53597 CEOF$ac_eof
53598 _ACEOF
53599
53600
53601 ac_delim='%!_!# '
53602 for ac_last_try in false false false false false :; do
53603 cat >conf$$subs.sed <<_ACEOF
53604 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53605 GST_CFLAGS!$GST_CFLAGS$ac_delim
53606 GST_LIBS!$GST_LIBS$ac_delim
53607 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53608 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53609 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53610 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53611 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53612 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53613 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53614 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53615 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53616 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53617 VENDOR!$VENDOR$ac_delim
53618 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53619 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53620 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53621 WXUNIV!$WXUNIV$ac_delim
53622 MONOLITHIC!$MONOLITHIC$ac_delim
53623 USE_PLUGINS!$USE_PLUGINS$ac_delim
53624 CXXWARNINGS!$CXXWARNINGS$ac_delim
53625 EXTRALIBS!$EXTRALIBS$ac_delim
53626 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53627 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53628 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53629 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53630 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53631 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53632 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53633 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53634 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53635 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53636 UNICODE!$UNICODE$ac_delim
53637 BUILD!$BUILD$ac_delim
53638 DEBUG_INFO!$DEBUG_INFO$ac_delim
53639 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53640 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53641 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53642 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53643 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53644 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53645 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53646 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53647 RANLIB!$RANLIB$ac_delim
53648 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53649 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53650 INSTALL_DATA!$INSTALL_DATA$ac_delim
53651 LN_S!$LN_S$ac_delim
53652 SET_MAKE!$SET_MAKE$ac_delim
53653 MAKE_SET!$MAKE_SET$ac_delim
53654 AROPTIONS!$AROPTIONS$ac_delim
53655 STRIP!$STRIP$ac_delim
53656 NM!$NM$ac_delim
53657 INSTALL_DIR!$INSTALL_DIR$ac_delim
53658 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53659 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53660 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53661 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53662 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53663 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53664 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53665 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53666 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53667 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53668 SO_SUFFIX!$SO_SUFFIX$ac_delim
53669 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53670 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53671 LIBPREFIX!$LIBPREFIX$ac_delim
53672 LIBEXT!$LIBEXT$ac_delim
53673 DLLPREFIX!$DLLPREFIX$ac_delim
53674 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53675 dlldir!$dlldir$ac_delim
53676 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53677 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53678 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53679 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53680 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53681 PIC_FLAG!$PIC_FLAG$ac_delim
53682 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53683 USE_SOVERSION!$USE_SOVERSION$ac_delim
53684 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53685 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53686 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53687 USE_MACVERSION!$USE_MACVERSION$ac_delim
53688 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53689 SONAME_FLAG!$SONAME_FLAG$ac_delim
53690 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53691 BK_DEPS!$BK_DEPS$ac_delim
53692 WINDRES!$WINDRES$ac_delim
53693 REZ!$REZ$ac_delim
53694 SETFILE!$SETFILE$ac_delim
53695 GCC_PCH!$GCC_PCH$ac_delim
53696 ICC_PCH!$ICC_PCH$ac_delim
53697 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53698 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53700 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53701 _ACEOF
53702
53703 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53704 break
53705 elif $ac_last_try; then
53706 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53707 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53708 { (exit 1); exit 1; }; }
53709 else
53710 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53711 fi
53712 done
53713
53714 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53715 if test -n "$ac_eof"; then
53716 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53717 ac_eof=`expr $ac_eof + 1`
53718 fi
53719
53720 cat >>$CONFIG_STATUS <<_ACEOF
53721 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53723 _ACEOF
53724 sed '
53725 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53726 s/^/s,@/; s/!/@,|#_!!_#|/
53727 :n
53728 t n
53729 s/'"$ac_delim"'$/,g/; t
53730 s/$/\\/; p
53731 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53732 ' >>$CONFIG_STATUS <conf$$subs.sed
53733 rm -f conf$$subs.sed
53734 cat >>$CONFIG_STATUS <<_ACEOF
53735 CEOF$ac_eof
53736 _ACEOF
53737
53738
53739 ac_delim='%!_!# '
53740 for ac_last_try in false false false false false :; do
53741 cat >conf$$subs.sed <<_ACEOF
53742 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53743 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53744 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53745 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53746 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53747 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53748 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53749 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53750 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53751 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53752 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53753 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53754 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53755 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53756 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53757 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53758 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53760 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53762 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53763 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53764 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53765 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53766 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53771 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53772 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53774 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53775 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53776 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53777 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53778 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53779 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53780 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53781 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53782 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53783 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53784 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53785 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53786 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53787 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53788 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53789 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53790 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53791 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53792 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53793 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53794 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53795 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53796 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53797 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53798 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53800 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53801 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53802 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53803 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53804 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53805 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53806 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53807 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53808 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53809 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53810 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53811 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53812 COND_SHARED_0!$COND_SHARED_0$ac_delim
53813 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53814 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53815 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53816 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53817 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53818 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53819 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53820 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53821 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53822 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53823 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53824 COND_SHARED_1!$COND_SHARED_1$ac_delim
53825 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53826 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53827 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53828 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53829 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53830 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53831 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53832 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53833 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53834 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53835 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53836 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53837 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
53838 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53839 _ACEOF
53840
53841 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53842 break
53843 elif $ac_last_try; then
53844 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53845 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53846 { (exit 1); exit 1; }; }
53847 else
53848 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53849 fi
53850 done
53851
53852 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53853 if test -n "$ac_eof"; then
53854 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53855 ac_eof=`expr $ac_eof + 1`
53856 fi
53857
53858 cat >>$CONFIG_STATUS <<_ACEOF
53859 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53861 _ACEOF
53862 sed '
53863 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53864 s/^/s,@/; s/!/@,|#_!!_#|/
53865 :n
53866 t n
53867 s/'"$ac_delim"'$/,g/; t
53868 s/$/\\/; p
53869 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53870 ' >>$CONFIG_STATUS <conf$$subs.sed
53871 rm -f conf$$subs.sed
53872 cat >>$CONFIG_STATUS <<_ACEOF
53873 CEOF$ac_eof
53874 _ACEOF
53875
53876
53877 ac_delim='%!_!# '
53878 for ac_last_try in false false false false false :; do
53879 cat >conf$$subs.sed <<_ACEOF
53880 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53881 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53882 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53883 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53884 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53885 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53886 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53887 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53888 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53889 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53890 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53891 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53892 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53893 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53894 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53895 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53896 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53897 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53898 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53899 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53900 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53901 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53902 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53903 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53904 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53905 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53906 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53907 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53908 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53909 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53910 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53912 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53913 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53914 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53915 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53916 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53917 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53918 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53919 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53920 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53921 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53922 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53923 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53924 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53925 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53926 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53927 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53928 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53929 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53930 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53931 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53932 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53933 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53934 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53935 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53936 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53937 DEREZ!$DEREZ$ac_delim
53938 SHARED!$SHARED$ac_delim
53939 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53940 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53941 USE_GUI!$USE_GUI$ac_delim
53942 AFMINSTALL!$AFMINSTALL$ac_delim
53943 WIN32INSTALL!$WIN32INSTALL$ac_delim
53944 TOOLKIT!$TOOLKIT$ac_delim
53945 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53946 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53947 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53948 cross_compiling!$cross_compiling$ac_delim
53949 WIDGET_SET!$WIDGET_SET$ac_delim
53950 WX_RELEASE!$WX_RELEASE$ac_delim
53951 WX_VERSION!$WX_VERSION$ac_delim
53952 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53953 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53954 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53955 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53956 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53957 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53958 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53959 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53960 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53961 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53962 GUIDIST!$GUIDIST$ac_delim
53963 DISTDIR!$DISTDIR$ac_delim
53964 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53965 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53966 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53967 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53968 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53969 RESCOMP!$RESCOMP$ac_delim
53970 RESFLAGS!$RESFLAGS$ac_delim
53971 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53972 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53973 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53974 LIBWXMACRES!$LIBWXMACRES$ac_delim
53975 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53976 MACSETFILE!$MACSETFILE$ac_delim
53977 _ACEOF
53978
53979 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53980 break
53981 elif $ac_last_try; then
53982 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53983 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53984 { (exit 1); exit 1; }; }
53985 else
53986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53987 fi
53988 done
53989
53990 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53991 if test -n "$ac_eof"; then
53992 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53993 ac_eof=`expr $ac_eof + 1`
53994 fi
53995
53996 cat >>$CONFIG_STATUS <<_ACEOF
53997 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53999 _ACEOF
54000 sed '
54001 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54002 s/^/s,@/; s/!/@,|#_!!_#|/
54003 :n
54004 t n
54005 s/'"$ac_delim"'$/,g/; t
54006 s/$/\\/; p
54007 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54008 ' >>$CONFIG_STATUS <conf$$subs.sed
54009 rm -f conf$$subs.sed
54010 cat >>$CONFIG_STATUS <<_ACEOF
54011 CEOF$ac_eof
54012 _ACEOF
54013
54014
54015 ac_delim='%!_!# '
54016 for ac_last_try in false false false false false :; do
54017 cat >conf$$subs.sed <<_ACEOF
54018 GCC!$GCC$ac_delim
54019 DLLTOOL!$DLLTOOL$ac_delim
54020 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54021 LIBOBJS!$LIBOBJS$ac_delim
54022 LTLIBOBJS!$LTLIBOBJS$ac_delim
54023 _ACEOF
54024
54025 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
54026 break
54027 elif $ac_last_try; then
54028 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54029 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54030 { (exit 1); exit 1; }; }
54031 else
54032 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54033 fi
54034 done
54035
54036 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54037 if test -n "$ac_eof"; then
54038 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54039 ac_eof=`expr $ac_eof + 1`
54040 fi
54041
54042 cat >>$CONFIG_STATUS <<_ACEOF
54043 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54045 _ACEOF
54046 sed '
54047 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54048 s/^/s,@/; s/!/@,|#_!!_#|/
54049 :n
54050 t n
54051 s/'"$ac_delim"'$/,g/; t
54052 s/$/\\/; p
54053 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54054 ' >>$CONFIG_STATUS <conf$$subs.sed
54055 rm -f conf$$subs.sed
54056 cat >>$CONFIG_STATUS <<_ACEOF
54057 :end
54058 s/|#_!!_#|//g
54059 CEOF$ac_eof
54060 _ACEOF
54061
54062
54063 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54064 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54065 # trailing colons and then remove the whole line if VPATH becomes empty
54066 # (actually we leave an empty line to preserve line numbers).
54067 if test "x$srcdir" = x.; then
54068 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54069 s/:*\$(srcdir):*/:/
54070 s/:*\${srcdir}:*/:/
54071 s/:*@srcdir@:*/:/
54072 s/^\([^=]*=[ ]*\):*/\1/
54073 s/:*$//
54074 s/^[^=]*=[ ]*$//
54075 }'
54076 fi
54077
54078 cat >>$CONFIG_STATUS <<\_ACEOF
54079 fi # test -n "$CONFIG_FILES"
54080
54081
54082 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54083 do
54084 case $ac_tag in
54085 :[FHLC]) ac_mode=$ac_tag; continue;;
54086 esac
54087 case $ac_mode$ac_tag in
54088 :[FHL]*:*);;
54089 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54090 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54091 { (exit 1); exit 1; }; };;
54092 :[FH]-) ac_tag=-:-;;
54093 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54094 esac
54095 ac_save_IFS=$IFS
54096 IFS=:
54097 set x $ac_tag
54098 IFS=$ac_save_IFS
54099 shift
54100 ac_file=$1
54101 shift
54102
54103 case $ac_mode in
54104 :L) ac_source=$1;;
54105 :[FH])
54106 ac_file_inputs=
54107 for ac_f
54108 do
54109 case $ac_f in
54110 -) ac_f="$tmp/stdin";;
54111 *) # Look for the file first in the build tree, then in the source tree
54112 # (if the path is not absolute). The absolute path cannot be DOS-style,
54113 # because $ac_f cannot contain `:'.
54114 test -f "$ac_f" ||
54115 case $ac_f in
54116 [\\/$]*) false;;
54117 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54118 esac ||
54119 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54120 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54121 { (exit 1); exit 1; }; };;
54122 esac
54123 ac_file_inputs="$ac_file_inputs $ac_f"
54124 done
54125
54126 # Let's still pretend it is `configure' which instantiates (i.e., don't
54127 # use $as_me), people would be surprised to read:
54128 # /* config.h. Generated by config.status. */
54129 configure_input="Generated from "`IFS=:
54130 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54131 if test x"$ac_file" != x-; then
54132 configure_input="$ac_file. $configure_input"
54133 { echo "$as_me:$LINENO: creating $ac_file" >&5
54134 echo "$as_me: creating $ac_file" >&6;}
54135 fi
54136
54137 case $ac_tag in
54138 *:-:* | *:-) cat >"$tmp/stdin";;
54139 esac
54140 ;;
54141 esac
54142
54143 ac_dir=`$as_dirname -- "$ac_file" ||
54144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54145 X"$ac_file" : 'X\(//\)[^/]' \| \
54146 X"$ac_file" : 'X\(//\)$' \| \
54147 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54148 echo X"$ac_file" |
54149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54150 s//\1/
54151 q
54152 }
54153 /^X\(\/\/\)[^/].*/{
54154 s//\1/
54155 q
54156 }
54157 /^X\(\/\/\)$/{
54158 s//\1/
54159 q
54160 }
54161 /^X\(\/\).*/{
54162 s//\1/
54163 q
54164 }
54165 s/.*/./; q'`
54166 { as_dir="$ac_dir"
54167 case $as_dir in #(
54168 -*) as_dir=./$as_dir;;
54169 esac
54170 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54171 as_dirs=
54172 while :; do
54173 case $as_dir in #(
54174 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54175 *) as_qdir=$as_dir;;
54176 esac
54177 as_dirs="'$as_qdir' $as_dirs"
54178 as_dir=`$as_dirname -- "$as_dir" ||
54179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54180 X"$as_dir" : 'X\(//\)[^/]' \| \
54181 X"$as_dir" : 'X\(//\)$' \| \
54182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54183 echo X"$as_dir" |
54184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54185 s//\1/
54186 q
54187 }
54188 /^X\(\/\/\)[^/].*/{
54189 s//\1/
54190 q
54191 }
54192 /^X\(\/\/\)$/{
54193 s//\1/
54194 q
54195 }
54196 /^X\(\/\).*/{
54197 s//\1/
54198 q
54199 }
54200 s/.*/./; q'`
54201 test -d "$as_dir" && break
54202 done
54203 test -z "$as_dirs" || eval "mkdir $as_dirs"
54204 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54205 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54206 { (exit 1); exit 1; }; }; }
54207 ac_builddir=.
54208
54209 case "$ac_dir" in
54210 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54211 *)
54212 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54213 # A ".." for each directory in $ac_dir_suffix.
54214 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54215 case $ac_top_builddir_sub in
54216 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54217 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54218 esac ;;
54219 esac
54220 ac_abs_top_builddir=$ac_pwd
54221 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54222 # for backward compatibility:
54223 ac_top_builddir=$ac_top_build_prefix
54224
54225 case $srcdir in
54226 .) # We are building in place.
54227 ac_srcdir=.
54228 ac_top_srcdir=$ac_top_builddir_sub
54229 ac_abs_top_srcdir=$ac_pwd ;;
54230 [\\/]* | ?:[\\/]* ) # Absolute name.
54231 ac_srcdir=$srcdir$ac_dir_suffix;
54232 ac_top_srcdir=$srcdir
54233 ac_abs_top_srcdir=$srcdir ;;
54234 *) # Relative name.
54235 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54236 ac_top_srcdir=$ac_top_build_prefix$srcdir
54237 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54238 esac
54239 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54240
54241
54242 case $ac_mode in
54243 :F)
54244 #
54245 # CONFIG_FILE
54246 #
54247
54248 case $INSTALL in
54249 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54250 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54251 esac
54252 _ACEOF
54253
54254 cat >>$CONFIG_STATUS <<\_ACEOF
54255 # If the template does not know about datarootdir, expand it.
54256 # FIXME: This hack should be removed a few years after 2.60.
54257 ac_datarootdir_hack=; ac_datarootdir_seen=
54258
54259 case `sed -n '/datarootdir/ {
54260 p
54261 q
54262 }
54263 /@datadir@/p
54264 /@docdir@/p
54265 /@infodir@/p
54266 /@localedir@/p
54267 /@mandir@/p
54268 ' $ac_file_inputs` in
54269 *datarootdir*) ac_datarootdir_seen=yes;;
54270 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54271 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54272 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54273 _ACEOF
54274 cat >>$CONFIG_STATUS <<_ACEOF
54275 ac_datarootdir_hack='
54276 s&@datadir@&$datadir&g
54277 s&@docdir@&$docdir&g
54278 s&@infodir@&$infodir&g
54279 s&@localedir@&$localedir&g
54280 s&@mandir@&$mandir&g
54281 s&\\\${datarootdir}&$datarootdir&g' ;;
54282 esac
54283 _ACEOF
54284
54285 # Neutralize VPATH when `$srcdir' = `.'.
54286 # Shell code in configure.ac might set extrasub.
54287 # FIXME: do we really want to maintain this feature?
54288 cat >>$CONFIG_STATUS <<_ACEOF
54289 sed "$ac_vpsub
54290 $extrasub
54291 _ACEOF
54292 cat >>$CONFIG_STATUS <<\_ACEOF
54293 :t
54294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54295 s&@configure_input@&$configure_input&;t t
54296 s&@top_builddir@&$ac_top_builddir_sub&;t t
54297 s&@srcdir@&$ac_srcdir&;t t
54298 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54299 s&@top_srcdir@&$ac_top_srcdir&;t t
54300 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54301 s&@builddir@&$ac_builddir&;t t
54302 s&@abs_builddir@&$ac_abs_builddir&;t t
54303 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54304 s&@INSTALL@&$ac_INSTALL&;t t
54305 $ac_datarootdir_hack
54306 " $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
54307
54308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54309 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54311 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54312 which seems to be undefined. Please make sure it is defined." >&5
54313 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54314 which seems to be undefined. Please make sure it is defined." >&2;}
54315
54316 rm -f "$tmp/stdin"
54317 case $ac_file in
54318 -) cat "$tmp/out"; rm -f "$tmp/out";;
54319 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54320 esac
54321 ;;
54322 :H)
54323 #
54324 # CONFIG_HEADER
54325 #
54326 _ACEOF
54327
54328 # Transform confdefs.h into a sed script `conftest.defines', that
54329 # substitutes the proper values into config.h.in to produce config.h.
54330 rm -f conftest.defines conftest.tail
54331 # First, append a space to every undef/define line, to ease matching.
54332 echo 's/$/ /' >conftest.defines
54333 # Then, protect against being on the right side of a sed subst, or in
54334 # an unquoted here document, in config.status. If some macros were
54335 # called several times there might be several #defines for the same
54336 # symbol, which is useless. But do not sort them, since the last
54337 # AC_DEFINE must be honored.
54338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54339 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54340 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54341 # PARAMS is the parameter list in the macro definition--in most cases, it's
54342 # just an empty string.
54343 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54344 ac_dB='\\)[ (].*,\\1define\\2'
54345 ac_dC=' '
54346 ac_dD=' ,'
54347
54348 uniq confdefs.h |
54349 sed -n '
54350 t rset
54351 :rset
54352 s/^[ ]*#[ ]*define[ ][ ]*//
54353 t ok
54354 d
54355 :ok
54356 s/[\\&,]/\\&/g
54357 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54358 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54359 ' >>conftest.defines
54360
54361 # Remove the space that was appended to ease matching.
54362 # Then replace #undef with comments. This is necessary, for
54363 # example, in the case of _POSIX_SOURCE, which is predefined and required
54364 # on some systems where configure will not decide to define it.
54365 # (The regexp can be short, since the line contains either #define or #undef.)
54366 echo 's/ $//
54367 s,^[ #]*u.*,/* & */,' >>conftest.defines
54368
54369 # Break up conftest.defines:
54370 ac_max_sed_lines=50
54371
54372 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54373 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54374 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54375 # et cetera.
54376 ac_in='$ac_file_inputs'
54377 ac_out='"$tmp/out1"'
54378 ac_nxt='"$tmp/out2"'
54379
54380 while :
54381 do
54382 # Write a here document:
54383 cat >>$CONFIG_STATUS <<_ACEOF
54384 # First, check the format of the line:
54385 cat >"\$tmp/defines.sed" <<\\CEOF
54386 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54387 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54388 b
54389 :def
54390 _ACEOF
54391 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54392 echo 'CEOF
54393 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54394 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54395 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54396 grep . conftest.tail >/dev/null || break
54397 rm -f conftest.defines
54398 mv conftest.tail conftest.defines
54399 done
54400 rm -f conftest.defines conftest.tail
54401
54402 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54403 cat >>$CONFIG_STATUS <<\_ACEOF
54404 if test x"$ac_file" != x-; then
54405 echo "/* $configure_input */" >"$tmp/config.h"
54406 cat "$ac_result" >>"$tmp/config.h"
54407 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54408 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54409 echo "$as_me: $ac_file is unchanged" >&6;}
54410 else
54411 rm -f $ac_file
54412 mv "$tmp/config.h" $ac_file
54413 fi
54414 else
54415 echo "/* $configure_input */"
54416 cat "$ac_result"
54417 fi
54418 rm -f "$tmp/out12"
54419 ;;
54420
54421 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54422 echo "$as_me: executing $ac_file commands" >&6;}
54423 ;;
54424 esac
54425
54426
54427 case $ac_file$ac_mode in
54428 "rcdefs.h":C)
54429 mkdir -p $outdir &&
54430 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54431 ;;
54432 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54433 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54434 "wx-config":C) rm -f wx-config
54435 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54436 ;;
54437
54438 esac
54439 done # for ac_tag
54440
54441
54442 { (exit 0); exit 0; }
54443 _ACEOF
54444 chmod +x $CONFIG_STATUS
54445 ac_clean_files=$ac_clean_files_save
54446
54447
54448 # configure is writing to config.log, and then calls config.status.
54449 # config.status does its own redirection, appending to config.log.
54450 # Unfortunately, on DOS this fails, as config.log is still kept open
54451 # by configure, so config.status won't be able to write to it; its
54452 # output is simply discarded. So we exec the FD to /dev/null,
54453 # effectively closing config.log, so it can be properly (re)opened and
54454 # appended to by config.status. When coming back to configure, we
54455 # need to make the FD available again.
54456 if test "$no_create" != yes; then
54457 ac_cs_success=:
54458 ac_config_status_args=
54459 test "$silent" = yes &&
54460 ac_config_status_args="$ac_config_status_args --quiet"
54461 exec 5>/dev/null
54462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54463 exec 5>>config.log
54464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54465 # would make configure fail if this is the last instruction.
54466 $ac_cs_success || { (exit 1); exit 1; }
54467 fi
54468
54469 #
54470 # CONFIG_SUBDIRS section.
54471 #
54472 if test "$no_recursion" != yes; then
54473
54474 # Remove --cache-file and --srcdir arguments so they do not pile up.
54475 ac_sub_configure_args=
54476 ac_prev=
54477 eval "set x $ac_configure_args"
54478 shift
54479 for ac_arg
54480 do
54481 if test -n "$ac_prev"; then
54482 ac_prev=
54483 continue
54484 fi
54485 case $ac_arg in
54486 -cache-file | --cache-file | --cache-fil | --cache-fi \
54487 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54488 ac_prev=cache_file ;;
54489 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54490 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54491 | --c=*)
54492 ;;
54493 --config-cache | -C)
54494 ;;
54495 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54496 ac_prev=srcdir ;;
54497 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54498 ;;
54499 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54500 ac_prev=prefix ;;
54501 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54502 ;;
54503 *)
54504 case $ac_arg in
54505 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54506 esac
54507 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54508 esac
54509 done
54510
54511 # Always prepend --prefix to ensure using the same prefix
54512 # in subdir configurations.
54513 ac_arg="--prefix=$prefix"
54514 case $ac_arg in
54515 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54516 esac
54517 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54518
54519 # Pass --silent
54520 if test "$silent" = yes; then
54521 ac_sub_configure_args="--silent $ac_sub_configure_args"
54522 fi
54523
54524 ac_popdir=`pwd`
54525 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54526
54527 # Do not complain, so a configure script can configure whichever
54528 # parts of a large source tree are present.
54529 test -d "$srcdir/$ac_dir" || continue
54530
54531 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54532 echo "$as_me:$LINENO: $ac_msg" >&5
54533 echo "$ac_msg" >&6
54534 { as_dir="$ac_dir"
54535 case $as_dir in #(
54536 -*) as_dir=./$as_dir;;
54537 esac
54538 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54539 as_dirs=
54540 while :; do
54541 case $as_dir in #(
54542 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54543 *) as_qdir=$as_dir;;
54544 esac
54545 as_dirs="'$as_qdir' $as_dirs"
54546 as_dir=`$as_dirname -- "$as_dir" ||
54547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54548 X"$as_dir" : 'X\(//\)[^/]' \| \
54549 X"$as_dir" : 'X\(//\)$' \| \
54550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54551 echo X"$as_dir" |
54552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54553 s//\1/
54554 q
54555 }
54556 /^X\(\/\/\)[^/].*/{
54557 s//\1/
54558 q
54559 }
54560 /^X\(\/\/\)$/{
54561 s//\1/
54562 q
54563 }
54564 /^X\(\/\).*/{
54565 s//\1/
54566 q
54567 }
54568 s/.*/./; q'`
54569 test -d "$as_dir" && break
54570 done
54571 test -z "$as_dirs" || eval "mkdir $as_dirs"
54572 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54573 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54574 { (exit 1); exit 1; }; }; }
54575 ac_builddir=.
54576
54577 case "$ac_dir" in
54578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54579 *)
54580 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54581 # A ".." for each directory in $ac_dir_suffix.
54582 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54583 case $ac_top_builddir_sub in
54584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54586 esac ;;
54587 esac
54588 ac_abs_top_builddir=$ac_pwd
54589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54590 # for backward compatibility:
54591 ac_top_builddir=$ac_top_build_prefix
54592
54593 case $srcdir in
54594 .) # We are building in place.
54595 ac_srcdir=.
54596 ac_top_srcdir=$ac_top_builddir_sub
54597 ac_abs_top_srcdir=$ac_pwd ;;
54598 [\\/]* | ?:[\\/]* ) # Absolute name.
54599 ac_srcdir=$srcdir$ac_dir_suffix;
54600 ac_top_srcdir=$srcdir
54601 ac_abs_top_srcdir=$srcdir ;;
54602 *) # Relative name.
54603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54604 ac_top_srcdir=$ac_top_build_prefix$srcdir
54605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54606 esac
54607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54608
54609
54610 cd "$ac_dir"
54611
54612 # Check for guested configure; otherwise get Cygnus style configure.
54613 if test -f "$ac_srcdir/configure.gnu"; then
54614 ac_sub_configure=$ac_srcdir/configure.gnu
54615 elif test -f "$ac_srcdir/configure"; then
54616 ac_sub_configure=$ac_srcdir/configure
54617 elif test -f "$ac_srcdir/configure.in"; then
54618 # This should be Cygnus configure.
54619 ac_sub_configure=$ac_aux_dir/configure
54620 else
54621 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54622 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54623 ac_sub_configure=
54624 fi
54625
54626 # The recursion is here.
54627 if test -n "$ac_sub_configure"; then
54628 # Make the cache file name correct relative to the subdirectory.
54629 case $cache_file in
54630 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54631 *) # Relative name.
54632 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54633 esac
54634
54635 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54636 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54637 # The eval makes quoting arguments work.
54638 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54639 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54640 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54641 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54642 { (exit 1); exit 1; }; }
54643 fi
54644
54645 cd "$ac_popdir"
54646 done
54647 fi
54648
54649
54650 echo
54651 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54652 echo ""
54653 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54654 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54655
54656 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54657 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54658 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54659 if test "$wxUSE_UNICODE" = "yes"; then
54660 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54661 echo " (using UTF-8)"
54662 else
54663 echo " (using wchar_t)"
54664 fi
54665 else
54666 echo
54667 fi
54668
54669 echo " What level of wxWidgets compatibility should be enabled?"
54670 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54671 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54672
54673 echo " Which libraries should wxWidgets use?"
54674 echo " STL ${wxUSE_STL}"
54675 echo " jpeg ${wxUSE_LIBJPEG-none}"
54676 echo " png ${wxUSE_LIBPNG-none}"
54677 echo " regex ${wxUSE_REGEX}"
54678 echo " tiff ${wxUSE_LIBTIFF-none}"
54679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54680 echo " xpm ${wxUSE_LIBXPM-none}"
54681 fi
54682 echo " zlib ${wxUSE_ZLIB}"
54683 echo " expat ${wxUSE_EXPAT}"
54684 echo " libmspack ${wxUSE_LIBMSPACK}"
54685 echo " sdl ${wxUSE_LIBSDL}"
54686
54687 echo ""
54688