]> git.saurik.com Git - wxWidgets.git/blob - configure
ignore *.mo files in locale/msw too
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49661 2007-11-05 22:32:45Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_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__USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_USE_GUI_1
911 COND_TOOLKIT_MAC
912 COND_TOOLKIT_MAC_USE_GUI_1
913 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_MGL
915 COND_TOOLKIT_MGL_USE_GUI_1
916 COND_TOOLKIT_MOTIF
917 COND_TOOLKIT_MOTIF_USE_GUI_1
918 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MSW
920 COND_TOOLKIT_MSW_USE_GUI_1
921 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_WXUNIV_0
923 COND_TOOLKIT_PM
924 COND_TOOLKIT_PM_USE_GUI_1
925 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_WINCE
927 COND_TOOLKIT_WINCE_USE_GUI_1
928 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE_WXUNIV_0
930 COND_TOOLKIT_X11
931 COND_TOOLKIT_X11_USE_GUI_1
932 COND_UNICODE_1
933 COND_USE_EXCEPTIONS_0
934 COND_USE_EXCEPTIONS_1
935 COND_USE_GUI_0
936 COND_USE_GUI_1
937 COND_USE_GUI_1_USE_OPENGL_1
938 COND_USE_GUI_1_WXUNIV_0
939 COND_USE_GUI_1_WXUNIV_1
940 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
941 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
943 COND_USE_PCH_1
944 COND_USE_PLUGINS_0
945 COND_USE_RTTI_0
946 COND_USE_RTTI_1
947 COND_USE_SOSYMLINKS_1
948 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
949 COND_USE_SOVERLINUX_1
950 COND_USE_SOVERSION_0
951 COND_USE_SOVERSOLARIS_1
952 COND_USE_STC_1
953 COND_USE_THREADS_0
954 COND_USE_THREADS_1
955 COND_USE_XRC_1
956 COND_WINDOWS_IMPLIB_1
957 COND_WITH_PLUGIN_SDL_1
958 COND_WXUNIV_0
959 COND_WXUNIV_1
960 COND_WXUSE_EXPAT_BUILTIN
961 COND_WXUSE_LIBJPEG_BUILTIN
962 COND_WXUSE_LIBPNG_BUILTIN
963 COND_WXUSE_LIBTIFF_BUILTIN
964 COND_WXUSE_REGEX_BUILTIN
965 COND_WXUSE_ZLIB_BUILTIN
966 DEREZ
967 SHARED
968 WX_LIBRARY_BASENAME_NOGUI
969 WX_LIBRARY_BASENAME_GUI
970 USE_GUI
971 AFMINSTALL
972 WIN32INSTALL
973 TOOLKIT
974 TOOLKIT_DIR
975 TOOLCHAIN_NAME
976 TOOLCHAIN_FULLNAME
977 cross_compiling
978 WIDGET_SET
979 WX_RELEASE
980 WX_VERSION
981 WX_SUBVERSION
982 WX_CHARTYPE
983 WX_DEBUGTYPE
984 WXCONFIG_CPPFLAGS
985 WXCONFIG_CFLAGS
986 WXCONFIG_CXXFLAGS
987 WXCONFIG_LIBS
988 WXCONFIG_RPATH
989 WXCONFIG_LDFLAGS_GUI
990 WXCONFIG_RESFLAGS
991 GUIDIST
992 DISTDIR
993 SAMPLES_SUBDIRS
994 LDFLAGS_GL
995 OPENGL_LIBS
996 DMALLOC_LIBS
997 WX_VERSION_TAG
998 RESCOMP
999 RESFLAGS
1000 RESPROGRAMOBJ
1001 WX_RESOURCES_MACOSX_ASCII
1002 WX_RESOURCES_MACOSX_DATA
1003 LIBWXMACRES
1004 POSTLINK_COMMAND
1005 MACSETFILE
1006 GCC
1007 DLLTOOL
1008 CPPUNIT_CONFIG
1009 LIBOBJS
1010 LTLIBOBJS'
1011 ac_subst_files=''
1012 ac_precious_vars='build_alias
1013 host_alias
1014 target_alias
1015 CC
1016 CFLAGS
1017 LDFLAGS
1018 LIBS
1019 CPPFLAGS
1020 CPP
1021 CXX
1022 CXXFLAGS
1023 CCC
1024 PKG_CONFIG
1025 DIRECTFB_CFLAGS
1026 DIRECTFB_LIBS
1027 XMKMF
1028 PANGOX_CFLAGS
1029 PANGOX_LIBS
1030 PANGOFT2_CFLAGS
1031 PANGOFT2_LIBS
1032 PANGOXFT_CFLAGS
1033 PANGOXFT_LIBS
1034 GTKPRINT_CFLAGS
1035 GTKPRINT_LIBS
1036 LIBGNOMEPRINTUI_CFLAGS
1037 LIBGNOMEPRINTUI_LIBS
1038 GNOMEVFS_CFLAGS
1039 GNOMEVFS_LIBS
1040 HILDON_CFLAGS
1041 HILDON_LIBS
1042 CAIRO_CFLAGS
1043 CAIRO_LIBS
1044 GST_CFLAGS
1045 GST_LIBS'
1046 ac_subdirs_all='src/tiff
1047 src/expat'
1048
1049 # Initialize some variables set by options.
1050 ac_init_help=
1051 ac_init_version=false
1052 # The variables have the same names as the options, with
1053 # dashes changed to underlines.
1054 cache_file=/dev/null
1055 exec_prefix=NONE
1056 no_create=
1057 no_recursion=
1058 prefix=NONE
1059 program_prefix=NONE
1060 program_suffix=NONE
1061 program_transform_name=s,x,x,
1062 silent=
1063 site=
1064 srcdir=
1065 verbose=
1066 x_includes=NONE
1067 x_libraries=NONE
1068
1069 # Installation directory options.
1070 # These are left unexpanded so users can "make install exec_prefix=/foo"
1071 # and all the variables that are supposed to be based on exec_prefix
1072 # by default will actually change.
1073 # Use braces instead of parens because sh, perl, etc. also accept them.
1074 # (The list follows the same order as the GNU Coding Standards.)
1075 bindir='${exec_prefix}/bin'
1076 sbindir='${exec_prefix}/sbin'
1077 libexecdir='${exec_prefix}/libexec'
1078 datarootdir='${prefix}/share'
1079 datadir='${datarootdir}'
1080 sysconfdir='${prefix}/etc'
1081 sharedstatedir='${prefix}/com'
1082 localstatedir='${prefix}/var'
1083 includedir='${prefix}/include'
1084 oldincludedir='/usr/include'
1085 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1086 infodir='${datarootdir}/info'
1087 htmldir='${docdir}'
1088 dvidir='${docdir}'
1089 pdfdir='${docdir}'
1090 psdir='${docdir}'
1091 libdir='${exec_prefix}/lib'
1092 localedir='${datarootdir}/locale'
1093 mandir='${datarootdir}/man'
1094
1095 ac_prev=
1096 ac_dashdash=
1097 for ac_option
1098 do
1099 # If the previous option needs an argument, assign it.
1100 if test -n "$ac_prev"; then
1101 eval $ac_prev=\$ac_option
1102 ac_prev=
1103 continue
1104 fi
1105
1106 case $ac_option in
1107 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1108 *) ac_optarg=yes ;;
1109 esac
1110
1111 # Accept the important Cygnus configure options, so we can diagnose typos.
1112
1113 case $ac_dashdash$ac_option in
1114 --)
1115 ac_dashdash=yes ;;
1116
1117 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1118 ac_prev=bindir ;;
1119 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1120 bindir=$ac_optarg ;;
1121
1122 -build | --build | --buil | --bui | --bu)
1123 ac_prev=build_alias ;;
1124 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1125 build_alias=$ac_optarg ;;
1126
1127 -cache-file | --cache-file | --cache-fil | --cache-fi \
1128 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1129 ac_prev=cache_file ;;
1130 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1131 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1132 cache_file=$ac_optarg ;;
1133
1134 --config-cache | -C)
1135 cache_file=config.cache ;;
1136
1137 -datadir | --datadir | --datadi | --datad)
1138 ac_prev=datadir ;;
1139 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1140 datadir=$ac_optarg ;;
1141
1142 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1143 | --dataroo | --dataro | --datar)
1144 ac_prev=datarootdir ;;
1145 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1146 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1147 datarootdir=$ac_optarg ;;
1148
1149 -disable-* | --disable-*)
1150 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1156 eval enable_$ac_feature=no ;;
1157
1158 -docdir | --docdir | --docdi | --doc | --do)
1159 ac_prev=docdir ;;
1160 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1161 docdir=$ac_optarg ;;
1162
1163 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1164 ac_prev=dvidir ;;
1165 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1166 dvidir=$ac_optarg ;;
1167
1168 -enable-* | --enable-*)
1169 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1173 { (exit 1); exit 1; }; }
1174 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1175 eval enable_$ac_feature=\$ac_optarg ;;
1176
1177 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1178 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1179 | --exec | --exe | --ex)
1180 ac_prev=exec_prefix ;;
1181 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1182 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1183 | --exec=* | --exe=* | --ex=*)
1184 exec_prefix=$ac_optarg ;;
1185
1186 -gas | --gas | --ga | --g)
1187 # Obsolete; use --with-gas.
1188 with_gas=yes ;;
1189
1190 -help | --help | --hel | --he | -h)
1191 ac_init_help=long ;;
1192 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1193 ac_init_help=recursive ;;
1194 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1195 ac_init_help=short ;;
1196
1197 -host | --host | --hos | --ho)
1198 ac_prev=host_alias ;;
1199 -host=* | --host=* | --hos=* | --ho=*)
1200 host_alias=$ac_optarg ;;
1201
1202 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1203 ac_prev=htmldir ;;
1204 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1205 | --ht=*)
1206 htmldir=$ac_optarg ;;
1207
1208 -includedir | --includedir | --includedi | --included | --include \
1209 | --includ | --inclu | --incl | --inc)
1210 ac_prev=includedir ;;
1211 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1212 | --includ=* | --inclu=* | --incl=* | --inc=*)
1213 includedir=$ac_optarg ;;
1214
1215 -infodir | --infodir | --infodi | --infod | --info | --inf)
1216 ac_prev=infodir ;;
1217 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1218 infodir=$ac_optarg ;;
1219
1220 -libdir | --libdir | --libdi | --libd)
1221 ac_prev=libdir ;;
1222 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1223 libdir=$ac_optarg ;;
1224
1225 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1226 | --libexe | --libex | --libe)
1227 ac_prev=libexecdir ;;
1228 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1229 | --libexe=* | --libex=* | --libe=*)
1230 libexecdir=$ac_optarg ;;
1231
1232 -localedir | --localedir | --localedi | --localed | --locale)
1233 ac_prev=localedir ;;
1234 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1235 localedir=$ac_optarg ;;
1236
1237 -localstatedir | --localstatedir | --localstatedi | --localstated \
1238 | --localstate | --localstat | --localsta | --localst | --locals)
1239 ac_prev=localstatedir ;;
1240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1241 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1242 localstatedir=$ac_optarg ;;
1243
1244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1245 ac_prev=mandir ;;
1246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1247 mandir=$ac_optarg ;;
1248
1249 -nfp | --nfp | --nf)
1250 # Obsolete; use --without-fp.
1251 with_fp=no ;;
1252
1253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1254 | --no-cr | --no-c | -n)
1255 no_create=yes ;;
1256
1257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1259 no_recursion=yes ;;
1260
1261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1263 | --oldin | --oldi | --old | --ol | --o)
1264 ac_prev=oldincludedir ;;
1265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1268 oldincludedir=$ac_optarg ;;
1269
1270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1271 ac_prev=prefix ;;
1272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1273 prefix=$ac_optarg ;;
1274
1275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1276 | --program-pre | --program-pr | --program-p)
1277 ac_prev=program_prefix ;;
1278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1280 program_prefix=$ac_optarg ;;
1281
1282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1283 | --program-suf | --program-su | --program-s)
1284 ac_prev=program_suffix ;;
1285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1287 program_suffix=$ac_optarg ;;
1288
1289 -program-transform-name | --program-transform-name \
1290 | --program-transform-nam | --program-transform-na \
1291 | --program-transform-n | --program-transform- \
1292 | --program-transform | --program-transfor \
1293 | --program-transfo | --program-transf \
1294 | --program-trans | --program-tran \
1295 | --progr-tra | --program-tr | --program-t)
1296 ac_prev=program_transform_name ;;
1297 -program-transform-name=* | --program-transform-name=* \
1298 | --program-transform-nam=* | --program-transform-na=* \
1299 | --program-transform-n=* | --program-transform-=* \
1300 | --program-transform=* | --program-transfor=* \
1301 | --program-transfo=* | --program-transf=* \
1302 | --program-trans=* | --program-tran=* \
1303 | --progr-tra=* | --program-tr=* | --program-t=*)
1304 program_transform_name=$ac_optarg ;;
1305
1306 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1307 ac_prev=pdfdir ;;
1308 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1309 pdfdir=$ac_optarg ;;
1310
1311 -psdir | --psdir | --psdi | --psd | --ps)
1312 ac_prev=psdir ;;
1313 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1314 psdir=$ac_optarg ;;
1315
1316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1317 | -silent | --silent | --silen | --sile | --sil)
1318 silent=yes ;;
1319
1320 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1321 ac_prev=sbindir ;;
1322 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1323 | --sbi=* | --sb=*)
1324 sbindir=$ac_optarg ;;
1325
1326 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1327 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1328 | --sharedst | --shareds | --shared | --share | --shar \
1329 | --sha | --sh)
1330 ac_prev=sharedstatedir ;;
1331 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1332 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1333 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1334 | --sha=* | --sh=*)
1335 sharedstatedir=$ac_optarg ;;
1336
1337 -site | --site | --sit)
1338 ac_prev=site ;;
1339 -site=* | --site=* | --sit=*)
1340 site=$ac_optarg ;;
1341
1342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1343 ac_prev=srcdir ;;
1344 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1345 srcdir=$ac_optarg ;;
1346
1347 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1348 | --syscon | --sysco | --sysc | --sys | --sy)
1349 ac_prev=sysconfdir ;;
1350 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1351 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1352 sysconfdir=$ac_optarg ;;
1353
1354 -target | --target | --targe | --targ | --tar | --ta | --t)
1355 ac_prev=target_alias ;;
1356 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1357 target_alias=$ac_optarg ;;
1358
1359 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1360 verbose=yes ;;
1361
1362 -version | --version | --versio | --versi | --vers | -V)
1363 ac_init_version=: ;;
1364
1365 -with-* | --with-*)
1366 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1369 { echo "$as_me: error: invalid package name: $ac_package" >&2
1370 { (exit 1); exit 1; }; }
1371 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1372 eval with_$ac_package=\$ac_optarg ;;
1373
1374 -without-* | --without-*)
1375 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1378 { echo "$as_me: error: invalid package name: $ac_package" >&2
1379 { (exit 1); exit 1; }; }
1380 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1381 eval with_$ac_package=no ;;
1382
1383 --x)
1384 # Obsolete; use --with-x.
1385 with_x=yes ;;
1386
1387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1388 | --x-incl | --x-inc | --x-in | --x-i)
1389 ac_prev=x_includes ;;
1390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1392 x_includes=$ac_optarg ;;
1393
1394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1396 ac_prev=x_libraries ;;
1397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1399 x_libraries=$ac_optarg ;;
1400
1401 -*) { echo "$as_me: error: unrecognized option: $ac_option
1402 Try \`$0 --help' for more information." >&2
1403 { (exit 1); exit 1; }; }
1404 ;;
1405
1406 *=*)
1407 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1411 { (exit 1); exit 1; }; }
1412 eval $ac_envvar=\$ac_optarg
1413 export $ac_envvar ;;
1414
1415 *)
1416 # FIXME: should be removed in autoconf 3.0.
1417 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1418 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1420 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1421 ;;
1422
1423 esac
1424 done
1425
1426 if test -n "$ac_prev"; then
1427 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1428 { echo "$as_me: error: missing argument to $ac_option" >&2
1429 { (exit 1); exit 1; }; }
1430 fi
1431
1432 # Be sure to have absolute directory names.
1433 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1434 datadir sysconfdir sharedstatedir localstatedir includedir \
1435 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1436 libdir localedir mandir
1437 do
1438 eval ac_val=\$$ac_var
1439 case $ac_val in
1440 [\\/$]* | ?:[\\/]* ) continue;;
1441 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1442 esac
1443 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1444 { (exit 1); exit 1; }; }
1445 done
1446
1447 # There might be people who depend on the old broken behavior: `$host'
1448 # used to hold the argument of --host etc.
1449 # FIXME: To remove some day.
1450 build=$build_alias
1451 host=$host_alias
1452 target=$target_alias
1453
1454 # FIXME: To remove some day.
1455 if test "x$host_alias" != x; then
1456 if test "x$build_alias" = x; then
1457 cross_compiling=maybe
1458 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1459 If a cross compiler is detected then cross compile mode will be used." >&2
1460 elif test "x$build_alias" != "x$host_alias"; then
1461 cross_compiling=yes
1462 fi
1463 fi
1464
1465 ac_tool_prefix=
1466 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1467
1468 test "$silent" = yes && exec 6>/dev/null
1469
1470
1471 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1472 ac_ls_di=`ls -di .` &&
1473 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1474 { echo "$as_me: error: Working directory cannot be determined" >&2
1475 { (exit 1); exit 1; }; }
1476 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1477 { echo "$as_me: error: pwd does not report name of working directory" >&2
1478 { (exit 1); exit 1; }; }
1479
1480
1481 # Find the source files, if location was not specified.
1482 if test -z "$srcdir"; then
1483 ac_srcdir_defaulted=yes
1484 # Try the directory containing this script, then the parent directory.
1485 ac_confdir=`$as_dirname -- "$0" ||
1486 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1487 X"$0" : 'X\(//\)[^/]' \| \
1488 X"$0" : 'X\(//\)$' \| \
1489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1490 echo X"$0" |
1491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492 s//\1/
1493 q
1494 }
1495 /^X\(\/\/\)[^/].*/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\).*/{
1504 s//\1/
1505 q
1506 }
1507 s/.*/./; q'`
1508 srcdir=$ac_confdir
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1510 srcdir=..
1511 fi
1512 else
1513 ac_srcdir_defaulted=no
1514 fi
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1517 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1518 { (exit 1); exit 1; }; }
1519 fi
1520 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1521 ac_abs_confdir=`(
1522 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1523 { (exit 1); exit 1; }; }
1524 pwd)`
1525 # When building in place, set srcdir=.
1526 if test "$ac_abs_confdir" = "$ac_pwd"; then
1527 srcdir=.
1528 fi
1529 # Remove unnecessary trailing slashes from srcdir.
1530 # Double slashes in file names in object file debugging info
1531 # mess up M-x gdb in Emacs.
1532 case $srcdir in
1533 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1534 esac
1535 for ac_var in $ac_precious_vars; do
1536 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1537 eval ac_env_${ac_var}_value=\$${ac_var}
1538 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1540 done
1541
1542 #
1543 # Report the --help message.
1544 #
1545 if test "$ac_init_help" = "long"; then
1546 # Omit some internal or obsolete options to make the list less imposing.
1547 # This message is too long to be a string in the A/UX 3.1 sh.
1548 cat <<_ACEOF
1549 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1550
1551 Usage: $0 [OPTION]... [VAR=VALUE]...
1552
1553 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1554 VAR=VALUE. See below for descriptions of some of the useful variables.
1555
1556 Defaults for the options are specified in brackets.
1557
1558 Configuration:
1559 -h, --help display this help and exit
1560 --help=short display options specific to this package
1561 --help=recursive display the short help of all the included packages
1562 -V, --version display version information and exit
1563 -q, --quiet, --silent do not print \`checking...' messages
1564 --cache-file=FILE cache test results in FILE [disabled]
1565 -C, --config-cache alias for \`--cache-file=config.cache'
1566 -n, --no-create do not create output files
1567 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1568
1569 Installation directories:
1570 --prefix=PREFIX install architecture-independent files in PREFIX
1571 [$ac_default_prefix]
1572 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1573 [PREFIX]
1574
1575 By default, \`make install' will install all the files in
1576 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1577 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1578 for instance \`--prefix=\$HOME'.
1579
1580 For better control, use the options below.
1581
1582 Fine tuning of the installation directories:
1583 --bindir=DIR user executables [EPREFIX/bin]
1584 --sbindir=DIR system admin executables [EPREFIX/sbin]
1585 --libexecdir=DIR program executables [EPREFIX/libexec]
1586 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1587 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1588 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1589 --libdir=DIR object code libraries [EPREFIX/lib]
1590 --includedir=DIR C header files [PREFIX/include]
1591 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1592 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1593 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1594 --infodir=DIR info documentation [DATAROOTDIR/info]
1595 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1596 --mandir=DIR man documentation [DATAROOTDIR/man]
1597 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1598 --htmldir=DIR html documentation [DOCDIR]
1599 --dvidir=DIR dvi documentation [DOCDIR]
1600 --pdfdir=DIR pdf documentation [DOCDIR]
1601 --psdir=DIR ps documentation [DOCDIR]
1602 _ACEOF
1603
1604 cat <<\_ACEOF
1605
1606 X features:
1607 --x-includes=DIR X include files are in DIR
1608 --x-libraries=DIR X library files are in DIR
1609
1610 System types:
1611 --build=BUILD configure for building on BUILD [guessed]
1612 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1613 --target=TARGET configure for building compilers for TARGET [HOST]
1614 _ACEOF
1615 fi
1616
1617 if test -n "$ac_init_help"; then
1618 case $ac_init_help in
1619 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1620 esac
1621 cat <<\_ACEOF
1622
1623 Optional Features:
1624 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1625 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1626 --disable-gui don't build GUI parts of the library
1627 --enable-monolithic build wxWidgets as single library
1628 --enable-plugins build parts of wxWidgets as loadable components
1629 --enable-official_build official build of wxWidgets (win32 DLL only)
1630 --enable-vendor=VENDOR vendor name (win32 DLL only)
1631 --disable-all-features disable all optional features to build minimal library
1632 --enable-universal use wxWidgets GUI controls instead of native ones
1633 --enable-nanox use NanoX
1634 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1635 --enable-gpe use GNOME PDA Environment features if possible
1636 --disable-shared create static library instead of shared
1637 --disable-optimise create optimised code
1638 --enable-debug same as debug_flag and debug_info
1639 --enable-stl use STL for containers
1640 --enable-std_iostreams use standard C++ stream classes
1641 --enable-std_string use standard C++ string classes
1642 --disable-unicode compile without Unicode support
1643 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1644 --enable-utf8 use UTF-8 representation for strings (Unix only)
1645 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1646 --enable-extended_rtti use extended RTTI (XTI)
1647 --enable-omf use OMF object format
1648 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1649 --enable-debug_info create code with debugging information
1650 --enable-debug_gdb create code with extra GDB debugging information
1651 --enable-debug_cntxt use wxDebugContext
1652 --enable-mem_tracing create code with memory tracing
1653 --enable-profile create code with profiling information
1654 --enable-no_rtti create code without RTTI information
1655 --enable-no_exceptions create code without C++ exceptions handling
1656 --enable-permissive compile code disregarding strict ANSI
1657 --enable-no_deps create code without dependency information
1658 --disable-vararg_macros don't use vararg macros, even if they are supported
1659 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1660 --enable-compat26 enable wxWidgets 2.6 compatibility
1661 --disable-compat28 disable wxWidgets 2.8 compatibility
1662 --disable-rpath disable use of rpath for uninstalled builds
1663 --enable-objc_uniquifying enable Objective-C class name uniquifying
1664 --disable-visibility disable use of ELF symbols visibility even if supported
1665 --enable-intl use internationalization system
1666 --enable-config use wxConfig (and derived) classes
1667 --enable-protocols use wxProtocol and derived classes
1668 --enable-ftp use wxFTP (requires wxProtocol
1669 --enable-http use wxHTTP (requires wxProtocol
1670 --enable-fileproto use wxFileProto class (requires wxProtocol
1671 --enable-sockets use socket/network classes
1672 --enable-ole use OLE classes (Win32 only)
1673 --enable-dataobj use data object classes
1674 --enable-ipc use interprocess communication (wxSocket etc.)
1675 --enable-baseevtloop use event loop in console programs too
1676 --enable-epollloop use wxEpollDispatcher class (Linux only)
1677 --enable-selectloop use wxSelectDispatcher class
1678 --enable-apple_ieee use the Apple IEEE codec
1679 --enable-arcstream use wxArchive streams
1680 --enable-base64 use base64 encoding/decoding functions
1681 --enable-backtrace use wxStackWalker class for getting backtraces
1682 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1683 --enable-cmdline use wxCmdLineParser class
1684 --enable-datetime use wxDateTime class
1685 --enable-debugreport use wxDebugReport class
1686 --enable-dialupman use dialup network classes
1687 --enable-dynlib use wxLibrary class for DLL loading
1688 --enable-dynamicloader use (new) wxDynamicLibrary class
1689 --enable-exceptions build exception-safe library
1690 --enable-ffile use wxFFile class
1691 --enable-file use wxFile class
1692 --enable-filesystem use virtual file systems classes
1693 --enable-fontenum use wxFontEnumerator class
1694 --enable-fontmap use font encodings conversion classes
1695 --enable-fs_archive use virtual archive filesystems
1696 --enable-fs_inet use virtual HTTP/FTP filesystems
1697 --enable-fs_zip now replaced by fs_archive
1698 --enable-geometry use geometry class
1699 --enable-log use logging system
1700 --enable-longlong use wxLongLong class
1701 --enable-mimetype use wxMimeTypesManager
1702 --enable-snglinst use wxSingleInstanceChecker class
1703 --enable-stdpaths use wxStandardPaths class
1704 --enable-stopwatch use wxStopWatch class
1705 --enable-streams use wxStream etc classes
1706 --enable-sysoptions use wxSystemOptions
1707 --enable-tarstream use wxTar streams
1708 --enable-textbuf use wxTextBuffer class
1709 --enable-textfile use wxTextFile class
1710 --enable-timer use wxTimer class
1711 --enable-sound use wxSound class
1712 --enable-mediactrl use wxMediaCtrl class
1713 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1714 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1715 --enable-zipstream use wxZip streams
1716 --enable-url use wxURL class
1717 --enable-variant use wxVariant class
1718 --enable-protocol use wxProtocol class
1719 --enable-protocol-http HTTP support in wxProtocol
1720 --enable-protocol-ftp FTP support in wxProtocol
1721 --enable-protocol-file FILE support in wxProtocol
1722 --enable-threads use threads
1723 --enable-iniconf use wxIniConfig (Win32 only)
1724 --enable-regkey use wxRegKey class (Win32 only)
1725 --enable-docview use document view architecture
1726 --enable-help use help subsystem
1727 --enable-mshtmlhelp use MS HTML Help (win32)
1728 --enable-html use wxHTML sub-library
1729 --enable-htmlhelp use wxHTML-based help
1730 --enable-xrc use XRC resources sub-library
1731 --enable-aui use AUI docking library
1732 --enable-stc use wxStyledTextCtrl library
1733 --enable-constraints use layout-constraints system
1734 --enable-printarch use printing architecture
1735 --enable-mdi use multiple document interface architecture
1736 --enable-mdidoc use docview architecture with MDI
1737 --enable-loggui use standard GUI logger
1738 --enable-logwin use wxLogWindow
1739 --enable-logdialog use wxLogDialog
1740 --enable-webkit use wxWebKitCtrl (Mac)
1741 --enable-richtext use wxRichTextCtrl
1742 --enable-graphics_ctx use graphics context 2D drawing API
1743 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1744 --enable-svg use wxSVGFileDC device context
1745 --enable-clipboard use wxClipboard class
1746 --enable-dnd use Drag'n'Drop classes
1747 --enable-metafile use win32 metafiles
1748 --disable-controls disable compilation of all standard controls
1749 --enable-accel use accelerators
1750 --enable-animatectrl use wxAnimationCtrl class
1751 --enable-button use wxButton class
1752 --enable-bmpbutton use wxBitmapButton class
1753 --enable-bmpcombobox use wxBitmapComboBox class
1754 --enable-calendar use wxCalendarCtrl class
1755 --enable-caret use wxCaret class
1756 --enable-checkbox use wxCheckBox class
1757 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1758 --enable-choice use wxChoice class
1759 --enable-choicebook use wxChoicebook class
1760 --enable-collpane use wxCollapsiblePane class
1761 --enable-colourpicker use wxColourPickerCtrl class
1762 --enable-combobox use wxComboBox class
1763 --enable-comboctrl use wxComboCtrl class
1764 --enable-datepick use wxDatePickerCtrl class
1765 --enable-dirpicker use wxDirPickerCtrl class
1766 --enable-display use wxDisplay class
1767 --enable-detect_sm use code to detect X11 session manager
1768 --enable-editablebox use wxEditableListBox class
1769 --enable-filepicker use wxFilePickerCtrl class
1770 --enable-filectrl use wxFileCtrl class
1771 --enable-fontpicker use wxFontPickerCtrl class
1772 --enable-gauge use wxGauge class
1773 --enable-grid use wxGrid class
1774 --enable-dataviewctrl use wxDataViewCtrl class
1775 --enable-hyperlink use wxHyperlinkCtrl class
1776 --enable-imaglist use wxImageList class
1777 --enable-listbook use wxListbook class
1778 --enable-listbox use wxListBox class
1779 --enable-listctrl use wxListCtrl class
1780 --enable-notebook use wxNotebook class
1781 --enable-odcombobox use wxOwnerDrawnComboBox class
1782 --enable-radiobox use wxRadioBox class
1783 --enable-radiobtn use wxRadioButton class
1784 --enable-sash use wxSashWindow class
1785 --enable-scrollbar use wxScrollBar class and scrollable windows
1786 --enable-searchctrl use wxSearchCtrl class
1787 --enable-slider use wxSlider class
1788 --enable-spinbtn use wxSpinButton class
1789 --enable-spinctrl use wxSpinCtrl class
1790 --enable-splitter use wxSplitterWindow class
1791 --enable-statbmp use wxStaticBitmap class
1792 --enable-statbox use wxStaticBox class
1793 --enable-statline use wxStaticLine class
1794 --enable-stattext use wxStaticText class
1795 --enable-statusbar use wxStatusBar class
1796 --enable-tabdialog use wxTabControl class
1797 --enable-taskbaricon use wxTaskBarIcon class
1798 --enable-textctrl use wxTextCtrl class
1799 --enable-togglebtn use wxToggleButton class
1800 --enable-toolbar use wxToolBar class
1801 --enable-tbarnative use native wxToolBar class
1802 --enable-treebook use wxTreebook class
1803 --enable-toolbook use wxToolbook class
1804 --enable-treectrl use wxTreeCtrl class
1805 --enable-tipwindow use wxTipWindow class
1806 --enable-popupwin use wxPopUpWindow class
1807 --enable-commondlg use all common dialogs
1808 --enable-aboutdlg use wxAboutBox
1809 --enable-choicedlg use wxChoiceDialog
1810 --enable-coldlg use wxColourDialog
1811 --enable-filedlg use wxFileDialog
1812 --enable-finddlg use wxFindReplaceDialog
1813 --enable-fontdlg use wxFontDialog
1814 --enable-dirdlg use wxDirDialog
1815 --enable-msgdlg use wxMessageDialog
1816 --enable-numberdlg use wxNumberEntryDialog
1817 --enable-splash use wxSplashScreen
1818 --enable-textdlg use wxTextDialog
1819 --enable-tipdlg use startup tips
1820 --enable-progressdlg use wxProgressDialog
1821 --enable-wizarddlg use wxWizard
1822 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1823 --enable-miniframe use wxMiniFrame class
1824 --enable-tooltips use wxToolTip class
1825 --enable-splines use spline drawing code
1826 --enable-mousewheel use mousewheel
1827 --enable-validators use wxValidator and derived classes
1828 --enable-busyinfo use wxBusyInfo
1829 --enable-joystick use wxJoystick
1830 --enable-metafiles use wxMetaFile (Win32 only)
1831 --enable-dragimage use wxDragImage
1832 --enable-accessibility enable accessibility support
1833 --enable-palette use wxPalette class
1834 --enable-image use wxImage class
1835 --enable-gif use gif images (GIF file format)
1836 --enable-pcx use pcx images (PCX file format)
1837 --enable-tga use tga images (TGA file format)
1838 --enable-iff use iff images (IFF file format)
1839 --enable-pnm use pnm images (PNM file format)
1840 --enable-xpm use xpm images (XPM file format)
1841 --enable-icocur use Windows ICO and CUR formats
1842 --enable-dccache cache temporary wxDC objects (Win32 only)
1843 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1844 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1845 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1846 --enable-wxdib use wxDIB class (Win32 only)
1847 --disable-largefile omit support for large files
1848 --disable-gtktest do not try to compile and run a test GTK+ program
1849 --disable-gtktest Do not try to compile and run a test GTK program
1850 --disable-sdltest Do not try to compile and run a test SDL program
1851 --enable-omf use OMF object format (OS/2)
1852 --disable-dependency-tracking
1853 don't use dependency tracking even if the compiler
1854 can
1855 --disable-precomp-headers
1856 don't use precompiled headers even if compiler can
1857
1858 Optional Packages:
1859 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1860 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1861 --without-subdirs don't generate makefiles for samples/demos/...
1862 --with-flavour=NAME specify a name to identify this build
1863 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1864 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1865 --with-motif use Motif/Lesstif
1866 --with-mac use Mac OS X
1867 --with-cocoa use Cocoa
1868 --with-wine use Wine
1869 --with-msw use MS-Windows
1870 --with-pm use OS/2 Presentation Manager
1871 --with-mgl use SciTech MGL
1872 --with-directfb use DirectFB
1873 --with-microwin use MicroWindows
1874 --with-x11 use X11
1875 --with-libpng use libpng (PNG image format)
1876 --with-libjpeg use libjpeg (JPEG file format)
1877 --with-libtiff use libtiff (TIFF file format)
1878 --with-libxpm use libxpm (XPM file format)
1879 --with-libmspack use libmspack (CHM help files loading)
1880 --without-gtkprint don't use GTK printing support
1881 --without-gnomeprint don't use GNOME printing libraries
1882 --with-gnomevfs use GNOME VFS for associating MIME types
1883 --with-hildon use Hildon framework for Nokia 770
1884 --with-opengl use OpenGL (or Mesa)
1885 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1886 --with-sdl use SDL for audio on Unix
1887 --with-regex enable support for wxRegEx class
1888 --with-zlib use zlib for LZW compression
1889 --with-expat enable XML support using expat parser
1890 --with-macosx-sdk=PATH use an OS X SDK at PATH
1891 --with-macosx-version-min=VER build binaries which require at least this OS X version
1892 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1894 --with-x use the X Window System
1895 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1896 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1897 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1898 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1899 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1900
1901 Some influential environment variables:
1902 CC C compiler command
1903 CFLAGS C compiler flags
1904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1905 nonstandard directory <lib dir>
1906 LIBS libraries to pass to the linker, e.g. -l<library>
1907 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1908 you have headers in a nonstandard directory <include dir>
1909 CPP C preprocessor
1910 CXX C++ compiler command
1911 CXXFLAGS C++ compiler flags
1912 PKG_CONFIG path to pkg-config utility
1913 DIRECTFB_CFLAGS
1914 C compiler flags for DIRECTFB, overriding pkg-config
1915 DIRECTFB_LIBS
1916 linker flags for DIRECTFB, overriding pkg-config
1917 XMKMF Path to xmkmf, Makefile generator for X Window System
1918 PANGOX_CFLAGS
1919 C compiler flags for PANGOX, overriding pkg-config
1920 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1921 PANGOFT2_CFLAGS
1922 C compiler flags for PANGOFT2, overriding pkg-config
1923 PANGOFT2_LIBS
1924 linker flags for PANGOFT2, overriding pkg-config
1925 PANGOXFT_CFLAGS
1926 C compiler flags for PANGOXFT, overriding pkg-config
1927 PANGOXFT_LIBS
1928 linker flags for PANGOXFT, overriding pkg-config
1929 GTKPRINT_CFLAGS
1930 C compiler flags for GTKPRINT, overriding pkg-config
1931 GTKPRINT_LIBS
1932 linker flags for GTKPRINT, overriding pkg-config
1933 LIBGNOMEPRINTUI_CFLAGS
1934 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1935 LIBGNOMEPRINTUI_LIBS
1936 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 GNOMEVFS_CFLAGS
1938 C compiler flags for GNOMEVFS, overriding pkg-config
1939 GNOMEVFS_LIBS
1940 linker flags for GNOMEVFS, overriding pkg-config
1941 HILDON_CFLAGS
1942 C compiler flags for HILDON, overriding pkg-config
1943 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1944 CAIRO_CFLAGS
1945 C compiler flags for CAIRO, overriding pkg-config
1946 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1947 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1948 GST_LIBS linker flags for GST, overriding pkg-config
1949
1950 Use these variables to override the choices made by `configure' or to help
1951 it to find libraries and programs with nonstandard names/locations.
1952
1953 Report bugs to <wx-dev@lists.wxwidgets.org>.
1954 _ACEOF
1955 ac_status=$?
1956 fi
1957
1958 if test "$ac_init_help" = "recursive"; then
1959 # If there are subdirs, report their specific --help.
1960 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1961 test -d "$ac_dir" || continue
1962 ac_builddir=.
1963
1964 case "$ac_dir" in
1965 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1966 *)
1967 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1968 # A ".." for each directory in $ac_dir_suffix.
1969 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1970 case $ac_top_builddir_sub in
1971 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1973 esac ;;
1974 esac
1975 ac_abs_top_builddir=$ac_pwd
1976 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1977 # for backward compatibility:
1978 ac_top_builddir=$ac_top_build_prefix
1979
1980 case $srcdir in
1981 .) # We are building in place.
1982 ac_srcdir=.
1983 ac_top_srcdir=$ac_top_builddir_sub
1984 ac_abs_top_srcdir=$ac_pwd ;;
1985 [\\/]* | ?:[\\/]* ) # Absolute name.
1986 ac_srcdir=$srcdir$ac_dir_suffix;
1987 ac_top_srcdir=$srcdir
1988 ac_abs_top_srcdir=$srcdir ;;
1989 *) # Relative name.
1990 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1991 ac_top_srcdir=$ac_top_build_prefix$srcdir
1992 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1993 esac
1994 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1995
1996 cd "$ac_dir" || { ac_status=$?; continue; }
1997 # Check for guested configure.
1998 if test -f "$ac_srcdir/configure.gnu"; then
1999 echo &&
2000 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2001 elif test -f "$ac_srcdir/configure"; then
2002 echo &&
2003 $SHELL "$ac_srcdir/configure" --help=recursive
2004 else
2005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2006 fi || ac_status=$?
2007 cd "$ac_pwd" || { ac_status=$?; break; }
2008 done
2009 fi
2010
2011 test -n "$ac_init_help" && exit $ac_status
2012 if $ac_init_version; then
2013 cat <<\_ACEOF
2014 wxWidgets configure 2.9.0
2015 generated by GNU Autoconf 2.61
2016
2017 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2018 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2019 This configure script is free software; the Free Software Foundation
2020 gives unlimited permission to copy, distribute and modify it.
2021 _ACEOF
2022 exit
2023 fi
2024 cat >config.log <<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2027
2028 It was created by wxWidgets $as_me 2.9.0, which was
2029 generated by GNU Autoconf 2.61. Invocation command line was
2030
2031 $ $0 $@
2032
2033 _ACEOF
2034 exec 5>>config.log
2035 {
2036 cat <<_ASUNAME
2037 ## --------- ##
2038 ## Platform. ##
2039 ## --------- ##
2040
2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2046
2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2049
2050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057
2058 _ASUNAME
2059
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2062 do
2063 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.
2065 echo "PATH: $as_dir"
2066 done
2067 IFS=$as_save_IFS
2068
2069 } >&5
2070
2071 cat >&5 <<_ACEOF
2072
2073
2074 ## ----------- ##
2075 ## Core tests. ##
2076 ## ----------- ##
2077
2078 _ACEOF
2079
2080
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2086 ac_configure_args=
2087 ac_configure_args0=
2088 ac_configure_args1=
2089 ac_must_keep_next=false
2090 for ac_pass in 1 2
2091 do
2092 for ac_arg
2093 do
2094 case $ac_arg in
2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2098 continue ;;
2099 *\'*)
2100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 esac
2102 case $ac_pass in
2103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2104 2)
2105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2106 if test $ac_must_keep_next = true; then
2107 ac_must_keep_next=false # Got value, back to normal.
2108 else
2109 case $ac_arg in
2110 *=* | --config-cache | -C | -disable-* | --disable-* \
2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2113 | -with-* | --with-* | -without-* | --without-* | --x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 esac
2117 ;;
2118 -* ) ac_must_keep_next=true ;;
2119 esac
2120 fi
2121 ac_configure_args="$ac_configure_args '$ac_arg'"
2122 ;;
2123 esac
2124 done
2125 done
2126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2128
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2136 {
2137 echo
2138
2139 cat <<\_ASBOX
2140 ## ---------------- ##
2141 ## Cache variables. ##
2142 ## ---------------- ##
2143 _ASBOX
2144 echo
2145 # The following way of writing the cache mishandles newlines in values,
2146 (
2147 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2148 eval ac_val=\$$ac_var
2149 case $ac_val in #(
2150 *${as_nl}*)
2151 case $ac_var in #(
2152 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2153 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2154 esac
2155 case $ac_var in #(
2156 _ | IFS | as_nl) ;; #(
2157 *) $as_unset $ac_var ;;
2158 esac ;;
2159 esac
2160 done
2161 (set) 2>&1 |
2162 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2163 *${as_nl}ac_space=\ *)
2164 sed -n \
2165 "s/'\''/'\''\\\\'\'''\''/g;
2166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2167 ;; #(
2168 *)
2169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2170 ;;
2171 esac |
2172 sort
2173 )
2174 echo
2175
2176 cat <<\_ASBOX
2177 ## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_vars
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191
2192 if test -n "$ac_subst_files"; then
2193 cat <<\_ASBOX
2194 ## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##
2197 _ASBOX
2198 echo
2199 for ac_var in $ac_subst_files
2200 do
2201 eval ac_val=\$$ac_var
2202 case $ac_val in
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 esac
2205 echo "$ac_var='\''$ac_val'\''"
2206 done | sort
2207 echo
2208 fi
2209
2210 if test -s confdefs.h; then
2211 cat <<\_ASBOX
2212 ## ----------- ##
2213 ## confdefs.h. ##
2214 ## ----------- ##
2215 _ASBOX
2216 echo
2217 cat confdefs.h
2218 echo
2219 fi
2220 test "$ac_signal" != 0 &&
2221 echo "$as_me: caught signal $ac_signal"
2222 echo "$as_me: exit $exit_status"
2223 } >&5
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2226 exit $exit_status
2227 ' 0
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2230 done
2231 ac_signal=0
2232
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2235
2236 # Predefined preprocessor variables.
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_NAME "$PACKAGE_NAME"
2240 _ACEOF
2241
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2260 _ACEOF
2261
2262
2263 # Let the site file select an alternate cache file if it wants to.
2264 # Prefer explicitly selected file to automatically selected ones.
2265 if test -n "$CONFIG_SITE"; then
2266 set x "$CONFIG_SITE"
2267 elif test "x$prefix" != xNONE; then
2268 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2269 else
2270 set x "$ac_default_prefix/share/config.site" \
2271 "$ac_default_prefix/etc/config.site"
2272 fi
2273 shift
2274 for ac_site_file
2275 do
2276 if test -r "$ac_site_file"; then
2277 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2278 echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2280 . "$ac_site_file"
2281 fi
2282 done
2283
2284 if test -r "$cache_file"; then
2285 # Some versions of bash will fail to source /dev/null (special
2286 # files actually), so we avoid doing that.
2287 if test -f "$cache_file"; then
2288 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2289 echo "$as_me: loading cache $cache_file" >&6;}
2290 case $cache_file in
2291 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2292 *) . "./$cache_file";;
2293 esac
2294 fi
2295 else
2296 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2297 echo "$as_me: creating cache $cache_file" >&6;}
2298 >$cache_file
2299 fi
2300
2301 # Check that the precious variables saved in the cache have kept the same
2302 # value.
2303 ac_cache_corrupted=false
2304 for ac_var in $ac_precious_vars; do
2305 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2306 eval ac_new_set=\$ac_env_${ac_var}_set
2307 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2308 eval ac_new_val=\$ac_env_${ac_var}_value
2309 case $ac_old_set,$ac_new_set in
2310 set,)
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2314 ,set)
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2318 ,);;
2319 *)
2320 if test "x$ac_old_val" != "x$ac_new_val"; then
2321 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2322 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2324 echo "$as_me: former value: $ac_old_val" >&2;}
2325 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2326 echo "$as_me: current value: $ac_new_val" >&2;}
2327 ac_cache_corrupted=:
2328 fi;;
2329 esac
2330 # Pass precious variables to config.status.
2331 if test "$ac_new_set" = set; then
2332 case $ac_new_val in
2333 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 *) ac_arg=$ac_var=$ac_new_val ;;
2335 esac
2336 case " $ac_configure_args " in
2337 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2338 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2339 esac
2340 fi
2341 done
2342 if $ac_cache_corrupted; then
2343 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2344 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2346 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2347 { (exit 1); exit 1; }; }
2348 fi
2349
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 ac_ext=c
2375 ac_cpp='$CPP $CPPFLAGS'
2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2379
2380
2381
2382
2383
2384 ac_aux_dir=
2385 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2386 if test -f "$ac_dir/install-sh"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/install-sh -c"
2389 break
2390 elif test -f "$ac_dir/install.sh"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/install.sh -c"
2393 break
2394 elif test -f "$ac_dir/shtool"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/shtool install -c"
2397 break
2398 fi
2399 done
2400 if test -z "$ac_aux_dir"; then
2401 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2402 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2403 { (exit 1); exit 1; }; }
2404 fi
2405
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2413
2414
2415 # Make sure we can run config.sub.
2416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2417 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2418 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 { echo "$as_me:$LINENO: checking build system type" >&5
2422 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2423 if test "${ac_cv_build+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 ac_build_alias=$build_alias
2427 test "x$ac_build_alias" = x &&
2428 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2429 test "x$ac_build_alias" = x &&
2430 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2431 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2432 { (exit 1); exit 1; }; }
2433 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2434 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2435 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2436 { (exit 1); exit 1; }; }
2437
2438 fi
2439 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2440 echo "${ECHO_T}$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2442 *-*-*) ;;
2443 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2444 echo "$as_me: error: invalid value of canonical build" >&2;}
2445 { (exit 1); exit 1; }; };;
2446 esac
2447 build=$ac_cv_build
2448 ac_save_IFS=$IFS; IFS='-'
2449 set x $ac_cv_build
2450 shift
2451 build_cpu=$1
2452 build_vendor=$2
2453 shift; shift
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2456 build_os=$*
2457 IFS=$ac_save_IFS
2458 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2459
2460
2461 { echo "$as_me:$LINENO: checking host system type" >&5
2462 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_host+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466 if test "x$host_alias" = x; then
2467 ac_cv_host=$ac_cv_build
2468 else
2469 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2471 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2472 { (exit 1); exit 1; }; }
2473 fi
2474
2475 fi
2476 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2477 echo "${ECHO_T}$ac_cv_host" >&6; }
2478 case $ac_cv_host in
2479 *-*-*) ;;
2480 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2481 echo "$as_me: error: invalid value of canonical host" >&2;}
2482 { (exit 1); exit 1; }; };;
2483 esac
2484 host=$ac_cv_host
2485 ac_save_IFS=$IFS; IFS='-'
2486 set x $ac_cv_host
2487 shift
2488 host_cpu=$1
2489 host_vendor=$2
2490 shift; shift
2491 # Remember, the first character of IFS is used to create $*,
2492 # except with old shells:
2493 host_os=$*
2494 IFS=$ac_save_IFS
2495 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2496
2497
2498 { echo "$as_me:$LINENO: checking target system type" >&5
2499 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_target+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 if test "x$target_alias" = x; then
2504 ac_cv_target=$ac_cv_host
2505 else
2506 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2507 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2508 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2509 { (exit 1); exit 1; }; }
2510 fi
2511
2512 fi
2513 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2514 echo "${ECHO_T}$ac_cv_target" >&6; }
2515 case $ac_cv_target in
2516 *-*-*) ;;
2517 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2518 echo "$as_me: error: invalid value of canonical target" >&2;}
2519 { (exit 1); exit 1; }; };;
2520 esac
2521 target=$ac_cv_target
2522 ac_save_IFS=$IFS; IFS='-'
2523 set x $ac_cv_target
2524 shift
2525 target_cpu=$1
2526 target_vendor=$2
2527 shift; shift
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2530 target_os=$*
2531 IFS=$ac_save_IFS
2532 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2533
2534
2535 # The aliases save the names the user supplied, while $host etc.
2536 # will get canonicalized.
2537 test -n "$target_alias" &&
2538 test "$program_prefix$program_suffix$program_transform_name" = \
2539 NONENONEs,x,x, &&
2540 program_prefix=${target_alias}-
2541
2542
2543
2544 wx_major_version_number=2
2545 wx_minor_version_number=9
2546 wx_release_number=0
2547 wx_subrelease_number=0
2548
2549 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2550 WX_VERSION=$WX_RELEASE.$wx_release_number
2551 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2552
2553 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2554
2555
2556 wx_top_builddir="`pwd`"
2557
2558
2559
2560
2561 USE_UNIX=1
2562 USE_OS2=0
2563 USE_WIN32=0
2564 USE_DOS=0
2565 USE_BEOS=0
2566 USE_MAC=0
2567
2568 USE_AIX=
2569 USE_BSD= USE_DARWIN= USE_FREEBSD=
2570 USE_GNU= USE_HPUX=
2571 USE_LINUX=
2572 USE_NETBSD=
2573 USE_OPENBSD=
2574 USE_OSF= USE_SGI=
2575 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2576 USE_ULTRIX=
2577 USE_UNIXWARE=
2578
2579 USE_ALPHA=
2580
2581 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2582
2583 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2584
2585 DEFAULT_wxUSE_COCOA=0
2586 DEFAULT_wxUSE_GTK=0
2587 DEFAULT_wxUSE_MAC=0
2588 DEFAULT_wxUSE_MGL=0
2589 DEFAULT_wxUSE_MICROWIN=0
2590 DEFAULT_wxUSE_MOTIF=0
2591 DEFAULT_wxUSE_MSW=0
2592 DEFAULT_wxUSE_PM=0
2593 DEFAULT_wxUSE_X11=0
2594 DEFAULT_wxUSE_DFB=0
2595
2596 DEFAULT_DEFAULT_wxUSE_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_GTK=0
2598 DEFAULT_DEFAULT_wxUSE_MAC=0
2599 DEFAULT_DEFAULT_wxUSE_MGL=0
2600 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2602 DEFAULT_DEFAULT_wxUSE_MSW=0
2603 DEFAULT_DEFAULT_wxUSE_PM=0
2604 DEFAULT_DEFAULT_wxUSE_X11=0
2605 DEFAULT_DEFAULT_wxUSE_DFB=0
2606
2607 PROGRAM_EXT=
2608 SO_SUFFIX=so
2609 SAMPLES_RPATH_FLAG=
2610 SAMPLES_RPATH_POSTLINK=
2611
2612 DEFAULT_STD_FLAG=yes
2613
2614 case "${host}" in
2615 *-hp-hpux* )
2616 USE_HPUX=1
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2618 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2619 SO_SUFFIX=sl
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __HPUX__ 1
2622 _ACEOF
2623
2624
2625 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2626 ;;
2627 *-*-linux* )
2628 USE_LINUX=1
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __LINUX__ 1
2631 _ACEOF
2632
2633 TMP=`uname -m`
2634 if test "x$TMP" = "xalpha"; then
2635 USE_ALPHA=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __ALPHA__ 1
2638 _ACEOF
2639
2640 fi
2641 DEFAULT_DEFAULT_wxUSE_GTK=1
2642 ;;
2643 *-*-gnu* | *-*-k*bsd*-gnu )
2644 USE_GNU=1
2645 TMP=`uname -m`
2646 if test "x$TMP" = "xalpha"; then
2647 USE_ALPHA=1
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __ALPHA__ 1
2650 _ACEOF
2651
2652 fi
2653 DEFAULT_DEFAULT_wxUSE_GTK=1
2654 ;;
2655 *-*-irix5* | *-*-irix6* )
2656 USE_SGI=1
2657 USE_SVR4=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SGI__ 1
2660 _ACEOF
2661
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SVR4__ 1
2664 _ACEOF
2665
2666 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2667 ;;
2668 *-*-solaris2* )
2669 USE_SUN=1
2670 USE_SOLARIS=1
2671 USE_SVR4=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SUN__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SOLARIS__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SVR4__ 1
2682 _ACEOF
2683
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2685 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2686 ;;
2687 *-*-sunos4* )
2688 USE_SUN=1
2689 USE_SUNOS=1
2690 USE_BSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUN__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUNOS__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __BSD__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 ;;
2705 *-*-freebsd*)
2706 USE_BSD=1
2707 USE_FREEBSD=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __FREEBSD__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 ;;
2718 *-*-openbsd*|*-*-mirbsd*)
2719 USE_BSD=1
2720 USE_OPENBSD=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __OPENBSD__ 1
2723 _ACEOF
2724
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __BSD__ 1
2727 _ACEOF
2728
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 ;;
2731 *-*-netbsd*)
2732 USE_BSD=1
2733 USE_NETBSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __NETBSD__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744
2745 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 ;;
2747 *-*-osf* )
2748 USE_ALPHA=1
2749 USE_OSF=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __OSF__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760 ;;
2761 *-*-dgux5* )
2762 USE_ALPHA=1
2763 USE_SVR4=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __ALPHA__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __SVR4__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 ;;
2774 *-*-sysv5* )
2775 USE_SYSV=1
2776 USE_SVR4=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SYSV__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787 *-*-aix* )
2788 USE_AIX=1
2789 USE_SYSV=1
2790 USE_SVR4=1
2791 SO_SUFFIX=a
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __AIX__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SYSV__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SVR4__ 1
2802 _ACEOF
2803
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2805 ;;
2806
2807 *-*-*UnixWare*)
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 USE_UNIXWARE=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __UNIXWARE__ 1
2813 _ACEOF
2814
2815 ;;
2816
2817 *-*-cygwin* | *-*-mingw32* )
2818 SO_SUFFIX=dll
2819 PROGRAM_EXT=".exe"
2820 DEFAULT_DEFAULT_wxUSE_MSW=1
2821 ;;
2822
2823 *-pc-msdosdjgpp )
2824 USE_UNIX=0
2825 USE_DOS=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __DOS__ 1
2828 _ACEOF
2829
2830 PROGRAM_EXT=".exe"
2831 DEFAULT_DEFAULT_wxUSE_MGL=1
2832 ;;
2833
2834 *-pc-os2_emx | *-pc-os2-emx )
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __EMX__ 1
2837 _ACEOF
2838
2839 USE_OS2=1
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __OS2__ 1
2842 _ACEOF
2843
2844 PROGRAM_EXT=".exe"
2845 DEFAULT_DEFAULT_wxUSE_PM=1
2846 CXX=gcc
2847 LDFLAGS="$LDFLAGS -Zcrtdll"
2848 ac_executable_extensions=".exe"
2849 export ac_executable_extensions
2850 ac_save_IFS="$IFS"
2851 IFS='\\'
2852 ac_TEMP_PATH=
2853 for ac_dir in $PATH; do
2854 IFS=$ac_save_IFS
2855 if test -z "$ac_TEMP_PATH"; then
2856 ac_TEMP_PATH="$ac_dir"
2857 else
2858 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2859 fi
2860 done
2861 export PATH="$ac_TEMP_PATH"
2862 unset ac_TEMP_PATH
2863 DEFAULT_STD_FLAG=no
2864 ;;
2865
2866 *-*-darwin* )
2867 USE_BSD=1
2868 USE_DARWIN=1
2869 SO_SUFFIX=dylib
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __BSD__ 1
2872 _ACEOF
2873
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DARWIN__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define TARGET_CARBON 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_MAC=1
2883 DEFAULT_STD_FLAG=no
2884 ;;
2885 powerpc-apple-macos* )
2886 USE_UNIX=0
2887 ac_cv_c_bigendian=yes
2888 SO_SUFFIX=shlib
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 DEFAULT_STD_FLAG=no
2891 ;;
2892
2893 *-*-beos* )
2894 USE_BEOS=1
2895 cat >>confdefs.h <<\_ACEOF
2896 #define __BEOS__ 1
2897 _ACEOF
2898
2899 ;;
2900
2901 *)
2902 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2903 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2904 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2905 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2906
2907 DEFAULT_DEFAULT_wxUSE_X11=1
2908 DEFAULT_wxUSE_SHARED=no
2909 esac
2910
2911
2912
2913
2914 wx_arg_cache_file="configarg.cache"
2915 echo "loading argument cache $wx_arg_cache_file"
2916 rm -f ${wx_arg_cache_file}.tmp
2917 touch ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}
2919
2920
2921 DEFAULT_wxUSE_ALL_FEATURES=yes
2922
2923 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_LIBGNOMEVFS=no
2928 DEFAULT_wxUSE_LIBHILDON=no
2929 DEFAULT_wxUSE_LIBMSPACK=no
2930 DEFAULT_wxUSE_LIBSDL=no
2931 DEFAULT_wxUSE_OPENGL=no
2932
2933 DEFAULT_wxUSE_ACCESSIBILITY=no
2934 DEFAULT_wxUSE_DATAVIEWCTRL=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2936 DEFAULT_wxUSE_MEDIACTRL=no
2937 DEFAULT_wxUSE_TAB_DIALOG=no
2938
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2941
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2943
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2945
2946 DEFAULT_wxUSE_GTK2=yes
2947
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2949
2950
2951 for toolkit in $ALL_TOOLKITS; do
2952 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 has_toolkit_in_cache=1
2955 eval "DEFAULT_$LINE"
2956 eval "CACHE_$toolkit=1"
2957
2958 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 eval "DEFAULT_$LINE"
2961 fi
2962 fi
2963 done
2964
2965
2966
2967
2968
2969 enablestring=disable
2970 defaultval=
2971 if test -z "$defaultval"; then
2972 if test x"$enablestring" = xdisable; then
2973 defaultval=yes
2974 else
2975 defaultval=no
2976 fi
2977 fi
2978
2979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2980 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2981 # Check whether --enable-gui was given.
2982 if test "${enable_gui+set}" = set; then
2983 enableval=$enable_gui;
2984 if test "$enableval" = yes; then
2985 wx_cv_use_gui='wxUSE_GUI=yes'
2986 else
2987 wx_cv_use_gui='wxUSE_GUI=no'
2988 fi
2989 cache=yes
2990
2991 else
2992
2993 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 cache=yes
2997 else
2998 cache=no
2999 fi
3000
3001 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3002
3003 fi
3004
3005
3006 eval "$wx_cv_use_gui"
3007 if test "x$cache" = xyes; then
3008 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3009 fi
3010
3011 if test x"$enablestring" = xdisable; then
3012 if test $wxUSE_GUI = yes; then
3013 result=no
3014 else
3015 result=yes
3016 fi
3017 else
3018 result=$wxUSE_GUI
3019 fi
3020
3021 { echo "$as_me:$LINENO: result: $result" >&5
3022 echo "${ECHO_T}$result" >&6; }
3023
3024
3025 enablestring=
3026 defaultval=
3027 if test -z "$defaultval"; then
3028 if test x"$enablestring" = xdisable; then
3029 defaultval=yes
3030 else
3031 defaultval=no
3032 fi
3033 fi
3034
3035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3036 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3037 # Check whether --enable-monolithic was given.
3038 if test "${enable_monolithic+set}" = set; then
3039 enableval=$enable_monolithic;
3040 if test "$enableval" = yes; then
3041 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3042 else
3043 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3044 fi
3045 cache=yes
3046
3047 else
3048
3049 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x ; then
3051 eval "DEFAULT_$LINE"
3052 cache=yes
3053 else
3054 cache=no
3055 fi
3056
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3058
3059 fi
3060
3061
3062 eval "$wx_cv_use_monolithic"
3063 if test "x$cache" = xyes; then
3064 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3065 fi
3066
3067 if test x"$enablestring" = xdisable; then
3068 if test $wxUSE_MONOLITHIC = yes; then
3069 result=no
3070 else
3071 result=yes
3072 fi
3073 else
3074 result=$wxUSE_MONOLITHIC
3075 fi
3076
3077 { echo "$as_me:$LINENO: result: $result" >&5
3078 echo "${ECHO_T}$result" >&6; }
3079
3080
3081 enablestring=
3082 defaultval=
3083 if test -z "$defaultval"; then
3084 if test x"$enablestring" = xdisable; then
3085 defaultval=yes
3086 else
3087 defaultval=no
3088 fi
3089 fi
3090
3091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3092 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3093 # Check whether --enable-plugins was given.
3094 if test "${enable_plugins+set}" = set; then
3095 enableval=$enable_plugins;
3096 if test "$enableval" = yes; then
3097 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3098 else
3099 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3100 fi
3101 cache=yes
3102
3103 else
3104
3105 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3106 if test "x$LINE" != x ; then
3107 eval "DEFAULT_$LINE"
3108 cache=yes
3109 else
3110 cache=no
3111 fi
3112
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3114
3115 fi
3116
3117
3118 eval "$wx_cv_use_plugins"
3119 if test "x$cache" = xyes; then
3120 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3121 fi
3122
3123 if test x"$enablestring" = xdisable; then
3124 if test $wxUSE_PLUGINS = yes; then
3125 result=no
3126 else
3127 result=yes
3128 fi
3129 else
3130 result=$wxUSE_PLUGINS
3131 fi
3132
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3135
3136
3137 withstring=without
3138 defaultval=$wxUSE_ALL_FEATURES
3139 if test -z "$defaultval"; then
3140 if test x"$withstring" = xwithout; then
3141 defaultval=yes
3142 else
3143 defaultval=no
3144 fi
3145 fi
3146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3147 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3148
3149 # Check whether --with-subdirs was given.
3150 if test "${with_subdirs+set}" = set; then
3151 withval=$with_subdirs;
3152 if test "$withval" = yes; then
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3154 else
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3156 fi
3157 cache=yes
3158
3159 else
3160
3161 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x ; then
3163 eval "DEFAULT_$LINE"
3164 cache=yes
3165 else
3166 cache=no
3167 fi
3168
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3170
3171 fi
3172
3173
3174 eval "$wx_cv_use_subdirs"
3175 if test "x$cache" = xyes; then
3176 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3177 fi
3178
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3181 result=no
3182 else
3183 result=yes
3184 fi
3185 else
3186 result=$wxWITH_SUBDIRS
3187 fi
3188
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3191
3192
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 fi
3197
3198
3199 enablestring=
3200 defaultval=
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3203 defaultval=yes
3204 else
3205 defaultval=no
3206 fi
3207 fi
3208
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3216 else
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3218 fi
3219 cache=yes
3220
3221 else
3222
3223 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x ; then
3225 eval "DEFAULT_$LINE"
3226 cache=yes
3227 else
3228 cache=no
3229 fi
3230
3231 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3232
3233 fi
3234
3235
3236 eval "$wx_cv_use_official_build"
3237 if test "x$cache" = xyes; then
3238 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3239 fi
3240
3241 if test x"$enablestring" = xdisable; then
3242 if test $wxUSE_OFFICIAL_BUILD = yes; then
3243 result=no
3244 else
3245 result=yes
3246 fi
3247 else
3248 result=$wxUSE_OFFICIAL_BUILD
3249 fi
3250
3251 { echo "$as_me:$LINENO: result: $result" >&5
3252 echo "${ECHO_T}$result" >&6; }
3253
3254 # Check whether --enable-vendor was given.
3255 if test "${enable_vendor+set}" = set; then
3256 enableval=$enable_vendor; VENDOR="$enableval"
3257 fi
3258
3259 if test "x$VENDOR" = "x"; then
3260 VENDOR="custom"
3261 fi
3262
3263
3264 enablestring=disable
3265 defaultval=
3266 if test -z "$defaultval"; then
3267 if test x"$enablestring" = xdisable; then
3268 defaultval=yes
3269 else
3270 defaultval=no
3271 fi
3272 fi
3273
3274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3275 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3276 # Check whether --enable-all-features was given.
3277 if test "${enable_all_features+set}" = set; then
3278 enableval=$enable_all_features;
3279 if test "$enableval" = yes; then
3280 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3281 else
3282 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3283 fi
3284 cache=yes
3285
3286 else
3287
3288 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 cache=yes
3292 else
3293 cache=no
3294 fi
3295
3296 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3297
3298 fi
3299
3300
3301 eval "$wx_cv_use_all_features"
3302 if test "x$cache" = xyes; then
3303 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3304 fi
3305
3306 if test x"$enablestring" = xdisable; then
3307 if test $wxUSE_ALL_FEATURES = yes; then
3308 result=no
3309 else
3310 result=yes
3311 fi
3312 else
3313 result=$wxUSE_ALL_FEATURES
3314 fi
3315
3316 { echo "$as_me:$LINENO: result: $result" >&5
3317 echo "${ECHO_T}$result" >&6; }
3318
3319
3320
3321 if test "$wxUSE_GUI" = "yes"; then
3322
3323
3324 enablestring=
3325 defaultval=
3326 if test -z "$defaultval"; then
3327 if test x"$enablestring" = xdisable; then
3328 defaultval=yes
3329 else
3330 defaultval=no
3331 fi
3332 fi
3333
3334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3335 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3336 # Check whether --enable-universal was given.
3337 if test "${enable_universal+set}" = set; then
3338 enableval=$enable_universal;
3339 if test "$enableval" = yes; then
3340 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3341 else
3342 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3343 fi
3344 cache=yes
3345
3346 else
3347
3348 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 cache=yes
3352 else
3353 cache=no
3354 fi
3355
3356 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3357
3358 fi
3359
3360
3361 eval "$wx_cv_use_universal"
3362 if test "x$cache" = xyes; then
3363 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test x"$enablestring" = xdisable; then
3367 if test $wxUSE_UNIVERSAL = yes; then
3368 result=no
3369 else
3370 result=yes
3371 fi
3372 else
3373 result=$wxUSE_UNIVERSAL
3374 fi
3375
3376 { echo "$as_me:$LINENO: result: $result" >&5
3377 echo "${ECHO_T}$result" >&6; }
3378
3379 if test "$wxUSE_UNIVERSAL" = "yes"; then
3380
3381 # Check whether --with-themes was given.
3382 if test "${with_themes+set}" = set; then
3383 withval=$with_themes; wxUNIV_THEMES="$withval"
3384 fi
3385
3386 fi
3387
3388
3389 # Check whether --with-gtk was given.
3390 if test "${with_gtk+set}" = set; then
3391 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-motif was given.
3396 if test "${with_motif+set}" = set; then
3397 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-mac was given.
3402 if test "${with_mac+set}" = set; then
3403 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-cocoa was given.
3408 if test "${with_cocoa+set}" = set; then
3409 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-wine was given.
3414 if test "${with_wine+set}" = set; then
3415 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3416 fi
3417
3418
3419 # Check whether --with-msw was given.
3420 if test "${with_msw+set}" = set; then
3421 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-pm was given.
3426 if test "${with_pm+set}" = set; then
3427 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-mgl was given.
3432 if test "${with_mgl+set}" = set; then
3433 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-directfb was given.
3438 if test "${with_directfb+set}" = set; then
3439 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-microwin was given.
3444 if test "${with_microwin+set}" = set; then
3445 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-x11 was given.
3450 if test "${with_x11+set}" = set; then
3451 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 enablestring=
3456 defaultval=
3457 if test -z "$defaultval"; then
3458 if test x"$enablestring" = xdisable; then
3459 defaultval=yes
3460 else
3461 defaultval=no
3462 fi
3463 fi
3464
3465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3467 # Check whether --enable-nanox was given.
3468 if test "${enable_nanox+set}" = set; then
3469 enableval=$enable_nanox;
3470 if test "$enableval" = yes; then
3471 wx_cv_use_nanox='wxUSE_NANOX=yes'
3472 else
3473 wx_cv_use_nanox='wxUSE_NANOX=no'
3474 fi
3475 cache=yes
3476
3477 else
3478
3479 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3482 cache=yes
3483 else
3484 cache=no
3485 fi
3486
3487 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3488
3489 fi
3490
3491
3492 eval "$wx_cv_use_nanox"
3493 if test "x$cache" = xyes; then
3494 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test x"$enablestring" = xdisable; then
3498 if test $wxUSE_NANOX = yes; then
3499 result=no
3500 else
3501 result=yes
3502 fi
3503 else
3504 result=$wxUSE_NANOX
3505 fi
3506
3507 { echo "$as_me:$LINENO: result: $result" >&5
3508 echo "${ECHO_T}$result" >&6; }
3509
3510
3511 # Check whether --enable-gtk2 was given.
3512 if test "${enable_gtk2+set}" = set; then
3513 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3514 fi
3515
3516
3517 enablestring=
3518 defaultval=
3519 if test -z "$defaultval"; then
3520 if test x"$enablestring" = xdisable; then
3521 defaultval=yes
3522 else
3523 defaultval=no
3524 fi
3525 fi
3526
3527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3529 # Check whether --enable-gpe was given.
3530 if test "${enable_gpe+set}" = set; then
3531 enableval=$enable_gpe;
3532 if test "$enableval" = yes; then
3533 wx_cv_use_gpe='wxUSE_GPE=yes'
3534 else
3535 wx_cv_use_gpe='wxUSE_GPE=no'
3536 fi
3537 cache=yes
3538
3539 else
3540
3541 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 cache=yes
3545 else
3546 cache=no
3547 fi
3548
3549 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3550
3551 fi
3552
3553
3554 eval "$wx_cv_use_gpe"
3555 if test "x$cache" = xyes; then
3556 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3557 fi
3558
3559 if test x"$enablestring" = xdisable; then
3560 if test $wxUSE_GPE = yes; then
3561 result=no
3562 else
3563 result=yes
3564 fi
3565 else
3566 result=$wxUSE_GPE
3567 fi
3568
3569 { echo "$as_me:$LINENO: result: $result" >&5
3570 echo "${ECHO_T}$result" >&6; }
3571
3572
3573
3574
3575 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3576 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3577
3578 # Check whether --with-libpng was given.
3579 if test "${with_libpng+set}" = set; then
3580 withval=$with_libpng;
3581 if test "$withval" = yes; then
3582 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3583 elif test "$withval" = no; then
3584 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3585 elif test "$withval" = sys; then
3586 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3587 elif test "$withval" = builtin; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594 cache=yes
3595
3596 else
3597
3598 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x ; then
3600 eval "DEFAULT_$LINE"
3601 cache=yes
3602 else
3603 cache=no
3604 fi
3605
3606 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3607
3608 fi
3609
3610
3611 eval "$wx_cv_use_libpng"
3612 if test "x$cache" = xyes; then
3613 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3614 fi
3615
3616 if test "$wxUSE_LIBPNG" = yes; then
3617 { echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6; }
3619 elif test "$wxUSE_LIBPNG" = no; then
3620 { echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6; }
3622 elif test "$wxUSE_LIBPNG" = sys; then
3623 { echo "$as_me:$LINENO: result: system version" >&5
3624 echo "${ECHO_T}system version" >&6; }
3625 elif test "$wxUSE_LIBPNG" = builtin; then
3626 { echo "$as_me:$LINENO: result: builtin version" >&5
3627 echo "${ECHO_T}builtin version" >&6; }
3628 else
3629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3630 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3631 { (exit 1); exit 1; }; }
3632 fi
3633
3634
3635 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3636 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3637
3638 # Check whether --with-libjpeg was given.
3639 if test "${with_libjpeg+set}" = set; then
3640 withval=$with_libjpeg;
3641 if test "$withval" = yes; then
3642 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3643 elif test "$withval" = no; then
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3645 elif test "$withval" = sys; then
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3647 elif test "$withval" = builtin; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3649 else
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3653 fi
3654 cache=yes
3655
3656 else
3657
3658 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 cache=yes
3662 else
3663 cache=no
3664 fi
3665
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libjpeg"
3672 if test "x$cache" = xyes; then
3673 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3674 fi
3675
3676 if test "$wxUSE_LIBJPEG" = yes; then
3677 { echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = no; then
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = sys; then
3683 { echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = builtin; then
3686 { echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6; }
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694
3695 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3696 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3697
3698 # Check whether --with-libtiff was given.
3699 if test "${with_libtiff+set}" = set; then
3700 withval=$with_libtiff;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3703 elif test "$withval" = no; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3705 elif test "$withval" = sys; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3709 else
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3713 fi
3714 cache=yes
3715
3716 else
3717
3718 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3719 if test "x$LINE" != x ; then
3720 eval "DEFAULT_$LINE"
3721 cache=yes
3722 else
3723 cache=no
3724 fi
3725
3726 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3727
3728 fi
3729
3730
3731 eval "$wx_cv_use_libtiff"
3732 if test "x$cache" = xyes; then
3733 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3734 fi
3735
3736 if test "$wxUSE_LIBTIFF" = yes; then
3737 { echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6; }
3739 elif test "$wxUSE_LIBTIFF" = no; then
3740 { echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6; }
3742 elif test "$wxUSE_LIBTIFF" = sys; then
3743 { echo "$as_me:$LINENO: result: system version" >&5
3744 echo "${ECHO_T}system version" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = builtin; then
3746 { echo "$as_me:$LINENO: result: builtin version" >&5
3747 echo "${ECHO_T}builtin version" >&6; }
3748 else
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3752 fi
3753
3754
3755 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3756 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3757
3758 # Check whether --with-libxpm was given.
3759 if test "${with_libxpm+set}" = set; then
3760 withval=$with_libxpm;
3761 if test "$withval" = yes; then
3762 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3763 elif test "$withval" = no; then
3764 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3765 elif test "$withval" = sys; then
3766 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3767 elif test "$withval" = builtin; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3769 else
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3773 fi
3774 cache=yes
3775
3776 else
3777
3778 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 cache=yes
3782 else
3783 cache=no
3784 fi
3785
3786 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3787
3788 fi
3789
3790
3791 eval "$wx_cv_use_libxpm"
3792 if test "x$cache" = xyes; then
3793 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3794 fi
3795
3796 if test "$wxUSE_LIBXPM" = yes; then
3797 { echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6; }
3799 elif test "$wxUSE_LIBXPM" = no; then
3800 { echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6; }
3802 elif test "$wxUSE_LIBXPM" = sys; then
3803 { echo "$as_me:$LINENO: result: system version" >&5
3804 echo "${ECHO_T}system version" >&6; }
3805 elif test "$wxUSE_LIBXPM" = builtin; then
3806 { echo "$as_me:$LINENO: result: builtin version" >&5
3807 echo "${ECHO_T}builtin version" >&6; }
3808 else
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3812 fi
3813
3814
3815 withstring=
3816 defaultval=$wxUSE_ALL_FEATURES
3817 if test -z "$defaultval"; then
3818 if test x"$withstring" = xwithout; then
3819 defaultval=yes
3820 else
3821 defaultval=no
3822 fi
3823 fi
3824 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3825 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3826
3827 # Check whether --with-libmspack was given.
3828 if test "${with_libmspack+set}" = set; then
3829 withval=$with_libmspack;
3830 if test "$withval" = yes; then
3831 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3832 else
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3834 fi
3835 cache=yes
3836
3837 else
3838
3839 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3842 cache=yes
3843 else
3844 cache=no
3845 fi
3846
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3848
3849 fi
3850
3851
3852 eval "$wx_cv_use_libmspack"
3853 if test "x$cache" = xyes; then
3854 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3855 fi
3856
3857 if test x"$withstring" = xwithout; then
3858 if test $wxUSE_LIBMSPACK = yes; then
3859 result=no
3860 else
3861 result=yes
3862 fi
3863 else
3864 result=$wxUSE_LIBMSPACK
3865 fi
3866
3867 { echo "$as_me:$LINENO: result: $result" >&5
3868 echo "${ECHO_T}$result" >&6; }
3869
3870
3871 withstring=without
3872 defaultval=$wxUSE_ALL_FEATURES
3873 if test -z "$defaultval"; then
3874 if test x"$withstring" = xwithout; then
3875 defaultval=yes
3876 else
3877 defaultval=no
3878 fi
3879 fi
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3882
3883 # Check whether --with-gtkprint was given.
3884 if test "${with_gtkprint+set}" = set; then
3885 withval=$with_gtkprint;
3886 if test "$withval" = yes; then
3887 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3888 else
3889 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3890 fi
3891 cache=yes
3892
3893 else
3894
3895 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 cache=yes
3899 else
3900 cache=no
3901 fi
3902
3903 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3904
3905 fi
3906
3907
3908 eval "$wx_cv_use_gtkprint"
3909 if test "x$cache" = xyes; then
3910 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3911 fi
3912
3913 if test x"$withstring" = xwithout; then
3914 if test $wxUSE_GTKPRINT = yes; then
3915 result=no
3916 else
3917 result=yes
3918 fi
3919 else
3920 result=$wxUSE_GTKPRINT
3921 fi
3922
3923 { echo "$as_me:$LINENO: result: $result" >&5
3924 echo "${ECHO_T}$result" >&6; }
3925
3926
3927 withstring=without
3928 defaultval=$wxUSE_ALL_FEATURES
3929 if test -z "$defaultval"; then
3930 if test x"$withstring" = xwithout; then
3931 defaultval=yes
3932 else
3933 defaultval=no
3934 fi
3935 fi
3936 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3937 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3938
3939 # Check whether --with-gnomeprint was given.
3940 if test "${with_gnomeprint+set}" = set; then
3941 withval=$with_gnomeprint;
3942 if test "$withval" = yes; then
3943 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3944 else
3945 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3946 fi
3947 cache=yes
3948
3949 else
3950
3951 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 cache=yes
3955 else
3956 cache=no
3957 fi
3958
3959 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3960
3961 fi
3962
3963
3964 eval "$wx_cv_use_gnomeprint"
3965 if test "x$cache" = xyes; then
3966 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3967 fi
3968
3969 if test x"$withstring" = xwithout; then
3970 if test $wxUSE_LIBGNOMEPRINT = yes; then
3971 result=no
3972 else
3973 result=yes
3974 fi
3975 else
3976 result=$wxUSE_LIBGNOMEPRINT
3977 fi
3978
3979 { echo "$as_me:$LINENO: result: $result" >&5
3980 echo "${ECHO_T}$result" >&6; }
3981
3982
3983 withstring=
3984 defaultval=$wxUSE_ALL_FEATURES
3985 if test -z "$defaultval"; then
3986 if test x"$withstring" = xwithout; then
3987 defaultval=yes
3988 else
3989 defaultval=no
3990 fi
3991 fi
3992 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3993 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3994
3995 # Check whether --with-gnomevfs was given.
3996 if test "${with_gnomevfs+set}" = set; then
3997 withval=$with_gnomevfs;
3998 if test "$withval" = yes; then
3999 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4000 else
4001 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4002 fi
4003 cache=yes
4004
4005 else
4006
4007 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x ; then
4009 eval "DEFAULT_$LINE"
4010 cache=yes
4011 else
4012 cache=no
4013 fi
4014
4015 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4016
4017 fi
4018
4019
4020 eval "$wx_cv_use_gnomevfs"
4021 if test "x$cache" = xyes; then
4022 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_LIBGNOMEVFS = yes; then
4027 result=no
4028 else
4029 result=yes
4030 fi
4031 else
4032 result=$wxUSE_LIBGNOMEVFS
4033 fi
4034
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4037
4038
4039 withstring=
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4043 defaultval=yes
4044 else
4045 defaultval=no
4046 fi
4047 fi
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4050
4051 # Check whether --with-hildon was given.
4052 if test "${with_hildon+set}" = set; then
4053 withval=$with_hildon;
4054 if test "$withval" = yes; then
4055 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4056 else
4057 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4058 fi
4059 cache=yes
4060
4061 else
4062
4063 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x ; then
4065 eval "DEFAULT_$LINE"
4066 cache=yes
4067 else
4068 cache=no
4069 fi
4070
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4072
4073 fi
4074
4075
4076 eval "$wx_cv_use_hildon"
4077 if test "x$cache" = xyes; then
4078 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_LIBHILDON = yes; then
4083 result=no
4084 else
4085 result=yes
4086 fi
4087 else
4088 result=$wxUSE_LIBHILDON
4089 fi
4090
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4093
4094
4095 withstring=
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4099 defaultval=yes
4100 else
4101 defaultval=no
4102 fi
4103 fi
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4106
4107 # Check whether --with-opengl was given.
4108 if test "${with_opengl+set}" = set; then
4109 withval=$with_opengl;
4110 if test "$withval" = yes; then
4111 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4112 else
4113 wx_cv_use_opengl='wxUSE_OPENGL=no'
4114 fi
4115 cache=yes
4116
4117 else
4118
4119 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 cache=yes
4123 else
4124 cache=no
4125 fi
4126
4127 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4128
4129 fi
4130
4131
4132 eval "$wx_cv_use_opengl"
4133 if test "x$cache" = xyes; then
4134 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_OPENGL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_OPENGL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 fi
4152
4153
4154 withstring=
4155 defaultval=$wxUSE_ALL_FEATURES
4156 if test -z "$defaultval"; then
4157 if test x"$withstring" = xwithout; then
4158 defaultval=yes
4159 else
4160 defaultval=no
4161 fi
4162 fi
4163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4164 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4165
4166 # Check whether --with-dmalloc was given.
4167 if test "${with_dmalloc+set}" = set; then
4168 withval=$with_dmalloc;
4169 if test "$withval" = yes; then
4170 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4171 else
4172 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4173 fi
4174 cache=yes
4175
4176 else
4177
4178 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 cache=yes
4182 else
4183 cache=no
4184 fi
4185
4186 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4187
4188 fi
4189
4190
4191 eval "$wx_cv_use_dmalloc"
4192 if test "x$cache" = xyes; then
4193 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test x"$withstring" = xwithout; then
4197 if test $wxUSE_DMALLOC = yes; then
4198 result=no
4199 else
4200 result=yes
4201 fi
4202 else
4203 result=$wxUSE_DMALLOC
4204 fi
4205
4206 { echo "$as_me:$LINENO: result: $result" >&5
4207 echo "${ECHO_T}$result" >&6; }
4208
4209
4210 withstring=
4211 defaultval=$wxUSE_ALL_FEATURES
4212 if test -z "$defaultval"; then
4213 if test x"$withstring" = xwithout; then
4214 defaultval=yes
4215 else
4216 defaultval=no
4217 fi
4218 fi
4219 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4220 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4221
4222 # Check whether --with-sdl was given.
4223 if test "${with_sdl+set}" = set; then
4224 withval=$with_sdl;
4225 if test "$withval" = yes; then
4226 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4227 else
4228 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4229 fi
4230 cache=yes
4231
4232 else
4233
4234 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x ; then
4236 eval "DEFAULT_$LINE"
4237 cache=yes
4238 else
4239 cache=no
4240 fi
4241
4242 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4243
4244 fi
4245
4246
4247 eval "$wx_cv_use_sdl"
4248 if test "x$cache" = xyes; then
4249 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4250 fi
4251
4252 if test x"$withstring" = xwithout; then
4253 if test $wxUSE_LIBSDL = yes; then
4254 result=no
4255 else
4256 result=yes
4257 fi
4258 else
4259 result=$wxUSE_LIBSDL
4260 fi
4261
4262 { echo "$as_me:$LINENO: result: $result" >&5
4263 echo "${ECHO_T}$result" >&6; }
4264
4265
4266 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4267 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4268
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval=$with_regex;
4272 if test "$withval" = yes; then
4273 wx_cv_use_regex='wxUSE_REGEX=yes'
4274 elif test "$withval" = no; then
4275 wx_cv_use_regex='wxUSE_REGEX=no'
4276 elif test "$withval" = sys; then
4277 wx_cv_use_regex='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 wx_cv_use_regex='wxUSE_REGEX=builtin'
4280 else
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4284 fi
4285 cache=yes
4286
4287 else
4288
4289 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x ; then
4291 eval "DEFAULT_$LINE"
4292 cache=yes
4293 else
4294 cache=no
4295 fi
4296
4297 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4298
4299 fi
4300
4301
4302 eval "$wx_cv_use_regex"
4303 if test "x$cache" = xyes; then
4304 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4305 fi
4306
4307 if test "$wxUSE_REGEX" = yes; then
4308 { echo "$as_me:$LINENO: result: yes" >&5
4309 echo "${ECHO_T}yes" >&6; }
4310 elif test "$wxUSE_REGEX" = no; then
4311 { echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6; }
4313 elif test "$wxUSE_REGEX" = sys; then
4314 { echo "$as_me:$LINENO: result: system version" >&5
4315 echo "${ECHO_T}system version" >&6; }
4316 elif test "$wxUSE_REGEX" = builtin; then
4317 { echo "$as_me:$LINENO: result: builtin version" >&5
4318 echo "${ECHO_T}builtin version" >&6; }
4319 else
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4323 fi
4324
4325
4326 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4327 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4328
4329 # Check whether --with-zlib was given.
4330 if test "${with_zlib+set}" = set; then
4331 withval=$with_zlib;
4332 if test "$withval" = yes; then
4333 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4334 elif test "$withval" = no; then
4335 wx_cv_use_zlib='wxUSE_ZLIB=no'
4336 elif test "$withval" = sys; then
4337 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4338 elif test "$withval" = builtin; then
4339 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4340 else
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4344 fi
4345 cache=yes
4346
4347 else
4348
4349 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x ; then
4351 eval "DEFAULT_$LINE"
4352 cache=yes
4353 else
4354 cache=no
4355 fi
4356
4357 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4358
4359 fi
4360
4361
4362 eval "$wx_cv_use_zlib"
4363 if test "x$cache" = xyes; then
4364 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4365 fi
4366
4367 if test "$wxUSE_ZLIB" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_ZLIB" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_ZLIB" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_ZLIB" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4387 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4388
4389 # Check whether --with-expat was given.
4390 if test "${with_expat+set}" = set; then
4391 withval=$with_expat;
4392 if test "$withval" = yes; then
4393 wx_cv_use_expat='wxUSE_EXPAT=yes'
4394 elif test "$withval" = no; then
4395 wx_cv_use_expat='wxUSE_EXPAT=no'
4396 elif test "$withval" = sys; then
4397 wx_cv_use_expat='wxUSE_EXPAT=sys'
4398 elif test "$withval" = builtin; then
4399 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4400 else
4401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4402 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4403 { (exit 1); exit 1; }; }
4404 fi
4405 cache=yes
4406
4407 else
4408
4409 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 cache=yes
4413 else
4414 cache=no
4415 fi
4416
4417 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4418
4419 fi
4420
4421
4422 eval "$wx_cv_use_expat"
4423 if test "x$cache" = xyes; then
4424 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4425 fi
4426
4427 if test "$wxUSE_EXPAT" = yes; then
4428 { echo "$as_me:$LINENO: result: yes" >&5
4429 echo "${ECHO_T}yes" >&6; }
4430 elif test "$wxUSE_EXPAT" = no; then
4431 { echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6; }
4433 elif test "$wxUSE_EXPAT" = sys; then
4434 { echo "$as_me:$LINENO: result: system version" >&5
4435 echo "${ECHO_T}system version" >&6; }
4436 elif test "$wxUSE_EXPAT" = builtin; then
4437 { echo "$as_me:$LINENO: result: builtin version" >&5
4438 echo "${ECHO_T}builtin version" >&6; }
4439 else
4440 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4441 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4442 { (exit 1); exit 1; }; }
4443 fi
4444
4445
4446 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4447 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4448
4449 # Check whether --with-macosx-sdk was given.
4450 if test "${with_macosx_sdk+set}" = set; then
4451 withval=$with_macosx_sdk;
4452 wxUSE_MACOSX_SDK=$withval
4453 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4454 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4455
4456 else
4457
4458 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4459 # will override --enable-universal_binary's automatic SDK usage.
4460 wxUSE_MACOSX_SDK=
4461 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x ; then
4463 eval "$LINE"
4464 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4465 fi
4466
4467 fi
4468
4469 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4470 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4471
4472 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4473 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4474
4475 # Check whether --with-macosx-version-min was given.
4476 if test "${with_macosx_version_min+set}" = set; then
4477 withval=$with_macosx_version_min;
4478 wxUSE_MACOSX_VERSION_MIN=$withval
4479 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4480 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4481
4482 else
4483
4484 # default "yes" because when not using an SDK it means the same as no
4485 # but when using an SDK it means to use the SDK version
4486 wxUSE_MACOSX_VERSION_MIN=yes
4487 # See if there is a value in the cache
4488 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "$LINE"
4491 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 fi
4495
4496 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4497 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4498
4499
4500
4501 enablestring=disable
4502 defaultval=
4503 if test -z "$defaultval"; then
4504 if test x"$enablestring" = xdisable; then
4505 defaultval=yes
4506 else
4507 defaultval=no
4508 fi
4509 fi
4510
4511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4513 # Check whether --enable-shared was given.
4514 if test "${enable_shared+set}" = set; then
4515 enableval=$enable_shared;
4516 if test "$enableval" = yes; then
4517 wx_cv_use_shared='wxUSE_SHARED=yes'
4518 else
4519 wx_cv_use_shared='wxUSE_SHARED=no'
4520 fi
4521 cache=yes
4522
4523 else
4524
4525 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x ; then
4527 eval "DEFAULT_$LINE"
4528 cache=yes
4529 else
4530 cache=no
4531 fi
4532
4533 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4534
4535 fi
4536
4537
4538 eval "$wx_cv_use_shared"
4539 if test "x$cache" = xyes; then
4540 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_SHARED = yes; then
4545 result=no
4546 else
4547 result=yes
4548 fi
4549 else
4550 result=$wxUSE_SHARED
4551 fi
4552
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4555
4556
4557 enablestring=disable
4558 defaultval=
4559 if test -z "$defaultval"; then
4560 if test x"$enablestring" = xdisable; then
4561 defaultval=yes
4562 else
4563 defaultval=no
4564 fi
4565 fi
4566
4567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4568 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4569 # Check whether --enable-optimise was given.
4570 if test "${enable_optimise+set}" = set; then
4571 enableval=$enable_optimise;
4572 if test "$enableval" = yes; then
4573 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4574 else
4575 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4576 fi
4577 cache=yes
4578
4579 else
4580
4581 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x ; then
4583 eval "DEFAULT_$LINE"
4584 cache=yes
4585 else
4586 cache=no
4587 fi
4588
4589 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4590
4591 fi
4592
4593
4594 eval "$wx_cv_use_optimise"
4595 if test "x$cache" = xyes; then
4596 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4597 fi
4598
4599 if test x"$enablestring" = xdisable; then
4600 if test $wxUSE_OPTIMISE = yes; then
4601 result=no
4602 else
4603 result=yes
4604 fi
4605 else
4606 result=$wxUSE_OPTIMISE
4607 fi
4608
4609 { echo "$as_me:$LINENO: result: $result" >&5
4610 echo "${ECHO_T}$result" >&6; }
4611
4612
4613 enablestring=
4614 defaultval=
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4617 defaultval=yes
4618 else
4619 defaultval=no
4620 fi
4621 fi
4622
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4625 # Check whether --enable-debug was given.
4626 if test "${enable_debug+set}" = set; then
4627 enableval=$enable_debug;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_debug='wxUSE_DEBUG=yes'
4630 else
4631 wx_cv_use_debug='wxUSE_DEBUG=no'
4632 fi
4633 cache=yes
4634
4635 else
4636
4637 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4638 if test "x$LINE" != x ; then
4639 eval "DEFAULT_$LINE"
4640 cache=yes
4641 else
4642 cache=no
4643 fi
4644
4645 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4646
4647 fi
4648
4649
4650 eval "$wx_cv_use_debug"
4651 if test "x$cache" = xyes; then
4652 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4653 fi
4654
4655 if test x"$enablestring" = xdisable; then
4656 if test $wxUSE_DEBUG = yes; then
4657 result=no
4658 else
4659 result=yes
4660 fi
4661 else
4662 result=$wxUSE_DEBUG
4663 fi
4664
4665 { echo "$as_me:$LINENO: result: $result" >&5
4666 echo "${ECHO_T}$result" >&6; }
4667
4668
4669 enablestring=
4670 defaultval=
4671 if test -z "$defaultval"; then
4672 if test x"$enablestring" = xdisable; then
4673 defaultval=yes
4674 else
4675 defaultval=no
4676 fi
4677 fi
4678
4679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4681 # Check whether --enable-stl was given.
4682 if test "${enable_stl+set}" = set; then
4683 enableval=$enable_stl;
4684 if test "$enableval" = yes; then
4685 wx_cv_use_stl='wxUSE_STL=yes'
4686 else
4687 wx_cv_use_stl='wxUSE_STL=no'
4688 fi
4689 cache=yes
4690
4691 else
4692
4693 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 cache=yes
4697 else
4698 cache=no
4699 fi
4700
4701 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4702
4703 fi
4704
4705
4706 eval "$wx_cv_use_stl"
4707 if test "x$cache" = xyes; then
4708 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4709 fi
4710
4711 if test x"$enablestring" = xdisable; then
4712 if test $wxUSE_STL = yes; then
4713 result=no
4714 else
4715 result=yes
4716 fi
4717 else
4718 result=$wxUSE_STL
4719 fi
4720
4721 { echo "$as_me:$LINENO: result: $result" >&5
4722 echo "${ECHO_T}$result" >&6; }
4723
4724
4725 enablestring=
4726 defaultval=
4727 if test -z "$defaultval"; then
4728 if test x"$enablestring" = xdisable; then
4729 defaultval=yes
4730 else
4731 defaultval=no
4732 fi
4733 fi
4734
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4737 # Check whether --enable-std_iostreams was given.
4738 if test "${enable_std_iostreams+set}" = set; then
4739 enableval=$enable_std_iostreams;
4740 if test "$enableval" = yes; then
4741 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4742 else
4743 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4744 fi
4745 cache=yes
4746
4747 else
4748
4749 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4752 cache=yes
4753 else
4754 cache=no
4755 fi
4756
4757 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_std_iostreams"
4763 if test "x$cache" = xyes; then
4764 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STD_IOSTREAM = yes; then
4769 result=no
4770 else
4771 result=yes
4772 fi
4773 else
4774 result=$wxUSE_STD_IOSTREAM
4775 fi
4776
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4779
4780
4781 enablestring=
4782 defaultval=
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4785 defaultval=yes
4786 else
4787 defaultval=no
4788 fi
4789 fi
4790
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4793 # Check whether --enable-std_string was given.
4794 if test "${enable_std_string+set}" = set; then
4795 enableval=$enable_std_string;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4798 else
4799 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4800 fi
4801 cache=yes
4802
4803 else
4804
4805 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 cache=yes
4809 else
4810 cache=no
4811 fi
4812
4813 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4814
4815 fi
4816
4817
4818 eval "$wx_cv_use_std_string"
4819 if test "x$cache" = xyes; then
4820 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_STD_STRING = yes; then
4825 result=no
4826 else
4827 result=yes
4828 fi
4829 else
4830 result=$wxUSE_STD_STRING
4831 fi
4832
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4835
4836
4837 enablestring=disable
4838 defaultval=
4839 if test -z "$defaultval"; then
4840 if test x"$enablestring" = xdisable; then
4841 defaultval=yes
4842 else
4843 defaultval=no
4844 fi
4845 fi
4846
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4849 # Check whether --enable-unicode was given.
4850 if test "${enable_unicode+set}" = set; then
4851 enableval=$enable_unicode;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4854 else
4855 wx_cv_use_unicode='wxUSE_UNICODE=no'
4856 fi
4857 cache=yes
4858
4859 else
4860
4861 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4864 cache=yes
4865 else
4866 cache=no
4867 fi
4868
4869 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4870
4871 fi
4872
4873
4874 eval "$wx_cv_use_unicode"
4875 if test "x$cache" = xyes; then
4876 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4877 fi
4878
4879 if test x"$enablestring" = xdisable; then
4880 if test $wxUSE_UNICODE = yes; then
4881 result=no
4882 else
4883 result=yes
4884 fi
4885 else
4886 result=$wxUSE_UNICODE
4887 fi
4888
4889 { echo "$as_me:$LINENO: result: $result" >&5
4890 echo "${ECHO_T}$result" >&6; }
4891
4892
4893 enablestring=
4894 defaultval=
4895 if test -z "$defaultval"; then
4896 if test x"$enablestring" = xdisable; then
4897 defaultval=yes
4898 else
4899 defaultval=no
4900 fi
4901 fi
4902
4903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4905 # Check whether --enable-mslu was given.
4906 if test "${enable_mslu+set}" = set; then
4907 enableval=$enable_mslu;
4908 if test "$enableval" = yes; then
4909 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4910 else
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4912 fi
4913 cache=yes
4914
4915 else
4916
4917 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 cache=yes
4921 else
4922 cache=no
4923 fi
4924
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4926
4927 fi
4928
4929
4930 eval "$wx_cv_use_mslu"
4931 if test "x$cache" = xyes; then
4932 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test x"$enablestring" = xdisable; then
4936 if test $wxUSE_UNICODE_MSLU = yes; then
4937 result=no
4938 else
4939 result=yes
4940 fi
4941 else
4942 result=$wxUSE_UNICODE_MSLU
4943 fi
4944
4945 { echo "$as_me:$LINENO: result: $result" >&5
4946 echo "${ECHO_T}$result" >&6; }
4947
4948
4949 enablestring=
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4952 # Check whether --enable-utf8 was given.
4953 if test "${enable_utf8+set}" = set; then
4954 enableval=$enable_utf8;
4955 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4956 cache=yes
4957
4958 else
4959
4960 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 cache=yes
4964 else
4965 cache=no
4966 fi
4967
4968 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4969
4970 fi
4971
4972
4973 eval "$wx_cv_use_utf8"
4974 if test "x$cache" = xyes; then
4975 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4979 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4980
4981
4982 enablestring=
4983 defaultval=
4984 if test -z "$defaultval"; then
4985 if test x"$enablestring" = xdisable; then
4986 defaultval=yes
4987 else
4988 defaultval=no
4989 fi
4990 fi
4991
4992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4994 # Check whether --enable-utf8only was given.
4995 if test "${enable_utf8only+set}" = set; then
4996 enableval=$enable_utf8only;
4997 if test "$enableval" = yes; then
4998 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4999 else
5000 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5001 fi
5002 cache=yes
5003
5004 else
5005
5006 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5007 if test "x$LINE" != x ; then
5008 eval "DEFAULT_$LINE"
5009 cache=yes
5010 else
5011 cache=no
5012 fi
5013
5014 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5015
5016 fi
5017
5018
5019 eval "$wx_cv_use_utf8only"
5020 if test "x$cache" = xyes; then
5021 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5022 fi
5023
5024 if test x"$enablestring" = xdisable; then
5025 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5026 result=no
5027 else
5028 result=yes
5029 fi
5030 else
5031 result=$wxUSE_UNICODE_UTF8_LOCALE
5032 fi
5033
5034 { echo "$as_me:$LINENO: result: $result" >&5
5035 echo "${ECHO_T}$result" >&6; }
5036
5037
5038 enablestring=
5039 defaultval=
5040 if test -z "$defaultval"; then
5041 if test x"$enablestring" = xdisable; then
5042 defaultval=yes
5043 else
5044 defaultval=no
5045 fi
5046 fi
5047
5048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5050 # Check whether --enable-extended_rtti was given.
5051 if test "${enable_extended_rtti+set}" = set; then
5052 enableval=$enable_extended_rtti;
5053 if test "$enableval" = yes; then
5054 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5055 else
5056 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5057 fi
5058 cache=yes
5059
5060 else
5061
5062 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 cache=yes
5066 else
5067 cache=no
5068 fi
5069
5070 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5071
5072 fi
5073
5074
5075 eval "$wx_cv_use_extended_rtti"
5076 if test "x$cache" = xyes; then
5077 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5078 fi
5079
5080 if test x"$enablestring" = xdisable; then
5081 if test $wxUSE_EXTENDED_RTTI = yes; then
5082 result=no
5083 else
5084 result=yes
5085 fi
5086 else
5087 result=$wxUSE_EXTENDED_RTTI
5088 fi
5089
5090 { echo "$as_me:$LINENO: result: $result" >&5
5091 echo "${ECHO_T}$result" >&6; }
5092
5093 if test "$USE_OS2" = 1; then
5094 DEFAULT_wxUSE_OMF=no
5095
5096 enablestring=
5097 defaultval=
5098 if test -z "$defaultval"; then
5099 if test x"$enablestring" = xdisable; then
5100 defaultval=yes
5101 else
5102 defaultval=no
5103 fi
5104 fi
5105
5106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5108 # Check whether --enable-omf was given.
5109 if test "${enable_omf+set}" = set; then
5110 enableval=$enable_omf;
5111 if test "$enableval" = yes; then
5112 wx_cv_use_omf='wxUSE_OMF=yes'
5113 else
5114 wx_cv_use_omf='wxUSE_OMF=no'
5115 fi
5116 cache=yes
5117
5118 else
5119
5120 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x ; then
5122 eval "DEFAULT_$LINE"
5123 cache=yes
5124 else
5125 cache=no
5126 fi
5127
5128 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5129
5130 fi
5131
5132
5133 eval "$wx_cv_use_omf"
5134 if test "x$cache" = xyes; then
5135 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_OMF = yes; then
5140 result=no
5141 else
5142 result=yes
5143 fi
5144 else
5145 result=$wxUSE_OMF
5146 fi
5147
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5150
5151 fi
5152
5153 if test "$wxUSE_DEBUG" = "yes"; then
5154 DEFAULT_wxUSE_DEBUG_FLAG=yes
5155 DEFAULT_wxUSE_DEBUG_INFO=yes
5156 BUILD=debug
5157 elif test "$wxUSE_DEBUG" = "no"; then
5158 DEFAULT_wxUSE_DEBUG_FLAG=no
5159 DEFAULT_wxUSE_DEBUG_INFO=no
5160 BUILD=release
5161 fi
5162
5163
5164 enablestring=
5165 defaultval=
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5168 defaultval=yes
5169 else
5170 defaultval=no
5171 fi
5172 fi
5173
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5176 # Check whether --enable-debug_flag was given.
5177 if test "${enable_debug_flag+set}" = set; then
5178 enableval=$enable_debug_flag;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5181 else
5182 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5183 fi
5184 cache=yes
5185
5186 else
5187
5188 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5191 cache=yes
5192 else
5193 cache=no
5194 fi
5195
5196 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5197
5198 fi
5199
5200
5201 eval "$wx_cv_use_debug_flag"
5202 if test "x$cache" = xyes; then
5203 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5204 fi
5205
5206 if test x"$enablestring" = xdisable; then
5207 if test $wxUSE_DEBUG_FLAG = yes; then
5208 result=no
5209 else
5210 result=yes
5211 fi
5212 else
5213 result=$wxUSE_DEBUG_FLAG
5214 fi
5215
5216 { echo "$as_me:$LINENO: result: $result" >&5
5217 echo "${ECHO_T}$result" >&6; }
5218
5219
5220 enablestring=
5221 defaultval=
5222 if test -z "$defaultval"; then
5223 if test x"$enablestring" = xdisable; then
5224 defaultval=yes
5225 else
5226 defaultval=no
5227 fi
5228 fi
5229
5230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5232 # Check whether --enable-debug_info was given.
5233 if test "${enable_debug_info+set}" = set; then
5234 enableval=$enable_debug_info;
5235 if test "$enableval" = yes; then
5236 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5237 else
5238 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5239 fi
5240 cache=yes
5241
5242 else
5243
5244 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 cache=yes
5248 else
5249 cache=no
5250 fi
5251
5252 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5253
5254 fi
5255
5256
5257 eval "$wx_cv_use_debug_info"
5258 if test "x$cache" = xyes; then
5259 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5260 fi
5261
5262 if test x"$enablestring" = xdisable; then
5263 if test $wxUSE_DEBUG_INFO = yes; then
5264 result=no
5265 else
5266 result=yes
5267 fi
5268 else
5269 result=$wxUSE_DEBUG_INFO
5270 fi
5271
5272 { echo "$as_me:$LINENO: result: $result" >&5
5273 echo "${ECHO_T}$result" >&6; }
5274
5275
5276 enablestring=
5277 defaultval=
5278 if test -z "$defaultval"; then
5279 if test x"$enablestring" = xdisable; then
5280 defaultval=yes
5281 else
5282 defaultval=no
5283 fi
5284 fi
5285
5286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5288 # Check whether --enable-debug_gdb was given.
5289 if test "${enable_debug_gdb+set}" = set; then
5290 enableval=$enable_debug_gdb;
5291 if test "$enableval" = yes; then
5292 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5293 else
5294 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5295 fi
5296 cache=yes
5297
5298 else
5299
5300 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 cache=yes
5304 else
5305 cache=no
5306 fi
5307
5308 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_debug_gdb"
5314 if test "x$cache" = xyes; then
5315 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5316 fi
5317
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_DEBUG_GDB = yes; then
5320 result=no
5321 else
5322 result=yes
5323 fi
5324 else
5325 result=$wxUSE_DEBUG_GDB
5326 fi
5327
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5330
5331
5332 enablestring=
5333 defaultval=
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5336 defaultval=yes
5337 else
5338 defaultval=no
5339 fi
5340 fi
5341
5342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5344 # Check whether --enable-debug_cntxt was given.
5345 if test "${enable_debug_cntxt+set}" = set; then
5346 enableval=$enable_debug_cntxt;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5349 else
5350 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5351 fi
5352 cache=yes
5353
5354 else
5355
5356 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x ; then
5358 eval "DEFAULT_$LINE"
5359 cache=yes
5360 else
5361 cache=no
5362 fi
5363
5364 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5365
5366 fi
5367
5368
5369 eval "$wx_cv_use_debug_cntxt"
5370 if test "x$cache" = xyes; then
5371 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5372 fi
5373
5374 if test x"$enablestring" = xdisable; then
5375 if test $wxUSE_DEBUG_CONTEXT = yes; then
5376 result=no
5377 else
5378 result=yes
5379 fi
5380 else
5381 result=$wxUSE_DEBUG_CONTEXT
5382 fi
5383
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5386
5387
5388 enablestring=
5389 defaultval=
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5392 defaultval=yes
5393 else
5394 defaultval=no
5395 fi
5396 fi
5397
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5400 # Check whether --enable-mem_tracing was given.
5401 if test "${enable_mem_tracing+set}" = set; then
5402 enableval=$enable_mem_tracing;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5405 else
5406 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5407 fi
5408 cache=yes
5409
5410 else
5411
5412 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x ; then
5414 eval "DEFAULT_$LINE"
5415 cache=yes
5416 else
5417 cache=no
5418 fi
5419
5420 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5421
5422 fi
5423
5424
5425 eval "$wx_cv_use_mem_tracing"
5426 if test "x$cache" = xyes; then
5427 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5428 fi
5429
5430 if test x"$enablestring" = xdisable; then
5431 if test $wxUSE_MEM_TRACING = yes; then
5432 result=no
5433 else
5434 result=yes
5435 fi
5436 else
5437 result=$wxUSE_MEM_TRACING
5438 fi
5439
5440 { echo "$as_me:$LINENO: result: $result" >&5
5441 echo "${ECHO_T}$result" >&6; }
5442
5443
5444 enablestring=
5445 defaultval=
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5448 defaultval=yes
5449 else
5450 defaultval=no
5451 fi
5452 fi
5453
5454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5456 # Check whether --enable-profile was given.
5457 if test "${enable_profile+set}" = set; then
5458 enableval=$enable_profile;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_profile='wxUSE_PROFILE=yes'
5461 else
5462 wx_cv_use_profile='wxUSE_PROFILE=no'
5463 fi
5464 cache=yes
5465
5466 else
5467
5468 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x ; then
5470 eval "DEFAULT_$LINE"
5471 cache=yes
5472 else
5473 cache=no
5474 fi
5475
5476 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5477
5478 fi
5479
5480
5481 eval "$wx_cv_use_profile"
5482 if test "x$cache" = xyes; then
5483 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test x"$enablestring" = xdisable; then
5487 if test $wxUSE_PROFILE = yes; then
5488 result=no
5489 else
5490 result=yes
5491 fi
5492 else
5493 result=$wxUSE_PROFILE
5494 fi
5495
5496 { echo "$as_me:$LINENO: result: $result" >&5
5497 echo "${ECHO_T}$result" >&6; }
5498
5499
5500 enablestring=
5501 defaultval=
5502 if test -z "$defaultval"; then
5503 if test x"$enablestring" = xdisable; then
5504 defaultval=yes
5505 else
5506 defaultval=no
5507 fi
5508 fi
5509
5510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5512 # Check whether --enable-no_rtti was given.
5513 if test "${enable_no_rtti+set}" = set; then
5514 enableval=$enable_no_rtti;
5515 if test "$enableval" = yes; then
5516 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5517 else
5518 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5519 fi
5520 cache=yes
5521
5522 else
5523
5524 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5527 cache=yes
5528 else
5529 cache=no
5530 fi
5531
5532 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_no_rtti"
5538 if test "x$cache" = xyes; then
5539 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test x"$enablestring" = xdisable; then
5543 if test $wxUSE_NO_RTTI = yes; then
5544 result=no
5545 else
5546 result=yes
5547 fi
5548 else
5549 result=$wxUSE_NO_RTTI
5550 fi
5551
5552 { echo "$as_me:$LINENO: result: $result" >&5
5553 echo "${ECHO_T}$result" >&6; }
5554
5555
5556 enablestring=
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5568 # Check whether --enable-no_exceptions was given.
5569 if test "${enable_no_exceptions+set}" = set; then
5570 enableval=$enable_no_exceptions;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5573 else
5574 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5575 fi
5576 cache=yes
5577
5578 else
5579
5580 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x ; then
5582 eval "DEFAULT_$LINE"
5583 cache=yes
5584 else
5585 cache=no
5586 fi
5587
5588 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5589
5590 fi
5591
5592
5593 eval "$wx_cv_use_no_exceptions"
5594 if test "x$cache" = xyes; then
5595 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5596 fi
5597
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_NO_EXCEPTIONS = yes; then
5600 result=no
5601 else
5602 result=yes
5603 fi
5604 else
5605 result=$wxUSE_NO_EXCEPTIONS
5606 fi
5607
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5610
5611
5612 enablestring=
5613 defaultval=
5614 if test -z "$defaultval"; then
5615 if test x"$enablestring" = xdisable; then
5616 defaultval=yes
5617 else
5618 defaultval=no
5619 fi
5620 fi
5621
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5624 # Check whether --enable-permissive was given.
5625 if test "${enable_permissive+set}" = set; then
5626 enableval=$enable_permissive;
5627 if test "$enableval" = yes; then
5628 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5629 else
5630 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5631 fi
5632 cache=yes
5633
5634 else
5635
5636 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 cache=yes
5640 else
5641 cache=no
5642 fi
5643
5644 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5645
5646 fi
5647
5648
5649 eval "$wx_cv_use_permissive"
5650 if test "x$cache" = xyes; then
5651 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5652 fi
5653
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_PERMISSIVE = yes; then
5656 result=no
5657 else
5658 result=yes
5659 fi
5660 else
5661 result=$wxUSE_PERMISSIVE
5662 fi
5663
5664 { echo "$as_me:$LINENO: result: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5666
5667
5668 enablestring=
5669 defaultval=
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5672 defaultval=yes
5673 else
5674 defaultval=no
5675 fi
5676 fi
5677
5678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5680 # Check whether --enable-no_deps was given.
5681 if test "${enable_no_deps+set}" = set; then
5682 enableval=$enable_no_deps;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5685 else
5686 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5687 fi
5688 cache=yes
5689
5690 else
5691
5692 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x ; then
5694 eval "DEFAULT_$LINE"
5695 cache=yes
5696 else
5697 cache=no
5698 fi
5699
5700 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5701
5702 fi
5703
5704
5705 eval "$wx_cv_use_no_deps"
5706 if test "x$cache" = xyes; then
5707 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5708 fi
5709
5710 if test x"$enablestring" = xdisable; then
5711 if test $wxUSE_NO_DEPS = yes; then
5712 result=no
5713 else
5714 result=yes
5715 fi
5716 else
5717 result=$wxUSE_NO_DEPS
5718 fi
5719
5720 { echo "$as_me:$LINENO: result: $result" >&5
5721 echo "${ECHO_T}$result" >&6; }
5722
5723
5724 enablestring=disable
5725 defaultval=
5726 if test -z "$defaultval"; then
5727 if test x"$enablestring" = xdisable; then
5728 defaultval=yes
5729 else
5730 defaultval=no
5731 fi
5732 fi
5733
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5736 # Check whether --enable-vararg_macros was given.
5737 if test "${enable_vararg_macros+set}" = set; then
5738 enableval=$enable_vararg_macros;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5741 else
5742 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5743 fi
5744 cache=yes
5745
5746 else
5747
5748 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 cache=yes
5752 else
5753 cache=no
5754 fi
5755
5756 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5757
5758 fi
5759
5760
5761 eval "$wx_cv_use_vararg_macros"
5762 if test "x$cache" = xyes; then
5763 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5764 fi
5765
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_VARARG_MACROS = yes; then
5768 result=no
5769 else
5770 result=yes
5771 fi
5772 else
5773 result=$wxUSE_VARARG_MACROS
5774 fi
5775
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5778
5779
5780 enablestring=
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5783 # Check whether --enable-universal_binary was given.
5784 if test "${enable_universal_binary+set}" = set; then
5785 enableval=$enable_universal_binary;
5786 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5787 cache=yes
5788
5789 else
5790
5791 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x ; then
5793 eval "DEFAULT_$LINE"
5794 cache=yes
5795 else
5796 cache=no
5797 fi
5798
5799 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5800
5801 fi
5802
5803
5804 eval "$wx_cv_use_universal_binary"
5805 if test "x$cache" = xyes; then
5806 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5807 fi
5808
5809 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5810 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5811
5812
5813
5814 enablestring=
5815 defaultval=
5816 if test -z "$defaultval"; then
5817 if test x"$enablestring" = xdisable; then
5818 defaultval=yes
5819 else
5820 defaultval=no
5821 fi
5822 fi
5823
5824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5826 # Check whether --enable-compat26 was given.
5827 if test "${enable_compat26+set}" = set; then
5828 enableval=$enable_compat26;
5829 if test "$enableval" = yes; then
5830 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5831 else
5832 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5833 fi
5834 cache=yes
5835
5836 else
5837
5838 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x ; then
5840 eval "DEFAULT_$LINE"
5841 cache=yes
5842 else
5843 cache=no
5844 fi
5845
5846 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5847
5848 fi
5849
5850
5851 eval "$wx_cv_use_compat26"
5852 if test "x$cache" = xyes; then
5853 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5854 fi
5855
5856 if test x"$enablestring" = xdisable; then
5857 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5858 result=no
5859 else
5860 result=yes
5861 fi
5862 else
5863 result=$WXWIN_COMPATIBILITY_2_6
5864 fi
5865
5866 { echo "$as_me:$LINENO: result: $result" >&5
5867 echo "${ECHO_T}$result" >&6; }
5868
5869
5870 enablestring=disable
5871 defaultval=
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5874 defaultval=yes
5875 else
5876 defaultval=no
5877 fi
5878 fi
5879
5880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5881 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5882 # Check whether --enable-compat28 was given.
5883 if test "${enable_compat28+set}" = set; then
5884 enableval=$enable_compat28;
5885 if test "$enableval" = yes; then
5886 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5887 else
5888 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5889 fi
5890 cache=yes
5891
5892 else
5893
5894 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x ; then
5896 eval "DEFAULT_$LINE"
5897 cache=yes
5898 else
5899 cache=no
5900 fi
5901
5902 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5903
5904 fi
5905
5906
5907 eval "$wx_cv_use_compat28"
5908 if test "x$cache" = xyes; then
5909 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test x"$enablestring" = xdisable; then
5913 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5914 result=no
5915 else
5916 result=yes
5917 fi
5918 else
5919 result=$WXWIN_COMPATIBILITY_2_8
5920 fi
5921
5922 { echo "$as_me:$LINENO: result: $result" >&5
5923 echo "${ECHO_T}$result" >&6; }
5924
5925
5926
5927 enablestring=disable
5928 defaultval=
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5939 # Check whether --enable-rpath was given.
5940 if test "${enable_rpath+set}" = set; then
5941 enableval=$enable_rpath;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_rpath='wxUSE_RPATH=yes'
5944 else
5945 wx_cv_use_rpath='wxUSE_RPATH=no'
5946 fi
5947 cache=yes
5948
5949 else
5950
5951 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5952 if test "x$LINE" != x ; then
5953 eval "DEFAULT_$LINE"
5954 cache=yes
5955 else
5956 cache=no
5957 fi
5958
5959 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5960
5961 fi
5962
5963
5964 eval "$wx_cv_use_rpath"
5965 if test "x$cache" = xyes; then
5966 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_RPATH = yes; then
5971 result=no
5972 else
5973 result=yes
5974 fi
5975 else
5976 result=$wxUSE_RPATH
5977 fi
5978
5979 { echo "$as_me:$LINENO: result: $result" >&5
5980 echo "${ECHO_T}$result" >&6; }
5981
5982
5983
5984 enablestring=
5985 defaultval=
5986 if test -z "$defaultval"; then
5987 if test x"$enablestring" = xdisable; then
5988 defaultval=yes
5989 else
5990 defaultval=no
5991 fi
5992 fi
5993
5994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5995 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5996 # Check whether --enable-objc_uniquifying was given.
5997 if test "${enable_objc_uniquifying+set}" = set; then
5998 enableval=$enable_objc_uniquifying;
5999 if test "$enableval" = yes; then
6000 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6001 else
6002 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6003 fi
6004 cache=yes
6005
6006 else
6007
6008 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6011 cache=yes
6012 else
6013 cache=no
6014 fi
6015
6016 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6017
6018 fi
6019
6020
6021 eval "$wx_cv_use_objc_uniquifying"
6022 if test "x$cache" = xyes; then
6023 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6024 fi
6025
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6028 result=no
6029 else
6030 result=yes
6031 fi
6032 else
6033 result=$wxUSE_OBJC_UNIQUIFYING
6034 fi
6035
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6038
6039
6040
6041 enablestring=disable
6042 defaultval=
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6045 defaultval=yes
6046 else
6047 defaultval=no
6048 fi
6049 fi
6050
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6053 # Check whether --enable-visibility was given.
6054 if test "${enable_visibility+set}" = set; then
6055 enableval=$enable_visibility;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6058 else
6059 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6060 fi
6061 cache=yes
6062
6063 else
6064
6065 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 cache=yes
6069 else
6070 cache=no
6071 fi
6072
6073 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6074
6075 fi
6076
6077
6078 eval "$wx_cv_use_visibility"
6079 if test "x$cache" = xyes; then
6080 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_VISIBILITY = yes; then
6085 result=no
6086 else
6087 result=yes
6088 fi
6089 else
6090 result=$wxUSE_VISIBILITY
6091 fi
6092
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6095
6096
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6111 # Check whether --enable-intl was given.
6112 if test "${enable_intl+set}" = set; then
6113 enableval=$enable_intl;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_intl='wxUSE_INTL=yes'
6116 else
6117 wx_cv_use_intl='wxUSE_INTL=no'
6118 fi
6119 cache=yes
6120
6121 else
6122
6123 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6126 cache=yes
6127 else
6128 cache=no
6129 fi
6130
6131 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6132
6133 fi
6134
6135
6136 eval "$wx_cv_use_intl"
6137 if test "x$cache" = xyes; then
6138 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6139 fi
6140
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_INTL = yes; then
6143 result=no
6144 else
6145 result=yes
6146 fi
6147 else
6148 result=$wxUSE_INTL
6149 fi
6150
6151 { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6153
6154
6155 enablestring=
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6159 defaultval=yes
6160 else
6161 defaultval=no
6162 fi
6163 fi
6164
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6167 # Check whether --enable-config was given.
6168 if test "${enable_config+set}" = set; then
6169 enableval=$enable_config;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_config='wxUSE_CONFIG=yes'
6172 else
6173 wx_cv_use_config='wxUSE_CONFIG=no'
6174 fi
6175 cache=yes
6176
6177 else
6178
6179 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x ; then
6181 eval "DEFAULT_$LINE"
6182 cache=yes
6183 else
6184 cache=no
6185 fi
6186
6187 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6188
6189 fi
6190
6191
6192 eval "$wx_cv_use_config"
6193 if test "x$cache" = xyes; then
6194 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test x"$enablestring" = xdisable; then
6198 if test $wxUSE_CONFIG = yes; then
6199 result=no
6200 else
6201 result=yes
6202 fi
6203 else
6204 result=$wxUSE_CONFIG
6205 fi
6206
6207 { echo "$as_me:$LINENO: result: $result" >&5
6208 echo "${ECHO_T}$result" >&6; }
6209
6210
6211
6212 enablestring=
6213 defaultval=$wxUSE_ALL_FEATURES
6214 if test -z "$defaultval"; then
6215 if test x"$enablestring" = xdisable; then
6216 defaultval=yes
6217 else
6218 defaultval=no
6219 fi
6220 fi
6221
6222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6224 # Check whether --enable-protocols was given.
6225 if test "${enable_protocols+set}" = set; then
6226 enableval=$enable_protocols;
6227 if test "$enableval" = yes; then
6228 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6229 else
6230 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6231 fi
6232 cache=yes
6233
6234 else
6235
6236 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6239 cache=yes
6240 else
6241 cache=no
6242 fi
6243
6244 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6245
6246 fi
6247
6248
6249 eval "$wx_cv_use_protocols"
6250 if test "x$cache" = xyes; then
6251 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_PROTOCOL = yes; then
6256 result=no
6257 else
6258 result=yes
6259 fi
6260 else
6261 result=$wxUSE_PROTOCOL
6262 fi
6263
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6266
6267
6268 enablestring=
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6272 defaultval=yes
6273 else
6274 defaultval=no
6275 fi
6276 fi
6277
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6280 # Check whether --enable-ftp was given.
6281 if test "${enable_ftp+set}" = set; then
6282 enableval=$enable_ftp;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6285 else
6286 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6287 fi
6288 cache=yes
6289
6290 else
6291
6292 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 cache=yes
6296 else
6297 cache=no
6298 fi
6299
6300 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_ftp"
6306 if test "x$cache" = xyes; then
6307 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6308 fi
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_PROTOCOL_FTP = yes; then
6312 result=no
6313 else
6314 result=yes
6315 fi
6316 else
6317 result=$wxUSE_PROTOCOL_FTP
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6336 # Check whether --enable-http was given.
6337 if test "${enable_http+set}" = set; then
6338 enableval=$enable_http;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6341 else
6342 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6343 fi
6344 cache=yes
6345
6346 else
6347
6348 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6351 cache=yes
6352 else
6353 cache=no
6354 fi
6355
6356 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6357
6358 fi
6359
6360
6361 eval "$wx_cv_use_http"
6362 if test "x$cache" = xyes; then
6363 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_PROTOCOL_HTTP = yes; then
6368 result=no
6369 else
6370 result=yes
6371 fi
6372 else
6373 result=$wxUSE_PROTOCOL_HTTP
6374 fi
6375
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6378
6379
6380 enablestring=
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6384 defaultval=yes
6385 else
6386 defaultval=no
6387 fi
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6392 # Check whether --enable-fileproto was given.
6393 if test "${enable_fileproto+set}" = set; then
6394 enableval=$enable_fileproto;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6397 else
6398 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6399 fi
6400 cache=yes
6401
6402 else
6403
6404 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 cache=yes
6408 else
6409 cache=no
6410 fi
6411
6412 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6413
6414 fi
6415
6416
6417 eval "$wx_cv_use_fileproto"
6418 if test "x$cache" = xyes; then
6419 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6420 fi
6421
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_PROTOCOL_FILE = yes; then
6424 result=no
6425 else
6426 result=yes
6427 fi
6428 else
6429 result=$wxUSE_PROTOCOL_FILE
6430 fi
6431
6432 { echo "$as_me:$LINENO: result: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6434
6435
6436 enablestring=
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6440 defaultval=yes
6441 else
6442 defaultval=no
6443 fi
6444 fi
6445
6446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6448 # Check whether --enable-sockets was given.
6449 if test "${enable_sockets+set}" = set; then
6450 enableval=$enable_sockets;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6453 else
6454 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6455 fi
6456 cache=yes
6457
6458 else
6459
6460 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6463 cache=yes
6464 else
6465 cache=no
6466 fi
6467
6468 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6469
6470 fi
6471
6472
6473 eval "$wx_cv_use_sockets"
6474 if test "x$cache" = xyes; then
6475 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test x"$enablestring" = xdisable; then
6479 if test $wxUSE_SOCKETS = yes; then
6480 result=no
6481 else
6482 result=yes
6483 fi
6484 else
6485 result=$wxUSE_SOCKETS
6486 fi
6487
6488 { echo "$as_me:$LINENO: result: $result" >&5
6489 echo "${ECHO_T}$result" >&6; }
6490
6491
6492 enablestring=
6493 defaultval=$wxUSE_ALL_FEATURES
6494 if test -z "$defaultval"; then
6495 if test x"$enablestring" = xdisable; then
6496 defaultval=yes
6497 else
6498 defaultval=no
6499 fi
6500 fi
6501
6502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6504 # Check whether --enable-ole was given.
6505 if test "${enable_ole+set}" = set; then
6506 enableval=$enable_ole;
6507 if test "$enableval" = yes; then
6508 wx_cv_use_ole='wxUSE_OLE=yes'
6509 else
6510 wx_cv_use_ole='wxUSE_OLE=no'
6511 fi
6512 cache=yes
6513
6514 else
6515
6516 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6519 cache=yes
6520 else
6521 cache=no
6522 fi
6523
6524 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6525
6526 fi
6527
6528
6529 eval "$wx_cv_use_ole"
6530 if test "x$cache" = xyes; then
6531 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6532 fi
6533
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_OLE = yes; then
6536 result=no
6537 else
6538 result=yes
6539 fi
6540 else
6541 result=$wxUSE_OLE
6542 fi
6543
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6546
6547
6548 enablestring=
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6552 defaultval=yes
6553 else
6554 defaultval=no
6555 fi
6556 fi
6557
6558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6560 # Check whether --enable-dataobj was given.
6561 if test "${enable_dataobj+set}" = set; then
6562 enableval=$enable_dataobj;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6565 else
6566 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6567 fi
6568 cache=yes
6569
6570 else
6571
6572 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6573 if test "x$LINE" != x ; then
6574 eval "DEFAULT_$LINE"
6575 cache=yes
6576 else
6577 cache=no
6578 fi
6579
6580 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6581
6582 fi
6583
6584
6585 eval "$wx_cv_use_dataobj"
6586 if test "x$cache" = xyes; then
6587 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6588 fi
6589
6590 if test x"$enablestring" = xdisable; then
6591 if test $wxUSE_DATAOBJ = yes; then
6592 result=no
6593 else
6594 result=yes
6595 fi
6596 else
6597 result=$wxUSE_DATAOBJ
6598 fi
6599
6600 { echo "$as_me:$LINENO: result: $result" >&5
6601 echo "${ECHO_T}$result" >&6; }
6602
6603
6604
6605 enablestring=
6606 defaultval=$wxUSE_ALL_FEATURES
6607 if test -z "$defaultval"; then
6608 if test x"$enablestring" = xdisable; then
6609 defaultval=yes
6610 else
6611 defaultval=no
6612 fi
6613 fi
6614
6615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6616 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6617 # Check whether --enable-ipc was given.
6618 if test "${enable_ipc+set}" = set; then
6619 enableval=$enable_ipc;
6620 if test "$enableval" = yes; then
6621 wx_cv_use_ipc='wxUSE_IPC=yes'
6622 else
6623 wx_cv_use_ipc='wxUSE_IPC=no'
6624 fi
6625 cache=yes
6626
6627 else
6628
6629 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x ; then
6631 eval "DEFAULT_$LINE"
6632 cache=yes
6633 else
6634 cache=no
6635 fi
6636
6637 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6638
6639 fi
6640
6641
6642 eval "$wx_cv_use_ipc"
6643 if test "x$cache" = xyes; then
6644 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6645 fi
6646
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_IPC = yes; then
6649 result=no
6650 else
6651 result=yes
6652 fi
6653 else
6654 result=$wxUSE_IPC
6655 fi
6656
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6659
6660
6661
6662 enablestring=
6663 defaultval=$wxUSE_ALL_FEATURES
6664 if test -z "$defaultval"; then
6665 if test x"$enablestring" = xdisable; then
6666 defaultval=yes
6667 else
6668 defaultval=no
6669 fi
6670 fi
6671
6672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6674 # Check whether --enable-baseevtloop was given.
6675 if test "${enable_baseevtloop+set}" = set; then
6676 enableval=$enable_baseevtloop;
6677 if test "$enableval" = yes; then
6678 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6679 else
6680 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6681 fi
6682 cache=yes
6683
6684 else
6685
6686 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x ; then
6688 eval "DEFAULT_$LINE"
6689 cache=yes
6690 else
6691 cache=no
6692 fi
6693
6694 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6695
6696 fi
6697
6698
6699 eval "$wx_cv_use_baseevtloop"
6700 if test "x$cache" = xyes; then
6701 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6706 result=no
6707 else
6708 result=yes
6709 fi
6710 else
6711 result=$wxUSE_CONSOLE_EVENTLOOP
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6730 # Check whether --enable-epollloop was given.
6731 if test "${enable_epollloop+set}" = set; then
6732 enableval=$enable_epollloop;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6735 else
6736 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6737 fi
6738 cache=yes
6739
6740 else
6741
6742 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x ; then
6744 eval "DEFAULT_$LINE"
6745 cache=yes
6746 else
6747 cache=no
6748 fi
6749
6750 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6751
6752 fi
6753
6754
6755 eval "$wx_cv_use_epollloop"
6756 if test "x$cache" = xyes; then
6757 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test x"$enablestring" = xdisable; then
6761 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6762 result=no
6763 else
6764 result=yes
6765 fi
6766 else
6767 result=$wxUSE_EPOLL_DISPATCHER
6768 fi
6769
6770 { echo "$as_me:$LINENO: result: $result" >&5
6771 echo "${ECHO_T}$result" >&6; }
6772
6773
6774 enablestring=
6775 defaultval=$wxUSE_ALL_FEATURES
6776 if test -z "$defaultval"; then
6777 if test x"$enablestring" = xdisable; then
6778 defaultval=yes
6779 else
6780 defaultval=no
6781 fi
6782 fi
6783
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6786 # Check whether --enable-selectloop was given.
6787 if test "${enable_selectloop+set}" = set; then
6788 enableval=$enable_selectloop;
6789 if test "$enableval" = yes; then
6790 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6791 else
6792 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6793 fi
6794 cache=yes
6795
6796 else
6797
6798 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6801 cache=yes
6802 else
6803 cache=no
6804 fi
6805
6806 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6807
6808 fi
6809
6810
6811 eval "$wx_cv_use_selectloop"
6812 if test "x$cache" = xyes; then
6813 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6814 fi
6815
6816 if test x"$enablestring" = xdisable; then
6817 if test $wxUSE_SELECT_DISPATCHER = yes; then
6818 result=no
6819 else
6820 result=yes
6821 fi
6822 else
6823 result=$wxUSE_SELECT_DISPATCHER
6824 fi
6825
6826 { echo "$as_me:$LINENO: result: $result" >&5
6827 echo "${ECHO_T}$result" >&6; }
6828
6829
6830
6831 enablestring=
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6835 defaultval=yes
6836 else
6837 defaultval=no
6838 fi
6839 fi
6840
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6843 # Check whether --enable-apple_ieee was given.
6844 if test "${enable_apple_ieee+set}" = set; then
6845 enableval=$enable_apple_ieee;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6848 else
6849 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6850 fi
6851 cache=yes
6852
6853 else
6854
6855 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 cache=yes
6859 else
6860 cache=no
6861 fi
6862
6863 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6864
6865 fi
6866
6867
6868 eval "$wx_cv_use_apple_ieee"
6869 if test "x$cache" = xyes; then
6870 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6871 fi
6872
6873 if test x"$enablestring" = xdisable; then
6874 if test $wxUSE_APPLE_IEEE = yes; then
6875 result=no
6876 else
6877 result=yes
6878 fi
6879 else
6880 result=$wxUSE_APPLE_IEEE
6881 fi
6882
6883 { echo "$as_me:$LINENO: result: $result" >&5
6884 echo "${ECHO_T}$result" >&6; }
6885
6886
6887 enablestring=
6888 defaultval=$wxUSE_ALL_FEATURES
6889 if test -z "$defaultval"; then
6890 if test x"$enablestring" = xdisable; then
6891 defaultval=yes
6892 else
6893 defaultval=no
6894 fi
6895 fi
6896
6897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6898 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6899 # Check whether --enable-arcstream was given.
6900 if test "${enable_arcstream+set}" = set; then
6901 enableval=$enable_arcstream;
6902 if test "$enableval" = yes; then
6903 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6904 else
6905 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6906 fi
6907 cache=yes
6908
6909 else
6910
6911 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x ; then
6913 eval "DEFAULT_$LINE"
6914 cache=yes
6915 else
6916 cache=no
6917 fi
6918
6919 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6920
6921 fi
6922
6923
6924 eval "$wx_cv_use_arcstream"
6925 if test "x$cache" = xyes; then
6926 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6931 result=no
6932 else
6933 result=yes
6934 fi
6935 else
6936 result=$wxUSE_ARCHIVE_STREAMS
6937 fi
6938
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6941
6942
6943 enablestring=
6944 defaultval=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6947 defaultval=yes
6948 else
6949 defaultval=no
6950 fi
6951 fi
6952
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6955 # Check whether --enable-base64 was given.
6956 if test "${enable_base64+set}" = set; then
6957 enableval=$enable_base64;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_base64='wxUSE_BASE64=yes'
6960 else
6961 wx_cv_use_base64='wxUSE_BASE64=no'
6962 fi
6963 cache=yes
6964
6965 else
6966
6967 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6968 if test "x$LINE" != x ; then
6969 eval "DEFAULT_$LINE"
6970 cache=yes
6971 else
6972 cache=no
6973 fi
6974
6975 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6976
6977 fi
6978
6979
6980 eval "$wx_cv_use_base64"
6981 if test "x$cache" = xyes; then
6982 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6983 fi
6984
6985 if test x"$enablestring" = xdisable; then
6986 if test $wxUSE_BASE64 = yes; then
6987 result=no
6988 else
6989 result=yes
6990 fi
6991 else
6992 result=$wxUSE_BASE64
6993 fi
6994
6995 { echo "$as_me:$LINENO: result: $result" >&5
6996 echo "${ECHO_T}$result" >&6; }
6997
6998
6999 enablestring=
7000 defaultval=$wxUSE_ALL_FEATURES
7001 if test -z "$defaultval"; then
7002 if test x"$enablestring" = xdisable; then
7003 defaultval=yes
7004 else
7005 defaultval=no
7006 fi
7007 fi
7008
7009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7011 # Check whether --enable-backtrace was given.
7012 if test "${enable_backtrace+set}" = set; then
7013 enableval=$enable_backtrace;
7014 if test "$enableval" = yes; then
7015 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7016 else
7017 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7018 fi
7019 cache=yes
7020
7021 else
7022
7023 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7026 cache=yes
7027 else
7028 cache=no
7029 fi
7030
7031 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7032
7033 fi
7034
7035
7036 eval "$wx_cv_use_backtrace"
7037 if test "x$cache" = xyes; then
7038 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7039 fi
7040
7041 if test x"$enablestring" = xdisable; then
7042 if test $wxUSE_STACKWALKER = yes; then
7043 result=no
7044 else
7045 result=yes
7046 fi
7047 else
7048 result=$wxUSE_STACKWALKER
7049 fi
7050
7051 { echo "$as_me:$LINENO: result: $result" >&5
7052 echo "${ECHO_T}$result" >&6; }
7053
7054
7055 enablestring=
7056 defaultval=$wxUSE_ALL_FEATURES
7057 if test -z "$defaultval"; then
7058 if test x"$enablestring" = xdisable; then
7059 defaultval=yes
7060 else
7061 defaultval=no
7062 fi
7063 fi
7064
7065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7067 # Check whether --enable-catch_segvs was given.
7068 if test "${enable_catch_segvs+set}" = set; then
7069 enableval=$enable_catch_segvs;
7070 if test "$enableval" = yes; then
7071 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7072 else
7073 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7074 fi
7075 cache=yes
7076
7077 else
7078
7079 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 cache=yes
7083 else
7084 cache=no
7085 fi
7086
7087 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7088
7089 fi
7090
7091
7092 eval "$wx_cv_use_catch_segvs"
7093 if test "x$cache" = xyes; then
7094 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7095 fi
7096
7097 if test x"$enablestring" = xdisable; then
7098 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7099 result=no
7100 else
7101 result=yes
7102 fi
7103 else
7104 result=$wxUSE_ON_FATAL_EXCEPTION
7105 fi
7106
7107 { echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6; }
7109
7110
7111 enablestring=
7112 defaultval=$wxUSE_ALL_FEATURES
7113 if test -z "$defaultval"; then
7114 if test x"$enablestring" = xdisable; then
7115 defaultval=yes
7116 else
7117 defaultval=no
7118 fi
7119 fi
7120
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7123 # Check whether --enable-cmdline was given.
7124 if test "${enable_cmdline+set}" = set; then
7125 enableval=$enable_cmdline;
7126 if test "$enableval" = yes; then
7127 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7128 else
7129 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7130 fi
7131 cache=yes
7132
7133 else
7134
7135 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x ; then
7137 eval "DEFAULT_$LINE"
7138 cache=yes
7139 else
7140 cache=no
7141 fi
7142
7143 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7144
7145 fi
7146
7147
7148 eval "$wx_cv_use_cmdline"
7149 if test "x$cache" = xyes; then
7150 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7151 fi
7152
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_CMDLINE_PARSER = yes; then
7155 result=no
7156 else
7157 result=yes
7158 fi
7159 else
7160 result=$wxUSE_CMDLINE_PARSER
7161 fi
7162
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7165
7166
7167 enablestring=
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7171 defaultval=yes
7172 else
7173 defaultval=no
7174 fi
7175 fi
7176
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7179 # Check whether --enable-datetime was given.
7180 if test "${enable_datetime+set}" = set; then
7181 enableval=$enable_datetime;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7184 else
7185 wx_cv_use_datetime='wxUSE_DATETIME=no'
7186 fi
7187 cache=yes
7188
7189 else
7190
7191 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 cache=yes
7195 else
7196 cache=no
7197 fi
7198
7199 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7200
7201 fi
7202
7203
7204 eval "$wx_cv_use_datetime"
7205 if test "x$cache" = xyes; then
7206 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7207 fi
7208
7209 if test x"$enablestring" = xdisable; then
7210 if test $wxUSE_DATETIME = yes; then
7211 result=no
7212 else
7213 result=yes
7214 fi
7215 else
7216 result=$wxUSE_DATETIME
7217 fi
7218
7219 { echo "$as_me:$LINENO: result: $result" >&5
7220 echo "${ECHO_T}$result" >&6; }
7221
7222
7223 enablestring=
7224 defaultval=$wxUSE_ALL_FEATURES
7225 if test -z "$defaultval"; then
7226 if test x"$enablestring" = xdisable; then
7227 defaultval=yes
7228 else
7229 defaultval=no
7230 fi
7231 fi
7232
7233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7235 # Check whether --enable-debugreport was given.
7236 if test "${enable_debugreport+set}" = set; then
7237 enableval=$enable_debugreport;
7238 if test "$enableval" = yes; then
7239 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7240 else
7241 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7242 fi
7243 cache=yes
7244
7245 else
7246
7247 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x ; then
7249 eval "DEFAULT_$LINE"
7250 cache=yes
7251 else
7252 cache=no
7253 fi
7254
7255 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7256
7257 fi
7258
7259
7260 eval "$wx_cv_use_debugreport"
7261 if test "x$cache" = xyes; then
7262 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7263 fi
7264
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_DEBUGREPORT = yes; then
7267 result=no
7268 else
7269 result=yes
7270 fi
7271 else
7272 result=$wxUSE_DEBUGREPORT
7273 fi
7274
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7277
7278
7279 enablestring=
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7283 defaultval=yes
7284 else
7285 defaultval=no
7286 fi
7287 fi
7288
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7291 # Check whether --enable-dialupman was given.
7292 if test "${enable_dialupman+set}" = set; then
7293 enableval=$enable_dialupman;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7296 else
7297 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7298 fi
7299 cache=yes
7300
7301 else
7302
7303 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x ; then
7305 eval "DEFAULT_$LINE"
7306 cache=yes
7307 else
7308 cache=no
7309 fi
7310
7311 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7312
7313 fi
7314
7315
7316 eval "$wx_cv_use_dialupman"
7317 if test "x$cache" = xyes; then
7318 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_DIALUP_MANAGER = yes; then
7323 result=no
7324 else
7325 result=yes
7326 fi
7327 else
7328 result=$wxUSE_DIALUP_MANAGER
7329 fi
7330
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7333
7334
7335 enablestring=
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7339 defaultval=yes
7340 else
7341 defaultval=no
7342 fi
7343 fi
7344
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7347 # Check whether --enable-dynlib was given.
7348 if test "${enable_dynlib+set}" = set; then
7349 enableval=$enable_dynlib;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7352 else
7353 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7354 fi
7355 cache=yes
7356
7357 else
7358
7359 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x ; then
7361 eval "DEFAULT_$LINE"
7362 cache=yes
7363 else
7364 cache=no
7365 fi
7366
7367 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7368
7369 fi
7370
7371
7372 eval "$wx_cv_use_dynlib"
7373 if test "x$cache" = xyes; then
7374 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7375 fi
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_DYNLIB_CLASS = yes; then
7379 result=no
7380 else
7381 result=yes
7382 fi
7383 else
7384 result=$wxUSE_DYNLIB_CLASS
7385 fi
7386
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7389
7390
7391 enablestring=
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7395 defaultval=yes
7396 else
7397 defaultval=no
7398 fi
7399 fi
7400
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7403 # Check whether --enable-dynamicloader was given.
7404 if test "${enable_dynamicloader+set}" = set; then
7405 enableval=$enable_dynamicloader;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7408 else
7409 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7410 fi
7411 cache=yes
7412
7413 else
7414
7415 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7418 cache=yes
7419 else
7420 cache=no
7421 fi
7422
7423 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7424
7425 fi
7426
7427
7428 eval "$wx_cv_use_dynamicloader"
7429 if test "x$cache" = xyes; then
7430 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_DYNAMIC_LOADER = yes; then
7435 result=no
7436 else
7437 result=yes
7438 fi
7439 else
7440 result=$wxUSE_DYNAMIC_LOADER
7441 fi
7442
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7445
7446
7447 enablestring=
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7451 defaultval=yes
7452 else
7453 defaultval=no
7454 fi
7455 fi
7456
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7459 # Check whether --enable-exceptions was given.
7460 if test "${enable_exceptions+set}" = set; then
7461 enableval=$enable_exceptions;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7464 else
7465 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7466 fi
7467 cache=yes
7468
7469 else
7470
7471 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x ; then
7473 eval "DEFAULT_$LINE"
7474 cache=yes
7475 else
7476 cache=no
7477 fi
7478
7479 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7480
7481 fi
7482
7483
7484 eval "$wx_cv_use_exceptions"
7485 if test "x$cache" = xyes; then
7486 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test x"$enablestring" = xdisable; then
7490 if test $wxUSE_EXCEPTIONS = yes; then
7491 result=no
7492 else
7493 result=yes
7494 fi
7495 else
7496 result=$wxUSE_EXCEPTIONS
7497 fi
7498
7499 { echo "$as_me:$LINENO: result: $result" >&5
7500 echo "${ECHO_T}$result" >&6; }
7501
7502
7503 enablestring=
7504 defaultval=$wxUSE_ALL_FEATURES
7505 if test -z "$defaultval"; then
7506 if test x"$enablestring" = xdisable; then
7507 defaultval=yes
7508 else
7509 defaultval=no
7510 fi
7511 fi
7512
7513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7515 # Check whether --enable-ffile was given.
7516 if test "${enable_ffile+set}" = set; then
7517 enableval=$enable_ffile;
7518 if test "$enableval" = yes; then
7519 wx_cv_use_ffile='wxUSE_FFILE=yes'
7520 else
7521 wx_cv_use_ffile='wxUSE_FFILE=no'
7522 fi
7523 cache=yes
7524
7525 else
7526
7527 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x ; then
7529 eval "DEFAULT_$LINE"
7530 cache=yes
7531 else
7532 cache=no
7533 fi
7534
7535 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7536
7537 fi
7538
7539
7540 eval "$wx_cv_use_ffile"
7541 if test "x$cache" = xyes; then
7542 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7543 fi
7544
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_FFILE = yes; then
7547 result=no
7548 else
7549 result=yes
7550 fi
7551 else
7552 result=$wxUSE_FFILE
7553 fi
7554
7555 { echo "$as_me:$LINENO: result: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7557
7558
7559 enablestring=
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7563 defaultval=yes
7564 else
7565 defaultval=no
7566 fi
7567 fi
7568
7569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7571 # Check whether --enable-file was given.
7572 if test "${enable_file+set}" = set; then
7573 enableval=$enable_file;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_file='wxUSE_FILE=yes'
7576 else
7577 wx_cv_use_file='wxUSE_FILE=no'
7578 fi
7579 cache=yes
7580
7581 else
7582
7583 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7584 if test "x$LINE" != x ; then
7585 eval "DEFAULT_$LINE"
7586 cache=yes
7587 else
7588 cache=no
7589 fi
7590
7591 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7592
7593 fi
7594
7595
7596 eval "$wx_cv_use_file"
7597 if test "x$cache" = xyes; then
7598 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7599 fi
7600
7601 if test x"$enablestring" = xdisable; then
7602 if test $wxUSE_FILE = yes; then
7603 result=no
7604 else
7605 result=yes
7606 fi
7607 else
7608 result=$wxUSE_FILE
7609 fi
7610
7611 { echo "$as_me:$LINENO: result: $result" >&5
7612 echo "${ECHO_T}$result" >&6; }
7613
7614
7615 enablestring=
7616 defaultval=$wxUSE_ALL_FEATURES
7617 if test -z "$defaultval"; then
7618 if test x"$enablestring" = xdisable; then
7619 defaultval=yes
7620 else
7621 defaultval=no
7622 fi
7623 fi
7624
7625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7627 # Check whether --enable-filesystem was given.
7628 if test "${enable_filesystem+set}" = set; then
7629 enableval=$enable_filesystem;
7630 if test "$enableval" = yes; then
7631 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7632 else
7633 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7634 fi
7635 cache=yes
7636
7637 else
7638
7639 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x ; then
7641 eval "DEFAULT_$LINE"
7642 cache=yes
7643 else
7644 cache=no
7645 fi
7646
7647 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7648
7649 fi
7650
7651
7652 eval "$wx_cv_use_filesystem"
7653 if test "x$cache" = xyes; then
7654 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7655 fi
7656
7657 if test x"$enablestring" = xdisable; then
7658 if test $wxUSE_FILESYSTEM = yes; then
7659 result=no
7660 else
7661 result=yes
7662 fi
7663 else
7664 result=$wxUSE_FILESYSTEM
7665 fi
7666
7667 { echo "$as_me:$LINENO: result: $result" >&5
7668 echo "${ECHO_T}$result" >&6; }
7669
7670
7671 enablestring=
7672 defaultval=$wxUSE_ALL_FEATURES
7673 if test -z "$defaultval"; then
7674 if test x"$enablestring" = xdisable; then
7675 defaultval=yes
7676 else
7677 defaultval=no
7678 fi
7679 fi
7680
7681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7682 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7683 # Check whether --enable-fontenum was given.
7684 if test "${enable_fontenum+set}" = set; then
7685 enableval=$enable_fontenum;
7686 if test "$enableval" = yes; then
7687 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7688 else
7689 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7690 fi
7691 cache=yes
7692
7693 else
7694
7695 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7698 cache=yes
7699 else
7700 cache=no
7701 fi
7702
7703 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7704
7705 fi
7706
7707
7708 eval "$wx_cv_use_fontenum"
7709 if test "x$cache" = xyes; then
7710 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7711 fi
7712
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_FONTENUM = yes; then
7715 result=no
7716 else
7717 result=yes
7718 fi
7719 else
7720 result=$wxUSE_FONTENUM
7721 fi
7722
7723 { echo "$as_me:$LINENO: result: $result" >&5
7724 echo "${ECHO_T}$result" >&6; }
7725
7726
7727 enablestring=
7728 defaultval=$wxUSE_ALL_FEATURES
7729 if test -z "$defaultval"; then
7730 if test x"$enablestring" = xdisable; then
7731 defaultval=yes
7732 else
7733 defaultval=no
7734 fi
7735 fi
7736
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7739 # Check whether --enable-fontmap was given.
7740 if test "${enable_fontmap+set}" = set; then
7741 enableval=$enable_fontmap;
7742 if test "$enableval" = yes; then
7743 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7744 else
7745 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7746 fi
7747 cache=yes
7748
7749 else
7750
7751 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7752 if test "x$LINE" != x ; then
7753 eval "DEFAULT_$LINE"
7754 cache=yes
7755 else
7756 cache=no
7757 fi
7758
7759 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7760
7761 fi
7762
7763
7764 eval "$wx_cv_use_fontmap"
7765 if test "x$cache" = xyes; then
7766 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7767 fi
7768
7769 if test x"$enablestring" = xdisable; then
7770 if test $wxUSE_FONTMAP = yes; then
7771 result=no
7772 else
7773 result=yes
7774 fi
7775 else
7776 result=$wxUSE_FONTMAP
7777 fi
7778
7779 { echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6; }
7781
7782
7783 enablestring=
7784 defaultval=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x"$enablestring" = xdisable; then
7787 defaultval=yes
7788 else
7789 defaultval=no
7790 fi
7791 fi
7792
7793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7795 # Check whether --enable-fs_archive was given.
7796 if test "${enable_fs_archive+set}" = set; then
7797 enableval=$enable_fs_archive;
7798 if test "$enableval" = yes; then
7799 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7800 else
7801 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7802 fi
7803 cache=yes
7804
7805 else
7806
7807 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 cache=yes
7811 else
7812 cache=no
7813 fi
7814
7815 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7816
7817 fi
7818
7819
7820 eval "$wx_cv_use_fs_archive"
7821 if test "x$cache" = xyes; then
7822 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test x"$enablestring" = xdisable; then
7826 if test $wxUSE_FS_ARCHIVE = yes; then
7827 result=no
7828 else
7829 result=yes
7830 fi
7831 else
7832 result=$wxUSE_FS_ARCHIVE
7833 fi
7834
7835 { echo "$as_me:$LINENO: result: $result" >&5
7836 echo "${ECHO_T}$result" >&6; }
7837
7838
7839 enablestring=
7840 defaultval=$wxUSE_ALL_FEATURES
7841 if test -z "$defaultval"; then
7842 if test x"$enablestring" = xdisable; then
7843 defaultval=yes
7844 else
7845 defaultval=no
7846 fi
7847 fi
7848
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7851 # Check whether --enable-fs_inet was given.
7852 if test "${enable_fs_inet+set}" = set; then
7853 enableval=$enable_fs_inet;
7854 if test "$enableval" = yes; then
7855 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7856 else
7857 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7858 fi
7859 cache=yes
7860
7861 else
7862
7863 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 cache=yes
7867 else
7868 cache=no
7869 fi
7870
7871 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7872
7873 fi
7874
7875
7876 eval "$wx_cv_use_fs_inet"
7877 if test "x$cache" = xyes; then
7878 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7879 fi
7880
7881 if test x"$enablestring" = xdisable; then
7882 if test $wxUSE_FS_INET = yes; then
7883 result=no
7884 else
7885 result=yes
7886 fi
7887 else
7888 result=$wxUSE_FS_INET
7889 fi
7890
7891 { echo "$as_me:$LINENO: result: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7893
7894
7895 enablestring=
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7899 defaultval=yes
7900 else
7901 defaultval=no
7902 fi
7903 fi
7904
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7907 # Check whether --enable-fs_zip was given.
7908 if test "${enable_fs_zip+set}" = set; then
7909 enableval=$enable_fs_zip;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7912 else
7913 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7914 fi
7915 cache=yes
7916
7917 else
7918
7919 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7922 cache=yes
7923 else
7924 cache=no
7925 fi
7926
7927 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7928
7929 fi
7930
7931
7932 eval "$wx_cv_use_fs_zip"
7933 if test "x$cache" = xyes; then
7934 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_FS_ZIP = yes; then
7939 result=no
7940 else
7941 result=yes
7942 fi
7943 else
7944 result=$wxUSE_FS_ZIP
7945 fi
7946
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7949
7950
7951 enablestring=
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7955 defaultval=yes
7956 else
7957 defaultval=no
7958 fi
7959 fi
7960
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7963 # Check whether --enable-geometry was given.
7964 if test "${enable_geometry+set}" = set; then
7965 enableval=$enable_geometry;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7968 else
7969 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7970 fi
7971 cache=yes
7972
7973 else
7974
7975 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7978 cache=yes
7979 else
7980 cache=no
7981 fi
7982
7983 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7984
7985 fi
7986
7987
7988 eval "$wx_cv_use_geometry"
7989 if test "x$cache" = xyes; then
7990 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7991 fi
7992
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_GEOMETRY = yes; then
7995 result=no
7996 else
7997 result=yes
7998 fi
7999 else
8000 result=$wxUSE_GEOMETRY
8001 fi
8002
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8005
8006
8007 enablestring=
8008 defaultval=$wxUSE_ALL_FEATURES
8009 if test -z "$defaultval"; then
8010 if test x"$enablestring" = xdisable; then
8011 defaultval=yes
8012 else
8013 defaultval=no
8014 fi
8015 fi
8016
8017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8019 # Check whether --enable-log was given.
8020 if test "${enable_log+set}" = set; then
8021 enableval=$enable_log;
8022 if test "$enableval" = yes; then
8023 wx_cv_use_log='wxUSE_LOG=yes'
8024 else
8025 wx_cv_use_log='wxUSE_LOG=no'
8026 fi
8027 cache=yes
8028
8029 else
8030
8031 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8034 cache=yes
8035 else
8036 cache=no
8037 fi
8038
8039 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8040
8041 fi
8042
8043
8044 eval "$wx_cv_use_log"
8045 if test "x$cache" = xyes; then
8046 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8047 fi
8048
8049 if test x"$enablestring" = xdisable; then
8050 if test $wxUSE_LOG = yes; then
8051 result=no
8052 else
8053 result=yes
8054 fi
8055 else
8056 result=$wxUSE_LOG
8057 fi
8058
8059 { echo "$as_me:$LINENO: result: $result" >&5
8060 echo "${ECHO_T}$result" >&6; }
8061
8062
8063 enablestring=
8064 defaultval=$wxUSE_ALL_FEATURES
8065 if test -z "$defaultval"; then
8066 if test x"$enablestring" = xdisable; then
8067 defaultval=yes
8068 else
8069 defaultval=no
8070 fi
8071 fi
8072
8073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8075 # Check whether --enable-longlong was given.
8076 if test "${enable_longlong+set}" = set; then
8077 enableval=$enable_longlong;
8078 if test "$enableval" = yes; then
8079 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8080 else
8081 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8082 fi
8083 cache=yes
8084
8085 else
8086
8087 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x ; then
8089 eval "DEFAULT_$LINE"
8090 cache=yes
8091 else
8092 cache=no
8093 fi
8094
8095 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8096
8097 fi
8098
8099
8100 eval "$wx_cv_use_longlong"
8101 if test "x$cache" = xyes; then
8102 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8103 fi
8104
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_LONGLONG = yes; then
8107 result=no
8108 else
8109 result=yes
8110 fi
8111 else
8112 result=$wxUSE_LONGLONG
8113 fi
8114
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8117
8118
8119 enablestring=
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8123 defaultval=yes
8124 else
8125 defaultval=no
8126 fi
8127 fi
8128
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8131 # Check whether --enable-mimetype was given.
8132 if test "${enable_mimetype+set}" = set; then
8133 enableval=$enable_mimetype;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8136 else
8137 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8138 fi
8139 cache=yes
8140
8141 else
8142
8143 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 cache=yes
8147 else
8148 cache=no
8149 fi
8150
8151 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8152
8153 fi
8154
8155
8156 eval "$wx_cv_use_mimetype"
8157 if test "x$cache" = xyes; then
8158 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_MIMETYPE = yes; then
8163 result=no
8164 else
8165 result=yes
8166 fi
8167 else
8168 result=$wxUSE_MIMETYPE
8169 fi
8170
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8173
8174
8175 enablestring=
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8179 defaultval=yes
8180 else
8181 defaultval=no
8182 fi
8183 fi
8184
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8187 # Check whether --enable-snglinst was given.
8188 if test "${enable_snglinst+set}" = set; then
8189 enableval=$enable_snglinst;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8192 else
8193 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8194 fi
8195 cache=yes
8196
8197 else
8198
8199 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8202 cache=yes
8203 else
8204 cache=no
8205 fi
8206
8207 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8208
8209 fi
8210
8211
8212 eval "$wx_cv_use_snglinst"
8213 if test "x$cache" = xyes; then
8214 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8215 fi
8216
8217 if test x"$enablestring" = xdisable; then
8218 if test $wxUSE_SNGLINST_CHECKER = yes; then
8219 result=no
8220 else
8221 result=yes
8222 fi
8223 else
8224 result=$wxUSE_SNGLINST_CHECKER
8225 fi
8226
8227 { echo "$as_me:$LINENO: result: $result" >&5
8228 echo "${ECHO_T}$result" >&6; }
8229
8230
8231 enablestring=
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8235 defaultval=yes
8236 else
8237 defaultval=no
8238 fi
8239 fi
8240
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8243 # Check whether --enable-stdpaths was given.
8244 if test "${enable_stdpaths+set}" = set; then
8245 enableval=$enable_stdpaths;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8248 else
8249 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8250 fi
8251 cache=yes
8252
8253 else
8254
8255 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 cache=yes
8259 else
8260 cache=no
8261 fi
8262
8263 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8264
8265 fi
8266
8267
8268 eval "$wx_cv_use_stdpaths"
8269 if test "x$cache" = xyes; then
8270 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8271 fi
8272
8273 if test x"$enablestring" = xdisable; then
8274 if test $wxUSE_STDPATHS = yes; then
8275 result=no
8276 else
8277 result=yes
8278 fi
8279 else
8280 result=$wxUSE_STDPATHS
8281 fi
8282
8283 { echo "$as_me:$LINENO: result: $result" >&5
8284 echo "${ECHO_T}$result" >&6; }
8285
8286
8287 enablestring=
8288 defaultval=$wxUSE_ALL_FEATURES
8289 if test -z "$defaultval"; then
8290 if test x"$enablestring" = xdisable; then
8291 defaultval=yes
8292 else
8293 defaultval=no
8294 fi
8295 fi
8296
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8299 # Check whether --enable-stopwatch was given.
8300 if test "${enable_stopwatch+set}" = set; then
8301 enableval=$enable_stopwatch;
8302 if test "$enableval" = yes; then
8303 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8304 else
8305 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8306 fi
8307 cache=yes
8308
8309 else
8310
8311 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 cache=yes
8315 else
8316 cache=no
8317 fi
8318
8319 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8320
8321 fi
8322
8323
8324 eval "$wx_cv_use_stopwatch"
8325 if test "x$cache" = xyes; then
8326 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8327 fi
8328
8329 if test x"$enablestring" = xdisable; then
8330 if test $wxUSE_STOPWATCH = yes; then
8331 result=no
8332 else
8333 result=yes
8334 fi
8335 else
8336 result=$wxUSE_STOPWATCH
8337 fi
8338
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8341
8342
8343 enablestring=
8344 defaultval=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x"$enablestring" = xdisable; then
8347 defaultval=yes
8348 else
8349 defaultval=no
8350 fi
8351 fi
8352
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8355 # Check whether --enable-streams was given.
8356 if test "${enable_streams+set}" = set; then
8357 enableval=$enable_streams;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_streams='wxUSE_STREAMS=yes'
8360 else
8361 wx_cv_use_streams='wxUSE_STREAMS=no'
8362 fi
8363 cache=yes
8364
8365 else
8366
8367 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x ; then
8369 eval "DEFAULT_$LINE"
8370 cache=yes
8371 else
8372 cache=no
8373 fi
8374
8375 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8376
8377 fi
8378
8379
8380 eval "$wx_cv_use_streams"
8381 if test "x$cache" = xyes; then
8382 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test x"$enablestring" = xdisable; then
8386 if test $wxUSE_STREAMS = yes; then
8387 result=no
8388 else
8389 result=yes
8390 fi
8391 else
8392 result=$wxUSE_STREAMS
8393 fi
8394
8395 { echo "$as_me:$LINENO: result: $result" >&5
8396 echo "${ECHO_T}$result" >&6; }
8397
8398
8399 enablestring=
8400 defaultval=$wxUSE_ALL_FEATURES
8401 if test -z "$defaultval"; then
8402 if test x"$enablestring" = xdisable; then
8403 defaultval=yes
8404 else
8405 defaultval=no
8406 fi
8407 fi
8408
8409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8411 # Check whether --enable-system_options was given.
8412 if test "${enable_system_options+set}" = set; then
8413 enableval=$enable_system_options;
8414 if test "$enableval" = yes; then
8415 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8416 else
8417 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8418 fi
8419 cache=yes
8420
8421 else
8422
8423 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 cache=yes
8427 else
8428 cache=no
8429 fi
8430
8431 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8432
8433 fi
8434
8435
8436 eval "$wx_cv_use_system_options"
8437 if test "x$cache" = xyes; then
8438 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test x"$enablestring" = xdisable; then
8442 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8443 result=no
8444 else
8445 result=yes
8446 fi
8447 else
8448 result=$wxUSE_SYSTEM_OPTIONS
8449 fi
8450
8451 { echo "$as_me:$LINENO: result: $result" >&5
8452 echo "${ECHO_T}$result" >&6; }
8453
8454
8455 enablestring=
8456 defaultval=$wxUSE_ALL_FEATURES
8457 if test -z "$defaultval"; then
8458 if test x"$enablestring" = xdisable; then
8459 defaultval=yes
8460 else
8461 defaultval=no
8462 fi
8463 fi
8464
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8467 # Check whether --enable-tarstream was given.
8468 if test "${enable_tarstream+set}" = set; then
8469 enableval=$enable_tarstream;
8470 if test "$enableval" = yes; then
8471 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8472 else
8473 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8474 fi
8475 cache=yes
8476
8477 else
8478
8479 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8482 cache=yes
8483 else
8484 cache=no
8485 fi
8486
8487 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8488
8489 fi
8490
8491
8492 eval "$wx_cv_use_tarstream"
8493 if test "x$cache" = xyes; then
8494 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8495 fi
8496
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_TARSTREAM = yes; then
8499 result=no
8500 else
8501 result=yes
8502 fi
8503 else
8504 result=$wxUSE_TARSTREAM
8505 fi
8506
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8509
8510
8511 enablestring=
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8515 defaultval=yes
8516 else
8517 defaultval=no
8518 fi
8519 fi
8520
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8523 # Check whether --enable-textbuf was given.
8524 if test "${enable_textbuf+set}" = set; then
8525 enableval=$enable_textbuf;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8528 else
8529 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8530 fi
8531 cache=yes
8532
8533 else
8534
8535 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 cache=yes
8539 else
8540 cache=no
8541 fi
8542
8543 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8544
8545 fi
8546
8547
8548 eval "$wx_cv_use_textbuf"
8549 if test "x$cache" = xyes; then
8550 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test x"$enablestring" = xdisable; then
8554 if test $wxUSE_TEXTBUFFER = yes; then
8555 result=no
8556 else
8557 result=yes
8558 fi
8559 else
8560 result=$wxUSE_TEXTBUFFER
8561 fi
8562
8563 { echo "$as_me:$LINENO: result: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8565
8566
8567 enablestring=
8568 defaultval=$wxUSE_ALL_FEATURES
8569 if test -z "$defaultval"; then
8570 if test x"$enablestring" = xdisable; then
8571 defaultval=yes
8572 else
8573 defaultval=no
8574 fi
8575 fi
8576
8577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8579 # Check whether --enable-textfile was given.
8580 if test "${enable_textfile+set}" = set; then
8581 enableval=$enable_textfile;
8582 if test "$enableval" = yes; then
8583 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8584 else
8585 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8586 fi
8587 cache=yes
8588
8589 else
8590
8591 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8592 if test "x$LINE" != x ; then
8593 eval "DEFAULT_$LINE"
8594 cache=yes
8595 else
8596 cache=no
8597 fi
8598
8599 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8600
8601 fi
8602
8603
8604 eval "$wx_cv_use_textfile"
8605 if test "x$cache" = xyes; then
8606 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_TEXTFILE = yes; then
8611 result=no
8612 else
8613 result=yes
8614 fi
8615 else
8616 result=$wxUSE_TEXTFILE
8617 fi
8618
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8635 # Check whether --enable-timer was given.
8636 if test "${enable_timer+set}" = set; then
8637 enableval=$enable_timer;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_timer='wxUSE_TIMER=yes'
8640 else
8641 wx_cv_use_timer='wxUSE_TIMER=no'
8642 fi
8643 cache=yes
8644
8645 else
8646
8647 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 cache=yes
8651 else
8652 cache=no
8653 fi
8654
8655 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8656
8657 fi
8658
8659
8660 eval "$wx_cv_use_timer"
8661 if test "x$cache" = xyes; then
8662 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test x"$enablestring" = xdisable; then
8666 if test $wxUSE_TIMER = yes; then
8667 result=no
8668 else
8669 result=yes
8670 fi
8671 else
8672 result=$wxUSE_TIMER
8673 fi
8674
8675 { echo "$as_me:$LINENO: result: $result" >&5
8676 echo "${ECHO_T}$result" >&6; }
8677
8678
8679 enablestring=
8680 defaultval=$wxUSE_ALL_FEATURES
8681 if test -z "$defaultval"; then
8682 if test x"$enablestring" = xdisable; then
8683 defaultval=yes
8684 else
8685 defaultval=no
8686 fi
8687 fi
8688
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8691 # Check whether --enable-sound was given.
8692 if test "${enable_sound+set}" = set; then
8693 enableval=$enable_sound;
8694 if test "$enableval" = yes; then
8695 wx_cv_use_sound='wxUSE_SOUND=yes'
8696 else
8697 wx_cv_use_sound='wxUSE_SOUND=no'
8698 fi
8699 cache=yes
8700
8701 else
8702
8703 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8706 cache=yes
8707 else
8708 cache=no
8709 fi
8710
8711 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8712
8713 fi
8714
8715
8716 eval "$wx_cv_use_sound"
8717 if test "x$cache" = xyes; then
8718 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8719 fi
8720
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_SOUND = yes; then
8723 result=no
8724 else
8725 result=yes
8726 fi
8727 else
8728 result=$wxUSE_SOUND
8729 fi
8730
8731 { echo "$as_me:$LINENO: result: $result" >&5
8732 echo "${ECHO_T}$result" >&6; }
8733
8734
8735 enablestring=
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8739 defaultval=yes
8740 else
8741 defaultval=no
8742 fi
8743 fi
8744
8745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8747 # Check whether --enable-mediactrl was given.
8748 if test "${enable_mediactrl+set}" = set; then
8749 enableval=$enable_mediactrl;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8752 else
8753 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8754 fi
8755 cache=yes
8756
8757 else
8758
8759 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x ; then
8761 eval "DEFAULT_$LINE"
8762 cache=yes
8763 else
8764 cache=no
8765 fi
8766
8767 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8768
8769 fi
8770
8771
8772 eval "$wx_cv_use_mediactrl"
8773 if test "x$cache" = xyes; then
8774 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8775 fi
8776
8777 if test x"$enablestring" = xdisable; then
8778 if test $wxUSE_MEDIACTRL = yes; then
8779 result=no
8780 else
8781 result=yes
8782 fi
8783 else
8784 result=$wxUSE_MEDIACTRL
8785 fi
8786
8787 { echo "$as_me:$LINENO: result: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8789
8790
8791 enablestring=
8792 defaultval=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x"$enablestring" = xdisable; then
8795 defaultval=yes
8796 else
8797 defaultval=no
8798 fi
8799 fi
8800
8801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8803 # Check whether --enable-gstreamer8 was given.
8804 if test "${enable_gstreamer8+set}" = set; then
8805 enableval=$enable_gstreamer8;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8808 else
8809 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8810 fi
8811 cache=yes
8812
8813 else
8814
8815 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x ; then
8817 eval "DEFAULT_$LINE"
8818 cache=yes
8819 else
8820 cache=no
8821 fi
8822
8823 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8824
8825 fi
8826
8827
8828 eval "$wx_cv_use_gstreamer8"
8829 if test "x$cache" = xyes; then
8830 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8831 fi
8832
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_GSTREAMER8 = yes; then
8835 result=no
8836 else
8837 result=yes
8838 fi
8839 else
8840 result=$wxUSE_GSTREAMER8
8841 fi
8842
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8845
8846
8847 enablestring=
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8851 defaultval=yes
8852 else
8853 defaultval=no
8854 fi
8855 fi
8856
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8859 # Check whether --enable-printfposparam was given.
8860 if test "${enable_printfposparam+set}" = set; then
8861 enableval=$enable_printfposparam;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8864 else
8865 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8866 fi
8867 cache=yes
8868
8869 else
8870
8871 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 cache=yes
8875 else
8876 cache=no
8877 fi
8878
8879 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8880
8881 fi
8882
8883
8884 eval "$wx_cv_use_printfposparam"
8885 if test "x$cache" = xyes; then
8886 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test x"$enablestring" = xdisable; then
8890 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8891 result=no
8892 else
8893 result=yes
8894 fi
8895 else
8896 result=$wxUSE_PRINTF_POS_PARAMS
8897 fi
8898
8899 { echo "$as_me:$LINENO: result: $result" >&5
8900 echo "${ECHO_T}$result" >&6; }
8901
8902
8903 enablestring=
8904 defaultval=$wxUSE_ALL_FEATURES
8905 if test -z "$defaultval"; then
8906 if test x"$enablestring" = xdisable; then
8907 defaultval=yes
8908 else
8909 defaultval=no
8910 fi
8911 fi
8912
8913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8915 # Check whether --enable-zipstream was given.
8916 if test "${enable_zipstream+set}" = set; then
8917 enableval=$enable_zipstream;
8918 if test "$enableval" = yes; then
8919 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8920 else
8921 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8922 fi
8923 cache=yes
8924
8925 else
8926
8927 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8930 cache=yes
8931 else
8932 cache=no
8933 fi
8934
8935 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8936
8937 fi
8938
8939
8940 eval "$wx_cv_use_zipstream"
8941 if test "x$cache" = xyes; then
8942 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8943 fi
8944
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_ZIPSTREAM = yes; then
8947 result=no
8948 else
8949 result=yes
8950 fi
8951 else
8952 result=$wxUSE_ZIPSTREAM
8953 fi
8954
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8957
8958
8959
8960 enablestring=
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8964 defaultval=yes
8965 else
8966 defaultval=no
8967 fi
8968 fi
8969
8970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8972 # Check whether --enable-url was given.
8973 if test "${enable_url+set}" = set; then
8974 enableval=$enable_url;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_url='wxUSE_URL=yes'
8977 else
8978 wx_cv_use_url='wxUSE_URL=no'
8979 fi
8980 cache=yes
8981
8982 else
8983
8984 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8985 if test "x$LINE" != x ; then
8986 eval "DEFAULT_$LINE"
8987 cache=yes
8988 else
8989 cache=no
8990 fi
8991
8992 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_url"
8998 if test "x$cache" = xyes; then
8999 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9000 fi
9001
9002 if test x"$enablestring" = xdisable; then
9003 if test $wxUSE_URL = yes; then
9004 result=no
9005 else
9006 result=yes
9007 fi
9008 else
9009 result=$wxUSE_URL
9010 fi
9011
9012 { echo "$as_me:$LINENO: result: $result" >&5
9013 echo "${ECHO_T}$result" >&6; }
9014
9015
9016 enablestring=
9017 defaultval=$wxUSE_ALL_FEATURES
9018 if test -z "$defaultval"; then
9019 if test x"$enablestring" = xdisable; then
9020 defaultval=yes
9021 else
9022 defaultval=no
9023 fi
9024 fi
9025
9026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9028 # Check whether --enable-variant was given.
9029 if test "${enable_variant+set}" = set; then
9030 enableval=$enable_variant;
9031 if test "$enableval" = yes; then
9032 wx_cv_use_variant='wxUSE_VARIANT=yes'
9033 else
9034 wx_cv_use_variant='wxUSE_VARIANT=no'
9035 fi
9036 cache=yes
9037
9038 else
9039
9040 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 cache=yes
9044 else
9045 cache=no
9046 fi
9047
9048 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9049
9050 fi
9051
9052
9053 eval "$wx_cv_use_variant"
9054 if test "x$cache" = xyes; then
9055 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9056 fi
9057
9058 if test x"$enablestring" = xdisable; then
9059 if test $wxUSE_VARIANT = yes; then
9060 result=no
9061 else
9062 result=yes
9063 fi
9064 else
9065 result=$wxUSE_VARIANT
9066 fi
9067
9068 { echo "$as_me:$LINENO: result: $result" >&5
9069 echo "${ECHO_T}$result" >&6; }
9070
9071
9072 enablestring=
9073 defaultval=$wxUSE_ALL_FEATURES
9074 if test -z "$defaultval"; then
9075 if test x"$enablestring" = xdisable; then
9076 defaultval=yes
9077 else
9078 defaultval=no
9079 fi
9080 fi
9081
9082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9084 # Check whether --enable-protocol was given.
9085 if test "${enable_protocol+set}" = set; then
9086 enableval=$enable_protocol;
9087 if test "$enableval" = yes; then
9088 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9089 else
9090 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9091 fi
9092 cache=yes
9093
9094 else
9095
9096 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9097 if test "x$LINE" != x ; then
9098 eval "DEFAULT_$LINE"
9099 cache=yes
9100 else
9101 cache=no
9102 fi
9103
9104 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9105
9106 fi
9107
9108
9109 eval "$wx_cv_use_protocol"
9110 if test "x$cache" = xyes; then
9111 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9112 fi
9113
9114 if test x"$enablestring" = xdisable; then
9115 if test $wxUSE_PROTOCOL = yes; then
9116 result=no
9117 else
9118 result=yes
9119 fi
9120 else
9121 result=$wxUSE_PROTOCOL
9122 fi
9123
9124 { echo "$as_me:$LINENO: result: $result" >&5
9125 echo "${ECHO_T}$result" >&6; }
9126
9127
9128 enablestring=
9129 defaultval=$wxUSE_ALL_FEATURES
9130 if test -z "$defaultval"; then
9131 if test x"$enablestring" = xdisable; then
9132 defaultval=yes
9133 else
9134 defaultval=no
9135 fi
9136 fi
9137
9138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9140 # Check whether --enable-protocol_http was given.
9141 if test "${enable_protocol_http+set}" = set; then
9142 enableval=$enable_protocol_http;
9143 if test "$enableval" = yes; then
9144 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9145 else
9146 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9147 fi
9148 cache=yes
9149
9150 else
9151
9152 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 cache=yes
9156 else
9157 cache=no
9158 fi
9159
9160 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9161
9162 fi
9163
9164
9165 eval "$wx_cv_use_protocol_http"
9166 if test "x$cache" = xyes; then
9167 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test x"$enablestring" = xdisable; then
9171 if test $wxUSE_PROTOCOL_HTTP = yes; then
9172 result=no
9173 else
9174 result=yes
9175 fi
9176 else
9177 result=$wxUSE_PROTOCOL_HTTP
9178 fi
9179
9180 { echo "$as_me:$LINENO: result: $result" >&5
9181 echo "${ECHO_T}$result" >&6; }
9182
9183
9184 enablestring=
9185 defaultval=$wxUSE_ALL_FEATURES
9186 if test -z "$defaultval"; then
9187 if test x"$enablestring" = xdisable; then
9188 defaultval=yes
9189 else
9190 defaultval=no
9191 fi
9192 fi
9193
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9196 # Check whether --enable-protocol_ftp was given.
9197 if test "${enable_protocol_ftp+set}" = set; then
9198 enableval=$enable_protocol_ftp;
9199 if test "$enableval" = yes; then
9200 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9201 else
9202 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9203 fi
9204 cache=yes
9205
9206 else
9207
9208 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9211 cache=yes
9212 else
9213 cache=no
9214 fi
9215
9216 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_protocol_ftp"
9222 if test "x$cache" = xyes; then
9223 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9224 fi
9225
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_PROTOCOL_FTP = yes; then
9228 result=no
9229 else
9230 result=yes
9231 fi
9232 else
9233 result=$wxUSE_PROTOCOL_FTP
9234 fi
9235
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9238
9239
9240 enablestring=
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9244 defaultval=yes
9245 else
9246 defaultval=no
9247 fi
9248 fi
9249
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9252 # Check whether --enable-protocol_file was given.
9253 if test "${enable_protocol_file+set}" = set; then
9254 enableval=$enable_protocol_file;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9257 else
9258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9259 fi
9260 cache=yes
9261
9262 else
9263
9264 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 cache=yes
9268 else
9269 cache=no
9270 fi
9271
9272 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9273
9274 fi
9275
9276
9277 eval "$wx_cv_use_protocol_file"
9278 if test "x$cache" = xyes; then
9279 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9280 fi
9281
9282 if test x"$enablestring" = xdisable; then
9283 if test $wxUSE_PROTOCOL_FILE = yes; then
9284 result=no
9285 else
9286 result=yes
9287 fi
9288 else
9289 result=$wxUSE_PROTOCOL_FILE
9290 fi
9291
9292 { echo "$as_me:$LINENO: result: $result" >&5
9293 echo "${ECHO_T}$result" >&6; }
9294
9295
9296
9297 enablestring=
9298 defaultval=$wxUSE_ALL_FEATURES
9299 if test -z "$defaultval"; then
9300 if test x"$enablestring" = xdisable; then
9301 defaultval=yes
9302 else
9303 defaultval=no
9304 fi
9305 fi
9306
9307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9309 # Check whether --enable-threads was given.
9310 if test "${enable_threads+set}" = set; then
9311 enableval=$enable_threads;
9312 if test "$enableval" = yes; then
9313 wx_cv_use_threads='wxUSE_THREADS=yes'
9314 else
9315 wx_cv_use_threads='wxUSE_THREADS=no'
9316 fi
9317 cache=yes
9318
9319 else
9320
9321 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 cache=yes
9325 else
9326 cache=no
9327 fi
9328
9329 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9330
9331 fi
9332
9333
9334 eval "$wx_cv_use_threads"
9335 if test "x$cache" = xyes; then
9336 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9337 fi
9338
9339 if test x"$enablestring" = xdisable; then
9340 if test $wxUSE_THREADS = yes; then
9341 result=no
9342 else
9343 result=yes
9344 fi
9345 else
9346 result=$wxUSE_THREADS
9347 fi
9348
9349 { echo "$as_me:$LINENO: result: $result" >&5
9350 echo "${ECHO_T}$result" >&6; }
9351
9352
9353
9354 enablestring=
9355 defaultval=
9356 if test -z "$defaultval"; then
9357 if test x"$enablestring" = xdisable; then
9358 defaultval=yes
9359 else
9360 defaultval=no
9361 fi
9362 fi
9363
9364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9366 # Check whether --enable-iniconf was given.
9367 if test "${enable_iniconf+set}" = set; then
9368 enableval=$enable_iniconf;
9369 if test "$enableval" = yes; then
9370 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9371 else
9372 wx_cv_use_iniconf='wxUSE_INICONF=no'
9373 fi
9374 cache=yes
9375
9376 else
9377
9378 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9379 if test "x$LINE" != x ; then
9380 eval "DEFAULT_$LINE"
9381 cache=yes
9382 else
9383 cache=no
9384 fi
9385
9386 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9387
9388 fi
9389
9390
9391 eval "$wx_cv_use_iniconf"
9392 if test "x$cache" = xyes; then
9393 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9394 fi
9395
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_INICONF = yes; then
9398 result=no
9399 else
9400 result=yes
9401 fi
9402 else
9403 result=$wxUSE_INICONF
9404 fi
9405
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9408
9409
9410 enablestring=
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9414 defaultval=yes
9415 else
9416 defaultval=no
9417 fi
9418 fi
9419
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9422 # Check whether --enable-regkey was given.
9423 if test "${enable_regkey+set}" = set; then
9424 enableval=$enable_regkey;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9427 else
9428 wx_cv_use_regkey='wxUSE_REGKEY=no'
9429 fi
9430 cache=yes
9431
9432 else
9433
9434 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9435 if test "x$LINE" != x ; then
9436 eval "DEFAULT_$LINE"
9437 cache=yes
9438 else
9439 cache=no
9440 fi
9441
9442 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9443
9444 fi
9445
9446
9447 eval "$wx_cv_use_regkey"
9448 if test "x$cache" = xyes; then
9449 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9450 fi
9451
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_REGKEY = yes; then
9454 result=no
9455 else
9456 result=yes
9457 fi
9458 else
9459 result=$wxUSE_REGKEY
9460 fi
9461
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9464
9465
9466 if test "$wxUSE_GUI" = "yes"; then
9467
9468
9469
9470 enablestring=
9471 defaultval=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x"$enablestring" = xdisable; then
9474 defaultval=yes
9475 else
9476 defaultval=no
9477 fi
9478 fi
9479
9480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9482 # Check whether --enable-docview was given.
9483 if test "${enable_docview+set}" = set; then
9484 enableval=$enable_docview;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9487 else
9488 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9489 fi
9490 cache=yes
9491
9492 else
9493
9494 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9497 cache=yes
9498 else
9499 cache=no
9500 fi
9501
9502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9503
9504 fi
9505
9506
9507 eval "$wx_cv_use_docview"
9508 if test "x$cache" = xyes; then
9509 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9514 result=no
9515 else
9516 result=yes
9517 fi
9518 else
9519 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9520 fi
9521
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9524
9525
9526 enablestring=
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9530 defaultval=yes
9531 else
9532 defaultval=no
9533 fi
9534 fi
9535
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9538 # Check whether --enable-help was given.
9539 if test "${enable_help+set}" = set; then
9540 enableval=$enable_help;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_help='wxUSE_HELP=yes'
9543 else
9544 wx_cv_use_help='wxUSE_HELP=no'
9545 fi
9546 cache=yes
9547
9548 else
9549
9550 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9553 cache=yes
9554 else
9555 cache=no
9556 fi
9557
9558 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9559
9560 fi
9561
9562
9563 eval "$wx_cv_use_help"
9564 if test "x$cache" = xyes; then
9565 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9566 fi
9567
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_HELP = yes; then
9570 result=no
9571 else
9572 result=yes
9573 fi
9574 else
9575 result=$wxUSE_HELP
9576 fi
9577
9578 { echo "$as_me:$LINENO: result: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9580
9581
9582 enablestring=
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9586 defaultval=yes
9587 else
9588 defaultval=no
9589 fi
9590 fi
9591
9592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9594 # Check whether --enable-mshtmlhelp was given.
9595 if test "${enable_mshtmlhelp+set}" = set; then
9596 enableval=$enable_mshtmlhelp;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9599 else
9600 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9601 fi
9602 cache=yes
9603
9604 else
9605
9606 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 cache=yes
9610 else
9611 cache=no
9612 fi
9613
9614 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9615
9616 fi
9617
9618
9619 eval "$wx_cv_use_mshtmlhelp"
9620 if test "x$cache" = xyes; then
9621 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test x"$enablestring" = xdisable; then
9625 if test $wxUSE_MS_HTML_HELP = yes; then
9626 result=no
9627 else
9628 result=yes
9629 fi
9630 else
9631 result=$wxUSE_MS_HTML_HELP
9632 fi
9633
9634 { echo "$as_me:$LINENO: result: $result" >&5
9635 echo "${ECHO_T}$result" >&6; }
9636
9637
9638 enablestring=
9639 defaultval=$wxUSE_ALL_FEATURES
9640 if test -z "$defaultval"; then
9641 if test x"$enablestring" = xdisable; then
9642 defaultval=yes
9643 else
9644 defaultval=no
9645 fi
9646 fi
9647
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9650 # Check whether --enable-html was given.
9651 if test "${enable_html+set}" = set; then
9652 enableval=$enable_html;
9653 if test "$enableval" = yes; then
9654 wx_cv_use_html='wxUSE_HTML=yes'
9655 else
9656 wx_cv_use_html='wxUSE_HTML=no'
9657 fi
9658 cache=yes
9659
9660 else
9661
9662 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9665 cache=yes
9666 else
9667 cache=no
9668 fi
9669
9670 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9671
9672 fi
9673
9674
9675 eval "$wx_cv_use_html"
9676 if test "x$cache" = xyes; then
9677 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9678 fi
9679
9680 if test x"$enablestring" = xdisable; then
9681 if test $wxUSE_HTML = yes; then
9682 result=no
9683 else
9684 result=yes
9685 fi
9686 else
9687 result=$wxUSE_HTML
9688 fi
9689
9690 { echo "$as_me:$LINENO: result: $result" >&5
9691 echo "${ECHO_T}$result" >&6; }
9692
9693
9694 enablestring=
9695 defaultval=$wxUSE_ALL_FEATURES
9696 if test -z "$defaultval"; then
9697 if test x"$enablestring" = xdisable; then
9698 defaultval=yes
9699 else
9700 defaultval=no
9701 fi
9702 fi
9703
9704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9706 # Check whether --enable-htmlhelp was given.
9707 if test "${enable_htmlhelp+set}" = set; then
9708 enableval=$enable_htmlhelp;
9709 if test "$enableval" = yes; then
9710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9711 else
9712 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9713 fi
9714 cache=yes
9715
9716 else
9717
9718 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x ; then
9720 eval "DEFAULT_$LINE"
9721 cache=yes
9722 else
9723 cache=no
9724 fi
9725
9726 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9727
9728 fi
9729
9730
9731 eval "$wx_cv_use_htmlhelp"
9732 if test "x$cache" = xyes; then
9733 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9734 fi
9735
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_WXHTML_HELP = yes; then
9738 result=no
9739 else
9740 result=yes
9741 fi
9742 else
9743 result=$wxUSE_WXHTML_HELP
9744 fi
9745
9746 { echo "$as_me:$LINENO: result: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9748
9749
9750 enablestring=
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9754 defaultval=yes
9755 else
9756 defaultval=no
9757 fi
9758 fi
9759
9760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9762 # Check whether --enable-xrc was given.
9763 if test "${enable_xrc+set}" = set; then
9764 enableval=$enable_xrc;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_xrc='wxUSE_XRC=yes'
9767 else
9768 wx_cv_use_xrc='wxUSE_XRC=no'
9769 fi
9770 cache=yes
9771
9772 else
9773
9774 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x ; then
9776 eval "DEFAULT_$LINE"
9777 cache=yes
9778 else
9779 cache=no
9780 fi
9781
9782 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9783
9784 fi
9785
9786
9787 eval "$wx_cv_use_xrc"
9788 if test "x$cache" = xyes; then
9789 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test x"$enablestring" = xdisable; then
9793 if test $wxUSE_XRC = yes; then
9794 result=no
9795 else
9796 result=yes
9797 fi
9798 else
9799 result=$wxUSE_XRC
9800 fi
9801
9802 { echo "$as_me:$LINENO: result: $result" >&5
9803 echo "${ECHO_T}$result" >&6; }
9804
9805
9806 enablestring=
9807 defaultval=$wxUSE_ALL_FEATURES
9808 if test -z "$defaultval"; then
9809 if test x"$enablestring" = xdisable; then
9810 defaultval=yes
9811 else
9812 defaultval=no
9813 fi
9814 fi
9815
9816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9817 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9818 # Check whether --enable-aui was given.
9819 if test "${enable_aui+set}" = set; then
9820 enableval=$enable_aui;
9821 if test "$enableval" = yes; then
9822 wx_cv_use_aui='wxUSE_AUI=yes'
9823 else
9824 wx_cv_use_aui='wxUSE_AUI=no'
9825 fi
9826 cache=yes
9827
9828 else
9829
9830 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x ; then
9832 eval "DEFAULT_$LINE"
9833 cache=yes
9834 else
9835 cache=no
9836 fi
9837
9838 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9839
9840 fi
9841
9842
9843 eval "$wx_cv_use_aui"
9844 if test "x$cache" = xyes; then
9845 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9846 fi
9847
9848 if test x"$enablestring" = xdisable; then
9849 if test $wxUSE_AUI = yes; then
9850 result=no
9851 else
9852 result=yes
9853 fi
9854 else
9855 result=$wxUSE_AUI
9856 fi
9857
9858 { echo "$as_me:$LINENO: result: $result" >&5
9859 echo "${ECHO_T}$result" >&6; }
9860
9861
9862 enablestring=
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9866 defaultval=yes
9867 else
9868 defaultval=no
9869 fi
9870 fi
9871
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9874 # Check whether --enable-stc was given.
9875 if test "${enable_stc+set}" = set; then
9876 enableval=$enable_stc;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_stc='wxUSE_STC=yes'
9879 else
9880 wx_cv_use_stc='wxUSE_STC=no'
9881 fi
9882 cache=yes
9883
9884 else
9885
9886 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9887 if test "x$LINE" != x ; then
9888 eval "DEFAULT_$LINE"
9889 cache=yes
9890 else
9891 cache=no
9892 fi
9893
9894 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9895
9896 fi
9897
9898
9899 eval "$wx_cv_use_stc"
9900 if test "x$cache" = xyes; then
9901 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9902 fi
9903
9904 if test x"$enablestring" = xdisable; then
9905 if test $wxUSE_STC = yes; then
9906 result=no
9907 else
9908 result=yes
9909 fi
9910 else
9911 result=$wxUSE_STC
9912 fi
9913
9914 { echo "$as_me:$LINENO: result: $result" >&5
9915 echo "${ECHO_T}$result" >&6; }
9916
9917
9918 enablestring=
9919 defaultval=$wxUSE_ALL_FEATURES
9920 if test -z "$defaultval"; then
9921 if test x"$enablestring" = xdisable; then
9922 defaultval=yes
9923 else
9924 defaultval=no
9925 fi
9926 fi
9927
9928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9930 # Check whether --enable-constraints was given.
9931 if test "${enable_constraints+set}" = set; then
9932 enableval=$enable_constraints;
9933 if test "$enableval" = yes; then
9934 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9935 else
9936 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9937 fi
9938 cache=yes
9939
9940 else
9941
9942 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9943 if test "x$LINE" != x ; then
9944 eval "DEFAULT_$LINE"
9945 cache=yes
9946 else
9947 cache=no
9948 fi
9949
9950 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9951
9952 fi
9953
9954
9955 eval "$wx_cv_use_constraints"
9956 if test "x$cache" = xyes; then
9957 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9958 fi
9959
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_CONSTRAINTS = yes; then
9962 result=no
9963 else
9964 result=yes
9965 fi
9966 else
9967 result=$wxUSE_CONSTRAINTS
9968 fi
9969
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9972
9973
9974 enablestring=
9975 defaultval=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x"$enablestring" = xdisable; then
9978 defaultval=yes
9979 else
9980 defaultval=no
9981 fi
9982 fi
9983
9984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9985 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9986 # Check whether --enable-printarch was given.
9987 if test "${enable_printarch+set}" = set; then
9988 enableval=$enable_printarch;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9991 else
9992 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9993 fi
9994 cache=yes
9995
9996 else
9997
9998 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10001 cache=yes
10002 else
10003 cache=no
10004 fi
10005
10006 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10007
10008 fi
10009
10010
10011 eval "$wx_cv_use_printarch"
10012 if test "x$cache" = xyes; then
10013 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10014 fi
10015
10016 if test x"$enablestring" = xdisable; then
10017 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10018 result=no
10019 else
10020 result=yes
10021 fi
10022 else
10023 result=$wxUSE_PRINTING_ARCHITECTURE
10024 fi
10025
10026 { echo "$as_me:$LINENO: result: $result" >&5
10027 echo "${ECHO_T}$result" >&6; }
10028
10029
10030 enablestring=
10031 defaultval=$wxUSE_ALL_FEATURES
10032 if test -z "$defaultval"; then
10033 if test x"$enablestring" = xdisable; then
10034 defaultval=yes
10035 else
10036 defaultval=no
10037 fi
10038 fi
10039
10040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10041 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10042 # Check whether --enable-mdi was given.
10043 if test "${enable_mdi+set}" = set; then
10044 enableval=$enable_mdi;
10045 if test "$enableval" = yes; then
10046 wx_cv_use_mdi='wxUSE_MDI=yes'
10047 else
10048 wx_cv_use_mdi='wxUSE_MDI=no'
10049 fi
10050 cache=yes
10051
10052 else
10053
10054 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 cache=yes
10058 else
10059 cache=no
10060 fi
10061
10062 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10063
10064 fi
10065
10066
10067 eval "$wx_cv_use_mdi"
10068 if test "x$cache" = xyes; then
10069 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10070 fi
10071
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_MDI = yes; then
10074 result=no
10075 else
10076 result=yes
10077 fi
10078 else
10079 result=$wxUSE_MDI
10080 fi
10081
10082 { echo "$as_me:$LINENO: result: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10084
10085
10086 enablestring=
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10090 defaultval=yes
10091 else
10092 defaultval=no
10093 fi
10094 fi
10095
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10098 # Check whether --enable-mdidoc was given.
10099 if test "${enable_mdidoc+set}" = set; then
10100 enableval=$enable_mdidoc;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10103 else
10104 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10105 fi
10106 cache=yes
10107
10108 else
10109
10110 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 cache=yes
10114 else
10115 cache=no
10116 fi
10117
10118 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10119
10120 fi
10121
10122
10123 eval "$wx_cv_use_mdidoc"
10124 if test "x$cache" = xyes; then
10125 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10126 fi
10127
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10130 result=no
10131 else
10132 result=yes
10133 fi
10134 else
10135 result=$wxUSE_MDI_ARCHITECTURE
10136 fi
10137
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10140
10141
10142 enablestring=
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10146 defaultval=yes
10147 else
10148 defaultval=no
10149 fi
10150 fi
10151
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10154 # Check whether --enable-loggui was given.
10155 if test "${enable_loggui+set}" = set; then
10156 enableval=$enable_loggui;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10159 else
10160 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10161 fi
10162 cache=yes
10163
10164 else
10165
10166 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x ; then
10168 eval "DEFAULT_$LINE"
10169 cache=yes
10170 else
10171 cache=no
10172 fi
10173
10174 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10175
10176 fi
10177
10178
10179 eval "$wx_cv_use_loggui"
10180 if test "x$cache" = xyes; then
10181 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10182 fi
10183
10184 if test x"$enablestring" = xdisable; then
10185 if test $wxUSE_LOGGUI = yes; then
10186 result=no
10187 else
10188 result=yes
10189 fi
10190 else
10191 result=$wxUSE_LOGGUI
10192 fi
10193
10194 { echo "$as_me:$LINENO: result: $result" >&5
10195 echo "${ECHO_T}$result" >&6; }
10196
10197
10198 enablestring=
10199 defaultval=$wxUSE_ALL_FEATURES
10200 if test -z "$defaultval"; then
10201 if test x"$enablestring" = xdisable; then
10202 defaultval=yes
10203 else
10204 defaultval=no
10205 fi
10206 fi
10207
10208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10210 # Check whether --enable-logwin was given.
10211 if test "${enable_logwin+set}" = set; then
10212 enableval=$enable_logwin;
10213 if test "$enableval" = yes; then
10214 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10215 else
10216 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10217 fi
10218 cache=yes
10219
10220 else
10221
10222 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x ; then
10224 eval "DEFAULT_$LINE"
10225 cache=yes
10226 else
10227 cache=no
10228 fi
10229
10230 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10231
10232 fi
10233
10234
10235 eval "$wx_cv_use_logwin"
10236 if test "x$cache" = xyes; then
10237 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10238 fi
10239
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_LOGWINDOW = yes; then
10242 result=no
10243 else
10244 result=yes
10245 fi
10246 else
10247 result=$wxUSE_LOGWINDOW
10248 fi
10249
10250 { echo "$as_me:$LINENO: result: $result" >&5
10251 echo "${ECHO_T}$result" >&6; }
10252
10253
10254 enablestring=
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z "$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10258 defaultval=yes
10259 else
10260 defaultval=no
10261 fi
10262 fi
10263
10264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10265 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10266 # Check whether --enable-logdialog was given.
10267 if test "${enable_logdialog+set}" = set; then
10268 enableval=$enable_logdialog;
10269 if test "$enableval" = yes; then
10270 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10271 else
10272 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10273 fi
10274 cache=yes
10275
10276 else
10277
10278 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10279 if test "x$LINE" != x ; then
10280 eval "DEFAULT_$LINE"
10281 cache=yes
10282 else
10283 cache=no
10284 fi
10285
10286 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10287
10288 fi
10289
10290
10291 eval "$wx_cv_use_logdialog"
10292 if test "x$cache" = xyes; then
10293 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10294 fi
10295
10296 if test x"$enablestring" = xdisable; then
10297 if test $wxUSE_LOGDIALOG = yes; then
10298 result=no
10299 else
10300 result=yes
10301 fi
10302 else
10303 result=$wxUSE_LOGDIALOG
10304 fi
10305
10306 { echo "$as_me:$LINENO: result: $result" >&5
10307 echo "${ECHO_T}$result" >&6; }
10308
10309
10310 enablestring=
10311 defaultval=$wxUSE_ALL_FEATURES
10312 if test -z "$defaultval"; then
10313 if test x"$enablestring" = xdisable; then
10314 defaultval=yes
10315 else
10316 defaultval=no
10317 fi
10318 fi
10319
10320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10321 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10322 # Check whether --enable-webkit was given.
10323 if test "${enable_webkit+set}" = set; then
10324 enableval=$enable_webkit;
10325 if test "$enableval" = yes; then
10326 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10327 else
10328 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10329 fi
10330 cache=yes
10331
10332 else
10333
10334 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10335 if test "x$LINE" != x ; then
10336 eval "DEFAULT_$LINE"
10337 cache=yes
10338 else
10339 cache=no
10340 fi
10341
10342 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10343
10344 fi
10345
10346
10347 eval "$wx_cv_use_webkit"
10348 if test "x$cache" = xyes; then
10349 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10350 fi
10351
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_WEBKIT = yes; then
10354 result=no
10355 else
10356 result=yes
10357 fi
10358 else
10359 result=$wxUSE_WEBKIT
10360 fi
10361
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10364
10365
10366 enablestring=
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10370 defaultval=yes
10371 else
10372 defaultval=no
10373 fi
10374 fi
10375
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10378 # Check whether --enable-richtext was given.
10379 if test "${enable_richtext+set}" = set; then
10380 enableval=$enable_richtext;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10383 else
10384 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10385 fi
10386 cache=yes
10387
10388 else
10389
10390 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10391 if test "x$LINE" != x ; then
10392 eval "DEFAULT_$LINE"
10393 cache=yes
10394 else
10395 cache=no
10396 fi
10397
10398 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10399
10400 fi
10401
10402
10403 eval "$wx_cv_use_richtext"
10404 if test "x$cache" = xyes; then
10405 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10406 fi
10407
10408 if test x"$enablestring" = xdisable; then
10409 if test $wxUSE_RICHTEXT = yes; then
10410 result=no
10411 else
10412 result=yes
10413 fi
10414 else
10415 result=$wxUSE_RICHTEXT
10416 fi
10417
10418 { echo "$as_me:$LINENO: result: $result" >&5
10419 echo "${ECHO_T}$result" >&6; }
10420
10421
10422 enablestring=
10423 defaultval=$wxUSE_ALL_FEATURES
10424 if test -z "$defaultval"; then
10425 if test x"$enablestring" = xdisable; then
10426 defaultval=yes
10427 else
10428 defaultval=no
10429 fi
10430 fi
10431
10432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10433 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10434 # Check whether --enable-graphics_ctx was given.
10435 if test "${enable_graphics_ctx+set}" = set; then
10436 enableval=$enable_graphics_ctx;
10437 if test "$enableval" = yes; then
10438 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10439 else
10440 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10441 fi
10442 cache=yes
10443
10444 else
10445
10446 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x ; then
10448 eval "DEFAULT_$LINE"
10449 cache=yes
10450 else
10451 cache=no
10452 fi
10453
10454 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10455
10456 fi
10457
10458
10459 eval "$wx_cv_use_graphics_ctx"
10460 if test "x$cache" = xyes; then
10461 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10462 fi
10463
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10466 result=no
10467 else
10468 result=yes
10469 fi
10470 else
10471 result=$wxUSE_GRAPHICS_CONTEXT
10472 fi
10473
10474 { echo "$as_me:$LINENO: result: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10476
10477
10478 enablestring=
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10482 defaultval=yes
10483 else
10484 defaultval=no
10485 fi
10486 fi
10487
10488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10489 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10490 # Check whether --enable-postscript was given.
10491 if test "${enable_postscript+set}" = set; then
10492 enableval=$enable_postscript;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10495 else
10496 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10497 fi
10498 cache=yes
10499
10500 else
10501
10502 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10503 if test "x$LINE" != x ; then
10504 eval "DEFAULT_$LINE"
10505 cache=yes
10506 else
10507 cache=no
10508 fi
10509
10510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10511
10512 fi
10513
10514
10515 eval "$wx_cv_use_postscript"
10516 if test "x$cache" = xyes; then
10517 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10518 fi
10519
10520 if test x"$enablestring" = xdisable; then
10521 if test $wxUSE_POSTSCRIPT = yes; then
10522 result=no
10523 else
10524 result=yes
10525 fi
10526 else
10527 result=$wxUSE_POSTSCRIPT
10528 fi
10529
10530 { echo "$as_me:$LINENO: result: $result" >&5
10531 echo "${ECHO_T}$result" >&6; }
10532
10533
10534 enablestring=
10535 defaultval=$wxUSE_ALL_FEATURES
10536 if test -z "$defaultval"; then
10537 if test x"$enablestring" = xdisable; then
10538 defaultval=yes
10539 else
10540 defaultval=no
10541 fi
10542 fi
10543
10544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10545 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10546 # Check whether --enable-svg was given.
10547 if test "${enable_svg+set}" = set; then
10548 enableval=$enable_svg;
10549 if test "$enableval" = yes; then
10550 wx_cv_use_svg='wxUSE_SVG=yes'
10551 else
10552 wx_cv_use_svg='wxUSE_SVG=no'
10553 fi
10554 cache=yes
10555
10556 else
10557
10558 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10561 cache=yes
10562 else
10563 cache=no
10564 fi
10565
10566 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10567
10568 fi
10569
10570
10571 eval "$wx_cv_use_svg"
10572 if test "x$cache" = xyes; then
10573 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10574 fi
10575
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_SVG = yes; then
10578 result=no
10579 else
10580 result=yes
10581 fi
10582 else
10583 result=$wxUSE_SVG
10584 fi
10585
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10588
10589
10590
10591
10592 enablestring=
10593 defaultval=$wxUSE_ALL_FEATURES
10594 if test -z "$defaultval"; then
10595 if test x"$enablestring" = xdisable; then
10596 defaultval=yes
10597 else
10598 defaultval=no
10599 fi
10600 fi
10601
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10604 # Check whether --enable-clipboard was given.
10605 if test "${enable_clipboard+set}" = set; then
10606 enableval=$enable_clipboard;
10607 if test "$enableval" = yes; then
10608 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10609 else
10610 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10611 fi
10612 cache=yes
10613
10614 else
10615
10616 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10619 cache=yes
10620 else
10621 cache=no
10622 fi
10623
10624 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10625
10626 fi
10627
10628
10629 eval "$wx_cv_use_clipboard"
10630 if test "x$cache" = xyes; then
10631 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10632 fi
10633
10634 if test x"$enablestring" = xdisable; then
10635 if test $wxUSE_CLIPBOARD = yes; then
10636 result=no
10637 else
10638 result=yes
10639 fi
10640 else
10641 result=$wxUSE_CLIPBOARD
10642 fi
10643
10644 { echo "$as_me:$LINENO: result: $result" >&5
10645 echo "${ECHO_T}$result" >&6; }
10646
10647
10648 enablestring=
10649 defaultval=$wxUSE_ALL_FEATURES
10650 if test -z "$defaultval"; then
10651 if test x"$enablestring" = xdisable; then
10652 defaultval=yes
10653 else
10654 defaultval=no
10655 fi
10656 fi
10657
10658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10659 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10660 # Check whether --enable-dnd was given.
10661 if test "${enable_dnd+set}" = set; then
10662 enableval=$enable_dnd;
10663 if test "$enableval" = yes; then
10664 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10665 else
10666 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10667 fi
10668 cache=yes
10669
10670 else
10671
10672 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10673 if test "x$LINE" != x ; then
10674 eval "DEFAULT_$LINE"
10675 cache=yes
10676 else
10677 cache=no
10678 fi
10679
10680 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_dnd"
10686 if test "x$cache" = xyes; then
10687 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10688 fi
10689
10690 if test x"$enablestring" = xdisable; then
10691 if test $wxUSE_DRAG_AND_DROP = yes; then
10692 result=no
10693 else
10694 result=yes
10695 fi
10696 else
10697 result=$wxUSE_DRAG_AND_DROP
10698 fi
10699
10700 { echo "$as_me:$LINENO: result: $result" >&5
10701 echo "${ECHO_T}$result" >&6; }
10702
10703
10704 enablestring=
10705 defaultval=$wxUSE_ALL_FEATURES
10706 if test -z "$defaultval"; then
10707 if test x"$enablestring" = xdisable; then
10708 defaultval=yes
10709 else
10710 defaultval=no
10711 fi
10712 fi
10713
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10716 # Check whether --enable-metafile was given.
10717 if test "${enable_metafile+set}" = set; then
10718 enableval=$enable_metafile;
10719 if test "$enableval" = yes; then
10720 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10721 else
10722 wx_cv_use_metafile='wxUSE_METAFILE=no'
10723 fi
10724 cache=yes
10725
10726 else
10727
10728 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10729 if test "x$LINE" != x ; then
10730 eval "DEFAULT_$LINE"
10731 cache=yes
10732 else
10733 cache=no
10734 fi
10735
10736 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10737
10738 fi
10739
10740
10741 eval "$wx_cv_use_metafile"
10742 if test "x$cache" = xyes; then
10743 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10744 fi
10745
10746 if test x"$enablestring" = xdisable; then
10747 if test $wxUSE_METAFILE = yes; then
10748 result=no
10749 else
10750 result=yes
10751 fi
10752 else
10753 result=$wxUSE_METAFILE
10754 fi
10755
10756 { echo "$as_me:$LINENO: result: $result" >&5
10757 echo "${ECHO_T}$result" >&6; }
10758
10759
10760
10761 DEFAULT_wxUSE_CONTROLS=none
10762
10763 enablestring=disable
10764 defaultval=
10765 if test -z "$defaultval"; then
10766 if test x"$enablestring" = xdisable; then
10767 defaultval=yes
10768 else
10769 defaultval=no
10770 fi
10771 fi
10772
10773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10774 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10775 # Check whether --enable-controls was given.
10776 if test "${enable_controls+set}" = set; then
10777 enableval=$enable_controls;
10778 if test "$enableval" = yes; then
10779 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10780 else
10781 wx_cv_use_controls='wxUSE_CONTROLS=no'
10782 fi
10783 cache=yes
10784
10785 else
10786
10787 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10788 if test "x$LINE" != x ; then
10789 eval "DEFAULT_$LINE"
10790 cache=yes
10791 else
10792 cache=no
10793 fi
10794
10795 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10796
10797 fi
10798
10799
10800 eval "$wx_cv_use_controls"
10801 if test "x$cache" = xyes; then
10802 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10803 fi
10804
10805 if test x"$enablestring" = xdisable; then
10806 if test $wxUSE_CONTROLS = yes; then
10807 result=no
10808 else
10809 result=yes
10810 fi
10811 else
10812 result=$wxUSE_CONTROLS
10813 fi
10814
10815 { echo "$as_me:$LINENO: result: $result" >&5
10816 echo "${ECHO_T}$result" >&6; }
10817
10818
10819 if test "$wxUSE_CONTROLS" = "yes"; then
10820 DEFAULT_wxUSE_ACCEL=yes
10821 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10822 DEFAULT_wxUSE_BMPBUTTON=yes
10823 DEFAULT_wxUSE_BUTTON=yes
10824 DEFAULT_wxUSE_CALCTRL=yes
10825 DEFAULT_wxUSE_CARET=yes
10826 DEFAULT_wxUSE_COMBOBOX=yes
10827 DEFAULT_wxUSE_CHECKBOX=yes
10828 DEFAULT_wxUSE_CHECKLISTBOX=yes
10829 DEFAULT_wxUSE_CHOICE=yes
10830 DEFAULT_wxUSE_CHOICEBOOK=yes
10831 DEFAULT_wxUSE_COLLPANE=yes
10832 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10833 DEFAULT_wxUSE_COMBOBOX=yes
10834 DEFAULT_wxUSE_DATEPICKCTRL=yes
10835 DEFAULT_wxUSE_DISPLAY=yes
10836 DEFAULT_wxUSE_DETECT_SM=yes
10837 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10838 DEFAULT_wxUSE_FILECTRL=yes
10839 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10840 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10841 DEFAULT_wxUSE_GAUGE=yes
10842 DEFAULT_wxUSE_GRID=yes
10843 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10844 DEFAULT_wxUSE_DATAVIEWCTRL=no
10845 DEFAULT_wxUSE_IMAGLIST=yes
10846 DEFAULT_wxUSE_LISTBOOK=yes
10847 DEFAULT_wxUSE_LISTBOX=yes
10848 DEFAULT_wxUSE_LISTCTRL=yes
10849 DEFAULT_wxUSE_NOTEBOOK=yes
10850 DEFAULT_wxUSE_RADIOBOX=yes
10851 DEFAULT_wxUSE_RADIOBTN=yes
10852 DEFAULT_wxUSE_SASH=yes
10853 DEFAULT_wxUSE_SCROLLBAR=yes
10854 DEFAULT_wxUSE_SEARCHCTRL=yes
10855 DEFAULT_wxUSE_SLIDER=yes
10856 DEFAULT_wxUSE_SPINBTN=yes
10857 DEFAULT_wxUSE_SPINCTRL=yes
10858 DEFAULT_wxUSE_SPLITTER=yes
10859 DEFAULT_wxUSE_STATBMP=yes
10860 DEFAULT_wxUSE_STATBOX=yes
10861 DEFAULT_wxUSE_STATLINE=yes
10862 DEFAULT_wxUSE_STATUSBAR=yes
10863 DEFAULT_wxUSE_TAB_DIALOG=yes
10864 DEFAULT_wxUSE_TOGGLEBTN=yes
10865 DEFAULT_wxUSE_TOOLBAR=yes
10866 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10867 DEFAULT_wxUSE_TOOLTIPS=yes
10868 DEFAULT_wxUSE_TREEBOOK=yes
10869 DEFAULT_wxUSE_TOOLBOOK=yes
10870 DEFAULT_wxUSE_TREECTRL=yes
10871 DEFAULT_wxUSE_POPUPWIN=yes
10872 DEFAULT_wxUSE_TIPWINDOW=yes
10873 elif test "$wxUSE_CONTROLS" = "no"; then
10874 DEFAULT_wxUSE_ACCEL=no
10875 DEFAULT_wxUSE_ANIMATIONCTRL=no
10876 DEFAULT_wxUSE_BMPBUTTON=no
10877 DEFAULT_wxUSE_BUTTON=no
10878 DEFAULT_wxUSE_CALCTRL=no
10879 DEFAULT_wxUSE_CARET=no
10880 DEFAULT_wxUSE_COLLPANE=no
10881 DEFAULT_wxUSE_COMBOBOX=no
10882 DEFAULT_wxUSE_CHECKBOX=no
10883 DEFAULT_wxUSE_CHECKLISTBOX=no
10884 DEFAULT_wxUSE_CHOICE=no
10885 DEFAULT_wxUSE_CHOICEBOOK=no
10886 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10887 DEFAULT_wxUSE_COMBOBOX=no
10888 DEFAULT_wxUSE_DATEPICKCTRL=no
10889 DEFAULT_wxUSE_DISPLAY=no
10890 DEFAULT_wxUSE_DETECT_SM=no
10891 DEFAULT_wxUSE_DIRPICKERCTRL=no
10892 DEFAULT_wxUSE_FILECTRL=no
10893 DEFAULT_wxUSE_FILEPICKERCTRL=no
10894 DEFAULT_wxUSE_FONTPICKERCTRL=no
10895 DEFAULT_wxUSE_GAUGE=no
10896 DEFAULT_wxUSE_GRID=no
10897 DEFAULT_wxUSE_HYPERLINKCTRL=no
10898 DEFAULT_wxUSE_DATAVIEWCTRL=no
10899 DEFAULT_wxUSE_IMAGLIST=no
10900 DEFAULT_wxUSE_LISTBOOK=no
10901 DEFAULT_wxUSE_LISTBOX=no
10902 DEFAULT_wxUSE_LISTCTRL=no
10903 DEFAULT_wxUSE_NOTEBOOK=no
10904 DEFAULT_wxUSE_RADIOBOX=no
10905 DEFAULT_wxUSE_RADIOBTN=no
10906 DEFAULT_wxUSE_SASH=no
10907 DEFAULT_wxUSE_SCROLLBAR=no
10908 DEFAULT_wxUSE_SEARCHCTRL=no
10909 DEFAULT_wxUSE_SLIDER=no
10910 DEFAULT_wxUSE_SPINBTN=no
10911 DEFAULT_wxUSE_SPINCTRL=no
10912 DEFAULT_wxUSE_SPLITTER=no
10913 DEFAULT_wxUSE_STATBMP=no
10914 DEFAULT_wxUSE_STATBOX=no
10915 DEFAULT_wxUSE_STATLINE=no
10916 DEFAULT_wxUSE_STATUSBAR=no
10917 DEFAULT_wxUSE_TAB_DIALOG=no
10918 DEFAULT_wxUSE_TOGGLEBTN=no
10919 DEFAULT_wxUSE_TOOLBAR=no
10920 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10921 DEFAULT_wxUSE_TOOLTIPS=no
10922 DEFAULT_wxUSE_TREEBOOK=no
10923 DEFAULT_wxUSE_TOOLBOOK=no
10924 DEFAULT_wxUSE_TREECTRL=no
10925 DEFAULT_wxUSE_POPUPWIN=no
10926 DEFAULT_wxUSE_TIPWINDOW=no
10927 fi
10928
10929
10930 enablestring=
10931 defaultval=$wxUSE_ALL_FEATURES
10932 if test -z "$defaultval"; then
10933 if test x"$enablestring" = xdisable; then
10934 defaultval=yes
10935 else
10936 defaultval=no
10937 fi
10938 fi
10939
10940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10941 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10942 # Check whether --enable-accel was given.
10943 if test "${enable_accel+set}" = set; then
10944 enableval=$enable_accel;
10945 if test "$enableval" = yes; then
10946 wx_cv_use_accel='wxUSE_ACCEL=yes'
10947 else
10948 wx_cv_use_accel='wxUSE_ACCEL=no'
10949 fi
10950 cache=yes
10951
10952 else
10953
10954 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10955 if test "x$LINE" != x ; then
10956 eval "DEFAULT_$LINE"
10957 cache=yes
10958 else
10959 cache=no
10960 fi
10961
10962 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10963
10964 fi
10965
10966
10967 eval "$wx_cv_use_accel"
10968 if test "x$cache" = xyes; then
10969 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10970 fi
10971
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_ACCEL = yes; then
10974 result=no
10975 else
10976 result=yes
10977 fi
10978 else
10979 result=$wxUSE_ACCEL
10980 fi
10981
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10984
10985
10986 enablestring=
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10990 defaultval=yes
10991 else
10992 defaultval=no
10993 fi
10994 fi
10995
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10998 # Check whether --enable-animatectrl was given.
10999 if test "${enable_animatectrl+set}" = set; then
11000 enableval=$enable_animatectrl;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11003 else
11004 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11005 fi
11006 cache=yes
11007
11008 else
11009
11010 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11011 if test "x$LINE" != x ; then
11012 eval "DEFAULT_$LINE"
11013 cache=yes
11014 else
11015 cache=no
11016 fi
11017
11018 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11019
11020 fi
11021
11022
11023 eval "$wx_cv_use_animatectrl"
11024 if test "x$cache" = xyes; then
11025 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11026 fi
11027
11028 if test x"$enablestring" = xdisable; then
11029 if test $wxUSE_ANIMATIONCTRL = yes; then
11030 result=no
11031 else
11032 result=yes
11033 fi
11034 else
11035 result=$wxUSE_ANIMATIONCTRL
11036 fi
11037
11038 { echo "$as_me:$LINENO: result: $result" >&5
11039 echo "${ECHO_T}$result" >&6; }
11040
11041
11042 enablestring=
11043 defaultval=$wxUSE_ALL_FEATURES
11044 if test -z "$defaultval"; then
11045 if test x"$enablestring" = xdisable; then
11046 defaultval=yes
11047 else
11048 defaultval=no
11049 fi
11050 fi
11051
11052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11053 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11054 # Check whether --enable-button was given.
11055 if test "${enable_button+set}" = set; then
11056 enableval=$enable_button;
11057 if test "$enableval" = yes; then
11058 wx_cv_use_button='wxUSE_BUTTON=yes'
11059 else
11060 wx_cv_use_button='wxUSE_BUTTON=no'
11061 fi
11062 cache=yes
11063
11064 else
11065
11066 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11067 if test "x$LINE" != x ; then
11068 eval "DEFAULT_$LINE"
11069 cache=yes
11070 else
11071 cache=no
11072 fi
11073
11074 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11075
11076 fi
11077
11078
11079 eval "$wx_cv_use_button"
11080 if test "x$cache" = xyes; then
11081 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test x"$enablestring" = xdisable; then
11085 if test $wxUSE_BUTTON = yes; then
11086 result=no
11087 else
11088 result=yes
11089 fi
11090 else
11091 result=$wxUSE_BUTTON
11092 fi
11093
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11096
11097
11098 enablestring=
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11102 defaultval=yes
11103 else
11104 defaultval=no
11105 fi
11106 fi
11107
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11110 # Check whether --enable-bmpbutton was given.
11111 if test "${enable_bmpbutton+set}" = set; then
11112 enableval=$enable_bmpbutton;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11115 else
11116 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11117 fi
11118 cache=yes
11119
11120 else
11121
11122 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11123 if test "x$LINE" != x ; then
11124 eval "DEFAULT_$LINE"
11125 cache=yes
11126 else
11127 cache=no
11128 fi
11129
11130 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11131
11132 fi
11133
11134
11135 eval "$wx_cv_use_bmpbutton"
11136 if test "x$cache" = xyes; then
11137 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_BMPBUTTON = yes; then
11142 result=no
11143 else
11144 result=yes
11145 fi
11146 else
11147 result=$wxUSE_BMPBUTTON
11148 fi
11149
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11152
11153
11154 enablestring=
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11158 defaultval=yes
11159 else
11160 defaultval=no
11161 fi
11162 fi
11163
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11166 # Check whether --enable-bmpcombobox was given.
11167 if test "${enable_bmpcombobox+set}" = set; then
11168 enableval=$enable_bmpcombobox;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11171 else
11172 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11173 fi
11174 cache=yes
11175
11176 else
11177
11178 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11181 cache=yes
11182 else
11183 cache=no
11184 fi
11185
11186 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11187
11188 fi
11189
11190
11191 eval "$wx_cv_use_bmpcombobox"
11192 if test "x$cache" = xyes; then
11193 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11194 fi
11195
11196 if test x"$enablestring" = xdisable; then
11197 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11198 result=no
11199 else
11200 result=yes
11201 fi
11202 else
11203 result=$wxUSE_BITMAPCOMBOBOX
11204 fi
11205
11206 { echo "$as_me:$LINENO: result: $result" >&5
11207 echo "${ECHO_T}$result" >&6; }
11208
11209
11210 enablestring=
11211 defaultval=$wxUSE_ALL_FEATURES
11212 if test -z "$defaultval"; then
11213 if test x"$enablestring" = xdisable; then
11214 defaultval=yes
11215 else
11216 defaultval=no
11217 fi
11218 fi
11219
11220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11222 # Check whether --enable-calendar was given.
11223 if test "${enable_calendar+set}" = set; then
11224 enableval=$enable_calendar;
11225 if test "$enableval" = yes; then
11226 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11227 else
11228 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11229 fi
11230 cache=yes
11231
11232 else
11233
11234 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11235 if test "x$LINE" != x ; then
11236 eval "DEFAULT_$LINE"
11237 cache=yes
11238 else
11239 cache=no
11240 fi
11241
11242 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11243
11244 fi
11245
11246
11247 eval "$wx_cv_use_calendar"
11248 if test "x$cache" = xyes; then
11249 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11250 fi
11251
11252 if test x"$enablestring" = xdisable; then
11253 if test $wxUSE_CALCTRL = yes; then
11254 result=no
11255 else
11256 result=yes
11257 fi
11258 else
11259 result=$wxUSE_CALCTRL
11260 fi
11261
11262 { echo "$as_me:$LINENO: result: $result" >&5
11263 echo "${ECHO_T}$result" >&6; }
11264
11265
11266 enablestring=
11267 defaultval=$wxUSE_ALL_FEATURES
11268 if test -z "$defaultval"; then
11269 if test x"$enablestring" = xdisable; then
11270 defaultval=yes
11271 else
11272 defaultval=no
11273 fi
11274 fi
11275
11276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11278 # Check whether --enable-caret was given.
11279 if test "${enable_caret+set}" = set; then
11280 enableval=$enable_caret;
11281 if test "$enableval" = yes; then
11282 wx_cv_use_caret='wxUSE_CARET=yes'
11283 else
11284 wx_cv_use_caret='wxUSE_CARET=no'
11285 fi
11286 cache=yes
11287
11288 else
11289
11290 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11291 if test "x$LINE" != x ; then
11292 eval "DEFAULT_$LINE"
11293 cache=yes
11294 else
11295 cache=no
11296 fi
11297
11298 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11299
11300 fi
11301
11302
11303 eval "$wx_cv_use_caret"
11304 if test "x$cache" = xyes; then
11305 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11306 fi
11307
11308 if test x"$enablestring" = xdisable; then
11309 if test $wxUSE_CARET = yes; then
11310 result=no
11311 else
11312 result=yes
11313 fi
11314 else
11315 result=$wxUSE_CARET
11316 fi
11317
11318 { echo "$as_me:$LINENO: result: $result" >&5
11319 echo "${ECHO_T}$result" >&6; }
11320
11321
11322 enablestring=
11323 defaultval=$wxUSE_ALL_FEATURES
11324 if test -z "$defaultval"; then
11325 if test x"$enablestring" = xdisable; then
11326 defaultval=yes
11327 else
11328 defaultval=no
11329 fi
11330 fi
11331
11332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11333 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11334 # Check whether --enable-checkbox was given.
11335 if test "${enable_checkbox+set}" = set; then
11336 enableval=$enable_checkbox;
11337 if test "$enableval" = yes; then
11338 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11339 else
11340 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11341 fi
11342 cache=yes
11343
11344 else
11345
11346 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11347 if test "x$LINE" != x ; then
11348 eval "DEFAULT_$LINE"
11349 cache=yes
11350 else
11351 cache=no
11352 fi
11353
11354 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11355
11356 fi
11357
11358
11359 eval "$wx_cv_use_checkbox"
11360 if test "x$cache" = xyes; then
11361 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11362 fi
11363
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_CHECKBOX = yes; then
11366 result=no
11367 else
11368 result=yes
11369 fi
11370 else
11371 result=$wxUSE_CHECKBOX
11372 fi
11373
11374 { echo "$as_me:$LINENO: result: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11376
11377
11378 enablestring=
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11382 defaultval=yes
11383 else
11384 defaultval=no
11385 fi
11386 fi
11387
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11390 # Check whether --enable-checklst was given.
11391 if test "${enable_checklst+set}" = set; then
11392 enableval=$enable_checklst;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11395 else
11396 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11397 fi
11398 cache=yes
11399
11400 else
11401
11402 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11403 if test "x$LINE" != x ; then
11404 eval "DEFAULT_$LINE"
11405 cache=yes
11406 else
11407 cache=no
11408 fi
11409
11410 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11411
11412 fi
11413
11414
11415 eval "$wx_cv_use_checklst"
11416 if test "x$cache" = xyes; then
11417 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11418 fi
11419
11420 if test x"$enablestring" = xdisable; then
11421 if test $wxUSE_CHECKLST = yes; then
11422 result=no
11423 else
11424 result=yes
11425 fi
11426 else
11427 result=$wxUSE_CHECKLST
11428 fi
11429
11430 { echo "$as_me:$LINENO: result: $result" >&5
11431 echo "${ECHO_T}$result" >&6; }
11432
11433
11434 enablestring=
11435 defaultval=$wxUSE_ALL_FEATURES
11436 if test -z "$defaultval"; then
11437 if test x"$enablestring" = xdisable; then
11438 defaultval=yes
11439 else
11440 defaultval=no
11441 fi
11442 fi
11443
11444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11445 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11446 # Check whether --enable-choice was given.
11447 if test "${enable_choice+set}" = set; then
11448 enableval=$enable_choice;
11449 if test "$enableval" = yes; then
11450 wx_cv_use_choice='wxUSE_CHOICE=yes'
11451 else
11452 wx_cv_use_choice='wxUSE_CHOICE=no'
11453 fi
11454 cache=yes
11455
11456 else
11457
11458 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11459 if test "x$LINE" != x ; then
11460 eval "DEFAULT_$LINE"
11461 cache=yes
11462 else
11463 cache=no
11464 fi
11465
11466 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11467
11468 fi
11469
11470
11471 eval "$wx_cv_use_choice"
11472 if test "x$cache" = xyes; then
11473 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11474 fi
11475
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_CHOICE = yes; then
11478 result=no
11479 else
11480 result=yes
11481 fi
11482 else
11483 result=$wxUSE_CHOICE
11484 fi
11485
11486 { echo "$as_me:$LINENO: result: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11488
11489
11490 enablestring=
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11494 defaultval=yes
11495 else
11496 defaultval=no
11497 fi
11498 fi
11499
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11502 # Check whether --enable-choicebook was given.
11503 if test "${enable_choicebook+set}" = set; then
11504 enableval=$enable_choicebook;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11507 else
11508 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11509 fi
11510 cache=yes
11511
11512 else
11513
11514 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11515 if test "x$LINE" != x ; then
11516 eval "DEFAULT_$LINE"
11517 cache=yes
11518 else
11519 cache=no
11520 fi
11521
11522 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$wx_cv_use_choicebook"
11528 if test "x$cache" = xyes; then
11529 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11530 fi
11531
11532 if test x"$enablestring" = xdisable; then
11533 if test $wxUSE_CHOICEBOOK = yes; then
11534 result=no
11535 else
11536 result=yes
11537 fi
11538 else
11539 result=$wxUSE_CHOICEBOOK
11540 fi
11541
11542 { echo "$as_me:$LINENO: result: $result" >&5
11543 echo "${ECHO_T}$result" >&6; }
11544
11545
11546 enablestring=
11547 defaultval=$wxUSE_ALL_FEATURES
11548 if test -z "$defaultval"; then
11549 if test x"$enablestring" = xdisable; then
11550 defaultval=yes
11551 else
11552 defaultval=no
11553 fi
11554 fi
11555
11556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11557 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11558 # Check whether --enable-collpane was given.
11559 if test "${enable_collpane+set}" = set; then
11560 enableval=$enable_collpane;
11561 if test "$enableval" = yes; then
11562 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11563 else
11564 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11565 fi
11566 cache=yes
11567
11568 else
11569
11570 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11571 if test "x$LINE" != x ; then
11572 eval "DEFAULT_$LINE"
11573 cache=yes
11574 else
11575 cache=no
11576 fi
11577
11578 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11579
11580 fi
11581
11582
11583 eval "$wx_cv_use_collpane"
11584 if test "x$cache" = xyes; then
11585 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11586 fi
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_COLLPANE = yes; then
11590 result=no
11591 else
11592 result=yes
11593 fi
11594 else
11595 result=$wxUSE_COLLPANE
11596 fi
11597
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11614 # Check whether --enable-colourpicker was given.
11615 if test "${enable_colourpicker+set}" = set; then
11616 enableval=$enable_colourpicker;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11619 else
11620 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11621 fi
11622 cache=yes
11623
11624 else
11625
11626 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x ; then
11628 eval "DEFAULT_$LINE"
11629 cache=yes
11630 else
11631 cache=no
11632 fi
11633
11634 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11635
11636 fi
11637
11638
11639 eval "$wx_cv_use_colourpicker"
11640 if test "x$cache" = xyes; then
11641 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11642 fi
11643
11644 if test x"$enablestring" = xdisable; then
11645 if test $wxUSE_COLOURPICKERCTRL = yes; then
11646 result=no
11647 else
11648 result=yes
11649 fi
11650 else
11651 result=$wxUSE_COLOURPICKERCTRL
11652 fi
11653
11654 { echo "$as_me:$LINENO: result: $result" >&5
11655 echo "${ECHO_T}$result" >&6; }
11656
11657
11658 enablestring=
11659 defaultval=$wxUSE_ALL_FEATURES
11660 if test -z "$defaultval"; then
11661 if test x"$enablestring" = xdisable; then
11662 defaultval=yes
11663 else
11664 defaultval=no
11665 fi
11666 fi
11667
11668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11669 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11670 # Check whether --enable-combobox was given.
11671 if test "${enable_combobox+set}" = set; then
11672 enableval=$enable_combobox;
11673 if test "$enableval" = yes; then
11674 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11675 else
11676 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11677 fi
11678 cache=yes
11679
11680 else
11681
11682 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11683 if test "x$LINE" != x ; then
11684 eval "DEFAULT_$LINE"
11685 cache=yes
11686 else
11687 cache=no
11688 fi
11689
11690 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11691
11692 fi
11693
11694
11695 eval "$wx_cv_use_combobox"
11696 if test "x$cache" = xyes; then
11697 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11698 fi
11699
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_COMBOBOX = yes; then
11702 result=no
11703 else
11704 result=yes
11705 fi
11706 else
11707 result=$wxUSE_COMBOBOX
11708 fi
11709
11710 { echo "$as_me:$LINENO: result: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11712
11713
11714 enablestring=
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11718 defaultval=yes
11719 else
11720 defaultval=no
11721 fi
11722 fi
11723
11724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11725 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11726 # Check whether --enable-comboctrl was given.
11727 if test "${enable_comboctrl+set}" = set; then
11728 enableval=$enable_comboctrl;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11731 else
11732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11733 fi
11734 cache=yes
11735
11736 else
11737
11738 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11739 if test "x$LINE" != x ; then
11740 eval "DEFAULT_$LINE"
11741 cache=yes
11742 else
11743 cache=no
11744 fi
11745
11746 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11747
11748 fi
11749
11750
11751 eval "$wx_cv_use_comboctrl"
11752 if test "x$cache" = xyes; then
11753 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11754 fi
11755
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_COMBOCTRL = yes; then
11758 result=no
11759 else
11760 result=yes
11761 fi
11762 else
11763 result=$wxUSE_COMBOCTRL
11764 fi
11765
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11768
11769
11770 enablestring=
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11774 defaultval=yes
11775 else
11776 defaultval=no
11777 fi
11778 fi
11779
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11782 # Check whether --enable-datepick was given.
11783 if test "${enable_datepick+set}" = set; then
11784 enableval=$enable_datepick;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11787 else
11788 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11789 fi
11790 cache=yes
11791
11792 else
11793
11794 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11795 if test "x$LINE" != x ; then
11796 eval "DEFAULT_$LINE"
11797 cache=yes
11798 else
11799 cache=no
11800 fi
11801
11802 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11803
11804 fi
11805
11806
11807 eval "$wx_cv_use_datepick"
11808 if test "x$cache" = xyes; then
11809 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11810 fi
11811
11812 if test x"$enablestring" = xdisable; then
11813 if test $wxUSE_DATEPICKCTRL = yes; then
11814 result=no
11815 else
11816 result=yes
11817 fi
11818 else
11819 result=$wxUSE_DATEPICKCTRL
11820 fi
11821
11822 { echo "$as_me:$LINENO: result: $result" >&5
11823 echo "${ECHO_T}$result" >&6; }
11824
11825
11826 enablestring=
11827 defaultval=$wxUSE_ALL_FEATURES
11828 if test -z "$defaultval"; then
11829 if test x"$enablestring" = xdisable; then
11830 defaultval=yes
11831 else
11832 defaultval=no
11833 fi
11834 fi
11835
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11838 # Check whether --enable-dirpicker was given.
11839 if test "${enable_dirpicker+set}" = set; then
11840 enableval=$enable_dirpicker;
11841 if test "$enableval" = yes; then
11842 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11843 else
11844 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11845 fi
11846 cache=yes
11847
11848 else
11849
11850 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 cache=yes
11854 else
11855 cache=no
11856 fi
11857
11858 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11859
11860 fi
11861
11862
11863 eval "$wx_cv_use_dirpicker"
11864 if test "x$cache" = xyes; then
11865 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11866 fi
11867
11868 if test x"$enablestring" = xdisable; then
11869 if test $wxUSE_DIRPICKERCTRL = yes; then
11870 result=no
11871 else
11872 result=yes
11873 fi
11874 else
11875 result=$wxUSE_DIRPICKERCTRL
11876 fi
11877
11878 { echo "$as_me:$LINENO: result: $result" >&5
11879 echo "${ECHO_T}$result" >&6; }
11880
11881
11882 enablestring=
11883 defaultval=$wxUSE_ALL_FEATURES
11884 if test -z "$defaultval"; then
11885 if test x"$enablestring" = xdisable; then
11886 defaultval=yes
11887 else
11888 defaultval=no
11889 fi
11890 fi
11891
11892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11893 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11894 # Check whether --enable-display was given.
11895 if test "${enable_display+set}" = set; then
11896 enableval=$enable_display;
11897 if test "$enableval" = yes; then
11898 wx_cv_use_display='wxUSE_DISPLAY=yes'
11899 else
11900 wx_cv_use_display='wxUSE_DISPLAY=no'
11901 fi
11902 cache=yes
11903
11904 else
11905
11906 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11907 if test "x$LINE" != x ; then
11908 eval "DEFAULT_$LINE"
11909 cache=yes
11910 else
11911 cache=no
11912 fi
11913
11914 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11915
11916 fi
11917
11918
11919 eval "$wx_cv_use_display"
11920 if test "x$cache" = xyes; then
11921 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11922 fi
11923
11924 if test x"$enablestring" = xdisable; then
11925 if test $wxUSE_DISPLAY = yes; then
11926 result=no
11927 else
11928 result=yes
11929 fi
11930 else
11931 result=$wxUSE_DISPLAY
11932 fi
11933
11934 { echo "$as_me:$LINENO: result: $result" >&5
11935 echo "${ECHO_T}$result" >&6; }
11936
11937
11938 enablestring=
11939 defaultval=$wxUSE_ALL_FEATURES
11940 if test -z "$defaultval"; then
11941 if test x"$enablestring" = xdisable; then
11942 defaultval=yes
11943 else
11944 defaultval=no
11945 fi
11946 fi
11947
11948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11949 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11950 # Check whether --enable-detect_sm was given.
11951 if test "${enable_detect_sm+set}" = set; then
11952 enableval=$enable_detect_sm;
11953 if test "$enableval" = yes; then
11954 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11955 else
11956 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11957 fi
11958 cache=yes
11959
11960 else
11961
11962 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11963 if test "x$LINE" != x ; then
11964 eval "DEFAULT_$LINE"
11965 cache=yes
11966 else
11967 cache=no
11968 fi
11969
11970 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11971
11972 fi
11973
11974
11975 eval "$wx_cv_use_detect_sm"
11976 if test "x$cache" = xyes; then
11977 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11978 fi
11979
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_DETECT_SM = yes; then
11982 result=no
11983 else
11984 result=yes
11985 fi
11986 else
11987 result=$wxUSE_DETECT_SM
11988 fi
11989
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11992
11993
11994 enablestring=
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
11998 defaultval=yes
11999 else
12000 defaultval=no
12001 fi
12002 fi
12003
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12006 # Check whether --enable-editablebox was given.
12007 if test "${enable_editablebox+set}" = set; then
12008 enableval=$enable_editablebox;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12011 else
12012 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12013 fi
12014 cache=yes
12015
12016 else
12017
12018 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12019 if test "x$LINE" != x ; then
12020 eval "DEFAULT_$LINE"
12021 cache=yes
12022 else
12023 cache=no
12024 fi
12025
12026 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12027
12028 fi
12029
12030
12031 eval "$wx_cv_use_editablebox"
12032 if test "x$cache" = xyes; then
12033 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12034 fi
12035
12036 if test x"$enablestring" = xdisable; then
12037 if test $wxUSE_EDITABLELISTBOX = yes; then
12038 result=no
12039 else
12040 result=yes
12041 fi
12042 else
12043 result=$wxUSE_EDITABLELISTBOX
12044 fi
12045
12046 { echo "$as_me:$LINENO: result: $result" >&5
12047 echo "${ECHO_T}$result" >&6; }
12048
12049
12050 enablestring=
12051 defaultval=$wxUSE_ALL_FEATURES
12052 if test -z "$defaultval"; then
12053 if test x"$enablestring" = xdisable; then
12054 defaultval=yes
12055 else
12056 defaultval=no
12057 fi
12058 fi
12059
12060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12061 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12062 # Check whether --enable-filepicker was given.
12063 if test "${enable_filepicker+set}" = set; then
12064 enableval=$enable_filepicker;
12065 if test "$enableval" = yes; then
12066 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12067 else
12068 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12069 fi
12070 cache=yes
12071
12072 else
12073
12074 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12075 if test "x$LINE" != x ; then
12076 eval "DEFAULT_$LINE"
12077 cache=yes
12078 else
12079 cache=no
12080 fi
12081
12082 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12083
12084 fi
12085
12086
12087 eval "$wx_cv_use_filepicker"
12088 if test "x$cache" = xyes; then
12089 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12090 fi
12091
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEPICKERCTRL = yes; then
12094 result=no
12095 else
12096 result=yes
12097 fi
12098 else
12099 result=$wxUSE_FILEPICKERCTRL
12100 fi
12101
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12104
12105
12106 enablestring=
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12110 defaultval=yes
12111 else
12112 defaultval=no
12113 fi
12114 fi
12115
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12118 # Check whether --enable-filectrl was given.
12119 if test "${enable_filectrl+set}" = set; then
12120 enableval=$enable_filectrl;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12123 else
12124 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12125 fi
12126 cache=yes
12127
12128 else
12129
12130 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12131 if test "x$LINE" != x ; then
12132 eval "DEFAULT_$LINE"
12133 cache=yes
12134 else
12135 cache=no
12136 fi
12137
12138 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12139
12140 fi
12141
12142
12143 eval "$wx_cv_use_filectrl"
12144 if test "x$cache" = xyes; then
12145 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12146 fi
12147
12148 if test x"$enablestring" = xdisable; then
12149 if test $wxUSE_FILECTRL = yes; then
12150 result=no
12151 else
12152 result=yes
12153 fi
12154 else
12155 result=$wxUSE_FILECTRL
12156 fi
12157
12158 { echo "$as_me:$LINENO: result: $result" >&5
12159 echo "${ECHO_T}$result" >&6; }
12160
12161
12162 enablestring=
12163 defaultval=$wxUSE_ALL_FEATURES
12164 if test -z "$defaultval"; then
12165 if test x"$enablestring" = xdisable; then
12166 defaultval=yes
12167 else
12168 defaultval=no
12169 fi
12170 fi
12171
12172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12173 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12174 # Check whether --enable-fontpicker was given.
12175 if test "${enable_fontpicker+set}" = set; then
12176 enableval=$enable_fontpicker;
12177 if test "$enableval" = yes; then
12178 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12179 else
12180 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12181 fi
12182 cache=yes
12183
12184 else
12185
12186 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12187 if test "x$LINE" != x ; then
12188 eval "DEFAULT_$LINE"
12189 cache=yes
12190 else
12191 cache=no
12192 fi
12193
12194 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_fontpicker"
12200 if test "x$cache" = xyes; then
12201 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12202 fi
12203
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_FONTPICKERCTRL = yes; then
12206 result=no
12207 else
12208 result=yes
12209 fi
12210 else
12211 result=$wxUSE_FONTPICKERCTRL
12212 fi
12213
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12216
12217
12218 enablestring=
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12222 defaultval=yes
12223 else
12224 defaultval=no
12225 fi
12226 fi
12227
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12230 # Check whether --enable-gauge was given.
12231 if test "${enable_gauge+set}" = set; then
12232 enableval=$enable_gauge;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12235 else
12236 wx_cv_use_gauge='wxUSE_GAUGE=no'
12237 fi
12238 cache=yes
12239
12240 else
12241
12242 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12243 if test "x$LINE" != x ; then
12244 eval "DEFAULT_$LINE"
12245 cache=yes
12246 else
12247 cache=no
12248 fi
12249
12250 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12251
12252 fi
12253
12254
12255 eval "$wx_cv_use_gauge"
12256 if test "x$cache" = xyes; then
12257 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12258 fi
12259
12260 if test x"$enablestring" = xdisable; then
12261 if test $wxUSE_GAUGE = yes; then
12262 result=no
12263 else
12264 result=yes
12265 fi
12266 else
12267 result=$wxUSE_GAUGE
12268 fi
12269
12270 { echo "$as_me:$LINENO: result: $result" >&5
12271 echo "${ECHO_T}$result" >&6; }
12272
12273
12274 enablestring=
12275 defaultval=$wxUSE_ALL_FEATURES
12276 if test -z "$defaultval"; then
12277 if test x"$enablestring" = xdisable; then
12278 defaultval=yes
12279 else
12280 defaultval=no
12281 fi
12282 fi
12283
12284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12285 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12286 # Check whether --enable-grid was given.
12287 if test "${enable_grid+set}" = set; then
12288 enableval=$enable_grid;
12289 if test "$enableval" = yes; then
12290 wx_cv_use_grid='wxUSE_GRID=yes'
12291 else
12292 wx_cv_use_grid='wxUSE_GRID=no'
12293 fi
12294 cache=yes
12295
12296 else
12297
12298 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12299 if test "x$LINE" != x ; then
12300 eval "DEFAULT_$LINE"
12301 cache=yes
12302 else
12303 cache=no
12304 fi
12305
12306 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12307
12308 fi
12309
12310
12311 eval "$wx_cv_use_grid"
12312 if test "x$cache" = xyes; then
12313 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12314 fi
12315
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_GRID = yes; then
12318 result=no
12319 else
12320 result=yes
12321 fi
12322 else
12323 result=$wxUSE_GRID
12324 fi
12325
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12328
12329
12330 enablestring=
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12334 defaultval=yes
12335 else
12336 defaultval=no
12337 fi
12338 fi
12339
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12342 # Check whether --enable-dataviewctrl was given.
12343 if test "${enable_dataviewctrl+set}" = set; then
12344 enableval=$enable_dataviewctrl;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12347 else
12348 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12349 fi
12350 cache=yes
12351
12352 else
12353
12354 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12355 if test "x$LINE" != x ; then
12356 eval "DEFAULT_$LINE"
12357 cache=yes
12358 else
12359 cache=no
12360 fi
12361
12362 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_dataviewctrl"
12368 if test "x$cache" = xyes; then
12369 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12370 fi
12371
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_DATAVIEWCTRL = yes; then
12374 result=no
12375 else
12376 result=yes
12377 fi
12378 else
12379 result=$wxUSE_DATAVIEWCTRL
12380 fi
12381
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12384
12385
12386 enablestring=
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12390 defaultval=yes
12391 else
12392 defaultval=no
12393 fi
12394 fi
12395
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12398 # Check whether --enable-hyperlink was given.
12399 if test "${enable_hyperlink+set}" = set; then
12400 enableval=$enable_hyperlink;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12403 else
12404 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12405 fi
12406 cache=yes
12407
12408 else
12409
12410 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12411 if test "x$LINE" != x ; then
12412 eval "DEFAULT_$LINE"
12413 cache=yes
12414 else
12415 cache=no
12416 fi
12417
12418 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_hyperlink"
12424 if test "x$cache" = xyes; then
12425 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12426 fi
12427
12428 if test x"$enablestring" = xdisable; then
12429 if test $wxUSE_HYPERLINKCTRL = yes; then
12430 result=no
12431 else
12432 result=yes
12433 fi
12434 else
12435 result=$wxUSE_HYPERLINKCTRL
12436 fi
12437
12438 { echo "$as_me:$LINENO: result: $result" >&5
12439 echo "${ECHO_T}$result" >&6; }
12440
12441
12442 enablestring=
12443 defaultval=$wxUSE_ALL_FEATURES
12444 if test -z "$defaultval"; then
12445 if test x"$enablestring" = xdisable; then
12446 defaultval=yes
12447 else
12448 defaultval=no
12449 fi
12450 fi
12451
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12454 # Check whether --enable-imaglist was given.
12455 if test "${enable_imaglist+set}" = set; then
12456 enableval=$enable_imaglist;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12459 else
12460 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12461 fi
12462 cache=yes
12463
12464 else
12465
12466 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12469 cache=yes
12470 else
12471 cache=no
12472 fi
12473
12474 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12475
12476 fi
12477
12478
12479 eval "$wx_cv_use_imaglist"
12480 if test "x$cache" = xyes; then
12481 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12482 fi
12483
12484 if test x"$enablestring" = xdisable; then
12485 if test $wxUSE_IMAGLIST = yes; then
12486 result=no
12487 else
12488 result=yes
12489 fi
12490 else
12491 result=$wxUSE_IMAGLIST
12492 fi
12493
12494 { echo "$as_me:$LINENO: result: $result" >&5
12495 echo "${ECHO_T}$result" >&6; }
12496
12497
12498 enablestring=
12499 defaultval=$wxUSE_ALL_FEATURES
12500 if test -z "$defaultval"; then
12501 if test x"$enablestring" = xdisable; then
12502 defaultval=yes
12503 else
12504 defaultval=no
12505 fi
12506 fi
12507
12508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12509 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12510 # Check whether --enable-listbook was given.
12511 if test "${enable_listbook+set}" = set; then
12512 enableval=$enable_listbook;
12513 if test "$enableval" = yes; then
12514 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12515 else
12516 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12517 fi
12518 cache=yes
12519
12520 else
12521
12522 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12523 if test "x$LINE" != x ; then
12524 eval "DEFAULT_$LINE"
12525 cache=yes
12526 else
12527 cache=no
12528 fi
12529
12530 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12531
12532 fi
12533
12534
12535 eval "$wx_cv_use_listbook"
12536 if test "x$cache" = xyes; then
12537 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12538 fi
12539
12540 if test x"$enablestring" = xdisable; then
12541 if test $wxUSE_LISTBOOK = yes; then
12542 result=no
12543 else
12544 result=yes
12545 fi
12546 else
12547 result=$wxUSE_LISTBOOK
12548 fi
12549
12550 { echo "$as_me:$LINENO: result: $result" >&5
12551 echo "${ECHO_T}$result" >&6; }
12552
12553
12554 enablestring=
12555 defaultval=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x"$enablestring" = xdisable; then
12558 defaultval=yes
12559 else
12560 defaultval=no
12561 fi
12562 fi
12563
12564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12566 # Check whether --enable-listbox was given.
12567 if test "${enable_listbox+set}" = set; then
12568 enableval=$enable_listbox;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12571 else
12572 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12573 fi
12574 cache=yes
12575
12576 else
12577
12578 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12579 if test "x$LINE" != x ; then
12580 eval "DEFAULT_$LINE"
12581 cache=yes
12582 else
12583 cache=no
12584 fi
12585
12586 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12587
12588 fi
12589
12590
12591 eval "$wx_cv_use_listbox"
12592 if test "x$cache" = xyes; then
12593 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12594 fi
12595
12596 if test x"$enablestring" = xdisable; then
12597 if test $wxUSE_LISTBOX = yes; then
12598 result=no
12599 else
12600 result=yes
12601 fi
12602 else
12603 result=$wxUSE_LISTBOX
12604 fi
12605
12606 { echo "$as_me:$LINENO: result: $result" >&5
12607 echo "${ECHO_T}$result" >&6; }
12608
12609
12610 enablestring=
12611 defaultval=$wxUSE_ALL_FEATURES
12612 if test -z "$defaultval"; then
12613 if test x"$enablestring" = xdisable; then
12614 defaultval=yes
12615 else
12616 defaultval=no
12617 fi
12618 fi
12619
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12622 # Check whether --enable-listctrl was given.
12623 if test "${enable_listctrl+set}" = set; then
12624 enableval=$enable_listctrl;
12625 if test "$enableval" = yes; then
12626 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12627 else
12628 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12629 fi
12630 cache=yes
12631
12632 else
12633
12634 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12637 cache=yes
12638 else
12639 cache=no
12640 fi
12641
12642 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12643
12644 fi
12645
12646
12647 eval "$wx_cv_use_listctrl"
12648 if test "x$cache" = xyes; then
12649 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12650 fi
12651
12652 if test x"$enablestring" = xdisable; then
12653 if test $wxUSE_LISTCTRL = yes; then
12654 result=no
12655 else
12656 result=yes
12657 fi
12658 else
12659 result=$wxUSE_LISTCTRL
12660 fi
12661
12662 { echo "$as_me:$LINENO: result: $result" >&5
12663 echo "${ECHO_T}$result" >&6; }
12664
12665
12666 enablestring=
12667 defaultval=$wxUSE_ALL_FEATURES
12668 if test -z "$defaultval"; then
12669 if test x"$enablestring" = xdisable; then
12670 defaultval=yes
12671 else
12672 defaultval=no
12673 fi
12674 fi
12675
12676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12677 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12678 # Check whether --enable-notebook was given.
12679 if test "${enable_notebook+set}" = set; then
12680 enableval=$enable_notebook;
12681 if test "$enableval" = yes; then
12682 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12683 else
12684 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12685 fi
12686 cache=yes
12687
12688 else
12689
12690 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12691 if test "x$LINE" != x ; then
12692 eval "DEFAULT_$LINE"
12693 cache=yes
12694 else
12695 cache=no
12696 fi
12697
12698 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12699
12700 fi
12701
12702
12703 eval "$wx_cv_use_notebook"
12704 if test "x$cache" = xyes; then
12705 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12706 fi
12707
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_NOTEBOOK = yes; then
12710 result=no
12711 else
12712 result=yes
12713 fi
12714 else
12715 result=$wxUSE_NOTEBOOK
12716 fi
12717
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12720
12721
12722 enablestring=
12723 defaultval=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x"$enablestring" = xdisable; then
12726 defaultval=yes
12727 else
12728 defaultval=no
12729 fi
12730 fi
12731
12732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12733 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12734 # Check whether --enable-odcombobox was given.
12735 if test "${enable_odcombobox+set}" = set; then
12736 enableval=$enable_odcombobox;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12739 else
12740 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12741 fi
12742 cache=yes
12743
12744 else
12745
12746 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12747 if test "x$LINE" != x ; then
12748 eval "DEFAULT_$LINE"
12749 cache=yes
12750 else
12751 cache=no
12752 fi
12753
12754 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12755
12756 fi
12757
12758
12759 eval "$wx_cv_use_odcombobox"
12760 if test "x$cache" = xyes; then
12761 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12762 fi
12763
12764 if test x"$enablestring" = xdisable; then
12765 if test $wxUSE_ODCOMBOBOX = yes; then
12766 result=no
12767 else
12768 result=yes
12769 fi
12770 else
12771 result=$wxUSE_ODCOMBOBOX
12772 fi
12773
12774 { echo "$as_me:$LINENO: result: $result" >&5
12775 echo "${ECHO_T}$result" >&6; }
12776
12777
12778 enablestring=
12779 defaultval=$wxUSE_ALL_FEATURES
12780 if test -z "$defaultval"; then
12781 if test x"$enablestring" = xdisable; then
12782 defaultval=yes
12783 else
12784 defaultval=no
12785 fi
12786 fi
12787
12788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12789 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12790 # Check whether --enable-radiobox was given.
12791 if test "${enable_radiobox+set}" = set; then
12792 enableval=$enable_radiobox;
12793 if test "$enableval" = yes; then
12794 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12795 else
12796 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12797 fi
12798 cache=yes
12799
12800 else
12801
12802 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12803 if test "x$LINE" != x ; then
12804 eval "DEFAULT_$LINE"
12805 cache=yes
12806 else
12807 cache=no
12808 fi
12809
12810 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_radiobox"
12816 if test "x$cache" = xyes; then
12817 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12818 fi
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_RADIOBOX = yes; then
12822 result=no
12823 else
12824 result=yes
12825 fi
12826 else
12827 result=$wxUSE_RADIOBOX
12828 fi
12829
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12846 # Check whether --enable-radiobtn was given.
12847 if test "${enable_radiobtn+set}" = set; then
12848 enableval=$enable_radiobtn;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12851 else
12852 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12853 fi
12854 cache=yes
12855
12856 else
12857
12858 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12859 if test "x$LINE" != x ; then
12860 eval "DEFAULT_$LINE"
12861 cache=yes
12862 else
12863 cache=no
12864 fi
12865
12866 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12867
12868 fi
12869
12870
12871 eval "$wx_cv_use_radiobtn"
12872 if test "x$cache" = xyes; then
12873 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12874 fi
12875
12876 if test x"$enablestring" = xdisable; then
12877 if test $wxUSE_RADIOBTN = yes; then
12878 result=no
12879 else
12880 result=yes
12881 fi
12882 else
12883 result=$wxUSE_RADIOBTN
12884 fi
12885
12886 { echo "$as_me:$LINENO: result: $result" >&5
12887 echo "${ECHO_T}$result" >&6; }
12888
12889
12890 enablestring=
12891 defaultval=$wxUSE_ALL_FEATURES
12892 if test -z "$defaultval"; then
12893 if test x"$enablestring" = xdisable; then
12894 defaultval=yes
12895 else
12896 defaultval=no
12897 fi
12898 fi
12899
12900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12901 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12902 # Check whether --enable-sash was given.
12903 if test "${enable_sash+set}" = set; then
12904 enableval=$enable_sash;
12905 if test "$enableval" = yes; then
12906 wx_cv_use_sash='wxUSE_SASH=yes'
12907 else
12908 wx_cv_use_sash='wxUSE_SASH=no'
12909 fi
12910 cache=yes
12911
12912 else
12913
12914 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12915 if test "x$LINE" != x ; then
12916 eval "DEFAULT_$LINE"
12917 cache=yes
12918 else
12919 cache=no
12920 fi
12921
12922 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12923
12924 fi
12925
12926
12927 eval "$wx_cv_use_sash"
12928 if test "x$cache" = xyes; then
12929 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12930 fi
12931
12932 if test x"$enablestring" = xdisable; then
12933 if test $wxUSE_SASH = yes; then
12934 result=no
12935 else
12936 result=yes
12937 fi
12938 else
12939 result=$wxUSE_SASH
12940 fi
12941
12942 { echo "$as_me:$LINENO: result: $result" >&5
12943 echo "${ECHO_T}$result" >&6; }
12944
12945
12946 enablestring=
12947 defaultval=$wxUSE_ALL_FEATURES
12948 if test -z "$defaultval"; then
12949 if test x"$enablestring" = xdisable; then
12950 defaultval=yes
12951 else
12952 defaultval=no
12953 fi
12954 fi
12955
12956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12957 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12958 # Check whether --enable-scrollbar was given.
12959 if test "${enable_scrollbar+set}" = set; then
12960 enableval=$enable_scrollbar;
12961 if test "$enableval" = yes; then
12962 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12963 else
12964 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12965 fi
12966 cache=yes
12967
12968 else
12969
12970 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12971 if test "x$LINE" != x ; then
12972 eval "DEFAULT_$LINE"
12973 cache=yes
12974 else
12975 cache=no
12976 fi
12977
12978 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12979
12980 fi
12981
12982
12983 eval "$wx_cv_use_scrollbar"
12984 if test "x$cache" = xyes; then
12985 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12986 fi
12987
12988 if test x"$enablestring" = xdisable; then
12989 if test $wxUSE_SCROLLBAR = yes; then
12990 result=no
12991 else
12992 result=yes
12993 fi
12994 else
12995 result=$wxUSE_SCROLLBAR
12996 fi
12997
12998 { echo "$as_me:$LINENO: result: $result" >&5
12999 echo "${ECHO_T}$result" >&6; }
13000
13001
13002 enablestring=
13003 defaultval=$wxUSE_ALL_FEATURES
13004 if test -z "$defaultval"; then
13005 if test x"$enablestring" = xdisable; then
13006 defaultval=yes
13007 else
13008 defaultval=no
13009 fi
13010 fi
13011
13012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13013 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13014 # Check whether --enable-searchctrl was given.
13015 if test "${enable_searchctrl+set}" = set; then
13016 enableval=$enable_searchctrl;
13017 if test "$enableval" = yes; then
13018 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13019 else
13020 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13021 fi
13022 cache=yes
13023
13024 else
13025
13026 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13027 if test "x$LINE" != x ; then
13028 eval "DEFAULT_$LINE"
13029 cache=yes
13030 else
13031 cache=no
13032 fi
13033
13034 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13035
13036 fi
13037
13038
13039 eval "$wx_cv_use_searchctrl"
13040 if test "x$cache" = xyes; then
13041 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13042 fi
13043
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_SEARCHCTRL = yes; then
13046 result=no
13047 else
13048 result=yes
13049 fi
13050 else
13051 result=$wxUSE_SEARCHCTRL
13052 fi
13053
13054 { echo "$as_me:$LINENO: result: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13056
13057
13058 enablestring=
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13062 defaultval=yes
13063 else
13064 defaultval=no
13065 fi
13066 fi
13067
13068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13069 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13070 # Check whether --enable-slider was given.
13071 if test "${enable_slider+set}" = set; then
13072 enableval=$enable_slider;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_slider='wxUSE_SLIDER=yes'
13075 else
13076 wx_cv_use_slider='wxUSE_SLIDER=no'
13077 fi
13078 cache=yes
13079
13080 else
13081
13082 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13083 if test "x$LINE" != x ; then
13084 eval "DEFAULT_$LINE"
13085 cache=yes
13086 else
13087 cache=no
13088 fi
13089
13090 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13091
13092 fi
13093
13094
13095 eval "$wx_cv_use_slider"
13096 if test "x$cache" = xyes; then
13097 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13098 fi
13099
13100 if test x"$enablestring" = xdisable; then
13101 if test $wxUSE_SLIDER = yes; then
13102 result=no
13103 else
13104 result=yes
13105 fi
13106 else
13107 result=$wxUSE_SLIDER
13108 fi
13109
13110 { echo "$as_me:$LINENO: result: $result" >&5
13111 echo "${ECHO_T}$result" >&6; }
13112
13113
13114 enablestring=
13115 defaultval=$wxUSE_ALL_FEATURES
13116 if test -z "$defaultval"; then
13117 if test x"$enablestring" = xdisable; then
13118 defaultval=yes
13119 else
13120 defaultval=no
13121 fi
13122 fi
13123
13124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13125 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13126 # Check whether --enable-spinbtn was given.
13127 if test "${enable_spinbtn+set}" = set; then
13128 enableval=$enable_spinbtn;
13129 if test "$enableval" = yes; then
13130 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13131 else
13132 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13133 fi
13134 cache=yes
13135
13136 else
13137
13138 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13139 if test "x$LINE" != x ; then
13140 eval "DEFAULT_$LINE"
13141 cache=yes
13142 else
13143 cache=no
13144 fi
13145
13146 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_spinbtn"
13152 if test "x$cache" = xyes; then
13153 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13154 fi
13155
13156 if test x"$enablestring" = xdisable; then
13157 if test $wxUSE_SPINBTN = yes; then
13158 result=no
13159 else
13160 result=yes
13161 fi
13162 else
13163 result=$wxUSE_SPINBTN
13164 fi
13165
13166 { echo "$as_me:$LINENO: result: $result" >&5
13167 echo "${ECHO_T}$result" >&6; }
13168
13169
13170 enablestring=
13171 defaultval=$wxUSE_ALL_FEATURES
13172 if test -z "$defaultval"; then
13173 if test x"$enablestring" = xdisable; then
13174 defaultval=yes
13175 else
13176 defaultval=no
13177 fi
13178 fi
13179
13180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13181 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13182 # Check whether --enable-spinctrl was given.
13183 if test "${enable_spinctrl+set}" = set; then
13184 enableval=$enable_spinctrl;
13185 if test "$enableval" = yes; then
13186 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13187 else
13188 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13189 fi
13190 cache=yes
13191
13192 else
13193
13194 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13195 if test "x$LINE" != x ; then
13196 eval "DEFAULT_$LINE"
13197 cache=yes
13198 else
13199 cache=no
13200 fi
13201
13202 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_spinctrl"
13208 if test "x$cache" = xyes; then
13209 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13210 fi
13211
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_SPINCTRL = yes; then
13214 result=no
13215 else
13216 result=yes
13217 fi
13218 else
13219 result=$wxUSE_SPINCTRL
13220 fi
13221
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13224
13225
13226 enablestring=
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13230 defaultval=yes
13231 else
13232 defaultval=no
13233 fi
13234 fi
13235
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13238 # Check whether --enable-splitter was given.
13239 if test "${enable_splitter+set}" = set; then
13240 enableval=$enable_splitter;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13243 else
13244 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13245 fi
13246 cache=yes
13247
13248 else
13249
13250 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13251 if test "x$LINE" != x ; then
13252 eval "DEFAULT_$LINE"
13253 cache=yes
13254 else
13255 cache=no
13256 fi
13257
13258 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13259
13260 fi
13261
13262
13263 eval "$wx_cv_use_splitter"
13264 if test "x$cache" = xyes; then
13265 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13266 fi
13267
13268 if test x"$enablestring" = xdisable; then
13269 if test $wxUSE_SPLITTER = yes; then
13270 result=no
13271 else
13272 result=yes
13273 fi
13274 else
13275 result=$wxUSE_SPLITTER
13276 fi
13277
13278 { echo "$as_me:$LINENO: result: $result" >&5
13279 echo "${ECHO_T}$result" >&6; }
13280
13281
13282 enablestring=
13283 defaultval=$wxUSE_ALL_FEATURES
13284 if test -z "$defaultval"; then
13285 if test x"$enablestring" = xdisable; then
13286 defaultval=yes
13287 else
13288 defaultval=no
13289 fi
13290 fi
13291
13292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13293 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13294 # Check whether --enable-statbmp was given.
13295 if test "${enable_statbmp+set}" = set; then
13296 enableval=$enable_statbmp;
13297 if test "$enableval" = yes; then
13298 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13299 else
13300 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13301 fi
13302 cache=yes
13303
13304 else
13305
13306 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13307 if test "x$LINE" != x ; then
13308 eval "DEFAULT_$LINE"
13309 cache=yes
13310 else
13311 cache=no
13312 fi
13313
13314 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13315
13316 fi
13317
13318
13319 eval "$wx_cv_use_statbmp"
13320 if test "x$cache" = xyes; then
13321 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13322 fi
13323
13324 if test x"$enablestring" = xdisable; then
13325 if test $wxUSE_STATBMP = yes; then
13326 result=no
13327 else
13328 result=yes
13329 fi
13330 else
13331 result=$wxUSE_STATBMP
13332 fi
13333
13334 { echo "$as_me:$LINENO: result: $result" >&5
13335 echo "${ECHO_T}$result" >&6; }
13336
13337
13338 enablestring=
13339 defaultval=$wxUSE_ALL_FEATURES
13340 if test -z "$defaultval"; then
13341 if test x"$enablestring" = xdisable; then
13342 defaultval=yes
13343 else
13344 defaultval=no
13345 fi
13346 fi
13347
13348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13349 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13350 # Check whether --enable-statbox was given.
13351 if test "${enable_statbox+set}" = set; then
13352 enableval=$enable_statbox;
13353 if test "$enableval" = yes; then
13354 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13355 else
13356 wx_cv_use_statbox='wxUSE_STATBOX=no'
13357 fi
13358 cache=yes
13359
13360 else
13361
13362 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13363 if test "x$LINE" != x ; then
13364 eval "DEFAULT_$LINE"
13365 cache=yes
13366 else
13367 cache=no
13368 fi
13369
13370 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13371
13372 fi
13373
13374
13375 eval "$wx_cv_use_statbox"
13376 if test "x$cache" = xyes; then
13377 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13378 fi
13379
13380 if test x"$enablestring" = xdisable; then
13381 if test $wxUSE_STATBOX = yes; then
13382 result=no
13383 else
13384 result=yes
13385 fi
13386 else
13387 result=$wxUSE_STATBOX
13388 fi
13389
13390 { echo "$as_me:$LINENO: result: $result" >&5
13391 echo "${ECHO_T}$result" >&6; }
13392
13393
13394 enablestring=
13395 defaultval=$wxUSE_ALL_FEATURES
13396 if test -z "$defaultval"; then
13397 if test x"$enablestring" = xdisable; then
13398 defaultval=yes
13399 else
13400 defaultval=no
13401 fi
13402 fi
13403
13404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13405 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13406 # Check whether --enable-statline was given.
13407 if test "${enable_statline+set}" = set; then
13408 enableval=$enable_statline;
13409 if test "$enableval" = yes; then
13410 wx_cv_use_statline='wxUSE_STATLINE=yes'
13411 else
13412 wx_cv_use_statline='wxUSE_STATLINE=no'
13413 fi
13414 cache=yes
13415
13416 else
13417
13418 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13419 if test "x$LINE" != x ; then
13420 eval "DEFAULT_$LINE"
13421 cache=yes
13422 else
13423 cache=no
13424 fi
13425
13426 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13427
13428 fi
13429
13430
13431 eval "$wx_cv_use_statline"
13432 if test "x$cache" = xyes; then
13433 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13434 fi
13435
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_STATLINE = yes; then
13438 result=no
13439 else
13440 result=yes
13441 fi
13442 else
13443 result=$wxUSE_STATLINE
13444 fi
13445
13446 { echo "$as_me:$LINENO: result: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13448
13449
13450 enablestring=
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13454 defaultval=yes
13455 else
13456 defaultval=no
13457 fi
13458 fi
13459
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13462 # Check whether --enable-stattext was given.
13463 if test "${enable_stattext+set}" = set; then
13464 enableval=$enable_stattext;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13467 else
13468 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13469 fi
13470 cache=yes
13471
13472 else
13473
13474 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13475 if test "x$LINE" != x ; then
13476 eval "DEFAULT_$LINE"
13477 cache=yes
13478 else
13479 cache=no
13480 fi
13481
13482 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13483
13484 fi
13485
13486
13487 eval "$wx_cv_use_stattext"
13488 if test "x$cache" = xyes; then
13489 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13490 fi
13491
13492 if test x"$enablestring" = xdisable; then
13493 if test $wxUSE_STATTEXT = yes; then
13494 result=no
13495 else
13496 result=yes
13497 fi
13498 else
13499 result=$wxUSE_STATTEXT
13500 fi
13501
13502 { echo "$as_me:$LINENO: result: $result" >&5
13503 echo "${ECHO_T}$result" >&6; }
13504
13505
13506 enablestring=
13507 defaultval=$wxUSE_ALL_FEATURES
13508 if test -z "$defaultval"; then
13509 if test x"$enablestring" = xdisable; then
13510 defaultval=yes
13511 else
13512 defaultval=no
13513 fi
13514 fi
13515
13516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13517 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13518 # Check whether --enable-statusbar was given.
13519 if test "${enable_statusbar+set}" = set; then
13520 enableval=$enable_statusbar;
13521 if test "$enableval" = yes; then
13522 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13523 else
13524 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13525 fi
13526 cache=yes
13527
13528 else
13529
13530 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13531 if test "x$LINE" != x ; then
13532 eval "DEFAULT_$LINE"
13533 cache=yes
13534 else
13535 cache=no
13536 fi
13537
13538 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13539
13540 fi
13541
13542
13543 eval "$wx_cv_use_statusbar"
13544 if test "x$cache" = xyes; then
13545 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13546 fi
13547
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_STATUSBAR = yes; then
13550 result=no
13551 else
13552 result=yes
13553 fi
13554 else
13555 result=$wxUSE_STATUSBAR
13556 fi
13557
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13560
13561
13562 enablestring=
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13566 defaultval=yes
13567 else
13568 defaultval=no
13569 fi
13570 fi
13571
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13574 # Check whether --enable-tabdialog was given.
13575 if test "${enable_tabdialog+set}" = set; then
13576 enableval=$enable_tabdialog;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13579 else
13580 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13581 fi
13582 cache=yes
13583
13584 else
13585
13586 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13587 if test "x$LINE" != x ; then
13588 eval "DEFAULT_$LINE"
13589 cache=yes
13590 else
13591 cache=no
13592 fi
13593
13594 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13595
13596 fi
13597
13598
13599 eval "$wx_cv_use_tabdialog"
13600 if test "x$cache" = xyes; then
13601 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13602 fi
13603
13604 if test x"$enablestring" = xdisable; then
13605 if test $wxUSE_TAB_DIALOG = yes; then
13606 result=no
13607 else
13608 result=yes
13609 fi
13610 else
13611 result=$wxUSE_TAB_DIALOG
13612 fi
13613
13614 { echo "$as_me:$LINENO: result: $result" >&5
13615 echo "${ECHO_T}$result" >&6; }
13616
13617
13618 enablestring=
13619 defaultval=$wxUSE_ALL_FEATURES
13620 if test -z "$defaultval"; then
13621 if test x"$enablestring" = xdisable; then
13622 defaultval=yes
13623 else
13624 defaultval=no
13625 fi
13626 fi
13627
13628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13629 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13630 # Check whether --enable-taskbaricon was given.
13631 if test "${enable_taskbaricon+set}" = set; then
13632 enableval=$enable_taskbaricon;
13633 if test "$enableval" = yes; then
13634 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13635 else
13636 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13637 fi
13638 cache=yes
13639
13640 else
13641
13642 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13643 if test "x$LINE" != x ; then
13644 eval "DEFAULT_$LINE"
13645 cache=yes
13646 else
13647 cache=no
13648 fi
13649
13650 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_taskbaricon"
13656 if test "x$cache" = xyes; then
13657 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13658 fi
13659
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_TASKBARICON = yes; then
13662 result=no
13663 else
13664 result=yes
13665 fi
13666 else
13667 result=$wxUSE_TASKBARICON
13668 fi
13669
13670 { echo "$as_me:$LINENO: result: $result" >&5
13671 echo "${ECHO_T}$result" >&6; }
13672
13673
13674 enablestring=
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13678 defaultval=yes
13679 else
13680 defaultval=no
13681 fi
13682 fi
13683
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13686 # Check whether --enable-textctrl was given.
13687 if test "${enable_textctrl+set}" = set; then
13688 enableval=$enable_textctrl;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13691 else
13692 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13693 fi
13694 cache=yes
13695
13696 else
13697
13698 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13699 if test "x$LINE" != x ; then
13700 eval "DEFAULT_$LINE"
13701 cache=yes
13702 else
13703 cache=no
13704 fi
13705
13706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13707
13708 fi
13709
13710
13711 eval "$wx_cv_use_textctrl"
13712 if test "x$cache" = xyes; then
13713 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13714 fi
13715
13716 if test x"$enablestring" = xdisable; then
13717 if test $wxUSE_TEXTCTRL = yes; then
13718 result=no
13719 else
13720 result=yes
13721 fi
13722 else
13723 result=$wxUSE_TEXTCTRL
13724 fi
13725
13726 { echo "$as_me:$LINENO: result: $result" >&5
13727 echo "${ECHO_T}$result" >&6; }
13728
13729
13730 enablestring=
13731 defaultval=$wxUSE_ALL_FEATURES
13732 if test -z "$defaultval"; then
13733 if test x"$enablestring" = xdisable; then
13734 defaultval=yes
13735 else
13736 defaultval=no
13737 fi
13738 fi
13739
13740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13741 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13742 # Check whether --enable-togglebtn was given.
13743 if test "${enable_togglebtn+set}" = set; then
13744 enableval=$enable_togglebtn;
13745 if test "$enableval" = yes; then
13746 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13747 else
13748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13749 fi
13750 cache=yes
13751
13752 else
13753
13754 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13755 if test "x$LINE" != x ; then
13756 eval "DEFAULT_$LINE"
13757 cache=yes
13758 else
13759 cache=no
13760 fi
13761
13762 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13763
13764 fi
13765
13766
13767 eval "$wx_cv_use_togglebtn"
13768 if test "x$cache" = xyes; then
13769 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13770 fi
13771
13772 if test x"$enablestring" = xdisable; then
13773 if test $wxUSE_TOGGLEBTN = yes; then
13774 result=no
13775 else
13776 result=yes
13777 fi
13778 else
13779 result=$wxUSE_TOGGLEBTN
13780 fi
13781
13782 { echo "$as_me:$LINENO: result: $result" >&5
13783 echo "${ECHO_T}$result" >&6; }
13784
13785
13786 enablestring=
13787 defaultval=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x"$enablestring" = xdisable; then
13790 defaultval=yes
13791 else
13792 defaultval=no
13793 fi
13794 fi
13795
13796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13797 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13798 # Check whether --enable-toolbar was given.
13799 if test "${enable_toolbar+set}" = set; then
13800 enableval=$enable_toolbar;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13803 else
13804 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13805 fi
13806 cache=yes
13807
13808 else
13809
13810 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13811 if test "x$LINE" != x ; then
13812 eval "DEFAULT_$LINE"
13813 cache=yes
13814 else
13815 cache=no
13816 fi
13817
13818 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13819
13820 fi
13821
13822
13823 eval "$wx_cv_use_toolbar"
13824 if test "x$cache" = xyes; then
13825 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13826 fi
13827
13828 if test x"$enablestring" = xdisable; then
13829 if test $wxUSE_TOOLBAR = yes; then
13830 result=no
13831 else
13832 result=yes
13833 fi
13834 else
13835 result=$wxUSE_TOOLBAR
13836 fi
13837
13838 { echo "$as_me:$LINENO: result: $result" >&5
13839 echo "${ECHO_T}$result" >&6; }
13840
13841
13842 enablestring=
13843 defaultval=$wxUSE_ALL_FEATURES
13844 if test -z "$defaultval"; then
13845 if test x"$enablestring" = xdisable; then
13846 defaultval=yes
13847 else
13848 defaultval=no
13849 fi
13850 fi
13851
13852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13853 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13854 # Check whether --enable-tbarnative was given.
13855 if test "${enable_tbarnative+set}" = set; then
13856 enableval=$enable_tbarnative;
13857 if test "$enableval" = yes; then
13858 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13859 else
13860 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13861 fi
13862 cache=yes
13863
13864 else
13865
13866 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13867 if test "x$LINE" != x ; then
13868 eval "DEFAULT_$LINE"
13869 cache=yes
13870 else
13871 cache=no
13872 fi
13873
13874 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13875
13876 fi
13877
13878
13879 eval "$wx_cv_use_tbarnative"
13880 if test "x$cache" = xyes; then
13881 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13882 fi
13883
13884 if test x"$enablestring" = xdisable; then
13885 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13886 result=no
13887 else
13888 result=yes
13889 fi
13890 else
13891 result=$wxUSE_TOOLBAR_NATIVE
13892 fi
13893
13894 { echo "$as_me:$LINENO: result: $result" >&5
13895 echo "${ECHO_T}$result" >&6; }
13896
13897
13898 enablestring=
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13902 defaultval=yes
13903 else
13904 defaultval=no
13905 fi
13906 fi
13907
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13910 # Check whether --enable-treebook was given.
13911 if test "${enable_treebook+set}" = set; then
13912 enableval=$enable_treebook;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13915 else
13916 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13917 fi
13918 cache=yes
13919
13920 else
13921
13922 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13923 if test "x$LINE" != x ; then
13924 eval "DEFAULT_$LINE"
13925 cache=yes
13926 else
13927 cache=no
13928 fi
13929
13930 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13931
13932 fi
13933
13934
13935 eval "$wx_cv_use_treebook"
13936 if test "x$cache" = xyes; then
13937 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13938 fi
13939
13940 if test x"$enablestring" = xdisable; then
13941 if test $wxUSE_TREEBOOK = yes; then
13942 result=no
13943 else
13944 result=yes
13945 fi
13946 else
13947 result=$wxUSE_TREEBOOK
13948 fi
13949
13950 { echo "$as_me:$LINENO: result: $result" >&5
13951 echo "${ECHO_T}$result" >&6; }
13952
13953
13954 enablestring=
13955 defaultval=$wxUSE_ALL_FEATURES
13956 if test -z "$defaultval"; then
13957 if test x"$enablestring" = xdisable; then
13958 defaultval=yes
13959 else
13960 defaultval=no
13961 fi
13962 fi
13963
13964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13966 # Check whether --enable-toolbook was given.
13967 if test "${enable_toolbook+set}" = set; then
13968 enableval=$enable_toolbook;
13969 if test "$enableval" = yes; then
13970 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13971 else
13972 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13973 fi
13974 cache=yes
13975
13976 else
13977
13978 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13979 if test "x$LINE" != x ; then
13980 eval "DEFAULT_$LINE"
13981 cache=yes
13982 else
13983 cache=no
13984 fi
13985
13986 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13987
13988 fi
13989
13990
13991 eval "$wx_cv_use_toolbook"
13992 if test "x$cache" = xyes; then
13993 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13994 fi
13995
13996 if test x"$enablestring" = xdisable; then
13997 if test $wxUSE_TOOLBOOK = yes; then
13998 result=no
13999 else
14000 result=yes
14001 fi
14002 else
14003 result=$wxUSE_TOOLBOOK
14004 fi
14005
14006 { echo "$as_me:$LINENO: result: $result" >&5
14007 echo "${ECHO_T}$result" >&6; }
14008
14009
14010 enablestring=
14011 defaultval=$wxUSE_ALL_FEATURES
14012 if test -z "$defaultval"; then
14013 if test x"$enablestring" = xdisable; then
14014 defaultval=yes
14015 else
14016 defaultval=no
14017 fi
14018 fi
14019
14020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14021 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14022 # Check whether --enable-treectrl was given.
14023 if test "${enable_treectrl+set}" = set; then
14024 enableval=$enable_treectrl;
14025 if test "$enableval" = yes; then
14026 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14027 else
14028 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14029 fi
14030 cache=yes
14031
14032 else
14033
14034 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14035 if test "x$LINE" != x ; then
14036 eval "DEFAULT_$LINE"
14037 cache=yes
14038 else
14039 cache=no
14040 fi
14041
14042 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14043
14044 fi
14045
14046
14047 eval "$wx_cv_use_treectrl"
14048 if test "x$cache" = xyes; then
14049 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14050 fi
14051
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_TREECTRL = yes; then
14054 result=no
14055 else
14056 result=yes
14057 fi
14058 else
14059 result=$wxUSE_TREECTRL
14060 fi
14061
14062 { echo "$as_me:$LINENO: result: $result" >&5
14063 echo "${ECHO_T}$result" >&6; }
14064
14065
14066 enablestring=
14067 defaultval=$wxUSE_ALL_FEATURES
14068 if test -z "$defaultval"; then
14069 if test x"$enablestring" = xdisable; then
14070 defaultval=yes
14071 else
14072 defaultval=no
14073 fi
14074 fi
14075
14076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14077 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14078 # Check whether --enable-tipwindow was given.
14079 if test "${enable_tipwindow+set}" = set; then
14080 enableval=$enable_tipwindow;
14081 if test "$enableval" = yes; then
14082 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14083 else
14084 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14085 fi
14086 cache=yes
14087
14088 else
14089
14090 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14091 if test "x$LINE" != x ; then
14092 eval "DEFAULT_$LINE"
14093 cache=yes
14094 else
14095 cache=no
14096 fi
14097
14098 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14099
14100 fi
14101
14102
14103 eval "$wx_cv_use_tipwindow"
14104 if test "x$cache" = xyes; then
14105 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14106 fi
14107
14108 if test x"$enablestring" = xdisable; then
14109 if test $wxUSE_TIPWINDOW = yes; then
14110 result=no
14111 else
14112 result=yes
14113 fi
14114 else
14115 result=$wxUSE_TIPWINDOW
14116 fi
14117
14118 { echo "$as_me:$LINENO: result: $result" >&5
14119 echo "${ECHO_T}$result" >&6; }
14120
14121
14122 enablestring=
14123 defaultval=$wxUSE_ALL_FEATURES
14124 if test -z "$defaultval"; then
14125 if test x"$enablestring" = xdisable; then
14126 defaultval=yes
14127 else
14128 defaultval=no
14129 fi
14130 fi
14131
14132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14133 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14134 # Check whether --enable-popupwin was given.
14135 if test "${enable_popupwin+set}" = set; then
14136 enableval=$enable_popupwin;
14137 if test "$enableval" = yes; then
14138 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14139 else
14140 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14141 fi
14142 cache=yes
14143
14144 else
14145
14146 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14147 if test "x$LINE" != x ; then
14148 eval "DEFAULT_$LINE"
14149 cache=yes
14150 else
14151 cache=no
14152 fi
14153
14154 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14155
14156 fi
14157
14158
14159 eval "$wx_cv_use_popupwin"
14160 if test "x$cache" = xyes; then
14161 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14162 fi
14163
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_POPUPWIN = yes; then
14166 result=no
14167 else
14168 result=yes
14169 fi
14170 else
14171 result=$wxUSE_POPUPWIN
14172 fi
14173
14174 { echo "$as_me:$LINENO: result: $result" >&5
14175 echo "${ECHO_T}$result" >&6; }
14176
14177
14178
14179
14180 enablestring=
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14184 defaultval=yes
14185 else
14186 defaultval=no
14187 fi
14188 fi
14189
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14192 # Check whether --enable-commondlg was given.
14193 if test "${enable_commondlg+set}" = set; then
14194 enableval=$enable_commondlg;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14197 else
14198 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14199 fi
14200 cache=yes
14201
14202 else
14203
14204 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14205 if test "x$LINE" != x ; then
14206 eval "DEFAULT_$LINE"
14207 cache=yes
14208 else
14209 cache=no
14210 fi
14211
14212 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14213
14214 fi
14215
14216
14217 eval "$wx_cv_use_commondlg"
14218 if test "x$cache" = xyes; then
14219 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14220 fi
14221
14222 if test x"$enablestring" = xdisable; then
14223 if test $wxUSE_COMMONDLGS = yes; then
14224 result=no
14225 else
14226 result=yes
14227 fi
14228 else
14229 result=$wxUSE_COMMONDLGS
14230 fi
14231
14232 { echo "$as_me:$LINENO: result: $result" >&5
14233 echo "${ECHO_T}$result" >&6; }
14234
14235
14236 enablestring=
14237 defaultval=$wxUSE_ALL_FEATURES
14238 if test -z "$defaultval"; then
14239 if test x"$enablestring" = xdisable; then
14240 defaultval=yes
14241 else
14242 defaultval=no
14243 fi
14244 fi
14245
14246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14247 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14248 # Check whether --enable-aboutdlg was given.
14249 if test "${enable_aboutdlg+set}" = set; then
14250 enableval=$enable_aboutdlg;
14251 if test "$enableval" = yes; then
14252 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14253 else
14254 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14255 fi
14256 cache=yes
14257
14258 else
14259
14260 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14261 if test "x$LINE" != x ; then
14262 eval "DEFAULT_$LINE"
14263 cache=yes
14264 else
14265 cache=no
14266 fi
14267
14268 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14269
14270 fi
14271
14272
14273 eval "$wx_cv_use_aboutdlg"
14274 if test "x$cache" = xyes; then
14275 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14276 fi
14277
14278 if test x"$enablestring" = xdisable; then
14279 if test $wxUSE_ABOUTDLG = yes; then
14280 result=no
14281 else
14282 result=yes
14283 fi
14284 else
14285 result=$wxUSE_ABOUTDLG
14286 fi
14287
14288 { echo "$as_me:$LINENO: result: $result" >&5
14289 echo "${ECHO_T}$result" >&6; }
14290
14291
14292 enablestring=
14293 defaultval=$wxUSE_ALL_FEATURES
14294 if test -z "$defaultval"; then
14295 if test x"$enablestring" = xdisable; then
14296 defaultval=yes
14297 else
14298 defaultval=no
14299 fi
14300 fi
14301
14302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14303 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14304 # Check whether --enable-choicedlg was given.
14305 if test "${enable_choicedlg+set}" = set; then
14306 enableval=$enable_choicedlg;
14307 if test "$enableval" = yes; then
14308 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14309 else
14310 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14311 fi
14312 cache=yes
14313
14314 else
14315
14316 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14317 if test "x$LINE" != x ; then
14318 eval "DEFAULT_$LINE"
14319 cache=yes
14320 else
14321 cache=no
14322 fi
14323
14324 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14325
14326 fi
14327
14328
14329 eval "$wx_cv_use_choicedlg"
14330 if test "x$cache" = xyes; then
14331 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14332 fi
14333
14334 if test x"$enablestring" = xdisable; then
14335 if test $wxUSE_CHOICEDLG = yes; then
14336 result=no
14337 else
14338 result=yes
14339 fi
14340 else
14341 result=$wxUSE_CHOICEDLG
14342 fi
14343
14344 { echo "$as_me:$LINENO: result: $result" >&5
14345 echo "${ECHO_T}$result" >&6; }
14346
14347
14348 enablestring=
14349 defaultval=$wxUSE_ALL_FEATURES
14350 if test -z "$defaultval"; then
14351 if test x"$enablestring" = xdisable; then
14352 defaultval=yes
14353 else
14354 defaultval=no
14355 fi
14356 fi
14357
14358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14359 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14360 # Check whether --enable-coldlg was given.
14361 if test "${enable_coldlg+set}" = set; then
14362 enableval=$enable_coldlg;
14363 if test "$enableval" = yes; then
14364 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14365 else
14366 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14367 fi
14368 cache=yes
14369
14370 else
14371
14372 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14373 if test "x$LINE" != x ; then
14374 eval "DEFAULT_$LINE"
14375 cache=yes
14376 else
14377 cache=no
14378 fi
14379
14380 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14381
14382 fi
14383
14384
14385 eval "$wx_cv_use_coldlg"
14386 if test "x$cache" = xyes; then
14387 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14388 fi
14389
14390 if test x"$enablestring" = xdisable; then
14391 if test $wxUSE_COLOURDLG = yes; then
14392 result=no
14393 else
14394 result=yes
14395 fi
14396 else
14397 result=$wxUSE_COLOURDLG
14398 fi
14399
14400 { echo "$as_me:$LINENO: result: $result" >&5
14401 echo "${ECHO_T}$result" >&6; }
14402
14403
14404 enablestring=
14405 defaultval=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x"$enablestring" = xdisable; then
14408 defaultval=yes
14409 else
14410 defaultval=no
14411 fi
14412 fi
14413
14414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14415 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14416 # Check whether --enable-filedlg was given.
14417 if test "${enable_filedlg+set}" = set; then
14418 enableval=$enable_filedlg;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14421 else
14422 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14423 fi
14424 cache=yes
14425
14426 else
14427
14428 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14429 if test "x$LINE" != x ; then
14430 eval "DEFAULT_$LINE"
14431 cache=yes
14432 else
14433 cache=no
14434 fi
14435
14436 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14437
14438 fi
14439
14440
14441 eval "$wx_cv_use_filedlg"
14442 if test "x$cache" = xyes; then
14443 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14444 fi
14445
14446 if test x"$enablestring" = xdisable; then
14447 if test $wxUSE_FILEDLG = yes; then
14448 result=no
14449 else
14450 result=yes
14451 fi
14452 else
14453 result=$wxUSE_FILEDLG
14454 fi
14455
14456 { echo "$as_me:$LINENO: result: $result" >&5
14457 echo "${ECHO_T}$result" >&6; }
14458
14459
14460 enablestring=
14461 defaultval=$wxUSE_ALL_FEATURES
14462 if test -z "$defaultval"; then
14463 if test x"$enablestring" = xdisable; then
14464 defaultval=yes
14465 else
14466 defaultval=no
14467 fi
14468 fi
14469
14470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14471 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14472 # Check whether --enable-finddlg was given.
14473 if test "${enable_finddlg+set}" = set; then
14474 enableval=$enable_finddlg;
14475 if test "$enableval" = yes; then
14476 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14477 else
14478 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14479 fi
14480 cache=yes
14481
14482 else
14483
14484 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14485 if test "x$LINE" != x ; then
14486 eval "DEFAULT_$LINE"
14487 cache=yes
14488 else
14489 cache=no
14490 fi
14491
14492 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14493
14494 fi
14495
14496
14497 eval "$wx_cv_use_finddlg"
14498 if test "x$cache" = xyes; then
14499 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14500 fi
14501
14502 if test x"$enablestring" = xdisable; then
14503 if test $wxUSE_FINDREPLDLG = yes; then
14504 result=no
14505 else
14506 result=yes
14507 fi
14508 else
14509 result=$wxUSE_FINDREPLDLG
14510 fi
14511
14512 { echo "$as_me:$LINENO: result: $result" >&5
14513 echo "${ECHO_T}$result" >&6; }
14514
14515
14516 enablestring=
14517 defaultval=$wxUSE_ALL_FEATURES
14518 if test -z "$defaultval"; then
14519 if test x"$enablestring" = xdisable; then
14520 defaultval=yes
14521 else
14522 defaultval=no
14523 fi
14524 fi
14525
14526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14527 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14528 # Check whether --enable-fontdlg was given.
14529 if test "${enable_fontdlg+set}" = set; then
14530 enableval=$enable_fontdlg;
14531 if test "$enableval" = yes; then
14532 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14533 else
14534 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14535 fi
14536 cache=yes
14537
14538 else
14539
14540 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14541 if test "x$LINE" != x ; then
14542 eval "DEFAULT_$LINE"
14543 cache=yes
14544 else
14545 cache=no
14546 fi
14547
14548 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14549
14550 fi
14551
14552
14553 eval "$wx_cv_use_fontdlg"
14554 if test "x$cache" = xyes; then
14555 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14556 fi
14557
14558 if test x"$enablestring" = xdisable; then
14559 if test $wxUSE_FONTDLG = yes; then
14560 result=no
14561 else
14562 result=yes
14563 fi
14564 else
14565 result=$wxUSE_FONTDLG
14566 fi
14567
14568 { echo "$as_me:$LINENO: result: $result" >&5
14569 echo "${ECHO_T}$result" >&6; }
14570
14571
14572 enablestring=
14573 defaultval=$wxUSE_ALL_FEATURES
14574 if test -z "$defaultval"; then
14575 if test x"$enablestring" = xdisable; then
14576 defaultval=yes
14577 else
14578 defaultval=no
14579 fi
14580 fi
14581
14582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14583 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14584 # Check whether --enable-dirdlg was given.
14585 if test "${enable_dirdlg+set}" = set; then
14586 enableval=$enable_dirdlg;
14587 if test "$enableval" = yes; then
14588 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14589 else
14590 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14591 fi
14592 cache=yes
14593
14594 else
14595
14596 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14597 if test "x$LINE" != x ; then
14598 eval "DEFAULT_$LINE"
14599 cache=yes
14600 else
14601 cache=no
14602 fi
14603
14604 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$wx_cv_use_dirdlg"
14610 if test "x$cache" = xyes; then
14611 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14612 fi
14613
14614 if test x"$enablestring" = xdisable; then
14615 if test $wxUSE_DIRDLG = yes; then
14616 result=no
14617 else
14618 result=yes
14619 fi
14620 else
14621 result=$wxUSE_DIRDLG
14622 fi
14623
14624 { echo "$as_me:$LINENO: result: $result" >&5
14625 echo "${ECHO_T}$result" >&6; }
14626
14627
14628 enablestring=
14629 defaultval=$wxUSE_ALL_FEATURES
14630 if test -z "$defaultval"; then
14631 if test x"$enablestring" = xdisable; then
14632 defaultval=yes
14633 else
14634 defaultval=no
14635 fi
14636 fi
14637
14638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14639 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14640 # Check whether --enable-msgdlg was given.
14641 if test "${enable_msgdlg+set}" = set; then
14642 enableval=$enable_msgdlg;
14643 if test "$enableval" = yes; then
14644 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14645 else
14646 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14647 fi
14648 cache=yes
14649
14650 else
14651
14652 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14653 if test "x$LINE" != x ; then
14654 eval "DEFAULT_$LINE"
14655 cache=yes
14656 else
14657 cache=no
14658 fi
14659
14660 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_msgdlg"
14666 if test "x$cache" = xyes; then
14667 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14668 fi
14669
14670 if test x"$enablestring" = xdisable; then
14671 if test $wxUSE_MSGDLG = yes; then
14672 result=no
14673 else
14674 result=yes
14675 fi
14676 else
14677 result=$wxUSE_MSGDLG
14678 fi
14679
14680 { echo "$as_me:$LINENO: result: $result" >&5
14681 echo "${ECHO_T}$result" >&6; }
14682
14683
14684 enablestring=
14685 defaultval=$wxUSE_ALL_FEATURES
14686 if test -z "$defaultval"; then
14687 if test x"$enablestring" = xdisable; then
14688 defaultval=yes
14689 else
14690 defaultval=no
14691 fi
14692 fi
14693
14694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14695 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14696 # Check whether --enable-numberdlg was given.
14697 if test "${enable_numberdlg+set}" = set; then
14698 enableval=$enable_numberdlg;
14699 if test "$enableval" = yes; then
14700 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14701 else
14702 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14703 fi
14704 cache=yes
14705
14706 else
14707
14708 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14709 if test "x$LINE" != x ; then
14710 eval "DEFAULT_$LINE"
14711 cache=yes
14712 else
14713 cache=no
14714 fi
14715
14716 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14717
14718 fi
14719
14720
14721 eval "$wx_cv_use_numberdlg"
14722 if test "x$cache" = xyes; then
14723 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14724 fi
14725
14726 if test x"$enablestring" = xdisable; then
14727 if test $wxUSE_NUMBERDLG = yes; then
14728 result=no
14729 else
14730 result=yes
14731 fi
14732 else
14733 result=$wxUSE_NUMBERDLG
14734 fi
14735
14736 { echo "$as_me:$LINENO: result: $result" >&5
14737 echo "${ECHO_T}$result" >&6; }
14738
14739
14740 enablestring=
14741 defaultval=$wxUSE_ALL_FEATURES
14742 if test -z "$defaultval"; then
14743 if test x"$enablestring" = xdisable; then
14744 defaultval=yes
14745 else
14746 defaultval=no
14747 fi
14748 fi
14749
14750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14751 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14752 # Check whether --enable-splash was given.
14753 if test "${enable_splash+set}" = set; then
14754 enableval=$enable_splash;
14755 if test "$enableval" = yes; then
14756 wx_cv_use_splash='wxUSE_SPLASH=yes'
14757 else
14758 wx_cv_use_splash='wxUSE_SPLASH=no'
14759 fi
14760 cache=yes
14761
14762 else
14763
14764 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14765 if test "x$LINE" != x ; then
14766 eval "DEFAULT_$LINE"
14767 cache=yes
14768 else
14769 cache=no
14770 fi
14771
14772 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14773
14774 fi
14775
14776
14777 eval "$wx_cv_use_splash"
14778 if test "x$cache" = xyes; then
14779 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14780 fi
14781
14782 if test x"$enablestring" = xdisable; then
14783 if test $wxUSE_SPLASH = yes; then
14784 result=no
14785 else
14786 result=yes
14787 fi
14788 else
14789 result=$wxUSE_SPLASH
14790 fi
14791
14792 { echo "$as_me:$LINENO: result: $result" >&5
14793 echo "${ECHO_T}$result" >&6; }
14794
14795
14796 enablestring=
14797 defaultval=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x"$enablestring" = xdisable; then
14800 defaultval=yes
14801 else
14802 defaultval=no
14803 fi
14804 fi
14805
14806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14807 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14808 # Check whether --enable-textdlg was given.
14809 if test "${enable_textdlg+set}" = set; then
14810 enableval=$enable_textdlg;
14811 if test "$enableval" = yes; then
14812 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14813 else
14814 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14815 fi
14816 cache=yes
14817
14818 else
14819
14820 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14821 if test "x$LINE" != x ; then
14822 eval "DEFAULT_$LINE"
14823 cache=yes
14824 else
14825 cache=no
14826 fi
14827
14828 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14829
14830 fi
14831
14832
14833 eval "$wx_cv_use_textdlg"
14834 if test "x$cache" = xyes; then
14835 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14836 fi
14837
14838 if test x"$enablestring" = xdisable; then
14839 if test $wxUSE_TEXTDLG = yes; then
14840 result=no
14841 else
14842 result=yes
14843 fi
14844 else
14845 result=$wxUSE_TEXTDLG
14846 fi
14847
14848 { echo "$as_me:$LINENO: result: $result" >&5
14849 echo "${ECHO_T}$result" >&6; }
14850
14851
14852 enablestring=
14853 defaultval=$wxUSE_ALL_FEATURES
14854 if test -z "$defaultval"; then
14855 if test x"$enablestring" = xdisable; then
14856 defaultval=yes
14857 else
14858 defaultval=no
14859 fi
14860 fi
14861
14862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14863 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14864 # Check whether --enable-tipdlg was given.
14865 if test "${enable_tipdlg+set}" = set; then
14866 enableval=$enable_tipdlg;
14867 if test "$enableval" = yes; then
14868 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14869 else
14870 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14871 fi
14872 cache=yes
14873
14874 else
14875
14876 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14877 if test "x$LINE" != x ; then
14878 eval "DEFAULT_$LINE"
14879 cache=yes
14880 else
14881 cache=no
14882 fi
14883
14884 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14885
14886 fi
14887
14888
14889 eval "$wx_cv_use_tipdlg"
14890 if test "x$cache" = xyes; then
14891 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14892 fi
14893
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_STARTUP_TIPS = yes; then
14896 result=no
14897 else
14898 result=yes
14899 fi
14900 else
14901 result=$wxUSE_STARTUP_TIPS
14902 fi
14903
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14906
14907
14908 enablestring=
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14912 defaultval=yes
14913 else
14914 defaultval=no
14915 fi
14916 fi
14917
14918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14919 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14920 # Check whether --enable-progressdlg was given.
14921 if test "${enable_progressdlg+set}" = set; then
14922 enableval=$enable_progressdlg;
14923 if test "$enableval" = yes; then
14924 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14925 else
14926 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14927 fi
14928 cache=yes
14929
14930 else
14931
14932 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14933 if test "x$LINE" != x ; then
14934 eval "DEFAULT_$LINE"
14935 cache=yes
14936 else
14937 cache=no
14938 fi
14939
14940 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14941
14942 fi
14943
14944
14945 eval "$wx_cv_use_progressdlg"
14946 if test "x$cache" = xyes; then
14947 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14948 fi
14949
14950 if test x"$enablestring" = xdisable; then
14951 if test $wxUSE_PROGRESSDLG = yes; then
14952 result=no
14953 else
14954 result=yes
14955 fi
14956 else
14957 result=$wxUSE_PROGRESSDLG
14958 fi
14959
14960 { echo "$as_me:$LINENO: result: $result" >&5
14961 echo "${ECHO_T}$result" >&6; }
14962
14963
14964 enablestring=
14965 defaultval=$wxUSE_ALL_FEATURES
14966 if test -z "$defaultval"; then
14967 if test x"$enablestring" = xdisable; then
14968 defaultval=yes
14969 else
14970 defaultval=no
14971 fi
14972 fi
14973
14974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14975 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14976 # Check whether --enable-wizarddlg was given.
14977 if test "${enable_wizarddlg+set}" = set; then
14978 enableval=$enable_wizarddlg;
14979 if test "$enableval" = yes; then
14980 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14981 else
14982 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14983 fi
14984 cache=yes
14985
14986 else
14987
14988 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14989 if test "x$LINE" != x ; then
14990 eval "DEFAULT_$LINE"
14991 cache=yes
14992 else
14993 cache=no
14994 fi
14995
14996 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14997
14998 fi
14999
15000
15001 eval "$wx_cv_use_wizarddlg"
15002 if test "x$cache" = xyes; then
15003 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15004 fi
15005
15006 if test x"$enablestring" = xdisable; then
15007 if test $wxUSE_WIZARDDLG = yes; then
15008 result=no
15009 else
15010 result=yes
15011 fi
15012 else
15013 result=$wxUSE_WIZARDDLG
15014 fi
15015
15016 { echo "$as_me:$LINENO: result: $result" >&5
15017 echo "${ECHO_T}$result" >&6; }
15018
15019
15020
15021
15022 enablestring=
15023 defaultval=$wxUSE_ALL_FEATURES
15024 if test -z "$defaultval"; then
15025 if test x"$enablestring" = xdisable; then
15026 defaultval=yes
15027 else
15028 defaultval=no
15029 fi
15030 fi
15031
15032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15033 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15034 # Check whether --enable-menus was given.
15035 if test "${enable_menus+set}" = set; then
15036 enableval=$enable_menus;
15037 if test "$enableval" = yes; then
15038 wx_cv_use_menus='wxUSE_MENUS=yes'
15039 else
15040 wx_cv_use_menus='wxUSE_MENUS=no'
15041 fi
15042 cache=yes
15043
15044 else
15045
15046 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15047 if test "x$LINE" != x ; then
15048 eval "DEFAULT_$LINE"
15049 cache=yes
15050 else
15051 cache=no
15052 fi
15053
15054 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15055
15056 fi
15057
15058
15059 eval "$wx_cv_use_menus"
15060 if test "x$cache" = xyes; then
15061 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15062 fi
15063
15064 if test x"$enablestring" = xdisable; then
15065 if test $wxUSE_MENUS = yes; then
15066 result=no
15067 else
15068 result=yes
15069 fi
15070 else
15071 result=$wxUSE_MENUS
15072 fi
15073
15074 { echo "$as_me:$LINENO: result: $result" >&5
15075 echo "${ECHO_T}$result" >&6; }
15076
15077
15078 enablestring=
15079 defaultval=$wxUSE_ALL_FEATURES
15080 if test -z "$defaultval"; then
15081 if test x"$enablestring" = xdisable; then
15082 defaultval=yes
15083 else
15084 defaultval=no
15085 fi
15086 fi
15087
15088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15089 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15090 # Check whether --enable-miniframe was given.
15091 if test "${enable_miniframe+set}" = set; then
15092 enableval=$enable_miniframe;
15093 if test "$enableval" = yes; then
15094 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15095 else
15096 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15097 fi
15098 cache=yes
15099
15100 else
15101
15102 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15103 if test "x$LINE" != x ; then
15104 eval "DEFAULT_$LINE"
15105 cache=yes
15106 else
15107 cache=no
15108 fi
15109
15110 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15111
15112 fi
15113
15114
15115 eval "$wx_cv_use_miniframe"
15116 if test "x$cache" = xyes; then
15117 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15118 fi
15119
15120 if test x"$enablestring" = xdisable; then
15121 if test $wxUSE_MINIFRAME = yes; then
15122 result=no
15123 else
15124 result=yes
15125 fi
15126 else
15127 result=$wxUSE_MINIFRAME
15128 fi
15129
15130 { echo "$as_me:$LINENO: result: $result" >&5
15131 echo "${ECHO_T}$result" >&6; }
15132
15133
15134 enablestring=
15135 defaultval=$wxUSE_ALL_FEATURES
15136 if test -z "$defaultval"; then
15137 if test x"$enablestring" = xdisable; then
15138 defaultval=yes
15139 else
15140 defaultval=no
15141 fi
15142 fi
15143
15144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15145 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15146 # Check whether --enable-tooltips was given.
15147 if test "${enable_tooltips+set}" = set; then
15148 enableval=$enable_tooltips;
15149 if test "$enableval" = yes; then
15150 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15151 else
15152 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15153 fi
15154 cache=yes
15155
15156 else
15157
15158 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15159 if test "x$LINE" != x ; then
15160 eval "DEFAULT_$LINE"
15161 cache=yes
15162 else
15163 cache=no
15164 fi
15165
15166 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15167
15168 fi
15169
15170
15171 eval "$wx_cv_use_tooltips"
15172 if test "x$cache" = xyes; then
15173 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15174 fi
15175
15176 if test x"$enablestring" = xdisable; then
15177 if test $wxUSE_TOOLTIPS = yes; then
15178 result=no
15179 else
15180 result=yes
15181 fi
15182 else
15183 result=$wxUSE_TOOLTIPS
15184 fi
15185
15186 { echo "$as_me:$LINENO: result: $result" >&5
15187 echo "${ECHO_T}$result" >&6; }
15188
15189
15190 enablestring=
15191 defaultval=$wxUSE_ALL_FEATURES
15192 if test -z "$defaultval"; then
15193 if test x"$enablestring" = xdisable; then
15194 defaultval=yes
15195 else
15196 defaultval=no
15197 fi
15198 fi
15199
15200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15201 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15202 # Check whether --enable-splines was given.
15203 if test "${enable_splines+set}" = set; then
15204 enableval=$enable_splines;
15205 if test "$enableval" = yes; then
15206 wx_cv_use_splines='wxUSE_SPLINES=yes'
15207 else
15208 wx_cv_use_splines='wxUSE_SPLINES=no'
15209 fi
15210 cache=yes
15211
15212 else
15213
15214 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15215 if test "x$LINE" != x ; then
15216 eval "DEFAULT_$LINE"
15217 cache=yes
15218 else
15219 cache=no
15220 fi
15221
15222 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15223
15224 fi
15225
15226
15227 eval "$wx_cv_use_splines"
15228 if test "x$cache" = xyes; then
15229 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15230 fi
15231
15232 if test x"$enablestring" = xdisable; then
15233 if test $wxUSE_SPLINES = yes; then
15234 result=no
15235 else
15236 result=yes
15237 fi
15238 else
15239 result=$wxUSE_SPLINES
15240 fi
15241
15242 { echo "$as_me:$LINENO: result: $result" >&5
15243 echo "${ECHO_T}$result" >&6; }
15244
15245
15246 enablestring=
15247 defaultval=$wxUSE_ALL_FEATURES
15248 if test -z "$defaultval"; then
15249 if test x"$enablestring" = xdisable; then
15250 defaultval=yes
15251 else
15252 defaultval=no
15253 fi
15254 fi
15255
15256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15257 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15258 # Check whether --enable-mousewheel was given.
15259 if test "${enable_mousewheel+set}" = set; then
15260 enableval=$enable_mousewheel;
15261 if test "$enableval" = yes; then
15262 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15263 else
15264 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15265 fi
15266 cache=yes
15267
15268 else
15269
15270 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15271 if test "x$LINE" != x ; then
15272 eval "DEFAULT_$LINE"
15273 cache=yes
15274 else
15275 cache=no
15276 fi
15277
15278 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15279
15280 fi
15281
15282
15283 eval "$wx_cv_use_mousewheel"
15284 if test "x$cache" = xyes; then
15285 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15286 fi
15287
15288 if test x"$enablestring" = xdisable; then
15289 if test $wxUSE_MOUSEWHEEL = yes; then
15290 result=no
15291 else
15292 result=yes
15293 fi
15294 else
15295 result=$wxUSE_MOUSEWHEEL
15296 fi
15297
15298 { echo "$as_me:$LINENO: result: $result" >&5
15299 echo "${ECHO_T}$result" >&6; }
15300
15301
15302 enablestring=
15303 defaultval=$wxUSE_ALL_FEATURES
15304 if test -z "$defaultval"; then
15305 if test x"$enablestring" = xdisable; then
15306 defaultval=yes
15307 else
15308 defaultval=no
15309 fi
15310 fi
15311
15312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15313 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15314 # Check whether --enable-validators was given.
15315 if test "${enable_validators+set}" = set; then
15316 enableval=$enable_validators;
15317 if test "$enableval" = yes; then
15318 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15319 else
15320 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15321 fi
15322 cache=yes
15323
15324 else
15325
15326 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15327 if test "x$LINE" != x ; then
15328 eval "DEFAULT_$LINE"
15329 cache=yes
15330 else
15331 cache=no
15332 fi
15333
15334 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15335
15336 fi
15337
15338
15339 eval "$wx_cv_use_validators"
15340 if test "x$cache" = xyes; then
15341 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15342 fi
15343
15344 if test x"$enablestring" = xdisable; then
15345 if test $wxUSE_VALIDATORS = yes; then
15346 result=no
15347 else
15348 result=yes
15349 fi
15350 else
15351 result=$wxUSE_VALIDATORS
15352 fi
15353
15354 { echo "$as_me:$LINENO: result: $result" >&5
15355 echo "${ECHO_T}$result" >&6; }
15356
15357
15358 enablestring=
15359 defaultval=$wxUSE_ALL_FEATURES
15360 if test -z "$defaultval"; then
15361 if test x"$enablestring" = xdisable; then
15362 defaultval=yes
15363 else
15364 defaultval=no
15365 fi
15366 fi
15367
15368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15369 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15370 # Check whether --enable-busyinfo was given.
15371 if test "${enable_busyinfo+set}" = set; then
15372 enableval=$enable_busyinfo;
15373 if test "$enableval" = yes; then
15374 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15375 else
15376 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15377 fi
15378 cache=yes
15379
15380 else
15381
15382 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15383 if test "x$LINE" != x ; then
15384 eval "DEFAULT_$LINE"
15385 cache=yes
15386 else
15387 cache=no
15388 fi
15389
15390 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15391
15392 fi
15393
15394
15395 eval "$wx_cv_use_busyinfo"
15396 if test "x$cache" = xyes; then
15397 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15398 fi
15399
15400 if test x"$enablestring" = xdisable; then
15401 if test $wxUSE_BUSYINFO = yes; then
15402 result=no
15403 else
15404 result=yes
15405 fi
15406 else
15407 result=$wxUSE_BUSYINFO
15408 fi
15409
15410 { echo "$as_me:$LINENO: result: $result" >&5
15411 echo "${ECHO_T}$result" >&6; }
15412
15413
15414 enablestring=
15415 defaultval=$wxUSE_ALL_FEATURES
15416 if test -z "$defaultval"; then
15417 if test x"$enablestring" = xdisable; then
15418 defaultval=yes
15419 else
15420 defaultval=no
15421 fi
15422 fi
15423
15424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15425 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15426 # Check whether --enable-joystick was given.
15427 if test "${enable_joystick+set}" = set; then
15428 enableval=$enable_joystick;
15429 if test "$enableval" = yes; then
15430 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15431 else
15432 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15433 fi
15434 cache=yes
15435
15436 else
15437
15438 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15439 if test "x$LINE" != x ; then
15440 eval "DEFAULT_$LINE"
15441 cache=yes
15442 else
15443 cache=no
15444 fi
15445
15446 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15447
15448 fi
15449
15450
15451 eval "$wx_cv_use_joystick"
15452 if test "x$cache" = xyes; then
15453 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15454 fi
15455
15456 if test x"$enablestring" = xdisable; then
15457 if test $wxUSE_JOYSTICK = yes; then
15458 result=no
15459 else
15460 result=yes
15461 fi
15462 else
15463 result=$wxUSE_JOYSTICK
15464 fi
15465
15466 { echo "$as_me:$LINENO: result: $result" >&5
15467 echo "${ECHO_T}$result" >&6; }
15468
15469
15470 enablestring=
15471 defaultval=$wxUSE_ALL_FEATURES
15472 if test -z "$defaultval"; then
15473 if test x"$enablestring" = xdisable; then
15474 defaultval=yes
15475 else
15476 defaultval=no
15477 fi
15478 fi
15479
15480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15481 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15482 # Check whether --enable-metafile was given.
15483 if test "${enable_metafile+set}" = set; then
15484 enableval=$enable_metafile;
15485 if test "$enableval" = yes; then
15486 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15487 else
15488 wx_cv_use_metafile='wxUSE_METAFILE=no'
15489 fi
15490 cache=yes
15491
15492 else
15493
15494 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15495 if test "x$LINE" != x ; then
15496 eval "DEFAULT_$LINE"
15497 cache=yes
15498 else
15499 cache=no
15500 fi
15501
15502 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15503
15504 fi
15505
15506
15507 eval "$wx_cv_use_metafile"
15508 if test "x$cache" = xyes; then
15509 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15510 fi
15511
15512 if test x"$enablestring" = xdisable; then
15513 if test $wxUSE_METAFILE = yes; then
15514 result=no
15515 else
15516 result=yes
15517 fi
15518 else
15519 result=$wxUSE_METAFILE
15520 fi
15521
15522 { echo "$as_me:$LINENO: result: $result" >&5
15523 echo "${ECHO_T}$result" >&6; }
15524
15525
15526 enablestring=
15527 defaultval=$wxUSE_ALL_FEATURES
15528 if test -z "$defaultval"; then
15529 if test x"$enablestring" = xdisable; then
15530 defaultval=yes
15531 else
15532 defaultval=no
15533 fi
15534 fi
15535
15536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15537 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15538 # Check whether --enable-dragimage was given.
15539 if test "${enable_dragimage+set}" = set; then
15540 enableval=$enable_dragimage;
15541 if test "$enableval" = yes; then
15542 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15543 else
15544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15545 fi
15546 cache=yes
15547
15548 else
15549
15550 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15551 if test "x$LINE" != x ; then
15552 eval "DEFAULT_$LINE"
15553 cache=yes
15554 else
15555 cache=no
15556 fi
15557
15558 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15559
15560 fi
15561
15562
15563 eval "$wx_cv_use_dragimage"
15564 if test "x$cache" = xyes; then
15565 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15566 fi
15567
15568 if test x"$enablestring" = xdisable; then
15569 if test $wxUSE_DRAGIMAGE = yes; then
15570 result=no
15571 else
15572 result=yes
15573 fi
15574 else
15575 result=$wxUSE_DRAGIMAGE
15576 fi
15577
15578 { echo "$as_me:$LINENO: result: $result" >&5
15579 echo "${ECHO_T}$result" >&6; }
15580
15581
15582 enablestring=
15583 defaultval=$wxUSE_ALL_FEATURES
15584 if test -z "$defaultval"; then
15585 if test x"$enablestring" = xdisable; then
15586 defaultval=yes
15587 else
15588 defaultval=no
15589 fi
15590 fi
15591
15592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15593 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15594 # Check whether --enable-accessibility was given.
15595 if test "${enable_accessibility+set}" = set; then
15596 enableval=$enable_accessibility;
15597 if test "$enableval" = yes; then
15598 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15599 else
15600 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15601 fi
15602 cache=yes
15603
15604 else
15605
15606 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15607 if test "x$LINE" != x ; then
15608 eval "DEFAULT_$LINE"
15609 cache=yes
15610 else
15611 cache=no
15612 fi
15613
15614 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15615
15616 fi
15617
15618
15619 eval "$wx_cv_use_accessibility"
15620 if test "x$cache" = xyes; then
15621 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15622 fi
15623
15624 if test x"$enablestring" = xdisable; then
15625 if test $wxUSE_ACCESSIBILITY = yes; then
15626 result=no
15627 else
15628 result=yes
15629 fi
15630 else
15631 result=$wxUSE_ACCESSIBILITY
15632 fi
15633
15634 { echo "$as_me:$LINENO: result: $result" >&5
15635 echo "${ECHO_T}$result" >&6; }
15636
15637
15638
15639
15640 enablestring=
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15644 defaultval=yes
15645 else
15646 defaultval=no
15647 fi
15648 fi
15649
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15652 # Check whether --enable-palette was given.
15653 if test "${enable_palette+set}" = set; then
15654 enableval=$enable_palette;
15655 if test "$enableval" = yes; then
15656 wx_cv_use_palette='wxUSE_PALETTE=yes'
15657 else
15658 wx_cv_use_palette='wxUSE_PALETTE=no'
15659 fi
15660 cache=yes
15661
15662 else
15663
15664 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15667 cache=yes
15668 else
15669 cache=no
15670 fi
15671
15672 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15673
15674 fi
15675
15676
15677 eval "$wx_cv_use_palette"
15678 if test "x$cache" = xyes; then
15679 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15680 fi
15681
15682 if test x"$enablestring" = xdisable; then
15683 if test $wxUSE_PALETTE = yes; then
15684 result=no
15685 else
15686 result=yes
15687 fi
15688 else
15689 result=$wxUSE_PALETTE
15690 fi
15691
15692 { echo "$as_me:$LINENO: result: $result" >&5
15693 echo "${ECHO_T}$result" >&6; }
15694
15695
15696 enablestring=
15697 defaultval=$wxUSE_ALL_FEATURES
15698 if test -z "$defaultval"; then
15699 if test x"$enablestring" = xdisable; then
15700 defaultval=yes
15701 else
15702 defaultval=no
15703 fi
15704 fi
15705
15706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15707 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15708 # Check whether --enable-image was given.
15709 if test "${enable_image+set}" = set; then
15710 enableval=$enable_image;
15711 if test "$enableval" = yes; then
15712 wx_cv_use_image='wxUSE_IMAGE=yes'
15713 else
15714 wx_cv_use_image='wxUSE_IMAGE=no'
15715 fi
15716 cache=yes
15717
15718 else
15719
15720 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15721 if test "x$LINE" != x ; then
15722 eval "DEFAULT_$LINE"
15723 cache=yes
15724 else
15725 cache=no
15726 fi
15727
15728 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15729
15730 fi
15731
15732
15733 eval "$wx_cv_use_image"
15734 if test "x$cache" = xyes; then
15735 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15736 fi
15737
15738 if test x"$enablestring" = xdisable; then
15739 if test $wxUSE_IMAGE = yes; then
15740 result=no
15741 else
15742 result=yes
15743 fi
15744 else
15745 result=$wxUSE_IMAGE
15746 fi
15747
15748 { echo "$as_me:$LINENO: result: $result" >&5
15749 echo "${ECHO_T}$result" >&6; }
15750
15751
15752 enablestring=
15753 defaultval=$wxUSE_ALL_FEATURES
15754 if test -z "$defaultval"; then
15755 if test x"$enablestring" = xdisable; then
15756 defaultval=yes
15757 else
15758 defaultval=no
15759 fi
15760 fi
15761
15762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15763 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15764 # Check whether --enable-gif was given.
15765 if test "${enable_gif+set}" = set; then
15766 enableval=$enable_gif;
15767 if test "$enableval" = yes; then
15768 wx_cv_use_gif='wxUSE_GIF=yes'
15769 else
15770 wx_cv_use_gif='wxUSE_GIF=no'
15771 fi
15772 cache=yes
15773
15774 else
15775
15776 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15777 if test "x$LINE" != x ; then
15778 eval "DEFAULT_$LINE"
15779 cache=yes
15780 else
15781 cache=no
15782 fi
15783
15784 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15785
15786 fi
15787
15788
15789 eval "$wx_cv_use_gif"
15790 if test "x$cache" = xyes; then
15791 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15792 fi
15793
15794 if test x"$enablestring" = xdisable; then
15795 if test $wxUSE_GIF = yes; then
15796 result=no
15797 else
15798 result=yes
15799 fi
15800 else
15801 result=$wxUSE_GIF
15802 fi
15803
15804 { echo "$as_me:$LINENO: result: $result" >&5
15805 echo "${ECHO_T}$result" >&6; }
15806
15807
15808 enablestring=
15809 defaultval=$wxUSE_ALL_FEATURES
15810 if test -z "$defaultval"; then
15811 if test x"$enablestring" = xdisable; then
15812 defaultval=yes
15813 else
15814 defaultval=no
15815 fi
15816 fi
15817
15818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15819 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15820 # Check whether --enable-pcx was given.
15821 if test "${enable_pcx+set}" = set; then
15822 enableval=$enable_pcx;
15823 if test "$enableval" = yes; then
15824 wx_cv_use_pcx='wxUSE_PCX=yes'
15825 else
15826 wx_cv_use_pcx='wxUSE_PCX=no'
15827 fi
15828 cache=yes
15829
15830 else
15831
15832 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15833 if test "x$LINE" != x ; then
15834 eval "DEFAULT_$LINE"
15835 cache=yes
15836 else
15837 cache=no
15838 fi
15839
15840 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15841
15842 fi
15843
15844
15845 eval "$wx_cv_use_pcx"
15846 if test "x$cache" = xyes; then
15847 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15848 fi
15849
15850 if test x"$enablestring" = xdisable; then
15851 if test $wxUSE_PCX = yes; then
15852 result=no
15853 else
15854 result=yes
15855 fi
15856 else
15857 result=$wxUSE_PCX
15858 fi
15859
15860 { echo "$as_me:$LINENO: result: $result" >&5
15861 echo "${ECHO_T}$result" >&6; }
15862
15863
15864 enablestring=
15865 defaultval=$wxUSE_ALL_FEATURES
15866 if test -z "$defaultval"; then
15867 if test x"$enablestring" = xdisable; then
15868 defaultval=yes
15869 else
15870 defaultval=no
15871 fi
15872 fi
15873
15874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15875 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15876 # Check whether --enable-tga was given.
15877 if test "${enable_tga+set}" = set; then
15878 enableval=$enable_tga;
15879 if test "$enableval" = yes; then
15880 wx_cv_use_tga='wxUSE_TGA=yes'
15881 else
15882 wx_cv_use_tga='wxUSE_TGA=no'
15883 fi
15884 cache=yes
15885
15886 else
15887
15888 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15889 if test "x$LINE" != x ; then
15890 eval "DEFAULT_$LINE"
15891 cache=yes
15892 else
15893 cache=no
15894 fi
15895
15896 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15897
15898 fi
15899
15900
15901 eval "$wx_cv_use_tga"
15902 if test "x$cache" = xyes; then
15903 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15904 fi
15905
15906 if test x"$enablestring" = xdisable; then
15907 if test $wxUSE_TGA = yes; then
15908 result=no
15909 else
15910 result=yes
15911 fi
15912 else
15913 result=$wxUSE_TGA
15914 fi
15915
15916 { echo "$as_me:$LINENO: result: $result" >&5
15917 echo "${ECHO_T}$result" >&6; }
15918
15919
15920 enablestring=
15921 defaultval=$wxUSE_ALL_FEATURES
15922 if test -z "$defaultval"; then
15923 if test x"$enablestring" = xdisable; then
15924 defaultval=yes
15925 else
15926 defaultval=no
15927 fi
15928 fi
15929
15930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15931 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15932 # Check whether --enable-iff was given.
15933 if test "${enable_iff+set}" = set; then
15934 enableval=$enable_iff;
15935 if test "$enableval" = yes; then
15936 wx_cv_use_iff='wxUSE_IFF=yes'
15937 else
15938 wx_cv_use_iff='wxUSE_IFF=no'
15939 fi
15940 cache=yes
15941
15942 else
15943
15944 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15945 if test "x$LINE" != x ; then
15946 eval "DEFAULT_$LINE"
15947 cache=yes
15948 else
15949 cache=no
15950 fi
15951
15952 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15953
15954 fi
15955
15956
15957 eval "$wx_cv_use_iff"
15958 if test "x$cache" = xyes; then
15959 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15960 fi
15961
15962 if test x"$enablestring" = xdisable; then
15963 if test $wxUSE_IFF = yes; then
15964 result=no
15965 else
15966 result=yes
15967 fi
15968 else
15969 result=$wxUSE_IFF
15970 fi
15971
15972 { echo "$as_me:$LINENO: result: $result" >&5
15973 echo "${ECHO_T}$result" >&6; }
15974
15975
15976 enablestring=
15977 defaultval=$wxUSE_ALL_FEATURES
15978 if test -z "$defaultval"; then
15979 if test x"$enablestring" = xdisable; then
15980 defaultval=yes
15981 else
15982 defaultval=no
15983 fi
15984 fi
15985
15986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15987 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15988 # Check whether --enable-pnm was given.
15989 if test "${enable_pnm+set}" = set; then
15990 enableval=$enable_pnm;
15991 if test "$enableval" = yes; then
15992 wx_cv_use_pnm='wxUSE_PNM=yes'
15993 else
15994 wx_cv_use_pnm='wxUSE_PNM=no'
15995 fi
15996 cache=yes
15997
15998 else
15999
16000 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16001 if test "x$LINE" != x ; then
16002 eval "DEFAULT_$LINE"
16003 cache=yes
16004 else
16005 cache=no
16006 fi
16007
16008 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16009
16010 fi
16011
16012
16013 eval "$wx_cv_use_pnm"
16014 if test "x$cache" = xyes; then
16015 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16016 fi
16017
16018 if test x"$enablestring" = xdisable; then
16019 if test $wxUSE_PNM = yes; then
16020 result=no
16021 else
16022 result=yes
16023 fi
16024 else
16025 result=$wxUSE_PNM
16026 fi
16027
16028 { echo "$as_me:$LINENO: result: $result" >&5
16029 echo "${ECHO_T}$result" >&6; }
16030
16031
16032 enablestring=
16033 defaultval=$wxUSE_ALL_FEATURES
16034 if test -z "$defaultval"; then
16035 if test x"$enablestring" = xdisable; then
16036 defaultval=yes
16037 else
16038 defaultval=no
16039 fi
16040 fi
16041
16042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16043 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16044 # Check whether --enable-xpm was given.
16045 if test "${enable_xpm+set}" = set; then
16046 enableval=$enable_xpm;
16047 if test "$enableval" = yes; then
16048 wx_cv_use_xpm='wxUSE_XPM=yes'
16049 else
16050 wx_cv_use_xpm='wxUSE_XPM=no'
16051 fi
16052 cache=yes
16053
16054 else
16055
16056 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16057 if test "x$LINE" != x ; then
16058 eval "DEFAULT_$LINE"
16059 cache=yes
16060 else
16061 cache=no
16062 fi
16063
16064 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16065
16066 fi
16067
16068
16069 eval "$wx_cv_use_xpm"
16070 if test "x$cache" = xyes; then
16071 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16072 fi
16073
16074 if test x"$enablestring" = xdisable; then
16075 if test $wxUSE_XPM = yes; then
16076 result=no
16077 else
16078 result=yes
16079 fi
16080 else
16081 result=$wxUSE_XPM
16082 fi
16083
16084 { echo "$as_me:$LINENO: result: $result" >&5
16085 echo "${ECHO_T}$result" >&6; }
16086
16087
16088 enablestring=
16089 defaultval=$wxUSE_ALL_FEATURES
16090 if test -z "$defaultval"; then
16091 if test x"$enablestring" = xdisable; then
16092 defaultval=yes
16093 else
16094 defaultval=no
16095 fi
16096 fi
16097
16098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16099 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16100 # Check whether --enable-ico_cur was given.
16101 if test "${enable_ico_cur+set}" = set; then
16102 enableval=$enable_ico_cur;
16103 if test "$enableval" = yes; then
16104 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16105 else
16106 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16107 fi
16108 cache=yes
16109
16110 else
16111
16112 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16113 if test "x$LINE" != x ; then
16114 eval "DEFAULT_$LINE"
16115 cache=yes
16116 else
16117 cache=no
16118 fi
16119
16120 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16121
16122 fi
16123
16124
16125 eval "$wx_cv_use_ico_cur"
16126 if test "x$cache" = xyes; then
16127 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16128 fi
16129
16130 if test x"$enablestring" = xdisable; then
16131 if test $wxUSE_ICO_CUR = yes; then
16132 result=no
16133 else
16134 result=yes
16135 fi
16136 else
16137 result=$wxUSE_ICO_CUR
16138 fi
16139
16140 { echo "$as_me:$LINENO: result: $result" >&5
16141 echo "${ECHO_T}$result" >&6; }
16142
16143
16144
16145
16146 enablestring=
16147 defaultval=$wxUSE_ALL_FEATURES
16148 if test -z "$defaultval"; then
16149 if test x"$enablestring" = xdisable; then
16150 defaultval=yes
16151 else
16152 defaultval=no
16153 fi
16154 fi
16155
16156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16157 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16158 # Check whether --enable-dccache was given.
16159 if test "${enable_dccache+set}" = set; then
16160 enableval=$enable_dccache;
16161 if test "$enableval" = yes; then
16162 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16163 else
16164 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16165 fi
16166 cache=yes
16167
16168 else
16169
16170 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16171 if test "x$LINE" != x ; then
16172 eval "DEFAULT_$LINE"
16173 cache=yes
16174 else
16175 cache=no
16176 fi
16177
16178 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16179
16180 fi
16181
16182
16183 eval "$wx_cv_use_dccache"
16184 if test "x$cache" = xyes; then
16185 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16186 fi
16187
16188 if test x"$enablestring" = xdisable; then
16189 if test $wxUSE_DC_CACHEING = yes; then
16190 result=no
16191 else
16192 result=yes
16193 fi
16194 else
16195 result=$wxUSE_DC_CACHEING
16196 fi
16197
16198 { echo "$as_me:$LINENO: result: $result" >&5
16199 echo "${ECHO_T}$result" >&6; }
16200
16201
16202 enablestring=
16203 defaultval=$wxUSE_ALL_FEATURES
16204 if test -z "$defaultval"; then
16205 if test x"$enablestring" = xdisable; then
16206 defaultval=yes
16207 else
16208 defaultval=no
16209 fi
16210 fi
16211
16212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16213 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16214 # Check whether --enable-ps-in-msw was given.
16215 if test "${enable_ps_in_msw+set}" = set; then
16216 enableval=$enable_ps_in_msw;
16217 if test "$enableval" = yes; then
16218 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16219 else
16220 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16221 fi
16222 cache=yes
16223
16224 else
16225
16226 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16227 if test "x$LINE" != x ; then
16228 eval "DEFAULT_$LINE"
16229 cache=yes
16230 else
16231 cache=no
16232 fi
16233
16234 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16235
16236 fi
16237
16238
16239 eval "$wx_cv_use_ps_in_msw"
16240 if test "x$cache" = xyes; then
16241 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16242 fi
16243
16244 if test x"$enablestring" = xdisable; then
16245 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16246 result=no
16247 else
16248 result=yes
16249 fi
16250 else
16251 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16252 fi
16253
16254 { echo "$as_me:$LINENO: result: $result" >&5
16255 echo "${ECHO_T}$result" >&6; }
16256
16257
16258 enablestring=
16259 defaultval=$wxUSE_ALL_FEATURES
16260 if test -z "$defaultval"; then
16261 if test x"$enablestring" = xdisable; then
16262 defaultval=yes
16263 else
16264 defaultval=no
16265 fi
16266 fi
16267
16268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16269 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16270 # Check whether --enable-ownerdrawn was given.
16271 if test "${enable_ownerdrawn+set}" = set; then
16272 enableval=$enable_ownerdrawn;
16273 if test "$enableval" = yes; then
16274 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16275 else
16276 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16277 fi
16278 cache=yes
16279
16280 else
16281
16282 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16283 if test "x$LINE" != x ; then
16284 eval "DEFAULT_$LINE"
16285 cache=yes
16286 else
16287 cache=no
16288 fi
16289
16290 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16291
16292 fi
16293
16294
16295 eval "$wx_cv_use_ownerdrawn"
16296 if test "x$cache" = xyes; then
16297 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16298 fi
16299
16300 if test x"$enablestring" = xdisable; then
16301 if test $wxUSE_OWNER_DRAWN = yes; then
16302 result=no
16303 else
16304 result=yes
16305 fi
16306 else
16307 result=$wxUSE_OWNER_DRAWN
16308 fi
16309
16310 { echo "$as_me:$LINENO: result: $result" >&5
16311 echo "${ECHO_T}$result" >&6; }
16312
16313
16314 enablestring=
16315 defaultval=$wxUSE_ALL_FEATURES
16316 if test -z "$defaultval"; then
16317 if test x"$enablestring" = xdisable; then
16318 defaultval=yes
16319 else
16320 defaultval=no
16321 fi
16322 fi
16323
16324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16325 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16326 # Check whether --enable-uxtheme was given.
16327 if test "${enable_uxtheme+set}" = set; then
16328 enableval=$enable_uxtheme;
16329 if test "$enableval" = yes; then
16330 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16331 else
16332 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16333 fi
16334 cache=yes
16335
16336 else
16337
16338 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16339 if test "x$LINE" != x ; then
16340 eval "DEFAULT_$LINE"
16341 cache=yes
16342 else
16343 cache=no
16344 fi
16345
16346 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16347
16348 fi
16349
16350
16351 eval "$wx_cv_use_uxtheme"
16352 if test "x$cache" = xyes; then
16353 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16354 fi
16355
16356 if test x"$enablestring" = xdisable; then
16357 if test $wxUSE_UXTHEME = yes; then
16358 result=no
16359 else
16360 result=yes
16361 fi
16362 else
16363 result=$wxUSE_UXTHEME
16364 fi
16365
16366 { echo "$as_me:$LINENO: result: $result" >&5
16367 echo "${ECHO_T}$result" >&6; }
16368
16369
16370 enablestring=
16371 defaultval=$wxUSE_ALL_FEATURES
16372 if test -z "$defaultval"; then
16373 if test x"$enablestring" = xdisable; then
16374 defaultval=yes
16375 else
16376 defaultval=no
16377 fi
16378 fi
16379
16380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16381 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16382 # Check whether --enable-wxdib was given.
16383 if test "${enable_wxdib+set}" = set; then
16384 enableval=$enable_wxdib;
16385 if test "$enableval" = yes; then
16386 wx_cv_use_wxdib='wxUSE_DIB=yes'
16387 else
16388 wx_cv_use_wxdib='wxUSE_DIB=no'
16389 fi
16390 cache=yes
16391
16392 else
16393
16394 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16395 if test "x$LINE" != x ; then
16396 eval "DEFAULT_$LINE"
16397 cache=yes
16398 else
16399 cache=no
16400 fi
16401
16402 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16403
16404 fi
16405
16406
16407 eval "$wx_cv_use_wxdib"
16408 if test "x$cache" = xyes; then
16409 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16410 fi
16411
16412 if test x"$enablestring" = xdisable; then
16413 if test $wxUSE_DIB = yes; then
16414 result=no
16415 else
16416 result=yes
16417 fi
16418 else
16419 result=$wxUSE_DIB
16420 fi
16421
16422 { echo "$as_me:$LINENO: result: $result" >&5
16423 echo "${ECHO_T}$result" >&6; }
16424
16425
16426 fi
16427
16428
16429 echo "saving argument cache $wx_arg_cache_file"
16430 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16431
16432
16433
16434 { echo "$as_me:$LINENO: checking for toolkit" >&5
16435 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16436
16437 # In Wine, we need to default to MSW, not GTK or MOTIF
16438 if test "$wxUSE_WINE" = "yes"; then
16439 DEFAULT_DEFAULT_wxUSE_GTK=0
16440 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16441 DEFAULT_DEFAULT_wxUSE_MSW=1
16442 wxUSE_SHARED=no
16443 CC=${CC:-winegcc}
16444 CXX=${CXX:-wineg++}
16445 fi
16446
16447
16448 if test "$wxUSE_GUI" = "yes"; then
16449
16450 if test "$USE_BEOS" = 1; then
16451 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16452 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16453 { (exit 1); exit 1; }; }
16454 fi
16455
16456 if test "$TOOLKIT_GIVEN" = 1; then
16457 for toolkit in $ALL_TOOLKITS; do
16458 var=wxUSE_$toolkit
16459 eval "value=\$${var}"
16460 if test "x$value" = "xno"; then
16461 eval "$var=0"
16462 elif test "x$value" != "x"; then
16463 eval "$var=1"
16464 fi
16465
16466 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16467 eval "wx${toolkit}_VERSION=$value"
16468 fi
16469 done
16470 else
16471 for toolkit in $ALL_TOOLKITS; do
16472 if test "$has_toolkit_in_cache" != 1; then
16473 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16474 else
16475 var=DEFAULT_wxUSE_$toolkit
16476
16477 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16478 if test "x$version" != "x"; then
16479 eval "wx${toolkit}_VERSION=$version"
16480 fi
16481 fi
16482 eval "wxUSE_$toolkit=\$${var}"
16483 done
16484 fi
16485
16486 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16487 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16488 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16489
16490 case "${host}" in
16491 *-pc-os2_emx | *-pc-os2-emx )
16492 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16493 esac
16494
16495 case "$NUM_TOOLKITS" in
16496 1)
16497 ;;
16498 0)
16499 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16500 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16501 { (exit 1); exit 1; }; }
16502 ;;
16503 *)
16504 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16505 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16506 { (exit 1); exit 1; }; }
16507 esac
16508
16509 # to be removed when --disable-gtk2 isn't needed
16510 if test "x$wxUSE_GTK2" = "xyes"; then
16511 wxGTK_VERSION=2
16512 elif test "x$wxUSE_GTK2" = "xno"; then
16513 wxGTK_VERSION=1
16514 fi
16515
16516 for toolkit in $ALL_TOOLKITS; do
16517 var=wxUSE_$toolkit
16518 eval "value=\$${var}"
16519 if test "x$value" != x; then
16520 cache_var=CACHE_$toolkit
16521 eval "cache=\$${cache_var}"
16522 if test "$cache" = 1; then
16523 echo "$var=$value" >> ${wx_arg_cache_file}
16524 eval "version=\$wx${toolkit}_VERSION"
16525 if test "x$version" != "x"; then
16526 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16527 fi
16528 fi
16529 if test "$value" = 1; then
16530 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16531 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16532 echo "${ECHO_T}$toolkit_echo" >&6; }
16533 fi
16534 fi
16535 done
16536 else
16537 if test "x$host_alias" != "x"; then
16538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16540 else
16541 { echo "$as_me:$LINENO: result: base only" >&5
16542 echo "${ECHO_T}base only" >&6; }
16543 fi
16544 fi
16545
16546
16547 cat >confcache <<\_ACEOF
16548 # This file is a shell script that caches the results of configure
16549 # tests run on this system so they can be shared between configure
16550 # scripts and configure runs, see configure's option --config-cache.
16551 # It is not useful on other systems. If it contains results you don't
16552 # want to keep, you may remove or edit it.
16553 #
16554 # config.status only pays attention to the cache file if you give it
16555 # the --recheck option to rerun configure.
16556 #
16557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16559 # following values.
16560
16561 _ACEOF
16562
16563 # The following way of writing the cache mishandles newlines in values,
16564 # but we know of no workaround that is simple, portable, and efficient.
16565 # So, we kill variables containing newlines.
16566 # Ultrix sh set writes to stderr and can't be redirected directly,
16567 # and sets the high bit in the cache file unless we assign to the vars.
16568 (
16569 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16570 eval ac_val=\$$ac_var
16571 case $ac_val in #(
16572 *${as_nl}*)
16573 case $ac_var in #(
16574 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16575 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16576 esac
16577 case $ac_var in #(
16578 _ | IFS | as_nl) ;; #(
16579 *) $as_unset $ac_var ;;
16580 esac ;;
16581 esac
16582 done
16583
16584 (set) 2>&1 |
16585 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16586 *${as_nl}ac_space=\ *)
16587 # `set' does not quote correctly, so add quotes (double-quote
16588 # substitution turns \\\\ into \\, and sed turns \\ into \).
16589 sed -n \
16590 "s/'/'\\\\''/g;
16591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16592 ;; #(
16593 *)
16594 # `set' quotes correctly as required by POSIX, so do not add quotes.
16595 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16596 ;;
16597 esac |
16598 sort
16599 ) |
16600 sed '
16601 /^ac_cv_env_/b end
16602 t clear
16603 :clear
16604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16605 t end
16606 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16607 :end' >>confcache
16608 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16609 if test -w "$cache_file"; then
16610 test "x$cache_file" != "x/dev/null" &&
16611 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16612 echo "$as_me: updating cache $cache_file" >&6;}
16613 cat confcache >$cache_file
16614 else
16615 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16616 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16617 fi
16618 fi
16619 rm -f confcache
16620
16621 CFLAGS=${CFLAGS:=}
16622
16623
16624
16625 ac_ext=c
16626 ac_cpp='$CPP $CPPFLAGS'
16627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630 if test -n "$ac_tool_prefix"; then
16631 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16632 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16635 if test "${ac_cv_prog_CC+set}" = set; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 else
16638 if test -n "$CC"; then
16639 ac_cv_prog_CC="$CC" # Let the user override the test.
16640 else
16641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16642 for as_dir in $PATH
16643 do
16644 IFS=$as_save_IFS
16645 test -z "$as_dir" && as_dir=.
16646 for ac_exec_ext in '' $ac_executable_extensions; do
16647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16648 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 break 2
16651 fi
16652 done
16653 done
16654 IFS=$as_save_IFS
16655
16656 fi
16657 fi
16658 CC=$ac_cv_prog_CC
16659 if test -n "$CC"; then
16660 { echo "$as_me:$LINENO: result: $CC" >&5
16661 echo "${ECHO_T}$CC" >&6; }
16662 else
16663 { echo "$as_me:$LINENO: result: no" >&5
16664 echo "${ECHO_T}no" >&6; }
16665 fi
16666
16667
16668 fi
16669 if test -z "$ac_cv_prog_CC"; then
16670 ac_ct_CC=$CC
16671 # Extract the first word of "gcc", so it can be a program name with args.
16672 set dummy gcc; ac_word=$2
16673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16676 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 else
16678 if test -n "$ac_ct_CC"; then
16679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16680 else
16681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16682 for as_dir in $PATH
16683 do
16684 IFS=$as_save_IFS
16685 test -z "$as_dir" && as_dir=.
16686 for ac_exec_ext in '' $ac_executable_extensions; do
16687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16688 ac_cv_prog_ac_ct_CC="gcc"
16689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16690 break 2
16691 fi
16692 done
16693 done
16694 IFS=$as_save_IFS
16695
16696 fi
16697 fi
16698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16699 if test -n "$ac_ct_CC"; then
16700 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16701 echo "${ECHO_T}$ac_ct_CC" >&6; }
16702 else
16703 { echo "$as_me:$LINENO: result: no" >&5
16704 echo "${ECHO_T}no" >&6; }
16705 fi
16706
16707 if test "x$ac_ct_CC" = x; then
16708 CC=""
16709 else
16710 case $cross_compiling:$ac_tool_warned in
16711 yes:)
16712 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&5
16715 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16716 whose name does not start with the host triplet. If you think this
16717 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16718 ac_tool_warned=yes ;;
16719 esac
16720 CC=$ac_ct_CC
16721 fi
16722 else
16723 CC="$ac_cv_prog_CC"
16724 fi
16725
16726 if test -z "$CC"; then
16727 if test -n "$ac_tool_prefix"; then
16728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16729 set dummy ${ac_tool_prefix}cc; ac_word=$2
16730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16732 if test "${ac_cv_prog_CC+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 else
16735 if test -n "$CC"; then
16736 ac_cv_prog_CC="$CC" # Let the user override the test.
16737 else
16738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16739 for as_dir in $PATH
16740 do
16741 IFS=$as_save_IFS
16742 test -z "$as_dir" && as_dir=.
16743 for ac_exec_ext in '' $ac_executable_extensions; do
16744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16745 ac_cv_prog_CC="${ac_tool_prefix}cc"
16746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 break 2
16748 fi
16749 done
16750 done
16751 IFS=$as_save_IFS
16752
16753 fi
16754 fi
16755 CC=$ac_cv_prog_CC
16756 if test -n "$CC"; then
16757 { echo "$as_me:$LINENO: result: $CC" >&5
16758 echo "${ECHO_T}$CC" >&6; }
16759 else
16760 { echo "$as_me:$LINENO: result: no" >&5
16761 echo "${ECHO_T}no" >&6; }
16762 fi
16763
16764
16765 fi
16766 fi
16767 if test -z "$CC"; then
16768 # Extract the first word of "cc", so it can be a program name with args.
16769 set dummy cc; ac_word=$2
16770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16772 if test "${ac_cv_prog_CC+set}" = set; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 else
16775 if test -n "$CC"; then
16776 ac_cv_prog_CC="$CC" # Let the user override the test.
16777 else
16778 ac_prog_rejected=no
16779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16780 for as_dir in $PATH
16781 do
16782 IFS=$as_save_IFS
16783 test -z "$as_dir" && as_dir=.
16784 for ac_exec_ext in '' $ac_executable_extensions; do
16785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16787 ac_prog_rejected=yes
16788 continue
16789 fi
16790 ac_cv_prog_CC="cc"
16791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16792 break 2
16793 fi
16794 done
16795 done
16796 IFS=$as_save_IFS
16797
16798 if test $ac_prog_rejected = yes; then
16799 # We found a bogon in the path, so make sure we never use it.
16800 set dummy $ac_cv_prog_CC
16801 shift
16802 if test $# != 0; then
16803 # We chose a different compiler from the bogus one.
16804 # However, it has the same basename, so the bogon will be chosen
16805 # first if we set CC to just the basename; use the full file name.
16806 shift
16807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16808 fi
16809 fi
16810 fi
16811 fi
16812 CC=$ac_cv_prog_CC
16813 if test -n "$CC"; then
16814 { echo "$as_me:$LINENO: result: $CC" >&5
16815 echo "${ECHO_T}$CC" >&6; }
16816 else
16817 { echo "$as_me:$LINENO: result: no" >&5
16818 echo "${ECHO_T}no" >&6; }
16819 fi
16820
16821
16822 fi
16823 if test -z "$CC"; then
16824 if test -n "$ac_tool_prefix"; then
16825 for ac_prog in cl.exe
16826 do
16827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16831 if test "${ac_cv_prog_CC+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 else
16834 if test -n "$CC"; then
16835 ac_cv_prog_CC="$CC" # Let the user override the test.
16836 else
16837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16838 for as_dir in $PATH
16839 do
16840 IFS=$as_save_IFS
16841 test -z "$as_dir" && as_dir=.
16842 for ac_exec_ext in '' $ac_executable_extensions; do
16843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 break 2
16847 fi
16848 done
16849 done
16850 IFS=$as_save_IFS
16851
16852 fi
16853 fi
16854 CC=$ac_cv_prog_CC
16855 if test -n "$CC"; then
16856 { echo "$as_me:$LINENO: result: $CC" >&5
16857 echo "${ECHO_T}$CC" >&6; }
16858 else
16859 { echo "$as_me:$LINENO: result: no" >&5
16860 echo "${ECHO_T}no" >&6; }
16861 fi
16862
16863
16864 test -n "$CC" && break
16865 done
16866 fi
16867 if test -z "$CC"; then
16868 ac_ct_CC=$CC
16869 for ac_prog in cl.exe
16870 do
16871 # Extract the first word of "$ac_prog", so it can be a program name with args.
16872 set dummy $ac_prog; ac_word=$2
16873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 else
16878 if test -n "$ac_ct_CC"; then
16879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16880 else
16881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16882 for as_dir in $PATH
16883 do
16884 IFS=$as_save_IFS
16885 test -z "$as_dir" && as_dir=.
16886 for ac_exec_ext in '' $ac_executable_extensions; do
16887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16888 ac_cv_prog_ac_ct_CC="$ac_prog"
16889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16890 break 2
16891 fi
16892 done
16893 done
16894 IFS=$as_save_IFS
16895
16896 fi
16897 fi
16898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16899 if test -n "$ac_ct_CC"; then
16900 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16901 echo "${ECHO_T}$ac_ct_CC" >&6; }
16902 else
16903 { echo "$as_me:$LINENO: result: no" >&5
16904 echo "${ECHO_T}no" >&6; }
16905 fi
16906
16907
16908 test -n "$ac_ct_CC" && break
16909 done
16910
16911 if test "x$ac_ct_CC" = x; then
16912 CC=""
16913 else
16914 case $cross_compiling:$ac_tool_warned in
16915 yes:)
16916 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16917 whose name does not start with the host triplet. If you think this
16918 configuration is useful to you, please write to autoconf@gnu.org." >&5
16919 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16920 whose name does not start with the host triplet. If you think this
16921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16922 ac_tool_warned=yes ;;
16923 esac
16924 CC=$ac_ct_CC
16925 fi
16926 fi
16927
16928 fi
16929
16930
16931 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16932 See \`config.log' for more details." >&5
16933 echo "$as_me: error: no acceptable C compiler found in \$PATH
16934 See \`config.log' for more details." >&2;}
16935 { (exit 1); exit 1; }; }
16936
16937 # Provide some information about the compiler.
16938 echo "$as_me:$LINENO: checking for C compiler version" >&5
16939 ac_compiler=`set X $ac_compile; echo $2`
16940 { (ac_try="$ac_compiler --version >&5"
16941 case "(($ac_try" in
16942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16944 esac
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_compiler --version >&5") 2>&5
16947 ac_status=$?
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }
16950 { (ac_try="$ac_compiler -v >&5"
16951 case "(($ac_try" in
16952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16953 *) ac_try_echo=$ac_try;;
16954 esac
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_compiler -v >&5") 2>&5
16957 ac_status=$?
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }
16960 { (ac_try="$ac_compiler -V >&5"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_compiler -V >&5") 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }
16970
16971 cat >conftest.$ac_ext <<_ACEOF
16972 /* confdefs.h. */
16973 _ACEOF
16974 cat confdefs.h >>conftest.$ac_ext
16975 cat >>conftest.$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977
16978 int
16979 main ()
16980 {
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 ac_clean_files_save=$ac_clean_files
16987 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16988 # Try to create an executable without -o first, disregard a.out.
16989 # It will help us diagnose broken compilers, and finding out an intuition
16990 # of exeext.
16991 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16992 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16993 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16994 #
16995 # List of possible output files, starting from the most likely.
16996 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16997 # only as a last resort. b.out is created by i960 compilers.
16998 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16999 #
17000 # The IRIX 6 linker writes into existing files which may not be
17001 # executable, retaining their permissions. Remove them first so a
17002 # subsequent execution test works.
17003 ac_rmfiles=
17004 for ac_file in $ac_files
17005 do
17006 case $ac_file in
17007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17008 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17009 esac
17010 done
17011 rm -f $ac_rmfiles
17012
17013 if { (ac_try="$ac_link_default"
17014 case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017 esac
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_link_default") 2>&5
17020 ac_status=$?
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; then
17023 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17024 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17025 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17026 # so that the user can short-circuit this test for compilers unknown to
17027 # Autoconf.
17028 for ac_file in $ac_files ''
17029 do
17030 test -f "$ac_file" || continue
17031 case $ac_file in
17032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17033 ;;
17034 [ab].out )
17035 # We found the default executable, but exeext='' is most
17036 # certainly right.
17037 break;;
17038 *.* )
17039 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17040 then :; else
17041 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17042 fi
17043 # We set ac_cv_exeext here because the later test for it is not
17044 # safe: cross compilers may not add the suffix if given an `-o'
17045 # argument, so we may need to know it at that point already.
17046 # Even if this section looks crufty: it has the advantage of
17047 # actually working.
17048 break;;
17049 * )
17050 break;;
17051 esac
17052 done
17053 test "$ac_cv_exeext" = no && ac_cv_exeext=
17054
17055 else
17056 ac_file=''
17057 fi
17058
17059 { echo "$as_me:$LINENO: result: $ac_file" >&5
17060 echo "${ECHO_T}$ac_file" >&6; }
17061 if test -z "$ac_file"; then
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17066 See \`config.log' for more details." >&5
17067 echo "$as_me: error: C compiler cannot create executables
17068 See \`config.log' for more details." >&2;}
17069 { (exit 77); exit 77; }; }
17070 fi
17071
17072 ac_exeext=$ac_cv_exeext
17073
17074 # Check that the compiler produces executables we can run. If not, either
17075 # the compiler is broken, or we cross compile.
17076 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17077 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17078 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17079 # If not cross compiling, check that we can run a simple program.
17080 if test "$cross_compiling" != yes; then
17081 if { ac_try='./$ac_file'
17082 { (case "(($ac_try" in
17083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17084 *) ac_try_echo=$ac_try;;
17085 esac
17086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17087 (eval "$ac_try") 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 cross_compiling=no
17092 else
17093 if test "$cross_compiling" = maybe; then
17094 cross_compiling=yes
17095 else
17096 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17097 If you meant to cross compile, use \`--host'.
17098 See \`config.log' for more details." >&5
17099 echo "$as_me: error: cannot run C compiled programs.
17100 If you meant to cross compile, use \`--host'.
17101 See \`config.log' for more details." >&2;}
17102 { (exit 1); exit 1; }; }
17103 fi
17104 fi
17105 fi
17106 { echo "$as_me:$LINENO: result: yes" >&5
17107 echo "${ECHO_T}yes" >&6; }
17108
17109 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17110 ac_clean_files=$ac_clean_files_save
17111 # Check that the compiler produces executables we can run. If not, either
17112 # the compiler is broken, or we cross compile.
17113 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17114 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17115 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17116 echo "${ECHO_T}$cross_compiling" >&6; }
17117
17118 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17119 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17120 if { (ac_try="$ac_link"
17121 case "(($ac_try" in
17122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17124 esac
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_link") 2>&5
17127 ac_status=$?
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; then
17130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17132 # work properly (i.e., refer to `conftest.exe'), while it won't with
17133 # `rm'.
17134 for ac_file in conftest.exe conftest conftest.*; do
17135 test -f "$ac_file" || continue
17136 case $ac_file in
17137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17139 break;;
17140 * ) break;;
17141 esac
17142 done
17143 else
17144 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17145 See \`config.log' for more details." >&5
17146 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17147 See \`config.log' for more details." >&2;}
17148 { (exit 1); exit 1; }; }
17149 fi
17150
17151 rm -f conftest$ac_cv_exeext
17152 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17153 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17154
17155 rm -f conftest.$ac_ext
17156 EXEEXT=$ac_cv_exeext
17157 ac_exeext=$EXEEXT
17158 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17159 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17160 if test "${ac_cv_objext+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169
17170 int
17171 main ()
17172 {
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.o conftest.obj
17179 if { (ac_try="$ac_compile"
17180 case "(($ac_try" in
17181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17182 *) ac_try_echo=$ac_try;;
17183 esac
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_compile") 2>&5
17186 ac_status=$?
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; then
17189 for ac_file in conftest.o conftest.obj conftest.*; do
17190 test -f "$ac_file" || continue;
17191 case $ac_file in
17192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17194 break;;
17195 esac
17196 done
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17202 See \`config.log' for more details." >&5
17203 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17204 See \`config.log' for more details." >&2;}
17205 { (exit 1); exit 1; }; }
17206 fi
17207
17208 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17209 fi
17210 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17211 echo "${ECHO_T}$ac_cv_objext" >&6; }
17212 OBJEXT=$ac_cv_objext
17213 ac_objext=$OBJEXT
17214 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17215 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17216 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17218 else
17219 cat >conftest.$ac_ext <<_ACEOF
17220 /* confdefs.h. */
17221 _ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225
17226 int
17227 main ()
17228 {
17229 #ifndef __GNUC__
17230 choke me
17231 #endif
17232
17233 ;
17234 return 0;
17235 }
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 ac_compiler_gnu=yes
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17258
17259 ac_compiler_gnu=no
17260 fi
17261
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17264
17265 fi
17266 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17267 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17268 GCC=`test $ac_compiler_gnu = yes && echo yes`
17269 ac_test_CFLAGS=${CFLAGS+set}
17270 ac_save_CFLAGS=$CFLAGS
17271 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17272 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17273 if test "${ac_cv_prog_cc_g+set}" = set; then
17274 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 else
17276 ac_save_c_werror_flag=$ac_c_werror_flag
17277 ac_c_werror_flag=yes
17278 ac_cv_prog_cc_g=no
17279 CFLAGS="-g"
17280 cat >conftest.$ac_ext <<_ACEOF
17281 /* confdefs.h. */
17282 _ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286
17287 int
17288 main ()
17289 {
17290
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext
17296 if { (ac_try="$ac_compile"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17300 esac
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_compile") 2>conftest.er1
17303 ac_status=$?
17304 grep -v '^ *+' conftest.er1 >conftest.err
17305 rm -f conftest.er1
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest.$ac_objext; then
17312 ac_cv_prog_cc_g=yes
17313 else
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17316
17317 CFLAGS=""
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324
17325 int
17326 main ()
17327 {
17328
17329 ;
17330 return 0;
17331 }
17332 _ACEOF
17333 rm -f conftest.$ac_objext
17334 if { (ac_try="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17338 esac
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17350 :
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 ac_c_werror_flag=$ac_save_c_werror_flag
17356 CFLAGS="-g"
17357 cat >conftest.$ac_ext <<_ACEOF
17358 /* confdefs.h. */
17359 _ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363
17364 int
17365 main ()
17366 {
17367
17368 ;
17369 return 0;
17370 }
17371 _ACEOF
17372 rm -f conftest.$ac_objext
17373 if { (ac_try="$ac_compile"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_compile") 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest.$ac_objext; then
17389 ac_cv_prog_cc_g=yes
17390 else
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17393
17394
17395 fi
17396
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 fi
17399
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 fi
17402
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17404 ac_c_werror_flag=$ac_save_c_werror_flag
17405 fi
17406 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17407 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17408 if test "$ac_test_CFLAGS" = set; then
17409 CFLAGS=$ac_save_CFLAGS
17410 elif test $ac_cv_prog_cc_g = yes; then
17411 if test "$GCC" = yes; then
17412 CFLAGS="-g -O2"
17413 else
17414 CFLAGS="-g"
17415 fi
17416 else
17417 if test "$GCC" = yes; then
17418 CFLAGS="-O2"
17419 else
17420 CFLAGS=
17421 fi
17422 fi
17423 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17424 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_cc_c89+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 ac_cv_prog_cc_c89=no
17429 ac_save_CC=$CC
17430 cat >conftest.$ac_ext <<_ACEOF
17431 /* confdefs.h. */
17432 _ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 #include <stdarg.h>
17437 #include <stdio.h>
17438 #include <sys/types.h>
17439 #include <sys/stat.h>
17440 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17441 struct buf { int x; };
17442 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17443 static char *e (p, i)
17444 char **p;
17445 int i;
17446 {
17447 return p[i];
17448 }
17449 static char *f (char * (*g) (char **, int), char **p, ...)
17450 {
17451 char *s;
17452 va_list v;
17453 va_start (v,p);
17454 s = g (p, va_arg (v,int));
17455 va_end (v);
17456 return s;
17457 }
17458
17459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17460 function prototypes and stuff, but not '\xHH' hex character constants.
17461 These don't provoke an error unfortunately, instead are silently treated
17462 as 'x'. The following induces an error, until -std is added to get
17463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17464 array size at least. It's necessary to write '\x00'==0 to get something
17465 that's true only with -std. */
17466 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17467
17468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17469 inside strings and character constants. */
17470 #define FOO(x) 'x'
17471 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17472
17473 int test (int i, double x);
17474 struct s1 {int (*f) (int a);};
17475 struct s2 {int (*f) (double a);};
17476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17477 int argc;
17478 char **argv;
17479 int
17480 main ()
17481 {
17482 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17489 do
17490 CC="$ac_save_CC $ac_arg"
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17496 esac
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17499 ac_status=$?
17500 grep -v '^ *+' conftest.er1 >conftest.err
17501 rm -f conftest.er1
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 ac_cv_prog_cc_c89=$ac_arg
17509 else
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17512
17513
17514 fi
17515
17516 rm -f core conftest.err conftest.$ac_objext
17517 test "x$ac_cv_prog_cc_c89" != "xno" && break
17518 done
17519 rm -f conftest.$ac_ext
17520 CC=$ac_save_CC
17521
17522 fi
17523 # AC_CACHE_VAL
17524 case "x$ac_cv_prog_cc_c89" in
17525 x)
17526 { echo "$as_me:$LINENO: result: none needed" >&5
17527 echo "${ECHO_T}none needed" >&6; } ;;
17528 xno)
17529 { echo "$as_me:$LINENO: result: unsupported" >&5
17530 echo "${ECHO_T}unsupported" >&6; } ;;
17531 *)
17532 CC="$CC $ac_cv_prog_cc_c89"
17533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17534 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17535 esac
17536
17537
17538 ac_ext=c
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543
17544
17545
17546
17547 ac_ext=c
17548 ac_cpp='$CPP $CPPFLAGS'
17549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17552
17553 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17554 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17555 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 else
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564
17565 int
17566 main ()
17567 {
17568
17569 #ifndef __INTEL_COMPILER
17570 choke me
17571 #endif
17572
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (ac_try="$ac_compile"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17582 esac
17583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_compile") 2>conftest.er1
17585 ac_status=$?
17586 grep -v '^ *+' conftest.er1 >conftest.err
17587 rm -f conftest.er1
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest.$ac_objext; then
17594 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599 bakefile_cv_c_compiler___INTEL_COMPILER=no
17600
17601 fi
17602
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605
17606 fi
17607 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17608 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17609 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17610 :; INTELCC=yes
17611 else
17612 :;
17613 fi
17614 ac_ext=c
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619
17620
17621
17622
17623 if test "x$GCC" != "xyes"; then
17624 if test "xCC" = "xC"; then
17625 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17626 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17627 if test "${bakefile_cv_c_exto+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 else
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636
17637 int
17638 main ()
17639 {
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 rm -f conftest.$ac_objext conftest.$ac_ext.o
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>&5
17648 ac_status=$?
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }; then
17651 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17652 case $ac_file in
17653 conftest.$ac_ext.o)
17654 bakefile_cv_c_exto="-ext o"
17655 ;;
17656 *)
17657 ;;
17658 esac
17659 done
17660 else
17661 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17662 See \`config.log' for more details." >&5
17663 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17664 See \`config.log' for more details." >&2;}
17665 { (exit 1); exit 1; }; }
17666
17667 fi
17668
17669 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17673 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17674 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17675 if test "c" = "c"; then
17676 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17677 fi
17678 if test "c" = "cxx"; then
17679 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17680 fi
17681 fi
17682
17683 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17684 unset ac_cv_prog_cc_g
17685 ac_test_CFLAGS=${CFLAGS+set}
17686 ac_save_CFLAGS=$CFLAGS
17687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17689 if test "${ac_cv_prog_cc_g+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17691 else
17692 ac_save_c_werror_flag=$ac_c_werror_flag
17693 ac_c_werror_flag=yes
17694 ac_cv_prog_cc_g=no
17695 CFLAGS="-g"
17696 cat >conftest.$ac_ext <<_ACEOF
17697 /* confdefs.h. */
17698 _ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702
17703 int
17704 main ()
17705 {
17706
17707 ;
17708 return 0;
17709 }
17710 _ACEOF
17711 rm -f conftest.$ac_objext
17712 if { (ac_try="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17716 esac
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17719 ac_status=$?
17720 grep -v '^ *+' conftest.er1 >conftest.err
17721 rm -f conftest.er1
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_c_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.$ac_objext; then
17728 ac_cv_prog_cc_g=yes
17729 else
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17732
17733 CFLAGS=""
17734 cat >conftest.$ac_ext <<_ACEOF
17735 /* confdefs.h. */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740
17741 int
17742 main ()
17743 {
17744
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 rm -f conftest.$ac_objext
17750 if { (ac_try="$ac_compile"
17751 case "(($ac_try" in
17752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17753 *) ac_try_echo=$ac_try;;
17754 esac
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_compile") 2>conftest.er1
17757 ac_status=$?
17758 grep -v '^ *+' conftest.er1 >conftest.err
17759 rm -f conftest.er1
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } && {
17763 test -z "$ac_c_werror_flag" ||
17764 test ! -s conftest.err
17765 } && test -s conftest.$ac_objext; then
17766 :
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 ac_c_werror_flag=$ac_save_c_werror_flag
17772 CFLAGS="-g"
17773 cat >conftest.$ac_ext <<_ACEOF
17774 /* confdefs.h. */
17775 _ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779
17780 int
17781 main ()
17782 {
17783
17784 ;
17785 return 0;
17786 }
17787 _ACEOF
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17793 esac
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17796 ac_status=$?
17797 grep -v '^ *+' conftest.er1 >conftest.err
17798 rm -f conftest.er1
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.$ac_objext; then
17805 ac_cv_prog_cc_g=yes
17806 else
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.$ac_ext >&5
17809
17810
17811 fi
17812
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 fi
17815
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 fi
17818
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 ac_c_werror_flag=$ac_save_c_werror_flag
17821 fi
17822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17824 if test "$ac_test_CFLAGS" = set; then
17825 CFLAGS=$ac_save_CFLAGS
17826 elif test $ac_cv_prog_cc_g = yes; then
17827 if test "$GCC" = yes; then
17828 CFLAGS="-g -O2"
17829 else
17830 CFLAGS="-g"
17831 fi
17832 else
17833 if test "$GCC" = yes; then
17834 CFLAGS="-O2"
17835 else
17836 CFLAGS=
17837 fi
17838 fi
17839 fi
17840 fi
17841
17842 case `uname -s` in
17843 AIX*)
17844
17845
17846 ac_ext=c
17847 ac_cpp='$CPP $CPPFLAGS'
17848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17851
17852 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17853 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17854 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 else
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863
17864 int
17865 main ()
17866 {
17867
17868 #ifndef __xlC__
17869 choke me
17870 #endif
17871
17872 ;
17873 return 0;
17874 }
17875 _ACEOF
17876 rm -f conftest.$ac_objext
17877 if { (ac_try="$ac_compile"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17881 esac
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_compile") 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } && {
17890 test -z "$ac_c_werror_flag" ||
17891 test ! -s conftest.err
17892 } && test -s conftest.$ac_objext; then
17893 bakefile_cv_c_compiler___xlC__=yes
17894 else
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.$ac_ext >&5
17897
17898 bakefile_cv_c_compiler___xlC__=no
17899
17900 fi
17901
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903
17904
17905 fi
17906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17907 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17908 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17909 :; XLCC=yes
17910 else
17911 :;
17912 fi
17913 ac_ext=c
17914 ac_cpp='$CPP $CPPFLAGS'
17915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17918
17919
17920
17921 ;;
17922
17923 Darwin)
17924
17925
17926 ac_ext=c
17927 ac_cpp='$CPP $CPPFLAGS'
17928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17931
17932 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17933 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17934 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 else
17937 cat >conftest.$ac_ext <<_ACEOF
17938 /* confdefs.h. */
17939 _ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943
17944 int
17945 main ()
17946 {
17947
17948 #ifndef __MWERKS__
17949 choke me
17950 #endif
17951
17952 ;
17953 return 0;
17954 }
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (ac_try="$ac_compile"
17958 case "(($ac_try" in
17959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 *) ac_try_echo=$ac_try;;
17961 esac
17962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_compile") 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } && {
17970 test -z "$ac_c_werror_flag" ||
17971 test ! -s conftest.err
17972 } && test -s conftest.$ac_objext; then
17973 bakefile_cv_c_compiler___MWERKS__=yes
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 bakefile_cv_c_compiler___MWERKS__=no
17979
17980 fi
17981
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983
17984
17985 fi
17986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17987 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17988 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17989 :; MWCC=yes
17990 else
17991 :;
17992 fi
17993 ac_ext=c
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17998
17999
18000
18001
18002
18003 ac_ext=c
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008
18009 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 else
18014 cat >conftest.$ac_ext <<_ACEOF
18015 /* confdefs.h. */
18016 _ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020
18021 int
18022 main ()
18023 {
18024
18025 #ifndef __xlC__
18026 choke me
18027 #endif
18028
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18038 esac
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18041 ac_status=$?
18042 grep -v '^ *+' conftest.er1 >conftest.err
18043 rm -f conftest.er1
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_c_compiler___xlC__=yes
18051 else
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18054
18055 bakefile_cv_c_compiler___xlC__=no
18056
18057 fi
18058
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060
18061
18062 fi
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18066 :; XLCC=yes
18067 else
18068 :;
18069 fi
18070 ac_ext=c
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18075
18076
18077
18078 ;;
18079
18080 IRIX*)
18081
18082
18083 ac_ext=c
18084 ac_cpp='$CPP $CPPFLAGS'
18085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18088
18089 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18090 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18091 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 else
18094 cat >conftest.$ac_ext <<_ACEOF
18095 /* confdefs.h. */
18096 _ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18100
18101 int
18102 main ()
18103 {
18104
18105 #ifndef _SGI_COMPILER_VERSION
18106 choke me
18107 #endif
18108
18109 ;
18110 return 0;
18111 }
18112 _ACEOF
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18118 esac
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18131 else
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18134
18135 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18136
18137 fi
18138
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140
18141
18142 fi
18143 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18144 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18145 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18146 :; SGICC=yes
18147 else
18148 :;
18149 fi
18150 ac_ext=c
18151 ac_cpp='$CPP $CPPFLAGS'
18152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18155
18156
18157
18158 ;;
18159
18160 Linux*)
18161
18162
18163 ac_ext=c
18164 ac_cpp='$CPP $CPPFLAGS'
18165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18168
18169 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18170 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18171 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 else
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h. */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180
18181 int
18182 main ()
18183 {
18184
18185 #ifndef __SUNPRO_C
18186 choke me
18187 #endif
18188
18189 ;
18190 return 0;
18191 }
18192 _ACEOF
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.$ac_objext; then
18210 bakefile_cv_c_compiler___SUNPRO_C=yes
18211 else
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 bakefile_cv_c_compiler___SUNPRO_C=no
18216
18217 fi
18218
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220
18221
18222 fi
18223 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18224 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18225 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18226 :; SUNCC=yes
18227 else
18228 :;
18229 fi
18230 ac_ext=c
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235
18236
18237
18238 ;;
18239
18240 HP-UX*)
18241
18242
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248
18249 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18250 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18251 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260
18261 int
18262 main ()
18263 {
18264
18265 #ifndef __HP_cc
18266 choke me
18267 #endif
18268
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 rm -f conftest.$ac_objext
18274 if { (ac_try="$ac_compile"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18278 esac
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_compile") 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_c_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest.$ac_objext; then
18290 bakefile_cv_c_compiler___HP_cc=yes
18291 else
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.$ac_ext >&5
18294
18295 bakefile_cv_c_compiler___HP_cc=no
18296
18297 fi
18298
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300
18301
18302 fi
18303 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18304 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18305 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18306 :; HPCC=yes
18307 else
18308 :;
18309 fi
18310 ac_ext=c
18311 ac_cpp='$CPP $CPPFLAGS'
18312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18315
18316
18317
18318 ;;
18319
18320 OSF1)
18321
18322
18323 ac_ext=c
18324 ac_cpp='$CPP $CPPFLAGS'
18325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18328
18329 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18330 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18331 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18332 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 else
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340
18341 int
18342 main ()
18343 {
18344
18345 #ifndef __DECC
18346 choke me
18347 #endif
18348
18349 ;
18350 return 0;
18351 }
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (ac_try="$ac_compile"
18355 case "(($ac_try" in
18356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18357 *) ac_try_echo=$ac_try;;
18358 esac
18359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18360 (eval "$ac_compile") 2>conftest.er1
18361 ac_status=$?
18362 grep -v '^ *+' conftest.er1 >conftest.err
18363 rm -f conftest.er1
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && {
18367 test -z "$ac_c_werror_flag" ||
18368 test ! -s conftest.err
18369 } && test -s conftest.$ac_objext; then
18370 bakefile_cv_c_compiler___DECC=yes
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 bakefile_cv_c_compiler___DECC=no
18376
18377 fi
18378
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380
18381
18382 fi
18383 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18384 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18385 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18386 :; COMPAQCC=yes
18387 else
18388 :;
18389 fi
18390 ac_ext=c
18391 ac_cpp='$CPP $CPPFLAGS'
18392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18395
18396
18397
18398 ;;
18399
18400 SunOS)
18401
18402
18403 ac_ext=c
18404 ac_cpp='$CPP $CPPFLAGS'
18405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18408
18409 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18410 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18411 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18412 echo $ECHO_N "(cached) $ECHO_C" >&6
18413 else
18414 cat >conftest.$ac_ext <<_ACEOF
18415 /* confdefs.h. */
18416 _ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420
18421 int
18422 main ()
18423 {
18424
18425 #ifndef __SUNPRO_C
18426 choke me
18427 #endif
18428
18429 ;
18430 return 0;
18431 }
18432 _ACEOF
18433 rm -f conftest.$ac_objext
18434 if { (ac_try="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18438 esac
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18441 ac_status=$?
18442 grep -v '^ *+' conftest.er1 >conftest.err
18443 rm -f conftest.er1
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.$ac_objext; then
18450 bakefile_cv_c_compiler___SUNPRO_C=yes
18451 else
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18454
18455 bakefile_cv_c_compiler___SUNPRO_C=no
18456
18457 fi
18458
18459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460
18461
18462 fi
18463 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18464 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18465 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18466 :; SUNCC=yes
18467 else
18468 :;
18469 fi
18470 ac_ext=c
18471 ac_cpp='$CPP $CPPFLAGS'
18472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18475
18476
18477
18478 ;;
18479 esac
18480 fi
18481
18482
18483
18484 ac_ext=c
18485 ac_cpp='$CPP $CPPFLAGS'
18486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18489 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18490 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18491 # On Suns, sometimes $CPP names a directory.
18492 if test -n "$CPP" && test -d "$CPP"; then
18493 CPP=
18494 fi
18495 if test -z "$CPP"; then
18496 if test "${ac_cv_prog_CPP+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 # Double quotes because CPP needs to be expanded
18500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18501 do
18502 ac_preproc_ok=false
18503 for ac_c_preproc_warn_flag in '' yes
18504 do
18505 # Use a header file that comes with gcc, so configuring glibc
18506 # with a fresh cross-compiler works.
18507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18508 # <limits.h> exists even on freestanding compilers.
18509 # On the NeXT, cc -E runs the code through the compiler's parser,
18510 # not just through cpp. "Syntax error" is here to catch this case.
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 #ifdef __STDC__
18518 # include <limits.h>
18519 #else
18520 # include <assert.h>
18521 #endif
18522 Syntax error
18523 _ACEOF
18524 if { (ac_try="$ac_cpp conftest.$ac_ext"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } >/dev/null && {
18537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18538 test ! -s conftest.err
18539 }; then
18540 :
18541 else
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 # Broken: fails on valid input.
18546 continue
18547 fi
18548
18549 rm -f conftest.err conftest.$ac_ext
18550
18551 # OK, works on sane cases. Now check whether nonexistent headers
18552 # can be detected and how.
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <ac_nonexistent.h>
18560 _ACEOF
18561 if { (ac_try="$ac_cpp conftest.$ac_ext"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } >/dev/null && {
18574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 }; then
18577 # Broken: success on invalid input.
18578 continue
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 # Passes both tests.
18584 ac_preproc_ok=:
18585 break
18586 fi
18587
18588 rm -f conftest.err conftest.$ac_ext
18589
18590 done
18591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18592 rm -f conftest.err conftest.$ac_ext
18593 if $ac_preproc_ok; then
18594 break
18595 fi
18596
18597 done
18598 ac_cv_prog_CPP=$CPP
18599
18600 fi
18601 CPP=$ac_cv_prog_CPP
18602 else
18603 ac_cv_prog_CPP=$CPP
18604 fi
18605 { echo "$as_me:$LINENO: result: $CPP" >&5
18606 echo "${ECHO_T}$CPP" >&6; }
18607 ac_preproc_ok=false
18608 for ac_c_preproc_warn_flag in '' yes
18609 do
18610 # Use a header file that comes with gcc, so configuring glibc
18611 # with a fresh cross-compiler works.
18612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18613 # <limits.h> exists even on freestanding compilers.
18614 # On the NeXT, cc -E runs the code through the compiler's parser,
18615 # not just through cpp. "Syntax error" is here to catch this case.
18616 cat >conftest.$ac_ext <<_ACEOF
18617 /* confdefs.h. */
18618 _ACEOF
18619 cat confdefs.h >>conftest.$ac_ext
18620 cat >>conftest.$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18622 #ifdef __STDC__
18623 # include <limits.h>
18624 #else
18625 # include <assert.h>
18626 #endif
18627 Syntax error
18628 _ACEOF
18629 if { (ac_try="$ac_cpp conftest.$ac_ext"
18630 case "(($ac_try" in
18631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18633 esac
18634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18636 ac_status=$?
18637 grep -v '^ *+' conftest.er1 >conftest.err
18638 rm -f conftest.er1
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } >/dev/null && {
18642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18643 test ! -s conftest.err
18644 }; then
18645 :
18646 else
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.$ac_ext >&5
18649
18650 # Broken: fails on valid input.
18651 continue
18652 fi
18653
18654 rm -f conftest.err conftest.$ac_ext
18655
18656 # OK, works on sane cases. Now check whether nonexistent headers
18657 # can be detected and how.
18658 cat >conftest.$ac_ext <<_ACEOF
18659 /* confdefs.h. */
18660 _ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 #include <ac_nonexistent.h>
18665 _ACEOF
18666 if { (ac_try="$ac_cpp conftest.$ac_ext"
18667 case "(($ac_try" in
18668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18669 *) ac_try_echo=$ac_try;;
18670 esac
18671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18673 ac_status=$?
18674 grep -v '^ *+' conftest.er1 >conftest.err
18675 rm -f conftest.er1
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } >/dev/null && {
18679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18680 test ! -s conftest.err
18681 }; then
18682 # Broken: success on invalid input.
18683 continue
18684 else
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18687
18688 # Passes both tests.
18689 ac_preproc_ok=:
18690 break
18691 fi
18692
18693 rm -f conftest.err conftest.$ac_ext
18694
18695 done
18696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18697 rm -f conftest.err conftest.$ac_ext
18698 if $ac_preproc_ok; then
18699 :
18700 else
18701 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18702 See \`config.log' for more details." >&5
18703 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18704 See \`config.log' for more details." >&2;}
18705 { (exit 1); exit 1; }; }
18706 fi
18707
18708 ac_ext=c
18709 ac_cpp='$CPP $CPPFLAGS'
18710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18713
18714
18715 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18716 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18717 if test "${ac_cv_path_GREP+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18720 # Extract the first word of "grep ggrep" to use in msg output
18721 if test -z "$GREP"; then
18722 set dummy grep ggrep; ac_prog_name=$2
18723 if test "${ac_cv_path_GREP+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18725 else
18726 ac_path_GREP_found=false
18727 # Loop through the user's path and test for each of PROGNAME-LIST
18728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18730 do
18731 IFS=$as_save_IFS
18732 test -z "$as_dir" && as_dir=.
18733 for ac_prog in grep ggrep; do
18734 for ac_exec_ext in '' $ac_executable_extensions; do
18735 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18736 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18737 # Check for GNU ac_path_GREP and select it if it is found.
18738 # Check for GNU $ac_path_GREP
18739 case `"$ac_path_GREP" --version 2>&1` in
18740 *GNU*)
18741 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18742 *)
18743 ac_count=0
18744 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18745 while :
18746 do
18747 cat "conftest.in" "conftest.in" >"conftest.tmp"
18748 mv "conftest.tmp" "conftest.in"
18749 cp "conftest.in" "conftest.nl"
18750 echo 'GREP' >> "conftest.nl"
18751 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18753 ac_count=`expr $ac_count + 1`
18754 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18755 # Best one so far, save it but keep looking for a better one
18756 ac_cv_path_GREP="$ac_path_GREP"
18757 ac_path_GREP_max=$ac_count
18758 fi
18759 # 10*(2^10) chars as input seems more than enough
18760 test $ac_count -gt 10 && break
18761 done
18762 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18763 esac
18764
18765
18766 $ac_path_GREP_found && break 3
18767 done
18768 done
18769
18770 done
18771 IFS=$as_save_IFS
18772
18773
18774 fi
18775
18776 GREP="$ac_cv_path_GREP"
18777 if test -z "$GREP"; then
18778 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18779 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18780 { (exit 1); exit 1; }; }
18781 fi
18782
18783 else
18784 ac_cv_path_GREP=$GREP
18785 fi
18786
18787
18788 fi
18789 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18790 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18791 GREP="$ac_cv_path_GREP"
18792
18793
18794 { echo "$as_me:$LINENO: checking for egrep" >&5
18795 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18796 if test "${ac_cv_path_EGREP+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 else
18799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18800 then ac_cv_path_EGREP="$GREP -E"
18801 else
18802 # Extract the first word of "egrep" to use in msg output
18803 if test -z "$EGREP"; then
18804 set dummy egrep; ac_prog_name=$2
18805 if test "${ac_cv_path_EGREP+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 else
18808 ac_path_EGREP_found=false
18809 # Loop through the user's path and test for each of PROGNAME-LIST
18810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18812 do
18813 IFS=$as_save_IFS
18814 test -z "$as_dir" && as_dir=.
18815 for ac_prog in egrep; do
18816 for ac_exec_ext in '' $ac_executable_extensions; do
18817 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18818 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18819 # Check for GNU ac_path_EGREP and select it if it is found.
18820 # Check for GNU $ac_path_EGREP
18821 case `"$ac_path_EGREP" --version 2>&1` in
18822 *GNU*)
18823 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18824 *)
18825 ac_count=0
18826 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18827 while :
18828 do
18829 cat "conftest.in" "conftest.in" >"conftest.tmp"
18830 mv "conftest.tmp" "conftest.in"
18831 cp "conftest.in" "conftest.nl"
18832 echo 'EGREP' >> "conftest.nl"
18833 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18835 ac_count=`expr $ac_count + 1`
18836 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18837 # Best one so far, save it but keep looking for a better one
18838 ac_cv_path_EGREP="$ac_path_EGREP"
18839 ac_path_EGREP_max=$ac_count
18840 fi
18841 # 10*(2^10) chars as input seems more than enough
18842 test $ac_count -gt 10 && break
18843 done
18844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18845 esac
18846
18847
18848 $ac_path_EGREP_found && break 3
18849 done
18850 done
18851
18852 done
18853 IFS=$as_save_IFS
18854
18855
18856 fi
18857
18858 EGREP="$ac_cv_path_EGREP"
18859 if test -z "$EGREP"; then
18860 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18861 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18862 { (exit 1); exit 1; }; }
18863 fi
18864
18865 else
18866 ac_cv_path_EGREP=$EGREP
18867 fi
18868
18869
18870 fi
18871 fi
18872 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18873 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18874 EGREP="$ac_cv_path_EGREP"
18875
18876
18877 if test $ac_cv_c_compiler_gnu = yes; then
18878 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18879 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18880 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18881 echo $ECHO_N "(cached) $ECHO_C" >&6
18882 else
18883 ac_pattern="Autoconf.*'x'"
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h. */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sgtty.h>
18891 Autoconf TIOCGETP
18892 _ACEOF
18893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18894 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18895 ac_cv_prog_gcc_traditional=yes
18896 else
18897 ac_cv_prog_gcc_traditional=no
18898 fi
18899 rm -f conftest*
18900
18901
18902 if test $ac_cv_prog_gcc_traditional = no; then
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #include <termio.h>
18910 Autoconf TCGETA
18911 _ACEOF
18912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18913 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18914 ac_cv_prog_gcc_traditional=yes
18915 fi
18916 rm -f conftest*
18917
18918 fi
18919 fi
18920 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18921 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18922 if test $ac_cv_prog_gcc_traditional = yes; then
18923 CC="$CC -traditional"
18924 fi
18925 fi
18926
18927
18928 CXXFLAGS=${CXXFLAGS:=}
18929
18930
18931
18932 ac_ext=cpp
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937 if test -z "$CXX"; then
18938 if test -n "$CCC"; then
18939 CXX=$CCC
18940 else
18941 if test -n "$ac_tool_prefix"; then
18942 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18943 do
18944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18948 if test "${ac_cv_prog_CXX+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18950 else
18951 if test -n "$CXX"; then
18952 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18953 else
18954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18955 for as_dir in $PATH
18956 do
18957 IFS=$as_save_IFS
18958 test -z "$as_dir" && as_dir=.
18959 for ac_exec_ext in '' $ac_executable_extensions; do
18960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18961 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18963 break 2
18964 fi
18965 done
18966 done
18967 IFS=$as_save_IFS
18968
18969 fi
18970 fi
18971 CXX=$ac_cv_prog_CXX
18972 if test -n "$CXX"; then
18973 { echo "$as_me:$LINENO: result: $CXX" >&5
18974 echo "${ECHO_T}$CXX" >&6; }
18975 else
18976 { echo "$as_me:$LINENO: result: no" >&5
18977 echo "${ECHO_T}no" >&6; }
18978 fi
18979
18980
18981 test -n "$CXX" && break
18982 done
18983 fi
18984 if test -z "$CXX"; then
18985 ac_ct_CXX=$CXX
18986 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18987 do
18988 # Extract the first word of "$ac_prog", so it can be a program name with args.
18989 set dummy $ac_prog; ac_word=$2
18990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18992 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995 if test -n "$ac_ct_CXX"; then
18996 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18997 else
18998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18999 for as_dir in $PATH
19000 do
19001 IFS=$as_save_IFS
19002 test -z "$as_dir" && as_dir=.
19003 for ac_exec_ext in '' $ac_executable_extensions; do
19004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19005 ac_cv_prog_ac_ct_CXX="$ac_prog"
19006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19007 break 2
19008 fi
19009 done
19010 done
19011 IFS=$as_save_IFS
19012
19013 fi
19014 fi
19015 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19016 if test -n "$ac_ct_CXX"; then
19017 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19018 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19019 else
19020 { echo "$as_me:$LINENO: result: no" >&5
19021 echo "${ECHO_T}no" >&6; }
19022 fi
19023
19024
19025 test -n "$ac_ct_CXX" && break
19026 done
19027
19028 if test "x$ac_ct_CXX" = x; then
19029 CXX="g++"
19030 else
19031 case $cross_compiling:$ac_tool_warned in
19032 yes:)
19033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19034 whose name does not start with the host triplet. If you think this
19035 configuration is useful to you, please write to autoconf@gnu.org." >&5
19036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19037 whose name does not start with the host triplet. If you think this
19038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19039 ac_tool_warned=yes ;;
19040 esac
19041 CXX=$ac_ct_CXX
19042 fi
19043 fi
19044
19045 fi
19046 fi
19047 # Provide some information about the compiler.
19048 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19049 ac_compiler=`set X $ac_compile; echo $2`
19050 { (ac_try="$ac_compiler --version >&5"
19051 case "(($ac_try" in
19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19054 esac
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_compiler --version >&5") 2>&5
19057 ac_status=$?
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }
19060 { (ac_try="$ac_compiler -v >&5"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19064 esac
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_compiler -v >&5") 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }
19070 { (ac_try="$ac_compiler -V >&5"
19071 case "(($ac_try" in
19072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19073 *) ac_try_echo=$ac_try;;
19074 esac
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_compiler -V >&5") 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }
19080
19081 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19082 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19083 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19085 else
19086 cat >conftest.$ac_ext <<_ACEOF
19087 /* confdefs.h. */
19088 _ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092
19093 int
19094 main ()
19095 {
19096 #ifndef __GNUC__
19097 choke me
19098 #endif
19099
19100 ;
19101 return 0;
19102 }
19103 _ACEOF
19104 rm -f conftest.$ac_objext
19105 if { (ac_try="$ac_compile"
19106 case "(($ac_try" in
19107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19108 *) ac_try_echo=$ac_try;;
19109 esac
19110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19111 (eval "$ac_compile") 2>conftest.er1
19112 ac_status=$?
19113 grep -v '^ *+' conftest.er1 >conftest.err
19114 rm -f conftest.er1
19115 cat conftest.err >&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } && {
19118 test -z "$ac_cxx_werror_flag" ||
19119 test ! -s conftest.err
19120 } && test -s conftest.$ac_objext; then
19121 ac_compiler_gnu=yes
19122 else
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19125
19126 ac_compiler_gnu=no
19127 fi
19128
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19131
19132 fi
19133 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19134 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19135 GXX=`test $ac_compiler_gnu = yes && echo yes`
19136 ac_test_CXXFLAGS=${CXXFLAGS+set}
19137 ac_save_CXXFLAGS=$CXXFLAGS
19138 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19139 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19140 if test "${ac_cv_prog_cxx_g+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 else
19143 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19144 ac_cxx_werror_flag=yes
19145 ac_cv_prog_cxx_g=no
19146 CXXFLAGS="-g"
19147 cat >conftest.$ac_ext <<_ACEOF
19148 /* confdefs.h. */
19149 _ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153
19154 int
19155 main ()
19156 {
19157
19158 ;
19159 return 0;
19160 }
19161 _ACEOF
19162 rm -f conftest.$ac_objext
19163 if { (ac_try="$ac_compile"
19164 case "(($ac_try" in
19165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19166 *) ac_try_echo=$ac_try;;
19167 esac
19168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19169 (eval "$ac_compile") 2>conftest.er1
19170 ac_status=$?
19171 grep -v '^ *+' conftest.er1 >conftest.err
19172 rm -f conftest.er1
19173 cat conftest.err >&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } && {
19176 test -z "$ac_cxx_werror_flag" ||
19177 test ! -s conftest.err
19178 } && test -s conftest.$ac_objext; then
19179 ac_cv_prog_cxx_g=yes
19180 else
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19183
19184 CXXFLAGS=""
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191
19192 int
19193 main ()
19194 {
19195
19196 ;
19197 return 0;
19198 }
19199 _ACEOF
19200 rm -f conftest.$ac_objext
19201 if { (ac_try="$ac_compile"
19202 case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19204 *) ac_try_echo=$ac_try;;
19205 esac
19206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_compile") 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } && {
19214 test -z "$ac_cxx_werror_flag" ||
19215 test ! -s conftest.err
19216 } && test -s conftest.$ac_objext; then
19217 :
19218 else
19219 echo "$as_me: failed program was:" >&5
19220 sed 's/^/| /' conftest.$ac_ext >&5
19221
19222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19223 CXXFLAGS="-g"
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230
19231 int
19232 main ()
19233 {
19234
19235 ;
19236 return 0;
19237 }
19238 _ACEOF
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19244 esac
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_cxx_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_prog_cxx_g=yes
19257 else
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261
19262 fi
19263
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 fi
19266
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 fi
19269
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19272 fi
19273 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19274 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19275 if test "$ac_test_CXXFLAGS" = set; then
19276 CXXFLAGS=$ac_save_CXXFLAGS
19277 elif test $ac_cv_prog_cxx_g = yes; then
19278 if test "$GXX" = yes; then
19279 CXXFLAGS="-g -O2"
19280 else
19281 CXXFLAGS="-g"
19282 fi
19283 else
19284 if test "$GXX" = yes; then
19285 CXXFLAGS="-O2"
19286 else
19287 CXXFLAGS=
19288 fi
19289 fi
19290 ac_ext=c
19291 ac_cpp='$CPP $CPPFLAGS'
19292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19295
19296
19297
19298
19299 ac_ext=cpp
19300 ac_cpp='$CXXCPP $CPPFLAGS'
19301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19304
19305 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19306 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19307 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316
19317 int
19318 main ()
19319 {
19320
19321 #ifndef __INTEL_COMPILER
19322 choke me
19323 #endif
19324
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 rm -f conftest.$ac_objext
19330 if { (ac_try="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19334 esac
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_cxx_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.$ac_objext; then
19346 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19352
19353 fi
19354
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356
19357
19358 fi
19359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19361 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19362 :; INTELCXX=yes
19363 else
19364 :;
19365 fi
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19371
19372
19373
19374
19375 if test "x$GCXX" != "xyes"; then
19376 if test "xCXX" = "xC"; then
19377 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19378 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19379 if test "${bakefile_cv_c_exto+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388
19389 int
19390 main ()
19391 {
19392
19393 ;
19394 return 0;
19395 }
19396 _ACEOF
19397 rm -f conftest.$ac_objext conftest.$ac_ext.o
19398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19399 (eval $ac_compile) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; then
19403 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19404 case $ac_file in
19405 conftest.$ac_ext.o)
19406 bakefile_cv_c_exto="-ext o"
19407 ;;
19408 *)
19409 ;;
19410 esac
19411 done
19412 else
19413 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19414 See \`config.log' for more details." >&5
19415 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19416 See \`config.log' for more details." >&2;}
19417 { (exit 1); exit 1; }; }
19418
19419 fi
19420
19421 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19422
19423 fi
19424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19425 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19426 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19427 if test "c" = "c"; then
19428 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19429 fi
19430 if test "c" = "cxx"; then
19431 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19432 fi
19433 fi
19434
19435 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19436 unset ac_cv_prog_cc_g
19437 ac_test_CFLAGS=${CFLAGS+set}
19438 ac_save_CFLAGS=$CFLAGS
19439 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19440 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19441 if test "${ac_cv_prog_cc_g+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444 ac_save_c_werror_flag=$ac_c_werror_flag
19445 ac_c_werror_flag=yes
19446 ac_cv_prog_cc_g=no
19447 CFLAGS="-g"
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454
19455 int
19456 main ()
19457 {
19458
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19468 esac
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19471 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.$ac_objext; then
19480 ac_cv_prog_cc_g=yes
19481 else
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19484
19485 CFLAGS=""
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492
19493 int
19494 main ()
19495 {
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19518 :
19519 else
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.$ac_ext >&5
19522
19523 ac_c_werror_flag=$ac_save_c_werror_flag
19524 CFLAGS="-g"
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531
19532 int
19533 main ()
19534 {
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19545 esac
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19548 ac_status=$?
19549 grep -v '^ *+' conftest.er1 >conftest.err
19550 rm -f conftest.er1
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_cv_prog_cc_g=yes
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562
19563 fi
19564
19565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 fi
19567
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 fi
19570
19571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19572 ac_c_werror_flag=$ac_save_c_werror_flag
19573 fi
19574 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19575 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19576 if test "$ac_test_CFLAGS" = set; then
19577 CFLAGS=$ac_save_CFLAGS
19578 elif test $ac_cv_prog_cc_g = yes; then
19579 if test "$GCC" = yes; then
19580 CFLAGS="-g -O2"
19581 else
19582 CFLAGS="-g"
19583 fi
19584 else
19585 if test "$GCC" = yes; then
19586 CFLAGS="-O2"
19587 else
19588 CFLAGS=
19589 fi
19590 fi
19591 fi
19592 fi
19593
19594 case `uname -s` in
19595 AIX*)
19596
19597
19598 ac_ext=cpp
19599 ac_cpp='$CXXCPP $CPPFLAGS'
19600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19603
19604 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19605 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19606 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19607 echo $ECHO_N "(cached) $ECHO_C" >&6
19608 else
19609 cat >conftest.$ac_ext <<_ACEOF
19610 /* confdefs.h. */
19611 _ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615
19616 int
19617 main ()
19618 {
19619
19620 #ifndef __xlC__
19621 choke me
19622 #endif
19623
19624 ;
19625 return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest.$ac_objext
19629 if { (ac_try="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19633 esac
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_cxx_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.$ac_objext; then
19645 bakefile_cv_cxx_compiler___xlC__=yes
19646 else
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 bakefile_cv_cxx_compiler___xlC__=no
19651
19652 fi
19653
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655
19656
19657 fi
19658 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19659 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19660 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19661 :; XLCXX=yes
19662 else
19663 :;
19664 fi
19665 ac_ext=c
19666 ac_cpp='$CPP $CPPFLAGS'
19667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19670
19671
19672
19673 ;;
19674
19675 Darwin)
19676
19677
19678 ac_ext=cpp
19679 ac_cpp='$CXXCPP $CPPFLAGS'
19680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19683
19684 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19685 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19686 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 else
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695
19696 int
19697 main ()
19698 {
19699
19700 #ifndef __MWERKS__
19701 choke me
19702 #endif
19703
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 rm -f conftest.$ac_objext
19709 if { (ac_try="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19713 esac
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_cxx_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19725 bakefile_cv_cxx_compiler___MWERKS__=yes
19726 else
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19729
19730 bakefile_cv_cxx_compiler___MWERKS__=no
19731
19732 fi
19733
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19735
19736
19737 fi
19738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19740 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19741 :; MWCXX=yes
19742 else
19743 :;
19744 fi
19745 ac_ext=c
19746 ac_cpp='$CPP $CPPFLAGS'
19747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19750
19751
19752
19753
19754
19755 ac_ext=cpp
19756 ac_cpp='$CXXCPP $CPPFLAGS'
19757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19760
19761 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 else
19766 cat >conftest.$ac_ext <<_ACEOF
19767 /* confdefs.h. */
19768 _ACEOF
19769 cat confdefs.h >>conftest.$ac_ext
19770 cat >>conftest.$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19772
19773 int
19774 main ()
19775 {
19776
19777 #ifndef __xlC__
19778 choke me
19779 #endif
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 bakefile_cv_cxx_compiler___xlC__=yes
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 bakefile_cv_cxx_compiler___xlC__=no
19808
19809 fi
19810
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812
19813
19814 fi
19815 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19818 :; XLCXX=yes
19819 else
19820 :;
19821 fi
19822 ac_ext=c
19823 ac_cpp='$CPP $CPPFLAGS'
19824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19827
19828
19829
19830 ;;
19831
19832 IRIX*)
19833
19834
19835 ac_ext=cpp
19836 ac_cpp='$CXXCPP $CPPFLAGS'
19837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19840
19841 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19842 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19843 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 else
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852
19853 int
19854 main ()
19855 {
19856
19857 #ifndef _SGI_COMPILER_VERSION
19858 choke me
19859 #endif
19860
19861 ;
19862 return 0;
19863 }
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (ac_try="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19870 esac
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_cxx_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19883 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19886
19887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19888
19889 fi
19890
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892
19893
19894 fi
19895 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19896 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19897 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19898 :; SGICXX=yes
19899 else
19900 :;
19901 fi
19902 ac_ext=c
19903 ac_cpp='$CPP $CPPFLAGS'
19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19907
19908
19909
19910 ;;
19911
19912 Linux*)
19913
19914
19915 ac_ext=cpp
19916 ac_cpp='$CXXCPP $CPPFLAGS'
19917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19920
19921 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19922 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19923 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 else
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932
19933 int
19934 main ()
19935 {
19936
19937 #ifndef __SUNPRO_CC
19938 choke me
19939 #endif
19940
19941 ;
19942 return 0;
19943 }
19944 _ACEOF
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19950 esac
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19953 ac_status=$?
19954 grep -v '^ *+' conftest.er1 >conftest.err
19955 rm -f conftest.er1
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && {
19959 test -z "$ac_cxx_werror_flag" ||
19960 test ! -s conftest.err
19961 } && test -s conftest.$ac_objext; then
19962 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19963 else
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19966
19967 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19968
19969 fi
19970
19971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972
19973
19974 fi
19975 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19976 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19977 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19978 :; SUNCXX=yes
19979 else
19980 :;
19981 fi
19982 ac_ext=c
19983 ac_cpp='$CPP $CPPFLAGS'
19984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19987
19988
19989
19990 ;;
19991
19992 HP-UX*)
19993
19994
19995 ac_ext=cpp
19996 ac_cpp='$CXXCPP $CPPFLAGS'
19997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20000
20001 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20002 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20003 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20005 else
20006 cat >conftest.$ac_ext <<_ACEOF
20007 /* confdefs.h. */
20008 _ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012
20013 int
20014 main ()
20015 {
20016
20017 #ifndef __HP_aCC
20018 choke me
20019 #endif
20020
20021 ;
20022 return 0;
20023 }
20024 _ACEOF
20025 rm -f conftest.$ac_objext
20026 if { (ac_try="$ac_compile"
20027 case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20030 esac
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_compile") 2>conftest.er1
20033 ac_status=$?
20034 grep -v '^ *+' conftest.er1 >conftest.err
20035 rm -f conftest.er1
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } && {
20039 test -z "$ac_cxx_werror_flag" ||
20040 test ! -s conftest.err
20041 } && test -s conftest.$ac_objext; then
20042 bakefile_cv_cxx_compiler___HP_aCC=yes
20043 else
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 bakefile_cv_cxx_compiler___HP_aCC=no
20048
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052
20053
20054 fi
20055 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20057 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20058 :; HPCXX=yes
20059 else
20060 :;
20061 fi
20062 ac_ext=c
20063 ac_cpp='$CPP $CPPFLAGS'
20064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20067
20068
20069
20070 ;;
20071
20072 OSF1)
20073
20074
20075 ac_ext=cpp
20076 ac_cpp='$CXXCPP $CPPFLAGS'
20077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20080
20081 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20082 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20083 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092
20093 int
20094 main ()
20095 {
20096
20097 #ifndef __DECCXX
20098 choke me
20099 #endif
20100
20101 ;
20102 return 0;
20103 }
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_cxx_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.$ac_objext; then
20122 bakefile_cv_cxx_compiler___DECCXX=yes
20123 else
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20126
20127 bakefile_cv_cxx_compiler___DECCXX=no
20128
20129 fi
20130
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132
20133
20134 fi
20135 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20136 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20137 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20138 :; COMPAQCXX=yes
20139 else
20140 :;
20141 fi
20142 ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147
20148
20149
20150 ;;
20151
20152 SunOS)
20153
20154
20155 ac_ext=cpp
20156 ac_cpp='$CXXCPP $CPPFLAGS'
20157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20160
20161 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20162 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20163 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20165 else
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172
20173 int
20174 main ()
20175 {
20176
20177 #ifndef __SUNPRO_CC
20178 choke me
20179 #endif
20180
20181 ;
20182 return 0;
20183 }
20184 _ACEOF
20185 rm -f conftest.$ac_objext
20186 if { (ac_try="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20190 esac
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20193 ac_status=$?
20194 grep -v '^ *+' conftest.er1 >conftest.err
20195 rm -f conftest.er1
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_cxx_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20203 else
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20206
20207 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20208
20209 fi
20210
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212
20213
20214 fi
20215 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20216 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20217 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20218 :; SUNCXX=yes
20219 else
20220 :;
20221 fi
20222 ac_ext=c
20223 ac_cpp='$CPP $CPPFLAGS'
20224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20227
20228
20229
20230 ;;
20231 esac
20232 fi
20233
20234
20235
20236 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20237 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20238 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20239 { (exit 1); exit 1; }; }
20240 fi
20241
20242 if test "x$SUNCXX" != xyes; then
20243 if test -n "$ac_tool_prefix"; then
20244 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20245 set dummy ${ac_tool_prefix}ar; ac_word=$2
20246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20248 if test "${ac_cv_prog_AR+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 else
20251 if test -n "$AR"; then
20252 ac_cv_prog_AR="$AR" # Let the user override the test.
20253 else
20254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20255 for as_dir in $PATH
20256 do
20257 IFS=$as_save_IFS
20258 test -z "$as_dir" && as_dir=.
20259 for ac_exec_ext in '' $ac_executable_extensions; do
20260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20261 ac_cv_prog_AR="${ac_tool_prefix}ar"
20262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20263 break 2
20264 fi
20265 done
20266 done
20267 IFS=$as_save_IFS
20268
20269 fi
20270 fi
20271 AR=$ac_cv_prog_AR
20272 if test -n "$AR"; then
20273 { echo "$as_me:$LINENO: result: $AR" >&5
20274 echo "${ECHO_T}$AR" >&6; }
20275 else
20276 { echo "$as_me:$LINENO: result: no" >&5
20277 echo "${ECHO_T}no" >&6; }
20278 fi
20279
20280
20281 fi
20282 if test -z "$ac_cv_prog_AR"; then
20283 ac_ct_AR=$AR
20284 # Extract the first word of "ar", so it can be a program name with args.
20285 set dummy ar; ac_word=$2
20286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20288 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 else
20291 if test -n "$ac_ct_AR"; then
20292 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20293 else
20294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20295 for as_dir in $PATH
20296 do
20297 IFS=$as_save_IFS
20298 test -z "$as_dir" && as_dir=.
20299 for ac_exec_ext in '' $ac_executable_extensions; do
20300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20301 ac_cv_prog_ac_ct_AR="ar"
20302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20303 break 2
20304 fi
20305 done
20306 done
20307 IFS=$as_save_IFS
20308
20309 fi
20310 fi
20311 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20312 if test -n "$ac_ct_AR"; then
20313 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20314 echo "${ECHO_T}$ac_ct_AR" >&6; }
20315 else
20316 { echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6; }
20318 fi
20319
20320 if test "x$ac_ct_AR" = x; then
20321 AR=""
20322 else
20323 case $cross_compiling:$ac_tool_warned in
20324 yes:)
20325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20326 whose name does not start with the host triplet. If you think this
20327 configuration is useful to you, please write to autoconf@gnu.org." >&5
20328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20329 whose name does not start with the host triplet. If you think this
20330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20331 ac_tool_warned=yes ;;
20332 esac
20333 AR=$ac_ct_AR
20334 fi
20335 else
20336 AR="$ac_cv_prog_AR"
20337 fi
20338
20339 if test "x$AR" = "x" ; then
20340 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20341 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20342 { (exit 1); exit 1; }; }
20343 fi
20344 fi
20345
20346 retest_macosx_linking=no
20347
20348 #if test "$wxUSE_MAC" = 1; then
20349 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20350 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20351 # Implicitly turn on the new --with-macosx-sdk using the default
20352 # SDK which provides the behavior this option has always had.
20353 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20354 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20355 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20356 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20357 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20358 wxUSE_MACOSX_SDK=yes
20359 fi
20360 else
20361 # Complain to user if he specified an argument to --enable-universal_binary
20362 # and also 1) specified --with-macosx-sdk using the default (yes) or
20363 # 2) specified --with-macosx-sdk using a path or 3) specified
20364 # --without-macosx-sdk (no).
20365 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20366 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20367 See \`config.log' for more details." >&5
20368 echo "$as_me: 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." >&2;}
20370 { (exit 1); exit 1; }; }
20371 else
20372 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20373 # special-case the empty string because the below test simply
20374 # converts "no" to the empty string anyway.
20375 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20376 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20377 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20378 fi
20379 fi
20380 OSX_UNIV_OPTS="-arch ppc -arch i386"
20381 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20382 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20383 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20384 retest_macosx_linking=yes
20385
20386 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20387 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20388 bk_use_pch=no
20389 fi
20390 #fi
20391
20392 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20393 wxUSE_MACOSX_SDK=
20394 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20395 # TODO: Search for most recent SDK and use it.
20396 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20397 fi
20398
20399
20400 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20401 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20402 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20403 if ! test -d "$wxUSE_MACOSX_SDK"; then
20404 { { echo "$as_me:$LINENO: error: not found
20405 See \`config.log' for more details." >&5
20406 echo "$as_me: error: not found
20407 See \`config.log' for more details." >&2;}
20408 { (exit 1); exit 1; }; }
20409 else
20410 { echo "$as_me:$LINENO: result: exists" >&5
20411 echo "${ECHO_T}exists" >&6; }
20412 fi
20413 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20414 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20415 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20416 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20417 retest_macosx_linking=yes
20418 fi
20419
20420 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20421 wxUSE_MACOSX_VERSION_MIN=
20422 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20423 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20424 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20425 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20426
20427 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/'`
20428
20429 # If that failed, try again with the new key
20430 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20431
20432 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/'`
20433
20434 fi
20435
20436 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20437 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20438 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20439 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20440 else
20441 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20442 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20443 wxUSE_MACOSX_VERSION_MIN=
20444 fi
20445 else
20446 wxUSE_MACOSX_VERSION_MIN=
20447 fi
20448 fi
20449
20450 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20451 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20452 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20453 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20454 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20455 retest_macosx_linking=yes
20456 fi
20457
20458 if test "x$retest_macosx_linking" = "xyes"; then
20459 ac_ext=c
20460 ac_cpp='$CPP $CPPFLAGS'
20461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20464
20465 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20466 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20467 cat >conftest.$ac_ext <<_ACEOF
20468 /* confdefs.h. */
20469 _ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473
20474 int
20475 main ()
20476 {
20477
20478 ;
20479 return 0;
20480 }
20481 _ACEOF
20482 rm -f conftest.$ac_objext conftest$ac_exeext
20483 if { (ac_try="$ac_link"
20484 case "(($ac_try" in
20485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20487 esac
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_link") 2>conftest.er1
20490 ac_status=$?
20491 grep -v '^ *+' conftest.er1 >conftest.err
20492 rm -f conftest.er1
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && {
20496 test -z "$ac_c_werror_flag" ||
20497 test ! -s conftest.err
20498 } && test -s conftest$ac_exeext &&
20499 $as_test_x conftest$ac_exeext; then
20500 { echo "$as_me:$LINENO: result: yes" >&5
20501 echo "${ECHO_T}yes" >&6; }
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20505
20506 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20507 See \`config.log' for more details." >&5
20508 echo "$as_me: error: no. Try a different SDK
20509 See \`config.log' for more details." >&2;}
20510 { (exit 1); exit 1; }; }; exit 1
20511 fi
20512
20513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20514 conftest$ac_exeext conftest.$ac_ext
20515 ac_ext=c
20516 ac_cpp='$CPP $CPPFLAGS'
20517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20520
20521
20522 ac_ext=cpp
20523 ac_cpp='$CXXCPP $CPPFLAGS'
20524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20527
20528 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20529 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20530 cat >conftest.$ac_ext <<_ACEOF
20531 /* confdefs.h. */
20532 _ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536
20537 int
20538 main ()
20539 {
20540
20541 ;
20542 return 0;
20543 }
20544 _ACEOF
20545 rm -f conftest.$ac_objext conftest$ac_exeext
20546 if { (ac_try="$ac_link"
20547 case "(($ac_try" in
20548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20549 *) ac_try_echo=$ac_try;;
20550 esac
20551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20552 (eval "$ac_link") 2>conftest.er1
20553 ac_status=$?
20554 grep -v '^ *+' conftest.er1 >conftest.err
20555 rm -f conftest.er1
20556 cat conftest.err >&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); } && {
20559 test -z "$ac_cxx_werror_flag" ||
20560 test ! -s conftest.err
20561 } && test -s conftest$ac_exeext &&
20562 $as_test_x conftest$ac_exeext; then
20563 { echo "$as_me:$LINENO: result: yes" >&5
20564 echo "${ECHO_T}yes" >&6; }
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20570 See \`config.log' for more details." >&5
20571 echo "$as_me: error: no. Try a different SDK
20572 See \`config.log' for more details." >&2;}
20573 { (exit 1); exit 1; }; }; exit 1
20574 fi
20575
20576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20577 conftest$ac_exeext conftest.$ac_ext
20578 ac_ext=c
20579 ac_cpp='$CPP $CPPFLAGS'
20580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20583
20584 fi
20585
20586
20587 case "${host}" in
20588
20589 *-*-darwin* )
20590 INSTALL_PROGRAM="cp -fp"
20591 INSTALL_DATA="cp -fp"
20592 ;;
20593 *)
20594 ;;
20595 esac
20596
20597
20598 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20599 CXXFLAGS="-qunique $CXXFLAGS"
20600 fi
20601
20602 case "${host}" in
20603 powerpc-*-darwin* )
20604 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20605 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20606 cat >conftest.$ac_ext <<_ACEOF
20607 /* confdefs.h. */
20608 _ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612
20613 int
20614 main ()
20615 {
20616 #ifndef __POWERPC__
20617 choke me for lack of PowerPC
20618 #endif
20619
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20632 ac_status=$?
20633 grep -v '^ *+' conftest.er1 >conftest.err
20634 rm -f conftest.er1
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.$ac_objext; then
20641 { echo "$as_me:$LINENO: result: yes" >&5
20642 echo "${ECHO_T}yes" >&6; }
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 { echo "$as_me:$LINENO: result: no" >&5
20648 echo "${ECHO_T}no" >&6; }
20649 cat >>confdefs.h <<\_ACEOF
20650 #define __POWERPC__ 1
20651 _ACEOF
20652
20653
20654 fi
20655
20656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657 ;;
20658 esac
20659
20660 case "${host}" in
20661 *-*-darwin* )
20662 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20663 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20664 cat >conftest.$ac_ext <<_ACEOF
20665 /* confdefs.h. */
20666 _ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <CoreFoundation/CFBase.h>
20671
20672 int
20673 main ()
20674 {
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 { echo "$as_me:$LINENO: result: yes" >&5
20698 echo "${ECHO_T}yes" >&6; }
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703 { echo "$as_me:$LINENO: result: no" >&5
20704 echo "${ECHO_T}no" >&6; }
20705 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20706 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20707 cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h. */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 #define __CF_USE_FRAMEWORK_INCLUDES__
20714 #include <CoreFoundation/CFBase.h>
20715
20716 int
20717 main ()
20718 {
20719
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20729 esac
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 { echo "$as_me:$LINENO: result: yes" >&5
20742 echo "${ECHO_T}yes" >&6; }
20743 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20744 else
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20747
20748 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20749 See \`config.log' for more details." >&5
20750 echo "$as_me: error: no. CoreFoundation not available.
20751 See \`config.log' for more details." >&2;}
20752 { (exit 1); exit 1; }; }
20753
20754 fi
20755
20756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757
20758
20759 fi
20760
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20762 ;;
20763 esac
20764
20765 wants_win32=0
20766 doesnt_want_win32=0
20767 case "${host}" in
20768 *-*-cygwin*)
20769 if test "$wxUSE_MSW" = 1 ; then
20770 wants_win32=1
20771 else
20772 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20773 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20774 if test "${wx_cv_nocygwin+set}" = set; then
20775 echo $ECHO_N "(cached) $ECHO_C" >&6
20776 else
20777
20778 cat >conftest.$ac_ext <<_ACEOF
20779 /* confdefs.h. */
20780 _ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784
20785 int
20786 main ()
20787 {
20788
20789 #ifdef __MINGW32__
20790 choke me
20791 #endif
20792
20793 ;
20794 return 0;
20795 }
20796 _ACEOF
20797 rm -f conftest.$ac_objext
20798 if { (ac_try="$ac_compile"
20799 case "(($ac_try" in
20800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20802 esac
20803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_compile") 2>conftest.er1
20805 ac_status=$?
20806 grep -v '^ *+' conftest.er1 >conftest.err
20807 rm -f conftest.er1
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } && {
20811 test -z "$ac_c_werror_flag" ||
20812 test ! -s conftest.err
20813 } && test -s conftest.$ac_objext; then
20814 wx_cv_nocygwin=no
20815 else
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20818
20819 wx_cv_nocygwin=yes
20820
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824
20825
20826 fi
20827 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20828 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20829
20830 if test "$wx_cv_nocygwin" = "yes"; then
20831 wants_win32=1
20832 else
20833 doesnt_want_win32=1
20834 fi
20835 fi
20836 if test "$wants_win32" = 1 ; then
20837 BAKEFILE_FORCE_PLATFORM=win32
20838 fi
20839 ;;
20840 *-*-mingw*)
20841 wants_win32=1
20842 ;;
20843 esac
20844
20845 if test "$wxUSE_WINE" = "yes"; then
20846 wants_win32=1
20847 LDFLAGS_GUI="-mwindows"
20848 fi
20849
20850 if test "$wants_win32" = 1 ; then
20851 USE_UNIX=0
20852 USE_WIN32=1
20853 cat >>confdefs.h <<\_ACEOF
20854 #define __WIN32__ 1
20855 _ACEOF
20856
20857 cat >>confdefs.h <<\_ACEOF
20858 #define __WIN95__ 1
20859 _ACEOF
20860
20861 cat >>confdefs.h <<\_ACEOF
20862 #define __WINDOWS__ 1
20863 _ACEOF
20864
20865 cat >>confdefs.h <<\_ACEOF
20866 #define __GNUWIN32__ 1
20867 _ACEOF
20868
20869 cat >>confdefs.h <<\_ACEOF
20870 #define STRICT 1
20871 _ACEOF
20872
20873 fi
20874 if test "$doesnt_want_win32" = 1 ; then
20875 USE_UNIX=1
20876 USE_WIN32=0
20877 fi
20878
20879 if test "$USE_UNIX" = 1 ; then
20880 wxUSE_UNIX=yes
20881 cat >>confdefs.h <<\_ACEOF
20882 #define __UNIX__ 1
20883 _ACEOF
20884
20885 fi
20886
20887 case "${host}" in
20888 *-pc-os2_emx | *-pc-os2-emx )
20889 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20890 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20891 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20892 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20893 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 else
20895 ac_check_lib_save_LIBS=$LIBS
20896 LIBS="-lcExt $LIBS"
20897 cat >conftest.$ac_ext <<_ACEOF
20898 /* confdefs.h. */
20899 _ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903
20904 /* Override any GCC internal prototype to avoid an error.
20905 Use char because int might match the return type of a GCC
20906 builtin and then its argument prototype would still apply. */
20907 #ifdef __cplusplus
20908 extern "C"
20909 #endif
20910 char drand48 ();
20911 int
20912 main ()
20913 {
20914 return drand48 ();
20915 ;
20916 return 0;
20917 }
20918 _ACEOF
20919 rm -f conftest.$ac_objext conftest$ac_exeext
20920 if { (ac_try="$ac_link"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20924 esac
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_link") 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } && {
20933 test -z "$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20935 } && test -s conftest$ac_exeext &&
20936 $as_test_x conftest$ac_exeext; then
20937 ac_cv_lib_cExt_drand48=yes
20938 else
20939 echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20941
20942 ac_cv_lib_cExt_drand48=no
20943 fi
20944
20945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20946 conftest$ac_exeext conftest.$ac_ext
20947 LIBS=$ac_check_lib_save_LIBS
20948 fi
20949 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20950 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20951 if test $ac_cv_lib_cExt_drand48 = yes; then
20952 LIBS="$LIBS -lcExt"
20953 fi
20954
20955 else
20956 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20957 fi
20958 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20959 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20960 if test "${wx_cv_gccversion+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20963
20964 if test "$cross_compiling" = yes; then
20965 wx_cv_gccversion="EMX2"
20966
20967 else
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h. */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974
20975 #include <stdio.h>
20976
20977 int main()
20978 {
20979 FILE *f=fopen("conftestval", "w");
20980 if (!f) exit(1);
20981 fprintf(f,
20982 #if (__GNUC__ < 3)
20983 "EMX2"
20984 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20985 "EMX3"
20986 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20987 "Innotek5"
20988 #else
20989 "Innotek6"
20990 #endif
20991 );
20992 exit(0);
20993 }
20994
20995 _ACEOF
20996 rm -f conftest$ac_exeext
20997 if { (ac_try="$ac_link"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_link") 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21007 { (case "(($ac_try" in
21008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21010 esac
21011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_try") 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 wx_cv_gccversion=`cat conftestval`
21017 else
21018 echo "$as_me: program exited with status $ac_status" >&5
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ( exit $ac_status )
21023 wx_cv_gccversion="EMX2"
21024 fi
21025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21026 fi
21027
21028
21029
21030 fi
21031 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21032 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21033 if test "$wx_cv_gccversion" = "EMX2"; then
21034 LIBS="$LIBS -lstdcpp"
21035 LDFLAGS="$LDFLAGS -Zsysv-signals"
21036 else
21037 if test "$wx_cv_gccversion" = "EMX3"; then
21038 LIBS="$LIBS -lstdcxx -lgcc"
21039 LDFLAGS="$LDFLAGS -Zsysv-signals"
21040 else
21041 LIBS="$LIBS -lstdc++"
21042 fi
21043 fi
21044 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21045 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21046 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21047 wxUSE_OMF=yes
21048 enable_omf=yes
21049 fi
21050 ;;
21051 *)
21052
21053 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21054 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21055 if test "${ac_cv_string_strcasecmp+set}" = set; then
21056 echo $ECHO_N "(cached) $ECHO_C" >&6
21057 else
21058
21059 cat >conftest.$ac_ext <<_ACEOF
21060 /* confdefs.h. */
21061 _ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065
21066 #include <string.h>
21067
21068 int
21069 main ()
21070 {
21071
21072 strcasecmp("foo", "bar");
21073
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 rm -f conftest.$ac_objext conftest$ac_exeext
21079 if { (ac_try="$ac_link"
21080 case "(($ac_try" in
21081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21082 *) ac_try_echo=$ac_try;;
21083 esac
21084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21085 (eval "$ac_link") 2>conftest.er1
21086 ac_status=$?
21087 grep -v '^ *+' conftest.er1 >conftest.err
21088 rm -f conftest.er1
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } && {
21092 test -z "$ac_c_werror_flag" ||
21093 test ! -s conftest.err
21094 } && test -s conftest$ac_exeext &&
21095 $as_test_x conftest$ac_exeext; then
21096 ac_cv_string_strcasecmp=yes
21097 else
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21100
21101 ac_cv_string_strcasecmp=no
21102
21103 fi
21104
21105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21106 conftest$ac_exeext conftest.$ac_ext
21107
21108 fi
21109 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21110 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21111
21112 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21113 cat >>confdefs.h <<\_ACEOF
21114 #define HAVE_STRCASECMP_IN_STRING_H 1
21115 _ACEOF
21116
21117 else
21118 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21119 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21120 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21122 else
21123
21124 cat >conftest.$ac_ext <<_ACEOF
21125 /* confdefs.h. */
21126 _ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21130
21131 #include <strings.h>
21132
21133 int
21134 main ()
21135 {
21136
21137 strcasecmp("foo", "bar");
21138
21139 ;
21140 return 0;
21141 }
21142 _ACEOF
21143 rm -f conftest.$ac_objext conftest$ac_exeext
21144 if { (ac_try="$ac_link"
21145 case "(($ac_try" in
21146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21147 *) ac_try_echo=$ac_try;;
21148 esac
21149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21150 (eval "$ac_link") 2>conftest.er1
21151 ac_status=$?
21152 grep -v '^ *+' conftest.er1 >conftest.err
21153 rm -f conftest.er1
21154 cat conftest.err >&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } && {
21157 test -z "$ac_c_werror_flag" ||
21158 test ! -s conftest.err
21159 } && test -s conftest$ac_exeext &&
21160 $as_test_x conftest$ac_exeext; then
21161 ac_cv_strings_strcasecmp=yes
21162 else
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21165
21166 ac_cv_strings_strcasecmp=no
21167
21168 fi
21169
21170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21171 conftest$ac_exeext conftest.$ac_ext
21172
21173 fi
21174 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21175 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21176
21177 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21178 cat >>confdefs.h <<\_ACEOF
21179 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21180 _ACEOF
21181
21182 else
21183 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21184 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21185 { (exit 1); exit 1; }; }
21186 fi
21187 fi
21188
21189 ;;
21190 esac
21191
21192
21193 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21194 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21195 if test "${ac_cv_header_stdc+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <stdlib.h>
21205 #include <stdarg.h>
21206 #include <string.h>
21207 #include <float.h>
21208
21209 int
21210 main ()
21211 {
21212
21213 ;
21214 return 0;
21215 }
21216 _ACEOF
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21222 esac
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_cv_header_stdc=yes
21235 else
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21238
21239 ac_cv_header_stdc=no
21240 fi
21241
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243
21244 if test $ac_cv_header_stdc = yes; then
21245 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 #include <string.h>
21253
21254 _ACEOF
21255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21256 $EGREP "memchr" >/dev/null 2>&1; then
21257 :
21258 else
21259 ac_cv_header_stdc=no
21260 fi
21261 rm -f conftest*
21262
21263 fi
21264
21265 if test $ac_cv_header_stdc = yes; then
21266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #include <stdlib.h>
21274
21275 _ACEOF
21276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21277 $EGREP "free" >/dev/null 2>&1; then
21278 :
21279 else
21280 ac_cv_header_stdc=no
21281 fi
21282 rm -f conftest*
21283
21284 fi
21285
21286 if test $ac_cv_header_stdc = yes; then
21287 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21288 if test "$cross_compiling" = yes; then
21289 :
21290 else
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 #include <ctype.h>
21298 #include <stdlib.h>
21299 #if ((' ' & 0x0FF) == 0x020)
21300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21301 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21302 #else
21303 # define ISLOWER(c) \
21304 (('a' <= (c) && (c) <= 'i') \
21305 || ('j' <= (c) && (c) <= 'r') \
21306 || ('s' <= (c) && (c) <= 'z'))
21307 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21308 #endif
21309
21310 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21311 int
21312 main ()
21313 {
21314 int i;
21315 for (i = 0; i < 256; i++)
21316 if (XOR (islower (i), ISLOWER (i))
21317 || toupper (i) != TOUPPER (i))
21318 return 2;
21319 return 0;
21320 }
21321 _ACEOF
21322 rm -f conftest$ac_exeext
21323 if { (ac_try="$ac_link"
21324 case "(($ac_try" in
21325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21327 esac
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_link") 2>&5
21330 ac_status=$?
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21333 { (case "(($ac_try" in
21334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21335 *) ac_try_echo=$ac_try;;
21336 esac
21337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21338 (eval "$ac_try") 2>&5
21339 ac_status=$?
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; }; then
21342 :
21343 else
21344 echo "$as_me: program exited with status $ac_status" >&5
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21347
21348 ( exit $ac_status )
21349 ac_cv_header_stdc=no
21350 fi
21351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21352 fi
21353
21354
21355 fi
21356 fi
21357 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21358 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21359 if test $ac_cv_header_stdc = yes; then
21360
21361 cat >>confdefs.h <<\_ACEOF
21362 #define STDC_HEADERS 1
21363 _ACEOF
21364
21365 fi
21366
21367 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21378 inttypes.h stdint.h unistd.h
21379 do
21380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21381 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 cat >conftest.$ac_ext <<_ACEOF
21387 /* confdefs.h. */
21388 _ACEOF
21389 cat confdefs.h >>conftest.$ac_ext
21390 cat >>conftest.$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 $ac_includes_default
21393
21394 #include <$ac_header>
21395 _ACEOF
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21401 esac
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21404 ac_status=$?
21405 grep -v '^ *+' conftest.er1 >conftest.err
21406 rm -f conftest.er1
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.$ac_objext; then
21413 eval "$as_ac_Header=yes"
21414 else
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21417
21418 eval "$as_ac_Header=no"
21419 fi
21420
21421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21422 fi
21423 ac_res=`eval echo '${'$as_ac_Header'}'`
21424 { echo "$as_me:$LINENO: result: $ac_res" >&5
21425 echo "${ECHO_T}$ac_res" >&6; }
21426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21427 cat >>confdefs.h <<_ACEOF
21428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21429 _ACEOF
21430
21431 fi
21432
21433 done
21434
21435
21436
21437
21438 for ac_header in langinfo.h wchar.h
21439 do
21440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 else
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453
21454 #include <$ac_header>
21455 _ACEOF
21456 rm -f conftest.$ac_objext
21457 if { (ac_try="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21461 esac
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 eval "$as_ac_Header=yes"
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21477
21478 eval "$as_ac_Header=no"
21479 fi
21480
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 fi
21483 ac_res=`eval echo '${'$as_ac_Header'}'`
21484 { echo "$as_me:$LINENO: result: $ac_res" >&5
21485 echo "${ECHO_T}$ac_res" >&6; }
21486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21487 cat >>confdefs.h <<_ACEOF
21488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21489 _ACEOF
21490
21491 fi
21492
21493 done
21494
21495
21496 if test "$ac_cv_header_wchar_h" != "yes"; then
21497
21498 for ac_header in wcstr.h
21499 do
21500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21504 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 else
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513
21514 #include <$ac_header>
21515 _ACEOF
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21521 esac
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 eval "$as_ac_Header=yes"
21534 else
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21537
21538 eval "$as_ac_Header=no"
21539 fi
21540
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 fi
21543 ac_res=`eval echo '${'$as_ac_Header'}'`
21544 { echo "$as_me:$LINENO: result: $ac_res" >&5
21545 echo "${ECHO_T}$ac_res" >&6; }
21546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21547 cat >>confdefs.h <<_ACEOF
21548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21549 _ACEOF
21550
21551 fi
21552
21553 done
21554
21555 fi
21556
21557 case "${host}" in
21558 *-pc-os2_emx | *-pc-os2-emx )
21559 if test $ac_cv_header_langinfo_h = "yes" \
21560 -a \( "$wx_cv_gccversion" = "EMX2" \
21561 -o "$wx_cv_gccversion" = "EMX3" \
21562 -o "$wx_cv_gccversion" = "Innotek5" \); then
21563 LIBS="$LIBS -lintl"
21564 fi
21565 ;;
21566 esac
21567
21568 if test "$USE_UNIX" = 1 ; then
21569
21570 for ac_header in sys/select.h
21571 do
21572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21578 cat >conftest.$ac_ext <<_ACEOF
21579 /* confdefs.h. */
21580 _ACEOF
21581 cat confdefs.h >>conftest.$ac_ext
21582 cat >>conftest.$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21584 $ac_includes_default
21585
21586 #include <$ac_header>
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21593 esac
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21596 ac_status=$?
21597 grep -v '^ *+' conftest.er1 >conftest.err
21598 rm -f conftest.er1
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21605 eval "$as_ac_Header=yes"
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 eval "$as_ac_Header=no"
21611 fi
21612
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21614 fi
21615 ac_res=`eval echo '${'$as_ac_Header'}'`
21616 { echo "$as_me:$LINENO: result: $ac_res" >&5
21617 echo "${ECHO_T}$ac_res" >&6; }
21618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21619 cat >>confdefs.h <<_ACEOF
21620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21621 _ACEOF
21622
21623 fi
21624
21625 done
21626
21627 fi
21628
21629
21630 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21631 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21632 if test "${ac_cv_c_const+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641
21642 int
21643 main ()
21644 {
21645 /* FIXME: Include the comments suggested by Paul. */
21646 #ifndef __cplusplus
21647 /* Ultrix mips cc rejects this. */
21648 typedef int charset[2];
21649 const charset cs;
21650 /* SunOS 4.1.1 cc rejects this. */
21651 char const *const *pcpcc;
21652 char **ppc;
21653 /* NEC SVR4.0.2 mips cc rejects this. */
21654 struct point {int x, y;};
21655 static struct point const zero = {0,0};
21656 /* AIX XL C 1.02.0.0 rejects this.
21657 It does not let you subtract one const X* pointer from another in
21658 an arm of an if-expression whose if-part is not a constant
21659 expression */
21660 const char *g = "string";
21661 pcpcc = &g + (g ? g-g : 0);
21662 /* HPUX 7.0 cc rejects these. */
21663 ++pcpcc;
21664 ppc = (char**) pcpcc;
21665 pcpcc = (char const *const *) ppc;
21666 { /* SCO 3.2v4 cc rejects this. */
21667 char *t;
21668 char const *s = 0 ? (char *) 0 : (char const *) 0;
21669
21670 *t++ = 0;
21671 if (s) return 0;
21672 }
21673 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21674 int x[] = {25, 17};
21675 const int *foo = &x[0];
21676 ++foo;
21677 }
21678 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21679 typedef const int *iptr;
21680 iptr p = 0;
21681 ++p;
21682 }
21683 { /* AIX XL C 1.02.0.0 rejects this saying
21684 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21685 struct s { int j; const int *ap[3]; };
21686 struct s *b; b->j = 5;
21687 }
21688 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21689 const int foo = 10;
21690 if (!foo) return 0;
21691 }
21692 return !cs[0] && !zero.x;
21693 #endif
21694
21695 ;
21696 return 0;
21697 }
21698 _ACEOF
21699 rm -f conftest.$ac_objext
21700 if { (ac_try="$ac_compile"
21701 case "(($ac_try" in
21702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21704 esac
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_compile") 2>conftest.er1
21707 ac_status=$?
21708 grep -v '^ *+' conftest.er1 >conftest.err
21709 rm -f conftest.er1
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } && {
21713 test -z "$ac_c_werror_flag" ||
21714 test ! -s conftest.err
21715 } && test -s conftest.$ac_objext; then
21716 ac_cv_c_const=yes
21717 else
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21720
21721 ac_cv_c_const=no
21722 fi
21723
21724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725 fi
21726 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21727 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21728 if test $ac_cv_c_const = no; then
21729
21730 cat >>confdefs.h <<\_ACEOF
21731 #define const
21732 _ACEOF
21733
21734 fi
21735
21736 { echo "$as_me:$LINENO: checking for inline" >&5
21737 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21738 if test "${ac_cv_c_inline+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21740 else
21741 ac_cv_c_inline=no
21742 for ac_kw in inline __inline__ __inline; do
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #ifndef __cplusplus
21750 typedef int foo_t;
21751 static $ac_kw foo_t static_foo () {return 0; }
21752 $ac_kw foo_t foo () {return 0; }
21753 #endif
21754
21755 _ACEOF
21756 rm -f conftest.$ac_objext
21757 if { (ac_try="$ac_compile"
21758 case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21761 esac
21762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_compile") 2>conftest.er1
21764 ac_status=$?
21765 grep -v '^ *+' conftest.er1 >conftest.err
21766 rm -f conftest.er1
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } && {
21770 test -z "$ac_c_werror_flag" ||
21771 test ! -s conftest.err
21772 } && test -s conftest.$ac_objext; then
21773 ac_cv_c_inline=$ac_kw
21774 else
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21777
21778
21779 fi
21780
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782 test "$ac_cv_c_inline" != no && break
21783 done
21784
21785 fi
21786 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21787 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21788
21789
21790 case $ac_cv_c_inline in
21791 inline | yes) ;;
21792 *)
21793 case $ac_cv_c_inline in
21794 no) ac_val=;;
21795 *) ac_val=$ac_cv_c_inline;;
21796 esac
21797 cat >>confdefs.h <<_ACEOF
21798 #ifndef __cplusplus
21799 #define inline $ac_val
21800 #endif
21801 _ACEOF
21802 ;;
21803 esac
21804
21805
21806 { echo "$as_me:$LINENO: checking for short" >&5
21807 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21808 if test "${ac_cv_type_short+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 else
21811 cat >conftest.$ac_ext <<_ACEOF
21812 /* confdefs.h. */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 $ac_includes_default
21818 typedef short ac__type_new_;
21819 int
21820 main ()
21821 {
21822 if ((ac__type_new_ *) 0)
21823 return 0;
21824 if (sizeof (ac__type_new_))
21825 return 0;
21826 ;
21827 return 0;
21828 }
21829 _ACEOF
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21835 esac
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_cv_type_short=yes
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_cv_type_short=no
21853 fi
21854
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 fi
21857 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21858 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21859
21860 # The cast to long int works around a bug in the HP C Compiler
21861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21863 # This bug is HP SR number 8606223364.
21864 { echo "$as_me:$LINENO: checking size of short" >&5
21865 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21866 if test "${ac_cv_sizeof_short+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21869 if test "$cross_compiling" = yes; then
21870 # Depending upon the size, compute the lo and hi bounds.
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef short ac__type_sizeof_;
21879 int
21880 main ()
21881 {
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21883 test_array [0] = 0
21884
21885 ;
21886 return 0;
21887 }
21888 _ACEOF
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21893 *) ac_try_echo=$ac_try;;
21894 esac
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.$ac_objext; then
21906 ac_lo=0 ac_mid=0
21907 while :; do
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 $ac_includes_default
21915 typedef short ac__type_sizeof_;
21916 int
21917 main ()
21918 {
21919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21920 test_array [0] = 0
21921
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest.$ac_objext; then
21943 ac_hi=$ac_mid; break
21944 else
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21947
21948 ac_lo=`expr $ac_mid + 1`
21949 if test $ac_lo -le $ac_mid; then
21950 ac_lo= ac_hi=
21951 break
21952 fi
21953 ac_mid=`expr 2 '*' $ac_mid + 1`
21954 fi
21955
21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21957 done
21958 else
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21961
21962 cat >conftest.$ac_ext <<_ACEOF
21963 /* confdefs.h. */
21964 _ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 typedef short ac__type_sizeof_;
21970 int
21971 main ()
21972 {
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21974 test_array [0] = 0
21975
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21988 ac_status=$?
21989 grep -v '^ *+' conftest.er1 >conftest.err
21990 rm -f conftest.er1
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest.$ac_objext; then
21997 ac_hi=-1 ac_mid=-1
21998 while :; do
21999 cat >conftest.$ac_ext <<_ACEOF
22000 /* confdefs.h. */
22001 _ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22006 typedef short ac__type_sizeof_;
22007 int
22008 main ()
22009 {
22010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22011 test_array [0] = 0
22012
22013 ;
22014 return 0;
22015 }
22016 _ACEOF
22017 rm -f conftest.$ac_objext
22018 if { (ac_try="$ac_compile"
22019 case "(($ac_try" in
22020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021 *) ac_try_echo=$ac_try;;
22022 esac
22023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024 (eval "$ac_compile") 2>conftest.er1
22025 ac_status=$?
22026 grep -v '^ *+' conftest.er1 >conftest.err
22027 rm -f conftest.er1
22028 cat conftest.err >&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && {
22031 test -z "$ac_c_werror_flag" ||
22032 test ! -s conftest.err
22033 } && test -s conftest.$ac_objext; then
22034 ac_lo=$ac_mid; break
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 ac_hi=`expr '(' $ac_mid ')' - 1`
22040 if test $ac_mid -le $ac_hi; then
22041 ac_lo= ac_hi=
22042 break
22043 fi
22044 ac_mid=`expr 2 '*' $ac_mid`
22045 fi
22046
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22048 done
22049 else
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22052
22053 ac_lo= ac_hi=
22054 fi
22055
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 fi
22058
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 # Binary search between lo and hi bounds.
22061 while test "x$ac_lo" != "x$ac_hi"; do
22062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22063 cat >conftest.$ac_ext <<_ACEOF
22064 /* confdefs.h. */
22065 _ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef short ac__type_sizeof_;
22071 int
22072 main ()
22073 {
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22075 test_array [0] = 0
22076
22077 ;
22078 return 0;
22079 }
22080 _ACEOF
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22086 esac
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22089 ac_status=$?
22090 grep -v '^ *+' conftest.er1 >conftest.err
22091 rm -f conftest.er1
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22098 ac_hi=$ac_mid
22099 else
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22102
22103 ac_lo=`expr '(' $ac_mid ')' + 1`
22104 fi
22105
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 done
22108 case $ac_lo in
22109 ?*) ac_cv_sizeof_short=$ac_lo;;
22110 '') if test "$ac_cv_type_short" = yes; then
22111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22112 See \`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (short)
22114 See \`config.log' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22116 else
22117 ac_cv_sizeof_short=0
22118 fi ;;
22119 esac
22120 else
22121 cat >conftest.$ac_ext <<_ACEOF
22122 /* confdefs.h. */
22123 _ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef short ac__type_sizeof_;
22129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22131 #include <stdio.h>
22132 #include <stdlib.h>
22133 int
22134 main ()
22135 {
22136
22137 FILE *f = fopen ("conftest.val", "w");
22138 if (! f)
22139 return 1;
22140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22141 {
22142 long int i = longval ();
22143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22144 return 1;
22145 fprintf (f, "%ld\n", i);
22146 }
22147 else
22148 {
22149 unsigned long int i = ulongval ();
22150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22151 return 1;
22152 fprintf (f, "%lu\n", i);
22153 }
22154 return ferror (f) || fclose (f) != 0;
22155
22156 ;
22157 return 0;
22158 }
22159 _ACEOF
22160 rm -f conftest$ac_exeext
22161 if { (ac_try="$ac_link"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_link") 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_sizeof_short=`cat conftest.val`
22181 else
22182 echo "$as_me: program exited with status $ac_status" >&5
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 ( exit $ac_status )
22187 if test "$ac_cv_type_short" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (short)
22191 See \`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22193 else
22194 ac_cv_sizeof_short=0
22195 fi
22196 fi
22197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22198 fi
22199 rm -f conftest.val
22200 fi
22201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22202 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22203
22204
22205
22206 cat >>confdefs.h <<_ACEOF
22207 #define SIZEOF_SHORT $ac_cv_sizeof_short
22208 _ACEOF
22209
22210
22211 { echo "$as_me:$LINENO: checking for void *" >&5
22212 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22213 if test "${ac_cv_type_void_p+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 else
22216 cat >conftest.$ac_ext <<_ACEOF
22217 /* confdefs.h. */
22218 _ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 $ac_includes_default
22223 typedef void * ac__type_new_;
22224 int
22225 main ()
22226 {
22227 if ((ac__type_new_ *) 0)
22228 return 0;
22229 if (sizeof (ac__type_new_))
22230 return 0;
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_cv_type_void_p=yes
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_cv_type_void_p=no
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 fi
22262 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22263 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22264
22265 # The cast to long int works around a bug in the HP C Compiler
22266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22268 # This bug is HP SR number 8606223364.
22269 { echo "$as_me:$LINENO: checking size of void *" >&5
22270 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22271 if test "${ac_cv_sizeof_void_p+set}" = set; then
22272 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 else
22274 if test "$cross_compiling" = yes; then
22275 # Depending upon the size, compute the lo and hi bounds.
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef void * ac__type_sizeof_;
22284 int
22285 main ()
22286 {
22287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22288 test_array [0] = 0
22289
22290 ;
22291 return 0;
22292 }
22293 _ACEOF
22294 rm -f conftest.$ac_objext
22295 if { (ac_try="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299 esac
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22302 ac_status=$?
22303 grep -v '^ *+' conftest.er1 >conftest.err
22304 rm -f conftest.er1
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } && {
22308 test -z "$ac_c_werror_flag" ||
22309 test ! -s conftest.err
22310 } && test -s conftest.$ac_objext; then
22311 ac_lo=0 ac_mid=0
22312 while :; do
22313 cat >conftest.$ac_ext <<_ACEOF
22314 /* confdefs.h. */
22315 _ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 $ac_includes_default
22320 typedef void * ac__type_sizeof_;
22321 int
22322 main ()
22323 {
22324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22325 test_array [0] = 0
22326
22327 ;
22328 return 0;
22329 }
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (ac_try="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22336 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.$ac_objext; then
22348 ac_hi=$ac_mid; break
22349 else
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22352
22353 ac_lo=`expr $ac_mid + 1`
22354 if test $ac_lo -le $ac_mid; then
22355 ac_lo= ac_hi=
22356 break
22357 fi
22358 ac_mid=`expr 2 '*' $ac_mid + 1`
22359 fi
22360
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22362 done
22363 else
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.$ac_ext >&5
22366
22367 cat >conftest.$ac_ext <<_ACEOF
22368 /* confdefs.h. */
22369 _ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 $ac_includes_default
22374 typedef void * ac__type_sizeof_;
22375 int
22376 main ()
22377 {
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22379 test_array [0] = 0
22380
22381 ;
22382 return 0;
22383 }
22384 _ACEOF
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22390 esac
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22393 ac_status=$?
22394 grep -v '^ *+' conftest.er1 >conftest.err
22395 rm -f conftest.er1
22396 cat conftest.err >&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.$ac_objext; then
22402 ac_hi=-1 ac_mid=-1
22403 while :; do
22404 cat >conftest.$ac_ext <<_ACEOF
22405 /* confdefs.h. */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22410 $ac_includes_default
22411 typedef void * ac__type_sizeof_;
22412 int
22413 main ()
22414 {
22415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22416 test_array [0] = 0
22417
22418 ;
22419 return 0;
22420 }
22421 _ACEOF
22422 rm -f conftest.$ac_objext
22423 if { (ac_try="$ac_compile"
22424 case "(($ac_try" in
22425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22426 *) ac_try_echo=$ac_try;;
22427 esac
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_compile") 2>conftest.er1
22430 ac_status=$?
22431 grep -v '^ *+' conftest.er1 >conftest.err
22432 rm -f conftest.er1
22433 cat conftest.err >&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } && {
22436 test -z "$ac_c_werror_flag" ||
22437 test ! -s conftest.err
22438 } && test -s conftest.$ac_objext; then
22439 ac_lo=$ac_mid; break
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 ac_hi=`expr '(' $ac_mid ')' - 1`
22445 if test $ac_mid -le $ac_hi; then
22446 ac_lo= ac_hi=
22447 break
22448 fi
22449 ac_mid=`expr 2 '*' $ac_mid`
22450 fi
22451
22452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22453 done
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 ac_lo= ac_hi=
22459 fi
22460
22461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22462 fi
22463
22464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 # Binary search between lo and hi bounds.
22466 while test "x$ac_lo" != "x$ac_hi"; do
22467 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22468 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h. */
22470 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474 $ac_includes_default
22475 typedef void * ac__type_sizeof_;
22476 int
22477 main ()
22478 {
22479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22480 test_array [0] = 0
22481
22482 ;
22483 return 0;
22484 }
22485 _ACEOF
22486 rm -f conftest.$ac_objext
22487 if { (ac_try="$ac_compile"
22488 case "(($ac_try" in
22489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22490 *) ac_try_echo=$ac_try;;
22491 esac
22492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22493 (eval "$ac_compile") 2>conftest.er1
22494 ac_status=$?
22495 grep -v '^ *+' conftest.er1 >conftest.err
22496 rm -f conftest.er1
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } && {
22500 test -z "$ac_c_werror_flag" ||
22501 test ! -s conftest.err
22502 } && test -s conftest.$ac_objext; then
22503 ac_hi=$ac_mid
22504 else
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22507
22508 ac_lo=`expr '(' $ac_mid ')' + 1`
22509 fi
22510
22511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22512 done
22513 case $ac_lo in
22514 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22515 '') if test "$ac_cv_type_void_p" = yes; then
22516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22517 See \`config.log' for more details." >&5
22518 echo "$as_me: error: cannot compute sizeof (void *)
22519 See \`config.log' for more details." >&2;}
22520 { (exit 77); exit 77; }; }
22521 else
22522 ac_cv_sizeof_void_p=0
22523 fi ;;
22524 esac
22525 else
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 $ac_includes_default
22533 typedef void * ac__type_sizeof_;
22534 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22535 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22536 #include <stdio.h>
22537 #include <stdlib.h>
22538 int
22539 main ()
22540 {
22541
22542 FILE *f = fopen ("conftest.val", "w");
22543 if (! f)
22544 return 1;
22545 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22546 {
22547 long int i = longval ();
22548 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22549 return 1;
22550 fprintf (f, "%ld\n", i);
22551 }
22552 else
22553 {
22554 unsigned long int i = ulongval ();
22555 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22556 return 1;
22557 fprintf (f, "%lu\n", i);
22558 }
22559 return ferror (f) || fclose (f) != 0;
22560
22561 ;
22562 return 0;
22563 }
22564 _ACEOF
22565 rm -f conftest$ac_exeext
22566 if { (ac_try="$ac_link"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22570 esac
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_link") 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22576 { (case "(($ac_try" in
22577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22579 esac
22580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_try") 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 ac_cv_sizeof_void_p=`cat conftest.val`
22586 else
22587 echo "$as_me: program exited with status $ac_status" >&5
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ( exit $ac_status )
22592 if test "$ac_cv_type_void_p" = yes; then
22593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22594 See \`config.log' for more details." >&5
22595 echo "$as_me: error: cannot compute sizeof (void *)
22596 See \`config.log' for more details." >&2;}
22597 { (exit 77); exit 77; }; }
22598 else
22599 ac_cv_sizeof_void_p=0
22600 fi
22601 fi
22602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22603 fi
22604 rm -f conftest.val
22605 fi
22606 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22607 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22608
22609
22610
22611 cat >>confdefs.h <<_ACEOF
22612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22613 _ACEOF
22614
22615
22616 { echo "$as_me:$LINENO: checking for int" >&5
22617 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22618 if test "${ac_cv_type_int+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22620 else
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 $ac_includes_default
22628 typedef int ac__type_new_;
22629 int
22630 main ()
22631 {
22632 if ((ac__type_new_ *) 0)
22633 return 0;
22634 if (sizeof (ac__type_new_))
22635 return 0;
22636 ;
22637 return 0;
22638 }
22639 _ACEOF
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22645 esac
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22648 ac_status=$?
22649 grep -v '^ *+' conftest.er1 >conftest.err
22650 rm -f conftest.er1
22651 cat conftest.err >&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && {
22654 test -z "$ac_c_werror_flag" ||
22655 test ! -s conftest.err
22656 } && test -s conftest.$ac_objext; then
22657 ac_cv_type_int=yes
22658 else
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22661
22662 ac_cv_type_int=no
22663 fi
22664
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22666 fi
22667 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22668 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22669
22670 # The cast to long int works around a bug in the HP C Compiler
22671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22673 # This bug is HP SR number 8606223364.
22674 { echo "$as_me:$LINENO: checking size of int" >&5
22675 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22676 if test "${ac_cv_sizeof_int+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679 if test "$cross_compiling" = yes; then
22680 # Depending upon the size, compute the lo and hi bounds.
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 $ac_includes_default
22688 typedef int ac__type_sizeof_;
22689 int
22690 main ()
22691 {
22692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22693 test_array [0] = 0
22694
22695 ;
22696 return 0;
22697 }
22698 _ACEOF
22699 rm -f conftest.$ac_objext
22700 if { (ac_try="$ac_compile"
22701 case "(($ac_try" in
22702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22703 *) ac_try_echo=$ac_try;;
22704 esac
22705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22706 (eval "$ac_compile") 2>conftest.er1
22707 ac_status=$?
22708 grep -v '^ *+' conftest.er1 >conftest.err
22709 rm -f conftest.er1
22710 cat conftest.err >&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); } && {
22713 test -z "$ac_c_werror_flag" ||
22714 test ! -s conftest.err
22715 } && test -s conftest.$ac_objext; then
22716 ac_lo=0 ac_mid=0
22717 while :; do
22718 cat >conftest.$ac_ext <<_ACEOF
22719 /* confdefs.h. */
22720 _ACEOF
22721 cat confdefs.h >>conftest.$ac_ext
22722 cat >>conftest.$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22724 $ac_includes_default
22725 typedef int ac__type_sizeof_;
22726 int
22727 main ()
22728 {
22729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22730 test_array [0] = 0
22731
22732 ;
22733 return 0;
22734 }
22735 _ACEOF
22736 rm -f conftest.$ac_objext
22737 if { (ac_try="$ac_compile"
22738 case "(($ac_try" in
22739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22740 *) ac_try_echo=$ac_try;;
22741 esac
22742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22743 (eval "$ac_compile") 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } && {
22750 test -z "$ac_c_werror_flag" ||
22751 test ! -s conftest.err
22752 } && test -s conftest.$ac_objext; then
22753 ac_hi=$ac_mid; break
22754 else
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22757
22758 ac_lo=`expr $ac_mid + 1`
22759 if test $ac_lo -le $ac_mid; then
22760 ac_lo= ac_hi=
22761 break
22762 fi
22763 ac_mid=`expr 2 '*' $ac_mid + 1`
22764 fi
22765
22766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22767 done
22768 else
22769 echo "$as_me: failed program was:" >&5
22770 sed 's/^/| /' conftest.$ac_ext >&5
22771
22772 cat >conftest.$ac_ext <<_ACEOF
22773 /* confdefs.h. */
22774 _ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 $ac_includes_default
22779 typedef int ac__type_sizeof_;
22780 int
22781 main ()
22782 {
22783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22784 test_array [0] = 0
22785
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 rm -f conftest.$ac_objext
22791 if { (ac_try="$ac_compile"
22792 case "(($ac_try" in
22793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22795 esac
22796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_compile") 2>conftest.er1
22798 ac_status=$?
22799 grep -v '^ *+' conftest.er1 >conftest.err
22800 rm -f conftest.er1
22801 cat conftest.err >&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); } && {
22804 test -z "$ac_c_werror_flag" ||
22805 test ! -s conftest.err
22806 } && test -s conftest.$ac_objext; then
22807 ac_hi=-1 ac_mid=-1
22808 while :; do
22809 cat >conftest.$ac_ext <<_ACEOF
22810 /* confdefs.h. */
22811 _ACEOF
22812 cat confdefs.h >>conftest.$ac_ext
22813 cat >>conftest.$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 $ac_includes_default
22816 typedef int ac__type_sizeof_;
22817 int
22818 main ()
22819 {
22820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22821 test_array [0] = 0
22822
22823 ;
22824 return 0;
22825 }
22826 _ACEOF
22827 rm -f conftest.$ac_objext
22828 if { (ac_try="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22831 *) ac_try_echo=$ac_try;;
22832 esac
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22835 ac_status=$?
22836 grep -v '^ *+' conftest.er1 >conftest.err
22837 rm -f conftest.er1
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.$ac_objext; then
22844 ac_lo=$ac_mid; break
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22848
22849 ac_hi=`expr '(' $ac_mid ')' - 1`
22850 if test $ac_mid -le $ac_hi; then
22851 ac_lo= ac_hi=
22852 break
22853 fi
22854 ac_mid=`expr 2 '*' $ac_mid`
22855 fi
22856
22857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 done
22859 else
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22862
22863 ac_lo= ac_hi=
22864 fi
22865
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 fi
22868
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 # Binary search between lo and hi bounds.
22871 while test "x$ac_lo" != "x$ac_hi"; do
22872 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22873 cat >conftest.$ac_ext <<_ACEOF
22874 /* confdefs.h. */
22875 _ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 $ac_includes_default
22880 typedef int ac__type_sizeof_;
22881 int
22882 main ()
22883 {
22884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22885 test_array [0] = 0
22886
22887 ;
22888 return 0;
22889 }
22890 _ACEOF
22891 rm -f conftest.$ac_objext
22892 if { (ac_try="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22896 esac
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22899 ac_status=$?
22900 grep -v '^ *+' conftest.er1 >conftest.err
22901 rm -f conftest.er1
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_c_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
22908 ac_hi=$ac_mid
22909 else
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22912
22913 ac_lo=`expr '(' $ac_mid ')' + 1`
22914 fi
22915
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 done
22918 case $ac_lo in
22919 ?*) ac_cv_sizeof_int=$ac_lo;;
22920 '') if test "$ac_cv_type_int" = yes; then
22921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22922 See \`config.log' for more details." >&5
22923 echo "$as_me: error: cannot compute sizeof (int)
22924 See \`config.log' for more details." >&2;}
22925 { (exit 77); exit 77; }; }
22926 else
22927 ac_cv_sizeof_int=0
22928 fi ;;
22929 esac
22930 else
22931 cat >conftest.$ac_ext <<_ACEOF
22932 /* confdefs.h. */
22933 _ACEOF
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22937 $ac_includes_default
22938 typedef int ac__type_sizeof_;
22939 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22940 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22941 #include <stdio.h>
22942 #include <stdlib.h>
22943 int
22944 main ()
22945 {
22946
22947 FILE *f = fopen ("conftest.val", "w");
22948 if (! f)
22949 return 1;
22950 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22951 {
22952 long int i = longval ();
22953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22954 return 1;
22955 fprintf (f, "%ld\n", i);
22956 }
22957 else
22958 {
22959 unsigned long int i = ulongval ();
22960 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22961 return 1;
22962 fprintf (f, "%lu\n", i);
22963 }
22964 return ferror (f) || fclose (f) != 0;
22965
22966 ;
22967 return 0;
22968 }
22969 _ACEOF
22970 rm -f conftest$ac_exeext
22971 if { (ac_try="$ac_link"
22972 case "(($ac_try" in
22973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22974 *) ac_try_echo=$ac_try;;
22975 esac
22976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22977 (eval "$ac_link") 2>&5
22978 ac_status=$?
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22981 { (case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22984 esac
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_try") 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 ac_cv_sizeof_int=`cat conftest.val`
22991 else
22992 echo "$as_me: program exited with status $ac_status" >&5
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22995
22996 ( exit $ac_status )
22997 if test "$ac_cv_type_int" = yes; then
22998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22999 See \`config.log' for more details." >&5
23000 echo "$as_me: error: cannot compute sizeof (int)
23001 See \`config.log' for more details." >&2;}
23002 { (exit 77); exit 77; }; }
23003 else
23004 ac_cv_sizeof_int=0
23005 fi
23006 fi
23007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23008 fi
23009 rm -f conftest.val
23010 fi
23011 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23012 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23013
23014
23015
23016 cat >>confdefs.h <<_ACEOF
23017 #define SIZEOF_INT $ac_cv_sizeof_int
23018 _ACEOF
23019
23020
23021 { echo "$as_me:$LINENO: checking for long" >&5
23022 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23023 if test "${ac_cv_type_long+set}" = set; then
23024 echo $ECHO_N "(cached) $ECHO_C" >&6
23025 else
23026 cat >conftest.$ac_ext <<_ACEOF
23027 /* confdefs.h. */
23028 _ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032 $ac_includes_default
23033 typedef long ac__type_new_;
23034 int
23035 main ()
23036 {
23037 if ((ac__type_new_ *) 0)
23038 return 0;
23039 if (sizeof (ac__type_new_))
23040 return 0;
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 rm -f conftest.$ac_objext
23046 if { (ac_try="$ac_compile"
23047 case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23050 esac
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_compile") 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && {
23059 test -z "$ac_c_werror_flag" ||
23060 test ! -s conftest.err
23061 } && test -s conftest.$ac_objext; then
23062 ac_cv_type_long=yes
23063 else
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23066
23067 ac_cv_type_long=no
23068 fi
23069
23070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23071 fi
23072 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23073 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23074
23075 # The cast to long int works around a bug in the HP C Compiler
23076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23078 # This bug is HP SR number 8606223364.
23079 { echo "$as_me:$LINENO: checking size of long" >&5
23080 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23081 if test "${ac_cv_sizeof_long+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 else
23084 if test "$cross_compiling" = yes; then
23085 # Depending upon the size, compute the lo and hi bounds.
23086 cat >conftest.$ac_ext <<_ACEOF
23087 /* confdefs.h. */
23088 _ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 $ac_includes_default
23093 typedef long ac__type_sizeof_;
23094 int
23095 main ()
23096 {
23097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23098 test_array [0] = 0
23099
23100 ;
23101 return 0;
23102 }
23103 _ACEOF
23104 rm -f conftest.$ac_objext
23105 if { (ac_try="$ac_compile"
23106 case "(($ac_try" in
23107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23108 *) ac_try_echo=$ac_try;;
23109 esac
23110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23111 (eval "$ac_compile") 2>conftest.er1
23112 ac_status=$?
23113 grep -v '^ *+' conftest.er1 >conftest.err
23114 rm -f conftest.er1
23115 cat conftest.err >&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } && {
23118 test -z "$ac_c_werror_flag" ||
23119 test ! -s conftest.err
23120 } && test -s conftest.$ac_objext; then
23121 ac_lo=0 ac_mid=0
23122 while :; do
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 $ac_includes_default
23130 typedef long ac__type_sizeof_;
23131 int
23132 main ()
23133 {
23134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23135 test_array [0] = 0
23136
23137 ;
23138 return 0;
23139 }
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (ac_try="$ac_compile"
23143 case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23146 esac
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_compile") 2>conftest.er1
23149 ac_status=$?
23150 grep -v '^ *+' conftest.er1 >conftest.err
23151 rm -f conftest.er1
23152 cat conftest.err >&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } && {
23155 test -z "$ac_c_werror_flag" ||
23156 test ! -s conftest.err
23157 } && test -s conftest.$ac_objext; then
23158 ac_hi=$ac_mid; break
23159 else
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.$ac_ext >&5
23162
23163 ac_lo=`expr $ac_mid + 1`
23164 if test $ac_lo -le $ac_mid; then
23165 ac_lo= ac_hi=
23166 break
23167 fi
23168 ac_mid=`expr 2 '*' $ac_mid + 1`
23169 fi
23170
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 done
23173 else
23174 echo "$as_me: failed program was:" >&5
23175 sed 's/^/| /' conftest.$ac_ext >&5
23176
23177 cat >conftest.$ac_ext <<_ACEOF
23178 /* confdefs.h. */
23179 _ACEOF
23180 cat confdefs.h >>conftest.$ac_ext
23181 cat >>conftest.$ac_ext <<_ACEOF
23182 /* end confdefs.h. */
23183 $ac_includes_default
23184 typedef long ac__type_sizeof_;
23185 int
23186 main ()
23187 {
23188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23189 test_array [0] = 0
23190
23191 ;
23192 return 0;
23193 }
23194 _ACEOF
23195 rm -f conftest.$ac_objext
23196 if { (ac_try="$ac_compile"
23197 case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23200 esac
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_compile") 2>conftest.er1
23203 ac_status=$?
23204 grep -v '^ *+' conftest.er1 >conftest.err
23205 rm -f conftest.er1
23206 cat conftest.err >&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } && {
23209 test -z "$ac_c_werror_flag" ||
23210 test ! -s conftest.err
23211 } && test -s conftest.$ac_objext; then
23212 ac_hi=-1 ac_mid=-1
23213 while :; do
23214 cat >conftest.$ac_ext <<_ACEOF
23215 /* confdefs.h. */
23216 _ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 $ac_includes_default
23221 typedef long ac__type_sizeof_;
23222 int
23223 main ()
23224 {
23225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23226 test_array [0] = 0
23227
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 rm -f conftest.$ac_objext
23233 if { (ac_try="$ac_compile"
23234 case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23236 *) ac_try_echo=$ac_try;;
23237 esac
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_compile") 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } && {
23246 test -z "$ac_c_werror_flag" ||
23247 test ! -s conftest.err
23248 } && test -s conftest.$ac_objext; then
23249 ac_lo=$ac_mid; break
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 ac_hi=`expr '(' $ac_mid ')' - 1`
23255 if test $ac_mid -le $ac_hi; then
23256 ac_lo= ac_hi=
23257 break
23258 fi
23259 ac_mid=`expr 2 '*' $ac_mid`
23260 fi
23261
23262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23263 done
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 ac_lo= ac_hi=
23269 fi
23270
23271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 fi
23273
23274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23275 # Binary search between lo and hi bounds.
23276 while test "x$ac_lo" != "x$ac_hi"; do
23277 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h. */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 $ac_includes_default
23285 typedef long ac__type_sizeof_;
23286 int
23287 main ()
23288 {
23289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23290 test_array [0] = 0
23291
23292 ;
23293 return 0;
23294 }
23295 _ACEOF
23296 rm -f conftest.$ac_objext
23297 if { (ac_try="$ac_compile"
23298 case "(($ac_try" in
23299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23300 *) ac_try_echo=$ac_try;;
23301 esac
23302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23303 (eval "$ac_compile") 2>conftest.er1
23304 ac_status=$?
23305 grep -v '^ *+' conftest.er1 >conftest.err
23306 rm -f conftest.er1
23307 cat conftest.err >&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } && {
23310 test -z "$ac_c_werror_flag" ||
23311 test ! -s conftest.err
23312 } && test -s conftest.$ac_objext; then
23313 ac_hi=$ac_mid
23314 else
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.$ac_ext >&5
23317
23318 ac_lo=`expr '(' $ac_mid ')' + 1`
23319 fi
23320
23321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23322 done
23323 case $ac_lo in
23324 ?*) ac_cv_sizeof_long=$ac_lo;;
23325 '') if test "$ac_cv_type_long" = yes; then
23326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23327 See \`config.log' for more details." >&5
23328 echo "$as_me: error: cannot compute sizeof (long)
23329 See \`config.log' for more details." >&2;}
23330 { (exit 77); exit 77; }; }
23331 else
23332 ac_cv_sizeof_long=0
23333 fi ;;
23334 esac
23335 else
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 $ac_includes_default
23343 typedef long ac__type_sizeof_;
23344 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23345 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23346 #include <stdio.h>
23347 #include <stdlib.h>
23348 int
23349 main ()
23350 {
23351
23352 FILE *f = fopen ("conftest.val", "w");
23353 if (! f)
23354 return 1;
23355 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23356 {
23357 long int i = longval ();
23358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23359 return 1;
23360 fprintf (f, "%ld\n", i);
23361 }
23362 else
23363 {
23364 unsigned long int i = ulongval ();
23365 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23366 return 1;
23367 fprintf (f, "%lu\n", i);
23368 }
23369 return ferror (f) || fclose (f) != 0;
23370
23371 ;
23372 return 0;
23373 }
23374 _ACEOF
23375 rm -f conftest$ac_exeext
23376 if { (ac_try="$ac_link"
23377 case "(($ac_try" in
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23379 *) ac_try_echo=$ac_try;;
23380 esac
23381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23382 (eval "$ac_link") 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23386 { (case "(($ac_try" in
23387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23388 *) ac_try_echo=$ac_try;;
23389 esac
23390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23391 (eval "$ac_try") 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_sizeof_long=`cat conftest.val`
23396 else
23397 echo "$as_me: program exited with status $ac_status" >&5
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23400
23401 ( exit $ac_status )
23402 if test "$ac_cv_type_long" = yes; then
23403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23404 See \`config.log' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (long)
23406 See \`config.log' for more details." >&2;}
23407 { (exit 77); exit 77; }; }
23408 else
23409 ac_cv_sizeof_long=0
23410 fi
23411 fi
23412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23413 fi
23414 rm -f conftest.val
23415 fi
23416 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23417 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23418
23419
23420
23421 cat >>confdefs.h <<_ACEOF
23422 #define SIZEOF_LONG $ac_cv_sizeof_long
23423 _ACEOF
23424
23425
23426 { echo "$as_me:$LINENO: checking for size_t" >&5
23427 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23428 if test "${ac_cv_type_size_t+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 else
23431 cat >conftest.$ac_ext <<_ACEOF
23432 /* confdefs.h. */
23433 _ACEOF
23434 cat confdefs.h >>conftest.$ac_ext
23435 cat >>conftest.$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 $ac_includes_default
23438 typedef size_t ac__type_new_;
23439 int
23440 main ()
23441 {
23442 if ((ac__type_new_ *) 0)
23443 return 0;
23444 if (sizeof (ac__type_new_))
23445 return 0;
23446 ;
23447 return 0;
23448 }
23449 _ACEOF
23450 rm -f conftest.$ac_objext
23451 if { (ac_try="$ac_compile"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23455 esac
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_compile") 2>conftest.er1
23458 ac_status=$?
23459 grep -v '^ *+' conftest.er1 >conftest.err
23460 rm -f conftest.er1
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && {
23464 test -z "$ac_c_werror_flag" ||
23465 test ! -s conftest.err
23466 } && test -s conftest.$ac_objext; then
23467 ac_cv_type_size_t=yes
23468 else
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23471
23472 ac_cv_type_size_t=no
23473 fi
23474
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 fi
23477 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23478 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23479
23480 # The cast to long int works around a bug in the HP C Compiler
23481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23483 # This bug is HP SR number 8606223364.
23484 { echo "$as_me:$LINENO: checking size of size_t" >&5
23485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23486 if test "${ac_cv_sizeof_size_t+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 else
23489 if test "$cross_compiling" = yes; then
23490 # Depending upon the size, compute the lo and hi bounds.
23491 cat >conftest.$ac_ext <<_ACEOF
23492 /* confdefs.h. */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 $ac_includes_default
23498 typedef size_t ac__type_sizeof_;
23499 int
23500 main ()
23501 {
23502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23503 test_array [0] = 0
23504
23505 ;
23506 return 0;
23507 }
23508 _ACEOF
23509 rm -f conftest.$ac_objext
23510 if { (ac_try="$ac_compile"
23511 case "(($ac_try" in
23512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23513 *) ac_try_echo=$ac_try;;
23514 esac
23515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23516 (eval "$ac_compile") 2>conftest.er1
23517 ac_status=$?
23518 grep -v '^ *+' conftest.er1 >conftest.err
23519 rm -f conftest.er1
23520 cat conftest.err >&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && {
23523 test -z "$ac_c_werror_flag" ||
23524 test ! -s conftest.err
23525 } && test -s conftest.$ac_objext; then
23526 ac_lo=0 ac_mid=0
23527 while :; do
23528 cat >conftest.$ac_ext <<_ACEOF
23529 /* confdefs.h. */
23530 _ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 $ac_includes_default
23535 typedef size_t ac__type_sizeof_;
23536 int
23537 main ()
23538 {
23539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23540 test_array [0] = 0
23541
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23551 esac
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23554 ac_status=$?
23555 grep -v '^ *+' conftest.er1 >conftest.err
23556 rm -f conftest.er1
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_c_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23563 ac_hi=$ac_mid; break
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 ac_lo=`expr $ac_mid + 1`
23569 if test $ac_lo -le $ac_mid; then
23570 ac_lo= ac_hi=
23571 break
23572 fi
23573 ac_mid=`expr 2 '*' $ac_mid + 1`
23574 fi
23575
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 done
23578 else
23579 echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.$ac_ext >&5
23581
23582 cat >conftest.$ac_ext <<_ACEOF
23583 /* confdefs.h. */
23584 _ACEOF
23585 cat confdefs.h >>conftest.$ac_ext
23586 cat >>conftest.$ac_ext <<_ACEOF
23587 /* end confdefs.h. */
23588 $ac_includes_default
23589 typedef size_t ac__type_sizeof_;
23590 int
23591 main ()
23592 {
23593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23594 test_array [0] = 0
23595
23596 ;
23597 return 0;
23598 }
23599 _ACEOF
23600 rm -f conftest.$ac_objext
23601 if { (ac_try="$ac_compile"
23602 case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23605 esac
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_compile") 2>conftest.er1
23608 ac_status=$?
23609 grep -v '^ *+' conftest.er1 >conftest.err
23610 rm -f conftest.er1
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } && {
23614 test -z "$ac_c_werror_flag" ||
23615 test ! -s conftest.err
23616 } && test -s conftest.$ac_objext; then
23617 ac_hi=-1 ac_mid=-1
23618 while :; do
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 $ac_includes_default
23626 typedef size_t ac__type_sizeof_;
23627 int
23628 main ()
23629 {
23630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23631 test_array [0] = 0
23632
23633 ;
23634 return 0;
23635 }
23636 _ACEOF
23637 rm -f conftest.$ac_objext
23638 if { (ac_try="$ac_compile"
23639 case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23642 esac
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_compile") 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } && {
23651 test -z "$ac_c_werror_flag" ||
23652 test ! -s conftest.err
23653 } && test -s conftest.$ac_objext; then
23654 ac_lo=$ac_mid; break
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ac_hi=`expr '(' $ac_mid ')' - 1`
23660 if test $ac_mid -le $ac_hi; then
23661 ac_lo= ac_hi=
23662 break
23663 fi
23664 ac_mid=`expr 2 '*' $ac_mid`
23665 fi
23666
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 done
23669 else
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.$ac_ext >&5
23672
23673 ac_lo= ac_hi=
23674 fi
23675
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 fi
23678
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 # Binary search between lo and hi bounds.
23681 while test "x$ac_lo" != "x$ac_hi"; do
23682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23683 cat >conftest.$ac_ext <<_ACEOF
23684 /* confdefs.h. */
23685 _ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef size_t ac__type_sizeof_;
23691 int
23692 main ()
23693 {
23694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23695 test_array [0] = 0
23696
23697 ;
23698 return 0;
23699 }
23700 _ACEOF
23701 rm -f conftest.$ac_objext
23702 if { (ac_try="$ac_compile"
23703 case "(($ac_try" in
23704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23705 *) ac_try_echo=$ac_try;;
23706 esac
23707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23708 (eval "$ac_compile") 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } && {
23715 test -z "$ac_c_werror_flag" ||
23716 test ! -s conftest.err
23717 } && test -s conftest.$ac_objext; then
23718 ac_hi=$ac_mid
23719 else
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23722
23723 ac_lo=`expr '(' $ac_mid ')' + 1`
23724 fi
23725
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 done
23728 case $ac_lo in
23729 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23730 '') if test "$ac_cv_type_size_t" = yes; then
23731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23732 See \`config.log' for more details." >&5
23733 echo "$as_me: error: cannot compute sizeof (size_t)
23734 See \`config.log' for more details." >&2;}
23735 { (exit 77); exit 77; }; }
23736 else
23737 ac_cv_sizeof_size_t=0
23738 fi ;;
23739 esac
23740 else
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 $ac_includes_default
23748 typedef size_t ac__type_sizeof_;
23749 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23750 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23751 #include <stdio.h>
23752 #include <stdlib.h>
23753 int
23754 main ()
23755 {
23756
23757 FILE *f = fopen ("conftest.val", "w");
23758 if (! f)
23759 return 1;
23760 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23761 {
23762 long int i = longval ();
23763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23764 return 1;
23765 fprintf (f, "%ld\n", i);
23766 }
23767 else
23768 {
23769 unsigned long int i = ulongval ();
23770 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23771 return 1;
23772 fprintf (f, "%lu\n", i);
23773 }
23774 return ferror (f) || fclose (f) != 0;
23775
23776 ;
23777 return 0;
23778 }
23779 _ACEOF
23780 rm -f conftest$ac_exeext
23781 if { (ac_try="$ac_link"
23782 case "(($ac_try" in
23783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23784 *) ac_try_echo=$ac_try;;
23785 esac
23786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23787 (eval "$ac_link") 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23791 { (case "(($ac_try" in
23792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23793 *) ac_try_echo=$ac_try;;
23794 esac
23795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796 (eval "$ac_try") 2>&5
23797 ac_status=$?
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; }; then
23800 ac_cv_sizeof_size_t=`cat conftest.val`
23801 else
23802 echo "$as_me: program exited with status $ac_status" >&5
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23805
23806 ( exit $ac_status )
23807 if test "$ac_cv_type_size_t" = yes; then
23808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23809 See \`config.log' for more details." >&5
23810 echo "$as_me: error: cannot compute sizeof (size_t)
23811 See \`config.log' for more details." >&2;}
23812 { (exit 77); exit 77; }; }
23813 else
23814 ac_cv_sizeof_size_t=0
23815 fi
23816 fi
23817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23818 fi
23819 rm -f conftest.val
23820 fi
23821 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23822 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23823
23824
23825
23826 cat >>confdefs.h <<_ACEOF
23827 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23828 _ACEOF
23829
23830
23831
23832 case "${host}" in
23833 arm-*-linux* )
23834 { echo "$as_me:$LINENO: checking for long long" >&5
23835 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23836 if test "${ac_cv_type_long_long+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 else
23839 cat >conftest.$ac_ext <<_ACEOF
23840 /* confdefs.h. */
23841 _ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 $ac_includes_default
23846 typedef long long ac__type_new_;
23847 int
23848 main ()
23849 {
23850 if ((ac__type_new_ *) 0)
23851 return 0;
23852 if (sizeof (ac__type_new_))
23853 return 0;
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23863 esac
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_c_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_cv_type_long_long=yes
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 ac_cv_type_long_long=no
23881 fi
23882
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884 fi
23885 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23886 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23887
23888 # The cast to long int works around a bug in the HP C Compiler
23889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23891 # This bug is HP SR number 8606223364.
23892 { echo "$as_me:$LINENO: checking size of long long" >&5
23893 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23894 if test "${ac_cv_sizeof_long_long+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23896 else
23897 if test "$cross_compiling" = yes; then
23898 # Depending upon the size, compute the lo and hi bounds.
23899 cat >conftest.$ac_ext <<_ACEOF
23900 /* confdefs.h. */
23901 _ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905 $ac_includes_default
23906 typedef long long ac__type_sizeof_;
23907 int
23908 main ()
23909 {
23910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23911 test_array [0] = 0
23912
23913 ;
23914 return 0;
23915 }
23916 _ACEOF
23917 rm -f conftest.$ac_objext
23918 if { (ac_try="$ac_compile"
23919 case "(($ac_try" in
23920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23921 *) ac_try_echo=$ac_try;;
23922 esac
23923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23924 (eval "$ac_compile") 2>conftest.er1
23925 ac_status=$?
23926 grep -v '^ *+' conftest.er1 >conftest.err
23927 rm -f conftest.er1
23928 cat conftest.err >&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } && {
23931 test -z "$ac_c_werror_flag" ||
23932 test ! -s conftest.err
23933 } && test -s conftest.$ac_objext; then
23934 ac_lo=0 ac_mid=0
23935 while :; do
23936 cat >conftest.$ac_ext <<_ACEOF
23937 /* confdefs.h. */
23938 _ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 $ac_includes_default
23943 typedef long long ac__type_sizeof_;
23944 int
23945 main ()
23946 {
23947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23948 test_array [0] = 0
23949
23950 ;
23951 return 0;
23952 }
23953 _ACEOF
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23958 *) ac_try_echo=$ac_try;;
23959 esac
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23962 ac_status=$?
23963 grep -v '^ *+' conftest.er1 >conftest.err
23964 rm -f conftest.er1
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_c_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.$ac_objext; then
23971 ac_hi=$ac_mid; break
23972 else
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 ac_lo=`expr $ac_mid + 1`
23977 if test $ac_lo -le $ac_mid; then
23978 ac_lo= ac_hi=
23979 break
23980 fi
23981 ac_mid=`expr 2 '*' $ac_mid + 1`
23982 fi
23983
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 done
23986 else
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23989
23990 cat >conftest.$ac_ext <<_ACEOF
23991 /* confdefs.h. */
23992 _ACEOF
23993 cat confdefs.h >>conftest.$ac_ext
23994 cat >>conftest.$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 $ac_includes_default
23997 typedef long long ac__type_sizeof_;
23998 int
23999 main ()
24000 {
24001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24002 test_array [0] = 0
24003
24004 ;
24005 return 0;
24006 }
24007 _ACEOF
24008 rm -f conftest.$ac_objext
24009 if { (ac_try="$ac_compile"
24010 case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24013 esac
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_compile") 2>conftest.er1
24016 ac_status=$?
24017 grep -v '^ *+' conftest.er1 >conftest.err
24018 rm -f conftest.er1
24019 cat conftest.err >&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } && {
24022 test -z "$ac_c_werror_flag" ||
24023 test ! -s conftest.err
24024 } && test -s conftest.$ac_objext; then
24025 ac_hi=-1 ac_mid=-1
24026 while :; do
24027 cat >conftest.$ac_ext <<_ACEOF
24028 /* confdefs.h. */
24029 _ACEOF
24030 cat confdefs.h >>conftest.$ac_ext
24031 cat >>conftest.$ac_ext <<_ACEOF
24032 /* end confdefs.h. */
24033 $ac_includes_default
24034 typedef long long ac__type_sizeof_;
24035 int
24036 main ()
24037 {
24038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24039 test_array [0] = 0
24040
24041 ;
24042 return 0;
24043 }
24044 _ACEOF
24045 rm -f conftest.$ac_objext
24046 if { (ac_try="$ac_compile"
24047 case "(($ac_try" in
24048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24049 *) ac_try_echo=$ac_try;;
24050 esac
24051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24052 (eval "$ac_compile") 2>conftest.er1
24053 ac_status=$?
24054 grep -v '^ *+' conftest.er1 >conftest.err
24055 rm -f conftest.er1
24056 cat conftest.err >&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } && {
24059 test -z "$ac_c_werror_flag" ||
24060 test ! -s conftest.err
24061 } && test -s conftest.$ac_objext; then
24062 ac_lo=$ac_mid; break
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 ac_hi=`expr '(' $ac_mid ')' - 1`
24068 if test $ac_mid -le $ac_hi; then
24069 ac_lo= ac_hi=
24070 break
24071 fi
24072 ac_mid=`expr 2 '*' $ac_mid`
24073 fi
24074
24075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24076 done
24077 else
24078 echo "$as_me: failed program was:" >&5
24079 sed 's/^/| /' conftest.$ac_ext >&5
24080
24081 ac_lo= ac_hi=
24082 fi
24083
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 fi
24086
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 # Binary search between lo and hi bounds.
24089 while test "x$ac_lo" != "x$ac_hi"; do
24090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24091 cat >conftest.$ac_ext <<_ACEOF
24092 /* confdefs.h. */
24093 _ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 $ac_includes_default
24098 typedef long long ac__type_sizeof_;
24099 int
24100 main ()
24101 {
24102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24103 test_array [0] = 0
24104
24105 ;
24106 return 0;
24107 }
24108 _ACEOF
24109 rm -f conftest.$ac_objext
24110 if { (ac_try="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24114 esac
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24117 ac_status=$?
24118 grep -v '^ *+' conftest.er1 >conftest.err
24119 rm -f conftest.er1
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_c_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24126 ac_hi=$ac_mid
24127 else
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24130
24131 ac_lo=`expr '(' $ac_mid ')' + 1`
24132 fi
24133
24134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24135 done
24136 case $ac_lo in
24137 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24138 '') if test "$ac_cv_type_long_long" = yes; then
24139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24140 See \`config.log' for more details." >&5
24141 echo "$as_me: error: cannot compute sizeof (long long)
24142 See \`config.log' for more details." >&2;}
24143 { (exit 77); exit 77; }; }
24144 else
24145 ac_cv_sizeof_long_long=0
24146 fi ;;
24147 esac
24148 else
24149 cat >conftest.$ac_ext <<_ACEOF
24150 /* confdefs.h. */
24151 _ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24155 $ac_includes_default
24156 typedef long long ac__type_sizeof_;
24157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24159 #include <stdio.h>
24160 #include <stdlib.h>
24161 int
24162 main ()
24163 {
24164
24165 FILE *f = fopen ("conftest.val", "w");
24166 if (! f)
24167 return 1;
24168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24169 {
24170 long int i = longval ();
24171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24172 return 1;
24173 fprintf (f, "%ld\n", i);
24174 }
24175 else
24176 {
24177 unsigned long int i = ulongval ();
24178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24179 return 1;
24180 fprintf (f, "%lu\n", i);
24181 }
24182 return ferror (f) || fclose (f) != 0;
24183
24184 ;
24185 return 0;
24186 }
24187 _ACEOF
24188 rm -f conftest$ac_exeext
24189 if { (ac_try="$ac_link"
24190 case "(($ac_try" in
24191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24192 *) ac_try_echo=$ac_try;;
24193 esac
24194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24195 (eval "$ac_link") 2>&5
24196 ac_status=$?
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24199 { (case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24202 esac
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_try") 2>&5
24205 ac_status=$?
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); }; }; then
24208 ac_cv_sizeof_long_long=`cat conftest.val`
24209 else
24210 echo "$as_me: program exited with status $ac_status" >&5
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214 ( exit $ac_status )
24215 if test "$ac_cv_type_long_long" = yes; then
24216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24217 See \`config.log' for more details." >&5
24218 echo "$as_me: error: cannot compute sizeof (long long)
24219 See \`config.log' for more details." >&2;}
24220 { (exit 77); exit 77; }; }
24221 else
24222 ac_cv_sizeof_long_long=0
24223 fi
24224 fi
24225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24226 fi
24227 rm -f conftest.val
24228 fi
24229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24230 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24231
24232
24233
24234 cat >>confdefs.h <<_ACEOF
24235 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24236 _ACEOF
24237
24238
24239 ;;
24240 *-hp-hpux* )
24241 { echo "$as_me:$LINENO: checking for long long" >&5
24242 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24243 if test "${ac_cv_type_long_long+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 else
24246 cat >conftest.$ac_ext <<_ACEOF
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252 $ac_includes_default
24253 typedef long long ac__type_new_;
24254 int
24255 main ()
24256 {
24257 if ((ac__type_new_ *) 0)
24258 return 0;
24259 if (sizeof (ac__type_new_))
24260 return 0;
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24270 esac
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24273 ac_status=$?
24274 grep -v '^ *+' conftest.er1 >conftest.err
24275 rm -f conftest.er1
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_c_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24282 ac_cv_type_long_long=yes
24283 else
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24286
24287 ac_cv_type_long_long=no
24288 fi
24289
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 fi
24292 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24293 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24294
24295 # The cast to long int works around a bug in the HP C Compiler
24296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24298 # This bug is HP SR number 8606223364.
24299 { echo "$as_me:$LINENO: checking size of long long" >&5
24300 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24301 if test "${ac_cv_sizeof_long_long+set}" = set; then
24302 echo $ECHO_N "(cached) $ECHO_C" >&6
24303 else
24304 if test "$cross_compiling" = yes; then
24305 # Depending upon the size, compute the lo and hi bounds.
24306 cat >conftest.$ac_ext <<_ACEOF
24307 /* confdefs.h. */
24308 _ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 $ac_includes_default
24313 typedef long long ac__type_sizeof_;
24314 int
24315 main ()
24316 {
24317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24318 test_array [0] = 0
24319
24320 ;
24321 return 0;
24322 }
24323 _ACEOF
24324 rm -f conftest.$ac_objext
24325 if { (ac_try="$ac_compile"
24326 case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24329 esac
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_compile") 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } && {
24338 test -z "$ac_c_werror_flag" ||
24339 test ! -s conftest.err
24340 } && test -s conftest.$ac_objext; then
24341 ac_lo=0 ac_mid=0
24342 while :; do
24343 cat >conftest.$ac_ext <<_ACEOF
24344 /* confdefs.h. */
24345 _ACEOF
24346 cat confdefs.h >>conftest.$ac_ext
24347 cat >>conftest.$ac_ext <<_ACEOF
24348 /* end confdefs.h. */
24349 $ac_includes_default
24350 typedef long long ac__type_sizeof_;
24351 int
24352 main ()
24353 {
24354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24355 test_array [0] = 0
24356
24357 ;
24358 return 0;
24359 }
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (ac_try="$ac_compile"
24363 case "(($ac_try" in
24364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24365 *) ac_try_echo=$ac_try;;
24366 esac
24367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24368 (eval "$ac_compile") 2>conftest.er1
24369 ac_status=$?
24370 grep -v '^ *+' conftest.er1 >conftest.err
24371 rm -f conftest.er1
24372 cat conftest.err >&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } && {
24375 test -z "$ac_c_werror_flag" ||
24376 test ! -s conftest.err
24377 } && test -s conftest.$ac_objext; then
24378 ac_hi=$ac_mid; break
24379 else
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.$ac_ext >&5
24382
24383 ac_lo=`expr $ac_mid + 1`
24384 if test $ac_lo -le $ac_mid; then
24385 ac_lo= ac_hi=
24386 break
24387 fi
24388 ac_mid=`expr 2 '*' $ac_mid + 1`
24389 fi
24390
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 done
24393 else
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24396
24397 cat >conftest.$ac_ext <<_ACEOF
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403 $ac_includes_default
24404 typedef long long ac__type_sizeof_;
24405 int
24406 main ()
24407 {
24408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24409 test_array [0] = 0
24410
24411 ;
24412 return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (ac_try="$ac_compile"
24417 case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24420 esac
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_compile") 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_c_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest.$ac_objext; then
24432 ac_hi=-1 ac_mid=-1
24433 while :; do
24434 cat >conftest.$ac_ext <<_ACEOF
24435 /* confdefs.h. */
24436 _ACEOF
24437 cat confdefs.h >>conftest.$ac_ext
24438 cat >>conftest.$ac_ext <<_ACEOF
24439 /* end confdefs.h. */
24440 $ac_includes_default
24441 typedef long long ac__type_sizeof_;
24442 int
24443 main ()
24444 {
24445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24446 test_array [0] = 0
24447
24448 ;
24449 return 0;
24450 }
24451 _ACEOF
24452 rm -f conftest.$ac_objext
24453 if { (ac_try="$ac_compile"
24454 case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456 *) ac_try_echo=$ac_try;;
24457 esac
24458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459 (eval "$ac_compile") 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && {
24466 test -z "$ac_c_werror_flag" ||
24467 test ! -s conftest.err
24468 } && test -s conftest.$ac_objext; then
24469 ac_lo=$ac_mid; break
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 ac_hi=`expr '(' $ac_mid ')' - 1`
24475 if test $ac_mid -le $ac_hi; then
24476 ac_lo= ac_hi=
24477 break
24478 fi
24479 ac_mid=`expr 2 '*' $ac_mid`
24480 fi
24481
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 done
24484 else
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24487
24488 ac_lo= ac_hi=
24489 fi
24490
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 fi
24493
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 # Binary search between lo and hi bounds.
24496 while test "x$ac_lo" != "x$ac_hi"; do
24497 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h. */
24500 _ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 $ac_includes_default
24505 typedef long long ac__type_sizeof_;
24506 int
24507 main ()
24508 {
24509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24510 test_array [0] = 0
24511
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 rm -f conftest.$ac_objext
24517 if { (ac_try="$ac_compile"
24518 case "(($ac_try" in
24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24520 *) ac_try_echo=$ac_try;;
24521 esac
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24523 (eval "$ac_compile") 2>conftest.er1
24524 ac_status=$?
24525 grep -v '^ *+' conftest.er1 >conftest.err
24526 rm -f conftest.er1
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } && {
24530 test -z "$ac_c_werror_flag" ||
24531 test ! -s conftest.err
24532 } && test -s conftest.$ac_objext; then
24533 ac_hi=$ac_mid
24534 else
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24537
24538 ac_lo=`expr '(' $ac_mid ')' + 1`
24539 fi
24540
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 done
24543 case $ac_lo in
24544 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24545 '') if test "$ac_cv_type_long_long" = yes; then
24546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24547 See \`config.log' for more details." >&5
24548 echo "$as_me: error: cannot compute sizeof (long long)
24549 See \`config.log' for more details." >&2;}
24550 { (exit 77); exit 77; }; }
24551 else
24552 ac_cv_sizeof_long_long=0
24553 fi ;;
24554 esac
24555 else
24556 cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h. */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 $ac_includes_default
24563 typedef long long ac__type_sizeof_;
24564 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24565 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24566 #include <stdio.h>
24567 #include <stdlib.h>
24568 int
24569 main ()
24570 {
24571
24572 FILE *f = fopen ("conftest.val", "w");
24573 if (! f)
24574 return 1;
24575 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24576 {
24577 long int i = longval ();
24578 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24579 return 1;
24580 fprintf (f, "%ld\n", i);
24581 }
24582 else
24583 {
24584 unsigned long int i = ulongval ();
24585 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24586 return 1;
24587 fprintf (f, "%lu\n", i);
24588 }
24589 return ferror (f) || fclose (f) != 0;
24590
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 rm -f conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24600 esac
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>&5
24603 ac_status=$?
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24606 { (case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24609 esac
24610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_try") 2>&5
24612 ac_status=$?
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 ac_cv_sizeof_long_long=`cat conftest.val`
24616 else
24617 echo "$as_me: program exited with status $ac_status" >&5
24618 echo "$as_me: failed program was:" >&5
24619 sed 's/^/| /' conftest.$ac_ext >&5
24620
24621 ( exit $ac_status )
24622 if test "$ac_cv_type_long_long" = yes; then
24623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24624 See \`config.log' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (long long)
24626 See \`config.log' for more details." >&2;}
24627 { (exit 77); exit 77; }; }
24628 else
24629 ac_cv_sizeof_long_long=0
24630 fi
24631 fi
24632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24633 fi
24634 rm -f conftest.val
24635 fi
24636 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24637 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24638
24639
24640
24641 cat >>confdefs.h <<_ACEOF
24642 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24643 _ACEOF
24644
24645
24646 if test "$ac_cv_sizeof_long_long" != 0; then
24647 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24648 fi
24649 ;;
24650 * )
24651 { echo "$as_me:$LINENO: checking for long long" >&5
24652 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24653 if test "${ac_cv_type_long_long+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 else
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 $ac_includes_default
24663 typedef long long ac__type_new_;
24664 int
24665 main ()
24666 {
24667 if ((ac__type_new_ *) 0)
24668 return 0;
24669 if (sizeof (ac__type_new_))
24670 return 0;
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext
24676 if { (ac_try="$ac_compile"
24677 case "(($ac_try" in
24678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679 *) ac_try_echo=$ac_try;;
24680 esac
24681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682 (eval "$ac_compile") 2>conftest.er1
24683 ac_status=$?
24684 grep -v '^ *+' conftest.er1 >conftest.err
24685 rm -f conftest.er1
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } && {
24689 test -z "$ac_c_werror_flag" ||
24690 test ! -s conftest.err
24691 } && test -s conftest.$ac_objext; then
24692 ac_cv_type_long_long=yes
24693 else
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.$ac_ext >&5
24696
24697 ac_cv_type_long_long=no
24698 fi
24699
24700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24701 fi
24702 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24703 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24704
24705 # The cast to long int works around a bug in the HP C Compiler
24706 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24707 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24708 # This bug is HP SR number 8606223364.
24709 { echo "$as_me:$LINENO: checking size of long long" >&5
24710 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24711 if test "${ac_cv_sizeof_long_long+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 else
24714 if test "$cross_compiling" = yes; then
24715 # Depending upon the size, compute the lo and hi bounds.
24716 cat >conftest.$ac_ext <<_ACEOF
24717 /* confdefs.h. */
24718 _ACEOF
24719 cat confdefs.h >>conftest.$ac_ext
24720 cat >>conftest.$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 $ac_includes_default
24723 typedef long long ac__type_sizeof_;
24724 int
24725 main ()
24726 {
24727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24728 test_array [0] = 0
24729
24730 ;
24731 return 0;
24732 }
24733 _ACEOF
24734 rm -f conftest.$ac_objext
24735 if { (ac_try="$ac_compile"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24739 esac
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_compile") 2>conftest.er1
24742 ac_status=$?
24743 grep -v '^ *+' conftest.er1 >conftest.err
24744 rm -f conftest.er1
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_c_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then
24751 ac_lo=0 ac_mid=0
24752 while :; do
24753 cat >conftest.$ac_ext <<_ACEOF
24754 /* confdefs.h. */
24755 _ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 $ac_includes_default
24760 typedef long long ac__type_sizeof_;
24761 int
24762 main ()
24763 {
24764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24765 test_array [0] = 0
24766
24767 ;
24768 return 0;
24769 }
24770 _ACEOF
24771 rm -f conftest.$ac_objext
24772 if { (ac_try="$ac_compile"
24773 case "(($ac_try" in
24774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24775 *) ac_try_echo=$ac_try;;
24776 esac
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24778 (eval "$ac_compile") 2>conftest.er1
24779 ac_status=$?
24780 grep -v '^ *+' conftest.er1 >conftest.err
24781 rm -f conftest.er1
24782 cat conftest.err >&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } && {
24785 test -z "$ac_c_werror_flag" ||
24786 test ! -s conftest.err
24787 } && test -s conftest.$ac_objext; then
24788 ac_hi=$ac_mid; break
24789 else
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.$ac_ext >&5
24792
24793 ac_lo=`expr $ac_mid + 1`
24794 if test $ac_lo -le $ac_mid; then
24795 ac_lo= ac_hi=
24796 break
24797 fi
24798 ac_mid=`expr 2 '*' $ac_mid + 1`
24799 fi
24800
24801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24802 done
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 cat >conftest.$ac_ext <<_ACEOF
24808 /* confdefs.h. */
24809 _ACEOF
24810 cat confdefs.h >>conftest.$ac_ext
24811 cat >>conftest.$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24813 $ac_includes_default
24814 typedef long long ac__type_sizeof_;
24815 int
24816 main ()
24817 {
24818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24819 test_array [0] = 0
24820
24821 ;
24822 return 0;
24823 }
24824 _ACEOF
24825 rm -f conftest.$ac_objext
24826 if { (ac_try="$ac_compile"
24827 case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24830 esac
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_compile") 2>conftest.er1
24833 ac_status=$?
24834 grep -v '^ *+' conftest.er1 >conftest.err
24835 rm -f conftest.er1
24836 cat conftest.err >&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } && {
24839 test -z "$ac_c_werror_flag" ||
24840 test ! -s conftest.err
24841 } && test -s conftest.$ac_objext; then
24842 ac_hi=-1 ac_mid=-1
24843 while :; do
24844 cat >conftest.$ac_ext <<_ACEOF
24845 /* confdefs.h. */
24846 _ACEOF
24847 cat confdefs.h >>conftest.$ac_ext
24848 cat >>conftest.$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24850 $ac_includes_default
24851 typedef long long ac__type_sizeof_;
24852 int
24853 main ()
24854 {
24855 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24856 test_array [0] = 0
24857
24858 ;
24859 return 0;
24860 }
24861 _ACEOF
24862 rm -f conftest.$ac_objext
24863 if { (ac_try="$ac_compile"
24864 case "(($ac_try" in
24865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24866 *) ac_try_echo=$ac_try;;
24867 esac
24868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24869 (eval "$ac_compile") 2>conftest.er1
24870 ac_status=$?
24871 grep -v '^ *+' conftest.er1 >conftest.err
24872 rm -f conftest.er1
24873 cat conftest.err >&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } && {
24876 test -z "$ac_c_werror_flag" ||
24877 test ! -s conftest.err
24878 } && test -s conftest.$ac_objext; then
24879 ac_lo=$ac_mid; break
24880 else
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884 ac_hi=`expr '(' $ac_mid ')' - 1`
24885 if test $ac_mid -le $ac_hi; then
24886 ac_lo= ac_hi=
24887 break
24888 fi
24889 ac_mid=`expr 2 '*' $ac_mid`
24890 fi
24891
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 done
24894 else
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.$ac_ext >&5
24897
24898 ac_lo= ac_hi=
24899 fi
24900
24901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24902 fi
24903
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 # Binary search between lo and hi bounds.
24906 while test "x$ac_lo" != "x$ac_hi"; do
24907 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24908 cat >conftest.$ac_ext <<_ACEOF
24909 /* confdefs.h. */
24910 _ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914 $ac_includes_default
24915 typedef long long ac__type_sizeof_;
24916 int
24917 main ()
24918 {
24919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24920 test_array [0] = 0
24921
24922 ;
24923 return 0;
24924 }
24925 _ACEOF
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24931 esac
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24934 ac_status=$?
24935 grep -v '^ *+' conftest.er1 >conftest.err
24936 rm -f conftest.er1
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_c_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24943 ac_hi=$ac_mid
24944 else
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24947
24948 ac_lo=`expr '(' $ac_mid ')' + 1`
24949 fi
24950
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952 done
24953 case $ac_lo in
24954 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24955 '') if test "$ac_cv_type_long_long" = yes; then
24956 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24957 See \`config.log' for more details." >&5
24958 echo "$as_me: error: cannot compute sizeof (long long)
24959 See \`config.log' for more details." >&2;}
24960 { (exit 77); exit 77; }; }
24961 else
24962 ac_cv_sizeof_long_long=0
24963 fi ;;
24964 esac
24965 else
24966 cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h. */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 $ac_includes_default
24973 typedef long long ac__type_sizeof_;
24974 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24975 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24976 #include <stdio.h>
24977 #include <stdlib.h>
24978 int
24979 main ()
24980 {
24981
24982 FILE *f = fopen ("conftest.val", "w");
24983 if (! f)
24984 return 1;
24985 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24986 {
24987 long int i = longval ();
24988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24989 return 1;
24990 fprintf (f, "%ld\n", i);
24991 }
24992 else
24993 {
24994 unsigned long int i = ulongval ();
24995 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24996 return 1;
24997 fprintf (f, "%lu\n", i);
24998 }
24999 return ferror (f) || fclose (f) != 0;
25000
25001 ;
25002 return 0;
25003 }
25004 _ACEOF
25005 rm -f conftest$ac_exeext
25006 if { (ac_try="$ac_link"
25007 case "(($ac_try" in
25008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25009 *) ac_try_echo=$ac_try;;
25010 esac
25011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25012 (eval "$ac_link") 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25016 { (case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25019 esac
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_try") 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_sizeof_long_long=`cat conftest.val`
25026 else
25027 echo "$as_me: program exited with status $ac_status" >&5
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25030
25031 ( exit $ac_status )
25032 if test "$ac_cv_type_long_long" = yes; then
25033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25034 See \`config.log' for more details." >&5
25035 echo "$as_me: error: cannot compute sizeof (long long)
25036 See \`config.log' for more details." >&2;}
25037 { (exit 77); exit 77; }; }
25038 else
25039 ac_cv_sizeof_long_long=0
25040 fi
25041 fi
25042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25043 fi
25044 rm -f conftest.val
25045 fi
25046 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25047 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25048
25049
25050
25051 cat >>confdefs.h <<_ACEOF
25052 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25053 _ACEOF
25054
25055
25056 esac
25057
25058 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25059 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25060 if test "${ac_cv_type_wchar_t+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 else
25063 cat >conftest.$ac_ext <<_ACEOF
25064 /* confdefs.h. */
25065 _ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25069
25070 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25071 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25072 # error "fake wchar_t"
25073 #endif
25074 #ifdef HAVE_WCHAR_H
25075 # ifdef __CYGWIN__
25076 # include <stddef.h>
25077 # endif
25078 # include <wchar.h>
25079 #endif
25080 #ifdef HAVE_STDLIB_H
25081 # include <stdlib.h>
25082 #endif
25083 #include <stdio.h>
25084
25085
25086
25087 typedef wchar_t ac__type_new_;
25088 int
25089 main ()
25090 {
25091 if ((ac__type_new_ *) 0)
25092 return 0;
25093 if (sizeof (ac__type_new_))
25094 return 0;
25095 ;
25096 return 0;
25097 }
25098 _ACEOF
25099 rm -f conftest.$ac_objext
25100 if { (ac_try="$ac_compile"
25101 case "(($ac_try" in
25102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25103 *) ac_try_echo=$ac_try;;
25104 esac
25105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25106 (eval "$ac_compile") 2>conftest.er1
25107 ac_status=$?
25108 grep -v '^ *+' conftest.er1 >conftest.err
25109 rm -f conftest.er1
25110 cat conftest.err >&5
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); } && {
25113 test -z "$ac_c_werror_flag" ||
25114 test ! -s conftest.err
25115 } && test -s conftest.$ac_objext; then
25116 ac_cv_type_wchar_t=yes
25117 else
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.$ac_ext >&5
25120
25121 ac_cv_type_wchar_t=no
25122 fi
25123
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25125 fi
25126 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25127 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25128
25129 # The cast to long int works around a bug in the HP C Compiler
25130 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25131 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25132 # This bug is HP SR number 8606223364.
25133 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25134 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25135 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 else
25138 if test "$cross_compiling" = yes; then
25139 # Depending upon the size, compute the lo and hi bounds.
25140 cat >conftest.$ac_ext <<_ACEOF
25141 /* confdefs.h. */
25142 _ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146
25147 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25148 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25149 # error "fake wchar_t"
25150 #endif
25151 #ifdef HAVE_WCHAR_H
25152 # ifdef __CYGWIN__
25153 # include <stddef.h>
25154 # endif
25155 # include <wchar.h>
25156 #endif
25157 #ifdef HAVE_STDLIB_H
25158 # include <stdlib.h>
25159 #endif
25160 #include <stdio.h>
25161
25162
25163
25164 typedef wchar_t ac__type_sizeof_;
25165 int
25166 main ()
25167 {
25168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25169 test_array [0] = 0
25170
25171 ;
25172 return 0;
25173 }
25174 _ACEOF
25175 rm -f conftest.$ac_objext
25176 if { (ac_try="$ac_compile"
25177 case "(($ac_try" in
25178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25179 *) ac_try_echo=$ac_try;;
25180 esac
25181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25182 (eval "$ac_compile") 2>conftest.er1
25183 ac_status=$?
25184 grep -v '^ *+' conftest.er1 >conftest.err
25185 rm -f conftest.er1
25186 cat conftest.err >&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } && {
25189 test -z "$ac_c_werror_flag" ||
25190 test ! -s conftest.err
25191 } && test -s conftest.$ac_objext; then
25192 ac_lo=0 ac_mid=0
25193 while :; do
25194 cat >conftest.$ac_ext <<_ACEOF
25195 /* confdefs.h. */
25196 _ACEOF
25197 cat confdefs.h >>conftest.$ac_ext
25198 cat >>conftest.$ac_ext <<_ACEOF
25199 /* end confdefs.h. */
25200
25201 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25202 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25203 # error "fake wchar_t"
25204 #endif
25205 #ifdef HAVE_WCHAR_H
25206 # ifdef __CYGWIN__
25207 # include <stddef.h>
25208 # endif
25209 # include <wchar.h>
25210 #endif
25211 #ifdef HAVE_STDLIB_H
25212 # include <stdlib.h>
25213 #endif
25214 #include <stdio.h>
25215
25216
25217
25218 typedef wchar_t ac__type_sizeof_;
25219 int
25220 main ()
25221 {
25222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25223 test_array [0] = 0
25224
25225 ;
25226 return 0;
25227 }
25228 _ACEOF
25229 rm -f conftest.$ac_objext
25230 if { (ac_try="$ac_compile"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233 *) ac_try_echo=$ac_try;;
25234 esac
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_compile") 2>conftest.er1
25237 ac_status=$?
25238 grep -v '^ *+' conftest.er1 >conftest.err
25239 rm -f conftest.er1
25240 cat conftest.err >&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } && {
25243 test -z "$ac_c_werror_flag" ||
25244 test ! -s conftest.err
25245 } && test -s conftest.$ac_objext; then
25246 ac_hi=$ac_mid; break
25247 else
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25250
25251 ac_lo=`expr $ac_mid + 1`
25252 if test $ac_lo -le $ac_mid; then
25253 ac_lo= ac_hi=
25254 break
25255 fi
25256 ac_mid=`expr 2 '*' $ac_mid + 1`
25257 fi
25258
25259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25260 done
25261 else
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25264
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271
25272 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25273 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25274 # error "fake wchar_t"
25275 #endif
25276 #ifdef HAVE_WCHAR_H
25277 # ifdef __CYGWIN__
25278 # include <stddef.h>
25279 # endif
25280 # include <wchar.h>
25281 #endif
25282 #ifdef HAVE_STDLIB_H
25283 # include <stdlib.h>
25284 #endif
25285 #include <stdio.h>
25286
25287
25288
25289 typedef wchar_t ac__type_sizeof_;
25290 int
25291 main ()
25292 {
25293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25294 test_array [0] = 0
25295
25296 ;
25297 return 0;
25298 }
25299 _ACEOF
25300 rm -f conftest.$ac_objext
25301 if { (ac_try="$ac_compile"
25302 case "(($ac_try" in
25303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25304 *) ac_try_echo=$ac_try;;
25305 esac
25306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25307 (eval "$ac_compile") 2>conftest.er1
25308 ac_status=$?
25309 grep -v '^ *+' conftest.er1 >conftest.err
25310 rm -f conftest.er1
25311 cat conftest.err >&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest.$ac_objext; then
25317 ac_hi=-1 ac_mid=-1
25318 while :; do
25319 cat >conftest.$ac_ext <<_ACEOF
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325
25326 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25327 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25328 # error "fake wchar_t"
25329 #endif
25330 #ifdef HAVE_WCHAR_H
25331 # ifdef __CYGWIN__
25332 # include <stddef.h>
25333 # endif
25334 # include <wchar.h>
25335 #endif
25336 #ifdef HAVE_STDLIB_H
25337 # include <stdlib.h>
25338 #endif
25339 #include <stdio.h>
25340
25341
25342
25343 typedef wchar_t ac__type_sizeof_;
25344 int
25345 main ()
25346 {
25347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25348 test_array [0] = 0
25349
25350 ;
25351 return 0;
25352 }
25353 _ACEOF
25354 rm -f conftest.$ac_objext
25355 if { (ac_try="$ac_compile"
25356 case "(($ac_try" in
25357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25358 *) ac_try_echo=$ac_try;;
25359 esac
25360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25361 (eval "$ac_compile") 2>conftest.er1
25362 ac_status=$?
25363 grep -v '^ *+' conftest.er1 >conftest.err
25364 rm -f conftest.er1
25365 cat conftest.err >&5
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); } && {
25368 test -z "$ac_c_werror_flag" ||
25369 test ! -s conftest.err
25370 } && test -s conftest.$ac_objext; then
25371 ac_lo=$ac_mid; break
25372 else
25373 echo "$as_me: failed program was:" >&5
25374 sed 's/^/| /' conftest.$ac_ext >&5
25375
25376 ac_hi=`expr '(' $ac_mid ')' - 1`
25377 if test $ac_mid -le $ac_hi; then
25378 ac_lo= ac_hi=
25379 break
25380 fi
25381 ac_mid=`expr 2 '*' $ac_mid`
25382 fi
25383
25384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25385 done
25386 else
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.$ac_ext >&5
25389
25390 ac_lo= ac_hi=
25391 fi
25392
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 fi
25395
25396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25397 # Binary search between lo and hi bounds.
25398 while test "x$ac_lo" != "x$ac_hi"; do
25399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25400 cat >conftest.$ac_ext <<_ACEOF
25401 /* confdefs.h. */
25402 _ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25406
25407 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25408 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25409 # error "fake wchar_t"
25410 #endif
25411 #ifdef HAVE_WCHAR_H
25412 # ifdef __CYGWIN__
25413 # include <stddef.h>
25414 # endif
25415 # include <wchar.h>
25416 #endif
25417 #ifdef HAVE_STDLIB_H
25418 # include <stdlib.h>
25419 #endif
25420 #include <stdio.h>
25421
25422
25423
25424 typedef wchar_t ac__type_sizeof_;
25425 int
25426 main ()
25427 {
25428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25429 test_array [0] = 0
25430
25431 ;
25432 return 0;
25433 }
25434 _ACEOF
25435 rm -f conftest.$ac_objext
25436 if { (ac_try="$ac_compile"
25437 case "(($ac_try" in
25438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25439 *) ac_try_echo=$ac_try;;
25440 esac
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_compile") 2>conftest.er1
25443 ac_status=$?
25444 grep -v '^ *+' conftest.er1 >conftest.err
25445 rm -f conftest.er1
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_c_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest.$ac_objext; then
25452 ac_hi=$ac_mid
25453 else
25454 echo "$as_me: failed program was:" >&5
25455 sed 's/^/| /' conftest.$ac_ext >&5
25456
25457 ac_lo=`expr '(' $ac_mid ')' + 1`
25458 fi
25459
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 done
25462 case $ac_lo in
25463 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25464 '') if test "$ac_cv_type_wchar_t" = yes; then
25465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25466 See \`config.log' for more details." >&5
25467 echo "$as_me: error: cannot compute sizeof (wchar_t)
25468 See \`config.log' for more details." >&2;}
25469 { (exit 77); exit 77; }; }
25470 else
25471 ac_cv_sizeof_wchar_t=0
25472 fi ;;
25473 esac
25474 else
25475 cat >conftest.$ac_ext <<_ACEOF
25476 /* confdefs.h. */
25477 _ACEOF
25478 cat confdefs.h >>conftest.$ac_ext
25479 cat >>conftest.$ac_ext <<_ACEOF
25480 /* end confdefs.h. */
25481
25482 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25483 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25484 # error "fake wchar_t"
25485 #endif
25486 #ifdef HAVE_WCHAR_H
25487 # ifdef __CYGWIN__
25488 # include <stddef.h>
25489 # endif
25490 # include <wchar.h>
25491 #endif
25492 #ifdef HAVE_STDLIB_H
25493 # include <stdlib.h>
25494 #endif
25495 #include <stdio.h>
25496
25497
25498
25499 typedef wchar_t ac__type_sizeof_;
25500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25502 #include <stdio.h>
25503 #include <stdlib.h>
25504 int
25505 main ()
25506 {
25507
25508 FILE *f = fopen ("conftest.val", "w");
25509 if (! f)
25510 return 1;
25511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25512 {
25513 long int i = longval ();
25514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25515 return 1;
25516 fprintf (f, "%ld\n", i);
25517 }
25518 else
25519 {
25520 unsigned long int i = ulongval ();
25521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25522 return 1;
25523 fprintf (f, "%lu\n", i);
25524 }
25525 return ferror (f) || fclose (f) != 0;
25526
25527 ;
25528 return 0;
25529 }
25530 _ACEOF
25531 rm -f conftest$ac_exeext
25532 if { (ac_try="$ac_link"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25536 esac
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_link") 2>&5
25539 ac_status=$?
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25542 { (case "(($ac_try" in
25543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25544 *) ac_try_echo=$ac_try;;
25545 esac
25546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25547 (eval "$ac_try") 2>&5
25548 ac_status=$?
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 ac_cv_sizeof_wchar_t=`cat conftest.val`
25552 else
25553 echo "$as_me: program exited with status $ac_status" >&5
25554 echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.$ac_ext >&5
25556
25557 ( exit $ac_status )
25558 if test "$ac_cv_type_wchar_t" = yes; then
25559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25560 See \`config.log' for more details." >&5
25561 echo "$as_me: error: cannot compute sizeof (wchar_t)
25562 See \`config.log' for more details." >&2;}
25563 { (exit 77); exit 77; }; }
25564 else
25565 ac_cv_sizeof_wchar_t=0
25566 fi
25567 fi
25568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25569 fi
25570 rm -f conftest.val
25571 fi
25572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25573 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25574
25575
25576
25577 cat >>confdefs.h <<_ACEOF
25578 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25579 _ACEOF
25580
25581
25582 if test "$ac_cv_sizeof_wchar_t" != 0; then
25583 wxUSE_WCHAR_T=yes
25584 else
25585 wxUSE_WCHAR_T=no
25586 fi
25587
25588 { echo "$as_me:$LINENO: checking for va_copy" >&5
25589 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25590 if test "${wx_cv_func_va_copy+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 else
25593
25594 ac_ext=cpp
25595 ac_cpp='$CXXCPP $CPPFLAGS'
25596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25599
25600 cat >conftest.$ac_ext <<_ACEOF
25601
25602 #include <stdarg.h>
25603 void foo(char *f, ...)
25604 {
25605 va_list ap1, ap2;
25606 va_start(ap1, f);
25607 va_copy(ap2, ap1);
25608 va_end(ap2);
25609 va_end(ap1);
25610 }
25611 int main()
25612 {
25613 foo("hi", 17);
25614 return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest$ac_exeext &&
25634 $as_test_x conftest$ac_exeext; then
25635 wx_cv_func_va_copy=yes
25636 else
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25639
25640 wx_cv_func_va_copy=no
25641
25642 fi
25643
25644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25645 conftest$ac_exeext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651
25652
25653
25654 fi
25655 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25656 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25657
25658 if test $wx_cv_func_va_copy = "yes"; then
25659 cat >>confdefs.h <<\_ACEOF
25660 #define HAVE_VA_COPY 1
25661 _ACEOF
25662
25663 else
25664 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25665 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25666 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25667 echo $ECHO_N "(cached) $ECHO_C" >&6
25668 else
25669
25670 if test "$cross_compiling" = yes; then
25671 wx_cv_type_va_list_lvalue=yes
25672
25673 else
25674 cat >conftest.$ac_ext <<_ACEOF
25675
25676 #include <stdarg.h>
25677 int foo(char *f, ...)
25678 {
25679 va_list ap1, ap2;
25680 va_start(ap1, f);
25681 ap2 = ap1;
25682 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25683 return 1;
25684 va_end(ap2);
25685 va_end(ap1);
25686 return 0;
25687 }
25688 int main()
25689 {
25690 return foo("hi", 17);
25691 }
25692 _ACEOF
25693 rm -f conftest$ac_exeext
25694 if { (ac_try="$ac_link"
25695 case "(($ac_try" in
25696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25697 *) ac_try_echo=$ac_try;;
25698 esac
25699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25700 (eval "$ac_link") 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25704 { (case "(($ac_try" in
25705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25706 *) ac_try_echo=$ac_try;;
25707 esac
25708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25709 (eval "$ac_try") 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; }; then
25713 wx_cv_type_va_list_lvalue=yes
25714 else
25715 echo "$as_me: program exited with status $ac_status" >&5
25716 echo "$as_me: failed program was:" >&5
25717 sed 's/^/| /' conftest.$ac_ext >&5
25718
25719 ( exit $ac_status )
25720 wx_cv_type_va_list_lvalue=no
25721 fi
25722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25723 fi
25724
25725
25726
25727
25728 fi
25729 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25730 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25731
25732 if test $wx_cv_type_va_list_lvalue != "yes"; then
25733 cat >>confdefs.h <<\_ACEOF
25734 #define VA_LIST_IS_ARRAY 1
25735 _ACEOF
25736
25737 fi
25738 fi
25739
25740 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25741
25742 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25743 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25744 if test "${wx_cv_have_variadic_macros+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747
25748 ac_ext=cpp
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753
25754 cat >conftest.$ac_ext <<_ACEOF
25755 /* confdefs.h. */
25756 _ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25760
25761 #include <stdio.h>
25762 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25763
25764 int
25765 main ()
25766 {
25767
25768 test("%s %d %p", "test", 1, 0);
25769
25770
25771 ;
25772 return 0;
25773 }
25774 _ACEOF
25775 rm -f conftest.$ac_objext
25776 if { (ac_try="$ac_compile"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25779 *) ac_try_echo=$ac_try;;
25780 esac
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_compile") 2>conftest.er1
25783 ac_status=$?
25784 grep -v '^ *+' conftest.er1 >conftest.err
25785 rm -f conftest.er1
25786 cat conftest.err >&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } && {
25789 test -z "$ac_cxx_werror_flag" ||
25790 test ! -s conftest.err
25791 } && test -s conftest.$ac_objext; then
25792 wx_cv_have_variadic_macros=yes
25793 else
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.$ac_ext >&5
25796
25797 wx_cv_have_variadic_macros=no
25798
25799 fi
25800
25801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25802 ac_ext=c
25803 ac_cpp='$CPP $CPPFLAGS'
25804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807
25808
25809
25810 fi
25811 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25812 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25813
25814 if test $wx_cv_have_variadic_macros = "yes"; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE_VARIADIC_MACROS 1
25817 _ACEOF
25818
25819 fi
25820
25821 fi
25822 # Check whether --enable-largefile was given.
25823 if test "${enable_largefile+set}" = set; then
25824 enableval=$enable_largefile;
25825 fi
25826
25827 if test "$enable_largefile" != no; then
25828 wx_largefile=no
25829
25830 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25831 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25832 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25833 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 else
25835
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 #define _FILE_OFFSET_BITS 64
25843 #include <sys/types.h>
25844 int
25845 main ()
25846 {
25847 typedef struct {
25848 unsigned int field: sizeof(off_t) == 8;
25849 } wxlf;
25850
25851 ;
25852 return 0;
25853 }
25854 _ACEOF
25855 rm -f conftest.$ac_objext
25856 if { (ac_try="$ac_compile"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25860 esac
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_compile") 2>conftest.er1
25863 ac_status=$?
25864 grep -v '^ *+' conftest.er1 >conftest.err
25865 rm -f conftest.er1
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest.$ac_objext; then
25872 ac_cv_sys_file_offset_bits=64
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877 ac_cv_sys_file_offset_bits=no
25878 fi
25879
25880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25881
25882
25883 fi
25884 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25885 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25886
25887 if test "$ac_cv_sys_file_offset_bits" != no; then
25888 wx_largefile=yes
25889 cat >>confdefs.h <<_ACEOF
25890 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25891 _ACEOF
25892
25893 fi
25894
25895 if test "x$wx_largefile" != "xyes"; then
25896
25897 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25898 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25899 if test "${ac_cv_sys_large_files+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #define _LARGE_FILES 1
25910 #include <sys/types.h>
25911 int
25912 main ()
25913 {
25914 typedef struct {
25915 unsigned int field: sizeof(off_t) == 8;
25916 } wxlf;
25917
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25927 esac
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 ac_cv_sys_large_files=1
25940 else
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25943
25944 ac_cv_sys_large_files=no
25945 fi
25946
25947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25948
25949
25950 fi
25951 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25952 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25953
25954 if test "$ac_cv_sys_large_files" != no; then
25955 wx_largefile=yes
25956 cat >>confdefs.h <<_ACEOF
25957 #define _LARGE_FILES $ac_cv_sys_large_files
25958 _ACEOF
25959
25960 fi
25961
25962 fi
25963
25964 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25965 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25966 if test "x$wx_largefile" = "xyes"; then
25967 cat >>confdefs.h <<\_ACEOF
25968 #define HAVE_LARGEFILE_SUPPORT 1
25969 _ACEOF
25970
25971 fi
25972 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25973 echo "${ECHO_T}$wx_largefile" >&6; }
25974 fi
25975
25976
25977 if test "x$wx_largefile" = "xyes"; then
25978 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25979 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25980
25981 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25982 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25983 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25984 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 else
25987
25988 ac_ext=cpp
25989 ac_cpp='$CXXCPP $CPPFLAGS'
25990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25993
25994 cat >conftest.$ac_ext <<_ACEOF
25995 /* confdefs.h. */
25996 _ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26000
26001 int
26002 main ()
26003 {
26004
26005 #ifndef __STDC_EXT__
26006 choke me
26007 #endif
26008
26009 ;
26010 return 0;
26011 }
26012 _ACEOF
26013 rm -f conftest.$ac_objext
26014 if { (ac_try="$ac_compile"
26015 case "(($ac_try" in
26016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26017 *) ac_try_echo=$ac_try;;
26018 esac
26019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26020 (eval "$ac_compile") 2>conftest.er1
26021 ac_status=$?
26022 grep -v '^ *+' conftest.er1 >conftest.err
26023 rm -f conftest.er1
26024 cat conftest.err >&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); } && {
26027 test -z "$ac_cxx_werror_flag" ||
26028 test ! -s conftest.err
26029 } && test -s conftest.$ac_objext; then
26030 wx_cv_STDC_EXT_required=no
26031 else
26032 echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.$ac_ext >&5
26034
26035 wx_cv_STDC_EXT_required=yes
26036
26037 fi
26038
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 ac_ext=c
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045
26046
26047
26048 fi
26049 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26050 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26051 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26052 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26053 fi
26054 fi
26055 else
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26057 fi
26058 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26059 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26060 if test "${ac_cv_sys_largefile_source+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26063 while :; do
26064 cat >conftest.$ac_ext <<_ACEOF
26065 /* confdefs.h. */
26066 _ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 #include <sys/types.h> /* for off_t */
26071 #include <stdio.h>
26072 int
26073 main ()
26074 {
26075 int (*fp) (FILE *, off_t, int) = fseeko;
26076 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26077 ;
26078 return 0;
26079 }
26080 _ACEOF
26081 rm -f conftest.$ac_objext conftest$ac_exeext
26082 if { (ac_try="$ac_link"
26083 case "(($ac_try" in
26084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26085 *) ac_try_echo=$ac_try;;
26086 esac
26087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26088 (eval "$ac_link") 2>conftest.er1
26089 ac_status=$?
26090 grep -v '^ *+' conftest.er1 >conftest.err
26091 rm -f conftest.er1
26092 cat conftest.err >&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } && {
26095 test -z "$ac_c_werror_flag" ||
26096 test ! -s conftest.err
26097 } && test -s conftest$ac_exeext &&
26098 $as_test_x conftest$ac_exeext; then
26099 ac_cv_sys_largefile_source=no; break
26100 else
26101 echo "$as_me: failed program was:" >&5
26102 sed 's/^/| /' conftest.$ac_ext >&5
26103
26104
26105 fi
26106
26107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26108 conftest$ac_exeext conftest.$ac_ext
26109 cat >conftest.$ac_ext <<_ACEOF
26110 /* confdefs.h. */
26111 _ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115 #define _LARGEFILE_SOURCE 1
26116 #include <sys/types.h> /* for off_t */
26117 #include <stdio.h>
26118 int
26119 main ()
26120 {
26121 int (*fp) (FILE *, off_t, int) = fseeko;
26122 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26123 ;
26124 return 0;
26125 }
26126 _ACEOF
26127 rm -f conftest.$ac_objext conftest$ac_exeext
26128 if { (ac_try="$ac_link"
26129 case "(($ac_try" in
26130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26131 *) ac_try_echo=$ac_try;;
26132 esac
26133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26134 (eval "$ac_link") 2>conftest.er1
26135 ac_status=$?
26136 grep -v '^ *+' conftest.er1 >conftest.err
26137 rm -f conftest.er1
26138 cat conftest.err >&5
26139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26140 (exit $ac_status); } && {
26141 test -z "$ac_c_werror_flag" ||
26142 test ! -s conftest.err
26143 } && test -s conftest$ac_exeext &&
26144 $as_test_x conftest$ac_exeext; then
26145 ac_cv_sys_largefile_source=1; break
26146 else
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150
26151 fi
26152
26153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26154 conftest$ac_exeext conftest.$ac_ext
26155 ac_cv_sys_largefile_source=unknown
26156 break
26157 done
26158 fi
26159 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26160 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26161 case $ac_cv_sys_largefile_source in #(
26162 no | unknown) ;;
26163 *)
26164 cat >>confdefs.h <<_ACEOF
26165 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26166 _ACEOF
26167 ;;
26168 esac
26169 rm -f conftest*
26170
26171 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26172 # in glibc 2.1.3, but that breaks too many other things.
26173 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26174 if test $ac_cv_sys_largefile_source != unknown; then
26175
26176 cat >>confdefs.h <<\_ACEOF
26177 #define HAVE_FSEEKO 1
26178 _ACEOF
26179
26180 fi
26181
26182 if test "$ac_cv_sys_largefile_source" != no; then
26183 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26184 fi
26185 fi
26186
26187 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26188 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26189 if test "${ac_cv_c_bigendian+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192 ac_cv_c_bigendian=unknown
26193 # See if sys/param.h defines the BYTE_ORDER macro.
26194 cat >conftest.$ac_ext <<_ACEOF
26195 /* confdefs.h. */
26196 _ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200 #include <sys/types.h>
26201 #include <sys/param.h>
26202 int
26203 main ()
26204 {
26205
26206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26207 bogus endian macros
26208 #endif
26209 ;
26210 return 0;
26211 }
26212 _ACEOF
26213 rm -f conftest.$ac_objext
26214 if { (ac_try="$ac_compile"
26215 case "(($ac_try" in
26216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26218 esac
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_compile") 2>conftest.er1
26221 ac_status=$?
26222 grep -v '^ *+' conftest.er1 >conftest.err
26223 rm -f conftest.er1
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } && {
26227 test -z "$ac_c_werror_flag" ||
26228 test ! -s conftest.err
26229 } && test -s conftest.$ac_objext; then
26230 # It does; now see whether it defined to BIG_ENDIAN or not.
26231 cat >conftest.$ac_ext <<_ACEOF
26232 /* confdefs.h. */
26233 _ACEOF
26234 cat confdefs.h >>conftest.$ac_ext
26235 cat >>conftest.$ac_ext <<_ACEOF
26236 /* end confdefs.h. */
26237 #include <sys/types.h>
26238 #include <sys/param.h>
26239 int
26240 main ()
26241 {
26242
26243 #if BYTE_ORDER != BIG_ENDIAN
26244 not big endian
26245 #endif
26246 ;
26247 return 0;
26248 }
26249 _ACEOF
26250 rm -f conftest.$ac_objext
26251 if { (ac_try="$ac_compile"
26252 case "(($ac_try" in
26253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26254 *) ac_try_echo=$ac_try;;
26255 esac
26256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26257 (eval "$ac_compile") 2>conftest.er1
26258 ac_status=$?
26259 grep -v '^ *+' conftest.er1 >conftest.err
26260 rm -f conftest.er1
26261 cat conftest.err >&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } && {
26264 test -z "$ac_c_werror_flag" ||
26265 test ! -s conftest.err
26266 } && test -s conftest.$ac_objext; then
26267 ac_cv_c_bigendian=yes
26268 else
26269 echo "$as_me: failed program was:" >&5
26270 sed 's/^/| /' conftest.$ac_ext >&5
26271
26272 ac_cv_c_bigendian=no
26273 fi
26274
26275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280
26281 fi
26282
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 if test $ac_cv_c_bigendian = unknown; then
26285 if test "$cross_compiling" = yes; then
26286 ac_cv_c_bigendian=unknown
26287 else
26288 cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h. */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26294 main () {
26295 /* Are we little or big endian? From Harbison&Steele. */
26296 union
26297 {
26298 long l;
26299 char c[sizeof (long)];
26300 } u;
26301 u.l = 1;
26302 exit (u.c[sizeof (long) - 1] == 1);
26303 }
26304 _ACEOF
26305 rm -f conftest$ac_exeext
26306 if { (ac_try="$ac_link"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26310 esac
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_link") 2>&5
26313 ac_status=$?
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26316 { (case "(($ac_try" in
26317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26318 *) ac_try_echo=$ac_try;;
26319 esac
26320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26321 (eval "$ac_try") 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_cv_c_bigendian=no
26326 else
26327 echo "$as_me: program exited with status $ac_status" >&5
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331 ( exit $ac_status )
26332 ac_cv_c_bigendian=yes
26333 fi
26334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26335 fi
26336
26337
26338 fi
26339 fi
26340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26342 if test $ac_cv_c_bigendian = unknown; then
26343 { 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
26344 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;}
26345 fi
26346 if test $ac_cv_c_bigendian = yes; then
26347 cat >>confdefs.h <<\_ACEOF
26348 #define WORDS_BIGENDIAN 1
26349 _ACEOF
26350
26351 fi
26352
26353
26354
26355
26356 ac_ext=cpp
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26361
26362
26363
26364 for ac_header in iostream
26365 do
26366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 else
26372 cat >conftest.$ac_ext <<_ACEOF
26373 /* confdefs.h. */
26374 _ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26378
26379
26380 #include <$ac_header>
26381 _ACEOF
26382 rm -f conftest.$ac_objext
26383 if { (ac_try="$ac_compile"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26387 esac
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_compile") 2>conftest.er1
26390 ac_status=$?
26391 grep -v '^ *+' conftest.er1 >conftest.err
26392 rm -f conftest.er1
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } && {
26396 test -z "$ac_cxx_werror_flag" ||
26397 test ! -s conftest.err
26398 } && test -s conftest.$ac_objext; then
26399 eval "$as_ac_Header=yes"
26400 else
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26403
26404 eval "$as_ac_Header=no"
26405 fi
26406
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408 fi
26409 ac_res=`eval echo '${'$as_ac_Header'}'`
26410 { echo "$as_me:$LINENO: result: $ac_res" >&5
26411 echo "${ECHO_T}$ac_res" >&6; }
26412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26413 cat >>confdefs.h <<_ACEOF
26414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26415 _ACEOF
26416
26417 fi
26418
26419 done
26420
26421
26422 if test "$ac_cv_header_iostream" = "yes" ; then
26423 :
26424 else
26425 cat >>confdefs.h <<\_ACEOF
26426 #define wxUSE_IOSTREAMH 1
26427 _ACEOF
26428
26429 fi
26430
26431 ac_ext=c
26432 ac_cpp='$CPP $CPPFLAGS'
26433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26436
26437
26438
26439
26440 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26441 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26442 if test "${wx_cv_cpp_bool+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 else
26445
26446
26447 ac_ext=cpp
26448 ac_cpp='$CXXCPP $CPPFLAGS'
26449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26452
26453
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460
26461
26462 int
26463 main ()
26464 {
26465
26466 bool b = true;
26467
26468 return 0;
26469
26470 ;
26471 return 0;
26472 }
26473 _ACEOF
26474 rm -f conftest.$ac_objext
26475 if { (ac_try="$ac_compile"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26479 esac
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_compile") 2>conftest.er1
26482 ac_status=$?
26483 grep -v '^ *+' conftest.er1 >conftest.err
26484 rm -f conftest.er1
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_cxx_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest.$ac_objext; then
26491
26492 wx_cv_cpp_bool=yes
26493
26494 else
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26497
26498
26499 wx_cv_cpp_bool=no
26500
26501
26502 fi
26503
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26505
26506 ac_ext=c
26507 ac_cpp='$CPP $CPPFLAGS'
26508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26511
26512
26513 fi
26514 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26515 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26516
26517 if test "$wx_cv_cpp_bool" = "yes"; then
26518 cat >>confdefs.h <<\_ACEOF
26519 #define HAVE_BOOL 1
26520 _ACEOF
26521
26522 fi
26523
26524
26525
26526 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26527 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26528 if test "${wx_cv_explicit+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26530 else
26531
26532
26533 ac_ext=cpp
26534 ac_cpp='$CXXCPP $CPPFLAGS'
26535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26538
26539
26540 cat >conftest.$ac_ext <<_ACEOF
26541 /* confdefs.h. */
26542 _ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546
26547 class Foo { public: explicit Foo(int) {} };
26548
26549 int
26550 main ()
26551 {
26552
26553 return 0;
26554
26555 ;
26556 return 0;
26557 }
26558 _ACEOF
26559 rm -f conftest.$ac_objext
26560 if { (ac_try="$ac_compile"
26561 case "(($ac_try" in
26562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26563 *) ac_try_echo=$ac_try;;
26564 esac
26565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26566 (eval "$ac_compile") 2>conftest.er1
26567 ac_status=$?
26568 grep -v '^ *+' conftest.er1 >conftest.err
26569 rm -f conftest.er1
26570 cat conftest.err >&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } && {
26573 test -z "$ac_cxx_werror_flag" ||
26574 test ! -s conftest.err
26575 } && test -s conftest.$ac_objext; then
26576
26577 cat >conftest.$ac_ext <<_ACEOF
26578 /* confdefs.h. */
26579 _ACEOF
26580 cat confdefs.h >>conftest.$ac_ext
26581 cat >>conftest.$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26583
26584 class Foo { public: explicit Foo(int) {} };
26585 static void TakeFoo(const Foo& foo) { }
26586
26587 int
26588 main ()
26589 {
26590
26591 TakeFoo(17);
26592 return 0;
26593
26594 ;
26595 return 0;
26596 }
26597 _ACEOF
26598 rm -f conftest.$ac_objext
26599 if { (ac_try="$ac_compile"
26600 case "(($ac_try" in
26601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26602 *) ac_try_echo=$ac_try;;
26603 esac
26604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26605 (eval "$ac_compile") 2>conftest.er1
26606 ac_status=$?
26607 grep -v '^ *+' conftest.er1 >conftest.err
26608 rm -f conftest.er1
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } && {
26612 test -z "$ac_cxx_werror_flag" ||
26613 test ! -s conftest.err
26614 } && test -s conftest.$ac_objext; then
26615 wx_cv_explicit=no
26616 else
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26619
26620 wx_cv_explicit=yes
26621
26622 fi
26623
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26625
26626 else
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.$ac_ext >&5
26629
26630 wx_cv_explicit=no
26631
26632 fi
26633
26634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26635
26636 ac_ext=c
26637 ac_cpp='$CPP $CPPFLAGS'
26638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26641
26642
26643 fi
26644 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26645 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26646
26647 if test "$wx_cv_explicit" = "yes"; then
26648 cat >>confdefs.h <<\_ACEOF
26649 #define HAVE_EXPLICIT 1
26650 _ACEOF
26651
26652 fi
26653
26654
26655 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26656 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26657 if test "${ac_cv_cxx_const_cast+set}" = set; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660
26661 ac_ext=cpp
26662 ac_cpp='$CXXCPP $CPPFLAGS'
26663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666
26667 cat >conftest.$ac_ext <<_ACEOF
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673
26674 int
26675 main ()
26676 {
26677 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26678 ;
26679 return 0;
26680 }
26681 _ACEOF
26682 rm -f conftest.$ac_objext
26683 if { (ac_try="$ac_compile"
26684 case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26687 esac
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_compile") 2>conftest.er1
26690 ac_status=$?
26691 grep -v '^ *+' conftest.er1 >conftest.err
26692 rm -f conftest.er1
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } && {
26696 test -z "$ac_cxx_werror_flag" ||
26697 test ! -s conftest.err
26698 } && test -s conftest.$ac_objext; then
26699 ac_cv_cxx_const_cast=yes
26700 else
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26703
26704 ac_cv_cxx_const_cast=no
26705 fi
26706
26707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26708 ac_ext=c
26709 ac_cpp='$CPP $CPPFLAGS'
26710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26713
26714
26715 fi
26716 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26717 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26718 if test "$ac_cv_cxx_const_cast" = yes; then
26719
26720 cat >>confdefs.h <<\_ACEOF
26721 #define HAVE_CONST_CAST
26722 _ACEOF
26723
26724 fi
26725
26726 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26727 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26728 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26729 echo $ECHO_N "(cached) $ECHO_C" >&6
26730 else
26731
26732 ac_ext=cpp
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26737
26738 cat >conftest.$ac_ext <<_ACEOF
26739 /* confdefs.h. */
26740 _ACEOF
26741 cat confdefs.h >>conftest.$ac_ext
26742 cat >>conftest.$ac_ext <<_ACEOF
26743 /* end confdefs.h. */
26744 #include <typeinfo>
26745 class Base { public : Base () {} virtual void f () = 0;};
26746 class Derived : public Base { public : Derived () {} virtual void f () {} };
26747 class Unrelated { public : Unrelated () {} };
26748 int g (Unrelated&) { return 0; }
26749 int
26750 main ()
26751 {
26752
26753 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26754 ;
26755 return 0;
26756 }
26757 _ACEOF
26758 rm -f conftest.$ac_objext
26759 if { (ac_try="$ac_compile"
26760 case "(($ac_try" in
26761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26762 *) ac_try_echo=$ac_try;;
26763 esac
26764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26765 (eval "$ac_compile") 2>conftest.er1
26766 ac_status=$?
26767 grep -v '^ *+' conftest.er1 >conftest.err
26768 rm -f conftest.er1
26769 cat conftest.err >&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } && {
26772 test -z "$ac_cxx_werror_flag" ||
26773 test ! -s conftest.err
26774 } && test -s conftest.$ac_objext; then
26775 ac_cv_cxx_reinterpret_cast=yes
26776 else
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.$ac_ext >&5
26779
26780 ac_cv_cxx_reinterpret_cast=no
26781 fi
26782
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 ac_ext=c
26785 ac_cpp='$CPP $CPPFLAGS'
26786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26789
26790
26791 fi
26792 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26793 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26794 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26795
26796 cat >>confdefs.h <<\_ACEOF
26797 #define HAVE_REINTERPRET_CAST
26798 _ACEOF
26799
26800 fi
26801
26802 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26803 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26804 if test "${ac_cv_cxx_static_cast+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 else
26807
26808 ac_ext=cpp
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26813
26814 cat >conftest.$ac_ext <<_ACEOF
26815 /* confdefs.h. */
26816 _ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820 #include <typeinfo>
26821 class Base { public : Base () {} virtual void f () = 0; };
26822 class Derived : public Base { public : Derived () {} virtual void f () {} };
26823 int g (Derived&) { return 0; }
26824 int
26825 main ()
26826 {
26827
26828 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_cv_cxx_static_cast=yes
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ac_cv_cxx_static_cast=no
26856 fi
26857
26858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859 ac_ext=c
26860 ac_cpp='$CPP $CPPFLAGS'
26861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26864
26865
26866 fi
26867 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26868 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26869 if test "$ac_cv_cxx_static_cast" = yes; then
26870
26871 cat >>confdefs.h <<\_ACEOF
26872 #define HAVE_STATIC_CAST
26873 _ACEOF
26874
26875 fi
26876
26877
26878 if test "x$SUNCXX" = xyes; then
26879 CXXFLAGS="-features=tmplife $CXXFLAGS"
26880 fi
26881
26882 if test "x$SUNCC" = xyes; then
26883 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26884 fi
26885
26886 if test "x$SGICC" = "xyes"; then
26887 CFLAGS="-woff 3970 $CFLAGS"
26888 fi
26889 if test "x$SGICXX" = "xyes"; then
26890 CXXFLAGS="-woff 3970 $CXXFLAGS"
26891 fi
26892
26893 if test "x$HPCC" = "xyes"; then
26894 CFLAGS="+W 2011,2450 $CFLAGS"
26895 fi
26896 if test "x$HPCXX" = "xyes"; then
26897 CXXFLAGS="+W 2340 $CXXFLAGS"
26898 fi
26899
26900 if test "x$COMPAQCXX" = "xyes"; then
26901 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26902 fi
26903
26904 ac_ext=cpp
26905 ac_cpp='$CXXCPP $CPPFLAGS'
26906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26909
26910
26911 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26912 if test "$wxUSE_UNICODE" = "yes"; then
26913 std_string="std::wstring"
26914 char_type="wchar_t"
26915 else
26916 std_string="std::string"
26917 char_type="char"
26918 fi
26919
26920 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26921 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26922 if test "${wx_cv_class_stdstring+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925
26926 cat >conftest.$ac_ext <<_ACEOF
26927 /* confdefs.h. */
26928 _ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26932 #include <string>
26933 int
26934 main ()
26935 {
26936 $std_string foo;
26937 ;
26938 return 0;
26939 }
26940 _ACEOF
26941 rm -f conftest.$ac_objext
26942 if { (ac_try="$ac_compile"
26943 case "(($ac_try" in
26944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26945 *) ac_try_echo=$ac_try;;
26946 esac
26947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26948 (eval "$ac_compile") 2>conftest.er1
26949 ac_status=$?
26950 grep -v '^ *+' conftest.er1 >conftest.err
26951 rm -f conftest.er1
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } && {
26955 test -z "$ac_cxx_werror_flag" ||
26956 test ! -s conftest.err
26957 } && test -s conftest.$ac_objext; then
26958 wx_cv_class_stdstring=yes
26959 else
26960 echo "$as_me: failed program was:" >&5
26961 sed 's/^/| /' conftest.$ac_ext >&5
26962
26963 wx_cv_class_stdstring=no
26964
26965 fi
26966
26967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26968
26969
26970 fi
26971 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26972 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26973
26974 if test "$wx_cv_class_stdstring" = yes; then
26975 if test "$wxUSE_UNICODE" = "yes"; then
26976 cat >>confdefs.h <<\_ACEOF
26977 #define HAVE_STD_WSTRING 1
26978 _ACEOF
26979
26980 fi
26981 else
26982 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26983 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26984 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 else
26987
26988 cat >conftest.$ac_ext <<_ACEOF
26989 /* confdefs.h. */
26990 _ACEOF
26991 cat confdefs.h >>conftest.$ac_ext
26992 cat >>conftest.$ac_ext <<_ACEOF
26993 /* end confdefs.h. */
26994
26995 #ifdef HAVE_WCHAR_H
26996 # ifdef __CYGWIN__
26997 # include <stddef.h>
26998 # endif
26999 # include <wchar.h>
27000 #endif
27001 #ifdef HAVE_STDLIB_H
27002 # include <stdlib.h>
27003 #endif
27004 #include <stdio.h>
27005 #include <string>
27006
27007 int
27008 main ()
27009 {
27010 std::basic_string<$char_type> foo;
27011 const $char_type* dummy = foo.c_str();
27012 ;
27013 return 0;
27014 }
27015 _ACEOF
27016 rm -f conftest.$ac_objext
27017 if { (ac_try="$ac_compile"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27021 esac
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_compile") 2>conftest.er1
27024 ac_status=$?
27025 grep -v '^ *+' conftest.er1 >conftest.err
27026 rm -f conftest.er1
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_cxx_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest.$ac_objext; then
27033 wx_cv_class_stdbasicstring=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 wx_cv_class_stdbasicstring=no
27039
27040 fi
27041
27042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27043
27044
27045 fi
27046 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27047 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27048
27049 if test "$wx_cv_class_stdbasicstring" != yes; then
27050 if test "$wxUSE_STL" = "yes"; then
27051 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27052 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27053 { (exit 1); exit 1; }; }
27054 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27055 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27056 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27057 { (exit 1); exit 1; }; }
27058 else
27059 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27060 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27061 wxUSE_STD_STRING=no
27062 fi
27063 fi
27064 fi
27065 fi
27066
27067 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27068 { echo "$as_me:$LINENO: checking for std::istream" >&5
27069 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27070 if test "${ac_cv_type_std__istream+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27072 else
27073 cat >conftest.$ac_ext <<_ACEOF
27074 /* confdefs.h. */
27075 _ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27079 #include <iostream>
27080
27081 typedef std::istream ac__type_new_;
27082 int
27083 main ()
27084 {
27085 if ((ac__type_new_ *) 0)
27086 return 0;
27087 if (sizeof (ac__type_new_))
27088 return 0;
27089 ;
27090 return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27098 esac
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27101 ac_status=$?
27102 grep -v '^ *+' conftest.er1 >conftest.err
27103 rm -f conftest.er1
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_cxx_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 ac_cv_type_std__istream=yes
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115 ac_cv_type_std__istream=no
27116 fi
27117
27118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27119 fi
27120 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27121 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27122 if test $ac_cv_type_std__istream = yes; then
27123
27124 cat >>confdefs.h <<_ACEOF
27125 #define HAVE_STD__ISTREAM 1
27126 _ACEOF
27127
27128
27129 else
27130 wxUSE_STD_IOSTREAM=no
27131 fi
27132 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27133 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27134 if test "${ac_cv_type_std__ostream+set}" = set; then
27135 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 else
27137 cat >conftest.$ac_ext <<_ACEOF
27138 /* confdefs.h. */
27139 _ACEOF
27140 cat confdefs.h >>conftest.$ac_ext
27141 cat >>conftest.$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 #include <iostream>
27144
27145 typedef std::ostream ac__type_new_;
27146 int
27147 main ()
27148 {
27149 if ((ac__type_new_ *) 0)
27150 return 0;
27151 if (sizeof (ac__type_new_))
27152 return 0;
27153 ;
27154 return 0;
27155 }
27156 _ACEOF
27157 rm -f conftest.$ac_objext
27158 if { (ac_try="$ac_compile"
27159 case "(($ac_try" in
27160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27161 *) ac_try_echo=$ac_try;;
27162 esac
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164 (eval "$ac_compile") 2>conftest.er1
27165 ac_status=$?
27166 grep -v '^ *+' conftest.er1 >conftest.err
27167 rm -f conftest.er1
27168 cat conftest.err >&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); } && {
27171 test -z "$ac_cxx_werror_flag" ||
27172 test ! -s conftest.err
27173 } && test -s conftest.$ac_objext; then
27174 ac_cv_type_std__ostream=yes
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27178
27179 ac_cv_type_std__ostream=no
27180 fi
27181
27182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27183 fi
27184 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27185 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27186 if test $ac_cv_type_std__ostream = yes; then
27187
27188 cat >>confdefs.h <<_ACEOF
27189 #define HAVE_STD__OSTREAM 1
27190 _ACEOF
27191
27192
27193 else
27194 wxUSE_STD_IOSTREAM=no
27195 fi
27196
27197
27198 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27199 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27200 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27201 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27202 { (exit 1); exit 1; }; }
27203 else
27204 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27205 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27206 fi
27207 fi
27208 fi
27209
27210 if test "$wxUSE_STL" = "yes"; then
27211 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27212 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27213 if test "${wx_cv_lib_stl+set}" = set; then
27214 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 else
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 #include <string>
27223 #include <functional>
27224 #include <algorithm>
27225 #include <vector>
27226 #include <list>
27227 int
27228 main ()
27229 {
27230 std::vector<int> moo;
27231 std::list<int> foo;
27232 std::vector<int>::iterator it =
27233 std::find_if(moo.begin(), moo.end(),
27234 std::bind2nd(std::less<int>(), 3));
27235 ;
27236 return 0;
27237 }
27238 _ACEOF
27239 rm -f conftest.$ac_objext
27240 if { (ac_try="$ac_compile"
27241 case "(($ac_try" in
27242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243 *) ac_try_echo=$ac_try;;
27244 esac
27245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27246 (eval "$ac_compile") 2>conftest.er1
27247 ac_status=$?
27248 grep -v '^ *+' conftest.er1 >conftest.err
27249 rm -f conftest.er1
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } && {
27253 test -z "$ac_cxx_werror_flag" ||
27254 test ! -s conftest.err
27255 } && test -s conftest.$ac_objext; then
27256 wx_cv_lib_stl=yes
27257 else
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261 wx_cv_lib_stl=no
27262
27263 fi
27264
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266
27267 fi
27268 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27269 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27270
27271 if test "$wx_cv_lib_stl" != yes; then
27272 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27273 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27274 { (exit 1); exit 1; }; }
27275 fi
27276
27277 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27278 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27279 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 else
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 #include <string>
27289 int
27290 main ()
27291 {
27292 std::string foo, bar;
27293 foo.compare(bar);
27294 foo.compare(1, 1, bar);
27295 foo.compare(1, 1, bar, 1, 1);
27296 foo.compare("");
27297 foo.compare(1, 1, "");
27298 foo.compare(1, 1, "", 2);
27299 ;
27300 return 0;
27301 }
27302 _ACEOF
27303 rm -f conftest.$ac_objext
27304 if { (ac_try="$ac_compile"
27305 case "(($ac_try" in
27306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27307 *) ac_try_echo=$ac_try;;
27308 esac
27309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27310 (eval "$ac_compile") 2>conftest.er1
27311 ac_status=$?
27312 grep -v '^ *+' conftest.er1 >conftest.err
27313 rm -f conftest.er1
27314 cat conftest.err >&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); } && {
27317 test -z "$ac_cxx_werror_flag" ||
27318 test ! -s conftest.err
27319 } && test -s conftest.$ac_objext; then
27320 wx_cv_func_stdstring_compare=yes
27321 else
27322 echo "$as_me: failed program was:" >&5
27323 sed 's/^/| /' conftest.$ac_ext >&5
27324
27325 wx_cv_func_stdstring_compare=no
27326
27327 fi
27328
27329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27330
27331 fi
27332 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27333 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27334
27335 if test "$wx_cv_func_stdstring_compare" = yes; then
27336 cat >>confdefs.h <<\_ACEOF
27337 #define HAVE_STD_STRING_COMPARE 1
27338 _ACEOF
27339
27340 fi
27341
27342 { echo "$as_me:$LINENO: checking for hash_map" >&5
27343 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27344 if test "${ac_cv_header_hash_map+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27347 cat >conftest.$ac_ext <<_ACEOF
27348 /* confdefs.h. */
27349 _ACEOF
27350 cat confdefs.h >>conftest.$ac_ext
27351 cat >>conftest.$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27353
27354
27355
27356 #include <hash_map>
27357 _ACEOF
27358 rm -f conftest.$ac_objext
27359 if { (ac_try="$ac_compile"
27360 case "(($ac_try" in
27361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27362 *) ac_try_echo=$ac_try;;
27363 esac
27364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27365 (eval "$ac_compile") 2>conftest.er1
27366 ac_status=$?
27367 grep -v '^ *+' conftest.er1 >conftest.err
27368 rm -f conftest.er1
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && {
27372 test -z "$ac_cxx_werror_flag" ||
27373 test ! -s conftest.err
27374 } && test -s conftest.$ac_objext; then
27375 ac_cv_header_hash_map=yes
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380 ac_cv_header_hash_map=no
27381 fi
27382
27383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384 fi
27385 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27386 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27387 if test $ac_cv_header_hash_map = yes; then
27388 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27389 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27390 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 else
27393 cat >conftest.$ac_ext <<_ACEOF
27394 /* confdefs.h. */
27395 _ACEOF
27396 cat confdefs.h >>conftest.$ac_ext
27397 cat >>conftest.$ac_ext <<_ACEOF
27398 /* end confdefs.h. */
27399 #include <hash_map>
27400 #include <hash_set>
27401 int
27402 main ()
27403 {
27404 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27405 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27406 ;
27407 return 0;
27408 }
27409 _ACEOF
27410 rm -f conftest.$ac_objext
27411 if { (ac_try="$ac_compile"
27412 case "(($ac_try" in
27413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414 *) ac_try_echo=$ac_try;;
27415 esac
27416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27417 (eval "$ac_compile") 2>conftest.er1
27418 ac_status=$?
27419 grep -v '^ *+' conftest.er1 >conftest.err
27420 rm -f conftest.er1
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } && {
27424 test -z "$ac_cxx_werror_flag" ||
27425 test ! -s conftest.err
27426 } && test -s conftest.$ac_objext; then
27427 wx_cv_class_stdhashmapset=yes
27428 else
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27431
27432 wx_cv_class_stdhashmapset=no
27433 fi
27434
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27436
27437
27438 fi
27439 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27440 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27441 fi
27442
27443
27444
27445 if test "$wx_cv_class_stdhashmapset" = yes; then
27446 cat >>confdefs.h <<\_ACEOF
27447 #define HAVE_HASH_MAP 1
27448 _ACEOF
27449
27450 cat >>confdefs.h <<\_ACEOF
27451 #define HAVE_STD_HASH_MAP 1
27452 _ACEOF
27453
27454 fi
27455
27456 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27457 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27458 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 else
27461 cat >conftest.$ac_ext <<_ACEOF
27462 /* confdefs.h. */
27463 _ACEOF
27464 cat confdefs.h >>conftest.$ac_ext
27465 cat >>conftest.$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27467
27468
27469
27470 #include <ext/hash_map>
27471 _ACEOF
27472 rm -f conftest.$ac_objext
27473 if { (ac_try="$ac_compile"
27474 case "(($ac_try" in
27475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27477 esac
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_compile") 2>conftest.er1
27480 ac_status=$?
27481 grep -v '^ *+' conftest.er1 >conftest.err
27482 rm -f conftest.er1
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } && {
27486 test -z "$ac_cxx_werror_flag" ||
27487 test ! -s conftest.err
27488 } && test -s conftest.$ac_objext; then
27489 ac_cv_header_ext_hash_map=yes
27490 else
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.$ac_ext >&5
27493
27494 ac_cv_header_ext_hash_map=no
27495 fi
27496
27497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27498 fi
27499 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27500 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27501 if test $ac_cv_header_ext_hash_map = yes; then
27502 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27503 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27504 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27506 else
27507 cat >conftest.$ac_ext <<_ACEOF
27508 /* confdefs.h. */
27509 _ACEOF
27510 cat confdefs.h >>conftest.$ac_ext
27511 cat >>conftest.$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 #include <ext/hash_map>
27514 #include <ext/hash_set>
27515 int
27516 main ()
27517 {
27518 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27519 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27520 ;
27521 return 0;
27522 }
27523 _ACEOF
27524 rm -f conftest.$ac_objext
27525 if { (ac_try="$ac_compile"
27526 case "(($ac_try" in
27527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27528 *) ac_try_echo=$ac_try;;
27529 esac
27530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531 (eval "$ac_compile") 2>conftest.er1
27532 ac_status=$?
27533 grep -v '^ *+' conftest.er1 >conftest.err
27534 rm -f conftest.er1
27535 cat conftest.err >&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } && {
27538 test -z "$ac_cxx_werror_flag" ||
27539 test ! -s conftest.err
27540 } && test -s conftest.$ac_objext; then
27541 wx_cv_class_gnuhashmapset=yes
27542 else
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.$ac_ext >&5
27545
27546 wx_cv_class_gnuhashmapset=no
27547 fi
27548
27549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27550
27551
27552 fi
27553 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27554 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27555 fi
27556
27557
27558
27559 if test "$wx_cv_class_gnuhashmapset" = yes; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define HAVE_EXT_HASH_MAP 1
27562 _ACEOF
27563
27564 cat >>confdefs.h <<\_ACEOF
27565 #define HAVE_GNU_CXX_HASH_MAP 1
27566 _ACEOF
27567
27568 fi
27569 fi
27570
27571
27572
27573 if test -n "$GCC"; then
27574 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27575 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27576 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 else
27579
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586
27587 int
27588 main ()
27589 {
27590
27591 int value=0;
27592 __sync_fetch_and_add(&value, 1);
27593 __sync_sub_and_fetch(&value, 1);
27594
27595 ;
27596 return 0;
27597 }
27598 _ACEOF
27599 rm -f conftest.$ac_objext
27600 if { (ac_try="$ac_compile"
27601 case "(($ac_try" in
27602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27603 *) ac_try_echo=$ac_try;;
27604 esac
27605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27606 (eval "$ac_compile") 2>conftest.er1
27607 ac_status=$?
27608 grep -v '^ *+' conftest.er1 >conftest.err
27609 rm -f conftest.er1
27610 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } && {
27613 test -z "$ac_cxx_werror_flag" ||
27614 test ! -s conftest.err
27615 } && test -s conftest.$ac_objext; then
27616 wx_cv_cc_gcc_atomic_builtins=yes
27617 else
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.$ac_ext >&5
27620
27621 wx_cv_cc_gcc_atomic_builtins=no
27622 fi
27623
27624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27625
27626 fi
27627
27628 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27629 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27630 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define HAVE_GCC_ATOMIC_BUILTINS 1
27633 _ACEOF
27634
27635 fi
27636 fi
27637
27638
27639 ac_ext=c
27640 ac_cpp='$CPP $CPPFLAGS'
27641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644
27645
27646
27647 SEARCH_INCLUDE="\
27648 /usr/local/include \
27649 \
27650 /usr/Motif-2.1/include \
27651 /usr/Motif-1.2/include \
27652 /usr/include/Motif1.2 \
27653 \
27654 /usr/dt/include \
27655 /usr/openwin/include \
27656 \
27657 /usr/include/Xm \
27658 \
27659 /usr/X11R6/include \
27660 /usr/X11R6.4/include \
27661 /usr/X11R5/include \
27662 /usr/X11R4/include \
27663 \
27664 /usr/include/X11R6 \
27665 /usr/include/X11R5 \
27666 /usr/include/X11R4 \
27667 \
27668 /usr/local/X11R6/include \
27669 /usr/local/X11R5/include \
27670 /usr/local/X11R4/include \
27671 \
27672 /usr/local/include/X11R6 \
27673 /usr/local/include/X11R5 \
27674 /usr/local/include/X11R4 \
27675 \
27676 /usr/X11/include \
27677 /usr/include/X11 \
27678 /usr/local/X11/include \
27679 /usr/local/include/X11 \
27680 \
27681 /usr/XFree86/include/X11 \
27682 /usr/pkg/include \
27683 \
27684 /usr/openwin/share/include"
27685
27686 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27687 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27688
27689 case "${host}" in
27690 *-*-irix6* )
27691 if test "${wx_cv_std_libpath+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694
27695 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27696 for e in a so sl dylib dll.a; do
27697 libc="$d/libc.$e"
27698 if test -f $libc; then
27699 save_LIBS="$LIBS"
27700 LIBS="$libc"
27701 cat >conftest.$ac_ext <<_ACEOF
27702 int main() { return 0; }
27703 _ACEOF
27704 rm -f conftest.$ac_objext conftest$ac_exeext
27705 if { (ac_try="$ac_link"
27706 case "(($ac_try" in
27707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27708 *) ac_try_echo=$ac_try;;
27709 esac
27710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27711 (eval "$ac_link") 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } && {
27718 test -z "$ac_c_werror_flag" ||
27719 test ! -s conftest.err
27720 } && test -s conftest$ac_exeext &&
27721 $as_test_x conftest$ac_exeext; then
27722 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27723 else
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727
27728 fi
27729
27730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27731 conftest$ac_exeext conftest.$ac_ext
27732 LIBS="$save_LIBS"
27733 if test "x$wx_cv_std_libpath" != "x"; then
27734 break 2
27735 fi
27736 fi
27737 done
27738 done
27739 if test "x$wx_cv_std_libpath" = "x"; then
27740 wx_cv_std_libpath="lib"
27741 fi
27742
27743
27744 fi
27745
27746 ;;
27747
27748 *-*-solaris2* )
27749 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27750 wx_cv_std_libpath="lib/64"
27751 else
27752 wx_cv_std_libpath="lib"
27753 fi
27754 ;;
27755
27756 *-*-linux* )
27757 if test "$ac_cv_sizeof_void_p" = 8 -a \
27758 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27759 wx_cv_std_libpath="lib64"
27760 else
27761 wx_cv_std_libpath="lib"
27762 fi
27763 ;;
27764
27765 *)
27766 wx_cv_std_libpath="lib";
27767 ;;
27768 esac
27769
27770 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27771 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27772
27773 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27774
27775 if test "$build" != "$host" -a "$GCC" = yes; then
27776 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27777 cross_root=`dirname $cross_root`
27778 cross_root=`dirname $cross_root`
27779
27780 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27781 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27782 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27783
27784 if test -z "$PKG_CONFIG_PATH"; then
27785 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27786 export PKG_CONFIG_PATH
27787 fi
27788
27789 if test -z "$x_includes" -o "$x_includes" = NONE; then
27790
27791 ac_find_includes=
27792 for ac_dir in $SEARCH_INCLUDE /usr/include;
27793 do
27794 if test -f "$ac_dir/X11/Intrinsic.h"; then
27795 ac_find_includes=$ac_dir
27796 break
27797 fi
27798 done
27799
27800 x_includes=$ac_find_includes
27801 fi
27802 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27803
27804 ac_find_libraries=
27805 for ac_dir in $SEARCH_LIB;
27806 do
27807 for ac_extension in a so sl dylib dll.a; do
27808 if test -f "$ac_dir/libXt.$ac_extension"; then
27809 ac_find_libraries=$ac_dir
27810 break 2
27811 fi
27812 done
27813 done
27814
27815 x_libraries=$ac_find_libraries
27816 fi
27817 fi
27818 fi
27819
27820
27821 cat >confcache <<\_ACEOF
27822 # This file is a shell script that caches the results of configure
27823 # tests run on this system so they can be shared between configure
27824 # scripts and configure runs, see configure's option --config-cache.
27825 # It is not useful on other systems. If it contains results you don't
27826 # want to keep, you may remove or edit it.
27827 #
27828 # config.status only pays attention to the cache file if you give it
27829 # the --recheck option to rerun configure.
27830 #
27831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27833 # following values.
27834
27835 _ACEOF
27836
27837 # The following way of writing the cache mishandles newlines in values,
27838 # but we know of no workaround that is simple, portable, and efficient.
27839 # So, we kill variables containing newlines.
27840 # Ultrix sh set writes to stderr and can't be redirected directly,
27841 # and sets the high bit in the cache file unless we assign to the vars.
27842 (
27843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27844 eval ac_val=\$$ac_var
27845 case $ac_val in #(
27846 *${as_nl}*)
27847 case $ac_var in #(
27848 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27850 esac
27851 case $ac_var in #(
27852 _ | IFS | as_nl) ;; #(
27853 *) $as_unset $ac_var ;;
27854 esac ;;
27855 esac
27856 done
27857
27858 (set) 2>&1 |
27859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27860 *${as_nl}ac_space=\ *)
27861 # `set' does not quote correctly, so add quotes (double-quote
27862 # substitution turns \\\\ into \\, and sed turns \\ into \).
27863 sed -n \
27864 "s/'/'\\\\''/g;
27865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27866 ;; #(
27867 *)
27868 # `set' quotes correctly as required by POSIX, so do not add quotes.
27869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27870 ;;
27871 esac |
27872 sort
27873 ) |
27874 sed '
27875 /^ac_cv_env_/b end
27876 t clear
27877 :clear
27878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27879 t end
27880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27881 :end' >>confcache
27882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27883 if test -w "$cache_file"; then
27884 test "x$cache_file" != "x/dev/null" &&
27885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27886 echo "$as_me: updating cache $cache_file" >&6;}
27887 cat confcache >$cache_file
27888 else
27889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27891 fi
27892 fi
27893 rm -f confcache
27894
27895 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27896 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27897 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27898 if test "${wx_cv_lib_glibc21+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27900 else
27901
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908 #include <features.h>
27909 int
27910 main ()
27911 {
27912
27913 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27914 not glibc 2.1
27915 #endif
27916
27917 ;
27918 return 0;
27919 }
27920 _ACEOF
27921 rm -f conftest.$ac_objext
27922 if { (ac_try="$ac_compile"
27923 case "(($ac_try" in
27924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27925 *) ac_try_echo=$ac_try;;
27926 esac
27927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27928 (eval "$ac_compile") 2>conftest.er1
27929 ac_status=$?
27930 grep -v '^ *+' conftest.er1 >conftest.err
27931 rm -f conftest.er1
27932 cat conftest.err >&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } && {
27935 test -z "$ac_c_werror_flag" ||
27936 test ! -s conftest.err
27937 } && test -s conftest.$ac_objext; then
27938
27939 wx_cv_lib_glibc21=yes
27940
27941 else
27942 echo "$as_me: failed program was:" >&5
27943 sed 's/^/| /' conftest.$ac_ext >&5
27944
27945
27946 wx_cv_lib_glibc21=no
27947
27948
27949 fi
27950
27951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27952
27953 fi
27954 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27955 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27956 if test "$wx_cv_lib_glibc21" = "yes"; then
27957 cat >>confdefs.h <<\_ACEOF
27958 #define wxHAVE_GLIBC2 1
27959 _ACEOF
27960
27961 fi
27962 fi
27963
27964 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27965 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27966 cat >>confdefs.h <<\_ACEOF
27967 #define _GNU_SOURCE 1
27968 _ACEOF
27969
27970 fi
27971 fi
27972
27973 have_cos=0
27974 have_floor=0
27975
27976 for ac_func in cos
27977 do
27978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27982 echo $ECHO_N "(cached) $ECHO_C" >&6
27983 else
27984 cat >conftest.$ac_ext <<_ACEOF
27985 /* confdefs.h. */
27986 _ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27992 #define $ac_func innocuous_$ac_func
27993
27994 /* System header to define __stub macros and hopefully few prototypes,
27995 which can conflict with char $ac_func (); below.
27996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27997 <limits.h> exists even on freestanding compilers. */
27998
27999 #ifdef __STDC__
28000 # include <limits.h>
28001 #else
28002 # include <assert.h>
28003 #endif
28004
28005 #undef $ac_func
28006
28007 /* Override any GCC internal prototype to avoid an error.
28008 Use char because int might match the return type of a GCC
28009 builtin and then its argument prototype would still apply. */
28010 #ifdef __cplusplus
28011 extern "C"
28012 #endif
28013 char $ac_func ();
28014 /* The GNU C library defines this for functions which it implements
28015 to always fail with ENOSYS. Some functions are actually named
28016 something starting with __ and the normal name is an alias. */
28017 #if defined __stub_$ac_func || defined __stub___$ac_func
28018 choke me
28019 #endif
28020
28021 int
28022 main ()
28023 {
28024 return $ac_func ();
28025 ;
28026 return 0;
28027 }
28028 _ACEOF
28029 rm -f conftest.$ac_objext conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 *) ac_try_echo=$ac_try;;
28034 esac
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>conftest.er1
28037 ac_status=$?
28038 grep -v '^ *+' conftest.er1 >conftest.err
28039 rm -f conftest.er1
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } && {
28043 test -z "$ac_c_werror_flag" ||
28044 test ! -s conftest.err
28045 } && test -s conftest$ac_exeext &&
28046 $as_test_x conftest$ac_exeext; then
28047 eval "$as_ac_var=yes"
28048 else
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.$ac_ext >&5
28051
28052 eval "$as_ac_var=no"
28053 fi
28054
28055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28056 conftest$ac_exeext conftest.$ac_ext
28057 fi
28058 ac_res=`eval echo '${'$as_ac_var'}'`
28059 { echo "$as_me:$LINENO: result: $ac_res" >&5
28060 echo "${ECHO_T}$ac_res" >&6; }
28061 if test `eval echo '${'$as_ac_var'}'` = yes; then
28062 cat >>confdefs.h <<_ACEOF
28063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28064 _ACEOF
28065 have_cos=1
28066 fi
28067 done
28068
28069
28070 for ac_func in floor
28071 do
28072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28077 else
28078 cat >conftest.$ac_ext <<_ACEOF
28079 /* confdefs.h. */
28080 _ACEOF
28081 cat confdefs.h >>conftest.$ac_ext
28082 cat >>conftest.$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28086 #define $ac_func innocuous_$ac_func
28087
28088 /* System header to define __stub macros and hopefully few prototypes,
28089 which can conflict with char $ac_func (); below.
28090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28091 <limits.h> exists even on freestanding compilers. */
28092
28093 #ifdef __STDC__
28094 # include <limits.h>
28095 #else
28096 # include <assert.h>
28097 #endif
28098
28099 #undef $ac_func
28100
28101 /* Override any GCC internal prototype to avoid an error.
28102 Use char because int might match the return type of a GCC
28103 builtin and then its argument prototype would still apply. */
28104 #ifdef __cplusplus
28105 extern "C"
28106 #endif
28107 char $ac_func ();
28108 /* The GNU C library defines this for functions which it implements
28109 to always fail with ENOSYS. Some functions are actually named
28110 something starting with __ and the normal name is an alias. */
28111 #if defined __stub_$ac_func || defined __stub___$ac_func
28112 choke me
28113 #endif
28114
28115 int
28116 main ()
28117 {
28118 return $ac_func ();
28119 ;
28120 return 0;
28121 }
28122 _ACEOF
28123 rm -f conftest.$ac_objext conftest$ac_exeext
28124 if { (ac_try="$ac_link"
28125 case "(($ac_try" in
28126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28127 *) ac_try_echo=$ac_try;;
28128 esac
28129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28130 (eval "$ac_link") 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } && {
28137 test -z "$ac_c_werror_flag" ||
28138 test ! -s conftest.err
28139 } && test -s conftest$ac_exeext &&
28140 $as_test_x conftest$ac_exeext; then
28141 eval "$as_ac_var=yes"
28142 else
28143 echo "$as_me: failed program was:" >&5
28144 sed 's/^/| /' conftest.$ac_ext >&5
28145
28146 eval "$as_ac_var=no"
28147 fi
28148
28149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28150 conftest$ac_exeext conftest.$ac_ext
28151 fi
28152 ac_res=`eval echo '${'$as_ac_var'}'`
28153 { echo "$as_me:$LINENO: result: $ac_res" >&5
28154 echo "${ECHO_T}$ac_res" >&6; }
28155 if test `eval echo '${'$as_ac_var'}'` = yes; then
28156 cat >>confdefs.h <<_ACEOF
28157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28158 _ACEOF
28159 have_floor=1
28160 fi
28161 done
28162
28163 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28164 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28165 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28166 { echo "$as_me:$LINENO: result: yes" >&5
28167 echo "${ECHO_T}yes" >&6; }
28168 else
28169 { echo "$as_me:$LINENO: result: no" >&5
28170 echo "${ECHO_T}no" >&6; }
28171 LIBS="$LIBS -lm"
28172 # use different functions to avoid configure caching
28173 have_sin=0
28174 have_ceil=0
28175
28176 for ac_func in sin
28177 do
28178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28183 else
28184 cat >conftest.$ac_ext <<_ACEOF
28185 /* confdefs.h. */
28186 _ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28192 #define $ac_func innocuous_$ac_func
28193
28194 /* System header to define __stub macros and hopefully few prototypes,
28195 which can conflict with char $ac_func (); below.
28196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28197 <limits.h> exists even on freestanding compilers. */
28198
28199 #ifdef __STDC__
28200 # include <limits.h>
28201 #else
28202 # include <assert.h>
28203 #endif
28204
28205 #undef $ac_func
28206
28207 /* Override any GCC internal prototype to avoid an error.
28208 Use char because int might match the return type of a GCC
28209 builtin and then its argument prototype would still apply. */
28210 #ifdef __cplusplus
28211 extern "C"
28212 #endif
28213 char $ac_func ();
28214 /* The GNU C library defines this for functions which it implements
28215 to always fail with ENOSYS. Some functions are actually named
28216 something starting with __ and the normal name is an alias. */
28217 #if defined __stub_$ac_func || defined __stub___$ac_func
28218 choke me
28219 #endif
28220
28221 int
28222 main ()
28223 {
28224 return $ac_func ();
28225 ;
28226 return 0;
28227 }
28228 _ACEOF
28229 rm -f conftest.$ac_objext conftest$ac_exeext
28230 if { (ac_try="$ac_link"
28231 case "(($ac_try" in
28232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28233 *) ac_try_echo=$ac_try;;
28234 esac
28235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28236 (eval "$ac_link") 2>conftest.er1
28237 ac_status=$?
28238 grep -v '^ *+' conftest.er1 >conftest.err
28239 rm -f conftest.er1
28240 cat conftest.err >&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } && {
28243 test -z "$ac_c_werror_flag" ||
28244 test ! -s conftest.err
28245 } && test -s conftest$ac_exeext &&
28246 $as_test_x conftest$ac_exeext; then
28247 eval "$as_ac_var=yes"
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28251
28252 eval "$as_ac_var=no"
28253 fi
28254
28255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28256 conftest$ac_exeext conftest.$ac_ext
28257 fi
28258 ac_res=`eval echo '${'$as_ac_var'}'`
28259 { echo "$as_me:$LINENO: result: $ac_res" >&5
28260 echo "${ECHO_T}$ac_res" >&6; }
28261 if test `eval echo '${'$as_ac_var'}'` = yes; then
28262 cat >>confdefs.h <<_ACEOF
28263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28264 _ACEOF
28265 have_sin=1
28266 fi
28267 done
28268
28269
28270 for ac_func in ceil
28271 do
28272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278 cat >conftest.$ac_ext <<_ACEOF
28279 /* confdefs.h. */
28280 _ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28286 #define $ac_func innocuous_$ac_func
28287
28288 /* System header to define __stub macros and hopefully few prototypes,
28289 which can conflict with char $ac_func (); below.
28290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28291 <limits.h> exists even on freestanding compilers. */
28292
28293 #ifdef __STDC__
28294 # include <limits.h>
28295 #else
28296 # include <assert.h>
28297 #endif
28298
28299 #undef $ac_func
28300
28301 /* Override any GCC internal prototype to avoid an error.
28302 Use char because int might match the return type of a GCC
28303 builtin and then its argument prototype would still apply. */
28304 #ifdef __cplusplus
28305 extern "C"
28306 #endif
28307 char $ac_func ();
28308 /* The GNU C library defines this for functions which it implements
28309 to always fail with ENOSYS. Some functions are actually named
28310 something starting with __ and the normal name is an alias. */
28311 #if defined __stub_$ac_func || defined __stub___$ac_func
28312 choke me
28313 #endif
28314
28315 int
28316 main ()
28317 {
28318 return $ac_func ();
28319 ;
28320 return 0;
28321 }
28322 _ACEOF
28323 rm -f conftest.$ac_objext conftest$ac_exeext
28324 if { (ac_try="$ac_link"
28325 case "(($ac_try" in
28326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28327 *) ac_try_echo=$ac_try;;
28328 esac
28329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28330 (eval "$ac_link") 2>conftest.er1
28331 ac_status=$?
28332 grep -v '^ *+' conftest.er1 >conftest.err
28333 rm -f conftest.er1
28334 cat conftest.err >&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); } && {
28337 test -z "$ac_c_werror_flag" ||
28338 test ! -s conftest.err
28339 } && test -s conftest$ac_exeext &&
28340 $as_test_x conftest$ac_exeext; then
28341 eval "$as_ac_var=yes"
28342 else
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28345
28346 eval "$as_ac_var=no"
28347 fi
28348
28349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28350 conftest$ac_exeext conftest.$ac_ext
28351 fi
28352 ac_res=`eval echo '${'$as_ac_var'}'`
28353 { echo "$as_me:$LINENO: result: $ac_res" >&5
28354 echo "${ECHO_T}$ac_res" >&6; }
28355 if test `eval echo '${'$as_ac_var'}'` = yes; then
28356 cat >>confdefs.h <<_ACEOF
28357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28358 _ACEOF
28359 have_ceil=1
28360 fi
28361 done
28362
28363 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28364 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28365 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28366 { echo "$as_me:$LINENO: result: yes" >&5
28367 echo "${ECHO_T}yes" >&6; }
28368 else
28369 { echo "$as_me:$LINENO: result: no" >&5
28370 echo "${ECHO_T}no" >&6; }
28371 # not sure we should warn the user, crash, etc.
28372 fi
28373 fi
28374
28375 ac_ext=cpp
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28380
28381 if test "wxUSE_UNICODE" = "yes"; then
28382
28383 for wx_func in wcstoull
28384 do
28385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 else
28390
28391 cat >conftest.$ac_ext <<_ACEOF
28392
28393 /* confdefs.h. */
28394 _ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28398
28399
28400 $ac_includes_default
28401
28402 int
28403 main ()
28404 {
28405
28406 #ifndef $wx_func
28407 &$wx_func;
28408 #endif
28409
28410
28411 ;
28412 return 0;
28413 }
28414
28415 _ACEOF
28416 rm -f conftest.$ac_objext conftest$ac_exeext
28417 if { (ac_try="$ac_link"
28418 case "(($ac_try" in
28419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28420 *) ac_try_echo=$ac_try;;
28421 esac
28422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28423 (eval "$ac_link") 2>conftest.er1
28424 ac_status=$?
28425 grep -v '^ *+' conftest.er1 >conftest.err
28426 rm -f conftest.er1
28427 cat conftest.err >&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } && {
28430 test -z "$ac_cxx_werror_flag" ||
28431 test ! -s conftest.err
28432 } && test -s conftest$ac_exeext &&
28433 $as_test_x conftest$ac_exeext; then
28434 eval wx_cv_func_$wx_func=yes
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 eval wx_cv_func_$wx_func=no
28440 fi
28441
28442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28443 conftest$ac_exeext conftest.$ac_ext
28444
28445 fi
28446 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28447 { echo "$as_me:$LINENO: result: $ac_res" >&5
28448 echo "${ECHO_T}$ac_res" >&6; }
28449
28450 if eval test \$wx_cv_func_$wx_func = yes
28451 then
28452 cat >>confdefs.h <<_ACEOF
28453 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28454 _ACEOF
28455
28456
28457 else
28458 :
28459
28460 fi
28461 done
28462
28463 else
28464
28465 for wx_func in strtoull
28466 do
28467 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28468 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28469 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28471 else
28472
28473 cat >conftest.$ac_ext <<_ACEOF
28474
28475 /* confdefs.h. */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28480
28481
28482 $ac_includes_default
28483
28484 int
28485 main ()
28486 {
28487
28488 #ifndef $wx_func
28489 &$wx_func;
28490 #endif
28491
28492
28493 ;
28494 return 0;
28495 }
28496
28497 _ACEOF
28498 rm -f conftest.$ac_objext conftest$ac_exeext
28499 if { (ac_try="$ac_link"
28500 case "(($ac_try" in
28501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28502 *) ac_try_echo=$ac_try;;
28503 esac
28504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28505 (eval "$ac_link") 2>conftest.er1
28506 ac_status=$?
28507 grep -v '^ *+' conftest.er1 >conftest.err
28508 rm -f conftest.er1
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } && {
28512 test -z "$ac_cxx_werror_flag" ||
28513 test ! -s conftest.err
28514 } && test -s conftest$ac_exeext &&
28515 $as_test_x conftest$ac_exeext; then
28516 eval wx_cv_func_$wx_func=yes
28517 else
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28520
28521 eval wx_cv_func_$wx_func=no
28522 fi
28523
28524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28525 conftest$ac_exeext conftest.$ac_ext
28526
28527 fi
28528 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28529 { echo "$as_me:$LINENO: result: $ac_res" >&5
28530 echo "${ECHO_T}$ac_res" >&6; }
28531
28532 if eval test \$wx_cv_func_$wx_func = yes
28533 then
28534 cat >>confdefs.h <<_ACEOF
28535 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28536 _ACEOF
28537
28538
28539 else
28540 :
28541
28542 fi
28543 done
28544
28545 fi
28546 ac_ext=c
28547 ac_cpp='$CPP $CPPFLAGS'
28548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28551
28552
28553
28554
28555 if test "$wxUSE_REGEX" != "no"; then
28556 cat >>confdefs.h <<\_ACEOF
28557 #define wxUSE_REGEX 1
28558 _ACEOF
28559
28560
28561 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28562 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28563 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28564 wxUSE_REGEX=builtin
28565 fi
28566
28567 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28568 { echo "$as_me:$LINENO: checking for regex.h" >&5
28569 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28570 if test "${ac_cv_header_regex_h+set}" = set; then
28571 echo $ECHO_N "(cached) $ECHO_C" >&6
28572 else
28573 cat >conftest.$ac_ext <<_ACEOF
28574 /* confdefs.h. */
28575 _ACEOF
28576 cat confdefs.h >>conftest.$ac_ext
28577 cat >>conftest.$ac_ext <<_ACEOF
28578 /* end confdefs.h. */
28579
28580
28581 #include <regex.h>
28582 _ACEOF
28583 rm -f conftest.$ac_objext
28584 if { (ac_try="$ac_compile"
28585 case "(($ac_try" in
28586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28587 *) ac_try_echo=$ac_try;;
28588 esac
28589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28590 (eval "$ac_compile") 2>conftest.er1
28591 ac_status=$?
28592 grep -v '^ *+' conftest.er1 >conftest.err
28593 rm -f conftest.er1
28594 cat conftest.err >&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); } && {
28597 test -z "$ac_c_werror_flag" ||
28598 test ! -s conftest.err
28599 } && test -s conftest.$ac_objext; then
28600 ac_cv_header_regex_h=yes
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 ac_cv_header_regex_h=no
28606 fi
28607
28608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28609 fi
28610 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28611 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28612 if test $ac_cv_header_regex_h = yes; then
28613
28614
28615 for ac_func in regcomp re_search
28616 do
28617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28621 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 else
28623 cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h. */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28631 #define $ac_func innocuous_$ac_func
28632
28633 /* System header to define __stub macros and hopefully few prototypes,
28634 which can conflict with char $ac_func (); below.
28635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28636 <limits.h> exists even on freestanding compilers. */
28637
28638 #ifdef __STDC__
28639 # include <limits.h>
28640 #else
28641 # include <assert.h>
28642 #endif
28643
28644 #undef $ac_func
28645
28646 /* Override any GCC internal prototype to avoid an error.
28647 Use char because int might match the return type of a GCC
28648 builtin and then its argument prototype would still apply. */
28649 #ifdef __cplusplus
28650 extern "C"
28651 #endif
28652 char $ac_func ();
28653 /* The GNU C library defines this for functions which it implements
28654 to always fail with ENOSYS. Some functions are actually named
28655 something starting with __ and the normal name is an alias. */
28656 #if defined __stub_$ac_func || defined __stub___$ac_func
28657 choke me
28658 #endif
28659
28660 int
28661 main ()
28662 {
28663 return $ac_func ();
28664 ;
28665 return 0;
28666 }
28667 _ACEOF
28668 rm -f conftest.$ac_objext conftest$ac_exeext
28669 if { (ac_try="$ac_link"
28670 case "(($ac_try" in
28671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28673 esac
28674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_link") 2>conftest.er1
28676 ac_status=$?
28677 grep -v '^ *+' conftest.er1 >conftest.err
28678 rm -f conftest.er1
28679 cat conftest.err >&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } && {
28682 test -z "$ac_c_werror_flag" ||
28683 test ! -s conftest.err
28684 } && test -s conftest$ac_exeext &&
28685 $as_test_x conftest$ac_exeext; then
28686 eval "$as_ac_var=yes"
28687 else
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28690
28691 eval "$as_ac_var=no"
28692 fi
28693
28694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28695 conftest$ac_exeext conftest.$ac_ext
28696 fi
28697 ac_res=`eval echo '${'$as_ac_var'}'`
28698 { echo "$as_me:$LINENO: result: $ac_res" >&5
28699 echo "${ECHO_T}$ac_res" >&6; }
28700 if test `eval echo '${'$as_ac_var'}'` = yes; then
28701 cat >>confdefs.h <<_ACEOF
28702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28703 _ACEOF
28704
28705 fi
28706 done
28707
28708 fi
28709
28710
28711
28712 if test "x$ac_cv_func_regcomp" != "xyes"; then
28713 if test "$wxUSE_REGEX" = "sys" ; then
28714 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28715 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28716 { (exit 1); exit 1; }; }
28717 else
28718 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28719 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28720 wxUSE_REGEX=builtin
28721 fi
28722 else
28723 wxUSE_REGEX=sys
28724 cat >>confdefs.h <<\_ACEOF
28725 #define WX_NO_REGEX_ADVANCED 1
28726 _ACEOF
28727
28728 fi
28729 fi
28730 fi
28731
28732
28733 ZLIB_LINK=
28734 if test "$wxUSE_ZLIB" != "no" ; then
28735 cat >>confdefs.h <<\_ACEOF
28736 #define wxUSE_ZLIB 1
28737 _ACEOF
28738
28739
28740 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28741 if test "$USE_DARWIN" = 1; then
28742 system_zlib_h_ok="yes"
28743 else
28744 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28745 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28746 if test "${ac_cv_header_zlib_h+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 else
28749 if test "$cross_compiling" = yes; then
28750 unset ac_cv_header_zlib_h
28751
28752 else
28753 cat >conftest.$ac_ext <<_ACEOF
28754 /* confdefs.h. */
28755 _ACEOF
28756 cat confdefs.h >>conftest.$ac_ext
28757 cat >>conftest.$ac_ext <<_ACEOF
28758 /* end confdefs.h. */
28759
28760 #include <zlib.h>
28761 #include <stdio.h>
28762
28763 int main()
28764 {
28765 FILE *f=fopen("conftestval", "w");
28766 if (!f) exit(1);
28767 fprintf(f, "%s",
28768 ZLIB_VERSION[0] == '1' &&
28769 (ZLIB_VERSION[2] > '1' ||
28770 (ZLIB_VERSION[2] == '1' &&
28771 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28772 exit(0);
28773 }
28774
28775 _ACEOF
28776 rm -f conftest$ac_exeext
28777 if { (ac_try="$ac_link"
28778 case "(($ac_try" in
28779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28780 *) ac_try_echo=$ac_try;;
28781 esac
28782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28783 (eval "$ac_link") 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28787 { (case "(($ac_try" in
28788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28789 *) ac_try_echo=$ac_try;;
28790 esac
28791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28792 (eval "$ac_try") 2>&5
28793 ac_status=$?
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 ac_cv_header_zlib_h=`cat conftestval`
28797 else
28798 echo "$as_me: program exited with status $ac_status" >&5
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28801
28802 ( exit $ac_status )
28803 ac_cv_header_zlib_h=no
28804 fi
28805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28806 fi
28807
28808
28809
28810 fi
28811 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28812 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28813 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28814 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28815 if test "${ac_cv_header_zlib_h+set}" = set; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 else
28818 cat >conftest.$ac_ext <<_ACEOF
28819 /* confdefs.h. */
28820 _ACEOF
28821 cat confdefs.h >>conftest.$ac_ext
28822 cat >>conftest.$ac_ext <<_ACEOF
28823 /* end confdefs.h. */
28824
28825
28826 #include <zlib.h>
28827 _ACEOF
28828 rm -f conftest.$ac_objext
28829 if { (ac_try="$ac_compile"
28830 case "(($ac_try" in
28831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28832 *) ac_try_echo=$ac_try;;
28833 esac
28834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28835 (eval "$ac_compile") 2>conftest.er1
28836 ac_status=$?
28837 grep -v '^ *+' conftest.er1 >conftest.err
28838 rm -f conftest.er1
28839 cat conftest.err >&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } && {
28842 test -z "$ac_c_werror_flag" ||
28843 test ! -s conftest.err
28844 } && test -s conftest.$ac_objext; then
28845 ac_cv_header_zlib_h=yes
28846 else
28847 echo "$as_me: failed program was:" >&5
28848 sed 's/^/| /' conftest.$ac_ext >&5
28849
28850 ac_cv_header_zlib_h=no
28851 fi
28852
28853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28854 fi
28855 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28856 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28857
28858
28859
28860 system_zlib_h_ok=$ac_cv_header_zlib_h
28861 fi
28862
28863 if test "$system_zlib_h_ok" = "yes"; then
28864 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28865 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28866 if test "${ac_cv_lib_z_deflate+set}" = set; then
28867 echo $ECHO_N "(cached) $ECHO_C" >&6
28868 else
28869 ac_check_lib_save_LIBS=$LIBS
28870 LIBS="-lz $LIBS"
28871 cat >conftest.$ac_ext <<_ACEOF
28872 /* confdefs.h. */
28873 _ACEOF
28874 cat confdefs.h >>conftest.$ac_ext
28875 cat >>conftest.$ac_ext <<_ACEOF
28876 /* end confdefs.h. */
28877
28878 /* Override any GCC internal prototype to avoid an error.
28879 Use char because int might match the return type of a GCC
28880 builtin and then its argument prototype would still apply. */
28881 #ifdef __cplusplus
28882 extern "C"
28883 #endif
28884 char deflate ();
28885 int
28886 main ()
28887 {
28888 return deflate ();
28889 ;
28890 return 0;
28891 }
28892 _ACEOF
28893 rm -f conftest.$ac_objext conftest$ac_exeext
28894 if { (ac_try="$ac_link"
28895 case "(($ac_try" in
28896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28898 esac
28899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_link") 2>conftest.er1
28901 ac_status=$?
28902 grep -v '^ *+' conftest.er1 >conftest.err
28903 rm -f conftest.er1
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } && {
28907 test -z "$ac_c_werror_flag" ||
28908 test ! -s conftest.err
28909 } && test -s conftest$ac_exeext &&
28910 $as_test_x conftest$ac_exeext; then
28911 ac_cv_lib_z_deflate=yes
28912 else
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28915
28916 ac_cv_lib_z_deflate=no
28917 fi
28918
28919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28920 conftest$ac_exeext conftest.$ac_ext
28921 LIBS=$ac_check_lib_save_LIBS
28922 fi
28923 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28924 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28925 if test $ac_cv_lib_z_deflate = yes; then
28926 ZLIB_LINK=" -lz"
28927 fi
28928
28929 fi
28930
28931 if test "x$ZLIB_LINK" = "x" ; then
28932 if test "$wxUSE_ZLIB" = "sys" ; then
28933 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28934 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28935 { (exit 1); exit 1; }; }
28936 else
28937 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28938 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28939 wxUSE_ZLIB=builtin
28940 fi
28941 else
28942 wxUSE_ZLIB=sys
28943 fi
28944 fi
28945 fi
28946
28947
28948 PNG_LINK=
28949 if test "$wxUSE_LIBPNG" != "no" ; then
28950 cat >>confdefs.h <<\_ACEOF
28951 #define wxUSE_LIBPNG 1
28952 _ACEOF
28953
28954
28955 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28956 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28957 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28958 wxUSE_LIBPNG=sys
28959 fi
28960
28961 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28962 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28963 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28964 wxUSE_LIBPNG=builtin
28965 fi
28966
28967 if test "$wxUSE_MGL" != 1 ; then
28968 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28969 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28970 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28971 if test "${ac_cv_header_png_h+set}" = set; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 else
28974 if test "$cross_compiling" = yes; then
28975 unset ac_cv_header_png_h
28976
28977 else
28978 cat >conftest.$ac_ext <<_ACEOF
28979 /* confdefs.h. */
28980 _ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28984
28985 #include <png.h>
28986 #include <stdio.h>
28987
28988 int main()
28989 {
28990 FILE *f=fopen("conftestval", "w");
28991 if (!f) exit(1);
28992 fprintf(f, "%s",
28993 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28994 exit(0);
28995 }
28996
28997 _ACEOF
28998 rm -f conftest$ac_exeext
28999 if { (ac_try="$ac_link"
29000 case "(($ac_try" in
29001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29002 *) ac_try_echo=$ac_try;;
29003 esac
29004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29005 (eval "$ac_link") 2>&5
29006 ac_status=$?
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29009 { (case "(($ac_try" in
29010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29011 *) ac_try_echo=$ac_try;;
29012 esac
29013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29014 (eval "$ac_try") 2>&5
29015 ac_status=$?
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 ac_cv_header_png_h=`cat conftestval`
29019 else
29020 echo "$as_me: program exited with status $ac_status" >&5
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.$ac_ext >&5
29023
29024 ( exit $ac_status )
29025 ac_cv_header_png_h=no
29026 fi
29027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29028 fi
29029
29030
29031
29032 fi
29033 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29034 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29035 { echo "$as_me:$LINENO: checking for png.h" >&5
29036 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29037 if test "${ac_cv_header_png_h+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h. */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046
29047
29048 #include <png.h>
29049 _ACEOF
29050 rm -f conftest.$ac_objext
29051 if { (ac_try="$ac_compile"
29052 case "(($ac_try" in
29053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29054 *) ac_try_echo=$ac_try;;
29055 esac
29056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29057 (eval "$ac_compile") 2>conftest.er1
29058 ac_status=$?
29059 grep -v '^ *+' conftest.er1 >conftest.err
29060 rm -f conftest.er1
29061 cat conftest.err >&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); } && {
29064 test -z "$ac_c_werror_flag" ||
29065 test ! -s conftest.err
29066 } && test -s conftest.$ac_objext; then
29067 ac_cv_header_png_h=yes
29068 else
29069 echo "$as_me: failed program was:" >&5
29070 sed 's/^/| /' conftest.$ac_ext >&5
29071
29072 ac_cv_header_png_h=no
29073 fi
29074
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 fi
29077 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29078 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29079
29080
29081
29082 if test "$ac_cv_header_png_h" = "yes"; then
29083 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29084 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29085 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29086 echo $ECHO_N "(cached) $ECHO_C" >&6
29087 else
29088 ac_check_lib_save_LIBS=$LIBS
29089 LIBS="-lpng -lz -lm $LIBS"
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h. */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29096
29097 /* Override any GCC internal prototype to avoid an error.
29098 Use char because int might match the return type of a GCC
29099 builtin and then its argument prototype would still apply. */
29100 #ifdef __cplusplus
29101 extern "C"
29102 #endif
29103 char png_check_sig ();
29104 int
29105 main ()
29106 {
29107 return png_check_sig ();
29108 ;
29109 return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (ac_try="$ac_link"
29114 case "(($ac_try" in
29115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29116 *) ac_try_echo=$ac_try;;
29117 esac
29118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29119 (eval "$ac_link") 2>conftest.er1
29120 ac_status=$?
29121 grep -v '^ *+' conftest.er1 >conftest.err
29122 rm -f conftest.er1
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } && {
29126 test -z "$ac_c_werror_flag" ||
29127 test ! -s conftest.err
29128 } && test -s conftest$ac_exeext &&
29129 $as_test_x conftest$ac_exeext; then
29130 ac_cv_lib_png_png_check_sig=yes
29131 else
29132 echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.$ac_ext >&5
29134
29135 ac_cv_lib_png_png_check_sig=no
29136 fi
29137
29138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29139 conftest$ac_exeext conftest.$ac_ext
29140 LIBS=$ac_check_lib_save_LIBS
29141 fi
29142 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29143 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29144 if test $ac_cv_lib_png_png_check_sig = yes; then
29145 PNG_LINK=" -lpng -lz"
29146 fi
29147
29148 fi
29149
29150 if test "x$PNG_LINK" = "x" ; then
29151 if test "$wxUSE_LIBPNG" = "sys" ; then
29152 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29153 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29154 { (exit 1); exit 1; }; }
29155 else
29156 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29157 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29158 wxUSE_LIBPNG=builtin
29159 fi
29160 else
29161 wxUSE_LIBPNG=sys
29162 fi
29163 fi
29164 fi
29165 fi
29166
29167
29168 JPEG_LINK=
29169 if test "$wxUSE_LIBJPEG" != "no" ; then
29170 cat >>confdefs.h <<\_ACEOF
29171 #define wxUSE_LIBJPEG 1
29172 _ACEOF
29173
29174
29175 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29176 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29177 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29178 wxUSE_LIBJPEG=sys
29179 fi
29180
29181 if test "$wxUSE_MGL" != 1 ; then
29182 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29183 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29184 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29185 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29188 cat >conftest.$ac_ext <<_ACEOF
29189 /* confdefs.h. */
29190 _ACEOF
29191 cat confdefs.h >>conftest.$ac_ext
29192 cat >>conftest.$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29194
29195 #undef HAVE_STDLIB_H
29196 #include <stdio.h>
29197 #include <jpeglib.h>
29198
29199 int
29200 main ()
29201 {
29202
29203
29204 ;
29205 return 0;
29206 }
29207 _ACEOF
29208 rm -f conftest.$ac_objext
29209 if { (ac_try="$ac_compile"
29210 case "(($ac_try" in
29211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29212 *) ac_try_echo=$ac_try;;
29213 esac
29214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29215 (eval "$ac_compile") 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } && {
29222 test -z "$ac_c_werror_flag" ||
29223 test ! -s conftest.err
29224 } && test -s conftest.$ac_objext; then
29225 ac_cv_header_jpeglib_h=yes
29226 else
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.$ac_ext >&5
29229
29230 ac_cv_header_jpeglib_h=no
29231
29232 fi
29233
29234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29235
29236 fi
29237
29238 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29239 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29240
29241 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29242 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29243 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29244 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29245 echo $ECHO_N "(cached) $ECHO_C" >&6
29246 else
29247 ac_check_lib_save_LIBS=$LIBS
29248 LIBS="-ljpeg $LIBS"
29249 cat >conftest.$ac_ext <<_ACEOF
29250 /* confdefs.h. */
29251 _ACEOF
29252 cat confdefs.h >>conftest.$ac_ext
29253 cat >>conftest.$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29255
29256 /* Override any GCC internal prototype to avoid an error.
29257 Use char because int might match the return type of a GCC
29258 builtin and then its argument prototype would still apply. */
29259 #ifdef __cplusplus
29260 extern "C"
29261 #endif
29262 char jpeg_read_header ();
29263 int
29264 main ()
29265 {
29266 return jpeg_read_header ();
29267 ;
29268 return 0;
29269 }
29270 _ACEOF
29271 rm -f conftest.$ac_objext conftest$ac_exeext
29272 if { (ac_try="$ac_link"
29273 case "(($ac_try" in
29274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29275 *) ac_try_echo=$ac_try;;
29276 esac
29277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29278 (eval "$ac_link") 2>conftest.er1
29279 ac_status=$?
29280 grep -v '^ *+' conftest.er1 >conftest.err
29281 rm -f conftest.er1
29282 cat conftest.err >&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } && {
29285 test -z "$ac_c_werror_flag" ||
29286 test ! -s conftest.err
29287 } && test -s conftest$ac_exeext &&
29288 $as_test_x conftest$ac_exeext; then
29289 ac_cv_lib_jpeg_jpeg_read_header=yes
29290 else
29291 echo "$as_me: failed program was:" >&5
29292 sed 's/^/| /' conftest.$ac_ext >&5
29293
29294 ac_cv_lib_jpeg_jpeg_read_header=no
29295 fi
29296
29297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29298 conftest$ac_exeext conftest.$ac_ext
29299 LIBS=$ac_check_lib_save_LIBS
29300 fi
29301 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29302 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29303 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29304 JPEG_LINK=" -ljpeg"
29305 fi
29306
29307 fi
29308
29309 if test "x$JPEG_LINK" = "x" ; then
29310 if test "$wxUSE_LIBJPEG" = "sys" ; then
29311 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29312 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29313 { (exit 1); exit 1; }; }
29314 else
29315 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29316 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29317 wxUSE_LIBJPEG=builtin
29318 fi
29319 else
29320 wxUSE_LIBJPEG=sys
29321
29322 if test "$wxUSE_MSW" = 1; then
29323 { echo "$as_me:$LINENO: checking for boolean" >&5
29324 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29325 if test "${ac_cv_type_boolean+set}" = set; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 else
29328 cat >conftest.$ac_ext <<_ACEOF
29329 /* confdefs.h. */
29330 _ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 #include <windows.h>
29335
29336 typedef boolean ac__type_new_;
29337 int
29338 main ()
29339 {
29340 if ((ac__type_new_ *) 0)
29341 return 0;
29342 if (sizeof (ac__type_new_))
29343 return 0;
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext
29349 if { (ac_try="$ac_compile"
29350 case "(($ac_try" in
29351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29352 *) ac_try_echo=$ac_try;;
29353 esac
29354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29355 (eval "$ac_compile") 2>conftest.er1
29356 ac_status=$?
29357 grep -v '^ *+' conftest.er1 >conftest.err
29358 rm -f conftest.er1
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } && {
29362 test -z "$ac_c_werror_flag" ||
29363 test ! -s conftest.err
29364 } && test -s conftest.$ac_objext; then
29365 ac_cv_type_boolean=yes
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 ac_cv_type_boolean=no
29371 fi
29372
29373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29374 fi
29375 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29376 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29377 if test $ac_cv_type_boolean = yes; then
29378
29379 cat >>confdefs.h <<_ACEOF
29380 #define HAVE_BOOLEAN 1
29381 _ACEOF
29382
29383
29384 { echo "$as_me:$LINENO: checking for boolean" >&5
29385 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29386 if test "${ac_cv_type_boolean+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29388 else
29389 cat >conftest.$ac_ext <<_ACEOF
29390 /* confdefs.h. */
29391 _ACEOF
29392 cat confdefs.h >>conftest.$ac_ext
29393 cat >>conftest.$ac_ext <<_ACEOF
29394 /* end confdefs.h. */
29395
29396 #undef HAVE_BOOLEAN
29397 #include <stdio.h>
29398 #include <jpeglib.h>
29399
29400
29401 typedef boolean ac__type_new_;
29402 int
29403 main ()
29404 {
29405 if ((ac__type_new_ *) 0)
29406 return 0;
29407 if (sizeof (ac__type_new_))
29408 return 0;
29409 ;
29410 return 0;
29411 }
29412 _ACEOF
29413 rm -f conftest.$ac_objext
29414 if { (ac_try="$ac_compile"
29415 case "(($ac_try" in
29416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29418 esac
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_compile") 2>conftest.er1
29421 ac_status=$?
29422 grep -v '^ *+' conftest.er1 >conftest.err
29423 rm -f conftest.er1
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest.$ac_objext; then
29430 ac_cv_type_boolean=yes
29431 else
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29434
29435 ac_cv_type_boolean=no
29436 fi
29437
29438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29439 fi
29440 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29441 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29442
29443 # The cast to long int works around a bug in the HP C Compiler
29444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29445 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29446 # This bug is HP SR number 8606223364.
29447 { echo "$as_me:$LINENO: checking size of boolean" >&5
29448 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29449 if test "${ac_cv_sizeof_boolean+set}" = set; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29451 else
29452 if test "$cross_compiling" = yes; then
29453 # Depending upon the size, compute the lo and hi bounds.
29454 cat >conftest.$ac_ext <<_ACEOF
29455 /* confdefs.h. */
29456 _ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29460
29461 #undef HAVE_BOOLEAN
29462 #include <stdio.h>
29463 #include <jpeglib.h>
29464
29465
29466 typedef boolean ac__type_sizeof_;
29467 int
29468 main ()
29469 {
29470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29471 test_array [0] = 0
29472
29473 ;
29474 return 0;
29475 }
29476 _ACEOF
29477 rm -f conftest.$ac_objext
29478 if { (ac_try="$ac_compile"
29479 case "(($ac_try" in
29480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29481 *) ac_try_echo=$ac_try;;
29482 esac
29483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29484 (eval "$ac_compile") 2>conftest.er1
29485 ac_status=$?
29486 grep -v '^ *+' conftest.er1 >conftest.err
29487 rm -f conftest.er1
29488 cat conftest.err >&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } && {
29491 test -z "$ac_c_werror_flag" ||
29492 test ! -s conftest.err
29493 } && test -s conftest.$ac_objext; then
29494 ac_lo=0 ac_mid=0
29495 while :; do
29496 cat >conftest.$ac_ext <<_ACEOF
29497 /* confdefs.h. */
29498 _ACEOF
29499 cat confdefs.h >>conftest.$ac_ext
29500 cat >>conftest.$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29502
29503 #undef HAVE_BOOLEAN
29504 #include <stdio.h>
29505 #include <jpeglib.h>
29506
29507
29508 typedef boolean ac__type_sizeof_;
29509 int
29510 main ()
29511 {
29512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29513 test_array [0] = 0
29514
29515 ;
29516 return 0;
29517 }
29518 _ACEOF
29519 rm -f conftest.$ac_objext
29520 if { (ac_try="$ac_compile"
29521 case "(($ac_try" in
29522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29523 *) ac_try_echo=$ac_try;;
29524 esac
29525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29526 (eval "$ac_compile") 2>conftest.er1
29527 ac_status=$?
29528 grep -v '^ *+' conftest.er1 >conftest.err
29529 rm -f conftest.er1
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } && {
29533 test -z "$ac_c_werror_flag" ||
29534 test ! -s conftest.err
29535 } && test -s conftest.$ac_objext; then
29536 ac_hi=$ac_mid; break
29537 else
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29540
29541 ac_lo=`expr $ac_mid + 1`
29542 if test $ac_lo -le $ac_mid; then
29543 ac_lo= ac_hi=
29544 break
29545 fi
29546 ac_mid=`expr 2 '*' $ac_mid + 1`
29547 fi
29548
29549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29550 done
29551 else
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.$ac_ext >&5
29554
29555 cat >conftest.$ac_ext <<_ACEOF
29556 /* confdefs.h. */
29557 _ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29561
29562 #undef HAVE_BOOLEAN
29563 #include <stdio.h>
29564 #include <jpeglib.h>
29565
29566
29567 typedef boolean ac__type_sizeof_;
29568 int
29569 main ()
29570 {
29571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29572 test_array [0] = 0
29573
29574 ;
29575 return 0;
29576 }
29577 _ACEOF
29578 rm -f conftest.$ac_objext
29579 if { (ac_try="$ac_compile"
29580 case "(($ac_try" in
29581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582 *) ac_try_echo=$ac_try;;
29583 esac
29584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585 (eval "$ac_compile") 2>conftest.er1
29586 ac_status=$?
29587 grep -v '^ *+' conftest.er1 >conftest.err
29588 rm -f conftest.er1
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } && {
29592 test -z "$ac_c_werror_flag" ||
29593 test ! -s conftest.err
29594 } && test -s conftest.$ac_objext; then
29595 ac_hi=-1 ac_mid=-1
29596 while :; do
29597 cat >conftest.$ac_ext <<_ACEOF
29598 /* confdefs.h. */
29599 _ACEOF
29600 cat confdefs.h >>conftest.$ac_ext
29601 cat >>conftest.$ac_ext <<_ACEOF
29602 /* end confdefs.h. */
29603
29604 #undef HAVE_BOOLEAN
29605 #include <stdio.h>
29606 #include <jpeglib.h>
29607
29608
29609 typedef boolean ac__type_sizeof_;
29610 int
29611 main ()
29612 {
29613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29614 test_array [0] = 0
29615
29616 ;
29617 return 0;
29618 }
29619 _ACEOF
29620 rm -f conftest.$ac_objext
29621 if { (ac_try="$ac_compile"
29622 case "(($ac_try" in
29623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29624 *) ac_try_echo=$ac_try;;
29625 esac
29626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29627 (eval "$ac_compile") 2>conftest.er1
29628 ac_status=$?
29629 grep -v '^ *+' conftest.er1 >conftest.err
29630 rm -f conftest.er1
29631 cat conftest.err >&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } && {
29634 test -z "$ac_c_werror_flag" ||
29635 test ! -s conftest.err
29636 } && test -s conftest.$ac_objext; then
29637 ac_lo=$ac_mid; break
29638 else
29639 echo "$as_me: failed program was:" >&5
29640 sed 's/^/| /' conftest.$ac_ext >&5
29641
29642 ac_hi=`expr '(' $ac_mid ')' - 1`
29643 if test $ac_mid -le $ac_hi; then
29644 ac_lo= ac_hi=
29645 break
29646 fi
29647 ac_mid=`expr 2 '*' $ac_mid`
29648 fi
29649
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 done
29652 else
29653 echo "$as_me: failed program was:" >&5
29654 sed 's/^/| /' conftest.$ac_ext >&5
29655
29656 ac_lo= ac_hi=
29657 fi
29658
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29660 fi
29661
29662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663 # Binary search between lo and hi bounds.
29664 while test "x$ac_lo" != "x$ac_hi"; do
29665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29666 cat >conftest.$ac_ext <<_ACEOF
29667 /* confdefs.h. */
29668 _ACEOF
29669 cat confdefs.h >>conftest.$ac_ext
29670 cat >>conftest.$ac_ext <<_ACEOF
29671 /* end confdefs.h. */
29672
29673 #undef HAVE_BOOLEAN
29674 #include <stdio.h>
29675 #include <jpeglib.h>
29676
29677
29678 typedef boolean ac__type_sizeof_;
29679 int
29680 main ()
29681 {
29682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29683 test_array [0] = 0
29684
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext
29690 if { (ac_try="$ac_compile"
29691 case "(($ac_try" in
29692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29693 *) ac_try_echo=$ac_try;;
29694 esac
29695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29696 (eval "$ac_compile") 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } && {
29703 test -z "$ac_c_werror_flag" ||
29704 test ! -s conftest.err
29705 } && test -s conftest.$ac_objext; then
29706 ac_hi=$ac_mid
29707 else
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29710
29711 ac_lo=`expr '(' $ac_mid ')' + 1`
29712 fi
29713
29714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29715 done
29716 case $ac_lo in
29717 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29718 '') if test "$ac_cv_type_boolean" = yes; then
29719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29720 See \`config.log' for more details." >&5
29721 echo "$as_me: error: cannot compute sizeof (boolean)
29722 See \`config.log' for more details." >&2;}
29723 { (exit 77); exit 77; }; }
29724 else
29725 ac_cv_sizeof_boolean=0
29726 fi ;;
29727 esac
29728 else
29729 cat >conftest.$ac_ext <<_ACEOF
29730 /* confdefs.h. */
29731 _ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735
29736 #undef HAVE_BOOLEAN
29737 #include <stdio.h>
29738 #include <jpeglib.h>
29739
29740
29741 typedef boolean ac__type_sizeof_;
29742 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29743 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29744 #include <stdio.h>
29745 #include <stdlib.h>
29746 int
29747 main ()
29748 {
29749
29750 FILE *f = fopen ("conftest.val", "w");
29751 if (! f)
29752 return 1;
29753 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29754 {
29755 long int i = longval ();
29756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29757 return 1;
29758 fprintf (f, "%ld\n", i);
29759 }
29760 else
29761 {
29762 unsigned long int i = ulongval ();
29763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29764 return 1;
29765 fprintf (f, "%lu\n", i);
29766 }
29767 return ferror (f) || fclose (f) != 0;
29768
29769 ;
29770 return 0;
29771 }
29772 _ACEOF
29773 rm -f conftest$ac_exeext
29774 if { (ac_try="$ac_link"
29775 case "(($ac_try" in
29776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29777 *) ac_try_echo=$ac_try;;
29778 esac
29779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29780 (eval "$ac_link") 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29784 { (case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29787 esac
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_try") 2>&5
29790 ac_status=$?
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; }; then
29793 ac_cv_sizeof_boolean=`cat conftest.val`
29794 else
29795 echo "$as_me: program exited with status $ac_status" >&5
29796 echo "$as_me: failed program was:" >&5
29797 sed 's/^/| /' conftest.$ac_ext >&5
29798
29799 ( exit $ac_status )
29800 if test "$ac_cv_type_boolean" = yes; then
29801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29802 See \`config.log' for more details." >&5
29803 echo "$as_me: error: cannot compute sizeof (boolean)
29804 See \`config.log' for more details." >&2;}
29805 { (exit 77); exit 77; }; }
29806 else
29807 ac_cv_sizeof_boolean=0
29808 fi
29809 fi
29810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29811 fi
29812 rm -f conftest.val
29813 fi
29814 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29815 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29816
29817
29818
29819 cat >>confdefs.h <<_ACEOF
29820 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29821 _ACEOF
29822
29823
29824 cat >>confdefs.h <<_ACEOF
29825 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29826 _ACEOF
29827
29828
29829 fi
29830
29831 fi
29832 fi
29833 fi
29834 fi
29835 fi
29836
29837
29838 TIFF_LINK=
29839 TIFF_PREREQ_LINKS=-lm
29840 if test "$wxUSE_LIBTIFF" != "no" ; then
29841 cat >>confdefs.h <<\_ACEOF
29842 #define wxUSE_LIBTIFF 1
29843 _ACEOF
29844
29845
29846 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29847 if test "$wxUSE_LIBJPEG" = "sys"; then
29848 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29849 fi
29850 if test "$wxUSE_ZLIB" = "sys"; then
29851 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29852 fi
29853 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29854 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29855 if test "${ac_cv_header_tiffio_h+set}" = set; then
29856 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 else
29858 cat >conftest.$ac_ext <<_ACEOF
29859 /* confdefs.h. */
29860 _ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864
29865
29866
29867 #include <tiffio.h>
29868 _ACEOF
29869 rm -f conftest.$ac_objext
29870 if { (ac_try="$ac_compile"
29871 case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29874 esac
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_compile") 2>conftest.er1
29877 ac_status=$?
29878 grep -v '^ *+' conftest.er1 >conftest.err
29879 rm -f conftest.er1
29880 cat conftest.err >&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } && {
29883 test -z "$ac_c_werror_flag" ||
29884 test ! -s conftest.err
29885 } && test -s conftest.$ac_objext; then
29886 ac_cv_header_tiffio_h=yes
29887 else
29888 echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.$ac_ext >&5
29890
29891 ac_cv_header_tiffio_h=no
29892 fi
29893
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895 fi
29896 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29897 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29898 if test $ac_cv_header_tiffio_h = yes; then
29899
29900 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29901 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29902 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 else
29905 ac_check_lib_save_LIBS=$LIBS
29906 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29907 cat >conftest.$ac_ext <<_ACEOF
29908 /* confdefs.h. */
29909 _ACEOF
29910 cat confdefs.h >>conftest.$ac_ext
29911 cat >>conftest.$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29913
29914 /* Override any GCC internal prototype to avoid an error.
29915 Use char because int might match the return type of a GCC
29916 builtin and then its argument prototype would still apply. */
29917 #ifdef __cplusplus
29918 extern "C"
29919 #endif
29920 char TIFFError ();
29921 int
29922 main ()
29923 {
29924 return TIFFError ();
29925 ;
29926 return 0;
29927 }
29928 _ACEOF
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (ac_try="$ac_link"
29931 case "(($ac_try" in
29932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29933 *) ac_try_echo=$ac_try;;
29934 esac
29935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29936 (eval "$ac_link") 2>conftest.er1
29937 ac_status=$?
29938 grep -v '^ *+' conftest.er1 >conftest.err
29939 rm -f conftest.er1
29940 cat conftest.err >&5
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); } && {
29943 test -z "$ac_c_werror_flag" ||
29944 test ! -s conftest.err
29945 } && test -s conftest$ac_exeext &&
29946 $as_test_x conftest$ac_exeext; then
29947 ac_cv_lib_tiff_TIFFError=yes
29948 else
29949 echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29951
29952 ac_cv_lib_tiff_TIFFError=no
29953 fi
29954
29955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29956 conftest$ac_exeext conftest.$ac_ext
29957 LIBS=$ac_check_lib_save_LIBS
29958 fi
29959 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29960 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29961 if test $ac_cv_lib_tiff_TIFFError = yes; then
29962 TIFF_LINK=" -ltiff"
29963 fi
29964
29965
29966 fi
29967
29968
29969
29970 if test "x$TIFF_LINK" = "x" ; then
29971 if test "$wxUSE_LIBTIFF" = "sys" ; then
29972 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29973 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29974 { (exit 1); exit 1; }; }
29975 else
29976 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29977 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29978 wxUSE_LIBTIFF=builtin
29979 fi
29980 else
29981 wxUSE_LIBTIFF=sys
29982 fi
29983 fi
29984 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29985 if test "$wxUSE_LIBJPEG" = "no"; then
29986 ac_configure_args="$ac_configure_args --disable-jpeg"
29987 fi
29988 subdirs="$subdirs src/tiff"
29989
29990 fi
29991 fi
29992
29993
29994 if test "$wxUSE_WCHAR_T" != "yes"; then
29995 if test "$wxUSE_EXPAT" != "no"; then
29996 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29997 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29998 wxUSE_EXPAT=no
29999 fi
30000 if test "$wxUSE_XML" != "no"; then
30001 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30002 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30003 wxUSE_XML=no
30004 fi
30005 fi
30006
30007 if test "$wxUSE_EXPAT" != "no"; then
30008 wxUSE_XML=yes
30009 cat >>confdefs.h <<\_ACEOF
30010 #define wxUSE_EXPAT 1
30011 _ACEOF
30012
30013 cat >>confdefs.h <<\_ACEOF
30014 #define wxUSE_XML 1
30015 _ACEOF
30016
30017
30018 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30019 { echo "$as_me:$LINENO: checking for expat.h" >&5
30020 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30021 if test "${ac_cv_header_expat_h+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 else
30024 cat >conftest.$ac_ext <<_ACEOF
30025 /* confdefs.h. */
30026 _ACEOF
30027 cat confdefs.h >>conftest.$ac_ext
30028 cat >>conftest.$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30030
30031
30032 #include <expat.h>
30033 _ACEOF
30034 rm -f conftest.$ac_objext
30035 if { (ac_try="$ac_compile"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30039 esac
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_compile") 2>conftest.er1
30042 ac_status=$?
30043 grep -v '^ *+' conftest.er1 >conftest.err
30044 rm -f conftest.er1
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } && {
30048 test -z "$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 } && test -s conftest.$ac_objext; then
30051 ac_cv_header_expat_h=yes
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30055
30056 ac_cv_header_expat_h=no
30057 fi
30058
30059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30060 fi
30061 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30062 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30063 if test $ac_cv_header_expat_h = yes; then
30064 found_expat_h=1
30065 fi
30066
30067
30068 if test "x$found_expat_h" = "x1"; then
30069 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30070 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30071 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30072 echo $ECHO_N "(cached) $ECHO_C" >&6
30073 else
30074
30075 ac_ext=cpp
30076 ac_cpp='$CXXCPP $CPPFLAGS'
30077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30080
30081 cat >conftest.$ac_ext <<_ACEOF
30082 /* confdefs.h. */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 #include <expat.h>
30088 int
30089 main ()
30090 {
30091
30092 ;
30093 return 0;
30094 }
30095 _ACEOF
30096 rm -f conftest.$ac_objext
30097 if { (ac_try="$ac_compile"
30098 case "(($ac_try" in
30099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30100 *) ac_try_echo=$ac_try;;
30101 esac
30102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30103 (eval "$ac_compile") 2>conftest.er1
30104 ac_status=$?
30105 grep -v '^ *+' conftest.er1 >conftest.err
30106 rm -f conftest.er1
30107 cat conftest.err >&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } && {
30110 test -z "$ac_cxx_werror_flag" ||
30111 test ! -s conftest.err
30112 } && test -s conftest.$ac_objext; then
30113 wx_cv_expat_is_not_broken=yes
30114 else
30115 echo "$as_me: failed program was:" >&5
30116 sed 's/^/| /' conftest.$ac_ext >&5
30117
30118 wx_cv_expat_is_not_broken=no
30119
30120 fi
30121
30122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30123 ac_ext=c
30124 ac_cpp='$CPP $CPPFLAGS'
30125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30128
30129
30130
30131 fi
30132 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30133 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30134 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30135 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30136 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30137 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 else
30140 ac_check_lib_save_LIBS=$LIBS
30141 LIBS="-lexpat $LIBS"
30142 cat >conftest.$ac_ext <<_ACEOF
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148
30149 /* Override any GCC internal prototype to avoid an error.
30150 Use char because int might match the return type of a GCC
30151 builtin and then its argument prototype would still apply. */
30152 #ifdef __cplusplus
30153 extern "C"
30154 #endif
30155 char XML_ParserCreate ();
30156 int
30157 main ()
30158 {
30159 return XML_ParserCreate ();
30160 ;
30161 return 0;
30162 }
30163 _ACEOF
30164 rm -f conftest.$ac_objext conftest$ac_exeext
30165 if { (ac_try="$ac_link"
30166 case "(($ac_try" in
30167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30169 esac
30170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30171 (eval "$ac_link") 2>conftest.er1
30172 ac_status=$?
30173 grep -v '^ *+' conftest.er1 >conftest.err
30174 rm -f conftest.er1
30175 cat conftest.err >&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); } && {
30178 test -z "$ac_c_werror_flag" ||
30179 test ! -s conftest.err
30180 } && test -s conftest$ac_exeext &&
30181 $as_test_x conftest$ac_exeext; then
30182 ac_cv_lib_expat_XML_ParserCreate=yes
30183 else
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30186
30187 ac_cv_lib_expat_XML_ParserCreate=no
30188 fi
30189
30190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30191 conftest$ac_exeext conftest.$ac_ext
30192 LIBS=$ac_check_lib_save_LIBS
30193 fi
30194 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30195 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30196 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30197 EXPAT_LINK=" -lexpat"
30198 fi
30199
30200 fi
30201 fi
30202 if test "x$EXPAT_LINK" = "x" ; then
30203 if test "$wxUSE_EXPAT" = "sys" ; then
30204 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30205 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30206 { (exit 1); exit 1; }; }
30207 else
30208 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30209 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30210 wxUSE_EXPAT=builtin
30211 fi
30212 else
30213 wxUSE_EXPAT=sys
30214 fi
30215 fi
30216 if test "$wxUSE_EXPAT" = "builtin" ; then
30217 subdirs="$subdirs src/expat"
30218
30219 fi
30220 fi
30221
30222
30223
30224 if test "$wxUSE_LIBMSPACK" != "no"; then
30225 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30226 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30227 if test "${ac_cv_header_mspack_h+set}" = set; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 else
30230 cat >conftest.$ac_ext <<_ACEOF
30231 /* confdefs.h. */
30232 _ACEOF
30233 cat confdefs.h >>conftest.$ac_ext
30234 cat >>conftest.$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30236
30237
30238 #include <mspack.h>
30239 _ACEOF
30240 rm -f conftest.$ac_objext
30241 if { (ac_try="$ac_compile"
30242 case "(($ac_try" in
30243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30244 *) ac_try_echo=$ac_try;;
30245 esac
30246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30247 (eval "$ac_compile") 2>conftest.er1
30248 ac_status=$?
30249 grep -v '^ *+' conftest.er1 >conftest.err
30250 rm -f conftest.er1
30251 cat conftest.err >&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); } && {
30254 test -z "$ac_c_werror_flag" ||
30255 test ! -s conftest.err
30256 } && test -s conftest.$ac_objext; then
30257 ac_cv_header_mspack_h=yes
30258 else
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30261
30262 ac_cv_header_mspack_h=no
30263 fi
30264
30265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30266 fi
30267 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30268 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30269 if test $ac_cv_header_mspack_h = yes; then
30270 found_mspack_h=1
30271 fi
30272
30273
30274 if test "x$found_mspack_h" = "x1"; then
30275 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30276 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30277 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30278 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 else
30280 ac_check_lib_save_LIBS=$LIBS
30281 LIBS="-lmspack $LIBS"
30282 cat >conftest.$ac_ext <<_ACEOF
30283 /* confdefs.h. */
30284 _ACEOF
30285 cat confdefs.h >>conftest.$ac_ext
30286 cat >>conftest.$ac_ext <<_ACEOF
30287 /* end confdefs.h. */
30288
30289 /* Override any GCC internal prototype to avoid an error.
30290 Use char because int might match the return type of a GCC
30291 builtin and then its argument prototype would still apply. */
30292 #ifdef __cplusplus
30293 extern "C"
30294 #endif
30295 char mspack_create_chm_decompressor ();
30296 int
30297 main ()
30298 {
30299 return mspack_create_chm_decompressor ();
30300 ;
30301 return 0;
30302 }
30303 _ACEOF
30304 rm -f conftest.$ac_objext conftest$ac_exeext
30305 if { (ac_try="$ac_link"
30306 case "(($ac_try" in
30307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30308 *) ac_try_echo=$ac_try;;
30309 esac
30310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30311 (eval "$ac_link") 2>conftest.er1
30312 ac_status=$?
30313 grep -v '^ *+' conftest.er1 >conftest.err
30314 rm -f conftest.er1
30315 cat conftest.err >&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); } && {
30318 test -z "$ac_c_werror_flag" ||
30319 test ! -s conftest.err
30320 } && test -s conftest$ac_exeext &&
30321 $as_test_x conftest$ac_exeext; then
30322 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30323 else
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30326
30327 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30328 fi
30329
30330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30331 conftest$ac_exeext conftest.$ac_ext
30332 LIBS=$ac_check_lib_save_LIBS
30333 fi
30334 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30335 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30336 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30337 MSPACK_LINK=" -lmspack"
30338 fi
30339
30340 fi
30341 if test "x$MSPACK_LINK" = "x" ; then
30342 wxUSE_LIBMSPACK=no
30343 fi
30344 fi
30345
30346 if test "$wxUSE_LIBMSPACK" != "no"; then
30347 cat >>confdefs.h <<\_ACEOF
30348 #define wxUSE_LIBMSPACK 1
30349 _ACEOF
30350
30351 fi
30352
30353
30354
30355 AFMINSTALL=
30356 WIN32INSTALL=
30357
30358 TOOLKIT=
30359 TOOLKIT_INCLUDE=
30360 WIDGET_SET=
30361
30362 if test "$USE_WIN32" = 1 ; then
30363
30364 for ac_header in w32api.h
30365 do
30366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30370 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 else
30372 cat >conftest.$ac_ext <<_ACEOF
30373 /* confdefs.h. */
30374 _ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378
30379
30380 #include <$ac_header>
30381 _ACEOF
30382 rm -f conftest.$ac_objext
30383 if { (ac_try="$ac_compile"
30384 case "(($ac_try" in
30385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30386 *) ac_try_echo=$ac_try;;
30387 esac
30388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30389 (eval "$ac_compile") 2>conftest.er1
30390 ac_status=$?
30391 grep -v '^ *+' conftest.er1 >conftest.err
30392 rm -f conftest.er1
30393 cat conftest.err >&5
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); } && {
30396 test -z "$ac_c_werror_flag" ||
30397 test ! -s conftest.err
30398 } && test -s conftest.$ac_objext; then
30399 eval "$as_ac_Header=yes"
30400 else
30401 echo "$as_me: failed program was:" >&5
30402 sed 's/^/| /' conftest.$ac_ext >&5
30403
30404 eval "$as_ac_Header=no"
30405 fi
30406
30407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30408 fi
30409 ac_res=`eval echo '${'$as_ac_Header'}'`
30410 { echo "$as_me:$LINENO: result: $ac_res" >&5
30411 echo "${ECHO_T}$ac_res" >&6; }
30412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30413 cat >>confdefs.h <<_ACEOF
30414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30415 _ACEOF
30416
30417 fi
30418
30419 done
30420
30421 { echo "$as_me:$LINENO: checking for windows.h" >&5
30422 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30423 if test "${ac_cv_header_windows_h+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 else
30426 cat >conftest.$ac_ext <<_ACEOF
30427 /* confdefs.h. */
30428 _ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432
30433
30434 #include <windows.h>
30435 _ACEOF
30436 rm -f conftest.$ac_objext
30437 if { (ac_try="$ac_compile"
30438 case "(($ac_try" in
30439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30440 *) ac_try_echo=$ac_try;;
30441 esac
30442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30443 (eval "$ac_compile") 2>conftest.er1
30444 ac_status=$?
30445 grep -v '^ *+' conftest.er1 >conftest.err
30446 rm -f conftest.er1
30447 cat conftest.err >&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } && {
30450 test -z "$ac_c_werror_flag" ||
30451 test ! -s conftest.err
30452 } && test -s conftest.$ac_objext; then
30453 ac_cv_header_windows_h=yes
30454 else
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30457
30458 ac_cv_header_windows_h=no
30459 fi
30460
30461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30462 fi
30463 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30464 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30465 if test $ac_cv_header_windows_h = yes; then
30466 :
30467 else
30468
30469 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30470 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30471 { (exit 1); exit 1; }; }
30472
30473 fi
30474
30475
30476
30477 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30478
30479 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30480 LIBS="$LIBS -loleacc"
30481 fi
30482
30483 case "${host}" in
30484 *-*-cygwin* )
30485 LIBS="$LIBS -lkernel32 -luser32"
30486 esac
30487
30488 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30489 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30490
30491 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30492
30493 WIN32INSTALL=win32install
30494
30495 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30496 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30497 if test "${ac_cv_header_pbt_h+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 else
30500 cat >conftest.$ac_ext <<_ACEOF
30501 /* confdefs.h. */
30502 _ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30506
30507
30508 #include <pbt.h>
30509 _ACEOF
30510 rm -f conftest.$ac_objext
30511 if { (ac_try="$ac_compile"
30512 case "(($ac_try" in
30513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30514 *) ac_try_echo=$ac_try;;
30515 esac
30516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_compile") 2>conftest.er1
30518 ac_status=$?
30519 grep -v '^ *+' conftest.er1 >conftest.err
30520 rm -f conftest.er1
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } && {
30524 test -z "$ac_c_werror_flag" ||
30525 test ! -s conftest.err
30526 } && test -s conftest.$ac_objext; then
30527 ac_cv_header_pbt_h=yes
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 ac_cv_header_pbt_h=no
30533 fi
30534
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30536 fi
30537 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30538 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30539 if test $ac_cv_header_pbt_h = yes; then
30540 :
30541 else
30542 cat >>confdefs.h <<\_ACEOF
30543 #define NEED_PBT_H 1
30544 _ACEOF
30545
30546 fi
30547
30548
30549 fi
30550
30551 if test "$wxUSE_GUI" = "yes"; then
30552 USE_GUI=1
30553
30554 GUI_TK_LIBRARY=
30555
30556 WXGTK12=
30557 WXGTK127=
30558 WXGTK2=
30559 WXGPE=
30560
30561 if test "$wxUSE_COCOA" = 1 ; then
30562 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30563 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30564 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30565 wxUSE_PRINTING_ARCHITECTURE=no
30566 fi
30567 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30568 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30569 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30570 wxUSE_DRAG_AND_DROP=no
30571 fi
30572 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30573 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30574 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30575 wxUSE_DRAGIMAGE=no
30576 fi
30577 fi
30578
30579 if test "$wxUSE_MSW" = 1 ; then
30580 TOOLKIT=MSW
30581 GUIDIST=MSW_DIST
30582
30583 case "${host}" in
30584 *-*-mingw32* )
30585 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30586 esac
30587 fi
30588
30589 if test "$wxUSE_GTK" = 1; then
30590 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30591 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30592
30593 gtk_version_cached=1
30594 if test "${wx_cv_lib_gtk+set}" = set; then
30595 echo $ECHO_N "(cached) $ECHO_C" >&6
30596 else
30597
30598 gtk_version_cached=0
30599 { echo "$as_me:$LINENO: result: " >&5
30600 echo "${ECHO_T}" >&6; }
30601
30602 GTK_MODULES=
30603 if test "$wxUSE_THREADS" = "yes"; then
30604 GTK_MODULES=gthread
30605 fi
30606
30607 wx_cv_lib_gtk=
30608 if test "x$wxGTK_VERSION" != "x1"
30609 then
30610 case "${host}" in
30611 *-*-solaris2* )
30612 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30613 enable_gtktest=no
30614 fi
30615 esac
30616
30617 # Check whether --enable-gtktest was given.
30618 if test "${enable_gtktest+set}" = set; then
30619 enableval=$enable_gtktest;
30620 else
30621 enable_gtktest=yes
30622 fi
30623
30624
30625 pkg_config_args=gtk+-2.0
30626 for module in . $GTK_MODULES
30627 do
30628 case "$module" in
30629 gthread)
30630 pkg_config_args="$pkg_config_args gthread-2.0"
30631 ;;
30632 esac
30633 done
30634
30635 no_gtk=""
30636
30637 # Extract the first word of "pkg-config", so it can be a program name with args.
30638 set dummy pkg-config; ac_word=$2
30639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30641 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 case $PKG_CONFIG in
30645 [\\/]* | ?:[\\/]*)
30646 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30647 ;;
30648 *)
30649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30650 for as_dir in $PATH
30651 do
30652 IFS=$as_save_IFS
30653 test -z "$as_dir" && as_dir=.
30654 for ac_exec_ext in '' $ac_executable_extensions; do
30655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30656 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30658 break 2
30659 fi
30660 done
30661 done
30662 IFS=$as_save_IFS
30663
30664 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30665 ;;
30666 esac
30667 fi
30668 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30669 if test -n "$PKG_CONFIG"; then
30670 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30671 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30672 else
30673 { echo "$as_me:$LINENO: result: no" >&5
30674 echo "${ECHO_T}no" >&6; }
30675 fi
30676
30677
30678
30679 if test x$PKG_CONFIG != xno ; then
30680 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30681 :
30682 else
30683 echo "*** pkg-config too old; version 0.7 or better required."
30684 no_gtk=yes
30685 PKG_CONFIG=no
30686 fi
30687 else
30688 no_gtk=yes
30689 fi
30690
30691 min_gtk_version=2.4.0
30692 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30693 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30694
30695 if test x$PKG_CONFIG != xno ; then
30696 ## don't try to run the test against uninstalled libtool libs
30697 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30698 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30699 enable_gtktest=no
30700 fi
30701
30702 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30703 :
30704 else
30705 no_gtk=yes
30706 fi
30707 fi
30708
30709 if test x"$no_gtk" = x ; then
30710 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30711 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30712 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30714 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30716 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30718 if test "x$enable_gtktest" = "xyes" ; then
30719 ac_save_CFLAGS="$CFLAGS"
30720 ac_save_LIBS="$LIBS"
30721 CFLAGS="$CFLAGS $GTK_CFLAGS"
30722 LIBS="$GTK_LIBS $LIBS"
30723 rm -f conf.gtktest
30724 if test "$cross_compiling" = yes; then
30725 echo $ac_n "cross compiling; assumed OK... $ac_c"
30726 else
30727 cat >conftest.$ac_ext <<_ACEOF
30728 /* confdefs.h. */
30729 _ACEOF
30730 cat confdefs.h >>conftest.$ac_ext
30731 cat >>conftest.$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30733
30734 #include <gtk/gtk.h>
30735 #include <stdio.h>
30736 #include <stdlib.h>
30737
30738 int
30739 main ()
30740 {
30741 int major, minor, micro;
30742 char *tmp_version;
30743
30744 system ("touch conf.gtktest");
30745
30746 /* HP/UX 9 (%@#!) writes to sscanf strings */
30747 tmp_version = g_strdup("$min_gtk_version");
30748 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30749 printf("%s, bad version string\n", "$min_gtk_version");
30750 exit(1);
30751 }
30752
30753 if ((gtk_major_version != $gtk_config_major_version) ||
30754 (gtk_minor_version != $gtk_config_minor_version) ||
30755 (gtk_micro_version != $gtk_config_micro_version))
30756 {
30757 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30758 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30759 gtk_major_version, gtk_minor_version, gtk_micro_version);
30760 printf ("*** was found! If pkg-config was correct, then it is best\n");
30761 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30762 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30763 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30764 printf("*** required on your system.\n");
30765 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30766 printf("*** to point to the correct configuration files\n");
30767 }
30768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30769 (gtk_minor_version != GTK_MINOR_VERSION) ||
30770 (gtk_micro_version != GTK_MICRO_VERSION))
30771 {
30772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30774 printf("*** library (version %d.%d.%d)\n",
30775 gtk_major_version, gtk_minor_version, gtk_micro_version);
30776 }
30777 else
30778 {
30779 if ((gtk_major_version > major) ||
30780 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30781 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30782 {
30783 return 0;
30784 }
30785 else
30786 {
30787 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30788 gtk_major_version, gtk_minor_version, gtk_micro_version);
30789 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30790 major, minor, micro);
30791 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30792 printf("***\n");
30793 printf("*** If you have already installed a sufficiently new version, this error\n");
30794 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30795 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30796 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30797 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30798 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30799 printf("*** so that the correct libraries are found at run-time))\n");
30800 }
30801 }
30802 return 1;
30803 }
30804
30805 _ACEOF
30806 rm -f conftest$ac_exeext
30807 if { (ac_try="$ac_link"
30808 case "(($ac_try" in
30809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30810 *) ac_try_echo=$ac_try;;
30811 esac
30812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30813 (eval "$ac_link") 2>&5
30814 ac_status=$?
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30817 { (case "(($ac_try" in
30818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30819 *) ac_try_echo=$ac_try;;
30820 esac
30821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30822 (eval "$ac_try") 2>&5
30823 ac_status=$?
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; }; then
30826 :
30827 else
30828 echo "$as_me: program exited with status $ac_status" >&5
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30831
30832 ( exit $ac_status )
30833 no_gtk=yes
30834 fi
30835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30836 fi
30837
30838
30839 CFLAGS="$ac_save_CFLAGS"
30840 LIBS="$ac_save_LIBS"
30841 fi
30842 fi
30843 if test "x$no_gtk" = x ; then
30844 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30845 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30846 wx_cv_lib_gtk=2.0
30847 else
30848 { echo "$as_me:$LINENO: result: no" >&5
30849 echo "${ECHO_T}no" >&6; }
30850 if test "$PKG_CONFIG" = "no" ; then
30851 echo "*** A new enough version of pkg-config was not found."
30852 echo "*** See http://pkgconfig.sourceforge.net"
30853 else
30854 if test -f conf.gtktest ; then
30855 :
30856 else
30857 echo "*** Could not run GTK+ test program, checking why..."
30858 ac_save_CFLAGS="$CFLAGS"
30859 ac_save_LIBS="$LIBS"
30860 CFLAGS="$CFLAGS $GTK_CFLAGS"
30861 LIBS="$LIBS $GTK_LIBS"
30862 cat >conftest.$ac_ext <<_ACEOF
30863 /* confdefs.h. */
30864 _ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30868
30869 #include <gtk/gtk.h>
30870 #include <stdio.h>
30871
30872 int
30873 main ()
30874 {
30875 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30876 ;
30877 return 0;
30878 }
30879 _ACEOF
30880 rm -f conftest.$ac_objext conftest$ac_exeext
30881 if { (ac_try="$ac_link"
30882 case "(($ac_try" in
30883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30884 *) ac_try_echo=$ac_try;;
30885 esac
30886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30887 (eval "$ac_link") 2>conftest.er1
30888 ac_status=$?
30889 grep -v '^ *+' conftest.er1 >conftest.err
30890 rm -f conftest.er1
30891 cat conftest.err >&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); } && {
30894 test -z "$ac_c_werror_flag" ||
30895 test ! -s conftest.err
30896 } && test -s conftest$ac_exeext &&
30897 $as_test_x conftest$ac_exeext; then
30898 echo "*** The test program compiled, but did not run. This usually means"
30899 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30900 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30901 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30902 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30903 echo "*** is required on your system"
30904 echo "***"
30905 echo "*** If you have an old version installed, it is best to remove it, although"
30906 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30907 else
30908 echo "$as_me: failed program was:" >&5
30909 sed 's/^/| /' conftest.$ac_ext >&5
30910
30911 echo "*** The test program failed to compile or link. See the file config.log for the"
30912 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30913 fi
30914
30915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30916 conftest$ac_exeext conftest.$ac_ext
30917 CFLAGS="$ac_save_CFLAGS"
30918 LIBS="$ac_save_LIBS"
30919 fi
30920 fi
30921 GTK_CFLAGS=""
30922 GTK_LIBS=""
30923 :
30924 fi
30925
30926
30927 rm -f conf.gtktest
30928
30929
30930 case "${host}" in
30931 *-*-solaris2* )
30932 if test "$wxUSE_SHARED" != "yes"; then
30933 GTK_LIBS="$GTK_LIBS -lX11"
30934 fi
30935 esac
30936 fi
30937
30938 if test -z "$wx_cv_lib_gtk"; then
30939 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30940
30941 # Check whether --with-gtk-prefix was given.
30942 if test "${with_gtk_prefix+set}" = set; then
30943 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30944 else
30945 gtk_config_prefix=""
30946 fi
30947
30948
30949 # Check whether --with-gtk-exec-prefix was given.
30950 if test "${with_gtk_exec_prefix+set}" = set; then
30951 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30952 else
30953 gtk_config_exec_prefix=""
30954 fi
30955
30956 # Check whether --enable-gtktest was given.
30957 if test "${enable_gtktest+set}" = set; then
30958 enableval=$enable_gtktest;
30959 else
30960 enable_gtktest=yes
30961 fi
30962
30963
30964 for module in . $GTK_MODULES
30965 do
30966 case "$module" in
30967 gthread)
30968 gtk_config_args="$gtk_config_args gthread"
30969 ;;
30970 esac
30971 done
30972
30973 if test x$gtk_config_exec_prefix != x ; then
30974 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30975 if test x${GTK_CONFIG+set} != xset ; then
30976 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30977 fi
30978 fi
30979 if test x$gtk_config_prefix != x ; then
30980 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30981 if test x${GTK_CONFIG+set} != xset ; then
30982 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30983 fi
30984 fi
30985
30986 # Extract the first word of "gtk-config", so it can be a program name with args.
30987 set dummy gtk-config; ac_word=$2
30988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30990 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30991 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 else
30993 case $GTK_CONFIG in
30994 [\\/]* | ?:[\\/]*)
30995 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30996 ;;
30997 *)
30998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30999 for as_dir in $PATH
31000 do
31001 IFS=$as_save_IFS
31002 test -z "$as_dir" && as_dir=.
31003 for ac_exec_ext in '' $ac_executable_extensions; do
31004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31005 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31007 break 2
31008 fi
31009 done
31010 done
31011 IFS=$as_save_IFS
31012
31013 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31014 ;;
31015 esac
31016 fi
31017 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31018 if test -n "$GTK_CONFIG"; then
31019 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31020 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31021 else
31022 { echo "$as_me:$LINENO: result: no" >&5
31023 echo "${ECHO_T}no" >&6; }
31024 fi
31025
31026
31027 min_gtk_version=1.2.7
31028 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31029 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31030 no_gtk=""
31031 if test "$GTK_CONFIG" = "no" ; then
31032 no_gtk=yes
31033 else
31034 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31035 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31036 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31038 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31040 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31042 if test "x$enable_gtktest" = "xyes" ; then
31043 ac_save_CFLAGS="$CFLAGS"
31044 ac_save_LIBS="$LIBS"
31045 CFLAGS="$CFLAGS $GTK_CFLAGS"
31046 LIBS="$GTK_LIBS $LIBS"
31047 rm -f conf.gtktest
31048 if test "$cross_compiling" = yes; then
31049 echo $ac_n "cross compiling; assumed OK... $ac_c"
31050 else
31051 cat >conftest.$ac_ext <<_ACEOF
31052 /* confdefs.h. */
31053 _ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31057
31058 #include <gtk/gtk.h>
31059 #include <stdio.h>
31060 #include <stdlib.h>
31061
31062 int
31063 main ()
31064 {
31065 int major, minor, micro;
31066 char *tmp_version;
31067
31068 system ("touch conf.gtktest");
31069
31070 /* HP/UX 9 (%@#!) writes to sscanf strings */
31071 tmp_version = g_strdup("$min_gtk_version");
31072 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31073 printf("%s, bad version string\n", "$min_gtk_version");
31074 exit(1);
31075 }
31076
31077 if ((gtk_major_version != $gtk_config_major_version) ||
31078 (gtk_minor_version != $gtk_config_minor_version) ||
31079 (gtk_micro_version != $gtk_config_micro_version))
31080 {
31081 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31082 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31083 gtk_major_version, gtk_minor_version, gtk_micro_version);
31084 printf ("*** was found! If gtk-config was correct, then it is best\n");
31085 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31086 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31087 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31088 printf("*** required on your system.\n");
31089 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31090 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31091 printf("*** before re-running configure\n");
31092 }
31093 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31094 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31095 (gtk_minor_version != GTK_MINOR_VERSION) ||
31096 (gtk_micro_version != GTK_MICRO_VERSION))
31097 {
31098 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31099 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31100 printf("*** library (version %d.%d.%d)\n",
31101 gtk_major_version, gtk_minor_version, gtk_micro_version);
31102 }
31103 #endif /* defined (GTK_MAJOR_VERSION) ... */
31104 else
31105 {
31106 if ((gtk_major_version > major) ||
31107 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31108 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31109 {
31110 return 0;
31111 }
31112 else
31113 {
31114 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31115 gtk_major_version, gtk_minor_version, gtk_micro_version);
31116 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31117 major, minor, micro);
31118 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31119 printf("***\n");
31120 printf("*** If you have already installed a sufficiently new version, this error\n");
31121 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31122 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31123 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31124 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31125 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31126 printf("*** so that the correct libraries are found at run-time))\n");
31127 }
31128 }
31129 return 1;
31130 }
31131
31132 _ACEOF
31133 rm -f conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31137 *) ac_try_echo=$ac_try;;
31138 esac
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>&5
31141 ac_status=$?
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31144 { (case "(($ac_try" in
31145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31146 *) ac_try_echo=$ac_try;;
31147 esac
31148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31149 (eval "$ac_try") 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; }; then
31153 :
31154 else
31155 echo "$as_me: program exited with status $ac_status" >&5
31156 echo "$as_me: failed program was:" >&5
31157 sed 's/^/| /' conftest.$ac_ext >&5
31158
31159 ( exit $ac_status )
31160 no_gtk=yes
31161 fi
31162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31163 fi
31164
31165
31166 CFLAGS="$ac_save_CFLAGS"
31167 LIBS="$ac_save_LIBS"
31168 fi
31169 fi
31170 if test "x$no_gtk" = x ; then
31171 { echo "$as_me:$LINENO: result: yes" >&5
31172 echo "${ECHO_T}yes" >&6; }
31173 wx_cv_lib_gtk=1.2.7
31174 else
31175 { echo "$as_me:$LINENO: result: no" >&5
31176 echo "${ECHO_T}no" >&6; }
31177 if test "$GTK_CONFIG" = "no" ; then
31178 echo "*** The gtk-config script installed by GTK could not be found"
31179 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31180 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31181 echo "*** full path to gtk-config."
31182 else
31183 if test -f conf.gtktest ; then
31184 :
31185 else
31186 echo "*** Could not run GTK test program, checking why..."
31187 CFLAGS="$CFLAGS $GTK_CFLAGS"
31188 LIBS="$LIBS $GTK_LIBS"
31189 cat >conftest.$ac_ext <<_ACEOF
31190 /* confdefs.h. */
31191 _ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195
31196 #include <gtk/gtk.h>
31197 #include <stdio.h>
31198
31199 int
31200 main ()
31201 {
31202 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (ac_try="$ac_link"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31212 esac
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_link") 2>conftest.er1
31215 ac_status=$?
31216 grep -v '^ *+' conftest.er1 >conftest.err
31217 rm -f conftest.er1
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } && {
31221 test -z "$ac_c_werror_flag" ||
31222 test ! -s conftest.err
31223 } && test -s conftest$ac_exeext &&
31224 $as_test_x conftest$ac_exeext; then
31225 echo "*** The test program compiled, but did not run. This usually means"
31226 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31227 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31228 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31229 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31230 echo "*** is required on your system"
31231 echo "***"
31232 echo "*** If you have an old version installed, it is best to remove it, although"
31233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31234 echo "***"
31235 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31236 echo "*** came with the system with the command"
31237 echo "***"
31238 echo "*** rpm --erase --nodeps gtk gtk-devel"
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243 echo "*** The test program failed to compile or link. See the file config.log for the"
31244 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31245 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31246 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31247 fi
31248
31249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31250 conftest$ac_exeext conftest.$ac_ext
31251 CFLAGS="$ac_save_CFLAGS"
31252 LIBS="$ac_save_LIBS"
31253 fi
31254 fi
31255 GTK_CFLAGS=""
31256 GTK_LIBS=""
31257 :
31258 fi
31259
31260
31261 rm -f conf.gtktest
31262
31263
31264 if test -z "$wx_cv_lib_gtk"; then
31265
31266 # Check whether --with-gtk-prefix was given.
31267 if test "${with_gtk_prefix+set}" = set; then
31268 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31269 else
31270 gtk_config_prefix=""
31271 fi
31272
31273
31274 # Check whether --with-gtk-exec-prefix was given.
31275 if test "${with_gtk_exec_prefix+set}" = set; then
31276 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31277 else
31278 gtk_config_exec_prefix=""
31279 fi
31280
31281 # Check whether --enable-gtktest was given.
31282 if test "${enable_gtktest+set}" = set; then
31283 enableval=$enable_gtktest;
31284 else
31285 enable_gtktest=yes
31286 fi
31287
31288
31289 for module in . $GTK_MODULES
31290 do
31291 case "$module" in
31292 gthread)
31293 gtk_config_args="$gtk_config_args gthread"
31294 ;;
31295 esac
31296 done
31297
31298 if test x$gtk_config_exec_prefix != x ; then
31299 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31300 if test x${GTK_CONFIG+set} != xset ; then
31301 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31302 fi
31303 fi
31304 if test x$gtk_config_prefix != x ; then
31305 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31306 if test x${GTK_CONFIG+set} != xset ; then
31307 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31308 fi
31309 fi
31310
31311 # Extract the first word of "gtk-config", so it can be a program name with args.
31312 set dummy gtk-config; ac_word=$2
31313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31315 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31316 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 else
31318 case $GTK_CONFIG in
31319 [\\/]* | ?:[\\/]*)
31320 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31321 ;;
31322 *)
31323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31324 for as_dir in $PATH
31325 do
31326 IFS=$as_save_IFS
31327 test -z "$as_dir" && as_dir=.
31328 for ac_exec_ext in '' $ac_executable_extensions; do
31329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31330 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31332 break 2
31333 fi
31334 done
31335 done
31336 IFS=$as_save_IFS
31337
31338 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31339 ;;
31340 esac
31341 fi
31342 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31343 if test -n "$GTK_CONFIG"; then
31344 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31345 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31346 else
31347 { echo "$as_me:$LINENO: result: no" >&5
31348 echo "${ECHO_T}no" >&6; }
31349 fi
31350
31351
31352 min_gtk_version=1.2.3
31353 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31354 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31355 no_gtk=""
31356 if test "$GTK_CONFIG" = "no" ; then
31357 no_gtk=yes
31358 else
31359 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31360 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31361 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31363 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31365 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31367 if test "x$enable_gtktest" = "xyes" ; then
31368 ac_save_CFLAGS="$CFLAGS"
31369 ac_save_LIBS="$LIBS"
31370 CFLAGS="$CFLAGS $GTK_CFLAGS"
31371 LIBS="$GTK_LIBS $LIBS"
31372 rm -f conf.gtktest
31373 if test "$cross_compiling" = yes; then
31374 echo $ac_n "cross compiling; assumed OK... $ac_c"
31375 else
31376 cat >conftest.$ac_ext <<_ACEOF
31377 /* confdefs.h. */
31378 _ACEOF
31379 cat confdefs.h >>conftest.$ac_ext
31380 cat >>conftest.$ac_ext <<_ACEOF
31381 /* end confdefs.h. */
31382
31383 #include <gtk/gtk.h>
31384 #include <stdio.h>
31385 #include <stdlib.h>
31386
31387 int
31388 main ()
31389 {
31390 int major, minor, micro;
31391 char *tmp_version;
31392
31393 system ("touch conf.gtktest");
31394
31395 /* HP/UX 9 (%@#!) writes to sscanf strings */
31396 tmp_version = g_strdup("$min_gtk_version");
31397 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31398 printf("%s, bad version string\n", "$min_gtk_version");
31399 exit(1);
31400 }
31401
31402 if ((gtk_major_version != $gtk_config_major_version) ||
31403 (gtk_minor_version != $gtk_config_minor_version) ||
31404 (gtk_micro_version != $gtk_config_micro_version))
31405 {
31406 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31407 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31408 gtk_major_version, gtk_minor_version, gtk_micro_version);
31409 printf ("*** was found! If gtk-config was correct, then it is best\n");
31410 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31411 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31412 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31413 printf("*** required on your system.\n");
31414 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31415 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31416 printf("*** before re-running configure\n");
31417 }
31418 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31419 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31420 (gtk_minor_version != GTK_MINOR_VERSION) ||
31421 (gtk_micro_version != GTK_MICRO_VERSION))
31422 {
31423 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31424 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31425 printf("*** library (version %d.%d.%d)\n",
31426 gtk_major_version, gtk_minor_version, gtk_micro_version);
31427 }
31428 #endif /* defined (GTK_MAJOR_VERSION) ... */
31429 else
31430 {
31431 if ((gtk_major_version > major) ||
31432 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31433 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31434 {
31435 return 0;
31436 }
31437 else
31438 {
31439 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31440 gtk_major_version, gtk_minor_version, gtk_micro_version);
31441 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31442 major, minor, micro);
31443 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31444 printf("***\n");
31445 printf("*** If you have already installed a sufficiently new version, this error\n");
31446 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31447 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31448 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31449 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31450 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31451 printf("*** so that the correct libraries are found at run-time))\n");
31452 }
31453 }
31454 return 1;
31455 }
31456
31457 _ACEOF
31458 rm -f conftest$ac_exeext
31459 if { (ac_try="$ac_link"
31460 case "(($ac_try" in
31461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31462 *) ac_try_echo=$ac_try;;
31463 esac
31464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31465 (eval "$ac_link") 2>&5
31466 ac_status=$?
31467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31469 { (case "(($ac_try" in
31470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31471 *) ac_try_echo=$ac_try;;
31472 esac
31473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31474 (eval "$ac_try") 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 :
31479 else
31480 echo "$as_me: program exited with status $ac_status" >&5
31481 echo "$as_me: failed program was:" >&5
31482 sed 's/^/| /' conftest.$ac_ext >&5
31483
31484 ( exit $ac_status )
31485 no_gtk=yes
31486 fi
31487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31488 fi
31489
31490
31491 CFLAGS="$ac_save_CFLAGS"
31492 LIBS="$ac_save_LIBS"
31493 fi
31494 fi
31495 if test "x$no_gtk" = x ; then
31496 { echo "$as_me:$LINENO: result: yes" >&5
31497 echo "${ECHO_T}yes" >&6; }
31498 wx_cv_lib_gtk=1.2.3
31499 else
31500 { echo "$as_me:$LINENO: result: no" >&5
31501 echo "${ECHO_T}no" >&6; }
31502 if test "$GTK_CONFIG" = "no" ; then
31503 echo "*** The gtk-config script installed by GTK could not be found"
31504 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31505 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31506 echo "*** full path to gtk-config."
31507 else
31508 if test -f conf.gtktest ; then
31509 :
31510 else
31511 echo "*** Could not run GTK test program, checking why..."
31512 CFLAGS="$CFLAGS $GTK_CFLAGS"
31513 LIBS="$LIBS $GTK_LIBS"
31514 cat >conftest.$ac_ext <<_ACEOF
31515 /* confdefs.h. */
31516 _ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520
31521 #include <gtk/gtk.h>
31522 #include <stdio.h>
31523
31524 int
31525 main ()
31526 {
31527 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31528 ;
31529 return 0;
31530 }
31531 _ACEOF
31532 rm -f conftest.$ac_objext conftest$ac_exeext
31533 if { (ac_try="$ac_link"
31534 case "(($ac_try" in
31535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31536 *) ac_try_echo=$ac_try;;
31537 esac
31538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31539 (eval "$ac_link") 2>conftest.er1
31540 ac_status=$?
31541 grep -v '^ *+' conftest.er1 >conftest.err
31542 rm -f conftest.er1
31543 cat conftest.err >&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); } && {
31546 test -z "$ac_c_werror_flag" ||
31547 test ! -s conftest.err
31548 } && test -s conftest$ac_exeext &&
31549 $as_test_x conftest$ac_exeext; then
31550 echo "*** The test program compiled, but did not run. This usually means"
31551 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31552 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31553 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31554 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31555 echo "*** is required on your system"
31556 echo "***"
31557 echo "*** If you have an old version installed, it is best to remove it, although"
31558 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31559 echo "***"
31560 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31561 echo "*** came with the system with the command"
31562 echo "***"
31563 echo "*** rpm --erase --nodeps gtk gtk-devel"
31564 else
31565 echo "$as_me: failed program was:" >&5
31566 sed 's/^/| /' conftest.$ac_ext >&5
31567
31568 echo "*** The test program failed to compile or link. See the file config.log for the"
31569 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31570 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31571 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31572 fi
31573
31574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31575 conftest$ac_exeext conftest.$ac_ext
31576 CFLAGS="$ac_save_CFLAGS"
31577 LIBS="$ac_save_LIBS"
31578 fi
31579 fi
31580 GTK_CFLAGS=""
31581 GTK_LIBS=""
31582 :
31583 fi
31584
31585
31586 rm -f conf.gtktest
31587
31588 fi
31589 fi
31590 fi
31591
31592 if test -z "$wx_cv_lib_gtk"; then
31593 wx_cv_lib_gtk=none
31594 else
31595 wx_cv_cflags_gtk=$GTK_CFLAGS
31596 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31597 fi
31598
31599
31600 fi
31601
31602
31603 if test "$gtk_version_cached" = 1; then
31604 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31605 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31606 fi
31607
31608 case "$wx_cv_lib_gtk" in
31609 2.0) WXGTK2=1
31610 TOOLKIT_VERSION=2
31611 ;;
31612 1.2.7) WXGTK127=1
31613 WXGTK12=1
31614 ;;
31615 1.2.3) WXGTK12=1
31616 ;;
31617 *) { { echo "$as_me:$LINENO: error:
31618 The development files for GTK+ were not found. For GTK+ 2, please
31619 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31620 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31621 and that the version is 1.2.3 or above. Also check that the
31622 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31623 --libs' are in the LD_LIBRARY_PATH or equivalent.
31624 " >&5
31625 echo "$as_me: error:
31626 The development files for GTK+ were not found. For GTK+ 2, please
31627 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31628 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31629 and that the version is 1.2.3 or above. Also check that the
31630 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31631 --libs' are in the LD_LIBRARY_PATH or equivalent.
31632 " >&2;}
31633 { (exit 1); exit 1; }; }
31634 ;;
31635 esac
31636
31637 if test "$WXGTK2" = 1; then
31638 save_CFLAGS="$CFLAGS"
31639 save_LIBS="$LIBS"
31640 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31641 LIBS="$LIBS $wx_cv_libs_gtk"
31642
31643 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31644 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31645 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31648 cat >conftest.$ac_ext <<_ACEOF
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654 #include <gtk/gtk.h>
31655
31656 int
31657 main ()
31658 {
31659 #ifndef gtk_icon_size_lookup
31660 (void) gtk_icon_size_lookup;
31661 #endif
31662
31663 ;
31664 return 0;
31665 }
31666 _ACEOF
31667 rm -f conftest.$ac_objext
31668 if { (ac_try="$ac_compile"
31669 case "(($ac_try" in
31670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31671 *) ac_try_echo=$ac_try;;
31672 esac
31673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31674 (eval "$ac_compile") 2>conftest.er1
31675 ac_status=$?
31676 grep -v '^ *+' conftest.er1 >conftest.err
31677 rm -f conftest.er1
31678 cat conftest.err >&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); } && {
31681 test -z "$ac_c_werror_flag" ||
31682 test ! -s conftest.err
31683 } && test -s conftest.$ac_objext; then
31684 ac_cv_have_decl_gtk_icon_size_lookup=yes
31685 else
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689 ac_cv_have_decl_gtk_icon_size_lookup=no
31690 fi
31691
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 fi
31694 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31695 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31696 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31697
31698 cat >>confdefs.h <<_ACEOF
31699 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31700 _ACEOF
31701
31702
31703 else
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31706 _ACEOF
31707
31708 cat >>confdefs.h <<\_ACEOF
31709 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31710 _ACEOF
31711
31712 fi
31713
31714
31715
31716
31717 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31718 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31719 cat >conftest.$ac_ext <<_ACEOF
31720 /* confdefs.h. */
31721 _ACEOF
31722 cat confdefs.h >>conftest.$ac_ext
31723 cat >>conftest.$ac_ext <<_ACEOF
31724 /* end confdefs.h. */
31725
31726 #include <gtk/gtk.h>
31727
31728 int
31729 main ()
31730 {
31731
31732 #if !GTK_CHECK_VERSION(2,10,0)
31733 Not GTK+ 2.10
31734 #endif
31735
31736 ;
31737 return 0;
31738 }
31739 _ACEOF
31740 rm -f conftest.$ac_objext
31741 if { (ac_try="$ac_compile"
31742 case "(($ac_try" in
31743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31744 *) ac_try_echo=$ac_try;;
31745 esac
31746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31747 (eval "$ac_compile") 2>conftest.er1
31748 ac_status=$?
31749 grep -v '^ *+' conftest.er1 >conftest.err
31750 rm -f conftest.er1
31751 cat conftest.err >&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } && {
31754 test -z "$ac_c_werror_flag" ||
31755 test ! -s conftest.err
31756 } && test -s conftest.$ac_objext; then
31757
31758 cat >>confdefs.h <<\_ACEOF
31759 #define __WXGTK210__ 1
31760 _ACEOF
31761
31762 cat >>confdefs.h <<\_ACEOF
31763 #define __WXGTK26__ 1
31764 _ACEOF
31765
31766 { echo "$as_me:$LINENO: result: yes" >&5
31767 echo "${ECHO_T}yes" >&6; }
31768 ac_wxgtk210=1
31769
31770 else
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31773
31774
31775 { echo "$as_me:$LINENO: result: no" >&5
31776 echo "${ECHO_T}no" >&6; }
31777 ac_wxgtk210=0
31778
31779 fi
31780
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782
31783 if test "$ac_wxgtk210" = 0; then
31784 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31785 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31786 cat >conftest.$ac_ext <<_ACEOF
31787 /* confdefs.h. */
31788 _ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31792
31793 #include <gtk/gtk.h>
31794
31795 int
31796 main ()
31797 {
31798
31799 #if !GTK_CHECK_VERSION(2,6,0)
31800 Not GTK+ 2.6
31801 #endif
31802
31803 ;
31804 return 0;
31805 }
31806 _ACEOF
31807 rm -f conftest.$ac_objext
31808 if { (ac_try="$ac_compile"
31809 case "(($ac_try" in
31810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31811 *) ac_try_echo=$ac_try;;
31812 esac
31813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31814 (eval "$ac_compile") 2>conftest.er1
31815 ac_status=$?
31816 grep -v '^ *+' conftest.er1 >conftest.err
31817 rm -f conftest.er1
31818 cat conftest.err >&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } && {
31821 test -z "$ac_c_werror_flag" ||
31822 test ! -s conftest.err
31823 } && test -s conftest.$ac_objext; then
31824
31825 cat >>confdefs.h <<\_ACEOF
31826 #define __WXGTK26__ 1
31827 _ACEOF
31828
31829 { echo "$as_me:$LINENO: result: yes" >&5
31830 echo "${ECHO_T}yes" >&6; }
31831 ac_wxgtk26=1
31832
31833 else
31834 echo "$as_me: failed program was:" >&5
31835 sed 's/^/| /' conftest.$ac_ext >&5
31836
31837
31838 { echo "$as_me:$LINENO: result: no" >&5
31839 echo "${ECHO_T}no" >&6; }
31840 ac_wxgtk26=0
31841
31842 fi
31843
31844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31845 fi
31846
31847 CFLAGS="$save_CFLAGS"
31848 LIBS="$save_LIBS"
31849 else
31850 if test "$wxUSE_UNICODE" = "yes"; then
31851 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31852 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31853 wxUSE_UNICODE=no
31854 fi
31855
31856 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31857 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31858 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31859 echo $ECHO_N "(cached) $ECHO_C" >&6
31860 else
31861 ac_check_lib_save_LIBS=$LIBS
31862 LIBS="-lgdk $LIBS"
31863 cat >conftest.$ac_ext <<_ACEOF
31864 /* confdefs.h. */
31865 _ACEOF
31866 cat confdefs.h >>conftest.$ac_ext
31867 cat >>conftest.$ac_ext <<_ACEOF
31868 /* end confdefs.h. */
31869
31870 /* Override any GCC internal prototype to avoid an error.
31871 Use char because int might match the return type of a GCC
31872 builtin and then its argument prototype would still apply. */
31873 #ifdef __cplusplus
31874 extern "C"
31875 #endif
31876 char gdk_im_open ();
31877 int
31878 main ()
31879 {
31880 return gdk_im_open ();
31881 ;
31882 return 0;
31883 }
31884 _ACEOF
31885 rm -f conftest.$ac_objext conftest$ac_exeext
31886 if { (ac_try="$ac_link"
31887 case "(($ac_try" in
31888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31889 *) ac_try_echo=$ac_try;;
31890 esac
31891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31892 (eval "$ac_link") 2>conftest.er1
31893 ac_status=$?
31894 grep -v '^ *+' conftest.er1 >conftest.err
31895 rm -f conftest.er1
31896 cat conftest.err >&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && {
31899 test -z "$ac_c_werror_flag" ||
31900 test ! -s conftest.err
31901 } && test -s conftest$ac_exeext &&
31902 $as_test_x conftest$ac_exeext; then
31903 ac_cv_lib_gdk_gdk_im_open=yes
31904 else
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.$ac_ext >&5
31907
31908 ac_cv_lib_gdk_gdk_im_open=no
31909 fi
31910
31911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31912 conftest$ac_exeext conftest.$ac_ext
31913 LIBS=$ac_check_lib_save_LIBS
31914 fi
31915 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31916 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31917 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31918 cat >>confdefs.h <<\_ACEOF
31919 #define HAVE_XIM 1
31920 _ACEOF
31921
31922 fi
31923
31924
31925 if test "$USE_DARWIN" != 1; then
31926
31927 for ac_func in poll
31928 do
31929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 else
31935 cat >conftest.$ac_ext <<_ACEOF
31936 /* confdefs.h. */
31937 _ACEOF
31938 cat confdefs.h >>conftest.$ac_ext
31939 cat >>conftest.$ac_ext <<_ACEOF
31940 /* end confdefs.h. */
31941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31943 #define $ac_func innocuous_$ac_func
31944
31945 /* System header to define __stub macros and hopefully few prototypes,
31946 which can conflict with char $ac_func (); below.
31947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31948 <limits.h> exists even on freestanding compilers. */
31949
31950 #ifdef __STDC__
31951 # include <limits.h>
31952 #else
31953 # include <assert.h>
31954 #endif
31955
31956 #undef $ac_func
31957
31958 /* Override any GCC internal prototype to avoid an error.
31959 Use char because int might match the return type of a GCC
31960 builtin and then its argument prototype would still apply. */
31961 #ifdef __cplusplus
31962 extern "C"
31963 #endif
31964 char $ac_func ();
31965 /* The GNU C library defines this for functions which it implements
31966 to always fail with ENOSYS. Some functions are actually named
31967 something starting with __ and the normal name is an alias. */
31968 #if defined __stub_$ac_func || defined __stub___$ac_func
31969 choke me
31970 #endif
31971
31972 int
31973 main ()
31974 {
31975 return $ac_func ();
31976 ;
31977 return 0;
31978 }
31979 _ACEOF
31980 rm -f conftest.$ac_objext conftest$ac_exeext
31981 if { (ac_try="$ac_link"
31982 case "(($ac_try" in
31983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31984 *) ac_try_echo=$ac_try;;
31985 esac
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_link") 2>conftest.er1
31988 ac_status=$?
31989 grep -v '^ *+' conftest.er1 >conftest.err
31990 rm -f conftest.er1
31991 cat conftest.err >&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); } && {
31994 test -z "$ac_c_werror_flag" ||
31995 test ! -s conftest.err
31996 } && test -s conftest$ac_exeext &&
31997 $as_test_x conftest$ac_exeext; then
31998 eval "$as_ac_var=yes"
31999 else
32000 echo "$as_me: failed program was:" >&5
32001 sed 's/^/| /' conftest.$ac_ext >&5
32002
32003 eval "$as_ac_var=no"
32004 fi
32005
32006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32007 conftest$ac_exeext conftest.$ac_ext
32008 fi
32009 ac_res=`eval echo '${'$as_ac_var'}'`
32010 { echo "$as_me:$LINENO: result: $ac_res" >&5
32011 echo "${ECHO_T}$ac_res" >&6; }
32012 if test `eval echo '${'$as_ac_var'}'` = yes; then
32013 cat >>confdefs.h <<_ACEOF
32014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32015 _ACEOF
32016
32017 fi
32018 done
32019
32020 fi
32021 fi
32022
32023 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32024 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32025
32026 AFMINSTALL=afminstall
32027 TOOLKIT=GTK
32028 GUIDIST=GTK_DIST
32029
32030 if test "$wxUSE_GPE" = "yes"; then
32031 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32032 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32033
32034 ac_find_libraries=
32035 for ac_dir in $SEARCH_LIB;
32036 do
32037 for ac_extension in a so sl dylib dll.a; do
32038 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32039 ac_find_libraries=$ac_dir
32040 break 2
32041 fi
32042 done
32043 done
32044
32045 if test "$ac_find_libraries" != "" ; then
32046
32047 if test "$ac_find_libraries" = "default location"; then
32048 ac_path_to_link=""
32049 else
32050 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32051 result=$?
32052 if test $result = 0; then
32053 ac_path_to_link=""
32054 else
32055 ac_path_to_link=" -L$ac_find_libraries"
32056 fi
32057 fi
32058
32059 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32060 WXGPE=1
32061 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32062 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32063 else
32064 { echo "$as_me:$LINENO: result: not found" >&5
32065 echo "${ECHO_T}not found" >&6; }
32066 fi
32067
32068 fi
32069 fi
32070
32071 if test "$wxUSE_MGL" = 1; then
32072 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32073 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32074 if test "x$MGL_ROOT" = x ; then
32075 { echo "$as_me:$LINENO: result: not found" >&5
32076 echo "${ECHO_T}not found" >&6; }
32077 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32078 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32079 { (exit 1); exit 1; }; }
32080 else
32081 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32082 echo "${ECHO_T}$MGL_ROOT" >&6; }
32083 fi
32084
32085 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32086 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32087 case "${host}" in
32088 *-*-linux* )
32089 if test "x$wxUSE_SHARED" = xyes ; then
32090 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32091 else
32092 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32093 fi
32094 ;;
32095 *-pc-msdosdjgpp )
32096 mgl_os_candidates="dos32/dj2"
32097 ;;
32098 *)
32099 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32100 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32101 { (exit 1); exit 1; }; }
32102 esac
32103
32104 mgl_lib_type=""
32105 mgl_os=""
32106
32107 for mgl_os_i in $mgl_os_candidates ; do
32108 if test "x$mgl_os" = x ; then
32109 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32110 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32111 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32112 mgl_lib_type=debug
32113 mgl_os=$mgl_os_i
32114 fi
32115 fi
32116 if test "x$mgl_lib_type" = x ; then
32117 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32118 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32119 mgl_lib_type=release
32120 mgl_os=$mgl_os_i
32121 fi
32122 fi
32123 fi
32124 done
32125
32126 if test "x$mgl_os" = x ; then
32127 { echo "$as_me:$LINENO: result: not found" >&5
32128 echo "${ECHO_T}not found" >&6; }
32129 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32130 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32131 { (exit 1); exit 1; }; }
32132 fi
32133 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32134 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32135
32136 wxUSE_UNIVERSAL="yes"
32137
32138 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32139 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32140
32141 AFMINSTALL=afminstall
32142 TOOLKIT=MGL
32143 GUIDIST=MGL_DIST
32144 fi
32145
32146 if test "$wxUSE_DFB" = 1; then
32147
32148
32149 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32150 if test -n "$ac_tool_prefix"; then
32151 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32152 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32155 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32156 echo $ECHO_N "(cached) $ECHO_C" >&6
32157 else
32158 case $PKG_CONFIG in
32159 [\\/]* | ?:[\\/]*)
32160 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32161 ;;
32162 *)
32163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32164 for as_dir in $PATH
32165 do
32166 IFS=$as_save_IFS
32167 test -z "$as_dir" && as_dir=.
32168 for ac_exec_ext in '' $ac_executable_extensions; do
32169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32170 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32172 break 2
32173 fi
32174 done
32175 done
32176 IFS=$as_save_IFS
32177
32178 ;;
32179 esac
32180 fi
32181 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32182 if test -n "$PKG_CONFIG"; then
32183 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32184 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32185 else
32186 { echo "$as_me:$LINENO: result: no" >&5
32187 echo "${ECHO_T}no" >&6; }
32188 fi
32189
32190
32191 fi
32192 if test -z "$ac_cv_path_PKG_CONFIG"; then
32193 ac_pt_PKG_CONFIG=$PKG_CONFIG
32194 # Extract the first word of "pkg-config", so it can be a program name with args.
32195 set dummy pkg-config; ac_word=$2
32196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32198 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32199 echo $ECHO_N "(cached) $ECHO_C" >&6
32200 else
32201 case $ac_pt_PKG_CONFIG in
32202 [\\/]* | ?:[\\/]*)
32203 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32204 ;;
32205 *)
32206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32207 for as_dir in $PATH
32208 do
32209 IFS=$as_save_IFS
32210 test -z "$as_dir" && as_dir=.
32211 for ac_exec_ext in '' $ac_executable_extensions; do
32212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32213 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32215 break 2
32216 fi
32217 done
32218 done
32219 IFS=$as_save_IFS
32220
32221 ;;
32222 esac
32223 fi
32224 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32225 if test -n "$ac_pt_PKG_CONFIG"; then
32226 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32227 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32228 else
32229 { echo "$as_me:$LINENO: result: no" >&5
32230 echo "${ECHO_T}no" >&6; }
32231 fi
32232
32233 if test "x$ac_pt_PKG_CONFIG" = x; then
32234 PKG_CONFIG=""
32235 else
32236 case $cross_compiling:$ac_tool_warned in
32237 yes:)
32238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32239 whose name does not start with the host triplet. If you think this
32240 configuration is useful to you, please write to autoconf@gnu.org." >&5
32241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32242 whose name does not start with the host triplet. If you think this
32243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32244 ac_tool_warned=yes ;;
32245 esac
32246 PKG_CONFIG=$ac_pt_PKG_CONFIG
32247 fi
32248 else
32249 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32250 fi
32251
32252 fi
32253 if test -n "$PKG_CONFIG"; then
32254 _pkg_min_version=0.9.0
32255 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32256 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32257 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32258 { echo "$as_me:$LINENO: result: yes" >&5
32259 echo "${ECHO_T}yes" >&6; }
32260 else
32261 { echo "$as_me:$LINENO: result: no" >&5
32262 echo "${ECHO_T}no" >&6; }
32263 PKG_CONFIG=""
32264 fi
32265
32266 fi
32267
32268
32269 pkg_failed=no
32270 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32271 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32272
32273 if test -n "$PKG_CONFIG"; then
32274 if test -n "$DIRECTFB_CFLAGS"; then
32275 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32276 else
32277 if test -n "$PKG_CONFIG" && \
32278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32279 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; then
32283 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32284 else
32285 pkg_failed=yes
32286 fi
32287 fi
32288 else
32289 pkg_failed=untried
32290 fi
32291 if test -n "$PKG_CONFIG"; then
32292 if test -n "$DIRECTFB_LIBS"; then
32293 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32294 else
32295 if test -n "$PKG_CONFIG" && \
32296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32297 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; then
32301 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32302 else
32303 pkg_failed=yes
32304 fi
32305 fi
32306 else
32307 pkg_failed=untried
32308 fi
32309
32310
32311
32312 if test $pkg_failed = yes; then
32313
32314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32315 _pkg_short_errors_supported=yes
32316 else
32317 _pkg_short_errors_supported=no
32318 fi
32319 if test $_pkg_short_errors_supported = yes; then
32320 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32321 else
32322 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32323 fi
32324 # Put the nasty error message in config.log where it belongs
32325 echo "$DIRECTFB_PKG_ERRORS" >&5
32326
32327
32328 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32329 echo "$as_me: error: DirectFB not found." >&2;}
32330 { (exit 1); exit 1; }; }
32331
32332
32333 elif test $pkg_failed = untried; then
32334
32335 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32336 echo "$as_me: error: DirectFB not found." >&2;}
32337 { (exit 1); exit 1; }; }
32338
32339
32340 else
32341 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32342 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32343 { echo "$as_me:$LINENO: result: yes" >&5
32344 echo "${ECHO_T}yes" >&6; }
32345
32346 wxUSE_UNIVERSAL="yes"
32347 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32348 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32349 TOOLKIT=DFB
32350 GUIDIST=DFB_DIST
32351
32352 fi
32353 fi
32354
32355 if test "$wxUSE_MICROWIN" = 1; then
32356 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32357 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32358 if test "x$MICROWINDOWS" = x ; then
32359 { echo "$as_me:$LINENO: result: not found" >&5
32360 echo "${ECHO_T}not found" >&6; }
32361 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32362 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32363 { (exit 1); exit 1; }; }
32364 else
32365 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32366 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32367 fi
32368
32369 if test -f $MICROWINDOWS/lib/libmwin.a; then
32370 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32371 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32372 else
32373 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32374 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32375 { (exit 1); exit 1; }; }
32376 fi
32377
32378 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32379 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32380
32381 wxUSE_UNIVERSAL="yes"
32382
32383 AFMINSTALL=afminstall
32384 TOOLKIT=MICROWIN
32385 GUIDIST=MICROWIN_DIST
32386
32387 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32388 fi
32389
32390 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32391 { echo "$as_me:$LINENO: checking for X" >&5
32392 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32393
32394
32395 # Check whether --with-x was given.
32396 if test "${with_x+set}" = set; then
32397 withval=$with_x;
32398 fi
32399
32400 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32401 if test "x$with_x" = xno; then
32402 # The user explicitly disabled X.
32403 have_x=disabled
32404 else
32405 case $x_includes,$x_libraries in #(
32406 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32407 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32408 { (exit 1); exit 1; }; };; #(
32409 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 else
32412 # One or both of the vars are not set, and there is no cached value.
32413 ac_x_includes=no ac_x_libraries=no
32414 rm -f -r conftest.dir
32415 if mkdir conftest.dir; then
32416 cd conftest.dir
32417 cat >Imakefile <<'_ACEOF'
32418 incroot:
32419 @echo incroot='${INCROOT}'
32420 usrlibdir:
32421 @echo usrlibdir='${USRLIBDIR}'
32422 libdir:
32423 @echo libdir='${LIBDIR}'
32424 _ACEOF
32425 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32426 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32427 for ac_var in incroot usrlibdir libdir; do
32428 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32429 done
32430 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32431 for ac_extension in a so sl; do
32432 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32433 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32434 ac_im_usrlibdir=$ac_im_libdir; break
32435 fi
32436 done
32437 # Screen out bogus values from the imake configuration. They are
32438 # bogus both because they are the default anyway, and because
32439 # using them would break gcc on systems where it needs fixed includes.
32440 case $ac_im_incroot in
32441 /usr/include) ac_x_includes= ;;
32442 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32443 esac
32444 case $ac_im_usrlibdir in
32445 /usr/lib | /lib) ;;
32446 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32447 esac
32448 fi
32449 cd ..
32450 rm -f -r conftest.dir
32451 fi
32452
32453 # Standard set of common directories for X headers.
32454 # Check X11 before X11Rn because it is often a symlink to the current release.
32455 ac_x_header_dirs='
32456 /usr/X11/include
32457 /usr/X11R6/include
32458 /usr/X11R5/include
32459 /usr/X11R4/include
32460
32461 /usr/include/X11
32462 /usr/include/X11R6
32463 /usr/include/X11R5
32464 /usr/include/X11R4
32465
32466 /usr/local/X11/include
32467 /usr/local/X11R6/include
32468 /usr/local/X11R5/include
32469 /usr/local/X11R4/include
32470
32471 /usr/local/include/X11
32472 /usr/local/include/X11R6
32473 /usr/local/include/X11R5
32474 /usr/local/include/X11R4
32475
32476 /usr/X386/include
32477 /usr/x386/include
32478 /usr/XFree86/include/X11
32479
32480 /usr/include
32481 /usr/local/include
32482 /usr/unsupported/include
32483 /usr/athena/include
32484 /usr/local/x11r5/include
32485 /usr/lpp/Xamples/include
32486
32487 /usr/openwin/include
32488 /usr/openwin/share/include'
32489
32490 if test "$ac_x_includes" = no; then
32491 # Guess where to find include files, by looking for Xlib.h.
32492 # First, try using that file with no special directory specified.
32493 cat >conftest.$ac_ext <<_ACEOF
32494 /* confdefs.h. */
32495 _ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499 #include <X11/Xlib.h>
32500 _ACEOF
32501 if { (ac_try="$ac_cpp conftest.$ac_ext"
32502 case "(($ac_try" in
32503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32504 *) ac_try_echo=$ac_try;;
32505 esac
32506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32508 ac_status=$?
32509 grep -v '^ *+' conftest.er1 >conftest.err
32510 rm -f conftest.er1
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); } >/dev/null && {
32514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32515 test ! -s conftest.err
32516 }; then
32517 # We can compile using X headers with no special include directory.
32518 ac_x_includes=
32519 else
32520 echo "$as_me: failed program was:" >&5
32521 sed 's/^/| /' conftest.$ac_ext >&5
32522
32523 for ac_dir in $ac_x_header_dirs; do
32524 if test -r "$ac_dir/X11/Xlib.h"; then
32525 ac_x_includes=$ac_dir
32526 break
32527 fi
32528 done
32529 fi
32530
32531 rm -f conftest.err conftest.$ac_ext
32532 fi # $ac_x_includes = no
32533
32534 if test "$ac_x_libraries" = no; then
32535 # Check for the libraries.
32536 # See if we find them without any special options.
32537 # Don't add to $LIBS permanently.
32538 ac_save_LIBS=$LIBS
32539 LIBS="-lX11 $LIBS"
32540 cat >conftest.$ac_ext <<_ACEOF
32541 /* confdefs.h. */
32542 _ACEOF
32543 cat confdefs.h >>conftest.$ac_ext
32544 cat >>conftest.$ac_ext <<_ACEOF
32545 /* end confdefs.h. */
32546 #include <X11/Xlib.h>
32547 int
32548 main ()
32549 {
32550 XrmInitialize ()
32551 ;
32552 return 0;
32553 }
32554 _ACEOF
32555 rm -f conftest.$ac_objext conftest$ac_exeext
32556 if { (ac_try="$ac_link"
32557 case "(($ac_try" in
32558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32559 *) ac_try_echo=$ac_try;;
32560 esac
32561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32562 (eval "$ac_link") 2>conftest.er1
32563 ac_status=$?
32564 grep -v '^ *+' conftest.er1 >conftest.err
32565 rm -f conftest.er1
32566 cat conftest.err >&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); } && {
32569 test -z "$ac_c_werror_flag" ||
32570 test ! -s conftest.err
32571 } && test -s conftest$ac_exeext &&
32572 $as_test_x conftest$ac_exeext; then
32573 LIBS=$ac_save_LIBS
32574 # We can link X programs with no special library path.
32575 ac_x_libraries=
32576 else
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.$ac_ext >&5
32579
32580 LIBS=$ac_save_LIBS
32581 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32582 do
32583 # Don't even attempt the hair of trying to link an X program!
32584 for ac_extension in a so sl; do
32585 if test -r "$ac_dir/libX11.$ac_extension"; then
32586 ac_x_libraries=$ac_dir
32587 break 2
32588 fi
32589 done
32590 done
32591 fi
32592
32593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32594 conftest$ac_exeext conftest.$ac_ext
32595 fi # $ac_x_libraries = no
32596
32597 case $ac_x_includes,$ac_x_libraries in #(
32598 no,* | *,no | *\'*)
32599 # Didn't find X, or a directory has "'" in its name.
32600 ac_cv_have_x="have_x=no";; #(
32601 *)
32602 # Record where we found X for the cache.
32603 ac_cv_have_x="have_x=yes\
32604 ac_x_includes='$ac_x_includes'\
32605 ac_x_libraries='$ac_x_libraries'"
32606 esac
32607 fi
32608 ;; #(
32609 *) have_x=yes;;
32610 esac
32611 eval "$ac_cv_have_x"
32612 fi # $with_x != no
32613
32614 if test "$have_x" != yes; then
32615 { echo "$as_me:$LINENO: result: $have_x" >&5
32616 echo "${ECHO_T}$have_x" >&6; }
32617 no_x=yes
32618 else
32619 # If each of the values was on the command line, it overrides each guess.
32620 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32621 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32622 # Update the cache value to reflect the command line values.
32623 ac_cv_have_x="have_x=yes\
32624 ac_x_includes='$x_includes'\
32625 ac_x_libraries='$x_libraries'"
32626 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32627 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32628 fi
32629
32630 if test "$no_x" = yes; then
32631 # Not all programs may use this symbol, but it does not hurt to define it.
32632
32633 cat >>confdefs.h <<\_ACEOF
32634 #define X_DISPLAY_MISSING 1
32635 _ACEOF
32636
32637 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32638 else
32639 if test -n "$x_includes"; then
32640 X_CFLAGS="$X_CFLAGS -I$x_includes"
32641 fi
32642
32643 # It would also be nice to do this for all -L options, not just this one.
32644 if test -n "$x_libraries"; then
32645 X_LIBS="$X_LIBS -L$x_libraries"
32646 # For Solaris; some versions of Sun CC require a space after -R and
32647 # others require no space. Words are not sufficient . . . .
32648 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32649 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32650 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32651 ac_xsave_c_werror_flag=$ac_c_werror_flag
32652 ac_c_werror_flag=yes
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659
32660 int
32661 main ()
32662 {
32663
32664 ;
32665 return 0;
32666 }
32667 _ACEOF
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32672 *) ac_try_echo=$ac_try;;
32673 esac
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_link") 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest$ac_exeext &&
32685 $as_test_x conftest$ac_exeext; then
32686 { echo "$as_me:$LINENO: result: no" >&5
32687 echo "${ECHO_T}no" >&6; }
32688 X_LIBS="$X_LIBS -R$x_libraries"
32689 else
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.$ac_ext >&5
32692
32693 LIBS="$ac_xsave_LIBS -R $x_libraries"
32694 cat >conftest.$ac_ext <<_ACEOF
32695 /* confdefs.h. */
32696 _ACEOF
32697 cat confdefs.h >>conftest.$ac_ext
32698 cat >>conftest.$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32700
32701 int
32702 main ()
32703 {
32704
32705 ;
32706 return 0;
32707 }
32708 _ACEOF
32709 rm -f conftest.$ac_objext conftest$ac_exeext
32710 if { (ac_try="$ac_link"
32711 case "(($ac_try" in
32712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32713 *) ac_try_echo=$ac_try;;
32714 esac
32715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32716 (eval "$ac_link") 2>conftest.er1
32717 ac_status=$?
32718 grep -v '^ *+' conftest.er1 >conftest.err
32719 rm -f conftest.er1
32720 cat conftest.err >&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } && {
32723 test -z "$ac_c_werror_flag" ||
32724 test ! -s conftest.err
32725 } && test -s conftest$ac_exeext &&
32726 $as_test_x conftest$ac_exeext; then
32727 { echo "$as_me:$LINENO: result: yes" >&5
32728 echo "${ECHO_T}yes" >&6; }
32729 X_LIBS="$X_LIBS -R $x_libraries"
32730 else
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.$ac_ext >&5
32733
32734 { echo "$as_me:$LINENO: result: neither works" >&5
32735 echo "${ECHO_T}neither works" >&6; }
32736 fi
32737
32738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32739 conftest$ac_exeext conftest.$ac_ext
32740 fi
32741
32742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32743 conftest$ac_exeext conftest.$ac_ext
32744 ac_c_werror_flag=$ac_xsave_c_werror_flag
32745 LIBS=$ac_xsave_LIBS
32746 fi
32747
32748 # Check for system-dependent libraries X programs must link with.
32749 # Do this before checking for the system-independent R6 libraries
32750 # (-lICE), since we may need -lsocket or whatever for X linking.
32751
32752 if test "$ISC" = yes; then
32753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32754 else
32755 # Martyn Johnson says this is needed for Ultrix, if the X
32756 # libraries were built with DECnet support. And Karl Berry says
32757 # the Alpha needs dnet_stub (dnet does not exist).
32758 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765
32766 /* Override any GCC internal prototype to avoid an error.
32767 Use char because int might match the return type of a GCC
32768 builtin and then its argument prototype would still apply. */
32769 #ifdef __cplusplus
32770 extern "C"
32771 #endif
32772 char XOpenDisplay ();
32773 int
32774 main ()
32775 {
32776 return XOpenDisplay ();
32777 ;
32778 return 0;
32779 }
32780 _ACEOF
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (ac_try="$ac_link"
32783 case "(($ac_try" in
32784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32785 *) ac_try_echo=$ac_try;;
32786 esac
32787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32788 (eval "$ac_link") 2>conftest.er1
32789 ac_status=$?
32790 grep -v '^ *+' conftest.er1 >conftest.err
32791 rm -f conftest.er1
32792 cat conftest.err >&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } && {
32795 test -z "$ac_c_werror_flag" ||
32796 test ! -s conftest.err
32797 } && test -s conftest$ac_exeext &&
32798 $as_test_x conftest$ac_exeext; then
32799 :
32800 else
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32803
32804 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32805 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32806 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809 ac_check_lib_save_LIBS=$LIBS
32810 LIBS="-ldnet $LIBS"
32811 cat >conftest.$ac_ext <<_ACEOF
32812 /* confdefs.h. */
32813 _ACEOF
32814 cat confdefs.h >>conftest.$ac_ext
32815 cat >>conftest.$ac_ext <<_ACEOF
32816 /* end confdefs.h. */
32817
32818 /* Override any GCC internal prototype to avoid an error.
32819 Use char because int might match the return type of a GCC
32820 builtin and then its argument prototype would still apply. */
32821 #ifdef __cplusplus
32822 extern "C"
32823 #endif
32824 char dnet_ntoa ();
32825 int
32826 main ()
32827 {
32828 return dnet_ntoa ();
32829 ;
32830 return 0;
32831 }
32832 _ACEOF
32833 rm -f conftest.$ac_objext conftest$ac_exeext
32834 if { (ac_try="$ac_link"
32835 case "(($ac_try" in
32836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32837 *) ac_try_echo=$ac_try;;
32838 esac
32839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32840 (eval "$ac_link") 2>conftest.er1
32841 ac_status=$?
32842 grep -v '^ *+' conftest.er1 >conftest.err
32843 rm -f conftest.er1
32844 cat conftest.err >&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } && {
32847 test -z "$ac_c_werror_flag" ||
32848 test ! -s conftest.err
32849 } && test -s conftest$ac_exeext &&
32850 $as_test_x conftest$ac_exeext; then
32851 ac_cv_lib_dnet_dnet_ntoa=yes
32852 else
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32855
32856 ac_cv_lib_dnet_dnet_ntoa=no
32857 fi
32858
32859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32860 conftest$ac_exeext conftest.$ac_ext
32861 LIBS=$ac_check_lib_save_LIBS
32862 fi
32863 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32864 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32865 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32866 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32867 fi
32868
32869 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32870 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32871 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32872 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 else
32875 ac_check_lib_save_LIBS=$LIBS
32876 LIBS="-ldnet_stub $LIBS"
32877 cat >conftest.$ac_ext <<_ACEOF
32878 /* confdefs.h. */
32879 _ACEOF
32880 cat confdefs.h >>conftest.$ac_ext
32881 cat >>conftest.$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32883
32884 /* Override any GCC internal prototype to avoid an error.
32885 Use char because int might match the return type of a GCC
32886 builtin and then its argument prototype would still apply. */
32887 #ifdef __cplusplus
32888 extern "C"
32889 #endif
32890 char dnet_ntoa ();
32891 int
32892 main ()
32893 {
32894 return dnet_ntoa ();
32895 ;
32896 return 0;
32897 }
32898 _ACEOF
32899 rm -f conftest.$ac_objext conftest$ac_exeext
32900 if { (ac_try="$ac_link"
32901 case "(($ac_try" in
32902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32903 *) ac_try_echo=$ac_try;;
32904 esac
32905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32906 (eval "$ac_link") 2>conftest.er1
32907 ac_status=$?
32908 grep -v '^ *+' conftest.er1 >conftest.err
32909 rm -f conftest.er1
32910 cat conftest.err >&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } && {
32913 test -z "$ac_c_werror_flag" ||
32914 test ! -s conftest.err
32915 } && test -s conftest$ac_exeext &&
32916 $as_test_x conftest$ac_exeext; then
32917 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32918 else
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32921
32922 ac_cv_lib_dnet_stub_dnet_ntoa=no
32923 fi
32924
32925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32926 conftest$ac_exeext conftest.$ac_ext
32927 LIBS=$ac_check_lib_save_LIBS
32928 fi
32929 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32930 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32931 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32932 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32933 fi
32934
32935 fi
32936 fi
32937
32938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32939 conftest$ac_exeext conftest.$ac_ext
32940 LIBS="$ac_xsave_LIBS"
32941
32942 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32943 # to get the SysV transport functions.
32944 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32945 # needs -lnsl.
32946 # The nsl library prevents programs from opening the X display
32947 # on Irix 5.2, according to T.E. Dickey.
32948 # The functions gethostbyname, getservbyname, and inet_addr are
32949 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32950 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32951 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32952 if test "${ac_cv_func_gethostbyname+set}" = set; then
32953 echo $ECHO_N "(cached) $ECHO_C" >&6
32954 else
32955 cat >conftest.$ac_ext <<_ACEOF
32956 /* confdefs.h. */
32957 _ACEOF
32958 cat confdefs.h >>conftest.$ac_ext
32959 cat >>conftest.$ac_ext <<_ACEOF
32960 /* end confdefs.h. */
32961 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32963 #define gethostbyname innocuous_gethostbyname
32964
32965 /* System header to define __stub macros and hopefully few prototypes,
32966 which can conflict with char gethostbyname (); below.
32967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32968 <limits.h> exists even on freestanding compilers. */
32969
32970 #ifdef __STDC__
32971 # include <limits.h>
32972 #else
32973 # include <assert.h>
32974 #endif
32975
32976 #undef gethostbyname
32977
32978 /* Override any GCC internal prototype to avoid an error.
32979 Use char because int might match the return type of a GCC
32980 builtin and then its argument prototype would still apply. */
32981 #ifdef __cplusplus
32982 extern "C"
32983 #endif
32984 char gethostbyname ();
32985 /* The GNU C library defines this for functions which it implements
32986 to always fail with ENOSYS. Some functions are actually named
32987 something starting with __ and the normal name is an alias. */
32988 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32989 choke me
32990 #endif
32991
32992 int
32993 main ()
32994 {
32995 return gethostbyname ();
32996 ;
32997 return 0;
32998 }
32999 _ACEOF
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (ac_try="$ac_link"
33002 case "(($ac_try" in
33003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33004 *) ac_try_echo=$ac_try;;
33005 esac
33006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33007 (eval "$ac_link") 2>conftest.er1
33008 ac_status=$?
33009 grep -v '^ *+' conftest.er1 >conftest.err
33010 rm -f conftest.er1
33011 cat conftest.err >&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } && {
33014 test -z "$ac_c_werror_flag" ||
33015 test ! -s conftest.err
33016 } && test -s conftest$ac_exeext &&
33017 $as_test_x conftest$ac_exeext; then
33018 ac_cv_func_gethostbyname=yes
33019 else
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33022
33023 ac_cv_func_gethostbyname=no
33024 fi
33025
33026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33027 conftest$ac_exeext conftest.$ac_ext
33028 fi
33029 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33030 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33031
33032 if test $ac_cv_func_gethostbyname = no; then
33033 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33034 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33035 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038 ac_check_lib_save_LIBS=$LIBS
33039 LIBS="-lnsl $LIBS"
33040 cat >conftest.$ac_ext <<_ACEOF
33041 /* confdefs.h. */
33042 _ACEOF
33043 cat confdefs.h >>conftest.$ac_ext
33044 cat >>conftest.$ac_ext <<_ACEOF
33045 /* end confdefs.h. */
33046
33047 /* Override any GCC internal prototype to avoid an error.
33048 Use char because int might match the return type of a GCC
33049 builtin and then its argument prototype would still apply. */
33050 #ifdef __cplusplus
33051 extern "C"
33052 #endif
33053 char gethostbyname ();
33054 int
33055 main ()
33056 {
33057 return gethostbyname ();
33058 ;
33059 return 0;
33060 }
33061 _ACEOF
33062 rm -f conftest.$ac_objext conftest$ac_exeext
33063 if { (ac_try="$ac_link"
33064 case "(($ac_try" in
33065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33066 *) ac_try_echo=$ac_try;;
33067 esac
33068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33069 (eval "$ac_link") 2>conftest.er1
33070 ac_status=$?
33071 grep -v '^ *+' conftest.er1 >conftest.err
33072 rm -f conftest.er1
33073 cat conftest.err >&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); } && {
33076 test -z "$ac_c_werror_flag" ||
33077 test ! -s conftest.err
33078 } && test -s conftest$ac_exeext &&
33079 $as_test_x conftest$ac_exeext; then
33080 ac_cv_lib_nsl_gethostbyname=yes
33081 else
33082 echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.$ac_ext >&5
33084
33085 ac_cv_lib_nsl_gethostbyname=no
33086 fi
33087
33088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33089 conftest$ac_exeext conftest.$ac_ext
33090 LIBS=$ac_check_lib_save_LIBS
33091 fi
33092 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33093 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33094 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33095 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33096 fi
33097
33098 if test $ac_cv_lib_nsl_gethostbyname = no; then
33099 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33100 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33101 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33102 echo $ECHO_N "(cached) $ECHO_C" >&6
33103 else
33104 ac_check_lib_save_LIBS=$LIBS
33105 LIBS="-lbsd $LIBS"
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112
33113 /* Override any GCC internal prototype to avoid an error.
33114 Use char because int might match the return type of a GCC
33115 builtin and then its argument prototype would still apply. */
33116 #ifdef __cplusplus
33117 extern "C"
33118 #endif
33119 char gethostbyname ();
33120 int
33121 main ()
33122 {
33123 return gethostbyname ();
33124 ;
33125 return 0;
33126 }
33127 _ACEOF
33128 rm -f conftest.$ac_objext conftest$ac_exeext
33129 if { (ac_try="$ac_link"
33130 case "(($ac_try" in
33131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33132 *) ac_try_echo=$ac_try;;
33133 esac
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_link") 2>conftest.er1
33136 ac_status=$?
33137 grep -v '^ *+' conftest.er1 >conftest.err
33138 rm -f conftest.er1
33139 cat conftest.err >&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest$ac_exeext &&
33145 $as_test_x conftest$ac_exeext; then
33146 ac_cv_lib_bsd_gethostbyname=yes
33147 else
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.$ac_ext >&5
33150
33151 ac_cv_lib_bsd_gethostbyname=no
33152 fi
33153
33154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33155 conftest$ac_exeext conftest.$ac_ext
33156 LIBS=$ac_check_lib_save_LIBS
33157 fi
33158 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33159 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33160 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33161 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33162 fi
33163
33164 fi
33165 fi
33166
33167 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33168 # socket/setsockopt and other routines are undefined under SCO ODT
33169 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33170 # on later versions), says Simon Leinen: it contains gethostby*
33171 # variants that don't use the name server (or something). -lsocket
33172 # must be given before -lnsl if both are needed. We assume that
33173 # if connect needs -lnsl, so does gethostbyname.
33174 { echo "$as_me:$LINENO: checking for connect" >&5
33175 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33176 if test "${ac_cv_func_connect+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define connect innocuous_connect
33188
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char connect (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33193
33194 #ifdef __STDC__
33195 # include <limits.h>
33196 #else
33197 # include <assert.h>
33198 #endif
33199
33200 #undef connect
33201
33202 /* Override any GCC internal prototype to avoid an error.
33203 Use char because int might match the return type of a GCC
33204 builtin and then its argument prototype would still apply. */
33205 #ifdef __cplusplus
33206 extern "C"
33207 #endif
33208 char connect ();
33209 /* The GNU C library defines this for functions which it implements
33210 to always fail with ENOSYS. Some functions are actually named
33211 something starting with __ and the normal name is an alias. */
33212 #if defined __stub_connect || defined __stub___connect
33213 choke me
33214 #endif
33215
33216 int
33217 main ()
33218 {
33219 return connect ();
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33228 *) ac_try_echo=$ac_try;;
33229 esac
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_c_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest$ac_exeext &&
33241 $as_test_x conftest$ac_exeext; then
33242 ac_cv_func_connect=yes
33243 else
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.$ac_ext >&5
33246
33247 ac_cv_func_connect=no
33248 fi
33249
33250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33251 conftest$ac_exeext conftest.$ac_ext
33252 fi
33253 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33254 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33255
33256 if test $ac_cv_func_connect = no; then
33257 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33258 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33259 if test "${ac_cv_lib_socket_connect+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 else
33262 ac_check_lib_save_LIBS=$LIBS
33263 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33264 cat >conftest.$ac_ext <<_ACEOF
33265 /* confdefs.h. */
33266 _ACEOF
33267 cat confdefs.h >>conftest.$ac_ext
33268 cat >>conftest.$ac_ext <<_ACEOF
33269 /* end confdefs.h. */
33270
33271 /* Override any GCC internal prototype to avoid an error.
33272 Use char because int might match the return type of a GCC
33273 builtin and then its argument prototype would still apply. */
33274 #ifdef __cplusplus
33275 extern "C"
33276 #endif
33277 char connect ();
33278 int
33279 main ()
33280 {
33281 return connect ();
33282 ;
33283 return 0;
33284 }
33285 _ACEOF
33286 rm -f conftest.$ac_objext conftest$ac_exeext
33287 if { (ac_try="$ac_link"
33288 case "(($ac_try" in
33289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33290 *) ac_try_echo=$ac_try;;
33291 esac
33292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33293 (eval "$ac_link") 2>conftest.er1
33294 ac_status=$?
33295 grep -v '^ *+' conftest.er1 >conftest.err
33296 rm -f conftest.er1
33297 cat conftest.err >&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); } && {
33300 test -z "$ac_c_werror_flag" ||
33301 test ! -s conftest.err
33302 } && test -s conftest$ac_exeext &&
33303 $as_test_x conftest$ac_exeext; then
33304 ac_cv_lib_socket_connect=yes
33305 else
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.$ac_ext >&5
33308
33309 ac_cv_lib_socket_connect=no
33310 fi
33311
33312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33313 conftest$ac_exeext conftest.$ac_ext
33314 LIBS=$ac_check_lib_save_LIBS
33315 fi
33316 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33317 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33318 if test $ac_cv_lib_socket_connect = yes; then
33319 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33320 fi
33321
33322 fi
33323
33324 # Guillermo Gomez says -lposix is necessary on A/UX.
33325 { echo "$as_me:$LINENO: checking for remove" >&5
33326 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33327 if test "${ac_cv_func_remove+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 else
33330 cat >conftest.$ac_ext <<_ACEOF
33331 /* confdefs.h. */
33332 _ACEOF
33333 cat confdefs.h >>conftest.$ac_ext
33334 cat >>conftest.$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33338 #define remove innocuous_remove
33339
33340 /* System header to define __stub macros and hopefully few prototypes,
33341 which can conflict with char remove (); below.
33342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33343 <limits.h> exists even on freestanding compilers. */
33344
33345 #ifdef __STDC__
33346 # include <limits.h>
33347 #else
33348 # include <assert.h>
33349 #endif
33350
33351 #undef remove
33352
33353 /* Override any GCC internal prototype to avoid an error.
33354 Use char because int might match the return type of a GCC
33355 builtin and then its argument prototype would still apply. */
33356 #ifdef __cplusplus
33357 extern "C"
33358 #endif
33359 char remove ();
33360 /* The GNU C library defines this for functions which it implements
33361 to always fail with ENOSYS. Some functions are actually named
33362 something starting with __ and the normal name is an alias. */
33363 #if defined __stub_remove || defined __stub___remove
33364 choke me
33365 #endif
33366
33367 int
33368 main ()
33369 {
33370 return remove ();
33371 ;
33372 return 0;
33373 }
33374 _ACEOF
33375 rm -f conftest.$ac_objext conftest$ac_exeext
33376 if { (ac_try="$ac_link"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33379 *) ac_try_echo=$ac_try;;
33380 esac
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_link") 2>conftest.er1
33383 ac_status=$?
33384 grep -v '^ *+' conftest.er1 >conftest.err
33385 rm -f conftest.er1
33386 cat conftest.err >&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_c_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest$ac_exeext &&
33392 $as_test_x conftest$ac_exeext; then
33393 ac_cv_func_remove=yes
33394 else
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.$ac_ext >&5
33397
33398 ac_cv_func_remove=no
33399 fi
33400
33401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33402 conftest$ac_exeext conftest.$ac_ext
33403 fi
33404 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33405 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33406
33407 if test $ac_cv_func_remove = no; then
33408 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33409 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33410 if test "${ac_cv_lib_posix_remove+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413 ac_check_lib_save_LIBS=$LIBS
33414 LIBS="-lposix $LIBS"
33415 cat >conftest.$ac_ext <<_ACEOF
33416 /* confdefs.h. */
33417 _ACEOF
33418 cat confdefs.h >>conftest.$ac_ext
33419 cat >>conftest.$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33421
33422 /* Override any GCC internal prototype to avoid an error.
33423 Use char because int might match the return type of a GCC
33424 builtin and then its argument prototype would still apply. */
33425 #ifdef __cplusplus
33426 extern "C"
33427 #endif
33428 char remove ();
33429 int
33430 main ()
33431 {
33432 return remove ();
33433 ;
33434 return 0;
33435 }
33436 _ACEOF
33437 rm -f conftest.$ac_objext conftest$ac_exeext
33438 if { (ac_try="$ac_link"
33439 case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33442 esac
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_link") 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest$ac_exeext &&
33454 $as_test_x conftest$ac_exeext; then
33455 ac_cv_lib_posix_remove=yes
33456 else
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.$ac_ext >&5
33459
33460 ac_cv_lib_posix_remove=no
33461 fi
33462
33463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33464 conftest$ac_exeext conftest.$ac_ext
33465 LIBS=$ac_check_lib_save_LIBS
33466 fi
33467 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33468 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33469 if test $ac_cv_lib_posix_remove = yes; then
33470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33471 fi
33472
33473 fi
33474
33475 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33476 { echo "$as_me:$LINENO: checking for shmat" >&5
33477 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33478 if test "${ac_cv_func_shmat+set}" = set; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33480 else
33481 cat >conftest.$ac_ext <<_ACEOF
33482 /* confdefs.h. */
33483 _ACEOF
33484 cat confdefs.h >>conftest.$ac_ext
33485 cat >>conftest.$ac_ext <<_ACEOF
33486 /* end confdefs.h. */
33487 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33489 #define shmat innocuous_shmat
33490
33491 /* System header to define __stub macros and hopefully few prototypes,
33492 which can conflict with char shmat (); below.
33493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33494 <limits.h> exists even on freestanding compilers. */
33495
33496 #ifdef __STDC__
33497 # include <limits.h>
33498 #else
33499 # include <assert.h>
33500 #endif
33501
33502 #undef shmat
33503
33504 /* Override any GCC internal prototype to avoid an error.
33505 Use char because int might match the return type of a GCC
33506 builtin and then its argument prototype would still apply. */
33507 #ifdef __cplusplus
33508 extern "C"
33509 #endif
33510 char shmat ();
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined __stub_shmat || defined __stub___shmat
33515 choke me
33516 #endif
33517
33518 int
33519 main ()
33520 {
33521 return shmat ();
33522 ;
33523 return 0;
33524 }
33525 _ACEOF
33526 rm -f conftest.$ac_objext conftest$ac_exeext
33527 if { (ac_try="$ac_link"
33528 case "(($ac_try" in
33529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33530 *) ac_try_echo=$ac_try;;
33531 esac
33532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33533 (eval "$ac_link") 2>conftest.er1
33534 ac_status=$?
33535 grep -v '^ *+' conftest.er1 >conftest.err
33536 rm -f conftest.er1
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } && {
33540 test -z "$ac_c_werror_flag" ||
33541 test ! -s conftest.err
33542 } && test -s conftest$ac_exeext &&
33543 $as_test_x conftest$ac_exeext; then
33544 ac_cv_func_shmat=yes
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 ac_cv_func_shmat=no
33550 fi
33551
33552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33553 conftest$ac_exeext conftest.$ac_ext
33554 fi
33555 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33556 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33557
33558 if test $ac_cv_func_shmat = no; then
33559 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33560 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33561 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33563 else
33564 ac_check_lib_save_LIBS=$LIBS
33565 LIBS="-lipc $LIBS"
33566 cat >conftest.$ac_ext <<_ACEOF
33567 /* confdefs.h. */
33568 _ACEOF
33569 cat confdefs.h >>conftest.$ac_ext
33570 cat >>conftest.$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33572
33573 /* Override any GCC internal prototype to avoid an error.
33574 Use char because int might match the return type of a GCC
33575 builtin and then its argument prototype would still apply. */
33576 #ifdef __cplusplus
33577 extern "C"
33578 #endif
33579 char shmat ();
33580 int
33581 main ()
33582 {
33583 return shmat ();
33584 ;
33585 return 0;
33586 }
33587 _ACEOF
33588 rm -f conftest.$ac_objext conftest$ac_exeext
33589 if { (ac_try="$ac_link"
33590 case "(($ac_try" in
33591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33593 esac
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_link") 2>conftest.er1
33596 ac_status=$?
33597 grep -v '^ *+' conftest.er1 >conftest.err
33598 rm -f conftest.er1
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest$ac_exeext &&
33605 $as_test_x conftest$ac_exeext; then
33606 ac_cv_lib_ipc_shmat=yes
33607 else
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33610
33611 ac_cv_lib_ipc_shmat=no
33612 fi
33613
33614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33615 conftest$ac_exeext conftest.$ac_ext
33616 LIBS=$ac_check_lib_save_LIBS
33617 fi
33618 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33619 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33620 if test $ac_cv_lib_ipc_shmat = yes; then
33621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33622 fi
33623
33624 fi
33625 fi
33626
33627 # Check for libraries that X11R6 Xt/Xaw programs need.
33628 ac_save_LDFLAGS=$LDFLAGS
33629 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33630 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33631 # check for ICE first), but we must link in the order -lSM -lICE or
33632 # we get undefined symbols. So assume we have SM if we have ICE.
33633 # These have to be linked with before -lX11, unlike the other
33634 # libraries we check for below, so use a different variable.
33635 # John Interrante, Karl Berry
33636 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33637 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33638 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 else
33641 ac_check_lib_save_LIBS=$LIBS
33642 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33643 cat >conftest.$ac_ext <<_ACEOF
33644 /* confdefs.h. */
33645 _ACEOF
33646 cat confdefs.h >>conftest.$ac_ext
33647 cat >>conftest.$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33649
33650 /* Override any GCC internal prototype to avoid an error.
33651 Use char because int might match the return type of a GCC
33652 builtin and then its argument prototype would still apply. */
33653 #ifdef __cplusplus
33654 extern "C"
33655 #endif
33656 char IceConnectionNumber ();
33657 int
33658 main ()
33659 {
33660 return IceConnectionNumber ();
33661 ;
33662 return 0;
33663 }
33664 _ACEOF
33665 rm -f conftest.$ac_objext conftest$ac_exeext
33666 if { (ac_try="$ac_link"
33667 case "(($ac_try" in
33668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33669 *) ac_try_echo=$ac_try;;
33670 esac
33671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33672 (eval "$ac_link") 2>conftest.er1
33673 ac_status=$?
33674 grep -v '^ *+' conftest.er1 >conftest.err
33675 rm -f conftest.er1
33676 cat conftest.err >&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); } && {
33679 test -z "$ac_c_werror_flag" ||
33680 test ! -s conftest.err
33681 } && test -s conftest$ac_exeext &&
33682 $as_test_x conftest$ac_exeext; then
33683 ac_cv_lib_ICE_IceConnectionNumber=yes
33684 else
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33687
33688 ac_cv_lib_ICE_IceConnectionNumber=no
33689 fi
33690
33691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33692 conftest$ac_exeext conftest.$ac_ext
33693 LIBS=$ac_check_lib_save_LIBS
33694 fi
33695 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33696 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33697 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33698 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33699 fi
33700
33701 LDFLAGS=$ac_save_LDFLAGS
33702
33703 fi
33704
33705
33706 if test "$no_x" = "yes"; then
33707 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33708 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33709 { (exit 1); exit 1; }; }
33710 fi
33711
33712 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33713 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33714 AFMINSTALL=afminstall
33715 COMPILED_X_PROGRAM=0
33716
33717 fi
33718
33719 if test "$wxUSE_X11" = 1; then
33720 if test "$wxUSE_NANOX" = "yes"; then
33721 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33722 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33723 if test "x$MICROWIN" = x ; then
33724 { echo "$as_me:$LINENO: result: not found" >&5
33725 echo "${ECHO_T}not found" >&6; }
33726 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33727 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33728 { (exit 1); exit 1; }; }
33729 else
33730 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33731 echo "${ECHO_T}$MICROWIN" >&6; }
33732 cat >>confdefs.h <<\_ACEOF
33733 #define wxUSE_NANOX 1
33734 _ACEOF
33735
33736 fi
33737 fi
33738
33739 if test "$wxUSE_UNICODE" = "yes"; then
33740
33741
33742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33743 if test -n "$ac_tool_prefix"; then
33744 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33745 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33748 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751 case $PKG_CONFIG in
33752 [\\/]* | ?:[\\/]*)
33753 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33754 ;;
33755 *)
33756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33757 for as_dir in $PATH
33758 do
33759 IFS=$as_save_IFS
33760 test -z "$as_dir" && as_dir=.
33761 for ac_exec_ext in '' $ac_executable_extensions; do
33762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33763 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33765 break 2
33766 fi
33767 done
33768 done
33769 IFS=$as_save_IFS
33770
33771 ;;
33772 esac
33773 fi
33774 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33775 if test -n "$PKG_CONFIG"; then
33776 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33777 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33778 else
33779 { echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6; }
33781 fi
33782
33783
33784 fi
33785 if test -z "$ac_cv_path_PKG_CONFIG"; then
33786 ac_pt_PKG_CONFIG=$PKG_CONFIG
33787 # Extract the first word of "pkg-config", so it can be a program name with args.
33788 set dummy pkg-config; ac_word=$2
33789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33791 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 else
33794 case $ac_pt_PKG_CONFIG in
33795 [\\/]* | ?:[\\/]*)
33796 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33797 ;;
33798 *)
33799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33800 for as_dir in $PATH
33801 do
33802 IFS=$as_save_IFS
33803 test -z "$as_dir" && as_dir=.
33804 for ac_exec_ext in '' $ac_executable_extensions; do
33805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33806 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33808 break 2
33809 fi
33810 done
33811 done
33812 IFS=$as_save_IFS
33813
33814 ;;
33815 esac
33816 fi
33817 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33818 if test -n "$ac_pt_PKG_CONFIG"; then
33819 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33820 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33821 else
33822 { echo "$as_me:$LINENO: result: no" >&5
33823 echo "${ECHO_T}no" >&6; }
33824 fi
33825
33826 if test "x$ac_pt_PKG_CONFIG" = x; then
33827 PKG_CONFIG=""
33828 else
33829 case $cross_compiling:$ac_tool_warned in
33830 yes:)
33831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33832 whose name does not start with the host triplet. If you think this
33833 configuration is useful to you, please write to autoconf@gnu.org." >&5
33834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33835 whose name does not start with the host triplet. If you think this
33836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33837 ac_tool_warned=yes ;;
33838 esac
33839 PKG_CONFIG=$ac_pt_PKG_CONFIG
33840 fi
33841 else
33842 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33843 fi
33844
33845 fi
33846 if test -n "$PKG_CONFIG"; then
33847 _pkg_min_version=0.9.0
33848 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33849 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33851 { echo "$as_me:$LINENO: result: yes" >&5
33852 echo "${ECHO_T}yes" >&6; }
33853 else
33854 { echo "$as_me:$LINENO: result: no" >&5
33855 echo "${ECHO_T}no" >&6; }
33856 PKG_CONFIG=""
33857 fi
33858
33859 fi
33860
33861
33862 pkg_failed=no
33863 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33864 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33865
33866 if test -n "$PKG_CONFIG"; then
33867 if test -n "$PANGOX_CFLAGS"; then
33868 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33869 else
33870 if test -n "$PKG_CONFIG" && \
33871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33872 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33873 ac_status=$?
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; then
33876 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33877 else
33878 pkg_failed=yes
33879 fi
33880 fi
33881 else
33882 pkg_failed=untried
33883 fi
33884 if test -n "$PKG_CONFIG"; then
33885 if test -n "$PANGOX_LIBS"; then
33886 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33887 else
33888 if test -n "$PKG_CONFIG" && \
33889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33890 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33891 ac_status=$?
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); }; then
33894 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33895 else
33896 pkg_failed=yes
33897 fi
33898 fi
33899 else
33900 pkg_failed=untried
33901 fi
33902
33903
33904
33905 if test $pkg_failed = yes; then
33906
33907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33908 _pkg_short_errors_supported=yes
33909 else
33910 _pkg_short_errors_supported=no
33911 fi
33912 if test $_pkg_short_errors_supported = yes; then
33913 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33914 else
33915 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33916 fi
33917 # Put the nasty error message in config.log where it belongs
33918 echo "$PANGOX_PKG_ERRORS" >&5
33919
33920
33921 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33922 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33923 { (exit 1); exit 1; }; }
33924
33925
33926 elif test $pkg_failed = untried; then
33927
33928 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33929 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33930 { (exit 1); exit 1; }; }
33931
33932
33933 else
33934 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33935 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33936 { echo "$as_me:$LINENO: result: yes" >&5
33937 echo "${ECHO_T}yes" >&6; }
33938
33939 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33940 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33941 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33942
33943 fi
33944
33945 pkg_failed=no
33946 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33947 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33948
33949 if test -n "$PKG_CONFIG"; then
33950 if test -n "$PANGOFT2_CFLAGS"; then
33951 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33952 else
33953 if test -n "$PKG_CONFIG" && \
33954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33955 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33956 ac_status=$?
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; then
33959 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33960 else
33961 pkg_failed=yes
33962 fi
33963 fi
33964 else
33965 pkg_failed=untried
33966 fi
33967 if test -n "$PKG_CONFIG"; then
33968 if test -n "$PANGOFT2_LIBS"; then
33969 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33970 else
33971 if test -n "$PKG_CONFIG" && \
33972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33973 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33974 ac_status=$?
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; then
33977 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33978 else
33979 pkg_failed=yes
33980 fi
33981 fi
33982 else
33983 pkg_failed=untried
33984 fi
33985
33986
33987
33988 if test $pkg_failed = yes; then
33989
33990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33991 _pkg_short_errors_supported=yes
33992 else
33993 _pkg_short_errors_supported=no
33994 fi
33995 if test $_pkg_short_errors_supported = yes; then
33996 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33997 else
33998 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33999 fi
34000 # Put the nasty error message in config.log where it belongs
34001 echo "$PANGOFT2_PKG_ERRORS" >&5
34002
34003
34004 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34005 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34006 wxUSE_PRINTING_ARCHITECTURE="no"
34007
34008
34009 elif test $pkg_failed = untried; then
34010
34011 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34012 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34013 wxUSE_PRINTING_ARCHITECTURE="no"
34014
34015
34016 else
34017 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34018 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34019 { echo "$as_me:$LINENO: result: yes" >&5
34020 echo "${ECHO_T}yes" >&6; }
34021
34022 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34023 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34025
34026 fi
34027
34028 pkg_failed=no
34029 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34030 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34031
34032 if test -n "$PKG_CONFIG"; then
34033 if test -n "$PANGOXFT_CFLAGS"; then
34034 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34035 else
34036 if test -n "$PKG_CONFIG" && \
34037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34038 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34039 ac_status=$?
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); }; then
34042 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34043 else
34044 pkg_failed=yes
34045 fi
34046 fi
34047 else
34048 pkg_failed=untried
34049 fi
34050 if test -n "$PKG_CONFIG"; then
34051 if test -n "$PANGOXFT_LIBS"; then
34052 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34053 else
34054 if test -n "$PKG_CONFIG" && \
34055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34056 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; then
34060 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34061 else
34062 pkg_failed=yes
34063 fi
34064 fi
34065 else
34066 pkg_failed=untried
34067 fi
34068
34069
34070
34071 if test $pkg_failed = yes; then
34072
34073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34074 _pkg_short_errors_supported=yes
34075 else
34076 _pkg_short_errors_supported=no
34077 fi
34078 if test $_pkg_short_errors_supported = yes; then
34079 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34080 else
34081 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34082 fi
34083 # Put the nasty error message in config.log where it belongs
34084 echo "$PANGOXFT_PKG_ERRORS" >&5
34085
34086
34087 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34088 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34089
34090
34091 elif test $pkg_failed = untried; then
34092
34093 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34094 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34095
34096
34097 else
34098 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34099 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34100 { echo "$as_me:$LINENO: result: yes" >&5
34101 echo "${ECHO_T}yes" >&6; }
34102
34103 cat >>confdefs.h <<\_ACEOF
34104 #define HAVE_PANGO_XFT 1
34105 _ACEOF
34106
34107 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34108 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34110
34111 fi
34112 save_LIBS="$LIBS"
34113 LIBS="$LIBS $PANGOX_LIBS"
34114
34115 for ac_func in pango_font_family_is_monospace
34116 do
34117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34120 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34121 echo $ECHO_N "(cached) $ECHO_C" >&6
34122 else
34123 cat >conftest.$ac_ext <<_ACEOF
34124 /* confdefs.h. */
34125 _ACEOF
34126 cat confdefs.h >>conftest.$ac_ext
34127 cat >>conftest.$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34131 #define $ac_func innocuous_$ac_func
34132
34133 /* System header to define __stub macros and hopefully few prototypes,
34134 which can conflict with char $ac_func (); below.
34135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34136 <limits.h> exists even on freestanding compilers. */
34137
34138 #ifdef __STDC__
34139 # include <limits.h>
34140 #else
34141 # include <assert.h>
34142 #endif
34143
34144 #undef $ac_func
34145
34146 /* Override any GCC internal prototype to avoid an error.
34147 Use char because int might match the return type of a GCC
34148 builtin and then its argument prototype would still apply. */
34149 #ifdef __cplusplus
34150 extern "C"
34151 #endif
34152 char $ac_func ();
34153 /* The GNU C library defines this for functions which it implements
34154 to always fail with ENOSYS. Some functions are actually named
34155 something starting with __ and the normal name is an alias. */
34156 #if defined __stub_$ac_func || defined __stub___$ac_func
34157 choke me
34158 #endif
34159
34160 int
34161 main ()
34162 {
34163 return $ac_func ();
34164 ;
34165 return 0;
34166 }
34167 _ACEOF
34168 rm -f conftest.$ac_objext conftest$ac_exeext
34169 if { (ac_try="$ac_link"
34170 case "(($ac_try" in
34171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34172 *) ac_try_echo=$ac_try;;
34173 esac
34174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34175 (eval "$ac_link") 2>conftest.er1
34176 ac_status=$?
34177 grep -v '^ *+' conftest.er1 >conftest.err
34178 rm -f conftest.er1
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } && {
34182 test -z "$ac_c_werror_flag" ||
34183 test ! -s conftest.err
34184 } && test -s conftest$ac_exeext &&
34185 $as_test_x conftest$ac_exeext; then
34186 eval "$as_ac_var=yes"
34187 else
34188 echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34190
34191 eval "$as_ac_var=no"
34192 fi
34193
34194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34195 conftest$ac_exeext conftest.$ac_ext
34196 fi
34197 ac_res=`eval echo '${'$as_ac_var'}'`
34198 { echo "$as_me:$LINENO: result: $ac_res" >&5
34199 echo "${ECHO_T}$ac_res" >&6; }
34200 if test `eval echo '${'$as_ac_var'}'` = yes; then
34201 cat >>confdefs.h <<_ACEOF
34202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34203 _ACEOF
34204
34205 fi
34206 done
34207
34208 LIBS="$save_LIBS"
34209 fi
34210
34211 wxUSE_UNIVERSAL="yes"
34212
34213 if test "$wxUSE_NANOX" = "yes"; then
34214 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34215 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"
34216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34217 else
34218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34219 fi
34220
34221 TOOLKIT=X11
34222 GUIDIST=X11_DIST
34223 fi
34224
34225 if test "$wxUSE_MOTIF" = 1; then
34226 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34227 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34228
34229 ac_find_includes=
34230 for ac_dir in $SEARCH_INCLUDE /usr/include;
34231 do
34232 if test -f "$ac_dir/Xm/Xm.h"; then
34233 ac_find_includes=$ac_dir
34234 break
34235 fi
34236 done
34237
34238 if test "$ac_find_includes" != "" ; then
34239 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34240 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34241
34242 if test "x$ac_find_includes" = "x/usr/include"; then
34243 ac_path_to_include=""
34244 else
34245 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34246 result=$?
34247 if test $result = 0; then
34248 ac_path_to_include=""
34249 else
34250 ac_path_to_include=" -I$ac_find_includes"
34251 fi
34252 fi
34253
34254 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34255 else
34256 save_CFLAGS=$CFLAGS
34257 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #include <Xm/Xm.h>
34267
34268 int
34269 main ()
34270 {
34271
34272 int version;
34273 version = xmUseVersion;
34274
34275 ;
34276 return 0;
34277 }
34278 _ACEOF
34279 rm -f conftest.$ac_objext
34280 if { (ac_try="$ac_compile"
34281 case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34283 *) ac_try_echo=$ac_try;;
34284 esac
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_compile") 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } && {
34293 test -z "$ac_c_werror_flag" ||
34294 test ! -s conftest.err
34295 } && test -s conftest.$ac_objext; then
34296
34297 { echo "$as_me:$LINENO: result: found in default search path" >&5
34298 echo "${ECHO_T}found in default search path" >&6; }
34299 COMPILED_X_PROGRAM=1
34300
34301 else
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.$ac_ext >&5
34304
34305
34306 { echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6; }
34308 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34309 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34310 { (exit 1); exit 1; }; }
34311
34312
34313 fi
34314
34315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34316
34317 CFLAGS=$save_CFLAGS
34318 fi
34319
34320
34321 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34322 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34323
34324 ac_find_libraries=
34325 for ac_dir in $SEARCH_LIB;
34326 do
34327 for ac_extension in a so sl dylib dll.a; do
34328 if test -f "$ac_dir/libXm.$ac_extension"; then
34329 ac_find_libraries=$ac_dir
34330 break 2
34331 fi
34332 done
34333 done
34334
34335
34336 if test "x$ac_find_libraries" != "x" ; then
34337 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34338 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34339
34340
34341 if test "$ac_find_libraries" = "default location"; then
34342 ac_path_to_link=""
34343 else
34344 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34345 result=$?
34346 if test $result = 0; then
34347 ac_path_to_link=""
34348 else
34349 ac_path_to_link=" -L$ac_find_libraries"
34350 fi
34351 fi
34352
34353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34354 else
34355 save_CFLAGS=$CFLAGS
34356 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34357 save_LIBS="$LIBS"
34358 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34359
34360 cat >conftest.$ac_ext <<_ACEOF
34361 /* confdefs.h. */
34362 _ACEOF
34363 cat confdefs.h >>conftest.$ac_ext
34364 cat >>conftest.$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34366
34367 #include <Xm/Xm.h>
34368
34369 int
34370 main ()
34371 {
34372
34373 int version;
34374 version = xmUseVersion;
34375
34376 ;
34377 return 0;
34378 }
34379 _ACEOF
34380 rm -f conftest.$ac_objext conftest$ac_exeext
34381 if { (ac_try="$ac_link"
34382 case "(($ac_try" in
34383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34384 *) ac_try_echo=$ac_try;;
34385 esac
34386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34387 (eval "$ac_link") 2>conftest.er1
34388 ac_status=$?
34389 grep -v '^ *+' conftest.er1 >conftest.err
34390 rm -f conftest.er1
34391 cat conftest.err >&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); } && {
34394 test -z "$ac_c_werror_flag" ||
34395 test ! -s conftest.err
34396 } && test -s conftest$ac_exeext &&
34397 $as_test_x conftest$ac_exeext; then
34398
34399 { echo "$as_me:$LINENO: result: found in default search path" >&5
34400 echo "${ECHO_T}found in default search path" >&6; }
34401 COMPILED_X_PROGRAM=1
34402
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407
34408 { echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6; }
34410 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34411 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34412 { (exit 1); exit 1; }; }
34413
34414
34415 fi
34416
34417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34418 conftest$ac_exeext conftest.$ac_ext
34419
34420 CFLAGS=$save_CFLAGS
34421 LIBS="$save_LIBS"
34422 fi
34423
34424 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34425 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34426 libp_link=""
34427 libsm_ice_link=""
34428 libs_found=0
34429 for libp in "" " -lXp"; do
34430 if test "$libs_found" = 0; then
34431 for libsm_ice in "" " -lSM -lICE"; do
34432 if test "$libs_found" = 0; then
34433 save_LIBS="$LIBS"
34434 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34435 save_CFLAGS=$CFLAGS
34436 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34437
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444
34445 #include <Xm/Xm.h>
34446 #include <Xm/List.h>
34447
34448 int
34449 main ()
34450 {
34451
34452 XmString string = NULL;
34453 Widget w = NULL;
34454 int position = 0;
34455 XmListAddItem(w, string, position);
34456
34457 ;
34458 return 0;
34459 }
34460 _ACEOF
34461 rm -f conftest.$ac_objext conftest$ac_exeext
34462 if { (ac_try="$ac_link"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34466 esac
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_link") 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest$ac_exeext &&
34478 $as_test_x conftest$ac_exeext; then
34479
34480 libp_link="$libp"
34481 libsm_ice_link="$libsm_ice"
34482 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34483 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34484 libs_found=1
34485
34486 else
34487 echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.$ac_ext >&5
34489
34490
34491
34492 fi
34493
34494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34495 conftest$ac_exeext conftest.$ac_ext
34496
34497 LIBS="$save_LIBS"
34498 CFLAGS=$save_CFLAGS
34499 fi
34500 done
34501 fi
34502 done
34503
34504 if test "$libs_found" = 0; then
34505 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34506 echo "${ECHO_T}can't find the right libraries" >&6; }
34507 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34508 echo "$as_me: error: can't link a simple motif program" >&2;}
34509 { (exit 1); exit 1; }; }
34510 fi
34511
34512 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34513 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34514 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517 ac_check_lib_save_LIBS=$LIBS
34518 LIBS="-lSgm $LIBS"
34519 cat >conftest.$ac_ext <<_ACEOF
34520 /* confdefs.h. */
34521 _ACEOF
34522 cat confdefs.h >>conftest.$ac_ext
34523 cat >>conftest.$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34525
34526 /* Override any GCC internal prototype to avoid an error.
34527 Use char because int might match the return type of a GCC
34528 builtin and then its argument prototype would still apply. */
34529 #ifdef __cplusplus
34530 extern "C"
34531 #endif
34532 char SgCreateList ();
34533 int
34534 main ()
34535 {
34536 return SgCreateList ();
34537 ;
34538 return 0;
34539 }
34540 _ACEOF
34541 rm -f conftest.$ac_objext conftest$ac_exeext
34542 if { (ac_try="$ac_link"
34543 case "(($ac_try" in
34544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34545 *) ac_try_echo=$ac_try;;
34546 esac
34547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34548 (eval "$ac_link") 2>conftest.er1
34549 ac_status=$?
34550 grep -v '^ *+' conftest.er1 >conftest.err
34551 rm -f conftest.er1
34552 cat conftest.err >&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } && {
34555 test -z "$ac_c_werror_flag" ||
34556 test ! -s conftest.err
34557 } && test -s conftest$ac_exeext &&
34558 $as_test_x conftest$ac_exeext; then
34559 ac_cv_lib_Sgm_SgCreateList=yes
34560 else
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34563
34564 ac_cv_lib_Sgm_SgCreateList=no
34565 fi
34566
34567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34568 conftest$ac_exeext conftest.$ac_ext
34569 LIBS=$ac_check_lib_save_LIBS
34570 fi
34571 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34572 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34573 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34574 libsgm_link=" -lSgm"
34575 fi
34576
34577
34578 save_CFLAGS=$CFLAGS
34579 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34580
34581 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34582 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34583 if test "${wx_cv_lib_motif2+set}" = set; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34585 else
34586 cat >conftest.$ac_ext <<_ACEOF
34587 /* confdefs.h. */
34588 _ACEOF
34589 cat confdefs.h >>conftest.$ac_ext
34590 cat >>conftest.$ac_ext <<_ACEOF
34591 /* end confdefs.h. */
34592
34593 #include <Xm/Xm.h>
34594
34595 int
34596 main ()
34597 {
34598
34599 #if XmVersion < 2000
34600 Not Motif 2
34601 #endif
34602
34603 ;
34604 return 0;
34605 }
34606 _ACEOF
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34611 *) ac_try_echo=$ac_try;;
34612 esac
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34615 ac_status=$?
34616 grep -v '^ *+' conftest.er1 >conftest.err
34617 rm -f conftest.er1
34618 cat conftest.err >&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.$ac_objext; then
34624 wx_cv_lib_motif2="yes"
34625 else
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.$ac_ext >&5
34628
34629 wx_cv_lib_motif2="no"
34630 fi
34631
34632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34633 fi
34634 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34635 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34636 if test "$wx_cv_lib_motif2" = "yes"; then
34637 cat >>confdefs.h <<\_ACEOF
34638 #define __WXMOTIF20__ 1
34639 _ACEOF
34640
34641 else
34642 cat >>confdefs.h <<\_ACEOF
34643 #define __WXMOTIF20__ 0
34644 _ACEOF
34645
34646 fi
34647
34648 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34649 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34650 if test "${wx_cv_lib_lesstif+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659
34660 #include <Xm/Xm.h>
34661
34662 int
34663 main ()
34664 {
34665
34666 #if !defined(LesstifVersion) || LesstifVersion <= 0
34667 Not Lesstif
34668 #endif
34669
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (ac_try="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34679 esac
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34682 ac_status=$?
34683 grep -v '^ *+' conftest.er1 >conftest.err
34684 rm -f conftest.er1
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 wx_cv_lib_lesstif="yes"
34692 else
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34695
34696 wx_cv_lib_lesstif="no"
34697 fi
34698
34699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34700
34701 fi
34702 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34703 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34704 if test "$wx_cv_lib_lesstif" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define __WXLESSTIF__ 1
34707 _ACEOF
34708
34709 else
34710 cat >>confdefs.h <<\_ACEOF
34711 #define __WXLESSTIF__ 0
34712 _ACEOF
34713
34714 fi
34715
34716 CFLAGS=$save_CFLAGS
34717
34718 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34719 TOOLKIT=MOTIF
34720 GUIDIST=MOTIF_DIST
34721 fi
34722
34723 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34724 if test "$wxUSE_LIBXPM" = "sys"; then
34725 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34726 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34727
34728 ac_find_libraries=
34729 for ac_dir in $SEARCH_LIB;
34730 do
34731 for ac_extension in a so sl dylib dll.a; do
34732 if test -f "$ac_dir/libXpm.$ac_extension"; then
34733 ac_find_libraries=$ac_dir
34734 break 2
34735 fi
34736 done
34737 done
34738
34739 if test "$ac_find_libraries" != "" ; then
34740
34741 if test "$ac_find_libraries" = "default location"; then
34742 ac_path_to_link=""
34743 else
34744 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34745 result=$?
34746 if test $result = 0; then
34747 ac_path_to_link=""
34748 else
34749 ac_path_to_link=" -L$ac_find_libraries"
34750 fi
34751 fi
34752
34753 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34754 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34755 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34756
34757 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34758 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34759 if test "${wx_cv_x11_xpm_h+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34761 else
34762
34763 save_CFLAGS=$CFLAGS
34764 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34765
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h. */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34772
34773 #include <X11/xpm.h>
34774
34775 int
34776 main ()
34777 {
34778
34779 int version;
34780 version = XpmLibraryVersion();
34781
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 rm -f conftest.$ac_objext
34787 if { (ac_try="$ac_compile"
34788 case "(($ac_try" in
34789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34790 *) ac_try_echo=$ac_try;;
34791 esac
34792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34793 (eval "$ac_compile") 2>conftest.er1
34794 ac_status=$?
34795 grep -v '^ *+' conftest.er1 >conftest.err
34796 rm -f conftest.er1
34797 cat conftest.err >&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } && {
34800 test -z "$ac_c_werror_flag" ||
34801 test ! -s conftest.err
34802 } && test -s conftest.$ac_objext; then
34803 wx_cv_x11_xpm_h=yes
34804 else
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.$ac_ext >&5
34807
34808 wx_cv_x11_xpm_h=no
34809
34810 fi
34811
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813
34814 CFLAGS=$save_CFLAGS
34815
34816
34817 fi
34818 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34819 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34820
34821 if test $wx_cv_x11_xpm_h = "yes"; then
34822 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34823 cat >>confdefs.h <<\_ACEOF
34824 #define wxHAVE_LIB_XPM 1
34825 _ACEOF
34826
34827 else
34828 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34829 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34830 fi
34831 fi
34832
34833 fi
34834
34835 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34836 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34837 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34838 echo $ECHO_N "(cached) $ECHO_C" >&6
34839 else
34840 ac_check_lib_save_LIBS=$LIBS
34841 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34842 cat >conftest.$ac_ext <<_ACEOF
34843 /* confdefs.h. */
34844 _ACEOF
34845 cat confdefs.h >>conftest.$ac_ext
34846 cat >>conftest.$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34848
34849 /* Override any GCC internal prototype to avoid an error.
34850 Use char because int might match the return type of a GCC
34851 builtin and then its argument prototype would still apply. */
34852 #ifdef __cplusplus
34853 extern "C"
34854 #endif
34855 char XShapeQueryExtension ();
34856 int
34857 main ()
34858 {
34859 return XShapeQueryExtension ();
34860 ;
34861 return 0;
34862 }
34863 _ACEOF
34864 rm -f conftest.$ac_objext conftest$ac_exeext
34865 if { (ac_try="$ac_link"
34866 case "(($ac_try" in
34867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34868 *) ac_try_echo=$ac_try;;
34869 esac
34870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34871 (eval "$ac_link") 2>conftest.er1
34872 ac_status=$?
34873 grep -v '^ *+' conftest.er1 >conftest.err
34874 rm -f conftest.er1
34875 cat conftest.err >&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); } && {
34878 test -z "$ac_c_werror_flag" ||
34879 test ! -s conftest.err
34880 } && test -s conftest$ac_exeext &&
34881 $as_test_x conftest$ac_exeext; then
34882 ac_cv_lib_Xext_XShapeQueryExtension=yes
34883 else
34884 echo "$as_me: failed program was:" >&5
34885 sed 's/^/| /' conftest.$ac_ext >&5
34886
34887 ac_cv_lib_Xext_XShapeQueryExtension=no
34888 fi
34889
34890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34891 conftest$ac_exeext conftest.$ac_ext
34892 LIBS=$ac_check_lib_save_LIBS
34893 fi
34894 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34895 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34896 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34897
34898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34899 wxHAVE_XEXT_LIB=1
34900
34901 fi
34902
34903
34904 if test "$wxHAVE_XEXT_LIB" = 1; then
34905 save_CFLAGS="$CFLAGS"
34906 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34907
34908 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34909 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34910 cat >conftest.$ac_ext <<_ACEOF
34911 /* confdefs.h. */
34912 _ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34916
34917 #include <X11/Xlib.h>
34918 #include <X11/extensions/shape.h>
34919
34920 int
34921 main ()
34922 {
34923
34924 int dummy1, dummy2;
34925 XShapeQueryExtension((Display*)NULL,
34926 (int*)NULL, (int*)NULL);
34927
34928 ;
34929 return 0;
34930 }
34931 _ACEOF
34932 rm -f conftest.$ac_objext
34933 if { (ac_try="$ac_compile"
34934 case "(($ac_try" in
34935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34937 esac
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_compile") 2>conftest.er1
34940 ac_status=$?
34941 grep -v '^ *+' conftest.er1 >conftest.err
34942 rm -f conftest.er1
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest.$ac_objext; then
34949
34950 cat >>confdefs.h <<\_ACEOF
34951 #define HAVE_XSHAPE 1
34952 _ACEOF
34953
34954 { echo "$as_me:$LINENO: result: found" >&5
34955 echo "${ECHO_T}found" >&6; }
34956
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961
34962 { echo "$as_me:$LINENO: result: not found" >&5
34963 echo "${ECHO_T}not found" >&6; }
34964
34965 fi
34966
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968 CFLAGS="$save_CFLAGS"
34969
34970 fi
34971 fi
34972
34973 if test "$wxUSE_MAC" = 1; then
34974 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34975 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34976 if test "$GCC" = yes; then
34977 { echo "$as_me:$LINENO: result: gcc" >&5
34978 echo "${ECHO_T}gcc" >&6; }
34979 CPPFLAGS_PASCAL="-fpascal-strings"
34980 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34981 { echo "$as_me:$LINENO: result: xlc" >&5
34982 echo "${ECHO_T}xlc" >&6; }
34983 CPPFLAGS_PASCAL="-qmacpstr"
34984 else
34985 { echo "$as_me:$LINENO: result: none" >&5
34986 echo "${ECHO_T}none" >&6; }
34987 fi
34988
34989 if test "x$wxUSE_UNIX" = "xyes"; then
34990 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34991 else
34992 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34993 fi
34994
34995 TOOLKIT=MAC
34996 GUIDIST=MACX_DIST
34997 WXBASEPORT="_carbon"
34998 fi
34999
35000 if test "$wxUSE_COCOA" = 1; then
35001 TOOLKIT=COCOA
35002 GUIDIST=COCOA_DIST
35003 fi
35004
35005 if test "$wxUSE_PM" = 1; then
35006 TOOLKIT=PM
35007 GUIDIST=PM_DIST
35008 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35009 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35010 if test "${wx_cv_spbcdata+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35012 else
35013
35014 cat >conftest.$ac_ext <<_ACEOF
35015 /* confdefs.h. */
35016 _ACEOF
35017 cat confdefs.h >>conftest.$ac_ext
35018 cat >>conftest.$ac_ext <<_ACEOF
35019 /* end confdefs.h. */
35020
35021 #define INCL_PM
35022 #include <os2.h>
35023
35024 int
35025 main ()
35026 {
35027
35028 SPBCDATA test;
35029
35030 ;
35031 return 0;
35032 }
35033 _ACEOF
35034 rm -f conftest.$ac_objext
35035 if { (ac_try="$ac_compile"
35036 case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35038 *) ac_try_echo=$ac_try;;
35039 esac
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_compile") 2>conftest.er1
35042 ac_status=$?
35043 grep -v '^ *+' conftest.er1 >conftest.err
35044 rm -f conftest.er1
35045 cat conftest.err >&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_c_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest.$ac_objext; then
35051 wx_cv_spbcdata=yes
35052 else
35053 echo "$as_me: failed program was:" >&5
35054 sed 's/^/| /' conftest.$ac_ext >&5
35055
35056 wx_cv_spbcdata=no
35057
35058 fi
35059
35060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35061
35062
35063 fi
35064 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35065 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35066
35067 if test $wx_cv_spbcdata = "yes"; then
35068 cat >>confdefs.h <<\_ACEOF
35069 #define HAVE_SPBCDATA 1
35070 _ACEOF
35071
35072 fi
35073 fi
35074
35075 if test "$TOOLKIT" = "PM" ; then
35076 TOOLKIT_DIR="os2"
35077 else
35078 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
35079 fi
35080
35081 if test "$wxUSE_UNIVERSAL" = "yes"; then
35082 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35083 WIDGET_SET=univ
35084 fi
35085
35086 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35087 DISTDIR="wx\$(TOOLKIT)"
35088 else
35089 USE_GUI=0
35090
35091 TOOLKIT_DIR="base"
35092
35093 if test "$USE_WIN32" = 1 ; then
35094 TOOLKIT="MSW"
35095 fi
35096
35097 GUIDIST="BASE_DIST"
35098 DISTDIR="wxBase"
35099 fi
35100
35101
35102
35103 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35104 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35105 wxUSE_UNICODE_UTF8=yes
35106 elif test "$USE_OS2" = 1 ; then
35107 wxUSE_UNICODE_UTF8=yes
35108 else
35109 wxUSE_UNICODE_UTF8=no
35110 fi
35111 fi
35112
35113
35114 if test "$wxUSE_GUI" = "yes"; then
35115 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35116
35117 for ac_header in X11/Xlib.h
35118 do
35119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35120 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35123 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 else
35125 cat >conftest.$ac_ext <<_ACEOF
35126 /* confdefs.h. */
35127 _ACEOF
35128 cat confdefs.h >>conftest.$ac_ext
35129 cat >>conftest.$ac_ext <<_ACEOF
35130 /* end confdefs.h. */
35131
35132
35133 #include <$ac_header>
35134 _ACEOF
35135 rm -f conftest.$ac_objext
35136 if { (ac_try="$ac_compile"
35137 case "(($ac_try" in
35138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35139 *) ac_try_echo=$ac_try;;
35140 esac
35141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35142 (eval "$ac_compile") 2>conftest.er1
35143 ac_status=$?
35144 grep -v '^ *+' conftest.er1 >conftest.err
35145 rm -f conftest.er1
35146 cat conftest.err >&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } && {
35149 test -z "$ac_c_werror_flag" ||
35150 test ! -s conftest.err
35151 } && test -s conftest.$ac_objext; then
35152 eval "$as_ac_Header=yes"
35153 else
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.$ac_ext >&5
35156
35157 eval "$as_ac_Header=no"
35158 fi
35159
35160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161 fi
35162 ac_res=`eval echo '${'$as_ac_Header'}'`
35163 { echo "$as_me:$LINENO: result: $ac_res" >&5
35164 echo "${ECHO_T}$ac_res" >&6; }
35165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35166 cat >>confdefs.h <<_ACEOF
35167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35168 _ACEOF
35169
35170 fi
35171
35172 done
35173
35174
35175 for ac_header in X11/XKBlib.h
35176 do
35177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189
35190 #if HAVE_X11_XLIB_H
35191 #include <X11/Xlib.h>
35192 #endif
35193
35194
35195 #include <$ac_header>
35196 _ACEOF
35197 rm -f conftest.$ac_objext
35198 if { (ac_try="$ac_compile"
35199 case "(($ac_try" in
35200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35201 *) ac_try_echo=$ac_try;;
35202 esac
35203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35204 (eval "$ac_compile") 2>conftest.er1
35205 ac_status=$?
35206 grep -v '^ *+' conftest.er1 >conftest.err
35207 rm -f conftest.er1
35208 cat conftest.err >&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } && {
35211 test -z "$ac_c_werror_flag" ||
35212 test ! -s conftest.err
35213 } && test -s conftest.$ac_objext; then
35214 eval "$as_ac_Header=yes"
35215 else
35216 echo "$as_me: failed program was:" >&5
35217 sed 's/^/| /' conftest.$ac_ext >&5
35218
35219 eval "$as_ac_Header=no"
35220 fi
35221
35222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35223 fi
35224 ac_res=`eval echo '${'$as_ac_Header'}'`
35225 { echo "$as_me:$LINENO: result: $ac_res" >&5
35226 echo "${ECHO_T}$ac_res" >&6; }
35227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35228 cat >>confdefs.h <<_ACEOF
35229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35230 _ACEOF
35231
35232 fi
35233
35234 done
35235
35236 fi
35237 fi
35238
35239
35240
35241 if test "$wxUSE_DISPLAY" = "yes"; then
35242 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35243 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35244 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35245
35246 ac_find_libraries=
35247 for ac_dir in $SEARCH_LIB;
35248 do
35249 for ac_extension in a so sl dylib dll.a; do
35250 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35251 ac_find_libraries=$ac_dir
35252 break 2
35253 fi
35254 done
35255 done
35256
35257 if test "$ac_find_libraries" != "" ; then
35258
35259 if test "$ac_find_libraries" = "default location"; then
35260 ac_path_to_link=""
35261 else
35262 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35263 result=$?
35264 if test $result = 0; then
35265 ac_path_to_link=""
35266 else
35267 ac_path_to_link=" -L$ac_find_libraries"
35268 fi
35269 fi
35270
35271 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35272 LDFLAGS="$LDFLAGS $ac_path_to_link"
35273 fi
35274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35275 { echo "$as_me:$LINENO: result: yes" >&5
35276 echo "${ECHO_T}yes" >&6; }
35277
35278 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35279 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35280
35281 ac_find_libraries=
35282 for ac_dir in $SEARCH_LIB;
35283 do
35284 for ac_extension in a so sl dylib dll.a; do
35285 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35286 ac_find_libraries=$ac_dir
35287 break 2
35288 fi
35289 done
35290 done
35291
35292 if test "$ac_find_libraries" != "" ; then
35293 { echo "$as_me:$LINENO: result: yes" >&5
35294 echo "${ECHO_T}yes" >&6; }
35295
35296 for ac_header in X11/extensions/xf86vmode.h
35297 do
35298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 else
35304 cat >conftest.$ac_ext <<_ACEOF
35305 /* confdefs.h. */
35306 _ACEOF
35307 cat confdefs.h >>conftest.$ac_ext
35308 cat >>conftest.$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35310
35311 #if HAVE_X11_XLIB_H
35312 #include <X11/Xlib.h>
35313 #endif
35314
35315
35316 #include <$ac_header>
35317 _ACEOF
35318 rm -f conftest.$ac_objext
35319 if { (ac_try="$ac_compile"
35320 case "(($ac_try" in
35321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35322 *) ac_try_echo=$ac_try;;
35323 esac
35324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35325 (eval "$ac_compile") 2>conftest.er1
35326 ac_status=$?
35327 grep -v '^ *+' conftest.er1 >conftest.err
35328 rm -f conftest.er1
35329 cat conftest.err >&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); } && {
35332 test -z "$ac_c_werror_flag" ||
35333 test ! -s conftest.err
35334 } && test -s conftest.$ac_objext; then
35335 eval "$as_ac_Header=yes"
35336 else
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.$ac_ext >&5
35339
35340 eval "$as_ac_Header=no"
35341 fi
35342
35343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35344 fi
35345 ac_res=`eval echo '${'$as_ac_Header'}'`
35346 { echo "$as_me:$LINENO: result: $ac_res" >&5
35347 echo "${ECHO_T}$ac_res" >&6; }
35348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35349 cat >>confdefs.h <<_ACEOF
35350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35351 _ACEOF
35352
35353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35354
35355 fi
35356
35357 done
35358
35359 else
35360 { echo "$as_me:$LINENO: result: no" >&5
35361 echo "${ECHO_T}no" >&6; }
35362 fi
35363
35364 else
35365 { echo "$as_me:$LINENO: result: no" >&5
35366 echo "${ECHO_T}no" >&6; }
35367 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35368 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35369 wxUSE_DISPLAY="no"
35370 fi
35371 elif test "$wxUSE_MSW" = 1; then
35372 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35373 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35374 if test "${ac_cv_header_ddraw_h+set}" = set; then
35375 echo $ECHO_N "(cached) $ECHO_C" >&6
35376 else
35377 cat >conftest.$ac_ext <<_ACEOF
35378 /* confdefs.h. */
35379 _ACEOF
35380 cat confdefs.h >>conftest.$ac_ext
35381 cat >>conftest.$ac_ext <<_ACEOF
35382 /* end confdefs.h. */
35383 #include <windows.h>
35384
35385 #include <ddraw.h>
35386 _ACEOF
35387 rm -f conftest.$ac_objext
35388 if { (ac_try="$ac_compile"
35389 case "(($ac_try" in
35390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35391 *) ac_try_echo=$ac_try;;
35392 esac
35393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35394 (eval "$ac_compile") 2>conftest.er1
35395 ac_status=$?
35396 grep -v '^ *+' conftest.er1 >conftest.err
35397 rm -f conftest.er1
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } && {
35401 test -z "$ac_c_werror_flag" ||
35402 test ! -s conftest.err
35403 } && test -s conftest.$ac_objext; then
35404 ac_cv_header_ddraw_h=yes
35405 else
35406 echo "$as_me: failed program was:" >&5
35407 sed 's/^/| /' conftest.$ac_ext >&5
35408
35409 ac_cv_header_ddraw_h=no
35410 fi
35411
35412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35413 fi
35414 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35415 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35416
35417
35418 fi
35419 fi
35420
35421 if test "$wxUSE_DETECT_SM" = "yes"; then
35422 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35423 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35424 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35425
35426 ac_find_libraries=
35427 for ac_dir in $SEARCH_LIB;
35428 do
35429 for ac_extension in a so sl dylib dll.a; do
35430 if test -f "$ac_dir/libSM.$ac_extension"; then
35431 ac_find_libraries=$ac_dir
35432 break 2
35433 fi
35434 done
35435 done
35436
35437 if test "$ac_find_libraries" != "" ; then
35438
35439 if test "$ac_find_libraries" = "default location"; then
35440 ac_path_to_link=""
35441 else
35442 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35443 result=$?
35444 if test $result = 0; then
35445 ac_path_to_link=""
35446 else
35447 ac_path_to_link=" -L$ac_find_libraries"
35448 fi
35449 fi
35450
35451 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35452 LDFLAGS="$LDFLAGS $ac_path_to_link"
35453 fi
35454 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35455 { echo "$as_me:$LINENO: result: yes" >&5
35456 echo "${ECHO_T}yes" >&6; }
35457 else
35458 { echo "$as_me:$LINENO: result: no" >&5
35459 echo "${ECHO_T}no" >&6; }
35460 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35461 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35462 wxUSE_DETECT_SM="no"
35463 fi
35464 else
35465 wxUSE_DETECT_SM="no"
35466 fi
35467 fi
35468
35469
35470
35471 USE_OPENGL=0
35472 if test "$wxUSE_OPENGL" = "yes"; then
35473 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35474 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35475 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35476 wxUSE_OPENGL="no"
35477 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35478 OPENGL_LIBS="-framework OpenGL -framework AGL"
35479 elif test "$wxUSE_MSW" = 1; then
35480 OPENGL_LIBS="-lopengl32 -lglu32"
35481 else
35482 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35483 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35484
35485 ac_find_includes=
35486 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35487 do
35488 if test -f "$ac_dir/GL/gl.h"; then
35489 ac_find_includes=$ac_dir
35490 break
35491 fi
35492 done
35493
35494 if test "$ac_find_includes" != "" ; then
35495 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35496 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35497
35498 if test "x$ac_find_includes" = "x/usr/include"; then
35499 ac_path_to_include=""
35500 else
35501 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35502 result=$?
35503 if test $result = 0; then
35504 ac_path_to_include=""
35505 else
35506 ac_path_to_include=" -I$ac_find_includes"
35507 fi
35508 fi
35509
35510 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35511 else
35512 { echo "$as_me:$LINENO: result: not found" >&5
35513 echo "${ECHO_T}not found" >&6; }
35514 fi
35515
35516 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35517 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35518 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 else
35521 cat >conftest.$ac_ext <<_ACEOF
35522 /* confdefs.h. */
35523 _ACEOF
35524 cat confdefs.h >>conftest.$ac_ext
35525 cat >>conftest.$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35527
35528
35529 #include <GL/gl.h>
35530 _ACEOF
35531 rm -f conftest.$ac_objext
35532 if { (ac_try="$ac_compile"
35533 case "(($ac_try" in
35534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35535 *) ac_try_echo=$ac_try;;
35536 esac
35537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35538 (eval "$ac_compile") 2>conftest.er1
35539 ac_status=$?
35540 grep -v '^ *+' conftest.er1 >conftest.err
35541 rm -f conftest.er1
35542 cat conftest.err >&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } && {
35545 test -z "$ac_c_werror_flag" ||
35546 test ! -s conftest.err
35547 } && test -s conftest.$ac_objext; then
35548 ac_cv_header_GL_gl_h=yes
35549 else
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.$ac_ext >&5
35552
35553 ac_cv_header_GL_gl_h=no
35554 fi
35555
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35557 fi
35558 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35559 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35560 if test $ac_cv_header_GL_gl_h = yes; then
35561
35562 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35563 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35564 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567 cat >conftest.$ac_ext <<_ACEOF
35568 /* confdefs.h. */
35569 _ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573
35574
35575 #include <GL/glu.h>
35576 _ACEOF
35577 rm -f conftest.$ac_objext
35578 if { (ac_try="$ac_compile"
35579 case "(($ac_try" in
35580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35581 *) ac_try_echo=$ac_try;;
35582 esac
35583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35584 (eval "$ac_compile") 2>conftest.er1
35585 ac_status=$?
35586 grep -v '^ *+' conftest.er1 >conftest.err
35587 rm -f conftest.er1
35588 cat conftest.err >&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); } && {
35591 test -z "$ac_c_werror_flag" ||
35592 test ! -s conftest.err
35593 } && test -s conftest.$ac_objext; then
35594 ac_cv_header_GL_glu_h=yes
35595 else
35596 echo "$as_me: failed program was:" >&5
35597 sed 's/^/| /' conftest.$ac_ext >&5
35598
35599 ac_cv_header_GL_glu_h=no
35600 fi
35601
35602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35603 fi
35604 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35605 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35606 if test $ac_cv_header_GL_glu_h = yes; then
35607
35608 found_gl=0
35609
35610 { echo "$as_me:$LINENO: checking for -lGL" >&5
35611 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35612
35613 ac_find_libraries=
35614 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35615 do
35616 for ac_extension in a so sl dylib dll.a; do
35617 if test -f "$ac_dir/libGL.$ac_extension"; then
35618 ac_find_libraries=$ac_dir
35619 break 2
35620 fi
35621 done
35622 done
35623
35624 if test "$ac_find_libraries" != "" ; then
35625 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35626 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35627
35628
35629 if test "$ac_find_libraries" = "default location"; then
35630 ac_path_to_link=""
35631 else
35632 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35633 result=$?
35634 if test $result = 0; then
35635 ac_path_to_link=""
35636 else
35637 ac_path_to_link=" -L$ac_find_libraries"
35638 fi
35639 fi
35640
35641 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35642 LDFLAGS_GL="$ac_path_to_link"
35643 fi
35644
35645 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35646 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35647
35648 ac_find_libraries=
35649 for ac_dir in $SEARCH_LIB;
35650 do
35651 for ac_extension in a so sl dylib dll.a; do
35652 if test -f "$ac_dir/libGLU.$ac_extension"; then
35653 ac_find_libraries=$ac_dir
35654 break 2
35655 fi
35656 done
35657 done
35658
35659 if test "$ac_find_libraries" != "" ; then
35660
35661 if test "$ac_find_libraries" = "default location"; then
35662 ac_path_to_link=""
35663 else
35664 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35665 result=$?
35666 if test $result = 0; then
35667 ac_path_to_link=""
35668 else
35669 ac_path_to_link=" -L$ac_find_libraries"
35670 fi
35671 fi
35672
35673 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35674 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35675 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35676 fi
35677
35678 found_gl=1
35679 OPENGL_LIBS="-lGL -lGLU"
35680 { echo "$as_me:$LINENO: result: yes" >&5
35681 echo "${ECHO_T}yes" >&6; }
35682 else
35683 { echo "$as_me:$LINENO: result: no" >&5
35684 echo "${ECHO_T}no" >&6; }
35685 fi
35686 else
35687 { echo "$as_me:$LINENO: result: no" >&5
35688 echo "${ECHO_T}no" >&6; }
35689 fi
35690
35691 if test "$found_gl" != 1; then
35692 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35693 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35694
35695 ac_find_libraries=
35696 for ac_dir in $SEARCH_LIB;
35697 do
35698 for ac_extension in a so sl dylib dll.a; do
35699 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35700 ac_find_libraries=$ac_dir
35701 break 2
35702 fi
35703 done
35704 done
35705
35706 if test "$ac_find_libraries" != "" ; then
35707
35708 if test "$ac_find_libraries" = "default location"; then
35709 ac_path_to_link=""
35710 else
35711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35712 result=$?
35713 if test $result = 0; then
35714 ac_path_to_link=""
35715 else
35716 ac_path_to_link=" -L$ac_find_libraries"
35717 fi
35718 fi
35719
35720 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35721 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35722 { echo "$as_me:$LINENO: result: yes" >&5
35723 echo "${ECHO_T}yes" >&6; }
35724 else
35725 { echo "$as_me:$LINENO: result: no" >&5
35726 echo "${ECHO_T}no" >&6; }
35727 fi
35728 fi
35729
35730 fi
35731
35732
35733
35734 fi
35735
35736
35737
35738 if test "x$OPENGL_LIBS" = "x"; then
35739 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35740 echo "$as_me: error: OpenGL libraries not available" >&2;}
35741 { (exit 1); exit 1; }; }
35742 fi
35743 fi
35744
35745 if test "$wxUSE_OPENGL" = "yes"; then
35746 USE_OPENGL=1
35747 cat >>confdefs.h <<\_ACEOF
35748 #define wxUSE_OPENGL 1
35749 _ACEOF
35750
35751 cat >>confdefs.h <<\_ACEOF
35752 #define wxUSE_GLCANVAS 1
35753 _ACEOF
35754
35755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35756 fi
35757 fi
35758
35759
35760 if test -n "$TOOLKIT" ; then
35761 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35762 fi
35763
35764
35765
35766 if test "$wxUSE_SHARED" = "yes"; then
35767 case "${host}" in
35768 *-pc-msdosdjgpp )
35769 wxUSE_SHARED=no
35770 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35771 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35772 ;;
35773 esac
35774 fi
35775
35776 if test "$wxUSE_SHARED" = "yes"; then
35777
35778
35779 case "${host}" in
35780 *-*-cygwin* | *-*-mingw* )
35781 wx_cv_version_script=no
35782 ;;
35783
35784 *)
35785 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35786 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35787 if test "${wx_cv_version_script+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 else
35790
35791 echo "VER_1 { *; };" >conftest.sym
35792 echo "int main() { return 0; }" >conftest.cpp
35793
35794 if { ac_try='
35795 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35796 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } ; then
35802 if test -s conftest.stderr ; then
35803 wx_cv_version_script=no
35804 else
35805 wx_cv_version_script=yes
35806 fi
35807 else
35808 wx_cv_version_script=no
35809 fi
35810
35811 if test $wx_cv_version_script = yes
35812 then
35813 echo "struct B { virtual ~B() { } }; \
35814 struct D : public B { }; \
35815 void F() { D d; }" > conftest.cpp
35816
35817 if { ac_try='
35818 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35819 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 (eval $ac_try) 2>&5
35822 ac_status=$?
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); }; } &&
35825 { ac_try='
35826 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35827 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35829 (eval $ac_try) 2>&5
35830 ac_status=$?
35831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35832 (exit $ac_status); }; }
35833 then
35834 if { ac_try='
35835 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35836 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }
35842 then
35843 wx_cv_version_script=yes
35844 else
35845 wx_cv_version_script=no
35846 fi
35847 fi
35848 fi
35849
35850 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35851 rm -f conftest1.output conftest2.output conftest3.output
35852
35853 fi
35854 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35855 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35856
35857 if test $wx_cv_version_script = yes ; then
35858 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35859 fi
35860 ;;
35861 esac
35862
35863
35864 if test "$wxUSE_VISIBILITY" != "no"; then
35865
35866
35867 if test -n "$GCC"; then
35868 CFLAGS_VISIBILITY="-fvisibility=hidden"
35869 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35870 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35871 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35872 if test "${wx_cv_cc_visibility+set}" = set; then
35873 echo $ECHO_N "(cached) $ECHO_C" >&6
35874 else
35875
35876 wx_save_CXXFLAGS="$CXXFLAGS"
35877 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35878 ac_ext=cpp
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883
35884 cat >conftest.$ac_ext <<_ACEOF
35885 /* confdefs.h. */
35886 _ACEOF
35887 cat confdefs.h >>conftest.$ac_ext
35888 cat >>conftest.$ac_ext <<_ACEOF
35889 /* end confdefs.h. */
35890
35891 /* we need gcc >= 4.0, older versions with visibility support
35892 didn't have class visibility: */
35893 #if defined(__GNUC__) && __GNUC__ < 4
35894 error this gcc is too old;
35895 #endif
35896
35897 /* visibility only makes sense for ELF shared libs: */
35898 #if !defined(__ELF__) && !defined(__APPLE__)
35899 error this platform has no visibility;
35900 #endif
35901
35902 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35903 extern __attribute__((__visibility__("default"))) int exportedvar;
35904 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35905 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35906 class __attribute__((__visibility__("default"))) Foo {
35907 Foo() {}
35908 };
35909
35910 int
35911 main ()
35912 {
35913
35914 ;
35915 return 0;
35916 }
35917 _ACEOF
35918 rm -f conftest.$ac_objext
35919 if { (ac_try="$ac_compile"
35920 case "(($ac_try" in
35921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35922 *) ac_try_echo=$ac_try;;
35923 esac
35924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35925 (eval "$ac_compile") 2>conftest.er1
35926 ac_status=$?
35927 grep -v '^ *+' conftest.er1 >conftest.err
35928 rm -f conftest.er1
35929 cat conftest.err >&5
35930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931 (exit $ac_status); } && {
35932 test -z "$ac_cxx_werror_flag" ||
35933 test ! -s conftest.err
35934 } && test -s conftest.$ac_objext; then
35935 wx_cv_cc_visibility=yes
35936 else
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35939
35940 wx_cv_cc_visibility=no
35941 fi
35942
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35944 ac_ext=c
35945 ac_cpp='$CPP $CPPFLAGS'
35946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35949
35950 CXXFLAGS="$wx_save_CXXFLAGS"
35951 fi
35952
35953 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35954 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35955 if test $wx_cv_cc_visibility = yes; then
35956 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35957 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35958 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35960 else
35961
35962 wx_save_CXXFLAGS="$CXXFLAGS"
35963 wx_save_LDFLAGS="$LDFLAGS"
35964 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35965 LDFLAGS="$LDFLAGS -shared -fPIC"
35966 ac_ext=cpp
35967 ac_cpp='$CXXCPP $CPPFLAGS'
35968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35971
35972 cat >conftest.$ac_ext <<_ACEOF
35973 /* confdefs.h. */
35974 _ACEOF
35975 cat confdefs.h >>conftest.$ac_ext
35976 cat >>conftest.$ac_ext <<_ACEOF
35977 /* end confdefs.h. */
35978
35979 #include <string>
35980
35981 int
35982 main ()
35983 {
35984
35985 std::string s("hello");
35986 return s.length();
35987
35988 ;
35989 return 0;
35990 }
35991 _ACEOF
35992 rm -f conftest.$ac_objext conftest$ac_exeext
35993 if { (ac_try="$ac_link"
35994 case "(($ac_try" in
35995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35996 *) ac_try_echo=$ac_try;;
35997 esac
35998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35999 (eval "$ac_link") 2>conftest.er1
36000 ac_status=$?
36001 grep -v '^ *+' conftest.er1 >conftest.err
36002 rm -f conftest.er1
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } && {
36006 test -z "$ac_cxx_werror_flag" ||
36007 test ! -s conftest.err
36008 } && test -s conftest$ac_exeext &&
36009 $as_test_x conftest$ac_exeext; then
36010 wx_cv_cc_broken_libstdcxx_visibility=no
36011 else
36012 echo "$as_me: failed program was:" >&5
36013 sed 's/^/| /' conftest.$ac_ext >&5
36014
36015 wx_cv_cc_broken_libstdcxx_visibility=yes
36016 fi
36017
36018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36019 conftest$ac_exeext conftest.$ac_ext
36020 ac_ext=c
36021 ac_cpp='$CPP $CPPFLAGS'
36022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36025
36026 CXXFLAGS="$wx_save_CXXFLAGS"
36027 LDFLAGS="$wx_save_LDFLAGS"
36028 fi
36029
36030 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36031 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36032
36033 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36034 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36035 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36036 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36038 else
36039
36040 ac_ext=cpp
36041 ac_cpp='$CXXCPP $CPPFLAGS'
36042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36045
36046 cat >conftest.$ac_ext <<_ACEOF
36047 /* confdefs.h. */
36048 _ACEOF
36049 cat confdefs.h >>conftest.$ac_ext
36050 cat >>conftest.$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36052
36053 #pragma GCC visibility push(default)
36054 #include <string>
36055 #pragma GCC visibility pop
36056
36057 int
36058 main ()
36059 {
36060
36061 std::string s("hello");
36062 return s.length();
36063
36064 ;
36065 return 0;
36066 }
36067 _ACEOF
36068 rm -f conftest.$ac_objext conftest$ac_exeext
36069 if { (ac_try="$ac_link"
36070 case "(($ac_try" in
36071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36072 *) ac_try_echo=$ac_try;;
36073 esac
36074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36075 (eval "$ac_link") 2>conftest.er1
36076 ac_status=$?
36077 grep -v '^ *+' conftest.er1 >conftest.err
36078 rm -f conftest.er1
36079 cat conftest.err >&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); } && {
36082 test -z "$ac_cxx_werror_flag" ||
36083 test ! -s conftest.err
36084 } && test -s conftest$ac_exeext &&
36085 $as_test_x conftest$ac_exeext; then
36086 wx_cv_cc_visibility_workaround=no
36087 else
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.$ac_ext >&5
36090
36091 wx_cv_cc_visibility_workaround=yes
36092 fi
36093
36094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36095 conftest$ac_exeext conftest.$ac_ext
36096 ac_ext=c
36097 ac_cpp='$CPP $CPPFLAGS'
36098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36101
36102
36103 fi
36104
36105 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36106 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36107
36108 if test $wx_cv_cc_visibility_workaround = no; then
36109 wx_cv_cc_visibility=no
36110 fi
36111 fi
36112 fi
36113
36114 if test $wx_cv_cc_visibility = yes; then
36115 cat >>confdefs.h <<\_ACEOF
36116 #define HAVE_VISIBILITY 1
36117 _ACEOF
36118
36119 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36120 cat >>confdefs.h <<\_ACEOF
36121 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36122 _ACEOF
36123
36124 fi
36125 else
36126 CFLAGS_VISIBILITY=""
36127 CXXFLAGS_VISIBILITY=""
36128 fi
36129
36130
36131 fi
36132
36133 fi
36134
36135 if test "x$SUNCXX" = xyes; then
36136 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36137 WXCONFIG_RPATH="-R\$libdir"
36138 else
36139 case "${host}" in
36140 *-*-linux* | *-*-gnu* )
36141 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36142 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36143 ;;
36144
36145 *-*-solaris2* )
36146
36147 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36148
36149 saveLdflags="$LDFLAGS"
36150 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36151 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36152 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36153 cat >conftest.$ac_ext <<_ACEOF
36154 /* confdefs.h. */
36155 _ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36159
36160 int
36161 main ()
36162 {
36163
36164 ;
36165 return 0;
36166 }
36167 _ACEOF
36168 rm -f conftest.$ac_objext conftest$ac_exeext
36169 if { (ac_try="$ac_link"
36170 case "(($ac_try" in
36171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36173 esac
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_link") 2>conftest.er1
36176 ac_status=$?
36177 grep -v '^ *+' conftest.er1 >conftest.err
36178 rm -f conftest.er1
36179 cat conftest.err >&5
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); } && {
36182 test -z "$ac_c_werror_flag" ||
36183 test ! -s conftest.err
36184 } && test -s conftest$ac_exeext &&
36185 $as_test_x conftest$ac_exeext; then
36186
36187 { echo "$as_me:$LINENO: result: yes" >&5
36188 echo "${ECHO_T}yes" >&6; }
36189 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36190 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36191
36192 else
36193 echo "$as_me: failed program was:" >&5
36194 sed 's/^/| /' conftest.$ac_ext >&5
36195
36196
36197 { echo "$as_me:$LINENO: result: no" >&5
36198 echo "${ECHO_T}no" >&6; }
36199 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36200 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36201 LDFLAGS="$saveLdflags -Wl,-R,/"
36202 cat >conftest.$ac_ext <<_ACEOF
36203 /* confdefs.h. */
36204 _ACEOF
36205 cat confdefs.h >>conftest.$ac_ext
36206 cat >>conftest.$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36208
36209 int
36210 main ()
36211 {
36212
36213 ;
36214 return 0;
36215 }
36216 _ACEOF
36217 rm -f conftest.$ac_objext conftest$ac_exeext
36218 if { (ac_try="$ac_link"
36219 case "(($ac_try" in
36220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36221 *) ac_try_echo=$ac_try;;
36222 esac
36223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36224 (eval "$ac_link") 2>conftest.er1
36225 ac_status=$?
36226 grep -v '^ *+' conftest.er1 >conftest.err
36227 rm -f conftest.er1
36228 cat conftest.err >&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } && {
36231 test -z "$ac_c_werror_flag" ||
36232 test ! -s conftest.err
36233 } && test -s conftest$ac_exeext &&
36234 $as_test_x conftest$ac_exeext; then
36235
36236 { echo "$as_me:$LINENO: result: yes" >&5
36237 echo "${ECHO_T}yes" >&6; }
36238 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36239 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36240
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245
36246 { echo "$as_me:$LINENO: result: no" >&5
36247 echo "${ECHO_T}no" >&6; }
36248
36249 fi
36250
36251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36252 conftest$ac_exeext conftest.$ac_ext
36253
36254 fi
36255
36256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36257 conftest$ac_exeext conftest.$ac_ext
36258 LDFLAGS="$saveLdflags"
36259 ;;
36260
36261 *-*-darwin* )
36262 install_name_tool=`which install_name_tool`
36263 if test "$install_name_tool" -a -x "$install_name_tool"; then
36264 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36265 cat <<EOF >change-install-names
36266 #!/bin/sh
36267 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36268 inst_cmd="install_name_tool "
36269 for i in \${libnames} ; do
36270 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36271 done
36272 \${inst_cmd} \${3}
36273 EOF
36274 chmod +x change-install-names
36275 fi
36276 ;;
36277
36278 *-*-cygwin* | *-*-mingw32* )
36279 ;;
36280
36281 *-*-hpux* )
36282 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36283 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36284 ;;
36285
36286 esac
36287 fi
36288
36289 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36290
36291 if test $wxUSE_RPATH = "no"; then
36292 SAMPLES_RPATH_FLAG=''
36293 SAMPLES_RPATH_POSTLINK=''
36294 WXCONFIG_RPATH=''
36295 fi
36296
36297 SHARED=1
36298
36299 else
36300
36301 config_linkage_component="-static"
36302 SHARED=0
36303
36304 fi
36305
36306
36307 UNICODE=0
36308 lib_unicode_suffix=
36309 WX_CHARTYPE="ansi"
36310 if test "$wxUSE_UNICODE" = "yes"; then
36311 lib_unicode_suffix=u
36312 WX_CHARTYPE="unicode"
36313 UNICODE=1
36314 fi
36315
36316 lib_debug_suffix=
36317 WX_DEBUGTYPE="release"
36318 DEBUG_FLAG=0
36319 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36320 lib_debug_suffix=d
36321 WX_DEBUGTYPE="debug"
36322 DEBUG_FLAG=1
36323 fi
36324
36325 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36326 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36327
36328 DEBUG_INFO=0
36329 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36330 DEBUG_INFO=1
36331 fi
36332
36333 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36334
36335 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36336
36337 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36338
36339 if test "$cross_compiling" = "yes"; then
36340 HOST_SUFFIX="-$host_alias"
36341 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36342 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36343 fi
36344
36345 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36346 if test "${TOOLKIT_DIR}" = "os2"; then
36347 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36348 else
36349 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36350 fi
36351
36352
36353
36354 if test "$wxUSE_COCOA" = 1; then
36355
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36361
36362 ac_ext=m
36363
36364 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36365 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36366 cat >conftest.$ac_ext <<_ACEOF
36367 /* confdefs.h. */
36368 _ACEOF
36369 cat confdefs.h >>conftest.$ac_ext
36370 cat >>conftest.$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 #include <AppKit/NSEvent.h>
36373 #include <CoreFoundation/CoreFoundation.h>
36374
36375 int
36376 main ()
36377 {
36378
36379 ;
36380 return 0;
36381 }
36382 _ACEOF
36383 rm -f conftest.$ac_objext
36384 if { (ac_try="$ac_compile"
36385 case "(($ac_try" in
36386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36387 *) ac_try_echo=$ac_try;;
36388 esac
36389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36390 (eval "$ac_compile") 2>conftest.er1
36391 ac_status=$?
36392 grep -v '^ *+' conftest.er1 >conftest.err
36393 rm -f conftest.er1
36394 cat conftest.err >&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } && {
36397 test -z "$ac_c_werror_flag" ||
36398 test ! -s conftest.err
36399 } && test -s conftest.$ac_objext; then
36400 { echo "$as_me:$LINENO: result: no" >&5
36401 echo "${ECHO_T}no" >&6; }
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36405
36406 { echo "$as_me:$LINENO: result: yes" >&5
36407 echo "${ECHO_T}yes" >&6; }
36408 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36409 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36410 cat >conftest.$ac_ext <<_ACEOF
36411 /* confdefs.h. */
36412 _ACEOF
36413 cat confdefs.h >>conftest.$ac_ext
36414 cat >>conftest.$ac_ext <<_ACEOF
36415 /* end confdefs.h. */
36416 #define __Point__ 1
36417 #include <AppKit/NSEvent.h>
36418 #include <CoreFoundation/CoreFoundation.h>
36419
36420 int
36421 main ()
36422 {
36423
36424 ;
36425 return 0;
36426 }
36427 _ACEOF
36428 rm -f conftest.$ac_objext
36429 if { (ac_try="$ac_compile"
36430 case "(($ac_try" in
36431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36432 *) ac_try_echo=$ac_try;;
36433 esac
36434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36435 (eval "$ac_compile") 2>conftest.er1
36436 ac_status=$?
36437 grep -v '^ *+' conftest.er1 >conftest.err
36438 rm -f conftest.er1
36439 cat conftest.err >&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } && {
36442 test -z "$ac_c_werror_flag" ||
36443 test ! -s conftest.err
36444 } && test -s conftest.$ac_objext; then
36445 { echo "$as_me:$LINENO: result: yes" >&5
36446 echo "${ECHO_T}yes" >&6; }
36447 cat >>confdefs.h <<\_ACEOF
36448 #define __Point__ 1
36449 _ACEOF
36450
36451
36452 else
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.$ac_ext >&5
36455
36456 { { echo "$as_me:$LINENO: error: no
36457 See \`config.log' for more details." >&5
36458 echo "$as_me: error: no
36459 See \`config.log' for more details." >&2;}
36460 { (exit 1); exit 1; }; }
36461
36462 fi
36463
36464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36465
36466 fi
36467
36468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36469 ac_ext=c
36470 ac_cpp='$CPP $CPPFLAGS'
36471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36474
36475 fi
36476
36477
36478 { echo "$as_me:$LINENO: checking for mode_t" >&5
36479 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36480 if test "${ac_cv_type_mode_t+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 else
36483 cat >conftest.$ac_ext <<_ACEOF
36484 /* confdefs.h. */
36485 _ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 $ac_includes_default
36490 typedef mode_t ac__type_new_;
36491 int
36492 main ()
36493 {
36494 if ((ac__type_new_ *) 0)
36495 return 0;
36496 if (sizeof (ac__type_new_))
36497 return 0;
36498 ;
36499 return 0;
36500 }
36501 _ACEOF
36502 rm -f conftest.$ac_objext
36503 if { (ac_try="$ac_compile"
36504 case "(($ac_try" in
36505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36506 *) ac_try_echo=$ac_try;;
36507 esac
36508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36509 (eval "$ac_compile") 2>conftest.er1
36510 ac_status=$?
36511 grep -v '^ *+' conftest.er1 >conftest.err
36512 rm -f conftest.er1
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } && {
36516 test -z "$ac_c_werror_flag" ||
36517 test ! -s conftest.err
36518 } && test -s conftest.$ac_objext; then
36519 ac_cv_type_mode_t=yes
36520 else
36521 echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36523
36524 ac_cv_type_mode_t=no
36525 fi
36526
36527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36528 fi
36529 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36530 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36531 if test $ac_cv_type_mode_t = yes; then
36532 :
36533 else
36534
36535 cat >>confdefs.h <<_ACEOF
36536 #define mode_t int
36537 _ACEOF
36538
36539 fi
36540
36541 { echo "$as_me:$LINENO: checking for off_t" >&5
36542 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36543 if test "${ac_cv_type_off_t+set}" = set; then
36544 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 else
36546 cat >conftest.$ac_ext <<_ACEOF
36547 /* confdefs.h. */
36548 _ACEOF
36549 cat confdefs.h >>conftest.$ac_ext
36550 cat >>conftest.$ac_ext <<_ACEOF
36551 /* end confdefs.h. */
36552 $ac_includes_default
36553 typedef off_t ac__type_new_;
36554 int
36555 main ()
36556 {
36557 if ((ac__type_new_ *) 0)
36558 return 0;
36559 if (sizeof (ac__type_new_))
36560 return 0;
36561 ;
36562 return 0;
36563 }
36564 _ACEOF
36565 rm -f conftest.$ac_objext
36566 if { (ac_try="$ac_compile"
36567 case "(($ac_try" in
36568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36569 *) ac_try_echo=$ac_try;;
36570 esac
36571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36572 (eval "$ac_compile") 2>conftest.er1
36573 ac_status=$?
36574 grep -v '^ *+' conftest.er1 >conftest.err
36575 rm -f conftest.er1
36576 cat conftest.err >&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); } && {
36579 test -z "$ac_c_werror_flag" ||
36580 test ! -s conftest.err
36581 } && test -s conftest.$ac_objext; then
36582 ac_cv_type_off_t=yes
36583 else
36584 echo "$as_me: failed program was:" >&5
36585 sed 's/^/| /' conftest.$ac_ext >&5
36586
36587 ac_cv_type_off_t=no
36588 fi
36589
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 fi
36592 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36593 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36594 if test $ac_cv_type_off_t = yes; then
36595 :
36596 else
36597
36598 cat >>confdefs.h <<_ACEOF
36599 #define off_t long int
36600 _ACEOF
36601
36602 fi
36603
36604 { echo "$as_me:$LINENO: checking for pid_t" >&5
36605 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36606 if test "${ac_cv_type_pid_t+set}" = set; then
36607 echo $ECHO_N "(cached) $ECHO_C" >&6
36608 else
36609 cat >conftest.$ac_ext <<_ACEOF
36610 /* confdefs.h. */
36611 _ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 $ac_includes_default
36616 typedef pid_t ac__type_new_;
36617 int
36618 main ()
36619 {
36620 if ((ac__type_new_ *) 0)
36621 return 0;
36622 if (sizeof (ac__type_new_))
36623 return 0;
36624 ;
36625 return 0;
36626 }
36627 _ACEOF
36628 rm -f conftest.$ac_objext
36629 if { (ac_try="$ac_compile"
36630 case "(($ac_try" in
36631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36633 esac
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_compile") 2>conftest.er1
36636 ac_status=$?
36637 grep -v '^ *+' conftest.er1 >conftest.err
36638 rm -f conftest.er1
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest.$ac_objext; then
36645 ac_cv_type_pid_t=yes
36646 else
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36649
36650 ac_cv_type_pid_t=no
36651 fi
36652
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36654 fi
36655 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36657 if test $ac_cv_type_pid_t = yes; then
36658 :
36659 else
36660
36661 cat >>confdefs.h <<_ACEOF
36662 #define pid_t int
36663 _ACEOF
36664
36665 fi
36666
36667 { echo "$as_me:$LINENO: checking for size_t" >&5
36668 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_size_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36671 else
36672 cat >conftest.$ac_ext <<_ACEOF
36673 /* confdefs.h. */
36674 _ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef size_t ac__type_new_;
36680 int
36681 main ()
36682 {
36683 if ((ac__type_new_ *) 0)
36684 return 0;
36685 if (sizeof (ac__type_new_))
36686 return 0;
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 rm -f conftest.$ac_objext
36692 if { (ac_try="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36696 esac
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } && {
36705 test -z "$ac_c_werror_flag" ||
36706 test ! -s conftest.err
36707 } && test -s conftest.$ac_objext; then
36708 ac_cv_type_size_t=yes
36709 else
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36712
36713 ac_cv_type_size_t=no
36714 fi
36715
36716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36717 fi
36718 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36719 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36720 if test $ac_cv_type_size_t = yes; then
36721 :
36722 else
36723
36724 cat >>confdefs.h <<_ACEOF
36725 #define size_t unsigned int
36726 _ACEOF
36727
36728 fi
36729
36730 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36731 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36732 if test "${ac_cv_type_uid_t+set}" = set; then
36733 echo $ECHO_N "(cached) $ECHO_C" >&6
36734 else
36735 cat >conftest.$ac_ext <<_ACEOF
36736 /* confdefs.h. */
36737 _ACEOF
36738 cat confdefs.h >>conftest.$ac_ext
36739 cat >>conftest.$ac_ext <<_ACEOF
36740 /* end confdefs.h. */
36741 #include <sys/types.h>
36742
36743 _ACEOF
36744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36745 $EGREP "uid_t" >/dev/null 2>&1; then
36746 ac_cv_type_uid_t=yes
36747 else
36748 ac_cv_type_uid_t=no
36749 fi
36750 rm -f conftest*
36751
36752 fi
36753 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36754 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36755 if test $ac_cv_type_uid_t = no; then
36756
36757 cat >>confdefs.h <<\_ACEOF
36758 #define uid_t int
36759 _ACEOF
36760
36761
36762 cat >>confdefs.h <<\_ACEOF
36763 #define gid_t int
36764 _ACEOF
36765
36766 fi
36767
36768
36769 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36770 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36771 if test "${ac_cv_type_ssize_t+set}" = set; then
36772 echo $ECHO_N "(cached) $ECHO_C" >&6
36773 else
36774 cat >conftest.$ac_ext <<_ACEOF
36775 /* confdefs.h. */
36776 _ACEOF
36777 cat confdefs.h >>conftest.$ac_ext
36778 cat >>conftest.$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36780 $ac_includes_default
36781 typedef ssize_t ac__type_new_;
36782 int
36783 main ()
36784 {
36785 if ((ac__type_new_ *) 0)
36786 return 0;
36787 if (sizeof (ac__type_new_))
36788 return 0;
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 rm -f conftest.$ac_objext
36794 if { (ac_try="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36797 *) ac_try_echo=$ac_try;;
36798 esac
36799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36801 ac_status=$?
36802 grep -v '^ *+' conftest.er1 >conftest.err
36803 rm -f conftest.er1
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_c_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.$ac_objext; then
36810 ac_cv_type_ssize_t=yes
36811 else
36812 echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36814
36815 ac_cv_type_ssize_t=no
36816 fi
36817
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36819 fi
36820 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36821 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36822 if test $ac_cv_type_ssize_t = yes; then
36823
36824 cat >>confdefs.h <<_ACEOF
36825 #define HAVE_SSIZE_T 1
36826 _ACEOF
36827
36828
36829 fi
36830
36831
36832 ac_ext=cpp
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36837 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36838 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36839 if test "${wx_cv_size_t_is_uint+set}" = set; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 else
36842
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <stddef.h>
36850 int
36851 main ()
36852 {
36853
36854 return 0; }
36855
36856 struct Foo { void foo(size_t); void foo(unsigned int); };
36857
36858 int bar() {
36859
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36869 esac
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36872 ac_status=$?
36873 grep -v '^ *+' conftest.er1 >conftest.err
36874 rm -f conftest.er1
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_cxx_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 wx_cv_size_t_is_uint=no
36882 else
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36885
36886 wx_cv_size_t_is_uint=yes
36887
36888 fi
36889
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891
36892
36893 fi
36894 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36895 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36896
36897 if test "$wx_cv_size_t_is_uint" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxSIZE_T_IS_UINT 1
36900 _ACEOF
36901
36902 else
36903 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36904 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36905 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36907 else
36908 cat >conftest.$ac_ext <<_ACEOF
36909 /* confdefs.h. */
36910 _ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 #include <stddef.h>
36915 int
36916 main ()
36917 {
36918
36919 return 0; }
36920
36921 struct Foo { void foo(size_t); void foo(unsigned long); };
36922
36923 int bar() {
36924
36925 ;
36926 return 0;
36927 }
36928 _ACEOF
36929 rm -f conftest.$ac_objext
36930 if { (ac_try="$ac_compile"
36931 case "(($ac_try" in
36932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36933 *) ac_try_echo=$ac_try;;
36934 esac
36935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36936 (eval "$ac_compile") 2>conftest.er1
36937 ac_status=$?
36938 grep -v '^ *+' conftest.er1 >conftest.err
36939 rm -f conftest.er1
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } && {
36943 test -z "$ac_cxx_werror_flag" ||
36944 test ! -s conftest.err
36945 } && test -s conftest.$ac_objext; then
36946 wx_cv_size_t_is_ulong=no
36947 else
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 wx_cv_size_t_is_ulong=yes
36952
36953 fi
36954
36955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36956
36957 fi
36958 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36959 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36960
36961 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxSIZE_T_IS_ULONG 1
36964 _ACEOF
36965
36966 fi
36967 fi
36968
36969 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36970 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36971 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 #include <wchar.h>
36981 int
36982 main ()
36983 {
36984
36985 return 0; }
36986
36987 struct Foo { void foo(wchar_t);
36988 void foo(unsigned short);
36989 void foo(unsigned int);
36990 void foo(unsigned long); };
36991
36992 int bar() {
36993
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_wchar_t_is_separate_type=yes
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37019
37020 wx_cv_wchar_t_is_separate_type=no
37021
37022 fi
37023
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37025
37026 fi
37027 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37028 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37029
37030 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37031 cat >>confdefs.h <<\_ACEOF
37032 #define wxWCHAR_T_IS_REAL_TYPE 1
37033 _ACEOF
37034
37035 else
37036 cat >>confdefs.h <<\_ACEOF
37037 #define wxWCHAR_T_IS_REAL_TYPE 0
37038 _ACEOF
37039
37040 fi
37041
37042 ac_ext=c
37043 ac_cpp='$CPP $CPPFLAGS'
37044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37047
37048
37049 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37050 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37051 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 else
37054
37055 cat >conftest.$ac_ext <<_ACEOF
37056 /* confdefs.h. */
37057 _ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061 #include <pwd.h>
37062 int
37063 main ()
37064 {
37065
37066 char *p;
37067 struct passwd *pw;
37068 p = pw->pw_gecos;
37069
37070 ;
37071 return 0;
37072 }
37073 _ACEOF
37074 rm -f conftest.$ac_objext
37075 if { (ac_try="$ac_compile"
37076 case "(($ac_try" in
37077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37078 *) ac_try_echo=$ac_try;;
37079 esac
37080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37081 (eval "$ac_compile") 2>conftest.er1
37082 ac_status=$?
37083 grep -v '^ *+' conftest.er1 >conftest.err
37084 rm -f conftest.er1
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } && {
37088 test -z "$ac_c_werror_flag" ||
37089 test ! -s conftest.err
37090 } && test -s conftest.$ac_objext; then
37091
37092 wx_cv_struct_pw_gecos=yes
37093
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098
37099 wx_cv_struct_pw_gecos=no
37100
37101
37102 fi
37103
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105
37106
37107 fi
37108 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37109 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37110
37111 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_PW_GECOS 1
37114 _ACEOF
37115
37116 fi
37117
37118
37119 if test "$wxUSE_WCHAR_T" = "yes"; then
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_WCHAR_T 1
37122 _ACEOF
37123
37124
37125 WCSLEN_FOUND=0
37126 WCHAR_LINK=
37127
37128 for ac_func in wcslen
37129 do
37130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 else
37136 cat >conftest.$ac_ext <<_ACEOF
37137 /* confdefs.h. */
37138 _ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37144 #define $ac_func innocuous_$ac_func
37145
37146 /* System header to define __stub macros and hopefully few prototypes,
37147 which can conflict with char $ac_func (); below.
37148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37149 <limits.h> exists even on freestanding compilers. */
37150
37151 #ifdef __STDC__
37152 # include <limits.h>
37153 #else
37154 # include <assert.h>
37155 #endif
37156
37157 #undef $ac_func
37158
37159 /* Override any GCC internal prototype to avoid an error.
37160 Use char because int might match the return type of a GCC
37161 builtin and then its argument prototype would still apply. */
37162 #ifdef __cplusplus
37163 extern "C"
37164 #endif
37165 char $ac_func ();
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined __stub_$ac_func || defined __stub___$ac_func
37170 choke me
37171 #endif
37172
37173 int
37174 main ()
37175 {
37176 return $ac_func ();
37177 ;
37178 return 0;
37179 }
37180 _ACEOF
37181 rm -f conftest.$ac_objext conftest$ac_exeext
37182 if { (ac_try="$ac_link"
37183 case "(($ac_try" in
37184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37185 *) ac_try_echo=$ac_try;;
37186 esac
37187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37188 (eval "$ac_link") 2>conftest.er1
37189 ac_status=$?
37190 grep -v '^ *+' conftest.er1 >conftest.err
37191 rm -f conftest.er1
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } && {
37195 test -z "$ac_c_werror_flag" ||
37196 test ! -s conftest.err
37197 } && test -s conftest$ac_exeext &&
37198 $as_test_x conftest$ac_exeext; then
37199 eval "$as_ac_var=yes"
37200 else
37201 echo "$as_me: failed program was:" >&5
37202 sed 's/^/| /' conftest.$ac_ext >&5
37203
37204 eval "$as_ac_var=no"
37205 fi
37206
37207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37208 conftest$ac_exeext conftest.$ac_ext
37209 fi
37210 ac_res=`eval echo '${'$as_ac_var'}'`
37211 { echo "$as_me:$LINENO: result: $ac_res" >&5
37212 echo "${ECHO_T}$ac_res" >&6; }
37213 if test `eval echo '${'$as_ac_var'}'` = yes; then
37214 cat >>confdefs.h <<_ACEOF
37215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37216 _ACEOF
37217 WCSLEN_FOUND=1
37218 fi
37219 done
37220
37221
37222 if test "$WCSLEN_FOUND" = 0; then
37223 if test "$TOOLKIT" = "MSW"; then
37224 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37225 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37226 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 ac_check_lib_save_LIBS=$LIBS
37230 LIBS="-lmsvcrt $LIBS"
37231 cat >conftest.$ac_ext <<_ACEOF
37232 /* confdefs.h. */
37233 _ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37237
37238 /* Override any GCC internal prototype to avoid an error.
37239 Use char because int might match the return type of a GCC
37240 builtin and then its argument prototype would still apply. */
37241 #ifdef __cplusplus
37242 extern "C"
37243 #endif
37244 char wcslen ();
37245 int
37246 main ()
37247 {
37248 return wcslen ();
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 rm -f conftest.$ac_objext conftest$ac_exeext
37254 if { (ac_try="$ac_link"
37255 case "(($ac_try" in
37256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37257 *) ac_try_echo=$ac_try;;
37258 esac
37259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37260 (eval "$ac_link") 2>conftest.er1
37261 ac_status=$?
37262 grep -v '^ *+' conftest.er1 >conftest.err
37263 rm -f conftest.er1
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } && {
37267 test -z "$ac_c_werror_flag" ||
37268 test ! -s conftest.err
37269 } && test -s conftest$ac_exeext &&
37270 $as_test_x conftest$ac_exeext; then
37271 ac_cv_lib_msvcrt_wcslen=yes
37272 else
37273 echo "$as_me: failed program was:" >&5
37274 sed 's/^/| /' conftest.$ac_ext >&5
37275
37276 ac_cv_lib_msvcrt_wcslen=no
37277 fi
37278
37279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37280 conftest$ac_exeext conftest.$ac_ext
37281 LIBS=$ac_check_lib_save_LIBS
37282 fi
37283 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37284 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37285 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37286 WCHAR_OK=1
37287 fi
37288
37289 else
37290 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37291 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37292 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37294 else
37295 ac_check_lib_save_LIBS=$LIBS
37296 LIBS="-lw $LIBS"
37297 cat >conftest.$ac_ext <<_ACEOF
37298 /* confdefs.h. */
37299 _ACEOF
37300 cat confdefs.h >>conftest.$ac_ext
37301 cat >>conftest.$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37303
37304 /* Override any GCC internal prototype to avoid an error.
37305 Use char because int might match the return type of a GCC
37306 builtin and then its argument prototype would still apply. */
37307 #ifdef __cplusplus
37308 extern "C"
37309 #endif
37310 char wcslen ();
37311 int
37312 main ()
37313 {
37314 return wcslen ();
37315 ;
37316 return 0;
37317 }
37318 _ACEOF
37319 rm -f conftest.$ac_objext conftest$ac_exeext
37320 if { (ac_try="$ac_link"
37321 case "(($ac_try" in
37322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37323 *) ac_try_echo=$ac_try;;
37324 esac
37325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37326 (eval "$ac_link") 2>conftest.er1
37327 ac_status=$?
37328 grep -v '^ *+' conftest.er1 >conftest.err
37329 rm -f conftest.er1
37330 cat conftest.err >&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } && {
37333 test -z "$ac_c_werror_flag" ||
37334 test ! -s conftest.err
37335 } && test -s conftest$ac_exeext &&
37336 $as_test_x conftest$ac_exeext; then
37337 ac_cv_lib_w_wcslen=yes
37338 else
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37341
37342 ac_cv_lib_w_wcslen=no
37343 fi
37344
37345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37346 conftest$ac_exeext conftest.$ac_ext
37347 LIBS=$ac_check_lib_save_LIBS
37348 fi
37349 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37350 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37351 if test $ac_cv_lib_w_wcslen = yes; then
37352
37353 WCHAR_LINK=" -lw"
37354 WCSLEN_FOUND=1
37355
37356 fi
37357
37358 fi
37359 fi
37360
37361 if test "$WCSLEN_FOUND" = 1; then
37362 cat >>confdefs.h <<\_ACEOF
37363 #define HAVE_WCSLEN 1
37364 _ACEOF
37365
37366 fi
37367
37368
37369 for ac_func in wcsdup
37370 do
37371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 else
37377 cat >conftest.$ac_ext <<_ACEOF
37378 /* confdefs.h. */
37379 _ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37385 #define $ac_func innocuous_$ac_func
37386
37387 /* System header to define __stub macros and hopefully few prototypes,
37388 which can conflict with char $ac_func (); below.
37389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37390 <limits.h> exists even on freestanding compilers. */
37391
37392 #ifdef __STDC__
37393 # include <limits.h>
37394 #else
37395 # include <assert.h>
37396 #endif
37397
37398 #undef $ac_func
37399
37400 /* Override any GCC internal prototype to avoid an error.
37401 Use char because int might match the return type of a GCC
37402 builtin and then its argument prototype would still apply. */
37403 #ifdef __cplusplus
37404 extern "C"
37405 #endif
37406 char $ac_func ();
37407 /* The GNU C library defines this for functions which it implements
37408 to always fail with ENOSYS. Some functions are actually named
37409 something starting with __ and the normal name is an alias. */
37410 #if defined __stub_$ac_func || defined __stub___$ac_func
37411 choke me
37412 #endif
37413
37414 int
37415 main ()
37416 {
37417 return $ac_func ();
37418 ;
37419 return 0;
37420 }
37421 _ACEOF
37422 rm -f conftest.$ac_objext conftest$ac_exeext
37423 if { (ac_try="$ac_link"
37424 case "(($ac_try" in
37425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37426 *) ac_try_echo=$ac_try;;
37427 esac
37428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37429 (eval "$ac_link") 2>conftest.er1
37430 ac_status=$?
37431 grep -v '^ *+' conftest.er1 >conftest.err
37432 rm -f conftest.er1
37433 cat conftest.err >&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); } && {
37436 test -z "$ac_c_werror_flag" ||
37437 test ! -s conftest.err
37438 } && test -s conftest$ac_exeext &&
37439 $as_test_x conftest$ac_exeext; then
37440 eval "$as_ac_var=yes"
37441 else
37442 echo "$as_me: failed program was:" >&5
37443 sed 's/^/| /' conftest.$ac_ext >&5
37444
37445 eval "$as_ac_var=no"
37446 fi
37447
37448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37449 conftest$ac_exeext conftest.$ac_ext
37450 fi
37451 ac_res=`eval echo '${'$as_ac_var'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454 if test `eval echo '${'$as_ac_var'}'` = yes; then
37455 cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37457 _ACEOF
37458
37459 fi
37460 done
37461
37462
37463 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37464 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37465 fi
37466
37467 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37468 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37469 if test "${ac_cv_type_mbstate_t+set}" = set; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37471 else
37472 cat >conftest.$ac_ext <<_ACEOF
37473 /* confdefs.h. */
37474 _ACEOF
37475 cat confdefs.h >>conftest.$ac_ext
37476 cat >>conftest.$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37478 #include <wchar.h>
37479
37480 typedef mbstate_t ac__type_new_;
37481 int
37482 main ()
37483 {
37484 if ((ac__type_new_ *) 0)
37485 return 0;
37486 if (sizeof (ac__type_new_))
37487 return 0;
37488 ;
37489 return 0;
37490 }
37491 _ACEOF
37492 rm -f conftest.$ac_objext
37493 if { (ac_try="$ac_compile"
37494 case "(($ac_try" in
37495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37496 *) ac_try_echo=$ac_try;;
37497 esac
37498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37499 (eval "$ac_compile") 2>conftest.er1
37500 ac_status=$?
37501 grep -v '^ *+' conftest.er1 >conftest.err
37502 rm -f conftest.er1
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } && {
37506 test -z "$ac_c_werror_flag" ||
37507 test ! -s conftest.err
37508 } && test -s conftest.$ac_objext; then
37509 ac_cv_type_mbstate_t=yes
37510 else
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37513
37514 ac_cv_type_mbstate_t=no
37515 fi
37516
37517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37518 fi
37519 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37520 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37521 if test $ac_cv_type_mbstate_t = yes; then
37522
37523 cat >>confdefs.h <<_ACEOF
37524 #define HAVE_MBSTATE_T 1
37525 _ACEOF
37526
37527
37528 for ac_func in wcsrtombs
37529 do
37530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37534 echo $ECHO_N "(cached) $ECHO_C" >&6
37535 else
37536 cat >conftest.$ac_ext <<_ACEOF
37537 /* confdefs.h. */
37538 _ACEOF
37539 cat confdefs.h >>conftest.$ac_ext
37540 cat >>conftest.$ac_ext <<_ACEOF
37541 /* end confdefs.h. */
37542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37544 #define $ac_func innocuous_$ac_func
37545
37546 /* System header to define __stub macros and hopefully few prototypes,
37547 which can conflict with char $ac_func (); below.
37548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37549 <limits.h> exists even on freestanding compilers. */
37550
37551 #ifdef __STDC__
37552 # include <limits.h>
37553 #else
37554 # include <assert.h>
37555 #endif
37556
37557 #undef $ac_func
37558
37559 /* Override any GCC internal prototype to avoid an error.
37560 Use char because int might match the return type of a GCC
37561 builtin and then its argument prototype would still apply. */
37562 #ifdef __cplusplus
37563 extern "C"
37564 #endif
37565 char $ac_func ();
37566 /* The GNU C library defines this for functions which it implements
37567 to always fail with ENOSYS. Some functions are actually named
37568 something starting with __ and the normal name is an alias. */
37569 #if defined __stub_$ac_func || defined __stub___$ac_func
37570 choke me
37571 #endif
37572
37573 int
37574 main ()
37575 {
37576 return $ac_func ();
37577 ;
37578 return 0;
37579 }
37580 _ACEOF
37581 rm -f conftest.$ac_objext conftest$ac_exeext
37582 if { (ac_try="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37586 esac
37587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37589 ac_status=$?
37590 grep -v '^ *+' conftest.er1 >conftest.err
37591 rm -f conftest.er1
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval "$as_ac_var=yes"
37600 else
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37603
37604 eval "$as_ac_var=no"
37605 fi
37606
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37609 fi
37610 ac_res=`eval echo '${'$as_ac_var'}'`
37611 { echo "$as_me:$LINENO: result: $ac_res" >&5
37612 echo "${ECHO_T}$ac_res" >&6; }
37613 if test `eval echo '${'$as_ac_var'}'` = yes; then
37614 cat >>confdefs.h <<_ACEOF
37615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37616 _ACEOF
37617
37618 fi
37619 done
37620
37621 fi
37622
37623 else
37624 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37625 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37626 fi
37627
37628
37629
37630 for ac_func in snprintf vsnprintf
37631 do
37632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 else
37638 cat >conftest.$ac_ext <<_ACEOF
37639 /* confdefs.h. */
37640 _ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37646 #define $ac_func innocuous_$ac_func
37647
37648 /* System header to define __stub macros and hopefully few prototypes,
37649 which can conflict with char $ac_func (); below.
37650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37651 <limits.h> exists even on freestanding compilers. */
37652
37653 #ifdef __STDC__
37654 # include <limits.h>
37655 #else
37656 # include <assert.h>
37657 #endif
37658
37659 #undef $ac_func
37660
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37664 #ifdef __cplusplus
37665 extern "C"
37666 #endif
37667 char $ac_func ();
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined __stub_$ac_func || defined __stub___$ac_func
37672 choke me
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 return $ac_func ();
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (ac_try="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37687 *) ac_try_echo=$ac_try;;
37688 esac
37689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37691 ac_status=$?
37692 grep -v '^ *+' conftest.er1 >conftest.err
37693 rm -f conftest.er1
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest$ac_exeext &&
37700 $as_test_x conftest$ac_exeext; then
37701 eval "$as_ac_var=yes"
37702 else
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37705
37706 eval "$as_ac_var=no"
37707 fi
37708
37709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37710 conftest$ac_exeext conftest.$ac_ext
37711 fi
37712 ac_res=`eval echo '${'$as_ac_var'}'`
37713 { echo "$as_me:$LINENO: result: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716 cat >>confdefs.h <<_ACEOF
37717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723
37724 if test "$ac_cv_func_vsnprintf" = "yes"; then
37725 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37726 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37727 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37728 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 else
37730
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737
37738 #include <stdio.h>
37739 #include <stdarg.h>
37740 #ifdef __MSL__
37741 #if __MSL__ >= 0x6000
37742 namespace std {}
37743 using namespace std;
37744 #endif
37745 #endif
37746
37747 int
37748 main ()
37749 {
37750
37751 char *buf;
37752 va_list ap;
37753 vsnprintf(buf, 10u, "%s", ap);
37754
37755 ;
37756 return 0;
37757 }
37758 _ACEOF
37759 rm -f conftest.$ac_objext
37760 if { (ac_try="$ac_compile"
37761 case "(($ac_try" in
37762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37763 *) ac_try_echo=$ac_try;;
37764 esac
37765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37766 (eval "$ac_compile") 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } && {
37773 test -z "$ac_c_werror_flag" ||
37774 test ! -s conftest.err
37775 } && test -s conftest.$ac_objext; then
37776 wx_cv_func_vsnprintf_decl=yes
37777 else
37778 echo "$as_me: failed program was:" >&5
37779 sed 's/^/| /' conftest.$ac_ext >&5
37780
37781 wx_cv_func_vsnprintf_decl=no
37782
37783 fi
37784
37785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37786
37787
37788 fi
37789 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37790 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37791
37792 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37793 cat >>confdefs.h <<\_ACEOF
37794 #define HAVE_VSNPRINTF_DECL 1
37795 _ACEOF
37796
37797
37798 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37799 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37800 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37802 else
37803
37804 cat >conftest.$ac_ext <<_ACEOF
37805 /* confdefs.h. */
37806 _ACEOF
37807 cat confdefs.h >>conftest.$ac_ext
37808 cat >>conftest.$ac_ext <<_ACEOF
37809 /* end confdefs.h. */
37810
37811 #include <stdio.h>
37812 #include <stdarg.h>
37813 #ifdef __MSL__
37814 #if __MSL__ >= 0x6000
37815 namespace std {}
37816 using namespace std;
37817 #endif
37818 #endif
37819
37820 int
37821 main ()
37822 {
37823
37824 char *buf;
37825 va_list ap;
37826 const char *fmt = "%s";
37827 vsnprintf(buf, 10u, fmt, ap);
37828
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext
37834 if { (ac_try="$ac_compile"
37835 case "(($ac_try" in
37836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37837 *) ac_try_echo=$ac_try;;
37838 esac
37839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37840 (eval "$ac_compile") 2>conftest.er1
37841 ac_status=$?
37842 grep -v '^ *+' conftest.er1 >conftest.err
37843 rm -f conftest.er1
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } && {
37847 test -z "$ac_c_werror_flag" ||
37848 test ! -s conftest.err
37849 } && test -s conftest.$ac_objext; then
37850 wx_cv_func_broken_vsnprintf_decl=no
37851 else
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.$ac_ext >&5
37854
37855 wx_cv_func_broken_vsnprintf_decl=yes
37856
37857 fi
37858
37859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37860
37861
37862 fi
37863 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37864 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37865
37866 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37867 cat >>confdefs.h <<\_ACEOF
37868 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37869 _ACEOF
37870
37871 fi
37872 fi
37873 fi
37874
37875 if test "$ac_cv_func_snprintf" = "yes"; then
37876 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37877 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37878 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37880 else
37881
37882 cat >conftest.$ac_ext <<_ACEOF
37883 /* confdefs.h. */
37884 _ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37888
37889 #include <stdio.h>
37890 #include <stdarg.h>
37891 #ifdef __MSL__
37892 #if __MSL__ >= 0x6000
37893 namespace std {}
37894 using namespace std;
37895 #endif
37896 #endif
37897
37898 int
37899 main ()
37900 {
37901
37902 char *buf;
37903 snprintf(buf, 10u, "%s", "wx");
37904
37905 ;
37906 return 0;
37907 }
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37914 esac
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37917 ac_status=$?
37918 grep -v '^ *+' conftest.er1 >conftest.err
37919 rm -f conftest.er1
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 wx_cv_func_snprintf_decl=yes
37927 else
37928 echo "$as_me: failed program was:" >&5
37929 sed 's/^/| /' conftest.$ac_ext >&5
37930
37931 wx_cv_func_snprintf_decl=no
37932
37933 fi
37934
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37936
37937
37938 fi
37939 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37940 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37941
37942 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37943 cat >>confdefs.h <<\_ACEOF
37944 #define HAVE_SNPRINTF_DECL 1
37945 _ACEOF
37946
37947 fi
37948
37949 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37950
37951 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37952 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37953 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 else
37956
37957 if test "$cross_compiling" = yes; then
37958
37959 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37960 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37961 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37962 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37963 wx_cv_func_snprintf_pos_params=no
37964
37965
37966 else
37967 cat >conftest.$ac_ext <<_ACEOF
37968 /* confdefs.h. */
37969 _ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37973
37974 #include <stdio.h>
37975
37976 int main (void)
37977 {
37978 char buffer[128];
37979 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37980 if (strcmp ("2 3 1", buffer) == 0)
37981 exit (0);
37982 exit (1);
37983 }
37984
37985 _ACEOF
37986 rm -f conftest$ac_exeext
37987 if { (ac_try="$ac_link"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37990 *) ac_try_echo=$ac_try;;
37991 esac
37992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_link") 2>&5
37994 ac_status=$?
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37997 { (case "(($ac_try" in
37998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37999 *) ac_try_echo=$ac_try;;
38000 esac
38001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38002 (eval "$ac_try") 2>&5
38003 ac_status=$?
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_func_snprintf_pos_params=no
38007 else
38008 echo "$as_me: program exited with status $ac_status" >&5
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38011
38012 ( exit $ac_status )
38013 wx_cv_func_snprintf_pos_params=yes
38014 fi
38015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38016 fi
38017
38018
38019
38020
38021 fi
38022 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38023 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38024
38025 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_UNIX98_PRINTF 1
38028 _ACEOF
38029
38030 fi
38031 fi
38032 fi
38033
38034 if test "$wxUSE_UNICODE" = yes; then
38035
38036 wchar_headers="#include <stdio.h>
38037 #include <wchar.h>"
38038 case "${host}" in
38039 *-*-solaris2* )
38040
38041 for ac_header in widec.h
38042 do
38043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38044 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38047 echo $ECHO_N "(cached) $ECHO_C" >&6
38048 else
38049 cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h. */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055 $ac_includes_default
38056
38057 #include <$ac_header>
38058 _ACEOF
38059 rm -f conftest.$ac_objext
38060 if { (ac_try="$ac_compile"
38061 case "(($ac_try" in
38062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38063 *) ac_try_echo=$ac_try;;
38064 esac
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_compile") 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest.$ac_objext; then
38076 eval "$as_ac_Header=yes"
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 eval "$as_ac_Header=no"
38082 fi
38083
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 fi
38086 ac_res=`eval echo '${'$as_ac_Header'}'`
38087 { echo "$as_me:$LINENO: result: $ac_res" >&5
38088 echo "${ECHO_T}$ac_res" >&6; }
38089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38090 cat >>confdefs.h <<_ACEOF
38091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38092 _ACEOF
38093
38094 fi
38095
38096 done
38097
38098 if test "$ac_cv_header_widec_h" = "yes"; then
38099 wchar_headers="$wchar_headers
38100 #include <widec.h>"
38101 fi
38102 esac
38103
38104
38105 for wx_func in putws fputws wprintf vswprintf
38106 do
38107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38110 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 else
38112
38113 cat >conftest.$ac_ext <<_ACEOF
38114
38115 /* confdefs.h. */
38116 _ACEOF
38117 cat confdefs.h >>conftest.$ac_ext
38118 cat >>conftest.$ac_ext <<_ACEOF
38119 /* end confdefs.h. */
38120
38121 $wchar_headers
38122 $ac_includes_default
38123
38124 int
38125 main ()
38126 {
38127
38128 #ifndef $wx_func
38129 &$wx_func;
38130 #endif
38131
38132
38133 ;
38134 return 0;
38135 }
38136
38137 _ACEOF
38138 rm -f conftest.$ac_objext conftest$ac_exeext
38139 if { (ac_try="$ac_link"
38140 case "(($ac_try" in
38141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38142 *) ac_try_echo=$ac_try;;
38143 esac
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_link") 2>conftest.er1
38146 ac_status=$?
38147 grep -v '^ *+' conftest.er1 >conftest.err
38148 rm -f conftest.er1
38149 cat conftest.err >&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } && {
38152 test -z "$ac_c_werror_flag" ||
38153 test ! -s conftest.err
38154 } && test -s conftest$ac_exeext &&
38155 $as_test_x conftest$ac_exeext; then
38156 eval wx_cv_func_$wx_func=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 eval wx_cv_func_$wx_func=no
38162 fi
38163
38164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38165 conftest$ac_exeext conftest.$ac_ext
38166
38167 fi
38168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38171
38172 if eval test \$wx_cv_func_$wx_func = yes
38173 then
38174 cat >>confdefs.h <<_ACEOF
38175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38176 _ACEOF
38177
38178
38179 else
38180 :
38181
38182 fi
38183 done
38184
38185
38186 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38187 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38188 cat >conftest.$ac_ext <<_ACEOF
38189 /* confdefs.h. */
38190 _ACEOF
38191 cat confdefs.h >>conftest.$ac_ext
38192 cat >>conftest.$ac_ext <<_ACEOF
38193 /* end confdefs.h. */
38194 #include <wchar.h>
38195 int
38196 main ()
38197 {
38198 &_vsnwprintf;
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext
38204 if { (ac_try="$ac_compile"
38205 case "(($ac_try" in
38206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38207 *) ac_try_echo=$ac_try;;
38208 esac
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_compile") 2>conftest.er1
38211 ac_status=$?
38212 grep -v '^ *+' conftest.er1 >conftest.err
38213 rm -f conftest.er1
38214 cat conftest.err >&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest.$ac_objext; then
38220 { echo "$as_me:$LINENO: result: yes" >&5
38221 echo "${ECHO_T}yes" >&6; }
38222 cat >>confdefs.h <<\_ACEOF
38223 #define HAVE__VSNWPRINTF 1
38224 _ACEOF
38225
38226 else
38227 echo "$as_me: failed program was:" >&5
38228 sed 's/^/| /' conftest.$ac_ext >&5
38229
38230 { echo "$as_me:$LINENO: result: no" >&5
38231 echo "${ECHO_T}no" >&6; }
38232 fi
38233
38234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38235 fi
38236
38237 if test "$wxUSE_FILE" = "yes"; then
38238
38239 for wx_func in fsync
38240 do
38241 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38242 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38243 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246
38247 cat >conftest.$ac_ext <<_ACEOF
38248
38249 /* confdefs.h. */
38250 _ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254
38255
38256 $ac_includes_default
38257
38258 int
38259 main ()
38260 {
38261
38262 #ifndef $wx_func
38263 &$wx_func;
38264 #endif
38265
38266
38267 ;
38268 return 0;
38269 }
38270
38271 _ACEOF
38272 rm -f conftest.$ac_objext conftest$ac_exeext
38273 if { (ac_try="$ac_link"
38274 case "(($ac_try" in
38275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38276 *) ac_try_echo=$ac_try;;
38277 esac
38278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38279 (eval "$ac_link") 2>conftest.er1
38280 ac_status=$?
38281 grep -v '^ *+' conftest.er1 >conftest.err
38282 rm -f conftest.er1
38283 cat conftest.err >&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } && {
38286 test -z "$ac_c_werror_flag" ||
38287 test ! -s conftest.err
38288 } && test -s conftest$ac_exeext &&
38289 $as_test_x conftest$ac_exeext; then
38290 eval wx_cv_func_$wx_func=yes
38291 else
38292 echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38294
38295 eval wx_cv_func_$wx_func=no
38296 fi
38297
38298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38299 conftest$ac_exeext conftest.$ac_ext
38300
38301 fi
38302 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38303 { echo "$as_me:$LINENO: result: $ac_res" >&5
38304 echo "${ECHO_T}$ac_res" >&6; }
38305
38306 if eval test \$wx_cv_func_$wx_func = yes
38307 then
38308 cat >>confdefs.h <<_ACEOF
38309 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38310 _ACEOF
38311
38312
38313 else
38314 :
38315
38316 fi
38317 done
38318
38319 fi
38320
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326
38327
38328 for wx_func in round
38329 do
38330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38332 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38333 echo $ECHO_N "(cached) $ECHO_C" >&6
38334 else
38335
38336 cat >conftest.$ac_ext <<_ACEOF
38337
38338 /* confdefs.h. */
38339 _ACEOF
38340 cat confdefs.h >>conftest.$ac_ext
38341 cat >>conftest.$ac_ext <<_ACEOF
38342 /* end confdefs.h. */
38343
38344 #include <math.h>
38345 $ac_includes_default
38346
38347 int
38348 main ()
38349 {
38350
38351 #ifndef $wx_func
38352 &$wx_func;
38353 #endif
38354
38355
38356 ;
38357 return 0;
38358 }
38359
38360 _ACEOF
38361 rm -f conftest.$ac_objext conftest$ac_exeext
38362 if { (ac_try="$ac_link"
38363 case "(($ac_try" in
38364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38365 *) ac_try_echo=$ac_try;;
38366 esac
38367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38368 (eval "$ac_link") 2>conftest.er1
38369 ac_status=$?
38370 grep -v '^ *+' conftest.er1 >conftest.err
38371 rm -f conftest.er1
38372 cat conftest.err >&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } && {
38375 test -z "$ac_cxx_werror_flag" ||
38376 test ! -s conftest.err
38377 } && test -s conftest$ac_exeext &&
38378 $as_test_x conftest$ac_exeext; then
38379 eval wx_cv_func_$wx_func=yes
38380 else
38381 echo "$as_me: failed program was:" >&5
38382 sed 's/^/| /' conftest.$ac_ext >&5
38383
38384 eval wx_cv_func_$wx_func=no
38385 fi
38386
38387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38388 conftest$ac_exeext conftest.$ac_ext
38389
38390 fi
38391 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38392 { echo "$as_me:$LINENO: result: $ac_res" >&5
38393 echo "${ECHO_T}$ac_res" >&6; }
38394
38395 if eval test \$wx_cv_func_$wx_func = yes
38396 then
38397 cat >>confdefs.h <<_ACEOF
38398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38399 _ACEOF
38400
38401
38402 else
38403 :
38404
38405 fi
38406 done
38407
38408 ac_ext=c
38409 ac_cpp='$CPP $CPPFLAGS'
38410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38413
38414
38415 if test "$TOOLKIT" != "MSW"; then
38416
38417
38418
38419
38420
38421 # Check whether --with-libiconv-prefix was given.
38422 if test "${with_libiconv_prefix+set}" = set; then
38423 withval=$with_libiconv_prefix;
38424 for dir in `echo "$withval" | tr : ' '`; do
38425 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38426 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38427 done
38428
38429 fi
38430
38431
38432 { echo "$as_me:$LINENO: checking for iconv" >&5
38433 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38434 if test "${am_cv_func_iconv+set}" = set; then
38435 echo $ECHO_N "(cached) $ECHO_C" >&6
38436 else
38437
38438 am_cv_func_iconv="no, consider installing GNU libiconv"
38439 am_cv_lib_iconv=no
38440 cat >conftest.$ac_ext <<_ACEOF
38441 /* confdefs.h. */
38442 _ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446 #include <stdlib.h>
38447 #include <iconv.h>
38448 int
38449 main ()
38450 {
38451 iconv_t cd = iconv_open("","");
38452 iconv(cd,NULL,NULL,NULL,NULL);
38453 iconv_close(cd);
38454 ;
38455 return 0;
38456 }
38457 _ACEOF
38458 rm -f conftest.$ac_objext conftest$ac_exeext
38459 if { (ac_try="$ac_link"
38460 case "(($ac_try" in
38461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38462 *) ac_try_echo=$ac_try;;
38463 esac
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_link") 2>conftest.er1
38466 ac_status=$?
38467 grep -v '^ *+' conftest.er1 >conftest.err
38468 rm -f conftest.er1
38469 cat conftest.err >&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } && {
38472 test -z "$ac_c_werror_flag" ||
38473 test ! -s conftest.err
38474 } && test -s conftest$ac_exeext &&
38475 $as_test_x conftest$ac_exeext; then
38476 am_cv_func_iconv=yes
38477 else
38478 echo "$as_me: failed program was:" >&5
38479 sed 's/^/| /' conftest.$ac_ext >&5
38480
38481
38482 fi
38483
38484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38485 conftest$ac_exeext conftest.$ac_ext
38486 if test "$am_cv_func_iconv" != yes; then
38487 am_save_LIBS="$LIBS"
38488 LIBS="$LIBS -liconv"
38489 cat >conftest.$ac_ext <<_ACEOF
38490 /* confdefs.h. */
38491 _ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495 #include <stdlib.h>
38496 #include <iconv.h>
38497 int
38498 main ()
38499 {
38500 iconv_t cd = iconv_open("","");
38501 iconv(cd,NULL,NULL,NULL,NULL);
38502 iconv_close(cd);
38503 ;
38504 return 0;
38505 }
38506 _ACEOF
38507 rm -f conftest.$ac_objext conftest$ac_exeext
38508 if { (ac_try="$ac_link"
38509 case "(($ac_try" in
38510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38511 *) ac_try_echo=$ac_try;;
38512 esac
38513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38514 (eval "$ac_link") 2>conftest.er1
38515 ac_status=$?
38516 grep -v '^ *+' conftest.er1 >conftest.err
38517 rm -f conftest.er1
38518 cat conftest.err >&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } && {
38521 test -z "$ac_c_werror_flag" ||
38522 test ! -s conftest.err
38523 } && test -s conftest$ac_exeext &&
38524 $as_test_x conftest$ac_exeext; then
38525 am_cv_lib_iconv=yes
38526 am_cv_func_iconv=yes
38527 else
38528 echo "$as_me: failed program was:" >&5
38529 sed 's/^/| /' conftest.$ac_ext >&5
38530
38531
38532 fi
38533
38534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38535 conftest$ac_exeext conftest.$ac_ext
38536 LIBS="$am_save_LIBS"
38537 fi
38538
38539 fi
38540 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38541 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38542 if test "$am_cv_func_iconv" = yes; then
38543
38544 cat >>confdefs.h <<\_ACEOF
38545 #define HAVE_ICONV 1
38546 _ACEOF
38547
38548 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38549 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38550 if test "${wx_cv_func_iconv_const+set}" = set; then
38551 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 else
38553 cat >conftest.$ac_ext <<_ACEOF
38554 /* confdefs.h. */
38555 _ACEOF
38556 cat confdefs.h >>conftest.$ac_ext
38557 cat >>conftest.$ac_ext <<_ACEOF
38558 /* end confdefs.h. */
38559
38560 #include <stdlib.h>
38561 #include <iconv.h>
38562 extern
38563 #ifdef __cplusplus
38564 "C"
38565 #endif
38566 #if defined(__STDC__) || defined(__cplusplus)
38567 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38568 #else
38569 size_t iconv();
38570 #endif
38571
38572 int
38573 main ()
38574 {
38575
38576 ;
38577 return 0;
38578 }
38579 _ACEOF
38580 rm -f conftest.$ac_objext
38581 if { (ac_try="$ac_compile"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38585 esac
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_compile") 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest.$ac_objext; then
38597 wx_cv_func_iconv_const="no"
38598 else
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38601
38602 wx_cv_func_iconv_const="yes"
38603
38604 fi
38605
38606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38607
38608 fi
38609 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38610 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38611
38612 iconv_const=
38613 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38614 iconv_const="const"
38615 fi
38616
38617
38618 cat >>confdefs.h <<_ACEOF
38619 #define ICONV_CONST $iconv_const
38620 _ACEOF
38621
38622 fi
38623 LIBICONV=
38624 if test "$am_cv_lib_iconv" = yes; then
38625 LIBICONV="-liconv"
38626 fi
38627
38628
38629 LIBS="$LIBICONV $LIBS"
38630
38631 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38632
38633 for ac_func in sigaction
38634 do
38635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38639 echo $ECHO_N "(cached) $ECHO_C" >&6
38640 else
38641 cat >conftest.$ac_ext <<_ACEOF
38642 /* confdefs.h. */
38643 _ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38649 #define $ac_func innocuous_$ac_func
38650
38651 /* System header to define __stub macros and hopefully few prototypes,
38652 which can conflict with char $ac_func (); below.
38653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38654 <limits.h> exists even on freestanding compilers. */
38655
38656 #ifdef __STDC__
38657 # include <limits.h>
38658 #else
38659 # include <assert.h>
38660 #endif
38661
38662 #undef $ac_func
38663
38664 /* Override any GCC internal prototype to avoid an error.
38665 Use char because int might match the return type of a GCC
38666 builtin and then its argument prototype would still apply. */
38667 #ifdef __cplusplus
38668 extern "C"
38669 #endif
38670 char $ac_func ();
38671 /* The GNU C library defines this for functions which it implements
38672 to always fail with ENOSYS. Some functions are actually named
38673 something starting with __ and the normal name is an alias. */
38674 #if defined __stub_$ac_func || defined __stub___$ac_func
38675 choke me
38676 #endif
38677
38678 int
38679 main ()
38680 {
38681 return $ac_func ();
38682 ;
38683 return 0;
38684 }
38685 _ACEOF
38686 rm -f conftest.$ac_objext conftest$ac_exeext
38687 if { (ac_try="$ac_link"
38688 case "(($ac_try" in
38689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38690 *) ac_try_echo=$ac_try;;
38691 esac
38692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38693 (eval "$ac_link") 2>conftest.er1
38694 ac_status=$?
38695 grep -v '^ *+' conftest.er1 >conftest.err
38696 rm -f conftest.er1
38697 cat conftest.err >&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } && {
38700 test -z "$ac_c_werror_flag" ||
38701 test ! -s conftest.err
38702 } && test -s conftest$ac_exeext &&
38703 $as_test_x conftest$ac_exeext; then
38704 eval "$as_ac_var=yes"
38705 else
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.$ac_ext >&5
38708
38709 eval "$as_ac_var=no"
38710 fi
38711
38712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38713 conftest$ac_exeext conftest.$ac_ext
38714 fi
38715 ac_res=`eval echo '${'$as_ac_var'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38718 if test `eval echo '${'$as_ac_var'}'` = yes; then
38719 cat >>confdefs.h <<_ACEOF
38720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38721 _ACEOF
38722
38723 fi
38724 done
38725
38726
38727 if test "$ac_cv_func_sigaction" = "no"; then
38728 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38729 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38730 wxUSE_ON_FATAL_EXCEPTION=no
38731 fi
38732
38733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38734 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38735 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38736 if test "${wx_cv_type_sa_handler+set}" = set; then
38737 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 else
38739
38740 ac_ext=cpp
38741 ac_cpp='$CXXCPP $CPPFLAGS'
38742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38745
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 #include <signal.h>
38753 int
38754 main ()
38755 {
38756
38757 extern void testSigHandler(int);
38758
38759 struct sigaction sa;
38760 sa.sa_handler = testSigHandler;
38761
38762 ;
38763 return 0;
38764 }
38765 _ACEOF
38766 rm -f conftest.$ac_objext
38767 if { (ac_try="$ac_compile"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38771 esac
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_compile") 2>conftest.er1
38774 ac_status=$?
38775 grep -v '^ *+' conftest.er1 >conftest.err
38776 rm -f conftest.er1
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_cxx_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest.$ac_objext; then
38783
38784 wx_cv_type_sa_handler=int
38785
38786 else
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.$ac_ext >&5
38789
38790
38791 wx_cv_type_sa_handler=void
38792
38793 fi
38794
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 ac_ext=c
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38801
38802
38803 fi
38804 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38805 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38806
38807 cat >>confdefs.h <<_ACEOF
38808 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38809 _ACEOF
38810
38811 fi
38812 fi
38813
38814 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38815 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38816 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38817 if test "${wx_cv_func_backtrace+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 else
38820
38821 ac_ext=cpp
38822 ac_cpp='$CXXCPP $CPPFLAGS'
38823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38826
38827 cat >conftest.$ac_ext <<_ACEOF
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 #include <execinfo.h>
38834 int
38835 main ()
38836 {
38837
38838 void *trace[1];
38839 char **messages;
38840
38841 backtrace(trace, 1);
38842 messages = backtrace_symbols(trace, 1);
38843
38844 ;
38845 return 0;
38846 }
38847 _ACEOF
38848 rm -f conftest.$ac_objext
38849 if { (ac_try="$ac_compile"
38850 case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38853 esac
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_compile") 2>conftest.er1
38856 ac_status=$?
38857 grep -v '^ *+' conftest.er1 >conftest.err
38858 rm -f conftest.er1
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_cxx_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest.$ac_objext; then
38865 wx_cv_func_backtrace=yes
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870 wx_cv_func_backtrace=no
38871
38872 fi
38873
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875 ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38880
38881
38882
38883 fi
38884 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38885 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38886
38887
38888 if test "$wx_cv_func_backtrace" = "no"; then
38889 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38890 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38891 wxUSE_STACKWALKER=no
38892 else
38893 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38894 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38895 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38897 else
38898
38899 ac_ext=cpp
38900 ac_cpp='$CXXCPP $CPPFLAGS'
38901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904
38905 cat >conftest.$ac_ext <<_ACEOF
38906 /* confdefs.h. */
38907 _ACEOF
38908 cat confdefs.h >>conftest.$ac_ext
38909 cat >>conftest.$ac_ext <<_ACEOF
38910 /* end confdefs.h. */
38911 #include <cxxabi.h>
38912 int
38913 main ()
38914 {
38915
38916 int rc;
38917 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38918
38919 ;
38920 return 0;
38921 }
38922 _ACEOF
38923 rm -f conftest.$ac_objext conftest$ac_exeext
38924 if { (ac_try="$ac_link"
38925 case "(($ac_try" in
38926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38927 *) ac_try_echo=$ac_try;;
38928 esac
38929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38930 (eval "$ac_link") 2>conftest.er1
38931 ac_status=$?
38932 grep -v '^ *+' conftest.er1 >conftest.err
38933 rm -f conftest.er1
38934 cat conftest.err >&5
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); } && {
38937 test -z "$ac_cxx_werror_flag" ||
38938 test ! -s conftest.err
38939 } && test -s conftest$ac_exeext &&
38940 $as_test_x conftest$ac_exeext; then
38941 wx_cv_func_cxa_demangle=yes
38942 else
38943 echo "$as_me: failed program was:" >&5
38944 sed 's/^/| /' conftest.$ac_ext >&5
38945
38946 wx_cv_func_cxa_demangle=no
38947
38948 fi
38949
38950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38951 conftest$ac_exeext conftest.$ac_ext
38952 ac_ext=c
38953 ac_cpp='$CPP $CPPFLAGS'
38954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38957
38958
38959
38960 fi
38961 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38962 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38963
38964 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38965 cat >>confdefs.h <<\_ACEOF
38966 #define HAVE_CXA_DEMANGLE 1
38967 _ACEOF
38968
38969 fi
38970 fi
38971 fi
38972
38973 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38974 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38975 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38976 wxUSE_STACKWALKER=no
38977 fi
38978
38979
38980
38981
38982 for ac_func in mkstemp mktemp
38983 do
38984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 else
38990 cat >conftest.$ac_ext <<_ACEOF
38991 /* confdefs.h. */
38992 _ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define $ac_func innocuous_$ac_func
38999
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char $ac_func (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39004
39005 #ifdef __STDC__
39006 # include <limits.h>
39007 #else
39008 # include <assert.h>
39009 #endif
39010
39011 #undef $ac_func
39012
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39016 #ifdef __cplusplus
39017 extern "C"
39018 #endif
39019 char $ac_func ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_$ac_func || defined __stub___$ac_func
39024 choke me
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 return $ac_func ();
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39040 esac
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39043 ac_status=$?
39044 grep -v '^ *+' conftest.er1 >conftest.err
39045 rm -f conftest.er1
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 eval "$as_ac_var=yes"
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39057
39058 eval "$as_ac_var=no"
39059 fi
39060
39061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39062 conftest$ac_exeext conftest.$ac_ext
39063 fi
39064 ac_res=`eval echo '${'$as_ac_var'}'`
39065 { echo "$as_me:$LINENO: result: $ac_res" >&5
39066 echo "${ECHO_T}$ac_res" >&6; }
39067 if test `eval echo '${'$as_ac_var'}'` = yes; then
39068 cat >>confdefs.h <<_ACEOF
39069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39070 _ACEOF
39071 break
39072 fi
39073 done
39074
39075
39076 { echo "$as_me:$LINENO: checking for statfs" >&5
39077 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39078 if test "${wx_cv_func_statfs+set}" = set; then
39079 echo $ECHO_N "(cached) $ECHO_C" >&6
39080 else
39081 cat >conftest.$ac_ext <<_ACEOF
39082 /* confdefs.h. */
39083 _ACEOF
39084 cat confdefs.h >>conftest.$ac_ext
39085 cat >>conftest.$ac_ext <<_ACEOF
39086 /* end confdefs.h. */
39087
39088 #if defined(__BSD__)
39089 #include <sys/param.h>
39090 #include <sys/mount.h>
39091 #else
39092 #include <sys/vfs.h>
39093 #endif
39094
39095 int
39096 main ()
39097 {
39098
39099 long l;
39100 struct statfs fs;
39101 statfs("/", &fs);
39102 l = fs.f_bsize;
39103 l += fs.f_blocks;
39104 l += fs.f_bavail;
39105
39106 ;
39107 return 0;
39108 }
39109 _ACEOF
39110 rm -f conftest.$ac_objext
39111 if { (ac_try="$ac_compile"
39112 case "(($ac_try" in
39113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39114 *) ac_try_echo=$ac_try;;
39115 esac
39116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39117 (eval "$ac_compile") 2>conftest.er1
39118 ac_status=$?
39119 grep -v '^ *+' conftest.er1 >conftest.err
39120 rm -f conftest.er1
39121 cat conftest.err >&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } && {
39124 test -z "$ac_c_werror_flag" ||
39125 test ! -s conftest.err
39126 } && test -s conftest.$ac_objext; then
39127 wx_cv_func_statfs=yes
39128 else
39129 echo "$as_me: failed program was:" >&5
39130 sed 's/^/| /' conftest.$ac_ext >&5
39131
39132 wx_cv_func_statfs=no
39133
39134 fi
39135
39136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39137
39138 fi
39139 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39140 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39141
39142 if test "$wx_cv_func_statfs" = "yes"; then
39143 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39144 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39145 if test "${wx_cv_func_statfs_decl+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39153
39154 cat >conftest.$ac_ext <<_ACEOF
39155 /* confdefs.h. */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39160
39161 #if defined(__BSD__)
39162 #include <sys/param.h>
39163 #include <sys/mount.h>
39164 #else
39165 #include <sys/vfs.h>
39166 #endif
39167
39168 int
39169 main ()
39170 {
39171
39172 struct statfs fs;
39173 statfs("", &fs);
39174
39175 ;
39176 return 0;
39177 }
39178 _ACEOF
39179 rm -f conftest.$ac_objext
39180 if { (ac_try="$ac_compile"
39181 case "(($ac_try" in
39182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39183 *) ac_try_echo=$ac_try;;
39184 esac
39185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39186 (eval "$ac_compile") 2>conftest.er1
39187 ac_status=$?
39188 grep -v '^ *+' conftest.er1 >conftest.err
39189 rm -f conftest.er1
39190 cat conftest.err >&5
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); } && {
39193 test -z "$ac_cxx_werror_flag" ||
39194 test ! -s conftest.err
39195 } && test -s conftest.$ac_objext; then
39196 wx_cv_func_statfs_decl=yes
39197 else
39198 echo "$as_me: failed program was:" >&5
39199 sed 's/^/| /' conftest.$ac_ext >&5
39200
39201 wx_cv_func_statfs_decl=no
39202
39203 fi
39204
39205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39206 ac_ext=c
39207 ac_cpp='$CPP $CPPFLAGS'
39208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39211
39212
39213 fi
39214 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39215 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39216
39217 if test "$wx_cv_func_statfs_decl" = "yes"; then
39218 cat >>confdefs.h <<\_ACEOF
39219 #define HAVE_STATFS_DECL 1
39220 _ACEOF
39221
39222 fi
39223
39224 wx_cv_type_statvfs_t="struct statfs"
39225 cat >>confdefs.h <<\_ACEOF
39226 #define HAVE_STATFS 1
39227 _ACEOF
39228
39229 else
39230 { echo "$as_me:$LINENO: checking for statvfs" >&5
39231 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39232 if test "${wx_cv_func_statvfs+set}" = set; then
39233 echo $ECHO_N "(cached) $ECHO_C" >&6
39234 else
39235 cat >conftest.$ac_ext <<_ACEOF
39236 /* confdefs.h. */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h. */
39241
39242 #include <stddef.h>
39243 #include <sys/statvfs.h>
39244
39245 int
39246 main ()
39247 {
39248
39249 statvfs("/", NULL);
39250
39251 ;
39252 return 0;
39253 }
39254 _ACEOF
39255 rm -f conftest.$ac_objext
39256 if { (ac_try="$ac_compile"
39257 case "(($ac_try" in
39258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39259 *) ac_try_echo=$ac_try;;
39260 esac
39261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39262 (eval "$ac_compile") 2>conftest.er1
39263 ac_status=$?
39264 grep -v '^ *+' conftest.er1 >conftest.err
39265 rm -f conftest.er1
39266 cat conftest.err >&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } && {
39269 test -z "$ac_c_werror_flag" ||
39270 test ! -s conftest.err
39271 } && test -s conftest.$ac_objext; then
39272 wx_cv_func_statvfs=yes
39273 else
39274 echo "$as_me: failed program was:" >&5
39275 sed 's/^/| /' conftest.$ac_ext >&5
39276
39277 wx_cv_func_statvfs=no
39278
39279 fi
39280
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282
39283 fi
39284 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39285 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39286
39287 if test "$wx_cv_func_statvfs" = "yes"; then
39288 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39289 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39290 if test "${wx_cv_type_statvfs_t+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305
39306 #include <sys/statvfs.h>
39307
39308 int
39309 main ()
39310 {
39311
39312 long l;
39313 statvfs_t fs;
39314 statvfs("/", &fs);
39315 l = fs.f_bsize;
39316 l += fs.f_blocks;
39317 l += fs.f_bavail;
39318
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 rm -f conftest.$ac_objext
39324 if { (ac_try="$ac_compile"
39325 case "(($ac_try" in
39326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39327 *) ac_try_echo=$ac_try;;
39328 esac
39329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39330 (eval "$ac_compile") 2>conftest.er1
39331 ac_status=$?
39332 grep -v '^ *+' conftest.er1 >conftest.err
39333 rm -f conftest.er1
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } && {
39337 test -z "$ac_cxx_werror_flag" ||
39338 test ! -s conftest.err
39339 } && test -s conftest.$ac_objext; then
39340 wx_cv_type_statvfs_t=statvfs_t
39341 else
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39344
39345
39346 cat >conftest.$ac_ext <<_ACEOF
39347 /* confdefs.h. */
39348 _ACEOF
39349 cat confdefs.h >>conftest.$ac_ext
39350 cat >>conftest.$ac_ext <<_ACEOF
39351 /* end confdefs.h. */
39352
39353 #include <sys/statvfs.h>
39354
39355 int
39356 main ()
39357 {
39358
39359 long l;
39360 struct statvfs fs;
39361 statvfs("/", &fs);
39362 l = fs.f_bsize;
39363 l += fs.f_blocks;
39364 l += fs.f_bavail;
39365
39366 ;
39367 return 0;
39368 }
39369 _ACEOF
39370 rm -f conftest.$ac_objext
39371 if { (ac_try="$ac_compile"
39372 case "(($ac_try" in
39373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39374 *) ac_try_echo=$ac_try;;
39375 esac
39376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39377 (eval "$ac_compile") 2>conftest.er1
39378 ac_status=$?
39379 grep -v '^ *+' conftest.er1 >conftest.err
39380 rm -f conftest.er1
39381 cat conftest.err >&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); } && {
39384 test -z "$ac_cxx_werror_flag" ||
39385 test ! -s conftest.err
39386 } && test -s conftest.$ac_objext; then
39387 wx_cv_type_statvfs_t="struct statvfs"
39388 else
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39391
39392 wx_cv_type_statvfs_t="unknown"
39393
39394 fi
39395
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397
39398
39399 fi
39400
39401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39402 ac_ext=c
39403 ac_cpp='$CPP $CPPFLAGS'
39404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39407
39408
39409 fi
39410 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39411 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39412
39413 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39414 cat >>confdefs.h <<\_ACEOF
39415 #define HAVE_STATVFS 1
39416 _ACEOF
39417
39418 fi
39419 else
39420 wx_cv_type_statvfs_t="unknown"
39421 fi
39422 fi
39423
39424 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39425 cat >>confdefs.h <<_ACEOF
39426 #define WX_STATFS_T $wx_cv_type_statvfs_t
39427 _ACEOF
39428
39429 else
39430 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39431 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39432 fi
39433
39434 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39435
39436
39437 for ac_func in fcntl flock
39438 do
39439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39444 else
39445 cat >conftest.$ac_ext <<_ACEOF
39446 /* confdefs.h. */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39453 #define $ac_func innocuous_$ac_func
39454
39455 /* System header to define __stub macros and hopefully few prototypes,
39456 which can conflict with char $ac_func (); below.
39457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39458 <limits.h> exists even on freestanding compilers. */
39459
39460 #ifdef __STDC__
39461 # include <limits.h>
39462 #else
39463 # include <assert.h>
39464 #endif
39465
39466 #undef $ac_func
39467
39468 /* Override any GCC internal prototype to avoid an error.
39469 Use char because int might match the return type of a GCC
39470 builtin and then its argument prototype would still apply. */
39471 #ifdef __cplusplus
39472 extern "C"
39473 #endif
39474 char $ac_func ();
39475 /* The GNU C library defines this for functions which it implements
39476 to always fail with ENOSYS. Some functions are actually named
39477 something starting with __ and the normal name is an alias. */
39478 #if defined __stub_$ac_func || defined __stub___$ac_func
39479 choke me
39480 #endif
39481
39482 int
39483 main ()
39484 {
39485 return $ac_func ();
39486 ;
39487 return 0;
39488 }
39489 _ACEOF
39490 rm -f conftest.$ac_objext conftest$ac_exeext
39491 if { (ac_try="$ac_link"
39492 case "(($ac_try" in
39493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39494 *) ac_try_echo=$ac_try;;
39495 esac
39496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39497 (eval "$ac_link") 2>conftest.er1
39498 ac_status=$?
39499 grep -v '^ *+' conftest.er1 >conftest.err
39500 rm -f conftest.er1
39501 cat conftest.err >&5
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); } && {
39504 test -z "$ac_c_werror_flag" ||
39505 test ! -s conftest.err
39506 } && test -s conftest$ac_exeext &&
39507 $as_test_x conftest$ac_exeext; then
39508 eval "$as_ac_var=yes"
39509 else
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.$ac_ext >&5
39512
39513 eval "$as_ac_var=no"
39514 fi
39515
39516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39517 conftest$ac_exeext conftest.$ac_ext
39518 fi
39519 ac_res=`eval echo '${'$as_ac_var'}'`
39520 { echo "$as_me:$LINENO: result: $ac_res" >&5
39521 echo "${ECHO_T}$ac_res" >&6; }
39522 if test `eval echo '${'$as_ac_var'}'` = yes; then
39523 cat >>confdefs.h <<_ACEOF
39524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39525 _ACEOF
39526 break
39527 fi
39528 done
39529
39530
39531 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39532 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39533 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39534 wxUSE_SNGLINST_CHECKER=no
39535 fi
39536 fi
39537
39538
39539
39540 for ac_func in setenv putenv
39541 do
39542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 else
39548 cat >conftest.$ac_ext <<_ACEOF
39549 /* confdefs.h. */
39550 _ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39556 #define $ac_func innocuous_$ac_func
39557
39558 /* System header to define __stub macros and hopefully few prototypes,
39559 which can conflict with char $ac_func (); below.
39560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39561 <limits.h> exists even on freestanding compilers. */
39562
39563 #ifdef __STDC__
39564 # include <limits.h>
39565 #else
39566 # include <assert.h>
39567 #endif
39568
39569 #undef $ac_func
39570
39571 /* Override any GCC internal prototype to avoid an error.
39572 Use char because int might match the return type of a GCC
39573 builtin and then its argument prototype would still apply. */
39574 #ifdef __cplusplus
39575 extern "C"
39576 #endif
39577 char $ac_func ();
39578 /* The GNU C library defines this for functions which it implements
39579 to always fail with ENOSYS. Some functions are actually named
39580 something starting with __ and the normal name is an alias. */
39581 #if defined __stub_$ac_func || defined __stub___$ac_func
39582 choke me
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588 return $ac_func ();
39589 ;
39590 return 0;
39591 }
39592 _ACEOF
39593 rm -f conftest.$ac_objext conftest$ac_exeext
39594 if { (ac_try="$ac_link"
39595 case "(($ac_try" in
39596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39597 *) ac_try_echo=$ac_try;;
39598 esac
39599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39600 (eval "$ac_link") 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } && {
39607 test -z "$ac_c_werror_flag" ||
39608 test ! -s conftest.err
39609 } && test -s conftest$ac_exeext &&
39610 $as_test_x conftest$ac_exeext; then
39611 eval "$as_ac_var=yes"
39612 else
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39615
39616 eval "$as_ac_var=no"
39617 fi
39618
39619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39620 conftest$ac_exeext conftest.$ac_ext
39621 fi
39622 ac_res=`eval echo '${'$as_ac_var'}'`
39623 { echo "$as_me:$LINENO: result: $ac_res" >&5
39624 echo "${ECHO_T}$ac_res" >&6; }
39625 if test `eval echo '${'$as_ac_var'}'` = yes; then
39626 cat >>confdefs.h <<_ACEOF
39627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39628 _ACEOF
39629 break
39630 fi
39631 done
39632
39633 if test "$ac_cv_func_setenv" = "yes"; then
39634
39635 for ac_func in unsetenv
39636 do
39637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643 cat >conftest.$ac_ext <<_ACEOF
39644 /* confdefs.h. */
39645 _ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39651 #define $ac_func innocuous_$ac_func
39652
39653 /* System header to define __stub macros and hopefully few prototypes,
39654 which can conflict with char $ac_func (); below.
39655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39656 <limits.h> exists even on freestanding compilers. */
39657
39658 #ifdef __STDC__
39659 # include <limits.h>
39660 #else
39661 # include <assert.h>
39662 #endif
39663
39664 #undef $ac_func
39665
39666 /* Override any GCC internal prototype to avoid an error.
39667 Use char because int might match the return type of a GCC
39668 builtin and then its argument prototype would still apply. */
39669 #ifdef __cplusplus
39670 extern "C"
39671 #endif
39672 char $ac_func ();
39673 /* The GNU C library defines this for functions which it implements
39674 to always fail with ENOSYS. Some functions are actually named
39675 something starting with __ and the normal name is an alias. */
39676 #if defined __stub_$ac_func || defined __stub___$ac_func
39677 choke me
39678 #endif
39679
39680 int
39681 main ()
39682 {
39683 return $ac_func ();
39684 ;
39685 return 0;
39686 }
39687 _ACEOF
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (ac_try="$ac_link"
39690 case "(($ac_try" in
39691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39692 *) ac_try_echo=$ac_try;;
39693 esac
39694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39695 (eval "$ac_link") 2>conftest.er1
39696 ac_status=$?
39697 grep -v '^ *+' conftest.er1 >conftest.err
39698 rm -f conftest.er1
39699 cat conftest.err >&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); } && {
39702 test -z "$ac_c_werror_flag" ||
39703 test ! -s conftest.err
39704 } && test -s conftest$ac_exeext &&
39705 $as_test_x conftest$ac_exeext; then
39706 eval "$as_ac_var=yes"
39707 else
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.$ac_ext >&5
39710
39711 eval "$as_ac_var=no"
39712 fi
39713
39714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39715 conftest$ac_exeext conftest.$ac_ext
39716 fi
39717 ac_res=`eval echo '${'$as_ac_var'}'`
39718 { echo "$as_me:$LINENO: result: $ac_res" >&5
39719 echo "${ECHO_T}$ac_res" >&6; }
39720 if test `eval echo '${'$as_ac_var'}'` = yes; then
39721 cat >>confdefs.h <<_ACEOF
39722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39723 _ACEOF
39724
39725 fi
39726 done
39727
39728 fi
39729
39730 HAVE_SOME_SLEEP_FUNC=0
39731 if test "$USE_BEOS" = 1; then
39732 cat >>confdefs.h <<\_ACEOF
39733 #define HAVE_SLEEP 1
39734 _ACEOF
39735
39736 HAVE_SOME_SLEEP_FUNC=1
39737 fi
39738
39739 if test "$USE_DARWIN" = 1; then
39740 cat >>confdefs.h <<\_ACEOF
39741 #define HAVE_USLEEP 1
39742 _ACEOF
39743
39744 HAVE_SOME_SLEEP_FUNC=1
39745 fi
39746
39747 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39748 POSIX4_LINK=
39749
39750 for ac_func in nanosleep
39751 do
39752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39755 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define $ac_func innocuous_$ac_func
39767
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char $ac_func (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39772
39773 #ifdef __STDC__
39774 # include <limits.h>
39775 #else
39776 # include <assert.h>
39777 #endif
39778
39779 #undef $ac_func
39780
39781 /* Override any GCC internal prototype to avoid an error.
39782 Use char because int might match the return type of a GCC
39783 builtin and then its argument prototype would still apply. */
39784 #ifdef __cplusplus
39785 extern "C"
39786 #endif
39787 char $ac_func ();
39788 /* The GNU C library defines this for functions which it implements
39789 to always fail with ENOSYS. Some functions are actually named
39790 something starting with __ and the normal name is an alias. */
39791 #if defined __stub_$ac_func || defined __stub___$ac_func
39792 choke me
39793 #endif
39794
39795 int
39796 main ()
39797 {
39798 return $ac_func ();
39799 ;
39800 return 0;
39801 }
39802 _ACEOF
39803 rm -f conftest.$ac_objext conftest$ac_exeext
39804 if { (ac_try="$ac_link"
39805 case "(($ac_try" in
39806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39807 *) ac_try_echo=$ac_try;;
39808 esac
39809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39810 (eval "$ac_link") 2>conftest.er1
39811 ac_status=$?
39812 grep -v '^ *+' conftest.er1 >conftest.err
39813 rm -f conftest.er1
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } && {
39817 test -z "$ac_c_werror_flag" ||
39818 test ! -s conftest.err
39819 } && test -s conftest$ac_exeext &&
39820 $as_test_x conftest$ac_exeext; then
39821 eval "$as_ac_var=yes"
39822 else
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39825
39826 eval "$as_ac_var=no"
39827 fi
39828
39829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39830 conftest$ac_exeext conftest.$ac_ext
39831 fi
39832 ac_res=`eval echo '${'$as_ac_var'}'`
39833 { echo "$as_me:$LINENO: result: $ac_res" >&5
39834 echo "${ECHO_T}$ac_res" >&6; }
39835 if test `eval echo '${'$as_ac_var'}'` = yes; then
39836 cat >>confdefs.h <<_ACEOF
39837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39838 _ACEOF
39839 cat >>confdefs.h <<\_ACEOF
39840 #define HAVE_NANOSLEEP 1
39841 _ACEOF
39842
39843 else
39844
39845 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39846 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39847 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 else
39850 ac_check_lib_save_LIBS=$LIBS
39851 LIBS="-lposix4 $LIBS"
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858
39859 /* Override any GCC internal prototype to avoid an error.
39860 Use char because int might match the return type of a GCC
39861 builtin and then its argument prototype would still apply. */
39862 #ifdef __cplusplus
39863 extern "C"
39864 #endif
39865 char nanosleep ();
39866 int
39867 main ()
39868 {
39869 return nanosleep ();
39870 ;
39871 return 0;
39872 }
39873 _ACEOF
39874 rm -f conftest.$ac_objext conftest$ac_exeext
39875 if { (ac_try="$ac_link"
39876 case "(($ac_try" in
39877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39878 *) ac_try_echo=$ac_try;;
39879 esac
39880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39881 (eval "$ac_link") 2>conftest.er1
39882 ac_status=$?
39883 grep -v '^ *+' conftest.er1 >conftest.err
39884 rm -f conftest.er1
39885 cat conftest.err >&5
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); } && {
39888 test -z "$ac_c_werror_flag" ||
39889 test ! -s conftest.err
39890 } && test -s conftest$ac_exeext &&
39891 $as_test_x conftest$ac_exeext; then
39892 ac_cv_lib_posix4_nanosleep=yes
39893 else
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.$ac_ext >&5
39896
39897 ac_cv_lib_posix4_nanosleep=no
39898 fi
39899
39900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39901 conftest$ac_exeext conftest.$ac_ext
39902 LIBS=$ac_check_lib_save_LIBS
39903 fi
39904 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39905 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39906 if test $ac_cv_lib_posix4_nanosleep = yes; then
39907
39908 cat >>confdefs.h <<\_ACEOF
39909 #define HAVE_NANOSLEEP 1
39910 _ACEOF
39911
39912 POSIX4_LINK=" -lposix4"
39913
39914 else
39915
39916
39917 for wx_func in usleep
39918 do
39919 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39920 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39921 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 else
39924
39925 cat >conftest.$ac_ext <<_ACEOF
39926
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932
39933
39934 $ac_includes_default
39935
39936 int
39937 main ()
39938 {
39939
39940 #ifndef $wx_func
39941 &$wx_func;
39942 #endif
39943
39944
39945 ;
39946 return 0;
39947 }
39948
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval wx_cv_func_$wx_func=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 eval wx_cv_func_$wx_func=no
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978
39979 fi
39980 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39981 { echo "$as_me:$LINENO: result: $ac_res" >&5
39982 echo "${ECHO_T}$ac_res" >&6; }
39983
39984 if eval test \$wx_cv_func_$wx_func = yes
39985 then
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39988 _ACEOF
39989
39990
39991 else
39992 :
39993 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39994 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39995
39996 fi
39997 done
39998
39999
40000
40001 fi
40002
40003
40004
40005 fi
40006 done
40007
40008 fi
40009
40010
40011 for wx_func in uname
40012 do
40013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40015 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 else
40018
40019 cat >conftest.$ac_ext <<_ACEOF
40020
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026
40027 #include <sys/utsname.h>
40028 $ac_includes_default
40029
40030 int
40031 main ()
40032 {
40033
40034 #ifndef $wx_func
40035 &$wx_func;
40036 #endif
40037
40038
40039 ;
40040 return 0;
40041 }
40042
40043 _ACEOF
40044 rm -f conftest.$ac_objext conftest$ac_exeext
40045 if { (ac_try="$ac_link"
40046 case "(($ac_try" in
40047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40048 *) ac_try_echo=$ac_try;;
40049 esac
40050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40051 (eval "$ac_link") 2>conftest.er1
40052 ac_status=$?
40053 grep -v '^ *+' conftest.er1 >conftest.err
40054 rm -f conftest.er1
40055 cat conftest.err >&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } && {
40058 test -z "$ac_c_werror_flag" ||
40059 test ! -s conftest.err
40060 } && test -s conftest$ac_exeext &&
40061 $as_test_x conftest$ac_exeext; then
40062 eval wx_cv_func_$wx_func=yes
40063 else
40064 echo "$as_me: failed program was:" >&5
40065 sed 's/^/| /' conftest.$ac_ext >&5
40066
40067 eval wx_cv_func_$wx_func=no
40068 fi
40069
40070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40071 conftest$ac_exeext conftest.$ac_ext
40072
40073 fi
40074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40075 { echo "$as_me:$LINENO: result: $ac_res" >&5
40076 echo "${ECHO_T}$ac_res" >&6; }
40077
40078 if eval test \$wx_cv_func_$wx_func = yes
40079 then
40080 cat >>confdefs.h <<_ACEOF
40081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40082 _ACEOF
40083
40084
40085 else
40086 :
40087
40088 fi
40089 done
40090
40091 if test "$wx_cv_func_uname" != yes; then
40092
40093 for wx_func in gethostname
40094 do
40095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40099 else
40100
40101 cat >conftest.$ac_ext <<_ACEOF
40102
40103 /* confdefs.h. */
40104 _ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40108
40109
40110 $ac_includes_default
40111
40112 int
40113 main ()
40114 {
40115
40116 #ifndef $wx_func
40117 &$wx_func;
40118 #endif
40119
40120
40121 ;
40122 return 0;
40123 }
40124
40125 _ACEOF
40126 rm -f conftest.$ac_objext conftest$ac_exeext
40127 if { (ac_try="$ac_link"
40128 case "(($ac_try" in
40129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40131 esac
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_link") 2>conftest.er1
40134 ac_status=$?
40135 grep -v '^ *+' conftest.er1 >conftest.err
40136 rm -f conftest.er1
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest$ac_exeext &&
40143 $as_test_x conftest$ac_exeext; then
40144 eval wx_cv_func_$wx_func=yes
40145 else
40146 echo "$as_me: failed program was:" >&5
40147 sed 's/^/| /' conftest.$ac_ext >&5
40148
40149 eval wx_cv_func_$wx_func=no
40150 fi
40151
40152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40153 conftest$ac_exeext conftest.$ac_ext
40154
40155 fi
40156 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40157 { echo "$as_me:$LINENO: result: $ac_res" >&5
40158 echo "${ECHO_T}$ac_res" >&6; }
40159
40160 if eval test \$wx_cv_func_$wx_func = yes
40161 then
40162 cat >>confdefs.h <<_ACEOF
40163 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40164 _ACEOF
40165
40166
40167 else
40168 :
40169
40170 fi
40171 done
40172
40173 fi
40174
40175
40176 for wx_func in strtok_r
40177 do
40178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40182 else
40183
40184 cat >conftest.$ac_ext <<_ACEOF
40185
40186 /* confdefs.h. */
40187 _ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h. */
40191
40192 #define _REENTRANT
40193 $ac_includes_default
40194
40195 int
40196 main ()
40197 {
40198
40199 #ifndef $wx_func
40200 &$wx_func;
40201 #endif
40202
40203
40204 ;
40205 return 0;
40206 }
40207
40208 _ACEOF
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40213 *) ac_try_echo=$ac_try;;
40214 esac
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216 (eval "$ac_link") 2>conftest.er1
40217 ac_status=$?
40218 grep -v '^ *+' conftest.er1 >conftest.err
40219 rm -f conftest.er1
40220 cat conftest.err >&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } && {
40223 test -z "$ac_c_werror_flag" ||
40224 test ! -s conftest.err
40225 } && test -s conftest$ac_exeext &&
40226 $as_test_x conftest$ac_exeext; then
40227 eval wx_cv_func_$wx_func=yes
40228 else
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.$ac_ext >&5
40231
40232 eval wx_cv_func_$wx_func=no
40233 fi
40234
40235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40236 conftest$ac_exeext conftest.$ac_ext
40237
40238 fi
40239 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40240 { echo "$as_me:$LINENO: result: $ac_res" >&5
40241 echo "${ECHO_T}$ac_res" >&6; }
40242
40243 if eval test \$wx_cv_func_$wx_func = yes
40244 then
40245 cat >>confdefs.h <<_ACEOF
40246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40247 _ACEOF
40248
40249
40250 else
40251 :
40252
40253 fi
40254 done
40255
40256
40257 INET_LINK=
40258
40259 for ac_func in inet_addr
40260 do
40261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40265 echo $ECHO_N "(cached) $ECHO_C" >&6
40266 else
40267 cat >conftest.$ac_ext <<_ACEOF
40268 /* confdefs.h. */
40269 _ACEOF
40270 cat confdefs.h >>conftest.$ac_ext
40271 cat >>conftest.$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40275 #define $ac_func innocuous_$ac_func
40276
40277 /* System header to define __stub macros and hopefully few prototypes,
40278 which can conflict with char $ac_func (); below.
40279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40280 <limits.h> exists even on freestanding compilers. */
40281
40282 #ifdef __STDC__
40283 # include <limits.h>
40284 #else
40285 # include <assert.h>
40286 #endif
40287
40288 #undef $ac_func
40289
40290 /* Override any GCC internal prototype to avoid an error.
40291 Use char because int might match the return type of a GCC
40292 builtin and then its argument prototype would still apply. */
40293 #ifdef __cplusplus
40294 extern "C"
40295 #endif
40296 char $ac_func ();
40297 /* The GNU C library defines this for functions which it implements
40298 to always fail with ENOSYS. Some functions are actually named
40299 something starting with __ and the normal name is an alias. */
40300 #if defined __stub_$ac_func || defined __stub___$ac_func
40301 choke me
40302 #endif
40303
40304 int
40305 main ()
40306 {
40307 return $ac_func ();
40308 ;
40309 return 0;
40310 }
40311 _ACEOF
40312 rm -f conftest.$ac_objext conftest$ac_exeext
40313 if { (ac_try="$ac_link"
40314 case "(($ac_try" in
40315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40316 *) ac_try_echo=$ac_try;;
40317 esac
40318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40319 (eval "$ac_link") 2>conftest.er1
40320 ac_status=$?
40321 grep -v '^ *+' conftest.er1 >conftest.err
40322 rm -f conftest.er1
40323 cat conftest.err >&5
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); } && {
40326 test -z "$ac_c_werror_flag" ||
40327 test ! -s conftest.err
40328 } && test -s conftest$ac_exeext &&
40329 $as_test_x conftest$ac_exeext; then
40330 eval "$as_ac_var=yes"
40331 else
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.$ac_ext >&5
40334
40335 eval "$as_ac_var=no"
40336 fi
40337
40338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40339 conftest$ac_exeext conftest.$ac_ext
40340 fi
40341 ac_res=`eval echo '${'$as_ac_var'}'`
40342 { echo "$as_me:$LINENO: result: $ac_res" >&5
40343 echo "${ECHO_T}$ac_res" >&6; }
40344 if test `eval echo '${'$as_ac_var'}'` = yes; then
40345 cat >>confdefs.h <<_ACEOF
40346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40347 _ACEOF
40348 cat >>confdefs.h <<\_ACEOF
40349 #define HAVE_INET_ADDR 1
40350 _ACEOF
40351
40352 else
40353
40354 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40355 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40356 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40357 echo $ECHO_N "(cached) $ECHO_C" >&6
40358 else
40359 ac_check_lib_save_LIBS=$LIBS
40360 LIBS="-lnsl $LIBS"
40361 cat >conftest.$ac_ext <<_ACEOF
40362 /* confdefs.h. */
40363 _ACEOF
40364 cat confdefs.h >>conftest.$ac_ext
40365 cat >>conftest.$ac_ext <<_ACEOF
40366 /* end confdefs.h. */
40367
40368 /* Override any GCC internal prototype to avoid an error.
40369 Use char because int might match the return type of a GCC
40370 builtin and then its argument prototype would still apply. */
40371 #ifdef __cplusplus
40372 extern "C"
40373 #endif
40374 char inet_addr ();
40375 int
40376 main ()
40377 {
40378 return inet_addr ();
40379 ;
40380 return 0;
40381 }
40382 _ACEOF
40383 rm -f conftest.$ac_objext conftest$ac_exeext
40384 if { (ac_try="$ac_link"
40385 case "(($ac_try" in
40386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40387 *) ac_try_echo=$ac_try;;
40388 esac
40389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40390 (eval "$ac_link") 2>conftest.er1
40391 ac_status=$?
40392 grep -v '^ *+' conftest.er1 >conftest.err
40393 rm -f conftest.er1
40394 cat conftest.err >&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } && {
40397 test -z "$ac_c_werror_flag" ||
40398 test ! -s conftest.err
40399 } && test -s conftest$ac_exeext &&
40400 $as_test_x conftest$ac_exeext; then
40401 ac_cv_lib_nsl_inet_addr=yes
40402 else
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.$ac_ext >&5
40405
40406 ac_cv_lib_nsl_inet_addr=no
40407 fi
40408
40409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40410 conftest$ac_exeext conftest.$ac_ext
40411 LIBS=$ac_check_lib_save_LIBS
40412 fi
40413 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40414 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40415 if test $ac_cv_lib_nsl_inet_addr = yes; then
40416 INET_LINK="nsl"
40417 else
40418
40419 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40420 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40421 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40422 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 else
40424 ac_check_lib_save_LIBS=$LIBS
40425 LIBS="-lresolv $LIBS"
40426 cat >conftest.$ac_ext <<_ACEOF
40427 /* confdefs.h. */
40428 _ACEOF
40429 cat confdefs.h >>conftest.$ac_ext
40430 cat >>conftest.$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40432
40433 /* Override any GCC internal prototype to avoid an error.
40434 Use char because int might match the return type of a GCC
40435 builtin and then its argument prototype would still apply. */
40436 #ifdef __cplusplus
40437 extern "C"
40438 #endif
40439 char inet_addr ();
40440 int
40441 main ()
40442 {
40443 return inet_addr ();
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext conftest$ac_exeext
40449 if { (ac_try="$ac_link"
40450 case "(($ac_try" in
40451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40452 *) ac_try_echo=$ac_try;;
40453 esac
40454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40455 (eval "$ac_link") 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } && {
40462 test -z "$ac_c_werror_flag" ||
40463 test ! -s conftest.err
40464 } && test -s conftest$ac_exeext &&
40465 $as_test_x conftest$ac_exeext; then
40466 ac_cv_lib_resolv_inet_addr=yes
40467 else
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.$ac_ext >&5
40470
40471 ac_cv_lib_resolv_inet_addr=no
40472 fi
40473
40474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40475 conftest$ac_exeext conftest.$ac_ext
40476 LIBS=$ac_check_lib_save_LIBS
40477 fi
40478 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40479 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40480 if test $ac_cv_lib_resolv_inet_addr = yes; then
40481 INET_LINK="resolv"
40482 else
40483
40484 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40485 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40486 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40488 else
40489 ac_check_lib_save_LIBS=$LIBS
40490 LIBS="-lsocket $LIBS"
40491 cat >conftest.$ac_ext <<_ACEOF
40492 /* confdefs.h. */
40493 _ACEOF
40494 cat confdefs.h >>conftest.$ac_ext
40495 cat >>conftest.$ac_ext <<_ACEOF
40496 /* end confdefs.h. */
40497
40498 /* Override any GCC internal prototype to avoid an error.
40499 Use char because int might match the return type of a GCC
40500 builtin and then its argument prototype would still apply. */
40501 #ifdef __cplusplus
40502 extern "C"
40503 #endif
40504 char inet_addr ();
40505 int
40506 main ()
40507 {
40508 return inet_addr ();
40509 ;
40510 return 0;
40511 }
40512 _ACEOF
40513 rm -f conftest.$ac_objext conftest$ac_exeext
40514 if { (ac_try="$ac_link"
40515 case "(($ac_try" in
40516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40517 *) ac_try_echo=$ac_try;;
40518 esac
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_link") 2>conftest.er1
40521 ac_status=$?
40522 grep -v '^ *+' conftest.er1 >conftest.err
40523 rm -f conftest.er1
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } && {
40527 test -z "$ac_c_werror_flag" ||
40528 test ! -s conftest.err
40529 } && test -s conftest$ac_exeext &&
40530 $as_test_x conftest$ac_exeext; then
40531 ac_cv_lib_socket_inet_addr=yes
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40535
40536 ac_cv_lib_socket_inet_addr=no
40537 fi
40538
40539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40540 conftest$ac_exeext conftest.$ac_ext
40541 LIBS=$ac_check_lib_save_LIBS
40542 fi
40543 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40544 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40545 if test $ac_cv_lib_socket_inet_addr = yes; then
40546 INET_LINK="socket"
40547
40548 fi
40549
40550
40551
40552 fi
40553
40554
40555
40556 fi
40557
40558
40559
40560 fi
40561 done
40562
40563
40564
40565 for ac_func in inet_aton
40566 do
40567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40568 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40570 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 else
40573 cat >conftest.$ac_ext <<_ACEOF
40574 /* confdefs.h. */
40575 _ACEOF
40576 cat confdefs.h >>conftest.$ac_ext
40577 cat >>conftest.$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40581 #define $ac_func innocuous_$ac_func
40582
40583 /* System header to define __stub macros and hopefully few prototypes,
40584 which can conflict with char $ac_func (); below.
40585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40586 <limits.h> exists even on freestanding compilers. */
40587
40588 #ifdef __STDC__
40589 # include <limits.h>
40590 #else
40591 # include <assert.h>
40592 #endif
40593
40594 #undef $ac_func
40595
40596 /* Override any GCC internal prototype to avoid an error.
40597 Use char because int might match the return type of a GCC
40598 builtin and then its argument prototype would still apply. */
40599 #ifdef __cplusplus
40600 extern "C"
40601 #endif
40602 char $ac_func ();
40603 /* The GNU C library defines this for functions which it implements
40604 to always fail with ENOSYS. Some functions are actually named
40605 something starting with __ and the normal name is an alias. */
40606 #if defined __stub_$ac_func || defined __stub___$ac_func
40607 choke me
40608 #endif
40609
40610 int
40611 main ()
40612 {
40613 return $ac_func ();
40614 ;
40615 return 0;
40616 }
40617 _ACEOF
40618 rm -f conftest.$ac_objext conftest$ac_exeext
40619 if { (ac_try="$ac_link"
40620 case "(($ac_try" in
40621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40622 *) ac_try_echo=$ac_try;;
40623 esac
40624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40625 (eval "$ac_link") 2>conftest.er1
40626 ac_status=$?
40627 grep -v '^ *+' conftest.er1 >conftest.err
40628 rm -f conftest.er1
40629 cat conftest.err >&5
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); } && {
40632 test -z "$ac_c_werror_flag" ||
40633 test ! -s conftest.err
40634 } && test -s conftest$ac_exeext &&
40635 $as_test_x conftest$ac_exeext; then
40636 eval "$as_ac_var=yes"
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40640
40641 eval "$as_ac_var=no"
40642 fi
40643
40644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40645 conftest$ac_exeext conftest.$ac_ext
40646 fi
40647 ac_res=`eval echo '${'$as_ac_var'}'`
40648 { echo "$as_me:$LINENO: result: $ac_res" >&5
40649 echo "${ECHO_T}$ac_res" >&6; }
40650 if test `eval echo '${'$as_ac_var'}'` = yes; then
40651 cat >>confdefs.h <<_ACEOF
40652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40653 _ACEOF
40654 cat >>confdefs.h <<\_ACEOF
40655 #define HAVE_INET_ATON 1
40656 _ACEOF
40657
40658 else
40659
40660 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40661 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40662 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40663 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40664 echo $ECHO_N "(cached) $ECHO_C" >&6
40665 else
40666 ac_check_lib_save_LIBS=$LIBS
40667 LIBS="-l$INET_LINK $LIBS"
40668 cat >conftest.$ac_ext <<_ACEOF
40669 /* confdefs.h. */
40670 _ACEOF
40671 cat confdefs.h >>conftest.$ac_ext
40672 cat >>conftest.$ac_ext <<_ACEOF
40673 /* end confdefs.h. */
40674
40675 /* Override any GCC internal prototype to avoid an error.
40676 Use char because int might match the return type of a GCC
40677 builtin and then its argument prototype would still apply. */
40678 #ifdef __cplusplus
40679 extern "C"
40680 #endif
40681 char inet_aton ();
40682 int
40683 main ()
40684 {
40685 return inet_aton ();
40686 ;
40687 return 0;
40688 }
40689 _ACEOF
40690 rm -f conftest.$ac_objext conftest$ac_exeext
40691 if { (ac_try="$ac_link"
40692 case "(($ac_try" in
40693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40694 *) ac_try_echo=$ac_try;;
40695 esac
40696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40697 (eval "$ac_link") 2>conftest.er1
40698 ac_status=$?
40699 grep -v '^ *+' conftest.er1 >conftest.err
40700 rm -f conftest.er1
40701 cat conftest.err >&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); } && {
40704 test -z "$ac_c_werror_flag" ||
40705 test ! -s conftest.err
40706 } && test -s conftest$ac_exeext &&
40707 $as_test_x conftest$ac_exeext; then
40708 eval "$as_ac_Lib=yes"
40709 else
40710 echo "$as_me: failed program was:" >&5
40711 sed 's/^/| /' conftest.$ac_ext >&5
40712
40713 eval "$as_ac_Lib=no"
40714 fi
40715
40716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40717 conftest$ac_exeext conftest.$ac_ext
40718 LIBS=$ac_check_lib_save_LIBS
40719 fi
40720 ac_res=`eval echo '${'$as_ac_Lib'}'`
40721 { echo "$as_me:$LINENO: result: $ac_res" >&5
40722 echo "${ECHO_T}$ac_res" >&6; }
40723 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40724 cat >>confdefs.h <<\_ACEOF
40725 #define HAVE_INET_ATON 1
40726 _ACEOF
40727
40728 fi
40729
40730
40731 fi
40732 done
40733
40734
40735 if test "x$INET_LINK" != "x"; then
40736 cat >>confdefs.h <<\_ACEOF
40737 #define HAVE_INET_ADDR 1
40738 _ACEOF
40739
40740 INET_LINK=" -l$INET_LINK"
40741 fi
40742
40743
40744 for wx_func in fdopen
40745 do
40746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40748 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 else
40751
40752 cat >conftest.$ac_ext <<_ACEOF
40753
40754 /* confdefs.h. */
40755 _ACEOF
40756 cat confdefs.h >>conftest.$ac_ext
40757 cat >>conftest.$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40759
40760
40761 $ac_includes_default
40762
40763 int
40764 main ()
40765 {
40766
40767 #ifndef $wx_func
40768 &$wx_func;
40769 #endif
40770
40771
40772 ;
40773 return 0;
40774 }
40775
40776 _ACEOF
40777 rm -f conftest.$ac_objext conftest$ac_exeext
40778 if { (ac_try="$ac_link"
40779 case "(($ac_try" in
40780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40781 *) ac_try_echo=$ac_try;;
40782 esac
40783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40784 (eval "$ac_link") 2>conftest.er1
40785 ac_status=$?
40786 grep -v '^ *+' conftest.er1 >conftest.err
40787 rm -f conftest.er1
40788 cat conftest.err >&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && {
40791 test -z "$ac_c_werror_flag" ||
40792 test ! -s conftest.err
40793 } && test -s conftest$ac_exeext &&
40794 $as_test_x conftest$ac_exeext; then
40795 eval wx_cv_func_$wx_func=yes
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800 eval wx_cv_func_$wx_func=no
40801 fi
40802
40803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40804 conftest$ac_exeext conftest.$ac_ext
40805
40806 fi
40807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40808 { echo "$as_me:$LINENO: result: $ac_res" >&5
40809 echo "${ECHO_T}$ac_res" >&6; }
40810
40811 if eval test \$wx_cv_func_$wx_func = yes
40812 then
40813 cat >>confdefs.h <<_ACEOF
40814 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40815 _ACEOF
40816
40817
40818 else
40819 :
40820
40821 fi
40822 done
40823
40824
40825 if test "$wxUSE_TARSTREAM" = "yes"; then
40826
40827 for wx_func in sysconf
40828 do
40829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40833 else
40834
40835 cat >conftest.$ac_ext <<_ACEOF
40836
40837 /* confdefs.h. */
40838 _ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842
40843
40844 $ac_includes_default
40845
40846 int
40847 main ()
40848 {
40849
40850 #ifndef $wx_func
40851 &$wx_func;
40852 #endif
40853
40854
40855 ;
40856 return 0;
40857 }
40858
40859 _ACEOF
40860 rm -f conftest.$ac_objext conftest$ac_exeext
40861 if { (ac_try="$ac_link"
40862 case "(($ac_try" in
40863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40864 *) ac_try_echo=$ac_try;;
40865 esac
40866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40867 (eval "$ac_link") 2>conftest.er1
40868 ac_status=$?
40869 grep -v '^ *+' conftest.er1 >conftest.err
40870 rm -f conftest.er1
40871 cat conftest.err >&5
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); } && {
40874 test -z "$ac_c_werror_flag" ||
40875 test ! -s conftest.err
40876 } && test -s conftest$ac_exeext &&
40877 $as_test_x conftest$ac_exeext; then
40878 eval wx_cv_func_$wx_func=yes
40879 else
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.$ac_ext >&5
40882
40883 eval wx_cv_func_$wx_func=no
40884 fi
40885
40886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40887 conftest$ac_exeext conftest.$ac_ext
40888
40889 fi
40890 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40891 { echo "$as_me:$LINENO: result: $ac_res" >&5
40892 echo "${ECHO_T}$ac_res" >&6; }
40893
40894 if eval test \$wx_cv_func_$wx_func = yes
40895 then
40896 cat >>confdefs.h <<_ACEOF
40897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40898 _ACEOF
40899
40900
40901 else
40902 :
40903
40904 fi
40905 done
40906
40907
40908
40909 for wx_func in getpwuid_r
40910 do
40911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40914 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 else
40916
40917 cat >conftest.$ac_ext <<_ACEOF
40918
40919 /* confdefs.h. */
40920 _ACEOF
40921 cat confdefs.h >>conftest.$ac_ext
40922 cat >>conftest.$ac_ext <<_ACEOF
40923 /* end confdefs.h. */
40924
40925
40926 #define _REENTRANT
40927 #include <pwd.h>
40928
40929 $ac_includes_default
40930
40931 int
40932 main ()
40933 {
40934
40935 #ifndef $wx_func
40936 &$wx_func;
40937 #endif
40938
40939 struct passwd pw, *ppw;
40940 char buf[1024];
40941 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40942
40943
40944 ;
40945 return 0;
40946 }
40947
40948 _ACEOF
40949 rm -f conftest.$ac_objext conftest$ac_exeext
40950 if { (ac_try="$ac_link"
40951 case "(($ac_try" in
40952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40953 *) ac_try_echo=$ac_try;;
40954 esac
40955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40956 (eval "$ac_link") 2>conftest.er1
40957 ac_status=$?
40958 grep -v '^ *+' conftest.er1 >conftest.err
40959 rm -f conftest.er1
40960 cat conftest.err >&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } && {
40963 test -z "$ac_c_werror_flag" ||
40964 test ! -s conftest.err
40965 } && test -s conftest$ac_exeext &&
40966 $as_test_x conftest$ac_exeext; then
40967 eval wx_cv_func_$wx_func=yes
40968 else
40969 echo "$as_me: failed program was:" >&5
40970 sed 's/^/| /' conftest.$ac_ext >&5
40971
40972 eval wx_cv_func_$wx_func=no
40973 fi
40974
40975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40976 conftest$ac_exeext conftest.$ac_ext
40977
40978 fi
40979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40980 { echo "$as_me:$LINENO: result: $ac_res" >&5
40981 echo "${ECHO_T}$ac_res" >&6; }
40982
40983 if eval test \$wx_cv_func_$wx_func = yes
40984 then
40985 cat >>confdefs.h <<_ACEOF
40986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40987 _ACEOF
40988
40989
40990 else
40991 :
40992
40993 fi
40994 done
40995
40996
40997
40998 for wx_func in getgrgid_r
40999 do
41000 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41001 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41002 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41003 echo $ECHO_N "(cached) $ECHO_C" >&6
41004 else
41005
41006 cat >conftest.$ac_ext <<_ACEOF
41007
41008 /* confdefs.h. */
41009 _ACEOF
41010 cat confdefs.h >>conftest.$ac_ext
41011 cat >>conftest.$ac_ext <<_ACEOF
41012 /* end confdefs.h. */
41013
41014
41015 #define _REENTRANT
41016 #include <grp.h>
41017
41018 $ac_includes_default
41019
41020 int
41021 main ()
41022 {
41023
41024 #ifndef $wx_func
41025 &$wx_func;
41026 #endif
41027
41028 struct group grp, *pgrp;
41029 char buf[1024];
41030 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41031
41032
41033 ;
41034 return 0;
41035 }
41036
41037 _ACEOF
41038 rm -f conftest.$ac_objext conftest$ac_exeext
41039 if { (ac_try="$ac_link"
41040 case "(($ac_try" in
41041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41042 *) ac_try_echo=$ac_try;;
41043 esac
41044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41045 (eval "$ac_link") 2>conftest.er1
41046 ac_status=$?
41047 grep -v '^ *+' conftest.er1 >conftest.err
41048 rm -f conftest.er1
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } && {
41052 test -z "$ac_c_werror_flag" ||
41053 test ! -s conftest.err
41054 } && test -s conftest$ac_exeext &&
41055 $as_test_x conftest$ac_exeext; then
41056 eval wx_cv_func_$wx_func=yes
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41060
41061 eval wx_cv_func_$wx_func=no
41062 fi
41063
41064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41065 conftest$ac_exeext conftest.$ac_ext
41066
41067 fi
41068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41069 { echo "$as_me:$LINENO: result: $ac_res" >&5
41070 echo "${ECHO_T}$ac_res" >&6; }
41071
41072 if eval test \$wx_cv_func_$wx_func = yes
41073 then
41074 cat >>confdefs.h <<_ACEOF
41075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41076 _ACEOF
41077
41078
41079 else
41080 :
41081
41082 fi
41083 done
41084
41085 fi
41086
41087 fi
41088
41089
41090
41091 cat >confcache <<\_ACEOF
41092 # This file is a shell script that caches the results of configure
41093 # tests run on this system so they can be shared between configure
41094 # scripts and configure runs, see configure's option --config-cache.
41095 # It is not useful on other systems. If it contains results you don't
41096 # want to keep, you may remove or edit it.
41097 #
41098 # config.status only pays attention to the cache file if you give it
41099 # the --recheck option to rerun configure.
41100 #
41101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41103 # following values.
41104
41105 _ACEOF
41106
41107 # The following way of writing the cache mishandles newlines in values,
41108 # but we know of no workaround that is simple, portable, and efficient.
41109 # So, we kill variables containing newlines.
41110 # Ultrix sh set writes to stderr and can't be redirected directly,
41111 # and sets the high bit in the cache file unless we assign to the vars.
41112 (
41113 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41114 eval ac_val=\$$ac_var
41115 case $ac_val in #(
41116 *${as_nl}*)
41117 case $ac_var in #(
41118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41120 esac
41121 case $ac_var in #(
41122 _ | IFS | as_nl) ;; #(
41123 *) $as_unset $ac_var ;;
41124 esac ;;
41125 esac
41126 done
41127
41128 (set) 2>&1 |
41129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41130 *${as_nl}ac_space=\ *)
41131 # `set' does not quote correctly, so add quotes (double-quote
41132 # substitution turns \\\\ into \\, and sed turns \\ into \).
41133 sed -n \
41134 "s/'/'\\\\''/g;
41135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41136 ;; #(
41137 *)
41138 # `set' quotes correctly as required by POSIX, so do not add quotes.
41139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41140 ;;
41141 esac |
41142 sort
41143 ) |
41144 sed '
41145 /^ac_cv_env_/b end
41146 t clear
41147 :clear
41148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41149 t end
41150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41151 :end' >>confcache
41152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41153 if test -w "$cache_file"; then
41154 test "x$cache_file" != "x/dev/null" &&
41155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41156 echo "$as_me: updating cache $cache_file" >&6;}
41157 cat confcache >$cache_file
41158 else
41159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41161 fi
41162 fi
41163 rm -f confcache
41164
41165
41166 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41167
41168
41169 THREADS_LINK=
41170 THREADS_CFLAGS=
41171
41172 if test "$wxUSE_THREADS" = "yes" ; then
41173 if test "$USE_BEOS" = 1; then
41174 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41175 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41176 wxUSE_THREADS="no"
41177 fi
41178 fi
41179
41180 if test "$wxUSE_THREADS" = "yes" ; then
41181
41182
41183 THREAD_OPTS="-pthread"
41184 if test "x$SUNCXX" = xyes; then
41185 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41186 fi
41187
41188 case "${host}" in
41189 *-*-solaris2* | *-*-sunos4* )
41190 if test "x$GCC" = "xyes"; then
41191 THREAD_OPTS="-pthreads $THREAD_OPTS"
41192 fi
41193 ;;
41194 *-*-freebsd*)
41195 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41196 ;;
41197 *-*-darwin* | *-*-cygwin* )
41198 THREAD_OPTS=""
41199 ;;
41200 *-*-aix*)
41201 THREAD_OPTS="pthreads"
41202 ;;
41203 *-hp-hpux* )
41204 if test "x$GCC" = "xyes"; then
41205 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41206 THREAD_OPTS=""
41207 else
41208 THREAD_OPTS="-mt"
41209 fi
41210 ;;
41211
41212 *-*-irix* )
41213 if test "x$GCC" = "xyes"; then
41214 THREAD_OPTS=""
41215 fi
41216 ;;
41217
41218 *-*-*UnixWare*)
41219 if test "x$GCC" != "xyes"; then
41220 THREAD_OPTS="-Ethread"
41221 fi
41222 ;;
41223 esac
41224
41225 THREAD_OPTS="$THREAD_OPTS pthread none"
41226
41227 THREADS_OK=no
41228 for flag in $THREAD_OPTS; do
41229 case $flag in
41230 none)
41231 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41232 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41233 ;;
41234
41235 -*)
41236 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41237 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41238 THREADS_CFLAGS="$flag"
41239 ;;
41240
41241 *)
41242 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41243 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41244 THREADS_LINK="-l$flag"
41245 ;;
41246 esac
41247
41248 save_LIBS="$LIBS"
41249 save_CFLAGS="$CFLAGS"
41250 LIBS="$THREADS_LINK $LIBS"
41251 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41252
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 #include <pthread.h>
41260 int
41261 main ()
41262 {
41263 pthread_create(0,0,0,0);
41264 ;
41265 return 0;
41266 }
41267 _ACEOF
41268 rm -f conftest.$ac_objext conftest$ac_exeext
41269 if { (ac_try="$ac_link"
41270 case "(($ac_try" in
41271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41272 *) ac_try_echo=$ac_try;;
41273 esac
41274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41275 (eval "$ac_link") 2>conftest.er1
41276 ac_status=$?
41277 grep -v '^ *+' conftest.er1 >conftest.err
41278 rm -f conftest.er1
41279 cat conftest.err >&5
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); } && {
41282 test -z "$ac_c_werror_flag" ||
41283 test ! -s conftest.err
41284 } && test -s conftest$ac_exeext &&
41285 $as_test_x conftest$ac_exeext; then
41286 THREADS_OK=yes
41287 else
41288 echo "$as_me: failed program was:" >&5
41289 sed 's/^/| /' conftest.$ac_ext >&5
41290
41291
41292 fi
41293
41294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41295 conftest$ac_exeext conftest.$ac_ext
41296
41297 LIBS="$save_LIBS"
41298 CFLAGS="$save_CFLAGS"
41299
41300 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41301 echo "${ECHO_T}$THREADS_OK" >&6; }
41302 if test "x$THREADS_OK" = "xyes"; then
41303 break;
41304 fi
41305
41306 THREADS_LINK=""
41307 THREADS_CFLAGS=""
41308 done
41309
41310 if test "x$THREADS_OK" != "xyes"; then
41311 wxUSE_THREADS=no
41312 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41313 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41314 else
41315 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41316 LIBS="$THREADS_LINK $LIBS"
41317
41318 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41319 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41320 flag=no
41321 case "${host}" in
41322 *-aix*)
41323 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41324 flag="-D_THREAD_SAFE"
41325 ;;
41326 *-freebsd*)
41327 flag="-D_THREAD_SAFE"
41328 ;;
41329 *-hp-hpux* )
41330 flag="-D_REENTRANT"
41331 if test "x$GCC" != "xyes"; then
41332 flag="$flag -D_RWSTD_MULTI_THREAD"
41333 fi
41334 ;;
41335 *solaris* | alpha*-osf*)
41336 flag="-D_REENTRANT"
41337 ;;
41338 esac
41339 { echo "$as_me:$LINENO: result: ${flag}" >&5
41340 echo "${ECHO_T}${flag}" >&6; }
41341 if test "x$flag" != xno; then
41342 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41343 fi
41344
41345 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41346 fi
41347 fi
41348
41349 if test "$wxUSE_THREADS" = "yes" ; then
41350
41351 for ac_func in thr_setconcurrency
41352 do
41353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41354 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41356 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41357 echo $ECHO_N "(cached) $ECHO_C" >&6
41358 else
41359 cat >conftest.$ac_ext <<_ACEOF
41360 /* confdefs.h. */
41361 _ACEOF
41362 cat confdefs.h >>conftest.$ac_ext
41363 cat >>conftest.$ac_ext <<_ACEOF
41364 /* end confdefs.h. */
41365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41367 #define $ac_func innocuous_$ac_func
41368
41369 /* System header to define __stub macros and hopefully few prototypes,
41370 which can conflict with char $ac_func (); below.
41371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41372 <limits.h> exists even on freestanding compilers. */
41373
41374 #ifdef __STDC__
41375 # include <limits.h>
41376 #else
41377 # include <assert.h>
41378 #endif
41379
41380 #undef $ac_func
41381
41382 /* Override any GCC internal prototype to avoid an error.
41383 Use char because int might match the return type of a GCC
41384 builtin and then its argument prototype would still apply. */
41385 #ifdef __cplusplus
41386 extern "C"
41387 #endif
41388 char $ac_func ();
41389 /* The GNU C library defines this for functions which it implements
41390 to always fail with ENOSYS. Some functions are actually named
41391 something starting with __ and the normal name is an alias. */
41392 #if defined __stub_$ac_func || defined __stub___$ac_func
41393 choke me
41394 #endif
41395
41396 int
41397 main ()
41398 {
41399 return $ac_func ();
41400 ;
41401 return 0;
41402 }
41403 _ACEOF
41404 rm -f conftest.$ac_objext conftest$ac_exeext
41405 if { (ac_try="$ac_link"
41406 case "(($ac_try" in
41407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41408 *) ac_try_echo=$ac_try;;
41409 esac
41410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41411 (eval "$ac_link") 2>conftest.er1
41412 ac_status=$?
41413 grep -v '^ *+' conftest.er1 >conftest.err
41414 rm -f conftest.er1
41415 cat conftest.err >&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); } && {
41418 test -z "$ac_c_werror_flag" ||
41419 test ! -s conftest.err
41420 } && test -s conftest$ac_exeext &&
41421 $as_test_x conftest$ac_exeext; then
41422 eval "$as_ac_var=yes"
41423 else
41424 echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.$ac_ext >&5
41426
41427 eval "$as_ac_var=no"
41428 fi
41429
41430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41431 conftest$ac_exeext conftest.$ac_ext
41432 fi
41433 ac_res=`eval echo '${'$as_ac_var'}'`
41434 { echo "$as_me:$LINENO: result: $ac_res" >&5
41435 echo "${ECHO_T}$ac_res" >&6; }
41436 if test `eval echo '${'$as_ac_var'}'` = yes; then
41437 cat >>confdefs.h <<_ACEOF
41438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41439 _ACEOF
41440
41441 fi
41442 done
41443
41444
41445 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41446 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41447 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41449 else
41450
41451 ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456
41457 cat >conftest.$ac_ext <<_ACEOF
41458 /* confdefs.h. */
41459 _ACEOF
41460 cat confdefs.h >>conftest.$ac_ext
41461 cat >>conftest.$ac_ext <<_ACEOF
41462 /* end confdefs.h. */
41463 #include <pthread.h>
41464 void ThreadCleanupFunc(void *p);
41465
41466 int
41467 main ()
41468 {
41469
41470 void *p;
41471 pthread_cleanup_push(ThreadCleanupFunc, p);
41472 pthread_cleanup_pop(0);
41473
41474 ;
41475 return 0;
41476 }
41477 _ACEOF
41478 rm -f conftest.$ac_objext
41479 if { (ac_try="$ac_compile"
41480 case "(($ac_try" in
41481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41482 *) ac_try_echo=$ac_try;;
41483 esac
41484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41485 (eval "$ac_compile") 2>conftest.er1
41486 ac_status=$?
41487 grep -v '^ *+' conftest.er1 >conftest.err
41488 rm -f conftest.er1
41489 cat conftest.err >&5
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); } && {
41492 test -z "$ac_cxx_werror_flag" ||
41493 test ! -s conftest.err
41494 } && test -s conftest.$ac_objext; then
41495
41496 wx_cv_func_pthread_cleanup=yes
41497
41498 else
41499 echo "$as_me: failed program was:" >&5
41500 sed 's/^/| /' conftest.$ac_ext >&5
41501
41502
41503 wx_cv_func_pthread_cleanup=no
41504
41505
41506 fi
41507
41508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41509 ac_ext=c
41510 ac_cpp='$CPP $CPPFLAGS'
41511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41514
41515
41516 fi
41517 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41518 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41519 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41520 cat >>confdefs.h <<\_ACEOF
41521 #define wxHAVE_PTHREAD_CLEANUP 1
41522 _ACEOF
41523
41524 fi
41525
41526
41527 for ac_header in sched.h
41528 do
41529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41530 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41533 echo $ECHO_N "(cached) $ECHO_C" >&6
41534 else
41535 cat >conftest.$ac_ext <<_ACEOF
41536 /* confdefs.h. */
41537 _ACEOF
41538 cat confdefs.h >>conftest.$ac_ext
41539 cat >>conftest.$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41541 $ac_includes_default
41542
41543 #include <$ac_header>
41544 _ACEOF
41545 rm -f conftest.$ac_objext
41546 if { (ac_try="$ac_compile"
41547 case "(($ac_try" in
41548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41549 *) ac_try_echo=$ac_try;;
41550 esac
41551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41552 (eval "$ac_compile") 2>conftest.er1
41553 ac_status=$?
41554 grep -v '^ *+' conftest.er1 >conftest.err
41555 rm -f conftest.er1
41556 cat conftest.err >&5
41557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41558 (exit $ac_status); } && {
41559 test -z "$ac_c_werror_flag" ||
41560 test ! -s conftest.err
41561 } && test -s conftest.$ac_objext; then
41562 eval "$as_ac_Header=yes"
41563 else
41564 echo "$as_me: failed program was:" >&5
41565 sed 's/^/| /' conftest.$ac_ext >&5
41566
41567 eval "$as_ac_Header=no"
41568 fi
41569
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 fi
41572 ac_res=`eval echo '${'$as_ac_Header'}'`
41573 { echo "$as_me:$LINENO: result: $ac_res" >&5
41574 echo "${ECHO_T}$ac_res" >&6; }
41575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41576 cat >>confdefs.h <<_ACEOF
41577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41578 _ACEOF
41579
41580 fi
41581
41582 done
41583
41584 if test "$ac_cv_header_sched_h" = "yes"; then
41585 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41586 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41587 if test "${ac_cv_func_sched_yield+set}" = set; then
41588 echo $ECHO_N "(cached) $ECHO_C" >&6
41589 else
41590 cat >conftest.$ac_ext <<_ACEOF
41591 /* confdefs.h. */
41592 _ACEOF
41593 cat confdefs.h >>conftest.$ac_ext
41594 cat >>conftest.$ac_ext <<_ACEOF
41595 /* end confdefs.h. */
41596 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41598 #define sched_yield innocuous_sched_yield
41599
41600 /* System header to define __stub macros and hopefully few prototypes,
41601 which can conflict with char sched_yield (); below.
41602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41603 <limits.h> exists even on freestanding compilers. */
41604
41605 #ifdef __STDC__
41606 # include <limits.h>
41607 #else
41608 # include <assert.h>
41609 #endif
41610
41611 #undef sched_yield
41612
41613 /* Override any GCC internal prototype to avoid an error.
41614 Use char because int might match the return type of a GCC
41615 builtin and then its argument prototype would still apply. */
41616 #ifdef __cplusplus
41617 extern "C"
41618 #endif
41619 char sched_yield ();
41620 /* The GNU C library defines this for functions which it implements
41621 to always fail with ENOSYS. Some functions are actually named
41622 something starting with __ and the normal name is an alias. */
41623 #if defined __stub_sched_yield || defined __stub___sched_yield
41624 choke me
41625 #endif
41626
41627 int
41628 main ()
41629 {
41630 return sched_yield ();
41631 ;
41632 return 0;
41633 }
41634 _ACEOF
41635 rm -f conftest.$ac_objext conftest$ac_exeext
41636 if { (ac_try="$ac_link"
41637 case "(($ac_try" in
41638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41639 *) ac_try_echo=$ac_try;;
41640 esac
41641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41642 (eval "$ac_link") 2>conftest.er1
41643 ac_status=$?
41644 grep -v '^ *+' conftest.er1 >conftest.err
41645 rm -f conftest.er1
41646 cat conftest.err >&5
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); } && {
41649 test -z "$ac_c_werror_flag" ||
41650 test ! -s conftest.err
41651 } && test -s conftest$ac_exeext &&
41652 $as_test_x conftest$ac_exeext; then
41653 ac_cv_func_sched_yield=yes
41654 else
41655 echo "$as_me: failed program was:" >&5
41656 sed 's/^/| /' conftest.$ac_ext >&5
41657
41658 ac_cv_func_sched_yield=no
41659 fi
41660
41661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41662 conftest$ac_exeext conftest.$ac_ext
41663 fi
41664 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41665 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41666 if test $ac_cv_func_sched_yield = yes; then
41667 cat >>confdefs.h <<\_ACEOF
41668 #define HAVE_SCHED_YIELD 1
41669 _ACEOF
41670
41671 else
41672
41673 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41674 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41675 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41676 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 else
41678 ac_check_lib_save_LIBS=$LIBS
41679 LIBS="-lposix4 $LIBS"
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h. */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686
41687 /* Override any GCC internal prototype to avoid an error.
41688 Use char because int might match the return type of a GCC
41689 builtin and then its argument prototype would still apply. */
41690 #ifdef __cplusplus
41691 extern "C"
41692 #endif
41693 char sched_yield ();
41694 int
41695 main ()
41696 {
41697 return sched_yield ();
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41707 esac
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest$ac_exeext &&
41719 $as_test_x conftest$ac_exeext; then
41720 ac_cv_lib_posix4_sched_yield=yes
41721 else
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41724
41725 ac_cv_lib_posix4_sched_yield=no
41726 fi
41727
41728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41729 conftest$ac_exeext conftest.$ac_ext
41730 LIBS=$ac_check_lib_save_LIBS
41731 fi
41732 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41733 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41734 if test $ac_cv_lib_posix4_sched_yield = yes; then
41735 cat >>confdefs.h <<\_ACEOF
41736 #define HAVE_SCHED_YIELD 1
41737 _ACEOF
41738 POSIX4_LINK=" -lposix4"
41739 else
41740 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41741 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41742
41743 fi
41744
41745
41746
41747 fi
41748
41749 fi
41750
41751 HAVE_PRIOR_FUNCS=0
41752 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41753 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41754 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41755 echo $ECHO_N "(cached) $ECHO_C" >&6
41756 else
41757 cat >conftest.$ac_ext <<_ACEOF
41758 /* confdefs.h. */
41759 _ACEOF
41760 cat confdefs.h >>conftest.$ac_ext
41761 cat >>conftest.$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41763 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41765 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41766
41767 /* System header to define __stub macros and hopefully few prototypes,
41768 which can conflict with char pthread_attr_getschedpolicy (); below.
41769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41770 <limits.h> exists even on freestanding compilers. */
41771
41772 #ifdef __STDC__
41773 # include <limits.h>
41774 #else
41775 # include <assert.h>
41776 #endif
41777
41778 #undef pthread_attr_getschedpolicy
41779
41780 /* Override any GCC internal prototype to avoid an error.
41781 Use char because int might match the return type of a GCC
41782 builtin and then its argument prototype would still apply. */
41783 #ifdef __cplusplus
41784 extern "C"
41785 #endif
41786 char pthread_attr_getschedpolicy ();
41787 /* The GNU C library defines this for functions which it implements
41788 to always fail with ENOSYS. Some functions are actually named
41789 something starting with __ and the normal name is an alias. */
41790 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41791 choke me
41792 #endif
41793
41794 int
41795 main ()
41796 {
41797 return pthread_attr_getschedpolicy ();
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 rm -f conftest.$ac_objext conftest$ac_exeext
41803 if { (ac_try="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41807 esac
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41810 ac_status=$?
41811 grep -v '^ *+' conftest.er1 >conftest.err
41812 rm -f conftest.er1
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_c_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest$ac_exeext &&
41819 $as_test_x conftest$ac_exeext; then
41820 ac_cv_func_pthread_attr_getschedpolicy=yes
41821 else
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825 ac_cv_func_pthread_attr_getschedpolicy=no
41826 fi
41827
41828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41829 conftest$ac_exeext conftest.$ac_ext
41830 fi
41831 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41832 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41833 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41834 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41835 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41836 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41837 echo $ECHO_N "(cached) $ECHO_C" >&6
41838 else
41839 cat >conftest.$ac_ext <<_ACEOF
41840 /* confdefs.h. */
41841 _ACEOF
41842 cat confdefs.h >>conftest.$ac_ext
41843 cat >>conftest.$ac_ext <<_ACEOF
41844 /* end confdefs.h. */
41845 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41847 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41848
41849 /* System header to define __stub macros and hopefully few prototypes,
41850 which can conflict with char pthread_attr_setschedparam (); below.
41851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41852 <limits.h> exists even on freestanding compilers. */
41853
41854 #ifdef __STDC__
41855 # include <limits.h>
41856 #else
41857 # include <assert.h>
41858 #endif
41859
41860 #undef pthread_attr_setschedparam
41861
41862 /* Override any GCC internal prototype to avoid an error.
41863 Use char because int might match the return type of a GCC
41864 builtin and then its argument prototype would still apply. */
41865 #ifdef __cplusplus
41866 extern "C"
41867 #endif
41868 char pthread_attr_setschedparam ();
41869 /* The GNU C library defines this for functions which it implements
41870 to always fail with ENOSYS. Some functions are actually named
41871 something starting with __ and the normal name is an alias. */
41872 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41873 choke me
41874 #endif
41875
41876 int
41877 main ()
41878 {
41879 return pthread_attr_setschedparam ();
41880 ;
41881 return 0;
41882 }
41883 _ACEOF
41884 rm -f conftest.$ac_objext conftest$ac_exeext
41885 if { (ac_try="$ac_link"
41886 case "(($ac_try" in
41887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41888 *) ac_try_echo=$ac_try;;
41889 esac
41890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41891 (eval "$ac_link") 2>conftest.er1
41892 ac_status=$?
41893 grep -v '^ *+' conftest.er1 >conftest.err
41894 rm -f conftest.er1
41895 cat conftest.err >&5
41896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41897 (exit $ac_status); } && {
41898 test -z "$ac_c_werror_flag" ||
41899 test ! -s conftest.err
41900 } && test -s conftest$ac_exeext &&
41901 $as_test_x conftest$ac_exeext; then
41902 ac_cv_func_pthread_attr_setschedparam=yes
41903 else
41904 echo "$as_me: failed program was:" >&5
41905 sed 's/^/| /' conftest.$ac_ext >&5
41906
41907 ac_cv_func_pthread_attr_setschedparam=no
41908 fi
41909
41910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41911 conftest$ac_exeext conftest.$ac_ext
41912 fi
41913 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41914 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41915 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41916 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41917 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41918 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 else
41921 cat >conftest.$ac_ext <<_ACEOF
41922 /* confdefs.h. */
41923 _ACEOF
41924 cat confdefs.h >>conftest.$ac_ext
41925 cat >>conftest.$ac_ext <<_ACEOF
41926 /* end confdefs.h. */
41927 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41929 #define sched_get_priority_max innocuous_sched_get_priority_max
41930
41931 /* System header to define __stub macros and hopefully few prototypes,
41932 which can conflict with char sched_get_priority_max (); below.
41933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41934 <limits.h> exists even on freestanding compilers. */
41935
41936 #ifdef __STDC__
41937 # include <limits.h>
41938 #else
41939 # include <assert.h>
41940 #endif
41941
41942 #undef sched_get_priority_max
41943
41944 /* Override any GCC internal prototype to avoid an error.
41945 Use char because int might match the return type of a GCC
41946 builtin and then its argument prototype would still apply. */
41947 #ifdef __cplusplus
41948 extern "C"
41949 #endif
41950 char sched_get_priority_max ();
41951 /* The GNU C library defines this for functions which it implements
41952 to always fail with ENOSYS. Some functions are actually named
41953 something starting with __ and the normal name is an alias. */
41954 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41955 choke me
41956 #endif
41957
41958 int
41959 main ()
41960 {
41961 return sched_get_priority_max ();
41962 ;
41963 return 0;
41964 }
41965 _ACEOF
41966 rm -f conftest.$ac_objext conftest$ac_exeext
41967 if { (ac_try="$ac_link"
41968 case "(($ac_try" in
41969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41970 *) ac_try_echo=$ac_try;;
41971 esac
41972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41973 (eval "$ac_link") 2>conftest.er1
41974 ac_status=$?
41975 grep -v '^ *+' conftest.er1 >conftest.err
41976 rm -f conftest.er1
41977 cat conftest.err >&5
41978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41979 (exit $ac_status); } && {
41980 test -z "$ac_c_werror_flag" ||
41981 test ! -s conftest.err
41982 } && test -s conftest$ac_exeext &&
41983 $as_test_x conftest$ac_exeext; then
41984 ac_cv_func_sched_get_priority_max=yes
41985 else
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41988
41989 ac_cv_func_sched_get_priority_max=no
41990 fi
41991
41992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41993 conftest$ac_exeext conftest.$ac_ext
41994 fi
41995 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41996 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41997 if test $ac_cv_func_sched_get_priority_max = yes; then
41998 HAVE_PRIOR_FUNCS=1
41999 else
42000 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42001 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42002 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42004 else
42005 ac_check_lib_save_LIBS=$LIBS
42006 LIBS="-lposix4 $LIBS"
42007 cat >conftest.$ac_ext <<_ACEOF
42008 /* confdefs.h. */
42009 _ACEOF
42010 cat confdefs.h >>conftest.$ac_ext
42011 cat >>conftest.$ac_ext <<_ACEOF
42012 /* end confdefs.h. */
42013
42014 /* Override any GCC internal prototype to avoid an error.
42015 Use char because int might match the return type of a GCC
42016 builtin and then its argument prototype would still apply. */
42017 #ifdef __cplusplus
42018 extern "C"
42019 #endif
42020 char sched_get_priority_max ();
42021 int
42022 main ()
42023 {
42024 return sched_get_priority_max ();
42025 ;
42026 return 0;
42027 }
42028 _ACEOF
42029 rm -f conftest.$ac_objext conftest$ac_exeext
42030 if { (ac_try="$ac_link"
42031 case "(($ac_try" in
42032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42033 *) ac_try_echo=$ac_try;;
42034 esac
42035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42036 (eval "$ac_link") 2>conftest.er1
42037 ac_status=$?
42038 grep -v '^ *+' conftest.er1 >conftest.err
42039 rm -f conftest.er1
42040 cat conftest.err >&5
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); } && {
42043 test -z "$ac_c_werror_flag" ||
42044 test ! -s conftest.err
42045 } && test -s conftest$ac_exeext &&
42046 $as_test_x conftest$ac_exeext; then
42047 ac_cv_lib_posix4_sched_get_priority_max=yes
42048 else
42049 echo "$as_me: failed program was:" >&5
42050 sed 's/^/| /' conftest.$ac_ext >&5
42051
42052 ac_cv_lib_posix4_sched_get_priority_max=no
42053 fi
42054
42055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42056 conftest$ac_exeext conftest.$ac_ext
42057 LIBS=$ac_check_lib_save_LIBS
42058 fi
42059 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42060 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42061 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42062
42063 HAVE_PRIOR_FUNCS=1
42064 POSIX4_LINK=" -lposix4"
42065
42066 fi
42067
42068
42069 fi
42070
42071
42072 fi
42073
42074
42075 fi
42076
42077
42078 if test "$HAVE_PRIOR_FUNCS" = 1; then
42079 cat >>confdefs.h <<\_ACEOF
42080 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42081 _ACEOF
42082
42083 else
42084 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42085 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42086 fi
42087
42088 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42089 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42090 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42091 echo $ECHO_N "(cached) $ECHO_C" >&6
42092 else
42093 cat >conftest.$ac_ext <<_ACEOF
42094 /* confdefs.h. */
42095 _ACEOF
42096 cat confdefs.h >>conftest.$ac_ext
42097 cat >>conftest.$ac_ext <<_ACEOF
42098 /* end confdefs.h. */
42099 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42101 #define pthread_cancel innocuous_pthread_cancel
42102
42103 /* System header to define __stub macros and hopefully few prototypes,
42104 which can conflict with char pthread_cancel (); below.
42105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42106 <limits.h> exists even on freestanding compilers. */
42107
42108 #ifdef __STDC__
42109 # include <limits.h>
42110 #else
42111 # include <assert.h>
42112 #endif
42113
42114 #undef pthread_cancel
42115
42116 /* Override any GCC internal prototype to avoid an error.
42117 Use char because int might match the return type of a GCC
42118 builtin and then its argument prototype would still apply. */
42119 #ifdef __cplusplus
42120 extern "C"
42121 #endif
42122 char pthread_cancel ();
42123 /* The GNU C library defines this for functions which it implements
42124 to always fail with ENOSYS. Some functions are actually named
42125 something starting with __ and the normal name is an alias. */
42126 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42127 choke me
42128 #endif
42129
42130 int
42131 main ()
42132 {
42133 return pthread_cancel ();
42134 ;
42135 return 0;
42136 }
42137 _ACEOF
42138 rm -f conftest.$ac_objext conftest$ac_exeext
42139 if { (ac_try="$ac_link"
42140 case "(($ac_try" in
42141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42142 *) ac_try_echo=$ac_try;;
42143 esac
42144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42145 (eval "$ac_link") 2>conftest.er1
42146 ac_status=$?
42147 grep -v '^ *+' conftest.er1 >conftest.err
42148 rm -f conftest.er1
42149 cat conftest.err >&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } && {
42152 test -z "$ac_c_werror_flag" ||
42153 test ! -s conftest.err
42154 } && test -s conftest$ac_exeext &&
42155 $as_test_x conftest$ac_exeext; then
42156 ac_cv_func_pthread_cancel=yes
42157 else
42158 echo "$as_me: failed program was:" >&5
42159 sed 's/^/| /' conftest.$ac_ext >&5
42160
42161 ac_cv_func_pthread_cancel=no
42162 fi
42163
42164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42165 conftest$ac_exeext conftest.$ac_ext
42166 fi
42167 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42168 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42169 if test $ac_cv_func_pthread_cancel = yes; then
42170 cat >>confdefs.h <<\_ACEOF
42171 #define HAVE_PTHREAD_CANCEL 1
42172 _ACEOF
42173
42174 else
42175 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42176 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42177 fi
42178
42179
42180 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42181 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42182 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42183 echo $ECHO_N "(cached) $ECHO_C" >&6
42184 else
42185 cat >conftest.$ac_ext <<_ACEOF
42186 /* confdefs.h. */
42187 _ACEOF
42188 cat confdefs.h >>conftest.$ac_ext
42189 cat >>conftest.$ac_ext <<_ACEOF
42190 /* end confdefs.h. */
42191 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42193 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42194
42195 /* System header to define __stub macros and hopefully few prototypes,
42196 which can conflict with char pthread_mutex_timedlock (); below.
42197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42198 <limits.h> exists even on freestanding compilers. */
42199
42200 #ifdef __STDC__
42201 # include <limits.h>
42202 #else
42203 # include <assert.h>
42204 #endif
42205
42206 #undef pthread_mutex_timedlock
42207
42208 /* Override any GCC internal prototype to avoid an error.
42209 Use char because int might match the return type of a GCC
42210 builtin and then its argument prototype would still apply. */
42211 #ifdef __cplusplus
42212 extern "C"
42213 #endif
42214 char pthread_mutex_timedlock ();
42215 /* The GNU C library defines this for functions which it implements
42216 to always fail with ENOSYS. Some functions are actually named
42217 something starting with __ and the normal name is an alias. */
42218 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42219 choke me
42220 #endif
42221
42222 int
42223 main ()
42224 {
42225 return pthread_mutex_timedlock ();
42226 ;
42227 return 0;
42228 }
42229 _ACEOF
42230 rm -f conftest.$ac_objext conftest$ac_exeext
42231 if { (ac_try="$ac_link"
42232 case "(($ac_try" in
42233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42234 *) ac_try_echo=$ac_try;;
42235 esac
42236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42237 (eval "$ac_link") 2>conftest.er1
42238 ac_status=$?
42239 grep -v '^ *+' conftest.er1 >conftest.err
42240 rm -f conftest.er1
42241 cat conftest.err >&5
42242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243 (exit $ac_status); } && {
42244 test -z "$ac_c_werror_flag" ||
42245 test ! -s conftest.err
42246 } && test -s conftest$ac_exeext &&
42247 $as_test_x conftest$ac_exeext; then
42248 ac_cv_func_pthread_mutex_timedlock=yes
42249 else
42250 echo "$as_me: failed program was:" >&5
42251 sed 's/^/| /' conftest.$ac_ext >&5
42252
42253 ac_cv_func_pthread_mutex_timedlock=no
42254 fi
42255
42256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42257 conftest$ac_exeext conftest.$ac_ext
42258 fi
42259 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42260 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42261 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42262 cat >>confdefs.h <<\_ACEOF
42263 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42264 _ACEOF
42265
42266 else
42267 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42268 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42269 fi
42270
42271
42272 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42273 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42274 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42276 else
42277 cat >conftest.$ac_ext <<_ACEOF
42278 /* confdefs.h. */
42279 _ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42283 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42285 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42286
42287 /* System header to define __stub macros and hopefully few prototypes,
42288 which can conflict with char pthread_attr_setstacksize (); below.
42289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42290 <limits.h> exists even on freestanding compilers. */
42291
42292 #ifdef __STDC__
42293 # include <limits.h>
42294 #else
42295 # include <assert.h>
42296 #endif
42297
42298 #undef pthread_attr_setstacksize
42299
42300 /* Override any GCC internal prototype to avoid an error.
42301 Use char because int might match the return type of a GCC
42302 builtin and then its argument prototype would still apply. */
42303 #ifdef __cplusplus
42304 extern "C"
42305 #endif
42306 char pthread_attr_setstacksize ();
42307 /* The GNU C library defines this for functions which it implements
42308 to always fail with ENOSYS. Some functions are actually named
42309 something starting with __ and the normal name is an alias. */
42310 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42311 choke me
42312 #endif
42313
42314 int
42315 main ()
42316 {
42317 return pthread_attr_setstacksize ();
42318 ;
42319 return 0;
42320 }
42321 _ACEOF
42322 rm -f conftest.$ac_objext conftest$ac_exeext
42323 if { (ac_try="$ac_link"
42324 case "(($ac_try" in
42325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42326 *) ac_try_echo=$ac_try;;
42327 esac
42328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42329 (eval "$ac_link") 2>conftest.er1
42330 ac_status=$?
42331 grep -v '^ *+' conftest.er1 >conftest.err
42332 rm -f conftest.er1
42333 cat conftest.err >&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); } && {
42336 test -z "$ac_c_werror_flag" ||
42337 test ! -s conftest.err
42338 } && test -s conftest$ac_exeext &&
42339 $as_test_x conftest$ac_exeext; then
42340 ac_cv_func_pthread_attr_setstacksize=yes
42341 else
42342 echo "$as_me: failed program was:" >&5
42343 sed 's/^/| /' conftest.$ac_ext >&5
42344
42345 ac_cv_func_pthread_attr_setstacksize=no
42346 fi
42347
42348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42349 conftest$ac_exeext conftest.$ac_ext
42350 fi
42351 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42352 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42353 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42356 _ACEOF
42357
42358 fi
42359
42360
42361
42362 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42363 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42364 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42365 echo $ECHO_N "(cached) $ECHO_C" >&6
42366 else
42367
42368 cat >conftest.$ac_ext <<_ACEOF
42369 /* confdefs.h. */
42370 _ACEOF
42371 cat confdefs.h >>conftest.$ac_ext
42372 cat >>conftest.$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42374 #include <pthread.h>
42375 int
42376 main ()
42377 {
42378
42379 pthread_mutexattr_t attr;
42380 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42381
42382 ;
42383 return 0;
42384 }
42385 _ACEOF
42386 rm -f conftest.$ac_objext
42387 if { (ac_try="$ac_compile"
42388 case "(($ac_try" in
42389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42390 *) ac_try_echo=$ac_try;;
42391 esac
42392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42393 (eval "$ac_compile") 2>conftest.er1
42394 ac_status=$?
42395 grep -v '^ *+' conftest.er1 >conftest.err
42396 rm -f conftest.er1
42397 cat conftest.err >&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } && {
42400 test -z "$ac_c_werror_flag" ||
42401 test ! -s conftest.err
42402 } && test -s conftest.$ac_objext; then
42403 wx_cv_type_pthread_mutexattr_t=yes
42404 else
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42407
42408 wx_cv_type_pthread_mutexattr_t=no
42409
42410 fi
42411
42412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42413
42414 fi
42415 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42416 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42417
42418 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42419 cat >>confdefs.h <<\_ACEOF
42420 #define HAVE_PTHREAD_MUTEXATTR_T 1
42421 _ACEOF
42422
42423
42424 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42425 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42426 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42428 else
42429
42430 cat >conftest.$ac_ext <<_ACEOF
42431 /* confdefs.h. */
42432 _ACEOF
42433 cat confdefs.h >>conftest.$ac_ext
42434 cat >>conftest.$ac_ext <<_ACEOF
42435 /* end confdefs.h. */
42436 #include <pthread.h>
42437 int
42438 main ()
42439 {
42440
42441 pthread_mutexattr_t attr;
42442 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42443
42444 ;
42445 return 0;
42446 }
42447 _ACEOF
42448 rm -f conftest.$ac_objext
42449 if { (ac_try="$ac_compile"
42450 case "(($ac_try" in
42451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42452 *) ac_try_echo=$ac_try;;
42453 esac
42454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42455 (eval "$ac_compile") 2>conftest.er1
42456 ac_status=$?
42457 grep -v '^ *+' conftest.er1 >conftest.err
42458 rm -f conftest.er1
42459 cat conftest.err >&5
42460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461 (exit $ac_status); } && {
42462 test -z "$ac_c_werror_flag" ||
42463 test ! -s conftest.err
42464 } && test -s conftest.$ac_objext; then
42465 wx_cv_func_pthread_mutexattr_settype_decl=yes
42466 else
42467 echo "$as_me: failed program was:" >&5
42468 sed 's/^/| /' conftest.$ac_ext >&5
42469
42470 wx_cv_func_pthread_mutexattr_settype_decl=no
42471
42472 fi
42473
42474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42475
42476 fi
42477 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42478 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42479 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42480 cat >>confdefs.h <<\_ACEOF
42481 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42482 _ACEOF
42483
42484 fi
42485 else
42486 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42487 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42488 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42489 echo $ECHO_N "(cached) $ECHO_C" >&6
42490 else
42491
42492 cat >conftest.$ac_ext <<_ACEOF
42493 /* confdefs.h. */
42494 _ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498 #include <pthread.h>
42499 int
42500 main ()
42501 {
42502
42503 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42504
42505 ;
42506 return 0;
42507 }
42508 _ACEOF
42509 rm -f conftest.$ac_objext
42510 if { (ac_try="$ac_compile"
42511 case "(($ac_try" in
42512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42513 *) ac_try_echo=$ac_try;;
42514 esac
42515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42516 (eval "$ac_compile") 2>conftest.er1
42517 ac_status=$?
42518 grep -v '^ *+' conftest.er1 >conftest.err
42519 rm -f conftest.er1
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } && {
42523 test -z "$ac_c_werror_flag" ||
42524 test ! -s conftest.err
42525 } && test -s conftest.$ac_objext; then
42526
42527 wx_cv_type_pthread_rec_mutex_init=yes
42528
42529 else
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42532
42533
42534 wx_cv_type_pthread_rec_mutex_init=no
42535
42536
42537 fi
42538
42539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540
42541 fi
42542 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42543 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42544 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42545 cat >>confdefs.h <<\_ACEOF
42546 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42547 _ACEOF
42548
42549 else
42550 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42551 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42552 fi
42553 fi
42554 fi
42555
42556 else
42557 if test "$wxUSE_THREADS" = "yes" ; then
42558 case "${host}" in
42559 *-*-mingw32* )
42560 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42561 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42562 if test "${wx_cv_cflags_mthread+set}" = set; then
42563 echo $ECHO_N "(cached) $ECHO_C" >&6
42564 else
42565
42566 CFLAGS_OLD="$CFLAGS"
42567 CFLAGS="-mthreads $CFLAGS"
42568 cat >conftest.$ac_ext <<_ACEOF
42569 /* confdefs.h. */
42570 _ACEOF
42571 cat confdefs.h >>conftest.$ac_ext
42572 cat >>conftest.$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42574
42575 int
42576 main ()
42577 {
42578
42579 ;
42580 return 0;
42581 }
42582 _ACEOF
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42588 esac
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42591 ac_status=$?
42592 grep -v '^ *+' conftest.er1 >conftest.err
42593 rm -f conftest.er1
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_c_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 wx_cv_cflags_mthread=yes
42601 else
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42604
42605 wx_cv_cflags_mthread=no
42606
42607 fi
42608
42609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42610
42611
42612 fi
42613 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42614 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42615
42616 if test "$wx_cv_cflags_mthread" = "yes"; then
42617 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42618 LDFLAGS="$LDFLAGS -mthreads"
42619 else
42620 CFLAGS="$CFLAGS_OLD"
42621 fi
42622 ;;
42623 *-pc-os2*emx )
42624 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42625 LDFLAGS="$LDFLAGS -Zmt"
42626 ;;
42627 esac
42628 fi
42629 fi
42630
42631 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42632 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42633 if test "${ac_cv_func_localtime_r+set}" = set; then
42634 echo $ECHO_N "(cached) $ECHO_C" >&6
42635 else
42636 cat >conftest.$ac_ext <<_ACEOF
42637 /* confdefs.h. */
42638 _ACEOF
42639 cat confdefs.h >>conftest.$ac_ext
42640 cat >>conftest.$ac_ext <<_ACEOF
42641 /* end confdefs.h. */
42642 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42644 #define localtime_r innocuous_localtime_r
42645
42646 /* System header to define __stub macros and hopefully few prototypes,
42647 which can conflict with char localtime_r (); below.
42648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42649 <limits.h> exists even on freestanding compilers. */
42650
42651 #ifdef __STDC__
42652 # include <limits.h>
42653 #else
42654 # include <assert.h>
42655 #endif
42656
42657 #undef localtime_r
42658
42659 /* Override any GCC internal prototype to avoid an error.
42660 Use char because int might match the return type of a GCC
42661 builtin and then its argument prototype would still apply. */
42662 #ifdef __cplusplus
42663 extern "C"
42664 #endif
42665 char localtime_r ();
42666 /* The GNU C library defines this for functions which it implements
42667 to always fail with ENOSYS. Some functions are actually named
42668 something starting with __ and the normal name is an alias. */
42669 #if defined __stub_localtime_r || defined __stub___localtime_r
42670 choke me
42671 #endif
42672
42673 int
42674 main ()
42675 {
42676 return localtime_r ();
42677 ;
42678 return 0;
42679 }
42680 _ACEOF
42681 rm -f conftest.$ac_objext conftest$ac_exeext
42682 if { (ac_try="$ac_link"
42683 case "(($ac_try" in
42684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42685 *) ac_try_echo=$ac_try;;
42686 esac
42687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42688 (eval "$ac_link") 2>conftest.er1
42689 ac_status=$?
42690 grep -v '^ *+' conftest.er1 >conftest.err
42691 rm -f conftest.er1
42692 cat conftest.err >&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } && {
42695 test -z "$ac_c_werror_flag" ||
42696 test ! -s conftest.err
42697 } && test -s conftest$ac_exeext &&
42698 $as_test_x conftest$ac_exeext; then
42699 ac_cv_func_localtime_r=yes
42700 else
42701 echo "$as_me: failed program was:" >&5
42702 sed 's/^/| /' conftest.$ac_ext >&5
42703
42704 ac_cv_func_localtime_r=no
42705 fi
42706
42707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42708 conftest$ac_exeext conftest.$ac_ext
42709 fi
42710 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42711 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42712 if test $ac_cv_func_localtime_r = yes; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define HAVE_LOCALTIME_R 1
42715 _ACEOF
42716
42717 fi
42718
42719 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42720 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42721 if test "${ac_cv_func_gmtime_r+set}" = set; then
42722 echo $ECHO_N "(cached) $ECHO_C" >&6
42723 else
42724 cat >conftest.$ac_ext <<_ACEOF
42725 /* confdefs.h. */
42726 _ACEOF
42727 cat confdefs.h >>conftest.$ac_ext
42728 cat >>conftest.$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42730 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42732 #define gmtime_r innocuous_gmtime_r
42733
42734 /* System header to define __stub macros and hopefully few prototypes,
42735 which can conflict with char gmtime_r (); below.
42736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42737 <limits.h> exists even on freestanding compilers. */
42738
42739 #ifdef __STDC__
42740 # include <limits.h>
42741 #else
42742 # include <assert.h>
42743 #endif
42744
42745 #undef gmtime_r
42746
42747 /* Override any GCC internal prototype to avoid an error.
42748 Use char because int might match the return type of a GCC
42749 builtin and then its argument prototype would still apply. */
42750 #ifdef __cplusplus
42751 extern "C"
42752 #endif
42753 char gmtime_r ();
42754 /* The GNU C library defines this for functions which it implements
42755 to always fail with ENOSYS. Some functions are actually named
42756 something starting with __ and the normal name is an alias. */
42757 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42758 choke me
42759 #endif
42760
42761 int
42762 main ()
42763 {
42764 return gmtime_r ();
42765 ;
42766 return 0;
42767 }
42768 _ACEOF
42769 rm -f conftest.$ac_objext conftest$ac_exeext
42770 if { (ac_try="$ac_link"
42771 case "(($ac_try" in
42772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42773 *) ac_try_echo=$ac_try;;
42774 esac
42775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42776 (eval "$ac_link") 2>conftest.er1
42777 ac_status=$?
42778 grep -v '^ *+' conftest.er1 >conftest.err
42779 rm -f conftest.er1
42780 cat conftest.err >&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } && {
42783 test -z "$ac_c_werror_flag" ||
42784 test ! -s conftest.err
42785 } && test -s conftest$ac_exeext &&
42786 $as_test_x conftest$ac_exeext; then
42787 ac_cv_func_gmtime_r=yes
42788 else
42789 echo "$as_me: failed program was:" >&5
42790 sed 's/^/| /' conftest.$ac_ext >&5
42791
42792 ac_cv_func_gmtime_r=no
42793 fi
42794
42795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42796 conftest$ac_exeext conftest.$ac_ext
42797 fi
42798 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42799 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42800 if test $ac_cv_func_gmtime_r = yes; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define HAVE_GMTIME_R 1
42803 _ACEOF
42804
42805 fi
42806
42807
42808
42809
42810 ac_ext=c
42811 ac_cpp='$CPP $CPPFLAGS'
42812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42815
42816 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42817 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42818
42819 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42820 echo $ECHO_N "(cached) $ECHO_C" >&6
42821 else
42822
42823
42824 ################################################################
42825
42826 ac_cv_func_which_gethostbyname_r=unknown
42827
42828 #
42829 # ONE ARGUMENT (sanity check)
42830 #
42831
42832 # This should fail, as there is no variant of gethostbyname_r() that takes
42833 # a single argument. If it actually compiles, then we can assume that
42834 # netdb.h is not declaring the function, and the compiler is thereby
42835 # assuming an implicit prototype. In which case, we're out of luck.
42836 #
42837 cat >conftest.$ac_ext <<_ACEOF
42838 /* confdefs.h. */
42839 _ACEOF
42840 cat confdefs.h >>conftest.$ac_ext
42841 cat >>conftest.$ac_ext <<_ACEOF
42842 /* end confdefs.h. */
42843 #include <netdb.h>
42844 int
42845 main ()
42846 {
42847
42848 char *name = "www.gnu.org";
42849 (void)gethostbyname_r(name) /* ; */
42850
42851 ;
42852 return 0;
42853 }
42854 _ACEOF
42855 rm -f conftest.$ac_objext
42856 if { (ac_try="$ac_compile"
42857 case "(($ac_try" in
42858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42859 *) ac_try_echo=$ac_try;;
42860 esac
42861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42862 (eval "$ac_compile") 2>conftest.er1
42863 ac_status=$?
42864 grep -v '^ *+' conftest.er1 >conftest.err
42865 rm -f conftest.er1
42866 cat conftest.err >&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); } && {
42869 test -z "$ac_c_werror_flag" ||
42870 test ! -s conftest.err
42871 } && test -s conftest.$ac_objext; then
42872 ac_cv_func_which_gethostbyname_r=no
42873 else
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42876
42877
42878 fi
42879
42880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42881
42882 #
42883 # SIX ARGUMENTS
42884 # (e.g. Linux)
42885 #
42886
42887 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42888
42889 cat >conftest.$ac_ext <<_ACEOF
42890 /* confdefs.h. */
42891 _ACEOF
42892 cat confdefs.h >>conftest.$ac_ext
42893 cat >>conftest.$ac_ext <<_ACEOF
42894 /* end confdefs.h. */
42895 #include <netdb.h>
42896 int
42897 main ()
42898 {
42899
42900 char *name = "www.gnu.org";
42901 struct hostent ret, *retp;
42902 char buf[1024];
42903 int buflen = 1024;
42904 int my_h_errno;
42905 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42906
42907 ;
42908 return 0;
42909 }
42910 _ACEOF
42911 rm -f conftest.$ac_objext
42912 if { (ac_try="$ac_compile"
42913 case "(($ac_try" in
42914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42915 *) ac_try_echo=$ac_try;;
42916 esac
42917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42918 (eval "$ac_compile") 2>conftest.er1
42919 ac_status=$?
42920 grep -v '^ *+' conftest.er1 >conftest.err
42921 rm -f conftest.er1
42922 cat conftest.err >&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } && {
42925 test -z "$ac_c_werror_flag" ||
42926 test ! -s conftest.err
42927 } && test -s conftest.$ac_objext; then
42928 ac_cv_func_which_gethostbyname_r=six
42929 else
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.$ac_ext >&5
42932
42933
42934 fi
42935
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937
42938 fi
42939
42940 #
42941 # FIVE ARGUMENTS
42942 # (e.g. Solaris)
42943 #
42944
42945 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42946
42947 cat >conftest.$ac_ext <<_ACEOF
42948 /* confdefs.h. */
42949 _ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42953 #include <netdb.h>
42954 int
42955 main ()
42956 {
42957
42958 char *name = "www.gnu.org";
42959 struct hostent ret;
42960 char buf[1024];
42961 int buflen = 1024;
42962 int my_h_errno;
42963 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42964
42965 ;
42966 return 0;
42967 }
42968 _ACEOF
42969 rm -f conftest.$ac_objext
42970 if { (ac_try="$ac_compile"
42971 case "(($ac_try" in
42972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42973 *) ac_try_echo=$ac_try;;
42974 esac
42975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42976 (eval "$ac_compile") 2>conftest.er1
42977 ac_status=$?
42978 grep -v '^ *+' conftest.er1 >conftest.err
42979 rm -f conftest.er1
42980 cat conftest.err >&5
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); } && {
42983 test -z "$ac_c_werror_flag" ||
42984 test ! -s conftest.err
42985 } && test -s conftest.$ac_objext; then
42986 ac_cv_func_which_gethostbyname_r=five
42987 else
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.$ac_ext >&5
42990
42991
42992 fi
42993
42994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42995
42996 fi
42997
42998 #
42999 # THREE ARGUMENTS
43000 # (e.g. AIX, HP-UX, Tru64)
43001 #
43002
43003 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43004
43005 cat >conftest.$ac_ext <<_ACEOF
43006 /* confdefs.h. */
43007 _ACEOF
43008 cat confdefs.h >>conftest.$ac_ext
43009 cat >>conftest.$ac_ext <<_ACEOF
43010 /* end confdefs.h. */
43011 #include <netdb.h>
43012 int
43013 main ()
43014 {
43015
43016 char *name = "www.gnu.org";
43017 struct hostent ret;
43018 struct hostent_data data;
43019 (void)gethostbyname_r(name, &ret, &data) /* ; */
43020
43021 ;
43022 return 0;
43023 }
43024 _ACEOF
43025 rm -f conftest.$ac_objext
43026 if { (ac_try="$ac_compile"
43027 case "(($ac_try" in
43028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43029 *) ac_try_echo=$ac_try;;
43030 esac
43031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43032 (eval "$ac_compile") 2>conftest.er1
43033 ac_status=$?
43034 grep -v '^ *+' conftest.er1 >conftest.err
43035 rm -f conftest.er1
43036 cat conftest.err >&5
43037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43038 (exit $ac_status); } && {
43039 test -z "$ac_c_werror_flag" ||
43040 test ! -s conftest.err
43041 } && test -s conftest.$ac_objext; then
43042 ac_cv_func_which_gethostbyname_r=three
43043 else
43044 echo "$as_me: failed program was:" >&5
43045 sed 's/^/| /' conftest.$ac_ext >&5
43046
43047
43048 fi
43049
43050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43051
43052 fi
43053
43054 ################################################################
43055
43056
43057 fi
43058
43059 case "$ac_cv_func_which_gethostbyname_r" in
43060 three)
43061 { echo "$as_me:$LINENO: result: three" >&5
43062 echo "${ECHO_T}three" >&6; }
43063 cat >>confdefs.h <<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43065 _ACEOF
43066
43067 ;;
43068
43069 five)
43070 { echo "$as_me:$LINENO: result: five" >&5
43071 echo "${ECHO_T}five" >&6; }
43072 cat >>confdefs.h <<\_ACEOF
43073 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43074 _ACEOF
43075
43076 ;;
43077
43078 six)
43079 { echo "$as_me:$LINENO: result: six" >&5
43080 echo "${ECHO_T}six" >&6; }
43081 cat >>confdefs.h <<\_ACEOF
43082 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43083 _ACEOF
43084
43085 ;;
43086
43087 no)
43088 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43089 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43090 ;;
43091
43092 unknown)
43093 { echo "$as_me:$LINENO: result: can't tell" >&5
43094 echo "${ECHO_T}can't tell" >&6; }
43095 ;;
43096
43097 *)
43098 { { echo "$as_me:$LINENO: error: internal error" >&5
43099 echo "$as_me: error: internal error" >&2;}
43100 { (exit 1); exit 1; }; }
43101 ;;
43102 esac
43103
43104 ac_ext=c
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43109
43110
43111
43112 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43113 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43114 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43115 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43116 if test "${ac_cv_func_gethostbyname+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43119 cat >conftest.$ac_ext <<_ACEOF
43120 /* confdefs.h. */
43121 _ACEOF
43122 cat confdefs.h >>conftest.$ac_ext
43123 cat >>conftest.$ac_ext <<_ACEOF
43124 /* end confdefs.h. */
43125 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43127 #define gethostbyname innocuous_gethostbyname
43128
43129 /* System header to define __stub macros and hopefully few prototypes,
43130 which can conflict with char gethostbyname (); below.
43131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43132 <limits.h> exists even on freestanding compilers. */
43133
43134 #ifdef __STDC__
43135 # include <limits.h>
43136 #else
43137 # include <assert.h>
43138 #endif
43139
43140 #undef gethostbyname
43141
43142 /* Override any GCC internal prototype to avoid an error.
43143 Use char because int might match the return type of a GCC
43144 builtin and then its argument prototype would still apply. */
43145 #ifdef __cplusplus
43146 extern "C"
43147 #endif
43148 char gethostbyname ();
43149 /* The GNU C library defines this for functions which it implements
43150 to always fail with ENOSYS. Some functions are actually named
43151 something starting with __ and the normal name is an alias. */
43152 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43153 choke me
43154 #endif
43155
43156 int
43157 main ()
43158 {
43159 return gethostbyname ();
43160 ;
43161 return 0;
43162 }
43163 _ACEOF
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (ac_try="$ac_link"
43166 case "(($ac_try" in
43167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43168 *) ac_try_echo=$ac_try;;
43169 esac
43170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43171 (eval "$ac_link") 2>conftest.er1
43172 ac_status=$?
43173 grep -v '^ *+' conftest.er1 >conftest.err
43174 rm -f conftest.er1
43175 cat conftest.err >&5
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); } && {
43178 test -z "$ac_c_werror_flag" ||
43179 test ! -s conftest.err
43180 } && test -s conftest$ac_exeext &&
43181 $as_test_x conftest$ac_exeext; then
43182 ac_cv_func_gethostbyname=yes
43183 else
43184 echo "$as_me: failed program was:" >&5
43185 sed 's/^/| /' conftest.$ac_ext >&5
43186
43187 ac_cv_func_gethostbyname=no
43188 fi
43189
43190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43191 conftest$ac_exeext conftest.$ac_ext
43192 fi
43193 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43194 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43195 if test $ac_cv_func_gethostbyname = yes; then
43196 cat >>confdefs.h <<\_ACEOF
43197 #define HAVE_GETHOSTBYNAME 1
43198 _ACEOF
43199
43200 fi
43201
43202 fi
43203
43204 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43205 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43206 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43208 else
43209
43210 ac_ext=cpp
43211 ac_cpp='$CXXCPP $CPPFLAGS'
43212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43215
43216
43217 cat >conftest.$ac_ext <<_ACEOF
43218 /* confdefs.h. */
43219 _ACEOF
43220 cat confdefs.h >>conftest.$ac_ext
43221 cat >>conftest.$ac_ext <<_ACEOF
43222 /* end confdefs.h. */
43223 #include <netdb.h>
43224 int
43225 main ()
43226 {
43227
43228 char *name;
43229 char *proto;
43230 struct servent *se, *res;
43231 char buffer[2048];
43232 int buflen = 2048;
43233 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43234
43235 ;
43236 return 0;
43237 }
43238 _ACEOF
43239 rm -f conftest.$ac_objext
43240 if { (ac_try="$ac_compile"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43244 esac
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_compile") 2>conftest.er1
43247 ac_status=$?
43248 grep -v '^ *+' conftest.er1 >conftest.err
43249 rm -f conftest.er1
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } && {
43253 test -z "$ac_cxx_werror_flag" ||
43254 test ! -s conftest.err
43255 } && test -s conftest.$ac_objext; then
43256 ac_cv_func_which_getservbyname_r=six
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h. */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268 #include <netdb.h>
43269 int
43270 main ()
43271 {
43272
43273 char *name;
43274 char *proto;
43275 struct servent *se;
43276 char buffer[2048];
43277 int buflen = 2048;
43278 (void) getservbyname_r(name, proto, se, buffer, buflen)
43279
43280 ;
43281 return 0;
43282 }
43283 _ACEOF
43284 rm -f conftest.$ac_objext
43285 if { (ac_try="$ac_compile"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43288 *) ac_try_echo=$ac_try;;
43289 esac
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_compile") 2>conftest.er1
43292 ac_status=$?
43293 grep -v '^ *+' conftest.er1 >conftest.err
43294 rm -f conftest.er1
43295 cat conftest.err >&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_cxx_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest.$ac_objext; then
43301 ac_cv_func_which_getservbyname_r=five
43302 else
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43305
43306
43307 cat >conftest.$ac_ext <<_ACEOF
43308 /* confdefs.h. */
43309 _ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43313 #include <netdb.h>
43314 int
43315 main ()
43316 {
43317
43318 char *name;
43319 char *proto;
43320 struct servent *se;
43321 struct servent_data data;
43322 (void) getservbyname_r(name, proto, se, &data);
43323
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext
43329 if { (ac_try="$ac_compile"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43333 esac
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_compile") 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_cxx_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest.$ac_objext; then
43345 ac_cv_func_which_getservbyname_r=four
43346 else
43347 echo "$as_me: failed program was:" >&5
43348 sed 's/^/| /' conftest.$ac_ext >&5
43349
43350 ac_cv_func_which_getservbyname_r=no
43351
43352 fi
43353
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43355
43356
43357 fi
43358
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43360
43361
43362 fi
43363
43364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43365 ac_ext=c
43366 ac_cpp='$CPP $CPPFLAGS'
43367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43370
43371
43372
43373 fi
43374 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43375 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43376
43377 if test $ac_cv_func_which_getservbyname_r = six; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43380 _ACEOF
43381
43382 elif test $ac_cv_func_which_getservbyname_r = five; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43385 _ACEOF
43386
43387 elif test $ac_cv_func_which_getservbyname_r = four; then
43388 cat >>confdefs.h <<\_ACEOF
43389 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43390 _ACEOF
43391
43392 fi
43393
43394
43395 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43396 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43397
43398 for ac_func in getservbyname
43399 do
43400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43404 echo $ECHO_N "(cached) $ECHO_C" >&6
43405 else
43406 cat >conftest.$ac_ext <<_ACEOF
43407 /* confdefs.h. */
43408 _ACEOF
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43414 #define $ac_func innocuous_$ac_func
43415
43416 /* System header to define __stub macros and hopefully few prototypes,
43417 which can conflict with char $ac_func (); below.
43418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43419 <limits.h> exists even on freestanding compilers. */
43420
43421 #ifdef __STDC__
43422 # include <limits.h>
43423 #else
43424 # include <assert.h>
43425 #endif
43426
43427 #undef $ac_func
43428
43429 /* Override any GCC internal prototype to avoid an error.
43430 Use char because int might match the return type of a GCC
43431 builtin and then its argument prototype would still apply. */
43432 #ifdef __cplusplus
43433 extern "C"
43434 #endif
43435 char $ac_func ();
43436 /* The GNU C library defines this for functions which it implements
43437 to always fail with ENOSYS. Some functions are actually named
43438 something starting with __ and the normal name is an alias. */
43439 #if defined __stub_$ac_func || defined __stub___$ac_func
43440 choke me
43441 #endif
43442
43443 int
43444 main ()
43445 {
43446 return $ac_func ();
43447 ;
43448 return 0;
43449 }
43450 _ACEOF
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (ac_try="$ac_link"
43453 case "(($ac_try" in
43454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43455 *) ac_try_echo=$ac_try;;
43456 esac
43457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43458 (eval "$ac_link") 2>conftest.er1
43459 ac_status=$?
43460 grep -v '^ *+' conftest.er1 >conftest.err
43461 rm -f conftest.er1
43462 cat conftest.err >&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } && {
43465 test -z "$ac_c_werror_flag" ||
43466 test ! -s conftest.err
43467 } && test -s conftest$ac_exeext &&
43468 $as_test_x conftest$ac_exeext; then
43469 eval "$as_ac_var=yes"
43470 else
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.$ac_ext >&5
43473
43474 eval "$as_ac_var=no"
43475 fi
43476
43477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43478 conftest$ac_exeext conftest.$ac_ext
43479 fi
43480 ac_res=`eval echo '${'$as_ac_var'}'`
43481 { echo "$as_me:$LINENO: result: $ac_res" >&5
43482 echo "${ECHO_T}$ac_res" >&6; }
43483 if test `eval echo '${'$as_ac_var'}'` = yes; then
43484 cat >>confdefs.h <<_ACEOF
43485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43486 _ACEOF
43487 cat >>confdefs.h <<\_ACEOF
43488 #define HAVE_GETSERVBYNAME 1
43489 _ACEOF
43490
43491 fi
43492 done
43493
43494 fi
43495
43496 if test "$wxUSE_THREADS" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_THREADS 1
43499 _ACEOF
43500
43501
43502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43503 else
43504 if test "$wx_cv_func_strtok_r" = "yes"; then
43505 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43506 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43507 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43508 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43509 { echo "$as_me:$LINENO: result: yes" >&5
43510 echo "${ECHO_T}yes" >&6; }
43511 else
43512 { echo "$as_me:$LINENO: result: no" >&5
43513 echo "${ECHO_T}no" >&6; }
43514 fi
43515 fi
43516 fi
43517
43518 if test "$WXGTK2" = 1 ; then
43519 cat >>confdefs.h <<_ACEOF
43520 #define __WXGTK20__ $WXGTK2
43521 _ACEOF
43522
43523 WXGTK12=1
43524 fi
43525
43526 if test "$WXGTK12" = 1 ; then
43527 cat >>confdefs.h <<_ACEOF
43528 #define __WXGTK12__ $WXGTK12
43529 _ACEOF
43530
43531 fi
43532
43533 if test "$WXGTK127" = 1 ; then
43534 cat >>confdefs.h <<_ACEOF
43535 #define __WXGTK127__ $WXGTK127
43536 _ACEOF
43537
43538 fi
43539
43540 if test "$WXGPE" = 1 ; then
43541 cat >>confdefs.h <<_ACEOF
43542 #define __WXGPE__ $WXGPE
43543 _ACEOF
43544
43545 fi
43546
43547 DEBUG_CFLAGS=
43548 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43549 DEBUG_CFLAGS="-g"
43550 wxUSE_OPTIMISE=no
43551 fi
43552
43553 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43554 wxUSE_DEBUG_INFO=yes
43555 if test "$GCC" = yes; then
43556 DEBUG_CFLAGS="-ggdb"
43557 fi
43558 fi
43559
43560 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define WXDEBUG 1
43563 _ACEOF
43564
43565 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43566 else
43567 if test "$wxUSE_GTK" = 1 ; then
43568 if test "x$wxGTK_VERSION" = "x1" ; then
43569 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43570 fi
43571 fi
43572 fi
43573
43574 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43575 cat >>confdefs.h <<\_ACEOF
43576 #define wxUSE_MEMORY_TRACING 1
43577 _ACEOF
43578
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43581 _ACEOF
43582
43583 cat >>confdefs.h <<\_ACEOF
43584 #define wxUSE_DEBUG_NEW_ALWAYS 1
43585 _ACEOF
43586
43587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43588 fi
43589
43590 if test "$wxUSE_DMALLOC" = "yes" ; then
43591 DMALLOC_LIBS="-ldmallocthcxx"
43592 fi
43593
43594 PROFILE_FLAGS=
43595 if test "$wxUSE_PROFILE" = "yes" ; then
43596 PROFILE_FLAGS=" -pg"
43597 fi
43598
43599 if test "$GCC" = "yes" ; then
43600 if test "$wxUSE_NO_RTTI" = "yes" ; then
43601 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43602 fi
43603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43604 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43605 fi
43606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43607 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43608 fi
43609
43610 case "${host}" in
43611 powerpc*-*-aix* )
43612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43613 ;;
43614 *-hppa* )
43615 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43616 ;;
43617 esac
43618 fi
43619
43620 OPTIMISE_CFLAGS=
43621 if test "$wxUSE_OPTIMISE" = "no" ; then
43622 if test "$GCC" = yes ; then
43623 OPTIMISE_CFLAGS="-O0"
43624 fi
43625 else
43626 if test "$GCC" = yes ; then
43627 case "${host}" in
43628 *-pc-os2_emx | *-pc-os2-emx )
43629 OPTIMISE_CFLAGS="-O2"
43630 ;;
43631 *)
43632 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43633 ;;
43634 esac
43635 else
43636 OPTIMISE_CFLAGS="-O"
43637 fi
43638 fi
43639
43640
43641 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define WXWIN_COMPATIBILITY_2_6 1
43644 _ACEOF
43645
43646
43647 WXWIN_COMPATIBILITY_2_8="yes"
43648 fi
43649
43650 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43651 cat >>confdefs.h <<\_ACEOF
43652 #define WXWIN_COMPATIBILITY_2_8 1
43653 _ACEOF
43654
43655 fi
43656
43657
43658 if test "$wxUSE_GUI" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_GUI 1
43661 _ACEOF
43662
43663
43664 fi
43665
43666
43667 if test "$wxUSE_UNIX" = "yes"; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_UNIX 1
43670 _ACEOF
43671
43672 fi
43673
43674
43675 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43676
43677 HAVE_DL_FUNCS=0
43678 HAVE_SHL_FUNCS=0
43679 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43680 if test "$USE_DARWIN" = 1; then
43681 HAVE_DL_FUNCS=1
43682 elif test "$USE_DOS" = 1; then
43683 HAVE_DL_FUNCS=0
43684 else
43685
43686 for ac_func in dlopen
43687 do
43688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43693 else
43694 cat >conftest.$ac_ext <<_ACEOF
43695 /* confdefs.h. */
43696 _ACEOF
43697 cat confdefs.h >>conftest.$ac_ext
43698 cat >>conftest.$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43702 #define $ac_func innocuous_$ac_func
43703
43704 /* System header to define __stub macros and hopefully few prototypes,
43705 which can conflict with char $ac_func (); below.
43706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43707 <limits.h> exists even on freestanding compilers. */
43708
43709 #ifdef __STDC__
43710 # include <limits.h>
43711 #else
43712 # include <assert.h>
43713 #endif
43714
43715 #undef $ac_func
43716
43717 /* Override any GCC internal prototype to avoid an error.
43718 Use char because int might match the return type of a GCC
43719 builtin and then its argument prototype would still apply. */
43720 #ifdef __cplusplus
43721 extern "C"
43722 #endif
43723 char $ac_func ();
43724 /* The GNU C library defines this for functions which it implements
43725 to always fail with ENOSYS. Some functions are actually named
43726 something starting with __ and the normal name is an alias. */
43727 #if defined __stub_$ac_func || defined __stub___$ac_func
43728 choke me
43729 #endif
43730
43731 int
43732 main ()
43733 {
43734 return $ac_func ();
43735 ;
43736 return 0;
43737 }
43738 _ACEOF
43739 rm -f conftest.$ac_objext conftest$ac_exeext
43740 if { (ac_try="$ac_link"
43741 case "(($ac_try" in
43742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43744 esac
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_link") 2>conftest.er1
43747 ac_status=$?
43748 grep -v '^ *+' conftest.er1 >conftest.err
43749 rm -f conftest.er1
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_c_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest$ac_exeext &&
43756 $as_test_x conftest$ac_exeext; then
43757 eval "$as_ac_var=yes"
43758 else
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43761
43762 eval "$as_ac_var=no"
43763 fi
43764
43765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43766 conftest$ac_exeext conftest.$ac_ext
43767 fi
43768 ac_res=`eval echo '${'$as_ac_var'}'`
43769 { echo "$as_me:$LINENO: result: $ac_res" >&5
43770 echo "${ECHO_T}$ac_res" >&6; }
43771 if test `eval echo '${'$as_ac_var'}'` = yes; then
43772 cat >>confdefs.h <<_ACEOF
43773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43774 _ACEOF
43775
43776 cat >>confdefs.h <<\_ACEOF
43777 #define HAVE_DLOPEN 1
43778 _ACEOF
43779
43780 HAVE_DL_FUNCS=1
43781
43782 else
43783
43784 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43785 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43786 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43788 else
43789 ac_check_lib_save_LIBS=$LIBS
43790 LIBS="-ldl $LIBS"
43791 cat >conftest.$ac_ext <<_ACEOF
43792 /* confdefs.h. */
43793 _ACEOF
43794 cat confdefs.h >>conftest.$ac_ext
43795 cat >>conftest.$ac_ext <<_ACEOF
43796 /* end confdefs.h. */
43797
43798 /* Override any GCC internal prototype to avoid an error.
43799 Use char because int might match the return type of a GCC
43800 builtin and then its argument prototype would still apply. */
43801 #ifdef __cplusplus
43802 extern "C"
43803 #endif
43804 char dlopen ();
43805 int
43806 main ()
43807 {
43808 return dlopen ();
43809 ;
43810 return 0;
43811 }
43812 _ACEOF
43813 rm -f conftest.$ac_objext conftest$ac_exeext
43814 if { (ac_try="$ac_link"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43817 *) ac_try_echo=$ac_try;;
43818 esac
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_link") 2>conftest.er1
43821 ac_status=$?
43822 grep -v '^ *+' conftest.er1 >conftest.err
43823 rm -f conftest.er1
43824 cat conftest.err >&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } && {
43827 test -z "$ac_c_werror_flag" ||
43828 test ! -s conftest.err
43829 } && test -s conftest$ac_exeext &&
43830 $as_test_x conftest$ac_exeext; then
43831 ac_cv_lib_dl_dlopen=yes
43832 else
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.$ac_ext >&5
43835
43836 ac_cv_lib_dl_dlopen=no
43837 fi
43838
43839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43840 conftest$ac_exeext conftest.$ac_ext
43841 LIBS=$ac_check_lib_save_LIBS
43842 fi
43843 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43844 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43845 if test $ac_cv_lib_dl_dlopen = yes; then
43846
43847 cat >>confdefs.h <<\_ACEOF
43848 #define HAVE_DLOPEN 1
43849 _ACEOF
43850
43851 HAVE_DL_FUNCS=1
43852 DL_LINK=" -ldl$DL_LINK"
43853
43854 else
43855
43856
43857 for ac_func in shl_load
43858 do
43859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43863 echo $ECHO_N "(cached) $ECHO_C" >&6
43864 else
43865 cat >conftest.$ac_ext <<_ACEOF
43866 /* confdefs.h. */
43867 _ACEOF
43868 cat confdefs.h >>conftest.$ac_ext
43869 cat >>conftest.$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43873 #define $ac_func innocuous_$ac_func
43874
43875 /* System header to define __stub macros and hopefully few prototypes,
43876 which can conflict with char $ac_func (); below.
43877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43878 <limits.h> exists even on freestanding compilers. */
43879
43880 #ifdef __STDC__
43881 # include <limits.h>
43882 #else
43883 # include <assert.h>
43884 #endif
43885
43886 #undef $ac_func
43887
43888 /* Override any GCC internal prototype to avoid an error.
43889 Use char because int might match the return type of a GCC
43890 builtin and then its argument prototype would still apply. */
43891 #ifdef __cplusplus
43892 extern "C"
43893 #endif
43894 char $ac_func ();
43895 /* The GNU C library defines this for functions which it implements
43896 to always fail with ENOSYS. Some functions are actually named
43897 something starting with __ and the normal name is an alias. */
43898 #if defined __stub_$ac_func || defined __stub___$ac_func
43899 choke me
43900 #endif
43901
43902 int
43903 main ()
43904 {
43905 return $ac_func ();
43906 ;
43907 return 0;
43908 }
43909 _ACEOF
43910 rm -f conftest.$ac_objext conftest$ac_exeext
43911 if { (ac_try="$ac_link"
43912 case "(($ac_try" in
43913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43914 *) ac_try_echo=$ac_try;;
43915 esac
43916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43917 (eval "$ac_link") 2>conftest.er1
43918 ac_status=$?
43919 grep -v '^ *+' conftest.er1 >conftest.err
43920 rm -f conftest.er1
43921 cat conftest.err >&5
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); } && {
43924 test -z "$ac_c_werror_flag" ||
43925 test ! -s conftest.err
43926 } && test -s conftest$ac_exeext &&
43927 $as_test_x conftest$ac_exeext; then
43928 eval "$as_ac_var=yes"
43929 else
43930 echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43932
43933 eval "$as_ac_var=no"
43934 fi
43935
43936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43937 conftest$ac_exeext conftest.$ac_ext
43938 fi
43939 ac_res=`eval echo '${'$as_ac_var'}'`
43940 { echo "$as_me:$LINENO: result: $ac_res" >&5
43941 echo "${ECHO_T}$ac_res" >&6; }
43942 if test `eval echo '${'$as_ac_var'}'` = yes; then
43943 cat >>confdefs.h <<_ACEOF
43944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43945 _ACEOF
43946
43947 cat >>confdefs.h <<\_ACEOF
43948 #define HAVE_SHL_LOAD 1
43949 _ACEOF
43950
43951 HAVE_SHL_FUNCS=1
43952
43953 else
43954
43955 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43956 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43957 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43959 else
43960 ac_check_lib_save_LIBS=$LIBS
43961 LIBS="-lshl_load $LIBS"
43962 cat >conftest.$ac_ext <<_ACEOF
43963 /* confdefs.h. */
43964 _ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43968
43969 /* Override any GCC internal prototype to avoid an error.
43970 Use char because int might match the return type of a GCC
43971 builtin and then its argument prototype would still apply. */
43972 #ifdef __cplusplus
43973 extern "C"
43974 #endif
43975 char dld ();
43976 int
43977 main ()
43978 {
43979 return dld ();
43980 ;
43981 return 0;
43982 }
43983 _ACEOF
43984 rm -f conftest.$ac_objext conftest$ac_exeext
43985 if { (ac_try="$ac_link"
43986 case "(($ac_try" in
43987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43988 *) ac_try_echo=$ac_try;;
43989 esac
43990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43991 (eval "$ac_link") 2>conftest.er1
43992 ac_status=$?
43993 grep -v '^ *+' conftest.er1 >conftest.err
43994 rm -f conftest.er1
43995 cat conftest.err >&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } && {
43998 test -z "$ac_c_werror_flag" ||
43999 test ! -s conftest.err
44000 } && test -s conftest$ac_exeext &&
44001 $as_test_x conftest$ac_exeext; then
44002 ac_cv_lib_shl_load_dld=yes
44003 else
44004 echo "$as_me: failed program was:" >&5
44005 sed 's/^/| /' conftest.$ac_ext >&5
44006
44007 ac_cv_lib_shl_load_dld=no
44008 fi
44009
44010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44011 conftest$ac_exeext conftest.$ac_ext
44012 LIBS=$ac_check_lib_save_LIBS
44013 fi
44014 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44015 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44016 if test $ac_cv_lib_shl_load_dld = yes; then
44017
44018 HAVE_SHL_FUNCS=1
44019 DL_LINK=" -ldld$DL_LINK"
44020
44021 fi
44022
44023
44024 fi
44025 done
44026
44027
44028 fi
44029
44030
44031 fi
44032 done
44033
44034
44035 if test "$HAVE_DL_FUNCS" = 1; then
44036
44037 for ac_func in dlerror
44038 do
44039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44042 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44043 echo $ECHO_N "(cached) $ECHO_C" >&6
44044 else
44045 cat >conftest.$ac_ext <<_ACEOF
44046 /* confdefs.h. */
44047 _ACEOF
44048 cat confdefs.h >>conftest.$ac_ext
44049 cat >>conftest.$ac_ext <<_ACEOF
44050 /* end confdefs.h. */
44051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44053 #define $ac_func innocuous_$ac_func
44054
44055 /* System header to define __stub macros and hopefully few prototypes,
44056 which can conflict with char $ac_func (); below.
44057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44058 <limits.h> exists even on freestanding compilers. */
44059
44060 #ifdef __STDC__
44061 # include <limits.h>
44062 #else
44063 # include <assert.h>
44064 #endif
44065
44066 #undef $ac_func
44067
44068 /* Override any GCC internal prototype to avoid an error.
44069 Use char because int might match the return type of a GCC
44070 builtin and then its argument prototype would still apply. */
44071 #ifdef __cplusplus
44072 extern "C"
44073 #endif
44074 char $ac_func ();
44075 /* The GNU C library defines this for functions which it implements
44076 to always fail with ENOSYS. Some functions are actually named
44077 something starting with __ and the normal name is an alias. */
44078 #if defined __stub_$ac_func || defined __stub___$ac_func
44079 choke me
44080 #endif
44081
44082 int
44083 main ()
44084 {
44085 return $ac_func ();
44086 ;
44087 return 0;
44088 }
44089 _ACEOF
44090 rm -f conftest.$ac_objext conftest$ac_exeext
44091 if { (ac_try="$ac_link"
44092 case "(($ac_try" in
44093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44094 *) ac_try_echo=$ac_try;;
44095 esac
44096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44097 (eval "$ac_link") 2>conftest.er1
44098 ac_status=$?
44099 grep -v '^ *+' conftest.er1 >conftest.err
44100 rm -f conftest.er1
44101 cat conftest.err >&5
44102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103 (exit $ac_status); } && {
44104 test -z "$ac_c_werror_flag" ||
44105 test ! -s conftest.err
44106 } && test -s conftest$ac_exeext &&
44107 $as_test_x conftest$ac_exeext; then
44108 eval "$as_ac_var=yes"
44109 else
44110 echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44112
44113 eval "$as_ac_var=no"
44114 fi
44115
44116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44117 conftest$ac_exeext conftest.$ac_ext
44118 fi
44119 ac_res=`eval echo '${'$as_ac_var'}'`
44120 { echo "$as_me:$LINENO: result: $ac_res" >&5
44121 echo "${ECHO_T}$ac_res" >&6; }
44122 if test `eval echo '${'$as_ac_var'}'` = yes; then
44123 cat >>confdefs.h <<_ACEOF
44124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44125 _ACEOF
44126 cat >>confdefs.h <<\_ACEOF
44127 #define HAVE_DLERROR 1
44128 _ACEOF
44129
44130 else
44131
44132 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44133 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44134 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44135 echo $ECHO_N "(cached) $ECHO_C" >&6
44136 else
44137 ac_check_lib_save_LIBS=$LIBS
44138 LIBS="-ldl $LIBS"
44139 cat >conftest.$ac_ext <<_ACEOF
44140 /* confdefs.h. */
44141 _ACEOF
44142 cat confdefs.h >>conftest.$ac_ext
44143 cat >>conftest.$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44145
44146 /* Override any GCC internal prototype to avoid an error.
44147 Use char because int might match the return type of a GCC
44148 builtin and then its argument prototype would still apply. */
44149 #ifdef __cplusplus
44150 extern "C"
44151 #endif
44152 char dlerror ();
44153 int
44154 main ()
44155 {
44156 return dlerror ();
44157 ;
44158 return 0;
44159 }
44160 _ACEOF
44161 rm -f conftest.$ac_objext conftest$ac_exeext
44162 if { (ac_try="$ac_link"
44163 case "(($ac_try" in
44164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44165 *) ac_try_echo=$ac_try;;
44166 esac
44167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44168 (eval "$ac_link") 2>conftest.er1
44169 ac_status=$?
44170 grep -v '^ *+' conftest.er1 >conftest.err
44171 rm -f conftest.er1
44172 cat conftest.err >&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); } && {
44175 test -z "$ac_c_werror_flag" ||
44176 test ! -s conftest.err
44177 } && test -s conftest$ac_exeext &&
44178 $as_test_x conftest$ac_exeext; then
44179 ac_cv_lib_dl_dlerror=yes
44180 else
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.$ac_ext >&5
44183
44184 ac_cv_lib_dl_dlerror=no
44185 fi
44186
44187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44188 conftest$ac_exeext conftest.$ac_ext
44189 LIBS=$ac_check_lib_save_LIBS
44190 fi
44191 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44192 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44193 if test $ac_cv_lib_dl_dlerror = yes; then
44194 cat >>confdefs.h <<\_ACEOF
44195 #define HAVE_DLERROR 1
44196 _ACEOF
44197
44198 fi
44199
44200
44201
44202 fi
44203 done
44204
44205 fi
44206 fi
44207
44208 if test "$HAVE_DL_FUNCS" = 0; then
44209 if test "$HAVE_SHL_FUNCS" = 0; then
44210 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44211 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44212 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44213 wxUSE_DYNAMIC_LOADER=no
44214 wxUSE_DYNLIB_CLASS=no
44215 else
44216 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44217 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44218 fi
44219 fi
44220 fi
44221 fi
44222 fi
44223
44224 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_DYNAMIC_LOADER 1
44227 _ACEOF
44228
44229 fi
44230 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44231 cat >>confdefs.h <<\_ACEOF
44232 #define wxUSE_DYNLIB_CLASS 1
44233 _ACEOF
44234
44235 fi
44236
44237
44238
44239 if test "$wxUSE_PLUGINS" = "yes" ; then
44240 if test "$wxUSE_SHARED" = "no" ; then
44241 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44242 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44243 wxUSE_PLUGINS=no
44244 fi
44245 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44246 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44247 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44248 wxUSE_PLUGINS=no
44249 fi
44250 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44251 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44252 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44253 wxUSE_PLUGINS=no
44254 fi
44255 if test "$wxUSE_PLUGINS" = "yes" ; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_PLUGINS 1
44258 _ACEOF
44259
44260 fi
44261 fi
44262
44263
44264 if test "$wxUSE_STL" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_STL 1
44267 _ACEOF
44268
44269 fi
44270
44271 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_EXTENDED_RTTI 1
44274 _ACEOF
44275
44276 fi
44277
44278 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_APPLE_IEEE 1
44281 _ACEOF
44282
44283 fi
44284
44285 if test "$wxUSE_TIMER" = "yes"; then
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_TIMER 1
44288 _ACEOF
44289
44290 fi
44291
44292 if test "$USE_UNIX" = 1 ; then
44293 if test "$wxUSE_MGL" != 1; then
44294 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44295 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44296 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44297 echo $ECHO_N "(cached) $ECHO_C" >&6
44298 else
44299
44300 cat >conftest.$ac_ext <<_ACEOF
44301 /* confdefs.h. */
44302 _ACEOF
44303 cat confdefs.h >>conftest.$ac_ext
44304 cat >>conftest.$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44306
44307 #include <sys/ioctl.h>
44308 #include <sys/soundcard.h>
44309
44310 int
44311 main ()
44312 {
44313
44314 ioctl(0, SNDCTL_DSP_SPEED, 0);
44315
44316 ;
44317 return 0;
44318 }
44319 _ACEOF
44320 rm -f conftest.$ac_objext conftest$ac_exeext
44321 if { (ac_try="$ac_link"
44322 case "(($ac_try" in
44323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44324 *) ac_try_echo=$ac_try;;
44325 esac
44326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44327 (eval "$ac_link") 2>conftest.er1
44328 ac_status=$?
44329 grep -v '^ *+' conftest.er1 >conftest.err
44330 rm -f conftest.er1
44331 cat conftest.err >&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } && {
44334 test -z "$ac_c_werror_flag" ||
44335 test ! -s conftest.err
44336 } && test -s conftest$ac_exeext &&
44337 $as_test_x conftest$ac_exeext; then
44338 ac_cv_header_sys_soundcard=yes
44339 else
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343
44344 saveLibs="$LIBS"
44345 LIBS="$saveLibs -lossaudio"
44346 cat >conftest.$ac_ext <<_ACEOF
44347 /* confdefs.h. */
44348 _ACEOF
44349 cat confdefs.h >>conftest.$ac_ext
44350 cat >>conftest.$ac_ext <<_ACEOF
44351 /* end confdefs.h. */
44352
44353 #include <sys/ioctl.h>
44354 #include <sys/soundcard.h>
44355
44356 int
44357 main ()
44358 {
44359
44360 ioctl(0, SNDCTL_DSP_SPEED, 0);
44361
44362 ;
44363 return 0;
44364 }
44365 _ACEOF
44366 rm -f conftest.$ac_objext conftest$ac_exeext
44367 if { (ac_try="$ac_link"
44368 case "(($ac_try" in
44369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44370 *) ac_try_echo=$ac_try;;
44371 esac
44372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44373 (eval "$ac_link") 2>conftest.er1
44374 ac_status=$?
44375 grep -v '^ *+' conftest.er1 >conftest.err
44376 rm -f conftest.er1
44377 cat conftest.err >&5
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); } && {
44380 test -z "$ac_c_werror_flag" ||
44381 test ! -s conftest.err
44382 } && test -s conftest$ac_exeext &&
44383 $as_test_x conftest$ac_exeext; then
44384 ac_cv_header_sys_soundcard=yes
44385 else
44386 echo "$as_me: failed program was:" >&5
44387 sed 's/^/| /' conftest.$ac_ext >&5
44388
44389
44390 LIBS="$saveLibs"
44391 ac_cv_header_sys_soundcard=no
44392
44393
44394 fi
44395
44396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44397 conftest$ac_exeext conftest.$ac_ext
44398
44399
44400 fi
44401
44402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44403 conftest$ac_exeext conftest.$ac_ext
44404
44405 fi
44406 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44407 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44408 fi
44409
44410 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define HAVE_SYS_SOUNDCARD_H 1
44413 _ACEOF
44414
44415 fi
44416 fi
44417
44418 WITH_PLUGIN_SDL=0
44419 if test "$wxUSE_SOUND" = "yes"; then
44420 if test "$USE_UNIX" = 1 ; then
44421 if test "$wxUSE_LIBSDL" != "no"; then
44422
44423 # Check whether --with-sdl-prefix was given.
44424 if test "${with_sdl_prefix+set}" = set; then
44425 withval=$with_sdl_prefix; sdl_prefix="$withval"
44426 else
44427 sdl_prefix=""
44428 fi
44429
44430
44431 # Check whether --with-sdl-exec-prefix was given.
44432 if test "${with_sdl_exec_prefix+set}" = set; then
44433 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44434 else
44435 sdl_exec_prefix=""
44436 fi
44437
44438 # Check whether --enable-sdltest was given.
44439 if test "${enable_sdltest+set}" = set; then
44440 enableval=$enable_sdltest;
44441 else
44442 enable_sdltest=yes
44443 fi
44444
44445
44446 if test x$sdl_exec_prefix != x ; then
44447 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44448 if test x${SDL_CONFIG+set} != xset ; then
44449 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44450 fi
44451 fi
44452 if test x$sdl_prefix != x ; then
44453 sdl_args="$sdl_args --prefix=$sdl_prefix"
44454 if test x${SDL_CONFIG+set} != xset ; then
44455 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44456 fi
44457 fi
44458
44459 if test "x$prefix" != xNONE; then
44460 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44461 fi
44462 # Extract the first word of "sdl-config", so it can be a program name with args.
44463 set dummy sdl-config; ac_word=$2
44464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44466 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44467 echo $ECHO_N "(cached) $ECHO_C" >&6
44468 else
44469 case $SDL_CONFIG in
44470 [\\/]* | ?:[\\/]*)
44471 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44472 ;;
44473 *)
44474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44475 for as_dir in $PATH
44476 do
44477 IFS=$as_save_IFS
44478 test -z "$as_dir" && as_dir=.
44479 for ac_exec_ext in '' $ac_executable_extensions; do
44480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44481 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44483 break 2
44484 fi
44485 done
44486 done
44487 IFS=$as_save_IFS
44488
44489 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44490 ;;
44491 esac
44492 fi
44493 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44494 if test -n "$SDL_CONFIG"; then
44495 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44496 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44497 else
44498 { echo "$as_me:$LINENO: result: no" >&5
44499 echo "${ECHO_T}no" >&6; }
44500 fi
44501
44502
44503 min_sdl_version=1.2.0
44504 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44505 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44506 no_sdl=""
44507 if test "$SDL_CONFIG" = "no" ; then
44508 no_sdl=yes
44509 else
44510 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44511 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44512
44513 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44515 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44517 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44519 if test "x$enable_sdltest" = "xyes" ; then
44520 ac_save_CFLAGS="$CFLAGS"
44521 ac_save_CXXFLAGS="$CXXFLAGS"
44522 ac_save_LIBS="$LIBS"
44523 CFLAGS="$CFLAGS $SDL_CFLAGS"
44524 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44525 LIBS="$LIBS $SDL_LIBS"
44526 rm -f conf.sdltest
44527 if test "$cross_compiling" = yes; then
44528 echo $ac_n "cross compiling; assumed OK... $ac_c"
44529 else
44530 cat >conftest.$ac_ext <<_ACEOF
44531 /* confdefs.h. */
44532 _ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44536
44537 #include <stdio.h>
44538 #include <stdlib.h>
44539 #include <string.h>
44540 #include "SDL.h"
44541
44542 char*
44543 my_strdup (char *str)
44544 {
44545 char *new_str;
44546
44547 if (str)
44548 {
44549 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44550 strcpy (new_str, str);
44551 }
44552 else
44553 new_str = NULL;
44554
44555 return new_str;
44556 }
44557
44558 int main (int argc, char *argv[])
44559 {
44560 int major, minor, micro;
44561 char *tmp_version;
44562
44563 /* This hangs on some systems (?)
44564 system ("touch conf.sdltest");
44565 */
44566 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44567
44568 /* HP/UX 9 (%@#!) writes to sscanf strings */
44569 tmp_version = my_strdup("$min_sdl_version");
44570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44571 printf("%s, bad version string\n", "$min_sdl_version");
44572 exit(1);
44573 }
44574
44575 if (($sdl_major_version > major) ||
44576 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44577 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44578 {
44579 return 0;
44580 }
44581 else
44582 {
44583 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44584 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44585 printf("*** best to upgrade to the required version.\n");
44586 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44587 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44588 printf("*** config.cache before re-running configure\n");
44589 return 1;
44590 }
44591 }
44592
44593
44594 _ACEOF
44595 rm -f conftest$ac_exeext
44596 if { (ac_try="$ac_link"
44597 case "(($ac_try" in
44598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44600 esac
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_link") 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44606 { (case "(($ac_try" in
44607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44608 *) ac_try_echo=$ac_try;;
44609 esac
44610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44611 (eval "$ac_try") 2>&5
44612 ac_status=$?
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); }; }; then
44615 :
44616 else
44617 echo "$as_me: program exited with status $ac_status" >&5
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.$ac_ext >&5
44620
44621 ( exit $ac_status )
44622 no_sdl=yes
44623 fi
44624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44625 fi
44626
44627
44628 CFLAGS="$ac_save_CFLAGS"
44629 CXXFLAGS="$ac_save_CXXFLAGS"
44630 LIBS="$ac_save_LIBS"
44631 fi
44632 fi
44633 if test "x$no_sdl" = x ; then
44634 { echo "$as_me:$LINENO: result: yes" >&5
44635 echo "${ECHO_T}yes" >&6; }
44636
44637 EXTRALIBS_SDL="$SDL_LIBS"
44638 CFLAGS="$SDL_CFLAGS $CFLAGS"
44639 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_LIBSDL 1
44642 _ACEOF
44643
44644
44645 else
44646 { echo "$as_me:$LINENO: result: no" >&5
44647 echo "${ECHO_T}no" >&6; }
44648 if test "$SDL_CONFIG" = "no" ; then
44649 echo "*** The sdl-config script installed by SDL could not be found"
44650 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44651 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44652 echo "*** full path to sdl-config."
44653 else
44654 if test -f conf.sdltest ; then
44655 :
44656 else
44657 echo "*** Could not run SDL test program, checking why..."
44658 CFLAGS="$CFLAGS $SDL_CFLAGS"
44659 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44660 LIBS="$LIBS $SDL_LIBS"
44661 cat >conftest.$ac_ext <<_ACEOF
44662 /* confdefs.h. */
44663 _ACEOF
44664 cat confdefs.h >>conftest.$ac_ext
44665 cat >>conftest.$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667
44668 #include <stdio.h>
44669 #include "SDL.h"
44670
44671 int main(int argc, char *argv[])
44672 { return 0; }
44673 #undef main
44674 #define main K_and_R_C_main
44675
44676 int
44677 main ()
44678 {
44679 return 0;
44680 ;
44681 return 0;
44682 }
44683 _ACEOF
44684 rm -f conftest.$ac_objext conftest$ac_exeext
44685 if { (ac_try="$ac_link"
44686 case "(($ac_try" in
44687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44688 *) ac_try_echo=$ac_try;;
44689 esac
44690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44691 (eval "$ac_link") 2>conftest.er1
44692 ac_status=$?
44693 grep -v '^ *+' conftest.er1 >conftest.err
44694 rm -f conftest.er1
44695 cat conftest.err >&5
44696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697 (exit $ac_status); } && {
44698 test -z "$ac_c_werror_flag" ||
44699 test ! -s conftest.err
44700 } && test -s conftest$ac_exeext &&
44701 $as_test_x conftest$ac_exeext; then
44702 echo "*** The test program compiled, but did not run. This usually means"
44703 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44704 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44706 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44707 echo "*** is required on your system"
44708 echo "***"
44709 echo "*** If you have an old version installed, it is best to remove it, although"
44710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44711 else
44712 echo "$as_me: failed program was:" >&5
44713 sed 's/^/| /' conftest.$ac_ext >&5
44714
44715 echo "*** The test program failed to compile or link. See the file config.log for the"
44716 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44717 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44718 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44719 fi
44720
44721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44722 conftest$ac_exeext conftest.$ac_ext
44723 CFLAGS="$ac_save_CFLAGS"
44724 CXXFLAGS="$ac_save_CXXFLAGS"
44725 LIBS="$ac_save_LIBS"
44726 fi
44727 fi
44728 SDL_CFLAGS=""
44729 SDL_LIBS=""
44730 wxUSE_LIBSDL="no"
44731 fi
44732
44733
44734 rm -f conf.sdltest
44735
44736 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44737 WITH_PLUGIN_SDL=1
44738 fi
44739 fi
44740 else
44741 if test "$wxUSE_MGL" = 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44743 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44744 wxUSE_SOUND="no"
44745 fi
44746 fi
44747 fi
44748
44749 if test "$wxUSE_SOUND" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_SOUND 1
44752 _ACEOF
44753
44754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44755 fi
44756
44757 if test "$WXGTK2" = 1; then
44758
44759
44760 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44761 if test -n "$ac_tool_prefix"; then
44762 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44766 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44767 echo $ECHO_N "(cached) $ECHO_C" >&6
44768 else
44769 case $PKG_CONFIG in
44770 [\\/]* | ?:[\\/]*)
44771 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44772 ;;
44773 *)
44774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44775 for as_dir in $PATH
44776 do
44777 IFS=$as_save_IFS
44778 test -z "$as_dir" && as_dir=.
44779 for ac_exec_ext in '' $ac_executable_extensions; do
44780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44781 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44783 break 2
44784 fi
44785 done
44786 done
44787 IFS=$as_save_IFS
44788
44789 ;;
44790 esac
44791 fi
44792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44793 if test -n "$PKG_CONFIG"; then
44794 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44795 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44796 else
44797 { echo "$as_me:$LINENO: result: no" >&5
44798 echo "${ECHO_T}no" >&6; }
44799 fi
44800
44801
44802 fi
44803 if test -z "$ac_cv_path_PKG_CONFIG"; then
44804 ac_pt_PKG_CONFIG=$PKG_CONFIG
44805 # Extract the first word of "pkg-config", so it can be a program name with args.
44806 set dummy pkg-config; ac_word=$2
44807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44809 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44810 echo $ECHO_N "(cached) $ECHO_C" >&6
44811 else
44812 case $ac_pt_PKG_CONFIG in
44813 [\\/]* | ?:[\\/]*)
44814 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44815 ;;
44816 *)
44817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44818 for as_dir in $PATH
44819 do
44820 IFS=$as_save_IFS
44821 test -z "$as_dir" && as_dir=.
44822 for ac_exec_ext in '' $ac_executable_extensions; do
44823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44824 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44826 break 2
44827 fi
44828 done
44829 done
44830 IFS=$as_save_IFS
44831
44832 ;;
44833 esac
44834 fi
44835 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44836 if test -n "$ac_pt_PKG_CONFIG"; then
44837 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44838 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44839 else
44840 { echo "$as_me:$LINENO: result: no" >&5
44841 echo "${ECHO_T}no" >&6; }
44842 fi
44843
44844 if test "x$ac_pt_PKG_CONFIG" = x; then
44845 PKG_CONFIG=""
44846 else
44847 case $cross_compiling:$ac_tool_warned in
44848 yes:)
44849 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44850 whose name does not start with the host triplet. If you think this
44851 configuration is useful to you, please write to autoconf@gnu.org." >&5
44852 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44853 whose name does not start with the host triplet. If you think this
44854 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44855 ac_tool_warned=yes ;;
44856 esac
44857 PKG_CONFIG=$ac_pt_PKG_CONFIG
44858 fi
44859 else
44860 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44861 fi
44862
44863 fi
44864 if test -n "$PKG_CONFIG"; then
44865 _pkg_min_version=0.9.0
44866 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44867 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44868 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44869 { echo "$as_me:$LINENO: result: yes" >&5
44870 echo "${ECHO_T}yes" >&6; }
44871 else
44872 { echo "$as_me:$LINENO: result: no" >&5
44873 echo "${ECHO_T}no" >&6; }
44874 PKG_CONFIG=""
44875 fi
44876
44877 fi
44878
44879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44880
44881 if test "$wxUSE_GTKPRINT" = "yes" ; then
44882
44883
44884 pkg_failed=no
44885 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44886 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44887
44888 if test -n "$PKG_CONFIG"; then
44889 if test -n "$GTKPRINT_CFLAGS"; then
44890 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44891 else
44892 if test -n "$PKG_CONFIG" && \
44893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44894 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44895 ac_status=$?
44896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897 (exit $ac_status); }; then
44898 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44899 else
44900 pkg_failed=yes
44901 fi
44902 fi
44903 else
44904 pkg_failed=untried
44905 fi
44906 if test -n "$PKG_CONFIG"; then
44907 if test -n "$GTKPRINT_LIBS"; then
44908 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44909 else
44910 if test -n "$PKG_CONFIG" && \
44911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44912 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44913 ac_status=$?
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); }; then
44916 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44917 else
44918 pkg_failed=yes
44919 fi
44920 fi
44921 else
44922 pkg_failed=untried
44923 fi
44924
44925
44926
44927 if test $pkg_failed = yes; then
44928
44929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44930 _pkg_short_errors_supported=yes
44931 else
44932 _pkg_short_errors_supported=no
44933 fi
44934 if test $_pkg_short_errors_supported = yes; then
44935 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44936 else
44937 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44938 fi
44939 # Put the nasty error message in config.log where it belongs
44940 echo "$GTKPRINT_PKG_ERRORS" >&5
44941
44942
44943 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44944 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44945 wxUSE_GTKPRINT="no"
44946
44947
44948 elif test $pkg_failed = untried; then
44949
44950 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44951 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44952 wxUSE_GTKPRINT="no"
44953
44954
44955 else
44956 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44957 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44958 { echo "$as_me:$LINENO: result: yes" >&5
44959 echo "${ECHO_T}yes" >&6; }
44960
44961 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44962 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_GTKPRINT 1
44965 _ACEOF
44966
44967
44968 fi
44969 fi
44970
44971 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44972
44973
44974 pkg_failed=no
44975 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44976 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44977
44978 if test -n "$PKG_CONFIG"; then
44979 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44980 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44981 else
44982 if test -n "$PKG_CONFIG" && \
44983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44984 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44985 ac_status=$?
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; then
44988 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44989 else
44990 pkg_failed=yes
44991 fi
44992 fi
44993 else
44994 pkg_failed=untried
44995 fi
44996 if test -n "$PKG_CONFIG"; then
44997 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44998 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44999 else
45000 if test -n "$PKG_CONFIG" && \
45001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45002 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45003 ac_status=$?
45004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005 (exit $ac_status); }; then
45006 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45007 else
45008 pkg_failed=yes
45009 fi
45010 fi
45011 else
45012 pkg_failed=untried
45013 fi
45014
45015
45016
45017 if test $pkg_failed = yes; then
45018
45019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45020 _pkg_short_errors_supported=yes
45021 else
45022 _pkg_short_errors_supported=no
45023 fi
45024 if test $_pkg_short_errors_supported = yes; then
45025 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45026 else
45027 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45028 fi
45029 # Put the nasty error message in config.log where it belongs
45030 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45031
45032
45033 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45034 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45035 wxUSE_LIBGNOMEPRINT="no"
45036
45037
45038 elif test $pkg_failed = untried; then
45039
45040 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45041 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45042 wxUSE_LIBGNOMEPRINT="no"
45043
45044
45045 else
45046 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45047 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45048 { echo "$as_me:$LINENO: result: yes" >&5
45049 echo "${ECHO_T}yes" >&6; }
45050
45051 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45052 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_LIBGNOMEPRINT 1
45055 _ACEOF
45056
45057
45058 fi
45059 fi
45060 fi
45061
45062 if test "$wxUSE_MIMETYPE" = "yes" ; then
45063 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45064
45065
45066 pkg_failed=no
45067 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45068 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45069
45070 if test -n "$PKG_CONFIG"; then
45071 if test -n "$GNOMEVFS_CFLAGS"; then
45072 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45073 else
45074 if test -n "$PKG_CONFIG" && \
45075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45076 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; then
45080 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45081 else
45082 pkg_failed=yes
45083 fi
45084 fi
45085 else
45086 pkg_failed=untried
45087 fi
45088 if test -n "$PKG_CONFIG"; then
45089 if test -n "$GNOMEVFS_LIBS"; then
45090 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45091 else
45092 if test -n "$PKG_CONFIG" && \
45093 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45094 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45095 ac_status=$?
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); }; then
45098 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45099 else
45100 pkg_failed=yes
45101 fi
45102 fi
45103 else
45104 pkg_failed=untried
45105 fi
45106
45107
45108
45109 if test $pkg_failed = yes; then
45110
45111 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45112 _pkg_short_errors_supported=yes
45113 else
45114 _pkg_short_errors_supported=no
45115 fi
45116 if test $_pkg_short_errors_supported = yes; then
45117 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45118 else
45119 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45120 fi
45121 # Put the nasty error message in config.log where it belongs
45122 echo "$GNOMEVFS_PKG_ERRORS" >&5
45123
45124
45125 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45126 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45127 wxUSE_LIBGNOMEVFS="no"
45128
45129
45130 elif test $pkg_failed = untried; then
45131
45132 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45133 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45134 wxUSE_LIBGNOMEVFS="no"
45135
45136
45137 else
45138 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45139 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45140 { echo "$as_me:$LINENO: result: yes" >&5
45141 echo "${ECHO_T}yes" >&6; }
45142
45143 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45144 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_LIBGNOMEVFS 1
45147 _ACEOF
45148
45149
45150 fi
45151 fi
45152 fi
45153
45154 if test "$wxUSE_LIBHILDON" = "yes" ; then
45155
45156 pkg_failed=no
45157 { echo "$as_me:$LINENO: checking for HILDON" >&5
45158 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45159
45160 if test -n "$PKG_CONFIG"; then
45161 if test -n "$HILDON_CFLAGS"; then
45162 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45163 else
45164 if test -n "$PKG_CONFIG" && \
45165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45166 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45167 ac_status=$?
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); }; then
45170 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45171 else
45172 pkg_failed=yes
45173 fi
45174 fi
45175 else
45176 pkg_failed=untried
45177 fi
45178 if test -n "$PKG_CONFIG"; then
45179 if test -n "$HILDON_LIBS"; then
45180 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45181 else
45182 if test -n "$PKG_CONFIG" && \
45183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45184 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45185 ac_status=$?
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); }; then
45188 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45189 else
45190 pkg_failed=yes
45191 fi
45192 fi
45193 else
45194 pkg_failed=untried
45195 fi
45196
45197
45198
45199 if test $pkg_failed = yes; then
45200
45201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45202 _pkg_short_errors_supported=yes
45203 else
45204 _pkg_short_errors_supported=no
45205 fi
45206 if test $_pkg_short_errors_supported = yes; then
45207 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45208 else
45209 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45210 fi
45211 # Put the nasty error message in config.log where it belongs
45212 echo "$HILDON_PKG_ERRORS" >&5
45213
45214
45215 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45216 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45217 wxUSE_LIBHILDON="no"
45218
45219
45220 elif test $pkg_failed = untried; then
45221
45222 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45223 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45224 wxUSE_LIBHILDON="no"
45225
45226
45227 else
45228 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45229 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45230 { echo "$as_me:$LINENO: result: yes" >&5
45231 echo "${ECHO_T}yes" >&6; }
45232
45233 EXTRALIBS_HILDON="$HILDON_LIBS"
45234 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45235 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_LIBHILDON 1
45238 _ACEOF
45239
45240
45241 fi
45242 fi
45243 fi
45244
45245 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_CMDLINE_PARSER 1
45248 _ACEOF
45249
45250 fi
45251
45252 if test "$wxUSE_STOPWATCH" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_STOPWATCH 1
45255 _ACEOF
45256
45257 fi
45258
45259 if test "$wxUSE_DATETIME" = "yes"; then
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_DATETIME 1
45262 _ACEOF
45263
45264 fi
45265
45266 if test "$wxUSE_FILE" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_FILE 1
45269 _ACEOF
45270
45271 fi
45272
45273 if test "$wxUSE_FFILE" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_FFILE 1
45276 _ACEOF
45277
45278 fi
45279
45280 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45281 if test "$wxUSE_STREAMS" != yes; then
45282 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45283 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45284 wxUSE_ARCHIVE_STREAMS=no
45285 else
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_ARCHIVE_STREAMS 1
45288 _ACEOF
45289
45290 fi
45291 fi
45292
45293 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45294 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45295 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45296 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45297 elif test "$wxUSE_ZLIB" = "no"; then
45298 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45299 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45300 else
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_ZIPSTREAM 1
45303 _ACEOF
45304
45305 fi
45306 fi
45307
45308 if test "$wxUSE_TARSTREAM" = "yes"; then
45309 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45310 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45311 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45312 else
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_TARSTREAM 1
45315 _ACEOF
45316
45317 fi
45318 fi
45319
45320 if test "$wxUSE_FILESYSTEM" = "yes"; then
45321 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45322 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45323 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45324 wxUSE_FILESYSTEM=no
45325 else
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_FILESYSTEM 1
45328 _ACEOF
45329
45330 fi
45331 fi
45332
45333 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45334 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45335 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45336 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45337 else
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_FS_ARCHIVE 1
45340 _ACEOF
45341
45342 fi
45343 fi
45344
45345 if test "$wxUSE_FS_ZIP" = "yes"; then
45346 if test "$wxUSE_FS_ARCHIVE" != yes; then
45347 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45348 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45349 else
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_FS_ZIP 1
45352 _ACEOF
45353
45354 fi
45355 fi
45356
45357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45358 if test "$USE_UNIX" != 1; then
45359 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45360 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45361 wxUSE_ON_FATAL_EXCEPTION=no
45362 else
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_ON_FATAL_EXCEPTION 1
45365 _ACEOF
45366
45367 fi
45368 fi
45369
45370 if test "$wxUSE_STACKWALKER" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_STACKWALKER 1
45373 _ACEOF
45374
45375 fi
45376
45377 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45378 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45379 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45380 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45381 wxUSE_DEBUGREPORT=no
45382 else
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_DEBUGREPORT 1
45385 _ACEOF
45386
45387 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45389 fi
45390 fi
45391 fi
45392
45393 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_SNGLINST_CHECKER 1
45396 _ACEOF
45397
45398 fi
45399
45400 if test "$wxUSE_BUSYINFO" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_BUSYINFO 1
45403 _ACEOF
45404
45405 fi
45406
45407 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_STD_IOSTREAM 1
45410 _ACEOF
45411
45412 fi
45413
45414 if test "$wxUSE_STD_STRING" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_STD_STRING 1
45417 _ACEOF
45418
45419 fi
45420
45421 if test "$wxUSE_STDPATHS" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_STDPATHS 1
45424 _ACEOF
45425
45426 fi
45427
45428 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_TEXTBUFFER 1
45431 _ACEOF
45432
45433 fi
45434
45435 if test "$wxUSE_TEXTFILE" = "yes"; then
45436 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45437 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45438 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45439 else
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_TEXTFILE 1
45442 _ACEOF
45443
45444 fi
45445 fi
45446
45447 if test "$wxUSE_CONFIG" = "yes" ; then
45448 if test "$wxUSE_TEXTFILE" != "yes"; then
45449 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45450 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45451 else
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_CONFIG 1
45454 _ACEOF
45455
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_CONFIG_NATIVE 1
45458 _ACEOF
45459
45460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45461 fi
45462 fi
45463
45464 if test "$wxUSE_INTL" = "yes" ; then
45465 if test "$wxUSE_FILE" != "yes"; then
45466 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45467 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45468 else
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_INTL 1
45471 _ACEOF
45472
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45474 GUIDIST="$GUIDIST INTL_DIST"
45475 fi
45476 fi
45477
45478 if test "$wxUSE_LOG" = "yes"; then
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_LOG 1
45481 _ACEOF
45482
45483
45484 if test "$wxUSE_LOGGUI" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_LOGGUI 1
45487 _ACEOF
45488
45489 fi
45490
45491 if test "$wxUSE_LOGWINDOW" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_LOGWINDOW 1
45494 _ACEOF
45495
45496 fi
45497
45498 if test "$wxUSE_LOGDIALOG" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_LOG_DIALOG 1
45501 _ACEOF
45502
45503 fi
45504
45505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45506 fi
45507
45508 if test "$wxUSE_LONGLONG" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_LONGLONG 1
45511 _ACEOF
45512
45513 fi
45514
45515 if test "$wxUSE_GEOMETRY" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_GEOMETRY 1
45518 _ACEOF
45519
45520 fi
45521
45522 if test "$wxUSE_BASE64" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_BASE64 1
45525 _ACEOF
45526
45527 fi
45528
45529 if test "$wxUSE_STREAMS" = "yes" ; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_STREAMS 1
45532 _ACEOF
45533
45534 fi
45535
45536 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_PRINTF_POS_PARAMS 1
45539 _ACEOF
45540
45541 fi
45542
45543 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_OBJC_UNIQUIFYING 1
45546 _ACEOF
45547
45548 fi
45549
45550
45551 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CONSOLE_EVENTLOOP 1
45554 _ACEOF
45555
45556
45557 if test "$wxUSE_UNIX" = "yes"; then
45558 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_SELECT_DISPATCHER 1
45561 _ACEOF
45562
45563 fi
45564
45565 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45566
45567 for ac_header in sys/epoll.h
45568 do
45569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45573 echo $ECHO_N "(cached) $ECHO_C" >&6
45574 else
45575 cat >conftest.$ac_ext <<_ACEOF
45576 /* confdefs.h. */
45577 _ACEOF
45578 cat confdefs.h >>conftest.$ac_ext
45579 cat >>conftest.$ac_ext <<_ACEOF
45580 /* end confdefs.h. */
45581 $ac_includes_default
45582
45583 #include <$ac_header>
45584 _ACEOF
45585 rm -f conftest.$ac_objext
45586 if { (ac_try="$ac_compile"
45587 case "(($ac_try" in
45588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45589 *) ac_try_echo=$ac_try;;
45590 esac
45591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45592 (eval "$ac_compile") 2>conftest.er1
45593 ac_status=$?
45594 grep -v '^ *+' conftest.er1 >conftest.err
45595 rm -f conftest.er1
45596 cat conftest.err >&5
45597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598 (exit $ac_status); } && {
45599 test -z "$ac_c_werror_flag" ||
45600 test ! -s conftest.err
45601 } && test -s conftest.$ac_objext; then
45602 eval "$as_ac_Header=yes"
45603 else
45604 echo "$as_me: failed program was:" >&5
45605 sed 's/^/| /' conftest.$ac_ext >&5
45606
45607 eval "$as_ac_Header=no"
45608 fi
45609
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 fi
45612 ac_res=`eval echo '${'$as_ac_Header'}'`
45613 { echo "$as_me:$LINENO: result: $ac_res" >&5
45614 echo "${ECHO_T}$ac_res" >&6; }
45615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45616 cat >>confdefs.h <<_ACEOF
45617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45618 _ACEOF
45619
45620 fi
45621
45622 done
45623
45624 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_EPOLL_DISPATCHER 1
45627 _ACEOF
45628
45629 else
45630 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45631 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45632 fi
45633 fi
45634 fi
45635 fi
45636
45637
45638
45639
45640 for ac_func in gettimeofday ftime
45641 do
45642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45646 echo $ECHO_N "(cached) $ECHO_C" >&6
45647 else
45648 cat >conftest.$ac_ext <<_ACEOF
45649 /* confdefs.h. */
45650 _ACEOF
45651 cat confdefs.h >>conftest.$ac_ext
45652 cat >>conftest.$ac_ext <<_ACEOF
45653 /* end confdefs.h. */
45654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45656 #define $ac_func innocuous_$ac_func
45657
45658 /* System header to define __stub macros and hopefully few prototypes,
45659 which can conflict with char $ac_func (); below.
45660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45661 <limits.h> exists even on freestanding compilers. */
45662
45663 #ifdef __STDC__
45664 # include <limits.h>
45665 #else
45666 # include <assert.h>
45667 #endif
45668
45669 #undef $ac_func
45670
45671 /* Override any GCC internal prototype to avoid an error.
45672 Use char because int might match the return type of a GCC
45673 builtin and then its argument prototype would still apply. */
45674 #ifdef __cplusplus
45675 extern "C"
45676 #endif
45677 char $ac_func ();
45678 /* The GNU C library defines this for functions which it implements
45679 to always fail with ENOSYS. Some functions are actually named
45680 something starting with __ and the normal name is an alias. */
45681 #if defined __stub_$ac_func || defined __stub___$ac_func
45682 choke me
45683 #endif
45684
45685 int
45686 main ()
45687 {
45688 return $ac_func ();
45689 ;
45690 return 0;
45691 }
45692 _ACEOF
45693 rm -f conftest.$ac_objext conftest$ac_exeext
45694 if { (ac_try="$ac_link"
45695 case "(($ac_try" in
45696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45697 *) ac_try_echo=$ac_try;;
45698 esac
45699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45700 (eval "$ac_link") 2>conftest.er1
45701 ac_status=$?
45702 grep -v '^ *+' conftest.er1 >conftest.err
45703 rm -f conftest.er1
45704 cat conftest.err >&5
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); } && {
45707 test -z "$ac_c_werror_flag" ||
45708 test ! -s conftest.err
45709 } && test -s conftest$ac_exeext &&
45710 $as_test_x conftest$ac_exeext; then
45711 eval "$as_ac_var=yes"
45712 else
45713 echo "$as_me: failed program was:" >&5
45714 sed 's/^/| /' conftest.$ac_ext >&5
45715
45716 eval "$as_ac_var=no"
45717 fi
45718
45719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45720 conftest$ac_exeext conftest.$ac_ext
45721 fi
45722 ac_res=`eval echo '${'$as_ac_var'}'`
45723 { echo "$as_me:$LINENO: result: $ac_res" >&5
45724 echo "${ECHO_T}$ac_res" >&6; }
45725 if test `eval echo '${'$as_ac_var'}'` = yes; then
45726 cat >>confdefs.h <<_ACEOF
45727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45728 _ACEOF
45729 break
45730 fi
45731 done
45732
45733
45734 if test "$ac_cv_func_gettimeofday" = "yes"; then
45735 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45736 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45737 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45738 echo $ECHO_N "(cached) $ECHO_C" >&6
45739 else
45740
45741 cat >conftest.$ac_ext <<_ACEOF
45742 /* confdefs.h. */
45743 _ACEOF
45744 cat confdefs.h >>conftest.$ac_ext
45745 cat >>conftest.$ac_ext <<_ACEOF
45746 /* end confdefs.h. */
45747
45748 #include <sys/time.h>
45749 #include <unistd.h>
45750
45751 int
45752 main ()
45753 {
45754
45755 struct timeval tv;
45756 gettimeofday(&tv, NULL);
45757
45758 ;
45759 return 0;
45760 }
45761 _ACEOF
45762 rm -f conftest.$ac_objext
45763 if { (ac_try="$ac_compile"
45764 case "(($ac_try" in
45765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45766 *) ac_try_echo=$ac_try;;
45767 esac
45768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45769 (eval "$ac_compile") 2>conftest.er1
45770 ac_status=$?
45771 grep -v '^ *+' conftest.er1 >conftest.err
45772 rm -f conftest.er1
45773 cat conftest.err >&5
45774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775 (exit $ac_status); } && {
45776 test -z "$ac_c_werror_flag" ||
45777 test ! -s conftest.err
45778 } && test -s conftest.$ac_objext; then
45779 wx_cv_func_gettimeofday_has_2_args=yes
45780 else
45781 echo "$as_me: failed program was:" >&5
45782 sed 's/^/| /' conftest.$ac_ext >&5
45783
45784 cat >conftest.$ac_ext <<_ACEOF
45785 /* confdefs.h. */
45786 _ACEOF
45787 cat confdefs.h >>conftest.$ac_ext
45788 cat >>conftest.$ac_ext <<_ACEOF
45789 /* end confdefs.h. */
45790
45791 #include <sys/time.h>
45792 #include <unistd.h>
45793
45794 int
45795 main ()
45796 {
45797
45798 struct timeval tv;
45799 gettimeofday(&tv);
45800
45801 ;
45802 return 0;
45803 }
45804 _ACEOF
45805 rm -f conftest.$ac_objext
45806 if { (ac_try="$ac_compile"
45807 case "(($ac_try" in
45808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45809 *) ac_try_echo=$ac_try;;
45810 esac
45811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45812 (eval "$ac_compile") 2>conftest.er1
45813 ac_status=$?
45814 grep -v '^ *+' conftest.er1 >conftest.err
45815 rm -f conftest.er1
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } && {
45819 test -z "$ac_c_werror_flag" ||
45820 test ! -s conftest.err
45821 } && test -s conftest.$ac_objext; then
45822 wx_cv_func_gettimeofday_has_2_args=no
45823 else
45824 echo "$as_me: failed program was:" >&5
45825 sed 's/^/| /' conftest.$ac_ext >&5
45826
45827
45828 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45829 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45830 wx_cv_func_gettimeofday_has_2_args=unknown
45831
45832
45833 fi
45834
45835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45836
45837 fi
45838
45839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45840
45841 fi
45842 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45843 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45844
45845 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define WX_GETTIMEOFDAY_NO_TZ 1
45848 _ACEOF
45849
45850 fi
45851 fi
45852
45853 if test "$wxUSE_DATETIME" = "yes"; then
45854 { echo "$as_me:$LINENO: checking for strptime" >&5
45855 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45856 if test "${ac_cv_func_strptime+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859 cat >conftest.$ac_ext <<_ACEOF
45860 /* confdefs.h. */
45861 _ACEOF
45862 cat confdefs.h >>conftest.$ac_ext
45863 cat >>conftest.$ac_ext <<_ACEOF
45864 /* end confdefs.h. */
45865 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45867 #define strptime innocuous_strptime
45868
45869 /* System header to define __stub macros and hopefully few prototypes,
45870 which can conflict with char strptime (); below.
45871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45872 <limits.h> exists even on freestanding compilers. */
45873
45874 #ifdef __STDC__
45875 # include <limits.h>
45876 #else
45877 # include <assert.h>
45878 #endif
45879
45880 #undef strptime
45881
45882 /* Override any GCC internal prototype to avoid an error.
45883 Use char because int might match the return type of a GCC
45884 builtin and then its argument prototype would still apply. */
45885 #ifdef __cplusplus
45886 extern "C"
45887 #endif
45888 char strptime ();
45889 /* The GNU C library defines this for functions which it implements
45890 to always fail with ENOSYS. Some functions are actually named
45891 something starting with __ and the normal name is an alias. */
45892 #if defined __stub_strptime || defined __stub___strptime
45893 choke me
45894 #endif
45895
45896 int
45897 main ()
45898 {
45899 return strptime ();
45900 ;
45901 return 0;
45902 }
45903 _ACEOF
45904 rm -f conftest.$ac_objext conftest$ac_exeext
45905 if { (ac_try="$ac_link"
45906 case "(($ac_try" in
45907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45908 *) ac_try_echo=$ac_try;;
45909 esac
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_link") 2>conftest.er1
45912 ac_status=$?
45913 grep -v '^ *+' conftest.er1 >conftest.err
45914 rm -f conftest.er1
45915 cat conftest.err >&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } && {
45918 test -z "$ac_c_werror_flag" ||
45919 test ! -s conftest.err
45920 } && test -s conftest$ac_exeext &&
45921 $as_test_x conftest$ac_exeext; then
45922 ac_cv_func_strptime=yes
45923 else
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.$ac_ext >&5
45926
45927 ac_cv_func_strptime=no
45928 fi
45929
45930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45931 conftest$ac_exeext conftest.$ac_ext
45932 fi
45933 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45934 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45935
45936 if test "$ac_cv_func_strptime" = "yes"; then
45937 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45938 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45939 if test "${wx_cv_func_strptime_decl+set}" = set; then
45940 echo $ECHO_N "(cached) $ECHO_C" >&6
45941 else
45942
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949 cat >conftest.$ac_ext <<_ACEOF
45950 /* confdefs.h. */
45951 _ACEOF
45952 cat confdefs.h >>conftest.$ac_ext
45953 cat >>conftest.$ac_ext <<_ACEOF
45954 /* end confdefs.h. */
45955
45956 #include <time.h>
45957
45958 int
45959 main ()
45960 {
45961
45962 struct tm t;
45963 strptime("foo", "bar", &t);
45964
45965 ;
45966 return 0;
45967 }
45968 _ACEOF
45969 rm -f conftest.$ac_objext
45970 if { (ac_try="$ac_compile"
45971 case "(($ac_try" in
45972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45974 esac
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_compile") 2>conftest.er1
45977 ac_status=$?
45978 grep -v '^ *+' conftest.er1 >conftest.err
45979 rm -f conftest.er1
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_cxx_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest.$ac_objext; then
45986 wx_cv_func_strptime_decl=yes
45987 else
45988 echo "$as_me: failed program was:" >&5
45989 sed 's/^/| /' conftest.$ac_ext >&5
45990
45991 wx_cv_func_strptime_decl=no
45992
45993 fi
45994
45995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45996 ac_ext=c
45997 ac_cpp='$CPP $CPPFLAGS'
45998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46001
46002
46003
46004 fi
46005 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46006 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46007 fi
46008 if test "$wx_cv_func_strptime_decl" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define HAVE_STRPTIME_DECL 1
46011 _ACEOF
46012
46013 else
46014 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46015 fi
46016 if test "$ac_cv_func_strptime" = "yes"; then
46017 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46018 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46019 if test "${wx_cv_func_strptime_ok+set}" = set; then
46020 echo $ECHO_N "(cached) $ECHO_C" >&6
46021 else
46022 if test "$cross_compiling" = yes; then
46023 wx_cv_func_strptime_ok=no
46024
46025 else
46026 cat >conftest.$ac_ext <<_ACEOF
46027
46028 #include <stdlib.h>
46029 #include <time.h>
46030 #include "confdefs.h"
46031
46032 $wx_strptime_decl
46033
46034 int main()
46035 {
46036 struct tm t;
46037 return !!strptime("", "%x", &t);
46038 }
46039
46040 _ACEOF
46041 rm -f conftest$ac_exeext
46042 if { (ac_try="$ac_link"
46043 case "(($ac_try" in
46044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46045 *) ac_try_echo=$ac_try;;
46046 esac
46047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46048 (eval "$ac_link") 2>&5
46049 ac_status=$?
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46052 { (case "(($ac_try" in
46053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46054 *) ac_try_echo=$ac_try;;
46055 esac
46056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46057 (eval "$ac_try") 2>&5
46058 ac_status=$?
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; }; then
46061 wx_cv_func_strptime_ok=yes
46062 else
46063 echo "$as_me: program exited with status $ac_status" >&5
46064 echo "$as_me: failed program was:" >&5
46065 sed 's/^/| /' conftest.$ac_ext >&5
46066
46067 ( exit $ac_status )
46068 wx_cv_func_strptime_ok=no
46069 fi
46070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46071 fi
46072
46073
46074
46075 fi
46076 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46077 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46078
46079 if test "$wx_cv_func_strptime_ok" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define HAVE_STRPTIME 1
46082 _ACEOF
46083
46084 fi
46085 fi
46086
46087 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46088 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46089 if test "${wx_cv_var_timezone+set}" = set; then
46090 echo $ECHO_N "(cached) $ECHO_C" >&6
46091 else
46092
46093 ac_ext=cpp
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46098
46099 cat >conftest.$ac_ext <<_ACEOF
46100 /* confdefs.h. */
46101 _ACEOF
46102 cat confdefs.h >>conftest.$ac_ext
46103 cat >>conftest.$ac_ext <<_ACEOF
46104 /* end confdefs.h. */
46105
46106 #include <time.h>
46107
46108 int
46109 main ()
46110 {
46111
46112 int tz;
46113 tz = timezone;
46114
46115 ;
46116 return 0;
46117 }
46118 _ACEOF
46119 rm -f conftest.$ac_objext
46120 if { (ac_try="$ac_compile"
46121 case "(($ac_try" in
46122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46123 *) ac_try_echo=$ac_try;;
46124 esac
46125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46126 (eval "$ac_compile") 2>conftest.er1
46127 ac_status=$?
46128 grep -v '^ *+' conftest.er1 >conftest.err
46129 rm -f conftest.er1
46130 cat conftest.err >&5
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); } && {
46133 test -z "$ac_cxx_werror_flag" ||
46134 test ! -s conftest.err
46135 } && test -s conftest.$ac_objext; then
46136
46137 wx_cv_var_timezone=timezone
46138
46139 else
46140 echo "$as_me: failed program was:" >&5
46141 sed 's/^/| /' conftest.$ac_ext >&5
46142
46143
46144 cat >conftest.$ac_ext <<_ACEOF
46145 /* confdefs.h. */
46146 _ACEOF
46147 cat confdefs.h >>conftest.$ac_ext
46148 cat >>conftest.$ac_ext <<_ACEOF
46149 /* end confdefs.h. */
46150
46151 #include <time.h>
46152
46153 int
46154 main ()
46155 {
46156
46157 int tz;
46158 tz = _timezone;
46159
46160 ;
46161 return 0;
46162 }
46163 _ACEOF
46164 rm -f conftest.$ac_objext
46165 if { (ac_try="$ac_compile"
46166 case "(($ac_try" in
46167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46168 *) ac_try_echo=$ac_try;;
46169 esac
46170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46171 (eval "$ac_compile") 2>conftest.er1
46172 ac_status=$?
46173 grep -v '^ *+' conftest.er1 >conftest.err
46174 rm -f conftest.er1
46175 cat conftest.err >&5
46176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177 (exit $ac_status); } && {
46178 test -z "$ac_cxx_werror_flag" ||
46179 test ! -s conftest.err
46180 } && test -s conftest.$ac_objext; then
46181
46182 wx_cv_var_timezone=_timezone
46183
46184 else
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46187
46188
46189 cat >conftest.$ac_ext <<_ACEOF
46190 /* confdefs.h. */
46191 _ACEOF
46192 cat confdefs.h >>conftest.$ac_ext
46193 cat >>conftest.$ac_ext <<_ACEOF
46194 /* end confdefs.h. */
46195
46196 #include <time.h>
46197
46198 int
46199 main ()
46200 {
46201
46202 int tz;
46203 tz = __timezone;
46204
46205 ;
46206 return 0;
46207 }
46208 _ACEOF
46209 rm -f conftest.$ac_objext
46210 if { (ac_try="$ac_compile"
46211 case "(($ac_try" in
46212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46213 *) ac_try_echo=$ac_try;;
46214 esac
46215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46216 (eval "$ac_compile") 2>conftest.er1
46217 ac_status=$?
46218 grep -v '^ *+' conftest.er1 >conftest.err
46219 rm -f conftest.er1
46220 cat conftest.err >&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); } && {
46223 test -z "$ac_cxx_werror_flag" ||
46224 test ! -s conftest.err
46225 } && test -s conftest.$ac_objext; then
46226
46227 wx_cv_var_timezone=__timezone
46228
46229 else
46230 echo "$as_me: failed program was:" >&5
46231 sed 's/^/| /' conftest.$ac_ext >&5
46232
46233
46234 if test "$USE_DOS" = 0 ; then
46235 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46236 echo "$as_me: WARNING: no timezone variable" >&2;}
46237 fi
46238
46239
46240 fi
46241
46242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46243
46244
46245 fi
46246
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248
46249
46250 fi
46251
46252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46253 ac_ext=c
46254 ac_cpp='$CPP $CPPFLAGS'
46255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258
46259
46260
46261 fi
46262 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46263 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46264
46265 if test "x$wx_cv_var_timezone" != x ; then
46266 cat >>confdefs.h <<_ACEOF
46267 #define WX_TIMEZONE $wx_cv_var_timezone
46268 _ACEOF
46269
46270 fi
46271
46272
46273 for ac_func in localtime
46274 do
46275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 else
46281 cat >conftest.$ac_ext <<_ACEOF
46282 /* confdefs.h. */
46283 _ACEOF
46284 cat confdefs.h >>conftest.$ac_ext
46285 cat >>conftest.$ac_ext <<_ACEOF
46286 /* end confdefs.h. */
46287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46289 #define $ac_func innocuous_$ac_func
46290
46291 /* System header to define __stub macros and hopefully few prototypes,
46292 which can conflict with char $ac_func (); below.
46293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46294 <limits.h> exists even on freestanding compilers. */
46295
46296 #ifdef __STDC__
46297 # include <limits.h>
46298 #else
46299 # include <assert.h>
46300 #endif
46301
46302 #undef $ac_func
46303
46304 /* Override any GCC internal prototype to avoid an error.
46305 Use char because int might match the return type of a GCC
46306 builtin and then its argument prototype would still apply. */
46307 #ifdef __cplusplus
46308 extern "C"
46309 #endif
46310 char $ac_func ();
46311 /* The GNU C library defines this for functions which it implements
46312 to always fail with ENOSYS. Some functions are actually named
46313 something starting with __ and the normal name is an alias. */
46314 #if defined __stub_$ac_func || defined __stub___$ac_func
46315 choke me
46316 #endif
46317
46318 int
46319 main ()
46320 {
46321 return $ac_func ();
46322 ;
46323 return 0;
46324 }
46325 _ACEOF
46326 rm -f conftest.$ac_objext conftest$ac_exeext
46327 if { (ac_try="$ac_link"
46328 case "(($ac_try" in
46329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46330 *) ac_try_echo=$ac_try;;
46331 esac
46332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46333 (eval "$ac_link") 2>conftest.er1
46334 ac_status=$?
46335 grep -v '^ *+' conftest.er1 >conftest.err
46336 rm -f conftest.er1
46337 cat conftest.err >&5
46338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339 (exit $ac_status); } && {
46340 test -z "$ac_c_werror_flag" ||
46341 test ! -s conftest.err
46342 } && test -s conftest$ac_exeext &&
46343 $as_test_x conftest$ac_exeext; then
46344 eval "$as_ac_var=yes"
46345 else
46346 echo "$as_me: failed program was:" >&5
46347 sed 's/^/| /' conftest.$ac_ext >&5
46348
46349 eval "$as_ac_var=no"
46350 fi
46351
46352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46353 conftest$ac_exeext conftest.$ac_ext
46354 fi
46355 ac_res=`eval echo '${'$as_ac_var'}'`
46356 { echo "$as_me:$LINENO: result: $ac_res" >&5
46357 echo "${ECHO_T}$ac_res" >&6; }
46358 if test `eval echo '${'$as_ac_var'}'` = yes; then
46359 cat >>confdefs.h <<_ACEOF
46360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46361 _ACEOF
46362
46363 fi
46364 done
46365
46366
46367 if test "$ac_cv_func_localtime" = "yes"; then
46368 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46369 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46370 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46371 echo $ECHO_N "(cached) $ECHO_C" >&6
46372 else
46373
46374 cat >conftest.$ac_ext <<_ACEOF
46375 /* confdefs.h. */
46376 _ACEOF
46377 cat confdefs.h >>conftest.$ac_ext
46378 cat >>conftest.$ac_ext <<_ACEOF
46379 /* end confdefs.h. */
46380
46381 #include <time.h>
46382
46383 int
46384 main ()
46385 {
46386
46387 struct tm tm;
46388 tm.tm_gmtoff++;
46389
46390 ;
46391 return 0;
46392 }
46393 _ACEOF
46394 rm -f conftest.$ac_objext
46395 if { (ac_try="$ac_compile"
46396 case "(($ac_try" in
46397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46398 *) ac_try_echo=$ac_try;;
46399 esac
46400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46401 (eval "$ac_compile") 2>conftest.er1
46402 ac_status=$?
46403 grep -v '^ *+' conftest.er1 >conftest.err
46404 rm -f conftest.er1
46405 cat conftest.err >&5
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); } && {
46408 test -z "$ac_c_werror_flag" ||
46409 test ! -s conftest.err
46410 } && test -s conftest.$ac_objext; then
46411
46412 wx_cv_struct_tm_has_gmtoff=yes
46413
46414 else
46415 echo "$as_me: failed program was:" >&5
46416 sed 's/^/| /' conftest.$ac_ext >&5
46417
46418 wx_cv_struct_tm_has_gmtoff=no
46419
46420 fi
46421
46422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46423
46424 fi
46425 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46426 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46427 fi
46428
46429 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define WX_GMTOFF_IN_TM 1
46432 _ACEOF
46433
46434 fi
46435
46436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46437 fi
46438
46439
46440 if test "$wxUSE_SOCKETS" = "yes"; then
46441 if test "$wxUSE_MGL" = 1; then
46442 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46443 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46444 wxUSE_SOCKETS="no"
46445 fi
46446 fi
46447
46448 if test "$wxUSE_SOCKETS" = "yes"; then
46449 if test "$TOOLKIT" != "MSW"; then
46450 { echo "$as_me:$LINENO: checking for socket" >&5
46451 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46452 if test "${ac_cv_func_socket+set}" = set; then
46453 echo $ECHO_N "(cached) $ECHO_C" >&6
46454 else
46455 cat >conftest.$ac_ext <<_ACEOF
46456 /* confdefs.h. */
46457 _ACEOF
46458 cat confdefs.h >>conftest.$ac_ext
46459 cat >>conftest.$ac_ext <<_ACEOF
46460 /* end confdefs.h. */
46461 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46463 #define socket innocuous_socket
46464
46465 /* System header to define __stub macros and hopefully few prototypes,
46466 which can conflict with char socket (); below.
46467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46468 <limits.h> exists even on freestanding compilers. */
46469
46470 #ifdef __STDC__
46471 # include <limits.h>
46472 #else
46473 # include <assert.h>
46474 #endif
46475
46476 #undef socket
46477
46478 /* Override any GCC internal prototype to avoid an error.
46479 Use char because int might match the return type of a GCC
46480 builtin and then its argument prototype would still apply. */
46481 #ifdef __cplusplus
46482 extern "C"
46483 #endif
46484 char socket ();
46485 /* The GNU C library defines this for functions which it implements
46486 to always fail with ENOSYS. Some functions are actually named
46487 something starting with __ and the normal name is an alias. */
46488 #if defined __stub_socket || defined __stub___socket
46489 choke me
46490 #endif
46491
46492 int
46493 main ()
46494 {
46495 return socket ();
46496 ;
46497 return 0;
46498 }
46499 _ACEOF
46500 rm -f conftest.$ac_objext conftest$ac_exeext
46501 if { (ac_try="$ac_link"
46502 case "(($ac_try" in
46503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46504 *) ac_try_echo=$ac_try;;
46505 esac
46506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46507 (eval "$ac_link") 2>conftest.er1
46508 ac_status=$?
46509 grep -v '^ *+' conftest.er1 >conftest.err
46510 rm -f conftest.er1
46511 cat conftest.err >&5
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); } && {
46514 test -z "$ac_c_werror_flag" ||
46515 test ! -s conftest.err
46516 } && test -s conftest$ac_exeext &&
46517 $as_test_x conftest$ac_exeext; then
46518 ac_cv_func_socket=yes
46519 else
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.$ac_ext >&5
46522
46523 ac_cv_func_socket=no
46524 fi
46525
46526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46527 conftest$ac_exeext conftest.$ac_ext
46528 fi
46529 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46530 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46531 if test $ac_cv_func_socket = yes; then
46532 :
46533 else
46534
46535 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46536 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46537 if test "${ac_cv_lib_socket_socket+set}" = set; then
46538 echo $ECHO_N "(cached) $ECHO_C" >&6
46539 else
46540 ac_check_lib_save_LIBS=$LIBS
46541 LIBS="-lsocket $LIBS"
46542 cat >conftest.$ac_ext <<_ACEOF
46543 /* confdefs.h. */
46544 _ACEOF
46545 cat confdefs.h >>conftest.$ac_ext
46546 cat >>conftest.$ac_ext <<_ACEOF
46547 /* end confdefs.h. */
46548
46549 /* Override any GCC internal prototype to avoid an error.
46550 Use char because int might match the return type of a GCC
46551 builtin and then its argument prototype would still apply. */
46552 #ifdef __cplusplus
46553 extern "C"
46554 #endif
46555 char socket ();
46556 int
46557 main ()
46558 {
46559 return socket ();
46560 ;
46561 return 0;
46562 }
46563 _ACEOF
46564 rm -f conftest.$ac_objext conftest$ac_exeext
46565 if { (ac_try="$ac_link"
46566 case "(($ac_try" in
46567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46568 *) ac_try_echo=$ac_try;;
46569 esac
46570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46571 (eval "$ac_link") 2>conftest.er1
46572 ac_status=$?
46573 grep -v '^ *+' conftest.er1 >conftest.err
46574 rm -f conftest.er1
46575 cat conftest.err >&5
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); } && {
46578 test -z "$ac_c_werror_flag" ||
46579 test ! -s conftest.err
46580 } && test -s conftest$ac_exeext &&
46581 $as_test_x conftest$ac_exeext; then
46582 ac_cv_lib_socket_socket=yes
46583 else
46584 echo "$as_me: failed program was:" >&5
46585 sed 's/^/| /' conftest.$ac_ext >&5
46586
46587 ac_cv_lib_socket_socket=no
46588 fi
46589
46590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46591 conftest$ac_exeext conftest.$ac_ext
46592 LIBS=$ac_check_lib_save_LIBS
46593 fi
46594 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46595 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46596 if test $ac_cv_lib_socket_socket = yes; then
46597 if test "$INET_LINK" != " -lsocket"; then
46598 INET_LINK="$INET_LINK -lsocket"
46599 fi
46600 else
46601
46602 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46603 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46604 wxUSE_SOCKETS=no
46605
46606
46607 fi
46608
46609
46610
46611 fi
46612
46613 fi
46614 fi
46615
46616 if test "$wxUSE_SOCKETS" = "yes" ; then
46617 if test "$TOOLKIT" != "MSW"; then
46618 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46619 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46620 if test "${wx_cv_type_getsockname3+set}" = set; then
46621 echo $ECHO_N "(cached) $ECHO_C" >&6
46622 else
46623
46624 ac_ext=cpp
46625 ac_cpp='$CXXCPP $CPPFLAGS'
46626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46629
46630 cat >conftest.$ac_ext <<_ACEOF
46631 /* confdefs.h. */
46632 _ACEOF
46633 cat confdefs.h >>conftest.$ac_ext
46634 cat >>conftest.$ac_ext <<_ACEOF
46635 /* end confdefs.h. */
46636
46637 #include <sys/types.h>
46638 #include <sys/socket.h>
46639
46640 int
46641 main ()
46642 {
46643
46644 socklen_t len;
46645 getsockname(0, 0, &len);
46646
46647 ;
46648 return 0;
46649 }
46650 _ACEOF
46651 rm -f conftest.$ac_objext
46652 if { (ac_try="$ac_compile"
46653 case "(($ac_try" in
46654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46655 *) ac_try_echo=$ac_try;;
46656 esac
46657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46658 (eval "$ac_compile") 2>conftest.er1
46659 ac_status=$?
46660 grep -v '^ *+' conftest.er1 >conftest.err
46661 rm -f conftest.er1
46662 cat conftest.err >&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } && {
46665 test -z "$ac_cxx_werror_flag" ||
46666 test ! -s conftest.err
46667 } && test -s conftest.$ac_objext; then
46668 wx_cv_type_getsockname3=socklen_t
46669 else
46670 echo "$as_me: failed program was:" >&5
46671 sed 's/^/| /' conftest.$ac_ext >&5
46672
46673
46674 CFLAGS_OLD="$CFLAGS"
46675 if test "$GCC" = yes ; then
46676 CFLAGS="-Werror $CFLAGS"
46677 fi
46678
46679 cat >conftest.$ac_ext <<_ACEOF
46680 /* confdefs.h. */
46681 _ACEOF
46682 cat confdefs.h >>conftest.$ac_ext
46683 cat >>conftest.$ac_ext <<_ACEOF
46684 /* end confdefs.h. */
46685
46686 #include <sys/types.h>
46687 #include <sys/socket.h>
46688
46689 int
46690 main ()
46691 {
46692
46693 size_t len;
46694 getsockname(0, 0, &len);
46695
46696 ;
46697 return 0;
46698 }
46699 _ACEOF
46700 rm -f conftest.$ac_objext
46701 if { (ac_try="$ac_compile"
46702 case "(($ac_try" in
46703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46704 *) ac_try_echo=$ac_try;;
46705 esac
46706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46707 (eval "$ac_compile") 2>conftest.er1
46708 ac_status=$?
46709 grep -v '^ *+' conftest.er1 >conftest.err
46710 rm -f conftest.er1
46711 cat conftest.err >&5
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); } && {
46714 test -z "$ac_cxx_werror_flag" ||
46715 test ! -s conftest.err
46716 } && test -s conftest.$ac_objext; then
46717 wx_cv_type_getsockname3=size_t
46718 else
46719 echo "$as_me: failed program was:" >&5
46720 sed 's/^/| /' conftest.$ac_ext >&5
46721
46722 cat >conftest.$ac_ext <<_ACEOF
46723 /* confdefs.h. */
46724 _ACEOF
46725 cat confdefs.h >>conftest.$ac_ext
46726 cat >>conftest.$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46728
46729 #include <sys/types.h>
46730 #include <sys/socket.h>
46731
46732 int
46733 main ()
46734 {
46735
46736 int len;
46737 getsockname(0, 0, &len);
46738
46739 ;
46740 return 0;
46741 }
46742 _ACEOF
46743 rm -f conftest.$ac_objext
46744 if { (ac_try="$ac_compile"
46745 case "(($ac_try" in
46746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46747 *) ac_try_echo=$ac_try;;
46748 esac
46749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46750 (eval "$ac_compile") 2>conftest.er1
46751 ac_status=$?
46752 grep -v '^ *+' conftest.er1 >conftest.err
46753 rm -f conftest.er1
46754 cat conftest.err >&5
46755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756 (exit $ac_status); } && {
46757 test -z "$ac_cxx_werror_flag" ||
46758 test ! -s conftest.err
46759 } && test -s conftest.$ac_objext; then
46760 wx_cv_type_getsockname3=int
46761 else
46762 echo "$as_me: failed program was:" >&5
46763 sed 's/^/| /' conftest.$ac_ext >&5
46764
46765 wx_cv_type_getsockname3=unknown
46766
46767 fi
46768
46769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46770
46771 fi
46772
46773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46774
46775 CFLAGS="$CFLAGS_OLD"
46776
46777
46778 fi
46779
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 ac_ext=c
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46786
46787
46788 fi
46789 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46790 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46791
46792 if test "$wx_cv_type_getsockname3" = "unknown"; then
46793 wxUSE_SOCKETS=no
46794 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46795 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46796 else
46797 cat >>confdefs.h <<_ACEOF
46798 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46799 _ACEOF
46800
46801 fi
46802 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46803 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46804 if test "${wx_cv_type_getsockopt5+set}" = set; then
46805 echo $ECHO_N "(cached) $ECHO_C" >&6
46806 else
46807
46808 ac_ext=cpp
46809 ac_cpp='$CXXCPP $CPPFLAGS'
46810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46813
46814 cat >conftest.$ac_ext <<_ACEOF
46815 /* confdefs.h. */
46816 _ACEOF
46817 cat confdefs.h >>conftest.$ac_ext
46818 cat >>conftest.$ac_ext <<_ACEOF
46819 /* end confdefs.h. */
46820
46821 #include <sys/types.h>
46822 #include <sys/socket.h>
46823
46824 int
46825 main ()
46826 {
46827
46828 socklen_t len;
46829 getsockopt(0, 0, 0, 0, &len);
46830
46831 ;
46832 return 0;
46833 }
46834 _ACEOF
46835 rm -f conftest.$ac_objext
46836 if { (ac_try="$ac_compile"
46837 case "(($ac_try" in
46838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46839 *) ac_try_echo=$ac_try;;
46840 esac
46841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46842 (eval "$ac_compile") 2>conftest.er1
46843 ac_status=$?
46844 grep -v '^ *+' conftest.er1 >conftest.err
46845 rm -f conftest.er1
46846 cat conftest.err >&5
46847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848 (exit $ac_status); } && {
46849 test -z "$ac_cxx_werror_flag" ||
46850 test ! -s conftest.err
46851 } && test -s conftest.$ac_objext; then
46852 wx_cv_type_getsockopt5=socklen_t
46853 else
46854 echo "$as_me: failed program was:" >&5
46855 sed 's/^/| /' conftest.$ac_ext >&5
46856
46857
46858 cat >conftest.$ac_ext <<_ACEOF
46859 /* confdefs.h. */
46860 _ACEOF
46861 cat confdefs.h >>conftest.$ac_ext
46862 cat >>conftest.$ac_ext <<_ACEOF
46863 /* end confdefs.h. */
46864
46865 #include <sys/types.h>
46866 #include <sys/socket.h>
46867
46868 int
46869 main ()
46870 {
46871
46872 size_t len;
46873 getsockopt(0, 0, 0, 0, &len);
46874
46875 ;
46876 return 0;
46877 }
46878 _ACEOF
46879 rm -f conftest.$ac_objext
46880 if { (ac_try="$ac_compile"
46881 case "(($ac_try" in
46882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46883 *) ac_try_echo=$ac_try;;
46884 esac
46885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46886 (eval "$ac_compile") 2>conftest.er1
46887 ac_status=$?
46888 grep -v '^ *+' conftest.er1 >conftest.err
46889 rm -f conftest.er1
46890 cat conftest.err >&5
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); } && {
46893 test -z "$ac_cxx_werror_flag" ||
46894 test ! -s conftest.err
46895 } && test -s conftest.$ac_objext; then
46896 wx_cv_type_getsockopt5=size_t
46897 else
46898 echo "$as_me: failed program was:" >&5
46899 sed 's/^/| /' conftest.$ac_ext >&5
46900
46901 cat >conftest.$ac_ext <<_ACEOF
46902 /* confdefs.h. */
46903 _ACEOF
46904 cat confdefs.h >>conftest.$ac_ext
46905 cat >>conftest.$ac_ext <<_ACEOF
46906 /* end confdefs.h. */
46907
46908 #include <sys/types.h>
46909 #include <sys/socket.h>
46910
46911 int
46912 main ()
46913 {
46914
46915 int len;
46916 getsockopt(0, 0, 0, 0, &len);
46917
46918 ;
46919 return 0;
46920 }
46921 _ACEOF
46922 rm -f conftest.$ac_objext
46923 if { (ac_try="$ac_compile"
46924 case "(($ac_try" in
46925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46926 *) ac_try_echo=$ac_try;;
46927 esac
46928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46929 (eval "$ac_compile") 2>conftest.er1
46930 ac_status=$?
46931 grep -v '^ *+' conftest.er1 >conftest.err
46932 rm -f conftest.er1
46933 cat conftest.err >&5
46934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935 (exit $ac_status); } && {
46936 test -z "$ac_cxx_werror_flag" ||
46937 test ! -s conftest.err
46938 } && test -s conftest.$ac_objext; then
46939 wx_cv_type_getsockopt5=int
46940 else
46941 echo "$as_me: failed program was:" >&5
46942 sed 's/^/| /' conftest.$ac_ext >&5
46943
46944 wx_cv_type_getsockopt5=unknown
46945
46946 fi
46947
46948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46949
46950 fi
46951
46952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46953
46954
46955 fi
46956
46957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46958 ac_ext=c
46959 ac_cpp='$CPP $CPPFLAGS'
46960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46963
46964
46965 fi
46966 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46967 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46968
46969 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46970 wxUSE_SOCKETS=no
46971 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46972 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46973 else
46974 cat >>confdefs.h <<_ACEOF
46975 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46976 _ACEOF
46977
46978 fi
46979 fi
46980 fi
46981
46982 if test "$wxUSE_SOCKETS" = "yes" ; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_SOCKETS 1
46985 _ACEOF
46986
46987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46988 fi
46989
46990 if test "$wxUSE_PROTOCOL" = "yes"; then
46991 if test "$wxUSE_SOCKETS" != "yes"; then
46992 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46993 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46994 wxUSE_PROTOCOL=no
46995 fi
46996 fi
46997
46998 if test "$wxUSE_PROTOCOL" = "yes"; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_PROTOCOL 1
47001 _ACEOF
47002
47003
47004 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_PROTOCOL_HTTP 1
47007 _ACEOF
47008
47009 fi
47010 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47011 cat >>confdefs.h <<\_ACEOF
47012 #define wxUSE_PROTOCOL_FTP 1
47013 _ACEOF
47014
47015 fi
47016 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_PROTOCOL_FILE 1
47019 _ACEOF
47020
47021 fi
47022 else
47023 if test "$wxUSE_FS_INET" = "yes"; then
47024 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47025 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47026 wxUSE_FS_INET="no"
47027 fi
47028 fi
47029
47030 if test "$wxUSE_URL" = "yes"; then
47031 if test "$wxUSE_PROTOCOL" != "yes"; then
47032 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47033 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47034 wxUSE_URL=no
47035 fi
47036 if test "$wxUSE_URL" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_URL 1
47039 _ACEOF
47040
47041 fi
47042 fi
47043
47044 if test "$wxUSE_VARIANT" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_VARIANT 1
47047 _ACEOF
47048
47049 fi
47050
47051 if test "$wxUSE_FS_INET" = "yes"; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_FS_INET 1
47054 _ACEOF
47055
47056 fi
47057
47058
47059 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47060 wxUSE_JOYSTICK=no
47061
47062 if test "$TOOLKIT" = "MSW"; then
47063 wxUSE_JOYSTICK=yes
47064
47065 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47066 if test "$USE_DARWIN" = 1; then
47067 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47068 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074
47075 cat >conftest.$ac_ext <<_ACEOF
47076 /* confdefs.h. */
47077 _ACEOF
47078 cat confdefs.h >>conftest.$ac_ext
47079 cat >>conftest.$ac_ext <<_ACEOF
47080 /* end confdefs.h. */
47081 #include <IOKit/hid/IOHIDLib.h>
47082 int
47083 main ()
47084 {
47085 IOHIDQueueInterface *qi = NULL;
47086 IOHIDCallbackFunction cb = NULL;
47087 qi->setEventCallout(NULL, cb, NULL, NULL);
47088 ;
47089 return 0;
47090 }
47091 _ACEOF
47092 rm -f conftest.$ac_objext
47093 if { (ac_try="$ac_compile"
47094 case "(($ac_try" in
47095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47096 *) ac_try_echo=$ac_try;;
47097 esac
47098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47099 (eval "$ac_compile") 2>conftest.er1
47100 ac_status=$?
47101 grep -v '^ *+' conftest.er1 >conftest.err
47102 rm -f conftest.er1
47103 cat conftest.err >&5
47104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47105 (exit $ac_status); } && {
47106 test -z "$ac_cxx_werror_flag" ||
47107 test ! -s conftest.err
47108 } && test -s conftest.$ac_objext; then
47109 wxUSE_JOYSTICK=yes
47110
47111 else
47112 echo "$as_me: failed program was:" >&5
47113 sed 's/^/| /' conftest.$ac_ext >&5
47114
47115
47116 fi
47117
47118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47119 ac_ext=c
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124
47125 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47126 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47127 fi
47128
47129 else
47130 if test "$wxUSE_MGL" != 1; then
47131
47132 for ac_header in linux/joystick.h
47133 do
47134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47138 echo $ECHO_N "(cached) $ECHO_C" >&6
47139 else
47140 cat >conftest.$ac_ext <<_ACEOF
47141 /* confdefs.h. */
47142 _ACEOF
47143 cat confdefs.h >>conftest.$ac_ext
47144 cat >>conftest.$ac_ext <<_ACEOF
47145 /* end confdefs.h. */
47146 $ac_includes_default
47147
47148 #include <$ac_header>
47149 _ACEOF
47150 rm -f conftest.$ac_objext
47151 if { (ac_try="$ac_compile"
47152 case "(($ac_try" in
47153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47154 *) ac_try_echo=$ac_try;;
47155 esac
47156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47157 (eval "$ac_compile") 2>conftest.er1
47158 ac_status=$?
47159 grep -v '^ *+' conftest.er1 >conftest.err
47160 rm -f conftest.er1
47161 cat conftest.err >&5
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); } && {
47164 test -z "$ac_c_werror_flag" ||
47165 test ! -s conftest.err
47166 } && test -s conftest.$ac_objext; then
47167 eval "$as_ac_Header=yes"
47168 else
47169 echo "$as_me: failed program was:" >&5
47170 sed 's/^/| /' conftest.$ac_ext >&5
47171
47172 eval "$as_ac_Header=no"
47173 fi
47174
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47176 fi
47177 ac_res=`eval echo '${'$as_ac_Header'}'`
47178 { echo "$as_me:$LINENO: result: $ac_res" >&5
47179 echo "${ECHO_T}$ac_res" >&6; }
47180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47181 cat >>confdefs.h <<_ACEOF
47182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47183 _ACEOF
47184 wxUSE_JOYSTICK=yes
47185 fi
47186
47187 done
47188
47189 fi
47190 fi
47191
47192 if test "$wxUSE_JOYSTICK" = "yes"; then
47193 cat >>confdefs.h <<\_ACEOF
47194 #define wxUSE_JOYSTICK 1
47195 _ACEOF
47196
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47198 else
47199 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47200 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47201 fi
47202 fi
47203
47204
47205
47206 if test "$wxUSE_FONTENUM" = "yes" ; then
47207 cat >>confdefs.h <<\_ACEOF
47208 #define wxUSE_FONTENUM 1
47209 _ACEOF
47210
47211 fi
47212
47213 if test "$wxUSE_FONTMAP" = "yes" ; then
47214 cat >>confdefs.h <<\_ACEOF
47215 #define wxUSE_FONTMAP 1
47216 _ACEOF
47217
47218 fi
47219
47220 if test "$wxUSE_UNICODE" = "yes" ; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_UNICODE 1
47223 _ACEOF
47224
47225
47226 if test "$USE_WIN32" != 1; then
47227 wxUSE_UNICODE_MSLU=no
47228 fi
47229
47230 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47231 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47232 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47233 if test "${ac_cv_lib_unicows_main+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47235 else
47236 ac_check_lib_save_LIBS=$LIBS
47237 LIBS="-lunicows $LIBS"
47238 cat >conftest.$ac_ext <<_ACEOF
47239 /* confdefs.h. */
47240 _ACEOF
47241 cat confdefs.h >>conftest.$ac_ext
47242 cat >>conftest.$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47244
47245
47246 int
47247 main ()
47248 {
47249 return main ();
47250 ;
47251 return 0;
47252 }
47253 _ACEOF
47254 rm -f conftest.$ac_objext conftest$ac_exeext
47255 if { (ac_try="$ac_link"
47256 case "(($ac_try" in
47257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47258 *) ac_try_echo=$ac_try;;
47259 esac
47260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47261 (eval "$ac_link") 2>conftest.er1
47262 ac_status=$?
47263 grep -v '^ *+' conftest.er1 >conftest.err
47264 rm -f conftest.er1
47265 cat conftest.err >&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); } && {
47268 test -z "$ac_c_werror_flag" ||
47269 test ! -s conftest.err
47270 } && test -s conftest$ac_exeext &&
47271 $as_test_x conftest$ac_exeext; then
47272 ac_cv_lib_unicows_main=yes
47273 else
47274 echo "$as_me: failed program was:" >&5
47275 sed 's/^/| /' conftest.$ac_ext >&5
47276
47277 ac_cv_lib_unicows_main=no
47278 fi
47279
47280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47281 conftest$ac_exeext conftest.$ac_ext
47282 LIBS=$ac_check_lib_save_LIBS
47283 fi
47284 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47285 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47286 if test $ac_cv_lib_unicows_main = yes; then
47287
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_UNICODE_MSLU 1
47290 _ACEOF
47291
47292
47293 else
47294
47295 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47296 Applications will only run on Windows NT/2000/XP!" >&5
47297 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47298 Applications will only run on Windows NT/2000/XP!" >&2;}
47299 wxUSE_UNICODE_MSLU=no
47300
47301 fi
47302
47303 fi
47304 fi
47305
47306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_UNICODE_UTF8 1
47309 _ACEOF
47310
47311
47312 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_UTF8_LOCALE_ONLY 1
47315 _ACEOF
47316
47317 fi
47318 fi
47319
47320
47321 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_CONSTRAINTS 1
47324 _ACEOF
47325
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47327 fi
47328
47329 if test "$wxUSE_MDI" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_MDI 1
47332 _ACEOF
47333
47334
47335 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_MDI_ARCHITECTURE 1
47338 _ACEOF
47339
47340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47341 fi
47342 fi
47343
47344 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47347 _ACEOF
47348
47349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47350 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47352 fi
47353 fi
47354
47355 if test "$wxUSE_HELP" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_HELP 1
47358 _ACEOF
47359
47360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47361
47362 if test "$wxUSE_MSW" = 1; then
47363 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_MS_HTML_HELP 1
47366 _ACEOF
47367
47368 fi
47369 fi
47370
47371 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47372 if test "$wxUSE_HTML" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_WXHTML_HELP 1
47375 _ACEOF
47376
47377 else
47378 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47379 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47380 wxUSE_WXHTML_HELP=no
47381 fi
47382 fi
47383 fi
47384
47385 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47386 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47387 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47388 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47389 else
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_PRINTING_ARCHITECTURE 1
47392 _ACEOF
47393
47394 fi
47395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47396 fi
47397
47398 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_POSTSCRIPT 1
47401 _ACEOF
47402
47403 fi
47404
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47407 _ACEOF
47408
47409
47410 if test "$wxUSE_SVG" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_SVG 1
47413 _ACEOF
47414
47415 fi
47416
47417
47418 if test "$wxUSE_METAFILE" = "yes"; then
47419 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47420 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47421 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47422 wxUSE_METAFILE=no
47423 fi
47424 fi
47425
47426
47427 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47428 -o "$wxUSE_CLIPBOARD" = "yes" \
47429 -o "$wxUSE_OLE" = "yes" \
47430 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47431 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47432 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47433 if test "${ac_cv_header_ole2_h+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47435 else
47436 cat >conftest.$ac_ext <<_ACEOF
47437 /* confdefs.h. */
47438 _ACEOF
47439 cat confdefs.h >>conftest.$ac_ext
47440 cat >>conftest.$ac_ext <<_ACEOF
47441 /* end confdefs.h. */
47442
47443
47444 #include <ole2.h>
47445 _ACEOF
47446 rm -f conftest.$ac_objext
47447 if { (ac_try="$ac_compile"
47448 case "(($ac_try" in
47449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47450 *) ac_try_echo=$ac_try;;
47451 esac
47452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47453 (eval "$ac_compile") 2>conftest.er1
47454 ac_status=$?
47455 grep -v '^ *+' conftest.er1 >conftest.err
47456 rm -f conftest.er1
47457 cat conftest.err >&5
47458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459 (exit $ac_status); } && {
47460 test -z "$ac_c_werror_flag" ||
47461 test ! -s conftest.err
47462 } && test -s conftest.$ac_objext; then
47463 ac_cv_header_ole2_h=yes
47464 else
47465 echo "$as_me: failed program was:" >&5
47466 sed 's/^/| /' conftest.$ac_ext >&5
47467
47468 ac_cv_header_ole2_h=no
47469 fi
47470
47471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47472 fi
47473 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47474 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47475
47476
47477
47478 if test "$ac_cv_header_ole2_h" = "yes" ; then
47479 if test "$GCC" = yes ; then
47480 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47481 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47482 cat >conftest.$ac_ext <<_ACEOF
47483 /* confdefs.h. */
47484 _ACEOF
47485 cat confdefs.h >>conftest.$ac_ext
47486 cat >>conftest.$ac_ext <<_ACEOF
47487 /* end confdefs.h. */
47488 #include <windows.h>
47489 #include <ole2.h>
47490 int
47491 main ()
47492 {
47493
47494 ;
47495 return 0;
47496 }
47497 _ACEOF
47498 rm -f conftest.$ac_objext
47499 if { (ac_try="$ac_compile"
47500 case "(($ac_try" in
47501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47502 *) ac_try_echo=$ac_try;;
47503 esac
47504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47505 (eval "$ac_compile") 2>conftest.er1
47506 ac_status=$?
47507 grep -v '^ *+' conftest.er1 >conftest.err
47508 rm -f conftest.er1
47509 cat conftest.err >&5
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); } && {
47512 test -z "$ac_c_werror_flag" ||
47513 test ! -s conftest.err
47514 } && test -s conftest.$ac_objext; then
47515 { echo "$as_me:$LINENO: result: no" >&5
47516 echo "${ECHO_T}no" >&6; }
47517 else
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47520
47521 { echo "$as_me:$LINENO: result: yes" >&5
47522 echo "${ECHO_T}yes" >&6; }
47523 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47524 fi
47525
47526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47527 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47528 if test "$wxUSE_OLE" = "yes" ; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_OLE 1
47531 _ACEOF
47532
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_OLE_AUTOMATION 1
47535 _ACEOF
47536
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_ACTIVEX 1
47539 _ACEOF
47540
47541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47542 fi
47543 fi
47544
47545 if test "$wxUSE_DATAOBJ" = "yes" ; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_DATAOBJ 1
47548 _ACEOF
47549
47550 fi
47551 else
47552 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47553 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47554
47555 wxUSE_CLIPBOARD=no
47556 wxUSE_DRAG_AND_DROP=no
47557 wxUSE_DATAOBJ=no
47558 wxUSE_OLE=no
47559 fi
47560
47561 if test "$wxUSE_METAFILE" = "yes"; then
47562 cat >>confdefs.h <<\_ACEOF
47563 #define wxUSE_METAFILE 1
47564 _ACEOF
47565
47566
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_ENH_METAFILE 1
47569 _ACEOF
47570
47571 fi
47572 fi
47573
47574 if test "$wxUSE_IPC" = "yes"; then
47575 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47576 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47577 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47578 wxUSE_IPC=no
47579 fi
47580
47581 if test "$wxUSE_IPC" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_IPC 1
47584 _ACEOF
47585
47586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47587 fi
47588 fi
47589
47590 if test "$wxUSE_DATAOBJ" = "yes"; then
47591 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47592 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47593 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47594 wxUSE_DATAOBJ=no
47595 else
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_DATAOBJ 1
47598 _ACEOF
47599
47600 fi
47601 else
47602 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47603 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47604 wxUSE_CLIPBOARD=no
47605 wxUSE_DRAG_AND_DROP=no
47606 fi
47607
47608 if test "$wxUSE_CLIPBOARD" = "yes"; then
47609 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47610 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47611 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47612 wxUSE_CLIPBOARD=no
47613 fi
47614
47615 if test "$wxUSE_CLIPBOARD" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_CLIPBOARD 1
47618 _ACEOF
47619
47620 fi
47621 fi
47622
47623 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47624 if test "$wxUSE_GTK" = 1; then
47625 if test "$WXGTK12" != 1; then
47626 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47627 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47628 wxUSE_DRAG_AND_DROP=no
47629 fi
47630 fi
47631
47632 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47633 "$wxUSE_DFB" = 1; then
47634 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47635 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47636 wxUSE_DRAG_AND_DROP=no
47637 fi
47638
47639 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_DRAG_AND_DROP 1
47642 _ACEOF
47643
47644 fi
47645
47646 fi
47647
47648 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47650 fi
47651
47652 if test "$wxUSE_SPLINES" = "yes" ; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_SPLINES 1
47655 _ACEOF
47656
47657 fi
47658
47659 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_MOUSEWHEEL 1
47662 _ACEOF
47663
47664 fi
47665
47666
47667 USES_CONTROLS=0
47668 if test "$wxUSE_CONTROLS" = "yes"; then
47669 USES_CONTROLS=1
47670 fi
47671
47672 if test "$wxUSE_ACCEL" = "yes"; then
47673 cat >>confdefs.h <<\_ACEOF
47674 #define wxUSE_ACCEL 1
47675 _ACEOF
47676
47677 USES_CONTROLS=1
47678 fi
47679
47680 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_ANIMATIONCTRL 1
47683 _ACEOF
47684
47685 USES_CONTROLS=1
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47687 fi
47688
47689 if test "$wxUSE_BUTTON" = "yes"; then
47690 cat >>confdefs.h <<\_ACEOF
47691 #define wxUSE_BUTTON 1
47692 _ACEOF
47693
47694 USES_CONTROLS=1
47695 fi
47696
47697 if test "$wxUSE_BMPBUTTON" = "yes"; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_BMPBUTTON 1
47700 _ACEOF
47701
47702 USES_CONTROLS=1
47703 fi
47704
47705 if test "$wxUSE_CALCTRL" = "yes"; then
47706 cat >>confdefs.h <<\_ACEOF
47707 #define wxUSE_CALENDARCTRL 1
47708 _ACEOF
47709
47710 USES_CONTROLS=1
47711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47712 fi
47713
47714 if test "$wxUSE_CARET" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_CARET 1
47717 _ACEOF
47718
47719 USES_CONTROLS=1
47720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47721 fi
47722
47723 if test "$wxUSE_COLLPANE" = "yes"; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_COLLPANE 1
47726 _ACEOF
47727
47728 USES_CONTROLS=1
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47730 fi
47731
47732 if test "$wxUSE_COMBOBOX" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_COMBOBOX 1
47735 _ACEOF
47736
47737 USES_CONTROLS=1
47738 fi
47739
47740 if test "$wxUSE_COMBOCTRL" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_COMBOCTRL 1
47743 _ACEOF
47744
47745 USES_CONTROLS=1
47746 fi
47747
47748 if test "$wxUSE_CHOICE" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_CHOICE 1
47751 _ACEOF
47752
47753 USES_CONTROLS=1
47754 fi
47755
47756 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_CHOICEBOOK 1
47759 _ACEOF
47760
47761 USES_CONTROLS=1
47762 fi
47763
47764 if test "$wxUSE_CHECKBOX" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_CHECKBOX 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 fi
47771
47772 if test "$wxUSE_CHECKLST" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_CHECKLISTBOX 1
47775 _ACEOF
47776
47777 USES_CONTROLS=1
47778 fi
47779
47780 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_COLOURPICKERCTRL 1
47783 _ACEOF
47784
47785 USES_CONTROLS=1
47786 fi
47787
47788 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_DATEPICKCTRL 1
47791 _ACEOF
47792
47793 USES_CONTROLS=1
47794 fi
47795
47796 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_DIRPICKERCTRL 1
47799 _ACEOF
47800
47801 USES_CONTROLS=1
47802 fi
47803
47804 if test "$wxUSE_FILECTRL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_FILECTRL 1
47807 _ACEOF
47808
47809 USES_CONTROLS=1
47810 fi
47811
47812 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_FILEPICKERCTRL 1
47815 _ACEOF
47816
47817 USES_CONTROLS=1
47818 fi
47819
47820 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_FONTPICKERCTRL 1
47823 _ACEOF
47824
47825 USES_CONTROLS=1
47826 fi
47827
47828 if test "$wxUSE_DISPLAY" = "yes"; then
47829 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47830 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47831 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47832 wxUSE_DISPLAY=no
47833 else
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_DISPLAY 1
47836 _ACEOF
47837
47838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47839 fi
47840 fi
47841
47842 if test "$wxUSE_DETECT_SM" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_DETECT_SM 1
47845 _ACEOF
47846
47847 fi
47848
47849 if test "$wxUSE_GAUGE" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_GAUGE 1
47852 _ACEOF
47853
47854 USES_CONTROLS=1
47855 fi
47856
47857 if test "$wxUSE_GRID" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_GRID 1
47860 _ACEOF
47861
47862 USES_CONTROLS=1
47863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47864 fi
47865
47866 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_HYPERLINKCTRL 1
47869 _ACEOF
47870
47871 USES_CONTROLS=1
47872 fi
47873
47874 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_BITMAPCOMBOBOX 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 fi
47881
47882 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_DATAVIEWCTRL 1
47885 _ACEOF
47886
47887 USES_CONTROLS=1
47888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47889 fi
47890
47891 if test "$wxUSE_IMAGLIST" = "yes"; then
47892 cat >>confdefs.h <<\_ACEOF
47893 #define wxUSE_IMAGLIST 1
47894 _ACEOF
47895
47896 fi
47897
47898 if test "$wxUSE_LISTBOOK" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_LISTBOOK 1
47901 _ACEOF
47902
47903 USES_CONTROLS=1
47904 fi
47905
47906 if test "$wxUSE_LISTBOX" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_LISTBOX 1
47909 _ACEOF
47910
47911 USES_CONTROLS=1
47912 fi
47913
47914 if test "$wxUSE_LISTCTRL" = "yes"; then
47915 if test "$wxUSE_IMAGLIST" = "yes"; then
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_LISTCTRL 1
47918 _ACEOF
47919
47920 USES_CONTROLS=1
47921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47922 else
47923 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47924 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47925 fi
47926 fi
47927
47928 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_EDITABLELISTBOX 1
47931 _ACEOF
47932
47933 USES_CONTROLS=1
47934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47935 fi
47936
47937 if test "$wxUSE_NOTEBOOK" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_NOTEBOOK 1
47940 _ACEOF
47941
47942 USES_CONTROLS=1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47944 fi
47945
47946 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_ODCOMBOBOX 1
47949 _ACEOF
47950
47951 USES_CONTROLS=1
47952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47953 fi
47954
47955 if test "$wxUSE_RADIOBOX" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_RADIOBOX 1
47958 _ACEOF
47959
47960 USES_CONTROLS=1
47961 fi
47962
47963 if test "$wxUSE_RADIOBTN" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_RADIOBTN 1
47966 _ACEOF
47967
47968 USES_CONTROLS=1
47969 fi
47970
47971 if test "$wxUSE_SASH" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_SASH 1
47974 _ACEOF
47975
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47977 fi
47978
47979 if test "$wxUSE_SCROLLBAR" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_SCROLLBAR 1
47982 _ACEOF
47983
47984 USES_CONTROLS=1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47986 fi
47987
47988 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_SEARCHCTRL 1
47991 _ACEOF
47992
47993 USES_CONTROLS=1
47994 fi
47995
47996 if test "$wxUSE_SLIDER" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_SLIDER 1
47999 _ACEOF
48000
48001 USES_CONTROLS=1
48002 fi
48003
48004 if test "$wxUSE_SPINBTN" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_SPINBTN 1
48007 _ACEOF
48008
48009 USES_CONTROLS=1
48010 fi
48011
48012 if test "$wxUSE_SPINCTRL" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_SPINCTRL 1
48015 _ACEOF
48016
48017 USES_CONTROLS=1
48018 fi
48019
48020 if test "$wxUSE_SPLITTER" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_SPLITTER 1
48023 _ACEOF
48024
48025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48026 fi
48027
48028 if test "$wxUSE_STATBMP" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_STATBMP 1
48031 _ACEOF
48032
48033 USES_CONTROLS=1
48034 fi
48035
48036 if test "$wxUSE_STATBOX" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_STATBOX 1
48039 _ACEOF
48040
48041 USES_CONTROLS=1
48042 fi
48043
48044 if test "$wxUSE_STATTEXT" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_STATTEXT 1
48047 _ACEOF
48048
48049 USES_CONTROLS=1
48050 fi
48051
48052 if test "$wxUSE_STATLINE" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_STATLINE 1
48055 _ACEOF
48056
48057 USES_CONTROLS=1
48058 fi
48059
48060 if test "$wxUSE_STATUSBAR" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_NATIVE_STATUSBAR 1
48063 _ACEOF
48064
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_STATUSBAR 1
48067 _ACEOF
48068
48069 USES_CONTROLS=1
48070
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48072 fi
48073
48074 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_TAB_DIALOG 1
48077 _ACEOF
48078
48079 fi
48080
48081 if test "$wxUSE_TEXTCTRL" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_TEXTCTRL 1
48084 _ACEOF
48085
48086 USES_CONTROLS=1
48087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48088 fi
48089
48090 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48091 if test "$wxUSE_COCOA" = 1 ; then
48092 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48093 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48094 wxUSE_TOGGLEBTN=no
48095 fi
48096
48097 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48098 cat >>confdefs.h <<\_ACEOF
48099 #define wxUSE_TOGGLEBTN 1
48100 _ACEOF
48101
48102 USES_CONTROLS=1
48103 fi
48104 fi
48105
48106 if test "$wxUSE_TOOLBAR" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_TOOLBAR 1
48109 _ACEOF
48110
48111 USES_CONTROLS=1
48112
48113 if test "$wxUSE_UNIVERSAL" = "yes"; then
48114 wxUSE_TOOLBAR_NATIVE="no"
48115 else
48116 wxUSE_TOOLBAR_NATIVE="yes"
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_TOOLBAR_NATIVE 1
48119 _ACEOF
48120
48121 fi
48122
48123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48124 fi
48125
48126 if test "$wxUSE_TOOLTIPS" = "yes"; then
48127 if test "$wxUSE_MOTIF" = 1; then
48128 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48129 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48130 else
48131 if test "$wxUSE_UNIVERSAL" = "yes"; then
48132 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48133 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48134 else
48135 cat >>confdefs.h <<\_ACEOF
48136 #define wxUSE_TOOLTIPS 1
48137 _ACEOF
48138
48139 fi
48140 fi
48141 fi
48142
48143 if test "$wxUSE_TREEBOOK" = "yes"; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_TREEBOOK 1
48146 _ACEOF
48147
48148 USES_CONTROLS=1
48149 fi
48150
48151 if test "$wxUSE_TOOLBOOK" = "yes"; then
48152 cat >>confdefs.h <<\_ACEOF
48153 #define wxUSE_TOOLBOOK 1
48154 _ACEOF
48155
48156 USES_CONTROLS=1
48157 fi
48158
48159 if test "$wxUSE_TREECTRL" = "yes"; then
48160 if test "$wxUSE_IMAGLIST" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_TREECTRL 1
48163 _ACEOF
48164
48165 USES_CONTROLS=1
48166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48167 else
48168 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48169 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48170 fi
48171 fi
48172
48173 if test "$wxUSE_POPUPWIN" = "yes"; then
48174 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48175 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48176 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48177 else
48178 if test "$wxUSE_PM" = 1; then
48179 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48180 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48181 else
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_POPUPWIN 1
48184 _ACEOF
48185
48186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48187
48188 USES_CONTROLS=1
48189 fi
48190 fi
48191 fi
48192
48193 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48194 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48195 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48196 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48197 else
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_DIALUP_MANAGER 1
48200 _ACEOF
48201
48202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48203 fi
48204 fi
48205
48206 if test "$wxUSE_TIPWINDOW" = "yes"; then
48207 if test "$wxUSE_PM" = 1; then
48208 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48209 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48210 else
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_TIPWINDOW 1
48213 _ACEOF
48214
48215 fi
48216 fi
48217
48218 if test "$USES_CONTROLS" = 1; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_CONTROLS 1
48221 _ACEOF
48222
48223 fi
48224
48225
48226 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_ACCESSIBILITY 1
48229 _ACEOF
48230
48231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48232 fi
48233
48234 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_DRAGIMAGE 1
48237 _ACEOF
48238
48239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48240 fi
48241
48242 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48243 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48244 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48245 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48246 else
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_EXCEPTIONS 1
48249 _ACEOF
48250
48251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48252 fi
48253 fi
48254
48255 USE_HTML=0
48256 if test "$wxUSE_HTML" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_HTML 1
48259 _ACEOF
48260
48261 USE_HTML=1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48263 if test "$wxUSE_MAC" = 1; then
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48265 fi
48266 fi
48267 if test "$wxUSE_WEBKIT" = "yes"; then
48268 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48269 old_CPPFLAGS="$CPPFLAGS"
48270 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48271 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48272 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48273 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48274 echo $ECHO_N "(cached) $ECHO_C" >&6
48275 else
48276 cat >conftest.$ac_ext <<_ACEOF
48277 /* confdefs.h. */
48278 _ACEOF
48279 cat confdefs.h >>conftest.$ac_ext
48280 cat >>conftest.$ac_ext <<_ACEOF
48281 /* end confdefs.h. */
48282
48283 #include <Carbon/Carbon.h>
48284 #include <WebKit/WebKit.h>
48285
48286
48287 #include <WebKit/HIWebView.h>
48288 _ACEOF
48289 rm -f conftest.$ac_objext
48290 if { (ac_try="$ac_compile"
48291 case "(($ac_try" in
48292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48293 *) ac_try_echo=$ac_try;;
48294 esac
48295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48296 (eval "$ac_compile") 2>conftest.er1
48297 ac_status=$?
48298 grep -v '^ *+' conftest.er1 >conftest.err
48299 rm -f conftest.er1
48300 cat conftest.err >&5
48301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48302 (exit $ac_status); } && {
48303 test -z "$ac_c_werror_flag" ||
48304 test ! -s conftest.err
48305 } && test -s conftest.$ac_objext; then
48306 ac_cv_header_WebKit_HIWebView_h=yes
48307 else
48308 echo "$as_me: failed program was:" >&5
48309 sed 's/^/| /' conftest.$ac_ext >&5
48310
48311 ac_cv_header_WebKit_HIWebView_h=no
48312 fi
48313
48314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48315 fi
48316 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48317 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48318 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48319
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_WEBKIT 1
48322 _ACEOF
48323
48324 WEBKIT_LINK="-framework WebKit"
48325
48326 else
48327
48328 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48329 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48330 wxUSE_WEBKIT=no
48331
48332 fi
48333
48334
48335 CPPFLAGS="$old_CPPFLAGS"
48336 elif test "$wxUSE_COCOA" = 1; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_WEBKIT 1
48339 _ACEOF
48340
48341 else
48342 wxUSE_WEBKIT=no
48343 fi
48344 fi
48345
48346 USE_XRC=0
48347 if test "$wxUSE_XRC" = "yes"; then
48348 if test "$wxUSE_XML" != "yes"; then
48349 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48350 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48351 wxUSE_XRC=no
48352 else
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_XRC 1
48355 _ACEOF
48356
48357 USE_XRC=1
48358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48359 fi
48360 fi
48361
48362 USE_AUI=0
48363 if test "$wxUSE_AUI" = "yes"; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_AUI 1
48366 _ACEOF
48367
48368 USE_AUI=1
48369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48370 fi
48371
48372 USE_STC=0
48373 if test "$wxUSE_STC" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_STC 1
48376 _ACEOF
48377
48378 USE_STC=1
48379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48380 fi
48381
48382 if test "$wxUSE_MENUS" = "yes"; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_MENUS 1
48385 _ACEOF
48386
48387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48388 fi
48389
48390 if test "$wxUSE_METAFILE" = "yes"; then
48391 cat >>confdefs.h <<\_ACEOF
48392 #define wxUSE_METAFILE 1
48393 _ACEOF
48394
48395 fi
48396
48397 if test "$wxUSE_MIMETYPE" = "yes"; then
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_MIMETYPE 1
48400 _ACEOF
48401
48402 fi
48403
48404 if test "$wxUSE_MINIFRAME" = "yes"; then
48405 cat >>confdefs.h <<\_ACEOF
48406 #define wxUSE_MINIFRAME 1
48407 _ACEOF
48408
48409 fi
48410
48411 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_SYSTEM_OPTIONS 1
48414 _ACEOF
48415
48416 fi
48417
48418 if test "$wxUSE_TASKBARICON" = "yes"; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_TASKBARICON 1
48421 _ACEOF
48422
48423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48424 fi
48425
48426
48427 if test "$wxUSE_VALIDATORS" = "yes"; then
48428 cat >>confdefs.h <<\_ACEOF
48429 #define wxUSE_VALIDATORS 1
48430 _ACEOF
48431
48432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48433 fi
48434
48435 if test "$wxUSE_PALETTE" = "yes" ; then
48436 if test "$wxUSE_DFB" = 1; then
48437 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48438 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48439 wxUSE_PALETTE=no
48440 else
48441 cat >>confdefs.h <<\_ACEOF
48442 #define wxUSE_PALETTE 1
48443 _ACEOF
48444
48445 fi
48446 fi
48447
48448 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48449 LIBS=" -lunicows $LIBS"
48450 fi
48451
48452 USE_RICHTEXT=0
48453 if test "$wxUSE_RICHTEXT" = "yes"; then
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_RICHTEXT 1
48456 _ACEOF
48457
48458 USE_RICHTEXT=1
48459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48460 fi
48461
48462
48463 if test "$wxUSE_IMAGE" = "yes" ; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_IMAGE 1
48466 _ACEOF
48467
48468
48469 if test "$wxUSE_GIF" = "yes" ; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_GIF 1
48472 _ACEOF
48473
48474 fi
48475
48476 if test "$wxUSE_PCX" = "yes" ; then
48477 cat >>confdefs.h <<\_ACEOF
48478 #define wxUSE_PCX 1
48479 _ACEOF
48480
48481 fi
48482
48483 if test "$wxUSE_TGA" = "yes" ; then
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_TGA 1
48486 _ACEOF
48487
48488 fi
48489
48490 if test "$wxUSE_IFF" = "yes" ; then
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_IFF 1
48493 _ACEOF
48494
48495 fi
48496
48497 if test "$wxUSE_PNM" = "yes" ; then
48498 cat >>confdefs.h <<\_ACEOF
48499 #define wxUSE_PNM 1
48500 _ACEOF
48501
48502 fi
48503
48504 if test "$wxUSE_XPM" = "yes" ; then
48505 cat >>confdefs.h <<\_ACEOF
48506 #define wxUSE_XPM 1
48507 _ACEOF
48508
48509 fi
48510
48511 if test "$wxUSE_ICO_CUR" = "yes" ; then
48512 cat >>confdefs.h <<\_ACEOF
48513 #define wxUSE_ICO_CUR 1
48514 _ACEOF
48515
48516 fi
48517 fi
48518
48519
48520 if test "$wxUSE_ABOUTDLG" = "yes"; then
48521 cat >>confdefs.h <<\_ACEOF
48522 #define wxUSE_ABOUTDLG 1
48523 _ACEOF
48524
48525 fi
48526
48527 if test "$wxUSE_CHOICEDLG" = "yes"; then
48528 cat >>confdefs.h <<\_ACEOF
48529 #define wxUSE_CHOICEDLG 1
48530 _ACEOF
48531
48532 fi
48533
48534 if test "$wxUSE_COLOURDLG" = "yes"; then
48535 cat >>confdefs.h <<\_ACEOF
48536 #define wxUSE_COLOURDLG 1
48537 _ACEOF
48538
48539 fi
48540
48541 if test "$wxUSE_FILEDLG" = "yes"; then
48542 cat >>confdefs.h <<\_ACEOF
48543 #define wxUSE_FILEDLG 1
48544 _ACEOF
48545
48546 fi
48547
48548 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_FINDREPLDLG 1
48551 _ACEOF
48552
48553 fi
48554
48555 if test "$wxUSE_FONTDLG" = "yes"; then
48556 cat >>confdefs.h <<\_ACEOF
48557 #define wxUSE_FONTDLG 1
48558 _ACEOF
48559
48560 fi
48561
48562 if test "$wxUSE_DIRDLG" = "yes"; then
48563 if test "$wxUSE_TREECTRL" != "yes"; then
48564 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48565 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48566 else
48567 cat >>confdefs.h <<\_ACEOF
48568 #define wxUSE_DIRDLG 1
48569 _ACEOF
48570
48571 fi
48572 fi
48573
48574 if test "$wxUSE_MSGDLG" = "yes"; then
48575 cat >>confdefs.h <<\_ACEOF
48576 #define wxUSE_MSGDLG 1
48577 _ACEOF
48578
48579 fi
48580
48581 if test "$wxUSE_NUMBERDLG" = "yes"; then
48582 cat >>confdefs.h <<\_ACEOF
48583 #define wxUSE_NUMBERDLG 1
48584 _ACEOF
48585
48586 fi
48587
48588 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48589 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48590 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48591 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48592 else
48593 cat >>confdefs.h <<\_ACEOF
48594 #define wxUSE_PROGRESSDLG 1
48595 _ACEOF
48596
48597 fi
48598 fi
48599
48600 if test "$wxUSE_SPLASH" = "yes"; then
48601 cat >>confdefs.h <<\_ACEOF
48602 #define wxUSE_SPLASH 1
48603 _ACEOF
48604
48605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48606 fi
48607
48608 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48610 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48611 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48612 else
48613 cat >>confdefs.h <<\_ACEOF
48614 #define wxUSE_STARTUP_TIPS 1
48615 _ACEOF
48616
48617 fi
48618 fi
48619
48620 if test "$wxUSE_TEXTDLG" = "yes"; then
48621 cat >>confdefs.h <<\_ACEOF
48622 #define wxUSE_TEXTDLG 1
48623 _ACEOF
48624
48625 fi
48626
48627 if test "$wxUSE_WIZARDDLG" = "yes"; then
48628 cat >>confdefs.h <<\_ACEOF
48629 #define wxUSE_WIZARDDLG 1
48630 _ACEOF
48631
48632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48633 fi
48634
48635
48636 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48637 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48638 cat >>confdefs.h <<\_ACEOF
48639 #define wxUSE_OWNER_DRAWN 1
48640 _ACEOF
48641
48642 fi
48643 fi
48644
48645
48646 if test "$wxUSE_MSW" = 1 ; then
48647
48648 if test "$wxUSE_DC_CACHEING" = "yes"; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_DC_CACHEING 1
48651 _ACEOF
48652
48653 fi
48654
48655 if test "$wxUSE_DIB" = "yes"; then
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_WXDIB 1
48658 _ACEOF
48659
48660 fi
48661
48662 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48663 cat >>confdefs.h <<\_ACEOF
48664 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48665 _ACEOF
48666
48667 fi
48668
48669 if test "$wxUSE_UXTHEME" = "yes"; then
48670 cat >>confdefs.h <<\_ACEOF
48671 #define wxUSE_UXTHEME 1
48672 _ACEOF
48673
48674 fi
48675
48676 fi
48677
48678
48679 if test "$USE_WIN32" = 1 ; then
48680 if test "$wxUSE_INICONF" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_INICONF 1
48683 _ACEOF
48684
48685 fi
48686
48687 if test "$wxUSE_REGKEY" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_REGKEY 1
48690 _ACEOF
48691
48692 fi
48693 fi
48694
48695
48696 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48697 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48698 cat >>confdefs.h <<\_ACEOF
48699 #define wxUSE_GRAPHICS_CONTEXT 1
48700 _ACEOF
48701
48702 elif test "$wxUSE_GTK" != 1; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_GRAPHICS_CONTEXT 1
48705 _ACEOF
48706
48707 else
48708
48709 pkg_failed=no
48710 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48711 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48712
48713 if test -n "$PKG_CONFIG"; then
48714 if test -n "$CAIRO_CFLAGS"; then
48715 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48716 else
48717 if test -n "$PKG_CONFIG" && \
48718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48719 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48720 ac_status=$?
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; then
48723 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48724 else
48725 pkg_failed=yes
48726 fi
48727 fi
48728 else
48729 pkg_failed=untried
48730 fi
48731 if test -n "$PKG_CONFIG"; then
48732 if test -n "$CAIRO_LIBS"; then
48733 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48734 else
48735 if test -n "$PKG_CONFIG" && \
48736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48737 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48738 ac_status=$?
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); }; then
48741 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48742 else
48743 pkg_failed=yes
48744 fi
48745 fi
48746 else
48747 pkg_failed=untried
48748 fi
48749
48750
48751
48752 if test $pkg_failed = yes; then
48753
48754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48755 _pkg_short_errors_supported=yes
48756 else
48757 _pkg_short_errors_supported=no
48758 fi
48759 if test $_pkg_short_errors_supported = yes; then
48760 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48761 else
48762 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48763 fi
48764 # Put the nasty error message in config.log where it belongs
48765 echo "$CAIRO_PKG_ERRORS" >&5
48766
48767 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48768 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48769
48770 elif test $pkg_failed = untried; then
48771 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48772 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48773
48774 else
48775 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48776 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48777 { echo "$as_me:$LINENO: result: yes" >&5
48778 echo "${ECHO_T}yes" >&6; }
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_GRAPHICS_CONTEXT 1
48781 _ACEOF
48782
48783 fi
48784 fi
48785 fi
48786
48787
48788 USE_MEDIA=0
48789
48790 if test "$wxUSE_MEDIACTRL" = "yes"; then
48791 USE_MEDIA=1
48792
48793 if test "$wxUSE_GTK" = 1; then
48794 wxUSE_GSTREAMER="no"
48795
48796 GST_VERSION_MAJOR=0
48797 GST_VERSION_MINOR=10
48798 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48799
48800 if test "$wxUSE_GSTREAMER8" = "no"; then
48801
48802 pkg_failed=no
48803 { echo "$as_me:$LINENO: checking for GST" >&5
48804 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48805
48806 if test -n "$PKG_CONFIG"; then
48807 if test -n "$GST_CFLAGS"; then
48808 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48809 else
48810 if test -n "$PKG_CONFIG" && \
48811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48812 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48813 ac_status=$?
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); }; then
48816 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48817 else
48818 pkg_failed=yes
48819 fi
48820 fi
48821 else
48822 pkg_failed=untried
48823 fi
48824 if test -n "$PKG_CONFIG"; then
48825 if test -n "$GST_LIBS"; then
48826 pkg_cv_GST_LIBS="$GST_LIBS"
48827 else
48828 if test -n "$PKG_CONFIG" && \
48829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48830 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48831 ac_status=$?
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; then
48834 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48835 else
48836 pkg_failed=yes
48837 fi
48838 fi
48839 else
48840 pkg_failed=untried
48841 fi
48842
48843
48844
48845 if test $pkg_failed = yes; then
48846
48847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48848 _pkg_short_errors_supported=yes
48849 else
48850 _pkg_short_errors_supported=no
48851 fi
48852 if test $_pkg_short_errors_supported = yes; then
48853 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48854 else
48855 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48856 fi
48857 # Put the nasty error message in config.log where it belongs
48858 echo "$GST_PKG_ERRORS" >&5
48859
48860
48861 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48862 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48863 GST_VERSION_MINOR=8
48864
48865
48866 elif test $pkg_failed = untried; then
48867
48868 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48869 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48870 GST_VERSION_MINOR=8
48871
48872
48873 else
48874 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48875 GST_LIBS=$pkg_cv_GST_LIBS
48876 { echo "$as_me:$LINENO: result: yes" >&5
48877 echo "${ECHO_T}yes" >&6; }
48878
48879 wxUSE_GSTREAMER="yes"
48880 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48881
48882 fi
48883 else
48884 GST_VERSION_MINOR=8
48885 fi
48886
48887 if test $GST_VERSION_MINOR = "8"; then
48888 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48889
48890 pkg_failed=no
48891 { echo "$as_me:$LINENO: checking for GST" >&5
48892 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48893
48894 if test -n "$PKG_CONFIG"; then
48895 if test -n "$GST_CFLAGS"; then
48896 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48897 else
48898 if test -n "$PKG_CONFIG" && \
48899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48900 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48901 ac_status=$?
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); }; then
48904 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48905 else
48906 pkg_failed=yes
48907 fi
48908 fi
48909 else
48910 pkg_failed=untried
48911 fi
48912 if test -n "$PKG_CONFIG"; then
48913 if test -n "$GST_LIBS"; then
48914 pkg_cv_GST_LIBS="$GST_LIBS"
48915 else
48916 if test -n "$PKG_CONFIG" && \
48917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48918 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48919 ac_status=$?
48920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48921 (exit $ac_status); }; then
48922 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48923 else
48924 pkg_failed=yes
48925 fi
48926 fi
48927 else
48928 pkg_failed=untried
48929 fi
48930
48931
48932
48933 if test $pkg_failed = yes; then
48934
48935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48936 _pkg_short_errors_supported=yes
48937 else
48938 _pkg_short_errors_supported=no
48939 fi
48940 if test $_pkg_short_errors_supported = yes; then
48941 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48942 else
48943 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48944 fi
48945 # Put the nasty error message in config.log where it belongs
48946 echo "$GST_PKG_ERRORS" >&5
48947
48948
48949 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48950 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48951
48952 elif test $pkg_failed = untried; then
48953
48954 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48955 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48956
48957 else
48958 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48959 GST_LIBS=$pkg_cv_GST_LIBS
48960 { echo "$as_me:$LINENO: result: yes" >&5
48961 echo "${ECHO_T}yes" >&6; }
48962 wxUSE_GSTREAMER="yes"
48963 fi
48964 fi
48965
48966
48967 if test "$wxUSE_GSTREAMER" = "yes"; then
48968 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48969 LIBS="$GST_LIBS $LIBS"
48970
48971 cat >>confdefs.h <<\_ACEOF
48972 #define wxUSE_GSTREAMER 1
48973 _ACEOF
48974
48975 else
48976 USE_MEDIA=0
48977 fi
48978 fi
48979
48980 if test $USE_MEDIA = 1; then
48981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48982 cat >>confdefs.h <<\_ACEOF
48983 #define wxUSE_MEDIACTRL 1
48984 _ACEOF
48985
48986 fi
48987 fi
48988
48989
48990 if test "$cross_compiling" = "yes"; then
48991 OSINFO="\"$host\""
48992 else
48993 OSINFO=`uname -s -r -m`
48994 OSINFO="\"$OSINFO\""
48995 fi
48996
48997 cat >>confdefs.h <<_ACEOF
48998 #define WXWIN_OS_DESCRIPTION $OSINFO
48999 _ACEOF
49000
49001
49002
49003 if test "x$prefix" != "xNONE"; then
49004 wxPREFIX=$prefix
49005 else
49006 wxPREFIX=$ac_default_prefix
49007 fi
49008
49009 cat >>confdefs.h <<_ACEOF
49010 #define wxINSTALL_PREFIX "$wxPREFIX"
49011 _ACEOF
49012
49013
49014
49015
49016 STD_BASE_LIBS="base"
49017 STD_GUI_LIBS=""
49018 BUILT_WX_LIBS="base"
49019 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49020
49021 if test "$wxUSE_SOCKETS" = "yes" ; then
49022 STD_BASE_LIBS="net $STD_BASE_LIBS"
49023 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49024 fi
49025 if test "$wxUSE_XML" = "yes" ; then
49026 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49027 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49028 fi
49029
49030 if test "$wxUSE_GUI" = "yes"; then
49031 STD_GUI_LIBS="adv core"
49032 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49033
49034 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49035 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49036 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49037 fi
49038 if test "$wxUSE_HTML" = "yes" ; then
49039 STD_GUI_LIBS="html $STD_GUI_LIBS"
49040 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49041 fi
49042 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49043 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49044 fi
49045 if test "$wxUSE_OPENGL" = "yes" ; then
49046 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49047 fi
49048 if test "$wxUSE_AUI" = "yes" ; then
49049 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49050 fi
49051 if test "$wxUSE_STC" = "yes" ; then
49052 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49053 fi
49054 if test "$wxUSE_XRC" = "yes" ; then
49055 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49056 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49057 fi
49058 fi
49059
49060
49061
49062
49063
49064
49065
49066
49067 if test "$wxUSE_MAC" = 1 ; then
49068 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49069 if test "$USE_DARWIN" = 1; then
49070 LDFLAGS="$LDFLAGS -framework QuickTime"
49071 else
49072 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49073 fi
49074 fi
49075 if test "$USE_DARWIN" = 1; then
49076 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49077 else
49078 LDFLAGS="$LDFLAGS -lCarbonLib"
49079 fi
49080 fi
49081 if test "$wxUSE_COCOA" = 1 ; then
49082 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49083 if test "$wxUSE_MEDIACTRL" = "yes"; then
49084 LDFLAGS="$LDFLAGS -framework QuickTime"
49085 fi
49086 fi
49087 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49088 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49089 fi
49090
49091 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49092
49093 if test "$wxUSE_GUI" = "yes"; then
49094
49095
49096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49097 erase event exec font image minimal mobile \
49098 mobile/wxedit mobile/styles render \
49099 shaped svg taborder vscroll widgets"
49100
49101 if test "$wxUSE_MONOLITHIC" != "yes"; then
49102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49103 fi
49104 if test "$TOOLKIT" = "MSW"; then
49105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49106 if test "$wxUSE_UNIVERSAL" != "yes"; then
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49108 fi
49109 fi
49110 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49112 fi
49113 else
49114 SAMPLES_SUBDIRS="console"
49115 fi
49116
49117
49118 if test "x$INTELCC" = "xyes" ; then
49119 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49120 elif test "$GCC" = yes ; then
49121 CWARNINGS="-Wall -Wundef"
49122 fi
49123
49124 if test "x$INTELCXX" = "xyes" ; then
49125 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49126 elif test "$GXX" = yes ; then
49127 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49128 fi
49129
49130
49131 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49132 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49133
49134
49135 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49136 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49137 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49138 $CPPFLAGS `
49139
49140 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49141 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49142 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49143
49144 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49145
49146
49147 if test "x$MWCC" = "xyes"; then
49148
49149 CC="$CC -cwd source -I-"
49150 CXX="$CXX -cwd source -I-"
49151 fi
49152
49153
49154 LIBS=`echo $LIBS`
49155 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49156 EXTRALIBS_XML="$EXPAT_LINK"
49157 EXTRALIBS_HTML="$MSPACK_LINK"
49158 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49159 if test "$wxUSE_GUI" = "yes"; then
49160 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49161 fi
49162 if test "$wxUSE_OPENGL" = "yes"; then
49163 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49164 fi
49165
49166 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49167
49168 WXCONFIG_LIBS="$LIBS"
49169
49170 if test "$wxUSE_REGEX" = "builtin" ; then
49171 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49172 fi
49173 if test "$wxUSE_EXPAT" = "builtin" ; then
49174 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49175 fi
49176 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49177 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49178 fi
49179 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49180 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49181 fi
49182 if test "$wxUSE_LIBPNG" = "builtin" ; then
49183 wxconfig_3rdparty="png $wxconfig_3rdparty"
49184 fi
49185 if test "$wxUSE_ZLIB" = "builtin" ; then
49186 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49187 fi
49188
49189 for i in $wxconfig_3rdparty ; do
49190 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49191 done
49192
49193
49194 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49195 WXUNIV=1
49196
49197 case "$wxUNIV_THEMES" in
49198 ''|all)
49199 cat >>confdefs.h <<\_ACEOF
49200 #define wxUSE_ALL_THEMES 1
49201 _ACEOF
49202
49203 ;;
49204
49205 *)
49206 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49207 cat >>confdefs.h <<_ACEOF
49208 #define wxUSE_THEME_$t 1
49209 _ACEOF
49210
49211 done
49212 esac
49213 else
49214 WXUNIV=0
49215 fi
49216
49217
49218
49219
49220
49221
49222
49223
49224 if test $wxUSE_MONOLITHIC = "yes" ; then
49225 MONOLITHIC=1
49226 else
49227 MONOLITHIC=0
49228 fi
49229
49230 if test $wxUSE_PLUGINS = "yes" ; then
49231 USE_PLUGINS=1
49232 else
49233 USE_PLUGINS=0
49234 fi
49235
49236 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49237 USE_QA=1
49238 else
49239 USE_QA=0
49240 fi
49241
49242 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49243 OFFICIAL_BUILD=1
49244 else
49245 OFFICIAL_BUILD=0
49246 fi
49247
49248
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 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
49274
49275
49276
49277
49278
49279
49280
49281
49282 case "$TOOLKIT" in
49283 GTK)
49284 TOOLKIT_DESC="GTK+"
49285 if test "$WXGTK2" = 1; then
49286 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49287 if test "$wxUSE_GTKPRINT" = "yes" ; then
49288 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49289 fi
49290 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49291 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49292 fi
49293 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49294 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49295 fi
49296 if test "$wxUSE_LIBHILDON" = "yes"; then
49297 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49298 fi
49299
49300 if test "$TOOLKIT_EXTRA" != ""; then
49301 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49302 fi
49303 fi
49304 ;;
49305
49306 ?*)
49307 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49308 ;;
49309
49310 *)
49311 TOOLKIT_DESC="base only"
49312 ;;
49313 esac
49314
49315 if test "$wxUSE_WINE" = "yes"; then
49316 BAKEFILE_FORCE_PLATFORM=win32
49317 fi
49318
49319 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49320 then
49321 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49322 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49323 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49324 echo $ECHO_N "(cached) $ECHO_C" >&6
49325 else
49326
49327 echo '#include <stdio.h>
49328 const wchar_t test_var[] = L"awidetest";' > conftest.h
49329
49330 echo '#include "conftest.h"
49331 int main()
49332 {
49333 printf("%ls", test_var);
49334 return 0;
49335 }' > conftest.cpp
49336
49337 wx_cv_gcc_pch_bug="pch not supported"
49338
49339 if $CXX conftest.h >/dev/null 2>&1
49340 then
49341 wx_cv_gcc_pch_bug=
49342
49343 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49344 then
49345 if tr -dc a-z < conftest$PROGRAM_EXT |
49346 grep awidetest >/dev/null
49347 then
49348 wx_cv_gcc_pch_bug=no
49349 else
49350 wx_cv_gcc_pch_bug=yes
49351 fi
49352 fi
49353 fi
49354
49355 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49356
49357 fi
49358 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49359 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49360
49361 if test "$wx_cv_gcc_pch_bug" = yes; then
49362 bk_use_pch=no
49363 fi
49364 fi
49365
49366
49367
49368
49369 if test "x$BAKEFILE_HOST" = "x"; then
49370 if test "x${host}" = "x" ; then
49371 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49372 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49373 { (exit 1); exit 1; }; }
49374 fi
49375
49376 BAKEFILE_HOST="${host}"
49377 fi
49378
49379 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49380
49381 if test -n "$ac_tool_prefix"; then
49382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49383 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49386 if test "${ac_cv_prog_RANLIB+set}" = set; then
49387 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 else
49389 if test -n "$RANLIB"; then
49390 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49391 else
49392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49393 for as_dir in $PATH
49394 do
49395 IFS=$as_save_IFS
49396 test -z "$as_dir" && as_dir=.
49397 for ac_exec_ext in '' $ac_executable_extensions; do
49398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49399 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49401 break 2
49402 fi
49403 done
49404 done
49405 IFS=$as_save_IFS
49406
49407 fi
49408 fi
49409 RANLIB=$ac_cv_prog_RANLIB
49410 if test -n "$RANLIB"; then
49411 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49412 echo "${ECHO_T}$RANLIB" >&6; }
49413 else
49414 { echo "$as_me:$LINENO: result: no" >&5
49415 echo "${ECHO_T}no" >&6; }
49416 fi
49417
49418
49419 fi
49420 if test -z "$ac_cv_prog_RANLIB"; then
49421 ac_ct_RANLIB=$RANLIB
49422 # Extract the first word of "ranlib", so it can be a program name with args.
49423 set dummy ranlib; ac_word=$2
49424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 else
49429 if test -n "$ac_ct_RANLIB"; then
49430 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49431 else
49432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49433 for as_dir in $PATH
49434 do
49435 IFS=$as_save_IFS
49436 test -z "$as_dir" && as_dir=.
49437 for ac_exec_ext in '' $ac_executable_extensions; do
49438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49439 ac_cv_prog_ac_ct_RANLIB="ranlib"
49440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49441 break 2
49442 fi
49443 done
49444 done
49445 IFS=$as_save_IFS
49446
49447 fi
49448 fi
49449 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49450 if test -n "$ac_ct_RANLIB"; then
49451 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49452 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49453 else
49454 { echo "$as_me:$LINENO: result: no" >&5
49455 echo "${ECHO_T}no" >&6; }
49456 fi
49457
49458 if test "x$ac_ct_RANLIB" = x; then
49459 RANLIB=":"
49460 else
49461 case $cross_compiling:$ac_tool_warned in
49462 yes:)
49463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49464 whose name does not start with the host triplet. If you think this
49465 configuration is useful to you, please write to autoconf@gnu.org." >&5
49466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49467 whose name does not start with the host triplet. If you think this
49468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49469 ac_tool_warned=yes ;;
49470 esac
49471 RANLIB=$ac_ct_RANLIB
49472 fi
49473 else
49474 RANLIB="$ac_cv_prog_RANLIB"
49475 fi
49476
49477 # Find a good install program. We prefer a C program (faster),
49478 # so one script is as good as another. But avoid the broken or
49479 # incompatible versions:
49480 # SysV /etc/install, /usr/sbin/install
49481 # SunOS /usr/etc/install
49482 # IRIX /sbin/install
49483 # AIX /bin/install
49484 # AmigaOS /C/install, which installs bootblocks on floppy discs
49485 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49486 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49487 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49488 # OS/2's system install, which has a completely different semantic
49489 # ./install, which can be erroneously created by make from ./install.sh.
49490 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49491 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49492 if test -z "$INSTALL"; then
49493 if test "${ac_cv_path_install+set}" = set; then
49494 echo $ECHO_N "(cached) $ECHO_C" >&6
49495 else
49496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49497 for as_dir in $PATH
49498 do
49499 IFS=$as_save_IFS
49500 test -z "$as_dir" && as_dir=.
49501 # Account for people who put trailing slashes in PATH elements.
49502 case $as_dir/ in
49503 ./ | .// | /cC/* | \
49504 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49505 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49506 /usr/ucb/* ) ;;
49507 *)
49508 # OSF1 and SCO ODT 3.0 have their own names for install.
49509 # Don't use installbsd from OSF since it installs stuff as root
49510 # by default.
49511 for ac_prog in ginstall scoinst install; do
49512 for ac_exec_ext in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49514 if test $ac_prog = install &&
49515 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49516 # AIX install. It has an incompatible calling convention.
49517 :
49518 elif test $ac_prog = install &&
49519 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49520 # program-specific install script used by HP pwplus--don't use.
49521 :
49522 else
49523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49524 break 3
49525 fi
49526 fi
49527 done
49528 done
49529 ;;
49530 esac
49531 done
49532 IFS=$as_save_IFS
49533
49534
49535 fi
49536 if test "${ac_cv_path_install+set}" = set; then
49537 INSTALL=$ac_cv_path_install
49538 else
49539 # As a last resort, use the slow shell script. Don't cache a
49540 # value for INSTALL within a source directory, because that will
49541 # break other packages using the cache if that directory is
49542 # removed, or if the value is a relative name.
49543 INSTALL=$ac_install_sh
49544 fi
49545 fi
49546 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49547 echo "${ECHO_T}$INSTALL" >&6; }
49548
49549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49550 # It thinks the first close brace ends the variable substitution.
49551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49552
49553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49554
49555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49556
49557 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49558 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49559 LN_S=$as_ln_s
49560 if test "$LN_S" = "ln -s"; then
49561 { echo "$as_me:$LINENO: result: yes" >&5
49562 echo "${ECHO_T}yes" >&6; }
49563 else
49564 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49565 echo "${ECHO_T}no, using $LN_S" >&6; }
49566 fi
49567
49568
49569 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49570 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49571 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49572 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49573 echo $ECHO_N "(cached) $ECHO_C" >&6
49574 else
49575 cat >conftest.make <<\_ACEOF
49576 SHELL = /bin/sh
49577 all:
49578 @echo '@@@%%%=$(MAKE)=@@@%%%'
49579 _ACEOF
49580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49582 *@@@%%%=?*=@@@%%%*)
49583 eval ac_cv_prog_make_${ac_make}_set=yes;;
49584 *)
49585 eval ac_cv_prog_make_${ac_make}_set=no;;
49586 esac
49587 rm -f conftest.make
49588 fi
49589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49590 { echo "$as_me:$LINENO: result: yes" >&5
49591 echo "${ECHO_T}yes" >&6; }
49592 SET_MAKE=
49593 else
49594 { echo "$as_me:$LINENO: result: no" >&5
49595 echo "${ECHO_T}no" >&6; }
49596 SET_MAKE="MAKE=${MAKE-make}"
49597 fi
49598
49599
49600
49601 if test "x$SUNCXX" = "xyes"; then
49602 AR=$CXX
49603 AROPTIONS="-xar -o"
49604
49605 elif test "x$SGICC" = "xyes"; then
49606 AR=$CXX
49607 AROPTIONS="-ar -o"
49608
49609 else
49610 if test -n "$ac_tool_prefix"; then
49611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49612 set dummy ${ac_tool_prefix}ar; ac_word=$2
49613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49615 if test "${ac_cv_prog_AR+set}" = set; then
49616 echo $ECHO_N "(cached) $ECHO_C" >&6
49617 else
49618 if test -n "$AR"; then
49619 ac_cv_prog_AR="$AR" # Let the user override the test.
49620 else
49621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49622 for as_dir in $PATH
49623 do
49624 IFS=$as_save_IFS
49625 test -z "$as_dir" && as_dir=.
49626 for ac_exec_ext in '' $ac_executable_extensions; do
49627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49628 ac_cv_prog_AR="${ac_tool_prefix}ar"
49629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49630 break 2
49631 fi
49632 done
49633 done
49634 IFS=$as_save_IFS
49635
49636 fi
49637 fi
49638 AR=$ac_cv_prog_AR
49639 if test -n "$AR"; then
49640 { echo "$as_me:$LINENO: result: $AR" >&5
49641 echo "${ECHO_T}$AR" >&6; }
49642 else
49643 { echo "$as_me:$LINENO: result: no" >&5
49644 echo "${ECHO_T}no" >&6; }
49645 fi
49646
49647
49648 fi
49649 if test -z "$ac_cv_prog_AR"; then
49650 ac_ct_AR=$AR
49651 # Extract the first word of "ar", so it can be a program name with args.
49652 set dummy ar; ac_word=$2
49653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49655 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49656 echo $ECHO_N "(cached) $ECHO_C" >&6
49657 else
49658 if test -n "$ac_ct_AR"; then
49659 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49660 else
49661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49662 for as_dir in $PATH
49663 do
49664 IFS=$as_save_IFS
49665 test -z "$as_dir" && as_dir=.
49666 for ac_exec_ext in '' $ac_executable_extensions; do
49667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49668 ac_cv_prog_ac_ct_AR="ar"
49669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49670 break 2
49671 fi
49672 done
49673 done
49674 IFS=$as_save_IFS
49675
49676 fi
49677 fi
49678 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49679 if test -n "$ac_ct_AR"; then
49680 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49681 echo "${ECHO_T}$ac_ct_AR" >&6; }
49682 else
49683 { echo "$as_me:$LINENO: result: no" >&5
49684 echo "${ECHO_T}no" >&6; }
49685 fi
49686
49687 if test "x$ac_ct_AR" = x; then
49688 AR="ar"
49689 else
49690 case $cross_compiling:$ac_tool_warned in
49691 yes:)
49692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49693 whose name does not start with the host triplet. If you think this
49694 configuration is useful to you, please write to autoconf@gnu.org." >&5
49695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49696 whose name does not start with the host triplet. If you think this
49697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49698 ac_tool_warned=yes ;;
49699 esac
49700 AR=$ac_ct_AR
49701 fi
49702 else
49703 AR="$ac_cv_prog_AR"
49704 fi
49705
49706 AROPTIONS=rcu
49707 fi
49708
49709
49710 if test -n "$ac_tool_prefix"; then
49711 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49712 set dummy ${ac_tool_prefix}strip; ac_word=$2
49713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49715 if test "${ac_cv_prog_STRIP+set}" = set; then
49716 echo $ECHO_N "(cached) $ECHO_C" >&6
49717 else
49718 if test -n "$STRIP"; then
49719 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49720 else
49721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49722 for as_dir in $PATH
49723 do
49724 IFS=$as_save_IFS
49725 test -z "$as_dir" && as_dir=.
49726 for ac_exec_ext in '' $ac_executable_extensions; do
49727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49728 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49730 break 2
49731 fi
49732 done
49733 done
49734 IFS=$as_save_IFS
49735
49736 fi
49737 fi
49738 STRIP=$ac_cv_prog_STRIP
49739 if test -n "$STRIP"; then
49740 { echo "$as_me:$LINENO: result: $STRIP" >&5
49741 echo "${ECHO_T}$STRIP" >&6; }
49742 else
49743 { echo "$as_me:$LINENO: result: no" >&5
49744 echo "${ECHO_T}no" >&6; }
49745 fi
49746
49747
49748 fi
49749 if test -z "$ac_cv_prog_STRIP"; then
49750 ac_ct_STRIP=$STRIP
49751 # Extract the first word of "strip", so it can be a program name with args.
49752 set dummy strip; ac_word=$2
49753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49755 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49758 if test -n "$ac_ct_STRIP"; then
49759 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49760 else
49761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49762 for as_dir in $PATH
49763 do
49764 IFS=$as_save_IFS
49765 test -z "$as_dir" && as_dir=.
49766 for ac_exec_ext in '' $ac_executable_extensions; do
49767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49768 ac_cv_prog_ac_ct_STRIP="strip"
49769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49770 break 2
49771 fi
49772 done
49773 done
49774 IFS=$as_save_IFS
49775
49776 fi
49777 fi
49778 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49779 if test -n "$ac_ct_STRIP"; then
49780 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49781 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49782 else
49783 { echo "$as_me:$LINENO: result: no" >&5
49784 echo "${ECHO_T}no" >&6; }
49785 fi
49786
49787 if test "x$ac_ct_STRIP" = x; then
49788 STRIP=":"
49789 else
49790 case $cross_compiling:$ac_tool_warned in
49791 yes:)
49792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49793 whose name does not start with the host triplet. If you think this
49794 configuration is useful to you, please write to autoconf@gnu.org." >&5
49795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49796 whose name does not start with the host triplet. If you think this
49797 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49798 ac_tool_warned=yes ;;
49799 esac
49800 STRIP=$ac_ct_STRIP
49801 fi
49802 else
49803 STRIP="$ac_cv_prog_STRIP"
49804 fi
49805
49806 if test -n "$ac_tool_prefix"; then
49807 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49808 set dummy ${ac_tool_prefix}nm; ac_word=$2
49809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49811 if test "${ac_cv_prog_NM+set}" = set; then
49812 echo $ECHO_N "(cached) $ECHO_C" >&6
49813 else
49814 if test -n "$NM"; then
49815 ac_cv_prog_NM="$NM" # Let the user override the test.
49816 else
49817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49818 for as_dir in $PATH
49819 do
49820 IFS=$as_save_IFS
49821 test -z "$as_dir" && as_dir=.
49822 for ac_exec_ext in '' $ac_executable_extensions; do
49823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49824 ac_cv_prog_NM="${ac_tool_prefix}nm"
49825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49826 break 2
49827 fi
49828 done
49829 done
49830 IFS=$as_save_IFS
49831
49832 fi
49833 fi
49834 NM=$ac_cv_prog_NM
49835 if test -n "$NM"; then
49836 { echo "$as_me:$LINENO: result: $NM" >&5
49837 echo "${ECHO_T}$NM" >&6; }
49838 else
49839 { echo "$as_me:$LINENO: result: no" >&5
49840 echo "${ECHO_T}no" >&6; }
49841 fi
49842
49843
49844 fi
49845 if test -z "$ac_cv_prog_NM"; then
49846 ac_ct_NM=$NM
49847 # Extract the first word of "nm", so it can be a program name with args.
49848 set dummy nm; ac_word=$2
49849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49851 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49852 echo $ECHO_N "(cached) $ECHO_C" >&6
49853 else
49854 if test -n "$ac_ct_NM"; then
49855 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49856 else
49857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49858 for as_dir in $PATH
49859 do
49860 IFS=$as_save_IFS
49861 test -z "$as_dir" && as_dir=.
49862 for ac_exec_ext in '' $ac_executable_extensions; do
49863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49864 ac_cv_prog_ac_ct_NM="nm"
49865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49866 break 2
49867 fi
49868 done
49869 done
49870 IFS=$as_save_IFS
49871
49872 fi
49873 fi
49874 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49875 if test -n "$ac_ct_NM"; then
49876 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49877 echo "${ECHO_T}$ac_ct_NM" >&6; }
49878 else
49879 { echo "$as_me:$LINENO: result: no" >&5
49880 echo "${ECHO_T}no" >&6; }
49881 fi
49882
49883 if test "x$ac_ct_NM" = x; then
49884 NM=":"
49885 else
49886 case $cross_compiling:$ac_tool_warned in
49887 yes:)
49888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49889 whose name does not start with the host triplet. If you think this
49890 configuration is useful to you, please write to autoconf@gnu.org." >&5
49891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49892 whose name does not start with the host triplet. If you think this
49893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49894 ac_tool_warned=yes ;;
49895 esac
49896 NM=$ac_ct_NM
49897 fi
49898 else
49899 NM="$ac_cv_prog_NM"
49900 fi
49901
49902
49903 case ${BAKEFILE_HOST} in
49904 *-hp-hpux* )
49905 INSTALL_DIR="mkdir -p"
49906 ;;
49907 * )
49908 INSTALL_DIR='$(INSTALL) -d'
49909 ;;
49910 esac
49911
49912
49913 LDFLAGS_GUI=
49914 case ${BAKEFILE_HOST} in
49915 *-*-cygwin* | *-*-mingw32* )
49916 LDFLAGS_GUI="-mwindows"
49917 esac
49918
49919
49920 fi
49921
49922 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49923 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49924 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49925 echo $ECHO_N "(cached) $ECHO_C" >&6
49926 else
49927
49928 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49929 egrep -s GNU > /dev/null); then
49930 bakefile_cv_prog_makeisgnu="yes"
49931 else
49932 bakefile_cv_prog_makeisgnu="no"
49933 fi
49934
49935 fi
49936 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49937 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49938
49939 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49940 IF_GNU_MAKE=""
49941 else
49942 IF_GNU_MAKE="#"
49943 fi
49944
49945
49946
49947 PLATFORM_UNIX=0
49948 PLATFORM_WIN32=0
49949 PLATFORM_MSDOS=0
49950 PLATFORM_MAC=0
49951 PLATFORM_MACOS=0
49952 PLATFORM_MACOSX=0
49953 PLATFORM_OS2=0
49954 PLATFORM_BEOS=0
49955
49956 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49957 case "${BAKEFILE_HOST}" in
49958 *-*-mingw32* )
49959 PLATFORM_WIN32=1
49960 ;;
49961 *-pc-msdosdjgpp )
49962 PLATFORM_MSDOS=1
49963 ;;
49964 *-pc-os2_emx | *-pc-os2-emx )
49965 PLATFORM_OS2=1
49966 ;;
49967 *-*-darwin* )
49968 PLATFORM_MAC=1
49969 PLATFORM_MACOSX=1
49970 ;;
49971 *-*-beos* )
49972 PLATFORM_BEOS=1
49973 ;;
49974 powerpc-apple-macos* )
49975 PLATFORM_MAC=1
49976 PLATFORM_MACOS=1
49977 ;;
49978 * )
49979 PLATFORM_UNIX=1
49980 ;;
49981 esac
49982 else
49983 case "$BAKEFILE_FORCE_PLATFORM" in
49984 win32 )
49985 PLATFORM_WIN32=1
49986 ;;
49987 msdos )
49988 PLATFORM_MSDOS=1
49989 ;;
49990 os2 )
49991 PLATFORM_OS2=1
49992 ;;
49993 darwin )
49994 PLATFORM_MAC=1
49995 PLATFORM_MACOSX=1
49996 ;;
49997 unix )
49998 PLATFORM_UNIX=1
49999 ;;
50000 beos )
50001 PLATFORM_BEOS=1
50002 ;;
50003 * )
50004 ;;
50005 esac
50006 fi
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018 # Check whether --enable-omf was given.
50019 if test "${enable_omf+set}" = set; then
50020 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50021 fi
50022
50023
50024 case "${BAKEFILE_HOST}" in
50025 *-*-darwin* )
50026 if test "x$GCC" = "xyes"; then
50027 CFLAGS="$CFLAGS -fno-common"
50028 CXXFLAGS="$CXXFLAGS -fno-common"
50029 fi
50030 if test "x$XLCC" = "xyes"; then
50031 CFLAGS="$CFLAGS -qnocommon"
50032 CXXFLAGS="$CXXFLAGS -qnocommon"
50033 fi
50034 ;;
50035
50036 *-pc-os2_emx | *-pc-os2-emx )
50037 if test "x$bk_os2_use_omf" = "xyes" ; then
50038 AR=emxomfar
50039 RANLIB=:
50040 LDFLAGS="-Zomf $LDFLAGS"
50041 CFLAGS="-Zomf $CFLAGS"
50042 CXXFLAGS="-Zomf $CXXFLAGS"
50043 OS2_LIBEXT="lib"
50044 else
50045 OS2_LIBEXT="a"
50046 fi
50047 ;;
50048
50049 i*86-*-beos* )
50050 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50051 ;;
50052 esac
50053
50054
50055 SO_SUFFIX="so"
50056 SO_SUFFIX_MODULE="so"
50057 EXEEXT=""
50058 LIBPREFIX="lib"
50059 LIBEXT=".a"
50060 DLLPREFIX="lib"
50061 DLLPREFIX_MODULE=""
50062 DLLIMP_SUFFIX=""
50063 dlldir="$libdir"
50064
50065 case "${BAKEFILE_HOST}" in
50066 *-hp-hpux* )
50067 SO_SUFFIX="sl"
50068 SO_SUFFIX_MODULE="sl"
50069 ;;
50070 *-*-aix* )
50071 SO_SUFFIX="a"
50072 SO_SUFFIX_MODULE="a"
50073 ;;
50074 *-*-cygwin* )
50075 SO_SUFFIX="dll"
50076 SO_SUFFIX_MODULE="dll"
50077 DLLIMP_SUFFIX="dll.a"
50078 EXEEXT=".exe"
50079 DLLPREFIX="cyg"
50080 dlldir="$bindir"
50081 ;;
50082 *-*-mingw32* )
50083 SO_SUFFIX="dll"
50084 SO_SUFFIX_MODULE="dll"
50085 DLLIMP_SUFFIX="dll.a"
50086 EXEEXT=".exe"
50087 DLLPREFIX=""
50088 dlldir="$bindir"
50089 ;;
50090 *-pc-msdosdjgpp )
50091 EXEEXT=".exe"
50092 DLLPREFIX=""
50093 dlldir="$bindir"
50094 ;;
50095 *-pc-os2_emx | *-pc-os2-emx )
50096 SO_SUFFIX="dll"
50097 SO_SUFFIX_MODULE="dll"
50098 DLLIMP_SUFFIX=$OS2_LIBEXT
50099 EXEEXT=".exe"
50100 DLLPREFIX=""
50101 LIBPREFIX=""
50102 LIBEXT=".$OS2_LIBEXT"
50103 dlldir="$bindir"
50104 ;;
50105 *-*-darwin* )
50106 SO_SUFFIX="dylib"
50107 SO_SUFFIX_MODULE="bundle"
50108 ;;
50109 esac
50110
50111 if test "x$DLLIMP_SUFFIX" = "x" ; then
50112 DLLIMP_SUFFIX="$SO_SUFFIX"
50113 fi
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126 PIC_FLAG=""
50127 if test "x$GCC" = "xyes"; then
50128 PIC_FLAG="-fPIC"
50129 fi
50130
50131 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50132 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50133 WINDOWS_IMPLIB=0
50134
50135 case "${BAKEFILE_HOST}" in
50136 *-hp-hpux* )
50137 if test "x$GCC" != "xyes"; then
50138 LDFLAGS="$LDFLAGS -L/usr/lib"
50139
50140 SHARED_LD_CC="${CC} -b -o"
50141 SHARED_LD_CXX="${CXX} -b -o"
50142 PIC_FLAG="+Z"
50143 fi
50144 ;;
50145
50146 *-*-linux* )
50147 if test "$INTELCC" = "yes"; then
50148 PIC_FLAG="-KPIC"
50149 elif test "x$SUNCXX" = "xyes"; then
50150 SHARED_LD_CC="${CC} -G -o"
50151 SHARED_LD_CXX="${CXX} -G -o"
50152 PIC_FLAG="-KPIC"
50153 fi
50154 ;;
50155
50156 *-*-solaris2* )
50157 if test "x$SUNCXX" = xyes ; then
50158 SHARED_LD_CC="${CC} -G -o"
50159 SHARED_LD_CXX="${CXX} -G -o"
50160 PIC_FLAG="-KPIC"
50161 fi
50162 ;;
50163
50164 *-*-darwin* )
50165
50166 D='$'
50167 cat <<EOF >shared-ld-sh
50168 #!/bin/sh
50169 #-----------------------------------------------------------------------------
50170 #-- Name: distrib/mac/shared-ld-sh
50171 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50172 #-- Author: Gilles Depeyrot
50173 #-- Copyright: (c) 2002 Gilles Depeyrot
50174 #-- Licence: any use permitted
50175 #-----------------------------------------------------------------------------
50176
50177 verbose=0
50178 args=""
50179 objects=""
50180 linking_flag="-dynamiclib"
50181 ldargs="-r -keep_private_externs -nostdlib"
50182
50183 while test ${D}# -gt 0; do
50184 case ${D}1 in
50185
50186 -v)
50187 verbose=1
50188 ;;
50189
50190 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50191 # collect these options and values
50192 args="${D}{args} ${D}1 ${D}2"
50193 shift
50194 ;;
50195
50196 -s|-Wl,*)
50197 # collect these load args
50198 ldargs="${D}{ldargs} ${D}1"
50199 ;;
50200
50201 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50202 # collect these options
50203 args="${D}{args} ${D}1"
50204 ;;
50205
50206 -dynamiclib|-bundle)
50207 linking_flag="${D}1"
50208 ;;
50209
50210 -*)
50211 echo "shared-ld: unhandled option '${D}1'"
50212 exit 1
50213 ;;
50214
50215 *.o | *.a | *.dylib)
50216 # collect object files
50217 objects="${D}{objects} ${D}1"
50218 ;;
50219
50220 *)
50221 echo "shared-ld: unhandled argument '${D}1'"
50222 exit 1
50223 ;;
50224
50225 esac
50226 shift
50227 done
50228
50229 status=0
50230
50231 #
50232 # Link one module containing all the others
50233 #
50234 if test ${D}{verbose} = 1; then
50235 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50236 fi
50237 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50238 status=${D}?
50239
50240 #
50241 # Link the shared library from the single module created, but only if the
50242 # previous command didn't fail:
50243 #
50244 if test ${D}{status} = 0; then
50245 if test ${D}{verbose} = 1; then
50246 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50247 fi
50248 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50249 status=${D}?
50250 fi
50251
50252 #
50253 # Remove intermediate module
50254 #
50255 rm -f master.${D}${D}.o
50256
50257 exit ${D}status
50258 EOF
50259
50260 chmod +x shared-ld-sh
50261
50262 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50263 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50264
50265
50266 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50267 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50268 if test "${bakefile_cv_gcc31+set}" = set; then
50269 echo $ECHO_N "(cached) $ECHO_C" >&6
50270 else
50271
50272 cat >conftest.$ac_ext <<_ACEOF
50273 /* confdefs.h. */
50274 _ACEOF
50275 cat confdefs.h >>conftest.$ac_ext
50276 cat >>conftest.$ac_ext <<_ACEOF
50277 /* end confdefs.h. */
50278
50279 int
50280 main ()
50281 {
50282
50283 #if (__GNUC__ < 3) || \
50284 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50285 This is old gcc
50286 #endif
50287
50288 ;
50289 return 0;
50290 }
50291 _ACEOF
50292 rm -f conftest.$ac_objext
50293 if { (ac_try="$ac_compile"
50294 case "(($ac_try" in
50295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50296 *) ac_try_echo=$ac_try;;
50297 esac
50298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50299 (eval "$ac_compile") 2>conftest.er1
50300 ac_status=$?
50301 grep -v '^ *+' conftest.er1 >conftest.err
50302 rm -f conftest.er1
50303 cat conftest.err >&5
50304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50305 (exit $ac_status); } && {
50306 test -z "$ac_c_werror_flag" ||
50307 test ! -s conftest.err
50308 } && test -s conftest.$ac_objext; then
50309
50310 bakefile_cv_gcc31=yes
50311
50312 else
50313 echo "$as_me: failed program was:" >&5
50314 sed 's/^/| /' conftest.$ac_ext >&5
50315
50316
50317 bakefile_cv_gcc31=no
50318
50319
50320 fi
50321
50322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50323
50324 fi
50325 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50326 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50327 if test "$bakefile_cv_gcc31" = "no"; then
50328 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50329 SHARED_LD_CXX="$SHARED_LD_CC"
50330 else
50331 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50332 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50333 fi
50334
50335 if test "x$GCC" == "xyes"; then
50336 PIC_FLAG="-dynamic -fPIC"
50337 fi
50338 if test "x$XLCC" = "xyes"; then
50339 PIC_FLAG="-dynamic -DPIC"
50340 fi
50341 ;;
50342
50343 *-*-aix* )
50344 if test "x$GCC" = "xyes"; then
50345 PIC_FLAG=""
50346
50347 case "${BAKEFILE_HOST}" in
50348 *-*-aix5* )
50349 LD_EXPFULL="-Wl,-bexpfull"
50350 ;;
50351 esac
50352
50353 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50354 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50355 else
50356 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50357 set dummy makeC++SharedLib; ac_word=$2
50358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50360 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50361 echo $ECHO_N "(cached) $ECHO_C" >&6
50362 else
50363 if test -n "$AIX_CXX_LD"; then
50364 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50365 else
50366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50367 for as_dir in $PATH
50368 do
50369 IFS=$as_save_IFS
50370 test -z "$as_dir" && as_dir=.
50371 for ac_exec_ext in '' $ac_executable_extensions; do
50372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50373 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50375 break 2
50376 fi
50377 done
50378 done
50379 IFS=$as_save_IFS
50380
50381 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50382 fi
50383 fi
50384 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50385 if test -n "$AIX_CXX_LD"; then
50386 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50387 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50388 else
50389 { echo "$as_me:$LINENO: result: no" >&5
50390 echo "${ECHO_T}no" >&6; }
50391 fi
50392
50393
50394 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50395 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50396 fi
50397 ;;
50398
50399 *-*-beos* )
50400 SHARED_LD_CC="${LD} -nostart -o"
50401 SHARED_LD_CXX="${LD} -nostart -o"
50402 ;;
50403
50404 *-*-irix* )
50405 if test "x$GCC" != "xyes"; then
50406 PIC_FLAG="-KPIC"
50407 fi
50408 ;;
50409
50410 *-*-cygwin* | *-*-mingw32* )
50411 PIC_FLAG=""
50412 SHARED_LD_CC="\$(CC) -shared -o"
50413 SHARED_LD_CXX="\$(CXX) -shared -o"
50414 WINDOWS_IMPLIB=1
50415 ;;
50416
50417 *-pc-os2_emx | *-pc-os2-emx )
50418 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50419 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50420 PIC_FLAG=""
50421
50422 D='$'
50423 cat <<EOF >dllar.sh
50424 #!/bin/sh
50425 #
50426 # dllar - a tool to build both a .dll and an .a file
50427 # from a set of object (.o) files for EMX/OS2.
50428 #
50429 # Written by Andrew Zabolotny, bit@freya.etu.ru
50430 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50431 #
50432 # This script will accept a set of files on the command line.
50433 # All the public symbols from the .o files will be exported into
50434 # a .DEF file, then linker will be run (through gcc) against them to
50435 # build a shared library consisting of all given .o files. All libraries
50436 # (.a) will be first decompressed into component .o files then act as
50437 # described above. You can optionally give a description (-d "description")
50438 # which will be put into .DLL. To see the list of accepted options (as well
50439 # as command-line format) simply run this program without options. The .DLL
50440 # is built to be imported by name (there is no guarantee that new versions
50441 # of the library you build will have same ordinals for same symbols).
50442 #
50443 # dllar is free software; you can redistribute it and/or modify
50444 # it under the terms of the GNU General Public License as published by
50445 # the Free Software Foundation; either version 2, or (at your option)
50446 # any later version.
50447 #
50448 # dllar is distributed in the hope that it will be useful,
50449 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50450 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50451 # GNU General Public License for more details.
50452 #
50453 # You should have received a copy of the GNU General Public License
50454 # along with dllar; see the file COPYING. If not, write to the Free
50455 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50456 # 02111-1307, USA.
50457
50458 # To successfuly run this program you will need:
50459 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50460 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50461 # - gcc
50462 # (used to build the .dll)
50463 # - emxexp
50464 # (used to create .def file from .o files)
50465 # - emximp
50466 # (used to create .a file from .def file)
50467 # - GNU text utilites (cat, sort, uniq)
50468 # used to process emxexp output
50469 # - GNU file utilities (mv, rm)
50470 # - GNU sed
50471 # - lxlite (optional, see flag below)
50472 # (used for general .dll cleanup)
50473 #
50474
50475 flag_USE_LXLITE=1;
50476
50477 #
50478 # helper functions
50479 # basnam, variant of basename, which does _not_ remove the path, _iff_
50480 # second argument (suffix to remove) is given
50481 basnam(){
50482 case ${D}# in
50483 1)
50484 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50485 ;;
50486 2)
50487 echo ${D}1 | sed 's/'${D}2'${D}//'
50488 ;;
50489 *)
50490 echo "error in basnam ${D}*"
50491 exit 8
50492 ;;
50493 esac
50494 }
50495
50496 # Cleanup temporary files and output
50497 CleanUp() {
50498 cd ${D}curDir
50499 for i in ${D}inputFiles ; do
50500 case ${D}i in
50501 *!)
50502 rm -rf \`basnam ${D}i !\`
50503 ;;
50504 *)
50505 ;;
50506 esac
50507 done
50508
50509 # Kill result in case of failure as there is just to many stupid make/nmake
50510 # things out there which doesn't do this.
50511 if [ ${D}# -eq 0 ]; then
50512 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50513 fi
50514 }
50515
50516 # Print usage and exit script with rc=1.
50517 PrintHelp() {
50518 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50519 echo ' [-name-mangler-script script.sh]'
50520 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50521 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50522 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50523 echo ' [*.o] [*.a]'
50524 echo '*> "output_file" should have no extension.'
50525 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50526 echo ' The import library name is derived from this and is set to "name".a,'
50527 echo ' unless overridden by -import'
50528 echo '*> "importlib_name" should have no extension.'
50529 echo ' If it has the .o, or .a extension, it is automatically removed.'
50530 echo ' This name is used as the import library name and may be longer and'
50531 echo ' more descriptive than the DLL name which has to follow the old '
50532 echo ' 8.3 convention of FAT.'
50533 echo '*> "script.sh may be given to override the output_file name by a'
50534 echo ' different name. It is mainly useful if the regular make process'
50535 echo ' of some package does not take into account OS/2 restriction of'
50536 echo ' DLL name lengths. It takes the importlib name as input and is'
50537 echo ' supposed to procude a shorter name as output. The script should'
50538 echo ' expect to get importlib_name without extension and should produce'
50539 echo ' a (max.) 8 letter name without extension.'
50540 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50541 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50542 echo ' These flags will be put at the start of GCC command line.'
50543 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50544 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50545 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50546 echo ' If the last character of a symbol is "*", all symbols beginning'
50547 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50548 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50549 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50550 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50551 echo ' C runtime DLLs.'
50552 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50553 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50554 echo ' unchanged to GCC at the end of command line.'
50555 echo '*> If you create a DLL from a library and you do not specify -o,'
50556 echo ' the basename for DLL and import library will be set to library name,'
50557 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50558 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50559 echo ' library will be renamed into gcc_s.a.'
50560 echo '--------'
50561 echo 'Example:'
50562 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50563 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50564 CleanUp
50565 exit 1
50566 }
50567
50568 # Execute a command.
50569 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50570 # @Uses Whatever CleanUp() uses.
50571 doCommand() {
50572 echo "${D}*"
50573 eval ${D}*
50574 rcCmd=${D}?
50575
50576 if [ ${D}rcCmd -ne 0 ]; then
50577 echo "command failed, exit code="${D}rcCmd
50578 CleanUp
50579 exit ${D}rcCmd
50580 fi
50581 }
50582
50583 # main routine
50584 # setup globals
50585 cmdLine=${D}*
50586 outFile=""
50587 outimpFile=""
50588 inputFiles=""
50589 renameScript=""
50590 description=""
50591 CC=gcc.exe
50592 CFLAGS="-s -Zcrtdll"
50593 EXTRA_CFLAGS=""
50594 EXPORT_BY_ORDINALS=0
50595 exclude_symbols=""
50596 library_flags=""
50597 curDir=\`pwd\`
50598 curDirS=curDir
50599 case ${D}curDirS in
50600 */)
50601 ;;
50602 *)
50603 curDirS=${D}{curDirS}"/"
50604 ;;
50605 esac
50606 # Parse commandline
50607 libsToLink=0
50608 omfLinking=0
50609 while [ ${D}1 ]; do
50610 case ${D}1 in
50611 -ord*)
50612 EXPORT_BY_ORDINALS=1;
50613 ;;
50614 -o*)
50615 shift
50616 outFile=${D}1
50617 ;;
50618 -i*)
50619 shift
50620 outimpFile=${D}1
50621 ;;
50622 -name-mangler-script)
50623 shift
50624 renameScript=${D}1
50625 ;;
50626 -d*)
50627 shift
50628 description=${D}1
50629 ;;
50630 -f*)
50631 shift
50632 CFLAGS=${D}1
50633 ;;
50634 -c*)
50635 shift
50636 CC=${D}1
50637 ;;
50638 -h*)
50639 PrintHelp
50640 ;;
50641 -ex*)
50642 shift
50643 exclude_symbols=${D}{exclude_symbols}${D}1" "
50644 ;;
50645 -libf*)
50646 shift
50647 library_flags=${D}{library_flags}${D}1" "
50648 ;;
50649 -nocrt*)
50650 CFLAGS="-s"
50651 ;;
50652 -nolxl*)
50653 flag_USE_LXLITE=0
50654 ;;
50655 -* | /*)
50656 case ${D}1 in
50657 -L* | -l*)
50658 libsToLink=1
50659 ;;
50660 -Zomf)
50661 omfLinking=1
50662 ;;
50663 *)
50664 ;;
50665 esac
50666 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50667 ;;
50668 *.dll)
50669 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50670 if [ ${D}omfLinking -eq 1 ]; then
50671 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50672 else
50673 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50674 fi
50675 ;;
50676 *)
50677 found=0;
50678 if [ ${D}libsToLink -ne 0 ]; then
50679 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50680 else
50681 for file in ${D}1 ; do
50682 if [ -f ${D}file ]; then
50683 inputFiles="${D}{inputFiles} ${D}file"
50684 found=1
50685 fi
50686 done
50687 if [ ${D}found -eq 0 ]; then
50688 echo "ERROR: No file(s) found: "${D}1
50689 exit 8
50690 fi
50691 fi
50692 ;;
50693 esac
50694 shift
50695 done # iterate cmdline words
50696
50697 #
50698 if [ -z "${D}inputFiles" ]; then
50699 echo "dllar: no input files"
50700 PrintHelp
50701 fi
50702
50703 # Now extract all .o files from .a files
50704 newInputFiles=""
50705 for file in ${D}inputFiles ; do
50706 case ${D}file in
50707 *.a | *.lib)
50708 case ${D}file in
50709 *.a)
50710 suffix=".a"
50711 AR="ar"
50712 ;;
50713 *.lib)
50714 suffix=".lib"
50715 AR="emxomfar"
50716 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50717 ;;
50718 *)
50719 ;;
50720 esac
50721 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50722 mkdir ${D}dirname
50723 if [ ${D}? -ne 0 ]; then
50724 echo "Failed to create subdirectory ./${D}dirname"
50725 CleanUp
50726 exit 8;
50727 fi
50728 # Append '!' to indicate archive
50729 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50730 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50731 cd ${D}curDir
50732 found=0;
50733 for subfile in ${D}dirname/*.o* ; do
50734 if [ -f ${D}subfile ]; then
50735 found=1
50736 if [ -s ${D}subfile ]; then
50737 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50738 newInputFiles="${D}newInputFiles ${D}subfile"
50739 fi
50740 fi
50741 done
50742 if [ ${D}found -eq 0 ]; then
50743 echo "WARNING: there are no files in archive \\'${D}file\\'"
50744 fi
50745 ;;
50746 *)
50747 newInputFiles="${D}{newInputFiles} ${D}file"
50748 ;;
50749 esac
50750 done
50751 inputFiles="${D}newInputFiles"
50752
50753 # Output filename(s).
50754 do_backup=0;
50755 if [ -z ${D}outFile ]; then
50756 do_backup=1;
50757 set outFile ${D}inputFiles; outFile=${D}2
50758 fi
50759
50760 # If it is an archive, remove the '!' and the '_%' suffixes
50761 case ${D}outFile in
50762 *_%!)
50763 outFile=\`basnam ${D}outFile _%!\`
50764 ;;
50765 *)
50766 ;;
50767 esac
50768 case ${D}outFile in
50769 *.dll)
50770 outFile=\`basnam ${D}outFile .dll\`
50771 ;;
50772 *.DLL)
50773 outFile=\`basnam ${D}outFile .DLL\`
50774 ;;
50775 *.o)
50776 outFile=\`basnam ${D}outFile .o\`
50777 ;;
50778 *.obj)
50779 outFile=\`basnam ${D}outFile .obj\`
50780 ;;
50781 *.a)
50782 outFile=\`basnam ${D}outFile .a\`
50783 ;;
50784 *.lib)
50785 outFile=\`basnam ${D}outFile .lib\`
50786 ;;
50787 *)
50788 ;;
50789 esac
50790 case ${D}outimpFile in
50791 *.a)
50792 outimpFile=\`basnam ${D}outimpFile .a\`
50793 ;;
50794 *.lib)
50795 outimpFile=\`basnam ${D}outimpFile .lib\`
50796 ;;
50797 *)
50798 ;;
50799 esac
50800 if [ -z ${D}outimpFile ]; then
50801 outimpFile=${D}outFile
50802 fi
50803 defFile="${D}{outFile}.def"
50804 arcFile="${D}{outimpFile}.a"
50805 arcFile2="${D}{outimpFile}.lib"
50806
50807 #create ${D}dllFile as something matching 8.3 restrictions,
50808 if [ -z ${D}renameScript ] ; then
50809 dllFile="${D}outFile"
50810 else
50811 dllFile=\`${D}renameScript ${D}outimpFile\`
50812 fi
50813
50814 if [ ${D}do_backup -ne 0 ] ; then
50815 if [ -f ${D}arcFile ] ; then
50816 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50817 fi
50818 if [ -f ${D}arcFile2 ] ; then
50819 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50820 fi
50821 fi
50822
50823 # Extract public symbols from all the object files.
50824 tmpdefFile=${D}{defFile}_%
50825 rm -f ${D}tmpdefFile
50826 for file in ${D}inputFiles ; do
50827 case ${D}file in
50828 *!)
50829 ;;
50830 *)
50831 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50832 ;;
50833 esac
50834 done
50835
50836 # Create the def file.
50837 rm -f ${D}defFile
50838 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50839 dllFile="${D}{dllFile}.dll"
50840 if [ ! -z ${D}description ]; then
50841 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50842 fi
50843 echo "EXPORTS" >> ${D}defFile
50844
50845 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50846 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50847
50848 # Checks if the export is ok or not.
50849 for word in ${D}exclude_symbols; do
50850 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50851 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50852 done
50853
50854
50855 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50856 sed "=" < ${D}tmpdefFile | \\
50857 sed '
50858 N
50859 : loop
50860 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50861 t loop
50862 ' > ${D}{tmpdefFile}%
50863 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50864 else
50865 rm -f ${D}{tmpdefFile}%
50866 fi
50867 cat ${D}tmpdefFile >> ${D}defFile
50868 rm -f ${D}tmpdefFile
50869
50870 # Do linking, create implib, and apply lxlite.
50871 gccCmdl="";
50872 for file in ${D}inputFiles ; do
50873 case ${D}file in
50874 *!)
50875 ;;
50876 *)
50877 gccCmdl="${D}gccCmdl ${D}file"
50878 ;;
50879 esac
50880 done
50881 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50882 touch "${D}{outFile}.dll"
50883
50884 doCommand "emximp -o ${D}arcFile ${D}defFile"
50885 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50886 add_flags="";
50887 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50888 add_flags="-ynd"
50889 fi
50890 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50891 fi
50892 doCommand "emxomf -s -l ${D}arcFile"
50893
50894 # Successful exit.
50895 CleanUp 1
50896 exit 0
50897 EOF
50898
50899 chmod +x dllar.sh
50900 ;;
50901
50902 powerpc-apple-macos* | \
50903 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50904 *-*-mirbsd* | \
50905 *-*-sunos4* | \
50906 *-*-osf* | \
50907 *-*-dgux5* | \
50908 *-*-sysv5* | \
50909 *-pc-msdosdjgpp )
50910 ;;
50911
50912 *)
50913 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50914 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50915 { (exit 1); exit 1; }; }
50916 esac
50917
50918 if test "x$PIC_FLAG" != "x" ; then
50919 PIC_FLAG="$PIC_FLAG -DPIC"
50920 fi
50921
50922 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50923 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50924 fi
50925 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50926 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50927 fi
50928
50929
50930
50931
50932
50933
50934
50935
50936
50937 USE_SOVERSION=0
50938 USE_SOVERLINUX=0
50939 USE_SOVERSOLARIS=0
50940 USE_SOVERCYGWIN=0
50941 USE_SOSYMLINKS=0
50942 USE_MACVERSION=0
50943 SONAME_FLAG=
50944
50945 case "${BAKEFILE_HOST}" in
50946 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50947 if test "x$SUNCXX" = "xyes"; then
50948 SONAME_FLAG="-h "
50949 else
50950 SONAME_FLAG="-Wl,-soname,"
50951 fi
50952 USE_SOVERSION=1
50953 USE_SOVERLINUX=1
50954 USE_SOSYMLINKS=1
50955 ;;
50956
50957 *-*-solaris2* )
50958 SONAME_FLAG="-h "
50959 USE_SOVERSION=1
50960 USE_SOVERSOLARIS=1
50961 USE_SOSYMLINKS=1
50962 ;;
50963
50964 *-*-darwin* )
50965 USE_MACVERSION=1
50966 USE_SOVERSION=1
50967 USE_SOSYMLINKS=1
50968 ;;
50969
50970 *-*-cygwin* )
50971 USE_SOVERSION=1
50972 USE_SOVERCYGWIN=1
50973 ;;
50974 esac
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985 # Check whether --enable-dependency-tracking was given.
50986 if test "${enable_dependency_tracking+set}" = set; then
50987 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50988 fi
50989
50990
50991 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50992 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50993
50994 BK_DEPS=""
50995 if test "x$bk_use_trackdeps" = "xno" ; then
50996 DEPS_TRACKING=0
50997 { echo "$as_me:$LINENO: result: disabled" >&5
50998 echo "${ECHO_T}disabled" >&6; }
50999 else
51000 DEPS_TRACKING=1
51001
51002 if test "x$GCC" = "xyes"; then
51003 DEPSMODE=gcc
51004 case "${BAKEFILE_HOST}" in
51005 *-*-darwin* )
51006 DEPSFLAG="-no-cpp-precomp -MMD"
51007 ;;
51008 * )
51009 DEPSFLAG="-MMD"
51010 ;;
51011 esac
51012 { echo "$as_me:$LINENO: result: gcc" >&5
51013 echo "${ECHO_T}gcc" >&6; }
51014 elif test "x$MWCC" = "xyes"; then
51015 DEPSMODE=mwcc
51016 DEPSFLAG="-MM"
51017 { echo "$as_me:$LINENO: result: mwcc" >&5
51018 echo "${ECHO_T}mwcc" >&6; }
51019 elif test "x$SUNCC" = "xyes"; then
51020 DEPSMODE=unixcc
51021 DEPSFLAG="-xM1"
51022 { echo "$as_me:$LINENO: result: Sun cc" >&5
51023 echo "${ECHO_T}Sun cc" >&6; }
51024 elif test "x$SGICC" = "xyes"; then
51025 DEPSMODE=unixcc
51026 DEPSFLAG="-M"
51027 { echo "$as_me:$LINENO: result: SGI cc" >&5
51028 echo "${ECHO_T}SGI cc" >&6; }
51029 elif test "x$HPCC" = "xyes"; then
51030 DEPSMODE=unixcc
51031 DEPSFLAG="+make"
51032 { echo "$as_me:$LINENO: result: HP cc" >&5
51033 echo "${ECHO_T}HP cc" >&6; }
51034 elif test "x$COMPAQCC" = "xyes"; then
51035 DEPSMODE=gcc
51036 DEPSFLAG="-MD"
51037 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51038 echo "${ECHO_T}Compaq cc" >&6; }
51039 else
51040 DEPS_TRACKING=0
51041 { echo "$as_me:$LINENO: result: none" >&5
51042 echo "${ECHO_T}none" >&6; }
51043 fi
51044
51045 if test $DEPS_TRACKING = 1 ; then
51046
51047 D='$'
51048 cat <<EOF >bk-deps
51049 #!/bin/sh
51050
51051 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51052 # script. It is used to track C/C++ files dependencies in portable way.
51053 #
51054 # Permission is given to use this file in any way.
51055
51056 DEPSMODE=${DEPSMODE}
51057 DEPSDIR=.deps
51058 DEPSFLAG="${DEPSFLAG}"
51059
51060 mkdir -p ${D}DEPSDIR
51061
51062 if test ${D}DEPSMODE = gcc ; then
51063 ${D}* ${D}{DEPSFLAG}
51064 status=${D}?
51065 if test ${D}{status} != 0 ; then
51066 exit ${D}{status}
51067 fi
51068 # move created file to the location we want it in:
51069 while test ${D}# -gt 0; do
51070 case "${D}1" in
51071 -o )
51072 shift
51073 objfile=${D}1
51074 ;;
51075 -* )
51076 ;;
51077 * )
51078 srcfile=${D}1
51079 ;;
51080 esac
51081 shift
51082 done
51083 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51084 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51085 if test -f ${D}depfile ; then
51086 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51087 rm -f ${D}depfile
51088 else
51089 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51090 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51091 if test ! -f ${D}depfile ; then
51092 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51093 depfile="${D}objfile.d"
51094 fi
51095 if test -f ${D}depfile ; then
51096 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51097 rm -f ${D}depfile
51098 fi
51099 fi
51100 exit 0
51101 elif test ${D}DEPSMODE = mwcc ; then
51102 ${D}* || exit ${D}?
51103 # Run mwcc again with -MM and redirect into the dep file we want
51104 # NOTE: We can't use shift here because we need ${D}* to be valid
51105 prevarg=
51106 for arg in ${D}* ; do
51107 if test "${D}prevarg" = "-o"; then
51108 objfile=${D}arg
51109 else
51110 case "${D}arg" in
51111 -* )
51112 ;;
51113 * )
51114 srcfile=${D}arg
51115 ;;
51116 esac
51117 fi
51118 prevarg="${D}arg"
51119 done
51120 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51121 exit 0
51122 elif test ${D}DEPSMODE = unixcc; then
51123 ${D}* || exit ${D}?
51124 # Run compiler again with deps flag and redirect into the dep file.
51125 # It doesn't work if the '-o FILE' option is used, but without it the
51126 # dependency file will contain the wrong name for the object. So it is
51127 # removed from the command line, and the dep file is fixed with sed.
51128 cmd=""
51129 while test ${D}# -gt 0; do
51130 case "${D}1" in
51131 -o )
51132 shift
51133 objfile=${D}1
51134 ;;
51135 * )
51136 eval arg${D}#=\\${D}1
51137 cmd="${D}cmd \\${D}arg${D}#"
51138 ;;
51139 esac
51140 shift
51141 done
51142 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51143 exit 0
51144 else
51145 ${D}*
51146 exit ${D}?
51147 fi
51148 EOF
51149
51150 chmod +x bk-deps
51151 BK_DEPS="`pwd`/bk-deps"
51152 fi
51153 fi
51154
51155
51156
51157
51158
51159 case ${BAKEFILE_HOST} in
51160 *-*-cygwin* | *-*-mingw32* )
51161 if test -n "$ac_tool_prefix"; then
51162 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51163 set dummy ${ac_tool_prefix}windres; ac_word=$2
51164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51166 if test "${ac_cv_prog_WINDRES+set}" = set; then
51167 echo $ECHO_N "(cached) $ECHO_C" >&6
51168 else
51169 if test -n "$WINDRES"; then
51170 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51171 else
51172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51173 for as_dir in $PATH
51174 do
51175 IFS=$as_save_IFS
51176 test -z "$as_dir" && as_dir=.
51177 for ac_exec_ext in '' $ac_executable_extensions; do
51178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51179 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51181 break 2
51182 fi
51183 done
51184 done
51185 IFS=$as_save_IFS
51186
51187 fi
51188 fi
51189 WINDRES=$ac_cv_prog_WINDRES
51190 if test -n "$WINDRES"; then
51191 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51192 echo "${ECHO_T}$WINDRES" >&6; }
51193 else
51194 { echo "$as_me:$LINENO: result: no" >&5
51195 echo "${ECHO_T}no" >&6; }
51196 fi
51197
51198
51199 fi
51200 if test -z "$ac_cv_prog_WINDRES"; then
51201 ac_ct_WINDRES=$WINDRES
51202 # Extract the first word of "windres", so it can be a program name with args.
51203 set dummy windres; ac_word=$2
51204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51206 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51207 echo $ECHO_N "(cached) $ECHO_C" >&6
51208 else
51209 if test -n "$ac_ct_WINDRES"; then
51210 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51211 else
51212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51213 for as_dir in $PATH
51214 do
51215 IFS=$as_save_IFS
51216 test -z "$as_dir" && as_dir=.
51217 for ac_exec_ext in '' $ac_executable_extensions; do
51218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51219 ac_cv_prog_ac_ct_WINDRES="windres"
51220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51221 break 2
51222 fi
51223 done
51224 done
51225 IFS=$as_save_IFS
51226
51227 fi
51228 fi
51229 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51230 if test -n "$ac_ct_WINDRES"; then
51231 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51232 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51233 else
51234 { echo "$as_me:$LINENO: result: no" >&5
51235 echo "${ECHO_T}no" >&6; }
51236 fi
51237
51238 if test "x$ac_ct_WINDRES" = x; then
51239 WINDRES=""
51240 else
51241 case $cross_compiling:$ac_tool_warned in
51242 yes:)
51243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51244 whose name does not start with the host triplet. If you think this
51245 configuration is useful to you, please write to autoconf@gnu.org." >&5
51246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51247 whose name does not start with the host triplet. If you think this
51248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51249 ac_tool_warned=yes ;;
51250 esac
51251 WINDRES=$ac_ct_WINDRES
51252 fi
51253 else
51254 WINDRES="$ac_cv_prog_WINDRES"
51255 fi
51256
51257 ;;
51258
51259 *-*-darwin* | powerpc-apple-macos* )
51260 # Extract the first word of "Rez", so it can be a program name with args.
51261 set dummy Rez; ac_word=$2
51262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51264 if test "${ac_cv_prog_REZ+set}" = set; then
51265 echo $ECHO_N "(cached) $ECHO_C" >&6
51266 else
51267 if test -n "$REZ"; then
51268 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51269 else
51270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51271 for as_dir in $PATH
51272 do
51273 IFS=$as_save_IFS
51274 test -z "$as_dir" && as_dir=.
51275 for ac_exec_ext in '' $ac_executable_extensions; do
51276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51277 ac_cv_prog_REZ="Rez"
51278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51279 break 2
51280 fi
51281 done
51282 done
51283 IFS=$as_save_IFS
51284
51285 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51286 fi
51287 fi
51288 REZ=$ac_cv_prog_REZ
51289 if test -n "$REZ"; then
51290 { echo "$as_me:$LINENO: result: $REZ" >&5
51291 echo "${ECHO_T}$REZ" >&6; }
51292 else
51293 { echo "$as_me:$LINENO: result: no" >&5
51294 echo "${ECHO_T}no" >&6; }
51295 fi
51296
51297
51298 # Extract the first word of "SetFile", so it can be a program name with args.
51299 set dummy SetFile; ac_word=$2
51300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51302 if test "${ac_cv_prog_SETFILE+set}" = set; then
51303 echo $ECHO_N "(cached) $ECHO_C" >&6
51304 else
51305 if test -n "$SETFILE"; then
51306 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51307 else
51308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51309 for as_dir in $PATH
51310 do
51311 IFS=$as_save_IFS
51312 test -z "$as_dir" && as_dir=.
51313 for ac_exec_ext in '' $ac_executable_extensions; do
51314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51315 ac_cv_prog_SETFILE="SetFile"
51316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51317 break 2
51318 fi
51319 done
51320 done
51321 IFS=$as_save_IFS
51322
51323 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51324 fi
51325 fi
51326 SETFILE=$ac_cv_prog_SETFILE
51327 if test -n "$SETFILE"; then
51328 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51329 echo "${ECHO_T}$SETFILE" >&6; }
51330 else
51331 { echo "$as_me:$LINENO: result: no" >&5
51332 echo "${ECHO_T}no" >&6; }
51333 fi
51334
51335
51336 ;;
51337 esac
51338
51339
51340
51341
51342
51343
51344 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51345
51346
51347 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51348
51349
51350
51351 # Check whether --enable-precomp-headers was given.
51352 if test "${enable_precomp_headers+set}" = set; then
51353 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51354 fi
51355
51356
51357 GCC_PCH=0
51358 ICC_PCH=0
51359 USE_PCH=0
51360 BK_MAKE_PCH=""
51361
51362 case ${BAKEFILE_HOST} in
51363 *-*-cygwin* )
51364 bk_use_pch="no"
51365 ;;
51366 esac
51367
51368 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51369 if test "x$GCC" = "xyes"; then
51370 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51371 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51372 cat >conftest.$ac_ext <<_ACEOF
51373 /* confdefs.h. */
51374 _ACEOF
51375 cat confdefs.h >>conftest.$ac_ext
51376 cat >>conftest.$ac_ext <<_ACEOF
51377 /* end confdefs.h. */
51378
51379 int
51380 main ()
51381 {
51382
51383 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51384 There is no PCH support
51385 #endif
51386 #if (__GNUC__ < 3)
51387 There is no PCH support
51388 #endif
51389 #if (__GNUC__ == 3) && \
51390 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51391 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51392 ( defined(__INTEL_COMPILER) )
51393 There is no PCH support
51394 #endif
51395
51396 ;
51397 return 0;
51398 }
51399 _ACEOF
51400 rm -f conftest.$ac_objext
51401 if { (ac_try="$ac_compile"
51402 case "(($ac_try" in
51403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51404 *) ac_try_echo=$ac_try;;
51405 esac
51406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51407 (eval "$ac_compile") 2>conftest.er1
51408 ac_status=$?
51409 grep -v '^ *+' conftest.er1 >conftest.err
51410 rm -f conftest.er1
51411 cat conftest.err >&5
51412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51413 (exit $ac_status); } && {
51414 test -z "$ac_c_werror_flag" ||
51415 test ! -s conftest.err
51416 } && test -s conftest.$ac_objext; then
51417
51418 { echo "$as_me:$LINENO: result: yes" >&5
51419 echo "${ECHO_T}yes" >&6; }
51420 GCC_PCH=1
51421
51422 else
51423 echo "$as_me: failed program was:" >&5
51424 sed 's/^/| /' conftest.$ac_ext >&5
51425
51426
51427 cat >conftest.$ac_ext <<_ACEOF
51428 /* confdefs.h. */
51429 _ACEOF
51430 cat confdefs.h >>conftest.$ac_ext
51431 cat >>conftest.$ac_ext <<_ACEOF
51432 /* end confdefs.h. */
51433
51434 int
51435 main ()
51436 {
51437
51438 #if !defined(__INTEL_COMPILER) || \
51439 (__INTEL_COMPILER < 800)
51440 There is no PCH support
51441 #endif
51442
51443 ;
51444 return 0;
51445 }
51446 _ACEOF
51447 rm -f conftest.$ac_objext
51448 if { (ac_try="$ac_compile"
51449 case "(($ac_try" in
51450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51451 *) ac_try_echo=$ac_try;;
51452 esac
51453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51454 (eval "$ac_compile") 2>conftest.er1
51455 ac_status=$?
51456 grep -v '^ *+' conftest.er1 >conftest.err
51457 rm -f conftest.er1
51458 cat conftest.err >&5
51459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51460 (exit $ac_status); } && {
51461 test -z "$ac_c_werror_flag" ||
51462 test ! -s conftest.err
51463 } && test -s conftest.$ac_objext; then
51464
51465 { echo "$as_me:$LINENO: result: yes" >&5
51466 echo "${ECHO_T}yes" >&6; }
51467 ICC_PCH=1
51468
51469 else
51470 echo "$as_me: failed program was:" >&5
51471 sed 's/^/| /' conftest.$ac_ext >&5
51472
51473
51474 { echo "$as_me:$LINENO: result: no" >&5
51475 echo "${ECHO_T}no" >&6; }
51476
51477 fi
51478
51479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51480
51481 fi
51482
51483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51484 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51485 USE_PCH=1
51486
51487 D='$'
51488 cat <<EOF >bk-make-pch
51489 #!/bin/sh
51490
51491 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51492 # script. It is used to generated precompiled headers.
51493 #
51494 # Permission is given to use this file in any way.
51495
51496 outfile="${D}{1}"
51497 header="${D}{2}"
51498 shift
51499 shift
51500
51501 compiler=""
51502 headerfile=""
51503
51504 while test ${D}{#} -gt 0; do
51505 add_to_cmdline=1
51506 case "${D}{1}" in
51507 -I* )
51508 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51509 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51510 headerfile="${D}{incdir}/${D}{header}"
51511 fi
51512 ;;
51513 -use-pch|-use_pch )
51514 shift
51515 add_to_cmdline=0
51516 ;;
51517 esac
51518 if test ${D}add_to_cmdline = 1 ; then
51519 compiler="${D}{compiler} ${D}{1}"
51520 fi
51521 shift
51522 done
51523
51524 if test "x${D}{headerfile}" = "x" ; then
51525 echo "error: can't find header ${D}{header} in include paths" >&2
51526 else
51527 if test -f ${D}{outfile} ; then
51528 rm -f ${D}{outfile}
51529 else
51530 mkdir -p \`dirname ${D}{outfile}\`
51531 fi
51532 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51533 mkdir -p .deps
51534 if test "x${GCC_PCH}" = "x1" ; then
51535 # can do this because gcc is >= 3.4:
51536 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51537 elif test "x${ICC_PCH}" = "x1" ; then
51538 filename=pch_gen-${D}${D}
51539 file=${D}{filename}.c
51540 dfile=${D}{filename}.d
51541 cat > ${D}file <<EOT
51542 #include "${D}header"
51543 EOT
51544 # using -MF icc complains about differing command lines in creation/use
51545 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51546 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51547 rm -f ${D}file ${D}dfile ${D}{filename}.o
51548 fi
51549 exit ${D}{?}
51550 fi
51551 EOF
51552
51553 chmod +x bk-make-pch
51554 BK_MAKE_PCH="`pwd`/bk-make-pch"
51555 fi
51556 fi
51557 fi
51558
51559
51560
51561
51562
51563 COND_BUILD_DEBUG="#"
51564 if test "x$BUILD" = "xdebug" ; then
51565 COND_BUILD_DEBUG=""
51566 fi
51567
51568 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51569 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51570 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51571 fi
51572
51573 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51574 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51575 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51576 fi
51577
51578 COND_BUILD_DEBUG_UNICODE_0="#"
51579 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51580 COND_BUILD_DEBUG_UNICODE_0=""
51581 fi
51582
51583 COND_BUILD_DEBUG_UNICODE_1="#"
51584 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51585 COND_BUILD_DEBUG_UNICODE_1=""
51586 fi
51587
51588 COND_BUILD_RELEASE="#"
51589 if test "x$BUILD" = "xrelease" ; then
51590 COND_BUILD_RELEASE=""
51591 fi
51592
51593 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51594 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51595 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51596 fi
51597
51598 COND_BUILD_RELEASE_UNICODE_0="#"
51599 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51600 COND_BUILD_RELEASE_UNICODE_0=""
51601 fi
51602
51603 COND_BUILD_RELEASE_UNICODE_1="#"
51604 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51605 COND_BUILD_RELEASE_UNICODE_1=""
51606 fi
51607
51608 COND_DEBUG_FLAG_1="#"
51609 if test "x$DEBUG_FLAG" = "x1" ; then
51610 COND_DEBUG_FLAG_1=""
51611 fi
51612
51613 COND_DEBUG_INFO_0="#"
51614 if test "x$DEBUG_INFO" = "x0" ; then
51615 COND_DEBUG_INFO_0=""
51616 fi
51617
51618 COND_DEBUG_INFO_1="#"
51619 if test "x$DEBUG_INFO" = "x1" ; then
51620 COND_DEBUG_INFO_1=""
51621 fi
51622
51623 COND_DEPS_TRACKING_0="#"
51624 if test "x$DEPS_TRACKING" = "x0" ; then
51625 COND_DEPS_TRACKING_0=""
51626 fi
51627
51628 COND_DEPS_TRACKING_1="#"
51629 if test "x$DEPS_TRACKING" = "x1" ; then
51630 COND_DEPS_TRACKING_1=""
51631 fi
51632
51633 COND_GCC_PCH_1="#"
51634 if test "x$GCC_PCH" = "x1" ; then
51635 COND_GCC_PCH_1=""
51636 fi
51637
51638 COND_ICC_PCH_1="#"
51639 if test "x$ICC_PCH" = "x1" ; then
51640 COND_ICC_PCH_1=""
51641 fi
51642
51643 COND_MONOLITHIC_0="#"
51644 if test "x$MONOLITHIC" = "x0" ; then
51645 COND_MONOLITHIC_0=""
51646 fi
51647
51648 COND_MONOLITHIC_0_SHARED_0="#"
51649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51650 COND_MONOLITHIC_0_SHARED_0=""
51651 fi
51652
51653 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51655 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51656 fi
51657
51658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51661 fi
51662
51663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51664 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51666 fi
51667
51668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51669 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51671 fi
51672
51673 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51674 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51676 fi
51677
51678 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51679 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51680 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51681 fi
51682
51683 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51684 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51686 fi
51687
51688 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51689 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51691 fi
51692
51693 COND_MONOLITHIC_0_SHARED_1="#"
51694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51695 COND_MONOLITHIC_0_SHARED_1=""
51696 fi
51697
51698 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51701 fi
51702
51703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51706 fi
51707
51708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51711 fi
51712
51713 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51716 fi
51717
51718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51721 fi
51722
51723 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51725 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51726 fi
51727
51728 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51730 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51731 fi
51732
51733 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51735 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51736 fi
51737
51738 COND_MONOLITHIC_0_USE_AUI_1="#"
51739 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51740 COND_MONOLITHIC_0_USE_AUI_1=""
51741 fi
51742
51743 COND_MONOLITHIC_0_USE_GUI_1="#"
51744 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51745 COND_MONOLITHIC_0_USE_GUI_1=""
51746 fi
51747
51748 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51749 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51750 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51751 fi
51752
51753 COND_MONOLITHIC_0_USE_HTML_1="#"
51754 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51755 COND_MONOLITHIC_0_USE_HTML_1=""
51756 fi
51757
51758 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51759 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51760 COND_MONOLITHIC_0_USE_MEDIA_1=""
51761 fi
51762
51763 COND_MONOLITHIC_0_USE_QA_1="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51765 COND_MONOLITHIC_0_USE_QA_1=""
51766 fi
51767
51768 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51770 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51771 fi
51772
51773 COND_MONOLITHIC_0_USE_STC_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51775 COND_MONOLITHIC_0_USE_STC_1=""
51776 fi
51777
51778 COND_MONOLITHIC_0_USE_XRC_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51780 COND_MONOLITHIC_0_USE_XRC_1=""
51781 fi
51782
51783 COND_MONOLITHIC_1="#"
51784 if test "x$MONOLITHIC" = "x1" ; then
51785 COND_MONOLITHIC_1=""
51786 fi
51787
51788 COND_MONOLITHIC_1_SHARED_0="#"
51789 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51790 COND_MONOLITHIC_1_SHARED_0=""
51791 fi
51792
51793 COND_MONOLITHIC_1_SHARED_1="#"
51794 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51795 COND_MONOLITHIC_1_SHARED_1=""
51796 fi
51797
51798 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51799 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51800 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51801 fi
51802
51803 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51804 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51806 fi
51807
51808 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51809 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51810 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51811 fi
51812
51813 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51814 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51816 fi
51817
51818 COND_PLATFORM_MACOSX_1="#"
51819 if test "x$PLATFORM_MACOSX" = "x1" ; then
51820 COND_PLATFORM_MACOSX_1=""
51821 fi
51822
51823 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51824 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51825 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51826 fi
51827
51828 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51829 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51830 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51831 fi
51832
51833 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51834 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51835 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51836 fi
51837
51838 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51839 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51841 fi
51842
51843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51845 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51846 fi
51847
51848 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51850 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51851 fi
51852
51853 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51854 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51855 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51856 fi
51857
51858 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51859 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51860 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51861 fi
51862
51863 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51864 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51865 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51866 fi
51867
51868 COND_PLATFORM_MACOS_1="#"
51869 if test "x$PLATFORM_MACOS" = "x1" ; then
51870 COND_PLATFORM_MACOS_1=""
51871 fi
51872
51873 COND_PLATFORM_MAC_1="#"
51874 if test "x$PLATFORM_MAC" = "x1" ; then
51875 COND_PLATFORM_MAC_1=""
51876 fi
51877
51878 COND_PLATFORM_MSDOS_1="#"
51879 if test "x$PLATFORM_MSDOS" = "x1" ; then
51880 COND_PLATFORM_MSDOS_1=""
51881 fi
51882
51883 COND_PLATFORM_OS2_1="#"
51884 if test "x$PLATFORM_OS2" = "x1" ; then
51885 COND_PLATFORM_OS2_1=""
51886 fi
51887
51888 COND_PLATFORM_UNIX_0="#"
51889 if test "x$PLATFORM_UNIX" = "x0" ; then
51890 COND_PLATFORM_UNIX_0=""
51891 fi
51892
51893 COND_PLATFORM_UNIX_1="#"
51894 if test "x$PLATFORM_UNIX" = "x1" ; then
51895 COND_PLATFORM_UNIX_1=""
51896 fi
51897
51898 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51899 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51901 fi
51902
51903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51904 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51905 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51906 fi
51907
51908 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51909 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51910 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51911 fi
51912
51913 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51914 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51915 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51916 fi
51917
51918 COND_PLATFORM_WIN32_0="#"
51919 if test "x$PLATFORM_WIN32" = "x0" ; then
51920 COND_PLATFORM_WIN32_0=""
51921 fi
51922
51923 COND_PLATFORM_WIN32_1="#"
51924 if test "x$PLATFORM_WIN32" = "x1" ; then
51925 COND_PLATFORM_WIN32_1=""
51926 fi
51927
51928 COND_SHARED_0="#"
51929 if test "x$SHARED" = "x0" ; then
51930 COND_SHARED_0=""
51931 fi
51932
51933 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51934 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51935 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51936 fi
51937
51938 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51939 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51940 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51941 fi
51942
51943 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51944 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51946 fi
51947
51948 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51949 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51950 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51951 fi
51952
51953 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51954 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51955 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51956 fi
51957
51958 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51959 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51960 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51961 fi
51962
51963 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51964 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51966 fi
51967
51968 COND_SHARED_0_USE_STC_1="#"
51969 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51970 COND_SHARED_0_USE_STC_1=""
51971 fi
51972
51973 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51974 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51975 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51976 fi
51977
51978 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51979 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51980 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51981 fi
51982
51983 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51984 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51985 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51986 fi
51987
51988 COND_SHARED_1="#"
51989 if test "x$SHARED" = "x1" ; then
51990 COND_SHARED_1=""
51991 fi
51992
51993 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51994 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51995 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51996 fi
51997
51998 COND_TOOLKIT_="#"
51999 if test "x$TOOLKIT" = "x" ; then
52000 COND_TOOLKIT_=""
52001 fi
52002
52003 COND_TOOLKIT_COCOA="#"
52004 if test "x$TOOLKIT" = "xCOCOA" ; then
52005 COND_TOOLKIT_COCOA=""
52006 fi
52007
52008 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52009 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52010 COND_TOOLKIT_COCOA_USE_GUI_1=""
52011 fi
52012
52013 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52014 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52015 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52016 fi
52017
52018 COND_TOOLKIT_DFB="#"
52019 if test "x$TOOLKIT" = "xDFB" ; then
52020 COND_TOOLKIT_DFB=""
52021 fi
52022
52023 COND_TOOLKIT_DFB_USE_GUI_1="#"
52024 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52025 COND_TOOLKIT_DFB_USE_GUI_1=""
52026 fi
52027
52028 COND_TOOLKIT_GTK="#"
52029 if test "x$TOOLKIT" = "xGTK" ; then
52030 COND_TOOLKIT_GTK=""
52031 fi
52032
52033 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52034 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52035 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52036 fi
52037
52038 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52039 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52040 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52041 fi
52042
52043 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52044 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52045 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52046 fi
52047
52048 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52049 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52050 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52051 fi
52052
52053 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52054 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52055 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52056 fi
52057
52058 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52059 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52061 fi
52062
52063 COND_TOOLKIT_GTK_USE_GUI_1="#"
52064 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52065 COND_TOOLKIT_GTK_USE_GUI_1=""
52066 fi
52067
52068 COND_TOOLKIT_MAC="#"
52069 if test "x$TOOLKIT" = "xMAC" ; then
52070 COND_TOOLKIT_MAC=""
52071 fi
52072
52073 COND_TOOLKIT_MAC_USE_GUI_1="#"
52074 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52075 COND_TOOLKIT_MAC_USE_GUI_1=""
52076 fi
52077
52078 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52079 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52080 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52081 fi
52082
52083 COND_TOOLKIT_MGL="#"
52084 if test "x$TOOLKIT" = "xMGL" ; then
52085 COND_TOOLKIT_MGL=""
52086 fi
52087
52088 COND_TOOLKIT_MGL_USE_GUI_1="#"
52089 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52090 COND_TOOLKIT_MGL_USE_GUI_1=""
52091 fi
52092
52093 COND_TOOLKIT_MOTIF="#"
52094 if test "x$TOOLKIT" = "xMOTIF" ; then
52095 COND_TOOLKIT_MOTIF=""
52096 fi
52097
52098 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52099 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52100 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52101 fi
52102
52103 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52104 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52105 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52106 fi
52107
52108 COND_TOOLKIT_MSW="#"
52109 if test "x$TOOLKIT" = "xMSW" ; then
52110 COND_TOOLKIT_MSW=""
52111 fi
52112
52113 COND_TOOLKIT_MSW_USE_GUI_1="#"
52114 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52115 COND_TOOLKIT_MSW_USE_GUI_1=""
52116 fi
52117
52118 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52119 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52120 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52121 fi
52122
52123 COND_TOOLKIT_MSW_WXUNIV_0="#"
52124 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52125 COND_TOOLKIT_MSW_WXUNIV_0=""
52126 fi
52127
52128 COND_TOOLKIT_PM="#"
52129 if test "x$TOOLKIT" = "xPM" ; then
52130 COND_TOOLKIT_PM=""
52131 fi
52132
52133 COND_TOOLKIT_PM_USE_GUI_1="#"
52134 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52135 COND_TOOLKIT_PM_USE_GUI_1=""
52136 fi
52137
52138 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52139 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52140 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52141 fi
52142
52143 COND_TOOLKIT_WINCE="#"
52144 if test "x$TOOLKIT" = "xWINCE" ; then
52145 COND_TOOLKIT_WINCE=""
52146 fi
52147
52148 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52149 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52150 COND_TOOLKIT_WINCE_USE_GUI_1=""
52151 fi
52152
52153 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52154 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52155 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52156 fi
52157
52158 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52159 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52160 COND_TOOLKIT_WINCE_WXUNIV_0=""
52161 fi
52162
52163 COND_TOOLKIT_X11="#"
52164 if test "x$TOOLKIT" = "xX11" ; then
52165 COND_TOOLKIT_X11=""
52166 fi
52167
52168 COND_TOOLKIT_X11_USE_GUI_1="#"
52169 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52170 COND_TOOLKIT_X11_USE_GUI_1=""
52171 fi
52172
52173 COND_UNICODE_1="#"
52174 if test "x$UNICODE" = "x1" ; then
52175 COND_UNICODE_1=""
52176 fi
52177
52178 COND_USE_EXCEPTIONS_0="#"
52179 if test "x$USE_EXCEPTIONS" = "x0" ; then
52180 COND_USE_EXCEPTIONS_0=""
52181 fi
52182
52183 COND_USE_EXCEPTIONS_1="#"
52184 if test "x$USE_EXCEPTIONS" = "x1" ; then
52185 COND_USE_EXCEPTIONS_1=""
52186 fi
52187
52188 COND_USE_GUI_0="#"
52189 if test "x$USE_GUI" = "x0" ; then
52190 COND_USE_GUI_0=""
52191 fi
52192
52193 COND_USE_GUI_1="#"
52194 if test "x$USE_GUI" = "x1" ; then
52195 COND_USE_GUI_1=""
52196 fi
52197
52198 COND_USE_GUI_1_USE_OPENGL_1="#"
52199 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52200 COND_USE_GUI_1_USE_OPENGL_1=""
52201 fi
52202
52203 COND_USE_GUI_1_WXUNIV_0="#"
52204 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52205 COND_USE_GUI_1_WXUNIV_0=""
52206 fi
52207
52208 COND_USE_GUI_1_WXUNIV_1="#"
52209 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52210 COND_USE_GUI_1_WXUNIV_1=""
52211 fi
52212
52213 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52214 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52215 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52216 fi
52217
52218 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52219 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52220 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52221 fi
52222
52223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52224 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52225 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52226 fi
52227
52228 COND_USE_PCH_1="#"
52229 if test "x$USE_PCH" = "x1" ; then
52230 COND_USE_PCH_1=""
52231 fi
52232
52233 COND_USE_PLUGINS_0="#"
52234 if test "x$USE_PLUGINS" = "x0" ; then
52235 COND_USE_PLUGINS_0=""
52236 fi
52237
52238 COND_USE_RTTI_0="#"
52239 if test "x$USE_RTTI" = "x0" ; then
52240 COND_USE_RTTI_0=""
52241 fi
52242
52243 COND_USE_RTTI_1="#"
52244 if test "x$USE_RTTI" = "x1" ; then
52245 COND_USE_RTTI_1=""
52246 fi
52247
52248 COND_USE_SOSYMLINKS_1="#"
52249 if test "x$USE_SOSYMLINKS" = "x1" ; then
52250 COND_USE_SOSYMLINKS_1=""
52251 fi
52252
52253 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52254 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52255 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52256 fi
52257
52258 COND_USE_SOVERLINUX_1="#"
52259 if test "x$USE_SOVERLINUX" = "x1" ; then
52260 COND_USE_SOVERLINUX_1=""
52261 fi
52262
52263 COND_USE_SOVERSION_0="#"
52264 if test "x$USE_SOVERSION" = "x0" ; then
52265 COND_USE_SOVERSION_0=""
52266 fi
52267
52268 COND_USE_SOVERSOLARIS_1="#"
52269 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52270 COND_USE_SOVERSOLARIS_1=""
52271 fi
52272
52273 COND_USE_STC_1="#"
52274 if test "x$USE_STC" = "x1" ; then
52275 COND_USE_STC_1=""
52276 fi
52277
52278 COND_USE_THREADS_0="#"
52279 if test "x$USE_THREADS" = "x0" ; then
52280 COND_USE_THREADS_0=""
52281 fi
52282
52283 COND_USE_THREADS_1="#"
52284 if test "x$USE_THREADS" = "x1" ; then
52285 COND_USE_THREADS_1=""
52286 fi
52287
52288 COND_USE_XRC_1="#"
52289 if test "x$USE_XRC" = "x1" ; then
52290 COND_USE_XRC_1=""
52291 fi
52292
52293 COND_WINDOWS_IMPLIB_1="#"
52294 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52295 COND_WINDOWS_IMPLIB_1=""
52296 fi
52297
52298 COND_WITH_PLUGIN_SDL_1="#"
52299 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52300 COND_WITH_PLUGIN_SDL_1=""
52301 fi
52302
52303 COND_WXUNIV_0="#"
52304 if test "x$WXUNIV" = "x0" ; then
52305 COND_WXUNIV_0=""
52306 fi
52307
52308 COND_WXUNIV_1="#"
52309 if test "x$WXUNIV" = "x1" ; then
52310 COND_WXUNIV_1=""
52311 fi
52312
52313 COND_WXUSE_EXPAT_BUILTIN="#"
52314 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52315 COND_WXUSE_EXPAT_BUILTIN=""
52316 fi
52317
52318 COND_WXUSE_LIBJPEG_BUILTIN="#"
52319 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52320 COND_WXUSE_LIBJPEG_BUILTIN=""
52321 fi
52322
52323 COND_WXUSE_LIBPNG_BUILTIN="#"
52324 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52325 COND_WXUSE_LIBPNG_BUILTIN=""
52326 fi
52327
52328 COND_WXUSE_LIBTIFF_BUILTIN="#"
52329 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52330 COND_WXUSE_LIBTIFF_BUILTIN=""
52331 fi
52332
52333 COND_WXUSE_REGEX_BUILTIN="#"
52334 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52335 COND_WXUSE_REGEX_BUILTIN=""
52336 fi
52337
52338 COND_WXUSE_ZLIB_BUILTIN="#"
52339 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52340 COND_WXUSE_ZLIB_BUILTIN=""
52341 fi
52342
52343
52344
52345 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52346 { { 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
52347 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;}
52348 { (exit 1); exit 1; }; }
52349 fi
52350
52351 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52352 { { 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
52353 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;}
52354 { (exit 1); exit 1; }; }
52355 fi
52356
52357
52358 case ${INSTALL} in
52359 /* ) # Absolute
52360 ;;
52361 ?:* ) # Drive letter, considered as absolute.
52362 ;;
52363 *)
52364 INSTALL=`pwd`/${INSTALL} ;;
52365 esac
52366
52367 if test "$wxUSE_GUI" = "yes"; then
52368
52369 if test "$wxUSE_MSW" = 1 ; then
52370 if test "x$WINDRES" = "x"; then
52371 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52372 echo "$as_me: error: Required windres program not found" >&2;}
52373 { (exit 1); exit 1; }; }
52374 fi
52375
52376 RESCOMP="$WINDRES"
52377 fi
52378
52379 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52380 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52381 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52382
52383 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52384
52385 # Extract the first word of "DeRez", so it can be a program name with args.
52386 set dummy DeRez; ac_word=$2
52387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52389 if test "${ac_cv_prog_DEREZ+set}" = set; then
52390 echo $ECHO_N "(cached) $ECHO_C" >&6
52391 else
52392 if test -n "$DEREZ"; then
52393 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52394 else
52395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52396 for as_dir in $PATH
52397 do
52398 IFS=$as_save_IFS
52399 test -z "$as_dir" && as_dir=.
52400 for ac_exec_ext in '' $ac_executable_extensions; do
52401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52402 ac_cv_prog_DEREZ="DeRez"
52403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52404 break 2
52405 fi
52406 done
52407 done
52408 IFS=$as_save_IFS
52409
52410 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52411 fi
52412 fi
52413 DEREZ=$ac_cv_prog_DEREZ
52414 if test -n "$DEREZ"; then
52415 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52416 echo "${ECHO_T}$DEREZ" >&6; }
52417 else
52418 { echo "$as_me:$LINENO: result: no" >&5
52419 echo "${ECHO_T}no" >&6; }
52420 fi
52421
52422
52423
52424 MACSETFILE="\$(SETFILE)"
52425
52426 if test "$wxUSE_MAC" = 1; then
52427 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52428 RESCOMP="$REZ"
52429 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52430 else
52431 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52432 RESCOMP="cat /dev/null \| $REZ"
52433 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52434 fi
52435
52436 else
52437 MACSETFILE="@true"
52438
52439 if test "$wxUSE_PM" = 1; then
52440 RESCOMP="emxbind"
52441 WXCONFIG_RESFLAGS="-ep"
52442
52443 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52444 else
52445 POSTLINK_COMMAND="@true"
52446 fi
52447 fi
52448
52449 fi
52450
52451
52452 if test $GCC_PCH = 1
52453 then
52454 if test "$wx_cv_gcc_pch_bug" = yes; then
52455 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52456 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52457 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52458 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52459 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52460 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52461 fi
52462
52463 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52464 fi
52465
52466
52467 if test "$wxUSE_MAC" = 1 ; then
52468 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52469 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52470 mv temp bk-deps
52471 chmod +x bk-deps
52472 fi
52473 fi
52474
52475 if test "$wxUSE_SHARED" = "yes"; then
52476 case "${host}" in
52477 *-pc-os2_emx | *-pc-os2-emx )
52478 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52479 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52480 cp -p ${srcdir}/src/os2/dllnames.sh .
52481 cp -p ${srcdir}/src/os2/dllar.sh .
52482 ;;
52483 esac
52484 fi
52485 if test "$wxUSE_OMF" = "yes"; then
52486 case "${host}" in
52487 *-pc-os2_emx | *-pc-os2-emx )
52488 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52489 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52490 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52491 ;;
52492 esac
52493 fi
52494
52495 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52496
52497
52498 case "${host}" in
52499 *-*-solaris2* )
52500 if test "$GCC" = yes; then
52501 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52502 LIBS=`echo $LIBS | sed 's/-mt//'`
52503 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52504 fi
52505 ;;
52506
52507 *-*-linux* )
52508 if test "x$SUNCXX" = xyes; then
52509 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52510 LIBS=`echo $LIBS | sed 's/-pthread//'`
52511 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52512 fi
52513 ;;
52514 esac
52515
52516 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52517 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52518
52519 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52520
52521
52522
52523
52524
52525
52526
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52581 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52582 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52583 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52584 echo $ECHO_N "(cached) $ECHO_C" >&6
52585 else
52586 cat >conftest.make <<\_ACEOF
52587 SHELL = /bin/sh
52588 all:
52589 @echo '@@@%%%=$(MAKE)=@@@%%%'
52590 _ACEOF
52591 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52592 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52593 *@@@%%%=?*=@@@%%%*)
52594 eval ac_cv_prog_make_${ac_make}_set=yes;;
52595 *)
52596 eval ac_cv_prog_make_${ac_make}_set=no;;
52597 esac
52598 rm -f conftest.make
52599 fi
52600 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52601 { echo "$as_me:$LINENO: result: yes" >&5
52602 echo "${ECHO_T}yes" >&6; }
52603 SET_MAKE=
52604 else
52605 { echo "$as_me:$LINENO: result: no" >&5
52606 echo "${ECHO_T}no" >&6; }
52607 SET_MAKE="MAKE=${MAKE-make}"
52608 fi
52609
52610
52611
52612 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52613
52614
52615 if test "$USE_WIN32" = 1; then
52616 ac_config_commands="$ac_config_commands
52617 rcdefs.h
52618 "
52619
52620 fi
52621
52622 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52623
52624
52625 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52626
52627
52628 if test "$wx_cv_version_script" = "yes"; then
52629 ac_config_files="$ac_config_files version-script"
52630
52631 fi
52632 ac_config_files="$ac_config_files Makefile"
52633
52634
52635 ac_config_commands="$ac_config_commands wx-config"
52636
52637
52638
52639 if test "$wxWITH_SUBDIRS" != "no"; then
52640 if test "$wxUSE_GUI" = "yes"; then
52641 SUBDIRS="samples demos utils"
52642 else
52643 SUBDIRS="samples utils"
52644 fi
52645
52646
52647
52648 # Check whether --with-cppunit-prefix was given.
52649 if test "${with_cppunit_prefix+set}" = set; then
52650 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52651 else
52652 cppunit_config_prefix=""
52653 fi
52654
52655
52656 # Check whether --with-cppunit-exec-prefix was given.
52657 if test "${with_cppunit_exec_prefix+set}" = set; then
52658 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52659 else
52660 cppunit_config_exec_prefix=""
52661 fi
52662
52663
52664 if test x$cppunit_config_exec_prefix != x ; then
52665 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52666 if test x${CPPUNIT_CONFIG+set} != xset ; then
52667 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52668 fi
52669 fi
52670 if test x$cppunit_config_prefix != x ; then
52671 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52672 if test x${CPPUNIT_CONFIG+set} != xset ; then
52673 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52674 fi
52675 fi
52676
52677 # Extract the first word of "cppunit-config", so it can be a program name with args.
52678 set dummy cppunit-config; ac_word=$2
52679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52681 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52682 echo $ECHO_N "(cached) $ECHO_C" >&6
52683 else
52684 case $CPPUNIT_CONFIG in
52685 [\\/]* | ?:[\\/]*)
52686 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52687 ;;
52688 *)
52689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52690 for as_dir in $PATH
52691 do
52692 IFS=$as_save_IFS
52693 test -z "$as_dir" && as_dir=.
52694 for ac_exec_ext in '' $ac_executable_extensions; do
52695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52696 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52698 break 2
52699 fi
52700 done
52701 done
52702 IFS=$as_save_IFS
52703
52704 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52705 ;;
52706 esac
52707 fi
52708 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52709 if test -n "$CPPUNIT_CONFIG"; then
52710 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52711 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52712 else
52713 { echo "$as_me:$LINENO: result: no" >&5
52714 echo "${ECHO_T}no" >&6; }
52715 fi
52716
52717
52718 cppunit_version_min=1.8.0
52719
52720 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52721 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52722 no_cppunit=""
52723 if test "$CPPUNIT_CONFIG" = "no" ; then
52724 { echo "$as_me:$LINENO: result: no" >&5
52725 echo "${ECHO_T}no" >&6; }
52726 no_cppunit=yes
52727 else
52728 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52729 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52730 cppunit_version=`$CPPUNIT_CONFIG --version`
52731
52732 cppunit_major_version=`echo $cppunit_version | \
52733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52734 cppunit_minor_version=`echo $cppunit_version | \
52735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52736 cppunit_micro_version=`echo $cppunit_version | \
52737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52738
52739 cppunit_major_min=`echo $cppunit_version_min | \
52740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52741 cppunit_minor_min=`echo $cppunit_version_min | \
52742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52743 cppunit_micro_min=`echo $cppunit_version_min | \
52744 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52745
52746 cppunit_version_proper=`expr \
52747 $cppunit_major_version \> $cppunit_major_min \| \
52748 $cppunit_major_version \= $cppunit_major_min \& \
52749 $cppunit_minor_version \> $cppunit_minor_min \| \
52750 $cppunit_major_version \= $cppunit_major_min \& \
52751 $cppunit_minor_version \= $cppunit_minor_min \& \
52752 $cppunit_micro_version \>= $cppunit_micro_min `
52753
52754 if test "$cppunit_version_proper" = "1" ; then
52755 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52756 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52757 else
52758 { echo "$as_me:$LINENO: result: no" >&5
52759 echo "${ECHO_T}no" >&6; }
52760 no_cppunit=yes
52761 fi
52762 fi
52763
52764 if test "x$no_cppunit" = x ; then
52765 SUBDIRS="$SUBDIRS tests"
52766 else
52767 CPPUNIT_CFLAGS=""
52768 CPPUNIT_LIBS=""
52769 :
52770 fi
52771
52772
52773
52774
52775
52776 for subdir in $SUBDIRS; do
52777 if test -d ${srcdir}/${subdir} ; then
52778 if test "$wxUSE_GUI" = "yes"; then
52779 if test ${subdir} = "samples"; then
52780 makefiles="samples/Makefile.in $makefiles"
52781 for sample in $SAMPLES_SUBDIRS; do
52782 if test -d $srcdir/samples/$sample; then
52783 makefiles="samples/$sample/Makefile.in $makefiles"
52784 fi
52785 done
52786 else
52787 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
52788 eval "disabled=\$$disabled_var"
52789 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52790 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52791 fi
52792 else
52793 if test ${subdir} = "samples"; then
52794 makefiles="samples/Makefile.in samples/console/Makefile.in"
52795 elif test ${subdir} = "utils"; then
52796 makefiles=""
52797 for util in HelpGen tex2rtf ; do
52798 if test -d $srcdir/utils/$util ; then
52799 makefiles="utils/$util/Makefile.in \
52800 utils/$util/src/Makefile.in \
52801 $makefiles"
52802 fi
52803 done
52804 else
52805 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52806 fi
52807 fi
52808
52809 for mkin in $makefiles ; do
52810 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52811 ac_config_files="$ac_config_files $mk"
52812
52813 done
52814 fi
52815 done
52816 fi
52817 cat >confcache <<\_ACEOF
52818 # This file is a shell script that caches the results of configure
52819 # tests run on this system so they can be shared between configure
52820 # scripts and configure runs, see configure's option --config-cache.
52821 # It is not useful on other systems. If it contains results you don't
52822 # want to keep, you may remove or edit it.
52823 #
52824 # config.status only pays attention to the cache file if you give it
52825 # the --recheck option to rerun configure.
52826 #
52827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52829 # following values.
52830
52831 _ACEOF
52832
52833 # The following way of writing the cache mishandles newlines in values,
52834 # but we know of no workaround that is simple, portable, and efficient.
52835 # So, we kill variables containing newlines.
52836 # Ultrix sh set writes to stderr and can't be redirected directly,
52837 # and sets the high bit in the cache file unless we assign to the vars.
52838 (
52839 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52840 eval ac_val=\$$ac_var
52841 case $ac_val in #(
52842 *${as_nl}*)
52843 case $ac_var in #(
52844 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52845 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52846 esac
52847 case $ac_var in #(
52848 _ | IFS | as_nl) ;; #(
52849 *) $as_unset $ac_var ;;
52850 esac ;;
52851 esac
52852 done
52853
52854 (set) 2>&1 |
52855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52856 *${as_nl}ac_space=\ *)
52857 # `set' does not quote correctly, so add quotes (double-quote
52858 # substitution turns \\\\ into \\, and sed turns \\ into \).
52859 sed -n \
52860 "s/'/'\\\\''/g;
52861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52862 ;; #(
52863 *)
52864 # `set' quotes correctly as required by POSIX, so do not add quotes.
52865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52866 ;;
52867 esac |
52868 sort
52869 ) |
52870 sed '
52871 /^ac_cv_env_/b end
52872 t clear
52873 :clear
52874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52875 t end
52876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52877 :end' >>confcache
52878 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52879 if test -w "$cache_file"; then
52880 test "x$cache_file" != "x/dev/null" &&
52881 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52882 echo "$as_me: updating cache $cache_file" >&6;}
52883 cat confcache >$cache_file
52884 else
52885 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52886 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52887 fi
52888 fi
52889 rm -f confcache
52890
52891 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52892 # Let make expand exec_prefix.
52893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52894
52895 DEFS=-DHAVE_CONFIG_H
52896
52897 ac_libobjs=
52898 ac_ltlibobjs=
52899 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52900 # 1. Remove the extension, and $U if already installed.
52901 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52902 ac_i=`echo "$ac_i" | sed "$ac_script"`
52903 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52904 # will be set to the directory where LIBOBJS objects are built.
52905 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52906 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52907 done
52908 LIBOBJS=$ac_libobjs
52909
52910 LTLIBOBJS=$ac_ltlibobjs
52911
52912
52913
52914 : ${CONFIG_STATUS=./config.status}
52915 ac_clean_files_save=$ac_clean_files
52916 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52917 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52918 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52919 cat >$CONFIG_STATUS <<_ACEOF
52920 #! $SHELL
52921 # Generated by $as_me.
52922 # Run this file to recreate the current configuration.
52923 # Compiler output produced by configure, useful for debugging
52924 # configure, is in config.log if it exists.
52925
52926 debug=false
52927 ac_cs_recheck=false
52928 ac_cs_silent=false
52929 SHELL=\${CONFIG_SHELL-$SHELL}
52930 _ACEOF
52931
52932 cat >>$CONFIG_STATUS <<\_ACEOF
52933 ## --------------------- ##
52934 ## M4sh Initialization. ##
52935 ## --------------------- ##
52936
52937 # Be more Bourne compatible
52938 DUALCASE=1; export DUALCASE # for MKS sh
52939 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52940 emulate sh
52941 NULLCMD=:
52942 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52943 # is contrary to our usage. Disable this feature.
52944 alias -g '${1+"$@"}'='"$@"'
52945 setopt NO_GLOB_SUBST
52946 else
52947 case `(set -o) 2>/dev/null` in
52948 *posix*) set -o posix ;;
52949 esac
52950
52951 fi
52952
52953
52954
52955
52956 # PATH needs CR
52957 # Avoid depending upon Character Ranges.
52958 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52959 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52960 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52961 as_cr_digits='0123456789'
52962 as_cr_alnum=$as_cr_Letters$as_cr_digits
52963
52964 # The user is always right.
52965 if test "${PATH_SEPARATOR+set}" != set; then
52966 echo "#! /bin/sh" >conf$$.sh
52967 echo "exit 0" >>conf$$.sh
52968 chmod +x conf$$.sh
52969 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52970 PATH_SEPARATOR=';'
52971 else
52972 PATH_SEPARATOR=:
52973 fi
52974 rm -f conf$$.sh
52975 fi
52976
52977 # Support unset when possible.
52978 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52979 as_unset=unset
52980 else
52981 as_unset=false
52982 fi
52983
52984
52985 # IFS
52986 # We need space, tab and new line, in precisely that order. Quoting is
52987 # there to prevent editors from complaining about space-tab.
52988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52989 # splitting by setting IFS to empty value.)
52990 as_nl='
52991 '
52992 IFS=" "" $as_nl"
52993
52994 # Find who we are. Look in the path if we contain no directory separator.
52995 case $0 in
52996 *[\\/]* ) as_myself=$0 ;;
52997 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52998 for as_dir in $PATH
52999 do
53000 IFS=$as_save_IFS
53001 test -z "$as_dir" && as_dir=.
53002 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53003 done
53004 IFS=$as_save_IFS
53005
53006 ;;
53007 esac
53008 # We did not find ourselves, most probably we were run as `sh COMMAND'
53009 # in which case we are not to be found in the path.
53010 if test "x$as_myself" = x; then
53011 as_myself=$0
53012 fi
53013 if test ! -f "$as_myself"; then
53014 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53015 { (exit 1); exit 1; }
53016 fi
53017
53018 # Work around bugs in pre-3.0 UWIN ksh.
53019 for as_var in ENV MAIL MAILPATH
53020 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53021 done
53022 PS1='$ '
53023 PS2='> '
53024 PS4='+ '
53025
53026 # NLS nuisances.
53027 for as_var in \
53028 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53029 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53030 LC_TELEPHONE LC_TIME
53031 do
53032 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53033 eval $as_var=C; export $as_var
53034 else
53035 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53036 fi
53037 done
53038
53039 # Required to use basename.
53040 if expr a : '\(a\)' >/dev/null 2>&1 &&
53041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53042 as_expr=expr
53043 else
53044 as_expr=false
53045 fi
53046
53047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53048 as_basename=basename
53049 else
53050 as_basename=false
53051 fi
53052
53053
53054 # Name of the executable.
53055 as_me=`$as_basename -- "$0" ||
53056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53057 X"$0" : 'X\(//\)$' \| \
53058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53059 echo X/"$0" |
53060 sed '/^.*\/\([^/][^/]*\)\/*$/{
53061 s//\1/
53062 q
53063 }
53064 /^X\/\(\/\/\)$/{
53065 s//\1/
53066 q
53067 }
53068 /^X\/\(\/\).*/{
53069 s//\1/
53070 q
53071 }
53072 s/.*/./; q'`
53073
53074 # CDPATH.
53075 $as_unset CDPATH
53076
53077
53078
53079 as_lineno_1=$LINENO
53080 as_lineno_2=$LINENO
53081 test "x$as_lineno_1" != "x$as_lineno_2" &&
53082 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53083
53084 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53085 # uniformly replaced by the line number. The first 'sed' inserts a
53086 # line-number line after each line using $LINENO; the second 'sed'
53087 # does the real work. The second script uses 'N' to pair each
53088 # line-number line with the line containing $LINENO, and appends
53089 # trailing '-' during substitution so that $LINENO is not a special
53090 # case at line end.
53091 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53092 # scripts with optimization help from Paolo Bonzini. Blame Lee
53093 # E. McMahon (1931-1989) for sed's syntax. :-)
53094 sed -n '
53095 p
53096 /[$]LINENO/=
53097 ' <$as_myself |
53098 sed '
53099 s/[$]LINENO.*/&-/
53100 t lineno
53101 b
53102 :lineno
53103 N
53104 :loop
53105 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53106 t loop
53107 s/-\n.*//
53108 ' >$as_me.lineno &&
53109 chmod +x "$as_me.lineno" ||
53110 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53111 { (exit 1); exit 1; }; }
53112
53113 # Don't try to exec as it changes $[0], causing all sort of problems
53114 # (the dirname of $[0] is not the place where we might find the
53115 # original and so on. Autoconf is especially sensitive to this).
53116 . "./$as_me.lineno"
53117 # Exit status is that of the last command.
53118 exit
53119 }
53120
53121
53122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53123 as_dirname=dirname
53124 else
53125 as_dirname=false
53126 fi
53127
53128 ECHO_C= ECHO_N= ECHO_T=
53129 case `echo -n x` in
53130 -n*)
53131 case `echo 'x\c'` in
53132 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53133 *) ECHO_C='\c';;
53134 esac;;
53135 *)
53136 ECHO_N='-n';;
53137 esac
53138
53139 if expr a : '\(a\)' >/dev/null 2>&1 &&
53140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53141 as_expr=expr
53142 else
53143 as_expr=false
53144 fi
53145
53146 rm -f conf$$ conf$$.exe conf$$.file
53147 if test -d conf$$.dir; then
53148 rm -f conf$$.dir/conf$$.file
53149 else
53150 rm -f conf$$.dir
53151 mkdir conf$$.dir
53152 fi
53153 echo >conf$$.file
53154 if ln -s conf$$.file conf$$ 2>/dev/null; then
53155 as_ln_s='ln -s'
53156 # ... but there are two gotchas:
53157 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53158 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53159 # In both cases, we have to default to `cp -p'.
53160 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53161 as_ln_s='cp -p'
53162 elif ln conf$$.file conf$$ 2>/dev/null; then
53163 as_ln_s=ln
53164 else
53165 as_ln_s='cp -p'
53166 fi
53167 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53168 rmdir conf$$.dir 2>/dev/null
53169
53170 if mkdir -p . 2>/dev/null; then
53171 as_mkdir_p=:
53172 else
53173 test -d ./-p && rmdir ./-p
53174 as_mkdir_p=false
53175 fi
53176
53177 if test -x / >/dev/null 2>&1; then
53178 as_test_x='test -x'
53179 else
53180 if ls -dL / >/dev/null 2>&1; then
53181 as_ls_L_option=L
53182 else
53183 as_ls_L_option=
53184 fi
53185 as_test_x='
53186 eval sh -c '\''
53187 if test -d "$1"; then
53188 test -d "$1/.";
53189 else
53190 case $1 in
53191 -*)set "./$1";;
53192 esac;
53193 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53194 ???[sx]*):;;*)false;;esac;fi
53195 '\'' sh
53196 '
53197 fi
53198 as_executable_p=$as_test_x
53199
53200 # Sed expression to map a string onto a valid CPP name.
53201 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53202
53203 # Sed expression to map a string onto a valid variable name.
53204 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53205
53206
53207 exec 6>&1
53208
53209 # Save the log message, to keep $[0] and so on meaningful, and to
53210 # report actual input values of CONFIG_FILES etc. instead of their
53211 # values after options handling.
53212 ac_log="
53213 This file was extended by wxWidgets $as_me 2.9.0, which was
53214 generated by GNU Autoconf 2.61. Invocation command line was
53215
53216 CONFIG_FILES = $CONFIG_FILES
53217 CONFIG_HEADERS = $CONFIG_HEADERS
53218 CONFIG_LINKS = $CONFIG_LINKS
53219 CONFIG_COMMANDS = $CONFIG_COMMANDS
53220 $ $0 $@
53221
53222 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53223 "
53224
53225 _ACEOF
53226
53227 cat >>$CONFIG_STATUS <<_ACEOF
53228 # Files that config.status was made for.
53229 config_files="$ac_config_files"
53230 config_headers="$ac_config_headers"
53231 config_commands="$ac_config_commands"
53232
53233 _ACEOF
53234
53235 cat >>$CONFIG_STATUS <<\_ACEOF
53236 ac_cs_usage="\
53237 \`$as_me' instantiates files from templates according to the
53238 current configuration.
53239
53240 Usage: $0 [OPTIONS] [FILE]...
53241
53242 -h, --help print this help, then exit
53243 -V, --version print version number and configuration settings, then exit
53244 -q, --quiet do not print progress messages
53245 -d, --debug don't remove temporary files
53246 --recheck update $as_me by reconfiguring in the same conditions
53247 --file=FILE[:TEMPLATE]
53248 instantiate the configuration file FILE
53249 --header=FILE[:TEMPLATE]
53250 instantiate the configuration header FILE
53251
53252 Configuration files:
53253 $config_files
53254
53255 Configuration headers:
53256 $config_headers
53257
53258 Configuration commands:
53259 $config_commands
53260
53261 Report bugs to <bug-autoconf@gnu.org>."
53262
53263 _ACEOF
53264 cat >>$CONFIG_STATUS <<_ACEOF
53265 ac_cs_version="\\
53266 wxWidgets config.status 2.9.0
53267 configured by $0, generated by GNU Autoconf 2.61,
53268 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53269
53270 Copyright (C) 2006 Free Software Foundation, Inc.
53271 This config.status script is free software; the Free Software Foundation
53272 gives unlimited permission to copy, distribute and modify it."
53273
53274 ac_pwd='$ac_pwd'
53275 srcdir='$srcdir'
53276 INSTALL='$INSTALL'
53277 _ACEOF
53278
53279 cat >>$CONFIG_STATUS <<\_ACEOF
53280 # If no file are specified by the user, then we need to provide default
53281 # value. By we need to know if files were specified by the user.
53282 ac_need_defaults=:
53283 while test $# != 0
53284 do
53285 case $1 in
53286 --*=*)
53287 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53288 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53289 ac_shift=:
53290 ;;
53291 *)
53292 ac_option=$1
53293 ac_optarg=$2
53294 ac_shift=shift
53295 ;;
53296 esac
53297
53298 case $ac_option in
53299 # Handling of the options.
53300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53301 ac_cs_recheck=: ;;
53302 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53303 echo "$ac_cs_version"; exit ;;
53304 --debug | --debu | --deb | --de | --d | -d )
53305 debug=: ;;
53306 --file | --fil | --fi | --f )
53307 $ac_shift
53308 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53309 ac_need_defaults=false;;
53310 --header | --heade | --head | --hea )
53311 $ac_shift
53312 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53313 ac_need_defaults=false;;
53314 --he | --h)
53315 # Conflict between --help and --header
53316 { echo "$as_me: error: ambiguous option: $1
53317 Try \`$0 --help' for more information." >&2
53318 { (exit 1); exit 1; }; };;
53319 --help | --hel | -h )
53320 echo "$ac_cs_usage"; exit ;;
53321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53322 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53323 ac_cs_silent=: ;;
53324
53325 # This is an error.
53326 -*) { echo "$as_me: error: unrecognized option: $1
53327 Try \`$0 --help' for more information." >&2
53328 { (exit 1); exit 1; }; } ;;
53329
53330 *) ac_config_targets="$ac_config_targets $1"
53331 ac_need_defaults=false ;;
53332
53333 esac
53334 shift
53335 done
53336
53337 ac_configure_extra_args=
53338
53339 if $ac_cs_silent; then
53340 exec 6>/dev/null
53341 ac_configure_extra_args="$ac_configure_extra_args --silent"
53342 fi
53343
53344 _ACEOF
53345 cat >>$CONFIG_STATUS <<_ACEOF
53346 if \$ac_cs_recheck; then
53347 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53348 CONFIG_SHELL=$SHELL
53349 export CONFIG_SHELL
53350 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53351 fi
53352
53353 _ACEOF
53354 cat >>$CONFIG_STATUS <<\_ACEOF
53355 exec 5>>config.log
53356 {
53357 echo
53358 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53359 ## Running $as_me. ##
53360 _ASBOX
53361 echo "$ac_log"
53362 } >&5
53363
53364 _ACEOF
53365 cat >>$CONFIG_STATUS <<_ACEOF
53366 #
53367 # INIT-COMMANDS
53368 #
53369
53370 CPP="$CPP"
53371 infile="$srcdir/include/wx/msw/genrcdefs.h"
53372 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53373
53374
53375 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53376 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53377 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53378 LN_S="${LN_S}"
53379
53380
53381 _ACEOF
53382
53383 cat >>$CONFIG_STATUS <<\_ACEOF
53384
53385 # Handling of arguments.
53386 for ac_config_target in $ac_config_targets
53387 do
53388 case $ac_config_target in
53389 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53390 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53391 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53392 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53393 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53394 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53395 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53396 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53397
53398 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53399 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53400 { (exit 1); exit 1; }; };;
53401 esac
53402 done
53403
53404
53405 # If the user did not use the arguments to specify the items to instantiate,
53406 # then the envvar interface is used. Set only those that are not.
53407 # We use the long form for the default assignment because of an extremely
53408 # bizarre bug on SunOS 4.1.3.
53409 if $ac_need_defaults; then
53410 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53411 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53412 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53413 fi
53414
53415 # Have a temporary directory for convenience. Make it in the build tree
53416 # simply because there is no reason against having it here, and in addition,
53417 # creating and moving files from /tmp can sometimes cause problems.
53418 # Hook for its removal unless debugging.
53419 # Note that there is a small window in which the directory will not be cleaned:
53420 # after its creation but before its name has been assigned to `$tmp'.
53421 $debug ||
53422 {
53423 tmp=
53424 trap 'exit_status=$?
53425 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53426 ' 0
53427 trap '{ (exit 1); exit 1; }' 1 2 13 15
53428 }
53429 # Create a (secure) tmp directory for tmp files.
53430
53431 {
53432 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53433 test -n "$tmp" && test -d "$tmp"
53434 } ||
53435 {
53436 tmp=./conf$$-$RANDOM
53437 (umask 077 && mkdir "$tmp")
53438 } ||
53439 {
53440 echo "$me: cannot create a temporary directory in ." >&2
53441 { (exit 1); exit 1; }
53442 }
53443
53444 #
53445 # Set up the sed scripts for CONFIG_FILES section.
53446 #
53447
53448 # No need to generate the scripts if there are no CONFIG_FILES.
53449 # This happens for instance when ./config.status config.h
53450 if test -n "$CONFIG_FILES"; then
53451
53452 _ACEOF
53453
53454
53455
53456 ac_delim='%!_!# '
53457 for ac_last_try in false false false false false :; do
53458 cat >conf$$subs.sed <<_ACEOF
53459 SHELL!$SHELL$ac_delim
53460 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53461 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53462 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53463 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53464 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53465 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53466 exec_prefix!$exec_prefix$ac_delim
53467 prefix!$prefix$ac_delim
53468 program_transform_name!$program_transform_name$ac_delim
53469 bindir!$bindir$ac_delim
53470 sbindir!$sbindir$ac_delim
53471 libexecdir!$libexecdir$ac_delim
53472 datarootdir!$datarootdir$ac_delim
53473 datadir!$datadir$ac_delim
53474 sysconfdir!$sysconfdir$ac_delim
53475 sharedstatedir!$sharedstatedir$ac_delim
53476 localstatedir!$localstatedir$ac_delim
53477 includedir!$includedir$ac_delim
53478 oldincludedir!$oldincludedir$ac_delim
53479 docdir!$docdir$ac_delim
53480 infodir!$infodir$ac_delim
53481 htmldir!$htmldir$ac_delim
53482 dvidir!$dvidir$ac_delim
53483 pdfdir!$pdfdir$ac_delim
53484 psdir!$psdir$ac_delim
53485 libdir!$libdir$ac_delim
53486 localedir!$localedir$ac_delim
53487 mandir!$mandir$ac_delim
53488 DEFS!$DEFS$ac_delim
53489 ECHO_C!$ECHO_C$ac_delim
53490 ECHO_N!$ECHO_N$ac_delim
53491 ECHO_T!$ECHO_T$ac_delim
53492 LIBS!$LIBS$ac_delim
53493 build_alias!$build_alias$ac_delim
53494 host_alias!$host_alias$ac_delim
53495 target_alias!$target_alias$ac_delim
53496 build!$build$ac_delim
53497 build_cpu!$build_cpu$ac_delim
53498 build_vendor!$build_vendor$ac_delim
53499 build_os!$build_os$ac_delim
53500 host!$host$ac_delim
53501 host_cpu!$host_cpu$ac_delim
53502 host_vendor!$host_vendor$ac_delim
53503 host_os!$host_os$ac_delim
53504 target!$target$ac_delim
53505 target_cpu!$target_cpu$ac_delim
53506 target_vendor!$target_vendor$ac_delim
53507 target_os!$target_os$ac_delim
53508 wx_top_builddir!$wx_top_builddir$ac_delim
53509 CC!$CC$ac_delim
53510 CFLAGS!$CFLAGS$ac_delim
53511 LDFLAGS!$LDFLAGS$ac_delim
53512 CPPFLAGS!$CPPFLAGS$ac_delim
53513 ac_ct_CC!$ac_ct_CC$ac_delim
53514 EXEEXT!$EXEEXT$ac_delim
53515 OBJEXT!$OBJEXT$ac_delim
53516 CPP!$CPP$ac_delim
53517 GREP!$GREP$ac_delim
53518 EGREP!$EGREP$ac_delim
53519 CXX!$CXX$ac_delim
53520 CXXFLAGS!$CXXFLAGS$ac_delim
53521 ac_ct_CXX!$ac_ct_CXX$ac_delim
53522 AR!$AR$ac_delim
53523 subdirs!$subdirs$ac_delim
53524 PKG_CONFIG!$PKG_CONFIG$ac_delim
53525 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53526 GTK_LIBS!$GTK_LIBS$ac_delim
53527 GTK_CONFIG!$GTK_CONFIG$ac_delim
53528 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53529 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53530 XMKMF!$XMKMF$ac_delim
53531 X_CFLAGS!$X_CFLAGS$ac_delim
53532 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53533 X_LIBS!$X_LIBS$ac_delim
53534 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53535 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53536 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53537 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53538 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53539 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53540 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53541 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53542 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53543 LIBICONV!$LIBICONV$ac_delim
53544 SDL_CONFIG!$SDL_CONFIG$ac_delim
53545 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53546 SDL_LIBS!$SDL_LIBS$ac_delim
53547 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53548 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53549 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53550 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53551 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53552 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53553 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53554 HILDON_LIBS!$HILDON_LIBS$ac_delim
53555 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53556 _ACEOF
53557
53558 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53559 break
53560 elif $ac_last_try; then
53561 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53562 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53563 { (exit 1); exit 1; }; }
53564 else
53565 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53566 fi
53567 done
53568
53569 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53570 if test -n "$ac_eof"; then
53571 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53572 ac_eof=`expr $ac_eof + 1`
53573 fi
53574
53575 cat >>$CONFIG_STATUS <<_ACEOF
53576 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53577 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53578 _ACEOF
53579 sed '
53580 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53581 s/^/s,@/; s/!/@,|#_!!_#|/
53582 :n
53583 t n
53584 s/'"$ac_delim"'$/,g/; t
53585 s/$/\\/; p
53586 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53587 ' >>$CONFIG_STATUS <conf$$subs.sed
53588 rm -f conf$$subs.sed
53589 cat >>$CONFIG_STATUS <<_ACEOF
53590 CEOF$ac_eof
53591 _ACEOF
53592
53593
53594 ac_delim='%!_!# '
53595 for ac_last_try in false false false false false :; do
53596 cat >conf$$subs.sed <<_ACEOF
53597 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53598 GST_CFLAGS!$GST_CFLAGS$ac_delim
53599 GST_LIBS!$GST_LIBS$ac_delim
53600 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53601 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53602 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53603 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53604 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53605 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53606 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53607 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53608 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53609 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53610 VENDOR!$VENDOR$ac_delim
53611 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53612 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53613 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53614 WXUNIV!$WXUNIV$ac_delim
53615 MONOLITHIC!$MONOLITHIC$ac_delim
53616 USE_PLUGINS!$USE_PLUGINS$ac_delim
53617 CXXWARNINGS!$CXXWARNINGS$ac_delim
53618 EXTRALIBS!$EXTRALIBS$ac_delim
53619 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53620 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53621 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53622 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53623 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53624 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53625 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53626 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53627 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53628 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53629 UNICODE!$UNICODE$ac_delim
53630 BUILD!$BUILD$ac_delim
53631 DEBUG_INFO!$DEBUG_INFO$ac_delim
53632 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53633 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53634 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53635 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53636 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53637 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53638 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53639 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53640 RANLIB!$RANLIB$ac_delim
53641 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53642 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53643 INSTALL_DATA!$INSTALL_DATA$ac_delim
53644 LN_S!$LN_S$ac_delim
53645 SET_MAKE!$SET_MAKE$ac_delim
53646 MAKE_SET!$MAKE_SET$ac_delim
53647 AROPTIONS!$AROPTIONS$ac_delim
53648 STRIP!$STRIP$ac_delim
53649 NM!$NM$ac_delim
53650 INSTALL_DIR!$INSTALL_DIR$ac_delim
53651 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53652 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53653 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53654 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53655 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53656 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53657 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53658 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53659 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53660 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53661 SO_SUFFIX!$SO_SUFFIX$ac_delim
53662 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53663 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53664 LIBPREFIX!$LIBPREFIX$ac_delim
53665 LIBEXT!$LIBEXT$ac_delim
53666 DLLPREFIX!$DLLPREFIX$ac_delim
53667 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53668 dlldir!$dlldir$ac_delim
53669 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53670 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53671 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53672 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53673 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53674 PIC_FLAG!$PIC_FLAG$ac_delim
53675 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53676 USE_SOVERSION!$USE_SOVERSION$ac_delim
53677 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53678 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53679 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53680 USE_MACVERSION!$USE_MACVERSION$ac_delim
53681 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53682 SONAME_FLAG!$SONAME_FLAG$ac_delim
53683 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53684 BK_DEPS!$BK_DEPS$ac_delim
53685 WINDRES!$WINDRES$ac_delim
53686 REZ!$REZ$ac_delim
53687 SETFILE!$SETFILE$ac_delim
53688 GCC_PCH!$GCC_PCH$ac_delim
53689 ICC_PCH!$ICC_PCH$ac_delim
53690 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53691 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53692 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53693 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53694 _ACEOF
53695
53696 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53697 break
53698 elif $ac_last_try; then
53699 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53700 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53701 { (exit 1); exit 1; }; }
53702 else
53703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53704 fi
53705 done
53706
53707 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53708 if test -n "$ac_eof"; then
53709 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53710 ac_eof=`expr $ac_eof + 1`
53711 fi
53712
53713 cat >>$CONFIG_STATUS <<_ACEOF
53714 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53716 _ACEOF
53717 sed '
53718 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53719 s/^/s,@/; s/!/@,|#_!!_#|/
53720 :n
53721 t n
53722 s/'"$ac_delim"'$/,g/; t
53723 s/$/\\/; p
53724 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53725 ' >>$CONFIG_STATUS <conf$$subs.sed
53726 rm -f conf$$subs.sed
53727 cat >>$CONFIG_STATUS <<_ACEOF
53728 CEOF$ac_eof
53729 _ACEOF
53730
53731
53732 ac_delim='%!_!# '
53733 for ac_last_try in false false false false false :; do
53734 cat >conf$$subs.sed <<_ACEOF
53735 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53736 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53737 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53738 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53739 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53740 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53741 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53742 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53743 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53744 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53745 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53746 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53747 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53748 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53749 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53750 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53752 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53753 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53754 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53755 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53756 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53757 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53758 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53759 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53762 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53764 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53765 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53766 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53767 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53768 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53769 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53770 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53771 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53772 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53773 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53774 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53775 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53776 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53777 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53778 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53779 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53780 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53781 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53782 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53783 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53784 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53785 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53786 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53787 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53788 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53789 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53790 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53791 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53793 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53794 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53795 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53796 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53797 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53798 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53799 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53800 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53801 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53802 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53803 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53804 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53805 COND_SHARED_0!$COND_SHARED_0$ac_delim
53806 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53807 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53808 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53809 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53810 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53811 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53812 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53813 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53814 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53815 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53816 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53817 COND_SHARED_1!$COND_SHARED_1$ac_delim
53818 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53819 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53820 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53821 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53822 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53823 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53824 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53825 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53827 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53829 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53830 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53831 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53832 _ACEOF
53833
53834 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53835 break
53836 elif $ac_last_try; then
53837 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53838 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53839 { (exit 1); exit 1; }; }
53840 else
53841 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53842 fi
53843 done
53844
53845 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53846 if test -n "$ac_eof"; then
53847 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53848 ac_eof=`expr $ac_eof + 1`
53849 fi
53850
53851 cat >>$CONFIG_STATUS <<_ACEOF
53852 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53854 _ACEOF
53855 sed '
53856 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53857 s/^/s,@/; s/!/@,|#_!!_#|/
53858 :n
53859 t n
53860 s/'"$ac_delim"'$/,g/; t
53861 s/$/\\/; p
53862 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53863 ' >>$CONFIG_STATUS <conf$$subs.sed
53864 rm -f conf$$subs.sed
53865 cat >>$CONFIG_STATUS <<_ACEOF
53866 CEOF$ac_eof
53867 _ACEOF
53868
53869
53870 ac_delim='%!_!# '
53871 for ac_last_try in false false false false false :; do
53872 cat >conf$$subs.sed <<_ACEOF
53873 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53874 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53875 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53876 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53877 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53878 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53879 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53880 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53881 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53882 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53883 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53884 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53885 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53886 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53887 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53888 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53889 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53890 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53891 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53892 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53893 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53894 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53895 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53896 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53897 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53898 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53899 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53900 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53901 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53902 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53903 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53904 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53905 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53906 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53907 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53908 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53909 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53910 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53911 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53912 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53913 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53914 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53915 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53916 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53917 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53918 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53919 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53920 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53921 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53922 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53923 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53924 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53925 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53926 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53927 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53928 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53929 DEREZ!$DEREZ$ac_delim
53930 SHARED!$SHARED$ac_delim
53931 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53932 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53933 USE_GUI!$USE_GUI$ac_delim
53934 AFMINSTALL!$AFMINSTALL$ac_delim
53935 WIN32INSTALL!$WIN32INSTALL$ac_delim
53936 TOOLKIT!$TOOLKIT$ac_delim
53937 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53938 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53939 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53940 cross_compiling!$cross_compiling$ac_delim
53941 WIDGET_SET!$WIDGET_SET$ac_delim
53942 WX_RELEASE!$WX_RELEASE$ac_delim
53943 WX_VERSION!$WX_VERSION$ac_delim
53944 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53945 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53946 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53947 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53948 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53949 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53950 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53951 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53952 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53953 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53954 GUIDIST!$GUIDIST$ac_delim
53955 DISTDIR!$DISTDIR$ac_delim
53956 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53957 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53958 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53959 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53960 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53961 RESCOMP!$RESCOMP$ac_delim
53962 RESFLAGS!$RESFLAGS$ac_delim
53963 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53964 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53965 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53966 LIBWXMACRES!$LIBWXMACRES$ac_delim
53967 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53968 MACSETFILE!$MACSETFILE$ac_delim
53969 GCC!$GCC$ac_delim
53970 _ACEOF
53971
53972 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53973 break
53974 elif $ac_last_try; then
53975 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53976 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53977 { (exit 1); exit 1; }; }
53978 else
53979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53980 fi
53981 done
53982
53983 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53984 if test -n "$ac_eof"; then
53985 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53986 ac_eof=`expr $ac_eof + 1`
53987 fi
53988
53989 cat >>$CONFIG_STATUS <<_ACEOF
53990 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53992 _ACEOF
53993 sed '
53994 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53995 s/^/s,@/; s/!/@,|#_!!_#|/
53996 :n
53997 t n
53998 s/'"$ac_delim"'$/,g/; t
53999 s/$/\\/; p
54000 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54001 ' >>$CONFIG_STATUS <conf$$subs.sed
54002 rm -f conf$$subs.sed
54003 cat >>$CONFIG_STATUS <<_ACEOF
54004 CEOF$ac_eof
54005 _ACEOF
54006
54007
54008 ac_delim='%!_!# '
54009 for ac_last_try in false false false false false :; do
54010 cat >conf$$subs.sed <<_ACEOF
54011 DLLTOOL!$DLLTOOL$ac_delim
54012 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54013 LIBOBJS!$LIBOBJS$ac_delim
54014 LTLIBOBJS!$LTLIBOBJS$ac_delim
54015 _ACEOF
54016
54017 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
54018 break
54019 elif $ac_last_try; then
54020 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54021 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54022 { (exit 1); exit 1; }; }
54023 else
54024 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54025 fi
54026 done
54027
54028 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54029 if test -n "$ac_eof"; then
54030 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54031 ac_eof=`expr $ac_eof + 1`
54032 fi
54033
54034 cat >>$CONFIG_STATUS <<_ACEOF
54035 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54037 _ACEOF
54038 sed '
54039 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54040 s/^/s,@/; s/!/@,|#_!!_#|/
54041 :n
54042 t n
54043 s/'"$ac_delim"'$/,g/; t
54044 s/$/\\/; p
54045 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54046 ' >>$CONFIG_STATUS <conf$$subs.sed
54047 rm -f conf$$subs.sed
54048 cat >>$CONFIG_STATUS <<_ACEOF
54049 :end
54050 s/|#_!!_#|//g
54051 CEOF$ac_eof
54052 _ACEOF
54053
54054
54055 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54056 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54057 # trailing colons and then remove the whole line if VPATH becomes empty
54058 # (actually we leave an empty line to preserve line numbers).
54059 if test "x$srcdir" = x.; then
54060 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54061 s/:*\$(srcdir):*/:/
54062 s/:*\${srcdir}:*/:/
54063 s/:*@srcdir@:*/:/
54064 s/^\([^=]*=[ ]*\):*/\1/
54065 s/:*$//
54066 s/^[^=]*=[ ]*$//
54067 }'
54068 fi
54069
54070 cat >>$CONFIG_STATUS <<\_ACEOF
54071 fi # test -n "$CONFIG_FILES"
54072
54073
54074 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54075 do
54076 case $ac_tag in
54077 :[FHLC]) ac_mode=$ac_tag; continue;;
54078 esac
54079 case $ac_mode$ac_tag in
54080 :[FHL]*:*);;
54081 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54082 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54083 { (exit 1); exit 1; }; };;
54084 :[FH]-) ac_tag=-:-;;
54085 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54086 esac
54087 ac_save_IFS=$IFS
54088 IFS=:
54089 set x $ac_tag
54090 IFS=$ac_save_IFS
54091 shift
54092 ac_file=$1
54093 shift
54094
54095 case $ac_mode in
54096 :L) ac_source=$1;;
54097 :[FH])
54098 ac_file_inputs=
54099 for ac_f
54100 do
54101 case $ac_f in
54102 -) ac_f="$tmp/stdin";;
54103 *) # Look for the file first in the build tree, then in the source tree
54104 # (if the path is not absolute). The absolute path cannot be DOS-style,
54105 # because $ac_f cannot contain `:'.
54106 test -f "$ac_f" ||
54107 case $ac_f in
54108 [\\/$]*) false;;
54109 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54110 esac ||
54111 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54112 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54113 { (exit 1); exit 1; }; };;
54114 esac
54115 ac_file_inputs="$ac_file_inputs $ac_f"
54116 done
54117
54118 # Let's still pretend it is `configure' which instantiates (i.e., don't
54119 # use $as_me), people would be surprised to read:
54120 # /* config.h. Generated by config.status. */
54121 configure_input="Generated from "`IFS=:
54122 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54123 if test x"$ac_file" != x-; then
54124 configure_input="$ac_file. $configure_input"
54125 { echo "$as_me:$LINENO: creating $ac_file" >&5
54126 echo "$as_me: creating $ac_file" >&6;}
54127 fi
54128
54129 case $ac_tag in
54130 *:-:* | *:-) cat >"$tmp/stdin";;
54131 esac
54132 ;;
54133 esac
54134
54135 ac_dir=`$as_dirname -- "$ac_file" ||
54136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54137 X"$ac_file" : 'X\(//\)[^/]' \| \
54138 X"$ac_file" : 'X\(//\)$' \| \
54139 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54140 echo X"$ac_file" |
54141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54142 s//\1/
54143 q
54144 }
54145 /^X\(\/\/\)[^/].*/{
54146 s//\1/
54147 q
54148 }
54149 /^X\(\/\/\)$/{
54150 s//\1/
54151 q
54152 }
54153 /^X\(\/\).*/{
54154 s//\1/
54155 q
54156 }
54157 s/.*/./; q'`
54158 { as_dir="$ac_dir"
54159 case $as_dir in #(
54160 -*) as_dir=./$as_dir;;
54161 esac
54162 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54163 as_dirs=
54164 while :; do
54165 case $as_dir in #(
54166 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54167 *) as_qdir=$as_dir;;
54168 esac
54169 as_dirs="'$as_qdir' $as_dirs"
54170 as_dir=`$as_dirname -- "$as_dir" ||
54171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54172 X"$as_dir" : 'X\(//\)[^/]' \| \
54173 X"$as_dir" : 'X\(//\)$' \| \
54174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54175 echo X"$as_dir" |
54176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54177 s//\1/
54178 q
54179 }
54180 /^X\(\/\/\)[^/].*/{
54181 s//\1/
54182 q
54183 }
54184 /^X\(\/\/\)$/{
54185 s//\1/
54186 q
54187 }
54188 /^X\(\/\).*/{
54189 s//\1/
54190 q
54191 }
54192 s/.*/./; q'`
54193 test -d "$as_dir" && break
54194 done
54195 test -z "$as_dirs" || eval "mkdir $as_dirs"
54196 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54197 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54198 { (exit 1); exit 1; }; }; }
54199 ac_builddir=.
54200
54201 case "$ac_dir" in
54202 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54203 *)
54204 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54205 # A ".." for each directory in $ac_dir_suffix.
54206 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54207 case $ac_top_builddir_sub in
54208 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54209 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54210 esac ;;
54211 esac
54212 ac_abs_top_builddir=$ac_pwd
54213 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54214 # for backward compatibility:
54215 ac_top_builddir=$ac_top_build_prefix
54216
54217 case $srcdir in
54218 .) # We are building in place.
54219 ac_srcdir=.
54220 ac_top_srcdir=$ac_top_builddir_sub
54221 ac_abs_top_srcdir=$ac_pwd ;;
54222 [\\/]* | ?:[\\/]* ) # Absolute name.
54223 ac_srcdir=$srcdir$ac_dir_suffix;
54224 ac_top_srcdir=$srcdir
54225 ac_abs_top_srcdir=$srcdir ;;
54226 *) # Relative name.
54227 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54228 ac_top_srcdir=$ac_top_build_prefix$srcdir
54229 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54230 esac
54231 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54232
54233
54234 case $ac_mode in
54235 :F)
54236 #
54237 # CONFIG_FILE
54238 #
54239
54240 case $INSTALL in
54241 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54242 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54243 esac
54244 _ACEOF
54245
54246 cat >>$CONFIG_STATUS <<\_ACEOF
54247 # If the template does not know about datarootdir, expand it.
54248 # FIXME: This hack should be removed a few years after 2.60.
54249 ac_datarootdir_hack=; ac_datarootdir_seen=
54250
54251 case `sed -n '/datarootdir/ {
54252 p
54253 q
54254 }
54255 /@datadir@/p
54256 /@docdir@/p
54257 /@infodir@/p
54258 /@localedir@/p
54259 /@mandir@/p
54260 ' $ac_file_inputs` in
54261 *datarootdir*) ac_datarootdir_seen=yes;;
54262 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54263 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54264 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54265 _ACEOF
54266 cat >>$CONFIG_STATUS <<_ACEOF
54267 ac_datarootdir_hack='
54268 s&@datadir@&$datadir&g
54269 s&@docdir@&$docdir&g
54270 s&@infodir@&$infodir&g
54271 s&@localedir@&$localedir&g
54272 s&@mandir@&$mandir&g
54273 s&\\\${datarootdir}&$datarootdir&g' ;;
54274 esac
54275 _ACEOF
54276
54277 # Neutralize VPATH when `$srcdir' = `.'.
54278 # Shell code in configure.ac might set extrasub.
54279 # FIXME: do we really want to maintain this feature?
54280 cat >>$CONFIG_STATUS <<_ACEOF
54281 sed "$ac_vpsub
54282 $extrasub
54283 _ACEOF
54284 cat >>$CONFIG_STATUS <<\_ACEOF
54285 :t
54286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54287 s&@configure_input@&$configure_input&;t t
54288 s&@top_builddir@&$ac_top_builddir_sub&;t t
54289 s&@srcdir@&$ac_srcdir&;t t
54290 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54291 s&@top_srcdir@&$ac_top_srcdir&;t t
54292 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54293 s&@builddir@&$ac_builddir&;t t
54294 s&@abs_builddir@&$ac_abs_builddir&;t t
54295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54296 s&@INSTALL@&$ac_INSTALL&;t t
54297 $ac_datarootdir_hack
54298 " $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
54299
54300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54301 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54303 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54304 which seems to be undefined. Please make sure it is defined." >&5
54305 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54306 which seems to be undefined. Please make sure it is defined." >&2;}
54307
54308 rm -f "$tmp/stdin"
54309 case $ac_file in
54310 -) cat "$tmp/out"; rm -f "$tmp/out";;
54311 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54312 esac
54313 ;;
54314 :H)
54315 #
54316 # CONFIG_HEADER
54317 #
54318 _ACEOF
54319
54320 # Transform confdefs.h into a sed script `conftest.defines', that
54321 # substitutes the proper values into config.h.in to produce config.h.
54322 rm -f conftest.defines conftest.tail
54323 # First, append a space to every undef/define line, to ease matching.
54324 echo 's/$/ /' >conftest.defines
54325 # Then, protect against being on the right side of a sed subst, or in
54326 # an unquoted here document, in config.status. If some macros were
54327 # called several times there might be several #defines for the same
54328 # symbol, which is useless. But do not sort them, since the last
54329 # AC_DEFINE must be honored.
54330 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54331 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54332 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54333 # PARAMS is the parameter list in the macro definition--in most cases, it's
54334 # just an empty string.
54335 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54336 ac_dB='\\)[ (].*,\\1define\\2'
54337 ac_dC=' '
54338 ac_dD=' ,'
54339
54340 uniq confdefs.h |
54341 sed -n '
54342 t rset
54343 :rset
54344 s/^[ ]*#[ ]*define[ ][ ]*//
54345 t ok
54346 d
54347 :ok
54348 s/[\\&,]/\\&/g
54349 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54350 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54351 ' >>conftest.defines
54352
54353 # Remove the space that was appended to ease matching.
54354 # Then replace #undef with comments. This is necessary, for
54355 # example, in the case of _POSIX_SOURCE, which is predefined and required
54356 # on some systems where configure will not decide to define it.
54357 # (The regexp can be short, since the line contains either #define or #undef.)
54358 echo 's/ $//
54359 s,^[ #]*u.*,/* & */,' >>conftest.defines
54360
54361 # Break up conftest.defines:
54362 ac_max_sed_lines=50
54363
54364 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54365 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54366 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54367 # et cetera.
54368 ac_in='$ac_file_inputs'
54369 ac_out='"$tmp/out1"'
54370 ac_nxt='"$tmp/out2"'
54371
54372 while :
54373 do
54374 # Write a here document:
54375 cat >>$CONFIG_STATUS <<_ACEOF
54376 # First, check the format of the line:
54377 cat >"\$tmp/defines.sed" <<\\CEOF
54378 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54379 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54380 b
54381 :def
54382 _ACEOF
54383 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54384 echo 'CEOF
54385 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54386 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54387 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54388 grep . conftest.tail >/dev/null || break
54389 rm -f conftest.defines
54390 mv conftest.tail conftest.defines
54391 done
54392 rm -f conftest.defines conftest.tail
54393
54394 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54395 cat >>$CONFIG_STATUS <<\_ACEOF
54396 if test x"$ac_file" != x-; then
54397 echo "/* $configure_input */" >"$tmp/config.h"
54398 cat "$ac_result" >>"$tmp/config.h"
54399 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54400 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54401 echo "$as_me: $ac_file is unchanged" >&6;}
54402 else
54403 rm -f $ac_file
54404 mv "$tmp/config.h" $ac_file
54405 fi
54406 else
54407 echo "/* $configure_input */"
54408 cat "$ac_result"
54409 fi
54410 rm -f "$tmp/out12"
54411 ;;
54412
54413 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54414 echo "$as_me: executing $ac_file commands" >&6;}
54415 ;;
54416 esac
54417
54418
54419 case $ac_file$ac_mode in
54420 "rcdefs.h":C)
54421 mkdir -p $outdir &&
54422 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54423 ;;
54424 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54425 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54426 "wx-config":C) rm -f wx-config
54427 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54428 ;;
54429
54430 esac
54431 done # for ac_tag
54432
54433
54434 { (exit 0); exit 0; }
54435 _ACEOF
54436 chmod +x $CONFIG_STATUS
54437 ac_clean_files=$ac_clean_files_save
54438
54439
54440 # configure is writing to config.log, and then calls config.status.
54441 # config.status does its own redirection, appending to config.log.
54442 # Unfortunately, on DOS this fails, as config.log is still kept open
54443 # by configure, so config.status won't be able to write to it; its
54444 # output is simply discarded. So we exec the FD to /dev/null,
54445 # effectively closing config.log, so it can be properly (re)opened and
54446 # appended to by config.status. When coming back to configure, we
54447 # need to make the FD available again.
54448 if test "$no_create" != yes; then
54449 ac_cs_success=:
54450 ac_config_status_args=
54451 test "$silent" = yes &&
54452 ac_config_status_args="$ac_config_status_args --quiet"
54453 exec 5>/dev/null
54454 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54455 exec 5>>config.log
54456 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54457 # would make configure fail if this is the last instruction.
54458 $ac_cs_success || { (exit 1); exit 1; }
54459 fi
54460
54461 #
54462 # CONFIG_SUBDIRS section.
54463 #
54464 if test "$no_recursion" != yes; then
54465
54466 # Remove --cache-file and --srcdir arguments so they do not pile up.
54467 ac_sub_configure_args=
54468 ac_prev=
54469 eval "set x $ac_configure_args"
54470 shift
54471 for ac_arg
54472 do
54473 if test -n "$ac_prev"; then
54474 ac_prev=
54475 continue
54476 fi
54477 case $ac_arg in
54478 -cache-file | --cache-file | --cache-fil | --cache-fi \
54479 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54480 ac_prev=cache_file ;;
54481 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54482 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54483 | --c=*)
54484 ;;
54485 --config-cache | -C)
54486 ;;
54487 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54488 ac_prev=srcdir ;;
54489 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54490 ;;
54491 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54492 ac_prev=prefix ;;
54493 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54494 ;;
54495 *)
54496 case $ac_arg in
54497 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54498 esac
54499 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54500 esac
54501 done
54502
54503 # Always prepend --prefix to ensure using the same prefix
54504 # in subdir configurations.
54505 ac_arg="--prefix=$prefix"
54506 case $ac_arg in
54507 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54508 esac
54509 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54510
54511 # Pass --silent
54512 if test "$silent" = yes; then
54513 ac_sub_configure_args="--silent $ac_sub_configure_args"
54514 fi
54515
54516 ac_popdir=`pwd`
54517 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54518
54519 # Do not complain, so a configure script can configure whichever
54520 # parts of a large source tree are present.
54521 test -d "$srcdir/$ac_dir" || continue
54522
54523 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54524 echo "$as_me:$LINENO: $ac_msg" >&5
54525 echo "$ac_msg" >&6
54526 { as_dir="$ac_dir"
54527 case $as_dir in #(
54528 -*) as_dir=./$as_dir;;
54529 esac
54530 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54531 as_dirs=
54532 while :; do
54533 case $as_dir in #(
54534 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54535 *) as_qdir=$as_dir;;
54536 esac
54537 as_dirs="'$as_qdir' $as_dirs"
54538 as_dir=`$as_dirname -- "$as_dir" ||
54539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54540 X"$as_dir" : 'X\(//\)[^/]' \| \
54541 X"$as_dir" : 'X\(//\)$' \| \
54542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54543 echo X"$as_dir" |
54544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54545 s//\1/
54546 q
54547 }
54548 /^X\(\/\/\)[^/].*/{
54549 s//\1/
54550 q
54551 }
54552 /^X\(\/\/\)$/{
54553 s//\1/
54554 q
54555 }
54556 /^X\(\/\).*/{
54557 s//\1/
54558 q
54559 }
54560 s/.*/./; q'`
54561 test -d "$as_dir" && break
54562 done
54563 test -z "$as_dirs" || eval "mkdir $as_dirs"
54564 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54565 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54566 { (exit 1); exit 1; }; }; }
54567 ac_builddir=.
54568
54569 case "$ac_dir" in
54570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54571 *)
54572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54573 # A ".." for each directory in $ac_dir_suffix.
54574 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54575 case $ac_top_builddir_sub in
54576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54578 esac ;;
54579 esac
54580 ac_abs_top_builddir=$ac_pwd
54581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54582 # for backward compatibility:
54583 ac_top_builddir=$ac_top_build_prefix
54584
54585 case $srcdir in
54586 .) # We are building in place.
54587 ac_srcdir=.
54588 ac_top_srcdir=$ac_top_builddir_sub
54589 ac_abs_top_srcdir=$ac_pwd ;;
54590 [\\/]* | ?:[\\/]* ) # Absolute name.
54591 ac_srcdir=$srcdir$ac_dir_suffix;
54592 ac_top_srcdir=$srcdir
54593 ac_abs_top_srcdir=$srcdir ;;
54594 *) # Relative name.
54595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54596 ac_top_srcdir=$ac_top_build_prefix$srcdir
54597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54598 esac
54599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54600
54601
54602 cd "$ac_dir"
54603
54604 # Check for guested configure; otherwise get Cygnus style configure.
54605 if test -f "$ac_srcdir/configure.gnu"; then
54606 ac_sub_configure=$ac_srcdir/configure.gnu
54607 elif test -f "$ac_srcdir/configure"; then
54608 ac_sub_configure=$ac_srcdir/configure
54609 elif test -f "$ac_srcdir/configure.in"; then
54610 # This should be Cygnus configure.
54611 ac_sub_configure=$ac_aux_dir/configure
54612 else
54613 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54614 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54615 ac_sub_configure=
54616 fi
54617
54618 # The recursion is here.
54619 if test -n "$ac_sub_configure"; then
54620 # Make the cache file name correct relative to the subdirectory.
54621 case $cache_file in
54622 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54623 *) # Relative name.
54624 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54625 esac
54626
54627 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54628 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54629 # The eval makes quoting arguments work.
54630 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54631 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54632 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54633 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54634 { (exit 1); exit 1; }; }
54635 fi
54636
54637 cd "$ac_popdir"
54638 done
54639 fi
54640
54641
54642 echo
54643 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54644 echo ""
54645 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54646 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54647
54648 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54649 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54650 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54651 if test "$wxUSE_UNICODE" = "yes"; then
54652 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54653 echo " (using UTF-8)"
54654 else
54655 echo " (using wchar_t)"
54656 fi
54657 else
54658 echo
54659 fi
54660
54661 echo " What level of wxWidgets compatibility should be enabled?"
54662 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54663 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54664
54665 echo " Which libraries should wxWidgets use?"
54666 echo " STL ${wxUSE_STL}"
54667 echo " jpeg ${wxUSE_LIBJPEG-none}"
54668 echo " png ${wxUSE_LIBPNG-none}"
54669 echo " regex ${wxUSE_REGEX}"
54670 echo " tiff ${wxUSE_LIBTIFF-none}"
54671 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54672 echo " xpm ${wxUSE_LIBXPM-none}"
54673 fi
54674 echo " zlib ${wxUSE_ZLIB}"
54675 echo " expat ${wxUSE_EXPAT}"
54676 echo " libmspack ${wxUSE_LIBMSPACK}"
54677 echo " sdl ${wxUSE_LIBSDL}"
54678
54679 echo ""
54680