]> git.saurik.com Git - wxWidgets.git/blob - configure
reverted accidental change to this file as part of rev 48732
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48648 2007-09-13 06:24:14Z PC .
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_ODBC
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_ODBC
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MAC_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_OS2_1
884 COND_PLATFORM_UNIX_0
885 COND_PLATFORM_UNIX_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
892 COND_SHARED_0
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
909 COND_TOOLKIT_
910 COND_TOOLKIT_COCOA
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB
914 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL
927 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11
943 COND_TOOLKIT_X11_USE_GUI_1
944 COND_UNICODE_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
947 COND_USE_GUI_0
948 COND_USE_GUI_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_ODBC_1
956 COND_USE_OPENGL_1
957 COND_USE_PCH_1
958 COND_USE_PLUGINS_0
959 COND_USE_RTTI_0
960 COND_USE_RTTI_1
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSION_0
965 COND_USE_SOVERSOLARIS_1
966 COND_USE_STC_1
967 COND_USE_THREADS_0
968 COND_USE_THREADS_1
969 COND_USE_XRC_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
972 COND_WXUNIV_0
973 COND_WXUNIV_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
981 DEREZ
982 SHARED
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
985 USE_GUI
986 AFMINSTALL
987 WIN32INSTALL
988 TOOLKIT
989 TOOLKIT_DIR
990 TOOLCHAIN_NAME
991 TOOLCHAIN_FULLNAME
992 cross_compiling
993 WIDGET_SET
994 WX_RELEASE
995 WX_VERSION
996 WX_SUBVERSION
997 WX_CHARTYPE
998 WX_DEBUGTYPE
999 WXCONFIG_CPPFLAGS
1000 WXCONFIG_CFLAGS
1001 WXCONFIG_CXXFLAGS
1002 WXCONFIG_LIBS
1003 WXCONFIG_RPATH
1004 WXCONFIG_LDFLAGS_GUI
1005 WXCONFIG_RESFLAGS
1006 EXE_LINKER
1007 GUIDIST
1008 DISTDIR
1009 SAMPLES_SUBDIRS
1010 LDFLAGS_GL
1011 OPENGL_LIBS
1012 DMALLOC_LIBS
1013 WX_VERSION_TAG
1014 RESCOMP
1015 RESFLAGS
1016 RESPROGRAMOBJ
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1019 LIBWXMACRES
1020 POSTLINK_COMMAND
1021 MACSETFILE
1022 GCC
1023 DLLTOOL
1024 CPPUNIT_CONFIG
1025 LIBOBJS
1026 LTLIBOBJS'
1027 ac_subst_files=''
1028 ac_precious_vars='build_alias
1029 host_alias
1030 target_alias
1031 CC
1032 CFLAGS
1033 LDFLAGS
1034 LIBS
1035 CPPFLAGS
1036 CPP
1037 CXX
1038 CXXFLAGS
1039 CCC
1040 PKG_CONFIG
1041 DIRECTFB_CFLAGS
1042 DIRECTFB_LIBS
1043 XMKMF
1044 PANGOX_CFLAGS
1045 PANGOX_LIBS
1046 PANGOFT2_CFLAGS
1047 PANGOFT2_LIBS
1048 PANGOXFT_CFLAGS
1049 PANGOXFT_LIBS
1050 GTKPRINT_CFLAGS
1051 GTKPRINT_LIBS
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1054 GNOMEVFS_CFLAGS
1055 GNOMEVFS_LIBS
1056 HILDON_CFLAGS
1057 HILDON_LIBS
1058 CAIRO_CFLAGS
1059 CAIRO_LIBS
1060 GST_CFLAGS
1061 GST_LIBS'
1062 ac_subdirs_all='src/expat'
1063
1064 # Initialize some variables set by options.
1065 ac_init_help=
1066 ac_init_version=false
1067 # The variables have the same names as the options, with
1068 # dashes changed to underlines.
1069 cache_file=/dev/null
1070 exec_prefix=NONE
1071 no_create=
1072 no_recursion=
1073 prefix=NONE
1074 program_prefix=NONE
1075 program_suffix=NONE
1076 program_transform_name=s,x,x,
1077 silent=
1078 site=
1079 srcdir=
1080 verbose=
1081 x_includes=NONE
1082 x_libraries=NONE
1083
1084 # Installation directory options.
1085 # These are left unexpanded so users can "make install exec_prefix=/foo"
1086 # and all the variables that are supposed to be based on exec_prefix
1087 # by default will actually change.
1088 # Use braces instead of parens because sh, perl, etc. also accept them.
1089 # (The list follows the same order as the GNU Coding Standards.)
1090 bindir='${exec_prefix}/bin'
1091 sbindir='${exec_prefix}/sbin'
1092 libexecdir='${exec_prefix}/libexec'
1093 datarootdir='${prefix}/share'
1094 datadir='${datarootdir}'
1095 sysconfdir='${prefix}/etc'
1096 sharedstatedir='${prefix}/com'
1097 localstatedir='${prefix}/var'
1098 includedir='${prefix}/include'
1099 oldincludedir='/usr/include'
1100 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1101 infodir='${datarootdir}/info'
1102 htmldir='${docdir}'
1103 dvidir='${docdir}'
1104 pdfdir='${docdir}'
1105 psdir='${docdir}'
1106 libdir='${exec_prefix}/lib'
1107 localedir='${datarootdir}/locale'
1108 mandir='${datarootdir}/man'
1109
1110 ac_prev=
1111 ac_dashdash=
1112 for ac_option
1113 do
1114 # If the previous option needs an argument, assign it.
1115 if test -n "$ac_prev"; then
1116 eval $ac_prev=\$ac_option
1117 ac_prev=
1118 continue
1119 fi
1120
1121 case $ac_option in
1122 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1123 *) ac_optarg=yes ;;
1124 esac
1125
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1127
1128 case $ac_dashdash$ac_option in
1129 --)
1130 ac_dashdash=yes ;;
1131
1132 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1133 ac_prev=bindir ;;
1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1135 bindir=$ac_optarg ;;
1136
1137 -build | --build | --buil | --bui | --bu)
1138 ac_prev=build_alias ;;
1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1140 build_alias=$ac_optarg ;;
1141
1142 -cache-file | --cache-file | --cache-fil | --cache-fi \
1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1144 ac_prev=cache_file ;;
1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1147 cache_file=$ac_optarg ;;
1148
1149 --config-cache | -C)
1150 cache_file=config.cache ;;
1151
1152 -datadir | --datadir | --datadi | --datad)
1153 ac_prev=datadir ;;
1154 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1155 datadir=$ac_optarg ;;
1156
1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1158 | --dataroo | --dataro | --datar)
1159 ac_prev=datarootdir ;;
1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1162 datarootdir=$ac_optarg ;;
1163
1164 -disable-* | --disable-*)
1165 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1171 eval enable_$ac_feature=no ;;
1172
1173 -docdir | --docdir | --docdi | --doc | --do)
1174 ac_prev=docdir ;;
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir=$ac_optarg ;;
1177
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1179 ac_prev=dvidir ;;
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir=$ac_optarg ;;
1182
1183 -enable-* | --enable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=\$ac_optarg ;;
1191
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev=exec_prefix ;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix=$ac_optarg ;;
1200
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1203 with_gas=yes ;;
1204
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help=long ;;
1207 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208 ac_init_help=recursive ;;
1209 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210 ac_init_help=short ;;
1211
1212 -host | --host | --hos | --ho)
1213 ac_prev=host_alias ;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias=$ac_optarg ;;
1216
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1218 ac_prev=htmldir ;;
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1220 | --ht=*)
1221 htmldir=$ac_optarg ;;
1222
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev=includedir ;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir=$ac_optarg ;;
1229
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1231 ac_prev=infodir ;;
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir=$ac_optarg ;;
1234
1235 -libdir | --libdir | --libdi | --libd)
1236 ac_prev=libdir ;;
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir=$ac_optarg ;;
1239
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev=libexecdir ;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir=$ac_optarg ;;
1246
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev=localedir ;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir=$ac_optarg ;;
1251
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev=localstatedir ;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir=$ac_optarg ;;
1258
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1260 ac_prev=mandir ;;
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir=$ac_optarg ;;
1263
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1266 with_fp=no ;;
1267
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1270 no_create=yes ;;
1271
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274 no_recursion=yes ;;
1275
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev=oldincludedir ;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir=$ac_optarg ;;
1284
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1286 ac_prev=prefix ;;
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix=$ac_optarg ;;
1289
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev=program_prefix ;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix=$ac_optarg ;;
1296
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev=program_suffix ;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix=$ac_optarg ;;
1303
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev=program_transform_name ;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name=$ac_optarg ;;
1320
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1322 ac_prev=pdfdir ;;
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir=$ac_optarg ;;
1325
1326 -psdir | --psdir | --psdi | --psd | --ps)
1327 ac_prev=psdir ;;
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329 psdir=$ac_optarg ;;
1330
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1333 silent=yes ;;
1334
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1336 ac_prev=sbindir ;;
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1338 | --sbi=* | --sb=*)
1339 sbindir=$ac_optarg ;;
1340
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1344 | --sha | --sh)
1345 ac_prev=sharedstatedir ;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1349 | --sha=* | --sh=*)
1350 sharedstatedir=$ac_optarg ;;
1351
1352 -site | --site | --sit)
1353 ac_prev=site ;;
1354 -site=* | --site=* | --sit=*)
1355 site=$ac_optarg ;;
1356
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1358 ac_prev=srcdir ;;
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir=$ac_optarg ;;
1361
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev=sysconfdir ;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir=$ac_optarg ;;
1368
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev=target_alias ;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias=$ac_optarg ;;
1373
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375 verbose=yes ;;
1376
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version=: ;;
1379
1380 -with-* | --with-*)
1381 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=\$ac_optarg ;;
1388
1389 -without-* | --without-*)
1390 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1393 { echo "$as_me: error: invalid package name: $ac_package" >&2
1394 { (exit 1); exit 1; }; }
1395 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1396 eval with_$ac_package=no ;;
1397
1398 --x)
1399 # Obsolete; use --with-x.
1400 with_x=yes ;;
1401
1402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1403 | --x-incl | --x-inc | --x-in | --x-i)
1404 ac_prev=x_includes ;;
1405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1407 x_includes=$ac_optarg ;;
1408
1409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1411 ac_prev=x_libraries ;;
1412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1414 x_libraries=$ac_optarg ;;
1415
1416 -*) { echo "$as_me: error: unrecognized option: $ac_option
1417 Try \`$0 --help' for more information." >&2
1418 { (exit 1); exit 1; }; }
1419 ;;
1420
1421 *=*)
1422 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1423 # Reject names that are not valid shell variable names.
1424 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1425 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1426 { (exit 1); exit 1; }; }
1427 eval $ac_envvar=\$ac_optarg
1428 export $ac_envvar ;;
1429
1430 *)
1431 # FIXME: should be removed in autoconf 3.0.
1432 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1434 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 ;;
1437
1438 esac
1439 done
1440
1441 if test -n "$ac_prev"; then
1442 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1443 { echo "$as_me: error: missing argument to $ac_option" >&2
1444 { (exit 1); exit 1; }; }
1445 fi
1446
1447 # Be sure to have absolute directory names.
1448 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1449 datadir sysconfdir sharedstatedir localstatedir includedir \
1450 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1451 libdir localedir mandir
1452 do
1453 eval ac_val=\$$ac_var
1454 case $ac_val in
1455 [\\/$]* | ?:[\\/]* ) continue;;
1456 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1457 esac
1458 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1459 { (exit 1); exit 1; }; }
1460 done
1461
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1465 build=$build_alias
1466 host=$host_alias
1467 target=$target_alias
1468
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471 if test "x$build_alias" = x; then
1472 cross_compiling=maybe
1473 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1474 If a cross compiler is detected then cross compile mode will be used." >&2
1475 elif test "x$build_alias" != "x$host_alias"; then
1476 cross_compiling=yes
1477 fi
1478 fi
1479
1480 ac_tool_prefix=
1481 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1482
1483 test "$silent" = yes && exec 6>/dev/null
1484
1485
1486 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1487 ac_ls_di=`ls -di .` &&
1488 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1489 { echo "$as_me: error: Working directory cannot be determined" >&2
1490 { (exit 1); exit 1; }; }
1491 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492 { echo "$as_me: error: pwd does not report name of working directory" >&2
1493 { (exit 1); exit 1; }; }
1494
1495
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir=`$as_dirname -- "$0" ||
1501 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$0" : 'X\(//\)[^/]' \| \
1503 X"$0" : 'X\(//\)$' \| \
1504 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1505 echo X"$0" |
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1507 s//\1/
1508 q
1509 }
1510 /^X\(\/\/\)[^/].*/{
1511 s//\1/
1512 q
1513 }
1514 /^X\(\/\/\)$/{
1515 s//\1/
1516 q
1517 }
1518 /^X\(\/\).*/{
1519 s//\1/
1520 q
1521 }
1522 s/.*/./; q'`
1523 srcdir=$ac_confdir
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 srcdir=..
1526 fi
1527 else
1528 ac_srcdir_defaulted=no
1529 fi
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1532 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1533 { (exit 1); exit 1; }; }
1534 fi
1535 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1536 ac_abs_confdir=`(
1537 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1538 { (exit 1); exit 1; }; }
1539 pwd)`
1540 # When building in place, set srcdir=.
1541 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 srcdir=.
1543 fi
1544 # Remove unnecessary trailing slashes from srcdir.
1545 # Double slashes in file names in object file debugging info
1546 # mess up M-x gdb in Emacs.
1547 case $srcdir in
1548 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1549 esac
1550 for ac_var in $ac_precious_vars; do
1551 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_env_${ac_var}_value=\$${ac_var}
1553 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1554 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1555 done
1556
1557 #
1558 # Report the --help message.
1559 #
1560 if test "$ac_init_help" = "long"; then
1561 # Omit some internal or obsolete options to make the list less imposing.
1562 # This message is too long to be a string in the A/UX 3.1 sh.
1563 cat <<_ACEOF
1564 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1565
1566 Usage: $0 [OPTION]... [VAR=VALUE]...
1567
1568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1569 VAR=VALUE. See below for descriptions of some of the useful variables.
1570
1571 Defaults for the options are specified in brackets.
1572
1573 Configuration:
1574 -h, --help display this help and exit
1575 --help=short display options specific to this package
1576 --help=recursive display the short help of all the included packages
1577 -V, --version display version information and exit
1578 -q, --quiet, --silent do not print \`checking...' messages
1579 --cache-file=FILE cache test results in FILE [disabled]
1580 -C, --config-cache alias for \`--cache-file=config.cache'
1581 -n, --no-create do not create output files
1582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1583
1584 Installation directories:
1585 --prefix=PREFIX install architecture-independent files in PREFIX
1586 [$ac_default_prefix]
1587 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 [PREFIX]
1589
1590 By default, \`make install' will install all the files in
1591 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1592 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1593 for instance \`--prefix=\$HOME'.
1594
1595 For better control, use the options below.
1596
1597 Fine tuning of the installation directories:
1598 --bindir=DIR user executables [EPREFIX/bin]
1599 --sbindir=DIR system admin executables [EPREFIX/sbin]
1600 --libexecdir=DIR program executables [EPREFIX/libexec]
1601 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1602 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1603 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1604 --libdir=DIR object code libraries [EPREFIX/lib]
1605 --includedir=DIR C header files [PREFIX/include]
1606 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1607 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1608 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1609 --infodir=DIR info documentation [DATAROOTDIR/info]
1610 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1611 --mandir=DIR man documentation [DATAROOTDIR/man]
1612 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1613 --htmldir=DIR html documentation [DOCDIR]
1614 --dvidir=DIR dvi documentation [DOCDIR]
1615 --pdfdir=DIR pdf documentation [DOCDIR]
1616 --psdir=DIR ps documentation [DOCDIR]
1617 _ACEOF
1618
1619 cat <<\_ACEOF
1620
1621 X features:
1622 --x-includes=DIR X include files are in DIR
1623 --x-libraries=DIR X library files are in DIR
1624
1625 System types:
1626 --build=BUILD configure for building on BUILD [guessed]
1627 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1628 --target=TARGET configure for building compilers for TARGET [HOST]
1629 _ACEOF
1630 fi
1631
1632 if test -n "$ac_init_help"; then
1633 case $ac_init_help in
1634 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1635 esac
1636 cat <<\_ACEOF
1637
1638 Optional Features:
1639 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1640 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1641 --disable-gui don't build GUI parts of the library
1642 --enable-monolithic build wxWidgets as single library
1643 --enable-plugins build parts of wxWidgets as loadable components
1644 --enable-official_build official build of wxWidgets (win32 DLL only)
1645 --enable-vendor=VENDOR vendor name (win32 DLL only)
1646 --disable-all-features disable all optional features to build minimal library
1647 --enable-universal use wxWidgets GUI controls instead of native ones
1648 --enable-nanox use NanoX
1649 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1650 --enable-gpe use GNOME PDA Environment features if possible
1651 --disable-shared create static library instead of shared
1652 --disable-optimise create optimised code
1653 --enable-debug same as debug_flag and debug_info
1654 --enable-stl use STL for containers
1655 --enable-std_iostreams use standard C++ stream classes
1656 --enable-std_string use standard C++ string classes
1657 --disable-unicode compile without Unicode support
1658 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1659 --enable-utf8 use UTF-8 representation for strings (Unix only)
1660 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1661 --enable-extended_rtti use extended RTTI (XTI)
1662 --enable-omf use OMF object format
1663 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1664 --enable-debug_info create code with debugging information
1665 --enable-debug_gdb create code with extra GDB debugging information
1666 --enable-debug_cntxt use wxDebugContext
1667 --enable-mem_tracing create code with memory tracing
1668 --enable-profile create code with profiling information
1669 --enable-no_rtti create code without RTTI information
1670 --enable-no_exceptions create code without C++ exceptions handling
1671 --enable-permissive compile code disregarding strict ANSI
1672 --enable-no_deps create code without dependency information
1673 --disable-vararg_macros don't use vararg macros, even if they are supported
1674 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1675 --enable-compat26 enable wxWidgets 2.6 compatibility
1676 --disable-compat28 disable wxWidgets 2.8 compatibility
1677 --disable-rpath disable use of rpath for uninstalled builds
1678 --enable-objc_uniquifying enable Objective-C class name uniquifying
1679 --disable-visibility disable use of ELF symbols visibility even if supported
1680 --enable-intl use internationalization system
1681 --enable-config use wxConfig (and derived) classes
1682 --enable-protocols use wxProtocol and derived classes
1683 --enable-ftp use wxFTP (requires wxProtocol
1684 --enable-http use wxHTTP (requires wxProtocol
1685 --enable-fileproto use wxFileProto class (requires wxProtocol
1686 --enable-sockets use socket/network classes
1687 --enable-ole use OLE classes (Win32 only)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication (wxSocket etc.)
1690 --enable-baseevtloop use event loop in console programs too
1691 --enable-epollloop use wxEpollDispatcher class (Linux only)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding/decoding functions
1696 --enable-backtrace use wxStackWalker class for getting backtraces
1697 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class for DLL loading
1703 --enable-dynamicloader use (new) wxDynamicLibrary class
1704 --enable-exceptions build exception-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-snglinst use wxSingleInstanceChecker class
1718 --enable-stdpaths use wxStandardPaths class
1719 --enable-stopwatch use wxStopWatch class
1720 --enable-streams use wxStream etc classes
1721 --enable-sysoptions use wxSystemOptions
1722 --enable-tarstream use wxTar streams
1723 --enable-textbuf use wxTextBuffer class
1724 --enable-textfile use wxTextFile class
1725 --enable-timer use wxTimer class
1726 --enable-sound use wxSound class
1727 --enable-mediactrl use wxMediaCtrl class
1728 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1729 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1730 --enable-zipstream use wxZip streams
1731 --enable-url use wxURL class
1732 --enable-variant use wxVariant class
1733 --enable-protocol use wxProtocol class
1734 --enable-protocol-http HTTP support in wxProtocol
1735 --enable-protocol-ftp FTP support in wxProtocol
1736 --enable-protocol-file FILE support in wxProtocol
1737 --enable-threads use threads
1738 --enable-iniconf use wxIniConfig (Win32 only)
1739 --enable-regkey use wxRegKey class (Win32 only)
1740 --enable-docview use document view architecture
1741 --enable-help use help subsystem
1742 --enable-mshtmlhelp use MS HTML Help (win32)
1743 --enable-html use wxHTML sub-library
1744 --enable-htmlhelp use wxHTML-based help
1745 --enable-xrc use XRC resources sub-library
1746 --enable-aui use AUI docking library
1747 --enable-stc use wxStyledTextCtrl library
1748 --enable-constraints use layout-constraints system
1749 --enable-printarch use printing architecture
1750 --enable-mdi use multiple document interface architecture
1751 --enable-mdidoc use docview architecture with MDI
1752 --enable-loggui use standard GUI logger
1753 --enable-logwin use wxLogWindow
1754 --enable-logdialog use wxLogDialog
1755 --enable-webkit use wxWebKitCtrl (Mac)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context 2D drawing API
1758 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1759 --enable-svg use wxSVGFileDC device context
1760 --enable-clipboard use wxClipboard class
1761 --enable-dnd use Drag'n'Drop classes
1762 --enable-metafile use win32 metafiles
1763 --disable-controls disable compilation of all standard controls
1764 --enable-accel use accelerators
1765 --enable-animatectrl use wxAnimationCtrl class
1766 --enable-button use wxButton class
1767 --enable-bmpbutton use wxBitmapButton class
1768 --enable-bmpcombobox use wxBitmapComboBox class
1769 --enable-calendar use wxCalendarCtrl class
1770 --enable-caret use wxCaret class
1771 --enable-checkbox use wxCheckBox class
1772 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1773 --enable-choice use wxChoice class
1774 --enable-choicebook use wxChoicebook class
1775 --enable-collpane use wxCollapsiblePane class
1776 --enable-colourpicker use wxColourPickerCtrl class
1777 --enable-combobox use wxComboBox class
1778 --enable-comboctrl use wxComboCtrl class
1779 --enable-datepick use wxDatePickerCtrl class
1780 --enable-dirpicker use wxDirPickerCtrl class
1781 --enable-display use wxDisplay class
1782 --enable-detect_sm use code to detect X11 session manager
1783 --enable-editablebox use wxEditableListBox class
1784 --enable-filepicker use wxFilePickerCtrl class
1785 --enable-filectrl use wxFileCtrl class
1786 --enable-fontpicker use wxFontPickerCtrl class
1787 --enable-gauge use wxGauge class
1788 --enable-grid use wxGrid class
1789 --enable-dataviewctrl use wxDataViewCtrl class
1790 --enable-hyperlink use wxHyperlinkCtrl class
1791 --enable-imaglist use wxImageList class
1792 --enable-listbook use wxListbook class
1793 --enable-listbox use wxListBox class
1794 --enable-listctrl use wxListCtrl class
1795 --enable-notebook use wxNotebook class
1796 --enable-odcombobox use wxOwnerDrawnComboBox class
1797 --enable-radiobox use wxRadioBox class
1798 --enable-radiobtn use wxRadioButton class
1799 --enable-sash use wxSashWindow class
1800 --enable-scrollbar use wxScrollBar class and scrollable windows
1801 --enable-searchctrl use wxSearchCtrl class
1802 --enable-slider use wxSlider class
1803 --enable-spinbtn use wxSpinButton class
1804 --enable-spinctrl use wxSpinCtrl class
1805 --enable-splitter use wxSplitterWindow class
1806 --enable-statbmp use wxStaticBitmap class
1807 --enable-statbox use wxStaticBox class
1808 --enable-statline use wxStaticLine class
1809 --enable-stattext use wxStaticText class
1810 --enable-statusbar use wxStatusBar class
1811 --enable-tabdialog use wxTabControl class
1812 --enable-taskbaricon use wxTaskBarIcon class
1813 --enable-textctrl use wxTextCtrl class
1814 --enable-togglebtn use wxToggleButton class
1815 --enable-toolbar use wxToolBar class
1816 --enable-tbarnative use native wxToolBar class
1817 --enable-treebook use wxTreebook class
1818 --enable-toolbook use wxToolbook class
1819 --enable-treectrl use wxTreeCtrl class
1820 --enable-tipwindow use wxTipWindow class
1821 --enable-popupwin use wxPopUpWindow class
1822 --enable-commondlg use all common dialogs
1823 --enable-aboutdlg use wxAboutBox
1824 --enable-choicedlg use wxChoiceDialog
1825 --enable-coldlg use wxColourDialog
1826 --enable-filedlg use wxFileDialog
1827 --enable-finddlg use wxFindReplaceDialog
1828 --enable-fontdlg use wxFontDialog
1829 --enable-dirdlg use wxDirDialog
1830 --enable-msgdlg use wxMessageDialog
1831 --enable-numberdlg use wxNumberEntryDialog
1832 --enable-splash use wxSplashScreen
1833 --enable-textdlg use wxTextDialog
1834 --enable-tipdlg use startup tips
1835 --enable-progressdlg use wxProgressDialog
1836 --enable-wizarddlg use wxWizard
1837 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1838 --enable-miniframe use wxMiniFrame class
1839 --enable-tooltips use wxToolTip class
1840 --enable-splines use spline drawing code
1841 --enable-mousewheel use mousewheel
1842 --enable-validators use wxValidator and derived classes
1843 --enable-busyinfo use wxBusyInfo
1844 --enable-joystick use wxJoystick
1845 --enable-metafiles use wxMetaFile (Win32 only)
1846 --enable-dragimage use wxDragImage
1847 --enable-accessibility enable accessibility support
1848 --enable-palette use wxPalette class
1849 --enable-image use wxImage class
1850 --enable-gif use gif images (GIF file format)
1851 --enable-pcx use pcx images (PCX file format)
1852 --enable-tga use tga images (TGA file format)
1853 --enable-iff use iff images (IFF file format)
1854 --enable-pnm use pnm images (PNM file format)
1855 --enable-xpm use xpm images (XPM file format)
1856 --enable-icocur use Windows ICO and CUR formats
1857 --enable-dccache cache temporary wxDC objects (Win32 only)
1858 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1859 --enable-ownerdrawn use owner drawn controls (Win32 only)
1860 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1861 --enable-wxdib use wxDIB class (Win32 only)
1862 --disable-largefile omit support for large files
1863 --disable-gtktest do not try to compile and run a test GTK+ program
1864 --disable-gtktest Do not try to compile and run a test GTK program
1865 --disable-sdltest Do not try to compile and run a test SDL program
1866 --enable-omf use OMF object format (OS/2)
1867 --disable-dependency-tracking
1868 don't use dependency tracking even if the compiler
1869 can
1870 --disable-precomp-headers
1871 don't use precompiled headers even if compiler can
1872
1873 Optional Packages:
1874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1876 --without-subdirs don't generate makefiles for samples/demos/...
1877 --with-flavour=NAME specify a name to identify this build
1878 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1879 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1880 --with-motif use Motif/Lesstif
1881 --with-mac use Mac OS X
1882 --with-cocoa use Cocoa
1883 --with-wine use Wine
1884 --with-msw use MS-Windows
1885 --with-pm use OS/2 Presentation Manager
1886 --with-mgl use SciTech MGL
1887 --with-directfb use DirectFB
1888 --with-microwin use MicroWindows
1889 --with-x11 use X11
1890 --with-libpng use libpng (PNG image format)
1891 --with-libjpeg use libjpeg (JPEG file format)
1892 --with-libtiff use libtiff (TIFF file format)
1893 --with-libxpm use libxpm (XPM file format)
1894 --with-libmspack use libmspack (CHM help files loading)
1895 --without-gtkprint don't use GTK printing support
1896 --without-gnomeprint don't use GNOME printing libraries
1897 --with-gnomevfs use GNOME VFS for associating MIME types
1898 --with-hildon use Hildon framework for Nokia 770
1899 --with-opengl use OpenGL (or Mesa)
1900 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1901 --with-sdl use SDL for audio on Unix
1902 --with-regex enable support for wxRegEx class
1903 --with-zlib use zlib for LZW compression
1904 --with-odbc use the IODBC and wxODBC classes
1905 --with-expat enable XML support using expat parser
1906 --with-macosx-sdk=PATH use an OS X SDK at PATH
1907 --with-macosx-version-min=VER build binaries which require at least this OS X version
1908 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1909 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1910 --with-x use the X Window System
1911 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1912 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1913 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1914 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1915 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1916
1917 Some influential environment variables:
1918 CC C compiler command
1919 CFLAGS C compiler flags
1920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1921 nonstandard directory <lib dir>
1922 LIBS libraries to pass to the linker, e.g. -l<library>
1923 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1924 you have headers in a nonstandard directory <include dir>
1925 CPP C preprocessor
1926 CXX C++ compiler command
1927 CXXFLAGS C++ compiler flags
1928 PKG_CONFIG path to pkg-config utility
1929 DIRECTFB_CFLAGS
1930 C compiler flags for DIRECTFB, overriding pkg-config
1931 DIRECTFB_LIBS
1932 linker flags for DIRECTFB, overriding pkg-config
1933 XMKMF Path to xmkmf, Makefile generator for X Window System
1934 PANGOX_CFLAGS
1935 C compiler flags for PANGOX, overriding pkg-config
1936 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1937 PANGOFT2_CFLAGS
1938 C compiler flags for PANGOFT2, overriding pkg-config
1939 PANGOFT2_LIBS
1940 linker flags for PANGOFT2, overriding pkg-config
1941 PANGOXFT_CFLAGS
1942 C compiler flags for PANGOXFT, overriding pkg-config
1943 PANGOXFT_LIBS
1944 linker flags for PANGOXFT, overriding pkg-config
1945 GTKPRINT_CFLAGS
1946 C compiler flags for GTKPRINT, overriding pkg-config
1947 GTKPRINT_LIBS
1948 linker flags for GTKPRINT, overriding pkg-config
1949 LIBGNOMEPRINTUI_CFLAGS
1950 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 LIBGNOMEPRINTUI_LIBS
1952 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1953 GNOMEVFS_CFLAGS
1954 C compiler flags for GNOMEVFS, overriding pkg-config
1955 GNOMEVFS_LIBS
1956 linker flags for GNOMEVFS, overriding pkg-config
1957 HILDON_CFLAGS
1958 C compiler flags for HILDON, overriding pkg-config
1959 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1960 CAIRO_CFLAGS
1961 C compiler flags for CAIRO, overriding pkg-config
1962 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1963 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1964 GST_LIBS linker flags for GST, overriding pkg-config
1965
1966 Use these variables to override the choices made by `configure' or to help
1967 it to find libraries and programs with nonstandard names/locations.
1968
1969 Report bugs to <wx-dev@lists.wxwidgets.org>.
1970 _ACEOF
1971 ac_status=$?
1972 fi
1973
1974 if test "$ac_init_help" = "recursive"; then
1975 # If there are subdirs, report their specific --help.
1976 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1977 test -d "$ac_dir" || continue
1978 ac_builddir=.
1979
1980 case "$ac_dir" in
1981 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1982 *)
1983 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1984 # A ".." for each directory in $ac_dir_suffix.
1985 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1986 case $ac_top_builddir_sub in
1987 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1988 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1989 esac ;;
1990 esac
1991 ac_abs_top_builddir=$ac_pwd
1992 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1993 # for backward compatibility:
1994 ac_top_builddir=$ac_top_build_prefix
1995
1996 case $srcdir in
1997 .) # We are building in place.
1998 ac_srcdir=.
1999 ac_top_srcdir=$ac_top_builddir_sub
2000 ac_abs_top_srcdir=$ac_pwd ;;
2001 [\\/]* | ?:[\\/]* ) # Absolute name.
2002 ac_srcdir=$srcdir$ac_dir_suffix;
2003 ac_top_srcdir=$srcdir
2004 ac_abs_top_srcdir=$srcdir ;;
2005 *) # Relative name.
2006 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2007 ac_top_srcdir=$ac_top_build_prefix$srcdir
2008 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2009 esac
2010 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2011
2012 cd "$ac_dir" || { ac_status=$?; continue; }
2013 # Check for guested configure.
2014 if test -f "$ac_srcdir/configure.gnu"; then
2015 echo &&
2016 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2017 elif test -f "$ac_srcdir/configure"; then
2018 echo &&
2019 $SHELL "$ac_srcdir/configure" --help=recursive
2020 else
2021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2022 fi || ac_status=$?
2023 cd "$ac_pwd" || { ac_status=$?; break; }
2024 done
2025 fi
2026
2027 test -n "$ac_init_help" && exit $ac_status
2028 if $ac_init_version; then
2029 cat <<\_ACEOF
2030 wxWidgets configure 2.9.0
2031 generated by GNU Autoconf 2.61
2032
2033 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2034 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2035 This configure script is free software; the Free Software Foundation
2036 gives unlimited permission to copy, distribute and modify it.
2037 _ACEOF
2038 exit
2039 fi
2040 cat >config.log <<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2043
2044 It was created by wxWidgets $as_me 2.9.0, which was
2045 generated by GNU Autoconf 2.61. Invocation command line was
2046
2047 $ $0 $@
2048
2049 _ACEOF
2050 exec 5>>config.log
2051 {
2052 cat <<_ASUNAME
2053 ## --------- ##
2054 ## Platform. ##
2055 ## --------- ##
2056
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2065
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073
2074 _ASUNAME
2075
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 echo "PATH: $as_dir"
2082 done
2083 IFS=$as_save_IFS
2084
2085 } >&5
2086
2087 cat >&5 <<_ACEOF
2088
2089
2090 ## ----------- ##
2091 ## Core tests. ##
2092 ## ----------- ##
2093
2094 _ACEOF
2095
2096
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_configure_args=
2103 ac_configure_args0=
2104 ac_configure_args1=
2105 ac_must_keep_next=false
2106 for ac_pass in 1 2
2107 do
2108 for ac_arg
2109 do
2110 case $ac_arg in
2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113 | -silent | --silent | --silen | --sile | --sil)
2114 continue ;;
2115 *\'*)
2116 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2117 esac
2118 case $ac_pass in
2119 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2120 2)
2121 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2122 if test $ac_must_keep_next = true; then
2123 ac_must_keep_next=false # Got value, back to normal.
2124 else
2125 case $ac_arg in
2126 *=* | --config-cache | -C | -disable-* | --disable-* \
2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129 | -with-* | --with-* | -without-* | --without-* | --x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2132 esac
2133 ;;
2134 -* ) ac_must_keep_next=true ;;
2135 esac
2136 fi
2137 ac_configure_args="$ac_configure_args '$ac_arg'"
2138 ;;
2139 esac
2140 done
2141 done
2142 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2143 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2144
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2152 {
2153 echo
2154
2155 cat <<\_ASBOX
2156 ## ---------------- ##
2157 ## Cache variables. ##
2158 ## ---------------- ##
2159 _ASBOX
2160 echo
2161 # The following way of writing the cache mishandles newlines in values,
2162 (
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2165 case $ac_val in #(
2166 *${as_nl}*)
2167 case $ac_var in #(
2168 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2169 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2170 esac
2171 case $ac_var in #(
2172 _ | IFS | as_nl) ;; #(
2173 *) $as_unset $ac_var ;;
2174 esac ;;
2175 esac
2176 done
2177 (set) 2>&1 |
2178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2179 *${as_nl}ac_space=\ *)
2180 sed -n \
2181 "s/'\''/'\''\\\\'\'''\''/g;
2182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2183 ;; #(
2184 *)
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2186 ;;
2187 esac |
2188 sort
2189 )
2190 echo
2191
2192 cat <<\_ASBOX
2193 ## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##
2196 _ASBOX
2197 echo
2198 for ac_var in $ac_subst_vars
2199 do
2200 eval ac_val=\$$ac_var
2201 case $ac_val in
2202 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 esac
2204 echo "$ac_var='\''$ac_val'\''"
2205 done | sort
2206 echo
2207
2208 if test -n "$ac_subst_files"; then
2209 cat <<\_ASBOX
2210 ## ------------------- ##
2211 ## File substitutions. ##
2212 ## ------------------- ##
2213 _ASBOX
2214 echo
2215 for ac_var in $ac_subst_files
2216 do
2217 eval ac_val=\$$ac_var
2218 case $ac_val in
2219 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220 esac
2221 echo "$ac_var='\''$ac_val'\''"
2222 done | sort
2223 echo
2224 fi
2225
2226 if test -s confdefs.h; then
2227 cat <<\_ASBOX
2228 ## ----------- ##
2229 ## confdefs.h. ##
2230 ## ----------- ##
2231 _ASBOX
2232 echo
2233 cat confdefs.h
2234 echo
2235 fi
2236 test "$ac_signal" != 0 &&
2237 echo "$as_me: caught signal $ac_signal"
2238 echo "$as_me: exit $exit_status"
2239 } >&5
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2242 exit $exit_status
2243 ' 0
2244 for ac_signal in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2246 done
2247 ac_signal=0
2248
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest* confdefs.h
2251
2252 # Predefined preprocessor variables.
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 _ACEOF
2262
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 _ACEOF
2267
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_STRING "$PACKAGE_STRING"
2271 _ACEOF
2272
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 _ACEOF
2277
2278
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer explicitly selected file to automatically selected ones.
2281 if test -n "$CONFIG_SITE"; then
2282 set x "$CONFIG_SITE"
2283 elif test "x$prefix" != xNONE; then
2284 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2285 else
2286 set x "$ac_default_prefix/share/config.site" \
2287 "$ac_default_prefix/etc/config.site"
2288 fi
2289 shift
2290 for ac_site_file
2291 do
2292 if test -r "$ac_site_file"; then
2293 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2294 echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2296 . "$ac_site_file"
2297 fi
2298 done
2299
2300 if test -r "$cache_file"; then
2301 # Some versions of bash will fail to source /dev/null (special
2302 # files actually), so we avoid doing that.
2303 if test -f "$cache_file"; then
2304 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2305 echo "$as_me: loading cache $cache_file" >&6;}
2306 case $cache_file in
2307 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2308 *) . "./$cache_file";;
2309 esac
2310 fi
2311 else
2312 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2313 echo "$as_me: creating cache $cache_file" >&6;}
2314 >$cache_file
2315 fi
2316
2317 # Check that the precious variables saved in the cache have kept the same
2318 # value.
2319 ac_cache_corrupted=false
2320 for ac_var in $ac_precious_vars; do
2321 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2322 eval ac_new_set=\$ac_env_${ac_var}_set
2323 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2324 eval ac_new_val=\$ac_env_${ac_var}_value
2325 case $ac_old_set,$ac_new_set in
2326 set,)
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2329 ac_cache_corrupted=: ;;
2330 ,set)
2331 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2332 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2333 ac_cache_corrupted=: ;;
2334 ,);;
2335 *)
2336 if test "x$ac_old_val" != "x$ac_new_val"; then
2337 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2338 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2339 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2340 echo "$as_me: former value: $ac_old_val" >&2;}
2341 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2342 echo "$as_me: current value: $ac_new_val" >&2;}
2343 ac_cache_corrupted=:
2344 fi;;
2345 esac
2346 # Pass precious variables to config.status.
2347 if test "$ac_new_set" = set; then
2348 case $ac_new_val in
2349 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 *) ac_arg=$ac_var=$ac_new_val ;;
2351 esac
2352 case " $ac_configure_args " in
2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2354 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2355 esac
2356 fi
2357 done
2358 if $ac_cache_corrupted; then
2359 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2360 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2362 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2363 { (exit 1); exit 1; }; }
2364 fi
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390 ac_ext=c
2391 ac_cpp='$CPP $CPPFLAGS'
2392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395
2396
2397
2398
2399
2400 ac_aux_dir=
2401 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2402 if test -f "$ac_dir/install-sh"; then
2403 ac_aux_dir=$ac_dir
2404 ac_install_sh="$ac_aux_dir/install-sh -c"
2405 break
2406 elif test -f "$ac_dir/install.sh"; then
2407 ac_aux_dir=$ac_dir
2408 ac_install_sh="$ac_aux_dir/install.sh -c"
2409 break
2410 elif test -f "$ac_dir/shtool"; then
2411 ac_aux_dir=$ac_dir
2412 ac_install_sh="$ac_aux_dir/shtool install -c"
2413 break
2414 fi
2415 done
2416 if test -z "$ac_aux_dir"; then
2417 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2418 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2419 { (exit 1); exit 1; }; }
2420 fi
2421
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2429
2430
2431 # Make sure we can run config.sub.
2432 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2433 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2434 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2435 { (exit 1); exit 1; }; }
2436
2437 { echo "$as_me:$LINENO: checking build system type" >&5
2438 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2439 if test "${ac_cv_build+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 else
2442 ac_build_alias=$build_alias
2443 test "x$ac_build_alias" = x &&
2444 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2445 test "x$ac_build_alias" = x &&
2446 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2447 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2448 { (exit 1); exit 1; }; }
2449 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2453
2454 fi
2455 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2456 echo "${ECHO_T}$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2458 *-*-*) ;;
2459 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2460 echo "$as_me: error: invalid value of canonical build" >&2;}
2461 { (exit 1); exit 1; }; };;
2462 esac
2463 build=$ac_cv_build
2464 ac_save_IFS=$IFS; IFS='-'
2465 set x $ac_cv_build
2466 shift
2467 build_cpu=$1
2468 build_vendor=$2
2469 shift; shift
2470 # Remember, the first character of IFS is used to create $*,
2471 # except with old shells:
2472 build_os=$*
2473 IFS=$ac_save_IFS
2474 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2475
2476
2477 { echo "$as_me:$LINENO: checking host system type" >&5
2478 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2479 if test "${ac_cv_host+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 if test "x$host_alias" = x; then
2483 ac_cv_host=$ac_cv_build
2484 else
2485 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2486 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2487 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2488 { (exit 1); exit 1; }; }
2489 fi
2490
2491 fi
2492 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2493 echo "${ECHO_T}$ac_cv_host" >&6; }
2494 case $ac_cv_host in
2495 *-*-*) ;;
2496 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2497 echo "$as_me: error: invalid value of canonical host" >&2;}
2498 { (exit 1); exit 1; }; };;
2499 esac
2500 host=$ac_cv_host
2501 ac_save_IFS=$IFS; IFS='-'
2502 set x $ac_cv_host
2503 shift
2504 host_cpu=$1
2505 host_vendor=$2
2506 shift; shift
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2509 host_os=$*
2510 IFS=$ac_save_IFS
2511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2512
2513
2514 { echo "$as_me:$LINENO: checking target system type" >&5
2515 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_target+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519 if test "x$target_alias" = x; then
2520 ac_cv_target=$ac_cv_host
2521 else
2522 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2523 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2524 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2526 fi
2527
2528 fi
2529 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2530 echo "${ECHO_T}$ac_cv_target" >&6; }
2531 case $ac_cv_target in
2532 *-*-*) ;;
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2534 echo "$as_me: error: invalid value of canonical target" >&2;}
2535 { (exit 1); exit 1; }; };;
2536 esac
2537 target=$ac_cv_target
2538 ac_save_IFS=$IFS; IFS='-'
2539 set x $ac_cv_target
2540 shift
2541 target_cpu=$1
2542 target_vendor=$2
2543 shift; shift
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2546 target_os=$*
2547 IFS=$ac_save_IFS
2548 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2549
2550
2551 # The aliases save the names the user supplied, while $host etc.
2552 # will get canonicalized.
2553 test -n "$target_alias" &&
2554 test "$program_prefix$program_suffix$program_transform_name" = \
2555 NONENONEs,x,x, &&
2556 program_prefix=${target_alias}-
2557
2558
2559
2560 wx_major_version_number=2
2561 wx_minor_version_number=9
2562 wx_release_number=0
2563 wx_subrelease_number=0
2564
2565 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2566 WX_VERSION=$WX_RELEASE.$wx_release_number
2567 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2568
2569 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2570
2571
2572 wx_top_builddir="`pwd`"
2573
2574
2575
2576
2577 USE_UNIX=1
2578 USE_OS2=0
2579 USE_WIN32=0
2580 USE_DOS=0
2581 USE_BEOS=0
2582 USE_MAC=0
2583
2584 USE_AIX=
2585 USE_BSD= USE_DARWIN= USE_FREEBSD=
2586 USE_GNU= USE_HPUX=
2587 USE_LINUX=
2588 USE_NETBSD=
2589 USE_OPENBSD=
2590 USE_OSF= USE_SGI=
2591 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2592 USE_ULTRIX=
2593 USE_UNIXWARE=
2594
2595 USE_ALPHA=
2596
2597 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2598
2599 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2600
2601 DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_wxUSE_GTK=0
2603 DEFAULT_wxUSE_MAC=0
2604 DEFAULT_wxUSE_MGL=0
2605 DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_wxUSE_MSW=0
2608 DEFAULT_wxUSE_PM=0
2609 DEFAULT_wxUSE_X11=0
2610 DEFAULT_wxUSE_DFB=0
2611
2612 DEFAULT_DEFAULT_wxUSE_COCOA=0
2613 DEFAULT_DEFAULT_wxUSE_GTK=0
2614 DEFAULT_DEFAULT_wxUSE_MAC=0
2615 DEFAULT_DEFAULT_wxUSE_MGL=0
2616 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2618 DEFAULT_DEFAULT_wxUSE_MSW=0
2619 DEFAULT_DEFAULT_wxUSE_PM=0
2620 DEFAULT_DEFAULT_wxUSE_X11=0
2621 DEFAULT_DEFAULT_wxUSE_DFB=0
2622
2623 PROGRAM_EXT=
2624 SO_SUFFIX=so
2625 SAMPLES_RPATH_FLAG=
2626 SAMPLES_RPATH_POSTLINK=
2627
2628 DEFAULT_STD_FLAG=yes
2629
2630 case "${host}" in
2631 *-hp-hpux* )
2632 USE_HPUX=1
2633 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2634 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2635 SO_SUFFIX=sl
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __HPUX__ 1
2638 _ACEOF
2639
2640
2641 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2642 ;;
2643 *-*-linux* )
2644 USE_LINUX=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __LINUX__ 1
2647 _ACEOF
2648
2649 TMP=`uname -m`
2650 if test "x$TMP" = "xalpha"; then
2651 USE_ALPHA=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __ALPHA__ 1
2654 _ACEOF
2655
2656 fi
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2658 ;;
2659 *-*-gnu* | *-*-k*bsd*-gnu )
2660 USE_GNU=1
2661 TMP=`uname -m`
2662 if test "x$TMP" = "xalpha"; then
2663 USE_ALPHA=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __ALPHA__ 1
2666 _ACEOF
2667
2668 fi
2669 DEFAULT_DEFAULT_wxUSE_GTK=1
2670 ;;
2671 *-*-irix5* | *-*-irix6* )
2672 USE_SGI=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SGI__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SVR4__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2683 ;;
2684 *-*-solaris2* )
2685 USE_SUN=1
2686 USE_SOLARIS=1
2687 USE_SVR4=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SUN__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SOLARIS__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SVR4__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2702 ;;
2703 *-*-sunos4* )
2704 USE_SUN=1
2705 USE_SUNOS=1
2706 USE_BSD=1
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __SUN__ 1
2709 _ACEOF
2710
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __SUNOS__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 ;;
2721 *-*-freebsd*)
2722 USE_BSD=1
2723 USE_FREEBSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __FREEBSD__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __BSD__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 ;;
2734 *-*-openbsd*|*-*-mirbsd*)
2735 USE_BSD=1
2736 USE_OPENBSD=1
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OPENBSD__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 ;;
2747 *-*-netbsd*)
2748 USE_BSD=1
2749 USE_NETBSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __NETBSD__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760
2761 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2762 ;;
2763 *-*-osf* )
2764 USE_ALPHA=1
2765 USE_OSF=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __OSF__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2776 ;;
2777 *-*-dgux5* )
2778 USE_ALPHA=1
2779 USE_SVR4=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __ALPHA__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790 *-*-sysv5* )
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SYSV__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SVR4__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 ;;
2803 *-*-aix* )
2804 USE_AIX=1
2805 USE_SYSV=1
2806 USE_SVR4=1
2807 SO_SUFFIX=a
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __AIX__ 1
2810 _ACEOF
2811
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __SYSV__ 1
2814 _ACEOF
2815
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __SVR4__ 1
2818 _ACEOF
2819
2820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2821 ;;
2822
2823 *-*-*UnixWare*)
2824 USE_SYSV=1
2825 USE_SVR4=1
2826 USE_UNIXWARE=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __UNIXWARE__ 1
2829 _ACEOF
2830
2831 ;;
2832
2833 *-*-cygwin* | *-*-mingw32* )
2834 SO_SUFFIX=dll
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_MSW=1
2837 ;;
2838
2839 *-pc-msdosdjgpp )
2840 USE_UNIX=0
2841 USE_DOS=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __DOS__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_MGL=1
2848 ;;
2849
2850 *-pc-os2_emx | *-pc-os2-emx )
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __EMX__ 1
2853 _ACEOF
2854
2855 USE_OS2=1
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __OS2__ 1
2858 _ACEOF
2859
2860 PROGRAM_EXT=".exe"
2861 DEFAULT_DEFAULT_wxUSE_PM=1
2862 CXX=gcc
2863 LDFLAGS="$LDFLAGS -Zcrtdll"
2864 ac_executable_extensions=".exe"
2865 export ac_executable_extensions
2866 ac_save_IFS="$IFS"
2867 IFS='\\'
2868 ac_TEMP_PATH=
2869 for ac_dir in $PATH; do
2870 IFS=$ac_save_IFS
2871 if test -z "$ac_TEMP_PATH"; then
2872 ac_TEMP_PATH="$ac_dir"
2873 else
2874 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2875 fi
2876 done
2877 export PATH="$ac_TEMP_PATH"
2878 unset ac_TEMP_PATH
2879 DEFAULT_STD_FLAG=no
2880 ;;
2881
2882 *-*-darwin* )
2883 USE_BSD=1
2884 USE_DARWIN=1
2885 SO_SUFFIX=dylib
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BSD__ 1
2888 _ACEOF
2889
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __DARWIN__ 1
2892 _ACEOF
2893
2894 cat >>confdefs.h <<\_ACEOF
2895 #define TARGET_CARBON 1
2896 _ACEOF
2897
2898 DEFAULT_DEFAULT_wxUSE_MAC=1
2899 DEFAULT_STD_FLAG=no
2900 ;;
2901 powerpc-apple-macos* )
2902 USE_UNIX=0
2903 ac_cv_c_bigendian=yes
2904 SO_SUFFIX=shlib
2905 DEFAULT_DEFAULT_wxUSE_MAC=1
2906 DEFAULT_STD_FLAG=no
2907 ;;
2908
2909 *-*-beos* )
2910 USE_BEOS=1
2911 cat >>confdefs.h <<\_ACEOF
2912 #define __BEOS__ 1
2913 _ACEOF
2914
2915 ;;
2916
2917 *)
2918 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2919 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2920 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2921 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2922
2923 DEFAULT_DEFAULT_wxUSE_X11=1
2924 DEFAULT_wxUSE_SHARED=no
2925 esac
2926
2927
2928
2929
2930 wx_arg_cache_file="configarg.cache"
2931 echo "loading argument cache $wx_arg_cache_file"
2932 rm -f ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}
2935
2936
2937 DEFAULT_wxUSE_ALL_FEATURES=yes
2938
2939 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2940 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2941
2942 DEFAULT_wxUSE_DMALLOC=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS=no
2944 DEFAULT_wxUSE_LIBHILDON=no
2945 DEFAULT_wxUSE_LIBMSPACK=no
2946 DEFAULT_wxUSE_LIBSDL=no
2947 DEFAULT_wxUSE_ODBC=no
2948 DEFAULT_wxUSE_OPENGL=no
2949
2950 DEFAULT_wxUSE_ACCESSIBILITY=no
2951 DEFAULT_wxUSE_DATAVIEWCTRL=no
2952 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2953 DEFAULT_wxUSE_MEDIACTRL=no
2954 DEFAULT_wxUSE_TAB_DIALOG=no
2955
2956 DEFAULT_wxUSE_UNICODE_UTF8=auto
2957 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2958
2959 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2960
2961 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2962
2963 DEFAULT_wxUSE_GTK2=yes
2964
2965 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2966
2967
2968 for toolkit in `echo $ALL_TOOLKITS`; do
2969 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2970 if test "x$LINE" != "x" ; then
2971 has_toolkit_in_cache=1
2972 eval "DEFAULT_$LINE"
2973 eval "CACHE_$toolkit=1"
2974
2975 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2976 if test "x$LINE" != "x" ; then
2977 eval "DEFAULT_$LINE"
2978 fi
2979 fi
2980 done
2981
2982
2983
2984
2985
2986 enablestring=disable
2987 defaultval=
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2990 defaultval=yes
2991 else
2992 defaultval=no
2993 fi
2994 fi
2995
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui='wxUSE_GUI=yes'
3003 else
3004 wx_cv_use_gui='wxUSE_GUI=no'
3005 fi
3006 cache=yes
3007
3008 else
3009
3010 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 cache=yes
3014 else
3015 cache=no
3016 fi
3017
3018 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3019
3020 fi
3021
3022
3023 eval "$wx_cv_use_gui"
3024 if test "x$cache" = xyes; then
3025 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3026 fi
3027
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_GUI = yes; then
3030 result=no
3031 else
3032 result=yes
3033 fi
3034 else
3035 result=$wxUSE_GUI
3036 fi
3037
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3040
3041
3042 enablestring=
3043 defaultval=
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3046 defaultval=yes
3047 else
3048 defaultval=no
3049 fi
3050 fi
3051
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3054 # Check whether --enable-monolithic was given.
3055 if test "${enable_monolithic+set}" = set; then
3056 enableval=$enable_monolithic;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3059 else
3060 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3061 fi
3062 cache=yes
3063
3064 else
3065
3066 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3069 cache=yes
3070 else
3071 cache=no
3072 fi
3073
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3075
3076 fi
3077
3078
3079 eval "$wx_cv_use_monolithic"
3080 if test "x$cache" = xyes; then
3081 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_MONOLITHIC = yes; then
3086 result=no
3087 else
3088 result=yes
3089 fi
3090 else
3091 result=$wxUSE_MONOLITHIC
3092 fi
3093
3094 { echo "$as_me:$LINENO: result: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3096
3097
3098 enablestring=
3099 defaultval=
3100 if test -z "$defaultval"; then
3101 if test x"$enablestring" = xdisable; then
3102 defaultval=yes
3103 else
3104 defaultval=no
3105 fi
3106 fi
3107
3108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3109 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3110 # Check whether --enable-plugins was given.
3111 if test "${enable_plugins+set}" = set; then
3112 enableval=$enable_plugins;
3113 if test "$enableval" = yes; then
3114 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3115 else
3116 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3117 fi
3118 cache=yes
3119
3120 else
3121
3122 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x ; then
3124 eval "DEFAULT_$LINE"
3125 cache=yes
3126 else
3127 cache=no
3128 fi
3129
3130 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3131
3132 fi
3133
3134
3135 eval "$wx_cv_use_plugins"
3136 if test "x$cache" = xyes; then
3137 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3138 fi
3139
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_PLUGINS = yes; then
3142 result=no
3143 else
3144 result=yes
3145 fi
3146 else
3147 result=$wxUSE_PLUGINS
3148 fi
3149
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3152
3153
3154 withstring=without
3155 defaultval=$wxUSE_ALL_FEATURES
3156 if test -z "$defaultval"; then
3157 if test x"$withstring" = xwithout; then
3158 defaultval=yes
3159 else
3160 defaultval=no
3161 fi
3162 fi
3163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3165
3166 # Check whether --with-subdirs was given.
3167 if test "${with_subdirs+set}" = set; then
3168 withval=$with_subdirs;
3169 if test "$withval" = yes; then
3170 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3171 else
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3173 fi
3174 cache=yes
3175
3176 else
3177
3178 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3181 cache=yes
3182 else
3183 cache=no
3184 fi
3185
3186 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3187
3188 fi
3189
3190
3191 eval "$wx_cv_use_subdirs"
3192 if test "x$cache" = xyes; then
3193 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test x"$withstring" = xwithout; then
3197 if test $wxWITH_SUBDIRS = yes; then
3198 result=no
3199 else
3200 result=yes
3201 fi
3202 else
3203 result=$wxWITH_SUBDIRS
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209
3210 # Check whether --with-flavour was given.
3211 if test "${with_flavour+set}" = set; then
3212 withval=$with_flavour; WX_FLAVOUR="$withval"
3213 fi
3214
3215
3216 enablestring=
3217 defaultval=
3218 if test -z "$defaultval"; then
3219 if test x"$enablestring" = xdisable; then
3220 defaultval=yes
3221 else
3222 defaultval=no
3223 fi
3224 fi
3225
3226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3228 # Check whether --enable-official_build was given.
3229 if test "${enable_official_build+set}" = set; then
3230 enableval=$enable_official_build;
3231 if test "$enableval" = yes; then
3232 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3233 else
3234 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3235 fi
3236 cache=yes
3237
3238 else
3239
3240 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3243 cache=yes
3244 else
3245 cache=no
3246 fi
3247
3248 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3249
3250 fi
3251
3252
3253 eval "$wx_cv_use_official_build"
3254 if test "x$cache" = xyes; then
3255 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test x"$enablestring" = xdisable; then
3259 if test $wxUSE_OFFICIAL_BUILD = yes; then
3260 result=no
3261 else
3262 result=yes
3263 fi
3264 else
3265 result=$wxUSE_OFFICIAL_BUILD
3266 fi
3267
3268 { echo "$as_me:$LINENO: result: $result" >&5
3269 echo "${ECHO_T}$result" >&6; }
3270
3271 # Check whether --enable-vendor was given.
3272 if test "${enable_vendor+set}" = set; then
3273 enableval=$enable_vendor; VENDOR="$enableval"
3274 fi
3275
3276 if test "x$VENDOR" = "x"; then
3277 VENDOR="custom"
3278 fi
3279
3280
3281 enablestring=disable
3282 defaultval=
3283 if test -z "$defaultval"; then
3284 if test x"$enablestring" = xdisable; then
3285 defaultval=yes
3286 else
3287 defaultval=no
3288 fi
3289 fi
3290
3291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3292 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3293 # Check whether --enable-all-features was given.
3294 if test "${enable_all_features+set}" = set; then
3295 enableval=$enable_all_features;
3296 if test "$enableval" = yes; then
3297 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3298 else
3299 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3300 fi
3301 cache=yes
3302
3303 else
3304
3305 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 cache=yes
3309 else
3310 cache=no
3311 fi
3312
3313 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3314
3315 fi
3316
3317
3318 eval "$wx_cv_use_all_features"
3319 if test "x$cache" = xyes; then
3320 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test x"$enablestring" = xdisable; then
3324 if test $wxUSE_ALL_FEATURES = yes; then
3325 result=no
3326 else
3327 result=yes
3328 fi
3329 else
3330 result=$wxUSE_ALL_FEATURES
3331 fi
3332
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3335
3336
3337
3338 if test "$wxUSE_GUI" = "yes"; then
3339
3340
3341 enablestring=
3342 defaultval=
3343 if test -z "$defaultval"; then
3344 if test x"$enablestring" = xdisable; then
3345 defaultval=yes
3346 else
3347 defaultval=no
3348 fi
3349 fi
3350
3351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3353 # Check whether --enable-universal was given.
3354 if test "${enable_universal+set}" = set; then
3355 enableval=$enable_universal;
3356 if test "$enableval" = yes; then
3357 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3358 else
3359 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3360 fi
3361 cache=yes
3362
3363 else
3364
3365 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 cache=yes
3369 else
3370 cache=no
3371 fi
3372
3373 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3374
3375 fi
3376
3377
3378 eval "$wx_cv_use_universal"
3379 if test "x$cache" = xyes; then
3380 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = yes; then
3385 result=no
3386 else
3387 result=yes
3388 fi
3389 else
3390 result=$wxUSE_UNIVERSAL
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3401 fi
3402
3403 fi
3404
3405
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-mac was given.
3419 if test "${with_mac+set}" = set; then
3420 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-cocoa was given.
3425 if test "${with_cocoa+set}" = set; then
3426 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 # Check whether --with-wine was given.
3431 if test "${with_wine+set}" = set; then
3432 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3433 fi
3434
3435
3436 # Check whether --with-msw was given.
3437 if test "${with_msw+set}" = set; then
3438 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-pm was given.
3443 if test "${with_pm+set}" = set; then
3444 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-mgl was given.
3449 if test "${with_mgl+set}" = set; then
3450 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-directfb was given.
3455 if test "${with_directfb+set}" = set; then
3456 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-microwin was given.
3461 if test "${with_microwin+set}" = set; then
3462 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 # Check whether --with-x11 was given.
3467 if test "${with_x11+set}" = set; then
3468 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3469 fi
3470
3471
3472 enablestring=
3473 defaultval=
3474 if test -z "$defaultval"; then
3475 if test x"$enablestring" = xdisable; then
3476 defaultval=yes
3477 else
3478 defaultval=no
3479 fi
3480 fi
3481
3482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3484 # Check whether --enable-nanox was given.
3485 if test "${enable_nanox+set}" = set; then
3486 enableval=$enable_nanox;
3487 if test "$enableval" = yes; then
3488 wx_cv_use_nanox='wxUSE_NANOX=yes'
3489 else
3490 wx_cv_use_nanox='wxUSE_NANOX=no'
3491 fi
3492 cache=yes
3493
3494 else
3495
3496 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x ; then
3498 eval "DEFAULT_$LINE"
3499 cache=yes
3500 else
3501 cache=no
3502 fi
3503
3504 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3505
3506 fi
3507
3508
3509 eval "$wx_cv_use_nanox"
3510 if test "x$cache" = xyes; then
3511 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3512 fi
3513
3514 if test x"$enablestring" = xdisable; then
3515 if test $wxUSE_NANOX = yes; then
3516 result=no
3517 else
3518 result=yes
3519 fi
3520 else
3521 result=$wxUSE_NANOX
3522 fi
3523
3524 { echo "$as_me:$LINENO: result: $result" >&5
3525 echo "${ECHO_T}$result" >&6; }
3526
3527
3528 # Check whether --enable-gtk2 was given.
3529 if test "${enable_gtk2+set}" = set; then
3530 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3531 fi
3532
3533
3534 enablestring=
3535 defaultval=
3536 if test -z "$defaultval"; then
3537 if test x"$enablestring" = xdisable; then
3538 defaultval=yes
3539 else
3540 defaultval=no
3541 fi
3542 fi
3543
3544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3546 # Check whether --enable-gpe was given.
3547 if test "${enable_gpe+set}" = set; then
3548 enableval=$enable_gpe;
3549 if test "$enableval" = yes; then
3550 wx_cv_use_gpe='wxUSE_GPE=yes'
3551 else
3552 wx_cv_use_gpe='wxUSE_GPE=no'
3553 fi
3554 cache=yes
3555
3556 else
3557
3558 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x ; then
3560 eval "DEFAULT_$LINE"
3561 cache=yes
3562 else
3563 cache=no
3564 fi
3565
3566 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3567
3568 fi
3569
3570
3571 eval "$wx_cv_use_gpe"
3572 if test "x$cache" = xyes; then
3573 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3574 fi
3575
3576 if test x"$enablestring" = xdisable; then
3577 if test $wxUSE_GPE = yes; then
3578 result=no
3579 else
3580 result=yes
3581 fi
3582 else
3583 result=$wxUSE_GPE
3584 fi
3585
3586 { echo "$as_me:$LINENO: result: $result" >&5
3587 echo "${ECHO_T}$result" >&6; }
3588
3589
3590
3591
3592 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3593 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3594
3595 # Check whether --with-libpng was given.
3596 if test "${with_libpng+set}" = set; then
3597 withval=$with_libpng;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611 cache=yes
3612
3613 else
3614
3615 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x ; then
3617 eval "DEFAULT_$LINE"
3618 cache=yes
3619 else
3620 cache=no
3621 fi
3622
3623 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3624
3625 fi
3626
3627
3628 eval "$wx_cv_use_libpng"
3629 if test "x$cache" = xyes; then
3630 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_LIBPNG" = yes; then
3634 { echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6; }
3636 elif test "$wxUSE_LIBPNG" = no; then
3637 { echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6; }
3639 elif test "$wxUSE_LIBPNG" = sys; then
3640 { echo "$as_me:$LINENO: result: system version" >&5
3641 echo "${ECHO_T}system version" >&6; }
3642 elif test "$wxUSE_LIBPNG" = builtin; then
3643 { echo "$as_me:$LINENO: result: builtin version" >&5
3644 echo "${ECHO_T}builtin version" >&6; }
3645 else
3646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3647 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3649 fi
3650
3651
3652 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3653 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3654
3655 # Check whether --with-libjpeg was given.
3656 if test "${with_libjpeg+set}" = set; then
3657 withval=$with_libjpeg;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3666 else
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3670 fi
3671 cache=yes
3672
3673 else
3674
3675 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3678 cache=yes
3679 else
3680 cache=no
3681 fi
3682
3683 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3684
3685 fi
3686
3687
3688 eval "$wx_cv_use_libjpeg"
3689 if test "x$cache" = xyes; then
3690 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3691 fi
3692
3693 if test "$wxUSE_LIBJPEG" = yes; then
3694 { echo "$as_me:$LINENO: result: yes" >&5
3695 echo "${ECHO_T}yes" >&6; }
3696 elif test "$wxUSE_LIBJPEG" = no; then
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3699 elif test "$wxUSE_LIBJPEG" = sys; then
3700 { echo "$as_me:$LINENO: result: system version" >&5
3701 echo "${ECHO_T}system version" >&6; }
3702 elif test "$wxUSE_LIBJPEG" = builtin; then
3703 { echo "$as_me:$LINENO: result: builtin version" >&5
3704 echo "${ECHO_T}builtin version" >&6; }
3705 else
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3709 fi
3710
3711
3712 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3713 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3714
3715 # Check whether --with-libtiff was given.
3716 if test "${with_libtiff+set}" = set; then
3717 withval=$with_libtiff;
3718 if test "$withval" = yes; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3720 elif test "$withval" = no; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3722 elif test "$withval" = sys; then
3723 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3724 elif test "$withval" = builtin; then
3725 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3726 else
3727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3728 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3729 { (exit 1); exit 1; }; }
3730 fi
3731 cache=yes
3732
3733 else
3734
3735 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3738 cache=yes
3739 else
3740 cache=no
3741 fi
3742
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3744
3745 fi
3746
3747
3748 eval "$wx_cv_use_libtiff"
3749 if test "x$cache" = xyes; then
3750 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3751 fi
3752
3753 if test "$wxUSE_LIBTIFF" = yes; then
3754 { echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6; }
3756 elif test "$wxUSE_LIBTIFF" = no; then
3757 { echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6; }
3759 elif test "$wxUSE_LIBTIFF" = sys; then
3760 { echo "$as_me:$LINENO: result: system version" >&5
3761 echo "${ECHO_T}system version" >&6; }
3762 elif test "$wxUSE_LIBTIFF" = builtin; then
3763 { echo "$as_me:$LINENO: result: builtin version" >&5
3764 echo "${ECHO_T}builtin version" >&6; }
3765 else
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3769 fi
3770
3771
3772 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3773 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3774
3775 # Check whether --with-libxpm was given.
3776 if test "${with_libxpm+set}" = set; then
3777 withval=$with_libxpm;
3778 if test "$withval" = yes; then
3779 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3780 elif test "$withval" = no; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3782 elif test "$withval" = sys; then
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3784 elif test "$withval" = builtin; then
3785 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3786 else
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3790 fi
3791 cache=yes
3792
3793 else
3794
3795 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 cache=yes
3799 else
3800 cache=no
3801 fi
3802
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3804
3805 fi
3806
3807
3808 eval "$wx_cv_use_libxpm"
3809 if test "x$cache" = xyes; then
3810 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_LIBXPM" = yes; then
3814 { echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6; }
3816 elif test "$wxUSE_LIBXPM" = no; then
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3819 elif test "$wxUSE_LIBXPM" = sys; then
3820 { echo "$as_me:$LINENO: result: system version" >&5
3821 echo "${ECHO_T}system version" >&6; }
3822 elif test "$wxUSE_LIBXPM" = builtin; then
3823 { echo "$as_me:$LINENO: result: builtin version" >&5
3824 echo "${ECHO_T}builtin version" >&6; }
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831
3832 withstring=
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3836 defaultval=yes
3837 else
3838 defaultval=no
3839 fi
3840 fi
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3843
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 else
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3851 fi
3852 cache=yes
3853
3854 else
3855
3856 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3859 cache=yes
3860 else
3861 cache=no
3862 fi
3863
3864 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3865
3866 fi
3867
3868
3869 eval "$wx_cv_use_libmspack"
3870 if test "x$cache" = xyes; then
3871 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3872 fi
3873
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBMSPACK = yes; then
3876 result=no
3877 else
3878 result=yes
3879 fi
3880 else
3881 result=$wxUSE_LIBMSPACK
3882 fi
3883
3884 { echo "$as_me:$LINENO: result: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3886
3887
3888 withstring=without
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3892 defaultval=yes
3893 else
3894 defaultval=no
3895 fi
3896 fi
3897 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3898 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3899
3900 # Check whether --with-gtkprint was given.
3901 if test "${with_gtkprint+set}" = set; then
3902 withval=$with_gtkprint;
3903 if test "$withval" = yes; then
3904 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3905 else
3906 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3907 fi
3908 cache=yes
3909
3910 else
3911
3912 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3915 cache=yes
3916 else
3917 cache=no
3918 fi
3919
3920 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3921
3922 fi
3923
3924
3925 eval "$wx_cv_use_gtkprint"
3926 if test "x$cache" = xyes; then
3927 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_GTKPRINT = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_GTKPRINT
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=without
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3955
3956 # Check whether --with-gnomeprint was given.
3957 if test "${with_gnomeprint+set}" = set; then
3958 withval=$with_gnomeprint;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3961 else
3962 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3963 fi
3964 cache=yes
3965
3966 else
3967
3968 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 cache=yes
3972 else
3973 cache=no
3974 fi
3975
3976 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3977
3978 fi
3979
3980
3981 eval "$wx_cv_use_gnomeprint"
3982 if test "x$cache" = xyes; then
3983 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3984 fi
3985
3986 if test x"$withstring" = xwithout; then
3987 if test $wxUSE_LIBGNOMEPRINT = yes; then
3988 result=no
3989 else
3990 result=yes
3991 fi
3992 else
3993 result=$wxUSE_LIBGNOMEPRINT
3994 fi
3995
3996 { echo "$as_me:$LINENO: result: $result" >&5
3997 echo "${ECHO_T}$result" >&6; }
3998
3999
4000 withstring=
4001 defaultval=$wxUSE_ALL_FEATURES
4002 if test -z "$defaultval"; then
4003 if test x"$withstring" = xwithout; then
4004 defaultval=yes
4005 else
4006 defaultval=no
4007 fi
4008 fi
4009 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4010 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4011
4012 # Check whether --with-gnomevfs was given.
4013 if test "${with_gnomevfs+set}" = set; then
4014 withval=$with_gnomevfs;
4015 if test "$withval" = yes; then
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4017 else
4018 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4019 fi
4020 cache=yes
4021
4022 else
4023
4024 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 cache=yes
4028 else
4029 cache=no
4030 fi
4031
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4033
4034 fi
4035
4036
4037 eval "$wx_cv_use_gnomevfs"
4038 if test "x$cache" = xyes; then
4039 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4040 fi
4041
4042 if test x"$withstring" = xwithout; then
4043 if test $wxUSE_LIBGNOMEVFS = yes; then
4044 result=no
4045 else
4046 result=yes
4047 fi
4048 else
4049 result=$wxUSE_LIBGNOMEVFS
4050 fi
4051
4052 { echo "$as_me:$LINENO: result: $result" >&5
4053 echo "${ECHO_T}$result" >&6; }
4054
4055
4056 withstring=
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4060 defaultval=yes
4061 else
4062 defaultval=no
4063 fi
4064 fi
4065 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4066 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4067
4068 # Check whether --with-hildon was given.
4069 if test "${with_hildon+set}" = set; then
4070 withval=$with_hildon;
4071 if test "$withval" = yes; then
4072 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4073 else
4074 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4075 fi
4076 cache=yes
4077
4078 else
4079
4080 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 cache=yes
4084 else
4085 cache=no
4086 fi
4087
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4089
4090 fi
4091
4092
4093 eval "$wx_cv_use_hildon"
4094 if test "x$cache" = xyes; then
4095 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4096 fi
4097
4098 if test x"$withstring" = xwithout; then
4099 if test $wxUSE_LIBHILDON = yes; then
4100 result=no
4101 else
4102 result=yes
4103 fi
4104 else
4105 result=$wxUSE_LIBHILDON
4106 fi
4107
4108 { echo "$as_me:$LINENO: result: $result" >&5
4109 echo "${ECHO_T}$result" >&6; }
4110
4111
4112 withstring=
4113 defaultval=$wxUSE_ALL_FEATURES
4114 if test -z "$defaultval"; then
4115 if test x"$withstring" = xwithout; then
4116 defaultval=yes
4117 else
4118 defaultval=no
4119 fi
4120 fi
4121 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4122 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4123
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then
4126 withval=$with_opengl;
4127 if test "$withval" = yes; then
4128 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4129 else
4130 wx_cv_use_opengl='wxUSE_OPENGL=no'
4131 fi
4132 cache=yes
4133
4134 else
4135
4136 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4139 cache=yes
4140 else
4141 cache=no
4142 fi
4143
4144 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4145
4146 fi
4147
4148
4149 eval "$wx_cv_use_opengl"
4150 if test "x$cache" = xyes; then
4151 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4152 fi
4153
4154 if test x"$withstring" = xwithout; then
4155 if test $wxUSE_OPENGL = yes; then
4156 result=no
4157 else
4158 result=yes
4159 fi
4160 else
4161 result=$wxUSE_OPENGL
4162 fi
4163
4164 { echo "$as_me:$LINENO: result: $result" >&5
4165 echo "${ECHO_T}$result" >&6; }
4166
4167
4168 fi
4169
4170
4171 withstring=
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4182
4183 # Check whether --with-dmalloc was given.
4184 if test "${with_dmalloc+set}" = set; then
4185 withval=$with_dmalloc;
4186 if test "$withval" = yes; then
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4188 else
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4190 fi
4191 cache=yes
4192
4193 else
4194
4195 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 cache=yes
4199 else
4200 cache=no
4201 fi
4202
4203 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4204
4205 fi
4206
4207
4208 eval "$wx_cv_use_dmalloc"
4209 if test "x$cache" = xyes; then
4210 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4211 fi
4212
4213 if test x"$withstring" = xwithout; then
4214 if test $wxUSE_DMALLOC = yes; then
4215 result=no
4216 else
4217 result=yes
4218 fi
4219 else
4220 result=$wxUSE_DMALLOC
4221 fi
4222
4223 { echo "$as_me:$LINENO: result: $result" >&5
4224 echo "${ECHO_T}$result" >&6; }
4225
4226
4227 withstring=
4228 defaultval=$wxUSE_ALL_FEATURES
4229 if test -z "$defaultval"; then
4230 if test x"$withstring" = xwithout; then
4231 defaultval=yes
4232 else
4233 defaultval=no
4234 fi
4235 fi
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4238
4239 # Check whether --with-sdl was given.
4240 if test "${with_sdl+set}" = set; then
4241 withval=$with_sdl;
4242 if test "$withval" = yes; then
4243 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4244 else
4245 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4246 fi
4247 cache=yes
4248
4249 else
4250
4251 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 cache=yes
4255 else
4256 cache=no
4257 fi
4258
4259 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4260
4261 fi
4262
4263
4264 eval "$wx_cv_use_sdl"
4265 if test "x$cache" = xyes; then
4266 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test x"$withstring" = xwithout; then
4270 if test $wxUSE_LIBSDL = yes; then
4271 result=no
4272 else
4273 result=yes
4274 fi
4275 else
4276 result=$wxUSE_LIBSDL
4277 fi
4278
4279 { echo "$as_me:$LINENO: result: $result" >&5
4280 echo "${ECHO_T}$result" >&6; }
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4285
4286 # Check whether --with-regex was given.
4287 if test "${with_regex+set}" = set; then
4288 withval=$with_regex;
4289 if test "$withval" = yes; then
4290 wx_cv_use_regex='wxUSE_REGEX=yes'
4291 elif test "$withval" = no; then
4292 wx_cv_use_regex='wxUSE_REGEX=no'
4293 elif test "$withval" = sys; then
4294 wx_cv_use_regex='wxUSE_REGEX=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_regex='wxUSE_REGEX=builtin'
4297 else
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4301 fi
4302 cache=yes
4303
4304 else
4305
4306 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 cache=yes
4310 else
4311 cache=no
4312 fi
4313
4314 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4315
4316 fi
4317
4318
4319 eval "$wx_cv_use_regex"
4320 if test "x$cache" = xyes; then
4321 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4322 fi
4323
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4345
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4348 withval=$with_zlib;
4349 if test "$withval" = yes; then
4350 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4351 elif test "$withval" = no; then
4352 wx_cv_use_zlib='wxUSE_ZLIB=no'
4353 elif test "$withval" = sys; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4355 elif test "$withval" = builtin; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4357 else
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4361 fi
4362 cache=yes
4363
4364 else
4365
4366 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 cache=yes
4370 else
4371 cache=no
4372 fi
4373
4374 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4375
4376 fi
4377
4378
4379 eval "$wx_cv_use_zlib"
4380 if test "x$cache" = xyes; then
4381 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_ZLIB" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_ZLIB" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_ZLIB" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_ZLIB" = builtin; then
4394 { echo "$as_me:$LINENO: result: builtin version" >&5
4395 echo "${ECHO_T}builtin version" >&6; }
4396 else
4397 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4400 fi
4401
4402
4403 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4404 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4405
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4408 withval=$with_odbc;
4409 if test "$withval" = yes; then
4410 wx_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 wx_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 wx_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4417 else
4418 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4419 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4421 fi
4422 cache=yes
4423
4424 else
4425
4426 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x ; then
4428 eval "DEFAULT_$LINE"
4429 cache=yes
4430 else
4431 cache=no
4432 fi
4433
4434 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4435
4436 fi
4437
4438
4439 eval "$wx_cv_use_odbc"
4440 if test "x$cache" = xyes; then
4441 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 if test "$wxUSE_ODBC" = yes; then
4445 { echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6; }
4447 elif test "$wxUSE_ODBC" = no; then
4448 { echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6; }
4450 elif test "$wxUSE_ODBC" = sys; then
4451 { echo "$as_me:$LINENO: result: system version" >&5
4452 echo "${ECHO_T}system version" >&6; }
4453 elif test "$wxUSE_ODBC" = builtin; then
4454 { echo "$as_me:$LINENO: result: builtin version" >&5
4455 echo "${ECHO_T}builtin version" >&6; }
4456 else
4457 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4458 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4459 { (exit 1); exit 1; }; }
4460 fi
4461
4462
4463 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4464 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4465
4466 # Check whether --with-expat was given.
4467 if test "${with_expat+set}" = set; then
4468 withval=$with_expat;
4469 if test "$withval" = yes; then
4470 wx_cv_use_expat='wxUSE_EXPAT=yes'
4471 elif test "$withval" = no; then
4472 wx_cv_use_expat='wxUSE_EXPAT=no'
4473 elif test "$withval" = sys; then
4474 wx_cv_use_expat='wxUSE_EXPAT=sys'
4475 elif test "$withval" = builtin; then
4476 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4477 else
4478 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4479 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4480 { (exit 1); exit 1; }; }
4481 fi
4482 cache=yes
4483
4484 else
4485
4486 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 cache=yes
4490 else
4491 cache=no
4492 fi
4493
4494 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4495
4496 fi
4497
4498
4499 eval "$wx_cv_use_expat"
4500 if test "x$cache" = xyes; then
4501 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 if test "$wxUSE_EXPAT" = yes; then
4505 { echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6; }
4507 elif test "$wxUSE_EXPAT" = no; then
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4510 elif test "$wxUSE_EXPAT" = sys; then
4511 { echo "$as_me:$LINENO: result: system version" >&5
4512 echo "${ECHO_T}system version" >&6; }
4513 elif test "$wxUSE_EXPAT" = builtin; then
4514 { echo "$as_me:$LINENO: result: builtin version" >&5
4515 echo "${ECHO_T}builtin version" >&6; }
4516 else
4517 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4518 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4519 { (exit 1); exit 1; }; }
4520 fi
4521
4522
4523 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4524 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4525
4526 # Check whether --with-macosx-sdk was given.
4527 if test "${with_macosx_sdk+set}" = set; then
4528 withval=$with_macosx_sdk;
4529 wxUSE_MACOSX_SDK=$withval
4530 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4531 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4532
4533 else
4534
4535 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4536 # will override --enable-universal_binary's automatic SDK usage.
4537 wxUSE_MACOSX_SDK=
4538 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "$LINE"
4541 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 fi
4545
4546 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4547 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4548
4549 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4550 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4551
4552 # Check whether --with-macosx-version-min was given.
4553 if test "${with_macosx_version_min+set}" = set; then
4554 withval=$with_macosx_version_min;
4555 wxUSE_MACOSX_VERSION_MIN=$withval
4556 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4557 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4558
4559 else
4560
4561 # default "yes" because when not using an SDK it means the same as no
4562 # but when using an SDK it means to use the SDK version
4563 wxUSE_MACOSX_VERSION_MIN=yes
4564 # See if there is a value in the cache
4565 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x ; then
4567 eval "$LINE"
4568 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4574 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4575
4576
4577
4578 enablestring=disable
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4590 # Check whether --enable-shared was given.
4591 if test "${enable_shared+set}" = set; then
4592 enableval=$enable_shared;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_shared='wxUSE_SHARED=yes'
4595 else
4596 wx_cv_use_shared='wxUSE_SHARED=no'
4597 fi
4598 cache=yes
4599
4600 else
4601
4602 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 cache=yes
4606 else
4607 cache=no
4608 fi
4609
4610 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4611
4612 fi
4613
4614
4615 eval "$wx_cv_use_shared"
4616 if test "x$cache" = xyes; then
4617 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test x"$enablestring" = xdisable; then
4621 if test $wxUSE_SHARED = yes; then
4622 result=no
4623 else
4624 result=yes
4625 fi
4626 else
4627 result=$wxUSE_SHARED
4628 fi
4629
4630 { echo "$as_me:$LINENO: result: $result" >&5
4631 echo "${ECHO_T}$result" >&6; }
4632
4633
4634 enablestring=disable
4635 defaultval=
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4638 defaultval=yes
4639 else
4640 defaultval=no
4641 fi
4642 fi
4643
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4646 # Check whether --enable-optimise was given.
4647 if test "${enable_optimise+set}" = set; then
4648 enableval=$enable_optimise;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4651 else
4652 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4653 fi
4654 cache=yes
4655
4656 else
4657
4658 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4661 cache=yes
4662 else
4663 cache=no
4664 fi
4665
4666 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4667
4668 fi
4669
4670
4671 eval "$wx_cv_use_optimise"
4672 if test "x$cache" = xyes; then
4673 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_OPTIMISE = yes; then
4678 result=no
4679 else
4680 result=yes
4681 fi
4682 else
4683 result=$wxUSE_OPTIMISE
4684 fi
4685
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4702 # Check whether --enable-debug was given.
4703 if test "${enable_debug+set}" = set; then
4704 enableval=$enable_debug;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug='wxUSE_DEBUG=yes'
4707 else
4708 wx_cv_use_debug='wxUSE_DEBUG=no'
4709 fi
4710 cache=yes
4711
4712 else
4713
4714 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 cache=yes
4718 else
4719 cache=no
4720 fi
4721
4722 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4723
4724 fi
4725
4726
4727 eval "$wx_cv_use_debug"
4728 if test "x$cache" = xyes; then
4729 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test x"$enablestring" = xdisable; then
4733 if test $wxUSE_DEBUG = yes; then
4734 result=no
4735 else
4736 result=yes
4737 fi
4738 else
4739 result=$wxUSE_DEBUG
4740 fi
4741
4742 { echo "$as_me:$LINENO: result: $result" >&5
4743 echo "${ECHO_T}$result" >&6; }
4744
4745
4746 enablestring=
4747 defaultval=
4748 if test -z "$defaultval"; then
4749 if test x"$enablestring" = xdisable; then
4750 defaultval=yes
4751 else
4752 defaultval=no
4753 fi
4754 fi
4755
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4758 # Check whether --enable-stl was given.
4759 if test "${enable_stl+set}" = set; then
4760 enableval=$enable_stl;
4761 if test "$enableval" = yes; then
4762 wx_cv_use_stl='wxUSE_STL=yes'
4763 else
4764 wx_cv_use_stl='wxUSE_STL=no'
4765 fi
4766 cache=yes
4767
4768 else
4769
4770 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4773 cache=yes
4774 else
4775 cache=no
4776 fi
4777
4778 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4779
4780 fi
4781
4782
4783 eval "$wx_cv_use_stl"
4784 if test "x$cache" = xyes; then
4785 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4786 fi
4787
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_STL = yes; then
4790 result=no
4791 else
4792 result=yes
4793 fi
4794 else
4795 result=$wxUSE_STL
4796 fi
4797
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4800
4801
4802 enablestring=
4803 defaultval=
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4806 defaultval=yes
4807 else
4808 defaultval=no
4809 fi
4810 fi
4811
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4814 # Check whether --enable-std_iostreams was given.
4815 if test "${enable_std_iostreams+set}" = set; then
4816 enableval=$enable_std_iostreams;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4819 else
4820 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4821 fi
4822 cache=yes
4823
4824 else
4825
4826 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4829 cache=yes
4830 else
4831 cache=no
4832 fi
4833
4834 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4835
4836 fi
4837
4838
4839 eval "$wx_cv_use_std_iostreams"
4840 if test "x$cache" = xyes; then
4841 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_IOSTREAM = yes; then
4846 result=no
4847 else
4848 result=yes
4849 fi
4850 else
4851 result=$wxUSE_STD_IOSTREAM
4852 fi
4853
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4856
4857
4858 enablestring=
4859 defaultval=
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4862 defaultval=yes
4863 else
4864 defaultval=no
4865 fi
4866 fi
4867
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4870 # Check whether --enable-std_string was given.
4871 if test "${enable_std_string+set}" = set; then
4872 enableval=$enable_std_string;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4875 else
4876 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4877 fi
4878 cache=yes
4879
4880 else
4881
4882 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 cache=yes
4886 else
4887 cache=no
4888 fi
4889
4890 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4891
4892 fi
4893
4894
4895 eval "$wx_cv_use_std_string"
4896 if test "x$cache" = xyes; then
4897 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4898 fi
4899
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = yes; then
4902 result=no
4903 else
4904 result=yes
4905 fi
4906 else
4907 result=$wxUSE_STD_STRING
4908 fi
4909
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4912
4913
4914 enablestring=disable
4915 defaultval=
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4918 defaultval=yes
4919 else
4920 defaultval=no
4921 fi
4922 fi
4923
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4926 # Check whether --enable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval=$enable_unicode;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4931 else
4932 wx_cv_use_unicode='wxUSE_UNICODE=no'
4933 fi
4934 cache=yes
4935
4936 else
4937
4938 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 cache=yes
4942 else
4943 cache=no
4944 fi
4945
4946 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_unicode"
4952 if test "x$cache" = xyes; then
4953 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_UNICODE = yes; then
4958 result=no
4959 else
4960 result=yes
4961 fi
4962 else
4963 result=$wxUSE_UNICODE
4964 fi
4965
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4968
4969
4970 enablestring=
4971 defaultval=
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4974 defaultval=yes
4975 else
4976 defaultval=no
4977 fi
4978 fi
4979
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4982 # Check whether --enable-mslu was given.
4983 if test "${enable_mslu+set}" = set; then
4984 enableval=$enable_mslu;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4987 else
4988 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4989 fi
4990 cache=yes
4991
4992 else
4993
4994 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
4997 cache=yes
4998 else
4999 cache=no
5000 fi
5001
5002 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5003
5004 fi
5005
5006
5007 eval "$wx_cv_use_mslu"
5008 if test "x$cache" = xyes; then
5009 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test x"$enablestring" = xdisable; then
5013 if test $wxUSE_UNICODE_MSLU = yes; then
5014 result=no
5015 else
5016 result=yes
5017 fi
5018 else
5019 result=$wxUSE_UNICODE_MSLU
5020 fi
5021
5022 { echo "$as_me:$LINENO: result: $result" >&5
5023 echo "${ECHO_T}$result" >&6; }
5024
5025
5026 enablestring=
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5029 # Check whether --enable-utf8 was given.
5030 if test "${enable_utf8+set}" = set; then
5031 enableval=$enable_utf8;
5032 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5033 cache=yes
5034
5035 else
5036
5037 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 cache=yes
5041 else
5042 cache=no
5043 fi
5044
5045 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5046
5047 fi
5048
5049
5050 eval "$wx_cv_use_utf8"
5051 if test "x$cache" = xyes; then
5052 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5056 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5057
5058
5059 enablestring=
5060 defaultval=
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5063 defaultval=yes
5064 else
5065 defaultval=no
5066 fi
5067 fi
5068
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5071 # Check whether --enable-utf8only was given.
5072 if test "${enable_utf8only+set}" = set; then
5073 enableval=$enable_utf8only;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5076 else
5077 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5078 fi
5079 cache=yes
5080
5081 else
5082
5083 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 cache=yes
5087 else
5088 cache=no
5089 fi
5090
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5092
5093 fi
5094
5095
5096 eval "$wx_cv_use_utf8only"
5097 if test "x$cache" = xyes; then
5098 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test x"$enablestring" = xdisable; then
5102 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5103 result=no
5104 else
5105 result=yes
5106 fi
5107 else
5108 result=$wxUSE_UNICODE_UTF8_LOCALE
5109 fi
5110
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5113
5114
5115 enablestring=
5116 defaultval=
5117 if test -z "$defaultval"; then
5118 if test x"$enablestring" = xdisable; then
5119 defaultval=yes
5120 else
5121 defaultval=no
5122 fi
5123 fi
5124
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5127 # Check whether --enable-extended_rtti was given.
5128 if test "${enable_extended_rtti+set}" = set; then
5129 enableval=$enable_extended_rtti;
5130 if test "$enableval" = yes; then
5131 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5132 else
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5134 fi
5135 cache=yes
5136
5137 else
5138
5139 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 cache=yes
5143 else
5144 cache=no
5145 fi
5146
5147 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5148
5149 fi
5150
5151
5152 eval "$wx_cv_use_extended_rtti"
5153 if test "x$cache" = xyes; then
5154 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5155 fi
5156
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_EXTENDED_RTTI = yes; then
5159 result=no
5160 else
5161 result=yes
5162 fi
5163 else
5164 result=$wxUSE_EXTENDED_RTTI
5165 fi
5166
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5169
5170 if test "$USE_OS2" = "1"; then
5171 DEFAULT_wxUSE_OMF=no
5172
5173 enablestring=
5174 defaultval=
5175 if test -z "$defaultval"; then
5176 if test x"$enablestring" = xdisable; then
5177 defaultval=yes
5178 else
5179 defaultval=no
5180 fi
5181 fi
5182
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5185 # Check whether --enable-omf was given.
5186 if test "${enable_omf+set}" = set; then
5187 enableval=$enable_omf;
5188 if test "$enableval" = yes; then
5189 wx_cv_use_omf='wxUSE_OMF=yes'
5190 else
5191 wx_cv_use_omf='wxUSE_OMF=no'
5192 fi
5193 cache=yes
5194
5195 else
5196
5197 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5200 cache=yes
5201 else
5202 cache=no
5203 fi
5204
5205 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5206
5207 fi
5208
5209
5210 eval "$wx_cv_use_omf"
5211 if test "x$cache" = xyes; then
5212 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5213 fi
5214
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_OMF = yes; then
5217 result=no
5218 else
5219 result=yes
5220 fi
5221 else
5222 result=$wxUSE_OMF
5223 fi
5224
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5227
5228 fi
5229
5230 if test "$wxUSE_DEBUG" = "yes"; then
5231 DEFAULT_wxUSE_DEBUG_FLAG=yes
5232 DEFAULT_wxUSE_DEBUG_INFO=yes
5233 BUILD=debug
5234 elif test "$wxUSE_DEBUG" = "no"; then
5235 DEFAULT_wxUSE_DEBUG_FLAG=no
5236 DEFAULT_wxUSE_DEBUG_INFO=no
5237 BUILD=release
5238 fi
5239
5240
5241 enablestring=
5242 defaultval=
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5245 defaultval=yes
5246 else
5247 defaultval=no
5248 fi
5249 fi
5250
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5253 # Check whether --enable-debug_flag was given.
5254 if test "${enable_debug_flag+set}" = set; then
5255 enableval=$enable_debug_flag;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5258 else
5259 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5260 fi
5261 cache=yes
5262
5263 else
5264
5265 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 cache=yes
5269 else
5270 cache=no
5271 fi
5272
5273 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5274
5275 fi
5276
5277
5278 eval "$wx_cv_use_debug_flag"
5279 if test "x$cache" = xyes; then
5280 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_DEBUG_FLAG = yes; then
5285 result=no
5286 else
5287 result=yes
5288 fi
5289 else
5290 result=$wxUSE_DEBUG_FLAG
5291 fi
5292
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5295
5296
5297 enablestring=
5298 defaultval=
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5309 # Check whether --enable-debug_info was given.
5310 if test "${enable_debug_info+set}" = set; then
5311 enableval=$enable_debug_info;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5314 else
5315 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5316 fi
5317 cache=yes
5318
5319 else
5320
5321 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 cache=yes
5325 else
5326 cache=no
5327 fi
5328
5329 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5330
5331 fi
5332
5333
5334 eval "$wx_cv_use_debug_info"
5335 if test "x$cache" = xyes; then
5336 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5337 fi
5338
5339 if test x"$enablestring" = xdisable; then
5340 if test $wxUSE_DEBUG_INFO = yes; then
5341 result=no
5342 else
5343 result=yes
5344 fi
5345 else
5346 result=$wxUSE_DEBUG_INFO
5347 fi
5348
5349 { echo "$as_me:$LINENO: result: $result" >&5
5350 echo "${ECHO_T}$result" >&6; }
5351
5352
5353 enablestring=
5354 defaultval=
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5357 defaultval=yes
5358 else
5359 defaultval=no
5360 fi
5361 fi
5362
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5365 # Check whether --enable-debug_gdb was given.
5366 if test "${enable_debug_gdb+set}" = set; then
5367 enableval=$enable_debug_gdb;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5370 else
5371 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5372 fi
5373 cache=yes
5374
5375 else
5376
5377 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x ; then
5379 eval "DEFAULT_$LINE"
5380 cache=yes
5381 else
5382 cache=no
5383 fi
5384
5385 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5386
5387 fi
5388
5389
5390 eval "$wx_cv_use_debug_gdb"
5391 if test "x$cache" = xyes; then
5392 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test x"$enablestring" = xdisable; then
5396 if test $wxUSE_DEBUG_GDB = yes; then
5397 result=no
5398 else
5399 result=yes
5400 fi
5401 else
5402 result=$wxUSE_DEBUG_GDB
5403 fi
5404
5405 { echo "$as_me:$LINENO: result: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5407
5408
5409 enablestring=
5410 defaultval=
5411 if test -z "$defaultval"; then
5412 if test x"$enablestring" = xdisable; then
5413 defaultval=yes
5414 else
5415 defaultval=no
5416 fi
5417 fi
5418
5419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5421 # Check whether --enable-debug_cntxt was given.
5422 if test "${enable_debug_cntxt+set}" = set; then
5423 enableval=$enable_debug_cntxt;
5424 if test "$enableval" = yes; then
5425 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5426 else
5427 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5428 fi
5429 cache=yes
5430
5431 else
5432
5433 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5436 cache=yes
5437 else
5438 cache=no
5439 fi
5440
5441 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5442
5443 fi
5444
5445
5446 eval "$wx_cv_use_debug_cntxt"
5447 if test "x$cache" = xyes; then
5448 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_DEBUG_CONTEXT = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$wxUSE_DEBUG_CONTEXT
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465 enablestring=
5466 defaultval=
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5477 # Check whether --enable-mem_tracing was given.
5478 if test "${enable_mem_tracing+set}" = set; then
5479 enableval=$enable_mem_tracing;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5482 else
5483 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5484 fi
5485 cache=yes
5486
5487 else
5488
5489 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5492 cache=yes
5493 else
5494 cache=no
5495 fi
5496
5497 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5498
5499 fi
5500
5501
5502 eval "$wx_cv_use_mem_tracing"
5503 if test "x$cache" = xyes; then
5504 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_MEM_TRACING = yes; then
5509 result=no
5510 else
5511 result=yes
5512 fi
5513 else
5514 result=$wxUSE_MEM_TRACING
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521 enablestring=
5522 defaultval=
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5525 defaultval=yes
5526 else
5527 defaultval=no
5528 fi
5529 fi
5530
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5533 # Check whether --enable-profile was given.
5534 if test "${enable_profile+set}" = set; then
5535 enableval=$enable_profile;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_profile='wxUSE_PROFILE=yes'
5538 else
5539 wx_cv_use_profile='wxUSE_PROFILE=no'
5540 fi
5541 cache=yes
5542
5543 else
5544
5545 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x ; then
5547 eval "DEFAULT_$LINE"
5548 cache=yes
5549 else
5550 cache=no
5551 fi
5552
5553 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_profile"
5559 if test "x$cache" = xyes; then
5560 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5561 fi
5562
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_PROFILE = yes; then
5565 result=no
5566 else
5567 result=yes
5568 fi
5569 else
5570 result=$wxUSE_PROFILE
5571 fi
5572
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5575
5576
5577 enablestring=
5578 defaultval=
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5581 defaultval=yes
5582 else
5583 defaultval=no
5584 fi
5585 fi
5586
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5589 # Check whether --enable-no_rtti was given.
5590 if test "${enable_no_rtti+set}" = set; then
5591 enableval=$enable_no_rtti;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5594 else
5595 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5596 fi
5597 cache=yes
5598
5599 else
5600
5601 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5604 cache=yes
5605 else
5606 cache=no
5607 fi
5608
5609 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5610
5611 fi
5612
5613
5614 eval "$wx_cv_use_no_rtti"
5615 if test "x$cache" = xyes; then
5616 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5617 fi
5618
5619 if test x"$enablestring" = xdisable; then
5620 if test $wxUSE_NO_RTTI = yes; then
5621 result=no
5622 else
5623 result=yes
5624 fi
5625 else
5626 result=$wxUSE_NO_RTTI
5627 fi
5628
5629 { echo "$as_me:$LINENO: result: $result" >&5
5630 echo "${ECHO_T}$result" >&6; }
5631
5632
5633 enablestring=
5634 defaultval=
5635 if test -z "$defaultval"; then
5636 if test x"$enablestring" = xdisable; then
5637 defaultval=yes
5638 else
5639 defaultval=no
5640 fi
5641 fi
5642
5643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5645 # Check whether --enable-no_exceptions was given.
5646 if test "${enable_no_exceptions+set}" = set; then
5647 enableval=$enable_no_exceptions;
5648 if test "$enableval" = yes; then
5649 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5650 else
5651 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5652 fi
5653 cache=yes
5654
5655 else
5656
5657 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 cache=yes
5661 else
5662 cache=no
5663 fi
5664
5665 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_no_exceptions"
5671 if test "x$cache" = xyes; then
5672 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5673 fi
5674
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_NO_EXCEPTIONS = yes; then
5677 result=no
5678 else
5679 result=yes
5680 fi
5681 else
5682 result=$wxUSE_NO_EXCEPTIONS
5683 fi
5684
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5687
5688
5689 enablestring=
5690 defaultval=
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5693 defaultval=yes
5694 else
5695 defaultval=no
5696 fi
5697 fi
5698
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5701 # Check whether --enable-permissive was given.
5702 if test "${enable_permissive+set}" = set; then
5703 enableval=$enable_permissive;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5706 else
5707 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5708 fi
5709 cache=yes
5710
5711 else
5712
5713 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5716 cache=yes
5717 else
5718 cache=no
5719 fi
5720
5721 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5722
5723 fi
5724
5725
5726 eval "$wx_cv_use_permissive"
5727 if test "x$cache" = xyes; then
5728 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5729 fi
5730
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PERMISSIVE = yes; then
5733 result=no
5734 else
5735 result=yes
5736 fi
5737 else
5738 result=$wxUSE_PERMISSIVE
5739 fi
5740
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5743
5744
5745 enablestring=
5746 defaultval=
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5749 defaultval=yes
5750 else
5751 defaultval=no
5752 fi
5753 fi
5754
5755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5757 # Check whether --enable-no_deps was given.
5758 if test "${enable_no_deps+set}" = set; then
5759 enableval=$enable_no_deps;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5762 else
5763 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5764 fi
5765 cache=yes
5766
5767 else
5768
5769 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5772 cache=yes
5773 else
5774 cache=no
5775 fi
5776
5777 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5778
5779 fi
5780
5781
5782 eval "$wx_cv_use_no_deps"
5783 if test "x$cache" = xyes; then
5784 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5785 fi
5786
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_NO_DEPS = yes; then
5789 result=no
5790 else
5791 result=yes
5792 fi
5793 else
5794 result=$wxUSE_NO_DEPS
5795 fi
5796
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5799
5800
5801 enablestring=disable
5802 defaultval=
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5805 defaultval=yes
5806 else
5807 defaultval=no
5808 fi
5809 fi
5810
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5813 # Check whether --enable-vararg_macros was given.
5814 if test "${enable_vararg_macros+set}" = set; then
5815 enableval=$enable_vararg_macros;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5818 else
5819 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5820 fi
5821 cache=yes
5822
5823 else
5824
5825 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 cache=yes
5829 else
5830 cache=no
5831 fi
5832
5833 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5834
5835 fi
5836
5837
5838 eval "$wx_cv_use_vararg_macros"
5839 if test "x$cache" = xyes; then
5840 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_VARARG_MACROS = yes; then
5845 result=no
5846 else
5847 result=yes
5848 fi
5849 else
5850 result=$wxUSE_VARARG_MACROS
5851 fi
5852
5853 { echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6; }
5855
5856
5857 enablestring=
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5860 # Check whether --enable-universal_binary was given.
5861 if test "${enable_universal_binary+set}" = set; then
5862 enableval=$enable_universal_binary;
5863 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5864 cache=yes
5865
5866 else
5867
5868 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 cache=yes
5872 else
5873 cache=no
5874 fi
5875
5876 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5877
5878 fi
5879
5880
5881 eval "$wx_cv_use_universal_binary"
5882 if test "x$cache" = xyes; then
5883 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5884 fi
5885
5886 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5887 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5888
5889
5890
5891 enablestring=
5892 defaultval=
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5895 defaultval=yes
5896 else
5897 defaultval=no
5898 fi
5899 fi
5900
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5903 # Check whether --enable-compat26 was given.
5904 if test "${enable_compat26+set}" = set; then
5905 enableval=$enable_compat26;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5908 else
5909 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5910 fi
5911 cache=yes
5912
5913 else
5914
5915 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 cache=yes
5919 else
5920 cache=no
5921 fi
5922
5923 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5924
5925 fi
5926
5927
5928 eval "$wx_cv_use_compat26"
5929 if test "x$cache" = xyes; then
5930 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5931 fi
5932
5933 if test x"$enablestring" = xdisable; then
5934 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5935 result=no
5936 else
5937 result=yes
5938 fi
5939 else
5940 result=$WXWIN_COMPATIBILITY_2_6
5941 fi
5942
5943 { echo "$as_me:$LINENO: result: $result" >&5
5944 echo "${ECHO_T}$result" >&6; }
5945
5946
5947 enablestring=disable
5948 defaultval=
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5951 defaultval=yes
5952 else
5953 defaultval=no
5954 fi
5955 fi
5956
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5959 # Check whether --enable-compat28 was given.
5960 if test "${enable_compat28+set}" = set; then
5961 enableval=$enable_compat28;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5964 else
5965 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5966 fi
5967 cache=yes
5968
5969 else
5970
5971 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5974 cache=yes
5975 else
5976 cache=no
5977 fi
5978
5979 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5980
5981 fi
5982
5983
5984 eval "$wx_cv_use_compat28"
5985 if test "x$cache" = xyes; then
5986 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test x"$enablestring" = xdisable; then
5990 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5991 result=no
5992 else
5993 result=yes
5994 fi
5995 else
5996 result=$WXWIN_COMPATIBILITY_2_8
5997 fi
5998
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6001
6002
6003
6004 enablestring=disable
6005 defaultval=
6006 if test -z "$defaultval"; then
6007 if test x"$enablestring" = xdisable; then
6008 defaultval=yes
6009 else
6010 defaultval=no
6011 fi
6012 fi
6013
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6016 # Check whether --enable-rpath was given.
6017 if test "${enable_rpath+set}" = set; then
6018 enableval=$enable_rpath;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_rpath='wxUSE_RPATH=yes'
6021 else
6022 wx_cv_use_rpath='wxUSE_RPATH=no'
6023 fi
6024 cache=yes
6025
6026 else
6027
6028 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6031 cache=yes
6032 else
6033 cache=no
6034 fi
6035
6036 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6037
6038 fi
6039
6040
6041 eval "$wx_cv_use_rpath"
6042 if test "x$cache" = xyes; then
6043 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_RPATH = yes; then
6048 result=no
6049 else
6050 result=yes
6051 fi
6052 else
6053 result=$wxUSE_RPATH
6054 fi
6055
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6058
6059
6060
6061 enablestring=
6062 defaultval=
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6065 defaultval=yes
6066 else
6067 defaultval=no
6068 fi
6069 fi
6070
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6073 # Check whether --enable-objc_uniquifying was given.
6074 if test "${enable_objc_uniquifying+set}" = set; then
6075 enableval=$enable_objc_uniquifying;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6078 else
6079 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6080 fi
6081 cache=yes
6082
6083 else
6084
6085 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6088 cache=yes
6089 else
6090 cache=no
6091 fi
6092
6093 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6094
6095 fi
6096
6097
6098 eval "$wx_cv_use_objc_uniquifying"
6099 if test "x$cache" = xyes; then
6100 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test x"$enablestring" = xdisable; then
6104 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6105 result=no
6106 else
6107 result=yes
6108 fi
6109 else
6110 result=$wxUSE_OBJC_UNIQUIFYING
6111 fi
6112
6113 { echo "$as_me:$LINENO: result: $result" >&5
6114 echo "${ECHO_T}$result" >&6; }
6115
6116
6117
6118 enablestring=disable
6119 defaultval=
6120 if test -z "$defaultval"; then
6121 if test x"$enablestring" = xdisable; then
6122 defaultval=yes
6123 else
6124 defaultval=no
6125 fi
6126 fi
6127
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6130 # Check whether --enable-visibility was given.
6131 if test "${enable_visibility+set}" = set; then
6132 enableval=$enable_visibility;
6133 if test "$enableval" = yes; then
6134 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6135 else
6136 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6137 fi
6138 cache=yes
6139
6140 else
6141
6142 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 cache=yes
6146 else
6147 cache=no
6148 fi
6149
6150 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6151
6152 fi
6153
6154
6155 eval "$wx_cv_use_visibility"
6156 if test "x$cache" = xyes; then
6157 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6158 fi
6159
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_VISIBILITY = yes; then
6162 result=no
6163 else
6164 result=yes
6165 fi
6166 else
6167 result=$wxUSE_VISIBILITY
6168 fi
6169
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6172
6173
6174
6175
6176 enablestring=
6177 defaultval=$wxUSE_ALL_FEATURES
6178 if test -z "$defaultval"; then
6179 if test x"$enablestring" = xdisable; then
6180 defaultval=yes
6181 else
6182 defaultval=no
6183 fi
6184 fi
6185
6186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6188 # Check whether --enable-intl was given.
6189 if test "${enable_intl+set}" = set; then
6190 enableval=$enable_intl;
6191 if test "$enableval" = yes; then
6192 wx_cv_use_intl='wxUSE_INTL=yes'
6193 else
6194 wx_cv_use_intl='wxUSE_INTL=no'
6195 fi
6196 cache=yes
6197
6198 else
6199
6200 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 cache=yes
6204 else
6205 cache=no
6206 fi
6207
6208 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6209
6210 fi
6211
6212
6213 eval "$wx_cv_use_intl"
6214 if test "x$cache" = xyes; then
6215 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_INTL = yes; then
6220 result=no
6221 else
6222 result=yes
6223 fi
6224 else
6225 result=$wxUSE_INTL
6226 fi
6227
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6230
6231
6232 enablestring=
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6236 defaultval=yes
6237 else
6238 defaultval=no
6239 fi
6240 fi
6241
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6244 # Check whether --enable-config was given.
6245 if test "${enable_config+set}" = set; then
6246 enableval=$enable_config;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_config='wxUSE_CONFIG=yes'
6249 else
6250 wx_cv_use_config='wxUSE_CONFIG=no'
6251 fi
6252 cache=yes
6253
6254 else
6255
6256 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 cache=yes
6260 else
6261 cache=no
6262 fi
6263
6264 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6265
6266 fi
6267
6268
6269 eval "$wx_cv_use_config"
6270 if test "x$cache" = xyes; then
6271 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6272 fi
6273
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_CONFIG = yes; then
6276 result=no
6277 else
6278 result=yes
6279 fi
6280 else
6281 result=$wxUSE_CONFIG
6282 fi
6283
6284 { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6286
6287
6288
6289 enablestring=
6290 defaultval=$wxUSE_ALL_FEATURES
6291 if test -z "$defaultval"; then
6292 if test x"$enablestring" = xdisable; then
6293 defaultval=yes
6294 else
6295 defaultval=no
6296 fi
6297 fi
6298
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6301 # Check whether --enable-protocols was given.
6302 if test "${enable_protocols+set}" = set; then
6303 enableval=$enable_protocols;
6304 if test "$enableval" = yes; then
6305 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6306 else
6307 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6308 fi
6309 cache=yes
6310
6311 else
6312
6313 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 cache=yes
6317 else
6318 cache=no
6319 fi
6320
6321 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6322
6323 fi
6324
6325
6326 eval "$wx_cv_use_protocols"
6327 if test "x$cache" = xyes; then
6328 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test x"$enablestring" = xdisable; then
6332 if test $wxUSE_PROTOCOL = yes; then
6333 result=no
6334 else
6335 result=yes
6336 fi
6337 else
6338 result=$wxUSE_PROTOCOL
6339 fi
6340
6341 { echo "$as_me:$LINENO: result: $result" >&5
6342 echo "${ECHO_T}$result" >&6; }
6343
6344
6345 enablestring=
6346 defaultval=$wxUSE_ALL_FEATURES
6347 if test -z "$defaultval"; then
6348 if test x"$enablestring" = xdisable; then
6349 defaultval=yes
6350 else
6351 defaultval=no
6352 fi
6353 fi
6354
6355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6356 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6357 # Check whether --enable-ftp was given.
6358 if test "${enable_ftp+set}" = set; then
6359 enableval=$enable_ftp;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6362 else
6363 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6364 fi
6365 cache=yes
6366
6367 else
6368
6369 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6372 cache=yes
6373 else
6374 cache=no
6375 fi
6376
6377 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6378
6379 fi
6380
6381
6382 eval "$wx_cv_use_ftp"
6383 if test "x$cache" = xyes; then
6384 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6385 fi
6386
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_PROTOCOL_FTP = yes; then
6389 result=no
6390 else
6391 result=yes
6392 fi
6393 else
6394 result=$wxUSE_PROTOCOL_FTP
6395 fi
6396
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6399
6400
6401 enablestring=
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6405 defaultval=yes
6406 else
6407 defaultval=no
6408 fi
6409 fi
6410
6411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6413 # Check whether --enable-http was given.
6414 if test "${enable_http+set}" = set; then
6415 enableval=$enable_http;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6418 else
6419 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6420 fi
6421 cache=yes
6422
6423 else
6424
6425 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x ; then
6427 eval "DEFAULT_$LINE"
6428 cache=yes
6429 else
6430 cache=no
6431 fi
6432
6433 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6434
6435 fi
6436
6437
6438 eval "$wx_cv_use_http"
6439 if test "x$cache" = xyes; then
6440 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6441 fi
6442
6443 if test x"$enablestring" = xdisable; then
6444 if test $wxUSE_PROTOCOL_HTTP = yes; then
6445 result=no
6446 else
6447 result=yes
6448 fi
6449 else
6450 result=$wxUSE_PROTOCOL_HTTP
6451 fi
6452
6453 { echo "$as_me:$LINENO: result: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6455
6456
6457 enablestring=
6458 defaultval=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x"$enablestring" = xdisable; then
6461 defaultval=yes
6462 else
6463 defaultval=no
6464 fi
6465 fi
6466
6467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6469 # Check whether --enable-fileproto was given.
6470 if test "${enable_fileproto+set}" = set; then
6471 enableval=$enable_fileproto;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6474 else
6475 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6476 fi
6477 cache=yes
6478
6479 else
6480
6481 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 cache=yes
6485 else
6486 cache=no
6487 fi
6488
6489 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6490
6491 fi
6492
6493
6494 eval "$wx_cv_use_fileproto"
6495 if test "x$cache" = xyes; then
6496 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test x"$enablestring" = xdisable; then
6500 if test $wxUSE_PROTOCOL_FILE = yes; then
6501 result=no
6502 else
6503 result=yes
6504 fi
6505 else
6506 result=$wxUSE_PROTOCOL_FILE
6507 fi
6508
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6511
6512
6513 enablestring=
6514 defaultval=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x"$enablestring" = xdisable; then
6517 defaultval=yes
6518 else
6519 defaultval=no
6520 fi
6521 fi
6522
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6525 # Check whether --enable-sockets was given.
6526 if test "${enable_sockets+set}" = set; then
6527 enableval=$enable_sockets;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6530 else
6531 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6532 fi
6533 cache=yes
6534
6535 else
6536
6537 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 cache=yes
6541 else
6542 cache=no
6543 fi
6544
6545 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6546
6547 fi
6548
6549
6550 eval "$wx_cv_use_sockets"
6551 if test "x$cache" = xyes; then
6552 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6553 fi
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_SOCKETS = yes; then
6557 result=no
6558 else
6559 result=yes
6560 fi
6561 else
6562 result=$wxUSE_SOCKETS
6563 fi
6564
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6581 # Check whether --enable-ole was given.
6582 if test "${enable_ole+set}" = set; then
6583 enableval=$enable_ole;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ole='wxUSE_OLE=yes'
6586 else
6587 wx_cv_use_ole='wxUSE_OLE=no'
6588 fi
6589 cache=yes
6590
6591 else
6592
6593 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6596 cache=yes
6597 else
6598 cache=no
6599 fi
6600
6601 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6602
6603 fi
6604
6605
6606 eval "$wx_cv_use_ole"
6607 if test "x$cache" = xyes; then
6608 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test x"$enablestring" = xdisable; then
6612 if test $wxUSE_OLE = yes; then
6613 result=no
6614 else
6615 result=yes
6616 fi
6617 else
6618 result=$wxUSE_OLE
6619 fi
6620
6621 { echo "$as_me:$LINENO: result: $result" >&5
6622 echo "${ECHO_T}$result" >&6; }
6623
6624
6625 enablestring=
6626 defaultval=$wxUSE_ALL_FEATURES
6627 if test -z "$defaultval"; then
6628 if test x"$enablestring" = xdisable; then
6629 defaultval=yes
6630 else
6631 defaultval=no
6632 fi
6633 fi
6634
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6637 # Check whether --enable-dataobj was given.
6638 if test "${enable_dataobj+set}" = set; then
6639 enableval=$enable_dataobj;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6642 else
6643 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6644 fi
6645 cache=yes
6646
6647 else
6648
6649 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 cache=yes
6653 else
6654 cache=no
6655 fi
6656
6657 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_dataobj"
6663 if test "x$cache" = xyes; then
6664 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DATAOBJ = yes; then
6669 result=no
6670 else
6671 result=yes
6672 fi
6673 else
6674 result=$wxUSE_DATAOBJ
6675 fi
6676
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6679
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6694 # Check whether --enable-ipc was given.
6695 if test "${enable_ipc+set}" = set; then
6696 enableval=$enable_ipc;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_ipc='wxUSE_IPC=yes'
6699 else
6700 wx_cv_use_ipc='wxUSE_IPC=no'
6701 fi
6702 cache=yes
6703
6704 else
6705
6706 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6709 cache=yes
6710 else
6711 cache=no
6712 fi
6713
6714 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6715
6716 fi
6717
6718
6719 eval "$wx_cv_use_ipc"
6720 if test "x$cache" = xyes; then
6721 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test x"$enablestring" = xdisable; then
6725 if test $wxUSE_IPC = yes; then
6726 result=no
6727 else
6728 result=yes
6729 fi
6730 else
6731 result=$wxUSE_IPC
6732 fi
6733
6734 { echo "$as_me:$LINENO: result: $result" >&5
6735 echo "${ECHO_T}$result" >&6; }
6736
6737
6738
6739 enablestring=
6740 defaultval=$wxUSE_ALL_FEATURES
6741 if test -z "$defaultval"; then
6742 if test x"$enablestring" = xdisable; then
6743 defaultval=yes
6744 else
6745 defaultval=no
6746 fi
6747 fi
6748
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6751 # Check whether --enable-baseevtloop was given.
6752 if test "${enable_baseevtloop+set}" = set; then
6753 enableval=$enable_baseevtloop;
6754 if test "$enableval" = yes; then
6755 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6756 else
6757 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6758 fi
6759 cache=yes
6760
6761 else
6762
6763 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6766 cache=yes
6767 else
6768 cache=no
6769 fi
6770
6771 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6772
6773 fi
6774
6775
6776 eval "$wx_cv_use_baseevtloop"
6777 if test "x$cache" = xyes; then
6778 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6783 result=no
6784 else
6785 result=yes
6786 fi
6787 else
6788 result=$wxUSE_CONSOLE_EVENTLOOP
6789 fi
6790
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6793
6794
6795 enablestring=
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6799 defaultval=yes
6800 else
6801 defaultval=no
6802 fi
6803 fi
6804
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6807 # Check whether --enable-epollloop was given.
6808 if test "${enable_epollloop+set}" = set; then
6809 enableval=$enable_epollloop;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6812 else
6813 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6814 fi
6815 cache=yes
6816
6817 else
6818
6819 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 cache=yes
6823 else
6824 cache=no
6825 fi
6826
6827 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6828
6829 fi
6830
6831
6832 eval "$wx_cv_use_epollloop"
6833 if test "x$cache" = xyes; then
6834 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6835 fi
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6839 result=no
6840 else
6841 result=yes
6842 fi
6843 else
6844 result=$wxUSE_EPOLL_DISPATCHER
6845 fi
6846
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6849
6850
6851 enablestring=
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6863 # Check whether --enable-selectloop was given.
6864 if test "${enable_selectloop+set}" = set; then
6865 enableval=$enable_selectloop;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6868 else
6869 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6870 fi
6871 cache=yes
6872
6873 else
6874
6875 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x ; then
6877 eval "DEFAULT_$LINE"
6878 cache=yes
6879 else
6880 cache=no
6881 fi
6882
6883 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_selectloop"
6889 if test "x$cache" = xyes; then
6890 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_SELECT_DISPATCHER = yes; then
6895 result=no
6896 else
6897 result=yes
6898 fi
6899 else
6900 result=$wxUSE_SELECT_DISPATCHER
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907
6908 enablestring=
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6912 defaultval=yes
6913 else
6914 defaultval=no
6915 fi
6916 fi
6917
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6920 # Check whether --enable-apple_ieee was given.
6921 if test "${enable_apple_ieee+set}" = set; then
6922 enableval=$enable_apple_ieee;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6925 else
6926 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6927 fi
6928 cache=yes
6929
6930 else
6931
6932 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6935 cache=yes
6936 else
6937 cache=no
6938 fi
6939
6940 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6941
6942 fi
6943
6944
6945 eval "$wx_cv_use_apple_ieee"
6946 if test "x$cache" = xyes; then
6947 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_APPLE_IEEE = yes; then
6952 result=no
6953 else
6954 result=yes
6955 fi
6956 else
6957 result=$wxUSE_APPLE_IEEE
6958 fi
6959
6960 { echo "$as_me:$LINENO: result: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6962
6963
6964 enablestring=
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6968 defaultval=yes
6969 else
6970 defaultval=no
6971 fi
6972 fi
6973
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6976 # Check whether --enable-arcstream was given.
6977 if test "${enable_arcstream+set}" = set; then
6978 enableval=$enable_arcstream;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6981 else
6982 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6983 fi
6984 cache=yes
6985
6986 else
6987
6988 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6991 cache=yes
6992 else
6993 cache=no
6994 fi
6995
6996 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6997
6998 fi
6999
7000
7001 eval "$wx_cv_use_arcstream"
7002 if test "x$cache" = xyes; then
7003 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7004 fi
7005
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7008 result=no
7009 else
7010 result=yes
7011 fi
7012 else
7013 result=$wxUSE_ARCHIVE_STREAMS
7014 fi
7015
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7018
7019
7020 enablestring=
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7024 defaultval=yes
7025 else
7026 defaultval=no
7027 fi
7028 fi
7029
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7032 # Check whether --enable-base64 was given.
7033 if test "${enable_base64+set}" = set; then
7034 enableval=$enable_base64;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_base64='wxUSE_BASE64=yes'
7037 else
7038 wx_cv_use_base64='wxUSE_BASE64=no'
7039 fi
7040 cache=yes
7041
7042 else
7043
7044 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7047 cache=yes
7048 else
7049 cache=no
7050 fi
7051
7052 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7053
7054 fi
7055
7056
7057 eval "$wx_cv_use_base64"
7058 if test "x$cache" = xyes; then
7059 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7060 fi
7061
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_BASE64 = yes; then
7064 result=no
7065 else
7066 result=yes
7067 fi
7068 else
7069 result=$wxUSE_BASE64
7070 fi
7071
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7074
7075
7076 enablestring=
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7080 defaultval=yes
7081 else
7082 defaultval=no
7083 fi
7084 fi
7085
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7088 # Check whether --enable-backtrace was given.
7089 if test "${enable_backtrace+set}" = set; then
7090 enableval=$enable_backtrace;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7093 else
7094 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7095 fi
7096 cache=yes
7097
7098 else
7099
7100 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 cache=yes
7104 else
7105 cache=no
7106 fi
7107
7108 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7109
7110 fi
7111
7112
7113 eval "$wx_cv_use_backtrace"
7114 if test "x$cache" = xyes; then
7115 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7116 fi
7117
7118 if test x"$enablestring" = xdisable; then
7119 if test $wxUSE_STACKWALKER = yes; then
7120 result=no
7121 else
7122 result=yes
7123 fi
7124 else
7125 result=$wxUSE_STACKWALKER
7126 fi
7127
7128 { echo "$as_me:$LINENO: result: $result" >&5
7129 echo "${ECHO_T}$result" >&6; }
7130
7131
7132 enablestring=
7133 defaultval=$wxUSE_ALL_FEATURES
7134 if test -z "$defaultval"; then
7135 if test x"$enablestring" = xdisable; then
7136 defaultval=yes
7137 else
7138 defaultval=no
7139 fi
7140 fi
7141
7142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7144 # Check whether --enable-catch_segvs was given.
7145 if test "${enable_catch_segvs+set}" = set; then
7146 enableval=$enable_catch_segvs;
7147 if test "$enableval" = yes; then
7148 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7149 else
7150 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7151 fi
7152 cache=yes
7153
7154 else
7155
7156 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7159 cache=yes
7160 else
7161 cache=no
7162 fi
7163
7164 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_catch_segvs"
7170 if test "x$cache" = xyes; then
7171 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7172 fi
7173
7174 if test x"$enablestring" = xdisable; then
7175 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7176 result=no
7177 else
7178 result=yes
7179 fi
7180 else
7181 result=$wxUSE_ON_FATAL_EXCEPTION
7182 fi
7183
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7186
7187
7188 enablestring=
7189 defaultval=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x"$enablestring" = xdisable; then
7192 defaultval=yes
7193 else
7194 defaultval=no
7195 fi
7196 fi
7197
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7200 # Check whether --enable-cmdline was given.
7201 if test "${enable_cmdline+set}" = set; then
7202 enableval=$enable_cmdline;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7205 else
7206 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7207 fi
7208 cache=yes
7209
7210 else
7211
7212 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 cache=yes
7216 else
7217 cache=no
7218 fi
7219
7220 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7221
7222 fi
7223
7224
7225 eval "$wx_cv_use_cmdline"
7226 if test "x$cache" = xyes; then
7227 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7228 fi
7229
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_CMDLINE_PARSER = yes; then
7232 result=no
7233 else
7234 result=yes
7235 fi
7236 else
7237 result=$wxUSE_CMDLINE_PARSER
7238 fi
7239
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7242
7243
7244 enablestring=
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7248 defaultval=yes
7249 else
7250 defaultval=no
7251 fi
7252 fi
7253
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7256 # Check whether --enable-datetime was given.
7257 if test "${enable_datetime+set}" = set; then
7258 enableval=$enable_datetime;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7261 else
7262 wx_cv_use_datetime='wxUSE_DATETIME=no'
7263 fi
7264 cache=yes
7265
7266 else
7267
7268 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 cache=yes
7272 else
7273 cache=no
7274 fi
7275
7276 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$wx_cv_use_datetime"
7282 if test "x$cache" = xyes; then
7283 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_DATETIME = yes; then
7288 result=no
7289 else
7290 result=yes
7291 fi
7292 else
7293 result=$wxUSE_DATETIME
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7312 # Check whether --enable-debugreport was given.
7313 if test "${enable_debugreport+set}" = set; then
7314 enableval=$enable_debugreport;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7317 else
7318 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7319 fi
7320 cache=yes
7321
7322 else
7323
7324 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7327 cache=yes
7328 else
7329 cache=no
7330 fi
7331
7332 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7333
7334 fi
7335
7336
7337 eval "$wx_cv_use_debugreport"
7338 if test "x$cache" = xyes; then
7339 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7340 fi
7341
7342 if test x"$enablestring" = xdisable; then
7343 if test $wxUSE_DEBUGREPORT = yes; then
7344 result=no
7345 else
7346 result=yes
7347 fi
7348 else
7349 result=$wxUSE_DEBUGREPORT
7350 fi
7351
7352 { echo "$as_me:$LINENO: result: $result" >&5
7353 echo "${ECHO_T}$result" >&6; }
7354
7355
7356 enablestring=
7357 defaultval=$wxUSE_ALL_FEATURES
7358 if test -z "$defaultval"; then
7359 if test x"$enablestring" = xdisable; then
7360 defaultval=yes
7361 else
7362 defaultval=no
7363 fi
7364 fi
7365
7366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7367 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7368 # Check whether --enable-dialupman was given.
7369 if test "${enable_dialupman+set}" = set; then
7370 enableval=$enable_dialupman;
7371 if test "$enableval" = yes; then
7372 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7373 else
7374 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7375 fi
7376 cache=yes
7377
7378 else
7379
7380 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7383 cache=yes
7384 else
7385 cache=no
7386 fi
7387
7388 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$wx_cv_use_dialupman"
7394 if test "x$cache" = xyes; then
7395 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_DIALUP_MANAGER = yes; then
7400 result=no
7401 else
7402 result=yes
7403 fi
7404 else
7405 result=$wxUSE_DIALUP_MANAGER
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7424 # Check whether --enable-dynlib was given.
7425 if test "${enable_dynlib+set}" = set; then
7426 enableval=$enable_dynlib;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7429 else
7430 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7431 fi
7432 cache=yes
7433
7434 else
7435
7436 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 cache=yes
7440 else
7441 cache=no
7442 fi
7443
7444 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7445
7446 fi
7447
7448
7449 eval "$wx_cv_use_dynlib"
7450 if test "x$cache" = xyes; then
7451 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_DYNLIB_CLASS = yes; then
7456 result=no
7457 else
7458 result=yes
7459 fi
7460 else
7461 result=$wxUSE_DYNLIB_CLASS
7462 fi
7463
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7480 # Check whether --enable-dynamicloader was given.
7481 if test "${enable_dynamicloader+set}" = set; then
7482 enableval=$enable_dynamicloader;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7485 else
7486 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7487 fi
7488 cache=yes
7489
7490 else
7491
7492 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 cache=yes
7496 else
7497 cache=no
7498 fi
7499
7500 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7501
7502 fi
7503
7504
7505 eval "$wx_cv_use_dynamicloader"
7506 if test "x$cache" = xyes; then
7507 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7508 fi
7509
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_DYNAMIC_LOADER = yes; then
7512 result=no
7513 else
7514 result=yes
7515 fi
7516 else
7517 result=$wxUSE_DYNAMIC_LOADER
7518 fi
7519
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7522
7523
7524 enablestring=
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7528 defaultval=yes
7529 else
7530 defaultval=no
7531 fi
7532 fi
7533
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7536 # Check whether --enable-exceptions was given.
7537 if test "${enable_exceptions+set}" = set; then
7538 enableval=$enable_exceptions;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7541 else
7542 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7543 fi
7544 cache=yes
7545
7546 else
7547
7548 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x ; then
7550 eval "DEFAULT_$LINE"
7551 cache=yes
7552 else
7553 cache=no
7554 fi
7555
7556 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7557
7558 fi
7559
7560
7561 eval "$wx_cv_use_exceptions"
7562 if test "x$cache" = xyes; then
7563 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7564 fi
7565
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_EXCEPTIONS = yes; then
7568 result=no
7569 else
7570 result=yes
7571 fi
7572 else
7573 result=$wxUSE_EXCEPTIONS
7574 fi
7575
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7578
7579
7580 enablestring=
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7584 defaultval=yes
7585 else
7586 defaultval=no
7587 fi
7588 fi
7589
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7592 # Check whether --enable-ffile was given.
7593 if test "${enable_ffile+set}" = set; then
7594 enableval=$enable_ffile;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_ffile='wxUSE_FFILE=yes'
7597 else
7598 wx_cv_use_ffile='wxUSE_FFILE=no'
7599 fi
7600 cache=yes
7601
7602 else
7603
7604 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 cache=yes
7608 else
7609 cache=no
7610 fi
7611
7612 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_ffile"
7618 if test "x$cache" = xyes; then
7619 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_FFILE = yes; then
7624 result=no
7625 else
7626 result=yes
7627 fi
7628 else
7629 result=$wxUSE_FFILE
7630 fi
7631
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7634
7635
7636 enablestring=
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7640 defaultval=yes
7641 else
7642 defaultval=no
7643 fi
7644 fi
7645
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7648 # Check whether --enable-file was given.
7649 if test "${enable_file+set}" = set; then
7650 enableval=$enable_file;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_file='wxUSE_FILE=yes'
7653 else
7654 wx_cv_use_file='wxUSE_FILE=no'
7655 fi
7656 cache=yes
7657
7658 else
7659
7660 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 cache=yes
7664 else
7665 cache=no
7666 fi
7667
7668 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7669
7670 fi
7671
7672
7673 eval "$wx_cv_use_file"
7674 if test "x$cache" = xyes; then
7675 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7676 fi
7677
7678 if test x"$enablestring" = xdisable; then
7679 if test $wxUSE_FILE = yes; then
7680 result=no
7681 else
7682 result=yes
7683 fi
7684 else
7685 result=$wxUSE_FILE
7686 fi
7687
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7690
7691
7692 enablestring=
7693 defaultval=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x"$enablestring" = xdisable; then
7696 defaultval=yes
7697 else
7698 defaultval=no
7699 fi
7700 fi
7701
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7704 # Check whether --enable-filesystem was given.
7705 if test "${enable_filesystem+set}" = set; then
7706 enableval=$enable_filesystem;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7709 else
7710 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7711 fi
7712 cache=yes
7713
7714 else
7715
7716 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7719 cache=yes
7720 else
7721 cache=no
7722 fi
7723
7724 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7725
7726 fi
7727
7728
7729 eval "$wx_cv_use_filesystem"
7730 if test "x$cache" = xyes; then
7731 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7732 fi
7733
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_FILESYSTEM = yes; then
7736 result=no
7737 else
7738 result=yes
7739 fi
7740 else
7741 result=$wxUSE_FILESYSTEM
7742 fi
7743
7744 { echo "$as_me:$LINENO: result: $result" >&5
7745 echo "${ECHO_T}$result" >&6; }
7746
7747
7748 enablestring=
7749 defaultval=$wxUSE_ALL_FEATURES
7750 if test -z "$defaultval"; then
7751 if test x"$enablestring" = xdisable; then
7752 defaultval=yes
7753 else
7754 defaultval=no
7755 fi
7756 fi
7757
7758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7760 # Check whether --enable-fontenum was given.
7761 if test "${enable_fontenum+set}" = set; then
7762 enableval=$enable_fontenum;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7765 else
7766 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7767 fi
7768 cache=yes
7769
7770 else
7771
7772 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 cache=yes
7776 else
7777 cache=no
7778 fi
7779
7780 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7781
7782 fi
7783
7784
7785 eval "$wx_cv_use_fontenum"
7786 if test "x$cache" = xyes; then
7787 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_FONTENUM = yes; then
7792 result=no
7793 else
7794 result=yes
7795 fi
7796 else
7797 result=$wxUSE_FONTENUM
7798 fi
7799
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7802
7803
7804 enablestring=
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7808 defaultval=yes
7809 else
7810 defaultval=no
7811 fi
7812 fi
7813
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7816 # Check whether --enable-fontmap was given.
7817 if test "${enable_fontmap+set}" = set; then
7818 enableval=$enable_fontmap;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7821 else
7822 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7823 fi
7824 cache=yes
7825
7826 else
7827
7828 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7831 cache=yes
7832 else
7833 cache=no
7834 fi
7835
7836 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7837
7838 fi
7839
7840
7841 eval "$wx_cv_use_fontmap"
7842 if test "x$cache" = xyes; then
7843 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7844 fi
7845
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_FONTMAP = yes; then
7848 result=no
7849 else
7850 result=yes
7851 fi
7852 else
7853 result=$wxUSE_FONTMAP
7854 fi
7855
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7858
7859
7860 enablestring=
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7864 defaultval=yes
7865 else
7866 defaultval=no
7867 fi
7868 fi
7869
7870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7872 # Check whether --enable-fs_archive was given.
7873 if test "${enable_fs_archive+set}" = set; then
7874 enableval=$enable_fs_archive;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7877 else
7878 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7879 fi
7880 cache=yes
7881
7882 else
7883
7884 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x ; then
7886 eval "DEFAULT_$LINE"
7887 cache=yes
7888 else
7889 cache=no
7890 fi
7891
7892 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7893
7894 fi
7895
7896
7897 eval "$wx_cv_use_fs_archive"
7898 if test "x$cache" = xyes; then
7899 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_FS_ARCHIVE = yes; then
7904 result=no
7905 else
7906 result=yes
7907 fi
7908 else
7909 result=$wxUSE_FS_ARCHIVE
7910 fi
7911
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7914
7915
7916 enablestring=
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7920 defaultval=yes
7921 else
7922 defaultval=no
7923 fi
7924 fi
7925
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7928 # Check whether --enable-fs_inet was given.
7929 if test "${enable_fs_inet+set}" = set; then
7930 enableval=$enable_fs_inet;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7933 else
7934 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7935 fi
7936 cache=yes
7937
7938 else
7939
7940 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7943 cache=yes
7944 else
7945 cache=no
7946 fi
7947
7948 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7949
7950 fi
7951
7952
7953 eval "$wx_cv_use_fs_inet"
7954 if test "x$cache" = xyes; then
7955 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7956 fi
7957
7958 if test x"$enablestring" = xdisable; then
7959 if test $wxUSE_FS_INET = yes; then
7960 result=no
7961 else
7962 result=yes
7963 fi
7964 else
7965 result=$wxUSE_FS_INET
7966 fi
7967
7968 { echo "$as_me:$LINENO: result: $result" >&5
7969 echo "${ECHO_T}$result" >&6; }
7970
7971
7972 enablestring=
7973 defaultval=$wxUSE_ALL_FEATURES
7974 if test -z "$defaultval"; then
7975 if test x"$enablestring" = xdisable; then
7976 defaultval=yes
7977 else
7978 defaultval=no
7979 fi
7980 fi
7981
7982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7983 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7984 # Check whether --enable-fs_zip was given.
7985 if test "${enable_fs_zip+set}" = set; then
7986 enableval=$enable_fs_zip;
7987 if test "$enableval" = yes; then
7988 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7989 else
7990 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7991 fi
7992 cache=yes
7993
7994 else
7995
7996 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7997 if test "x$LINE" != x ; then
7998 eval "DEFAULT_$LINE"
7999 cache=yes
8000 else
8001 cache=no
8002 fi
8003
8004 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8005
8006 fi
8007
8008
8009 eval "$wx_cv_use_fs_zip"
8010 if test "x$cache" = xyes; then
8011 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8012 fi
8013
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_FS_ZIP = yes; then
8016 result=no
8017 else
8018 result=yes
8019 fi
8020 else
8021 result=$wxUSE_FS_ZIP
8022 fi
8023
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8026
8027
8028 enablestring=
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8032 defaultval=yes
8033 else
8034 defaultval=no
8035 fi
8036 fi
8037
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8040 # Check whether --enable-geometry was given.
8041 if test "${enable_geometry+set}" = set; then
8042 enableval=$enable_geometry;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8045 else
8046 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8047 fi
8048 cache=yes
8049
8050 else
8051
8052 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 cache=yes
8056 else
8057 cache=no
8058 fi
8059
8060 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8061
8062 fi
8063
8064
8065 eval "$wx_cv_use_geometry"
8066 if test "x$cache" = xyes; then
8067 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8068 fi
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_GEOMETRY = yes; then
8072 result=no
8073 else
8074 result=yes
8075 fi
8076 else
8077 result=$wxUSE_GEOMETRY
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8096 # Check whether --enable-log was given.
8097 if test "${enable_log+set}" = set; then
8098 enableval=$enable_log;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_log='wxUSE_LOG=yes'
8101 else
8102 wx_cv_use_log='wxUSE_LOG=no'
8103 fi
8104 cache=yes
8105
8106 else
8107
8108 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 cache=yes
8112 else
8113 cache=no
8114 fi
8115
8116 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8117
8118 fi
8119
8120
8121 eval "$wx_cv_use_log"
8122 if test "x$cache" = xyes; then
8123 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_LOG = yes; then
8128 result=no
8129 else
8130 result=yes
8131 fi
8132 else
8133 result=$wxUSE_LOG
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140 enablestring=
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8144 defaultval=yes
8145 else
8146 defaultval=no
8147 fi
8148 fi
8149
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8152 # Check whether --enable-longlong was given.
8153 if test "${enable_longlong+set}" = set; then
8154 enableval=$enable_longlong;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8157 else
8158 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8159 fi
8160 cache=yes
8161
8162 else
8163
8164 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8167 cache=yes
8168 else
8169 cache=no
8170 fi
8171
8172 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8173
8174 fi
8175
8176
8177 eval "$wx_cv_use_longlong"
8178 if test "x$cache" = xyes; then
8179 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_LONGLONG = yes; then
8184 result=no
8185 else
8186 result=yes
8187 fi
8188 else
8189 result=$wxUSE_LONGLONG
8190 fi
8191
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8194
8195
8196 enablestring=
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8200 defaultval=yes
8201 else
8202 defaultval=no
8203 fi
8204 fi
8205
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8208 # Check whether --enable-mimetype was given.
8209 if test "${enable_mimetype+set}" = set; then
8210 enableval=$enable_mimetype;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8213 else
8214 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8215 fi
8216 cache=yes
8217
8218 else
8219
8220 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 cache=yes
8224 else
8225 cache=no
8226 fi
8227
8228 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8229
8230 fi
8231
8232
8233 eval "$wx_cv_use_mimetype"
8234 if test "x$cache" = xyes; then
8235 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8236 fi
8237
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_MIMETYPE = yes; then
8240 result=no
8241 else
8242 result=yes
8243 fi
8244 else
8245 result=$wxUSE_MIMETYPE
8246 fi
8247
8248 { echo "$as_me:$LINENO: result: $result" >&5
8249 echo "${ECHO_T}$result" >&6; }
8250
8251
8252 enablestring=
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8256 defaultval=yes
8257 else
8258 defaultval=no
8259 fi
8260 fi
8261
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8264 # Check whether --enable-snglinst was given.
8265 if test "${enable_snglinst+set}" = set; then
8266 enableval=$enable_snglinst;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8269 else
8270 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8271 fi
8272 cache=yes
8273
8274 else
8275
8276 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8279 cache=yes
8280 else
8281 cache=no
8282 fi
8283
8284 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_snglinst"
8290 if test "x$cache" = xyes; then
8291 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_SNGLINST_CHECKER = yes; then
8296 result=no
8297 else
8298 result=yes
8299 fi
8300 else
8301 result=$wxUSE_SNGLINST_CHECKER
8302 fi
8303
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8320 # Check whether --enable-stdpaths was given.
8321 if test "${enable_stdpaths+set}" = set; then
8322 enableval=$enable_stdpaths;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8325 else
8326 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8327 fi
8328 cache=yes
8329
8330 else
8331
8332 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 cache=yes
8336 else
8337 cache=no
8338 fi
8339
8340 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8341
8342 fi
8343
8344
8345 eval "$wx_cv_use_stdpaths"
8346 if test "x$cache" = xyes; then
8347 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8348 fi
8349
8350 if test x"$enablestring" = xdisable; then
8351 if test $wxUSE_STDPATHS = yes; then
8352 result=no
8353 else
8354 result=yes
8355 fi
8356 else
8357 result=$wxUSE_STDPATHS
8358 fi
8359
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8362
8363
8364 enablestring=
8365 defaultval=$wxUSE_ALL_FEATURES
8366 if test -z "$defaultval"; then
8367 if test x"$enablestring" = xdisable; then
8368 defaultval=yes
8369 else
8370 defaultval=no
8371 fi
8372 fi
8373
8374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8376 # Check whether --enable-stopwatch was given.
8377 if test "${enable_stopwatch+set}" = set; then
8378 enableval=$enable_stopwatch;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8381 else
8382 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8383 fi
8384 cache=yes
8385
8386 else
8387
8388 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 cache=yes
8392 else
8393 cache=no
8394 fi
8395
8396 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8397
8398 fi
8399
8400
8401 eval "$wx_cv_use_stopwatch"
8402 if test "x$cache" = xyes; then
8403 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8404 fi
8405
8406 if test x"$enablestring" = xdisable; then
8407 if test $wxUSE_STOPWATCH = yes; then
8408 result=no
8409 else
8410 result=yes
8411 fi
8412 else
8413 result=$wxUSE_STOPWATCH
8414 fi
8415
8416 { echo "$as_me:$LINENO: result: $result" >&5
8417 echo "${ECHO_T}$result" >&6; }
8418
8419
8420 enablestring=
8421 defaultval=$wxUSE_ALL_FEATURES
8422 if test -z "$defaultval"; then
8423 if test x"$enablestring" = xdisable; then
8424 defaultval=yes
8425 else
8426 defaultval=no
8427 fi
8428 fi
8429
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8432 # Check whether --enable-streams was given.
8433 if test "${enable_streams+set}" = set; then
8434 enableval=$enable_streams;
8435 if test "$enableval" = yes; then
8436 wx_cv_use_streams='wxUSE_STREAMS=yes'
8437 else
8438 wx_cv_use_streams='wxUSE_STREAMS=no'
8439 fi
8440 cache=yes
8441
8442 else
8443
8444 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8447 cache=yes
8448 else
8449 cache=no
8450 fi
8451
8452 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8453
8454 fi
8455
8456
8457 eval "$wx_cv_use_streams"
8458 if test "x$cache" = xyes; then
8459 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8460 fi
8461
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_STREAMS = yes; then
8464 result=no
8465 else
8466 result=yes
8467 fi
8468 else
8469 result=$wxUSE_STREAMS
8470 fi
8471
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8474
8475
8476 enablestring=
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8480 defaultval=yes
8481 else
8482 defaultval=no
8483 fi
8484 fi
8485
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8488 # Check whether --enable-system_options was given.
8489 if test "${enable_system_options+set}" = set; then
8490 enableval=$enable_system_options;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8493 else
8494 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8495 fi
8496 cache=yes
8497
8498 else
8499
8500 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 cache=yes
8504 else
8505 cache=no
8506 fi
8507
8508 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8509
8510 fi
8511
8512
8513 eval "$wx_cv_use_system_options"
8514 if test "x$cache" = xyes; then
8515 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8516 fi
8517
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8520 result=no
8521 else
8522 result=yes
8523 fi
8524 else
8525 result=$wxUSE_SYSTEM_OPTIONS
8526 fi
8527
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8530
8531
8532 enablestring=
8533 defaultval=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8536 defaultval=yes
8537 else
8538 defaultval=no
8539 fi
8540 fi
8541
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8544 # Check whether --enable-tarstream was given.
8545 if test "${enable_tarstream+set}" = set; then
8546 enableval=$enable_tarstream;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8549 else
8550 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8551 fi
8552 cache=yes
8553
8554 else
8555
8556 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8559 cache=yes
8560 else
8561 cache=no
8562 fi
8563
8564 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8565
8566 fi
8567
8568
8569 eval "$wx_cv_use_tarstream"
8570 if test "x$cache" = xyes; then
8571 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8572 fi
8573
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_TARSTREAM = yes; then
8576 result=no
8577 else
8578 result=yes
8579 fi
8580 else
8581 result=$wxUSE_TARSTREAM
8582 fi
8583
8584 { echo "$as_me:$LINENO: result: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8586
8587
8588 enablestring=
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8592 defaultval=yes
8593 else
8594 defaultval=no
8595 fi
8596 fi
8597
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8600 # Check whether --enable-textbuf was given.
8601 if test "${enable_textbuf+set}" = set; then
8602 enableval=$enable_textbuf;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8605 else
8606 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8607 fi
8608 cache=yes
8609
8610 else
8611
8612 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8615 cache=yes
8616 else
8617 cache=no
8618 fi
8619
8620 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8621
8622 fi
8623
8624
8625 eval "$wx_cv_use_textbuf"
8626 if test "x$cache" = xyes; then
8627 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8628 fi
8629
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_TEXTBUFFER = yes; then
8632 result=no
8633 else
8634 result=yes
8635 fi
8636 else
8637 result=$wxUSE_TEXTBUFFER
8638 fi
8639
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8642
8643
8644 enablestring=
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8648 defaultval=yes
8649 else
8650 defaultval=no
8651 fi
8652 fi
8653
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8656 # Check whether --enable-textfile was given.
8657 if test "${enable_textfile+set}" = set; then
8658 enableval=$enable_textfile;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8661 else
8662 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8663 fi
8664 cache=yes
8665
8666 else
8667
8668 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 cache=yes
8672 else
8673 cache=no
8674 fi
8675
8676 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8677
8678 fi
8679
8680
8681 eval "$wx_cv_use_textfile"
8682 if test "x$cache" = xyes; then
8683 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8684 fi
8685
8686 if test x"$enablestring" = xdisable; then
8687 if test $wxUSE_TEXTFILE = yes; then
8688 result=no
8689 else
8690 result=yes
8691 fi
8692 else
8693 result=$wxUSE_TEXTFILE
8694 fi
8695
8696 { echo "$as_me:$LINENO: result: $result" >&5
8697 echo "${ECHO_T}$result" >&6; }
8698
8699
8700 enablestring=
8701 defaultval=$wxUSE_ALL_FEATURES
8702 if test -z "$defaultval"; then
8703 if test x"$enablestring" = xdisable; then
8704 defaultval=yes
8705 else
8706 defaultval=no
8707 fi
8708 fi
8709
8710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8712 # Check whether --enable-timer was given.
8713 if test "${enable_timer+set}" = set; then
8714 enableval=$enable_timer;
8715 if test "$enableval" = yes; then
8716 wx_cv_use_timer='wxUSE_TIMER=yes'
8717 else
8718 wx_cv_use_timer='wxUSE_TIMER=no'
8719 fi
8720 cache=yes
8721
8722 else
8723
8724 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x ; then
8726 eval "DEFAULT_$LINE"
8727 cache=yes
8728 else
8729 cache=no
8730 fi
8731
8732 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_timer"
8738 if test "x$cache" = xyes; then
8739 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8740 fi
8741
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_TIMER = yes; then
8744 result=no
8745 else
8746 result=yes
8747 fi
8748 else
8749 result=$wxUSE_TIMER
8750 fi
8751
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8754
8755
8756 enablestring=
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8760 defaultval=yes
8761 else
8762 defaultval=no
8763 fi
8764 fi
8765
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8768 # Check whether --enable-sound was given.
8769 if test "${enable_sound+set}" = set; then
8770 enableval=$enable_sound;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_sound='wxUSE_SOUND=yes'
8773 else
8774 wx_cv_use_sound='wxUSE_SOUND=no'
8775 fi
8776 cache=yes
8777
8778 else
8779
8780 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8783 cache=yes
8784 else
8785 cache=no
8786 fi
8787
8788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8789
8790 fi
8791
8792
8793 eval "$wx_cv_use_sound"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_SOUND = yes; then
8800 result=no
8801 else
8802 result=yes
8803 fi
8804 else
8805 result=$wxUSE_SOUND
8806 fi
8807
8808 { echo "$as_me:$LINENO: result: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8810
8811
8812 enablestring=
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8816 defaultval=yes
8817 else
8818 defaultval=no
8819 fi
8820 fi
8821
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8824 # Check whether --enable-mediactrl was given.
8825 if test "${enable_mediactrl+set}" = set; then
8826 enableval=$enable_mediactrl;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8829 else
8830 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8831 fi
8832 cache=yes
8833
8834 else
8835
8836 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 cache=yes
8840 else
8841 cache=no
8842 fi
8843
8844 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8845
8846 fi
8847
8848
8849 eval "$wx_cv_use_mediactrl"
8850 if test "x$cache" = xyes; then
8851 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8852 fi
8853
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_MEDIACTRL = yes; then
8856 result=no
8857 else
8858 result=yes
8859 fi
8860 else
8861 result=$wxUSE_MEDIACTRL
8862 fi
8863
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8866
8867
8868 enablestring=
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8872 defaultval=yes
8873 else
8874 defaultval=no
8875 fi
8876 fi
8877
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8880 # Check whether --enable-gstreamer8 was given.
8881 if test "${enable_gstreamer8+set}" = set; then
8882 enableval=$enable_gstreamer8;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8885 else
8886 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8887 fi
8888 cache=yes
8889
8890 else
8891
8892 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x ; then
8894 eval "DEFAULT_$LINE"
8895 cache=yes
8896 else
8897 cache=no
8898 fi
8899
8900 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8901
8902 fi
8903
8904
8905 eval "$wx_cv_use_gstreamer8"
8906 if test "x$cache" = xyes; then
8907 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8908 fi
8909
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_GSTREAMER8 = yes; then
8912 result=no
8913 else
8914 result=yes
8915 fi
8916 else
8917 result=$wxUSE_GSTREAMER8
8918 fi
8919
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8922
8923
8924 enablestring=
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8928 defaultval=yes
8929 else
8930 defaultval=no
8931 fi
8932 fi
8933
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8936 # Check whether --enable-printfposparam was given.
8937 if test "${enable_printfposparam+set}" = set; then
8938 enableval=$enable_printfposparam;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8941 else
8942 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8943 fi
8944 cache=yes
8945
8946 else
8947
8948 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 cache=yes
8952 else
8953 cache=no
8954 fi
8955
8956 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8957
8958 fi
8959
8960
8961 eval "$wx_cv_use_printfposparam"
8962 if test "x$cache" = xyes; then
8963 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test x"$enablestring" = xdisable; then
8967 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8968 result=no
8969 else
8970 result=yes
8971 fi
8972 else
8973 result=$wxUSE_PRINTF_POS_PARAMS
8974 fi
8975
8976 { echo "$as_me:$LINENO: result: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8978
8979
8980 enablestring=
8981 defaultval=$wxUSE_ALL_FEATURES
8982 if test -z "$defaultval"; then
8983 if test x"$enablestring" = xdisable; then
8984 defaultval=yes
8985 else
8986 defaultval=no
8987 fi
8988 fi
8989
8990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8992 # Check whether --enable-zipstream was given.
8993 if test "${enable_zipstream+set}" = set; then
8994 enableval=$enable_zipstream;
8995 if test "$enableval" = yes; then
8996 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8997 else
8998 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8999 fi
9000 cache=yes
9001
9002 else
9003
9004 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9005 if test "x$LINE" != x ; then
9006 eval "DEFAULT_$LINE"
9007 cache=yes
9008 else
9009 cache=no
9010 fi
9011
9012 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9013
9014 fi
9015
9016
9017 eval "$wx_cv_use_zipstream"
9018 if test "x$cache" = xyes; then
9019 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9020 fi
9021
9022 if test x"$enablestring" = xdisable; then
9023 if test $wxUSE_ZIPSTREAM = yes; then
9024 result=no
9025 else
9026 result=yes
9027 fi
9028 else
9029 result=$wxUSE_ZIPSTREAM
9030 fi
9031
9032 { echo "$as_me:$LINENO: result: $result" >&5
9033 echo "${ECHO_T}$result" >&6; }
9034
9035
9036
9037 enablestring=
9038 defaultval=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x"$enablestring" = xdisable; then
9041 defaultval=yes
9042 else
9043 defaultval=no
9044 fi
9045 fi
9046
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9049 # Check whether --enable-url was given.
9050 if test "${enable_url+set}" = set; then
9051 enableval=$enable_url;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_url='wxUSE_URL=yes'
9054 else
9055 wx_cv_use_url='wxUSE_URL=no'
9056 fi
9057 cache=yes
9058
9059 else
9060
9061 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 cache=yes
9065 else
9066 cache=no
9067 fi
9068
9069 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9070
9071 fi
9072
9073
9074 eval "$wx_cv_use_url"
9075 if test "x$cache" = xyes; then
9076 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9077 fi
9078
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_URL = yes; then
9081 result=no
9082 else
9083 result=yes
9084 fi
9085 else
9086 result=$wxUSE_URL
9087 fi
9088
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9091
9092
9093 enablestring=
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9097 defaultval=yes
9098 else
9099 defaultval=no
9100 fi
9101 fi
9102
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9105 # Check whether --enable-variant was given.
9106 if test "${enable_variant+set}" = set; then
9107 enableval=$enable_variant;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_variant='wxUSE_VARIANT=yes'
9110 else
9111 wx_cv_use_variant='wxUSE_VARIANT=no'
9112 fi
9113 cache=yes
9114
9115 else
9116
9117 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9120 cache=yes
9121 else
9122 cache=no
9123 fi
9124
9125 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_variant"
9131 if test "x$cache" = xyes; then
9132 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_VARIANT = yes; then
9137 result=no
9138 else
9139 result=yes
9140 fi
9141 else
9142 result=$wxUSE_VARIANT
9143 fi
9144
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9161 # Check whether --enable-protocol was given.
9162 if test "${enable_protocol+set}" = set; then
9163 enableval=$enable_protocol;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9166 else
9167 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9168 fi
9169 cache=yes
9170
9171 else
9172
9173 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x ; then
9175 eval "DEFAULT_$LINE"
9176 cache=yes
9177 else
9178 cache=no
9179 fi
9180
9181 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_protocol"
9187 if test "x$cache" = xyes; then
9188 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9189 fi
9190
9191 if test x"$enablestring" = xdisable; then
9192 if test $wxUSE_PROTOCOL = yes; then
9193 result=no
9194 else
9195 result=yes
9196 fi
9197 else
9198 result=$wxUSE_PROTOCOL
9199 fi
9200
9201 { echo "$as_me:$LINENO: result: $result" >&5
9202 echo "${ECHO_T}$result" >&6; }
9203
9204
9205 enablestring=
9206 defaultval=$wxUSE_ALL_FEATURES
9207 if test -z "$defaultval"; then
9208 if test x"$enablestring" = xdisable; then
9209 defaultval=yes
9210 else
9211 defaultval=no
9212 fi
9213 fi
9214
9215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9217 # Check whether --enable-protocol_http was given.
9218 if test "${enable_protocol_http+set}" = set; then
9219 enableval=$enable_protocol_http;
9220 if test "$enableval" = yes; then
9221 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9222 else
9223 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9224 fi
9225 cache=yes
9226
9227 else
9228
9229 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9230 if test "x$LINE" != x ; then
9231 eval "DEFAULT_$LINE"
9232 cache=yes
9233 else
9234 cache=no
9235 fi
9236
9237 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9238
9239 fi
9240
9241
9242 eval "$wx_cv_use_protocol_http"
9243 if test "x$cache" = xyes; then
9244 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9245 fi
9246
9247 if test x"$enablestring" = xdisable; then
9248 if test $wxUSE_PROTOCOL_HTTP = yes; then
9249 result=no
9250 else
9251 result=yes
9252 fi
9253 else
9254 result=$wxUSE_PROTOCOL_HTTP
9255 fi
9256
9257 { echo "$as_me:$LINENO: result: $result" >&5
9258 echo "${ECHO_T}$result" >&6; }
9259
9260
9261 enablestring=
9262 defaultval=$wxUSE_ALL_FEATURES
9263 if test -z "$defaultval"; then
9264 if test x"$enablestring" = xdisable; then
9265 defaultval=yes
9266 else
9267 defaultval=no
9268 fi
9269 fi
9270
9271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9273 # Check whether --enable-protocol_ftp was given.
9274 if test "${enable_protocol_ftp+set}" = set; then
9275 enableval=$enable_protocol_ftp;
9276 if test "$enableval" = yes; then
9277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9278 else
9279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9280 fi
9281 cache=yes
9282
9283 else
9284
9285 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 cache=yes
9289 else
9290 cache=no
9291 fi
9292
9293 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9294
9295 fi
9296
9297
9298 eval "$wx_cv_use_protocol_ftp"
9299 if test "x$cache" = xyes; then
9300 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9301 fi
9302
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_PROTOCOL_FTP = yes; then
9305 result=no
9306 else
9307 result=yes
9308 fi
9309 else
9310 result=$wxUSE_PROTOCOL_FTP
9311 fi
9312
9313 { echo "$as_me:$LINENO: result: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9315
9316
9317 enablestring=
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9321 defaultval=yes
9322 else
9323 defaultval=no
9324 fi
9325 fi
9326
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9329 # Check whether --enable-protocol_file was given.
9330 if test "${enable_protocol_file+set}" = set; then
9331 enableval=$enable_protocol_file;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9334 else
9335 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9336 fi
9337 cache=yes
9338
9339 else
9340
9341 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9344 cache=yes
9345 else
9346 cache=no
9347 fi
9348
9349 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9350
9351 fi
9352
9353
9354 eval "$wx_cv_use_protocol_file"
9355 if test "x$cache" = xyes; then
9356 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9357 fi
9358
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_PROTOCOL_FILE = yes; then
9361 result=no
9362 else
9363 result=yes
9364 fi
9365 else
9366 result=$wxUSE_PROTOCOL_FILE
9367 fi
9368
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9371
9372
9373
9374 enablestring=
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9386 # Check whether --enable-threads was given.
9387 if test "${enable_threads+set}" = set; then
9388 enableval=$enable_threads;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_threads='wxUSE_THREADS=yes'
9391 else
9392 wx_cv_use_threads='wxUSE_THREADS=no'
9393 fi
9394 cache=yes
9395
9396 else
9397
9398 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 cache=yes
9402 else
9403 cache=no
9404 fi
9405
9406 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9407
9408 fi
9409
9410
9411 eval "$wx_cv_use_threads"
9412 if test "x$cache" = xyes; then
9413 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9414 fi
9415
9416 if test x"$enablestring" = xdisable; then
9417 if test $wxUSE_THREADS = yes; then
9418 result=no
9419 else
9420 result=yes
9421 fi
9422 else
9423 result=$wxUSE_THREADS
9424 fi
9425
9426 { echo "$as_me:$LINENO: result: $result" >&5
9427 echo "${ECHO_T}$result" >&6; }
9428
9429
9430
9431 enablestring=
9432 defaultval=
9433 if test -z "$defaultval"; then
9434 if test x"$enablestring" = xdisable; then
9435 defaultval=yes
9436 else
9437 defaultval=no
9438 fi
9439 fi
9440
9441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9443 # Check whether --enable-iniconf was given.
9444 if test "${enable_iniconf+set}" = set; then
9445 enableval=$enable_iniconf;
9446 if test "$enableval" = yes; then
9447 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9448 else
9449 wx_cv_use_iniconf='wxUSE_INICONF=no'
9450 fi
9451 cache=yes
9452
9453 else
9454
9455 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9458 cache=yes
9459 else
9460 cache=no
9461 fi
9462
9463 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9464
9465 fi
9466
9467
9468 eval "$wx_cv_use_iniconf"
9469 if test "x$cache" = xyes; then
9470 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9471 fi
9472
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_INICONF = yes; then
9475 result=no
9476 else
9477 result=yes
9478 fi
9479 else
9480 result=$wxUSE_INICONF
9481 fi
9482
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9485
9486
9487 enablestring=
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9491 defaultval=yes
9492 else
9493 defaultval=no
9494 fi
9495 fi
9496
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9499 # Check whether --enable-regkey was given.
9500 if test "${enable_regkey+set}" = set; then
9501 enableval=$enable_regkey;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9504 else
9505 wx_cv_use_regkey='wxUSE_REGKEY=no'
9506 fi
9507 cache=yes
9508
9509 else
9510
9511 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9514 cache=yes
9515 else
9516 cache=no
9517 fi
9518
9519 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9520
9521 fi
9522
9523
9524 eval "$wx_cv_use_regkey"
9525 if test "x$cache" = xyes; then
9526 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_REGKEY = yes; then
9531 result=no
9532 else
9533 result=yes
9534 fi
9535 else
9536 result=$wxUSE_REGKEY
9537 fi
9538
9539 { echo "$as_me:$LINENO: result: $result" >&5
9540 echo "${ECHO_T}$result" >&6; }
9541
9542
9543 if test "$wxUSE_GUI" = "yes"; then
9544
9545
9546
9547 enablestring=
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9551 defaultval=yes
9552 else
9553 defaultval=no
9554 fi
9555 fi
9556
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9559 # Check whether --enable-docview was given.
9560 if test "${enable_docview+set}" = set; then
9561 enableval=$enable_docview;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9564 else
9565 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9566 fi
9567 cache=yes
9568
9569 else
9570
9571 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9574 cache=yes
9575 else
9576 cache=no
9577 fi
9578
9579 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9580
9581 fi
9582
9583
9584 eval "$wx_cv_use_docview"
9585 if test "x$cache" = xyes; then
9586 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9587 fi
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9591 result=no
9592 else
9593 result=yes
9594 fi
9595 else
9596 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 enablestring=
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9607 defaultval=yes
9608 else
9609 defaultval=no
9610 fi
9611 fi
9612
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9615 # Check whether --enable-help was given.
9616 if test "${enable_help+set}" = set; then
9617 enableval=$enable_help;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_help='wxUSE_HELP=yes'
9620 else
9621 wx_cv_use_help='wxUSE_HELP=no'
9622 fi
9623 cache=yes
9624
9625 else
9626
9627 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 cache=yes
9631 else
9632 cache=no
9633 fi
9634
9635 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9636
9637 fi
9638
9639
9640 eval "$wx_cv_use_help"
9641 if test "x$cache" = xyes; then
9642 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_HELP = yes; then
9647 result=no
9648 else
9649 result=yes
9650 fi
9651 else
9652 result=$wxUSE_HELP
9653 fi
9654
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9657
9658
9659 enablestring=
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9663 defaultval=yes
9664 else
9665 defaultval=no
9666 fi
9667 fi
9668
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9671 # Check whether --enable-mshtmlhelp was given.
9672 if test "${enable_mshtmlhelp+set}" = set; then
9673 enableval=$enable_mshtmlhelp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9676 else
9677 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9678 fi
9679 cache=yes
9680
9681 else
9682
9683 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9684 if test "x$LINE" != x ; then
9685 eval "DEFAULT_$LINE"
9686 cache=yes
9687 else
9688 cache=no
9689 fi
9690
9691 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9692
9693 fi
9694
9695
9696 eval "$wx_cv_use_mshtmlhelp"
9697 if test "x$cache" = xyes; then
9698 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test x"$enablestring" = xdisable; then
9702 if test $wxUSE_MS_HTML_HELP = yes; then
9703 result=no
9704 else
9705 result=yes
9706 fi
9707 else
9708 result=$wxUSE_MS_HTML_HELP
9709 fi
9710
9711 { echo "$as_me:$LINENO: result: $result" >&5
9712 echo "${ECHO_T}$result" >&6; }
9713
9714
9715 enablestring=
9716 defaultval=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x"$enablestring" = xdisable; then
9719 defaultval=yes
9720 else
9721 defaultval=no
9722 fi
9723 fi
9724
9725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9727 # Check whether --enable-html was given.
9728 if test "${enable_html+set}" = set; then
9729 enableval=$enable_html;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_html='wxUSE_HTML=yes'
9732 else
9733 wx_cv_use_html='wxUSE_HTML=no'
9734 fi
9735 cache=yes
9736
9737 else
9738
9739 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 cache=yes
9743 else
9744 cache=no
9745 fi
9746
9747 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_html"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9755 fi
9756
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_HTML = yes; then
9759 result=no
9760 else
9761 result=yes
9762 fi
9763 else
9764 result=$wxUSE_HTML
9765 fi
9766
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9769
9770
9771 enablestring=
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9775 defaultval=yes
9776 else
9777 defaultval=no
9778 fi
9779 fi
9780
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9783 # Check whether --enable-htmlhelp was given.
9784 if test "${enable_htmlhelp+set}" = set; then
9785 enableval=$enable_htmlhelp;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9788 else
9789 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9790 fi
9791 cache=yes
9792
9793 else
9794
9795 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9798 cache=yes
9799 else
9800 cache=no
9801 fi
9802
9803 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9804
9805 fi
9806
9807
9808 eval "$wx_cv_use_htmlhelp"
9809 if test "x$cache" = xyes; then
9810 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_WXHTML_HELP = yes; then
9815 result=no
9816 else
9817 result=yes
9818 fi
9819 else
9820 result=$wxUSE_WXHTML_HELP
9821 fi
9822
9823 { echo "$as_me:$LINENO: result: $result" >&5
9824 echo "${ECHO_T}$result" >&6; }
9825
9826
9827 enablestring=
9828 defaultval=$wxUSE_ALL_FEATURES
9829 if test -z "$defaultval"; then
9830 if test x"$enablestring" = xdisable; then
9831 defaultval=yes
9832 else
9833 defaultval=no
9834 fi
9835 fi
9836
9837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9839 # Check whether --enable-xrc was given.
9840 if test "${enable_xrc+set}" = set; then
9841 enableval=$enable_xrc;
9842 if test "$enableval" = yes; then
9843 wx_cv_use_xrc='wxUSE_XRC=yes'
9844 else
9845 wx_cv_use_xrc='wxUSE_XRC=no'
9846 fi
9847 cache=yes
9848
9849 else
9850
9851 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x ; then
9853 eval "DEFAULT_$LINE"
9854 cache=yes
9855 else
9856 cache=no
9857 fi
9858
9859 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9860
9861 fi
9862
9863
9864 eval "$wx_cv_use_xrc"
9865 if test "x$cache" = xyes; then
9866 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9867 fi
9868
9869 if test x"$enablestring" = xdisable; then
9870 if test $wxUSE_XRC = yes; then
9871 result=no
9872 else
9873 result=yes
9874 fi
9875 else
9876 result=$wxUSE_XRC
9877 fi
9878
9879 { echo "$as_me:$LINENO: result: $result" >&5
9880 echo "${ECHO_T}$result" >&6; }
9881
9882
9883 enablestring=
9884 defaultval=$wxUSE_ALL_FEATURES
9885 if test -z "$defaultval"; then
9886 if test x"$enablestring" = xdisable; then
9887 defaultval=yes
9888 else
9889 defaultval=no
9890 fi
9891 fi
9892
9893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9895 # Check whether --enable-aui was given.
9896 if test "${enable_aui+set}" = set; then
9897 enableval=$enable_aui;
9898 if test "$enableval" = yes; then
9899 wx_cv_use_aui='wxUSE_AUI=yes'
9900 else
9901 wx_cv_use_aui='wxUSE_AUI=no'
9902 fi
9903 cache=yes
9904
9905 else
9906
9907 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9908 if test "x$LINE" != x ; then
9909 eval "DEFAULT_$LINE"
9910 cache=yes
9911 else
9912 cache=no
9913 fi
9914
9915 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9916
9917 fi
9918
9919
9920 eval "$wx_cv_use_aui"
9921 if test "x$cache" = xyes; then
9922 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9923 fi
9924
9925 if test x"$enablestring" = xdisable; then
9926 if test $wxUSE_AUI = yes; then
9927 result=no
9928 else
9929 result=yes
9930 fi
9931 else
9932 result=$wxUSE_AUI
9933 fi
9934
9935 { echo "$as_me:$LINENO: result: $result" >&5
9936 echo "${ECHO_T}$result" >&6; }
9937
9938
9939 enablestring=
9940 defaultval=$wxUSE_ALL_FEATURES
9941 if test -z "$defaultval"; then
9942 if test x"$enablestring" = xdisable; then
9943 defaultval=yes
9944 else
9945 defaultval=no
9946 fi
9947 fi
9948
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9951 # Check whether --enable-stc was given.
9952 if test "${enable_stc+set}" = set; then
9953 enableval=$enable_stc;
9954 if test "$enableval" = yes; then
9955 wx_cv_use_stc='wxUSE_STC=yes'
9956 else
9957 wx_cv_use_stc='wxUSE_STC=no'
9958 fi
9959 cache=yes
9960
9961 else
9962
9963 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 cache=yes
9967 else
9968 cache=no
9969 fi
9970
9971 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_stc"
9977 if test "x$cache" = xyes; then
9978 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9979 fi
9980
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_STC = yes; then
9983 result=no
9984 else
9985 result=yes
9986 fi
9987 else
9988 result=$wxUSE_STC
9989 fi
9990
9991 { echo "$as_me:$LINENO: result: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9993
9994
9995 enablestring=
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
9999 defaultval=yes
10000 else
10001 defaultval=no
10002 fi
10003 fi
10004
10005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10007 # Check whether --enable-constraints was given.
10008 if test "${enable_constraints+set}" = set; then
10009 enableval=$enable_constraints;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10012 else
10013 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10014 fi
10015 cache=yes
10016
10017 else
10018
10019 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10020 if test "x$LINE" != x ; then
10021 eval "DEFAULT_$LINE"
10022 cache=yes
10023 else
10024 cache=no
10025 fi
10026
10027 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10028
10029 fi
10030
10031
10032 eval "$wx_cv_use_constraints"
10033 if test "x$cache" = xyes; then
10034 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10035 fi
10036
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CONSTRAINTS = yes; then
10039 result=no
10040 else
10041 result=yes
10042 fi
10043 else
10044 result=$wxUSE_CONSTRAINTS
10045 fi
10046
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10049
10050
10051 enablestring=
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10055 defaultval=yes
10056 else
10057 defaultval=no
10058 fi
10059 fi
10060
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10063 # Check whether --enable-printarch was given.
10064 if test "${enable_printarch+set}" = set; then
10065 enableval=$enable_printarch;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10068 else
10069 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10070 fi
10071 cache=yes
10072
10073 else
10074
10075 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x ; then
10077 eval "DEFAULT_$LINE"
10078 cache=yes
10079 else
10080 cache=no
10081 fi
10082
10083 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10084
10085 fi
10086
10087
10088 eval "$wx_cv_use_printarch"
10089 if test "x$cache" = xyes; then
10090 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10091 fi
10092
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10095 result=no
10096 else
10097 result=yes
10098 fi
10099 else
10100 result=$wxUSE_PRINTING_ARCHITECTURE
10101 fi
10102
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10105
10106
10107 enablestring=
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10111 defaultval=yes
10112 else
10113 defaultval=no
10114 fi
10115 fi
10116
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10119 # Check whether --enable-mdi was given.
10120 if test "${enable_mdi+set}" = set; then
10121 enableval=$enable_mdi;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_mdi='wxUSE_MDI=yes'
10124 else
10125 wx_cv_use_mdi='wxUSE_MDI=no'
10126 fi
10127 cache=yes
10128
10129 else
10130
10131 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10132 if test "x$LINE" != x ; then
10133 eval "DEFAULT_$LINE"
10134 cache=yes
10135 else
10136 cache=no
10137 fi
10138
10139 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10140
10141 fi
10142
10143
10144 eval "$wx_cv_use_mdi"
10145 if test "x$cache" = xyes; then
10146 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10147 fi
10148
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_MDI = yes; then
10151 result=no
10152 else
10153 result=yes
10154 fi
10155 else
10156 result=$wxUSE_MDI
10157 fi
10158
10159 { echo "$as_me:$LINENO: result: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10161
10162
10163 enablestring=
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10167 defaultval=yes
10168 else
10169 defaultval=no
10170 fi
10171 fi
10172
10173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10175 # Check whether --enable-mdidoc was given.
10176 if test "${enable_mdidoc+set}" = set; then
10177 enableval=$enable_mdidoc;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10180 else
10181 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10182 fi
10183 cache=yes
10184
10185 else
10186
10187 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10188 if test "x$LINE" != x ; then
10189 eval "DEFAULT_$LINE"
10190 cache=yes
10191 else
10192 cache=no
10193 fi
10194
10195 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10196
10197 fi
10198
10199
10200 eval "$wx_cv_use_mdidoc"
10201 if test "x$cache" = xyes; then
10202 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10203 fi
10204
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10207 result=no
10208 else
10209 result=yes
10210 fi
10211 else
10212 result=$wxUSE_MDI_ARCHITECTURE
10213 fi
10214
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10217
10218
10219 enablestring=
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10223 defaultval=yes
10224 else
10225 defaultval=no
10226 fi
10227 fi
10228
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10231 # Check whether --enable-loggui was given.
10232 if test "${enable_loggui+set}" = set; then
10233 enableval=$enable_loggui;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10236 else
10237 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10238 fi
10239 cache=yes
10240
10241 else
10242
10243 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10246 cache=yes
10247 else
10248 cache=no
10249 fi
10250
10251 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10252
10253 fi
10254
10255
10256 eval "$wx_cv_use_loggui"
10257 if test "x$cache" = xyes; then
10258 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10259 fi
10260
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_LOGGUI = yes; then
10263 result=no
10264 else
10265 result=yes
10266 fi
10267 else
10268 result=$wxUSE_LOGGUI
10269 fi
10270
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10273
10274
10275 enablestring=
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10279 defaultval=yes
10280 else
10281 defaultval=no
10282 fi
10283 fi
10284
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10287 # Check whether --enable-logwin was given.
10288 if test "${enable_logwin+set}" = set; then
10289 enableval=$enable_logwin;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10292 else
10293 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10294 fi
10295 cache=yes
10296
10297 else
10298
10299 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10302 cache=yes
10303 else
10304 cache=no
10305 fi
10306
10307 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10308
10309 fi
10310
10311
10312 eval "$wx_cv_use_logwin"
10313 if test "x$cache" = xyes; then
10314 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10315 fi
10316
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGWINDOW = yes; then
10319 result=no
10320 else
10321 result=yes
10322 fi
10323 else
10324 result=$wxUSE_LOGWINDOW
10325 fi
10326
10327 { echo "$as_me:$LINENO: result: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10329
10330
10331 enablestring=
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10335 defaultval=yes
10336 else
10337 defaultval=no
10338 fi
10339 fi
10340
10341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10343 # Check whether --enable-logdialog was given.
10344 if test "${enable_logdialog+set}" = set; then
10345 enableval=$enable_logdialog;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10348 else
10349 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10350 fi
10351 cache=yes
10352
10353 else
10354
10355 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 cache=yes
10359 else
10360 cache=no
10361 fi
10362
10363 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10364
10365 fi
10366
10367
10368 eval "$wx_cv_use_logdialog"
10369 if test "x$cache" = xyes; then
10370 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10371 fi
10372
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_LOGDIALOG = yes; then
10375 result=no
10376 else
10377 result=yes
10378 fi
10379 else
10380 result=$wxUSE_LOGDIALOG
10381 fi
10382
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10385
10386
10387 enablestring=
10388 defaultval=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x"$enablestring" = xdisable; then
10391 defaultval=yes
10392 else
10393 defaultval=no
10394 fi
10395 fi
10396
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10399 # Check whether --enable-webkit was given.
10400 if test "${enable_webkit+set}" = set; then
10401 enableval=$enable_webkit;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10404 else
10405 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10406 fi
10407 cache=yes
10408
10409 else
10410
10411 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 cache=yes
10415 else
10416 cache=no
10417 fi
10418
10419 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10420
10421 fi
10422
10423
10424 eval "$wx_cv_use_webkit"
10425 if test "x$cache" = xyes; then
10426 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10427 fi
10428
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_WEBKIT = yes; then
10431 result=no
10432 else
10433 result=yes
10434 fi
10435 else
10436 result=$wxUSE_WEBKIT
10437 fi
10438
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10441
10442
10443 enablestring=
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10447 defaultval=yes
10448 else
10449 defaultval=no
10450 fi
10451 fi
10452
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10455 # Check whether --enable-richtext was given.
10456 if test "${enable_richtext+set}" = set; then
10457 enableval=$enable_richtext;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10460 else
10461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10462 fi
10463 cache=yes
10464
10465 else
10466
10467 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10468 if test "x$LINE" != x ; then
10469 eval "DEFAULT_$LINE"
10470 cache=yes
10471 else
10472 cache=no
10473 fi
10474
10475 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$wx_cv_use_richtext"
10481 if test "x$cache" = xyes; then
10482 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_RICHTEXT = yes; then
10487 result=no
10488 else
10489 result=yes
10490 fi
10491 else
10492 result=$wxUSE_RICHTEXT
10493 fi
10494
10495 { echo "$as_me:$LINENO: result: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10497
10498
10499 enablestring=
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10503 defaultval=yes
10504 else
10505 defaultval=no
10506 fi
10507 fi
10508
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10511 # Check whether --enable-graphics_ctx was given.
10512 if test "${enable_graphics_ctx+set}" = set; then
10513 enableval=$enable_graphics_ctx;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10516 else
10517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10518 fi
10519 cache=yes
10520
10521 else
10522
10523 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10526 cache=yes
10527 else
10528 cache=no
10529 fi
10530
10531 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10532
10533 fi
10534
10535
10536 eval "$wx_cv_use_graphics_ctx"
10537 if test "x$cache" = xyes; then
10538 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10539 fi
10540
10541 if test x"$enablestring" = xdisable; then
10542 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10543 result=no
10544 else
10545 result=yes
10546 fi
10547 else
10548 result=$wxUSE_GRAPHICS_CONTEXT
10549 fi
10550
10551 { echo "$as_me:$LINENO: result: $result" >&5
10552 echo "${ECHO_T}$result" >&6; }
10553
10554
10555 enablestring=
10556 defaultval=$wxUSE_ALL_FEATURES
10557 if test -z "$defaultval"; then
10558 if test x"$enablestring" = xdisable; then
10559 defaultval=yes
10560 else
10561 defaultval=no
10562 fi
10563 fi
10564
10565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10567 # Check whether --enable-postscript was given.
10568 if test "${enable_postscript+set}" = set; then
10569 enableval=$enable_postscript;
10570 if test "$enableval" = yes; then
10571 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10572 else
10573 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10574 fi
10575 cache=yes
10576
10577 else
10578
10579 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x ; then
10581 eval "DEFAULT_$LINE"
10582 cache=yes
10583 else
10584 cache=no
10585 fi
10586
10587 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_postscript"
10593 if test "x$cache" = xyes; then
10594 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10595 fi
10596
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_POSTSCRIPT = yes; then
10599 result=no
10600 else
10601 result=yes
10602 fi
10603 else
10604 result=$wxUSE_POSTSCRIPT
10605 fi
10606
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10609
10610
10611 enablestring=
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10615 defaultval=yes
10616 else
10617 defaultval=no
10618 fi
10619 fi
10620
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10623 # Check whether --enable-svg was given.
10624 if test "${enable_svg+set}" = set; then
10625 enableval=$enable_svg;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_svg='wxUSE_SVG=yes'
10628 else
10629 wx_cv_use_svg='wxUSE_SVG=no'
10630 fi
10631 cache=yes
10632
10633 else
10634
10635 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x ; then
10637 eval "DEFAULT_$LINE"
10638 cache=yes
10639 else
10640 cache=no
10641 fi
10642
10643 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_svg"
10649 if test "x$cache" = xyes; then
10650 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_SVG = yes; then
10655 result=no
10656 else
10657 result=yes
10658 fi
10659 else
10660 result=$wxUSE_SVG
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10681 # Check whether --enable-clipboard was given.
10682 if test "${enable_clipboard+set}" = set; then
10683 enableval=$enable_clipboard;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10686 else
10687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10688 fi
10689 cache=yes
10690
10691 else
10692
10693 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10694 if test "x$LINE" != x ; then
10695 eval "DEFAULT_$LINE"
10696 cache=yes
10697 else
10698 cache=no
10699 fi
10700
10701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_clipboard"
10707 if test "x$cache" = xyes; then
10708 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10709 fi
10710
10711 if test x"$enablestring" = xdisable; then
10712 if test $wxUSE_CLIPBOARD = yes; then
10713 result=no
10714 else
10715 result=yes
10716 fi
10717 else
10718 result=$wxUSE_CLIPBOARD
10719 fi
10720
10721 { echo "$as_me:$LINENO: result: $result" >&5
10722 echo "${ECHO_T}$result" >&6; }
10723
10724
10725 enablestring=
10726 defaultval=$wxUSE_ALL_FEATURES
10727 if test -z "$defaultval"; then
10728 if test x"$enablestring" = xdisable; then
10729 defaultval=yes
10730 else
10731 defaultval=no
10732 fi
10733 fi
10734
10735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10737 # Check whether --enable-dnd was given.
10738 if test "${enable_dnd+set}" = set; then
10739 enableval=$enable_dnd;
10740 if test "$enableval" = yes; then
10741 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10742 else
10743 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10744 fi
10745 cache=yes
10746
10747 else
10748
10749 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10750 if test "x$LINE" != x ; then
10751 eval "DEFAULT_$LINE"
10752 cache=yes
10753 else
10754 cache=no
10755 fi
10756
10757 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10758
10759 fi
10760
10761
10762 eval "$wx_cv_use_dnd"
10763 if test "x$cache" = xyes; then
10764 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10765 fi
10766
10767 if test x"$enablestring" = xdisable; then
10768 if test $wxUSE_DRAG_AND_DROP = yes; then
10769 result=no
10770 else
10771 result=yes
10772 fi
10773 else
10774 result=$wxUSE_DRAG_AND_DROP
10775 fi
10776
10777 { echo "$as_me:$LINENO: result: $result" >&5
10778 echo "${ECHO_T}$result" >&6; }
10779
10780
10781 enablestring=
10782 defaultval=$wxUSE_ALL_FEATURES
10783 if test -z "$defaultval"; then
10784 if test x"$enablestring" = xdisable; then
10785 defaultval=yes
10786 else
10787 defaultval=no
10788 fi
10789 fi
10790
10791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10793 # Check whether --enable-metafile was given.
10794 if test "${enable_metafile+set}" = set; then
10795 enableval=$enable_metafile;
10796 if test "$enableval" = yes; then
10797 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10798 else
10799 wx_cv_use_metafile='wxUSE_METAFILE=no'
10800 fi
10801 cache=yes
10802
10803 else
10804
10805 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10806 if test "x$LINE" != x ; then
10807 eval "DEFAULT_$LINE"
10808 cache=yes
10809 else
10810 cache=no
10811 fi
10812
10813 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10814
10815 fi
10816
10817
10818 eval "$wx_cv_use_metafile"
10819 if test "x$cache" = xyes; then
10820 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10821 fi
10822
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_METAFILE = yes; then
10825 result=no
10826 else
10827 result=yes
10828 fi
10829 else
10830 result=$wxUSE_METAFILE
10831 fi
10832
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10835
10836
10837
10838 DEFAULT_wxUSE_CONTROLS=none
10839
10840 enablestring=disable
10841 defaultval=
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10844 defaultval=yes
10845 else
10846 defaultval=no
10847 fi
10848 fi
10849
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10852 # Check whether --enable-controls was given.
10853 if test "${enable_controls+set}" = set; then
10854 enableval=$enable_controls;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10857 else
10858 wx_cv_use_controls='wxUSE_CONTROLS=no'
10859 fi
10860 cache=yes
10861
10862 else
10863
10864 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10867 cache=yes
10868 else
10869 cache=no
10870 fi
10871
10872 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_controls"
10878 if test "x$cache" = xyes; then
10879 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_CONTROLS = yes; then
10884 result=no
10885 else
10886 result=yes
10887 fi
10888 else
10889 result=$wxUSE_CONTROLS
10890 fi
10891
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10894
10895
10896 if test "$wxUSE_CONTROLS" = "yes"; then
10897 DEFAULT_wxUSE_ACCEL=yes
10898 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10899 DEFAULT_wxUSE_BMPBUTTON=yes
10900 DEFAULT_wxUSE_BUTTON=yes
10901 DEFAULT_wxUSE_CALCTRL=yes
10902 DEFAULT_wxUSE_CARET=yes
10903 DEFAULT_wxUSE_COMBOBOX=yes
10904 DEFAULT_wxUSE_CHECKBOX=yes
10905 DEFAULT_wxUSE_CHECKLISTBOX=yes
10906 DEFAULT_wxUSE_CHOICE=yes
10907 DEFAULT_wxUSE_CHOICEBOOK=yes
10908 DEFAULT_wxUSE_COLLPANE=yes
10909 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10910 DEFAULT_wxUSE_COMBOBOX=yes
10911 DEFAULT_wxUSE_DATEPICKCTRL=yes
10912 DEFAULT_wxUSE_DISPLAY=yes
10913 DEFAULT_wxUSE_DETECT_SM=yes
10914 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10915 DEFAULT_wxUSE_FILECTRL=yes
10916 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10917 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10918 DEFAULT_wxUSE_GAUGE=yes
10919 DEFAULT_wxUSE_GRID=yes
10920 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10921 DEFAULT_wxUSE_DATAVIEWCTRL=no
10922 DEFAULT_wxUSE_IMAGLIST=yes
10923 DEFAULT_wxUSE_LISTBOOK=yes
10924 DEFAULT_wxUSE_LISTBOX=yes
10925 DEFAULT_wxUSE_LISTCTRL=yes
10926 DEFAULT_wxUSE_NOTEBOOK=yes
10927 DEFAULT_wxUSE_RADIOBOX=yes
10928 DEFAULT_wxUSE_RADIOBTN=yes
10929 DEFAULT_wxUSE_SASH=yes
10930 DEFAULT_wxUSE_SCROLLBAR=yes
10931 DEFAULT_wxUSE_SEARCHCTRL=yes
10932 DEFAULT_wxUSE_SLIDER=yes
10933 DEFAULT_wxUSE_SPINBTN=yes
10934 DEFAULT_wxUSE_SPINCTRL=yes
10935 DEFAULT_wxUSE_SPLITTER=yes
10936 DEFAULT_wxUSE_STATBMP=yes
10937 DEFAULT_wxUSE_STATBOX=yes
10938 DEFAULT_wxUSE_STATLINE=yes
10939 DEFAULT_wxUSE_STATUSBAR=yes
10940 DEFAULT_wxUSE_TAB_DIALOG=yes
10941 DEFAULT_wxUSE_TOGGLEBTN=yes
10942 DEFAULT_wxUSE_TOOLBAR=yes
10943 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10944 DEFAULT_wxUSE_TOOLTIPS=yes
10945 DEFAULT_wxUSE_TREEBOOK=yes
10946 DEFAULT_wxUSE_TOOLBOOK=yes
10947 DEFAULT_wxUSE_TREECTRL=yes
10948 DEFAULT_wxUSE_POPUPWIN=yes
10949 DEFAULT_wxUSE_TIPWINDOW=yes
10950 elif test "$wxUSE_CONTROLS" = "no"; then
10951 DEFAULT_wxUSE_ACCEL=no
10952 DEFAULT_wxUSE_ANIMATIONCTRL=no
10953 DEFAULT_wxUSE_BMPBUTTON=no
10954 DEFAULT_wxUSE_BUTTON=no
10955 DEFAULT_wxUSE_CALCTRL=no
10956 DEFAULT_wxUSE_CARET=no
10957 DEFAULT_wxUSE_COLLPANE=no
10958 DEFAULT_wxUSE_COMBOBOX=no
10959 DEFAULT_wxUSE_CHECKBOX=no
10960 DEFAULT_wxUSE_CHECKLISTBOX=no
10961 DEFAULT_wxUSE_CHOICE=no
10962 DEFAULT_wxUSE_CHOICEBOOK=no
10963 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10964 DEFAULT_wxUSE_COMBOBOX=no
10965 DEFAULT_wxUSE_DATEPICKCTRL=no
10966 DEFAULT_wxUSE_DISPLAY=no
10967 DEFAULT_wxUSE_DETECT_SM=no
10968 DEFAULT_wxUSE_DIRPICKERCTRL=no
10969 DEFAULT_wxUSE_FILECTRL=no
10970 DEFAULT_wxUSE_FILEPICKERCTRL=no
10971 DEFAULT_wxUSE_FONTPICKERCTRL=no
10972 DEFAULT_wxUSE_GAUGE=no
10973 DEFAULT_wxUSE_GRID=no
10974 DEFAULT_wxUSE_HYPERLINKCTRL=no
10975 DEFAULT_wxUSE_DATAVIEWCTRL=no
10976 DEFAULT_wxUSE_IMAGLIST=no
10977 DEFAULT_wxUSE_LISTBOOK=no
10978 DEFAULT_wxUSE_LISTBOX=no
10979 DEFAULT_wxUSE_LISTCTRL=no
10980 DEFAULT_wxUSE_NOTEBOOK=no
10981 DEFAULT_wxUSE_RADIOBOX=no
10982 DEFAULT_wxUSE_RADIOBTN=no
10983 DEFAULT_wxUSE_SASH=no
10984 DEFAULT_wxUSE_SCROLLBAR=no
10985 DEFAULT_wxUSE_SEARCHCTRL=no
10986 DEFAULT_wxUSE_SLIDER=no
10987 DEFAULT_wxUSE_SPINBTN=no
10988 DEFAULT_wxUSE_SPINCTRL=no
10989 DEFAULT_wxUSE_SPLITTER=no
10990 DEFAULT_wxUSE_STATBMP=no
10991 DEFAULT_wxUSE_STATBOX=no
10992 DEFAULT_wxUSE_STATLINE=no
10993 DEFAULT_wxUSE_STATUSBAR=no
10994 DEFAULT_wxUSE_TAB_DIALOG=no
10995 DEFAULT_wxUSE_TOGGLEBTN=no
10996 DEFAULT_wxUSE_TOOLBAR=no
10997 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10998 DEFAULT_wxUSE_TOOLTIPS=no
10999 DEFAULT_wxUSE_TREEBOOK=no
11000 DEFAULT_wxUSE_TOOLBOOK=no
11001 DEFAULT_wxUSE_TREECTRL=no
11002 DEFAULT_wxUSE_POPUPWIN=no
11003 DEFAULT_wxUSE_TIPWINDOW=no
11004 fi
11005
11006
11007 enablestring=
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11011 defaultval=yes
11012 else
11013 defaultval=no
11014 fi
11015 fi
11016
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11019 # Check whether --enable-accel was given.
11020 if test "${enable_accel+set}" = set; then
11021 enableval=$enable_accel;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_accel='wxUSE_ACCEL=yes'
11024 else
11025 wx_cv_use_accel='wxUSE_ACCEL=no'
11026 fi
11027 cache=yes
11028
11029 else
11030
11031 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11032 if test "x$LINE" != x ; then
11033 eval "DEFAULT_$LINE"
11034 cache=yes
11035 else
11036 cache=no
11037 fi
11038
11039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11040
11041 fi
11042
11043
11044 eval "$wx_cv_use_accel"
11045 if test "x$cache" = xyes; then
11046 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11047 fi
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_ACCEL = yes; then
11051 result=no
11052 else
11053 result=yes
11054 fi
11055 else
11056 result=$wxUSE_ACCEL
11057 fi
11058
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11075 # Check whether --enable-animatectrl was given.
11076 if test "${enable_animatectrl+set}" = set; then
11077 enableval=$enable_animatectrl;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11080 else
11081 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11082 fi
11083 cache=yes
11084
11085 else
11086
11087 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11088 if test "x$LINE" != x ; then
11089 eval "DEFAULT_$LINE"
11090 cache=yes
11091 else
11092 cache=no
11093 fi
11094
11095 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11096
11097 fi
11098
11099
11100 eval "$wx_cv_use_animatectrl"
11101 if test "x$cache" = xyes; then
11102 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11103 fi
11104
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = yes; then
11107 result=no
11108 else
11109 result=yes
11110 fi
11111 else
11112 result=$wxUSE_ANIMATIONCTRL
11113 fi
11114
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11117
11118
11119 enablestring=
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11123 defaultval=yes
11124 else
11125 defaultval=no
11126 fi
11127 fi
11128
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11131 # Check whether --enable-button was given.
11132 if test "${enable_button+set}" = set; then
11133 enableval=$enable_button;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_button='wxUSE_BUTTON=yes'
11136 else
11137 wx_cv_use_button='wxUSE_BUTTON=no'
11138 fi
11139 cache=yes
11140
11141 else
11142
11143 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11144 if test "x$LINE" != x ; then
11145 eval "DEFAULT_$LINE"
11146 cache=yes
11147 else
11148 cache=no
11149 fi
11150
11151 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11152
11153 fi
11154
11155
11156 eval "$wx_cv_use_button"
11157 if test "x$cache" = xyes; then
11158 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11159 fi
11160
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_BUTTON = yes; then
11163 result=no
11164 else
11165 result=yes
11166 fi
11167 else
11168 result=$wxUSE_BUTTON
11169 fi
11170
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11173
11174
11175 enablestring=
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11179 defaultval=yes
11180 else
11181 defaultval=no
11182 fi
11183 fi
11184
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11187 # Check whether --enable-bmpbutton was given.
11188 if test "${enable_bmpbutton+set}" = set; then
11189 enableval=$enable_bmpbutton;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11192 else
11193 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11194 fi
11195 cache=yes
11196
11197 else
11198
11199 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11202 cache=yes
11203 else
11204 cache=no
11205 fi
11206
11207 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11208
11209 fi
11210
11211
11212 eval "$wx_cv_use_bmpbutton"
11213 if test "x$cache" = xyes; then
11214 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11215 fi
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_BMPBUTTON = yes; then
11219 result=no
11220 else
11221 result=yes
11222 fi
11223 else
11224 result=$wxUSE_BMPBUTTON
11225 fi
11226
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11243 # Check whether --enable-bmpcombobox was given.
11244 if test "${enable_bmpcombobox+set}" = set; then
11245 enableval=$enable_bmpcombobox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11248 else
11249 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11250 fi
11251 cache=yes
11252
11253 else
11254
11255 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11258 cache=yes
11259 else
11260 cache=no
11261 fi
11262
11263 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11264
11265 fi
11266
11267
11268 eval "$wx_cv_use_bmpcombobox"
11269 if test "x$cache" = xyes; then
11270 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11275 result=no
11276 else
11277 result=yes
11278 fi
11279 else
11280 result=$wxUSE_BITMAPCOMBOBOX
11281 fi
11282
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11299 # Check whether --enable-calendar was given.
11300 if test "${enable_calendar+set}" = set; then
11301 enableval=$enable_calendar;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11304 else
11305 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11306 fi
11307 cache=yes
11308
11309 else
11310
11311 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11314 cache=yes
11315 else
11316 cache=no
11317 fi
11318
11319 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11320
11321 fi
11322
11323
11324 eval "$wx_cv_use_calendar"
11325 if test "x$cache" = xyes; then
11326 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11327 fi
11328
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_CALCTRL = yes; then
11331 result=no
11332 else
11333 result=yes
11334 fi
11335 else
11336 result=$wxUSE_CALCTRL
11337 fi
11338
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11341
11342
11343 enablestring=
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11347 defaultval=yes
11348 else
11349 defaultval=no
11350 fi
11351 fi
11352
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11355 # Check whether --enable-caret was given.
11356 if test "${enable_caret+set}" = set; then
11357 enableval=$enable_caret;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_caret='wxUSE_CARET=yes'
11360 else
11361 wx_cv_use_caret='wxUSE_CARET=no'
11362 fi
11363 cache=yes
11364
11365 else
11366
11367 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11368 if test "x$LINE" != x ; then
11369 eval "DEFAULT_$LINE"
11370 cache=yes
11371 else
11372 cache=no
11373 fi
11374
11375 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11376
11377 fi
11378
11379
11380 eval "$wx_cv_use_caret"
11381 if test "x$cache" = xyes; then
11382 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11383 fi
11384
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_CARET = yes; then
11387 result=no
11388 else
11389 result=yes
11390 fi
11391 else
11392 result=$wxUSE_CARET
11393 fi
11394
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11397
11398
11399 enablestring=
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11403 defaultval=yes
11404 else
11405 defaultval=no
11406 fi
11407 fi
11408
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11411 # Check whether --enable-checkbox was given.
11412 if test "${enable_checkbox+set}" = set; then
11413 enableval=$enable_checkbox;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11416 else
11417 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11418 fi
11419 cache=yes
11420
11421 else
11422
11423 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11426 cache=yes
11427 else
11428 cache=no
11429 fi
11430
11431 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11432
11433 fi
11434
11435
11436 eval "$wx_cv_use_checkbox"
11437 if test "x$cache" = xyes; then
11438 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11439 fi
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_CHECKBOX = yes; then
11443 result=no
11444 else
11445 result=yes
11446 fi
11447 else
11448 result=$wxUSE_CHECKBOX
11449 fi
11450
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11467 # Check whether --enable-checklst was given.
11468 if test "${enable_checklst+set}" = set; then
11469 enableval=$enable_checklst;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11472 else
11473 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11474 fi
11475 cache=yes
11476
11477 else
11478
11479 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 cache=yes
11483 else
11484 cache=no
11485 fi
11486
11487 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11488
11489 fi
11490
11491
11492 eval "$wx_cv_use_checklst"
11493 if test "x$cache" = xyes; then
11494 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11495 fi
11496
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_CHECKLST = yes; then
11499 result=no
11500 else
11501 result=yes
11502 fi
11503 else
11504 result=$wxUSE_CHECKLST
11505 fi
11506
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11509
11510
11511 enablestring=
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11515 defaultval=yes
11516 else
11517 defaultval=no
11518 fi
11519 fi
11520
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11523 # Check whether --enable-choice was given.
11524 if test "${enable_choice+set}" = set; then
11525 enableval=$enable_choice;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_choice='wxUSE_CHOICE=yes'
11528 else
11529 wx_cv_use_choice='wxUSE_CHOICE=no'
11530 fi
11531 cache=yes
11532
11533 else
11534
11535 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11536 if test "x$LINE" != x ; then
11537 eval "DEFAULT_$LINE"
11538 cache=yes
11539 else
11540 cache=no
11541 fi
11542
11543 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11544
11545 fi
11546
11547
11548 eval "$wx_cv_use_choice"
11549 if test "x$cache" = xyes; then
11550 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11551 fi
11552
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_CHOICE = yes; then
11555 result=no
11556 else
11557 result=yes
11558 fi
11559 else
11560 result=$wxUSE_CHOICE
11561 fi
11562
11563 { echo "$as_me:$LINENO: result: $result" >&5
11564 echo "${ECHO_T}$result" >&6; }
11565
11566
11567 enablestring=
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11571 defaultval=yes
11572 else
11573 defaultval=no
11574 fi
11575 fi
11576
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11579 # Check whether --enable-choicebook was given.
11580 if test "${enable_choicebook+set}" = set; then
11581 enableval=$enable_choicebook;
11582 if test "$enableval" = yes; then
11583 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11584 else
11585 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11586 fi
11587 cache=yes
11588
11589 else
11590
11591 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11594 cache=yes
11595 else
11596 cache=no
11597 fi
11598
11599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_choicebook"
11605 if test "x$cache" = xyes; then
11606 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11607 fi
11608
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_CHOICEBOOK = yes; then
11611 result=no
11612 else
11613 result=yes
11614 fi
11615 else
11616 result=$wxUSE_CHOICEBOOK
11617 fi
11618
11619 { echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11621
11622
11623 enablestring=
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11627 defaultval=yes
11628 else
11629 defaultval=no
11630 fi
11631 fi
11632
11633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11635 # Check whether --enable-collpane was given.
11636 if test "${enable_collpane+set}" = set; then
11637 enableval=$enable_collpane;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11640 else
11641 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11642 fi
11643 cache=yes
11644
11645 else
11646
11647 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11648 if test "x$LINE" != x ; then
11649 eval "DEFAULT_$LINE"
11650 cache=yes
11651 else
11652 cache=no
11653 fi
11654
11655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_collpane"
11661 if test "x$cache" = xyes; then
11662 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11663 fi
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_COLLPANE = yes; then
11667 result=no
11668 else
11669 result=yes
11670 fi
11671 else
11672 result=$wxUSE_COLLPANE
11673 fi
11674
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11691 # Check whether --enable-colourpicker was given.
11692 if test "${enable_colourpicker+set}" = set; then
11693 enableval=$enable_colourpicker;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11696 else
11697 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11698 fi
11699 cache=yes
11700
11701 else
11702
11703 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 cache=yes
11707 else
11708 cache=no
11709 fi
11710
11711 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11712
11713 fi
11714
11715
11716 eval "$wx_cv_use_colourpicker"
11717 if test "x$cache" = xyes; then
11718 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11719 fi
11720
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = yes; then
11723 result=no
11724 else
11725 result=yes
11726 fi
11727 else
11728 result=$wxUSE_COLOURPICKERCTRL
11729 fi
11730
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11733
11734
11735 enablestring=
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11739 defaultval=yes
11740 else
11741 defaultval=no
11742 fi
11743 fi
11744
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11752 else
11753 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11754 fi
11755 cache=yes
11756
11757 else
11758
11759 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11760 if test "x$LINE" != x ; then
11761 eval "DEFAULT_$LINE"
11762 cache=yes
11763 else
11764 cache=no
11765 fi
11766
11767 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11768
11769 fi
11770
11771
11772 eval "$wx_cv_use_combobox"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11775 fi
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = yes; then
11779 result=no
11780 else
11781 result=yes
11782 fi
11783 else
11784 result=$wxUSE_COMBOBOX
11785 fi
11786
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11808 else
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11810 fi
11811 cache=yes
11812
11813 else
11814
11815 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11816 if test "x$LINE" != x ; then
11817 eval "DEFAULT_$LINE"
11818 cache=yes
11819 else
11820 cache=no
11821 fi
11822
11823 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11824
11825 fi
11826
11827
11828 eval "$wx_cv_use_comboctrl"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11831 fi
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_COMBOCTRL = yes; then
11835 result=no
11836 else
11837 result=yes
11838 fi
11839 else
11840 result=$wxUSE_COMBOCTRL
11841 fi
11842
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11859 # Check whether --enable-datepick was given.
11860 if test "${enable_datepick+set}" = set; then
11861 enableval=$enable_datepick;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11864 else
11865 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11866 fi
11867 cache=yes
11868
11869 else
11870
11871 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11872 if test "x$LINE" != x ; then
11873 eval "DEFAULT_$LINE"
11874 cache=yes
11875 else
11876 cache=no
11877 fi
11878
11879 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11880
11881 fi
11882
11883
11884 eval "$wx_cv_use_datepick"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11887 fi
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_DATEPICKCTRL = yes; then
11891 result=no
11892 else
11893 result=yes
11894 fi
11895 else
11896 result=$wxUSE_DATEPICKCTRL
11897 fi
11898
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11915 # Check whether --enable-dirpicker was given.
11916 if test "${enable_dirpicker+set}" = set; then
11917 enableval=$enable_dirpicker;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11920 else
11921 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11922 fi
11923 cache=yes
11924
11925 else
11926
11927 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11930 cache=yes
11931 else
11932 cache=no
11933 fi
11934
11935 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11936
11937 fi
11938
11939
11940 eval "$wx_cv_use_dirpicker"
11941 if test "x$cache" = xyes; then
11942 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_DIRPICKERCTRL = yes; then
11947 result=no
11948 else
11949 result=yes
11950 fi
11951 else
11952 result=$wxUSE_DIRPICKERCTRL
11953 fi
11954
11955 { echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11957
11958
11959 enablestring=
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11963 defaultval=yes
11964 else
11965 defaultval=no
11966 fi
11967 fi
11968
11969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11971 # Check whether --enable-display was given.
11972 if test "${enable_display+set}" = set; then
11973 enableval=$enable_display;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_display='wxUSE_DISPLAY=yes'
11976 else
11977 wx_cv_use_display='wxUSE_DISPLAY=no'
11978 fi
11979 cache=yes
11980
11981 else
11982
11983 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11984 if test "x$LINE" != x ; then
11985 eval "DEFAULT_$LINE"
11986 cache=yes
11987 else
11988 cache=no
11989 fi
11990
11991 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11992
11993 fi
11994
11995
11996 eval "$wx_cv_use_display"
11997 if test "x$cache" = xyes; then
11998 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11999 fi
12000
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_DISPLAY = yes; then
12003 result=no
12004 else
12005 result=yes
12006 fi
12007 else
12008 result=$wxUSE_DISPLAY
12009 fi
12010
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12013
12014
12015 enablestring=
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12019 defaultval=yes
12020 else
12021 defaultval=no
12022 fi
12023 fi
12024
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12027 # Check whether --enable-detect_sm was given.
12028 if test "${enable_detect_sm+set}" = set; then
12029 enableval=$enable_detect_sm;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12032 else
12033 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12034 fi
12035 cache=yes
12036
12037 else
12038
12039 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12040 if test "x$LINE" != x ; then
12041 eval "DEFAULT_$LINE"
12042 cache=yes
12043 else
12044 cache=no
12045 fi
12046
12047 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12048
12049 fi
12050
12051
12052 eval "$wx_cv_use_detect_sm"
12053 if test "x$cache" = xyes; then
12054 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12055 fi
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_DETECT_SM = yes; then
12059 result=no
12060 else
12061 result=yes
12062 fi
12063 else
12064 result=$wxUSE_DETECT_SM
12065 fi
12066
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12083 # Check whether --enable-editablebox was given.
12084 if test "${enable_editablebox+set}" = set; then
12085 enableval=$enable_editablebox;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12088 else
12089 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12090 fi
12091 cache=yes
12092
12093 else
12094
12095 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12096 if test "x$LINE" != x ; then
12097 eval "DEFAULT_$LINE"
12098 cache=yes
12099 else
12100 cache=no
12101 fi
12102
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12104
12105 fi
12106
12107
12108 eval "$wx_cv_use_editablebox"
12109 if test "x$cache" = xyes; then
12110 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_EDITABLELISTBOX = yes; then
12115 result=no
12116 else
12117 result=yes
12118 fi
12119 else
12120 result=$wxUSE_EDITABLELISTBOX
12121 fi
12122
12123 { echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12139 # Check whether --enable-filepicker was given.
12140 if test "${enable_filepicker+set}" = set; then
12141 enableval=$enable_filepicker;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12144 else
12145 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12146 fi
12147 cache=yes
12148
12149 else
12150
12151 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12152 if test "x$LINE" != x ; then
12153 eval "DEFAULT_$LINE"
12154 cache=yes
12155 else
12156 cache=no
12157 fi
12158
12159 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12160
12161 fi
12162
12163
12164 eval "$wx_cv_use_filepicker"
12165 if test "x$cache" = xyes; then
12166 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12167 fi
12168
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_FILEPICKERCTRL = yes; then
12171 result=no
12172 else
12173 result=yes
12174 fi
12175 else
12176 result=$wxUSE_FILEPICKERCTRL
12177 fi
12178
12179 { echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6; }
12181
12182
12183 enablestring=
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12187 defaultval=yes
12188 else
12189 defaultval=no
12190 fi
12191 fi
12192
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12195 # Check whether --enable-filectrl was given.
12196 if test "${enable_filectrl+set}" = set; then
12197 enableval=$enable_filectrl;
12198 if test "$enableval" = yes; then
12199 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12200 else
12201 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12202 fi
12203 cache=yes
12204
12205 else
12206
12207 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x ; then
12209 eval "DEFAULT_$LINE"
12210 cache=yes
12211 else
12212 cache=no
12213 fi
12214
12215 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12216
12217 fi
12218
12219
12220 eval "$wx_cv_use_filectrl"
12221 if test "x$cache" = xyes; then
12222 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12223 fi
12224
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_FILECTRL = yes; then
12227 result=no
12228 else
12229 result=yes
12230 fi
12231 else
12232 result=$wxUSE_FILECTRL
12233 fi
12234
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12237
12238
12239 enablestring=
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12243 defaultval=yes
12244 else
12245 defaultval=no
12246 fi
12247 fi
12248
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12251 # Check whether --enable-fontpicker was given.
12252 if test "${enable_fontpicker+set}" = set; then
12253 enableval=$enable_fontpicker;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12256 else
12257 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12258 fi
12259 cache=yes
12260
12261 else
12262
12263 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12266 cache=yes
12267 else
12268 cache=no
12269 fi
12270
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_fontpicker"
12277 if test "x$cache" = xyes; then
12278 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12279 fi
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTPICKERCTRL = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_FONTPICKERCTRL
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12307 # Check whether --enable-gauge was given.
12308 if test "${enable_gauge+set}" = set; then
12309 enableval=$enable_gauge;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12312 else
12313 wx_cv_use_gauge='wxUSE_GAUGE=no'
12314 fi
12315 cache=yes
12316
12317 else
12318
12319 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12322 cache=yes
12323 else
12324 cache=no
12325 fi
12326
12327 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_gauge"
12333 if test "x$cache" = xyes; then
12334 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12335 fi
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_GAUGE = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_GAUGE
12345 fi
12346
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12363 # Check whether --enable-grid was given.
12364 if test "${enable_grid+set}" = set; then
12365 enableval=$enable_grid;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_grid='wxUSE_GRID=yes'
12368 else
12369 wx_cv_use_grid='wxUSE_GRID=no'
12370 fi
12371 cache=yes
12372
12373 else
12374
12375 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12376 if test "x$LINE" != x ; then
12377 eval "DEFAULT_$LINE"
12378 cache=yes
12379 else
12380 cache=no
12381 fi
12382
12383 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12384
12385 fi
12386
12387
12388 eval "$wx_cv_use_grid"
12389 if test "x$cache" = xyes; then
12390 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12391 fi
12392
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_GRID = yes; then
12395 result=no
12396 else
12397 result=yes
12398 fi
12399 else
12400 result=$wxUSE_GRID
12401 fi
12402
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12405
12406
12407 enablestring=
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12411 defaultval=yes
12412 else
12413 defaultval=no
12414 fi
12415 fi
12416
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12419 # Check whether --enable-dataviewctrl was given.
12420 if test "${enable_dataviewctrl+set}" = set; then
12421 enableval=$enable_dataviewctrl;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12424 else
12425 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12426 fi
12427 cache=yes
12428
12429 else
12430
12431 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12434 cache=yes
12435 else
12436 cache=no
12437 fi
12438
12439 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12440
12441 fi
12442
12443
12444 eval "$wx_cv_use_dataviewctrl"
12445 if test "x$cache" = xyes; then
12446 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DATAVIEWCTRL = yes; then
12451 result=no
12452 else
12453 result=yes
12454 fi
12455 else
12456 result=$wxUSE_DATAVIEWCTRL
12457 fi
12458
12459 { echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6; }
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12475 # Check whether --enable-hyperlink was given.
12476 if test "${enable_hyperlink+set}" = set; then
12477 enableval=$enable_hyperlink;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12480 else
12481 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12482 fi
12483 cache=yes
12484
12485 else
12486
12487 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12488 if test "x$LINE" != x ; then
12489 eval "DEFAULT_$LINE"
12490 cache=yes
12491 else
12492 cache=no
12493 fi
12494
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12496
12497 fi
12498
12499
12500 eval "$wx_cv_use_hyperlink"
12501 if test "x$cache" = xyes; then
12502 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12503 fi
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_HYPERLINKCTRL = yes; then
12507 result=no
12508 else
12509 result=yes
12510 fi
12511 else
12512 result=$wxUSE_HYPERLINKCTRL
12513 fi
12514
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12531 # Check whether --enable-imaglist was given.
12532 if test "${enable_imaglist+set}" = set; then
12533 enableval=$enable_imaglist;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12536 else
12537 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12538 fi
12539 cache=yes
12540
12541 else
12542
12543 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12544 if test "x$LINE" != x ; then
12545 eval "DEFAULT_$LINE"
12546 cache=yes
12547 else
12548 cache=no
12549 fi
12550
12551 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12552
12553 fi
12554
12555
12556 eval "$wx_cv_use_imaglist"
12557 if test "x$cache" = xyes; then
12558 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12559 fi
12560
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_IMAGLIST = yes; then
12563 result=no
12564 else
12565 result=yes
12566 fi
12567 else
12568 result=$wxUSE_IMAGLIST
12569 fi
12570
12571 { echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6; }
12573
12574
12575 enablestring=
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12579 defaultval=yes
12580 else
12581 defaultval=no
12582 fi
12583 fi
12584
12585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12587 # Check whether --enable-listbook was given.
12588 if test "${enable_listbook+set}" = set; then
12589 enableval=$enable_listbook;
12590 if test "$enableval" = yes; then
12591 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12592 else
12593 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12594 fi
12595 cache=yes
12596
12597 else
12598
12599 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12600 if test "x$LINE" != x ; then
12601 eval "DEFAULT_$LINE"
12602 cache=yes
12603 else
12604 cache=no
12605 fi
12606
12607 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12608
12609 fi
12610
12611
12612 eval "$wx_cv_use_listbook"
12613 if test "x$cache" = xyes; then
12614 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12615 fi
12616
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_LISTBOOK = yes; then
12619 result=no
12620 else
12621 result=yes
12622 fi
12623 else
12624 result=$wxUSE_LISTBOOK
12625 fi
12626
12627 { echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12629
12630
12631 enablestring=
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12635 defaultval=yes
12636 else
12637 defaultval=no
12638 fi
12639 fi
12640
12641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12643 # Check whether --enable-listbox was given.
12644 if test "${enable_listbox+set}" = set; then
12645 enableval=$enable_listbox;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12648 else
12649 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12650 fi
12651 cache=yes
12652
12653 else
12654
12655 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12656 if test "x$LINE" != x ; then
12657 eval "DEFAULT_$LINE"
12658 cache=yes
12659 else
12660 cache=no
12661 fi
12662
12663 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12664
12665 fi
12666
12667
12668 eval "$wx_cv_use_listbox"
12669 if test "x$cache" = xyes; then
12670 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12671 fi
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_LISTBOX = yes; then
12675 result=no
12676 else
12677 result=yes
12678 fi
12679 else
12680 result=$wxUSE_LISTBOX
12681 fi
12682
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12699 # Check whether --enable-listctrl was given.
12700 if test "${enable_listctrl+set}" = set; then
12701 enableval=$enable_listctrl;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12704 else
12705 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12706 fi
12707 cache=yes
12708
12709 else
12710
12711 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12712 if test "x$LINE" != x ; then
12713 eval "DEFAULT_$LINE"
12714 cache=yes
12715 else
12716 cache=no
12717 fi
12718
12719 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_listctrl"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12727 fi
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_LISTCTRL
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12760 else
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12762 fi
12763 cache=yes
12764
12765 else
12766
12767 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12768 if test "x$LINE" != x ; then
12769 eval "DEFAULT_$LINE"
12770 cache=yes
12771 else
12772 cache=no
12773 fi
12774
12775 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12776
12777 fi
12778
12779
12780 eval "$wx_cv_use_notebook"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12783 fi
12784
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_NOTEBOOK = yes; then
12787 result=no
12788 else
12789 result=yes
12790 fi
12791 else
12792 result=$wxUSE_NOTEBOOK
12793 fi
12794
12795 { echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12797
12798
12799 enablestring=
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12803 defaultval=yes
12804 else
12805 defaultval=no
12806 fi
12807 fi
12808
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12811 # Check whether --enable-odcombobox was given.
12812 if test "${enable_odcombobox+set}" = set; then
12813 enableval=$enable_odcombobox;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12816 else
12817 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12818 fi
12819 cache=yes
12820
12821 else
12822
12823 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12826 cache=yes
12827 else
12828 cache=no
12829 fi
12830
12831 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12832
12833 fi
12834
12835
12836 eval "$wx_cv_use_odcombobox"
12837 if test "x$cache" = xyes; then
12838 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12839 fi
12840
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_ODCOMBOBOX = yes; then
12843 result=no
12844 else
12845 result=yes
12846 fi
12847 else
12848 result=$wxUSE_ODCOMBOBOX
12849 fi
12850
12851 { echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6; }
12853
12854
12855 enablestring=
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12859 defaultval=yes
12860 else
12861 defaultval=no
12862 fi
12863 fi
12864
12865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12867 # Check whether --enable-radiobox was given.
12868 if test "${enable_radiobox+set}" = set; then
12869 enableval=$enable_radiobox;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12872 else
12873 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12874 fi
12875 cache=yes
12876
12877 else
12878
12879 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12880 if test "x$LINE" != x ; then
12881 eval "DEFAULT_$LINE"
12882 cache=yes
12883 else
12884 cache=no
12885 fi
12886
12887 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12888
12889 fi
12890
12891
12892 eval "$wx_cv_use_radiobox"
12893 if test "x$cache" = xyes; then
12894 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12895 fi
12896
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_RADIOBOX = yes; then
12899 result=no
12900 else
12901 result=yes
12902 fi
12903 else
12904 result=$wxUSE_RADIOBOX
12905 fi
12906
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12909
12910
12911 enablestring=
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12915 defaultval=yes
12916 else
12917 defaultval=no
12918 fi
12919 fi
12920
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12923 # Check whether --enable-radiobtn was given.
12924 if test "${enable_radiobtn+set}" = set; then
12925 enableval=$enable_radiobtn;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12928 else
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12930 fi
12931 cache=yes
12932
12933 else
12934
12935 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12936 if test "x$LINE" != x ; then
12937 eval "DEFAULT_$LINE"
12938 cache=yes
12939 else
12940 cache=no
12941 fi
12942
12943 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12944
12945 fi
12946
12947
12948 eval "$wx_cv_use_radiobtn"
12949 if test "x$cache" = xyes; then
12950 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12951 fi
12952
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RADIOBTN = yes; then
12955 result=no
12956 else
12957 result=yes
12958 fi
12959 else
12960 result=$wxUSE_RADIOBTN
12961 fi
12962
12963 { echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12965
12966
12967 enablestring=
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12971 defaultval=yes
12972 else
12973 defaultval=no
12974 fi
12975 fi
12976
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12979 # Check whether --enable-sash was given.
12980 if test "${enable_sash+set}" = set; then
12981 enableval=$enable_sash;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_sash='wxUSE_SASH=yes'
12984 else
12985 wx_cv_use_sash='wxUSE_SASH=no'
12986 fi
12987 cache=yes
12988
12989 else
12990
12991 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12992 if test "x$LINE" != x ; then
12993 eval "DEFAULT_$LINE"
12994 cache=yes
12995 else
12996 cache=no
12997 fi
12998
12999 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13000
13001 fi
13002
13003
13004 eval "$wx_cv_use_sash"
13005 if test "x$cache" = xyes; then
13006 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13007 fi
13008
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_SASH = yes; then
13011 result=no
13012 else
13013 result=yes
13014 fi
13015 else
13016 result=$wxUSE_SASH
13017 fi
13018
13019 { echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6; }
13021
13022
13023 enablestring=
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13027 defaultval=yes
13028 else
13029 defaultval=no
13030 fi
13031 fi
13032
13033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13035 # Check whether --enable-scrollbar was given.
13036 if test "${enable_scrollbar+set}" = set; then
13037 enableval=$enable_scrollbar;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13040 else
13041 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13042 fi
13043 cache=yes
13044
13045 else
13046
13047 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13048 if test "x$LINE" != x ; then
13049 eval "DEFAULT_$LINE"
13050 cache=yes
13051 else
13052 cache=no
13053 fi
13054
13055 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13056
13057 fi
13058
13059
13060 eval "$wx_cv_use_scrollbar"
13061 if test "x$cache" = xyes; then
13062 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13063 fi
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_SCROLLBAR = yes; then
13067 result=no
13068 else
13069 result=yes
13070 fi
13071 else
13072 result=$wxUSE_SCROLLBAR
13073 fi
13074
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13091 # Check whether --enable-searchctrl was given.
13092 if test "${enable_searchctrl+set}" = set; then
13093 enableval=$enable_searchctrl;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13096 else
13097 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13098 fi
13099 cache=yes
13100
13101 else
13102
13103 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13104 if test "x$LINE" != x ; then
13105 eval "DEFAULT_$LINE"
13106 cache=yes
13107 else
13108 cache=no
13109 fi
13110
13111 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13112
13113 fi
13114
13115
13116 eval "$wx_cv_use_searchctrl"
13117 if test "x$cache" = xyes; then
13118 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13119 fi
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_SEARCHCTRL = yes; then
13123 result=no
13124 else
13125 result=yes
13126 fi
13127 else
13128 result=$wxUSE_SEARCHCTRL
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13147 # Check whether --enable-slider was given.
13148 if test "${enable_slider+set}" = set; then
13149 enableval=$enable_slider;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_slider='wxUSE_SLIDER=yes'
13152 else
13153 wx_cv_use_slider='wxUSE_SLIDER=no'
13154 fi
13155 cache=yes
13156
13157 else
13158
13159 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13160 if test "x$LINE" != x ; then
13161 eval "DEFAULT_$LINE"
13162 cache=yes
13163 else
13164 cache=no
13165 fi
13166
13167 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13168
13169 fi
13170
13171
13172 eval "$wx_cv_use_slider"
13173 if test "x$cache" = xyes; then
13174 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13175 fi
13176
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_SLIDER = yes; then
13179 result=no
13180 else
13181 result=yes
13182 fi
13183 else
13184 result=$wxUSE_SLIDER
13185 fi
13186
13187 { echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13189
13190
13191 enablestring=
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13195 defaultval=yes
13196 else
13197 defaultval=no
13198 fi
13199 fi
13200
13201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13203 # Check whether --enable-spinbtn was given.
13204 if test "${enable_spinbtn+set}" = set; then
13205 enableval=$enable_spinbtn;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13208 else
13209 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13210 fi
13211 cache=yes
13212
13213 else
13214
13215 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13216 if test "x$LINE" != x ; then
13217 eval "DEFAULT_$LINE"
13218 cache=yes
13219 else
13220 cache=no
13221 fi
13222
13223 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13224
13225 fi
13226
13227
13228 eval "$wx_cv_use_spinbtn"
13229 if test "x$cache" = xyes; then
13230 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13231 fi
13232
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_SPINBTN = yes; then
13235 result=no
13236 else
13237 result=yes
13238 fi
13239 else
13240 result=$wxUSE_SPINBTN
13241 fi
13242
13243 { echo "$as_me:$LINENO: result: $result" >&5
13244 echo "${ECHO_T}$result" >&6; }
13245
13246
13247 enablestring=
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13251 defaultval=yes
13252 else
13253 defaultval=no
13254 fi
13255 fi
13256
13257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13259 # Check whether --enable-spinctrl was given.
13260 if test "${enable_spinctrl+set}" = set; then
13261 enableval=$enable_spinctrl;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13264 else
13265 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13266 fi
13267 cache=yes
13268
13269 else
13270
13271 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13272 if test "x$LINE" != x ; then
13273 eval "DEFAULT_$LINE"
13274 cache=yes
13275 else
13276 cache=no
13277 fi
13278
13279 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13280
13281 fi
13282
13283
13284 eval "$wx_cv_use_spinctrl"
13285 if test "x$cache" = xyes; then
13286 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13287 fi
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_SPINCTRL = yes; then
13291 result=no
13292 else
13293 result=yes
13294 fi
13295 else
13296 result=$wxUSE_SPINCTRL
13297 fi
13298
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13315 # Check whether --enable-splitter was given.
13316 if test "${enable_splitter+set}" = set; then
13317 enableval=$enable_splitter;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13320 else
13321 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13322 fi
13323 cache=yes
13324
13325 else
13326
13327 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13328 if test "x$LINE" != x ; then
13329 eval "DEFAULT_$LINE"
13330 cache=yes
13331 else
13332 cache=no
13333 fi
13334
13335 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13336
13337 fi
13338
13339
13340 eval "$wx_cv_use_splitter"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13343 fi
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_SPLITTER = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_SPLITTER
13353 fi
13354
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13371 # Check whether --enable-statbmp was given.
13372 if test "${enable_statbmp+set}" = set; then
13373 enableval=$enable_statbmp;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13376 else
13377 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13378 fi
13379 cache=yes
13380
13381 else
13382
13383 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13384 if test "x$LINE" != x ; then
13385 eval "DEFAULT_$LINE"
13386 cache=yes
13387 else
13388 cache=no
13389 fi
13390
13391 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13392
13393 fi
13394
13395
13396 eval "$wx_cv_use_statbmp"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13399 fi
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_STATBMP = yes; then
13403 result=no
13404 else
13405 result=yes
13406 fi
13407 else
13408 result=$wxUSE_STATBMP
13409 fi
13410
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13427 # Check whether --enable-statbox was given.
13428 if test "${enable_statbox+set}" = set; then
13429 enableval=$enable_statbox;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13432 else
13433 wx_cv_use_statbox='wxUSE_STATBOX=no'
13434 fi
13435 cache=yes
13436
13437 else
13438
13439 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13440 if test "x$LINE" != x ; then
13441 eval "DEFAULT_$LINE"
13442 cache=yes
13443 else
13444 cache=no
13445 fi
13446
13447 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13448
13449 fi
13450
13451
13452 eval "$wx_cv_use_statbox"
13453 if test "x$cache" = xyes; then
13454 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13455 fi
13456
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_STATBOX = yes; then
13459 result=no
13460 else
13461 result=yes
13462 fi
13463 else
13464 result=$wxUSE_STATBOX
13465 fi
13466
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13469
13470
13471 enablestring=
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13475 defaultval=yes
13476 else
13477 defaultval=no
13478 fi
13479 fi
13480
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13483 # Check whether --enable-statline was given.
13484 if test "${enable_statline+set}" = set; then
13485 enableval=$enable_statline;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_statline='wxUSE_STATLINE=yes'
13488 else
13489 wx_cv_use_statline='wxUSE_STATLINE=no'
13490 fi
13491 cache=yes
13492
13493 else
13494
13495 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13496 if test "x$LINE" != x ; then
13497 eval "DEFAULT_$LINE"
13498 cache=yes
13499 else
13500 cache=no
13501 fi
13502
13503 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13504
13505 fi
13506
13507
13508 eval "$wx_cv_use_statline"
13509 if test "x$cache" = xyes; then
13510 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13511 fi
13512
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_STATLINE = yes; then
13515 result=no
13516 else
13517 result=yes
13518 fi
13519 else
13520 result=$wxUSE_STATLINE
13521 fi
13522
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13525
13526
13527 enablestring=
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13531 defaultval=yes
13532 else
13533 defaultval=no
13534 fi
13535 fi
13536
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13539 # Check whether --enable-stattext was given.
13540 if test "${enable_stattext+set}" = set; then
13541 enableval=$enable_stattext;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13544 else
13545 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13546 fi
13547 cache=yes
13548
13549 else
13550
13551 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13552 if test "x$LINE" != x ; then
13553 eval "DEFAULT_$LINE"
13554 cache=yes
13555 else
13556 cache=no
13557 fi
13558
13559 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$wx_cv_use_stattext"
13565 if test "x$cache" = xyes; then
13566 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13567 fi
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATTEXT = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_STATTEXT
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13595 # Check whether --enable-statusbar was given.
13596 if test "${enable_statusbar+set}" = set; then
13597 enableval=$enable_statusbar;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13600 else
13601 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13602 fi
13603 cache=yes
13604
13605 else
13606
13607 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13608 if test "x$LINE" != x ; then
13609 eval "DEFAULT_$LINE"
13610 cache=yes
13611 else
13612 cache=no
13613 fi
13614
13615 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13616
13617 fi
13618
13619
13620 eval "$wx_cv_use_statusbar"
13621 if test "x$cache" = xyes; then
13622 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13623 fi
13624
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_STATUSBAR = yes; then
13627 result=no
13628 else
13629 result=yes
13630 fi
13631 else
13632 result=$wxUSE_STATUSBAR
13633 fi
13634
13635 { echo "$as_me:$LINENO: result: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13637
13638
13639 enablestring=
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13643 defaultval=yes
13644 else
13645 defaultval=no
13646 fi
13647 fi
13648
13649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13650 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13651 # Check whether --enable-tabdialog was given.
13652 if test "${enable_tabdialog+set}" = set; then
13653 enableval=$enable_tabdialog;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13656 else
13657 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13658 fi
13659 cache=yes
13660
13661 else
13662
13663 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13664 if test "x$LINE" != x ; then
13665 eval "DEFAULT_$LINE"
13666 cache=yes
13667 else
13668 cache=no
13669 fi
13670
13671 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13672
13673 fi
13674
13675
13676 eval "$wx_cv_use_tabdialog"
13677 if test "x$cache" = xyes; then
13678 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13679 fi
13680
13681 if test x"$enablestring" = xdisable; then
13682 if test $wxUSE_TAB_DIALOG = yes; then
13683 result=no
13684 else
13685 result=yes
13686 fi
13687 else
13688 result=$wxUSE_TAB_DIALOG
13689 fi
13690
13691 { echo "$as_me:$LINENO: result: $result" >&5
13692 echo "${ECHO_T}$result" >&6; }
13693
13694
13695 enablestring=
13696 defaultval=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x"$enablestring" = xdisable; then
13699 defaultval=yes
13700 else
13701 defaultval=no
13702 fi
13703 fi
13704
13705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13706 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then
13709 enableval=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13712 else
13713 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13714 fi
13715 cache=yes
13716
13717 else
13718
13719 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13720 if test "x$LINE" != x ; then
13721 eval "DEFAULT_$LINE"
13722 cache=yes
13723 else
13724 cache=no
13725 fi
13726
13727 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13728
13729 fi
13730
13731
13732 eval "$wx_cv_use_taskbaricon"
13733 if test "x$cache" = xyes; then
13734 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13735 fi
13736
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_TASKBARICON = yes; then
13739 result=no
13740 else
13741 result=yes
13742 fi
13743 else
13744 result=$wxUSE_TASKBARICON
13745 fi
13746
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13749
13750
13751 enablestring=
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13755 defaultval=yes
13756 else
13757 defaultval=no
13758 fi
13759 fi
13760
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13763 # Check whether --enable-textctrl was given.
13764 if test "${enable_textctrl+set}" = set; then
13765 enableval=$enable_textctrl;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13768 else
13769 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13770 fi
13771 cache=yes
13772
13773 else
13774
13775 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13776 if test "x$LINE" != x ; then
13777 eval "DEFAULT_$LINE"
13778 cache=yes
13779 else
13780 cache=no
13781 fi
13782
13783 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13784
13785 fi
13786
13787
13788 eval "$wx_cv_use_textctrl"
13789 if test "x$cache" = xyes; then
13790 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13791 fi
13792
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_TEXTCTRL = yes; then
13795 result=no
13796 else
13797 result=yes
13798 fi
13799 else
13800 result=$wxUSE_TEXTCTRL
13801 fi
13802
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13805
13806
13807 enablestring=
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13811 defaultval=yes
13812 else
13813 defaultval=no
13814 fi
13815 fi
13816
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13819 # Check whether --enable-togglebtn was given.
13820 if test "${enable_togglebtn+set}" = set; then
13821 enableval=$enable_togglebtn;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13824 else
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13826 fi
13827 cache=yes
13828
13829 else
13830
13831 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13832 if test "x$LINE" != x ; then
13833 eval "DEFAULT_$LINE"
13834 cache=yes
13835 else
13836 cache=no
13837 fi
13838
13839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13840
13841 fi
13842
13843
13844 eval "$wx_cv_use_togglebtn"
13845 if test "x$cache" = xyes; then
13846 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13847 fi
13848
13849 if test x"$enablestring" = xdisable; then
13850 if test $wxUSE_TOGGLEBTN = yes; then
13851 result=no
13852 else
13853 result=yes
13854 fi
13855 else
13856 result=$wxUSE_TOGGLEBTN
13857 fi
13858
13859 { echo "$as_me:$LINENO: result: $result" >&5
13860 echo "${ECHO_T}$result" >&6; }
13861
13862
13863 enablestring=
13864 defaultval=$wxUSE_ALL_FEATURES
13865 if test -z "$defaultval"; then
13866 if test x"$enablestring" = xdisable; then
13867 defaultval=yes
13868 else
13869 defaultval=no
13870 fi
13871 fi
13872
13873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13874 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13875 # Check whether --enable-toolbar was given.
13876 if test "${enable_toolbar+set}" = set; then
13877 enableval=$enable_toolbar;
13878 if test "$enableval" = yes; then
13879 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13880 else
13881 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13882 fi
13883 cache=yes
13884
13885 else
13886
13887 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13888 if test "x$LINE" != x ; then
13889 eval "DEFAULT_$LINE"
13890 cache=yes
13891 else
13892 cache=no
13893 fi
13894
13895 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13896
13897 fi
13898
13899
13900 eval "$wx_cv_use_toolbar"
13901 if test "x$cache" = xyes; then
13902 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13903 fi
13904
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TOOLBAR = yes; then
13907 result=no
13908 else
13909 result=yes
13910 fi
13911 else
13912 result=$wxUSE_TOOLBAR
13913 fi
13914
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13917
13918
13919 enablestring=
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13923 defaultval=yes
13924 else
13925 defaultval=no
13926 fi
13927 fi
13928
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13931 # Check whether --enable-tbarnative was given.
13932 if test "${enable_tbarnative+set}" = set; then
13933 enableval=$enable_tbarnative;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13936 else
13937 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13938 fi
13939 cache=yes
13940
13941 else
13942
13943 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13944 if test "x$LINE" != x ; then
13945 eval "DEFAULT_$LINE"
13946 cache=yes
13947 else
13948 cache=no
13949 fi
13950
13951 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13952
13953 fi
13954
13955
13956 eval "$wx_cv_use_tbarnative"
13957 if test "x$cache" = xyes; then
13958 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13959 fi
13960
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13963 result=no
13964 else
13965 result=yes
13966 fi
13967 else
13968 result=$wxUSE_TOOLBAR_NATIVE
13969 fi
13970
13971 { echo "$as_me:$LINENO: result: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13973
13974
13975 enablestring=
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13979 defaultval=yes
13980 else
13981 defaultval=no
13982 fi
13983 fi
13984
13985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13986 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13987 # Check whether --enable-treebook was given.
13988 if test "${enable_treebook+set}" = set; then
13989 enableval=$enable_treebook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13992 else
13993 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13994 fi
13995 cache=yes
13996
13997 else
13998
13999 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
14000 if test "x$LINE" != x ; then
14001 eval "DEFAULT_$LINE"
14002 cache=yes
14003 else
14004 cache=no
14005 fi
14006
14007 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14008
14009 fi
14010
14011
14012 eval "$wx_cv_use_treebook"
14013 if test "x$cache" = xyes; then
14014 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14015 fi
14016
14017 if test x"$enablestring" = xdisable; then
14018 if test $wxUSE_TREEBOOK = yes; then
14019 result=no
14020 else
14021 result=yes
14022 fi
14023 else
14024 result=$wxUSE_TREEBOOK
14025 fi
14026
14027 { echo "$as_me:$LINENO: result: $result" >&5
14028 echo "${ECHO_T}$result" >&6; }
14029
14030
14031 enablestring=
14032 defaultval=$wxUSE_ALL_FEATURES
14033 if test -z "$defaultval"; then
14034 if test x"$enablestring" = xdisable; then
14035 defaultval=yes
14036 else
14037 defaultval=no
14038 fi
14039 fi
14040
14041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14042 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14043 # Check whether --enable-toolbook was given.
14044 if test "${enable_toolbook+set}" = set; then
14045 enableval=$enable_toolbook;
14046 if test "$enableval" = yes; then
14047 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14048 else
14049 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14050 fi
14051 cache=yes
14052
14053 else
14054
14055 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14056 if test "x$LINE" != x ; then
14057 eval "DEFAULT_$LINE"
14058 cache=yes
14059 else
14060 cache=no
14061 fi
14062
14063 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14064
14065 fi
14066
14067
14068 eval "$wx_cv_use_toolbook"
14069 if test "x$cache" = xyes; then
14070 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14071 fi
14072
14073 if test x"$enablestring" = xdisable; then
14074 if test $wxUSE_TOOLBOOK = yes; then
14075 result=no
14076 else
14077 result=yes
14078 fi
14079 else
14080 result=$wxUSE_TOOLBOOK
14081 fi
14082
14083 { echo "$as_me:$LINENO: result: $result" >&5
14084 echo "${ECHO_T}$result" >&6; }
14085
14086
14087 enablestring=
14088 defaultval=$wxUSE_ALL_FEATURES
14089 if test -z "$defaultval"; then
14090 if test x"$enablestring" = xdisable; then
14091 defaultval=yes
14092 else
14093 defaultval=no
14094 fi
14095 fi
14096
14097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14099 # Check whether --enable-treectrl was given.
14100 if test "${enable_treectrl+set}" = set; then
14101 enableval=$enable_treectrl;
14102 if test "$enableval" = yes; then
14103 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14104 else
14105 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14106 fi
14107 cache=yes
14108
14109 else
14110
14111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14112 if test "x$LINE" != x ; then
14113 eval "DEFAULT_$LINE"
14114 cache=yes
14115 else
14116 cache=no
14117 fi
14118
14119 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14120
14121 fi
14122
14123
14124 eval "$wx_cv_use_treectrl"
14125 if test "x$cache" = xyes; then
14126 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14127 fi
14128
14129 if test x"$enablestring" = xdisable; then
14130 if test $wxUSE_TREECTRL = yes; then
14131 result=no
14132 else
14133 result=yes
14134 fi
14135 else
14136 result=$wxUSE_TREECTRL
14137 fi
14138
14139 { echo "$as_me:$LINENO: result: $result" >&5
14140 echo "${ECHO_T}$result" >&6; }
14141
14142
14143 enablestring=
14144 defaultval=$wxUSE_ALL_FEATURES
14145 if test -z "$defaultval"; then
14146 if test x"$enablestring" = xdisable; then
14147 defaultval=yes
14148 else
14149 defaultval=no
14150 fi
14151 fi
14152
14153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14154 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14155 # Check whether --enable-tipwindow was given.
14156 if test "${enable_tipwindow+set}" = set; then
14157 enableval=$enable_tipwindow;
14158 if test "$enableval" = yes; then
14159 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14160 else
14161 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14162 fi
14163 cache=yes
14164
14165 else
14166
14167 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14168 if test "x$LINE" != x ; then
14169 eval "DEFAULT_$LINE"
14170 cache=yes
14171 else
14172 cache=no
14173 fi
14174
14175 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14176
14177 fi
14178
14179
14180 eval "$wx_cv_use_tipwindow"
14181 if test "x$cache" = xyes; then
14182 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14183 fi
14184
14185 if test x"$enablestring" = xdisable; then
14186 if test $wxUSE_TIPWINDOW = yes; then
14187 result=no
14188 else
14189 result=yes
14190 fi
14191 else
14192 result=$wxUSE_TIPWINDOW
14193 fi
14194
14195 { echo "$as_me:$LINENO: result: $result" >&5
14196 echo "${ECHO_T}$result" >&6; }
14197
14198
14199 enablestring=
14200 defaultval=$wxUSE_ALL_FEATURES
14201 if test -z "$defaultval"; then
14202 if test x"$enablestring" = xdisable; then
14203 defaultval=yes
14204 else
14205 defaultval=no
14206 fi
14207 fi
14208
14209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14211 # Check whether --enable-popupwin was given.
14212 if test "${enable_popupwin+set}" = set; then
14213 enableval=$enable_popupwin;
14214 if test "$enableval" = yes; then
14215 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14216 else
14217 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14218 fi
14219 cache=yes
14220
14221 else
14222
14223 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14224 if test "x$LINE" != x ; then
14225 eval "DEFAULT_$LINE"
14226 cache=yes
14227 else
14228 cache=no
14229 fi
14230
14231 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14232
14233 fi
14234
14235
14236 eval "$wx_cv_use_popupwin"
14237 if test "x$cache" = xyes; then
14238 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14239 fi
14240
14241 if test x"$enablestring" = xdisable; then
14242 if test $wxUSE_POPUPWIN = yes; then
14243 result=no
14244 else
14245 result=yes
14246 fi
14247 else
14248 result=$wxUSE_POPUPWIN
14249 fi
14250
14251 { echo "$as_me:$LINENO: result: $result" >&5
14252 echo "${ECHO_T}$result" >&6; }
14253
14254
14255
14256
14257 enablestring=
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14261 defaultval=yes
14262 else
14263 defaultval=no
14264 fi
14265 fi
14266
14267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14269 # Check whether --enable-commondlg was given.
14270 if test "${enable_commondlg+set}" = set; then
14271 enableval=$enable_commondlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14274 else
14275 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14276 fi
14277 cache=yes
14278
14279 else
14280
14281 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14282 if test "x$LINE" != x ; then
14283 eval "DEFAULT_$LINE"
14284 cache=yes
14285 else
14286 cache=no
14287 fi
14288
14289 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14290
14291 fi
14292
14293
14294 eval "$wx_cv_use_commondlg"
14295 if test "x$cache" = xyes; then
14296 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14297 fi
14298
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_COMMONDLGS = yes; then
14301 result=no
14302 else
14303 result=yes
14304 fi
14305 else
14306 result=$wxUSE_COMMONDLGS
14307 fi
14308
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14311
14312
14313 enablestring=
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14317 defaultval=yes
14318 else
14319 defaultval=no
14320 fi
14321 fi
14322
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14325 # Check whether --enable-aboutdlg was given.
14326 if test "${enable_aboutdlg+set}" = set; then
14327 enableval=$enable_aboutdlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14330 else
14331 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14332 fi
14333 cache=yes
14334
14335 else
14336
14337 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14340 cache=yes
14341 else
14342 cache=no
14343 fi
14344
14345 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14346
14347 fi
14348
14349
14350 eval "$wx_cv_use_aboutdlg"
14351 if test "x$cache" = xyes; then
14352 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14353 fi
14354
14355 if test x"$enablestring" = xdisable; then
14356 if test $wxUSE_ABOUTDLG = yes; then
14357 result=no
14358 else
14359 result=yes
14360 fi
14361 else
14362 result=$wxUSE_ABOUTDLG
14363 fi
14364
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14367
14368
14369 enablestring=
14370 defaultval=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x"$enablestring" = xdisable; then
14373 defaultval=yes
14374 else
14375 defaultval=no
14376 fi
14377 fi
14378
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14381 # Check whether --enable-choicedlg was given.
14382 if test "${enable_choicedlg+set}" = set; then
14383 enableval=$enable_choicedlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14386 else
14387 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14388 fi
14389 cache=yes
14390
14391 else
14392
14393 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14394 if test "x$LINE" != x ; then
14395 eval "DEFAULT_$LINE"
14396 cache=yes
14397 else
14398 cache=no
14399 fi
14400
14401 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14402
14403 fi
14404
14405
14406 eval "$wx_cv_use_choicedlg"
14407 if test "x$cache" = xyes; then
14408 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14409 fi
14410
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_CHOICEDLG = yes; then
14413 result=no
14414 else
14415 result=yes
14416 fi
14417 else
14418 result=$wxUSE_CHOICEDLG
14419 fi
14420
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14423
14424
14425 enablestring=
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14429 defaultval=yes
14430 else
14431 defaultval=no
14432 fi
14433 fi
14434
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14437 # Check whether --enable-coldlg was given.
14438 if test "${enable_coldlg+set}" = set; then
14439 enableval=$enable_coldlg;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14442 else
14443 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14444 fi
14445 cache=yes
14446
14447 else
14448
14449 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14450 if test "x$LINE" != x ; then
14451 eval "DEFAULT_$LINE"
14452 cache=yes
14453 else
14454 cache=no
14455 fi
14456
14457 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14458
14459 fi
14460
14461
14462 eval "$wx_cv_use_coldlg"
14463 if test "x$cache" = xyes; then
14464 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14465 fi
14466
14467 if test x"$enablestring" = xdisable; then
14468 if test $wxUSE_COLOURDLG = yes; then
14469 result=no
14470 else
14471 result=yes
14472 fi
14473 else
14474 result=$wxUSE_COLOURDLG
14475 fi
14476
14477 { echo "$as_me:$LINENO: result: $result" >&5
14478 echo "${ECHO_T}$result" >&6; }
14479
14480
14481 enablestring=
14482 defaultval=$wxUSE_ALL_FEATURES
14483 if test -z "$defaultval"; then
14484 if test x"$enablestring" = xdisable; then
14485 defaultval=yes
14486 else
14487 defaultval=no
14488 fi
14489 fi
14490
14491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14492 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14493 # Check whether --enable-filedlg was given.
14494 if test "${enable_filedlg+set}" = set; then
14495 enableval=$enable_filedlg;
14496 if test "$enableval" = yes; then
14497 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14498 else
14499 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14500 fi
14501 cache=yes
14502
14503 else
14504
14505 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14506 if test "x$LINE" != x ; then
14507 eval "DEFAULT_$LINE"
14508 cache=yes
14509 else
14510 cache=no
14511 fi
14512
14513 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14514
14515 fi
14516
14517
14518 eval "$wx_cv_use_filedlg"
14519 if test "x$cache" = xyes; then
14520 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14521 fi
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_FILEDLG = yes; then
14525 result=no
14526 else
14527 result=yes
14528 fi
14529 else
14530 result=$wxUSE_FILEDLG
14531 fi
14532
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14549 # Check whether --enable-finddlg was given.
14550 if test "${enable_finddlg+set}" = set; then
14551 enableval=$enable_finddlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14554 else
14555 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14556 fi
14557 cache=yes
14558
14559 else
14560
14561 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14562 if test "x$LINE" != x ; then
14563 eval "DEFAULT_$LINE"
14564 cache=yes
14565 else
14566 cache=no
14567 fi
14568
14569 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14570
14571 fi
14572
14573
14574 eval "$wx_cv_use_finddlg"
14575 if test "x$cache" = xyes; then
14576 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14577 fi
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_FINDREPLDLG = yes; then
14581 result=no
14582 else
14583 result=yes
14584 fi
14585 else
14586 result=$wxUSE_FINDREPLDLG
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14605 # Check whether --enable-fontdlg was given.
14606 if test "${enable_fontdlg+set}" = set; then
14607 enableval=$enable_fontdlg;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14610 else
14611 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14612 fi
14613 cache=yes
14614
14615 else
14616
14617 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14618 if test "x$LINE" != x ; then
14619 eval "DEFAULT_$LINE"
14620 cache=yes
14621 else
14622 cache=no
14623 fi
14624
14625 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14626
14627 fi
14628
14629
14630 eval "$wx_cv_use_fontdlg"
14631 if test "x$cache" = xyes; then
14632 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14633 fi
14634
14635 if test x"$enablestring" = xdisable; then
14636 if test $wxUSE_FONTDLG = yes; then
14637 result=no
14638 else
14639 result=yes
14640 fi
14641 else
14642 result=$wxUSE_FONTDLG
14643 fi
14644
14645 { echo "$as_me:$LINENO: result: $result" >&5
14646 echo "${ECHO_T}$result" >&6; }
14647
14648
14649 enablestring=
14650 defaultval=$wxUSE_ALL_FEATURES
14651 if test -z "$defaultval"; then
14652 if test x"$enablestring" = xdisable; then
14653 defaultval=yes
14654 else
14655 defaultval=no
14656 fi
14657 fi
14658
14659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14660 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14661 # Check whether --enable-dirdlg was given.
14662 if test "${enable_dirdlg+set}" = set; then
14663 enableval=$enable_dirdlg;
14664 if test "$enableval" = yes; then
14665 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14666 else
14667 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14668 fi
14669 cache=yes
14670
14671 else
14672
14673 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14674 if test "x$LINE" != x ; then
14675 eval "DEFAULT_$LINE"
14676 cache=yes
14677 else
14678 cache=no
14679 fi
14680
14681 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14682
14683 fi
14684
14685
14686 eval "$wx_cv_use_dirdlg"
14687 if test "x$cache" = xyes; then
14688 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14689 fi
14690
14691 if test x"$enablestring" = xdisable; then
14692 if test $wxUSE_DIRDLG = yes; then
14693 result=no
14694 else
14695 result=yes
14696 fi
14697 else
14698 result=$wxUSE_DIRDLG
14699 fi
14700
14701 { echo "$as_me:$LINENO: result: $result" >&5
14702 echo "${ECHO_T}$result" >&6; }
14703
14704
14705 enablestring=
14706 defaultval=$wxUSE_ALL_FEATURES
14707 if test -z "$defaultval"; then
14708 if test x"$enablestring" = xdisable; then
14709 defaultval=yes
14710 else
14711 defaultval=no
14712 fi
14713 fi
14714
14715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14716 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14717 # Check whether --enable-msgdlg was given.
14718 if test "${enable_msgdlg+set}" = set; then
14719 enableval=$enable_msgdlg;
14720 if test "$enableval" = yes; then
14721 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14722 else
14723 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14724 fi
14725 cache=yes
14726
14727 else
14728
14729 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14730 if test "x$LINE" != x ; then
14731 eval "DEFAULT_$LINE"
14732 cache=yes
14733 else
14734 cache=no
14735 fi
14736
14737 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14738
14739 fi
14740
14741
14742 eval "$wx_cv_use_msgdlg"
14743 if test "x$cache" = xyes; then
14744 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14745 fi
14746
14747 if test x"$enablestring" = xdisable; then
14748 if test $wxUSE_MSGDLG = yes; then
14749 result=no
14750 else
14751 result=yes
14752 fi
14753 else
14754 result=$wxUSE_MSGDLG
14755 fi
14756
14757 { echo "$as_me:$LINENO: result: $result" >&5
14758 echo "${ECHO_T}$result" >&6; }
14759
14760
14761 enablestring=
14762 defaultval=$wxUSE_ALL_FEATURES
14763 if test -z "$defaultval"; then
14764 if test x"$enablestring" = xdisable; then
14765 defaultval=yes
14766 else
14767 defaultval=no
14768 fi
14769 fi
14770
14771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14772 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14773 # Check whether --enable-numberdlg was given.
14774 if test "${enable_numberdlg+set}" = set; then
14775 enableval=$enable_numberdlg;
14776 if test "$enableval" = yes; then
14777 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14778 else
14779 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14780 fi
14781 cache=yes
14782
14783 else
14784
14785 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14786 if test "x$LINE" != x ; then
14787 eval "DEFAULT_$LINE"
14788 cache=yes
14789 else
14790 cache=no
14791 fi
14792
14793 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14794
14795 fi
14796
14797
14798 eval "$wx_cv_use_numberdlg"
14799 if test "x$cache" = xyes; then
14800 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14801 fi
14802
14803 if test x"$enablestring" = xdisable; then
14804 if test $wxUSE_NUMBERDLG = yes; then
14805 result=no
14806 else
14807 result=yes
14808 fi
14809 else
14810 result=$wxUSE_NUMBERDLG
14811 fi
14812
14813 { echo "$as_me:$LINENO: result: $result" >&5
14814 echo "${ECHO_T}$result" >&6; }
14815
14816
14817 enablestring=
14818 defaultval=$wxUSE_ALL_FEATURES
14819 if test -z "$defaultval"; then
14820 if test x"$enablestring" = xdisable; then
14821 defaultval=yes
14822 else
14823 defaultval=no
14824 fi
14825 fi
14826
14827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14828 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14829 # Check whether --enable-splash was given.
14830 if test "${enable_splash+set}" = set; then
14831 enableval=$enable_splash;
14832 if test "$enableval" = yes; then
14833 wx_cv_use_splash='wxUSE_SPLASH=yes'
14834 else
14835 wx_cv_use_splash='wxUSE_SPLASH=no'
14836 fi
14837 cache=yes
14838
14839 else
14840
14841 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14842 if test "x$LINE" != x ; then
14843 eval "DEFAULT_$LINE"
14844 cache=yes
14845 else
14846 cache=no
14847 fi
14848
14849 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14850
14851 fi
14852
14853
14854 eval "$wx_cv_use_splash"
14855 if test "x$cache" = xyes; then
14856 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14857 fi
14858
14859 if test x"$enablestring" = xdisable; then
14860 if test $wxUSE_SPLASH = yes; then
14861 result=no
14862 else
14863 result=yes
14864 fi
14865 else
14866 result=$wxUSE_SPLASH
14867 fi
14868
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14871
14872
14873 enablestring=
14874 defaultval=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x"$enablestring" = xdisable; then
14877 defaultval=yes
14878 else
14879 defaultval=no
14880 fi
14881 fi
14882
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14885 # Check whether --enable-textdlg was given.
14886 if test "${enable_textdlg+set}" = set; then
14887 enableval=$enable_textdlg;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14890 else
14891 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14892 fi
14893 cache=yes
14894
14895 else
14896
14897 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x ; then
14899 eval "DEFAULT_$LINE"
14900 cache=yes
14901 else
14902 cache=no
14903 fi
14904
14905 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14906
14907 fi
14908
14909
14910 eval "$wx_cv_use_textdlg"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14913 fi
14914
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_TEXTDLG = yes; then
14917 result=no
14918 else
14919 result=yes
14920 fi
14921 else
14922 result=$wxUSE_TEXTDLG
14923 fi
14924
14925 { echo "$as_me:$LINENO: result: $result" >&5
14926 echo "${ECHO_T}$result" >&6; }
14927
14928
14929 enablestring=
14930 defaultval=$wxUSE_ALL_FEATURES
14931 if test -z "$defaultval"; then
14932 if test x"$enablestring" = xdisable; then
14933 defaultval=yes
14934 else
14935 defaultval=no
14936 fi
14937 fi
14938
14939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14941 # Check whether --enable-tipdlg was given.
14942 if test "${enable_tipdlg+set}" = set; then
14943 enableval=$enable_tipdlg;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14946 else
14947 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14948 fi
14949 cache=yes
14950
14951 else
14952
14953 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14954 if test "x$LINE" != x ; then
14955 eval "DEFAULT_$LINE"
14956 cache=yes
14957 else
14958 cache=no
14959 fi
14960
14961 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14962
14963 fi
14964
14965
14966 eval "$wx_cv_use_tipdlg"
14967 if test "x$cache" = xyes; then
14968 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14969 fi
14970
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_STARTUP_TIPS = yes; then
14973 result=no
14974 else
14975 result=yes
14976 fi
14977 else
14978 result=$wxUSE_STARTUP_TIPS
14979 fi
14980
14981 { echo "$as_me:$LINENO: result: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14983
14984
14985 enablestring=
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14989 defaultval=yes
14990 else
14991 defaultval=no
14992 fi
14993 fi
14994
14995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14996 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14997 # Check whether --enable-progressdlg was given.
14998 if test "${enable_progressdlg+set}" = set; then
14999 enableval=$enable_progressdlg;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15002 else
15003 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15004 fi
15005 cache=yes
15006
15007 else
15008
15009 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
15010 if test "x$LINE" != x ; then
15011 eval "DEFAULT_$LINE"
15012 cache=yes
15013 else
15014 cache=no
15015 fi
15016
15017 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15018
15019 fi
15020
15021
15022 eval "$wx_cv_use_progressdlg"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15025 fi
15026
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_PROGRESSDLG = yes; then
15029 result=no
15030 else
15031 result=yes
15032 fi
15033 else
15034 result=$wxUSE_PROGRESSDLG
15035 fi
15036
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15039
15040
15041 enablestring=
15042 defaultval=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x"$enablestring" = xdisable; then
15045 defaultval=yes
15046 else
15047 defaultval=no
15048 fi
15049 fi
15050
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15053 # Check whether --enable-wizarddlg was given.
15054 if test "${enable_wizarddlg+set}" = set; then
15055 enableval=$enable_wizarddlg;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15058 else
15059 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15060 fi
15061 cache=yes
15062
15063 else
15064
15065 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15066 if test "x$LINE" != x ; then
15067 eval "DEFAULT_$LINE"
15068 cache=yes
15069 else
15070 cache=no
15071 fi
15072
15073 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15074
15075 fi
15076
15077
15078 eval "$wx_cv_use_wizarddlg"
15079 if test "x$cache" = xyes; then
15080 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15081 fi
15082
15083 if test x"$enablestring" = xdisable; then
15084 if test $wxUSE_WIZARDDLG = yes; then
15085 result=no
15086 else
15087 result=yes
15088 fi
15089 else
15090 result=$wxUSE_WIZARDDLG
15091 fi
15092
15093 { echo "$as_me:$LINENO: result: $result" >&5
15094 echo "${ECHO_T}$result" >&6; }
15095
15096
15097
15098
15099 enablestring=
15100 defaultval=$wxUSE_ALL_FEATURES
15101 if test -z "$defaultval"; then
15102 if test x"$enablestring" = xdisable; then
15103 defaultval=yes
15104 else
15105 defaultval=no
15106 fi
15107 fi
15108
15109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15110 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15111 # Check whether --enable-menus was given.
15112 if test "${enable_menus+set}" = set; then
15113 enableval=$enable_menus;
15114 if test "$enableval" = yes; then
15115 wx_cv_use_menus='wxUSE_MENUS=yes'
15116 else
15117 wx_cv_use_menus='wxUSE_MENUS=no'
15118 fi
15119 cache=yes
15120
15121 else
15122
15123 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15124 if test "x$LINE" != x ; then
15125 eval "DEFAULT_$LINE"
15126 cache=yes
15127 else
15128 cache=no
15129 fi
15130
15131 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15132
15133 fi
15134
15135
15136 eval "$wx_cv_use_menus"
15137 if test "x$cache" = xyes; then
15138 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15139 fi
15140
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_MENUS = yes; then
15143 result=no
15144 else
15145 result=yes
15146 fi
15147 else
15148 result=$wxUSE_MENUS
15149 fi
15150
15151 { echo "$as_me:$LINENO: result: $result" >&5
15152 echo "${ECHO_T}$result" >&6; }
15153
15154
15155 enablestring=
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15159 defaultval=yes
15160 else
15161 defaultval=no
15162 fi
15163 fi
15164
15165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15166 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15167 # Check whether --enable-miniframe was given.
15168 if test "${enable_miniframe+set}" = set; then
15169 enableval=$enable_miniframe;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15172 else
15173 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15174 fi
15175 cache=yes
15176
15177 else
15178
15179 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15180 if test "x$LINE" != x ; then
15181 eval "DEFAULT_$LINE"
15182 cache=yes
15183 else
15184 cache=no
15185 fi
15186
15187 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15188
15189 fi
15190
15191
15192 eval "$wx_cv_use_miniframe"
15193 if test "x$cache" = xyes; then
15194 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15195 fi
15196
15197 if test x"$enablestring" = xdisable; then
15198 if test $wxUSE_MINIFRAME = yes; then
15199 result=no
15200 else
15201 result=yes
15202 fi
15203 else
15204 result=$wxUSE_MINIFRAME
15205 fi
15206
15207 { echo "$as_me:$LINENO: result: $result" >&5
15208 echo "${ECHO_T}$result" >&6; }
15209
15210
15211 enablestring=
15212 defaultval=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x"$enablestring" = xdisable; then
15215 defaultval=yes
15216 else
15217 defaultval=no
15218 fi
15219 fi
15220
15221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15222 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15223 # Check whether --enable-tooltips was given.
15224 if test "${enable_tooltips+set}" = set; then
15225 enableval=$enable_tooltips;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15228 else
15229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15230 fi
15231 cache=yes
15232
15233 else
15234
15235 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15236 if test "x$LINE" != x ; then
15237 eval "DEFAULT_$LINE"
15238 cache=yes
15239 else
15240 cache=no
15241 fi
15242
15243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15244
15245 fi
15246
15247
15248 eval "$wx_cv_use_tooltips"
15249 if test "x$cache" = xyes; then
15250 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15251 fi
15252
15253 if test x"$enablestring" = xdisable; then
15254 if test $wxUSE_TOOLTIPS = yes; then
15255 result=no
15256 else
15257 result=yes
15258 fi
15259 else
15260 result=$wxUSE_TOOLTIPS
15261 fi
15262
15263 { echo "$as_me:$LINENO: result: $result" >&5
15264 echo "${ECHO_T}$result" >&6; }
15265
15266
15267 enablestring=
15268 defaultval=$wxUSE_ALL_FEATURES
15269 if test -z "$defaultval"; then
15270 if test x"$enablestring" = xdisable; then
15271 defaultval=yes
15272 else
15273 defaultval=no
15274 fi
15275 fi
15276
15277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15278 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15279 # Check whether --enable-splines was given.
15280 if test "${enable_splines+set}" = set; then
15281 enableval=$enable_splines;
15282 if test "$enableval" = yes; then
15283 wx_cv_use_splines='wxUSE_SPLINES=yes'
15284 else
15285 wx_cv_use_splines='wxUSE_SPLINES=no'
15286 fi
15287 cache=yes
15288
15289 else
15290
15291 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15292 if test "x$LINE" != x ; then
15293 eval "DEFAULT_$LINE"
15294 cache=yes
15295 else
15296 cache=no
15297 fi
15298
15299 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15300
15301 fi
15302
15303
15304 eval "$wx_cv_use_splines"
15305 if test "x$cache" = xyes; then
15306 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15307 fi
15308
15309 if test x"$enablestring" = xdisable; then
15310 if test $wxUSE_SPLINES = yes; then
15311 result=no
15312 else
15313 result=yes
15314 fi
15315 else
15316 result=$wxUSE_SPLINES
15317 fi
15318
15319 { echo "$as_me:$LINENO: result: $result" >&5
15320 echo "${ECHO_T}$result" >&6; }
15321
15322
15323 enablestring=
15324 defaultval=$wxUSE_ALL_FEATURES
15325 if test -z "$defaultval"; then
15326 if test x"$enablestring" = xdisable; then
15327 defaultval=yes
15328 else
15329 defaultval=no
15330 fi
15331 fi
15332
15333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15334 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15335 # Check whether --enable-mousewheel was given.
15336 if test "${enable_mousewheel+set}" = set; then
15337 enableval=$enable_mousewheel;
15338 if test "$enableval" = yes; then
15339 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15340 else
15341 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15342 fi
15343 cache=yes
15344
15345 else
15346
15347 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15348 if test "x$LINE" != x ; then
15349 eval "DEFAULT_$LINE"
15350 cache=yes
15351 else
15352 cache=no
15353 fi
15354
15355 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15356
15357 fi
15358
15359
15360 eval "$wx_cv_use_mousewheel"
15361 if test "x$cache" = xyes; then
15362 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15363 fi
15364
15365 if test x"$enablestring" = xdisable; then
15366 if test $wxUSE_MOUSEWHEEL = yes; then
15367 result=no
15368 else
15369 result=yes
15370 fi
15371 else
15372 result=$wxUSE_MOUSEWHEEL
15373 fi
15374
15375 { echo "$as_me:$LINENO: result: $result" >&5
15376 echo "${ECHO_T}$result" >&6; }
15377
15378
15379 enablestring=
15380 defaultval=$wxUSE_ALL_FEATURES
15381 if test -z "$defaultval"; then
15382 if test x"$enablestring" = xdisable; then
15383 defaultval=yes
15384 else
15385 defaultval=no
15386 fi
15387 fi
15388
15389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15390 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15391 # Check whether --enable-validators was given.
15392 if test "${enable_validators+set}" = set; then
15393 enableval=$enable_validators;
15394 if test "$enableval" = yes; then
15395 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15396 else
15397 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15398 fi
15399 cache=yes
15400
15401 else
15402
15403 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15404 if test "x$LINE" != x ; then
15405 eval "DEFAULT_$LINE"
15406 cache=yes
15407 else
15408 cache=no
15409 fi
15410
15411 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15412
15413 fi
15414
15415
15416 eval "$wx_cv_use_validators"
15417 if test "x$cache" = xyes; then
15418 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15419 fi
15420
15421 if test x"$enablestring" = xdisable; then
15422 if test $wxUSE_VALIDATORS = yes; then
15423 result=no
15424 else
15425 result=yes
15426 fi
15427 else
15428 result=$wxUSE_VALIDATORS
15429 fi
15430
15431 { echo "$as_me:$LINENO: result: $result" >&5
15432 echo "${ECHO_T}$result" >&6; }
15433
15434
15435 enablestring=
15436 defaultval=$wxUSE_ALL_FEATURES
15437 if test -z "$defaultval"; then
15438 if test x"$enablestring" = xdisable; then
15439 defaultval=yes
15440 else
15441 defaultval=no
15442 fi
15443 fi
15444
15445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15446 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15447 # Check whether --enable-busyinfo was given.
15448 if test "${enable_busyinfo+set}" = set; then
15449 enableval=$enable_busyinfo;
15450 if test "$enableval" = yes; then
15451 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15452 else
15453 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15454 fi
15455 cache=yes
15456
15457 else
15458
15459 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15460 if test "x$LINE" != x ; then
15461 eval "DEFAULT_$LINE"
15462 cache=yes
15463 else
15464 cache=no
15465 fi
15466
15467 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15468
15469 fi
15470
15471
15472 eval "$wx_cv_use_busyinfo"
15473 if test "x$cache" = xyes; then
15474 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15475 fi
15476
15477 if test x"$enablestring" = xdisable; then
15478 if test $wxUSE_BUSYINFO = yes; then
15479 result=no
15480 else
15481 result=yes
15482 fi
15483 else
15484 result=$wxUSE_BUSYINFO
15485 fi
15486
15487 { echo "$as_me:$LINENO: result: $result" >&5
15488 echo "${ECHO_T}$result" >&6; }
15489
15490
15491 enablestring=
15492 defaultval=$wxUSE_ALL_FEATURES
15493 if test -z "$defaultval"; then
15494 if test x"$enablestring" = xdisable; then
15495 defaultval=yes
15496 else
15497 defaultval=no
15498 fi
15499 fi
15500
15501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15502 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15503 # Check whether --enable-joystick was given.
15504 if test "${enable_joystick+set}" = set; then
15505 enableval=$enable_joystick;
15506 if test "$enableval" = yes; then
15507 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15508 else
15509 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15510 fi
15511 cache=yes
15512
15513 else
15514
15515 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15516 if test "x$LINE" != x ; then
15517 eval "DEFAULT_$LINE"
15518 cache=yes
15519 else
15520 cache=no
15521 fi
15522
15523 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15524
15525 fi
15526
15527
15528 eval "$wx_cv_use_joystick"
15529 if test "x$cache" = xyes; then
15530 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15531 fi
15532
15533 if test x"$enablestring" = xdisable; then
15534 if test $wxUSE_JOYSTICK = yes; then
15535 result=no
15536 else
15537 result=yes
15538 fi
15539 else
15540 result=$wxUSE_JOYSTICK
15541 fi
15542
15543 { echo "$as_me:$LINENO: result: $result" >&5
15544 echo "${ECHO_T}$result" >&6; }
15545
15546
15547 enablestring=
15548 defaultval=$wxUSE_ALL_FEATURES
15549 if test -z "$defaultval"; then
15550 if test x"$enablestring" = xdisable; then
15551 defaultval=yes
15552 else
15553 defaultval=no
15554 fi
15555 fi
15556
15557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15558 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15559 # Check whether --enable-metafile was given.
15560 if test "${enable_metafile+set}" = set; then
15561 enableval=$enable_metafile;
15562 if test "$enableval" = yes; then
15563 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15564 else
15565 wx_cv_use_metafile='wxUSE_METAFILE=no'
15566 fi
15567 cache=yes
15568
15569 else
15570
15571 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15572 if test "x$LINE" != x ; then
15573 eval "DEFAULT_$LINE"
15574 cache=yes
15575 else
15576 cache=no
15577 fi
15578
15579 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15580
15581 fi
15582
15583
15584 eval "$wx_cv_use_metafile"
15585 if test "x$cache" = xyes; then
15586 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15587 fi
15588
15589 if test x"$enablestring" = xdisable; then
15590 if test $wxUSE_METAFILE = yes; then
15591 result=no
15592 else
15593 result=yes
15594 fi
15595 else
15596 result=$wxUSE_METAFILE
15597 fi
15598
15599 { echo "$as_me:$LINENO: result: $result" >&5
15600 echo "${ECHO_T}$result" >&6; }
15601
15602
15603 enablestring=
15604 defaultval=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x"$enablestring" = xdisable; then
15607 defaultval=yes
15608 else
15609 defaultval=no
15610 fi
15611 fi
15612
15613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15614 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15615 # Check whether --enable-dragimage was given.
15616 if test "${enable_dragimage+set}" = set; then
15617 enableval=$enable_dragimage;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15620 else
15621 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15622 fi
15623 cache=yes
15624
15625 else
15626
15627 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15628 if test "x$LINE" != x ; then
15629 eval "DEFAULT_$LINE"
15630 cache=yes
15631 else
15632 cache=no
15633 fi
15634
15635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15636
15637 fi
15638
15639
15640 eval "$wx_cv_use_dragimage"
15641 if test "x$cache" = xyes; then
15642 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15643 fi
15644
15645 if test x"$enablestring" = xdisable; then
15646 if test $wxUSE_DRAGIMAGE = yes; then
15647 result=no
15648 else
15649 result=yes
15650 fi
15651 else
15652 result=$wxUSE_DRAGIMAGE
15653 fi
15654
15655 { echo "$as_me:$LINENO: result: $result" >&5
15656 echo "${ECHO_T}$result" >&6; }
15657
15658
15659 enablestring=
15660 defaultval=$wxUSE_ALL_FEATURES
15661 if test -z "$defaultval"; then
15662 if test x"$enablestring" = xdisable; then
15663 defaultval=yes
15664 else
15665 defaultval=no
15666 fi
15667 fi
15668
15669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15670 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15671 # Check whether --enable-accessibility was given.
15672 if test "${enable_accessibility+set}" = set; then
15673 enableval=$enable_accessibility;
15674 if test "$enableval" = yes; then
15675 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15676 else
15677 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15678 fi
15679 cache=yes
15680
15681 else
15682
15683 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15684 if test "x$LINE" != x ; then
15685 eval "DEFAULT_$LINE"
15686 cache=yes
15687 else
15688 cache=no
15689 fi
15690
15691 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15692
15693 fi
15694
15695
15696 eval "$wx_cv_use_accessibility"
15697 if test "x$cache" = xyes; then
15698 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15699 fi
15700
15701 if test x"$enablestring" = xdisable; then
15702 if test $wxUSE_ACCESSIBILITY = yes; then
15703 result=no
15704 else
15705 result=yes
15706 fi
15707 else
15708 result=$wxUSE_ACCESSIBILITY
15709 fi
15710
15711 { echo "$as_me:$LINENO: result: $result" >&5
15712 echo "${ECHO_T}$result" >&6; }
15713
15714
15715
15716
15717 enablestring=
15718 defaultval=$wxUSE_ALL_FEATURES
15719 if test -z "$defaultval"; then
15720 if test x"$enablestring" = xdisable; then
15721 defaultval=yes
15722 else
15723 defaultval=no
15724 fi
15725 fi
15726
15727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15728 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15729 # Check whether --enable-palette was given.
15730 if test "${enable_palette+set}" = set; then
15731 enableval=$enable_palette;
15732 if test "$enableval" = yes; then
15733 wx_cv_use_palette='wxUSE_PALETTE=yes'
15734 else
15735 wx_cv_use_palette='wxUSE_PALETTE=no'
15736 fi
15737 cache=yes
15738
15739 else
15740
15741 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15742 if test "x$LINE" != x ; then
15743 eval "DEFAULT_$LINE"
15744 cache=yes
15745 else
15746 cache=no
15747 fi
15748
15749 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15750
15751 fi
15752
15753
15754 eval "$wx_cv_use_palette"
15755 if test "x$cache" = xyes; then
15756 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15757 fi
15758
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_PALETTE = yes; then
15761 result=no
15762 else
15763 result=yes
15764 fi
15765 else
15766 result=$wxUSE_PALETTE
15767 fi
15768
15769 { echo "$as_me:$LINENO: result: $result" >&5
15770 echo "${ECHO_T}$result" >&6; }
15771
15772
15773 enablestring=
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15777 defaultval=yes
15778 else
15779 defaultval=no
15780 fi
15781 fi
15782
15783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15784 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15785 # Check whether --enable-image was given.
15786 if test "${enable_image+set}" = set; then
15787 enableval=$enable_image;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_image='wxUSE_IMAGE=yes'
15790 else
15791 wx_cv_use_image='wxUSE_IMAGE=no'
15792 fi
15793 cache=yes
15794
15795 else
15796
15797 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15798 if test "x$LINE" != x ; then
15799 eval "DEFAULT_$LINE"
15800 cache=yes
15801 else
15802 cache=no
15803 fi
15804
15805 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15806
15807 fi
15808
15809
15810 eval "$wx_cv_use_image"
15811 if test "x$cache" = xyes; then
15812 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15813 fi
15814
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_IMAGE = yes; then
15817 result=no
15818 else
15819 result=yes
15820 fi
15821 else
15822 result=$wxUSE_IMAGE
15823 fi
15824
15825 { echo "$as_me:$LINENO: result: $result" >&5
15826 echo "${ECHO_T}$result" >&6; }
15827
15828
15829 enablestring=
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15833 defaultval=yes
15834 else
15835 defaultval=no
15836 fi
15837 fi
15838
15839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15840 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15841 # Check whether --enable-gif was given.
15842 if test "${enable_gif+set}" = set; then
15843 enableval=$enable_gif;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_gif='wxUSE_GIF=yes'
15846 else
15847 wx_cv_use_gif='wxUSE_GIF=no'
15848 fi
15849 cache=yes
15850
15851 else
15852
15853 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15854 if test "x$LINE" != x ; then
15855 eval "DEFAULT_$LINE"
15856 cache=yes
15857 else
15858 cache=no
15859 fi
15860
15861 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15862
15863 fi
15864
15865
15866 eval "$wx_cv_use_gif"
15867 if test "x$cache" = xyes; then
15868 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15869 fi
15870
15871 if test x"$enablestring" = xdisable; then
15872 if test $wxUSE_GIF = yes; then
15873 result=no
15874 else
15875 result=yes
15876 fi
15877 else
15878 result=$wxUSE_GIF
15879 fi
15880
15881 { echo "$as_me:$LINENO: result: $result" >&5
15882 echo "${ECHO_T}$result" >&6; }
15883
15884
15885 enablestring=
15886 defaultval=$wxUSE_ALL_FEATURES
15887 if test -z "$defaultval"; then
15888 if test x"$enablestring" = xdisable; then
15889 defaultval=yes
15890 else
15891 defaultval=no
15892 fi
15893 fi
15894
15895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15897 # Check whether --enable-pcx was given.
15898 if test "${enable_pcx+set}" = set; then
15899 enableval=$enable_pcx;
15900 if test "$enableval" = yes; then
15901 wx_cv_use_pcx='wxUSE_PCX=yes'
15902 else
15903 wx_cv_use_pcx='wxUSE_PCX=no'
15904 fi
15905 cache=yes
15906
15907 else
15908
15909 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15910 if test "x$LINE" != x ; then
15911 eval "DEFAULT_$LINE"
15912 cache=yes
15913 else
15914 cache=no
15915 fi
15916
15917 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15918
15919 fi
15920
15921
15922 eval "$wx_cv_use_pcx"
15923 if test "x$cache" = xyes; then
15924 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15925 fi
15926
15927 if test x"$enablestring" = xdisable; then
15928 if test $wxUSE_PCX = yes; then
15929 result=no
15930 else
15931 result=yes
15932 fi
15933 else
15934 result=$wxUSE_PCX
15935 fi
15936
15937 { echo "$as_me:$LINENO: result: $result" >&5
15938 echo "${ECHO_T}$result" >&6; }
15939
15940
15941 enablestring=
15942 defaultval=$wxUSE_ALL_FEATURES
15943 if test -z "$defaultval"; then
15944 if test x"$enablestring" = xdisable; then
15945 defaultval=yes
15946 else
15947 defaultval=no
15948 fi
15949 fi
15950
15951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15952 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15953 # Check whether --enable-tga was given.
15954 if test "${enable_tga+set}" = set; then
15955 enableval=$enable_tga;
15956 if test "$enableval" = yes; then
15957 wx_cv_use_tga='wxUSE_TGA=yes'
15958 else
15959 wx_cv_use_tga='wxUSE_TGA=no'
15960 fi
15961 cache=yes
15962
15963 else
15964
15965 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15966 if test "x$LINE" != x ; then
15967 eval "DEFAULT_$LINE"
15968 cache=yes
15969 else
15970 cache=no
15971 fi
15972
15973 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15974
15975 fi
15976
15977
15978 eval "$wx_cv_use_tga"
15979 if test "x$cache" = xyes; then
15980 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15981 fi
15982
15983 if test x"$enablestring" = xdisable; then
15984 if test $wxUSE_TGA = yes; then
15985 result=no
15986 else
15987 result=yes
15988 fi
15989 else
15990 result=$wxUSE_TGA
15991 fi
15992
15993 { echo "$as_me:$LINENO: result: $result" >&5
15994 echo "${ECHO_T}$result" >&6; }
15995
15996
15997 enablestring=
15998 defaultval=$wxUSE_ALL_FEATURES
15999 if test -z "$defaultval"; then
16000 if test x"$enablestring" = xdisable; then
16001 defaultval=yes
16002 else
16003 defaultval=no
16004 fi
16005 fi
16006
16007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
16008 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
16009 # Check whether --enable-iff was given.
16010 if test "${enable_iff+set}" = set; then
16011 enableval=$enable_iff;
16012 if test "$enableval" = yes; then
16013 wx_cv_use_iff='wxUSE_IFF=yes'
16014 else
16015 wx_cv_use_iff='wxUSE_IFF=no'
16016 fi
16017 cache=yes
16018
16019 else
16020
16021 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16022 if test "x$LINE" != x ; then
16023 eval "DEFAULT_$LINE"
16024 cache=yes
16025 else
16026 cache=no
16027 fi
16028
16029 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16030
16031 fi
16032
16033
16034 eval "$wx_cv_use_iff"
16035 if test "x$cache" = xyes; then
16036 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16037 fi
16038
16039 if test x"$enablestring" = xdisable; then
16040 if test $wxUSE_IFF = yes; then
16041 result=no
16042 else
16043 result=yes
16044 fi
16045 else
16046 result=$wxUSE_IFF
16047 fi
16048
16049 { echo "$as_me:$LINENO: result: $result" >&5
16050 echo "${ECHO_T}$result" >&6; }
16051
16052
16053 enablestring=
16054 defaultval=$wxUSE_ALL_FEATURES
16055 if test -z "$defaultval"; then
16056 if test x"$enablestring" = xdisable; then
16057 defaultval=yes
16058 else
16059 defaultval=no
16060 fi
16061 fi
16062
16063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16064 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16065 # Check whether --enable-pnm was given.
16066 if test "${enable_pnm+set}" = set; then
16067 enableval=$enable_pnm;
16068 if test "$enableval" = yes; then
16069 wx_cv_use_pnm='wxUSE_PNM=yes'
16070 else
16071 wx_cv_use_pnm='wxUSE_PNM=no'
16072 fi
16073 cache=yes
16074
16075 else
16076
16077 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16078 if test "x$LINE" != x ; then
16079 eval "DEFAULT_$LINE"
16080 cache=yes
16081 else
16082 cache=no
16083 fi
16084
16085 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16086
16087 fi
16088
16089
16090 eval "$wx_cv_use_pnm"
16091 if test "x$cache" = xyes; then
16092 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16093 fi
16094
16095 if test x"$enablestring" = xdisable; then
16096 if test $wxUSE_PNM = yes; then
16097 result=no
16098 else
16099 result=yes
16100 fi
16101 else
16102 result=$wxUSE_PNM
16103 fi
16104
16105 { echo "$as_me:$LINENO: result: $result" >&5
16106 echo "${ECHO_T}$result" >&6; }
16107
16108
16109 enablestring=
16110 defaultval=$wxUSE_ALL_FEATURES
16111 if test -z "$defaultval"; then
16112 if test x"$enablestring" = xdisable; then
16113 defaultval=yes
16114 else
16115 defaultval=no
16116 fi
16117 fi
16118
16119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16120 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16121 # Check whether --enable-xpm was given.
16122 if test "${enable_xpm+set}" = set; then
16123 enableval=$enable_xpm;
16124 if test "$enableval" = yes; then
16125 wx_cv_use_xpm='wxUSE_XPM=yes'
16126 else
16127 wx_cv_use_xpm='wxUSE_XPM=no'
16128 fi
16129 cache=yes
16130
16131 else
16132
16133 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16134 if test "x$LINE" != x ; then
16135 eval "DEFAULT_$LINE"
16136 cache=yes
16137 else
16138 cache=no
16139 fi
16140
16141 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16142
16143 fi
16144
16145
16146 eval "$wx_cv_use_xpm"
16147 if test "x$cache" = xyes; then
16148 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16149 fi
16150
16151 if test x"$enablestring" = xdisable; then
16152 if test $wxUSE_XPM = yes; then
16153 result=no
16154 else
16155 result=yes
16156 fi
16157 else
16158 result=$wxUSE_XPM
16159 fi
16160
16161 { echo "$as_me:$LINENO: result: $result" >&5
16162 echo "${ECHO_T}$result" >&6; }
16163
16164
16165 enablestring=
16166 defaultval=$wxUSE_ALL_FEATURES
16167 if test -z "$defaultval"; then
16168 if test x"$enablestring" = xdisable; then
16169 defaultval=yes
16170 else
16171 defaultval=no
16172 fi
16173 fi
16174
16175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16176 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16177 # Check whether --enable-ico_cur was given.
16178 if test "${enable_ico_cur+set}" = set; then
16179 enableval=$enable_ico_cur;
16180 if test "$enableval" = yes; then
16181 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16182 else
16183 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16184 fi
16185 cache=yes
16186
16187 else
16188
16189 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16190 if test "x$LINE" != x ; then
16191 eval "DEFAULT_$LINE"
16192 cache=yes
16193 else
16194 cache=no
16195 fi
16196
16197 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16198
16199 fi
16200
16201
16202 eval "$wx_cv_use_ico_cur"
16203 if test "x$cache" = xyes; then
16204 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16205 fi
16206
16207 if test x"$enablestring" = xdisable; then
16208 if test $wxUSE_ICO_CUR = yes; then
16209 result=no
16210 else
16211 result=yes
16212 fi
16213 else
16214 result=$wxUSE_ICO_CUR
16215 fi
16216
16217 { echo "$as_me:$LINENO: result: $result" >&5
16218 echo "${ECHO_T}$result" >&6; }
16219
16220
16221
16222
16223 enablestring=
16224 defaultval=$wxUSE_ALL_FEATURES
16225 if test -z "$defaultval"; then
16226 if test x"$enablestring" = xdisable; then
16227 defaultval=yes
16228 else
16229 defaultval=no
16230 fi
16231 fi
16232
16233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16234 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16235 # Check whether --enable-dccache was given.
16236 if test "${enable_dccache+set}" = set; then
16237 enableval=$enable_dccache;
16238 if test "$enableval" = yes; then
16239 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16240 else
16241 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16242 fi
16243 cache=yes
16244
16245 else
16246
16247 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16248 if test "x$LINE" != x ; then
16249 eval "DEFAULT_$LINE"
16250 cache=yes
16251 else
16252 cache=no
16253 fi
16254
16255 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16256
16257 fi
16258
16259
16260 eval "$wx_cv_use_dccache"
16261 if test "x$cache" = xyes; then
16262 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16263 fi
16264
16265 if test x"$enablestring" = xdisable; then
16266 if test $wxUSE_DC_CACHEING = yes; then
16267 result=no
16268 else
16269 result=yes
16270 fi
16271 else
16272 result=$wxUSE_DC_CACHEING
16273 fi
16274
16275 { echo "$as_me:$LINENO: result: $result" >&5
16276 echo "${ECHO_T}$result" >&6; }
16277
16278
16279 enablestring=
16280 defaultval=$wxUSE_ALL_FEATURES
16281 if test -z "$defaultval"; then
16282 if test x"$enablestring" = xdisable; then
16283 defaultval=yes
16284 else
16285 defaultval=no
16286 fi
16287 fi
16288
16289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16290 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16291 # Check whether --enable-ps-in-msw was given.
16292 if test "${enable_ps_in_msw+set}" = set; then
16293 enableval=$enable_ps_in_msw;
16294 if test "$enableval" = yes; then
16295 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16296 else
16297 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16298 fi
16299 cache=yes
16300
16301 else
16302
16303 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16304 if test "x$LINE" != x ; then
16305 eval "DEFAULT_$LINE"
16306 cache=yes
16307 else
16308 cache=no
16309 fi
16310
16311 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16312
16313 fi
16314
16315
16316 eval "$wx_cv_use_ps_in_msw"
16317 if test "x$cache" = xyes; then
16318 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16319 fi
16320
16321 if test x"$enablestring" = xdisable; then
16322 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16323 result=no
16324 else
16325 result=yes
16326 fi
16327 else
16328 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16329 fi
16330
16331 { echo "$as_me:$LINENO: result: $result" >&5
16332 echo "${ECHO_T}$result" >&6; }
16333
16334
16335 enablestring=
16336 defaultval=$wxUSE_ALL_FEATURES
16337 if test -z "$defaultval"; then
16338 if test x"$enablestring" = xdisable; then
16339 defaultval=yes
16340 else
16341 defaultval=no
16342 fi
16343 fi
16344
16345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16346 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16347 # Check whether --enable-ownerdrawn was given.
16348 if test "${enable_ownerdrawn+set}" = set; then
16349 enableval=$enable_ownerdrawn;
16350 if test "$enableval" = yes; then
16351 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16352 else
16353 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16354 fi
16355 cache=yes
16356
16357 else
16358
16359 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16360 if test "x$LINE" != x ; then
16361 eval "DEFAULT_$LINE"
16362 cache=yes
16363 else
16364 cache=no
16365 fi
16366
16367 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16368
16369 fi
16370
16371
16372 eval "$wx_cv_use_ownerdrawn"
16373 if test "x$cache" = xyes; then
16374 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16375 fi
16376
16377 if test x"$enablestring" = xdisable; then
16378 if test $wxUSE_OWNER_DRAWN = yes; then
16379 result=no
16380 else
16381 result=yes
16382 fi
16383 else
16384 result=$wxUSE_OWNER_DRAWN
16385 fi
16386
16387 { echo "$as_me:$LINENO: result: $result" >&5
16388 echo "${ECHO_T}$result" >&6; }
16389
16390
16391 enablestring=
16392 defaultval=$wxUSE_ALL_FEATURES
16393 if test -z "$defaultval"; then
16394 if test x"$enablestring" = xdisable; then
16395 defaultval=yes
16396 else
16397 defaultval=no
16398 fi
16399 fi
16400
16401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16402 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16403 # Check whether --enable-uxtheme was given.
16404 if test "${enable_uxtheme+set}" = set; then
16405 enableval=$enable_uxtheme;
16406 if test "$enableval" = yes; then
16407 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16408 else
16409 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16410 fi
16411 cache=yes
16412
16413 else
16414
16415 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16416 if test "x$LINE" != x ; then
16417 eval "DEFAULT_$LINE"
16418 cache=yes
16419 else
16420 cache=no
16421 fi
16422
16423 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16424
16425 fi
16426
16427
16428 eval "$wx_cv_use_uxtheme"
16429 if test "x$cache" = xyes; then
16430 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16431 fi
16432
16433 if test x"$enablestring" = xdisable; then
16434 if test $wxUSE_UXTHEME = yes; then
16435 result=no
16436 else
16437 result=yes
16438 fi
16439 else
16440 result=$wxUSE_UXTHEME
16441 fi
16442
16443 { echo "$as_me:$LINENO: result: $result" >&5
16444 echo "${ECHO_T}$result" >&6; }
16445
16446
16447 enablestring=
16448 defaultval=$wxUSE_ALL_FEATURES
16449 if test -z "$defaultval"; then
16450 if test x"$enablestring" = xdisable; then
16451 defaultval=yes
16452 else
16453 defaultval=no
16454 fi
16455 fi
16456
16457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16458 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16459 # Check whether --enable-wxdib was given.
16460 if test "${enable_wxdib+set}" = set; then
16461 enableval=$enable_wxdib;
16462 if test "$enableval" = yes; then
16463 wx_cv_use_wxdib='wxUSE_DIB=yes'
16464 else
16465 wx_cv_use_wxdib='wxUSE_DIB=no'
16466 fi
16467 cache=yes
16468
16469 else
16470
16471 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16472 if test "x$LINE" != x ; then
16473 eval "DEFAULT_$LINE"
16474 cache=yes
16475 else
16476 cache=no
16477 fi
16478
16479 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16480
16481 fi
16482
16483
16484 eval "$wx_cv_use_wxdib"
16485 if test "x$cache" = xyes; then
16486 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16487 fi
16488
16489 if test x"$enablestring" = xdisable; then
16490 if test $wxUSE_DIB = yes; then
16491 result=no
16492 else
16493 result=yes
16494 fi
16495 else
16496 result=$wxUSE_DIB
16497 fi
16498
16499 { echo "$as_me:$LINENO: result: $result" >&5
16500 echo "${ECHO_T}$result" >&6; }
16501
16502
16503 fi
16504
16505
16506 echo "saving argument cache $wx_arg_cache_file"
16507 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16508
16509
16510
16511 { echo "$as_me:$LINENO: checking for toolkit" >&5
16512 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16513
16514 # In Wine, we need to default to MSW, not GTK or MOTIF
16515 if test "$wxUSE_WINE" = "yes"; then
16516 DEFAULT_DEFAULT_wxUSE_GTK=0
16517 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16518 DEFAULT_DEFAULT_wxUSE_MSW=1
16519 wxUSE_SHARED=no
16520 CC=${CC:-winegcc}
16521 CXX=${CXX:-wineg++}
16522 fi
16523
16524
16525 if test "$wxUSE_GUI" = "yes"; then
16526
16527 if test "$USE_BEOS" = 1; then
16528 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16529 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16530 { (exit 1); exit 1; }; }
16531 fi
16532
16533 if test "$TOOLKIT_GIVEN" = 1; then
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16535 var=wxUSE_$toolkit
16536 eval "value=\$${var}"
16537 if test "x$value" = "xno"; then
16538 eval "$var=0"
16539 elif test "x$value" != "x"; then
16540 eval "$var=1"
16541 fi
16542
16543 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16544 eval "wx${toolkit}_VERSION=$value"
16545 fi
16546 done
16547 else
16548 for toolkit in `echo $ALL_TOOLKITS`; do
16549 if test "$has_toolkit_in_cache" != 1; then
16550 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16551 else
16552 var=DEFAULT_wxUSE_$toolkit
16553
16554 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16555 if test "x$version" != "x"; then
16556 eval "wx${toolkit}_VERSION=$version"
16557 fi
16558 fi
16559 eval "wxUSE_$toolkit=\$${var}"
16560 done
16561 fi
16562
16563 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16564 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16566
16567 case "${host}" in
16568 *-pc-os2_emx | *-pc-os2-emx )
16569 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16570 esac
16571
16572 case "$NUM_TOOLKITS" in
16573 1)
16574 ;;
16575 0)
16576 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16577 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16578 { (exit 1); exit 1; }; }
16579 ;;
16580 *)
16581 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16582 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16583 { (exit 1); exit 1; }; }
16584 esac
16585
16586 # to be removed when --disable-gtk2 isn't needed
16587 if test "x$wxUSE_GTK2" = "xyes"; then
16588 wxGTK_VERSION=2
16589 elif test "x$wxUSE_GTK2" = "xno"; then
16590 wxGTK_VERSION=1
16591 fi
16592
16593 for toolkit in `echo $ALL_TOOLKITS`; do
16594 var=wxUSE_$toolkit
16595 eval "value=\$${var}"
16596 if test "x$value" != x; then
16597 cache_var=CACHE_$toolkit
16598 eval "cache=\$${cache_var}"
16599 if test "$cache" = 1; then
16600 echo "$var=$value" >> ${wx_arg_cache_file}
16601 eval "version=\$wx${toolkit}_VERSION"
16602 if test "x$version" != "x"; then
16603 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16604 fi
16605 fi
16606 if test "$value" = 1; then
16607 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16608 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16609 echo "${ECHO_T}$toolkit_echo" >&6; }
16610 fi
16611 fi
16612 done
16613 else
16614 if test "x$host_alias" != "x"; then
16615 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16616 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16617 else
16618 { echo "$as_me:$LINENO: result: base only" >&5
16619 echo "${ECHO_T}base only" >&6; }
16620 fi
16621 fi
16622
16623
16624 cat >confcache <<\_ACEOF
16625 # This file is a shell script that caches the results of configure
16626 # tests run on this system so they can be shared between configure
16627 # scripts and configure runs, see configure's option --config-cache.
16628 # It is not useful on other systems. If it contains results you don't
16629 # want to keep, you may remove or edit it.
16630 #
16631 # config.status only pays attention to the cache file if you give it
16632 # the --recheck option to rerun configure.
16633 #
16634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16636 # following values.
16637
16638 _ACEOF
16639
16640 # The following way of writing the cache mishandles newlines in values,
16641 # but we know of no workaround that is simple, portable, and efficient.
16642 # So, we kill variables containing newlines.
16643 # Ultrix sh set writes to stderr and can't be redirected directly,
16644 # and sets the high bit in the cache file unless we assign to the vars.
16645 (
16646 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16647 eval ac_val=\$$ac_var
16648 case $ac_val in #(
16649 *${as_nl}*)
16650 case $ac_var in #(
16651 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16652 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16653 esac
16654 case $ac_var in #(
16655 _ | IFS | as_nl) ;; #(
16656 *) $as_unset $ac_var ;;
16657 esac ;;
16658 esac
16659 done
16660
16661 (set) 2>&1 |
16662 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16663 *${as_nl}ac_space=\ *)
16664 # `set' does not quote correctly, so add quotes (double-quote
16665 # substitution turns \\\\ into \\, and sed turns \\ into \).
16666 sed -n \
16667 "s/'/'\\\\''/g;
16668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16669 ;; #(
16670 *)
16671 # `set' quotes correctly as required by POSIX, so do not add quotes.
16672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16673 ;;
16674 esac |
16675 sort
16676 ) |
16677 sed '
16678 /^ac_cv_env_/b end
16679 t clear
16680 :clear
16681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16682 t end
16683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16684 :end' >>confcache
16685 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16686 if test -w "$cache_file"; then
16687 test "x$cache_file" != "x/dev/null" &&
16688 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16689 echo "$as_me: updating cache $cache_file" >&6;}
16690 cat confcache >$cache_file
16691 else
16692 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16693 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16694 fi
16695 fi
16696 rm -f confcache
16697
16698 CFLAGS=${CFLAGS:=}
16699
16700
16701
16702 ac_ext=c
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 if test -n "$ac_tool_prefix"; then
16708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16712 if test "${ac_cv_prog_CC+set}" = set; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 else
16715 if test -n "$CC"; then
16716 ac_cv_prog_CC="$CC" # Let the user override the test.
16717 else
16718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16719 for as_dir in $PATH
16720 do
16721 IFS=$as_save_IFS
16722 test -z "$as_dir" && as_dir=.
16723 for ac_exec_ext in '' $ac_executable_extensions; do
16724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16727 break 2
16728 fi
16729 done
16730 done
16731 IFS=$as_save_IFS
16732
16733 fi
16734 fi
16735 CC=$ac_cv_prog_CC
16736 if test -n "$CC"; then
16737 { echo "$as_me:$LINENO: result: $CC" >&5
16738 echo "${ECHO_T}$CC" >&6; }
16739 else
16740 { echo "$as_me:$LINENO: result: no" >&5
16741 echo "${ECHO_T}no" >&6; }
16742 fi
16743
16744
16745 fi
16746 if test -z "$ac_cv_prog_CC"; then
16747 ac_ct_CC=$CC
16748 # Extract the first word of "gcc", so it can be a program name with args.
16749 set dummy gcc; ac_word=$2
16750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755 if test -n "$ac_ct_CC"; then
16756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16757 else
16758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16759 for as_dir in $PATH
16760 do
16761 IFS=$as_save_IFS
16762 test -z "$as_dir" && as_dir=.
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_ac_ct_CC="gcc"
16766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16767 break 2
16768 fi
16769 done
16770 done
16771 IFS=$as_save_IFS
16772
16773 fi
16774 fi
16775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16776 if test -n "$ac_ct_CC"; then
16777 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16778 echo "${ECHO_T}$ac_ct_CC" >&6; }
16779 else
16780 { echo "$as_me:$LINENO: result: no" >&5
16781 echo "${ECHO_T}no" >&6; }
16782 fi
16783
16784 if test "x$ac_ct_CC" = x; then
16785 CC=""
16786 else
16787 case $cross_compiling:$ac_tool_warned in
16788 yes:)
16789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16790 whose name does not start with the host triplet. If you think this
16791 configuration is useful to you, please write to autoconf@gnu.org." >&5
16792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16793 whose name does not start with the host triplet. If you think this
16794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16795 ac_tool_warned=yes ;;
16796 esac
16797 CC=$ac_ct_CC
16798 fi
16799 else
16800 CC="$ac_cv_prog_CC"
16801 fi
16802
16803 if test -z "$CC"; then
16804 if test -n "$ac_tool_prefix"; then
16805 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16806 set dummy ${ac_tool_prefix}cc; ac_word=$2
16807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16809 if test "${ac_cv_prog_CC+set}" = set; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 else
16812 if test -n "$CC"; then
16813 ac_cv_prog_CC="$CC" # Let the user override the test.
16814 else
16815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16816 for as_dir in $PATH
16817 do
16818 IFS=$as_save_IFS
16819 test -z "$as_dir" && as_dir=.
16820 for ac_exec_ext in '' $ac_executable_extensions; do
16821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16822 ac_cv_prog_CC="${ac_tool_prefix}cc"
16823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16824 break 2
16825 fi
16826 done
16827 done
16828 IFS=$as_save_IFS
16829
16830 fi
16831 fi
16832 CC=$ac_cv_prog_CC
16833 if test -n "$CC"; then
16834 { echo "$as_me:$LINENO: result: $CC" >&5
16835 echo "${ECHO_T}$CC" >&6; }
16836 else
16837 { echo "$as_me:$LINENO: result: no" >&5
16838 echo "${ECHO_T}no" >&6; }
16839 fi
16840
16841
16842 fi
16843 fi
16844 if test -z "$CC"; then
16845 # Extract the first word of "cc", so it can be a program name with args.
16846 set dummy cc; ac_word=$2
16847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16849 if test "${ac_cv_prog_CC+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 if test -n "$CC"; then
16853 ac_cv_prog_CC="$CC" # Let the user override the test.
16854 else
16855 ac_prog_rejected=no
16856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16857 for as_dir in $PATH
16858 do
16859 IFS=$as_save_IFS
16860 test -z "$as_dir" && as_dir=.
16861 for ac_exec_ext in '' $ac_executable_extensions; do
16862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16863 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16864 ac_prog_rejected=yes
16865 continue
16866 fi
16867 ac_cv_prog_CC="cc"
16868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16869 break 2
16870 fi
16871 done
16872 done
16873 IFS=$as_save_IFS
16874
16875 if test $ac_prog_rejected = yes; then
16876 # We found a bogon in the path, so make sure we never use it.
16877 set dummy $ac_cv_prog_CC
16878 shift
16879 if test $# != 0; then
16880 # We chose a different compiler from the bogus one.
16881 # However, it has the same basename, so the bogon will be chosen
16882 # first if we set CC to just the basename; use the full file name.
16883 shift
16884 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16885 fi
16886 fi
16887 fi
16888 fi
16889 CC=$ac_cv_prog_CC
16890 if test -n "$CC"; then
16891 { echo "$as_me:$LINENO: result: $CC" >&5
16892 echo "${ECHO_T}$CC" >&6; }
16893 else
16894 { echo "$as_me:$LINENO: result: no" >&5
16895 echo "${ECHO_T}no" >&6; }
16896 fi
16897
16898
16899 fi
16900 if test -z "$CC"; then
16901 if test -n "$ac_tool_prefix"; then
16902 for ac_prog in cl.exe
16903 do
16904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16908 if test "${ac_cv_prog_CC+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 else
16911 if test -n "$CC"; then
16912 ac_cv_prog_CC="$CC" # Let the user override the test.
16913 else
16914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16915 for as_dir in $PATH
16916 do
16917 IFS=$as_save_IFS
16918 test -z "$as_dir" && as_dir=.
16919 for ac_exec_ext in '' $ac_executable_extensions; do
16920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16921 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16923 break 2
16924 fi
16925 done
16926 done
16927 IFS=$as_save_IFS
16928
16929 fi
16930 fi
16931 CC=$ac_cv_prog_CC
16932 if test -n "$CC"; then
16933 { echo "$as_me:$LINENO: result: $CC" >&5
16934 echo "${ECHO_T}$CC" >&6; }
16935 else
16936 { echo "$as_me:$LINENO: result: no" >&5
16937 echo "${ECHO_T}no" >&6; }
16938 fi
16939
16940
16941 test -n "$CC" && break
16942 done
16943 fi
16944 if test -z "$CC"; then
16945 ac_ct_CC=$CC
16946 for ac_prog in cl.exe
16947 do
16948 # Extract the first word of "$ac_prog", so it can be a program name with args.
16949 set dummy $ac_prog; ac_word=$2
16950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 else
16955 if test -n "$ac_ct_CC"; then
16956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16957 else
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16960 do
16961 IFS=$as_save_IFS
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16965 ac_cv_prog_ac_ct_CC="$ac_prog"
16966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16967 break 2
16968 fi
16969 done
16970 done
16971 IFS=$as_save_IFS
16972
16973 fi
16974 fi
16975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16976 if test -n "$ac_ct_CC"; then
16977 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16978 echo "${ECHO_T}$ac_ct_CC" >&6; }
16979 else
16980 { echo "$as_me:$LINENO: result: no" >&5
16981 echo "${ECHO_T}no" >&6; }
16982 fi
16983
16984
16985 test -n "$ac_ct_CC" && break
16986 done
16987
16988 if test "x$ac_ct_CC" = x; then
16989 CC=""
16990 else
16991 case $cross_compiling:$ac_tool_warned in
16992 yes:)
16993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16994 whose name does not start with the host triplet. If you think this
16995 configuration is useful to you, please write to autoconf@gnu.org." >&5
16996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16997 whose name does not start with the host triplet. If you think this
16998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16999 ac_tool_warned=yes ;;
17000 esac
17001 CC=$ac_ct_CC
17002 fi
17003 fi
17004
17005 fi
17006
17007
17008 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17009 See \`config.log' for more details." >&5
17010 echo "$as_me: error: no acceptable C compiler found in \$PATH
17011 See \`config.log' for more details." >&2;}
17012 { (exit 1); exit 1; }; }
17013
17014 # Provide some information about the compiler.
17015 echo "$as_me:$LINENO: checking for C compiler version" >&5
17016 ac_compiler=`set X $ac_compile; echo $2`
17017 { (ac_try="$ac_compiler --version >&5"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17021 esac
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_compiler --version >&5") 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }
17027 { (ac_try="$ac_compiler -v >&5"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17031 esac
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compiler -v >&5") 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }
17037 { (ac_try="$ac_compiler -V >&5"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17041 esac
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compiler -V >&5") 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }
17047
17048 cat >conftest.$ac_ext <<_ACEOF
17049 /* confdefs.h. */
17050 _ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054
17055 int
17056 main ()
17057 {
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 ac_clean_files_save=$ac_clean_files
17064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17065 # Try to create an executable without -o first, disregard a.out.
17066 # It will help us diagnose broken compilers, and finding out an intuition
17067 # of exeext.
17068 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17070 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17071 #
17072 # List of possible output files, starting from the most likely.
17073 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17074 # only as a last resort. b.out is created by i960 compilers.
17075 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17076 #
17077 # The IRIX 6 linker writes into existing files which may not be
17078 # executable, retaining their permissions. Remove them first so a
17079 # subsequent execution test works.
17080 ac_rmfiles=
17081 for ac_file in $ac_files
17082 do
17083 case $ac_file in
17084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17086 esac
17087 done
17088 rm -f $ac_rmfiles
17089
17090 if { (ac_try="$ac_link_default"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_link_default") 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; then
17100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17103 # so that the user can short-circuit this test for compilers unknown to
17104 # Autoconf.
17105 for ac_file in $ac_files ''
17106 do
17107 test -f "$ac_file" || continue
17108 case $ac_file in
17109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17110 ;;
17111 [ab].out )
17112 # We found the default executable, but exeext='' is most
17113 # certainly right.
17114 break;;
17115 *.* )
17116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17117 then :; else
17118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17119 fi
17120 # We set ac_cv_exeext here because the later test for it is not
17121 # safe: cross compilers may not add the suffix if given an `-o'
17122 # argument, so we may need to know it at that point already.
17123 # Even if this section looks crufty: it has the advantage of
17124 # actually working.
17125 break;;
17126 * )
17127 break;;
17128 esac
17129 done
17130 test "$ac_cv_exeext" = no && ac_cv_exeext=
17131
17132 else
17133 ac_file=''
17134 fi
17135
17136 { echo "$as_me:$LINENO: result: $ac_file" >&5
17137 echo "${ECHO_T}$ac_file" >&6; }
17138 if test -z "$ac_file"; then
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: C compiler cannot create executables
17145 See \`config.log' for more details." >&2;}
17146 { (exit 77); exit 77; }; }
17147 fi
17148
17149 ac_exeext=$ac_cv_exeext
17150
17151 # Check that the compiler produces executables we can run. If not, either
17152 # the compiler is broken, or we cross compile.
17153 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17154 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17155 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17156 # If not cross compiling, check that we can run a simple program.
17157 if test "$cross_compiling" != yes; then
17158 if { ac_try='./$ac_file'
17159 { (case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17162 esac
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_try") 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 cross_compiling=no
17169 else
17170 if test "$cross_compiling" = maybe; then
17171 cross_compiling=yes
17172 else
17173 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17174 If you meant to cross compile, use \`--host'.
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot run C compiled programs.
17177 If you meant to cross compile, use \`--host'.
17178 See \`config.log' for more details." >&2;}
17179 { (exit 1); exit 1; }; }
17180 fi
17181 fi
17182 fi
17183 { echo "$as_me:$LINENO: result: yes" >&5
17184 echo "${ECHO_T}yes" >&6; }
17185
17186 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17187 ac_clean_files=$ac_clean_files_save
17188 # Check that the compiler produces executables we can run. If not, either
17189 # the compiler is broken, or we cross compile.
17190 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17192 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17193 echo "${ECHO_T}$cross_compiling" >&6; }
17194
17195 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17197 if { (ac_try="$ac_link"
17198 case "(($ac_try" in
17199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17201 esac
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_link") 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17209 # work properly (i.e., refer to `conftest.exe'), while it won't with
17210 # `rm'.
17211 for ac_file in conftest.exe conftest conftest.*; do
17212 test -f "$ac_file" || continue
17213 case $ac_file in
17214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17216 break;;
17217 * ) break;;
17218 esac
17219 done
17220 else
17221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17222 See \`config.log' for more details." >&5
17223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17224 See \`config.log' for more details." >&2;}
17225 { (exit 1); exit 1; }; }
17226 fi
17227
17228 rm -f conftest$ac_cv_exeext
17229 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17230 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17231
17232 rm -f conftest.$ac_ext
17233 EXEEXT=$ac_cv_exeext
17234 ac_exeext=$EXEEXT
17235 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17237 if test "${ac_cv_objext+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246
17247 int
17248 main ()
17249 {
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.o conftest.obj
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>&5
17263 ac_status=$?
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; then
17266 for ac_file in conftest.o conftest.obj conftest.*; do
17267 test -f "$ac_file" || continue;
17268 case $ac_file in
17269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17271 break;;
17272 esac
17273 done
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17279 See \`config.log' for more details." >&5
17280 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17281 See \`config.log' for more details." >&2;}
17282 { (exit 1); exit 1; }; }
17283 fi
17284
17285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17286 fi
17287 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17288 echo "${ECHO_T}$ac_cv_objext" >&6; }
17289 OBJEXT=$ac_cv_objext
17290 ac_objext=$OBJEXT
17291 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17292 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17293 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296 cat >conftest.$ac_ext <<_ACEOF
17297 /* confdefs.h. */
17298 _ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302
17303 int
17304 main ()
17305 {
17306 #ifndef __GNUC__
17307 choke me
17308 #endif
17309
17310 ;
17311 return 0;
17312 }
17313 _ACEOF
17314 rm -f conftest.$ac_objext
17315 if { (ac_try="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17319 esac
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17322 ac_status=$?
17323 grep -v '^ *+' conftest.er1 >conftest.err
17324 rm -f conftest.er1
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_compiler_gnu=yes
17332 else
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17335
17336 ac_compiler_gnu=no
17337 fi
17338
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17341
17342 fi
17343 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17345 GCC=`test $ac_compiler_gnu = yes && echo yes`
17346 ac_test_CFLAGS=${CFLAGS+set}
17347 ac_save_CFLAGS=$CFLAGS
17348 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17349 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17350 if test "${ac_cv_prog_cc_g+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 else
17353 ac_save_c_werror_flag=$ac_c_werror_flag
17354 ac_c_werror_flag=yes
17355 ac_cv_prog_cc_g=no
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 CFLAGS=""
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401
17402 int
17403 main ()
17404 {
17405
17406 ;
17407 return 0;
17408 }
17409 _ACEOF
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17415 esac
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_c_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17427 :
17428 else
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17431
17432 ac_c_werror_flag=$ac_save_c_werror_flag
17433 CFLAGS="-g"
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440
17441 int
17442 main ()
17443 {
17444
17445 ;
17446 return 0;
17447 }
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (ac_try="$ac_compile"
17451 case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17454 esac
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_compile") 2>conftest.er1
17457 ac_status=$?
17458 grep -v '^ *+' conftest.er1 >conftest.err
17459 rm -f conftest.er1
17460 cat conftest.err >&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } && {
17463 test -z "$ac_c_werror_flag" ||
17464 test ! -s conftest.err
17465 } && test -s conftest.$ac_objext; then
17466 ac_cv_prog_cc_g=yes
17467 else
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17470
17471
17472 fi
17473
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 fi
17476
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478 fi
17479
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_c_werror_flag=$ac_save_c_werror_flag
17482 fi
17483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17485 if test "$ac_test_CFLAGS" = set; then
17486 CFLAGS=$ac_save_CFLAGS
17487 elif test $ac_cv_prog_cc_g = yes; then
17488 if test "$GCC" = yes; then
17489 CFLAGS="-g -O2"
17490 else
17491 CFLAGS="-g"
17492 fi
17493 else
17494 if test "$GCC" = yes; then
17495 CFLAGS="-O2"
17496 else
17497 CFLAGS=
17498 fi
17499 fi
17500 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17501 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17502 if test "${ac_cv_prog_cc_c89+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 ac_cv_prog_cc_c89=no
17506 ac_save_CC=$CC
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <stdarg.h>
17514 #include <stdio.h>
17515 #include <sys/types.h>
17516 #include <sys/stat.h>
17517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17518 struct buf { int x; };
17519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17520 static char *e (p, i)
17521 char **p;
17522 int i;
17523 {
17524 return p[i];
17525 }
17526 static char *f (char * (*g) (char **, int), char **p, ...)
17527 {
17528 char *s;
17529 va_list v;
17530 va_start (v,p);
17531 s = g (p, va_arg (v,int));
17532 va_end (v);
17533 return s;
17534 }
17535
17536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17537 function prototypes and stuff, but not '\xHH' hex character constants.
17538 These don't provoke an error unfortunately, instead are silently treated
17539 as 'x'. The following induces an error, until -std is added to get
17540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17541 array size at least. It's necessary to write '\x00'==0 to get something
17542 that's true only with -std. */
17543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17544
17545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17546 inside strings and character constants. */
17547 #define FOO(x) 'x'
17548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17549
17550 int test (int i, double x);
17551 struct s1 {int (*f) (int a);};
17552 struct s2 {int (*f) (double a);};
17553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17554 int argc;
17555 char **argv;
17556 int
17557 main ()
17558 {
17559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17566 do
17567 CC="$ac_save_CC $ac_arg"
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_c89=$ac_arg
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17589
17590
17591 fi
17592
17593 rm -f core conftest.err conftest.$ac_objext
17594 test "x$ac_cv_prog_cc_c89" != "xno" && break
17595 done
17596 rm -f conftest.$ac_ext
17597 CC=$ac_save_CC
17598
17599 fi
17600 # AC_CACHE_VAL
17601 case "x$ac_cv_prog_cc_c89" in
17602 x)
17603 { echo "$as_me:$LINENO: result: none needed" >&5
17604 echo "${ECHO_T}none needed" >&6; } ;;
17605 xno)
17606 { echo "$as_me:$LINENO: result: unsupported" >&5
17607 echo "${ECHO_T}unsupported" >&6; } ;;
17608 *)
17609 CC="$CC $ac_cv_prog_cc_c89"
17610 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17611 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17612 esac
17613
17614
17615 ac_ext=c
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17620
17621
17622
17623
17624 ac_ext=c
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17629
17630 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17631 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17632 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641
17642 int
17643 main ()
17644 {
17645
17646 #ifndef __INTEL_COMPILER
17647 choke me
17648 #endif
17649
17650 ;
17651 return 0;
17652 }
17653 _ACEOF
17654 rm -f conftest.$ac_objext
17655 if { (ac_try="$ac_compile"
17656 case "(($ac_try" in
17657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17658 *) ac_try_echo=$ac_try;;
17659 esac
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_compile") 2>conftest.er1
17662 ac_status=$?
17663 grep -v '^ *+' conftest.er1 >conftest.err
17664 rm -f conftest.er1
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } && {
17668 test -z "$ac_c_werror_flag" ||
17669 test ! -s conftest.err
17670 } && test -s conftest.$ac_objext; then
17671 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17675
17676 bakefile_cv_c_compiler___INTEL_COMPILER=no
17677
17678 fi
17679
17680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681
17682
17683 fi
17684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17685 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17686 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17687 :; INTELCC=yes
17688 else
17689 :;
17690 fi
17691 ac_ext=c
17692 ac_cpp='$CPP $CPPFLAGS'
17693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17696
17697
17698
17699
17700 if test "x$GCC" != "xyes"; then
17701 if test "xCC" = "xC"; then
17702 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17703 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_exto+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713
17714 int
17715 main ()
17716 {
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext conftest.$ac_ext.o
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17725 ac_status=$?
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; then
17728 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17729 case $ac_file in
17730 conftest.$ac_ext.o)
17731 bakefile_cv_c_exto="-ext o"
17732 ;;
17733 *)
17734 ;;
17735 esac
17736 done
17737 else
17738 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17739 See \`config.log' for more details." >&5
17740 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17741 See \`config.log' for more details." >&2;}
17742 { (exit 1); exit 1; }; }
17743
17744 fi
17745
17746 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17747
17748 fi
17749 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17750 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17751 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17752 if test "c" = "c"; then
17753 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17754 fi
17755 if test "c" = "cxx"; then
17756 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17757 fi
17758 fi
17759
17760 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17761 unset ac_cv_prog_cc_g
17762 ac_test_CFLAGS=${CFLAGS+set}
17763 ac_save_CFLAGS=$CFLAGS
17764 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17766 if test "${ac_cv_prog_cc_g+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 else
17769 ac_save_c_werror_flag=$ac_c_werror_flag
17770 ac_c_werror_flag=yes
17771 ac_cv_prog_cc_g=no
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 CFLAGS=""
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817
17818 int
17819 main ()
17820 {
17821
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_c_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17843 :
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 ac_c_werror_flag=$ac_save_c_werror_flag
17849 CFLAGS="-g"
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856
17857 int
17858 main ()
17859 {
17860
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17870 esac
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17873 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.$ac_objext; then
17882 ac_cv_prog_cc_g=yes
17883 else
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17886
17887
17888 fi
17889
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 fi
17892
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17894 fi
17895
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897 ac_c_werror_flag=$ac_save_c_werror_flag
17898 fi
17899 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17900 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17901 if test "$ac_test_CFLAGS" = set; then
17902 CFLAGS=$ac_save_CFLAGS
17903 elif test $ac_cv_prog_cc_g = yes; then
17904 if test "$GCC" = yes; then
17905 CFLAGS="-g -O2"
17906 else
17907 CFLAGS="-g"
17908 fi
17909 else
17910 if test "$GCC" = yes; then
17911 CFLAGS="-O2"
17912 else
17913 CFLAGS=
17914 fi
17915 fi
17916 fi
17917 fi
17918
17919 case `uname -s` in
17920 AIX*)
17921
17922
17923 ac_ext=c
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928
17929 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17930 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940
17941 int
17942 main ()
17943 {
17944
17945 #ifndef __xlC__
17946 choke me
17947 #endif
17948
17949 ;
17950 return 0;
17951 }
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_c_compiler___xlC__=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 bakefile_cv_c_compiler___xlC__=no
17976
17977 fi
17978
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981
17982 fi
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17984 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17985 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17986 :; XLCC=yes
17987 else
17988 :;
17989 fi
17990 ac_ext=c
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995
17996
17997
17998 ;;
17999
18000 Darwin)
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 Metrowerks C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___MWERKS__+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 __MWERKS__
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___MWERKS__=yes
18051 else
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18054
18055 bakefile_cv_c_compiler___MWERKS__=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___MWERKS__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18066 :; MWCC=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 ac_ext=c
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18085
18086 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097
18098 int
18099 main ()
18100 {
18101
18102 #ifndef __xlC__
18103 choke me
18104 #endif
18105
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18115 esac
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18118 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_c_compiler___xlC__=yes
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 bakefile_cv_c_compiler___xlC__=no
18133
18134 fi
18135
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137
18138
18139 fi
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18141 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18142 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18143 :; XLCC=yes
18144 else
18145 :;
18146 fi
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152
18153
18154
18155 ;;
18156
18157 IRIX*)
18158
18159
18160 ac_ext=c
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165
18166 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18167 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18168 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h. */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177
18178 int
18179 main ()
18180 {
18181
18182 #ifndef _SGI_COMPILER_VERSION
18183 choke me
18184 #endif
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18195 esac
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18213
18214 fi
18215
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217
18218
18219 fi
18220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18221 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18222 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18223 :; SGICC=yes
18224 else
18225 :;
18226 fi
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18232
18233
18234
18235 ;;
18236
18237 Linux*)
18238
18239
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18247 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18248 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18251 cat >conftest.$ac_ext <<_ACEOF
18252 /* confdefs.h. */
18253 _ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257
18258 int
18259 main ()
18260 {
18261
18262 #ifndef __SUNPRO_C
18263 choke me
18264 #endif
18265
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext
18271 if { (ac_try="$ac_compile"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18275 esac
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_compile") 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest.$ac_objext; then
18287 bakefile_cv_c_compiler___SUNPRO_C=yes
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18291
18292 bakefile_cv_c_compiler___SUNPRO_C=no
18293
18294 fi
18295
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297
18298
18299 fi
18300 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18301 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18302 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18303 :; SUNCC=yes
18304 else
18305 :;
18306 fi
18307 ac_ext=c
18308 ac_cpp='$CPP $CPPFLAGS'
18309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18312
18313
18314
18315 ;;
18316
18317 HP-UX*)
18318
18319
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18327 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18328 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337
18338 int
18339 main ()
18340 {
18341
18342 #ifndef __HP_cc
18343 choke me
18344 #endif
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 bakefile_cv_c_compiler___HP_cc=yes
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18371
18372 bakefile_cv_c_compiler___HP_cc=no
18373
18374 fi
18375
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
18378
18379 fi
18380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18381 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18382 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18383 :; HPCC=yes
18384 else
18385 :;
18386 fi
18387 ac_ext=c
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18392
18393
18394
18395 ;;
18396
18397 OSF1)
18398
18399
18400 ac_ext=c
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405
18406 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18407 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18408 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 else
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417
18418 int
18419 main ()
18420 {
18421
18422 #ifndef __DECC
18423 choke me
18424 #endif
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 bakefile_cv_c_compiler___DECC=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 bakefile_cv_c_compiler___DECC=no
18453
18454 fi
18455
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457
18458
18459 fi
18460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18461 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18462 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18463 :; COMPAQCC=yes
18464 else
18465 :;
18466 fi
18467 ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472
18473
18474
18475 ;;
18476
18477 SunOS)
18478
18479
18480 ac_ext=c
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485
18486 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18487 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18488 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 cat >conftest.$ac_ext <<_ACEOF
18492 /* confdefs.h. */
18493 _ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497
18498 int
18499 main ()
18500 {
18501
18502 #ifndef __SUNPRO_C
18503 choke me
18504 #endif
18505
18506 ;
18507 return 0;
18508 }
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 bakefile_cv_c_compiler___SUNPRO_C=yes
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 bakefile_cv_c_compiler___SUNPRO_C=no
18533
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537
18538
18539 fi
18540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18541 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18542 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18543 :; SUNCC=yes
18544 else
18545 :;
18546 fi
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552
18553
18554
18555 ;;
18556 esac
18557 fi
18558
18559
18560
18561 ac_ext=c
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18567 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18568 # On Suns, sometimes $CPP names a directory.
18569 if test -n "$CPP" && test -d "$CPP"; then
18570 CPP=
18571 fi
18572 if test -z "$CPP"; then
18573 if test "${ac_cv_prog_CPP+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576 # Double quotes because CPP needs to be expanded
18577 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18578 do
18579 ac_preproc_ok=false
18580 for ac_c_preproc_warn_flag in '' yes
18581 do
18582 # Use a header file that comes with gcc, so configuring glibc
18583 # with a fresh cross-compiler works.
18584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18585 # <limits.h> exists even on freestanding compilers.
18586 # On the NeXT, cc -E runs the code through the compiler's parser,
18587 # not just through cpp. "Syntax error" is here to catch this case.
18588 cat >conftest.$ac_ext <<_ACEOF
18589 /* confdefs.h. */
18590 _ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 #ifdef __STDC__
18595 # include <limits.h>
18596 #else
18597 # include <assert.h>
18598 #endif
18599 Syntax error
18600 _ACEOF
18601 if { (ac_try="$ac_cpp conftest.$ac_ext"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18605 esac
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } >/dev/null && {
18614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 }; then
18617 :
18618 else
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18621
18622 # Broken: fails on valid input.
18623 continue
18624 fi
18625
18626 rm -f conftest.err conftest.$ac_ext
18627
18628 # OK, works on sane cases. Now check whether nonexistent headers
18629 # can be detected and how.
18630 cat >conftest.$ac_ext <<_ACEOF
18631 /* confdefs.h. */
18632 _ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 #include <ac_nonexistent.h>
18637 _ACEOF
18638 if { (ac_try="$ac_cpp conftest.$ac_ext"
18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18641 *) ac_try_echo=$ac_try;;
18642 esac
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18645 ac_status=$?
18646 grep -v '^ *+' conftest.er1 >conftest.err
18647 rm -f conftest.er1
18648 cat conftest.err >&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } >/dev/null && {
18651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18653 }; then
18654 # Broken: success on invalid input.
18655 continue
18656 else
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.$ac_ext >&5
18659
18660 # Passes both tests.
18661 ac_preproc_ok=:
18662 break
18663 fi
18664
18665 rm -f conftest.err conftest.$ac_ext
18666
18667 done
18668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18669 rm -f conftest.err conftest.$ac_ext
18670 if $ac_preproc_ok; then
18671 break
18672 fi
18673
18674 done
18675 ac_cv_prog_CPP=$CPP
18676
18677 fi
18678 CPP=$ac_cv_prog_CPP
18679 else
18680 ac_cv_prog_CPP=$CPP
18681 fi
18682 { echo "$as_me:$LINENO: result: $CPP" >&5
18683 echo "${ECHO_T}$CPP" >&6; }
18684 ac_preproc_ok=false
18685 for ac_c_preproc_warn_flag in '' yes
18686 do
18687 # Use a header file that comes with gcc, so configuring glibc
18688 # with a fresh cross-compiler works.
18689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18690 # <limits.h> exists even on freestanding compilers.
18691 # On the NeXT, cc -E runs the code through the compiler's parser,
18692 # not just through cpp. "Syntax error" is here to catch this case.
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #ifdef __STDC__
18700 # include <limits.h>
18701 #else
18702 # include <assert.h>
18703 #endif
18704 Syntax error
18705 _ACEOF
18706 if { (ac_try="$ac_cpp conftest.$ac_ext"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18713 ac_status=$?
18714 grep -v '^ *+' conftest.er1 >conftest.err
18715 rm -f conftest.er1
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } >/dev/null && {
18719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 }; then
18722 :
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 # Broken: fails on valid input.
18728 continue
18729 fi
18730
18731 rm -f conftest.err conftest.$ac_ext
18732
18733 # OK, works on sane cases. Now check whether nonexistent headers
18734 # can be detected and how.
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <ac_nonexistent.h>
18742 _ACEOF
18743 if { (ac_try="$ac_cpp conftest.$ac_ext"
18744 case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747 esac
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18750 ac_status=$?
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev/null && {
18756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18758 }; then
18759 # Broken: success on invalid input.
18760 continue
18761 else
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18764
18765 # Passes both tests.
18766 ac_preproc_ok=:
18767 break
18768 fi
18769
18770 rm -f conftest.err conftest.$ac_ext
18771
18772 done
18773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18774 rm -f conftest.err conftest.$ac_ext
18775 if $ac_preproc_ok; then
18776 :
18777 else
18778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18779 See \`config.log' for more details." >&5
18780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18781 See \`config.log' for more details." >&2;}
18782 { (exit 1); exit 1; }; }
18783 fi
18784
18785 ac_ext=c
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790
18791
18792 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18793 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18794 if test "${ac_cv_path_GREP+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 else
18797 # Extract the first word of "grep ggrep" to use in msg output
18798 if test -z "$GREP"; then
18799 set dummy grep ggrep; ac_prog_name=$2
18800 if test "${ac_cv_path_GREP+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 ac_path_GREP_found=false
18804 # Loop through the user's path and test for each of PROGNAME-LIST
18805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18807 do
18808 IFS=$as_save_IFS
18809 test -z "$as_dir" && as_dir=.
18810 for ac_prog in grep ggrep; do
18811 for ac_exec_ext in '' $ac_executable_extensions; do
18812 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18813 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18814 # Check for GNU ac_path_GREP and select it if it is found.
18815 # Check for GNU $ac_path_GREP
18816 case `"$ac_path_GREP" --version 2>&1` in
18817 *GNU*)
18818 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18819 *)
18820 ac_count=0
18821 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18822 while :
18823 do
18824 cat "conftest.in" "conftest.in" >"conftest.tmp"
18825 mv "conftest.tmp" "conftest.in"
18826 cp "conftest.in" "conftest.nl"
18827 echo 'GREP' >> "conftest.nl"
18828 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18830 ac_count=`expr $ac_count + 1`
18831 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18832 # Best one so far, save it but keep looking for a better one
18833 ac_cv_path_GREP="$ac_path_GREP"
18834 ac_path_GREP_max=$ac_count
18835 fi
18836 # 10*(2^10) chars as input seems more than enough
18837 test $ac_count -gt 10 && break
18838 done
18839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18840 esac
18841
18842
18843 $ac_path_GREP_found && break 3
18844 done
18845 done
18846
18847 done
18848 IFS=$as_save_IFS
18849
18850
18851 fi
18852
18853 GREP="$ac_cv_path_GREP"
18854 if test -z "$GREP"; then
18855 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18856 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18857 { (exit 1); exit 1; }; }
18858 fi
18859
18860 else
18861 ac_cv_path_GREP=$GREP
18862 fi
18863
18864
18865 fi
18866 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18867 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18868 GREP="$ac_cv_path_GREP"
18869
18870
18871 { echo "$as_me:$LINENO: checking for egrep" >&5
18872 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18873 if test "${ac_cv_path_EGREP+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18877 then ac_cv_path_EGREP="$GREP -E"
18878 else
18879 # Extract the first word of "egrep" to use in msg output
18880 if test -z "$EGREP"; then
18881 set dummy egrep; ac_prog_name=$2
18882 if test "${ac_cv_path_EGREP+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 else
18885 ac_path_EGREP_found=false
18886 # Loop through the user's path and test for each of PROGNAME-LIST
18887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18889 do
18890 IFS=$as_save_IFS
18891 test -z "$as_dir" && as_dir=.
18892 for ac_prog in egrep; do
18893 for ac_exec_ext in '' $ac_executable_extensions; do
18894 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18895 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18896 # Check for GNU ac_path_EGREP and select it if it is found.
18897 # Check for GNU $ac_path_EGREP
18898 case `"$ac_path_EGREP" --version 2>&1` in
18899 *GNU*)
18900 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18901 *)
18902 ac_count=0
18903 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18904 while :
18905 do
18906 cat "conftest.in" "conftest.in" >"conftest.tmp"
18907 mv "conftest.tmp" "conftest.in"
18908 cp "conftest.in" "conftest.nl"
18909 echo 'EGREP' >> "conftest.nl"
18910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18912 ac_count=`expr $ac_count + 1`
18913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18914 # Best one so far, save it but keep looking for a better one
18915 ac_cv_path_EGREP="$ac_path_EGREP"
18916 ac_path_EGREP_max=$ac_count
18917 fi
18918 # 10*(2^10) chars as input seems more than enough
18919 test $ac_count -gt 10 && break
18920 done
18921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18922 esac
18923
18924
18925 $ac_path_EGREP_found && break 3
18926 done
18927 done
18928
18929 done
18930 IFS=$as_save_IFS
18931
18932
18933 fi
18934
18935 EGREP="$ac_cv_path_EGREP"
18936 if test -z "$EGREP"; then
18937 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18938 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18939 { (exit 1); exit 1; }; }
18940 fi
18941
18942 else
18943 ac_cv_path_EGREP=$EGREP
18944 fi
18945
18946
18947 fi
18948 fi
18949 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18950 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18951 EGREP="$ac_cv_path_EGREP"
18952
18953
18954 if test $ac_cv_c_compiler_gnu = yes; then
18955 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18956 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18957 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 else
18960 ac_pattern="Autoconf.*'x'"
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 #include <sgtty.h>
18968 Autoconf TIOCGETP
18969 _ACEOF
18970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18971 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18972 ac_cv_prog_gcc_traditional=yes
18973 else
18974 ac_cv_prog_gcc_traditional=no
18975 fi
18976 rm -f conftest*
18977
18978
18979 if test $ac_cv_prog_gcc_traditional = no; then
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <termio.h>
18987 Autoconf TCGETA
18988 _ACEOF
18989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18990 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18991 ac_cv_prog_gcc_traditional=yes
18992 fi
18993 rm -f conftest*
18994
18995 fi
18996 fi
18997 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18998 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18999 if test $ac_cv_prog_gcc_traditional = yes; then
19000 CC="$CC -traditional"
19001 fi
19002 fi
19003
19004
19005 CXXFLAGS=${CXXFLAGS:=}
19006
19007
19008
19009 ac_ext=cpp
19010 ac_cpp='$CXXCPP $CPPFLAGS'
19011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19014 if test -z "$CXX"; then
19015 if test -n "$CCC"; then
19016 CXX=$CCC
19017 else
19018 if test -n "$ac_tool_prefix"; then
19019 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19020 do
19021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19025 if test "${ac_cv_prog_CXX+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19028 if test -n "$CXX"; then
19029 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19030 else
19031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19032 for as_dir in $PATH
19033 do
19034 IFS=$as_save_IFS
19035 test -z "$as_dir" && as_dir=.
19036 for ac_exec_ext in '' $ac_executable_extensions; do
19037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19038 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19040 break 2
19041 fi
19042 done
19043 done
19044 IFS=$as_save_IFS
19045
19046 fi
19047 fi
19048 CXX=$ac_cv_prog_CXX
19049 if test -n "$CXX"; then
19050 { echo "$as_me:$LINENO: result: $CXX" >&5
19051 echo "${ECHO_T}$CXX" >&6; }
19052 else
19053 { echo "$as_me:$LINENO: result: no" >&5
19054 echo "${ECHO_T}no" >&6; }
19055 fi
19056
19057
19058 test -n "$CXX" && break
19059 done
19060 fi
19061 if test -z "$CXX"; then
19062 ac_ct_CXX=$CXX
19063 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19064 do
19065 # Extract the first word of "$ac_prog", so it can be a program name with args.
19066 set dummy $ac_prog; ac_word=$2
19067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 else
19072 if test -n "$ac_ct_CXX"; then
19073 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19074 else
19075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19076 for as_dir in $PATH
19077 do
19078 IFS=$as_save_IFS
19079 test -z "$as_dir" && as_dir=.
19080 for ac_exec_ext in '' $ac_executable_extensions; do
19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19082 ac_cv_prog_ac_ct_CXX="$ac_prog"
19083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19084 break 2
19085 fi
19086 done
19087 done
19088 IFS=$as_save_IFS
19089
19090 fi
19091 fi
19092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19093 if test -n "$ac_ct_CXX"; then
19094 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19095 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19096 else
19097 { echo "$as_me:$LINENO: result: no" >&5
19098 echo "${ECHO_T}no" >&6; }
19099 fi
19100
19101
19102 test -n "$ac_ct_CXX" && break
19103 done
19104
19105 if test "x$ac_ct_CXX" = x; then
19106 CXX="g++"
19107 else
19108 case $cross_compiling:$ac_tool_warned in
19109 yes:)
19110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19111 whose name does not start with the host triplet. If you think this
19112 configuration is useful to you, please write to autoconf@gnu.org." >&5
19113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19114 whose name does not start with the host triplet. If you think this
19115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19116 ac_tool_warned=yes ;;
19117 esac
19118 CXX=$ac_ct_CXX
19119 fi
19120 fi
19121
19122 fi
19123 fi
19124 # Provide some information about the compiler.
19125 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19126 ac_compiler=`set X $ac_compile; echo $2`
19127 { (ac_try="$ac_compiler --version >&5"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19131 esac
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compiler --version >&5") 2>&5
19134 ac_status=$?
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }
19137 { (ac_try="$ac_compiler -v >&5"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compiler -v >&5") 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }
19147 { (ac_try="$ac_compiler -V >&5"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compiler -V >&5") 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }
19157
19158 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19159 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19160 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 else
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169
19170 int
19171 main ()
19172 {
19173 #ifndef __GNUC__
19174 choke me
19175 #endif
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19186 esac
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_cxx_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_compiler_gnu=yes
19199 else
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 ac_compiler_gnu=no
19204 fi
19205
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19207 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19208
19209 fi
19210 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19211 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19212 GXX=`test $ac_compiler_gnu = yes && echo yes`
19213 ac_test_CXXFLAGS=${CXXFLAGS+set}
19214 ac_save_CXXFLAGS=$CXXFLAGS
19215 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19216 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19217 if test "${ac_cv_prog_cxx_g+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19221 ac_cxx_werror_flag=yes
19222 ac_cv_prog_cxx_g=no
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 CXXFLAGS=""
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268
19269 int
19270 main ()
19271 {
19272
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 rm -f conftest.$ac_objext
19278 if { (ac_try="$ac_compile"
19279 case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19282 esac
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_compile") 2>conftest.er1
19285 ac_status=$?
19286 grep -v '^ *+' conftest.er1 >conftest.err
19287 rm -f conftest.er1
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } && {
19291 test -z "$ac_cxx_werror_flag" ||
19292 test ! -s conftest.err
19293 } && test -s conftest.$ac_objext; then
19294 :
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19300 CXXFLAGS="-g"
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307
19308 int
19309 main ()
19310 {
19311
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_cxx_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 ac_cv_prog_cxx_g=yes
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338
19339 fi
19340
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 fi
19343
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 fi
19346
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19349 fi
19350 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19351 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19352 if test "$ac_test_CXXFLAGS" = set; then
19353 CXXFLAGS=$ac_save_CXXFLAGS
19354 elif test $ac_cv_prog_cxx_g = yes; then
19355 if test "$GXX" = yes; then
19356 CXXFLAGS="-g -O2"
19357 else
19358 CXXFLAGS="-g"
19359 fi
19360 else
19361 if test "$GXX" = yes; then
19362 CXXFLAGS="-O2"
19363 else
19364 CXXFLAGS=
19365 fi
19366 fi
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19372
19373
19374
19375
19376 ac_ext=cpp
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19381
19382 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19383 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19384 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 else
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393
19394 int
19395 main ()
19396 {
19397
19398 #ifndef __INTEL_COMPILER
19399 choke me
19400 #endif
19401
19402 ;
19403 return 0;
19404 }
19405 _ACEOF
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19411 esac
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19414 ac_status=$?
19415 grep -v '^ *+' conftest.er1 >conftest.err
19416 rm -f conftest.er1
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_cxx_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19427
19428 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19429
19430 fi
19431
19432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433
19434
19435 fi
19436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19438 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19439 :; INTELCXX=yes
19440 else
19441 :;
19442 fi
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448
19449
19450
19451
19452 if test "x$GCXX" != "xyes"; then
19453 if test "xCXX" = "xC"; then
19454 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19455 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_c_exto+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459 cat >conftest.$ac_ext <<_ACEOF
19460 /* confdefs.h. */
19461 _ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465
19466 int
19467 main ()
19468 {
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext conftest.$ac_ext.o
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; then
19480 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19481 case $ac_file in
19482 conftest.$ac_ext.o)
19483 bakefile_cv_c_exto="-ext o"
19484 ;;
19485 *)
19486 ;;
19487 esac
19488 done
19489 else
19490 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19491 See \`config.log' for more details." >&5
19492 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19493 See \`config.log' for more details." >&2;}
19494 { (exit 1); exit 1; }; }
19495
19496 fi
19497
19498 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19499
19500 fi
19501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19502 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19503 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19504 if test "c" = "c"; then
19505 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19506 fi
19507 if test "c" = "cxx"; then
19508 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19509 fi
19510 fi
19511
19512 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19513 unset ac_cv_prog_cc_g
19514 ac_test_CFLAGS=${CFLAGS+set}
19515 ac_save_CFLAGS=$CFLAGS
19516 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19517 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19518 if test "${ac_cv_prog_cc_g+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 else
19521 ac_save_c_werror_flag=$ac_c_werror_flag
19522 ac_c_werror_flag=yes
19523 ac_cv_prog_cc_g=no
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 CFLAGS=""
19563 cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h. */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569
19570 int
19571 main ()
19572 {
19573
19574 ;
19575 return 0;
19576 }
19577 _ACEOF
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19583 esac
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19586 ac_status=$?
19587 grep -v '^ *+' conftest.er1 >conftest.err
19588 rm -f conftest.er1
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.$ac_objext; then
19595 :
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19599
19600 ac_c_werror_flag=$ac_save_c_werror_flag
19601 CFLAGS="-g"
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608
19609 int
19610 main ()
19611 {
19612
19613 ;
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19622 esac
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_cv_prog_cc_g=yes
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639
19640 fi
19641
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 fi
19644
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 fi
19647
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ac_c_werror_flag=$ac_save_c_werror_flag
19650 fi
19651 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19653 if test "$ac_test_CFLAGS" = set; then
19654 CFLAGS=$ac_save_CFLAGS
19655 elif test $ac_cv_prog_cc_g = yes; then
19656 if test "$GCC" = yes; then
19657 CFLAGS="-g -O2"
19658 else
19659 CFLAGS="-g"
19660 fi
19661 else
19662 if test "$GCC" = yes; then
19663 CFLAGS="-O2"
19664 else
19665 CFLAGS=
19666 fi
19667 fi
19668 fi
19669 fi
19670
19671 case `uname -s` in
19672 AIX*)
19673
19674
19675 ac_ext=cpp
19676 ac_cpp='$CXXCPP $CPPFLAGS'
19677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19680
19681 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19682 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19683 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 else
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692
19693 int
19694 main ()
19695 {
19696
19697 #ifndef __xlC__
19698 choke me
19699 #endif
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_cxx_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 bakefile_cv_cxx_compiler___xlC__=yes
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19726
19727 bakefile_cv_cxx_compiler___xlC__=no
19728
19729 fi
19730
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732
19733
19734 fi
19735 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19736 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19737 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19738 :; XLCXX=yes
19739 else
19740 :;
19741 fi
19742 ac_ext=c
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747
19748
19749
19750 ;;
19751
19752 Darwin)
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 Metrowerks C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___MWERKS__+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 __MWERKS__
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___MWERKS__=yes
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 bakefile_cv_cxx_compiler___MWERKS__=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___MWERKS__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19818 :; MWCXX=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 ac_ext=cpp
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19837
19838 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19839 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19840 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 else
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849
19850 int
19851 main ()
19852 {
19853
19854 #ifndef __xlC__
19855 choke me
19856 #endif
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19867 esac
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_cxx_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 bakefile_cv_cxx_compiler___xlC__=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 bakefile_cv_cxx_compiler___xlC__=no
19885
19886 fi
19887
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889
19890
19891 fi
19892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19893 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19894 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19895 :; XLCXX=yes
19896 else
19897 :;
19898 fi
19899 ac_ext=c
19900 ac_cpp='$CPP $CPPFLAGS'
19901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19904
19905
19906
19907 ;;
19908
19909 IRIX*)
19910
19911
19912 ac_ext=cpp
19913 ac_cpp='$CXXCPP $CPPFLAGS'
19914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19917
19918 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19919 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19920 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929
19930 int
19931 main ()
19932 {
19933
19934 #ifndef _SGI_COMPILER_VERSION
19935 choke me
19936 #endif
19937
19938 ;
19939 return 0;
19940 }
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_cxx_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19965
19966 fi
19967
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969
19970
19971 fi
19972 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19973 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19974 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19975 :; SGICXX=yes
19976 else
19977 :;
19978 fi
19979 ac_ext=c
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19984
19985
19986
19987 ;;
19988
19989 Linux*)
19990
19991
19992 ac_ext=cpp
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997
19998 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19999 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20000 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009
20010 int
20011 main ()
20012 {
20013
20014 #ifndef __SUNPRO_CC
20015 choke me
20016 #endif
20017
20018 ;
20019 return 0;
20020 }
20021 _ACEOF
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20027 esac
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_cxx_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20040 else
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20043
20044 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20045
20046 fi
20047
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049
20050
20051 fi
20052 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20053 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20054 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20055 :; SUNCXX=yes
20056 else
20057 :;
20058 fi
20059 ac_ext=c
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20064
20065
20066
20067 ;;
20068
20069 HP-UX*)
20070
20071
20072 ac_ext=cpp
20073 ac_cpp='$CXXCPP $CPPFLAGS'
20074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077
20078 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20079 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20080 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089
20090 int
20091 main ()
20092 {
20093
20094 #ifndef __HP_aCC
20095 choke me
20096 #endif
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_cxx_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 bakefile_cv_cxx_compiler___HP_aCC=yes
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 bakefile_cv_cxx_compiler___HP_aCC=no
20125
20126 fi
20127
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129
20130
20131 fi
20132 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20133 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20134 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20135 :; HPCXX=yes
20136 else
20137 :;
20138 fi
20139 ac_ext=c
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20144
20145
20146
20147 ;;
20148
20149 OSF1)
20150
20151
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20159 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20160 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169
20170 int
20171 main ()
20172 {
20173
20174 #ifndef __DECCXX
20175 choke me
20176 #endif
20177
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_cxx_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 bakefile_cv_cxx_compiler___DECCXX=yes
20200 else
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20203
20204 bakefile_cv_cxx_compiler___DECCXX=no
20205
20206 fi
20207
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209
20210
20211 fi
20212 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20213 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20214 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20215 :; COMPAQCXX=yes
20216 else
20217 :;
20218 fi
20219 ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224
20225
20226
20227 ;;
20228
20229 SunOS)
20230
20231
20232 ac_ext=cpp
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20237
20238 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20239 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20240 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249
20250 int
20251 main ()
20252 {
20253
20254 #ifndef __SUNPRO_CC
20255 choke me
20256 #endif
20257
20258 ;
20259 return 0;
20260 }
20261 _ACEOF
20262 rm -f conftest.$ac_objext
20263 if { (ac_try="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20267 esac
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20270 ac_status=$?
20271 grep -v '^ *+' conftest.er1 >conftest.err
20272 rm -f conftest.er1
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_cxx_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20285
20286 fi
20287
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289
20290
20291 fi
20292 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20293 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20294 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20295 :; SUNCXX=yes
20296 else
20297 :;
20298 fi
20299 ac_ext=c
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20304
20305
20306
20307 ;;
20308 esac
20309 fi
20310
20311
20312
20313 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20314 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20315 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20316 { (exit 1); exit 1; }; }
20317 fi
20318
20319 if test "x$SUNCXX" != xyes; then
20320 if test -n "$ac_tool_prefix"; then
20321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20322 set dummy ${ac_tool_prefix}ar; ac_word=$2
20323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20325 if test "${ac_cv_prog_AR+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 else
20328 if test -n "$AR"; then
20329 ac_cv_prog_AR="$AR" # Let the user override the test.
20330 else
20331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20332 for as_dir in $PATH
20333 do
20334 IFS=$as_save_IFS
20335 test -z "$as_dir" && as_dir=.
20336 for ac_exec_ext in '' $ac_executable_extensions; do
20337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20338 ac_cv_prog_AR="${ac_tool_prefix}ar"
20339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20340 break 2
20341 fi
20342 done
20343 done
20344 IFS=$as_save_IFS
20345
20346 fi
20347 fi
20348 AR=$ac_cv_prog_AR
20349 if test -n "$AR"; then
20350 { echo "$as_me:$LINENO: result: $AR" >&5
20351 echo "${ECHO_T}$AR" >&6; }
20352 else
20353 { echo "$as_me:$LINENO: result: no" >&5
20354 echo "${ECHO_T}no" >&6; }
20355 fi
20356
20357
20358 fi
20359 if test -z "$ac_cv_prog_AR"; then
20360 ac_ct_AR=$AR
20361 # Extract the first word of "ar", so it can be a program name with args.
20362 set dummy ar; ac_word=$2
20363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 else
20368 if test -n "$ac_ct_AR"; then
20369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20370 else
20371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20372 for as_dir in $PATH
20373 do
20374 IFS=$as_save_IFS
20375 test -z "$as_dir" && as_dir=.
20376 for ac_exec_ext in '' $ac_executable_extensions; do
20377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20378 ac_cv_prog_ac_ct_AR="ar"
20379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20380 break 2
20381 fi
20382 done
20383 done
20384 IFS=$as_save_IFS
20385
20386 fi
20387 fi
20388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20389 if test -n "$ac_ct_AR"; then
20390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20391 echo "${ECHO_T}$ac_ct_AR" >&6; }
20392 else
20393 { echo "$as_me:$LINENO: result: no" >&5
20394 echo "${ECHO_T}no" >&6; }
20395 fi
20396
20397 if test "x$ac_ct_AR" = x; then
20398 AR=""
20399 else
20400 case $cross_compiling:$ac_tool_warned in
20401 yes:)
20402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20403 whose name does not start with the host triplet. If you think this
20404 configuration is useful to you, please write to autoconf@gnu.org." >&5
20405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20406 whose name does not start with the host triplet. If you think this
20407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20408 ac_tool_warned=yes ;;
20409 esac
20410 AR=$ac_ct_AR
20411 fi
20412 else
20413 AR="$ac_cv_prog_AR"
20414 fi
20415
20416 if test "x$AR" = "x" ; then
20417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20419 { (exit 1); exit 1; }; }
20420 fi
20421 fi
20422
20423 retest_macosx_linking=no
20424
20425 #if test "$wxUSE_MAC" = 1; then
20426 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20428 # Implicitly turn on the new --with-macosx-sdk using the default
20429 # SDK which provides the behavior this option has always had.
20430 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20431 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20432 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20433 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20434 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20435 wxUSE_MACOSX_SDK=yes
20436 fi
20437 else
20438 # Complain to user if he specified an argument to --enable-universal_binary
20439 # and also 1) specified --with-macosx-sdk using the default (yes) or
20440 # 2) specified --with-macosx-sdk using a path or 3) specified
20441 # --without-macosx-sdk (no).
20442 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20443 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20444 See \`config.log' for more details." >&5
20445 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20446 See \`config.log' for more details." >&2;}
20447 { (exit 1); exit 1; }; }
20448 else
20449 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20450 # special-case the empty string because the below test simply
20451 # converts "no" to the empty string anyway.
20452 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20453 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20454 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20455 fi
20456 fi
20457 OSX_UNIV_OPTS="-arch ppc -arch i386"
20458 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20459 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20460 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20461 retest_macosx_linking=yes
20462
20463 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20464 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20465 bk_use_pch=no
20466 fi
20467 #fi
20468
20469 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20470 wxUSE_MACOSX_SDK=
20471 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20472 # TODO: Search for most recent SDK and use it.
20473 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20474 fi
20475
20476
20477 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20478 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20479 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20480 if ! test -d "$wxUSE_MACOSX_SDK"; then
20481 { { echo "$as_me:$LINENO: error: not found
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: not found
20484 See \`config.log' for more details." >&2;}
20485 { (exit 1); exit 1; }; }
20486 else
20487 { echo "$as_me:$LINENO: result: exists" >&5
20488 echo "${ECHO_T}exists" >&6; }
20489 fi
20490 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20491 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20492 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20493 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20494 retest_macosx_linking=yes
20495 fi
20496
20497 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20498 wxUSE_MACOSX_VERSION_MIN=
20499 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20500 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20501 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20502 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20503
20504 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/'`
20505
20506 # If that failed, try again with the new key
20507 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20508
20509 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/'`
20510
20511 fi
20512
20513 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20514 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20515 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20516 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20517 else
20518 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20519 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20520 wxUSE_MACOSX_VERSION_MIN=
20521 fi
20522 else
20523 wxUSE_MACOSX_VERSION_MIN=
20524 fi
20525 fi
20526
20527 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20528 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20529 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20530 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20531 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20532 retest_macosx_linking=yes
20533 fi
20534
20535 if test "x$retest_macosx_linking" = "xyes"; then
20536 ac_ext=c
20537 ac_cpp='$CPP $CPPFLAGS'
20538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20541
20542 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20543 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550
20551 int
20552 main ()
20553 {
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest$ac_exeext &&
20576 $as_test_x conftest$ac_exeext; then
20577 { echo "$as_me:$LINENO: result: yes" >&5
20578 echo "${ECHO_T}yes" >&6; }
20579 else
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20584 See \`config.log' for more details." >&5
20585 echo "$as_me: error: no. Try a different SDK
20586 See \`config.log' for more details." >&2;}
20587 { (exit 1); exit 1; }; }; exit 1
20588 fi
20589
20590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20591 conftest$ac_exeext conftest.$ac_ext
20592 ac_ext=c
20593 ac_cpp='$CPP $CPPFLAGS'
20594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20597
20598
20599 ac_ext=cpp
20600 ac_cpp='$CXXCPP $CPPFLAGS'
20601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20604
20605 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20606 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h. */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613
20614 int
20615 main ()
20616 {
20617
20618 ;
20619 return 0;
20620 }
20621 _ACEOF
20622 rm -f conftest.$ac_objext conftest$ac_exeext
20623 if { (ac_try="$ac_link"
20624 case "(($ac_try" in
20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20626 *) ac_try_echo=$ac_try;;
20627 esac
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_link") 2>conftest.er1
20630 ac_status=$?
20631 grep -v '^ *+' conftest.er1 >conftest.err
20632 rm -f conftest.er1
20633 cat conftest.err >&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && {
20636 test -z "$ac_cxx_werror_flag" ||
20637 test ! -s conftest.err
20638 } && test -s conftest$ac_exeext &&
20639 $as_test_x conftest$ac_exeext; then
20640 { echo "$as_me:$LINENO: result: yes" >&5
20641 echo "${ECHO_T}yes" >&6; }
20642 else
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20645
20646 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20647 See \`config.log' for more details." >&5
20648 echo "$as_me: error: no. Try a different SDK
20649 See \`config.log' for more details." >&2;}
20650 { (exit 1); exit 1; }; }; exit 1
20651 fi
20652
20653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20654 conftest$ac_exeext conftest.$ac_ext
20655 ac_ext=c
20656 ac_cpp='$CPP $CPPFLAGS'
20657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20660
20661 fi
20662
20663
20664 case "${host}" in
20665
20666 *-*-darwin* )
20667 INSTALL_PROGRAM="cp -fp"
20668 INSTALL_DATA="cp -fp"
20669 ;;
20670 *)
20671 ;;
20672 esac
20673
20674
20675 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20676 CXXFLAGS="-qunique $CXXFLAGS"
20677 fi
20678
20679 case "${host}" in
20680 powerpc-*-darwin* )
20681 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20682 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689
20690 int
20691 main ()
20692 {
20693 #ifndef __POWERPC__
20694 choke me for lack of PowerPC
20695 #endif
20696
20697 ;
20698 return 0;
20699 }
20700 _ACEOF
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20706 esac
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20709 ac_status=$?
20710 grep -v '^ *+' conftest.er1 >conftest.err
20711 rm -f conftest.er1
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 { echo "$as_me:$LINENO: result: yes" >&5
20719 echo "${ECHO_T}yes" >&6; }
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 { echo "$as_me:$LINENO: result: no" >&5
20725 echo "${ECHO_T}no" >&6; }
20726 cat >>confdefs.h <<\_ACEOF
20727 #define __POWERPC__ 1
20728 _ACEOF
20729
20730
20731 fi
20732
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 ;;
20735 esac
20736
20737 case "${host}" in
20738 *-*-darwin* )
20739 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20740 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 #include <CoreFoundation/CFBase.h>
20748
20749 int
20750 main ()
20751 {
20752
20753 ;
20754 return 0;
20755 }
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20762 esac
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 { echo "$as_me:$LINENO: result: yes" >&5
20775 echo "${ECHO_T}yes" >&6; }
20776 else
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20779
20780 { echo "$as_me:$LINENO: result: no" >&5
20781 echo "${ECHO_T}no" >&6; }
20782 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20783 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20784 cat >conftest.$ac_ext <<_ACEOF
20785 /* confdefs.h. */
20786 _ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 #define __CF_USE_FRAMEWORK_INCLUDES__
20791 #include <CoreFoundation/CFBase.h>
20792
20793 int
20794 main ()
20795 {
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20806 esac
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 { echo "$as_me:$LINENO: result: yes" >&5
20819 echo "${ECHO_T}yes" >&6; }
20820 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20821 else
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20824
20825 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20826 See \`config.log' for more details." >&5
20827 echo "$as_me: error: no. CoreFoundation not available.
20828 See \`config.log' for more details." >&2;}
20829 { (exit 1); exit 1; }; }
20830
20831 fi
20832
20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20834
20835
20836 fi
20837
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 ;;
20840 esac
20841
20842 wants_win32=0
20843 doesnt_want_win32=0
20844 case "${host}" in
20845 *-*-cygwin*)
20846 if test "$wxUSE_MSW" = 1 ; then
20847 wants_win32=1
20848 else
20849 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20850 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20851 if test "${wx_cv_nocygwin+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 else
20854
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861
20862 int
20863 main ()
20864 {
20865
20866 #ifdef __MINGW32__
20867 choke me
20868 #endif
20869
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20879 esac
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20882 ac_status=$?
20883 grep -v '^ *+' conftest.er1 >conftest.err
20884 rm -f conftest.er1
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20891 wx_cv_nocygwin=no
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 wx_cv_nocygwin=yes
20897
20898 fi
20899
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901
20902
20903 fi
20904 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20905 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20906
20907 if test "$wx_cv_nocygwin" = "yes"; then
20908 wants_win32=1
20909 else
20910 doesnt_want_win32=1
20911 fi
20912 fi
20913 if test "$wants_win32" = 1 ; then
20914 BAKEFILE_FORCE_PLATFORM=win32
20915 fi
20916 ;;
20917 *-*-mingw*)
20918 wants_win32=1
20919 ;;
20920 esac
20921
20922 if test "$wxUSE_WINE" = "yes"; then
20923 wants_win32=1
20924 LDFLAGS_GUI="-mwindows"
20925 fi
20926
20927 if test "$wants_win32" = 1 ; then
20928 USE_UNIX=0
20929 USE_WIN32=1
20930 cat >>confdefs.h <<\_ACEOF
20931 #define __WIN32__ 1
20932 _ACEOF
20933
20934 cat >>confdefs.h <<\_ACEOF
20935 #define __WIN95__ 1
20936 _ACEOF
20937
20938 cat >>confdefs.h <<\_ACEOF
20939 #define __WINDOWS__ 1
20940 _ACEOF
20941
20942 cat >>confdefs.h <<\_ACEOF
20943 #define __GNUWIN32__ 1
20944 _ACEOF
20945
20946 cat >>confdefs.h <<\_ACEOF
20947 #define STRICT 1
20948 _ACEOF
20949
20950 fi
20951 if test "$doesnt_want_win32" = 1 ; then
20952 USE_UNIX=1
20953 USE_WIN32=0
20954 fi
20955
20956 if test "$USE_UNIX" = 1 ; then
20957 wxUSE_UNIX=yes
20958 cat >>confdefs.h <<\_ACEOF
20959 #define __UNIX__ 1
20960 _ACEOF
20961
20962 fi
20963
20964 case "${host}" in
20965 *-pc-os2_emx | *-pc-os2-emx )
20966 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20967 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20968 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20969 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 else
20972 ac_check_lib_save_LIBS=$LIBS
20973 LIBS="-lcExt $LIBS"
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980
20981 /* Override any GCC internal prototype to avoid an error.
20982 Use char because int might match the return type of a GCC
20983 builtin and then its argument prototype would still apply. */
20984 #ifdef __cplusplus
20985 extern "C"
20986 #endif
20987 char drand48 ();
20988 int
20989 main ()
20990 {
20991 return drand48 ();
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 rm -f conftest.$ac_objext 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>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest$ac_exeext &&
21013 $as_test_x conftest$ac_exeext; then
21014 ac_cv_lib_cExt_drand48=yes
21015 else
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21018
21019 ac_cv_lib_cExt_drand48=no
21020 fi
21021
21022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21023 conftest$ac_exeext conftest.$ac_ext
21024 LIBS=$ac_check_lib_save_LIBS
21025 fi
21026 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21027 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21028 if test $ac_cv_lib_cExt_drand48 = yes; then
21029 LIBS="$LIBS -lcExt"
21030 fi
21031
21032 else
21033 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21034 fi
21035 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21036 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21037 if test "${wx_cv_gccversion+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040
21041 if test "$cross_compiling" = yes; then
21042 wx_cv_gccversion="EMX2"
21043
21044 else
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h. */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051
21052 #include <stdio.h>
21053
21054 int main()
21055 {
21056 FILE *f=fopen("conftestval", "w");
21057 if (!f) exit(1);
21058 fprintf(f,
21059 #if (__GNUC__ < 3)
21060 "EMX2"
21061 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21062 "EMX3"
21063 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21064 "Innotek5"
21065 #else
21066 "Innotek6"
21067 #endif
21068 );
21069 exit(0);
21070 }
21071
21072 _ACEOF
21073 rm -f conftest$ac_exeext
21074 if { (ac_try="$ac_link"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_link") 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21084 { (case "(($ac_try" in
21085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21086 *) ac_try_echo=$ac_try;;
21087 esac
21088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21089 (eval "$ac_try") 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 wx_cv_gccversion=`cat conftestval`
21094 else
21095 echo "$as_me: program exited with status $ac_status" >&5
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21098
21099 ( exit $ac_status )
21100 wx_cv_gccversion="EMX2"
21101 fi
21102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21103 fi
21104
21105
21106
21107 fi
21108 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21109 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21110 if test "$wx_cv_gccversion" = "EMX2"; then
21111 LIBS="$LIBS -lstdcpp"
21112 LDFLAGS="$LDFLAGS -Zsysv-signals"
21113 else
21114 if test "$wx_cv_gccversion" = "EMX3"; then
21115 LIBS="$LIBS -lstdcxx -lgcc"
21116 LDFLAGS="$LDFLAGS -Zsysv-signals"
21117 else
21118 LIBS="$LIBS -lstdc++"
21119 fi
21120 fi
21121 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21122 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21123 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21124 wxUSE_OMF=yes
21125 enable_omf=yes
21126 fi
21127 ;;
21128 *)
21129
21130 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21131 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21132 if test "${ac_cv_string_strcasecmp+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 else
21135
21136 cat >conftest.$ac_ext <<_ACEOF
21137 /* confdefs.h. */
21138 _ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142
21143 #include <string.h>
21144
21145 int
21146 main ()
21147 {
21148
21149 strcasecmp("foo", "bar");
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext conftest$ac_exeext
21156 if { (ac_try="$ac_link"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_link") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest$ac_exeext &&
21172 $as_test_x conftest$ac_exeext; then
21173 ac_cv_string_strcasecmp=yes
21174 else
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 ac_cv_string_strcasecmp=no
21179
21180 fi
21181
21182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21183 conftest$ac_exeext conftest.$ac_ext
21184
21185 fi
21186 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21187 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21188
21189 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21190 cat >>confdefs.h <<\_ACEOF
21191 #define HAVE_STRCASECMP_IN_STRING_H 1
21192 _ACEOF
21193
21194 else
21195 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21196 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21197 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207
21208 #include <strings.h>
21209
21210 int
21211 main ()
21212 {
21213
21214 strcasecmp("foo", "bar");
21215
21216 ;
21217 return 0;
21218 }
21219 _ACEOF
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (ac_try="$ac_link"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21225 esac
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_link") 2>conftest.er1
21228 ac_status=$?
21229 grep -v '^ *+' conftest.er1 >conftest.err
21230 rm -f conftest.er1
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest$ac_exeext &&
21237 $as_test_x conftest$ac_exeext; then
21238 ac_cv_strings_strcasecmp=yes
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 ac_cv_strings_strcasecmp=no
21244
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21248 conftest$ac_exeext conftest.$ac_ext
21249
21250 fi
21251 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21252 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21253
21254 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21255 cat >>confdefs.h <<\_ACEOF
21256 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21257 _ACEOF
21258
21259 else
21260 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21261 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21262 { (exit 1); exit 1; }; }
21263 fi
21264 fi
21265
21266 ;;
21267 esac
21268
21269
21270 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21271 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21272 if test "${ac_cv_header_stdc+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21274 else
21275 cat >conftest.$ac_ext <<_ACEOF
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <stdlib.h>
21282 #include <stdarg.h>
21283 #include <string.h>
21284 #include <float.h>
21285
21286 int
21287 main ()
21288 {
21289
21290 ;
21291 return 0;
21292 }
21293 _ACEOF
21294 rm -f conftest.$ac_objext
21295 if { (ac_try="$ac_compile"
21296 case "(($ac_try" in
21297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21298 *) ac_try_echo=$ac_try;;
21299 esac
21300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21301 (eval "$ac_compile") 2>conftest.er1
21302 ac_status=$?
21303 grep -v '^ *+' conftest.er1 >conftest.err
21304 rm -f conftest.er1
21305 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && {
21308 test -z "$ac_c_werror_flag" ||
21309 test ! -s conftest.err
21310 } && test -s conftest.$ac_objext; then
21311 ac_cv_header_stdc=yes
21312 else
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21315
21316 ac_cv_header_stdc=no
21317 fi
21318
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21320
21321 if test $ac_cv_header_stdc = yes; then
21322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21323 cat >conftest.$ac_ext <<_ACEOF
21324 /* confdefs.h. */
21325 _ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <string.h>
21330
21331 _ACEOF
21332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21333 $EGREP "memchr" >/dev/null 2>&1; then
21334 :
21335 else
21336 ac_cv_header_stdc=no
21337 fi
21338 rm -f conftest*
21339
21340 fi
21341
21342 if test $ac_cv_header_stdc = yes; then
21343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21344 cat >conftest.$ac_ext <<_ACEOF
21345 /* confdefs.h. */
21346 _ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #include <stdlib.h>
21351
21352 _ACEOF
21353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21354 $EGREP "free" >/dev/null 2>&1; then
21355 :
21356 else
21357 ac_cv_header_stdc=no
21358 fi
21359 rm -f conftest*
21360
21361 fi
21362
21363 if test $ac_cv_header_stdc = yes; then
21364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21365 if test "$cross_compiling" = yes; then
21366 :
21367 else
21368 cat >conftest.$ac_ext <<_ACEOF
21369 /* confdefs.h. */
21370 _ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21374 #include <ctype.h>
21375 #include <stdlib.h>
21376 #if ((' ' & 0x0FF) == 0x020)
21377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21379 #else
21380 # define ISLOWER(c) \
21381 (('a' <= (c) && (c) <= 'i') \
21382 || ('j' <= (c) && (c) <= 'r') \
21383 || ('s' <= (c) && (c) <= 'z'))
21384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21385 #endif
21386
21387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21388 int
21389 main ()
21390 {
21391 int i;
21392 for (i = 0; i < 256; i++)
21393 if (XOR (islower (i), ISLOWER (i))
21394 || toupper (i) != TOUPPER (i))
21395 return 2;
21396 return 0;
21397 }
21398 _ACEOF
21399 rm -f conftest$ac_exeext
21400 if { (ac_try="$ac_link"
21401 case "(($ac_try" in
21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21404 esac
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_link") 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 :
21420 else
21421 echo "$as_me: program exited with status $ac_status" >&5
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ( exit $ac_status )
21426 ac_cv_header_stdc=no
21427 fi
21428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21429 fi
21430
21431
21432 fi
21433 fi
21434 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21435 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21436 if test $ac_cv_header_stdc = yes; then
21437
21438 cat >>confdefs.h <<\_ACEOF
21439 #define STDC_HEADERS 1
21440 _ACEOF
21441
21442 fi
21443
21444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21455 inttypes.h stdint.h unistd.h
21456 do
21457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 else
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470
21471 #include <$ac_header>
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 eval "$as_ac_Header=yes"
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 eval "$as_ac_Header=no"
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 fi
21500 ac_res=`eval echo '${'$as_ac_Header'}'`
21501 { echo "$as_me:$LINENO: result: $ac_res" >&5
21502 echo "${ECHO_T}$ac_res" >&6; }
21503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21504 cat >>confdefs.h <<_ACEOF
21505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21506 _ACEOF
21507
21508 fi
21509
21510 done
21511
21512
21513
21514
21515 for ac_header in langinfo.h wchar.h
21516 do
21517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 else
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h. */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21530
21531 #include <$ac_header>
21532 _ACEOF
21533 rm -f conftest.$ac_objext
21534 if { (ac_try="$ac_compile"
21535 case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21538 esac
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_compile") 2>conftest.er1
21541 ac_status=$?
21542 grep -v '^ *+' conftest.er1 >conftest.err
21543 rm -f conftest.er1
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } && {
21547 test -z "$ac_c_werror_flag" ||
21548 test ! -s conftest.err
21549 } && test -s conftest.$ac_objext; then
21550 eval "$as_ac_Header=yes"
21551 else
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21554
21555 eval "$as_ac_Header=no"
21556 fi
21557
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 fi
21560 ac_res=`eval echo '${'$as_ac_Header'}'`
21561 { echo "$as_me:$LINENO: result: $ac_res" >&5
21562 echo "${ECHO_T}$ac_res" >&6; }
21563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21566 _ACEOF
21567
21568 fi
21569
21570 done
21571
21572
21573 if test "$ac_cv_header_wchar_h" != "yes"; then
21574
21575 for ac_header in wcstr.h
21576 do
21577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21590
21591 #include <$ac_header>
21592 _ACEOF
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 eval "$as_ac_Header=yes"
21611 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 eval "$as_ac_Header=no"
21616 fi
21617
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21619 fi
21620 ac_res=`eval echo '${'$as_ac_Header'}'`
21621 { echo "$as_me:$LINENO: result: $ac_res" >&5
21622 echo "${ECHO_T}$ac_res" >&6; }
21623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21624 cat >>confdefs.h <<_ACEOF
21625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21626 _ACEOF
21627
21628 fi
21629
21630 done
21631
21632 fi
21633
21634 case "${host}" in
21635 *-pc-os2_emx | *-pc-os2-emx )
21636 if test $ac_cv_header_langinfo_h = "yes" \
21637 -a \( "$wx_cv_gccversion" = "EMX2" \
21638 -o "$wx_cv_gccversion" = "EMX3" \
21639 -o "$wx_cv_gccversion" = "Innotek5" \); then
21640 LIBS="$LIBS -lintl"
21641 fi
21642 ;;
21643 esac
21644
21645 if test "$USE_UNIX" = 1 ; then
21646
21647 for ac_header in sys/select.h
21648 do
21649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21653 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 else
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662
21663 #include <$ac_header>
21664 _ACEOF
21665 rm -f conftest.$ac_objext
21666 if { (ac_try="$ac_compile"
21667 case "(($ac_try" in
21668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21670 esac
21671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_compile") 2>conftest.er1
21673 ac_status=$?
21674 grep -v '^ *+' conftest.er1 >conftest.err
21675 rm -f conftest.er1
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } && {
21679 test -z "$ac_c_werror_flag" ||
21680 test ! -s conftest.err
21681 } && test -s conftest.$ac_objext; then
21682 eval "$as_ac_Header=yes"
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 eval "$as_ac_Header=no"
21688 fi
21689
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691 fi
21692 ac_res=`eval echo '${'$as_ac_Header'}'`
21693 { echo "$as_me:$LINENO: result: $ac_res" >&5
21694 echo "${ECHO_T}$ac_res" >&6; }
21695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21696 cat >>confdefs.h <<_ACEOF
21697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21698 _ACEOF
21699
21700 fi
21701
21702 done
21703
21704 fi
21705
21706
21707 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21708 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21709 if test "${ac_cv_c_const+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 else
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718
21719 int
21720 main ()
21721 {
21722 /* FIXME: Include the comments suggested by Paul. */
21723 #ifndef __cplusplus
21724 /* Ultrix mips cc rejects this. */
21725 typedef int charset[2];
21726 const charset cs;
21727 /* SunOS 4.1.1 cc rejects this. */
21728 char const *const *pcpcc;
21729 char **ppc;
21730 /* NEC SVR4.0.2 mips cc rejects this. */
21731 struct point {int x, y;};
21732 static struct point const zero = {0,0};
21733 /* AIX XL C 1.02.0.0 rejects this.
21734 It does not let you subtract one const X* pointer from another in
21735 an arm of an if-expression whose if-part is not a constant
21736 expression */
21737 const char *g = "string";
21738 pcpcc = &g + (g ? g-g : 0);
21739 /* HPUX 7.0 cc rejects these. */
21740 ++pcpcc;
21741 ppc = (char**) pcpcc;
21742 pcpcc = (char const *const *) ppc;
21743 { /* SCO 3.2v4 cc rejects this. */
21744 char *t;
21745 char const *s = 0 ? (char *) 0 : (char const *) 0;
21746
21747 *t++ = 0;
21748 if (s) return 0;
21749 }
21750 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21751 int x[] = {25, 17};
21752 const int *foo = &x[0];
21753 ++foo;
21754 }
21755 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21756 typedef const int *iptr;
21757 iptr p = 0;
21758 ++p;
21759 }
21760 { /* AIX XL C 1.02.0.0 rejects this saying
21761 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21762 struct s { int j; const int *ap[3]; };
21763 struct s *b; b->j = 5;
21764 }
21765 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21766 const int foo = 10;
21767 if (!foo) return 0;
21768 }
21769 return !cs[0] && !zero.x;
21770 #endif
21771
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21780 *) ac_try_echo=$ac_try;;
21781 esac
21782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21784 ac_status=$?
21785 grep -v '^ *+' conftest.er1 >conftest.err
21786 rm -f conftest.er1
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.$ac_objext; then
21793 ac_cv_c_const=yes
21794 else
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21797
21798 ac_cv_c_const=no
21799 fi
21800
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 fi
21803 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21804 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21805 if test $ac_cv_c_const = no; then
21806
21807 cat >>confdefs.h <<\_ACEOF
21808 #define const
21809 _ACEOF
21810
21811 fi
21812
21813 { echo "$as_me:$LINENO: checking for inline" >&5
21814 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21815 if test "${ac_cv_c_inline+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818 ac_cv_c_inline=no
21819 for ac_kw in inline __inline__ __inline; do
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #ifndef __cplusplus
21827 typedef int foo_t;
21828 static $ac_kw foo_t static_foo () {return 0; }
21829 $ac_kw foo_t foo () {return 0; }
21830 #endif
21831
21832 _ACEOF
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21838 esac
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21841 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_cv_c_inline=$ac_kw
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 test "$ac_cv_c_inline" != no && break
21860 done
21861
21862 fi
21863 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21864 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21865
21866
21867 case $ac_cv_c_inline in
21868 inline | yes) ;;
21869 *)
21870 case $ac_cv_c_inline in
21871 no) ac_val=;;
21872 *) ac_val=$ac_cv_c_inline;;
21873 esac
21874 cat >>confdefs.h <<_ACEOF
21875 #ifndef __cplusplus
21876 #define inline $ac_val
21877 #endif
21878 _ACEOF
21879 ;;
21880 esac
21881
21882
21883 { echo "$as_me:$LINENO: checking for short" >&5
21884 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21885 if test "${ac_cv_type_short+set}" = set; then
21886 echo $ECHO_N "(cached) $ECHO_C" >&6
21887 else
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef short ac__type_new_;
21896 int
21897 main ()
21898 {
21899 if ((ac__type_new_ *) 0)
21900 return 0;
21901 if (sizeof (ac__type_new_))
21902 return 0;
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21912 esac
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21915 ac_status=$?
21916 grep -v '^ *+' conftest.er1 >conftest.err
21917 rm -f conftest.er1
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.$ac_objext; then
21924 ac_cv_type_short=yes
21925 else
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21928
21929 ac_cv_type_short=no
21930 fi
21931
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933 fi
21934 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21935 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21936
21937 # The cast to long int works around a bug in the HP C Compiler
21938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21940 # This bug is HP SR number 8606223364.
21941 { echo "$as_me:$LINENO: checking size of short" >&5
21942 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21943 if test "${ac_cv_sizeof_short+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 else
21946 if test "$cross_compiling" = yes; then
21947 # Depending upon the size, compute the lo and hi bounds.
21948 cat >conftest.$ac_ext <<_ACEOF
21949 /* confdefs.h. */
21950 _ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef short ac__type_sizeof_;
21956 int
21957 main ()
21958 {
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21960 test_array [0] = 0
21961
21962 ;
21963 return 0;
21964 }
21965 _ACEOF
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21971 esac
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21974 ac_status=$?
21975 grep -v '^ *+' conftest.er1 >conftest.err
21976 rm -f conftest.er1
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } && {
21980 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21983 ac_lo=0 ac_mid=0
21984 while :; do
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef short ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid; break
22021 else
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22024
22025 ac_lo=`expr $ac_mid + 1`
22026 if test $ac_lo -le $ac_mid; then
22027 ac_lo= ac_hi=
22028 break
22029 fi
22030 ac_mid=`expr 2 '*' $ac_mid + 1`
22031 fi
22032
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 done
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef short ac__type_sizeof_;
22047 int
22048 main ()
22049 {
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22051 test_array [0] = 0
22052
22053 ;
22054 return 0;
22055 }
22056 _ACEOF
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22062 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22074 ac_hi=-1 ac_mid=-1
22075 while :; do
22076 cat >conftest.$ac_ext <<_ACEOF
22077 /* confdefs.h. */
22078 _ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22084 int
22085 main ()
22086 {
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22088 test_array [0] = 0
22089
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_lo=$ac_mid; break
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 ac_hi=`expr '(' $ac_mid ')' - 1`
22117 if test $ac_mid -le $ac_hi; then
22118 ac_lo= ac_hi=
22119 break
22120 fi
22121 ac_mid=`expr 2 '*' $ac_mid`
22122 fi
22123
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22125 done
22126 else
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22129
22130 ac_lo= ac_hi=
22131 fi
22132
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134 fi
22135
22136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 # Binary search between lo and hi bounds.
22138 while test "x$ac_lo" != "x$ac_hi"; do
22139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22140 cat >conftest.$ac_ext <<_ACEOF
22141 /* confdefs.h. */
22142 _ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 $ac_includes_default
22147 typedef short ac__type_sizeof_;
22148 int
22149 main ()
22150 {
22151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22152 test_array [0] = 0
22153
22154 ;
22155 return 0;
22156 }
22157 _ACEOF
22158 rm -f conftest.$ac_objext
22159 if { (ac_try="$ac_compile"
22160 case "(($ac_try" in
22161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22163 esac
22164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_compile") 2>conftest.er1
22166 ac_status=$?
22167 grep -v '^ *+' conftest.er1 >conftest.err
22168 rm -f conftest.er1
22169 cat conftest.err >&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && {
22172 test -z "$ac_c_werror_flag" ||
22173 test ! -s conftest.err
22174 } && test -s conftest.$ac_objext; then
22175 ac_hi=$ac_mid
22176 else
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22179
22180 ac_lo=`expr '(' $ac_mid ')' + 1`
22181 fi
22182
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184 done
22185 case $ac_lo in
22186 ?*) ac_cv_sizeof_short=$ac_lo;;
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 esac
22197 else
22198 cat >conftest.$ac_ext <<_ACEOF
22199 /* confdefs.h. */
22200 _ACEOF
22201 cat confdefs.h >>conftest.$ac_ext
22202 cat >>conftest.$ac_ext <<_ACEOF
22203 /* end confdefs.h. */
22204 $ac_includes_default
22205 typedef short ac__type_sizeof_;
22206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22208 #include <stdio.h>
22209 #include <stdlib.h>
22210 int
22211 main ()
22212 {
22213
22214 FILE *f = fopen ("conftest.val", "w");
22215 if (! f)
22216 return 1;
22217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22218 {
22219 long int i = longval ();
22220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22221 return 1;
22222 fprintf (f, "%ld\n", i);
22223 }
22224 else
22225 {
22226 unsigned long int i = ulongval ();
22227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22228 return 1;
22229 fprintf (f, "%lu\n", i);
22230 }
22231 return ferror (f) || fclose (f) != 0;
22232
22233 ;
22234 return 0;
22235 }
22236 _ACEOF
22237 rm -f conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22242 esac
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22248 { (case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22251 esac
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_try") 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_sizeof_short=`cat conftest.val`
22258 else
22259 echo "$as_me: program exited with status $ac_status" >&5
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ( exit $ac_status )
22264 if test "$ac_cv_type_short" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22266 See \`config.log' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (short)
22268 See \`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22270 else
22271 ac_cv_sizeof_short=0
22272 fi
22273 fi
22274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22275 fi
22276 rm -f conftest.val
22277 fi
22278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22279 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22280
22281
22282
22283 cat >>confdefs.h <<_ACEOF
22284 #define SIZEOF_SHORT $ac_cv_sizeof_short
22285 _ACEOF
22286
22287
22288 { echo "$as_me:$LINENO: checking for void *" >&5
22289 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22290 if test "${ac_cv_type_void_p+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293 cat >conftest.$ac_ext <<_ACEOF
22294 /* confdefs.h. */
22295 _ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef void * ac__type_new_;
22301 int
22302 main ()
22303 {
22304 if ((ac__type_new_ *) 0)
22305 return 0;
22306 if (sizeof (ac__type_new_))
22307 return 0;
22308 ;
22309 return 0;
22310 }
22311 _ACEOF
22312 rm -f conftest.$ac_objext
22313 if { (ac_try="$ac_compile"
22314 case "(($ac_try" in
22315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22316 *) ac_try_echo=$ac_try;;
22317 esac
22318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22319 (eval "$ac_compile") 2>conftest.er1
22320 ac_status=$?
22321 grep -v '^ *+' conftest.er1 >conftest.err
22322 rm -f conftest.er1
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } && {
22326 test -z "$ac_c_werror_flag" ||
22327 test ! -s conftest.err
22328 } && test -s conftest.$ac_objext; then
22329 ac_cv_type_void_p=yes
22330 else
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22333
22334 ac_cv_type_void_p=no
22335 fi
22336
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22338 fi
22339 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22340 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22341
22342 # The cast to long int works around a bug in the HP C Compiler
22343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22345 # This bug is HP SR number 8606223364.
22346 { echo "$as_me:$LINENO: checking size of void *" >&5
22347 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22348 if test "${ac_cv_sizeof_void_p+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22350 else
22351 if test "$cross_compiling" = yes; then
22352 # Depending upon the size, compute the lo and hi bounds.
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22361 int
22362 main ()
22363 {
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22365 test_array [0] = 0
22366
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 rm -f conftest.$ac_objext
22372 if { (ac_try="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22376 esac
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.$ac_objext; then
22388 ac_lo=0 ac_mid=0
22389 while :; do
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef void * ac__type_sizeof_;
22398 int
22399 main ()
22400 {
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22402 test_array [0] = 0
22403
22404 ;
22405 return 0;
22406 }
22407 _ACEOF
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_hi=$ac_mid; break
22426 else
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 ac_lo=`expr $ac_mid + 1`
22431 if test $ac_lo -le $ac_mid; then
22432 ac_lo= ac_hi=
22433 break
22434 fi
22435 ac_mid=`expr 2 '*' $ac_mid + 1`
22436 fi
22437
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 done
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef void * ac__type_sizeof_;
22452 int
22453 main ()
22454 {
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22456 test_array [0] = 0
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22479 ac_hi=-1 ac_mid=-1
22480 while :; do
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_lo=$ac_mid; break
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_hi=`expr '(' $ac_mid ')' - 1`
22522 if test $ac_mid -le $ac_hi; then
22523 ac_lo= ac_hi=
22524 break
22525 fi
22526 ac_mid=`expr 2 '*' $ac_mid`
22527 fi
22528
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 done
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22534
22535 ac_lo= ac_hi=
22536 fi
22537
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539 fi
22540
22541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 # Binary search between lo and hi bounds.
22543 while test "x$ac_lo" != "x$ac_hi"; do
22544 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef void * ac__type_sizeof_;
22553 int
22554 main ()
22555 {
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22557 test_array [0] = 0
22558
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22568 esac
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_hi=$ac_mid
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 ac_lo=`expr '(' $ac_mid ')' + 1`
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 done
22590 case $ac_lo in
22591 ?*) ac_cv_sizeof_void_p=$ac_lo;;
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 esac
22602 else
22603 cat >conftest.$ac_ext <<_ACEOF
22604 /* confdefs.h. */
22605 _ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef void * ac__type_sizeof_;
22611 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22612 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22613 #include <stdio.h>
22614 #include <stdlib.h>
22615 int
22616 main ()
22617 {
22618
22619 FILE *f = fopen ("conftest.val", "w");
22620 if (! f)
22621 return 1;
22622 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22623 {
22624 long int i = longval ();
22625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22626 return 1;
22627 fprintf (f, "%ld\n", i);
22628 }
22629 else
22630 {
22631 unsigned long int i = ulongval ();
22632 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22633 return 1;
22634 fprintf (f, "%lu\n", i);
22635 }
22636 return ferror (f) || fclose (f) != 0;
22637
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest$ac_exeext
22643 if { (ac_try="$ac_link"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_link") 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22653 { (case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22656 esac
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_try") 2>&5
22659 ac_status=$?
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_sizeof_void_p=`cat conftest.val`
22663 else
22664 echo "$as_me: program exited with status $ac_status" >&5
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22667
22668 ( exit $ac_status )
22669 if test "$ac_cv_type_void_p" = yes; then
22670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22671 See \`config.log' for more details." >&5
22672 echo "$as_me: error: cannot compute sizeof (void *)
22673 See \`config.log' for more details." >&2;}
22674 { (exit 77); exit 77; }; }
22675 else
22676 ac_cv_sizeof_void_p=0
22677 fi
22678 fi
22679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22680 fi
22681 rm -f conftest.val
22682 fi
22683 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22684 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22685
22686
22687
22688 cat >>confdefs.h <<_ACEOF
22689 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22690 _ACEOF
22691
22692
22693 { echo "$as_me:$LINENO: checking for int" >&5
22694 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22695 if test "${ac_cv_type_int+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 else
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef int ac__type_new_;
22706 int
22707 main ()
22708 {
22709 if ((ac__type_new_ *) 0)
22710 return 0;
22711 if (sizeof (ac__type_new_))
22712 return 0;
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22722 esac
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22725 ac_status=$?
22726 grep -v '^ *+' conftest.er1 >conftest.err
22727 rm -f conftest.er1
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22734 ac_cv_type_int=yes
22735 else
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.$ac_ext >&5
22738
22739 ac_cv_type_int=no
22740 fi
22741
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743 fi
22744 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22745 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22746
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { echo "$as_me:$LINENO: checking size of int" >&5
22752 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22753 if test "${ac_cv_sizeof_int+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 else
22756 if test "$cross_compiling" = yes; then
22757 # Depending upon the size, compute the lo and hi bounds.
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22766 int
22767 main ()
22768 {
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22770 test_array [0] = 0
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22793 ac_lo=0 ac_mid=0
22794 while :; do
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef int ac__type_sizeof_;
22803 int
22804 main ()
22805 {
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22807 test_array [0] = 0
22808
22809 ;
22810 return 0;
22811 }
22812 _ACEOF
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;;
22818 esac
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22821 ac_status=$?
22822 grep -v '^ *+' conftest.er1 >conftest.err
22823 rm -f conftest.er1
22824 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then
22830 ac_hi=$ac_mid; break
22831 else
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22834
22835 ac_lo=`expr $ac_mid + 1`
22836 if test $ac_lo -le $ac_mid; then
22837 ac_lo= ac_hi=
22838 break
22839 fi
22840 ac_mid=`expr 2 '*' $ac_mid + 1`
22841 fi
22842
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844 done
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22848
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855 $ac_includes_default
22856 typedef int ac__type_sizeof_;
22857 int
22858 main ()
22859 {
22860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22861 test_array [0] = 0
22862
22863 ;
22864 return 0;
22865 }
22866 _ACEOF
22867 rm -f conftest.$ac_objext
22868 if { (ac_try="$ac_compile"
22869 case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22872 esac
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_compile") 2>conftest.er1
22875 ac_status=$?
22876 grep -v '^ *+' conftest.er1 >conftest.err
22877 rm -f conftest.er1
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } && {
22881 test -z "$ac_c_werror_flag" ||
22882 test ! -s conftest.err
22883 } && test -s conftest.$ac_objext; then
22884 ac_hi=-1 ac_mid=-1
22885 while :; do
22886 cat >conftest.$ac_ext <<_ACEOF
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22894 int
22895 main ()
22896 {
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22898 test_array [0] = 0
22899
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_lo=$ac_mid; break
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 ac_hi=`expr '(' $ac_mid ')' - 1`
22927 if test $ac_mid -le $ac_hi; then
22928 ac_lo= ac_hi=
22929 break
22930 fi
22931 ac_mid=`expr 2 '*' $ac_mid`
22932 fi
22933
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 done
22936 else
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22939
22940 ac_lo= ac_hi=
22941 fi
22942
22943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22944 fi
22945
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 # Binary search between lo and hi bounds.
22948 while test "x$ac_lo" != "x$ac_hi"; do
22949 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h. */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef int ac__type_sizeof_;
22958 int
22959 main ()
22960 {
22961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22962 test_array [0] = 0
22963
22964 ;
22965 return 0;
22966 }
22967 _ACEOF
22968 rm -f conftest.$ac_objext
22969 if { (ac_try="$ac_compile"
22970 case "(($ac_try" in
22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22973 esac
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_compile") 2>conftest.er1
22976 ac_status=$?
22977 grep -v '^ *+' conftest.er1 >conftest.err
22978 rm -f conftest.er1
22979 cat conftest.err >&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } && {
22982 test -z "$ac_c_werror_flag" ||
22983 test ! -s conftest.err
22984 } && test -s conftest.$ac_objext; then
22985 ac_hi=$ac_mid
22986 else
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22989
22990 ac_lo=`expr '(' $ac_mid ')' + 1`
22991 fi
22992
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22994 done
22995 case $ac_lo in
22996 ?*) ac_cv_sizeof_int=$ac_lo;;
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 esac
23007 else
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef int ac__type_sizeof_;
23016 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23017 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23018 #include <stdio.h>
23019 #include <stdlib.h>
23020 int
23021 main ()
23022 {
23023
23024 FILE *f = fopen ("conftest.val", "w");
23025 if (! f)
23026 return 1;
23027 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23028 {
23029 long int i = longval ();
23030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23031 return 1;
23032 fprintf (f, "%ld\n", i);
23033 }
23034 else
23035 {
23036 unsigned long int i = ulongval ();
23037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23038 return 1;
23039 fprintf (f, "%lu\n", i);
23040 }
23041 return ferror (f) || fclose (f) != 0;
23042
23043 ;
23044 return 0;
23045 }
23046 _ACEOF
23047 rm -f conftest$ac_exeext
23048 if { (ac_try="$ac_link"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23052 esac
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_link") 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23058 { (case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_try") 2>&5
23064 ac_status=$?
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); }; }; then
23067 ac_cv_sizeof_int=`cat conftest.val`
23068 else
23069 echo "$as_me: program exited with status $ac_status" >&5
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073 ( exit $ac_status )
23074 if test "$ac_cv_type_int" = yes; then
23075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23076 See \`config.log' for more details." >&5
23077 echo "$as_me: error: cannot compute sizeof (int)
23078 See \`config.log' for more details." >&2;}
23079 { (exit 77); exit 77; }; }
23080 else
23081 ac_cv_sizeof_int=0
23082 fi
23083 fi
23084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23085 fi
23086 rm -f conftest.val
23087 fi
23088 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23089 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23090
23091
23092
23093 cat >>confdefs.h <<_ACEOF
23094 #define SIZEOF_INT $ac_cv_sizeof_int
23095 _ACEOF
23096
23097
23098 { echo "$as_me:$LINENO: checking for long" >&5
23099 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23100 if test "${ac_cv_type_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long ac__type_new_;
23111 int
23112 main ()
23113 {
23114 if ((ac__type_new_ *) 0)
23115 return 0;
23116 if (sizeof (ac__type_new_))
23117 return 0;
23118 ;
23119 return 0;
23120 }
23121 _ACEOF
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23127 esac
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_cv_type_long=yes
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_cv_type_long=no
23145 fi
23146
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23148 fi
23149 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23150 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23151
23152 # The cast to long int works around a bug in the HP C Compiler
23153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23155 # This bug is HP SR number 8606223364.
23156 { echo "$as_me:$LINENO: checking size of long" >&5
23157 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23158 if test "${ac_cv_sizeof_long+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 else
23161 if test "$cross_compiling" = yes; then
23162 # Depending upon the size, compute the lo and hi bounds.
23163 cat >conftest.$ac_ext <<_ACEOF
23164 /* confdefs.h. */
23165 _ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23171 int
23172 main ()
23173 {
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23175 test_array [0] = 0
23176
23177 ;
23178 return 0;
23179 }
23180 _ACEOF
23181 rm -f conftest.$ac_objext
23182 if { (ac_try="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23186 esac
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.$ac_objext; then
23198 ac_lo=0 ac_mid=0
23199 while :; do
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef long ac__type_sizeof_;
23208 int
23209 main ()
23210 {
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23212 test_array [0] = 0
23213
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_hi=$ac_mid; break
23236 else
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23239
23240 ac_lo=`expr $ac_mid + 1`
23241 if test $ac_lo -le $ac_mid; then
23242 ac_lo= ac_hi=
23243 break
23244 fi
23245 ac_mid=`expr 2 '*' $ac_mid + 1`
23246 fi
23247
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 done
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 $ac_includes_default
23261 typedef long ac__type_sizeof_;
23262 int
23263 main ()
23264 {
23265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23266 test_array [0] = 0
23267
23268 ;
23269 return 0;
23270 }
23271 _ACEOF
23272 rm -f conftest.$ac_objext
23273 if { (ac_try="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23277 esac
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23280 ac_status=$?
23281 grep -v '^ *+' conftest.er1 >conftest.err
23282 rm -f conftest.er1
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23289 ac_hi=-1 ac_mid=-1
23290 while :; do
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23299 int
23300 main ()
23301 {
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23303 test_array [0] = 0
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23317 ac_status=$?
23318 grep -v '^ *+' conftest.er1 >conftest.err
23319 rm -f conftest.er1
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_lo=$ac_mid; break
23327 else
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23330
23331 ac_hi=`expr '(' $ac_mid ')' - 1`
23332 if test $ac_mid -le $ac_hi; then
23333 ac_lo= ac_hi=
23334 break
23335 fi
23336 ac_mid=`expr 2 '*' $ac_mid`
23337 fi
23338
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 done
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 ac_lo= ac_hi=
23346 fi
23347
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 fi
23350
23351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23352 # Binary search between lo and hi bounds.
23353 while test "x$ac_lo" != "x$ac_hi"; do
23354 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23355 cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h. */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 $ac_includes_default
23362 typedef long ac__type_sizeof_;
23363 int
23364 main ()
23365 {
23366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23367 test_array [0] = 0
23368
23369 ;
23370 return 0;
23371 }
23372 _ACEOF
23373 rm -f conftest.$ac_objext
23374 if { (ac_try="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23378 esac
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23390 ac_hi=$ac_mid
23391 else
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 ac_lo=`expr '(' $ac_mid ')' + 1`
23396 fi
23397
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 done
23400 case $ac_lo in
23401 ?*) ac_cv_sizeof_long=$ac_lo;;
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 esac
23412 else
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 typedef long ac__type_sizeof_;
23421 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23422 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23423 #include <stdio.h>
23424 #include <stdlib.h>
23425 int
23426 main ()
23427 {
23428
23429 FILE *f = fopen ("conftest.val", "w");
23430 if (! f)
23431 return 1;
23432 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23433 {
23434 long int i = longval ();
23435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23436 return 1;
23437 fprintf (f, "%ld\n", i);
23438 }
23439 else
23440 {
23441 unsigned long int i = ulongval ();
23442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23443 return 1;
23444 fprintf (f, "%lu\n", i);
23445 }
23446 return ferror (f) || fclose (f) != 0;
23447
23448 ;
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23457 esac
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>&5
23460 ac_status=$?
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23463 { (case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23466 esac
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_try") 2>&5
23469 ac_status=$?
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; }; then
23472 ac_cv_sizeof_long=`cat conftest.val`
23473 else
23474 echo "$as_me: program exited with status $ac_status" >&5
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ( exit $ac_status )
23479 if test "$ac_cv_type_long" = yes; then
23480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23481 See \`config.log' for more details." >&5
23482 echo "$as_me: error: cannot compute sizeof (long)
23483 See \`config.log' for more details." >&2;}
23484 { (exit 77); exit 77; }; }
23485 else
23486 ac_cv_sizeof_long=0
23487 fi
23488 fi
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23490 fi
23491 rm -f conftest.val
23492 fi
23493 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23494 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23495
23496
23497
23498 cat >>confdefs.h <<_ACEOF
23499 #define SIZEOF_LONG $ac_cv_sizeof_long
23500 _ACEOF
23501
23502
23503 { echo "$as_me:$LINENO: checking for size_t" >&5
23504 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23505 if test "${ac_cv_type_size_t+set}" = set; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 else
23508 cat >conftest.$ac_ext <<_ACEOF
23509 /* confdefs.h. */
23510 _ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 $ac_includes_default
23515 typedef size_t ac__type_new_;
23516 int
23517 main ()
23518 {
23519 if ((ac__type_new_ *) 0)
23520 return 0;
23521 if (sizeof (ac__type_new_))
23522 return 0;
23523 ;
23524 return 0;
23525 }
23526 _ACEOF
23527 rm -f conftest.$ac_objext
23528 if { (ac_try="$ac_compile"
23529 case "(($ac_try" in
23530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23532 esac
23533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23534 (eval "$ac_compile") 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } && {
23541 test -z "$ac_c_werror_flag" ||
23542 test ! -s conftest.err
23543 } && test -s conftest.$ac_objext; then
23544 ac_cv_type_size_t=yes
23545 else
23546 echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23548
23549 ac_cv_type_size_t=no
23550 fi
23551
23552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23553 fi
23554 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23555 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23556
23557 # The cast to long int works around a bug in the HP C Compiler
23558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23560 # This bug is HP SR number 8606223364.
23561 { echo "$as_me:$LINENO: checking size of size_t" >&5
23562 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23563 if test "${ac_cv_sizeof_size_t+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 else
23566 if test "$cross_compiling" = yes; then
23567 # Depending upon the size, compute the lo and hi bounds.
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_lo=0 ac_mid=0
23604 while :; do
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef size_t ac__type_sizeof_;
23613 int
23614 main ()
23615 {
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23617 test_array [0] = 0
23618
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23631 ac_status=$?
23632 grep -v '^ *+' conftest.er1 >conftest.err
23633 rm -f conftest.er1
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_hi=$ac_mid; break
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ac_lo=`expr $ac_mid + 1`
23646 if test $ac_lo -le $ac_mid; then
23647 ac_lo= ac_hi=
23648 break
23649 fi
23650 ac_mid=`expr 2 '*' $ac_mid + 1`
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 done
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23666 typedef size_t ac__type_sizeof_;
23667 int
23668 main ()
23669 {
23670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23671 test_array [0] = 0
23672
23673 ;
23674 return 0;
23675 }
23676 _ACEOF
23677 rm -f conftest.$ac_objext
23678 if { (ac_try="$ac_compile"
23679 case "(($ac_try" in
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23682 esac
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_compile") 2>conftest.er1
23685 ac_status=$?
23686 grep -v '^ *+' conftest.er1 >conftest.err
23687 rm -f conftest.er1
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } && {
23691 test -z "$ac_c_werror_flag" ||
23692 test ! -s conftest.err
23693 } && test -s conftest.$ac_objext; then
23694 ac_hi=-1 ac_mid=-1
23695 while :; do
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23704 int
23705 main ()
23706 {
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23708 test_array [0] = 0
23709
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_lo=$ac_mid; break
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_hi=`expr '(' $ac_mid ')' - 1`
23737 if test $ac_mid -le $ac_hi; then
23738 ac_lo= ac_hi=
23739 break
23740 fi
23741 ac_mid=`expr 2 '*' $ac_mid`
23742 fi
23743
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 done
23746 else
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.$ac_ext >&5
23749
23750 ac_lo= ac_hi=
23751 fi
23752
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 fi
23755
23756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23757 # Binary search between lo and hi bounds.
23758 while test "x$ac_lo" != "x$ac_hi"; do
23759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23760 cat >conftest.$ac_ext <<_ACEOF
23761 /* confdefs.h. */
23762 _ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 $ac_includes_default
23767 typedef size_t ac__type_sizeof_;
23768 int
23769 main ()
23770 {
23771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23772 test_array [0] = 0
23773
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23783 esac
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_c_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23795 ac_hi=$ac_mid
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 ac_lo=`expr '(' $ac_mid ')' + 1`
23801 fi
23802
23803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23804 done
23805 case $ac_lo in
23806 ?*) ac_cv_sizeof_size_t=$ac_lo;;
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 esac
23817 else
23818 cat >conftest.$ac_ext <<_ACEOF
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 $ac_includes_default
23825 typedef size_t ac__type_sizeof_;
23826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23828 #include <stdio.h>
23829 #include <stdlib.h>
23830 int
23831 main ()
23832 {
23833
23834 FILE *f = fopen ("conftest.val", "w");
23835 if (! f)
23836 return 1;
23837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23838 {
23839 long int i = longval ();
23840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23841 return 1;
23842 fprintf (f, "%ld\n", i);
23843 }
23844 else
23845 {
23846 unsigned long int i = ulongval ();
23847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23848 return 1;
23849 fprintf (f, "%lu\n", i);
23850 }
23851 return ferror (f) || fclose (f) != 0;
23852
23853 ;
23854 return 0;
23855 }
23856 _ACEOF
23857 rm -f conftest$ac_exeext
23858 if { (ac_try="$ac_link"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23862 esac
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_link") 2>&5
23865 ac_status=$?
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_sizeof_size_t=`cat conftest.val`
23878 else
23879 echo "$as_me: program exited with status $ac_status" >&5
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23882
23883 ( exit $ac_status )
23884 if test "$ac_cv_type_size_t" = yes; then
23885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23886 See \`config.log' for more details." >&5
23887 echo "$as_me: error: cannot compute sizeof (size_t)
23888 See \`config.log' for more details." >&2;}
23889 { (exit 77); exit 77; }; }
23890 else
23891 ac_cv_sizeof_size_t=0
23892 fi
23893 fi
23894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23895 fi
23896 rm -f conftest.val
23897 fi
23898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23899 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23900
23901
23902
23903 cat >>confdefs.h <<_ACEOF
23904 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23905 _ACEOF
23906
23907
23908
23909 case "${host}" in
23910 arm-*-linux* )
23911 { echo "$as_me:$LINENO: checking for long long" >&5
23912 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23913 if test "${ac_cv_type_long_long+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 else
23916 cat >conftest.$ac_ext <<_ACEOF
23917 /* confdefs.h. */
23918 _ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 $ac_includes_default
23923 typedef long long ac__type_new_;
23924 int
23925 main ()
23926 {
23927 if ((ac__type_new_ *) 0)
23928 return 0;
23929 if (sizeof (ac__type_new_))
23930 return 0;
23931 ;
23932 return 0;
23933 }
23934 _ACEOF
23935 rm -f conftest.$ac_objext
23936 if { (ac_try="$ac_compile"
23937 case "(($ac_try" in
23938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23939 *) ac_try_echo=$ac_try;;
23940 esac
23941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23942 (eval "$ac_compile") 2>conftest.er1
23943 ac_status=$?
23944 grep -v '^ *+' conftest.er1 >conftest.err
23945 rm -f conftest.er1
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } && {
23949 test -z "$ac_c_werror_flag" ||
23950 test ! -s conftest.err
23951 } && test -s conftest.$ac_objext; then
23952 ac_cv_type_long_long=yes
23953 else
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23956
23957 ac_cv_type_long_long=no
23958 fi
23959
23960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23961 fi
23962 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23963 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23964
23965 # The cast to long int works around a bug in the HP C Compiler
23966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23968 # This bug is HP SR number 8606223364.
23969 { echo "$as_me:$LINENO: checking size of long long" >&5
23970 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23971 if test "${ac_cv_sizeof_long_long+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974 if test "$cross_compiling" = yes; then
23975 # Depending upon the size, compute the lo and hi bounds.
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23984 int
23985 main ()
23986 {
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23988 test_array [0] = 0
23989
23990 ;
23991 return 0;
23992 }
23993 _ACEOF
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
23999 esac
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24011 ac_lo=0 ac_mid=0
24012 while :; do
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 $ac_includes_default
24020 typedef long long ac__type_sizeof_;
24021 int
24022 main ()
24023 {
24024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24025 test_array [0] = 0
24026
24027 ;
24028 return 0;
24029 }
24030 _ACEOF
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24036 esac
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24039 ac_status=$?
24040 grep -v '^ *+' conftest.er1 >conftest.err
24041 rm -f conftest.er1
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_c_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.$ac_objext; then
24048 ac_hi=$ac_mid; break
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 ac_lo=`expr $ac_mid + 1`
24054 if test $ac_lo -le $ac_mid; then
24055 ac_lo= ac_hi=
24056 break
24057 fi
24058 ac_mid=`expr 2 '*' $ac_mid + 1`
24059 fi
24060
24061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24062 done
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 cat >conftest.$ac_ext <<_ACEOF
24068 /* confdefs.h. */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073 $ac_includes_default
24074 typedef long long ac__type_sizeof_;
24075 int
24076 main ()
24077 {
24078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24079 test_array [0] = 0
24080
24081 ;
24082 return 0;
24083 }
24084 _ACEOF
24085 rm -f conftest.$ac_objext
24086 if { (ac_try="$ac_compile"
24087 case "(($ac_try" in
24088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24089 *) ac_try_echo=$ac_try;;
24090 esac
24091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092 (eval "$ac_compile") 2>conftest.er1
24093 ac_status=$?
24094 grep -v '^ *+' conftest.er1 >conftest.err
24095 rm -f conftest.er1
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } && {
24099 test -z "$ac_c_werror_flag" ||
24100 test ! -s conftest.err
24101 } && test -s conftest.$ac_objext; then
24102 ac_hi=-1 ac_mid=-1
24103 while :; do
24104 cat >conftest.$ac_ext <<_ACEOF
24105 /* confdefs.h. */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24112 int
24113 main ()
24114 {
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24116 test_array [0] = 0
24117
24118 ;
24119 return 0;
24120 }
24121 _ACEOF
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127 esac
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_lo=$ac_mid; break
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_hi=`expr '(' $ac_mid ')' - 1`
24145 if test $ac_mid -le $ac_hi; then
24146 ac_lo= ac_hi=
24147 break
24148 fi
24149 ac_mid=`expr 2 '*' $ac_mid`
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 done
24154 else
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24157
24158 ac_lo= ac_hi=
24159 fi
24160
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 fi
24163
24164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 # Binary search between lo and hi bounds.
24166 while test "x$ac_lo" != "x$ac_hi"; do
24167 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24168 cat >conftest.$ac_ext <<_ACEOF
24169 /* confdefs.h. */
24170 _ACEOF
24171 cat confdefs.h >>conftest.$ac_ext
24172 cat >>conftest.$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24174 $ac_includes_default
24175 typedef long long ac__type_sizeof_;
24176 int
24177 main ()
24178 {
24179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24180 test_array [0] = 0
24181
24182 ;
24183 return 0;
24184 }
24185 _ACEOF
24186 rm -f conftest.$ac_objext
24187 if { (ac_try="$ac_compile"
24188 case "(($ac_try" in
24189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24190 *) ac_try_echo=$ac_try;;
24191 esac
24192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24193 (eval "$ac_compile") 2>conftest.er1
24194 ac_status=$?
24195 grep -v '^ *+' conftest.er1 >conftest.err
24196 rm -f conftest.er1
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } && {
24200 test -z "$ac_c_werror_flag" ||
24201 test ! -s conftest.err
24202 } && test -s conftest.$ac_objext; then
24203 ac_hi=$ac_mid
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24207
24208 ac_lo=`expr '(' $ac_mid ')' + 1`
24209 fi
24210
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24212 done
24213 case $ac_lo in
24214 ?*) ac_cv_sizeof_long_long=$ac_lo;;
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 esac
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 $ac_includes_default
24233 typedef long long ac__type_sizeof_;
24234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24236 #include <stdio.h>
24237 #include <stdlib.h>
24238 int
24239 main ()
24240 {
24241
24242 FILE *f = fopen ("conftest.val", "w");
24243 if (! f)
24244 return 1;
24245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24246 {
24247 long int i = longval ();
24248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24249 return 1;
24250 fprintf (f, "%ld\n", i);
24251 }
24252 else
24253 {
24254 unsigned long int i = ulongval ();
24255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24256 return 1;
24257 fprintf (f, "%lu\n", i);
24258 }
24259 return ferror (f) || fclose (f) != 0;
24260
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest$ac_exeext
24266 if { (ac_try="$ac_link"
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_link") 2>&5
24273 ac_status=$?
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24276 { (case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24279 esac
24280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_try") 2>&5
24282 ac_status=$?
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); }; }; then
24285 ac_cv_sizeof_long_long=`cat conftest.val`
24286 else
24287 echo "$as_me: program exited with status $ac_status" >&5
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 ( exit $ac_status )
24292 if test "$ac_cv_type_long_long" = yes; then
24293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24294 See \`config.log' for more details." >&5
24295 echo "$as_me: error: cannot compute sizeof (long long)
24296 See \`config.log' for more details." >&2;}
24297 { (exit 77); exit 77; }; }
24298 else
24299 ac_cv_sizeof_long_long=0
24300 fi
24301 fi
24302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24303 fi
24304 rm -f conftest.val
24305 fi
24306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24307 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24308
24309
24310
24311 cat >>confdefs.h <<_ACEOF
24312 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24313 _ACEOF
24314
24315
24316 ;;
24317 *-hp-hpux* )
24318 { echo "$as_me:$LINENO: checking for long long" >&5
24319 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24320 if test "${ac_cv_type_long_long+set}" = set; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 else
24323 cat >conftest.$ac_ext <<_ACEOF
24324 /* confdefs.h. */
24325 _ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 typedef long long ac__type_new_;
24331 int
24332 main ()
24333 {
24334 if ((ac__type_new_ *) 0)
24335 return 0;
24336 if (sizeof (ac__type_new_))
24337 return 0;
24338 ;
24339 return 0;
24340 }
24341 _ACEOF
24342 rm -f conftest.$ac_objext
24343 if { (ac_try="$ac_compile"
24344 case "(($ac_try" in
24345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24346 *) ac_try_echo=$ac_try;;
24347 esac
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_compile") 2>conftest.er1
24350 ac_status=$?
24351 grep -v '^ *+' conftest.er1 >conftest.err
24352 rm -f conftest.er1
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_c_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest.$ac_objext; then
24359 ac_cv_type_long_long=yes
24360 else
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24363
24364 ac_cv_type_long_long=no
24365 fi
24366
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368 fi
24369 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24370 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24371
24372 # The cast to long int works around a bug in the HP C Compiler
24373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24375 # This bug is HP SR number 8606223364.
24376 { echo "$as_me:$LINENO: checking size of long long" >&5
24377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24378 if test "${ac_cv_sizeof_long_long+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24380 else
24381 if test "$cross_compiling" = yes; then
24382 # Depending upon the size, compute the lo and hi bounds.
24383 cat >conftest.$ac_ext <<_ACEOF
24384 /* confdefs.h. */
24385 _ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24391 int
24392 main ()
24393 {
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24395 test_array [0] = 0
24396
24397 ;
24398 return 0;
24399 }
24400 _ACEOF
24401 rm -f conftest.$ac_objext
24402 if { (ac_try="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24406 esac
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24409 ac_status=$?
24410 grep -v '^ *+' conftest.er1 >conftest.err
24411 rm -f conftest.er1
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24418 ac_lo=0 ac_mid=0
24419 while :; do
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef long long ac__type_sizeof_;
24428 int
24429 main ()
24430 {
24431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24432 test_array [0] = 0
24433
24434 ;
24435 return 0;
24436 }
24437 _ACEOF
24438 rm -f conftest.$ac_objext
24439 if { (ac_try="$ac_compile"
24440 case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24442 *) ac_try_echo=$ac_try;;
24443 esac
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_compile") 2>conftest.er1
24446 ac_status=$?
24447 grep -v '^ *+' conftest.er1 >conftest.err
24448 rm -f conftest.er1
24449 cat conftest.err >&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } && {
24452 test -z "$ac_c_werror_flag" ||
24453 test ! -s conftest.err
24454 } && test -s conftest.$ac_objext; then
24455 ac_hi=$ac_mid; break
24456 else
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.$ac_ext >&5
24459
24460 ac_lo=`expr $ac_mid + 1`
24461 if test $ac_lo -le $ac_mid; then
24462 ac_lo= ac_hi=
24463 break
24464 fi
24465 ac_mid=`expr 2 '*' $ac_mid + 1`
24466 fi
24467
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 done
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 $ac_includes_default
24481 typedef long long ac__type_sizeof_;
24482 int
24483 main ()
24484 {
24485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24486 test_array [0] = 0
24487
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext
24493 if { (ac_try="$ac_compile"
24494 case "(($ac_try" in
24495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24496 *) ac_try_echo=$ac_try;;
24497 esac
24498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24499 (eval "$ac_compile") 2>conftest.er1
24500 ac_status=$?
24501 grep -v '^ *+' conftest.er1 >conftest.err
24502 rm -f conftest.er1
24503 cat conftest.err >&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } && {
24506 test -z "$ac_c_werror_flag" ||
24507 test ! -s conftest.err
24508 } && test -s conftest.$ac_objext; then
24509 ac_hi=-1 ac_mid=-1
24510 while :; do
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24519 int
24520 main ()
24521 {
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24523 test_array [0] = 0
24524
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24546 ac_lo=$ac_mid; break
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_hi=`expr '(' $ac_mid ')' - 1`
24552 if test $ac_mid -le $ac_hi; then
24553 ac_lo= ac_hi=
24554 break
24555 fi
24556 ac_mid=`expr 2 '*' $ac_mid`
24557 fi
24558
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24560 done
24561 else
24562 echo "$as_me: failed program was:" >&5
24563 sed 's/^/| /' conftest.$ac_ext >&5
24564
24565 ac_lo= ac_hi=
24566 fi
24567
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 fi
24570
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 # Binary search between lo and hi bounds.
24573 while test "x$ac_lo" != "x$ac_hi"; do
24574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24575 cat >conftest.$ac_ext <<_ACEOF
24576 /* confdefs.h. */
24577 _ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 $ac_includes_default
24582 typedef long long ac__type_sizeof_;
24583 int
24584 main ()
24585 {
24586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24587 test_array [0] = 0
24588
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24598 esac
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_c_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 ac_hi=$ac_mid
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 ac_lo=`expr '(' $ac_mid ')' + 1`
24616 fi
24617
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 done
24620 case $ac_lo in
24621 ?*) ac_cv_sizeof_long_long=$ac_lo;;
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 esac
24632 else
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 $ac_includes_default
24640 typedef long long ac__type_sizeof_;
24641 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24642 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24643 #include <stdio.h>
24644 #include <stdlib.h>
24645 int
24646 main ()
24647 {
24648
24649 FILE *f = fopen ("conftest.val", "w");
24650 if (! f)
24651 return 1;
24652 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24653 {
24654 long int i = longval ();
24655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24656 return 1;
24657 fprintf (f, "%ld\n", i);
24658 }
24659 else
24660 {
24661 unsigned long int i = ulongval ();
24662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24663 return 1;
24664 fprintf (f, "%lu\n", i);
24665 }
24666 return ferror (f) || fclose (f) != 0;
24667
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
24672 rm -f conftest$ac_exeext
24673 if { (ac_try="$ac_link"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24677 esac
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_link") 2>&5
24680 ac_status=$?
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24683 { (case "(($ac_try" in
24684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24686 esac
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_try") 2>&5
24689 ac_status=$?
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 ac_cv_sizeof_long_long=`cat conftest.val`
24693 else
24694 echo "$as_me: program exited with status $ac_status" >&5
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24697
24698 ( exit $ac_status )
24699 if test "$ac_cv_type_long_long" = yes; then
24700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24701 See \`config.log' for more details." >&5
24702 echo "$as_me: error: cannot compute sizeof (long long)
24703 See \`config.log' for more details." >&2;}
24704 { (exit 77); exit 77; }; }
24705 else
24706 ac_cv_sizeof_long_long=0
24707 fi
24708 fi
24709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24710 fi
24711 rm -f conftest.val
24712 fi
24713 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24715
24716
24717
24718 cat >>confdefs.h <<_ACEOF
24719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24720 _ACEOF
24721
24722
24723 if test "$ac_cv_sizeof_long_long" != "0"; then
24724 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24725 fi
24726 ;;
24727 * )
24728 { echo "$as_me:$LINENO: checking for long long" >&5
24729 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24730 if test "${ac_cv_type_long_long+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24732 else
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 $ac_includes_default
24740 typedef long long ac__type_new_;
24741 int
24742 main ()
24743 {
24744 if ((ac__type_new_ *) 0)
24745 return 0;
24746 if (sizeof (ac__type_new_))
24747 return 0;
24748 ;
24749 return 0;
24750 }
24751 _ACEOF
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24757 esac
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24760 ac_status=$?
24761 grep -v '^ *+' conftest.er1 >conftest.err
24762 rm -f conftest.er1
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_type_long_long=yes
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 ac_cv_type_long_long=no
24775 fi
24776
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 fi
24779 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24780 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24781
24782 # The cast to long int works around a bug in the HP C Compiler
24783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24785 # This bug is HP SR number 8606223364.
24786 { echo "$as_me:$LINENO: checking size of long long" >&5
24787 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24788 if test "${ac_cv_sizeof_long_long+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24791 if test "$cross_compiling" = yes; then
24792 # Depending upon the size, compute the lo and hi bounds.
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24801 int
24802 main ()
24803 {
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24805 test_array [0] = 0
24806
24807 ;
24808 return 0;
24809 }
24810 _ACEOF
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24816 esac
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24819 ac_status=$?
24820 grep -v '^ *+' conftest.er1 >conftest.err
24821 rm -f conftest.er1
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24828 ac_lo=0 ac_mid=0
24829 while :; do
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 $ac_includes_default
24837 typedef long long ac__type_sizeof_;
24838 int
24839 main ()
24840 {
24841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24842 test_array [0] = 0
24843
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_c_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_hi=$ac_mid; break
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 ac_lo=`expr $ac_mid + 1`
24871 if test $ac_lo -le $ac_mid; then
24872 ac_lo= ac_hi=
24873 break
24874 fi
24875 ac_mid=`expr 2 '*' $ac_mid + 1`
24876 fi
24877
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879 done
24880 else
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884 cat >conftest.$ac_ext <<_ACEOF
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 typedef long long ac__type_sizeof_;
24892 int
24893 main ()
24894 {
24895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24896 test_array [0] = 0
24897
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_c_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 ac_hi=-1 ac_mid=-1
24920 while :; do
24921 cat >conftest.$ac_ext <<_ACEOF
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24929 int
24930 main ()
24931 {
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24933 test_array [0] = 0
24934
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24944 esac
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24956 ac_lo=$ac_mid; break
24957 else
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24960
24961 ac_hi=`expr '(' $ac_mid ')' - 1`
24962 if test $ac_mid -le $ac_hi; then
24963 ac_lo= ac_hi=
24964 break
24965 fi
24966 ac_mid=`expr 2 '*' $ac_mid`
24967 fi
24968
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24970 done
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 ac_lo= ac_hi=
24976 fi
24977
24978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24979 fi
24980
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 # Binary search between lo and hi bounds.
24983 while test "x$ac_lo" != "x$ac_hi"; do
24984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24985 cat >conftest.$ac_ext <<_ACEOF
24986 /* confdefs.h. */
24987 _ACEOF
24988 cat confdefs.h >>conftest.$ac_ext
24989 cat >>conftest.$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 $ac_includes_default
24992 typedef long long ac__type_sizeof_;
24993 int
24994 main ()
24995 {
24996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24997 test_array [0] = 0
24998
24999 ;
25000 return 0;
25001 }
25002 _ACEOF
25003 rm -f conftest.$ac_objext
25004 if { (ac_try="$ac_compile"
25005 case "(($ac_try" in
25006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007 *) ac_try_echo=$ac_try;;
25008 esac
25009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010 (eval "$ac_compile") 2>conftest.er1
25011 ac_status=$?
25012 grep -v '^ *+' conftest.er1 >conftest.err
25013 rm -f conftest.er1
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && {
25017 test -z "$ac_c_werror_flag" ||
25018 test ! -s conftest.err
25019 } && test -s conftest.$ac_objext; then
25020 ac_hi=$ac_mid
25021 else
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25024
25025 ac_lo=`expr '(' $ac_mid ')' + 1`
25026 fi
25027
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 done
25030 case $ac_lo in
25031 ?*) ac_cv_sizeof_long_long=$ac_lo;;
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 esac
25042 else
25043 cat >conftest.$ac_ext <<_ACEOF
25044 /* confdefs.h. */
25045 _ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 $ac_includes_default
25050 typedef long long ac__type_sizeof_;
25051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25053 #include <stdio.h>
25054 #include <stdlib.h>
25055 int
25056 main ()
25057 {
25058
25059 FILE *f = fopen ("conftest.val", "w");
25060 if (! f)
25061 return 1;
25062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25063 {
25064 long int i = longval ();
25065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25066 return 1;
25067 fprintf (f, "%ld\n", i);
25068 }
25069 else
25070 {
25071 unsigned long int i = ulongval ();
25072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25073 return 1;
25074 fprintf (f, "%lu\n", i);
25075 }
25076 return ferror (f) || fclose (f) != 0;
25077
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest$ac_exeext
25083 if { (ac_try="$ac_link"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25087 esac
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_link") 2>&5
25090 ac_status=$?
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25093 { (case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25096 esac
25097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_try") 2>&5
25099 ac_status=$?
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; }; then
25102 ac_cv_sizeof_long_long=`cat conftest.val`
25103 else
25104 echo "$as_me: program exited with status $ac_status" >&5
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ( exit $ac_status )
25109 if test "$ac_cv_type_long_long" = yes; then
25110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25111 See \`config.log' for more details." >&5
25112 echo "$as_me: error: cannot compute sizeof (long long)
25113 See \`config.log' for more details." >&2;}
25114 { (exit 77); exit 77; }; }
25115 else
25116 ac_cv_sizeof_long_long=0
25117 fi
25118 fi
25119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25120 fi
25121 rm -f conftest.val
25122 fi
25123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25124 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25125
25126
25127
25128 cat >>confdefs.h <<_ACEOF
25129 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25130 _ACEOF
25131
25132
25133 esac
25134
25135 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25136 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_type_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
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_new_;
25165 int
25166 main ()
25167 {
25168 if ((ac__type_new_ *) 0)
25169 return 0;
25170 if (sizeof (ac__type_new_))
25171 return 0;
25172 ;
25173 return 0;
25174 }
25175 _ACEOF
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25181 esac
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_c_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_type_wchar_t=yes
25194 else
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25197
25198 ac_cv_type_wchar_t=no
25199 fi
25200
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 fi
25203 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25204 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25205
25206 # The cast to long int works around a bug in the HP C Compiler
25207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25209 # This bug is HP SR number 8606223364.
25210 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25211 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25212 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25214 else
25215 if test "$cross_compiling" = yes; then
25216 # Depending upon the size, compute the lo and hi bounds.
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223
25224 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25225 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25226 # error "fake wchar_t"
25227 #endif
25228 #ifdef HAVE_WCHAR_H
25229 # ifdef __CYGWIN__
25230 # include <stddef.h>
25231 # endif
25232 # include <wchar.h>
25233 #endif
25234 #ifdef HAVE_STDLIB_H
25235 # include <stdlib.h>
25236 #endif
25237 #include <stdio.h>
25238
25239
25240
25241 typedef wchar_t ac__type_sizeof_;
25242 int
25243 main ()
25244 {
25245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25246 test_array [0] = 0
25247
25248 ;
25249 return 0;
25250 }
25251 _ACEOF
25252 rm -f conftest.$ac_objext
25253 if { (ac_try="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25257 esac
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25260 ac_status=$?
25261 grep -v '^ *+' conftest.er1 >conftest.err
25262 rm -f conftest.er1
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_c_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25269 ac_lo=0 ac_mid=0
25270 while :; do
25271 cat >conftest.$ac_ext <<_ACEOF
25272 /* confdefs.h. */
25273 _ACEOF
25274 cat confdefs.h >>conftest.$ac_ext
25275 cat >>conftest.$ac_ext <<_ACEOF
25276 /* end confdefs.h. */
25277
25278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25280 # error "fake wchar_t"
25281 #endif
25282 #ifdef HAVE_WCHAR_H
25283 # ifdef __CYGWIN__
25284 # include <stddef.h>
25285 # endif
25286 # include <wchar.h>
25287 #endif
25288 #ifdef HAVE_STDLIB_H
25289 # include <stdlib.h>
25290 #endif
25291 #include <stdio.h>
25292
25293
25294
25295 typedef wchar_t ac__type_sizeof_;
25296 int
25297 main ()
25298 {
25299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25300 test_array [0] = 0
25301
25302 ;
25303 return 0;
25304 }
25305 _ACEOF
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25311 esac
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25314 ac_status=$?
25315 grep -v '^ *+' conftest.er1 >conftest.err
25316 rm -f conftest.er1
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.$ac_objext; then
25323 ac_hi=$ac_mid; break
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328 ac_lo=`expr $ac_mid + 1`
25329 if test $ac_lo -le $ac_mid; then
25330 ac_lo= ac_hi=
25331 break
25332 fi
25333 ac_mid=`expr 2 '*' $ac_mid + 1`
25334 fi
25335
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337 done
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 cat >conftest.$ac_ext <<_ACEOF
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348
25349 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25350 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25351 # error "fake wchar_t"
25352 #endif
25353 #ifdef HAVE_WCHAR_H
25354 # ifdef __CYGWIN__
25355 # include <stddef.h>
25356 # endif
25357 # include <wchar.h>
25358 #endif
25359 #ifdef HAVE_STDLIB_H
25360 # include <stdlib.h>
25361 #endif
25362 #include <stdio.h>
25363
25364
25365
25366 typedef wchar_t ac__type_sizeof_;
25367 int
25368 main ()
25369 {
25370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25371 test_array [0] = 0
25372
25373 ;
25374 return 0;
25375 }
25376 _ACEOF
25377 rm -f conftest.$ac_objext
25378 if { (ac_try="$ac_compile"
25379 case "(($ac_try" in
25380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25381 *) ac_try_echo=$ac_try;;
25382 esac
25383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25384 (eval "$ac_compile") 2>conftest.er1
25385 ac_status=$?
25386 grep -v '^ *+' conftest.er1 >conftest.err
25387 rm -f conftest.er1
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } && {
25391 test -z "$ac_c_werror_flag" ||
25392 test ! -s conftest.err
25393 } && test -s conftest.$ac_objext; then
25394 ac_hi=-1 ac_mid=-1
25395 while :; do
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402
25403 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25404 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25405 # error "fake wchar_t"
25406 #endif
25407 #ifdef HAVE_WCHAR_H
25408 # ifdef __CYGWIN__
25409 # include <stddef.h>
25410 # endif
25411 # include <wchar.h>
25412 #endif
25413 #ifdef HAVE_STDLIB_H
25414 # include <stdlib.h>
25415 #endif
25416 #include <stdio.h>
25417
25418
25419
25420 typedef wchar_t ac__type_sizeof_;
25421 int
25422 main ()
25423 {
25424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25425 test_array [0] = 0
25426
25427 ;
25428 return 0;
25429 }
25430 _ACEOF
25431 rm -f conftest.$ac_objext
25432 if { (ac_try="$ac_compile"
25433 case "(($ac_try" in
25434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25435 *) ac_try_echo=$ac_try;;
25436 esac
25437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25438 (eval "$ac_compile") 2>conftest.er1
25439 ac_status=$?
25440 grep -v '^ *+' conftest.er1 >conftest.err
25441 rm -f conftest.er1
25442 cat conftest.err >&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } && {
25445 test -z "$ac_c_werror_flag" ||
25446 test ! -s conftest.err
25447 } && test -s conftest.$ac_objext; then
25448 ac_lo=$ac_mid; break
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 ac_hi=`expr '(' $ac_mid ')' - 1`
25454 if test $ac_mid -le $ac_hi; then
25455 ac_lo= ac_hi=
25456 break
25457 fi
25458 ac_mid=`expr 2 '*' $ac_mid`
25459 fi
25460
25461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462 done
25463 else
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25466
25467 ac_lo= ac_hi=
25468 fi
25469
25470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25471 fi
25472
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 # Binary search between lo and hi bounds.
25475 while test "x$ac_lo" != "x$ac_hi"; do
25476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25477 cat >conftest.$ac_ext <<_ACEOF
25478 /* confdefs.h. */
25479 _ACEOF
25480 cat confdefs.h >>conftest.$ac_ext
25481 cat >>conftest.$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25483
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t"
25487 #endif
25488 #ifdef HAVE_WCHAR_H
25489 # ifdef __CYGWIN__
25490 # include <stddef.h>
25491 # endif
25492 # include <wchar.h>
25493 #endif
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25496 #endif
25497 #include <stdio.h>
25498
25499
25500
25501 typedef wchar_t ac__type_sizeof_;
25502 int
25503 main ()
25504 {
25505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25506 test_array [0] = 0
25507
25508 ;
25509 return 0;
25510 }
25511 _ACEOF
25512 rm -f conftest.$ac_objext
25513 if { (ac_try="$ac_compile"
25514 case "(($ac_try" in
25515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25516 *) ac_try_echo=$ac_try;;
25517 esac
25518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25519 (eval "$ac_compile") 2>conftest.er1
25520 ac_status=$?
25521 grep -v '^ *+' conftest.er1 >conftest.err
25522 rm -f conftest.er1
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } && {
25526 test -z "$ac_c_werror_flag" ||
25527 test ! -s conftest.err
25528 } && test -s conftest.$ac_objext; then
25529 ac_hi=$ac_mid
25530 else
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25533
25534 ac_lo=`expr '(' $ac_mid ')' + 1`
25535 fi
25536
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538 done
25539 case $ac_lo in
25540 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25541 '') if test "$ac_cv_type_wchar_t" = yes; then
25542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25543 See \`config.log' for more details." >&5
25544 echo "$as_me: error: cannot compute sizeof (wchar_t)
25545 See \`config.log' for more details." >&2;}
25546 { (exit 77); exit 77; }; }
25547 else
25548 ac_cv_sizeof_wchar_t=0
25549 fi ;;
25550 esac
25551 else
25552 cat >conftest.$ac_ext <<_ACEOF
25553 /* confdefs.h. */
25554 _ACEOF
25555 cat confdefs.h >>conftest.$ac_ext
25556 cat >>conftest.$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25558
25559 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25560 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25561 # error "fake wchar_t"
25562 #endif
25563 #ifdef HAVE_WCHAR_H
25564 # ifdef __CYGWIN__
25565 # include <stddef.h>
25566 # endif
25567 # include <wchar.h>
25568 #endif
25569 #ifdef HAVE_STDLIB_H
25570 # include <stdlib.h>
25571 #endif
25572 #include <stdio.h>
25573
25574
25575
25576 typedef wchar_t ac__type_sizeof_;
25577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25579 #include <stdio.h>
25580 #include <stdlib.h>
25581 int
25582 main ()
25583 {
25584
25585 FILE *f = fopen ("conftest.val", "w");
25586 if (! f)
25587 return 1;
25588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25589 {
25590 long int i = longval ();
25591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25592 return 1;
25593 fprintf (f, "%ld\n", i);
25594 }
25595 else
25596 {
25597 unsigned long int i = ulongval ();
25598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25599 return 1;
25600 fprintf (f, "%lu\n", i);
25601 }
25602 return ferror (f) || fclose (f) != 0;
25603
25604 ;
25605 return 0;
25606 }
25607 _ACEOF
25608 rm -f conftest$ac_exeext
25609 if { (ac_try="$ac_link"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25613 esac
25614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_link") 2>&5
25616 ac_status=$?
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
25625 ac_status=$?
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; }; then
25628 ac_cv_sizeof_wchar_t=`cat conftest.val`
25629 else
25630 echo "$as_me: program exited with status $ac_status" >&5
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 ( exit $ac_status )
25635 if test "$ac_cv_type_wchar_t" = yes; then
25636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25637 See \`config.log' for more details." >&5
25638 echo "$as_me: error: cannot compute sizeof (wchar_t)
25639 See \`config.log' for more details." >&2;}
25640 { (exit 77); exit 77; }; }
25641 else
25642 ac_cv_sizeof_wchar_t=0
25643 fi
25644 fi
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25646 fi
25647 rm -f conftest.val
25648 fi
25649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25650 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25651
25652
25653
25654 cat >>confdefs.h <<_ACEOF
25655 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25656 _ACEOF
25657
25658
25659 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25660 wxUSE_WCHAR_T=yes
25661 else
25662 wxUSE_WCHAR_T=no
25663 fi
25664
25665 { echo "$as_me:$LINENO: checking for va_copy" >&5
25666 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25667 if test "${wx_cv_func_va_copy+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25669 else
25670
25671 ac_ext=cpp
25672 ac_cpp='$CXXCPP $CPPFLAGS'
25673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25676
25677 cat >conftest.$ac_ext <<_ACEOF
25678
25679 #include <stdarg.h>
25680 void foo(char *f, ...)
25681 {
25682 va_list ap1, ap2;
25683 va_start(ap1, f);
25684 va_copy(ap2, ap1);
25685 va_end(ap2);
25686 va_end(ap1);
25687 }
25688 int main()
25689 {
25690 foo("hi", 17);
25691 return 0;
25692 }
25693 _ACEOF
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (ac_try="$ac_link"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25699 esac
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_link") 2>conftest.er1
25702 ac_status=$?
25703 grep -v '^ *+' conftest.er1 >conftest.err
25704 rm -f conftest.er1
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest$ac_exeext &&
25711 $as_test_x conftest$ac_exeext; then
25712 wx_cv_func_va_copy=yes
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 wx_cv_func_va_copy=no
25718
25719 fi
25720
25721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25722 conftest$ac_exeext conftest.$ac_ext
25723 ac_ext=c
25724 ac_cpp='$CPP $CPPFLAGS'
25725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25728
25729
25730
25731 fi
25732 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25733 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25734
25735 if test $wx_cv_func_va_copy = "yes"; then
25736 cat >>confdefs.h <<\_ACEOF
25737 #define HAVE_VA_COPY 1
25738 _ACEOF
25739
25740 else
25741 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25742 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25743 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746
25747 if test "$cross_compiling" = yes; then
25748 wx_cv_type_va_list_lvalue=yes
25749
25750 else
25751 cat >conftest.$ac_ext <<_ACEOF
25752
25753 #include <stdarg.h>
25754 int foo(char *f, ...)
25755 {
25756 va_list ap1, ap2;
25757 va_start(ap1, f);
25758 ap2 = ap1;
25759 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25760 return 1;
25761 va_end(ap2);
25762 va_end(ap1);
25763 return 0;
25764 }
25765 int main()
25766 {
25767 return foo("hi", 17);
25768 }
25769 _ACEOF
25770 rm -f conftest$ac_exeext
25771 if { (ac_try="$ac_link"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25775 esac
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_link") 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25781 { (case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25784 esac
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_try") 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_type_va_list_lvalue=yes
25791 else
25792 echo "$as_me: program exited with status $ac_status" >&5
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 ( exit $ac_status )
25797 wx_cv_type_va_list_lvalue=no
25798 fi
25799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25800 fi
25801
25802
25803
25804
25805 fi
25806 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25807 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25808
25809 if test $wx_cv_type_va_list_lvalue != "yes"; then
25810 cat >>confdefs.h <<\_ACEOF
25811 #define VA_LIST_IS_ARRAY 1
25812 _ACEOF
25813
25814 fi
25815 fi
25816
25817 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25818
25819 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25820 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25821 if test "${wx_cv_have_variadic_macros+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824
25825 ac_ext=cpp
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25830
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837
25838 #include <stdio.h>
25839 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25840
25841 int
25842 main ()
25843 {
25844
25845 test("%s %d %p", "test", 1, 0);
25846
25847
25848 ;
25849 return 0;
25850 }
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25857 esac
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 wx_cv_have_variadic_macros=yes
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 wx_cv_have_variadic_macros=no
25875
25876 fi
25877
25878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25879 ac_ext=c
25880 ac_cpp='$CPP $CPPFLAGS'
25881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25884
25885
25886
25887 fi
25888 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25889 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25890
25891 if test $wx_cv_have_variadic_macros = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define HAVE_VARIADIC_MACROS 1
25894 _ACEOF
25895
25896 fi
25897
25898 fi
25899 # Check whether --enable-largefile was given.
25900 if test "${enable_largefile+set}" = set; then
25901 enableval=$enable_largefile;
25902 fi
25903
25904 if test "$enable_largefile" != no; then
25905 wx_largefile=no
25906
25907 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25908 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25909 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 else
25912
25913 cat >conftest.$ac_ext <<_ACEOF
25914 /* confdefs.h. */
25915 _ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #define _FILE_OFFSET_BITS 64
25920 #include <sys/types.h>
25921 int
25922 main ()
25923 {
25924 typedef struct {
25925 unsigned int field: sizeof(off_t) == 8;
25926 } wxlf;
25927
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext
25933 if { (ac_try="$ac_compile"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936 *) ac_try_echo=$ac_try;;
25937 esac
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_c_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 ac_cv_sys_file_offset_bits=64
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 ac_cv_sys_file_offset_bits=no
25955 fi
25956
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958
25959
25960 fi
25961 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25963
25964 if test "$ac_cv_sys_file_offset_bits" != no; then
25965 wx_largefile=yes
25966 cat >>confdefs.h <<_ACEOF
25967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25968 _ACEOF
25969
25970 fi
25971
25972 if test "x$wx_largefile" != "xyes"; then
25973
25974 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25976 if test "${ac_cv_sys_large_files+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #define _LARGE_FILES 1
25987 #include <sys/types.h>
25988 int
25989 main ()
25990 {
25991 typedef struct {
25992 unsigned int field: sizeof(off_t) == 8;
25993 } wxlf;
25994
25995 ;
25996 return 0;
25997 }
25998 _ACEOF
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26004 esac
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_c_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_sys_large_files=1
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 ac_cv_sys_large_files=no
26022 fi
26023
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025
26026
26027 fi
26028 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26029 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26030
26031 if test "$ac_cv_sys_large_files" != no; then
26032 wx_largefile=yes
26033 cat >>confdefs.h <<_ACEOF
26034 #define _LARGE_FILES $ac_cv_sys_large_files
26035 _ACEOF
26036
26037 fi
26038
26039 fi
26040
26041 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26042 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26043 if test "x$wx_largefile" = "xyes"; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_LARGEFILE_SUPPORT 1
26046 _ACEOF
26047
26048 fi
26049 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26050 echo "${ECHO_T}$wx_largefile" >&6; }
26051 fi
26052
26053
26054 if test "x$wx_largefile" = "xyes"; then
26055 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26057
26058 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26059 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26060 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26061 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077
26078 int
26079 main ()
26080 {
26081
26082 #ifndef __STDC_EXT__
26083 choke me
26084 #endif
26085
26086 ;
26087 return 0;
26088 }
26089 _ACEOF
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26095 esac
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 wx_cv_STDC_EXT_required=no
26108 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 wx_cv_STDC_EXT_required=yes
26113
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26122
26123
26124
26125 fi
26126 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26127 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26128 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26129 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26130 fi
26131 fi
26132 else
26133 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26134 fi
26135 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26136 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26137 if test "${ac_cv_sys_largefile_source+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140 while :; do
26141 cat >conftest.$ac_ext <<_ACEOF
26142 /* confdefs.h. */
26143 _ACEOF
26144 cat confdefs.h >>conftest.$ac_ext
26145 cat >>conftest.$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 #include <sys/types.h> /* for off_t */
26148 #include <stdio.h>
26149 int
26150 main ()
26151 {
26152 int (*fp) (FILE *, off_t, int) = fseeko;
26153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26154 ;
26155 return 0;
26156 }
26157 _ACEOF
26158 rm -f conftest.$ac_objext conftest$ac_exeext
26159 if { (ac_try="$ac_link"
26160 case "(($ac_try" in
26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162 *) ac_try_echo=$ac_try;;
26163 esac
26164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165 (eval "$ac_link") 2>conftest.er1
26166 ac_status=$?
26167 grep -v '^ *+' conftest.er1 >conftest.err
26168 rm -f conftest.er1
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } && {
26172 test -z "$ac_c_werror_flag" ||
26173 test ! -s conftest.err
26174 } && test -s conftest$ac_exeext &&
26175 $as_test_x conftest$ac_exeext; then
26176 ac_cv_sys_largefile_source=no; break
26177 else
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181
26182 fi
26183
26184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26185 conftest$ac_exeext conftest.$ac_ext
26186 cat >conftest.$ac_ext <<_ACEOF
26187 /* confdefs.h. */
26188 _ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 #define _LARGEFILE_SOURCE 1
26193 #include <sys/types.h> /* for off_t */
26194 #include <stdio.h>
26195 int
26196 main ()
26197 {
26198 int (*fp) (FILE *, off_t, int) = fseeko;
26199 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26200 ;
26201 return 0;
26202 }
26203 _ACEOF
26204 rm -f conftest.$ac_objext conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26208 *) ac_try_echo=$ac_try;;
26209 esac
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>conftest.er1
26212 ac_status=$?
26213 grep -v '^ *+' conftest.er1 >conftest.err
26214 rm -f conftest.er1
26215 cat conftest.err >&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } && {
26218 test -z "$ac_c_werror_flag" ||
26219 test ! -s conftest.err
26220 } && test -s conftest$ac_exeext &&
26221 $as_test_x conftest$ac_exeext; then
26222 ac_cv_sys_largefile_source=1; break
26223 else
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26226
26227
26228 fi
26229
26230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26231 conftest$ac_exeext conftest.$ac_ext
26232 ac_cv_sys_largefile_source=unknown
26233 break
26234 done
26235 fi
26236 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26237 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26238 case $ac_cv_sys_largefile_source in #(
26239 no | unknown) ;;
26240 *)
26241 cat >>confdefs.h <<_ACEOF
26242 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26243 _ACEOF
26244 ;;
26245 esac
26246 rm -f conftest*
26247
26248 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26249 # in glibc 2.1.3, but that breaks too many other things.
26250 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26251 if test $ac_cv_sys_largefile_source != unknown; then
26252
26253 cat >>confdefs.h <<\_ACEOF
26254 #define HAVE_FSEEKO 1
26255 _ACEOF
26256
26257 fi
26258
26259 if test "$ac_cv_sys_largefile_source" != no; then
26260 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26261 fi
26262 fi
26263
26264 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26265 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26266 if test "${ac_cv_c_bigendian+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 else
26269 ac_cv_c_bigendian=unknown
26270 # See if sys/param.h defines the BYTE_ORDER macro.
26271 cat >conftest.$ac_ext <<_ACEOF
26272 /* confdefs.h. */
26273 _ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <sys/types.h>
26278 #include <sys/param.h>
26279 int
26280 main ()
26281 {
26282
26283 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26284 bogus endian macros
26285 #endif
26286 ;
26287 return 0;
26288 }
26289 _ACEOF
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26295 esac
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26298 ac_status=$?
26299 grep -v '^ *+' conftest.er1 >conftest.err
26300 rm -f conftest.er1
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_c_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 # It does; now see whether it defined to BIG_ENDIAN or not.
26308 cat >conftest.$ac_ext <<_ACEOF
26309 /* confdefs.h. */
26310 _ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <sys/types.h>
26315 #include <sys/param.h>
26316 int
26317 main ()
26318 {
26319
26320 #if BYTE_ORDER != BIG_ENDIAN
26321 not big endian
26322 #endif
26323 ;
26324 return 0;
26325 }
26326 _ACEOF
26327 rm -f conftest.$ac_objext
26328 if { (ac_try="$ac_compile"
26329 case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26332 esac
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_compile") 2>conftest.er1
26335 ac_status=$?
26336 grep -v '^ *+' conftest.er1 >conftest.err
26337 rm -f conftest.er1
26338 cat conftest.err >&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } && {
26341 test -z "$ac_c_werror_flag" ||
26342 test ! -s conftest.err
26343 } && test -s conftest.$ac_objext; then
26344 ac_cv_c_bigendian=yes
26345 else
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 ac_cv_c_bigendian=no
26350 fi
26351
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357
26358 fi
26359
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 if test $ac_cv_c_bigendian = unknown; then
26362 if test "$cross_compiling" = yes; then
26363 ac_cv_c_bigendian=unknown
26364 else
26365 cat >conftest.$ac_ext <<_ACEOF
26366 /* confdefs.h. */
26367 _ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26371 main () {
26372 /* Are we little or big endian? From Harbison&Steele. */
26373 union
26374 {
26375 long l;
26376 char c[sizeof (long)];
26377 } u;
26378 u.l = 1;
26379 exit (u.c[sizeof (long) - 1] == 1);
26380 }
26381 _ACEOF
26382 rm -f conftest$ac_exeext
26383 if { (ac_try="$ac_link"
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_link") 2>&5
26390 ac_status=$?
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26393 { (case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26396 esac
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_try") 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 ac_cv_c_bigendian=no
26403 else
26404 echo "$as_me: program exited with status $ac_status" >&5
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26407
26408 ( exit $ac_status )
26409 ac_cv_c_bigendian=yes
26410 fi
26411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26412 fi
26413
26414
26415 fi
26416 fi
26417 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26418 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26419 if test $ac_cv_c_bigendian = unknown; then
26420 { 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
26421 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;}
26422 fi
26423 if test $ac_cv_c_bigendian = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define WORDS_BIGENDIAN 1
26426 _ACEOF
26427
26428 fi
26429
26430
26431
26432
26433 ac_ext=cpp
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438
26439
26440
26441 for ac_header in iostream
26442 do
26443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 cat >conftest.$ac_ext <<_ACEOF
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455
26456
26457 #include <$ac_header>
26458 _ACEOF
26459 rm -f conftest.$ac_objext
26460 if { (ac_try="$ac_compile"
26461 case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26464 esac
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_compile") 2>conftest.er1
26467 ac_status=$?
26468 grep -v '^ *+' conftest.er1 >conftest.err
26469 rm -f conftest.er1
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } && {
26473 test -z "$ac_cxx_werror_flag" ||
26474 test ! -s conftest.err
26475 } && test -s conftest.$ac_objext; then
26476 eval "$as_ac_Header=yes"
26477 else
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.$ac_ext >&5
26480
26481 eval "$as_ac_Header=no"
26482 fi
26483
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 fi
26486 ac_res=`eval echo '${'$as_ac_Header'}'`
26487 { echo "$as_me:$LINENO: result: $ac_res" >&5
26488 echo "${ECHO_T}$ac_res" >&6; }
26489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26490 cat >>confdefs.h <<_ACEOF
26491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26492 _ACEOF
26493
26494 fi
26495
26496 done
26497
26498
26499 if test "$ac_cv_header_iostream" = "yes" ; then
26500 :
26501 else
26502 cat >>confdefs.h <<\_ACEOF
26503 #define wxUSE_IOSTREAMH 1
26504 _ACEOF
26505
26506 fi
26507
26508 ac_ext=c
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26513
26514
26515
26516
26517 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26518 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26519 if test "${wx_cv_cpp_bool+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 else
26522
26523
26524 ac_ext=cpp
26525 ac_cpp='$CXXCPP $CPPFLAGS'
26526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26529
26530
26531 cat >conftest.$ac_ext <<_ACEOF
26532 /* confdefs.h. */
26533 _ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537
26538
26539 int
26540 main ()
26541 {
26542
26543 bool b = true;
26544
26545 return 0;
26546
26547 ;
26548 return 0;
26549 }
26550 _ACEOF
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26556 esac
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26559 ac_status=$?
26560 grep -v '^ *+' conftest.er1 >conftest.err
26561 rm -f conftest.er1
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_cxx_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26568
26569 wx_cv_cpp_bool=yes
26570
26571 else
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26574
26575
26576 wx_cv_cpp_bool=no
26577
26578
26579 fi
26580
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582
26583 ac_ext=c
26584 ac_cpp='$CPP $CPPFLAGS'
26585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26588
26589
26590 fi
26591 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26592 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26593
26594 if test "$wx_cv_cpp_bool" = "yes"; then
26595 cat >>confdefs.h <<\_ACEOF
26596 #define HAVE_BOOL 1
26597 _ACEOF
26598
26599 fi
26600
26601
26602
26603 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26604 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26605 if test "${wx_cv_explicit+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 else
26608
26609
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615
26616
26617 cat >conftest.$ac_ext <<_ACEOF
26618 /* confdefs.h. */
26619 _ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623
26624 class Foo { public: explicit Foo(int) {} };
26625
26626 int
26627 main ()
26628 {
26629
26630 return 0;
26631
26632 ;
26633 return 0;
26634 }
26635 _ACEOF
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26641 esac
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_cxx_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26653
26654 cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660
26661 class Foo { public: explicit Foo(int) {} };
26662 static void TakeFoo(const Foo& foo) { }
26663
26664 int
26665 main ()
26666 {
26667
26668 TakeFoo(17);
26669 return 0;
26670
26671 ;
26672 return 0;
26673 }
26674 _ACEOF
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26680 esac
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26683 ac_status=$?
26684 grep -v '^ *+' conftest.er1 >conftest.err
26685 rm -f conftest.er1
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_cxx_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26692 wx_cv_explicit=no
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 wx_cv_explicit=yes
26698
26699 fi
26700
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26702
26703 else
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26706
26707 wx_cv_explicit=no
26708
26709 fi
26710
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712
26713 ac_ext=c
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26718
26719
26720 fi
26721 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26722 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26723
26724 if test "$wx_cv_explicit" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_EXPLICIT 1
26727 _ACEOF
26728
26729 fi
26730
26731
26732 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26733 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26734 if test "${ac_cv_cxx_const_cast+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 else
26737
26738 ac_ext=cpp
26739 ac_cpp='$CXXCPP $CPPFLAGS'
26740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26743
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750
26751 int
26752 main ()
26753 {
26754 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26755 ;
26756 return 0;
26757 }
26758 _ACEOF
26759 rm -f conftest.$ac_objext
26760 if { (ac_try="$ac_compile"
26761 case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26764 esac
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_compile") 2>conftest.er1
26767 ac_status=$?
26768 grep -v '^ *+' conftest.er1 >conftest.err
26769 rm -f conftest.er1
26770 cat conftest.err >&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); } && {
26773 test -z "$ac_cxx_werror_flag" ||
26774 test ! -s conftest.err
26775 } && test -s conftest.$ac_objext; then
26776 ac_cv_cxx_const_cast=yes
26777 else
26778 echo "$as_me: failed program was:" >&5
26779 sed 's/^/| /' conftest.$ac_ext >&5
26780
26781 ac_cv_cxx_const_cast=no
26782 fi
26783
26784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26785 ac_ext=c
26786 ac_cpp='$CPP $CPPFLAGS'
26787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26790
26791
26792 fi
26793 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26794 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26795 if test "$ac_cv_cxx_const_cast" = yes; then
26796
26797 cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_CONST_CAST
26799 _ACEOF
26800
26801 fi
26802
26803 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26804 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26805 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 else
26808
26809 ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <typeinfo>
26822 class Base { public : Base () {} virtual void f () = 0;};
26823 class Derived : public Base { public : Derived () {} virtual void f () {} };
26824 class Unrelated { public : Unrelated () {} };
26825 int g (Unrelated&) { return 0; }
26826 int
26827 main ()
26828 {
26829
26830 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26831 ;
26832 return 0;
26833 }
26834 _ACEOF
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26840 esac
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26843 ac_status=$?
26844 grep -v '^ *+' conftest.er1 >conftest.err
26845 rm -f conftest.er1
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_reinterpret_cast=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_cxx_reinterpret_cast=no
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866
26867
26868 fi
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26871 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26872
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_REINTERPRET_CAST
26875 _ACEOF
26876
26877 fi
26878
26879 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26880 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26881 if test "${ac_cv_cxx_static_cast+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 else
26884
26885 ac_ext=cpp
26886 ac_cpp='$CXXCPP $CPPFLAGS'
26887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26890
26891 cat >conftest.$ac_ext <<_ACEOF
26892 /* confdefs.h. */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <typeinfo>
26898 class Base { public : Base () {} virtual void f () = 0; };
26899 class Derived : public Base { public : Derived () {} virtual void f () {} };
26900 int g (Derived&) { return 0; }
26901 int
26902 main ()
26903 {
26904
26905 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26906 ;
26907 return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26915 esac
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26918 ac_status=$?
26919 grep -v '^ *+' conftest.er1 >conftest.err
26920 rm -f conftest.er1
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_cv_cxx_static_cast=yes
26928 else
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26931
26932 ac_cv_cxx_static_cast=no
26933 fi
26934
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941
26942
26943 fi
26944 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26945 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26946 if test "$ac_cv_cxx_static_cast" = yes; then
26947
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_STATIC_CAST
26950 _ACEOF
26951
26952 fi
26953
26954
26955 if test "x$SUNCXX" = xyes; then
26956 CXXFLAGS="-features=tmplife $CXXFLAGS"
26957 fi
26958
26959 if test "x$SUNCC" = xyes; then
26960 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26961 fi
26962
26963 if test "x$SGICC" = "xyes"; then
26964 CFLAGS="-woff 3970 $CFLAGS"
26965 fi
26966 if test "x$SGICXX" = "xyes"; then
26967 CXXFLAGS="-woff 3970 $CXXFLAGS"
26968 fi
26969
26970 if test "x$HPCC" = "xyes"; then
26971 CFLAGS="+W 2011,2450 $CFLAGS"
26972 fi
26973 if test "x$HPCXX" = "xyes"; then
26974 CXXFLAGS="+W 2340 $CXXFLAGS"
26975 fi
26976
26977 if test "x$COMPAQCXX" = "xyes"; then
26978 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26979 fi
26980
26981 ac_ext=cpp
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26986
26987
26988 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26989 if test "$wxUSE_UNICODE" = "yes"; then
26990 std_string="std::wstring"
26991 char_type="wchar_t"
26992 else
26993 std_string="std::string"
26994 char_type="char"
26995 fi
26996
26997 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26998 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26999 if test "${wx_cv_class_stdstring+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002
27003 cat >conftest.$ac_ext <<_ACEOF
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <string>
27010 int
27011 main ()
27012 {
27013 $std_string foo;
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27023 esac
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27026 ac_status=$?
27027 grep -v '^ *+' conftest.er1 >conftest.err
27028 rm -f conftest.er1
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdstring=yes
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040 wx_cv_class_stdstring=no
27041
27042 fi
27043
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27045
27046
27047 fi
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27050
27051 if test "$wx_cv_class_stdstring" = yes; then
27052 if test "$wxUSE_UNICODE" = "yes"; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define HAVE_STD_WSTRING 1
27055 _ACEOF
27056
27057 fi
27058 else
27059 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27060 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27061 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064
27065 cat >conftest.$ac_ext <<_ACEOF
27066 /* confdefs.h. */
27067 _ACEOF
27068 cat confdefs.h >>conftest.$ac_ext
27069 cat >>conftest.$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27071
27072 #ifdef HAVE_WCHAR_H
27073 # ifdef __CYGWIN__
27074 # include <stddef.h>
27075 # endif
27076 # include <wchar.h>
27077 #endif
27078 #ifdef HAVE_STDLIB_H
27079 # include <stdlib.h>
27080 #endif
27081 #include <stdio.h>
27082 #include <string>
27083
27084 int
27085 main ()
27086 {
27087 std::basic_string<$char_type> foo;
27088 const $char_type* dummy = foo.c_str();
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 wx_cv_class_stdbasicstring=yes
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115 wx_cv_class_stdbasicstring=no
27116
27117 fi
27118
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120
27121
27122 fi
27123 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27124 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27125
27126 if test "$wx_cv_class_stdbasicstring" != yes; then
27127 if test "$wxUSE_STL" = "yes"; then
27128 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27129 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27130 { (exit 1); exit 1; }; }
27131 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27132 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27133 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27134 { (exit 1); exit 1; }; }
27135 else
27136 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27137 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27138 wxUSE_STD_STRING=no
27139 fi
27140 fi
27141 fi
27142 fi
27143
27144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for std::istream" >&5
27146 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__istream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27157
27158 typedef std::istream ac__type_new_;
27159 int
27160 main ()
27161 {
27162 if ((ac__type_new_ *) 0)
27163 return 0;
27164 if (sizeof (ac__type_new_))
27165 return 0;
27166 ;
27167 return 0;
27168 }
27169 _ACEOF
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27175 esac
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27178 ac_status=$?
27179 grep -v '^ *+' conftest.er1 >conftest.err
27180 rm -f conftest.er1
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__istream=yes
27188 else
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27191
27192 ac_cv_type_std__istream=no
27193 fi
27194
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 fi
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27199 if test $ac_cv_type_std__istream = yes; then
27200
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__ISTREAM 1
27203 _ACEOF
27204
27205
27206 else
27207 wxUSE_STD_IOSTREAM=no
27208 fi
27209 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27210 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_std__ostream+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27213 else
27214 cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h. */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <iostream>
27221
27222 typedef std::ostream ac__type_new_;
27223 int
27224 main ()
27225 {
27226 if ((ac__type_new_ *) 0)
27227 return 0;
27228 if (sizeof (ac__type_new_))
27229 return 0;
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27239 esac
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27242 ac_status=$?
27243 grep -v '^ *+' conftest.er1 >conftest.err
27244 rm -f conftest.er1
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_cxx_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_cv_type_std__ostream=yes
27252 else
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256 ac_cv_type_std__ostream=no
27257 fi
27258
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27260 fi
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27262 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27263 if test $ac_cv_type_std__ostream = yes; then
27264
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_STD__OSTREAM 1
27267 _ACEOF
27268
27269
27270 else
27271 wxUSE_STD_IOSTREAM=no
27272 fi
27273
27274
27275 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27276 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27277 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27278 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27279 { (exit 1); exit 1; }; }
27280 else
27281 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27282 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27283 fi
27284 fi
27285 fi
27286
27287 if test "$wxUSE_STL" = "yes"; then
27288 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27289 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27290 if test "${wx_cv_lib_stl+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 else
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <string>
27300 #include <functional>
27301 #include <algorithm>
27302 #include <vector>
27303 #include <list>
27304 int
27305 main ()
27306 {
27307 std::vector<int> moo;
27308 std::list<int> foo;
27309 std::vector<int>::iterator it =
27310 std::find_if(moo.begin(), moo.end(),
27311 std::bind2nd(std::less<int>(), 3));
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27321 esac
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27333 wx_cv_lib_stl=yes
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 wx_cv_lib_stl=no
27339
27340 fi
27341
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27343
27344 fi
27345 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27346 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27347
27348 if test "$wx_cv_lib_stl" != yes; then
27349 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27350 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27351 { (exit 1); exit 1; }; }
27352 fi
27353
27354 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27355 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27356 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 else
27359 cat >conftest.$ac_ext <<_ACEOF
27360 /* confdefs.h. */
27361 _ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27365 #include <string>
27366 int
27367 main ()
27368 {
27369 std::string foo, bar;
27370 foo.compare(bar);
27371 foo.compare(1, 1, bar);
27372 foo.compare(1, 1, bar, 1, 1);
27373 foo.compare("");
27374 foo.compare(1, 1, "");
27375 foo.compare(1, 1, "", 2);
27376 ;
27377 return 0;
27378 }
27379 _ACEOF
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27385 esac
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27388 ac_status=$?
27389 grep -v '^ *+' conftest.er1 >conftest.err
27390 rm -f conftest.er1
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_cxx_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 wx_cv_func_stdstring_compare=yes
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27401
27402 wx_cv_func_stdstring_compare=no
27403
27404 fi
27405
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27407
27408 fi
27409 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27410 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27411
27412 if test "$wx_cv_func_stdstring_compare" = yes; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define HAVE_STD_STRING_COMPARE 1
27415 _ACEOF
27416
27417 fi
27418
27419 { echo "$as_me:$LINENO: checking for hash_map" >&5
27420 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27421 if test "${ac_cv_header_hash_map+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27423 else
27424 cat >conftest.$ac_ext <<_ACEOF
27425 /* confdefs.h. */
27426 _ACEOF
27427 cat confdefs.h >>conftest.$ac_ext
27428 cat >>conftest.$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27430
27431
27432
27433 #include <hash_map>
27434 _ACEOF
27435 rm -f conftest.$ac_objext
27436 if { (ac_try="$ac_compile"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27440 esac
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_compile") 2>conftest.er1
27443 ac_status=$?
27444 grep -v '^ *+' conftest.er1 >conftest.err
27445 rm -f conftest.er1
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_cxx_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest.$ac_objext; then
27452 ac_cv_header_hash_map=yes
27453 else
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27456
27457 ac_cv_header_hash_map=no
27458 fi
27459
27460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27461 fi
27462 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27463 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27464 if test $ac_cv_header_hash_map = yes; then
27465 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27466 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27467 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27470 cat >conftest.$ac_ext <<_ACEOF
27471 /* confdefs.h. */
27472 _ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h. */
27476 #include <hash_map>
27477 #include <hash_set>
27478 int
27479 main ()
27480 {
27481 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27482 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27483 ;
27484 return 0;
27485 }
27486 _ACEOF
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27492 esac
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_cxx_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 wx_cv_class_stdhashmapset=yes
27505 else
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 wx_cv_class_stdhashmapset=no
27510 fi
27511
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27513
27514
27515 fi
27516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27517 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27518 fi
27519
27520
27521
27522 if test "$wx_cv_class_stdhashmapset" = yes; then
27523 cat >>confdefs.h <<\_ACEOF
27524 #define HAVE_HASH_MAP 1
27525 _ACEOF
27526
27527 cat >>confdefs.h <<\_ACEOF
27528 #define HAVE_STD_HASH_MAP 1
27529 _ACEOF
27530
27531 fi
27532
27533 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27534 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27535 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27537 else
27538 cat >conftest.$ac_ext <<_ACEOF
27539 /* confdefs.h. */
27540 _ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27544
27545
27546
27547 #include <ext/hash_map>
27548 _ACEOF
27549 rm -f conftest.$ac_objext
27550 if { (ac_try="$ac_compile"
27551 case "(($ac_try" in
27552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27554 esac
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_compile") 2>conftest.er1
27557 ac_status=$?
27558 grep -v '^ *+' conftest.er1 >conftest.err
27559 rm -f conftest.er1
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_cxx_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest.$ac_objext; then
27566 ac_cv_header_ext_hash_map=yes
27567 else
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27570
27571 ac_cv_header_ext_hash_map=no
27572 fi
27573
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575 fi
27576 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27577 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27578 if test $ac_cv_header_ext_hash_map = yes; then
27579 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27580 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27581 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 else
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <ext/hash_map>
27591 #include <ext/hash_set>
27592 int
27593 main ()
27594 {
27595 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27596 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27597 ;
27598 return 0;
27599 }
27600 _ACEOF
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27606 esac
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_class_gnuhashmapset=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 wx_cv_class_gnuhashmapset=no
27624 fi
27625
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27627
27628
27629 fi
27630 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27631 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27632 fi
27633
27634
27635
27636 if test "$wx_cv_class_gnuhashmapset" = yes; then
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_EXT_HASH_MAP 1
27639 _ACEOF
27640
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_GNU_CXX_HASH_MAP 1
27643 _ACEOF
27644
27645 fi
27646 fi
27647
27648
27649
27650 if test -n "$GCC"; then
27651 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27652 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27653 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 else
27656
27657 cat >conftest.$ac_ext <<_ACEOF
27658 /* confdefs.h. */
27659 _ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27663
27664 int
27665 main ()
27666 {
27667
27668 int value=0;
27669 __sync_fetch_and_add(&value, 1);
27670 __sync_sub_and_fetch(&value, 1);
27671
27672 ;
27673 return 0;
27674 }
27675 _ACEOF
27676 rm -f conftest.$ac_objext
27677 if { (ac_try="$ac_compile"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27681 esac
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_compile") 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_cxx_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest.$ac_objext; then
27693 wx_cv_cc_gcc_atomic_builtins=yes
27694 else
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27697
27698 wx_cv_cc_gcc_atomic_builtins=no
27699 fi
27700
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27702
27703 fi
27704
27705 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27706 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27707 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27708 cat >>confdefs.h <<\_ACEOF
27709 #define HAVE_GCC_ATOMIC_BUILTINS 1
27710 _ACEOF
27711
27712 fi
27713 fi
27714
27715
27716 ac_ext=c
27717 ac_cpp='$CPP $CPPFLAGS'
27718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27721
27722
27723
27724 SEARCH_INCLUDE="\
27725 /usr/local/include \
27726 \
27727 /usr/Motif-2.1/include \
27728 /usr/Motif-1.2/include \
27729 /usr/include/Motif1.2 \
27730 \
27731 /usr/dt/include \
27732 /usr/openwin/include \
27733 \
27734 /usr/include/Xm \
27735 \
27736 /usr/X11R6/include \
27737 /usr/X11R6.4/include \
27738 /usr/X11R5/include \
27739 /usr/X11R4/include \
27740 \
27741 /usr/include/X11R6 \
27742 /usr/include/X11R5 \
27743 /usr/include/X11R4 \
27744 \
27745 /usr/local/X11R6/include \
27746 /usr/local/X11R5/include \
27747 /usr/local/X11R4/include \
27748 \
27749 /usr/local/include/X11R6 \
27750 /usr/local/include/X11R5 \
27751 /usr/local/include/X11R4 \
27752 \
27753 /usr/X11/include \
27754 /usr/include/X11 \
27755 /usr/local/X11/include \
27756 /usr/local/include/X11 \
27757 \
27758 /usr/XFree86/include/X11 \
27759 /usr/pkg/include \
27760 \
27761 /usr/openwin/share/include"
27762
27763 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27764 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27765
27766 case "${host}" in
27767 *-*-irix6* )
27768 if test "${wx_cv_std_libpath+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771
27772 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27773 for e in a so sl dylib dll.a; do
27774 libc="$d/libc.$e"
27775 if test -f $libc; then
27776 save_LIBS="$LIBS"
27777 LIBS="$libc"
27778 cat >conftest.$ac_ext <<_ACEOF
27779 int main() { return 0; }
27780 _ACEOF
27781 rm -f conftest.$ac_objext conftest$ac_exeext
27782 if { (ac_try="$ac_link"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27786 esac
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_link") 2>conftest.er1
27789 ac_status=$?
27790 grep -v '^ *+' conftest.er1 >conftest.err
27791 rm -f conftest.er1
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_c_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest$ac_exeext &&
27798 $as_test_x conftest$ac_exeext; then
27799 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27800 else
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27803
27804
27805 fi
27806
27807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27808 conftest$ac_exeext conftest.$ac_ext
27809 LIBS="$save_LIBS"
27810 if test "x$wx_cv_std_libpath" != "x"; then
27811 break 2
27812 fi
27813 fi
27814 done
27815 done
27816 if test "x$wx_cv_std_libpath" = "x"; then
27817 wx_cv_std_libpath="lib"
27818 fi
27819
27820
27821 fi
27822
27823 ;;
27824
27825 *-*-solaris2* )
27826 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27827 wx_cv_std_libpath="lib/64"
27828 else
27829 wx_cv_std_libpath="lib"
27830 fi
27831 ;;
27832
27833 *-*-linux* )
27834 if test "$ac_cv_sizeof_void_p" = 8 -a \
27835 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27836 wx_cv_std_libpath="lib64"
27837 else
27838 wx_cv_std_libpath="lib"
27839 fi
27840 ;;
27841
27842 *)
27843 wx_cv_std_libpath="lib";
27844 ;;
27845 esac
27846
27847 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27848 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27849
27850 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27851
27852 if test "$build" != "$host" -a "$GCC" = yes; then
27853 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27854 cross_root=`dirname $cross_root`
27855 cross_root=`dirname $cross_root`
27856
27857 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27858 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27860
27861 if test -z "$PKG_CONFIG_PATH"; then
27862 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27863 export PKG_CONFIG_PATH
27864 fi
27865
27866 if test -z "$x_includes" -o "$x_includes" = NONE; then
27867
27868 ac_find_includes=
27869 for ac_dir in $SEARCH_INCLUDE /usr/include;
27870 do
27871 if test -f "$ac_dir/X11/Intrinsic.h"; then
27872 ac_find_includes=$ac_dir
27873 break
27874 fi
27875 done
27876
27877 x_includes=$ac_find_includes
27878 fi
27879 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27880
27881 ac_find_libraries=
27882 for ac_dir in $SEARCH_LIB;
27883 do
27884 for ac_extension in a so sl dylib dll.a; do
27885 if test -f "$ac_dir/libXt.$ac_extension"; then
27886 ac_find_libraries=$ac_dir
27887 break 2
27888 fi
27889 done
27890 done
27891
27892 x_libraries=$ac_find_libraries
27893 fi
27894 fi
27895 fi
27896
27897
27898 cat >confcache <<\_ACEOF
27899 # This file is a shell script that caches the results of configure
27900 # tests run on this system so they can be shared between configure
27901 # scripts and configure runs, see configure's option --config-cache.
27902 # It is not useful on other systems. If it contains results you don't
27903 # want to keep, you may remove or edit it.
27904 #
27905 # config.status only pays attention to the cache file if you give it
27906 # the --recheck option to rerun configure.
27907 #
27908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27910 # following values.
27911
27912 _ACEOF
27913
27914 # The following way of writing the cache mishandles newlines in values,
27915 # but we know of no workaround that is simple, portable, and efficient.
27916 # So, we kill variables containing newlines.
27917 # Ultrix sh set writes to stderr and can't be redirected directly,
27918 # and sets the high bit in the cache file unless we assign to the vars.
27919 (
27920 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27921 eval ac_val=\$$ac_var
27922 case $ac_val in #(
27923 *${as_nl}*)
27924 case $ac_var in #(
27925 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27926 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27927 esac
27928 case $ac_var in #(
27929 _ | IFS | as_nl) ;; #(
27930 *) $as_unset $ac_var ;;
27931 esac ;;
27932 esac
27933 done
27934
27935 (set) 2>&1 |
27936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27937 *${as_nl}ac_space=\ *)
27938 # `set' does not quote correctly, so add quotes (double-quote
27939 # substitution turns \\\\ into \\, and sed turns \\ into \).
27940 sed -n \
27941 "s/'/'\\\\''/g;
27942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27943 ;; #(
27944 *)
27945 # `set' quotes correctly as required by POSIX, so do not add quotes.
27946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27947 ;;
27948 esac |
27949 sort
27950 ) |
27951 sed '
27952 /^ac_cv_env_/b end
27953 t clear
27954 :clear
27955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27956 t end
27957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27958 :end' >>confcache
27959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27960 if test -w "$cache_file"; then
27961 test "x$cache_file" != "x/dev/null" &&
27962 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27963 echo "$as_me: updating cache $cache_file" >&6;}
27964 cat confcache >$cache_file
27965 else
27966 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27967 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27968 fi
27969 fi
27970 rm -f confcache
27971
27972 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27973 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27974 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27975 if test "${wx_cv_lib_glibc21+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27977 else
27978
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 #include <features.h>
27986 int
27987 main ()
27988 {
27989
27990 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27991 not glibc 2.1
27992 #endif
27993
27994 ;
27995 return 0;
27996 }
27997 _ACEOF
27998 rm -f conftest.$ac_objext
27999 if { (ac_try="$ac_compile"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28003 esac
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_compile") 2>conftest.er1
28006 ac_status=$?
28007 grep -v '^ *+' conftest.er1 >conftest.err
28008 rm -f conftest.er1
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } && {
28012 test -z "$ac_c_werror_flag" ||
28013 test ! -s conftest.err
28014 } && test -s conftest.$ac_objext; then
28015
28016 wx_cv_lib_glibc21=yes
28017
28018 else
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28021
28022
28023 wx_cv_lib_glibc21=no
28024
28025
28026 fi
28027
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28029
28030 fi
28031 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28032 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28033 if test "$wx_cv_lib_glibc21" = "yes"; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxHAVE_GLIBC2 1
28036 _ACEOF
28037
28038 fi
28039 fi
28040
28041 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28042 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define _GNU_SOURCE 1
28045 _ACEOF
28046
28047 fi
28048 fi
28049
28050 have_cos=0
28051 have_floor=0
28052
28053 for ac_func in cos
28054 do
28055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061 cat >conftest.$ac_ext <<_ACEOF
28062 /* confdefs.h. */
28063 _ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28069 #define $ac_func innocuous_$ac_func
28070
28071 /* System header to define __stub macros and hopefully few prototypes,
28072 which can conflict with char $ac_func (); below.
28073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28074 <limits.h> exists even on freestanding compilers. */
28075
28076 #ifdef __STDC__
28077 # include <limits.h>
28078 #else
28079 # include <assert.h>
28080 #endif
28081
28082 #undef $ac_func
28083
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28087 #ifdef __cplusplus
28088 extern "C"
28089 #endif
28090 char $ac_func ();
28091 /* The GNU C library defines this for functions which it implements
28092 to always fail with ENOSYS. Some functions are actually named
28093 something starting with __ and the normal name is an alias. */
28094 #if defined __stub_$ac_func || defined __stub___$ac_func
28095 choke me
28096 #endif
28097
28098 int
28099 main ()
28100 {
28101 return $ac_func ();
28102 ;
28103 return 0;
28104 }
28105 _ACEOF
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (ac_try="$ac_link"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110 *) ac_try_echo=$ac_try;;
28111 esac
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_link") 2>conftest.er1
28114 ac_status=$?
28115 grep -v '^ *+' conftest.er1 >conftest.err
28116 rm -f conftest.er1
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest$ac_exeext &&
28123 $as_test_x conftest$ac_exeext; then
28124 eval "$as_ac_var=yes"
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 eval "$as_ac_var=no"
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28133 conftest$ac_exeext conftest.$ac_ext
28134 fi
28135 ac_res=`eval echo '${'$as_ac_var'}'`
28136 { echo "$as_me:$LINENO: result: $ac_res" >&5
28137 echo "${ECHO_T}$ac_res" >&6; }
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h <<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28141 _ACEOF
28142 have_cos=1
28143 fi
28144 done
28145
28146
28147 for ac_func in floor
28148 do
28149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28153 echo $ECHO_N "(cached) $ECHO_C" >&6
28154 else
28155 cat >conftest.$ac_ext <<_ACEOF
28156 /* confdefs.h. */
28157 _ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28163 #define $ac_func innocuous_$ac_func
28164
28165 /* System header to define __stub macros and hopefully few prototypes,
28166 which can conflict with char $ac_func (); below.
28167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168 <limits.h> exists even on freestanding compilers. */
28169
28170 #ifdef __STDC__
28171 # include <limits.h>
28172 #else
28173 # include <assert.h>
28174 #endif
28175
28176 #undef $ac_func
28177
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 #endif
28184 char $ac_func ();
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined __stub_$ac_func || defined __stub___$ac_func
28189 choke me
28190 #endif
28191
28192 int
28193 main ()
28194 {
28195 return $ac_func ();
28196 ;
28197 return 0;
28198 }
28199 _ACEOF
28200 rm -f conftest.$ac_objext conftest$ac_exeext
28201 if { (ac_try="$ac_link"
28202 case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28205 esac
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_link") 2>conftest.er1
28208 ac_status=$?
28209 grep -v '^ *+' conftest.er1 >conftest.err
28210 rm -f conftest.er1
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest$ac_exeext &&
28217 $as_test_x conftest$ac_exeext; then
28218 eval "$as_ac_var=yes"
28219 else
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28222
28223 eval "$as_ac_var=no"
28224 fi
28225
28226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28227 conftest$ac_exeext conftest.$ac_ext
28228 fi
28229 ac_res=`eval echo '${'$as_ac_var'}'`
28230 { echo "$as_me:$LINENO: result: $ac_res" >&5
28231 echo "${ECHO_T}$ac_res" >&6; }
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 _ACEOF
28236 have_floor=1
28237 fi
28238 done
28239
28240 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28241 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28242 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28243 { echo "$as_me:$LINENO: result: yes" >&5
28244 echo "${ECHO_T}yes" >&6; }
28245 else
28246 { echo "$as_me:$LINENO: result: no" >&5
28247 echo "${ECHO_T}no" >&6; }
28248 LIBS="$LIBS -lm"
28249 # use different functions to avoid configure caching
28250 have_sin=0
28251 have_ceil=0
28252
28253 for ac_func in sin
28254 do
28255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 else
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28269 #define $ac_func innocuous_$ac_func
28270
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28275
28276 #ifdef __STDC__
28277 # include <limits.h>
28278 #else
28279 # include <assert.h>
28280 #endif
28281
28282 #undef $ac_func
28283
28284 /* Override any GCC internal prototype to avoid an error.
28285 Use char because int might match the return type of a GCC
28286 builtin and then its argument prototype would still apply. */
28287 #ifdef __cplusplus
28288 extern "C"
28289 #endif
28290 char $ac_func ();
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined __stub_$ac_func || defined __stub___$ac_func
28295 choke me
28296 #endif
28297
28298 int
28299 main ()
28300 {
28301 return $ac_func ();
28302 ;
28303 return 0;
28304 }
28305 _ACEOF
28306 rm -f conftest.$ac_objext conftest$ac_exeext
28307 if { (ac_try="$ac_link"
28308 case "(($ac_try" in
28309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28310 *) ac_try_echo=$ac_try;;
28311 esac
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_link") 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest$ac_exeext &&
28323 $as_test_x conftest$ac_exeext; then
28324 eval "$as_ac_var=yes"
28325 else
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28328
28329 eval "$as_ac_var=no"
28330 fi
28331
28332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28333 conftest$ac_exeext conftest.$ac_ext
28334 fi
28335 ac_res=`eval echo '${'$as_ac_var'}'`
28336 { echo "$as_me:$LINENO: result: $ac_res" >&5
28337 echo "${ECHO_T}$ac_res" >&6; }
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h <<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28341 _ACEOF
28342 have_sin=1
28343 fi
28344 done
28345
28346
28347 for ac_func in ceil
28348 do
28349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 cat >conftest.$ac_ext <<_ACEOF
28356 /* confdefs.h. */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28363 #define $ac_func innocuous_$ac_func
28364
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28369
28370 #ifdef __STDC__
28371 # include <limits.h>
28372 #else
28373 # include <assert.h>
28374 #endif
28375
28376 #undef $ac_func
28377
28378 /* Override any GCC internal prototype to avoid an error.
28379 Use char because int might match the return type of a GCC
28380 builtin and then its argument prototype would still apply. */
28381 #ifdef __cplusplus
28382 extern "C"
28383 #endif
28384 char $ac_func ();
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined __stub_$ac_func || defined __stub___$ac_func
28389 choke me
28390 #endif
28391
28392 int
28393 main ()
28394 {
28395 return $ac_func ();
28396 ;
28397 return 0;
28398 }
28399 _ACEOF
28400 rm -f conftest.$ac_objext conftest$ac_exeext
28401 if { (ac_try="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28404 *) ac_try_echo=$ac_try;;
28405 esac
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>conftest.er1
28408 ac_status=$?
28409 grep -v '^ *+' conftest.er1 >conftest.err
28410 rm -f conftest.er1
28411 cat conftest.err >&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } && {
28414 test -z "$ac_c_werror_flag" ||
28415 test ! -s conftest.err
28416 } && test -s conftest$ac_exeext &&
28417 $as_test_x conftest$ac_exeext; then
28418 eval "$as_ac_var=yes"
28419 else
28420 echo "$as_me: failed program was:" >&5
28421 sed 's/^/| /' conftest.$ac_ext >&5
28422
28423 eval "$as_ac_var=no"
28424 fi
28425
28426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28427 conftest$ac_exeext conftest.$ac_ext
28428 fi
28429 ac_res=`eval echo '${'$as_ac_var'}'`
28430 { echo "$as_me:$LINENO: result: $ac_res" >&5
28431 echo "${ECHO_T}$ac_res" >&6; }
28432 if test `eval echo '${'$as_ac_var'}'` = yes; then
28433 cat >>confdefs.h <<_ACEOF
28434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28435 _ACEOF
28436 have_ceil=1
28437 fi
28438 done
28439
28440 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28441 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28442 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28443 { echo "$as_me:$LINENO: result: yes" >&5
28444 echo "${ECHO_T}yes" >&6; }
28445 else
28446 { echo "$as_me:$LINENO: result: no" >&5
28447 echo "${ECHO_T}no" >&6; }
28448 # not sure we should warn the user, crash, etc.
28449 fi
28450 fi
28451
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457
28458 if test "wxUSE_UNICODE" = "yes"; then
28459
28460 for wx_func in wcstoull
28461 do
28462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28464 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28466 else
28467
28468 cat >conftest.$ac_ext <<_ACEOF
28469
28470 /* confdefs.h. */
28471 _ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28475
28476
28477 $ac_includes_default
28478
28479 int
28480 main ()
28481 {
28482
28483 #ifndef $wx_func
28484 &$wx_func;
28485 #endif
28486
28487
28488 ;
28489 return 0;
28490 }
28491
28492 _ACEOF
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28498 esac
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28501 ac_status=$?
28502 grep -v '^ *+' conftest.er1 >conftest.err
28503 rm -f conftest.er1
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_cxx_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 eval wx_cv_func_$wx_func=yes
28512 else
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28515
28516 eval wx_cv_func_$wx_func=no
28517 fi
28518
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28521
28522 fi
28523 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28524 { echo "$as_me:$LINENO: result: $ac_res" >&5
28525 echo "${ECHO_T}$ac_res" >&6; }
28526
28527 if eval test \$wx_cv_func_$wx_func = yes
28528 then
28529 cat >>confdefs.h <<_ACEOF
28530 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28531 _ACEOF
28532
28533
28534 else
28535 :
28536
28537 fi
28538 done
28539
28540 else
28541
28542 for wx_func in strtoull
28543 do
28544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28548 else
28549
28550 cat >conftest.$ac_ext <<_ACEOF
28551
28552 /* confdefs.h. */
28553 _ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28557
28558
28559 $ac_includes_default
28560
28561 int
28562 main ()
28563 {
28564
28565 #ifndef $wx_func
28566 &$wx_func;
28567 #endif
28568
28569
28570 ;
28571 return 0;
28572 }
28573
28574 _ACEOF
28575 rm -f conftest.$ac_objext conftest$ac_exeext
28576 if { (ac_try="$ac_link"
28577 case "(($ac_try" in
28578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28580 esac
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_link") 2>conftest.er1
28583 ac_status=$?
28584 grep -v '^ *+' conftest.er1 >conftest.err
28585 rm -f conftest.er1
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } && {
28589 test -z "$ac_cxx_werror_flag" ||
28590 test ! -s conftest.err
28591 } && test -s conftest$ac_exeext &&
28592 $as_test_x conftest$ac_exeext; then
28593 eval wx_cv_func_$wx_func=yes
28594 else
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.$ac_ext >&5
28597
28598 eval wx_cv_func_$wx_func=no
28599 fi
28600
28601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28602 conftest$ac_exeext conftest.$ac_ext
28603
28604 fi
28605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28606 { echo "$as_me:$LINENO: result: $ac_res" >&5
28607 echo "${ECHO_T}$ac_res" >&6; }
28608
28609 if eval test \$wx_cv_func_$wx_func = yes
28610 then
28611 cat >>confdefs.h <<_ACEOF
28612 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28613 _ACEOF
28614
28615
28616 else
28617 :
28618
28619 fi
28620 done
28621
28622 fi
28623 ac_ext=c
28624 ac_cpp='$CPP $CPPFLAGS'
28625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28628
28629
28630
28631
28632 if test "$wxUSE_REGEX" != "no"; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define wxUSE_REGEX 1
28635 _ACEOF
28636
28637
28638 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28639 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28640 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28641 wxUSE_REGEX=builtin
28642 fi
28643
28644 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28645 { echo "$as_me:$LINENO: checking for regex.h" >&5
28646 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28647 if test "${ac_cv_header_regex_h+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650 cat >conftest.$ac_ext <<_ACEOF
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656
28657
28658 #include <regex.h>
28659 _ACEOF
28660 rm -f conftest.$ac_objext
28661 if { (ac_try="$ac_compile"
28662 case "(($ac_try" in
28663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28664 *) ac_try_echo=$ac_try;;
28665 esac
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_compile") 2>conftest.er1
28668 ac_status=$?
28669 grep -v '^ *+' conftest.er1 >conftest.err
28670 rm -f conftest.er1
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } && {
28674 test -z "$ac_c_werror_flag" ||
28675 test ! -s conftest.err
28676 } && test -s conftest.$ac_objext; then
28677 ac_cv_header_regex_h=yes
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28681
28682 ac_cv_header_regex_h=no
28683 fi
28684
28685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28686 fi
28687 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28688 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28689 if test $ac_cv_header_regex_h = yes; then
28690
28691
28692 for ac_func in regcomp re_search
28693 do
28694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 else
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h. */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28708 #define $ac_func innocuous_$ac_func
28709
28710 /* System header to define __stub macros and hopefully few prototypes,
28711 which can conflict with char $ac_func (); below.
28712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28713 <limits.h> exists even on freestanding compilers. */
28714
28715 #ifdef __STDC__
28716 # include <limits.h>
28717 #else
28718 # include <assert.h>
28719 #endif
28720
28721 #undef $ac_func
28722
28723 /* Override any GCC internal prototype to avoid an error.
28724 Use char because int might match the return type of a GCC
28725 builtin and then its argument prototype would still apply. */
28726 #ifdef __cplusplus
28727 extern "C"
28728 #endif
28729 char $ac_func ();
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined __stub_$ac_func || defined __stub___$ac_func
28734 choke me
28735 #endif
28736
28737 int
28738 main ()
28739 {
28740 return $ac_func ();
28741 ;
28742 return 0;
28743 }
28744 _ACEOF
28745 rm -f conftest.$ac_objext conftest$ac_exeext
28746 if { (ac_try="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28750 esac
28751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28753 ac_status=$?
28754 grep -v '^ *+' conftest.er1 >conftest.err
28755 rm -f conftest.er1
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 eval "$as_ac_var=yes"
28764 else
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28767
28768 eval "$as_ac_var=no"
28769 fi
28770
28771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28772 conftest$ac_exeext conftest.$ac_ext
28773 fi
28774 ac_res=`eval echo '${'$as_ac_var'}'`
28775 { echo "$as_me:$LINENO: result: $ac_res" >&5
28776 echo "${ECHO_T}$ac_res" >&6; }
28777 if test `eval echo '${'$as_ac_var'}'` = yes; then
28778 cat >>confdefs.h <<_ACEOF
28779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28780 _ACEOF
28781
28782 fi
28783 done
28784
28785 fi
28786
28787
28788
28789 if test "x$ac_cv_func_regcomp" != "xyes"; then
28790 if test "$wxUSE_REGEX" = "sys" ; then
28791 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28792 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28793 { (exit 1); exit 1; }; }
28794 else
28795 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28796 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28797 wxUSE_REGEX=builtin
28798 fi
28799 else
28800 wxUSE_REGEX=sys
28801 cat >>confdefs.h <<\_ACEOF
28802 #define WX_NO_REGEX_ADVANCED 1
28803 _ACEOF
28804
28805 fi
28806 fi
28807 fi
28808
28809
28810 ZLIB_LINK=
28811 if test "$wxUSE_ZLIB" != "no" ; then
28812 cat >>confdefs.h <<\_ACEOF
28813 #define wxUSE_ZLIB 1
28814 _ACEOF
28815
28816
28817 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28818 if test "$USE_DARWIN" = 1; then
28819 system_zlib_h_ok="yes"
28820 else
28821 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28822 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28823 if test "${ac_cv_header_zlib_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28825 else
28826 if test "$cross_compiling" = yes; then
28827 unset ac_cv_header_zlib_h
28828
28829 else
28830 cat >conftest.$ac_ext <<_ACEOF
28831 /* confdefs.h. */
28832 _ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836
28837 #include <zlib.h>
28838 #include <stdio.h>
28839
28840 int main()
28841 {
28842 FILE *f=fopen("conftestval", "w");
28843 if (!f) exit(1);
28844 fprintf(f, "%s",
28845 ZLIB_VERSION[0] == '1' &&
28846 (ZLIB_VERSION[2] > '1' ||
28847 (ZLIB_VERSION[2] == '1' &&
28848 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28849 exit(0);
28850 }
28851
28852 _ACEOF
28853 rm -f conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28858 esac
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>&5
28861 ac_status=$?
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28864 { (case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28867 esac
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_try") 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_header_zlib_h=`cat conftestval`
28874 else
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28878
28879 ( exit $ac_status )
28880 ac_cv_header_zlib_h=no
28881 fi
28882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28883 fi
28884
28885
28886
28887 fi
28888 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28889 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28890 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28891 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28892 if test "${ac_cv_header_zlib_h+set}" = set; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 else
28895 cat >conftest.$ac_ext <<_ACEOF
28896 /* confdefs.h. */
28897 _ACEOF
28898 cat confdefs.h >>conftest.$ac_ext
28899 cat >>conftest.$ac_ext <<_ACEOF
28900 /* end confdefs.h. */
28901
28902
28903 #include <zlib.h>
28904 _ACEOF
28905 rm -f conftest.$ac_objext
28906 if { (ac_try="$ac_compile"
28907 case "(($ac_try" in
28908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28909 *) ac_try_echo=$ac_try;;
28910 esac
28911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28912 (eval "$ac_compile") 2>conftest.er1
28913 ac_status=$?
28914 grep -v '^ *+' conftest.er1 >conftest.err
28915 rm -f conftest.er1
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } && {
28919 test -z "$ac_c_werror_flag" ||
28920 test ! -s conftest.err
28921 } && test -s conftest.$ac_objext; then
28922 ac_cv_header_zlib_h=yes
28923 else
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.$ac_ext >&5
28926
28927 ac_cv_header_zlib_h=no
28928 fi
28929
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 fi
28932 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28933 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28934
28935
28936
28937 system_zlib_h_ok=$ac_cv_header_zlib_h
28938 fi
28939
28940 if test "$system_zlib_h_ok" = "yes"; then
28941 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28942 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28943 if test "${ac_cv_lib_z_deflate+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28945 else
28946 ac_check_lib_save_LIBS=$LIBS
28947 LIBS="-lz $LIBS"
28948 cat >conftest.$ac_ext <<_ACEOF
28949 /* confdefs.h. */
28950 _ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28954
28955 /* Override any GCC internal prototype to avoid an error.
28956 Use char because int might match the return type of a GCC
28957 builtin and then its argument prototype would still apply. */
28958 #ifdef __cplusplus
28959 extern "C"
28960 #endif
28961 char deflate ();
28962 int
28963 main ()
28964 {
28965 return deflate ();
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 rm -f conftest.$ac_objext conftest$ac_exeext
28971 if { (ac_try="$ac_link"
28972 case "(($ac_try" in
28973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28975 esac
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_link") 2>conftest.er1
28978 ac_status=$?
28979 grep -v '^ *+' conftest.er1 >conftest.err
28980 rm -f conftest.er1
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest$ac_exeext &&
28987 $as_test_x conftest$ac_exeext; then
28988 ac_cv_lib_z_deflate=yes
28989 else
28990 echo "$as_me: failed program was:" >&5
28991 sed 's/^/| /' conftest.$ac_ext >&5
28992
28993 ac_cv_lib_z_deflate=no
28994 fi
28995
28996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
28999 fi
29000 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29001 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29002 if test $ac_cv_lib_z_deflate = yes; then
29003 ZLIB_LINK=" -lz"
29004 fi
29005
29006 fi
29007
29008 if test "x$ZLIB_LINK" = "x" ; then
29009 if test "$wxUSE_ZLIB" = "sys" ; then
29010 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29011 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29012 { (exit 1); exit 1; }; }
29013 else
29014 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29015 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29016 wxUSE_ZLIB=builtin
29017 fi
29018 else
29019 wxUSE_ZLIB=sys
29020 fi
29021 fi
29022 fi
29023
29024
29025 PNG_LINK=
29026 if test "$wxUSE_LIBPNG" != "no" ; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_LIBPNG 1
29029 _ACEOF
29030
29031
29032 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29033 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29034 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29035 wxUSE_LIBPNG=sys
29036 fi
29037
29038 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29039 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29040 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29041 wxUSE_LIBPNG=builtin
29042 fi
29043
29044 if test "$wxUSE_MGL" != 1 ; then
29045 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29046 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29047 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29048 if test "${ac_cv_header_png_h+set}" = set; then
29049 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 else
29051 if test "$cross_compiling" = yes; then
29052 unset ac_cv_header_png_h
29053
29054 else
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061
29062 #include <png.h>
29063 #include <stdio.h>
29064
29065 int main()
29066 {
29067 FILE *f=fopen("conftestval", "w");
29068 if (!f) exit(1);
29069 fprintf(f, "%s",
29070 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29071 exit(0);
29072 }
29073
29074 _ACEOF
29075 rm -f conftest$ac_exeext
29076 if { (ac_try="$ac_link"
29077 case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29080 esac
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_link") 2>&5
29083 ac_status=$?
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29086 { (case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29089 esac
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_try") 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_header_png_h=`cat conftestval`
29096 else
29097 echo "$as_me: program exited with status $ac_status" >&5
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 ( exit $ac_status )
29102 ac_cv_header_png_h=no
29103 fi
29104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29105 fi
29106
29107
29108
29109 fi
29110 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29111 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29112 { echo "$as_me:$LINENO: checking for png.h" >&5
29113 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29114 if test "${ac_cv_header_png_h+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29116 else
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123
29124
29125 #include <png.h>
29126 _ACEOF
29127 rm -f conftest.$ac_objext
29128 if { (ac_try="$ac_compile"
29129 case "(($ac_try" in
29130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29131 *) ac_try_echo=$ac_try;;
29132 esac
29133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29134 (eval "$ac_compile") 2>conftest.er1
29135 ac_status=$?
29136 grep -v '^ *+' conftest.er1 >conftest.err
29137 rm -f conftest.er1
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } && {
29141 test -z "$ac_c_werror_flag" ||
29142 test ! -s conftest.err
29143 } && test -s conftest.$ac_objext; then
29144 ac_cv_header_png_h=yes
29145 else
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.$ac_ext >&5
29148
29149 ac_cv_header_png_h=no
29150 fi
29151
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 fi
29154 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29155 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29156
29157
29158
29159 if test "$ac_cv_header_png_h" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 else
29165 ac_check_lib_save_LIBS=$LIBS
29166 LIBS="-lpng -lz -lm $LIBS"
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173
29174 /* Override any GCC internal prototype to avoid an error.
29175 Use char because int might match the return type of a GCC
29176 builtin and then its argument prototype would still apply. */
29177 #ifdef __cplusplus
29178 extern "C"
29179 #endif
29180 char png_check_sig ();
29181 int
29182 main ()
29183 {
29184 return png_check_sig ();
29185 ;
29186 return 0;
29187 }
29188 _ACEOF
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29194 esac
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>conftest.er1
29197 ac_status=$?
29198 grep -v '^ *+' conftest.er1 >conftest.err
29199 rm -f conftest.er1
29200 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } && {
29203 test -z "$ac_c_werror_flag" ||
29204 test ! -s conftest.err
29205 } && test -s conftest$ac_exeext &&
29206 $as_test_x conftest$ac_exeext; then
29207 ac_cv_lib_png_png_check_sig=yes
29208 else
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 ac_cv_lib_png_png_check_sig=no
29213 fi
29214
29215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29216 conftest$ac_exeext conftest.$ac_ext
29217 LIBS=$ac_check_lib_save_LIBS
29218 fi
29219 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29220 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29221 if test $ac_cv_lib_png_png_check_sig = yes; then
29222 PNG_LINK=" -lpng -lz"
29223 fi
29224
29225 fi
29226
29227 if test "x$PNG_LINK" = "x" ; then
29228 if test "$wxUSE_LIBPNG" = "sys" ; then
29229 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29230 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29231 { (exit 1); exit 1; }; }
29232 else
29233 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29234 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29235 wxUSE_LIBPNG=builtin
29236 fi
29237 else
29238 wxUSE_LIBPNG=sys
29239 fi
29240 fi
29241 fi
29242 fi
29243
29244
29245 JPEG_LINK=
29246 if test "$wxUSE_LIBJPEG" != "no" ; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_LIBJPEG 1
29249 _ACEOF
29250
29251
29252 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29253 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29254 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29255 wxUSE_LIBJPEG=sys
29256 fi
29257
29258 if test "$wxUSE_MGL" != 1 ; then
29259 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29260 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29261 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29262 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29264 else
29265 cat >conftest.$ac_ext <<_ACEOF
29266 /* confdefs.h. */
29267 _ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271
29272 #undef HAVE_STDLIB_H
29273 #include <stdio.h>
29274 #include <jpeglib.h>
29275
29276 int
29277 main ()
29278 {
29279
29280
29281 ;
29282 return 0;
29283 }
29284 _ACEOF
29285 rm -f conftest.$ac_objext
29286 if { (ac_try="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29290 esac
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest.$ac_objext; then
29302 ac_cv_header_jpeglib_h=yes
29303 else
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29306
29307 ac_cv_header_jpeglib_h=no
29308
29309 fi
29310
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312
29313 fi
29314
29315 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29316 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29317
29318 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29319 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29320 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29321 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29323 else
29324 ac_check_lib_save_LIBS=$LIBS
29325 LIBS="-ljpeg $LIBS"
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 /* Override any GCC internal prototype to avoid an error.
29334 Use char because int might match the return type of a GCC
29335 builtin and then its argument prototype would still apply. */
29336 #ifdef __cplusplus
29337 extern "C"
29338 #endif
29339 char jpeg_read_header ();
29340 int
29341 main ()
29342 {
29343 return jpeg_read_header ();
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29365 $as_test_x conftest$ac_exeext; then
29366 ac_cv_lib_jpeg_jpeg_read_header=yes
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371 ac_cv_lib_jpeg_jpeg_read_header=no
29372 fi
29373
29374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29375 conftest$ac_exeext conftest.$ac_ext
29376 LIBS=$ac_check_lib_save_LIBS
29377 fi
29378 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29381 JPEG_LINK=" -ljpeg"
29382 fi
29383
29384 fi
29385
29386 if test "x$JPEG_LINK" = "x" ; then
29387 if test "$wxUSE_LIBJPEG" = "sys" ; then
29388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29390 { (exit 1); exit 1; }; }
29391 else
29392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29394 wxUSE_LIBJPEG=builtin
29395 fi
29396 else
29397 wxUSE_LIBJPEG=sys
29398
29399 if test "$wxUSE_MSW" = 1; then
29400 { echo "$as_me:$LINENO: checking for boolean" >&5
29401 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29402 if test "${ac_cv_type_boolean+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405 cat >conftest.$ac_ext <<_ACEOF
29406 /* confdefs.h. */
29407 _ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411 #include <windows.h>
29412
29413 typedef boolean ac__type_new_;
29414 int
29415 main ()
29416 {
29417 if ((ac__type_new_ *) 0)
29418 return 0;
29419 if (sizeof (ac__type_new_))
29420 return 0;
29421 ;
29422 return 0;
29423 }
29424 _ACEOF
29425 rm -f conftest.$ac_objext
29426 if { (ac_try="$ac_compile"
29427 case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29430 esac
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_compile") 2>conftest.er1
29433 ac_status=$?
29434 grep -v '^ *+' conftest.er1 >conftest.err
29435 rm -f conftest.er1
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest.$ac_objext; then
29442 ac_cv_type_boolean=yes
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29446
29447 ac_cv_type_boolean=no
29448 fi
29449
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29451 fi
29452 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29453 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29454 if test $ac_cv_type_boolean = yes; then
29455
29456 cat >>confdefs.h <<_ACEOF
29457 #define HAVE_BOOLEAN 1
29458 _ACEOF
29459
29460
29461 { echo "$as_me:$LINENO: checking for boolean" >&5
29462 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29463 if test "${ac_cv_type_boolean+set}" = set; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 else
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472
29473 #undef HAVE_BOOLEAN
29474 #include <stdio.h>
29475 #include <jpeglib.h>
29476
29477
29478 typedef boolean ac__type_new_;
29479 int
29480 main ()
29481 {
29482 if ((ac__type_new_ *) 0)
29483 return 0;
29484 if (sizeof (ac__type_new_))
29485 return 0;
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext
29491 if { (ac_try="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29495 esac
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29498 ac_status=$?
29499 grep -v '^ *+' conftest.er1 >conftest.err
29500 rm -f conftest.er1
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29507 ac_cv_type_boolean=yes
29508 else
29509 echo "$as_me: failed program was:" >&5
29510 sed 's/^/| /' conftest.$ac_ext >&5
29511
29512 ac_cv_type_boolean=no
29513 fi
29514
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29516 fi
29517 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29518 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29519
29520 # The cast to long int works around a bug in the HP C Compiler
29521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29523 # This bug is HP SR number 8606223364.
29524 { echo "$as_me:$LINENO: checking size of boolean" >&5
29525 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29526 if test "${ac_cv_sizeof_boolean+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 if test "$cross_compiling" = yes; then
29530 # Depending upon the size, compute the lo and hi bounds.
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537
29538 #undef HAVE_BOOLEAN
29539 #include <stdio.h>
29540 #include <jpeglib.h>
29541
29542
29543 typedef boolean ac__type_sizeof_;
29544 int
29545 main ()
29546 {
29547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29548 test_array [0] = 0
29549
29550 ;
29551 return 0;
29552 }
29553 _ACEOF
29554 rm -f conftest.$ac_objext
29555 if { (ac_try="$ac_compile"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558 *) ac_try_echo=$ac_try;;
29559 esac
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_compile") 2>conftest.er1
29562 ac_status=$?
29563 grep -v '^ *+' conftest.er1 >conftest.err
29564 rm -f conftest.er1
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } && {
29568 test -z "$ac_c_werror_flag" ||
29569 test ! -s conftest.err
29570 } && test -s conftest.$ac_objext; then
29571 ac_lo=0 ac_mid=0
29572 while :; do
29573 cat >conftest.$ac_ext <<_ACEOF
29574 /* confdefs.h. */
29575 _ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29579
29580 #undef HAVE_BOOLEAN
29581 #include <stdio.h>
29582 #include <jpeglib.h>
29583
29584
29585 typedef boolean ac__type_sizeof_;
29586 int
29587 main ()
29588 {
29589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29590 test_array [0] = 0
29591
29592 ;
29593 return 0;
29594 }
29595 _ACEOF
29596 rm -f conftest.$ac_objext
29597 if { (ac_try="$ac_compile"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29601 esac
29602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29603 (eval "$ac_compile") 2>conftest.er1
29604 ac_status=$?
29605 grep -v '^ *+' conftest.er1 >conftest.err
29606 rm -f conftest.er1
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } && {
29610 test -z "$ac_c_werror_flag" ||
29611 test ! -s conftest.err
29612 } && test -s conftest.$ac_objext; then
29613 ac_hi=$ac_mid; break
29614 else
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.$ac_ext >&5
29617
29618 ac_lo=`expr $ac_mid + 1`
29619 if test $ac_lo -le $ac_mid; then
29620 ac_lo= ac_hi=
29621 break
29622 fi
29623 ac_mid=`expr 2 '*' $ac_mid + 1`
29624 fi
29625
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29627 done
29628 else
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29631
29632 cat >conftest.$ac_ext <<_ACEOF
29633 /* confdefs.h. */
29634 _ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638
29639 #undef HAVE_BOOLEAN
29640 #include <stdio.h>
29641 #include <jpeglib.h>
29642
29643
29644 typedef boolean ac__type_sizeof_;
29645 int
29646 main ()
29647 {
29648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29649 test_array [0] = 0
29650
29651 ;
29652 return 0;
29653 }
29654 _ACEOF
29655 rm -f conftest.$ac_objext
29656 if { (ac_try="$ac_compile"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29660 esac
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_compile") 2>conftest.er1
29663 ac_status=$?
29664 grep -v '^ *+' conftest.er1 >conftest.err
29665 rm -f conftest.er1
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } && {
29669 test -z "$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 } && test -s conftest.$ac_objext; then
29672 ac_hi=-1 ac_mid=-1
29673 while :; do
29674 cat >conftest.$ac_ext <<_ACEOF
29675 /* confdefs.h. */
29676 _ACEOF
29677 cat confdefs.h >>conftest.$ac_ext
29678 cat >>conftest.$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29680
29681 #undef HAVE_BOOLEAN
29682 #include <stdio.h>
29683 #include <jpeglib.h>
29684
29685
29686 typedef boolean ac__type_sizeof_;
29687 int
29688 main ()
29689 {
29690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29691 test_array [0] = 0
29692
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29702 esac
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29705 ac_status=$?
29706 grep -v '^ *+' conftest.er1 >conftest.err
29707 rm -f conftest.er1
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_lo=$ac_mid; break
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 ac_hi=`expr '(' $ac_mid ')' - 1`
29720 if test $ac_mid -le $ac_hi; then
29721 ac_lo= ac_hi=
29722 break
29723 fi
29724 ac_mid=`expr 2 '*' $ac_mid`
29725 fi
29726
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29728 done
29729 else
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 ac_lo= ac_hi=
29734 fi
29735
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 fi
29738
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 # Binary search between lo and hi bounds.
29741 while test "x$ac_lo" != "x$ac_hi"; do
29742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29743 cat >conftest.$ac_ext <<_ACEOF
29744 /* confdefs.h. */
29745 _ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29749
29750 #undef HAVE_BOOLEAN
29751 #include <stdio.h>
29752 #include <jpeglib.h>
29753
29754
29755 typedef boolean ac__type_sizeof_;
29756 int
29757 main ()
29758 {
29759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29760 test_array [0] = 0
29761
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 rm -f conftest.$ac_objext
29767 if { (ac_try="$ac_compile"
29768 case "(($ac_try" in
29769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29770 *) ac_try_echo=$ac_try;;
29771 esac
29772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29773 (eval "$ac_compile") 2>conftest.er1
29774 ac_status=$?
29775 grep -v '^ *+' conftest.er1 >conftest.err
29776 rm -f conftest.er1
29777 cat conftest.err >&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } && {
29780 test -z "$ac_c_werror_flag" ||
29781 test ! -s conftest.err
29782 } && test -s conftest.$ac_objext; then
29783 ac_hi=$ac_mid
29784 else
29785 echo "$as_me: failed program was:" >&5
29786 sed 's/^/| /' conftest.$ac_ext >&5
29787
29788 ac_lo=`expr '(' $ac_mid ')' + 1`
29789 fi
29790
29791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29792 done
29793 case $ac_lo in
29794 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29795 '') if test "$ac_cv_type_boolean" = yes; then
29796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29797 See \`config.log' for more details." >&5
29798 echo "$as_me: error: cannot compute sizeof (boolean)
29799 See \`config.log' for more details." >&2;}
29800 { (exit 77); exit 77; }; }
29801 else
29802 ac_cv_sizeof_boolean=0
29803 fi ;;
29804 esac
29805 else
29806 cat >conftest.$ac_ext <<_ACEOF
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812
29813 #undef HAVE_BOOLEAN
29814 #include <stdio.h>
29815 #include <jpeglib.h>
29816
29817
29818 typedef boolean ac__type_sizeof_;
29819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29821 #include <stdio.h>
29822 #include <stdlib.h>
29823 int
29824 main ()
29825 {
29826
29827 FILE *f = fopen ("conftest.val", "w");
29828 if (! f)
29829 return 1;
29830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29831 {
29832 long int i = longval ();
29833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29834 return 1;
29835 fprintf (f, "%ld\n", i);
29836 }
29837 else
29838 {
29839 unsigned long int i = ulongval ();
29840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29841 return 1;
29842 fprintf (f, "%lu\n", i);
29843 }
29844 return ferror (f) || fclose (f) != 0;
29845
29846 ;
29847 return 0;
29848 }
29849 _ACEOF
29850 rm -f conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29855 esac
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29861 { (case "(($ac_try" in
29862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29864 esac
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_try") 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_sizeof_boolean=`cat conftest.val`
29871 else
29872 echo "$as_me: program exited with status $ac_status" >&5
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.$ac_ext >&5
29875
29876 ( exit $ac_status )
29877 if test "$ac_cv_type_boolean" = yes; then
29878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29879 See \`config.log' for more details." >&5
29880 echo "$as_me: error: cannot compute sizeof (boolean)
29881 See \`config.log' for more details." >&2;}
29882 { (exit 77); exit 77; }; }
29883 else
29884 ac_cv_sizeof_boolean=0
29885 fi
29886 fi
29887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29888 fi
29889 rm -f conftest.val
29890 fi
29891 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29892 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29893
29894
29895
29896 cat >>confdefs.h <<_ACEOF
29897 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29898 _ACEOF
29899
29900
29901 cat >>confdefs.h <<_ACEOF
29902 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29903 _ACEOF
29904
29905
29906 fi
29907
29908 fi
29909 fi
29910 fi
29911 fi
29912 fi
29913
29914
29915 TIFF_LINK=
29916 TIFF_PREREQ_LINKS=-lm
29917 if test "$wxUSE_LIBTIFF" != "no" ; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define wxUSE_LIBTIFF 1
29920 _ACEOF
29921
29922
29923 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29924 if test "$wxUSE_LIBJPEG" = "sys"; then
29925 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29926 fi
29927 if test "$wxUSE_ZLIB" = "sys"; then
29928 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29929 fi
29930 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29931 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29932 if test "${ac_cv_header_tiffio_h+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941
29942
29943
29944 #include <tiffio.h>
29945 _ACEOF
29946 rm -f conftest.$ac_objext
29947 if { (ac_try="$ac_compile"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29951 esac
29952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_compile") 2>conftest.er1
29954 ac_status=$?
29955 grep -v '^ *+' conftest.er1 >conftest.err
29956 rm -f conftest.er1
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest.$ac_objext; then
29963 ac_cv_header_tiffio_h=yes
29964 else
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29967
29968 ac_cv_header_tiffio_h=no
29969 fi
29970
29971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29972 fi
29973 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29974 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29975 if test $ac_cv_header_tiffio_h = yes; then
29976
29977 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29978 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29979 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29980 echo $ECHO_N "(cached) $ECHO_C" >&6
29981 else
29982 ac_check_lib_save_LIBS=$LIBS
29983 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29984 cat >conftest.$ac_ext <<_ACEOF
29985 /* confdefs.h. */
29986 _ACEOF
29987 cat confdefs.h >>conftest.$ac_ext
29988 cat >>conftest.$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29990
29991 /* Override any GCC internal prototype to avoid an error.
29992 Use char because int might match the return type of a GCC
29993 builtin and then its argument prototype would still apply. */
29994 #ifdef __cplusplus
29995 extern "C"
29996 #endif
29997 char TIFFError ();
29998 int
29999 main ()
30000 {
30001 return TIFFError ();
30002 ;
30003 return 0;
30004 }
30005 _ACEOF
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (ac_try="$ac_link"
30008 case "(($ac_try" in
30009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30010 *) ac_try_echo=$ac_try;;
30011 esac
30012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30013 (eval "$ac_link") 2>conftest.er1
30014 ac_status=$?
30015 grep -v '^ *+' conftest.er1 >conftest.err
30016 rm -f conftest.er1
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } && {
30020 test -z "$ac_c_werror_flag" ||
30021 test ! -s conftest.err
30022 } && test -s conftest$ac_exeext &&
30023 $as_test_x conftest$ac_exeext; then
30024 ac_cv_lib_tiff_TIFFError=yes
30025 else
30026 echo "$as_me: failed program was:" >&5
30027 sed 's/^/| /' conftest.$ac_ext >&5
30028
30029 ac_cv_lib_tiff_TIFFError=no
30030 fi
30031
30032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30033 conftest$ac_exeext conftest.$ac_ext
30034 LIBS=$ac_check_lib_save_LIBS
30035 fi
30036 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30037 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30038 if test $ac_cv_lib_tiff_TIFFError = yes; then
30039 TIFF_LINK=" -ltiff"
30040 fi
30041
30042
30043 fi
30044
30045
30046
30047 if test "x$TIFF_LINK" = "x" ; then
30048 if test "$wxUSE_LIBTIFF" = "sys" ; then
30049 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30050 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30051 { (exit 1); exit 1; }; }
30052 else
30053 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30054 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30055 wxUSE_LIBTIFF=builtin
30056 fi
30057 else
30058 wxUSE_LIBTIFF=sys
30059 fi
30060 fi
30061 fi
30062
30063
30064 if test "$wxUSE_WCHAR_T" != "yes"; then
30065 if test "$wxUSE_EXPAT" != "no"; then
30066 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30067 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30068 wxUSE_EXPAT=no
30069 fi
30070 if test "$wxUSE_XML" != "no"; then
30071 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30072 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30073 wxUSE_XML=no
30074 fi
30075 fi
30076
30077 if test "$wxUSE_EXPAT" != "no"; then
30078 wxUSE_XML=yes
30079 cat >>confdefs.h <<\_ACEOF
30080 #define wxUSE_EXPAT 1
30081 _ACEOF
30082
30083 cat >>confdefs.h <<\_ACEOF
30084 #define wxUSE_XML 1
30085 _ACEOF
30086
30087
30088 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30089 { echo "$as_me:$LINENO: checking for expat.h" >&5
30090 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30091 if test "${ac_cv_header_expat_h+set}" = set; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30093 else
30094 cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h. */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100
30101
30102 #include <expat.h>
30103 _ACEOF
30104 rm -f conftest.$ac_objext
30105 if { (ac_try="$ac_compile"
30106 case "(($ac_try" in
30107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30108 *) ac_try_echo=$ac_try;;
30109 esac
30110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30111 (eval "$ac_compile") 2>conftest.er1
30112 ac_status=$?
30113 grep -v '^ *+' conftest.er1 >conftest.err
30114 rm -f conftest.er1
30115 cat conftest.err >&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); } && {
30118 test -z "$ac_c_werror_flag" ||
30119 test ! -s conftest.err
30120 } && test -s conftest.$ac_objext; then
30121 ac_cv_header_expat_h=yes
30122 else
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30125
30126 ac_cv_header_expat_h=no
30127 fi
30128
30129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30130 fi
30131 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30132 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30133 if test $ac_cv_header_expat_h = yes; then
30134 found_expat_h=1
30135 fi
30136
30137
30138 if test "x$found_expat_h" = "x1"; then
30139 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30140 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30141 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144
30145 ac_ext=cpp
30146 ac_cpp='$CXXCPP $CPPFLAGS'
30147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150
30151 cat >conftest.$ac_ext <<_ACEOF
30152 /* confdefs.h. */
30153 _ACEOF
30154 cat confdefs.h >>conftest.$ac_ext
30155 cat >>conftest.$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30157 #include <expat.h>
30158 int
30159 main ()
30160 {
30161
30162 ;
30163 return 0;
30164 }
30165 _ACEOF
30166 rm -f conftest.$ac_objext
30167 if { (ac_try="$ac_compile"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30171 esac
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_compile") 2>conftest.er1
30174 ac_status=$?
30175 grep -v '^ *+' conftest.er1 >conftest.err
30176 rm -f conftest.er1
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_cxx_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest.$ac_objext; then
30183 wx_cv_expat_is_not_broken=yes
30184 else
30185 echo "$as_me: failed program was:" >&5
30186 sed 's/^/| /' conftest.$ac_ext >&5
30187
30188 wx_cv_expat_is_not_broken=no
30189
30190 fi
30191
30192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30193 ac_ext=c
30194 ac_cpp='$CPP $CPPFLAGS'
30195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30198
30199
30200
30201 fi
30202 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30203 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30204 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30205 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30206 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30207 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 else
30210 ac_check_lib_save_LIBS=$LIBS
30211 LIBS="-lexpat $LIBS"
30212 cat >conftest.$ac_ext <<_ACEOF
30213 /* confdefs.h. */
30214 _ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218
30219 /* Override any GCC internal prototype to avoid an error.
30220 Use char because int might match the return type of a GCC
30221 builtin and then its argument prototype would still apply. */
30222 #ifdef __cplusplus
30223 extern "C"
30224 #endif
30225 char XML_ParserCreate ();
30226 int
30227 main ()
30228 {
30229 return XML_ParserCreate ();
30230 ;
30231 return 0;
30232 }
30233 _ACEOF
30234 rm -f conftest.$ac_objext conftest$ac_exeext
30235 if { (ac_try="$ac_link"
30236 case "(($ac_try" in
30237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30238 *) ac_try_echo=$ac_try;;
30239 esac
30240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30241 (eval "$ac_link") 2>conftest.er1
30242 ac_status=$?
30243 grep -v '^ *+' conftest.er1 >conftest.err
30244 rm -f conftest.er1
30245 cat conftest.err >&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); } && {
30248 test -z "$ac_c_werror_flag" ||
30249 test ! -s conftest.err
30250 } && test -s conftest$ac_exeext &&
30251 $as_test_x conftest$ac_exeext; then
30252 ac_cv_lib_expat_XML_ParserCreate=yes
30253 else
30254 echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.$ac_ext >&5
30256
30257 ac_cv_lib_expat_XML_ParserCreate=no
30258 fi
30259
30260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30261 conftest$ac_exeext conftest.$ac_ext
30262 LIBS=$ac_check_lib_save_LIBS
30263 fi
30264 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30265 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30266 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30267 EXPAT_LINK=" -lexpat"
30268 fi
30269
30270 fi
30271 fi
30272 if test "x$EXPAT_LINK" = "x" ; then
30273 if test "$wxUSE_EXPAT" = "sys" ; then
30274 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30275 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30276 { (exit 1); exit 1; }; }
30277 else
30278 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30279 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30280 wxUSE_EXPAT=builtin
30281 fi
30282 else
30283 wxUSE_EXPAT=sys
30284 fi
30285 fi
30286 if test "$wxUSE_EXPAT" = "builtin" ; then
30287 subdirs="$subdirs src/expat"
30288
30289 fi
30290 fi
30291
30292
30293
30294 if test "$wxUSE_LIBMSPACK" != "no"; then
30295 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30296 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30297 if test "${ac_cv_header_mspack_h+set}" = set; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30299 else
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306
30307
30308 #include <mspack.h>
30309 _ACEOF
30310 rm -f conftest.$ac_objext
30311 if { (ac_try="$ac_compile"
30312 case "(($ac_try" in
30313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30314 *) ac_try_echo=$ac_try;;
30315 esac
30316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30317 (eval "$ac_compile") 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } && {
30324 test -z "$ac_c_werror_flag" ||
30325 test ! -s conftest.err
30326 } && test -s conftest.$ac_objext; then
30327 ac_cv_header_mspack_h=yes
30328 else
30329 echo "$as_me: failed program was:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30331
30332 ac_cv_header_mspack_h=no
30333 fi
30334
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336 fi
30337 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30338 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30339 if test $ac_cv_header_mspack_h = yes; then
30340 found_mspack_h=1
30341 fi
30342
30343
30344 if test "x$found_mspack_h" = "x1"; then
30345 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30346 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30347 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 else
30350 ac_check_lib_save_LIBS=$LIBS
30351 LIBS="-lmspack $LIBS"
30352 cat >conftest.$ac_ext <<_ACEOF
30353 /* confdefs.h. */
30354 _ACEOF
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358
30359 /* Override any GCC internal prototype to avoid an error.
30360 Use char because int might match the return type of a GCC
30361 builtin and then its argument prototype would still apply. */
30362 #ifdef __cplusplus
30363 extern "C"
30364 #endif
30365 char mspack_create_chm_decompressor ();
30366 int
30367 main ()
30368 {
30369 return mspack_create_chm_decompressor ();
30370 ;
30371 return 0;
30372 }
30373 _ACEOF
30374 rm -f conftest.$ac_objext conftest$ac_exeext
30375 if { (ac_try="$ac_link"
30376 case "(($ac_try" in
30377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30378 *) ac_try_echo=$ac_try;;
30379 esac
30380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30381 (eval "$ac_link") 2>conftest.er1
30382 ac_status=$?
30383 grep -v '^ *+' conftest.er1 >conftest.err
30384 rm -f conftest.er1
30385 cat conftest.err >&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); } && {
30388 test -z "$ac_c_werror_flag" ||
30389 test ! -s conftest.err
30390 } && test -s conftest$ac_exeext &&
30391 $as_test_x conftest$ac_exeext; then
30392 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30393 else
30394 echo "$as_me: failed program was:" >&5
30395 sed 's/^/| /' conftest.$ac_ext >&5
30396
30397 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30398 fi
30399
30400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30401 conftest$ac_exeext conftest.$ac_ext
30402 LIBS=$ac_check_lib_save_LIBS
30403 fi
30404 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30405 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30406 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30407 MSPACK_LINK=" -lmspack"
30408 fi
30409
30410 fi
30411 if test "x$MSPACK_LINK" = "x" ; then
30412 wxUSE_LIBMSPACK=no
30413 fi
30414 fi
30415
30416 if test "$wxUSE_LIBMSPACK" != "no"; then
30417 cat >>confdefs.h <<\_ACEOF
30418 #define wxUSE_LIBMSPACK 1
30419 _ACEOF
30420
30421 fi
30422
30423
30424
30425 AFMINSTALL=
30426 WIN32INSTALL=
30427
30428 TOOLKIT=
30429 TOOLKIT_INCLUDE=
30430 WIDGET_SET=
30431
30432 if test "$USE_WIN32" = 1 ; then
30433
30434 for ac_header in w32api.h
30435 do
30436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30440 echo $ECHO_N "(cached) $ECHO_C" >&6
30441 else
30442 cat >conftest.$ac_ext <<_ACEOF
30443 /* confdefs.h. */
30444 _ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30448
30449
30450 #include <$ac_header>
30451 _ACEOF
30452 rm -f conftest.$ac_objext
30453 if { (ac_try="$ac_compile"
30454 case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30456 *) ac_try_echo=$ac_try;;
30457 esac
30458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_compile") 2>conftest.er1
30460 ac_status=$?
30461 grep -v '^ *+' conftest.er1 >conftest.err
30462 rm -f conftest.er1
30463 cat conftest.err >&5
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); } && {
30466 test -z "$ac_c_werror_flag" ||
30467 test ! -s conftest.err
30468 } && test -s conftest.$ac_objext; then
30469 eval "$as_ac_Header=yes"
30470 else
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30473
30474 eval "$as_ac_Header=no"
30475 fi
30476
30477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30478 fi
30479 ac_res=`eval echo '${'$as_ac_Header'}'`
30480 { echo "$as_me:$LINENO: result: $ac_res" >&5
30481 echo "${ECHO_T}$ac_res" >&6; }
30482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30483 cat >>confdefs.h <<_ACEOF
30484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30485 _ACEOF
30486
30487 fi
30488
30489 done
30490
30491 { echo "$as_me:$LINENO: checking for windows.h" >&5
30492 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30493 if test "${ac_cv_header_windows_h+set}" = set; then
30494 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 else
30496 cat >conftest.$ac_ext <<_ACEOF
30497 /* confdefs.h. */
30498 _ACEOF
30499 cat confdefs.h >>conftest.$ac_ext
30500 cat >>conftest.$ac_ext <<_ACEOF
30501 /* end confdefs.h. */
30502
30503
30504 #include <windows.h>
30505 _ACEOF
30506 rm -f conftest.$ac_objext
30507 if { (ac_try="$ac_compile"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30511 esac
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_compile") 2>conftest.er1
30514 ac_status=$?
30515 grep -v '^ *+' conftest.er1 >conftest.err
30516 rm -f conftest.er1
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest.$ac_objext; then
30523 ac_cv_header_windows_h=yes
30524 else
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30527
30528 ac_cv_header_windows_h=no
30529 fi
30530
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532 fi
30533 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30534 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30535 if test $ac_cv_header_windows_h = yes; then
30536 :
30537 else
30538
30539 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30540 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30541 { (exit 1); exit 1; }; }
30542
30543 fi
30544
30545
30546
30547 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30548
30549 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30550 LIBS="$LIBS -loleacc"
30551 fi
30552
30553 case "${host}" in
30554 *-*-cygwin* )
30555 LIBS="$LIBS -lkernel32 -luser32"
30556 esac
30557
30558 if test "$wxUSE_ODBC" = "sys" ; then
30559 wxUSE_ODBC = "yes"
30560 fi
30561 if test "$wxUSE_ODBC" = "yes" ; then
30562 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30563 cat >>confdefs.h <<\_ACEOF
30564 #define wxUSE_ODBC 1
30565 _ACEOF
30566
30567 fi
30568
30569 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30570 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30571
30572 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30573
30574 WIN32INSTALL=win32install
30575
30576 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30577 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30578 if test "${ac_cv_header_pbt_h+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 else
30581 cat >conftest.$ac_ext <<_ACEOF
30582 /* confdefs.h. */
30583 _ACEOF
30584 cat confdefs.h >>conftest.$ac_ext
30585 cat >>conftest.$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30587
30588
30589 #include <pbt.h>
30590 _ACEOF
30591 rm -f conftest.$ac_objext
30592 if { (ac_try="$ac_compile"
30593 case "(($ac_try" in
30594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30595 *) ac_try_echo=$ac_try;;
30596 esac
30597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30598 (eval "$ac_compile") 2>conftest.er1
30599 ac_status=$?
30600 grep -v '^ *+' conftest.er1 >conftest.err
30601 rm -f conftest.er1
30602 cat conftest.err >&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } && {
30605 test -z "$ac_c_werror_flag" ||
30606 test ! -s conftest.err
30607 } && test -s conftest.$ac_objext; then
30608 ac_cv_header_pbt_h=yes
30609 else
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30612
30613 ac_cv_header_pbt_h=no
30614 fi
30615
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617 fi
30618 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30619 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30620 if test $ac_cv_header_pbt_h = yes; then
30621 :
30622 else
30623 cat >>confdefs.h <<\_ACEOF
30624 #define NEED_PBT_H 1
30625 _ACEOF
30626
30627 fi
30628
30629
30630 fi
30631
30632 if test "$wxUSE_GUI" = "yes"; then
30633 USE_GUI=1
30634
30635 GUI_TK_LIBRARY=
30636
30637 WXGTK12=
30638 WXGTK127=
30639 WXGTK20=
30640 WXGPE=
30641
30642 if test "$wxUSE_COCOA" = 1 ; then
30643 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30644 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30645 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30646 wxUSE_PRINTING_ARCHITECTURE=no
30647 fi
30648 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30649 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30650 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30651 wxUSE_DRAG_AND_DROP=no
30652 fi
30653 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30654 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30655 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30656 wxUSE_DRAGIMAGE=no
30657 fi
30658 fi
30659
30660 if test "$wxUSE_MSW" = 1 ; then
30661 TOOLKIT=MSW
30662 GUIDIST=MSW_DIST
30663
30664 case "${host}" in
30665 *-*-mingw32* )
30666 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30667 esac
30668 fi
30669
30670 if test "$wxUSE_GTK" = 1; then
30671 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30672 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30673
30674 gtk_version_cached=1
30675 if test "${wx_cv_lib_gtk+set}" = set; then
30676 echo $ECHO_N "(cached) $ECHO_C" >&6
30677 else
30678
30679 gtk_version_cached=0
30680 { echo "$as_me:$LINENO: result: " >&5
30681 echo "${ECHO_T}" >&6; }
30682
30683 GTK_MODULES=
30684 if test "$wxUSE_THREADS" = "yes"; then
30685 GTK_MODULES=gthread
30686 fi
30687
30688 wx_cv_lib_gtk=
30689 if test "x$wxGTK_VERSION" != "x1"
30690 then
30691 case "${host}" in
30692 *-*-solaris2* )
30693 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30694 enable_gtktest=no
30695 fi
30696 esac
30697
30698 # Check whether --enable-gtktest was given.
30699 if test "${enable_gtktest+set}" = set; then
30700 enableval=$enable_gtktest;
30701 else
30702 enable_gtktest=yes
30703 fi
30704
30705
30706 pkg_config_args=gtk+-2.0
30707 for module in . $GTK_MODULES
30708 do
30709 case "$module" in
30710 gthread)
30711 pkg_config_args="$pkg_config_args gthread-2.0"
30712 ;;
30713 esac
30714 done
30715
30716 no_gtk=""
30717
30718 # Extract the first word of "pkg-config", so it can be a program name with args.
30719 set dummy pkg-config; ac_word=$2
30720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30722 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30724 else
30725 case $PKG_CONFIG in
30726 [\\/]* | ?:[\\/]*)
30727 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30728 ;;
30729 *)
30730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30731 for as_dir in $PATH
30732 do
30733 IFS=$as_save_IFS
30734 test -z "$as_dir" && as_dir=.
30735 for ac_exec_ext in '' $ac_executable_extensions; do
30736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30737 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30739 break 2
30740 fi
30741 done
30742 done
30743 IFS=$as_save_IFS
30744
30745 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30746 ;;
30747 esac
30748 fi
30749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30750 if test -n "$PKG_CONFIG"; then
30751 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30752 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30753 else
30754 { echo "$as_me:$LINENO: result: no" >&5
30755 echo "${ECHO_T}no" >&6; }
30756 fi
30757
30758
30759
30760 if test x$PKG_CONFIG != xno ; then
30761 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30762 :
30763 else
30764 echo "*** pkg-config too old; version 0.7 or better required."
30765 no_gtk=yes
30766 PKG_CONFIG=no
30767 fi
30768 else
30769 no_gtk=yes
30770 fi
30771
30772 min_gtk_version=2.0.0
30773 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30774 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30775
30776 if test x$PKG_CONFIG != xno ; then
30777 ## don't try to run the test against uninstalled libtool libs
30778 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30779 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30780 enable_gtktest=no
30781 fi
30782
30783 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30784 :
30785 else
30786 no_gtk=yes
30787 fi
30788 fi
30789
30790 if test x"$no_gtk" = x ; then
30791 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30792 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30793 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30795 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30796 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30797 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30799 if test "x$enable_gtktest" = "xyes" ; then
30800 ac_save_CFLAGS="$CFLAGS"
30801 ac_save_LIBS="$LIBS"
30802 CFLAGS="$CFLAGS $GTK_CFLAGS"
30803 LIBS="$GTK_LIBS $LIBS"
30804 rm -f conf.gtktest
30805 if test "$cross_compiling" = yes; then
30806 echo $ac_n "cross compiling; assumed OK... $ac_c"
30807 else
30808 cat >conftest.$ac_ext <<_ACEOF
30809 /* confdefs.h. */
30810 _ACEOF
30811 cat confdefs.h >>conftest.$ac_ext
30812 cat >>conftest.$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30814
30815 #include <gtk/gtk.h>
30816 #include <stdio.h>
30817 #include <stdlib.h>
30818
30819 int
30820 main ()
30821 {
30822 int major, minor, micro;
30823 char *tmp_version;
30824
30825 system ("touch conf.gtktest");
30826
30827 /* HP/UX 9 (%@#!) writes to sscanf strings */
30828 tmp_version = g_strdup("$min_gtk_version");
30829 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30830 printf("%s, bad version string\n", "$min_gtk_version");
30831 exit(1);
30832 }
30833
30834 if ((gtk_major_version != $gtk_config_major_version) ||
30835 (gtk_minor_version != $gtk_config_minor_version) ||
30836 (gtk_micro_version != $gtk_config_micro_version))
30837 {
30838 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30839 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30840 gtk_major_version, gtk_minor_version, gtk_micro_version);
30841 printf ("*** was found! If pkg-config was correct, then it is best\n");
30842 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30843 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30844 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30845 printf("*** required on your system.\n");
30846 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30847 printf("*** to point to the correct configuration files\n");
30848 }
30849 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30850 (gtk_minor_version != GTK_MINOR_VERSION) ||
30851 (gtk_micro_version != GTK_MICRO_VERSION))
30852 {
30853 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30854 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30855 printf("*** library (version %d.%d.%d)\n",
30856 gtk_major_version, gtk_minor_version, gtk_micro_version);
30857 }
30858 else
30859 {
30860 if ((gtk_major_version > major) ||
30861 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30862 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30863 {
30864 return 0;
30865 }
30866 else
30867 {
30868 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30869 gtk_major_version, gtk_minor_version, gtk_micro_version);
30870 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30871 major, minor, micro);
30872 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30873 printf("***\n");
30874 printf("*** If you have already installed a sufficiently new version, this error\n");
30875 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30876 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30877 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30878 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30879 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30880 printf("*** so that the correct libraries are found at run-time))\n");
30881 }
30882 }
30883 return 1;
30884 }
30885
30886 _ACEOF
30887 rm -f conftest$ac_exeext
30888 if { (ac_try="$ac_link"
30889 case "(($ac_try" in
30890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30891 *) ac_try_echo=$ac_try;;
30892 esac
30893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30894 (eval "$ac_link") 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30898 { (case "(($ac_try" in
30899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30900 *) ac_try_echo=$ac_try;;
30901 esac
30902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30903 (eval "$ac_try") 2>&5
30904 ac_status=$?
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 :
30908 else
30909 echo "$as_me: program exited with status $ac_status" >&5
30910 echo "$as_me: failed program was:" >&5
30911 sed 's/^/| /' conftest.$ac_ext >&5
30912
30913 ( exit $ac_status )
30914 no_gtk=yes
30915 fi
30916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30917 fi
30918
30919
30920 CFLAGS="$ac_save_CFLAGS"
30921 LIBS="$ac_save_LIBS"
30922 fi
30923 fi
30924 if test "x$no_gtk" = x ; then
30925 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30926 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30927 wx_cv_lib_gtk=2.0
30928 else
30929 { echo "$as_me:$LINENO: result: no" >&5
30930 echo "${ECHO_T}no" >&6; }
30931 if test "$PKG_CONFIG" = "no" ; then
30932 echo "*** A new enough version of pkg-config was not found."
30933 echo "*** See http://pkgconfig.sourceforge.net"
30934 else
30935 if test -f conf.gtktest ; then
30936 :
30937 else
30938 echo "*** Could not run GTK+ test program, checking why..."
30939 ac_save_CFLAGS="$CFLAGS"
30940 ac_save_LIBS="$LIBS"
30941 CFLAGS="$CFLAGS $GTK_CFLAGS"
30942 LIBS="$LIBS $GTK_LIBS"
30943 cat >conftest.$ac_ext <<_ACEOF
30944 /* confdefs.h. */
30945 _ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30949
30950 #include <gtk/gtk.h>
30951 #include <stdio.h>
30952
30953 int
30954 main ()
30955 {
30956 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30957 ;
30958 return 0;
30959 }
30960 _ACEOF
30961 rm -f conftest.$ac_objext conftest$ac_exeext
30962 if { (ac_try="$ac_link"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30966 esac
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_link") 2>conftest.er1
30969 ac_status=$?
30970 grep -v '^ *+' conftest.er1 >conftest.err
30971 rm -f conftest.er1
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } && {
30975 test -z "$ac_c_werror_flag" ||
30976 test ! -s conftest.err
30977 } && test -s conftest$ac_exeext &&
30978 $as_test_x conftest$ac_exeext; then
30979 echo "*** The test program compiled, but did not run. This usually means"
30980 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30981 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30982 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30983 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30984 echo "*** is required on your system"
30985 echo "***"
30986 echo "*** If you have an old version installed, it is best to remove it, although"
30987 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30988 else
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.$ac_ext >&5
30991
30992 echo "*** The test program failed to compile or link. See the file config.log for the"
30993 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30994 fi
30995
30996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30997 conftest$ac_exeext conftest.$ac_ext
30998 CFLAGS="$ac_save_CFLAGS"
30999 LIBS="$ac_save_LIBS"
31000 fi
31001 fi
31002 GTK_CFLAGS=""
31003 GTK_LIBS=""
31004 :
31005 fi
31006
31007
31008 rm -f conf.gtktest
31009
31010
31011 case "${host}" in
31012 *-*-solaris2* )
31013 if test "$wxUSE_SHARED" != "yes"; then
31014 GTK_LIBS="$GTK_LIBS -lX11"
31015 fi
31016 esac
31017 fi
31018
31019 if test -z "$wx_cv_lib_gtk"; then
31020 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31021
31022 # Check whether --with-gtk-prefix was given.
31023 if test "${with_gtk_prefix+set}" = set; then
31024 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31025 else
31026 gtk_config_prefix=""
31027 fi
31028
31029
31030 # Check whether --with-gtk-exec-prefix was given.
31031 if test "${with_gtk_exec_prefix+set}" = set; then
31032 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31033 else
31034 gtk_config_exec_prefix=""
31035 fi
31036
31037 # Check whether --enable-gtktest was given.
31038 if test "${enable_gtktest+set}" = set; then
31039 enableval=$enable_gtktest;
31040 else
31041 enable_gtktest=yes
31042 fi
31043
31044
31045 for module in . $GTK_MODULES
31046 do
31047 case "$module" in
31048 gthread)
31049 gtk_config_args="$gtk_config_args gthread"
31050 ;;
31051 esac
31052 done
31053
31054 if test x$gtk_config_exec_prefix != x ; then
31055 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31056 if test x${GTK_CONFIG+set} != xset ; then
31057 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31058 fi
31059 fi
31060 if test x$gtk_config_prefix != x ; then
31061 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31062 if test x${GTK_CONFIG+set} != xset ; then
31063 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31064 fi
31065 fi
31066
31067 # Extract the first word of "gtk-config", so it can be a program name with args.
31068 set dummy gtk-config; ac_word=$2
31069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31071 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31073 else
31074 case $GTK_CONFIG in
31075 [\\/]* | ?:[\\/]*)
31076 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31077 ;;
31078 *)
31079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31080 for as_dir in $PATH
31081 do
31082 IFS=$as_save_IFS
31083 test -z "$as_dir" && as_dir=.
31084 for ac_exec_ext in '' $ac_executable_extensions; do
31085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31086 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31088 break 2
31089 fi
31090 done
31091 done
31092 IFS=$as_save_IFS
31093
31094 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31095 ;;
31096 esac
31097 fi
31098 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31099 if test -n "$GTK_CONFIG"; then
31100 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31101 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31102 else
31103 { echo "$as_me:$LINENO: result: no" >&5
31104 echo "${ECHO_T}no" >&6; }
31105 fi
31106
31107
31108 min_gtk_version=1.2.7
31109 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31110 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31111 no_gtk=""
31112 if test "$GTK_CONFIG" = "no" ; then
31113 no_gtk=yes
31114 else
31115 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31116 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31117 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31119 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31121 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31123 if test "x$enable_gtktest" = "xyes" ; then
31124 ac_save_CFLAGS="$CFLAGS"
31125 ac_save_LIBS="$LIBS"
31126 CFLAGS="$CFLAGS $GTK_CFLAGS"
31127 LIBS="$GTK_LIBS $LIBS"
31128 rm -f conf.gtktest
31129 if test "$cross_compiling" = yes; then
31130 echo $ac_n "cross compiling; assumed OK... $ac_c"
31131 else
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h. */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31138
31139 #include <gtk/gtk.h>
31140 #include <stdio.h>
31141 #include <stdlib.h>
31142
31143 int
31144 main ()
31145 {
31146 int major, minor, micro;
31147 char *tmp_version;
31148
31149 system ("touch conf.gtktest");
31150
31151 /* HP/UX 9 (%@#!) writes to sscanf strings */
31152 tmp_version = g_strdup("$min_gtk_version");
31153 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31154 printf("%s, bad version string\n", "$min_gtk_version");
31155 exit(1);
31156 }
31157
31158 if ((gtk_major_version != $gtk_config_major_version) ||
31159 (gtk_minor_version != $gtk_config_minor_version) ||
31160 (gtk_micro_version != $gtk_config_micro_version))
31161 {
31162 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31163 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31164 gtk_major_version, gtk_minor_version, gtk_micro_version);
31165 printf ("*** was found! If gtk-config was correct, then it is best\n");
31166 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31167 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31168 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31169 printf("*** required on your system.\n");
31170 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31171 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31172 printf("*** before re-running configure\n");
31173 }
31174 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31175 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31176 (gtk_minor_version != GTK_MINOR_VERSION) ||
31177 (gtk_micro_version != GTK_MICRO_VERSION))
31178 {
31179 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31180 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31181 printf("*** library (version %d.%d.%d)\n",
31182 gtk_major_version, gtk_minor_version, gtk_micro_version);
31183 }
31184 #endif /* defined (GTK_MAJOR_VERSION) ... */
31185 else
31186 {
31187 if ((gtk_major_version > major) ||
31188 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31189 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31190 {
31191 return 0;
31192 }
31193 else
31194 {
31195 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31196 gtk_major_version, gtk_minor_version, gtk_micro_version);
31197 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31198 major, minor, micro);
31199 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31200 printf("***\n");
31201 printf("*** If you have already installed a sufficiently new version, this error\n");
31202 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31203 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31204 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31205 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31206 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31207 printf("*** so that the correct libraries are found at run-time))\n");
31208 }
31209 }
31210 return 1;
31211 }
31212
31213 _ACEOF
31214 rm -f conftest$ac_exeext
31215 if { (ac_try="$ac_link"
31216 case "(($ac_try" in
31217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31218 *) ac_try_echo=$ac_try;;
31219 esac
31220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31221 (eval "$ac_link") 2>&5
31222 ac_status=$?
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31225 { (case "(($ac_try" in
31226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 *) ac_try_echo=$ac_try;;
31228 esac
31229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 (eval "$ac_try") 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 :
31235 else
31236 echo "$as_me: program exited with status $ac_status" >&5
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240 ( exit $ac_status )
31241 no_gtk=yes
31242 fi
31243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31244 fi
31245
31246
31247 CFLAGS="$ac_save_CFLAGS"
31248 LIBS="$ac_save_LIBS"
31249 fi
31250 fi
31251 if test "x$no_gtk" = x ; then
31252 { echo "$as_me:$LINENO: result: yes" >&5
31253 echo "${ECHO_T}yes" >&6; }
31254 wx_cv_lib_gtk=1.2.7
31255 else
31256 { echo "$as_me:$LINENO: result: no" >&5
31257 echo "${ECHO_T}no" >&6; }
31258 if test "$GTK_CONFIG" = "no" ; then
31259 echo "*** The gtk-config script installed by GTK could not be found"
31260 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31261 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31262 echo "*** full path to gtk-config."
31263 else
31264 if test -f conf.gtktest ; then
31265 :
31266 else
31267 echo "*** Could not run GTK test program, checking why..."
31268 CFLAGS="$CFLAGS $GTK_CFLAGS"
31269 LIBS="$LIBS $GTK_LIBS"
31270 cat >conftest.$ac_ext <<_ACEOF
31271 /* confdefs.h. */
31272 _ACEOF
31273 cat confdefs.h >>conftest.$ac_ext
31274 cat >>conftest.$ac_ext <<_ACEOF
31275 /* end confdefs.h. */
31276
31277 #include <gtk/gtk.h>
31278 #include <stdio.h>
31279
31280 int
31281 main ()
31282 {
31283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31284 ;
31285 return 0;
31286 }
31287 _ACEOF
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (ac_try="$ac_link"
31290 case "(($ac_try" in
31291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292 *) ac_try_echo=$ac_try;;
31293 esac
31294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 (eval "$ac_link") 2>conftest.er1
31296 ac_status=$?
31297 grep -v '^ *+' conftest.er1 >conftest.err
31298 rm -f conftest.er1
31299 cat conftest.err >&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } && {
31302 test -z "$ac_c_werror_flag" ||
31303 test ! -s conftest.err
31304 } && test -s conftest$ac_exeext &&
31305 $as_test_x conftest$ac_exeext; then
31306 echo "*** The test program compiled, but did not run. This usually means"
31307 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31308 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31309 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31310 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31311 echo "*** is required on your system"
31312 echo "***"
31313 echo "*** If you have an old version installed, it is best to remove it, although"
31314 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31315 echo "***"
31316 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31317 echo "*** came with the system with the command"
31318 echo "***"
31319 echo "*** rpm --erase --nodeps gtk gtk-devel"
31320 else
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31323
31324 echo "*** The test program failed to compile or link. See the file config.log for the"
31325 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31326 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31327 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31328 fi
31329
31330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31331 conftest$ac_exeext conftest.$ac_ext
31332 CFLAGS="$ac_save_CFLAGS"
31333 LIBS="$ac_save_LIBS"
31334 fi
31335 fi
31336 GTK_CFLAGS=""
31337 GTK_LIBS=""
31338 :
31339 fi
31340
31341
31342 rm -f conf.gtktest
31343
31344
31345 if test -z "$wx_cv_lib_gtk"; then
31346
31347 # Check whether --with-gtk-prefix was given.
31348 if test "${with_gtk_prefix+set}" = set; then
31349 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31350 else
31351 gtk_config_prefix=""
31352 fi
31353
31354
31355 # Check whether --with-gtk-exec-prefix was given.
31356 if test "${with_gtk_exec_prefix+set}" = set; then
31357 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31358 else
31359 gtk_config_exec_prefix=""
31360 fi
31361
31362 # Check whether --enable-gtktest was given.
31363 if test "${enable_gtktest+set}" = set; then
31364 enableval=$enable_gtktest;
31365 else
31366 enable_gtktest=yes
31367 fi
31368
31369
31370 for module in . $GTK_MODULES
31371 do
31372 case "$module" in
31373 gthread)
31374 gtk_config_args="$gtk_config_args gthread"
31375 ;;
31376 esac
31377 done
31378
31379 if test x$gtk_config_exec_prefix != x ; then
31380 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31381 if test x${GTK_CONFIG+set} != xset ; then
31382 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31383 fi
31384 fi
31385 if test x$gtk_config_prefix != x ; then
31386 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31387 if test x${GTK_CONFIG+set} != xset ; then
31388 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31389 fi
31390 fi
31391
31392 # Extract the first word of "gtk-config", so it can be a program name with args.
31393 set dummy gtk-config; ac_word=$2
31394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31396 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 case $GTK_CONFIG in
31400 [\\/]* | ?:[\\/]*)
31401 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31402 ;;
31403 *)
31404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31405 for as_dir in $PATH
31406 do
31407 IFS=$as_save_IFS
31408 test -z "$as_dir" && as_dir=.
31409 for ac_exec_ext in '' $ac_executable_extensions; do
31410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31411 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31413 break 2
31414 fi
31415 done
31416 done
31417 IFS=$as_save_IFS
31418
31419 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31420 ;;
31421 esac
31422 fi
31423 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31424 if test -n "$GTK_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31426 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31427 else
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31430 fi
31431
31432
31433 min_gtk_version=1.2.3
31434 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31435 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31436 no_gtk=""
31437 if test "$GTK_CONFIG" = "no" ; then
31438 no_gtk=yes
31439 else
31440 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31441 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31442 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31444 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31446 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31448 if test "x$enable_gtktest" = "xyes" ; then
31449 ac_save_CFLAGS="$CFLAGS"
31450 ac_save_LIBS="$LIBS"
31451 CFLAGS="$CFLAGS $GTK_CFLAGS"
31452 LIBS="$GTK_LIBS $LIBS"
31453 rm -f conf.gtktest
31454 if test "$cross_compiling" = yes; then
31455 echo $ac_n "cross compiling; assumed OK... $ac_c"
31456 else
31457 cat >conftest.$ac_ext <<_ACEOF
31458 /* confdefs.h. */
31459 _ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31463
31464 #include <gtk/gtk.h>
31465 #include <stdio.h>
31466 #include <stdlib.h>
31467
31468 int
31469 main ()
31470 {
31471 int major, minor, micro;
31472 char *tmp_version;
31473
31474 system ("touch conf.gtktest");
31475
31476 /* HP/UX 9 (%@#!) writes to sscanf strings */
31477 tmp_version = g_strdup("$min_gtk_version");
31478 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31479 printf("%s, bad version string\n", "$min_gtk_version");
31480 exit(1);
31481 }
31482
31483 if ((gtk_major_version != $gtk_config_major_version) ||
31484 (gtk_minor_version != $gtk_config_minor_version) ||
31485 (gtk_micro_version != $gtk_config_micro_version))
31486 {
31487 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31488 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31489 gtk_major_version, gtk_minor_version, gtk_micro_version);
31490 printf ("*** was found! If gtk-config was correct, then it is best\n");
31491 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31492 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31493 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31494 printf("*** required on your system.\n");
31495 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31496 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31497 printf("*** before re-running configure\n");
31498 }
31499 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31500 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31501 (gtk_minor_version != GTK_MINOR_VERSION) ||
31502 (gtk_micro_version != GTK_MICRO_VERSION))
31503 {
31504 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31505 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31506 printf("*** library (version %d.%d.%d)\n",
31507 gtk_major_version, gtk_minor_version, gtk_micro_version);
31508 }
31509 #endif /* defined (GTK_MAJOR_VERSION) ... */
31510 else
31511 {
31512 if ((gtk_major_version > major) ||
31513 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31514 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31515 {
31516 return 0;
31517 }
31518 else
31519 {
31520 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31521 gtk_major_version, gtk_minor_version, gtk_micro_version);
31522 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31523 major, minor, micro);
31524 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31525 printf("***\n");
31526 printf("*** If you have already installed a sufficiently new version, this error\n");
31527 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31528 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31529 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31530 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31531 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31532 printf("*** so that the correct libraries are found at run-time))\n");
31533 }
31534 }
31535 return 1;
31536 }
31537
31538 _ACEOF
31539 rm -f conftest$ac_exeext
31540 if { (ac_try="$ac_link"
31541 case "(($ac_try" in
31542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31543 *) ac_try_echo=$ac_try;;
31544 esac
31545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31546 (eval "$ac_link") 2>&5
31547 ac_status=$?
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31550 { (case "(($ac_try" in
31551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31552 *) ac_try_echo=$ac_try;;
31553 esac
31554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31555 (eval "$ac_try") 2>&5
31556 ac_status=$?
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; }; then
31559 :
31560 else
31561 echo "$as_me: program exited with status $ac_status" >&5
31562 echo "$as_me: failed program was:" >&5
31563 sed 's/^/| /' conftest.$ac_ext >&5
31564
31565 ( exit $ac_status )
31566 no_gtk=yes
31567 fi
31568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31569 fi
31570
31571
31572 CFLAGS="$ac_save_CFLAGS"
31573 LIBS="$ac_save_LIBS"
31574 fi
31575 fi
31576 if test "x$no_gtk" = x ; then
31577 { echo "$as_me:$LINENO: result: yes" >&5
31578 echo "${ECHO_T}yes" >&6; }
31579 wx_cv_lib_gtk=1.2.3
31580 else
31581 { echo "$as_me:$LINENO: result: no" >&5
31582 echo "${ECHO_T}no" >&6; }
31583 if test "$GTK_CONFIG" = "no" ; then
31584 echo "*** The gtk-config script installed by GTK could not be found"
31585 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31586 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31587 echo "*** full path to gtk-config."
31588 else
31589 if test -f conf.gtktest ; then
31590 :
31591 else
31592 echo "*** Could not run GTK test program, checking why..."
31593 CFLAGS="$CFLAGS $GTK_CFLAGS"
31594 LIBS="$LIBS $GTK_LIBS"
31595 cat >conftest.$ac_ext <<_ACEOF
31596 /* confdefs.h. */
31597 _ACEOF
31598 cat confdefs.h >>conftest.$ac_ext
31599 cat >>conftest.$ac_ext <<_ACEOF
31600 /* end confdefs.h. */
31601
31602 #include <gtk/gtk.h>
31603 #include <stdio.h>
31604
31605 int
31606 main ()
31607 {
31608 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31609 ;
31610 return 0;
31611 }
31612 _ACEOF
31613 rm -f conftest.$ac_objext conftest$ac_exeext
31614 if { (ac_try="$ac_link"
31615 case "(($ac_try" in
31616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31617 *) ac_try_echo=$ac_try;;
31618 esac
31619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31620 (eval "$ac_link") 2>conftest.er1
31621 ac_status=$?
31622 grep -v '^ *+' conftest.er1 >conftest.err
31623 rm -f conftest.er1
31624 cat conftest.err >&5
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); } && {
31627 test -z "$ac_c_werror_flag" ||
31628 test ! -s conftest.err
31629 } && test -s conftest$ac_exeext &&
31630 $as_test_x conftest$ac_exeext; then
31631 echo "*** The test program compiled, but did not run. This usually means"
31632 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31633 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31634 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31635 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31636 echo "*** is required on your system"
31637 echo "***"
31638 echo "*** If you have an old version installed, it is best to remove it, although"
31639 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31640 echo "***"
31641 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31642 echo "*** came with the system with the command"
31643 echo "***"
31644 echo "*** rpm --erase --nodeps gtk gtk-devel"
31645 else
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.$ac_ext >&5
31648
31649 echo "*** The test program failed to compile or link. See the file config.log for the"
31650 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31651 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31652 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31653 fi
31654
31655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31656 conftest$ac_exeext conftest.$ac_ext
31657 CFLAGS="$ac_save_CFLAGS"
31658 LIBS="$ac_save_LIBS"
31659 fi
31660 fi
31661 GTK_CFLAGS=""
31662 GTK_LIBS=""
31663 :
31664 fi
31665
31666
31667 rm -f conf.gtktest
31668
31669 fi
31670 fi
31671 fi
31672
31673 if test -z "$wx_cv_lib_gtk"; then
31674 wx_cv_lib_gtk=none
31675 else
31676 wx_cv_cflags_gtk=$GTK_CFLAGS
31677 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31678 fi
31679
31680
31681 fi
31682
31683
31684 if test "$gtk_version_cached" = 1; then
31685 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31686 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31687 fi
31688
31689 case "$wx_cv_lib_gtk" in
31690 2.0) WXGTK20=1
31691 TOOLKIT_VERSION=2
31692 ;;
31693 1.2.7) WXGTK127=1
31694 WXGTK12=1
31695 ;;
31696 1.2.3) WXGTK12=1
31697 ;;
31698 *) { { echo "$as_me:$LINENO: error:
31699 The development files for GTK+ were not found. For GTK+ 2, please
31700 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31701 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31702 and that the version is 1.2.3 or above. Also check that the
31703 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31704 --libs' are in the LD_LIBRARY_PATH or equivalent.
31705 " >&5
31706 echo "$as_me: error:
31707 The development files for GTK+ were not found. For GTK+ 2, please
31708 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31709 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31710 and that the version is 1.2.3 or above. Also check that the
31711 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31712 --libs' are in the LD_LIBRARY_PATH or equivalent.
31713 " >&2;}
31714 { (exit 1); exit 1; }; }
31715 ;;
31716 esac
31717
31718 if test "$WXGTK20" = 1; then
31719 save_CFLAGS="$CFLAGS"
31720 save_LIBS="$LIBS"
31721 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31722 LIBS="$LIBS $wx_cv_libs_gtk"
31723
31724 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31725 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31726 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 else
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 #include <gtk/gtk.h>
31736
31737 int
31738 main ()
31739 {
31740 #ifndef gtk_icon_size_lookup
31741 (void) gtk_icon_size_lookup;
31742 #endif
31743
31744 ;
31745 return 0;
31746 }
31747 _ACEOF
31748 rm -f conftest.$ac_objext
31749 if { (ac_try="$ac_compile"
31750 case "(($ac_try" in
31751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31752 *) ac_try_echo=$ac_try;;
31753 esac
31754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31755 (eval "$ac_compile") 2>conftest.er1
31756 ac_status=$?
31757 grep -v '^ *+' conftest.er1 >conftest.err
31758 rm -f conftest.er1
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } && {
31762 test -z "$ac_c_werror_flag" ||
31763 test ! -s conftest.err
31764 } && test -s conftest.$ac_objext; then
31765 ac_cv_have_decl_gtk_icon_size_lookup=yes
31766 else
31767 echo "$as_me: failed program was:" >&5
31768 sed 's/^/| /' conftest.$ac_ext >&5
31769
31770 ac_cv_have_decl_gtk_icon_size_lookup=no
31771 fi
31772
31773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31774 fi
31775 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31776 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31777 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31778
31779 cat >>confdefs.h <<_ACEOF
31780 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31781 _ACEOF
31782
31783
31784 else
31785 cat >>confdefs.h <<_ACEOF
31786 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31787 _ACEOF
31788
31789 cat >>confdefs.h <<\_ACEOF
31790 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31791 _ACEOF
31792
31793 fi
31794
31795
31796
31797
31798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31799 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31800 cat >conftest.$ac_ext <<_ACEOF
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806
31807 #include <gtk/gtk.h>
31808
31809 int
31810 main ()
31811 {
31812
31813 #if !GTK_CHECK_VERSION(2,10,0)
31814 Not GTK+ 2.10
31815 #endif
31816
31817 ;
31818 return 0;
31819 }
31820 _ACEOF
31821 rm -f conftest.$ac_objext
31822 if { (ac_try="$ac_compile"
31823 case "(($ac_try" in
31824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31826 esac
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_compile") 2>conftest.er1
31829 ac_status=$?
31830 grep -v '^ *+' conftest.er1 >conftest.err
31831 rm -f conftest.er1
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest.$ac_objext; then
31838
31839 cat >>confdefs.h <<\_ACEOF
31840 #define __WXGTK210__ 1
31841 _ACEOF
31842
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK26__ 1
31845 _ACEOF
31846
31847 cat >>confdefs.h <<\_ACEOF
31848 #define __WXGTK24__ 1
31849 _ACEOF
31850
31851 { echo "$as_me:$LINENO: result: yes" >&5
31852 echo "${ECHO_T}yes" >&6; }
31853 ac_wxgtk210=1
31854
31855 else
31856 echo "$as_me: failed program was:" >&5
31857 sed 's/^/| /' conftest.$ac_ext >&5
31858
31859
31860 { echo "$as_me:$LINENO: result: no" >&5
31861 echo "${ECHO_T}no" >&6; }
31862 ac_wxgtk210=0
31863
31864 fi
31865
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867
31868 if test "$ac_wxgtk210" = 0; then
31869 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31870 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31871 cat >conftest.$ac_ext <<_ACEOF
31872 /* confdefs.h. */
31873 _ACEOF
31874 cat confdefs.h >>conftest.$ac_ext
31875 cat >>conftest.$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31877
31878 #include <gtk/gtk.h>
31879
31880 int
31881 main ()
31882 {
31883
31884 #if !GTK_CHECK_VERSION(2,6,0)
31885 Not GTK+ 2.6
31886 #endif
31887
31888 ;
31889 return 0;
31890 }
31891 _ACEOF
31892 rm -f conftest.$ac_objext
31893 if { (ac_try="$ac_compile"
31894 case "(($ac_try" in
31895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31896 *) ac_try_echo=$ac_try;;
31897 esac
31898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31899 (eval "$ac_compile") 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } && {
31906 test -z "$ac_c_werror_flag" ||
31907 test ! -s conftest.err
31908 } && test -s conftest.$ac_objext; then
31909
31910 cat >>confdefs.h <<\_ACEOF
31911 #define __WXGTK26__ 1
31912 _ACEOF
31913
31914 cat >>confdefs.h <<\_ACEOF
31915 #define __WXGTK24__ 1
31916 _ACEOF
31917
31918 { echo "$as_me:$LINENO: result: yes" >&5
31919 echo "${ECHO_T}yes" >&6; }
31920 ac_wxgtk26=1
31921
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31925
31926
31927 { echo "$as_me:$LINENO: result: no" >&5
31928 echo "${ECHO_T}no" >&6; }
31929 ac_wxgtk26=0
31930
31931 fi
31932
31933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31934 fi
31935
31936 if test "$ac_wxgtk26" = 0; then
31937 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31938 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31939 cat >conftest.$ac_ext <<_ACEOF
31940 /* confdefs.h. */
31941 _ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31945
31946 #include <gtk/gtk.h>
31947
31948 int
31949 main ()
31950 {
31951
31952 #if !GTK_CHECK_VERSION(2,4,0)
31953 Not GTK+ 2.4
31954 #endif
31955
31956 ;
31957 return 0;
31958 }
31959 _ACEOF
31960 rm -f conftest.$ac_objext
31961 if { (ac_try="$ac_compile"
31962 case "(($ac_try" in
31963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31964 *) ac_try_echo=$ac_try;;
31965 esac
31966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31967 (eval "$ac_compile") 2>conftest.er1
31968 ac_status=$?
31969 grep -v '^ *+' conftest.er1 >conftest.err
31970 rm -f conftest.er1
31971 cat conftest.err >&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } && {
31974 test -z "$ac_c_werror_flag" ||
31975 test ! -s conftest.err
31976 } && test -s conftest.$ac_objext; then
31977
31978 cat >>confdefs.h <<\_ACEOF
31979 #define __WXGTK24__ 1
31980 _ACEOF
31981
31982 { echo "$as_me:$LINENO: result: yes" >&5
31983 echo "${ECHO_T}yes" >&6; }
31984
31985 else
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31988
31989
31990 { echo "$as_me:$LINENO: result: no" >&5
31991 echo "${ECHO_T}no" >&6; }
31992
31993 fi
31994
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31996 fi
31997
31998 CFLAGS="$save_CFLAGS"
31999 LIBS="$save_LIBS"
32000 else
32001 if test "$wxUSE_UNICODE" = "yes"; then
32002 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32003 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32004 wxUSE_UNICODE=no
32005 fi
32006
32007 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32008 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32009 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 else
32012 ac_check_lib_save_LIBS=$LIBS
32013 LIBS="-lgdk $LIBS"
32014 cat >conftest.$ac_ext <<_ACEOF
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32024 #ifdef __cplusplus
32025 extern "C"
32026 #endif
32027 char gdk_im_open ();
32028 int
32029 main ()
32030 {
32031 return gdk_im_open ();
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 rm -f conftest.$ac_objext conftest$ac_exeext
32037 if { (ac_try="$ac_link"
32038 case "(($ac_try" in
32039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32040 *) ac_try_echo=$ac_try;;
32041 esac
32042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32043 (eval "$ac_link") 2>conftest.er1
32044 ac_status=$?
32045 grep -v '^ *+' conftest.er1 >conftest.err
32046 rm -f conftest.er1
32047 cat conftest.err >&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } && {
32050 test -z "$ac_c_werror_flag" ||
32051 test ! -s conftest.err
32052 } && test -s conftest$ac_exeext &&
32053 $as_test_x conftest$ac_exeext; then
32054 ac_cv_lib_gdk_gdk_im_open=yes
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32058
32059 ac_cv_lib_gdk_gdk_im_open=no
32060 fi
32061
32062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32063 conftest$ac_exeext conftest.$ac_ext
32064 LIBS=$ac_check_lib_save_LIBS
32065 fi
32066 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32067 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32068 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32069 cat >>confdefs.h <<\_ACEOF
32070 #define HAVE_XIM 1
32071 _ACEOF
32072
32073 fi
32074
32075
32076 if test "$USE_DARWIN" != 1; then
32077
32078 for ac_func in poll
32079 do
32080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32085 else
32086 cat >conftest.$ac_ext <<_ACEOF
32087 /* confdefs.h. */
32088 _ACEOF
32089 cat confdefs.h >>conftest.$ac_ext
32090 cat >>conftest.$ac_ext <<_ACEOF
32091 /* end confdefs.h. */
32092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32094 #define $ac_func innocuous_$ac_func
32095
32096 /* System header to define __stub macros and hopefully few prototypes,
32097 which can conflict with char $ac_func (); below.
32098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32099 <limits.h> exists even on freestanding compilers. */
32100
32101 #ifdef __STDC__
32102 # include <limits.h>
32103 #else
32104 # include <assert.h>
32105 #endif
32106
32107 #undef $ac_func
32108
32109 /* Override any GCC internal prototype to avoid an error.
32110 Use char because int might match the return type of a GCC
32111 builtin and then its argument prototype would still apply. */
32112 #ifdef __cplusplus
32113 extern "C"
32114 #endif
32115 char $ac_func ();
32116 /* The GNU C library defines this for functions which it implements
32117 to always fail with ENOSYS. Some functions are actually named
32118 something starting with __ and the normal name is an alias. */
32119 #if defined __stub_$ac_func || defined __stub___$ac_func
32120 choke me
32121 #endif
32122
32123 int
32124 main ()
32125 {
32126 return $ac_func ();
32127 ;
32128 return 0;
32129 }
32130 _ACEOF
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (ac_try="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32135 *) ac_try_echo=$ac_try;;
32136 esac
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32139 ac_status=$?
32140 grep -v '^ *+' conftest.er1 >conftest.err
32141 rm -f conftest.er1
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest$ac_exeext &&
32148 $as_test_x conftest$ac_exeext; then
32149 eval "$as_ac_var=yes"
32150 else
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32153
32154 eval "$as_ac_var=no"
32155 fi
32156
32157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32158 conftest$ac_exeext conftest.$ac_ext
32159 fi
32160 ac_res=`eval echo '${'$as_ac_var'}'`
32161 { echo "$as_me:$LINENO: result: $ac_res" >&5
32162 echo "${ECHO_T}$ac_res" >&6; }
32163 if test `eval echo '${'$as_ac_var'}'` = yes; then
32164 cat >>confdefs.h <<_ACEOF
32165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32166 _ACEOF
32167
32168 fi
32169 done
32170
32171 fi
32172 fi
32173
32174 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32175 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32176
32177 AFMINSTALL=afminstall
32178 TOOLKIT=GTK
32179 GUIDIST=GTK_DIST
32180
32181 if test "$wxUSE_GPE" = "yes"; then
32182 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32183 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32184
32185 ac_find_libraries=
32186 for ac_dir in $SEARCH_LIB;
32187 do
32188 for ac_extension in a so sl dylib dll.a; do
32189 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32190 ac_find_libraries=$ac_dir
32191 break 2
32192 fi
32193 done
32194 done
32195
32196 if test "$ac_find_libraries" != "" ; then
32197
32198 if test "$ac_find_libraries" = "default location"; then
32199 ac_path_to_link=""
32200 else
32201 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32202 result=$?
32203 if test $result = 0; then
32204 ac_path_to_link=""
32205 else
32206 ac_path_to_link=" -L$ac_find_libraries"
32207 fi
32208 fi
32209
32210 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32211 WXGPE=1
32212 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32213 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32214 else
32215 { echo "$as_me:$LINENO: result: not found" >&5
32216 echo "${ECHO_T}not found" >&6; }
32217 fi
32218
32219 fi
32220 fi
32221
32222 if test "$wxUSE_MGL" = 1; then
32223 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32224 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32225 if test "x$MGL_ROOT" = x ; then
32226 { echo "$as_me:$LINENO: result: not found" >&5
32227 echo "${ECHO_T}not found" >&6; }
32228 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32229 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32230 { (exit 1); exit 1; }; }
32231 else
32232 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32233 echo "${ECHO_T}$MGL_ROOT" >&6; }
32234 fi
32235
32236 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32237 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32238 case "${host}" in
32239 *-*-linux* )
32240 if test "x$wxUSE_SHARED" = xyes ; then
32241 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32242 else
32243 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32244 fi
32245 ;;
32246 *-pc-msdosdjgpp )
32247 mgl_os_candidates="dos32/dj2"
32248 ;;
32249 *)
32250 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32251 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32252 { (exit 1); exit 1; }; }
32253 esac
32254
32255 mgl_lib_type=""
32256 mgl_os=""
32257
32258 for mgl_os_i in $mgl_os_candidates ; do
32259 if test "x$mgl_os" = x ; then
32260 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32261 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32262 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32263 mgl_lib_type=debug
32264 mgl_os=$mgl_os_i
32265 fi
32266 fi
32267 if test "x$mgl_lib_type" = x ; then
32268 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32269 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32270 mgl_lib_type=release
32271 mgl_os=$mgl_os_i
32272 fi
32273 fi
32274 fi
32275 done
32276
32277 if test "x$mgl_os" = x ; then
32278 { echo "$as_me:$LINENO: result: not found" >&5
32279 echo "${ECHO_T}not found" >&6; }
32280 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32281 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32282 { (exit 1); exit 1; }; }
32283 fi
32284 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32285 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32286
32287 wxUSE_UNIVERSAL="yes"
32288
32289 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32290 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32291
32292 AFMINSTALL=afminstall
32293 TOOLKIT=MGL
32294 GUIDIST=MGL_DIST
32295 fi
32296
32297 if test "$wxUSE_DFB" = 1; then
32298
32299
32300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32301 if test -n "$ac_tool_prefix"; then
32302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 else
32309 case $PKG_CONFIG in
32310 [\\/]* | ?:[\\/]*)
32311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32312 ;;
32313 *)
32314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32315 for as_dir in $PATH
32316 do
32317 IFS=$as_save_IFS
32318 test -z "$as_dir" && as_dir=.
32319 for ac_exec_ext in '' $ac_executable_extensions; do
32320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32323 break 2
32324 fi
32325 done
32326 done
32327 IFS=$as_save_IFS
32328
32329 ;;
32330 esac
32331 fi
32332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32333 if test -n "$PKG_CONFIG"; then
32334 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32335 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32336 else
32337 { echo "$as_me:$LINENO: result: no" >&5
32338 echo "${ECHO_T}no" >&6; }
32339 fi
32340
32341
32342 fi
32343 if test -z "$ac_cv_path_PKG_CONFIG"; then
32344 ac_pt_PKG_CONFIG=$PKG_CONFIG
32345 # Extract the first word of "pkg-config", so it can be a program name with args.
32346 set dummy pkg-config; ac_word=$2
32347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32349 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 else
32352 case $ac_pt_PKG_CONFIG in
32353 [\\/]* | ?:[\\/]*)
32354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32355 ;;
32356 *)
32357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32358 for as_dir in $PATH
32359 do
32360 IFS=$as_save_IFS
32361 test -z "$as_dir" && as_dir=.
32362 for ac_exec_ext in '' $ac_executable_extensions; do
32363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32366 break 2
32367 fi
32368 done
32369 done
32370 IFS=$as_save_IFS
32371
32372 ;;
32373 esac
32374 fi
32375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32376 if test -n "$ac_pt_PKG_CONFIG"; then
32377 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32378 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32379 else
32380 { echo "$as_me:$LINENO: result: no" >&5
32381 echo "${ECHO_T}no" >&6; }
32382 fi
32383
32384 if test "x$ac_pt_PKG_CONFIG" = x; then
32385 PKG_CONFIG=""
32386 else
32387 case $cross_compiling:$ac_tool_warned in
32388 yes:)
32389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32390 whose name does not start with the host triplet. If you think this
32391 configuration is useful to you, please write to autoconf@gnu.org." >&5
32392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32393 whose name does not start with the host triplet. If you think this
32394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32395 ac_tool_warned=yes ;;
32396 esac
32397 PKG_CONFIG=$ac_pt_PKG_CONFIG
32398 fi
32399 else
32400 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32401 fi
32402
32403 fi
32404 if test -n "$PKG_CONFIG"; then
32405 _pkg_min_version=0.9.0
32406 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32407 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32408 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32409 { echo "$as_me:$LINENO: result: yes" >&5
32410 echo "${ECHO_T}yes" >&6; }
32411 else
32412 { echo "$as_me:$LINENO: result: no" >&5
32413 echo "${ECHO_T}no" >&6; }
32414 PKG_CONFIG=""
32415 fi
32416
32417 fi
32418
32419
32420 pkg_failed=no
32421 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32422 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32423
32424 if test -n "$PKG_CONFIG"; then
32425 if test -n "$DIRECTFB_CFLAGS"; then
32426 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32427 else
32428 if test -n "$PKG_CONFIG" && \
32429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32430 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32431 ac_status=$?
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; then
32434 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32435 else
32436 pkg_failed=yes
32437 fi
32438 fi
32439 else
32440 pkg_failed=untried
32441 fi
32442 if test -n "$PKG_CONFIG"; then
32443 if test -n "$DIRECTFB_LIBS"; then
32444 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32445 else
32446 if test -n "$PKG_CONFIG" && \
32447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32448 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32449 ac_status=$?
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; then
32452 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32453 else
32454 pkg_failed=yes
32455 fi
32456 fi
32457 else
32458 pkg_failed=untried
32459 fi
32460
32461
32462
32463 if test $pkg_failed = yes; then
32464
32465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32466 _pkg_short_errors_supported=yes
32467 else
32468 _pkg_short_errors_supported=no
32469 fi
32470 if test $_pkg_short_errors_supported = yes; then
32471 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32472 else
32473 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32474 fi
32475 # Put the nasty error message in config.log where it belongs
32476 echo "$DIRECTFB_PKG_ERRORS" >&5
32477
32478
32479 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32480 echo "$as_me: error: DirectFB not found." >&2;}
32481 { (exit 1); exit 1; }; }
32482
32483
32484 elif test $pkg_failed = untried; then
32485
32486 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32487 echo "$as_me: error: DirectFB not found." >&2;}
32488 { (exit 1); exit 1; }; }
32489
32490
32491 else
32492 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32493 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32494 { echo "$as_me:$LINENO: result: yes" >&5
32495 echo "${ECHO_T}yes" >&6; }
32496
32497 wxUSE_UNIVERSAL="yes"
32498 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32499 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32500 TOOLKIT=DFB
32501 GUIDIST=DFB_DIST
32502
32503 fi
32504 fi
32505
32506 if test "$wxUSE_MICROWIN" = 1; then
32507 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32508 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32509 if test "x$MICROWINDOWS" = x ; then
32510 { echo "$as_me:$LINENO: result: not found" >&5
32511 echo "${ECHO_T}not found" >&6; }
32512 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32513 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32514 { (exit 1); exit 1; }; }
32515 else
32516 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32517 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32518 fi
32519
32520 if test -f $MICROWINDOWS/lib/libmwin.a; then
32521 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32522 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32523 else
32524 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32525 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32526 { (exit 1); exit 1; }; }
32527 fi
32528
32529 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32530 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32531
32532 wxUSE_UNIVERSAL="yes"
32533
32534 AFMINSTALL=afminstall
32535 TOOLKIT=MICROWIN
32536 GUIDIST=MICROWIN_DIST
32537
32538 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32539 fi
32540
32541 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32542 { echo "$as_me:$LINENO: checking for X" >&5
32543 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32544
32545
32546 # Check whether --with-x was given.
32547 if test "${with_x+set}" = set; then
32548 withval=$with_x;
32549 fi
32550
32551 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32552 if test "x$with_x" = xno; then
32553 # The user explicitly disabled X.
32554 have_x=disabled
32555 else
32556 case $x_includes,$x_libraries in #(
32557 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32558 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32559 { (exit 1); exit 1; }; };; #(
32560 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32561 echo $ECHO_N "(cached) $ECHO_C" >&6
32562 else
32563 # One or both of the vars are not set, and there is no cached value.
32564 ac_x_includes=no ac_x_libraries=no
32565 rm -f -r conftest.dir
32566 if mkdir conftest.dir; then
32567 cd conftest.dir
32568 cat >Imakefile <<'_ACEOF'
32569 incroot:
32570 @echo incroot='${INCROOT}'
32571 usrlibdir:
32572 @echo usrlibdir='${USRLIBDIR}'
32573 libdir:
32574 @echo libdir='${LIBDIR}'
32575 _ACEOF
32576 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32578 for ac_var in incroot usrlibdir libdir; do
32579 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32580 done
32581 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32582 for ac_extension in a so sl; do
32583 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32584 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32585 ac_im_usrlibdir=$ac_im_libdir; break
32586 fi
32587 done
32588 # Screen out bogus values from the imake configuration. They are
32589 # bogus both because they are the default anyway, and because
32590 # using them would break gcc on systems where it needs fixed includes.
32591 case $ac_im_incroot in
32592 /usr/include) ac_x_includes= ;;
32593 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32594 esac
32595 case $ac_im_usrlibdir in
32596 /usr/lib | /lib) ;;
32597 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32598 esac
32599 fi
32600 cd ..
32601 rm -f -r conftest.dir
32602 fi
32603
32604 # Standard set of common directories for X headers.
32605 # Check X11 before X11Rn because it is often a symlink to the current release.
32606 ac_x_header_dirs='
32607 /usr/X11/include
32608 /usr/X11R6/include
32609 /usr/X11R5/include
32610 /usr/X11R4/include
32611
32612 /usr/include/X11
32613 /usr/include/X11R6
32614 /usr/include/X11R5
32615 /usr/include/X11R4
32616
32617 /usr/local/X11/include
32618 /usr/local/X11R6/include
32619 /usr/local/X11R5/include
32620 /usr/local/X11R4/include
32621
32622 /usr/local/include/X11
32623 /usr/local/include/X11R6
32624 /usr/local/include/X11R5
32625 /usr/local/include/X11R4
32626
32627 /usr/X386/include
32628 /usr/x386/include
32629 /usr/XFree86/include/X11
32630
32631 /usr/include
32632 /usr/local/include
32633 /usr/unsupported/include
32634 /usr/athena/include
32635 /usr/local/x11r5/include
32636 /usr/lpp/Xamples/include
32637
32638 /usr/openwin/include
32639 /usr/openwin/share/include'
32640
32641 if test "$ac_x_includes" = no; then
32642 # Guess where to find include files, by looking for Xlib.h.
32643 # First, try using that file with no special directory specified.
32644 cat >conftest.$ac_ext <<_ACEOF
32645 /* confdefs.h. */
32646 _ACEOF
32647 cat confdefs.h >>conftest.$ac_ext
32648 cat >>conftest.$ac_ext <<_ACEOF
32649 /* end confdefs.h. */
32650 #include <X11/Xlib.h>
32651 _ACEOF
32652 if { (ac_try="$ac_cpp conftest.$ac_ext"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32656 esac
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32659 ac_status=$?
32660 grep -v '^ *+' conftest.er1 >conftest.err
32661 rm -f conftest.er1
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } >/dev/null && {
32665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32667 }; then
32668 # We can compile using X headers with no special include directory.
32669 ac_x_includes=
32670 else
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32673
32674 for ac_dir in $ac_x_header_dirs; do
32675 if test -r "$ac_dir/X11/Xlib.h"; then
32676 ac_x_includes=$ac_dir
32677 break
32678 fi
32679 done
32680 fi
32681
32682 rm -f conftest.err conftest.$ac_ext
32683 fi # $ac_x_includes = no
32684
32685 if test "$ac_x_libraries" = no; then
32686 # Check for the libraries.
32687 # See if we find them without any special options.
32688 # Don't add to $LIBS permanently.
32689 ac_save_LIBS=$LIBS
32690 LIBS="-lX11 $LIBS"
32691 cat >conftest.$ac_ext <<_ACEOF
32692 /* confdefs.h. */
32693 _ACEOF
32694 cat confdefs.h >>conftest.$ac_ext
32695 cat >>conftest.$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32697 #include <X11/Xlib.h>
32698 int
32699 main ()
32700 {
32701 XrmInitialize ()
32702 ;
32703 return 0;
32704 }
32705 _ACEOF
32706 rm -f conftest.$ac_objext conftest$ac_exeext
32707 if { (ac_try="$ac_link"
32708 case "(($ac_try" in
32709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32711 esac
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_link") 2>conftest.er1
32714 ac_status=$?
32715 grep -v '^ *+' conftest.er1 >conftest.err
32716 rm -f conftest.er1
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest$ac_exeext &&
32723 $as_test_x conftest$ac_exeext; then
32724 LIBS=$ac_save_LIBS
32725 # We can link X programs with no special library path.
32726 ac_x_libraries=
32727 else
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32730
32731 LIBS=$ac_save_LIBS
32732 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32733 do
32734 # Don't even attempt the hair of trying to link an X program!
32735 for ac_extension in a so sl; do
32736 if test -r "$ac_dir/libX11.$ac_extension"; then
32737 ac_x_libraries=$ac_dir
32738 break 2
32739 fi
32740 done
32741 done
32742 fi
32743
32744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32745 conftest$ac_exeext conftest.$ac_ext
32746 fi # $ac_x_libraries = no
32747
32748 case $ac_x_includes,$ac_x_libraries in #(
32749 no,* | *,no | *\'*)
32750 # Didn't find X, or a directory has "'" in its name.
32751 ac_cv_have_x="have_x=no";; #(
32752 *)
32753 # Record where we found X for the cache.
32754 ac_cv_have_x="have_x=yes\
32755 ac_x_includes='$ac_x_includes'\
32756 ac_x_libraries='$ac_x_libraries'"
32757 esac
32758 fi
32759 ;; #(
32760 *) have_x=yes;;
32761 esac
32762 eval "$ac_cv_have_x"
32763 fi # $with_x != no
32764
32765 if test "$have_x" != yes; then
32766 { echo "$as_me:$LINENO: result: $have_x" >&5
32767 echo "${ECHO_T}$have_x" >&6; }
32768 no_x=yes
32769 else
32770 # If each of the values was on the command line, it overrides each guess.
32771 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32772 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32773 # Update the cache value to reflect the command line values.
32774 ac_cv_have_x="have_x=yes\
32775 ac_x_includes='$x_includes'\
32776 ac_x_libraries='$x_libraries'"
32777 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32778 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32779 fi
32780
32781 if test "$no_x" = yes; then
32782 # Not all programs may use this symbol, but it does not hurt to define it.
32783
32784 cat >>confdefs.h <<\_ACEOF
32785 #define X_DISPLAY_MISSING 1
32786 _ACEOF
32787
32788 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32789 else
32790 if test -n "$x_includes"; then
32791 X_CFLAGS="$X_CFLAGS -I$x_includes"
32792 fi
32793
32794 # It would also be nice to do this for all -L options, not just this one.
32795 if test -n "$x_libraries"; then
32796 X_LIBS="$X_LIBS -L$x_libraries"
32797 # For Solaris; some versions of Sun CC require a space after -R and
32798 # others require no space. Words are not sufficient . . . .
32799 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32800 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32801 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32802 ac_xsave_c_werror_flag=$ac_c_werror_flag
32803 ac_c_werror_flag=yes
32804 cat >conftest.$ac_ext <<_ACEOF
32805 /* confdefs.h. */
32806 _ACEOF
32807 cat confdefs.h >>conftest.$ac_ext
32808 cat >>conftest.$ac_ext <<_ACEOF
32809 /* end confdefs.h. */
32810
32811 int
32812 main ()
32813 {
32814
32815 ;
32816 return 0;
32817 }
32818 _ACEOF
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32823 *) ac_try_echo=$ac_try;;
32824 esac
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32827 ac_status=$?
32828 grep -v '^ *+' conftest.er1 >conftest.err
32829 rm -f conftest.er1
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest$ac_exeext &&
32836 $as_test_x conftest$ac_exeext; then
32837 { echo "$as_me:$LINENO: result: no" >&5
32838 echo "${ECHO_T}no" >&6; }
32839 X_LIBS="$X_LIBS -R$x_libraries"
32840 else
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32843
32844 LIBS="$ac_xsave_LIBS -R $x_libraries"
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851
32852 int
32853 main ()
32854 {
32855
32856 ;
32857 return 0;
32858 }
32859 _ACEOF
32860 rm -f conftest.$ac_objext conftest$ac_exeext
32861 if { (ac_try="$ac_link"
32862 case "(($ac_try" in
32863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32864 *) ac_try_echo=$ac_try;;
32865 esac
32866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32867 (eval "$ac_link") 2>conftest.er1
32868 ac_status=$?
32869 grep -v '^ *+' conftest.er1 >conftest.err
32870 rm -f conftest.er1
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } && {
32874 test -z "$ac_c_werror_flag" ||
32875 test ! -s conftest.err
32876 } && test -s conftest$ac_exeext &&
32877 $as_test_x conftest$ac_exeext; then
32878 { echo "$as_me:$LINENO: result: yes" >&5
32879 echo "${ECHO_T}yes" >&6; }
32880 X_LIBS="$X_LIBS -R $x_libraries"
32881 else
32882 echo "$as_me: failed program was:" >&5
32883 sed 's/^/| /' conftest.$ac_ext >&5
32884
32885 { echo "$as_me:$LINENO: result: neither works" >&5
32886 echo "${ECHO_T}neither works" >&6; }
32887 fi
32888
32889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32890 conftest$ac_exeext conftest.$ac_ext
32891 fi
32892
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 ac_c_werror_flag=$ac_xsave_c_werror_flag
32896 LIBS=$ac_xsave_LIBS
32897 fi
32898
32899 # Check for system-dependent libraries X programs must link with.
32900 # Do this before checking for the system-independent R6 libraries
32901 # (-lICE), since we may need -lsocket or whatever for X linking.
32902
32903 if test "$ISC" = yes; then
32904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32905 else
32906 # Martyn Johnson says this is needed for Ultrix, if the X
32907 # libraries were built with DECnet support. And Karl Berry says
32908 # the Alpha needs dnet_stub (dnet does not exist).
32909 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32910 cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h. */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916
32917 /* Override any GCC internal prototype to avoid an error.
32918 Use char because int might match the return type of a GCC
32919 builtin and then its argument prototype would still apply. */
32920 #ifdef __cplusplus
32921 extern "C"
32922 #endif
32923 char XOpenDisplay ();
32924 int
32925 main ()
32926 {
32927 return XOpenDisplay ();
32928 ;
32929 return 0;
32930 }
32931 _ACEOF
32932 rm -f conftest.$ac_objext conftest$ac_exeext
32933 if { (ac_try="$ac_link"
32934 case "(($ac_try" in
32935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32936 *) ac_try_echo=$ac_try;;
32937 esac
32938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32939 (eval "$ac_link") 2>conftest.er1
32940 ac_status=$?
32941 grep -v '^ *+' conftest.er1 >conftest.err
32942 rm -f conftest.er1
32943 cat conftest.err >&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } && {
32946 test -z "$ac_c_werror_flag" ||
32947 test ! -s conftest.err
32948 } && test -s conftest$ac_exeext &&
32949 $as_test_x conftest$ac_exeext; then
32950 :
32951 else
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.$ac_ext >&5
32954
32955 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32956 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32957 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960 ac_check_lib_save_LIBS=$LIBS
32961 LIBS="-ldnet $LIBS"
32962 cat >conftest.$ac_ext <<_ACEOF
32963 /* confdefs.h. */
32964 _ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32968
32969 /* Override any GCC internal prototype to avoid an error.
32970 Use char because int might match the return type of a GCC
32971 builtin and then its argument prototype would still apply. */
32972 #ifdef __cplusplus
32973 extern "C"
32974 #endif
32975 char dnet_ntoa ();
32976 int
32977 main ()
32978 {
32979 return dnet_ntoa ();
32980 ;
32981 return 0;
32982 }
32983 _ACEOF
32984 rm -f conftest.$ac_objext conftest$ac_exeext
32985 if { (ac_try="$ac_link"
32986 case "(($ac_try" in
32987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32988 *) ac_try_echo=$ac_try;;
32989 esac
32990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32991 (eval "$ac_link") 2>conftest.er1
32992 ac_status=$?
32993 grep -v '^ *+' conftest.er1 >conftest.err
32994 rm -f conftest.er1
32995 cat conftest.err >&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } && {
32998 test -z "$ac_c_werror_flag" ||
32999 test ! -s conftest.err
33000 } && test -s conftest$ac_exeext &&
33001 $as_test_x conftest$ac_exeext; then
33002 ac_cv_lib_dnet_dnet_ntoa=yes
33003 else
33004 echo "$as_me: failed program was:" >&5
33005 sed 's/^/| /' conftest.$ac_ext >&5
33006
33007 ac_cv_lib_dnet_dnet_ntoa=no
33008 fi
33009
33010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33011 conftest$ac_exeext conftest.$ac_ext
33012 LIBS=$ac_check_lib_save_LIBS
33013 fi
33014 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33015 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33016 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33017 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33018 fi
33019
33020 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33021 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33022 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33023 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026 ac_check_lib_save_LIBS=$LIBS
33027 LIBS="-ldnet_stub $LIBS"
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034
33035 /* Override any GCC internal prototype to avoid an error.
33036 Use char because int might match the return type of a GCC
33037 builtin and then its argument prototype would still apply. */
33038 #ifdef __cplusplus
33039 extern "C"
33040 #endif
33041 char dnet_ntoa ();
33042 int
33043 main ()
33044 {
33045 return dnet_ntoa ();
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 rm -f conftest.$ac_objext conftest$ac_exeext
33051 if { (ac_try="$ac_link"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33054 *) ac_try_echo=$ac_try;;
33055 esac
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_link") 2>conftest.er1
33058 ac_status=$?
33059 grep -v '^ *+' conftest.er1 >conftest.err
33060 rm -f conftest.er1
33061 cat conftest.err >&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_c_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest$ac_exeext &&
33067 $as_test_x conftest$ac_exeext; then
33068 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33072
33073 ac_cv_lib_dnet_stub_dnet_ntoa=no
33074 fi
33075
33076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33077 conftest$ac_exeext conftest.$ac_ext
33078 LIBS=$ac_check_lib_save_LIBS
33079 fi
33080 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33081 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33082 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33083 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33084 fi
33085
33086 fi
33087 fi
33088
33089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33090 conftest$ac_exeext conftest.$ac_ext
33091 LIBS="$ac_xsave_LIBS"
33092
33093 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33094 # to get the SysV transport functions.
33095 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33096 # needs -lnsl.
33097 # The nsl library prevents programs from opening the X display
33098 # on Irix 5.2, according to T.E. Dickey.
33099 # The functions gethostbyname, getservbyname, and inet_addr are
33100 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33101 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33102 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33103 if test "${ac_cv_func_gethostbyname+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define gethostbyname innocuous_gethostbyname
33115
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char gethostbyname (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33120
33121 #ifdef __STDC__
33122 # include <limits.h>
33123 #else
33124 # include <assert.h>
33125 #endif
33126
33127 #undef gethostbyname
33128
33129 /* Override any GCC internal prototype to avoid an error.
33130 Use char because int might match the return type of a GCC
33131 builtin and then its argument prototype would still apply. */
33132 #ifdef __cplusplus
33133 extern "C"
33134 #endif
33135 char gethostbyname ();
33136 /* The GNU C library defines this for functions which it implements
33137 to always fail with ENOSYS. Some functions are actually named
33138 something starting with __ and the normal name is an alias. */
33139 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33140 choke me
33141 #endif
33142
33143 int
33144 main ()
33145 {
33146 return gethostbyname ();
33147 ;
33148 return 0;
33149 }
33150 _ACEOF
33151 rm -f conftest.$ac_objext conftest$ac_exeext
33152 if { (ac_try="$ac_link"
33153 case "(($ac_try" in
33154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33155 *) ac_try_echo=$ac_try;;
33156 esac
33157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33158 (eval "$ac_link") 2>conftest.er1
33159 ac_status=$?
33160 grep -v '^ *+' conftest.er1 >conftest.err
33161 rm -f conftest.er1
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } && {
33165 test -z "$ac_c_werror_flag" ||
33166 test ! -s conftest.err
33167 } && test -s conftest$ac_exeext &&
33168 $as_test_x conftest$ac_exeext; then
33169 ac_cv_func_gethostbyname=yes
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174 ac_cv_func_gethostbyname=no
33175 fi
33176
33177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33178 conftest$ac_exeext conftest.$ac_ext
33179 fi
33180 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33181 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33182
33183 if test $ac_cv_func_gethostbyname = no; then
33184 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33185 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33186 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 else
33189 ac_check_lib_save_LIBS=$LIBS
33190 LIBS="-lnsl $LIBS"
33191 cat >conftest.$ac_ext <<_ACEOF
33192 /* confdefs.h. */
33193 _ACEOF
33194 cat confdefs.h >>conftest.$ac_ext
33195 cat >>conftest.$ac_ext <<_ACEOF
33196 /* end confdefs.h. */
33197
33198 /* Override any GCC internal prototype to avoid an error.
33199 Use char because int might match the return type of a GCC
33200 builtin and then its argument prototype would still apply. */
33201 #ifdef __cplusplus
33202 extern "C"
33203 #endif
33204 char gethostbyname ();
33205 int
33206 main ()
33207 {
33208 return gethostbyname ();
33209 ;
33210 return 0;
33211 }
33212 _ACEOF
33213 rm -f conftest.$ac_objext conftest$ac_exeext
33214 if { (ac_try="$ac_link"
33215 case "(($ac_try" in
33216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33217 *) ac_try_echo=$ac_try;;
33218 esac
33219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33220 (eval "$ac_link") 2>conftest.er1
33221 ac_status=$?
33222 grep -v '^ *+' conftest.er1 >conftest.err
33223 rm -f conftest.er1
33224 cat conftest.err >&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } && {
33227 test -z "$ac_c_werror_flag" ||
33228 test ! -s conftest.err
33229 } && test -s conftest$ac_exeext &&
33230 $as_test_x conftest$ac_exeext; then
33231 ac_cv_lib_nsl_gethostbyname=yes
33232 else
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.$ac_ext >&5
33235
33236 ac_cv_lib_nsl_gethostbyname=no
33237 fi
33238
33239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33240 conftest$ac_exeext conftest.$ac_ext
33241 LIBS=$ac_check_lib_save_LIBS
33242 fi
33243 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33244 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33245 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33247 fi
33248
33249 if test $ac_cv_lib_nsl_gethostbyname = no; then
33250 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33251 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33252 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 else
33255 ac_check_lib_save_LIBS=$LIBS
33256 LIBS="-lbsd $LIBS"
33257 cat >conftest.$ac_ext <<_ACEOF
33258 /* confdefs.h. */
33259 _ACEOF
33260 cat confdefs.h >>conftest.$ac_ext
33261 cat >>conftest.$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33263
33264 /* Override any GCC internal prototype to avoid an error.
33265 Use char because int might match the return type of a GCC
33266 builtin and then its argument prototype would still apply. */
33267 #ifdef __cplusplus
33268 extern "C"
33269 #endif
33270 char gethostbyname ();
33271 int
33272 main ()
33273 {
33274 return gethostbyname ();
33275 ;
33276 return 0;
33277 }
33278 _ACEOF
33279 rm -f conftest.$ac_objext conftest$ac_exeext
33280 if { (ac_try="$ac_link"
33281 case "(($ac_try" in
33282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33283 *) ac_try_echo=$ac_try;;
33284 esac
33285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33286 (eval "$ac_link") 2>conftest.er1
33287 ac_status=$?
33288 grep -v '^ *+' conftest.er1 >conftest.err
33289 rm -f conftest.er1
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } && {
33293 test -z "$ac_c_werror_flag" ||
33294 test ! -s conftest.err
33295 } && test -s conftest$ac_exeext &&
33296 $as_test_x conftest$ac_exeext; then
33297 ac_cv_lib_bsd_gethostbyname=yes
33298 else
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33301
33302 ac_cv_lib_bsd_gethostbyname=no
33303 fi
33304
33305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33306 conftest$ac_exeext conftest.$ac_ext
33307 LIBS=$ac_check_lib_save_LIBS
33308 fi
33309 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33310 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33311 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33312 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33313 fi
33314
33315 fi
33316 fi
33317
33318 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33319 # socket/setsockopt and other routines are undefined under SCO ODT
33320 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33321 # on later versions), says Simon Leinen: it contains gethostby*
33322 # variants that don't use the name server (or something). -lsocket
33323 # must be given before -lnsl if both are needed. We assume that
33324 # if connect needs -lnsl, so does gethostbyname.
33325 { echo "$as_me:$LINENO: checking for connect" >&5
33326 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33327 if test "${ac_cv_func_connect+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 connect to an innocuous variant, in case <limits.h> declares connect.
33337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33338 #define connect innocuous_connect
33339
33340 /* System header to define __stub macros and hopefully few prototypes,
33341 which can conflict with char connect (); 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 connect
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 connect ();
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_connect || defined __stub___connect
33364 choke me
33365 #endif
33366
33367 int
33368 main ()
33369 {
33370 return connect ();
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_connect=yes
33394 else
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.$ac_ext >&5
33397
33398 ac_cv_func_connect=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_connect" >&5
33405 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33406
33407 if test $ac_cv_func_connect = no; then
33408 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33409 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33410 if test "${ac_cv_lib_socket_connect+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413 ac_check_lib_save_LIBS=$LIBS
33414 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
33429 int
33430 main ()
33431 {
33432 return connect ();
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_socket_connect=yes
33456 else
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.$ac_ext >&5
33459
33460 ac_cv_lib_socket_connect=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_socket_connect" >&5
33468 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33469 if test $ac_cv_lib_socket_connect = yes; then
33470 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33471 fi
33472
33473 fi
33474
33475 # Guillermo Gomez says -lposix is necessary on A/UX.
33476 { echo "$as_me:$LINENO: checking for remove" >&5
33477 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33478 if test "${ac_cv_func_remove+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 remove to an innocuous variant, in case <limits.h> declares remove.
33488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33489 #define remove innocuous_remove
33490
33491 /* System header to define __stub macros and hopefully few prototypes,
33492 which can conflict with char remove (); 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 remove
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 remove ();
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_remove || defined __stub___remove
33515 choke me
33516 #endif
33517
33518 int
33519 main ()
33520 {
33521 return remove ();
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_remove=yes
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 ac_cv_func_remove=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_remove" >&5
33556 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33557
33558 if test $ac_cv_func_remove = no; then
33559 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33560 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33561 if test "${ac_cv_lib_posix_remove+set}" = set; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33563 else
33564 ac_check_lib_save_LIBS=$LIBS
33565 LIBS="-lposix $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 remove ();
33580 int
33581 main ()
33582 {
33583 return remove ();
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_posix_remove=yes
33607 else
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33610
33611 ac_cv_lib_posix_remove=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_posix_remove" >&5
33619 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33620 if test $ac_cv_lib_posix_remove = yes; then
33621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33622 fi
33623
33624 fi
33625
33626 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33627 { echo "$as_me:$LINENO: checking for shmat" >&5
33628 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33629 if test "${ac_cv_func_shmat+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 else
33632 cat >conftest.$ac_ext <<_ACEOF
33633 /* confdefs.h. */
33634 _ACEOF
33635 cat confdefs.h >>conftest.$ac_ext
33636 cat >>conftest.$ac_ext <<_ACEOF
33637 /* end confdefs.h. */
33638 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33640 #define shmat innocuous_shmat
33641
33642 /* System header to define __stub macros and hopefully few prototypes,
33643 which can conflict with char shmat (); below.
33644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33645 <limits.h> exists even on freestanding compilers. */
33646
33647 #ifdef __STDC__
33648 # include <limits.h>
33649 #else
33650 # include <assert.h>
33651 #endif
33652
33653 #undef shmat
33654
33655 /* Override any GCC internal prototype to avoid an error.
33656 Use char because int might match the return type of a GCC
33657 builtin and then its argument prototype would still apply. */
33658 #ifdef __cplusplus
33659 extern "C"
33660 #endif
33661 char shmat ();
33662 /* The GNU C library defines this for functions which it implements
33663 to always fail with ENOSYS. Some functions are actually named
33664 something starting with __ and the normal name is an alias. */
33665 #if defined __stub_shmat || defined __stub___shmat
33666 choke me
33667 #endif
33668
33669 int
33670 main ()
33671 {
33672 return shmat ();
33673 ;
33674 return 0;
33675 }
33676 _ACEOF
33677 rm -f conftest.$ac_objext conftest$ac_exeext
33678 if { (ac_try="$ac_link"
33679 case "(($ac_try" in
33680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33681 *) ac_try_echo=$ac_try;;
33682 esac
33683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33684 (eval "$ac_link") 2>conftest.er1
33685 ac_status=$?
33686 grep -v '^ *+' conftest.er1 >conftest.err
33687 rm -f conftest.er1
33688 cat conftest.err >&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); } && {
33691 test -z "$ac_c_werror_flag" ||
33692 test ! -s conftest.err
33693 } && test -s conftest$ac_exeext &&
33694 $as_test_x conftest$ac_exeext; then
33695 ac_cv_func_shmat=yes
33696 else
33697 echo "$as_me: failed program was:" >&5
33698 sed 's/^/| /' conftest.$ac_ext >&5
33699
33700 ac_cv_func_shmat=no
33701 fi
33702
33703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33704 conftest$ac_exeext conftest.$ac_ext
33705 fi
33706 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33707 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33708
33709 if test $ac_cv_func_shmat = no; then
33710 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33711 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33712 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33713 echo $ECHO_N "(cached) $ECHO_C" >&6
33714 else
33715 ac_check_lib_save_LIBS=$LIBS
33716 LIBS="-lipc $LIBS"
33717 cat >conftest.$ac_ext <<_ACEOF
33718 /* confdefs.h. */
33719 _ACEOF
33720 cat confdefs.h >>conftest.$ac_ext
33721 cat >>conftest.$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33723
33724 /* Override any GCC internal prototype to avoid an error.
33725 Use char because int might match the return type of a GCC
33726 builtin and then its argument prototype would still apply. */
33727 #ifdef __cplusplus
33728 extern "C"
33729 #endif
33730 char shmat ();
33731 int
33732 main ()
33733 {
33734 return shmat ();
33735 ;
33736 return 0;
33737 }
33738 _ACEOF
33739 rm -f conftest.$ac_objext conftest$ac_exeext
33740 if { (ac_try="$ac_link"
33741 case "(($ac_try" in
33742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33743 *) ac_try_echo=$ac_try;;
33744 esac
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_link") 2>conftest.er1
33747 ac_status=$?
33748 grep -v '^ *+' conftest.er1 >conftest.err
33749 rm -f conftest.er1
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_c_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest$ac_exeext &&
33756 $as_test_x conftest$ac_exeext; then
33757 ac_cv_lib_ipc_shmat=yes
33758 else
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33761
33762 ac_cv_lib_ipc_shmat=no
33763 fi
33764
33765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33766 conftest$ac_exeext conftest.$ac_ext
33767 LIBS=$ac_check_lib_save_LIBS
33768 fi
33769 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33770 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33771 if test $ac_cv_lib_ipc_shmat = yes; then
33772 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33773 fi
33774
33775 fi
33776 fi
33777
33778 # Check for libraries that X11R6 Xt/Xaw programs need.
33779 ac_save_LDFLAGS=$LDFLAGS
33780 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33781 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33782 # check for ICE first), but we must link in the order -lSM -lICE or
33783 # we get undefined symbols. So assume we have SM if we have ICE.
33784 # These have to be linked with before -lX11, unlike the other
33785 # libraries we check for below, so use a different variable.
33786 # John Interrante, Karl Berry
33787 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33788 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33789 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33790 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 else
33792 ac_check_lib_save_LIBS=$LIBS
33793 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33794 cat >conftest.$ac_ext <<_ACEOF
33795 /* confdefs.h. */
33796 _ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33800
33801 /* Override any GCC internal prototype to avoid an error.
33802 Use char because int might match the return type of a GCC
33803 builtin and then its argument prototype would still apply. */
33804 #ifdef __cplusplus
33805 extern "C"
33806 #endif
33807 char IceConnectionNumber ();
33808 int
33809 main ()
33810 {
33811 return IceConnectionNumber ();
33812 ;
33813 return 0;
33814 }
33815 _ACEOF
33816 rm -f conftest.$ac_objext conftest$ac_exeext
33817 if { (ac_try="$ac_link"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33820 *) ac_try_echo=$ac_try;;
33821 esac
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_link") 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } && {
33830 test -z "$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33832 } && test -s conftest$ac_exeext &&
33833 $as_test_x conftest$ac_exeext; then
33834 ac_cv_lib_ICE_IceConnectionNumber=yes
33835 else
33836 echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.$ac_ext >&5
33838
33839 ac_cv_lib_ICE_IceConnectionNumber=no
33840 fi
33841
33842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33843 conftest$ac_exeext conftest.$ac_ext
33844 LIBS=$ac_check_lib_save_LIBS
33845 fi
33846 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33847 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33848 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33849 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33850 fi
33851
33852 LDFLAGS=$ac_save_LDFLAGS
33853
33854 fi
33855
33856
33857 if test "$no_x" = "yes"; then
33858 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33859 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33860 { (exit 1); exit 1; }; }
33861 fi
33862
33863 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33864 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33865 AFMINSTALL=afminstall
33866 COMPILED_X_PROGRAM=0
33867
33868 fi
33869
33870 if test "$wxUSE_X11" = 1; then
33871 if test "$wxUSE_NANOX" = "yes"; then
33872 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33873 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33874 if test "x$MICROWIN" = x ; then
33875 { echo "$as_me:$LINENO: result: not found" >&5
33876 echo "${ECHO_T}not found" >&6; }
33877 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33878 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33879 { (exit 1); exit 1; }; }
33880 else
33881 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33882 echo "${ECHO_T}$MICROWIN" >&6; }
33883 cat >>confdefs.h <<\_ACEOF
33884 #define wxUSE_NANOX 1
33885 _ACEOF
33886
33887 fi
33888 fi
33889
33890 if test "$wxUSE_UNICODE" = "yes"; then
33891
33892
33893 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33894 if test -n "$ac_tool_prefix"; then
33895 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33896 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 else
33902 case $PKG_CONFIG in
33903 [\\/]* | ?:[\\/]*)
33904 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33905 ;;
33906 *)
33907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33908 for as_dir in $PATH
33909 do
33910 IFS=$as_save_IFS
33911 test -z "$as_dir" && as_dir=.
33912 for ac_exec_ext in '' $ac_executable_extensions; do
33913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33914 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33916 break 2
33917 fi
33918 done
33919 done
33920 IFS=$as_save_IFS
33921
33922 ;;
33923 esac
33924 fi
33925 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33926 if test -n "$PKG_CONFIG"; then
33927 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33928 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33929 else
33930 { echo "$as_me:$LINENO: result: no" >&5
33931 echo "${ECHO_T}no" >&6; }
33932 fi
33933
33934
33935 fi
33936 if test -z "$ac_cv_path_PKG_CONFIG"; then
33937 ac_pt_PKG_CONFIG=$PKG_CONFIG
33938 # Extract the first word of "pkg-config", so it can be a program name with args.
33939 set dummy pkg-config; ac_word=$2
33940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33942 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33943 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 else
33945 case $ac_pt_PKG_CONFIG in
33946 [\\/]* | ?:[\\/]*)
33947 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33948 ;;
33949 *)
33950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33951 for as_dir in $PATH
33952 do
33953 IFS=$as_save_IFS
33954 test -z "$as_dir" && as_dir=.
33955 for ac_exec_ext in '' $ac_executable_extensions; do
33956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33957 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33959 break 2
33960 fi
33961 done
33962 done
33963 IFS=$as_save_IFS
33964
33965 ;;
33966 esac
33967 fi
33968 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33969 if test -n "$ac_pt_PKG_CONFIG"; then
33970 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33971 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33972 else
33973 { echo "$as_me:$LINENO: result: no" >&5
33974 echo "${ECHO_T}no" >&6; }
33975 fi
33976
33977 if test "x$ac_pt_PKG_CONFIG" = x; then
33978 PKG_CONFIG=""
33979 else
33980 case $cross_compiling:$ac_tool_warned in
33981 yes:)
33982 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33983 whose name does not start with the host triplet. If you think this
33984 configuration is useful to you, please write to autoconf@gnu.org." >&5
33985 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33986 whose name does not start with the host triplet. If you think this
33987 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33988 ac_tool_warned=yes ;;
33989 esac
33990 PKG_CONFIG=$ac_pt_PKG_CONFIG
33991 fi
33992 else
33993 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33994 fi
33995
33996 fi
33997 if test -n "$PKG_CONFIG"; then
33998 _pkg_min_version=0.9.0
33999 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34000 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34001 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34002 { echo "$as_me:$LINENO: result: yes" >&5
34003 echo "${ECHO_T}yes" >&6; }
34004 else
34005 { echo "$as_me:$LINENO: result: no" >&5
34006 echo "${ECHO_T}no" >&6; }
34007 PKG_CONFIG=""
34008 fi
34009
34010 fi
34011
34012
34013 pkg_failed=no
34014 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34015 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34016
34017 if test -n "$PKG_CONFIG"; then
34018 if test -n "$PANGOX_CFLAGS"; then
34019 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
34020 else
34021 if test -n "$PKG_CONFIG" && \
34022 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34023 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34024 ac_status=$?
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; then
34027 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34028 else
34029 pkg_failed=yes
34030 fi
34031 fi
34032 else
34033 pkg_failed=untried
34034 fi
34035 if test -n "$PKG_CONFIG"; then
34036 if test -n "$PANGOX_LIBS"; then
34037 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
34038 else
34039 if test -n "$PKG_CONFIG" && \
34040 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34041 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34042 ac_status=$?
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); }; then
34045 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34046 else
34047 pkg_failed=yes
34048 fi
34049 fi
34050 else
34051 pkg_failed=untried
34052 fi
34053
34054
34055
34056 if test $pkg_failed = yes; then
34057
34058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34059 _pkg_short_errors_supported=yes
34060 else
34061 _pkg_short_errors_supported=no
34062 fi
34063 if test $_pkg_short_errors_supported = yes; then
34064 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34065 else
34066 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34067 fi
34068 # Put the nasty error message in config.log where it belongs
34069 echo "$PANGOX_PKG_ERRORS" >&5
34070
34071
34072 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34073 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34074 { (exit 1); exit 1; }; }
34075
34076
34077 elif test $pkg_failed = untried; then
34078
34079 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34080 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34081 { (exit 1); exit 1; }; }
34082
34083
34084 else
34085 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34086 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34087 { echo "$as_me:$LINENO: result: yes" >&5
34088 echo "${ECHO_T}yes" >&6; }
34089
34090 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34091 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34093
34094 fi
34095
34096 pkg_failed=no
34097 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34098 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34099
34100 if test -n "$PKG_CONFIG"; then
34101 if test -n "$PANGOFT2_CFLAGS"; then
34102 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34103 else
34104 if test -n "$PKG_CONFIG" && \
34105 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34106 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34107 ac_status=$?
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; then
34110 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34111 else
34112 pkg_failed=yes
34113 fi
34114 fi
34115 else
34116 pkg_failed=untried
34117 fi
34118 if test -n "$PKG_CONFIG"; then
34119 if test -n "$PANGOFT2_LIBS"; then
34120 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34121 else
34122 if test -n "$PKG_CONFIG" && \
34123 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34124 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34125 ac_status=$?
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; then
34128 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34129 else
34130 pkg_failed=yes
34131 fi
34132 fi
34133 else
34134 pkg_failed=untried
34135 fi
34136
34137
34138
34139 if test $pkg_failed = yes; then
34140
34141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34142 _pkg_short_errors_supported=yes
34143 else
34144 _pkg_short_errors_supported=no
34145 fi
34146 if test $_pkg_short_errors_supported = yes; then
34147 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34148 else
34149 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34150 fi
34151 # Put the nasty error message in config.log where it belongs
34152 echo "$PANGOFT2_PKG_ERRORS" >&5
34153
34154
34155 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34156 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34157 wxUSE_PRINTING_ARCHITECTURE="no"
34158
34159
34160 elif test $pkg_failed = untried; then
34161
34162 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34163 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34164 wxUSE_PRINTING_ARCHITECTURE="no"
34165
34166
34167 else
34168 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34169 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34170 { echo "$as_me:$LINENO: result: yes" >&5
34171 echo "${ECHO_T}yes" >&6; }
34172
34173 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34174 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34175 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34176
34177 fi
34178
34179 pkg_failed=no
34180 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34181 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34182
34183 if test -n "$PKG_CONFIG"; then
34184 if test -n "$PANGOXFT_CFLAGS"; then
34185 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34186 else
34187 if test -n "$PKG_CONFIG" && \
34188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34189 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34190 ac_status=$?
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; then
34193 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34194 else
34195 pkg_failed=yes
34196 fi
34197 fi
34198 else
34199 pkg_failed=untried
34200 fi
34201 if test -n "$PKG_CONFIG"; then
34202 if test -n "$PANGOXFT_LIBS"; then
34203 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34204 else
34205 if test -n "$PKG_CONFIG" && \
34206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34207 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34208 ac_status=$?
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; then
34211 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34212 else
34213 pkg_failed=yes
34214 fi
34215 fi
34216 else
34217 pkg_failed=untried
34218 fi
34219
34220
34221
34222 if test $pkg_failed = yes; then
34223
34224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34225 _pkg_short_errors_supported=yes
34226 else
34227 _pkg_short_errors_supported=no
34228 fi
34229 if test $_pkg_short_errors_supported = yes; then
34230 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34231 else
34232 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34233 fi
34234 # Put the nasty error message in config.log where it belongs
34235 echo "$PANGOXFT_PKG_ERRORS" >&5
34236
34237
34238 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34239 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34240
34241
34242 elif test $pkg_failed = untried; then
34243
34244 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34245 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34246
34247
34248 else
34249 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34250 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34251 { echo "$as_me:$LINENO: result: yes" >&5
34252 echo "${ECHO_T}yes" >&6; }
34253
34254 cat >>confdefs.h <<\_ACEOF
34255 #define HAVE_PANGO_XFT 1
34256 _ACEOF
34257
34258 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34259 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34260 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34261
34262 fi
34263 save_LIBS="$LIBS"
34264 LIBS="$LIBS $PANGOX_LIBS"
34265
34266 for ac_func in pango_font_family_is_monospace
34267 do
34268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34272 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 else
34274 cat >conftest.$ac_ext <<_ACEOF
34275 /* confdefs.h. */
34276 _ACEOF
34277 cat confdefs.h >>conftest.$ac_ext
34278 cat >>conftest.$ac_ext <<_ACEOF
34279 /* end confdefs.h. */
34280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34282 #define $ac_func innocuous_$ac_func
34283
34284 /* System header to define __stub macros and hopefully few prototypes,
34285 which can conflict with char $ac_func (); below.
34286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34287 <limits.h> exists even on freestanding compilers. */
34288
34289 #ifdef __STDC__
34290 # include <limits.h>
34291 #else
34292 # include <assert.h>
34293 #endif
34294
34295 #undef $ac_func
34296
34297 /* Override any GCC internal prototype to avoid an error.
34298 Use char because int might match the return type of a GCC
34299 builtin and then its argument prototype would still apply. */
34300 #ifdef __cplusplus
34301 extern "C"
34302 #endif
34303 char $ac_func ();
34304 /* The GNU C library defines this for functions which it implements
34305 to always fail with ENOSYS. Some functions are actually named
34306 something starting with __ and the normal name is an alias. */
34307 #if defined __stub_$ac_func || defined __stub___$ac_func
34308 choke me
34309 #endif
34310
34311 int
34312 main ()
34313 {
34314 return $ac_func ();
34315 ;
34316 return 0;
34317 }
34318 _ACEOF
34319 rm -f conftest.$ac_objext conftest$ac_exeext
34320 if { (ac_try="$ac_link"
34321 case "(($ac_try" in
34322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34323 *) ac_try_echo=$ac_try;;
34324 esac
34325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34326 (eval "$ac_link") 2>conftest.er1
34327 ac_status=$?
34328 grep -v '^ *+' conftest.er1 >conftest.err
34329 rm -f conftest.er1
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } && {
34333 test -z "$ac_c_werror_flag" ||
34334 test ! -s conftest.err
34335 } && test -s conftest$ac_exeext &&
34336 $as_test_x conftest$ac_exeext; then
34337 eval "$as_ac_var=yes"
34338 else
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 eval "$as_ac_var=no"
34343 fi
34344
34345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34346 conftest$ac_exeext conftest.$ac_ext
34347 fi
34348 ac_res=`eval echo '${'$as_ac_var'}'`
34349 { echo "$as_me:$LINENO: result: $ac_res" >&5
34350 echo "${ECHO_T}$ac_res" >&6; }
34351 if test `eval echo '${'$as_ac_var'}'` = yes; then
34352 cat >>confdefs.h <<_ACEOF
34353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359 LIBS="$save_LIBS"
34360 fi
34361
34362 wxUSE_UNIVERSAL="yes"
34363
34364 if test "$wxUSE_NANOX" = "yes"; then
34365 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34366 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"
34367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34368 else
34369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34370 fi
34371
34372 TOOLKIT=X11
34373 GUIDIST=X11_DIST
34374 fi
34375
34376 if test "$wxUSE_MOTIF" = 1; then
34377 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34378 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34379
34380 ac_find_includes=
34381 for ac_dir in $SEARCH_INCLUDE /usr/include;
34382 do
34383 if test -f "$ac_dir/Xm/Xm.h"; then
34384 ac_find_includes=$ac_dir
34385 break
34386 fi
34387 done
34388
34389 if test "$ac_find_includes" != "" ; then
34390 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34391 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34392
34393 if test "x$ac_find_includes" = "x/usr/include"; then
34394 ac_path_to_include=""
34395 else
34396 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34397 result=$?
34398 if test $result = 0; then
34399 ac_path_to_include=""
34400 else
34401 ac_path_to_include=" -I$ac_find_includes"
34402 fi
34403 fi
34404
34405 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34406 else
34407 save_CFLAGS=$CFLAGS
34408 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34409
34410 cat >conftest.$ac_ext <<_ACEOF
34411 /* confdefs.h. */
34412 _ACEOF
34413 cat confdefs.h >>conftest.$ac_ext
34414 cat >>conftest.$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34416
34417 #include <Xm/Xm.h>
34418
34419 int
34420 main ()
34421 {
34422
34423 int version;
34424 version = xmUseVersion;
34425
34426 ;
34427 return 0;
34428 }
34429 _ACEOF
34430 rm -f conftest.$ac_objext
34431 if { (ac_try="$ac_compile"
34432 case "(($ac_try" in
34433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34434 *) ac_try_echo=$ac_try;;
34435 esac
34436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34437 (eval "$ac_compile") 2>conftest.er1
34438 ac_status=$?
34439 grep -v '^ *+' conftest.er1 >conftest.err
34440 rm -f conftest.er1
34441 cat conftest.err >&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } && {
34444 test -z "$ac_c_werror_flag" ||
34445 test ! -s conftest.err
34446 } && test -s conftest.$ac_objext; then
34447
34448 { echo "$as_me:$LINENO: result: found in default search path" >&5
34449 echo "${ECHO_T}found in default search path" >&6; }
34450 COMPILED_X_PROGRAM=1
34451
34452 else
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.$ac_ext >&5
34455
34456
34457 { echo "$as_me:$LINENO: result: no" >&5
34458 echo "${ECHO_T}no" >&6; }
34459 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34460 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34461 { (exit 1); exit 1; }; }
34462
34463
34464 fi
34465
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467
34468 CFLAGS=$save_CFLAGS
34469 fi
34470
34471
34472 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34473 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34474
34475 ac_find_libraries=
34476 for ac_dir in $SEARCH_LIB;
34477 do
34478 for ac_extension in a so sl dylib dll.a; do
34479 if test -f "$ac_dir/libXm.$ac_extension"; then
34480 ac_find_libraries=$ac_dir
34481 break 2
34482 fi
34483 done
34484 done
34485
34486
34487 if test "x$ac_find_libraries" != "x" ; then
34488 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34489 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34490
34491
34492 if test "$ac_find_libraries" = "default location"; then
34493 ac_path_to_link=""
34494 else
34495 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34496 result=$?
34497 if test $result = 0; then
34498 ac_path_to_link=""
34499 else
34500 ac_path_to_link=" -L$ac_find_libraries"
34501 fi
34502 fi
34503
34504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34505 else
34506 save_CFLAGS=$CFLAGS
34507 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34508 save_LIBS="$LIBS"
34509 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34510
34511 cat >conftest.$ac_ext <<_ACEOF
34512 /* confdefs.h. */
34513 _ACEOF
34514 cat confdefs.h >>conftest.$ac_ext
34515 cat >>conftest.$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34517
34518 #include <Xm/Xm.h>
34519
34520 int
34521 main ()
34522 {
34523
34524 int version;
34525 version = xmUseVersion;
34526
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 rm -f conftest.$ac_objext conftest$ac_exeext
34532 if { (ac_try="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535 *) ac_try_echo=$ac_try;;
34536 esac
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34539 ac_status=$?
34540 grep -v '^ *+' conftest.er1 >conftest.err
34541 rm -f conftest.er1
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest$ac_exeext &&
34548 $as_test_x conftest$ac_exeext; then
34549
34550 { echo "$as_me:$LINENO: result: found in default search path" >&5
34551 echo "${ECHO_T}found in default search path" >&6; }
34552 COMPILED_X_PROGRAM=1
34553
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34557
34558
34559 { echo "$as_me:$LINENO: result: no" >&5
34560 echo "${ECHO_T}no" >&6; }
34561 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34562 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34563 { (exit 1); exit 1; }; }
34564
34565
34566 fi
34567
34568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34569 conftest$ac_exeext conftest.$ac_ext
34570
34571 CFLAGS=$save_CFLAGS
34572 LIBS="$save_LIBS"
34573 fi
34574
34575 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34576 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34577 libp_link=""
34578 libsm_ice_link=""
34579 libs_found=0
34580 for libp in "" " -lXp"; do
34581 if test "$libs_found" = "0"; then
34582 for libsm_ice in "" " -lSM -lICE"; do
34583 if test "$libs_found" = "0"; then
34584 save_LIBS="$LIBS"
34585 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34586 save_CFLAGS=$CFLAGS
34587 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34588
34589 cat >conftest.$ac_ext <<_ACEOF
34590 /* confdefs.h. */
34591 _ACEOF
34592 cat confdefs.h >>conftest.$ac_ext
34593 cat >>conftest.$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595
34596 #include <Xm/Xm.h>
34597 #include <Xm/List.h>
34598
34599 int
34600 main ()
34601 {
34602
34603 XmString string = NULL;
34604 Widget w = NULL;
34605 int position = 0;
34606 XmListAddItem(w, string, position);
34607
34608 ;
34609 return 0;
34610 }
34611 _ACEOF
34612 rm -f conftest.$ac_objext conftest$ac_exeext
34613 if { (ac_try="$ac_link"
34614 case "(($ac_try" in
34615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34616 *) ac_try_echo=$ac_try;;
34617 esac
34618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34619 (eval "$ac_link") 2>conftest.er1
34620 ac_status=$?
34621 grep -v '^ *+' conftest.er1 >conftest.err
34622 rm -f conftest.er1
34623 cat conftest.err >&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } && {
34626 test -z "$ac_c_werror_flag" ||
34627 test ! -s conftest.err
34628 } && test -s conftest$ac_exeext &&
34629 $as_test_x conftest$ac_exeext; then
34630
34631 libp_link="$libp"
34632 libsm_ice_link="$libsm_ice"
34633 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34634 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34635 libs_found=1
34636
34637 else
34638 echo "$as_me: failed program was:" >&5
34639 sed 's/^/| /' conftest.$ac_ext >&5
34640
34641
34642
34643 fi
34644
34645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34646 conftest$ac_exeext conftest.$ac_ext
34647
34648 LIBS="$save_LIBS"
34649 CFLAGS=$save_CFLAGS
34650 fi
34651 done
34652 fi
34653 done
34654
34655 if test "$libs_found" = "0"; then
34656 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34657 echo "${ECHO_T}can't find the right libraries" >&6; }
34658 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34659 echo "$as_me: error: can't link a simple motif program" >&2;}
34660 { (exit 1); exit 1; }; }
34661 fi
34662
34663 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34664 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34665 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 else
34668 ac_check_lib_save_LIBS=$LIBS
34669 LIBS="-lSgm $LIBS"
34670 cat >conftest.$ac_ext <<_ACEOF
34671 /* confdefs.h. */
34672 _ACEOF
34673 cat confdefs.h >>conftest.$ac_ext
34674 cat >>conftest.$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34676
34677 /* Override any GCC internal prototype to avoid an error.
34678 Use char because int might match the return type of a GCC
34679 builtin and then its argument prototype would still apply. */
34680 #ifdef __cplusplus
34681 extern "C"
34682 #endif
34683 char SgCreateList ();
34684 int
34685 main ()
34686 {
34687 return SgCreateList ();
34688 ;
34689 return 0;
34690 }
34691 _ACEOF
34692 rm -f conftest.$ac_objext conftest$ac_exeext
34693 if { (ac_try="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34697 esac
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34700 ac_status=$?
34701 grep -v '^ *+' conftest.er1 >conftest.err
34702 rm -f conftest.er1
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 ac_cv_lib_Sgm_SgCreateList=yes
34711 else
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34714
34715 ac_cv_lib_Sgm_SgCreateList=no
34716 fi
34717
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 LIBS=$ac_check_lib_save_LIBS
34721 fi
34722 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34723 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34724 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34725 libsgm_link=" -lSgm"
34726 fi
34727
34728
34729 save_CFLAGS=$CFLAGS
34730 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34731
34732 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34733 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34734 if test "${wx_cv_lib_motif2+set}" = set; then
34735 echo $ECHO_N "(cached) $ECHO_C" >&6
34736 else
34737 cat >conftest.$ac_ext <<_ACEOF
34738 /* confdefs.h. */
34739 _ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34743
34744 #include <Xm/Xm.h>
34745
34746 int
34747 main ()
34748 {
34749
34750 #if XmVersion < 2000
34751 Not Motif 2
34752 #endif
34753
34754 ;
34755 return 0;
34756 }
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (ac_try="$ac_compile"
34760 case "(($ac_try" in
34761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34762 *) ac_try_echo=$ac_try;;
34763 esac
34764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34765 (eval "$ac_compile") 2>conftest.er1
34766 ac_status=$?
34767 grep -v '^ *+' conftest.er1 >conftest.err
34768 rm -f conftest.er1
34769 cat conftest.err >&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } && {
34772 test -z "$ac_c_werror_flag" ||
34773 test ! -s conftest.err
34774 } && test -s conftest.$ac_objext; then
34775 wx_cv_lib_motif2="yes"
34776 else
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.$ac_ext >&5
34779
34780 wx_cv_lib_motif2="no"
34781 fi
34782
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 fi
34785 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34786 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34787 if test "$wx_cv_lib_motif2" = "yes"; then
34788 cat >>confdefs.h <<\_ACEOF
34789 #define __WXMOTIF20__ 1
34790 _ACEOF
34791
34792 else
34793 cat >>confdefs.h <<\_ACEOF
34794 #define __WXMOTIF20__ 0
34795 _ACEOF
34796
34797 fi
34798
34799 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34800 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34801 if test "${wx_cv_lib_lesstif+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 else
34804 cat >conftest.$ac_ext <<_ACEOF
34805 /* confdefs.h. */
34806 _ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810
34811 #include <Xm/Xm.h>
34812
34813 int
34814 main ()
34815 {
34816
34817 #if !defined(LesstifVersion) || LesstifVersion <= 0
34818 Not Lesstif
34819 #endif
34820
34821 ;
34822 return 0;
34823 }
34824 _ACEOF
34825 rm -f conftest.$ac_objext
34826 if { (ac_try="$ac_compile"
34827 case "(($ac_try" in
34828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34829 *) ac_try_echo=$ac_try;;
34830 esac
34831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34832 (eval "$ac_compile") 2>conftest.er1
34833 ac_status=$?
34834 grep -v '^ *+' conftest.er1 >conftest.err
34835 rm -f conftest.er1
34836 cat conftest.err >&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); } && {
34839 test -z "$ac_c_werror_flag" ||
34840 test ! -s conftest.err
34841 } && test -s conftest.$ac_objext; then
34842 wx_cv_lib_lesstif="yes"
34843 else
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34846
34847 wx_cv_lib_lesstif="no"
34848 fi
34849
34850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34851
34852 fi
34853 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34854 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34855 if test "$wx_cv_lib_lesstif" = "yes"; then
34856 cat >>confdefs.h <<\_ACEOF
34857 #define __WXLESSTIF__ 1
34858 _ACEOF
34859
34860 else
34861 cat >>confdefs.h <<\_ACEOF
34862 #define __WXLESSTIF__ 0
34863 _ACEOF
34864
34865 fi
34866
34867 CFLAGS=$save_CFLAGS
34868
34869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34870 TOOLKIT=MOTIF
34871 GUIDIST=MOTIF_DIST
34872 fi
34873
34874 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34875 if test "$wxUSE_LIBXPM" = "sys"; then
34876 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34877 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34878
34879 ac_find_libraries=
34880 for ac_dir in $SEARCH_LIB;
34881 do
34882 for ac_extension in a so sl dylib dll.a; do
34883 if test -f "$ac_dir/libXpm.$ac_extension"; then
34884 ac_find_libraries=$ac_dir
34885 break 2
34886 fi
34887 done
34888 done
34889
34890 if test "$ac_find_libraries" != "" ; then
34891
34892 if test "$ac_find_libraries" = "default location"; then
34893 ac_path_to_link=""
34894 else
34895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34896 result=$?
34897 if test $result = 0; then
34898 ac_path_to_link=""
34899 else
34900 ac_path_to_link=" -L$ac_find_libraries"
34901 fi
34902 fi
34903
34904 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34905 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34906 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34907
34908 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34909 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34910 if test "${wx_cv_x11_xpm_h+set}" = set; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34912 else
34913
34914 save_CFLAGS=$CFLAGS
34915 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34916
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923
34924 #include <X11/xpm.h>
34925
34926 int
34927 main ()
34928 {
34929
34930 int version;
34931 version = XpmLibraryVersion();
34932
34933 ;
34934 return 0;
34935 }
34936 _ACEOF
34937 rm -f conftest.$ac_objext
34938 if { (ac_try="$ac_compile"
34939 case "(($ac_try" in
34940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34941 *) ac_try_echo=$ac_try;;
34942 esac
34943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34944 (eval "$ac_compile") 2>conftest.er1
34945 ac_status=$?
34946 grep -v '^ *+' conftest.er1 >conftest.err
34947 rm -f conftest.er1
34948 cat conftest.err >&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); } && {
34951 test -z "$ac_c_werror_flag" ||
34952 test ! -s conftest.err
34953 } && test -s conftest.$ac_objext; then
34954 wx_cv_x11_xpm_h=yes
34955 else
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.$ac_ext >&5
34958
34959 wx_cv_x11_xpm_h=no
34960
34961 fi
34962
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34964
34965 CFLAGS=$save_CFLAGS
34966
34967
34968 fi
34969 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34970 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34971
34972 if test $wx_cv_x11_xpm_h = "yes"; then
34973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34974 cat >>confdefs.h <<\_ACEOF
34975 #define wxHAVE_LIB_XPM 1
34976 _ACEOF
34977
34978 else
34979 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34980 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34981 fi
34982 fi
34983
34984 fi
34985
34986 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34987 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34988 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 else
34991 ac_check_lib_save_LIBS=$LIBS
34992 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34993 cat >conftest.$ac_ext <<_ACEOF
34994 /* confdefs.h. */
34995 _ACEOF
34996 cat confdefs.h >>conftest.$ac_ext
34997 cat >>conftest.$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
34999
35000 /* Override any GCC internal prototype to avoid an error.
35001 Use char because int might match the return type of a GCC
35002 builtin and then its argument prototype would still apply. */
35003 #ifdef __cplusplus
35004 extern "C"
35005 #endif
35006 char XShapeQueryExtension ();
35007 int
35008 main ()
35009 {
35010 return XShapeQueryExtension ();
35011 ;
35012 return 0;
35013 }
35014 _ACEOF
35015 rm -f conftest.$ac_objext conftest$ac_exeext
35016 if { (ac_try="$ac_link"
35017 case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35020 esac
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_link") 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest$ac_exeext &&
35032 $as_test_x conftest$ac_exeext; then
35033 ac_cv_lib_Xext_XShapeQueryExtension=yes
35034 else
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35037
35038 ac_cv_lib_Xext_XShapeQueryExtension=no
35039 fi
35040
35041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35042 conftest$ac_exeext conftest.$ac_ext
35043 LIBS=$ac_check_lib_save_LIBS
35044 fi
35045 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35046 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35047 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35048
35049 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35050 wxHAVE_XEXT_LIB=1
35051
35052 fi
35053
35054
35055 if test "$wxHAVE_XEXT_LIB" = 1; then
35056 save_CFLAGS="$CFLAGS"
35057 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35058
35059 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35060 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35061 cat >conftest.$ac_ext <<_ACEOF
35062 /* confdefs.h. */
35063 _ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067
35068 #include <X11/Xlib.h>
35069 #include <X11/extensions/shape.h>
35070
35071 int
35072 main ()
35073 {
35074
35075 int dummy1, dummy2;
35076 XShapeQueryExtension((Display*)NULL,
35077 (int*)NULL, (int*)NULL);
35078
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 rm -f conftest.$ac_objext
35084 if { (ac_try="$ac_compile"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35087 *) ac_try_echo=$ac_try;;
35088 esac
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_compile") 2>conftest.er1
35091 ac_status=$?
35092 grep -v '^ *+' conftest.er1 >conftest.err
35093 rm -f conftest.er1
35094 cat conftest.err >&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && {
35097 test -z "$ac_c_werror_flag" ||
35098 test ! -s conftest.err
35099 } && test -s conftest.$ac_objext; then
35100
35101 cat >>confdefs.h <<\_ACEOF
35102 #define HAVE_XSHAPE 1
35103 _ACEOF
35104
35105 { echo "$as_me:$LINENO: result: found" >&5
35106 echo "${ECHO_T}found" >&6; }
35107
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112
35113 { echo "$as_me:$LINENO: result: not found" >&5
35114 echo "${ECHO_T}not found" >&6; }
35115
35116 fi
35117
35118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35119 CFLAGS="$save_CFLAGS"
35120
35121 fi
35122 fi
35123
35124 if test "$wxUSE_MAC" = 1; then
35125 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35126 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35127 if test "$GCC" = yes; then
35128 { echo "$as_me:$LINENO: result: gcc" >&5
35129 echo "${ECHO_T}gcc" >&6; }
35130 CPPFLAGS_PASCAL="-fpascal-strings"
35131 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35132 { echo "$as_me:$LINENO: result: xlc" >&5
35133 echo "${ECHO_T}xlc" >&6; }
35134 CPPFLAGS_PASCAL="-qmacpstr"
35135 else
35136 { echo "$as_me:$LINENO: result: none" >&5
35137 echo "${ECHO_T}none" >&6; }
35138 fi
35139
35140 if test "x$wxUSE_UNIX" = "xyes"; then
35141 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35142 else
35143 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35144 fi
35145
35146 TOOLKIT=MAC
35147 GUIDIST=MACX_DIST
35148 WXBASEPORT="_carbon"
35149 fi
35150
35151 if test "$wxUSE_COCOA" = 1; then
35152 TOOLKIT=COCOA
35153 GUIDIST=COCOA_DIST
35154 fi
35155
35156 if test "$wxUSE_PM" = 1; then
35157 TOOLKIT=PM
35158 GUIDIST=PM_DIST
35159 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35160 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35161 if test "${wx_cv_spbcdata+set}" = set; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35163 else
35164
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h. */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35171
35172 #define INCL_PM
35173 #include <os2.h>
35174
35175 int
35176 main ()
35177 {
35178
35179 SPBCDATA test;
35180
35181 ;
35182 return 0;
35183 }
35184 _ACEOF
35185 rm -f conftest.$ac_objext
35186 if { (ac_try="$ac_compile"
35187 case "(($ac_try" in
35188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35189 *) ac_try_echo=$ac_try;;
35190 esac
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_compile") 2>conftest.er1
35193 ac_status=$?
35194 grep -v '^ *+' conftest.er1 >conftest.err
35195 rm -f conftest.er1
35196 cat conftest.err >&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && {
35199 test -z "$ac_c_werror_flag" ||
35200 test ! -s conftest.err
35201 } && test -s conftest.$ac_objext; then
35202 wx_cv_spbcdata=yes
35203 else
35204 echo "$as_me: failed program was:" >&5
35205 sed 's/^/| /' conftest.$ac_ext >&5
35206
35207 wx_cv_spbcdata=no
35208
35209 fi
35210
35211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35212
35213
35214 fi
35215 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35216 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35217
35218 if test $wx_cv_spbcdata = "yes"; then
35219 cat >>confdefs.h <<\_ACEOF
35220 #define HAVE_SPBCDATA 1
35221 _ACEOF
35222
35223 fi
35224 fi
35225
35226 if test "$TOOLKIT" = "PM" ; then
35227 TOOLKIT_DIR="os2"
35228 else
35229 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35230 fi
35231
35232 if test "$wxUSE_UNIVERSAL" = "yes"; then
35233 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35234 WIDGET_SET=univ
35235 fi
35236
35237 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35238 DISTDIR="wx\$(TOOLKIT)"
35239 else
35240 USE_GUI=0
35241
35242 TOOLKIT_DIR="base"
35243
35244 if test "$USE_WIN32" = 1 ; then
35245 TOOLKIT="MSW"
35246 fi
35247
35248 GUIDIST="BASE_DIST"
35249 DISTDIR="wxBase"
35250 fi
35251
35252
35253
35254 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35255 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35256 wxUSE_UNICODE_UTF8=yes
35257 elif test "$USE_OS2" = "1" ; then
35258 wxUSE_UNICODE_UTF8=yes
35259 else
35260 wxUSE_UNICODE_UTF8=no
35261 fi
35262 fi
35263
35264
35265 if test "$wxUSE_GUI" = "yes"; then
35266 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35267
35268 for ac_header in X11/Xlib.h
35269 do
35270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35271 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 else
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h. */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282
35283
35284 #include <$ac_header>
35285 _ACEOF
35286 rm -f conftest.$ac_objext
35287 if { (ac_try="$ac_compile"
35288 case "(($ac_try" in
35289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35290 *) ac_try_echo=$ac_try;;
35291 esac
35292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35293 (eval "$ac_compile") 2>conftest.er1
35294 ac_status=$?
35295 grep -v '^ *+' conftest.er1 >conftest.err
35296 rm -f conftest.er1
35297 cat conftest.err >&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } && {
35300 test -z "$ac_c_werror_flag" ||
35301 test ! -s conftest.err
35302 } && test -s conftest.$ac_objext; then
35303 eval "$as_ac_Header=yes"
35304 else
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35307
35308 eval "$as_ac_Header=no"
35309 fi
35310
35311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35312 fi
35313 ac_res=`eval echo '${'$as_ac_Header'}'`
35314 { echo "$as_me:$LINENO: result: $ac_res" >&5
35315 echo "${ECHO_T}$ac_res" >&6; }
35316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35317 cat >>confdefs.h <<_ACEOF
35318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35319 _ACEOF
35320
35321 fi
35322
35323 done
35324
35325
35326 for ac_header in X11/XKBlib.h
35327 do
35328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 else
35334 cat >conftest.$ac_ext <<_ACEOF
35335 /* confdefs.h. */
35336 _ACEOF
35337 cat confdefs.h >>conftest.$ac_ext
35338 cat >>conftest.$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35340
35341 #if HAVE_X11_XLIB_H
35342 #include <X11/Xlib.h>
35343 #endif
35344
35345
35346 #include <$ac_header>
35347 _ACEOF
35348 rm -f conftest.$ac_objext
35349 if { (ac_try="$ac_compile"
35350 case "(($ac_try" in
35351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35353 esac
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_compile") 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest.$ac_objext; then
35365 eval "$as_ac_Header=yes"
35366 else
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.$ac_ext >&5
35369
35370 eval "$as_ac_Header=no"
35371 fi
35372
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374 fi
35375 ac_res=`eval echo '${'$as_ac_Header'}'`
35376 { echo "$as_me:$LINENO: result: $ac_res" >&5
35377 echo "${ECHO_T}$ac_res" >&6; }
35378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35379 cat >>confdefs.h <<_ACEOF
35380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35381 _ACEOF
35382
35383 fi
35384
35385 done
35386
35387 fi
35388 fi
35389
35390
35391
35392 IODBC_C_SRC=""
35393
35394
35395 if test "$TOOLKIT" != "MSW" ; then
35396
35397 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35398
35399 { echo "$as_me:$LINENO: checking for sql.h" >&5
35400 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35401 if test "${ac_cv_header_sql_h+set}" = set; then
35402 echo $ECHO_N "(cached) $ECHO_C" >&6
35403 else
35404 cat >conftest.$ac_ext <<_ACEOF
35405 /* confdefs.h. */
35406 _ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410
35411
35412 #include <sql.h>
35413 _ACEOF
35414 rm -f conftest.$ac_objext
35415 if { (ac_try="$ac_compile"
35416 case "(($ac_try" in
35417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35418 *) ac_try_echo=$ac_try;;
35419 esac
35420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35421 (eval "$ac_compile") 2>conftest.er1
35422 ac_status=$?
35423 grep -v '^ *+' conftest.er1 >conftest.err
35424 rm -f conftest.er1
35425 cat conftest.err >&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } && {
35428 test -z "$ac_c_werror_flag" ||
35429 test ! -s conftest.err
35430 } && test -s conftest.$ac_objext; then
35431 ac_cv_header_sql_h=yes
35432 else
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.$ac_ext >&5
35435
35436 ac_cv_header_sql_h=no
35437 fi
35438
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35440 fi
35441 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35442 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35443 if test $ac_cv_header_sql_h = yes; then
35444 found_sql_h=1
35445 fi
35446
35447
35448 if test "x$found_sql_h" = "x1" ; then
35449 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35450 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35451 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35453 else
35454 ac_check_lib_save_LIBS=$LIBS
35455 LIBS="-liodbc $LIBS"
35456 cat >conftest.$ac_ext <<_ACEOF
35457 /* confdefs.h. */
35458 _ACEOF
35459 cat confdefs.h >>conftest.$ac_ext
35460 cat >>conftest.$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35462
35463 /* Override any GCC internal prototype to avoid an error.
35464 Use char because int might match the return type of a GCC
35465 builtin and then its argument prototype would still apply. */
35466 #ifdef __cplusplus
35467 extern "C"
35468 #endif
35469 char SQLAllocEnv ();
35470 int
35471 main ()
35472 {
35473 return SQLAllocEnv ();
35474 ;
35475 return 0;
35476 }
35477 _ACEOF
35478 rm -f conftest.$ac_objext conftest$ac_exeext
35479 if { (ac_try="$ac_link"
35480 case "(($ac_try" in
35481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35482 *) ac_try_echo=$ac_try;;
35483 esac
35484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35485 (eval "$ac_link") 2>conftest.er1
35486 ac_status=$?
35487 grep -v '^ *+' conftest.er1 >conftest.err
35488 rm -f conftest.er1
35489 cat conftest.err >&5
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); } && {
35492 test -z "$ac_c_werror_flag" ||
35493 test ! -s conftest.err
35494 } && test -s conftest$ac_exeext &&
35495 $as_test_x conftest$ac_exeext; then
35496 ac_cv_lib_iodbc_SQLAllocEnv=yes
35497 else
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35500
35501 ac_cv_lib_iodbc_SQLAllocEnv=no
35502 fi
35503
35504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35505 conftest$ac_exeext conftest.$ac_ext
35506 LIBS=$ac_check_lib_save_LIBS
35507 fi
35508 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35509 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35510 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35511 ODBC_LINK=" -liodbc"
35512 else
35513
35514 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35515 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35516 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 else
35519 ac_check_lib_save_LIBS=$LIBS
35520 LIBS="-lunixodbc $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
35529 Use char because int might match the return type of a GCC
35530 builtin and then its argument prototype would still apply. */
35531 #ifdef __cplusplus
35532 extern "C"
35533 #endif
35534 char SQLAllocEnv ();
35535 int
35536 main ()
35537 {
35538 return SQLAllocEnv ();
35539 ;
35540 return 0;
35541 }
35542 _ACEOF
35543 rm -f conftest.$ac_objext conftest$ac_exeext
35544 if { (ac_try="$ac_link"
35545 case "(($ac_try" in
35546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35547 *) ac_try_echo=$ac_try;;
35548 esac
35549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35550 (eval "$ac_link") 2>conftest.er1
35551 ac_status=$?
35552 grep -v '^ *+' conftest.er1 >conftest.err
35553 rm -f conftest.er1
35554 cat conftest.err >&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } && {
35557 test -z "$ac_c_werror_flag" ||
35558 test ! -s conftest.err
35559 } && test -s conftest$ac_exeext &&
35560 $as_test_x conftest$ac_exeext; then
35561 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35562 else
35563 echo "$as_me: failed program was:" >&5
35564 sed 's/^/| /' conftest.$ac_ext >&5
35565
35566 ac_cv_lib_unixodbc_SQLAllocEnv=no
35567 fi
35568
35569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35570 conftest$ac_exeext conftest.$ac_ext
35571 LIBS=$ac_check_lib_save_LIBS
35572 fi
35573 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35574 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35575 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35576 ODBC_LINK=" -lunixodbc"
35577 else
35578
35579 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35580 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35581 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35583 else
35584 ac_check_lib_save_LIBS=$LIBS
35585 LIBS="-lodbc $LIBS"
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592
35593 /* Override any GCC internal prototype to avoid an error.
35594 Use char because int might match the return type of a GCC
35595 builtin and then its argument prototype would still apply. */
35596 #ifdef __cplusplus
35597 extern "C"
35598 #endif
35599 char SQLAllocEnv ();
35600 int
35601 main ()
35602 {
35603 return SQLAllocEnv ();
35604 ;
35605 return 0;
35606 }
35607 _ACEOF
35608 rm -f conftest.$ac_objext conftest$ac_exeext
35609 if { (ac_try="$ac_link"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35613 esac
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_link") 2>conftest.er1
35616 ac_status=$?
35617 grep -v '^ *+' conftest.er1 >conftest.err
35618 rm -f conftest.er1
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest$ac_exeext &&
35625 $as_test_x conftest$ac_exeext; then
35626 ac_cv_lib_odbc_SQLAllocEnv=yes
35627 else
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.$ac_ext >&5
35630
35631 ac_cv_lib_odbc_SQLAllocEnv=no
35632 fi
35633
35634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35635 conftest$ac_exeext conftest.$ac_ext
35636 LIBS=$ac_check_lib_save_LIBS
35637 fi
35638 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35639 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35640 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35641 ODBC_LINK=" -lodbc"
35642 fi
35643
35644
35645 fi
35646
35647
35648 fi
35649
35650 fi
35651 if test "x$ODBC_LINK" = "x" ; then
35652 if test "$wxUSE_ODBC" = "sys" ; then
35653 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35654 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35655 { (exit 1); exit 1; }; }
35656 else
35657 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35658 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35659 wxUSE_ODBC=builtin
35660 fi
35661 else
35662 wxUSE_ODBC=sys
35663 fi
35664 fi
35665
35666 if test "$wxUSE_ODBC" = "builtin" ; then
35667 cat >>confdefs.h <<\_ACEOF
35668 #define wxUSE_BUILTIN_IODBC 1
35669 _ACEOF
35670
35671 fi
35672 fi
35673
35674 if test "$wxUSE_ODBC" != "no" ; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define wxUSE_ODBC 1
35677 _ACEOF
35678
35679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35680
35681 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35682 fi
35683
35684
35685 if test "$wxUSE_DISPLAY" = "yes"; then
35686 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35687 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35688 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35689
35690 ac_find_libraries=
35691 for ac_dir in $SEARCH_LIB;
35692 do
35693 for ac_extension in a so sl dylib dll.a; do
35694 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35695 ac_find_libraries=$ac_dir
35696 break 2
35697 fi
35698 done
35699 done
35700
35701 if test "$ac_find_libraries" != "" ; then
35702
35703 if test "$ac_find_libraries" = "default location"; then
35704 ac_path_to_link=""
35705 else
35706 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35707 result=$?
35708 if test $result = 0; then
35709 ac_path_to_link=""
35710 else
35711 ac_path_to_link=" -L$ac_find_libraries"
35712 fi
35713 fi
35714
35715 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35716 LDFLAGS="$LDFLAGS $ac_path_to_link"
35717 fi
35718 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35719 { echo "$as_me:$LINENO: result: yes" >&5
35720 echo "${ECHO_T}yes" >&6; }
35721
35722 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35723 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35724
35725 ac_find_libraries=
35726 for ac_dir in $SEARCH_LIB;
35727 do
35728 for ac_extension in a so sl dylib dll.a; do
35729 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35730 ac_find_libraries=$ac_dir
35731 break 2
35732 fi
35733 done
35734 done
35735
35736 if test "$ac_find_libraries" != "" ; then
35737 { echo "$as_me:$LINENO: result: yes" >&5
35738 echo "${ECHO_T}yes" >&6; }
35739
35740 for ac_header in X11/extensions/xf86vmode.h
35741 do
35742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35746 echo $ECHO_N "(cached) $ECHO_C" >&6
35747 else
35748 cat >conftest.$ac_ext <<_ACEOF
35749 /* confdefs.h. */
35750 _ACEOF
35751 cat confdefs.h >>conftest.$ac_ext
35752 cat >>conftest.$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35754
35755 #if HAVE_X11_XLIB_H
35756 #include <X11/Xlib.h>
35757 #endif
35758
35759
35760 #include <$ac_header>
35761 _ACEOF
35762 rm -f conftest.$ac_objext
35763 if { (ac_try="$ac_compile"
35764 case "(($ac_try" in
35765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35766 *) ac_try_echo=$ac_try;;
35767 esac
35768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35769 (eval "$ac_compile") 2>conftest.er1
35770 ac_status=$?
35771 grep -v '^ *+' conftest.er1 >conftest.err
35772 rm -f conftest.er1
35773 cat conftest.err >&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); } && {
35776 test -z "$ac_c_werror_flag" ||
35777 test ! -s conftest.err
35778 } && test -s conftest.$ac_objext; then
35779 eval "$as_ac_Header=yes"
35780 else
35781 echo "$as_me: failed program was:" >&5
35782 sed 's/^/| /' conftest.$ac_ext >&5
35783
35784 eval "$as_ac_Header=no"
35785 fi
35786
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788 fi
35789 ac_res=`eval echo '${'$as_ac_Header'}'`
35790 { echo "$as_me:$LINENO: result: $ac_res" >&5
35791 echo "${ECHO_T}$ac_res" >&6; }
35792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35793 cat >>confdefs.h <<_ACEOF
35794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35795 _ACEOF
35796
35797 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35798
35799 fi
35800
35801 done
35802
35803 else
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35806 fi
35807
35808 else
35809 { echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6; }
35811 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35812 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35813 wxUSE_DISPLAY="no"
35814 fi
35815 elif test "$wxUSE_MSW" = 1; then
35816 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35817 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35818 if test "${ac_cv_header_ddraw_h+set}" = set; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 else
35821 cat >conftest.$ac_ext <<_ACEOF
35822 /* confdefs.h. */
35823 _ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827 #include <windows.h>
35828
35829 #include <ddraw.h>
35830 _ACEOF
35831 rm -f conftest.$ac_objext
35832 if { (ac_try="$ac_compile"
35833 case "(($ac_try" in
35834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35835 *) ac_try_echo=$ac_try;;
35836 esac
35837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35838 (eval "$ac_compile") 2>conftest.er1
35839 ac_status=$?
35840 grep -v '^ *+' conftest.er1 >conftest.err
35841 rm -f conftest.er1
35842 cat conftest.err >&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); } && {
35845 test -z "$ac_c_werror_flag" ||
35846 test ! -s conftest.err
35847 } && test -s conftest.$ac_objext; then
35848 ac_cv_header_ddraw_h=yes
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 ac_cv_header_ddraw_h=no
35854 fi
35855
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857 fi
35858 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35859 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35860
35861
35862 fi
35863 fi
35864
35865 if test "$wxUSE_DETECT_SM" = "yes"; then
35866 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35867 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35868 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35869
35870 ac_find_libraries=
35871 for ac_dir in $SEARCH_LIB;
35872 do
35873 for ac_extension in a so sl dylib dll.a; do
35874 if test -f "$ac_dir/libSM.$ac_extension"; then
35875 ac_find_libraries=$ac_dir
35876 break 2
35877 fi
35878 done
35879 done
35880
35881 if test "$ac_find_libraries" != "" ; then
35882
35883 if test "$ac_find_libraries" = "default location"; then
35884 ac_path_to_link=""
35885 else
35886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35887 result=$?
35888 if test $result = 0; then
35889 ac_path_to_link=""
35890 else
35891 ac_path_to_link=" -L$ac_find_libraries"
35892 fi
35893 fi
35894
35895 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35896 LDFLAGS="$LDFLAGS $ac_path_to_link"
35897 fi
35898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35899 { echo "$as_me:$LINENO: result: yes" >&5
35900 echo "${ECHO_T}yes" >&6; }
35901 else
35902 { echo "$as_me:$LINENO: result: no" >&5
35903 echo "${ECHO_T}no" >&6; }
35904 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35905 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35906 wxUSE_DETECT_SM="no"
35907 fi
35908 else
35909 wxUSE_DETECT_SM="no"
35910 fi
35911 fi
35912
35913
35914
35915 USE_OPENGL=0
35916 if test "$wxUSE_OPENGL" = "yes"; then
35917 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35918 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35919 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35920 wxUSE_OPENGL="no"
35921 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35922 OPENGL_LIBS="-framework OpenGL -framework AGL"
35923 elif test "$wxUSE_MSW" = 1; then
35924 OPENGL_LIBS="-lopengl32 -lglu32"
35925 else
35926 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35927 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35928
35929 ac_find_includes=
35930 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35931 do
35932 if test -f "$ac_dir/GL/gl.h"; then
35933 ac_find_includes=$ac_dir
35934 break
35935 fi
35936 done
35937
35938 if test "$ac_find_includes" != "" ; then
35939 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35940 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35941
35942 if test "x$ac_find_includes" = "x/usr/include"; then
35943 ac_path_to_include=""
35944 else
35945 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35946 result=$?
35947 if test $result = 0; then
35948 ac_path_to_include=""
35949 else
35950 ac_path_to_include=" -I$ac_find_includes"
35951 fi
35952 fi
35953
35954 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35955 else
35956 { echo "$as_me:$LINENO: result: not found" >&5
35957 echo "${ECHO_T}not found" >&6; }
35958 fi
35959
35960 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35961 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35962 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35963 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 else
35965 cat >conftest.$ac_ext <<_ACEOF
35966 /* confdefs.h. */
35967 _ACEOF
35968 cat confdefs.h >>conftest.$ac_ext
35969 cat >>conftest.$ac_ext <<_ACEOF
35970 /* end confdefs.h. */
35971
35972
35973 #include <GL/gl.h>
35974 _ACEOF
35975 rm -f conftest.$ac_objext
35976 if { (ac_try="$ac_compile"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35980 esac
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_compile") 2>conftest.er1
35983 ac_status=$?
35984 grep -v '^ *+' conftest.er1 >conftest.err
35985 rm -f conftest.er1
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_c_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest.$ac_objext; then
35992 ac_cv_header_GL_gl_h=yes
35993 else
35994 echo "$as_me: failed program was:" >&5
35995 sed 's/^/| /' conftest.$ac_ext >&5
35996
35997 ac_cv_header_GL_gl_h=no
35998 fi
35999
36000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36001 fi
36002 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36003 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36004 if test $ac_cv_header_GL_gl_h = yes; then
36005
36006 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36007 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36008 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 else
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017
36018
36019 #include <GL/glu.h>
36020 _ACEOF
36021 rm -f conftest.$ac_objext
36022 if { (ac_try="$ac_compile"
36023 case "(($ac_try" in
36024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36025 *) ac_try_echo=$ac_try;;
36026 esac
36027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36028 (eval "$ac_compile") 2>conftest.er1
36029 ac_status=$?
36030 grep -v '^ *+' conftest.er1 >conftest.err
36031 rm -f conftest.er1
36032 cat conftest.err >&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } && {
36035 test -z "$ac_c_werror_flag" ||
36036 test ! -s conftest.err
36037 } && test -s conftest.$ac_objext; then
36038 ac_cv_header_GL_glu_h=yes
36039 else
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36042
36043 ac_cv_header_GL_glu_h=no
36044 fi
36045
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 fi
36048 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36049 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36050 if test $ac_cv_header_GL_glu_h = yes; then
36051
36052 found_gl=0
36053
36054 { echo "$as_me:$LINENO: checking for -lGL" >&5
36055 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36056
36057 ac_find_libraries=
36058 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36059 do
36060 for ac_extension in a so sl dylib dll.a; do
36061 if test -f "$ac_dir/libGL.$ac_extension"; then
36062 ac_find_libraries=$ac_dir
36063 break 2
36064 fi
36065 done
36066 done
36067
36068 if test "$ac_find_libraries" != "" ; then
36069 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36070 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36071
36072
36073 if test "$ac_find_libraries" = "default location"; then
36074 ac_path_to_link=""
36075 else
36076 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36077 result=$?
36078 if test $result = 0; then
36079 ac_path_to_link=""
36080 else
36081 ac_path_to_link=" -L$ac_find_libraries"
36082 fi
36083 fi
36084
36085 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36086 LDFLAGS_GL="$ac_path_to_link"
36087 fi
36088
36089 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36090 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36091
36092 ac_find_libraries=
36093 for ac_dir in $SEARCH_LIB;
36094 do
36095 for ac_extension in a so sl dylib dll.a; do
36096 if test -f "$ac_dir/libGLU.$ac_extension"; then
36097 ac_find_libraries=$ac_dir
36098 break 2
36099 fi
36100 done
36101 done
36102
36103 if test "$ac_find_libraries" != "" ; then
36104
36105 if test "$ac_find_libraries" = "default location"; then
36106 ac_path_to_link=""
36107 else
36108 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36109 result=$?
36110 if test $result = 0; then
36111 ac_path_to_link=""
36112 else
36113 ac_path_to_link=" -L$ac_find_libraries"
36114 fi
36115 fi
36116
36117 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36118 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36119 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36120 fi
36121
36122 found_gl=1
36123 OPENGL_LIBS="-lGL -lGLU"
36124 { echo "$as_me:$LINENO: result: yes" >&5
36125 echo "${ECHO_T}yes" >&6; }
36126 else
36127 { echo "$as_me:$LINENO: result: no" >&5
36128 echo "${ECHO_T}no" >&6; }
36129 fi
36130 else
36131 { echo "$as_me:$LINENO: result: no" >&5
36132 echo "${ECHO_T}no" >&6; }
36133 fi
36134
36135 if test "$found_gl" != 1; then
36136 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36137 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36138
36139 ac_find_libraries=
36140 for ac_dir in $SEARCH_LIB;
36141 do
36142 for ac_extension in a so sl dylib dll.a; do
36143 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36144 ac_find_libraries=$ac_dir
36145 break 2
36146 fi
36147 done
36148 done
36149
36150 if test "$ac_find_libraries" != "" ; then
36151
36152 if test "$ac_find_libraries" = "default location"; then
36153 ac_path_to_link=""
36154 else
36155 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36156 result=$?
36157 if test $result = 0; then
36158 ac_path_to_link=""
36159 else
36160 ac_path_to_link=" -L$ac_find_libraries"
36161 fi
36162 fi
36163
36164 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36165 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36166 { echo "$as_me:$LINENO: result: yes" >&5
36167 echo "${ECHO_T}yes" >&6; }
36168 else
36169 { echo "$as_me:$LINENO: result: no" >&5
36170 echo "${ECHO_T}no" >&6; }
36171 fi
36172 fi
36173
36174 fi
36175
36176
36177
36178 fi
36179
36180
36181
36182 if test "x$OPENGL_LIBS" = "x"; then
36183 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36184 echo "$as_me: error: OpenGL libraries not available" >&2;}
36185 { (exit 1); exit 1; }; }
36186 fi
36187 fi
36188
36189 if test "$wxUSE_OPENGL" = "yes"; then
36190 USE_OPENGL=1
36191 cat >>confdefs.h <<\_ACEOF
36192 #define wxUSE_OPENGL 1
36193 _ACEOF
36194
36195 cat >>confdefs.h <<\_ACEOF
36196 #define wxUSE_GLCANVAS 1
36197 _ACEOF
36198
36199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36200 fi
36201 fi
36202
36203
36204 if test -n "$TOOLKIT" ; then
36205 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36206 fi
36207
36208
36209
36210 if test "$wxUSE_SHARED" = "yes"; then
36211 case "${host}" in
36212 *-pc-msdosdjgpp )
36213 wxUSE_SHARED=no
36214 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36215 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36216 ;;
36217 esac
36218 fi
36219
36220 if test "$wxUSE_SHARED" = "yes"; then
36221
36222
36223 case "${host}" in
36224 *-*-cygwin* | *-*-mingw* )
36225 wx_cv_version_script=no
36226 ;;
36227
36228 *)
36229 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36230 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36231 if test "${wx_cv_version_script+set}" = set; then
36232 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 else
36234
36235 echo "VER_1 { *; };" >conftest.sym
36236 echo "int main() { return 0; }" >conftest.cpp
36237
36238 if { ac_try='
36239 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36240 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36243 ac_status=$?
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } ; then
36246 if test -s conftest.stderr ; then
36247 wx_cv_version_script=no
36248 else
36249 wx_cv_version_script=yes
36250 fi
36251 else
36252 wx_cv_version_script=no
36253 fi
36254
36255 if test $wx_cv_version_script = yes
36256 then
36257 echo "struct B { virtual ~B() { } }; \
36258 struct D : public B { }; \
36259 void F() { D d; }" > conftest.cpp
36260
36261 if { ac_try='
36262 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36263 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='
36270 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36271 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36274 ac_status=$?
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; }
36277 then
36278 if { ac_try='
36279 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36280 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; }
36286 then
36287 wx_cv_version_script=yes
36288 else
36289 wx_cv_version_script=no
36290 fi
36291 fi
36292 fi
36293
36294 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36295 rm -f conftest1.output conftest2.output conftest3.output
36296
36297 fi
36298 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36299 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36300
36301 if test $wx_cv_version_script = yes ; then
36302 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36303 fi
36304 ;;
36305 esac
36306
36307
36308 if test "$wxUSE_VISIBILITY" != "no"; then
36309
36310
36311 if test -n "$GCC"; then
36312 CFLAGS_VISIBILITY="-fvisibility=hidden"
36313 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36314 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36315 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36316 if test "${wx_cv_cc_visibility+set}" = set; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 else
36319
36320 wx_save_CXXFLAGS="$CXXFLAGS"
36321 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36322 ac_ext=cpp
36323 ac_cpp='$CXXCPP $CPPFLAGS'
36324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36327
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334
36335 /* we need gcc >= 4.0, older versions with visibility support
36336 didn't have class visibility: */
36337 #if defined(__GNUC__) && __GNUC__ < 4
36338 error this gcc is too old;
36339 #endif
36340
36341 /* visibility only makes sense for ELF shared libs: */
36342 #if !defined(__ELF__) && !defined(__APPLE__)
36343 error this platform has no visibility;
36344 #endif
36345
36346 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36347 extern __attribute__((__visibility__("default"))) int exportedvar;
36348 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36349 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36350 class __attribute__((__visibility__("default"))) Foo {
36351 Foo() {}
36352 };
36353
36354 int
36355 main ()
36356 {
36357
36358 ;
36359 return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext
36363 if { (ac_try="$ac_compile"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36366 *) ac_try_echo=$ac_try;;
36367 esac
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_compile") 2>conftest.er1
36370 ac_status=$?
36371 grep -v '^ *+' conftest.er1 >conftest.err
36372 rm -f conftest.er1
36373 cat conftest.err >&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_cxx_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest.$ac_objext; then
36379 wx_cv_cc_visibility=yes
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 wx_cv_cc_visibility=no
36385 fi
36386
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388 ac_ext=c
36389 ac_cpp='$CPP $CPPFLAGS'
36390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393
36394 CXXFLAGS="$wx_save_CXXFLAGS"
36395 fi
36396
36397 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36398 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36399 if test $wx_cv_cc_visibility = yes; then
36400 cat >>confdefs.h <<\_ACEOF
36401 #define HAVE_VISIBILITY 1
36402 _ACEOF
36403
36404
36405 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36406 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36407 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36408 echo $ECHO_N "(cached) $ECHO_C" >&6
36409 else
36410
36411 wx_save_CXXFLAGS="$CXXFLAGS"
36412 wx_save_LDFLAGS="$LDFLAGS"
36413 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36414 LDFLAGS="$LDFLAGS -shared -fPIC"
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420
36421 cat >conftest.$ac_ext <<_ACEOF
36422 /* confdefs.h. */
36423 _ACEOF
36424 cat confdefs.h >>conftest.$ac_ext
36425 cat >>conftest.$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427
36428 #include <string>
36429
36430 int
36431 main ()
36432 {
36433
36434 std::string s("hello");
36435 return s.length();
36436
36437 ;
36438 return 0;
36439 }
36440 _ACEOF
36441 rm -f conftest.$ac_objext conftest$ac_exeext
36442 if { (ac_try="$ac_link"
36443 case "(($ac_try" in
36444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36445 *) ac_try_echo=$ac_try;;
36446 esac
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_link") 2>conftest.er1
36449 ac_status=$?
36450 grep -v '^ *+' conftest.er1 >conftest.err
36451 rm -f conftest.er1
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest$ac_exeext &&
36458 $as_test_x conftest$ac_exeext; then
36459 wx_cv_cc_broken_libstdcxx_visibility=no
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464 wx_cv_cc_broken_libstdcxx_visibility=yes
36465 fi
36466
36467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36468 conftest$ac_exeext 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 CXXFLAGS="$wx_save_CXXFLAGS"
36476 LDFLAGS="$wx_save_LDFLAGS"
36477 fi
36478
36479 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36480 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36481 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36482 cat >>confdefs.h <<\_ACEOF
36483 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36484 _ACEOF
36485
36486 fi
36487
36488 else
36489 CFLAGS_VISIBILITY=""
36490 CXXFLAGS_VISIBILITY=""
36491 fi
36492
36493
36494 fi
36495
36496 fi
36497
36498 if test "x$SUNCXX" = xyes; then
36499 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36500 WXCONFIG_RPATH="-R\$libdir"
36501 else
36502 case "${host}" in
36503 *-*-linux* | *-*-gnu* )
36504 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36505 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36506 ;;
36507
36508 *-*-solaris2* )
36509
36510 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36511
36512 saveLdflags="$LDFLAGS"
36513 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36514 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36516 cat >conftest.$ac_ext <<_ACEOF
36517 /* confdefs.h. */
36518 _ACEOF
36519 cat confdefs.h >>conftest.$ac_ext
36520 cat >>conftest.$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36522
36523 int
36524 main ()
36525 {
36526
36527 ;
36528 return 0;
36529 }
36530 _ACEOF
36531 rm -f conftest.$ac_objext conftest$ac_exeext
36532 if { (ac_try="$ac_link"
36533 case "(($ac_try" in
36534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36535 *) ac_try_echo=$ac_try;;
36536 esac
36537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36538 (eval "$ac_link") 2>conftest.er1
36539 ac_status=$?
36540 grep -v '^ *+' conftest.er1 >conftest.err
36541 rm -f conftest.er1
36542 cat conftest.err >&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); } && {
36545 test -z "$ac_c_werror_flag" ||
36546 test ! -s conftest.err
36547 } && test -s conftest$ac_exeext &&
36548 $as_test_x conftest$ac_exeext; then
36549
36550 { echo "$as_me:$LINENO: result: yes" >&5
36551 echo "${ECHO_T}yes" >&6; }
36552 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36553 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36554
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36558
36559
36560 { echo "$as_me:$LINENO: result: no" >&5
36561 echo "${ECHO_T}no" >&6; }
36562 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36563 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36564 LDFLAGS="$saveLdflags -Wl,-R,/"
36565 cat >conftest.$ac_ext <<_ACEOF
36566 /* confdefs.h. */
36567 _ACEOF
36568 cat confdefs.h >>conftest.$ac_ext
36569 cat >>conftest.$ac_ext <<_ACEOF
36570 /* end confdefs.h. */
36571
36572 int
36573 main ()
36574 {
36575
36576 ;
36577 return 0;
36578 }
36579 _ACEOF
36580 rm -f conftest.$ac_objext conftest$ac_exeext
36581 if { (ac_try="$ac_link"
36582 case "(($ac_try" in
36583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36585 esac
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_link") 2>conftest.er1
36588 ac_status=$?
36589 grep -v '^ *+' conftest.er1 >conftest.err
36590 rm -f conftest.er1
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_c_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest$ac_exeext &&
36597 $as_test_x conftest$ac_exeext; then
36598
36599 { echo "$as_me:$LINENO: result: yes" >&5
36600 echo "${ECHO_T}yes" >&6; }
36601 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36602 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36603
36604 else
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.$ac_ext >&5
36607
36608
36609 { echo "$as_me:$LINENO: result: no" >&5
36610 echo "${ECHO_T}no" >&6; }
36611
36612 fi
36613
36614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36615 conftest$ac_exeext conftest.$ac_ext
36616
36617 fi
36618
36619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36620 conftest$ac_exeext conftest.$ac_ext
36621 LDFLAGS="$saveLdflags"
36622 ;;
36623
36624 *-*-darwin* )
36625 install_name_tool=`which install_name_tool`
36626 if test "$install_name_tool" -a -x "$install_name_tool"; then
36627 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36628 cat <<EOF >change-install-names
36629 #!/bin/sh
36630 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36631 inst_cmd="install_name_tool "
36632 for i in \${libnames} ; do
36633 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36634 done
36635 \${inst_cmd} \${3}
36636 EOF
36637 chmod +x change-install-names
36638 fi
36639 ;;
36640
36641 *-*-cygwin* | *-*-mingw32* )
36642 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36643 ;;
36644
36645 *-*-hpux* )
36646 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36647 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36648 ;;
36649
36650 esac
36651 fi
36652
36653 if test $wxUSE_RPATH = "no"; then
36654 SAMPLES_RPATH_FLAG=''
36655 SAMPLES_RPATH_POSTLINK=''
36656 WXCONFIG_RPATH=''
36657 fi
36658
36659 SHARED=1
36660
36661 else
36662
36663 config_linkage_component="-static"
36664 SHARED=0
36665
36666 fi
36667
36668
36669 UNICODE=0
36670 lib_unicode_suffix=
36671 WX_CHARTYPE="ansi"
36672 if test "$wxUSE_UNICODE" = "yes"; then
36673 lib_unicode_suffix=u
36674 WX_CHARTYPE="unicode"
36675 UNICODE=1
36676 fi
36677
36678 lib_debug_suffix=
36679 WX_DEBUGTYPE="release"
36680 DEBUG_FLAG=0
36681 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36682 lib_debug_suffix=d
36683 WX_DEBUGTYPE="debug"
36684 DEBUG_FLAG=1
36685 fi
36686
36687 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36688 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36689
36690 DEBUG_INFO=0
36691 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36692 DEBUG_INFO=1
36693 fi
36694
36695 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36696
36697 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36698
36699 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36700
36701 if test "$cross_compiling" = "yes"; then
36702 HOST_SUFFIX="-$host_alias"
36703 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36704 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36705 fi
36706
36707 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36708 if test "${TOOLKIT_DIR}" = "os2"; then
36709 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36710 else
36711 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36712 fi
36713
36714
36715
36716 if test "$wxUSE_COCOA" = 1; then
36717
36718 ac_ext=c
36719 ac_cpp='$CPP $CPPFLAGS'
36720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36723
36724 ac_ext=m
36725
36726 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36727 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36728 cat >conftest.$ac_ext <<_ACEOF
36729 /* confdefs.h. */
36730 _ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36734 #include <AppKit/NSEvent.h>
36735 #include <CoreFoundation/CoreFoundation.h>
36736
36737 int
36738 main ()
36739 {
36740
36741 ;
36742 return 0;
36743 }
36744 _ACEOF
36745 rm -f conftest.$ac_objext
36746 if { (ac_try="$ac_compile"
36747 case "(($ac_try" in
36748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36749 *) ac_try_echo=$ac_try;;
36750 esac
36751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36752 (eval "$ac_compile") 2>conftest.er1
36753 ac_status=$?
36754 grep -v '^ *+' conftest.er1 >conftest.err
36755 rm -f conftest.er1
36756 cat conftest.err >&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } && {
36759 test -z "$ac_c_werror_flag" ||
36760 test ! -s conftest.err
36761 } && test -s conftest.$ac_objext; then
36762 { echo "$as_me:$LINENO: result: no" >&5
36763 echo "${ECHO_T}no" >&6; }
36764 else
36765 echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.$ac_ext >&5
36767
36768 { echo "$as_me:$LINENO: result: yes" >&5
36769 echo "${ECHO_T}yes" >&6; }
36770 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36771 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36772 cat >conftest.$ac_ext <<_ACEOF
36773 /* confdefs.h. */
36774 _ACEOF
36775 cat confdefs.h >>conftest.$ac_ext
36776 cat >>conftest.$ac_ext <<_ACEOF
36777 /* end confdefs.h. */
36778 #define __Point__ 1
36779 #include <AppKit/NSEvent.h>
36780 #include <CoreFoundation/CoreFoundation.h>
36781
36782 int
36783 main ()
36784 {
36785
36786 ;
36787 return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext
36791 if { (ac_try="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36794 *) ac_try_echo=$ac_try;;
36795 esac
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36798 ac_status=$?
36799 grep -v '^ *+' conftest.er1 >conftest.err
36800 rm -f conftest.er1
36801 cat conftest.err >&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } && {
36804 test -z "$ac_c_werror_flag" ||
36805 test ! -s conftest.err
36806 } && test -s conftest.$ac_objext; then
36807 { echo "$as_me:$LINENO: result: yes" >&5
36808 echo "${ECHO_T}yes" >&6; }
36809 cat >>confdefs.h <<\_ACEOF
36810 #define __Point__ 1
36811 _ACEOF
36812
36813
36814 else
36815 echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.$ac_ext >&5
36817
36818 { { echo "$as_me:$LINENO: error: no
36819 See \`config.log' for more details." >&5
36820 echo "$as_me: error: no
36821 See \`config.log' for more details." >&2;}
36822 { (exit 1); exit 1; }; }
36823
36824 fi
36825
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827
36828 fi
36829
36830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36831 ac_ext=c
36832 ac_cpp='$CPP $CPPFLAGS'
36833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36836
36837 fi
36838
36839
36840 { echo "$as_me:$LINENO: checking for mode_t" >&5
36841 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36842 if test "${ac_cv_type_mode_t+set}" = set; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36844 else
36845 cat >conftest.$ac_ext <<_ACEOF
36846 /* confdefs.h. */
36847 _ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 $ac_includes_default
36852 typedef mode_t ac__type_new_;
36853 int
36854 main ()
36855 {
36856 if ((ac__type_new_ *) 0)
36857 return 0;
36858 if (sizeof (ac__type_new_))
36859 return 0;
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_c_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 ac_cv_type_mode_t=yes
36882 else
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36885
36886 ac_cv_type_mode_t=no
36887 fi
36888
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 fi
36891 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36892 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36893 if test $ac_cv_type_mode_t = yes; then
36894 :
36895 else
36896
36897 cat >>confdefs.h <<_ACEOF
36898 #define mode_t int
36899 _ACEOF
36900
36901 fi
36902
36903 { echo "$as_me:$LINENO: checking for off_t" >&5
36904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36905 if test "${ac_cv_type_off_t+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 $ac_includes_default
36915 typedef off_t ac__type_new_;
36916 int
36917 main ()
36918 {
36919 if ((ac__type_new_ *) 0)
36920 return 0;
36921 if (sizeof (ac__type_new_))
36922 return 0;
36923 ;
36924 return 0;
36925 }
36926 _ACEOF
36927 rm -f conftest.$ac_objext
36928 if { (ac_try="$ac_compile"
36929 case "(($ac_try" in
36930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36931 *) ac_try_echo=$ac_try;;
36932 esac
36933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36934 (eval "$ac_compile") 2>conftest.er1
36935 ac_status=$?
36936 grep -v '^ *+' conftest.er1 >conftest.err
36937 rm -f conftest.er1
36938 cat conftest.err >&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); } && {
36941 test -z "$ac_c_werror_flag" ||
36942 test ! -s conftest.err
36943 } && test -s conftest.$ac_objext; then
36944 ac_cv_type_off_t=yes
36945 else
36946 echo "$as_me: failed program was:" >&5
36947 sed 's/^/| /' conftest.$ac_ext >&5
36948
36949 ac_cv_type_off_t=no
36950 fi
36951
36952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36953 fi
36954 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36955 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36956 if test $ac_cv_type_off_t = yes; then
36957 :
36958 else
36959
36960 cat >>confdefs.h <<_ACEOF
36961 #define off_t long int
36962 _ACEOF
36963
36964 fi
36965
36966 { echo "$as_me:$LINENO: checking for pid_t" >&5
36967 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36968 if test "${ac_cv_type_pid_t+set}" = set; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 else
36971 cat >conftest.$ac_ext <<_ACEOF
36972 /* confdefs.h. */
36973 _ACEOF
36974 cat confdefs.h >>conftest.$ac_ext
36975 cat >>conftest.$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 $ac_includes_default
36978 typedef pid_t ac__type_new_;
36979 int
36980 main ()
36981 {
36982 if ((ac__type_new_ *) 0)
36983 return 0;
36984 if (sizeof (ac__type_new_))
36985 return 0;
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 rm -f conftest.$ac_objext
36991 if { (ac_try="$ac_compile"
36992 case "(($ac_try" in
36993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36995 esac
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_compile") 2>conftest.er1
36998 ac_status=$?
36999 grep -v '^ *+' conftest.er1 >conftest.err
37000 rm -f conftest.er1
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_c_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest.$ac_objext; then
37007 ac_cv_type_pid_t=yes
37008 else
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37011
37012 ac_cv_type_pid_t=no
37013 fi
37014
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 fi
37017 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37018 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37019 if test $ac_cv_type_pid_t = yes; then
37020 :
37021 else
37022
37023 cat >>confdefs.h <<_ACEOF
37024 #define pid_t int
37025 _ACEOF
37026
37027 fi
37028
37029 { echo "$as_me:$LINENO: checking for size_t" >&5
37030 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37031 if test "${ac_cv_type_size_t+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 else
37034 cat >conftest.$ac_ext <<_ACEOF
37035 /* confdefs.h. */
37036 _ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040 $ac_includes_default
37041 typedef size_t ac__type_new_;
37042 int
37043 main ()
37044 {
37045 if ((ac__type_new_ *) 0)
37046 return 0;
37047 if (sizeof (ac__type_new_))
37048 return 0;
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 rm -f conftest.$ac_objext
37054 if { (ac_try="$ac_compile"
37055 case "(($ac_try" in
37056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37057 *) ac_try_echo=$ac_try;;
37058 esac
37059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37060 (eval "$ac_compile") 2>conftest.er1
37061 ac_status=$?
37062 grep -v '^ *+' conftest.er1 >conftest.err
37063 rm -f conftest.er1
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } && {
37067 test -z "$ac_c_werror_flag" ||
37068 test ! -s conftest.err
37069 } && test -s conftest.$ac_objext; then
37070 ac_cv_type_size_t=yes
37071 else
37072 echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37074
37075 ac_cv_type_size_t=no
37076 fi
37077
37078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37079 fi
37080 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37081 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37082 if test $ac_cv_type_size_t = yes; then
37083 :
37084 else
37085
37086 cat >>confdefs.h <<_ACEOF
37087 #define size_t unsigned int
37088 _ACEOF
37089
37090 fi
37091
37092 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37093 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37094 if test "${ac_cv_type_uid_t+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37097 cat >conftest.$ac_ext <<_ACEOF
37098 /* confdefs.h. */
37099 _ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37103 #include <sys/types.h>
37104
37105 _ACEOF
37106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37107 $EGREP "uid_t" >/dev/null 2>&1; then
37108 ac_cv_type_uid_t=yes
37109 else
37110 ac_cv_type_uid_t=no
37111 fi
37112 rm -f conftest*
37113
37114 fi
37115 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37116 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37117 if test $ac_cv_type_uid_t = no; then
37118
37119 cat >>confdefs.h <<\_ACEOF
37120 #define uid_t int
37121 _ACEOF
37122
37123
37124 cat >>confdefs.h <<\_ACEOF
37125 #define gid_t int
37126 _ACEOF
37127
37128 fi
37129
37130
37131 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37132 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37133 if test "${ac_cv_type_ssize_t+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 $ac_includes_default
37143 typedef ssize_t ac__type_new_;
37144 int
37145 main ()
37146 {
37147 if ((ac__type_new_ *) 0)
37148 return 0;
37149 if (sizeof (ac__type_new_))
37150 return 0;
37151 ;
37152 return 0;
37153 }
37154 _ACEOF
37155 rm -f conftest.$ac_objext
37156 if { (ac_try="$ac_compile"
37157 case "(($ac_try" in
37158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37159 *) ac_try_echo=$ac_try;;
37160 esac
37161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37162 (eval "$ac_compile") 2>conftest.er1
37163 ac_status=$?
37164 grep -v '^ *+' conftest.er1 >conftest.err
37165 rm -f conftest.er1
37166 cat conftest.err >&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } && {
37169 test -z "$ac_c_werror_flag" ||
37170 test ! -s conftest.err
37171 } && test -s conftest.$ac_objext; then
37172 ac_cv_type_ssize_t=yes
37173 else
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177 ac_cv_type_ssize_t=no
37178 fi
37179
37180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37181 fi
37182 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37183 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37184 if test $ac_cv_type_ssize_t = yes; then
37185
37186 cat >>confdefs.h <<_ACEOF
37187 #define HAVE_SSIZE_T 1
37188 _ACEOF
37189
37190
37191 fi
37192
37193
37194 ac_ext=cpp
37195 ac_cpp='$CXXCPP $CPPFLAGS'
37196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37199 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37200 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37201 if test "${wx_cv_size_t_is_uint+set}" = set; then
37202 echo $ECHO_N "(cached) $ECHO_C" >&6
37203 else
37204
37205 cat >conftest.$ac_ext <<_ACEOF
37206 /* confdefs.h. */
37207 _ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h. */
37211 #include <stddef.h>
37212 int
37213 main ()
37214 {
37215
37216 return 0; }
37217
37218 struct Foo { void foo(size_t); void foo(unsigned int); };
37219
37220 int bar() {
37221
37222 ;
37223 return 0;
37224 }
37225 _ACEOF
37226 rm -f conftest.$ac_objext
37227 if { (ac_try="$ac_compile"
37228 case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37231 esac
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_compile") 2>conftest.er1
37234 ac_status=$?
37235 grep -v '^ *+' conftest.er1 >conftest.err
37236 rm -f conftest.er1
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_cxx_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest.$ac_objext; then
37243 wx_cv_size_t_is_uint=no
37244 else
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37247
37248 wx_cv_size_t_is_uint=yes
37249
37250 fi
37251
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37253
37254
37255 fi
37256 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37257 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37258
37259 if test "$wx_cv_size_t_is_uint" = "yes"; then
37260 cat >>confdefs.h <<\_ACEOF
37261 #define wxSIZE_T_IS_UINT 1
37262 _ACEOF
37263
37264 else
37265 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37266 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37267 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 else
37270 cat >conftest.$ac_ext <<_ACEOF
37271 /* confdefs.h. */
37272 _ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 #include <stddef.h>
37277 int
37278 main ()
37279 {
37280
37281 return 0; }
37282
37283 struct Foo { void foo(size_t); void foo(unsigned long); };
37284
37285 int bar() {
37286
37287 ;
37288 return 0;
37289 }
37290 _ACEOF
37291 rm -f conftest.$ac_objext
37292 if { (ac_try="$ac_compile"
37293 case "(($ac_try" in
37294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37295 *) ac_try_echo=$ac_try;;
37296 esac
37297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37298 (eval "$ac_compile") 2>conftest.er1
37299 ac_status=$?
37300 grep -v '^ *+' conftest.er1 >conftest.err
37301 rm -f conftest.er1
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } && {
37305 test -z "$ac_cxx_werror_flag" ||
37306 test ! -s conftest.err
37307 } && test -s conftest.$ac_objext; then
37308 wx_cv_size_t_is_ulong=no
37309 else
37310 echo "$as_me: failed program was:" >&5
37311 sed 's/^/| /' conftest.$ac_ext >&5
37312
37313 wx_cv_size_t_is_ulong=yes
37314
37315 fi
37316
37317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37318
37319 fi
37320 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37321 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37322
37323 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37324 cat >>confdefs.h <<\_ACEOF
37325 #define wxSIZE_T_IS_ULONG 1
37326 _ACEOF
37327
37328 fi
37329 fi
37330
37331 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37332 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37333 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37334 echo $ECHO_N "(cached) $ECHO_C" >&6
37335 else
37336 cat >conftest.$ac_ext <<_ACEOF
37337 /* confdefs.h. */
37338 _ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342 #include <wchar.h>
37343 int
37344 main ()
37345 {
37346
37347 return 0; }
37348
37349 struct Foo { void foo(wchar_t);
37350 void foo(unsigned short);
37351 void foo(unsigned int);
37352 void foo(unsigned long); };
37353
37354 int bar() {
37355
37356 ;
37357 return 0;
37358 }
37359 _ACEOF
37360 rm -f conftest.$ac_objext
37361 if { (ac_try="$ac_compile"
37362 case "(($ac_try" in
37363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37364 *) ac_try_echo=$ac_try;;
37365 esac
37366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37367 (eval "$ac_compile") 2>conftest.er1
37368 ac_status=$?
37369 grep -v '^ *+' conftest.er1 >conftest.err
37370 rm -f conftest.er1
37371 cat conftest.err >&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } && {
37374 test -z "$ac_cxx_werror_flag" ||
37375 test ! -s conftest.err
37376 } && test -s conftest.$ac_objext; then
37377 wx_cv_wchar_t_is_separate_type=yes
37378 else
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.$ac_ext >&5
37381
37382 wx_cv_wchar_t_is_separate_type=no
37383
37384 fi
37385
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37387
37388 fi
37389 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37390 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37391
37392 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxWCHAR_T_IS_REAL_TYPE 1
37395 _ACEOF
37396
37397 else
37398 cat >>confdefs.h <<\_ACEOF
37399 #define wxWCHAR_T_IS_REAL_TYPE 0
37400 _ACEOF
37401
37402 fi
37403
37404 ac_ext=c
37405 ac_cpp='$CPP $CPPFLAGS'
37406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37409
37410
37411 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37412 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37413 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 else
37416
37417 cat >conftest.$ac_ext <<_ACEOF
37418 /* confdefs.h. */
37419 _ACEOF
37420 cat confdefs.h >>conftest.$ac_ext
37421 cat >>conftest.$ac_ext <<_ACEOF
37422 /* end confdefs.h. */
37423 #include <pwd.h>
37424 int
37425 main ()
37426 {
37427
37428 char *p;
37429 struct passwd *pw;
37430 p = pw->pw_gecos;
37431
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 rm -f conftest.$ac_objext
37437 if { (ac_try="$ac_compile"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37441 esac
37442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_compile") 2>conftest.er1
37444 ac_status=$?
37445 grep -v '^ *+' conftest.er1 >conftest.err
37446 rm -f conftest.er1
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest.$ac_objext; then
37453
37454 wx_cv_struct_pw_gecos=yes
37455
37456 else
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37459
37460
37461 wx_cv_struct_pw_gecos=no
37462
37463
37464 fi
37465
37466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37467
37468
37469 fi
37470 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37471 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37472
37473 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37474 cat >>confdefs.h <<\_ACEOF
37475 #define HAVE_PW_GECOS 1
37476 _ACEOF
37477
37478 fi
37479
37480
37481 if test "$wxUSE_WCHAR_T" = "yes"; then
37482 cat >>confdefs.h <<\_ACEOF
37483 #define wxUSE_WCHAR_T 1
37484 _ACEOF
37485
37486
37487 WCSLEN_FOUND=0
37488 WCHAR_LINK=
37489
37490 for ac_func in wcslen
37491 do
37492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37496 echo $ECHO_N "(cached) $ECHO_C" >&6
37497 else
37498 cat >conftest.$ac_ext <<_ACEOF
37499 /* confdefs.h. */
37500 _ACEOF
37501 cat confdefs.h >>conftest.$ac_ext
37502 cat >>conftest.$ac_ext <<_ACEOF
37503 /* end confdefs.h. */
37504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37506 #define $ac_func innocuous_$ac_func
37507
37508 /* System header to define __stub macros and hopefully few prototypes,
37509 which can conflict with char $ac_func (); below.
37510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37511 <limits.h> exists even on freestanding compilers. */
37512
37513 #ifdef __STDC__
37514 # include <limits.h>
37515 #else
37516 # include <assert.h>
37517 #endif
37518
37519 #undef $ac_func
37520
37521 /* Override any GCC internal prototype to avoid an error.
37522 Use char because int might match the return type of a GCC
37523 builtin and then its argument prototype would still apply. */
37524 #ifdef __cplusplus
37525 extern "C"
37526 #endif
37527 char $ac_func ();
37528 /* The GNU C library defines this for functions which it implements
37529 to always fail with ENOSYS. Some functions are actually named
37530 something starting with __ and the normal name is an alias. */
37531 #if defined __stub_$ac_func || defined __stub___$ac_func
37532 choke me
37533 #endif
37534
37535 int
37536 main ()
37537 {
37538 return $ac_func ();
37539 ;
37540 return 0;
37541 }
37542 _ACEOF
37543 rm -f conftest.$ac_objext conftest$ac_exeext
37544 if { (ac_try="$ac_link"
37545 case "(($ac_try" in
37546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37547 *) ac_try_echo=$ac_try;;
37548 esac
37549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37550 (eval "$ac_link") 2>conftest.er1
37551 ac_status=$?
37552 grep -v '^ *+' conftest.er1 >conftest.err
37553 rm -f conftest.er1
37554 cat conftest.err >&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); } && {
37557 test -z "$ac_c_werror_flag" ||
37558 test ! -s conftest.err
37559 } && test -s conftest$ac_exeext &&
37560 $as_test_x conftest$ac_exeext; then
37561 eval "$as_ac_var=yes"
37562 else
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.$ac_ext >&5
37565
37566 eval "$as_ac_var=no"
37567 fi
37568
37569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37570 conftest$ac_exeext conftest.$ac_ext
37571 fi
37572 ac_res=`eval echo '${'$as_ac_var'}'`
37573 { echo "$as_me:$LINENO: result: $ac_res" >&5
37574 echo "${ECHO_T}$ac_res" >&6; }
37575 if test `eval echo '${'$as_ac_var'}'` = yes; then
37576 cat >>confdefs.h <<_ACEOF
37577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37578 _ACEOF
37579 WCSLEN_FOUND=1
37580 fi
37581 done
37582
37583
37584 if test "$WCSLEN_FOUND" = 0; then
37585 if test "$TOOLKIT" = "MSW"; then
37586 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37587 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37588 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37589 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 else
37591 ac_check_lib_save_LIBS=$LIBS
37592 LIBS="-lmsvcrt $LIBS"
37593 cat >conftest.$ac_ext <<_ACEOF
37594 /* confdefs.h. */
37595 _ACEOF
37596 cat confdefs.h >>conftest.$ac_ext
37597 cat >>conftest.$ac_ext <<_ACEOF
37598 /* end confdefs.h. */
37599
37600 /* Override any GCC internal prototype to avoid an error.
37601 Use char because int might match the return type of a GCC
37602 builtin and then its argument prototype would still apply. */
37603 #ifdef __cplusplus
37604 extern "C"
37605 #endif
37606 char wcslen ();
37607 int
37608 main ()
37609 {
37610 return wcslen ();
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 rm -f conftest.$ac_objext conftest$ac_exeext
37616 if { (ac_try="$ac_link"
37617 case "(($ac_try" in
37618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37619 *) ac_try_echo=$ac_try;;
37620 esac
37621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37622 (eval "$ac_link") 2>conftest.er1
37623 ac_status=$?
37624 grep -v '^ *+' conftest.er1 >conftest.err
37625 rm -f conftest.er1
37626 cat conftest.err >&5
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); } && {
37629 test -z "$ac_c_werror_flag" ||
37630 test ! -s conftest.err
37631 } && test -s conftest$ac_exeext &&
37632 $as_test_x conftest$ac_exeext; then
37633 ac_cv_lib_msvcrt_wcslen=yes
37634 else
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37637
37638 ac_cv_lib_msvcrt_wcslen=no
37639 fi
37640
37641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37642 conftest$ac_exeext conftest.$ac_ext
37643 LIBS=$ac_check_lib_save_LIBS
37644 fi
37645 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37646 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37647 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37648 WCHAR_OK=1
37649 fi
37650
37651 else
37652 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37653 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37654 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657 ac_check_lib_save_LIBS=$LIBS
37658 LIBS="-lw $LIBS"
37659 cat >conftest.$ac_ext <<_ACEOF
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665
37666 /* Override any GCC internal prototype to avoid an error.
37667 Use char because int might match the return type of a GCC
37668 builtin and then its argument prototype would still apply. */
37669 #ifdef __cplusplus
37670 extern "C"
37671 #endif
37672 char wcslen ();
37673 int
37674 main ()
37675 {
37676 return wcslen ();
37677 ;
37678 return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37686 esac
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_c_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest$ac_exeext &&
37698 $as_test_x conftest$ac_exeext; then
37699 ac_cv_lib_w_wcslen=yes
37700 else
37701 echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37703
37704 ac_cv_lib_w_wcslen=no
37705 fi
37706
37707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37708 conftest$ac_exeext conftest.$ac_ext
37709 LIBS=$ac_check_lib_save_LIBS
37710 fi
37711 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37712 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37713 if test $ac_cv_lib_w_wcslen = yes; then
37714
37715 WCHAR_LINK=" -lw"
37716 WCSLEN_FOUND=1
37717
37718 fi
37719
37720 fi
37721 fi
37722
37723 if test "$WCSLEN_FOUND" = 1; then
37724 cat >>confdefs.h <<\_ACEOF
37725 #define HAVE_WCSLEN 1
37726 _ACEOF
37727
37728 fi
37729
37730
37731 for ac_func in wcsdup
37732 do
37733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37748
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37753
37754 #ifdef __STDC__
37755 # include <limits.h>
37756 #else
37757 # include <assert.h>
37758 #endif
37759
37760 #undef $ac_func
37761
37762 /* Override any GCC internal prototype to avoid an error.
37763 Use char because int might match the return type of a GCC
37764 builtin and then its argument prototype would still apply. */
37765 #ifdef __cplusplus
37766 extern "C"
37767 #endif
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined __stub_$ac_func || defined __stub___$ac_func
37773 choke me
37774 #endif
37775
37776 int
37777 main ()
37778 {
37779 return $ac_func ();
37780 ;
37781 return 0;
37782 }
37783 _ACEOF
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37789 esac
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37792 ac_status=$?
37793 grep -v '^ *+' conftest.er1 >conftest.err
37794 rm -f conftest.er1
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval "$as_ac_var=yes"
37803 else
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37806
37807 eval "$as_ac_var=no"
37808 fi
37809
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37812 fi
37813 ac_res=`eval echo '${'$as_ac_var'}'`
37814 { echo "$as_me:$LINENO: result: $ac_res" >&5
37815 echo "${ECHO_T}$ac_res" >&6; }
37816 if test `eval echo '${'$as_ac_var'}'` = yes; then
37817 cat >>confdefs.h <<_ACEOF
37818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37819 _ACEOF
37820
37821 fi
37822 done
37823
37824
37825 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37826 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37827 fi
37828
37829 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37830 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37831 if test "${ac_cv_type_mbstate_t+set}" = set; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37833 else
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <wchar.h>
37841
37842 typedef mbstate_t ac__type_new_;
37843 int
37844 main ()
37845 {
37846 if ((ac__type_new_ *) 0)
37847 return 0;
37848 if (sizeof (ac__type_new_))
37849 return 0;
37850 ;
37851 return 0;
37852 }
37853 _ACEOF
37854 rm -f conftest.$ac_objext
37855 if { (ac_try="$ac_compile"
37856 case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37859 esac
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_compile") 2>conftest.er1
37862 ac_status=$?
37863 grep -v '^ *+' conftest.er1 >conftest.err
37864 rm -f conftest.er1
37865 cat conftest.err >&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); } && {
37868 test -z "$ac_c_werror_flag" ||
37869 test ! -s conftest.err
37870 } && test -s conftest.$ac_objext; then
37871 ac_cv_type_mbstate_t=yes
37872 else
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37875
37876 ac_cv_type_mbstate_t=no
37877 fi
37878
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37880 fi
37881 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37882 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37883 if test $ac_cv_type_mbstate_t = yes; then
37884
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE_MBSTATE_T 1
37887 _ACEOF
37888
37889
37890 for ac_func in wcsrtombs
37891 do
37892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 else
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37906 #define $ac_func innocuous_$ac_func
37907
37908 /* System header to define __stub macros and hopefully few prototypes,
37909 which can conflict with char $ac_func (); below.
37910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37911 <limits.h> exists even on freestanding compilers. */
37912
37913 #ifdef __STDC__
37914 # include <limits.h>
37915 #else
37916 # include <assert.h>
37917 #endif
37918
37919 #undef $ac_func
37920
37921 /* Override any GCC internal prototype to avoid an error.
37922 Use char because int might match the return type of a GCC
37923 builtin and then its argument prototype would still apply. */
37924 #ifdef __cplusplus
37925 extern "C"
37926 #endif
37927 char $ac_func ();
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined __stub_$ac_func || defined __stub___$ac_func
37932 choke me
37933 #endif
37934
37935 int
37936 main ()
37937 {
37938 return $ac_func ();
37939 ;
37940 return 0;
37941 }
37942 _ACEOF
37943 rm -f conftest.$ac_objext conftest$ac_exeext
37944 if { (ac_try="$ac_link"
37945 case "(($ac_try" in
37946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37947 *) ac_try_echo=$ac_try;;
37948 esac
37949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37950 (eval "$ac_link") 2>conftest.er1
37951 ac_status=$?
37952 grep -v '^ *+' conftest.er1 >conftest.err
37953 rm -f conftest.er1
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } && {
37957 test -z "$ac_c_werror_flag" ||
37958 test ! -s conftest.err
37959 } && test -s conftest$ac_exeext &&
37960 $as_test_x conftest$ac_exeext; then
37961 eval "$as_ac_var=yes"
37962 else
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.$ac_ext >&5
37965
37966 eval "$as_ac_var=no"
37967 fi
37968
37969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37970 conftest$ac_exeext conftest.$ac_ext
37971 fi
37972 ac_res=`eval echo '${'$as_ac_var'}'`
37973 { echo "$as_me:$LINENO: result: $ac_res" >&5
37974 echo "${ECHO_T}$ac_res" >&6; }
37975 if test `eval echo '${'$as_ac_var'}'` = yes; then
37976 cat >>confdefs.h <<_ACEOF
37977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37978 _ACEOF
37979
37980 fi
37981 done
37982
37983 fi
37984
37985 else
37986 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37987 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37988 fi
37989
37990
37991
37992 for ac_func in snprintf vsnprintf
37993 do
37994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37998 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 else
38000 cat >conftest.$ac_ext <<_ACEOF
38001 /* confdefs.h. */
38002 _ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38008 #define $ac_func innocuous_$ac_func
38009
38010 /* System header to define __stub macros and hopefully few prototypes,
38011 which can conflict with char $ac_func (); below.
38012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38013 <limits.h> exists even on freestanding compilers. */
38014
38015 #ifdef __STDC__
38016 # include <limits.h>
38017 #else
38018 # include <assert.h>
38019 #endif
38020
38021 #undef $ac_func
38022
38023 /* Override any GCC internal prototype to avoid an error.
38024 Use char because int might match the return type of a GCC
38025 builtin and then its argument prototype would still apply. */
38026 #ifdef __cplusplus
38027 extern "C"
38028 #endif
38029 char $ac_func ();
38030 /* The GNU C library defines this for functions which it implements
38031 to always fail with ENOSYS. Some functions are actually named
38032 something starting with __ and the normal name is an alias. */
38033 #if defined __stub_$ac_func || defined __stub___$ac_func
38034 choke me
38035 #endif
38036
38037 int
38038 main ()
38039 {
38040 return $ac_func ();
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext conftest$ac_exeext
38046 if { (ac_try="$ac_link"
38047 case "(($ac_try" in
38048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38049 *) ac_try_echo=$ac_try;;
38050 esac
38051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38052 (eval "$ac_link") 2>conftest.er1
38053 ac_status=$?
38054 grep -v '^ *+' conftest.er1 >conftest.err
38055 rm -f conftest.er1
38056 cat conftest.err >&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); } && {
38059 test -z "$ac_c_werror_flag" ||
38060 test ! -s conftest.err
38061 } && test -s conftest$ac_exeext &&
38062 $as_test_x conftest$ac_exeext; then
38063 eval "$as_ac_var=yes"
38064 else
38065 echo "$as_me: failed program was:" >&5
38066 sed 's/^/| /' conftest.$ac_ext >&5
38067
38068 eval "$as_ac_var=no"
38069 fi
38070
38071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38072 conftest$ac_exeext conftest.$ac_ext
38073 fi
38074 ac_res=`eval echo '${'$as_ac_var'}'`
38075 { echo "$as_me:$LINENO: result: $ac_res" >&5
38076 echo "${ECHO_T}$ac_res" >&6; }
38077 if test `eval echo '${'$as_ac_var'}'` = yes; then
38078 cat >>confdefs.h <<_ACEOF
38079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38080 _ACEOF
38081
38082 fi
38083 done
38084
38085
38086 if test "$ac_cv_func_vsnprintf" = "yes"; then
38087 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38088 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38089 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38090 echo $ECHO_N "(cached) $ECHO_C" >&6
38091 else
38092
38093 cat >conftest.$ac_ext <<_ACEOF
38094 /* confdefs.h. */
38095 _ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38099
38100 #include <stdio.h>
38101 #include <stdarg.h>
38102 #ifdef __MSL__
38103 #if __MSL__ >= 0x6000
38104 namespace std {}
38105 using namespace std;
38106 #endif
38107 #endif
38108
38109 int
38110 main ()
38111 {
38112
38113 char *buf;
38114 va_list ap;
38115 vsnprintf(buf, 10u, "%s", ap);
38116
38117 ;
38118 return 0;
38119 }
38120 _ACEOF
38121 rm -f conftest.$ac_objext
38122 if { (ac_try="$ac_compile"
38123 case "(($ac_try" in
38124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38125 *) ac_try_echo=$ac_try;;
38126 esac
38127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38128 (eval "$ac_compile") 2>conftest.er1
38129 ac_status=$?
38130 grep -v '^ *+' conftest.er1 >conftest.err
38131 rm -f conftest.er1
38132 cat conftest.err >&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } && {
38135 test -z "$ac_c_werror_flag" ||
38136 test ! -s conftest.err
38137 } && test -s conftest.$ac_objext; then
38138 wx_cv_func_vsnprintf_decl=yes
38139 else
38140 echo "$as_me: failed program was:" >&5
38141 sed 's/^/| /' conftest.$ac_ext >&5
38142
38143 wx_cv_func_vsnprintf_decl=no
38144
38145 fi
38146
38147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38148
38149
38150 fi
38151 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38152 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38153
38154 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38155 cat >>confdefs.h <<\_ACEOF
38156 #define HAVE_VSNPRINTF_DECL 1
38157 _ACEOF
38158
38159
38160 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38161 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38162 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 else
38165
38166 cat >conftest.$ac_ext <<_ACEOF
38167 /* confdefs.h. */
38168 _ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38172
38173 #include <stdio.h>
38174 #include <stdarg.h>
38175 #ifdef __MSL__
38176 #if __MSL__ >= 0x6000
38177 namespace std {}
38178 using namespace std;
38179 #endif
38180 #endif
38181
38182 int
38183 main ()
38184 {
38185
38186 char *buf;
38187 va_list ap;
38188 const char *fmt = "%s";
38189 vsnprintf(buf, 10u, fmt, ap);
38190
38191 ;
38192 return 0;
38193 }
38194 _ACEOF
38195 rm -f conftest.$ac_objext
38196 if { (ac_try="$ac_compile"
38197 case "(($ac_try" in
38198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38199 *) ac_try_echo=$ac_try;;
38200 esac
38201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38202 (eval "$ac_compile") 2>conftest.er1
38203 ac_status=$?
38204 grep -v '^ *+' conftest.er1 >conftest.err
38205 rm -f conftest.er1
38206 cat conftest.err >&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); } && {
38209 test -z "$ac_c_werror_flag" ||
38210 test ! -s conftest.err
38211 } && test -s conftest.$ac_objext; then
38212 wx_cv_func_broken_vsnprintf_decl=no
38213 else
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38216
38217 wx_cv_func_broken_vsnprintf_decl=yes
38218
38219 fi
38220
38221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38222
38223
38224 fi
38225 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38226 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38227
38228 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38229 cat >>confdefs.h <<\_ACEOF
38230 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38231 _ACEOF
38232
38233 fi
38234 fi
38235 fi
38236
38237 if test "$ac_cv_func_snprintf" = "yes"; then
38238 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38239 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38240 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38242 else
38243
38244 cat >conftest.$ac_ext <<_ACEOF
38245 /* confdefs.h. */
38246 _ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38250
38251 #include <stdio.h>
38252 #include <stdarg.h>
38253 #ifdef __MSL__
38254 #if __MSL__ >= 0x6000
38255 namespace std {}
38256 using namespace std;
38257 #endif
38258 #endif
38259
38260 int
38261 main ()
38262 {
38263
38264 char *buf;
38265 snprintf(buf, 10u, "%s", "wx");
38266
38267 ;
38268 return 0;
38269 }
38270 _ACEOF
38271 rm -f conftest.$ac_objext
38272 if { (ac_try="$ac_compile"
38273 case "(($ac_try" in
38274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38275 *) ac_try_echo=$ac_try;;
38276 esac
38277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38278 (eval "$ac_compile") 2>conftest.er1
38279 ac_status=$?
38280 grep -v '^ *+' conftest.er1 >conftest.err
38281 rm -f conftest.er1
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } && {
38285 test -z "$ac_c_werror_flag" ||
38286 test ! -s conftest.err
38287 } && test -s conftest.$ac_objext; then
38288 wx_cv_func_snprintf_decl=yes
38289 else
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38292
38293 wx_cv_func_snprintf_decl=no
38294
38295 fi
38296
38297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38298
38299
38300 fi
38301 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38302 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38303
38304 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38305 cat >>confdefs.h <<\_ACEOF
38306 #define HAVE_SNPRINTF_DECL 1
38307 _ACEOF
38308
38309 fi
38310
38311 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38312
38313 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38314 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38315 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38316 echo $ECHO_N "(cached) $ECHO_C" >&6
38317 else
38318
38319 if test "$cross_compiling" = yes; then
38320
38321 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38322 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38323 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38324 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38325 wx_cv_func_snprintf_pos_params=no
38326
38327
38328 else
38329 cat >conftest.$ac_ext <<_ACEOF
38330 /* confdefs.h. */
38331 _ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h. */
38335
38336 #include <stdio.h>
38337
38338 int main (void)
38339 {
38340 char buffer[128];
38341 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38342 if (strcmp ("2 3 1", buffer) == 0)
38343 exit (0);
38344 exit (1);
38345 }
38346
38347 _ACEOF
38348 rm -f conftest$ac_exeext
38349 if { (ac_try="$ac_link"
38350 case "(($ac_try" in
38351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38352 *) ac_try_echo=$ac_try;;
38353 esac
38354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38355 (eval "$ac_link") 2>&5
38356 ac_status=$?
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38359 { (case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38362 esac
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_try") 2>&5
38365 ac_status=$?
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); }; }; then
38368 wx_cv_func_snprintf_pos_params=no
38369 else
38370 echo "$as_me: program exited with status $ac_status" >&5
38371 echo "$as_me: failed program was:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38373
38374 ( exit $ac_status )
38375 wx_cv_func_snprintf_pos_params=yes
38376 fi
38377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38378 fi
38379
38380
38381
38382
38383 fi
38384 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38385 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38386
38387 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38388 cat >>confdefs.h <<\_ACEOF
38389 #define HAVE_UNIX98_PRINTF 1
38390 _ACEOF
38391
38392 fi
38393 fi
38394 fi
38395
38396 if test "$wxUSE_UNICODE" = yes; then
38397
38398 wchar_headers="#include <stdio.h>
38399 #include <wchar.h>"
38400 case "${host}" in
38401 *-*-solaris2* )
38402
38403 for ac_header in widec.h
38404 do
38405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38409 echo $ECHO_N "(cached) $ECHO_C" >&6
38410 else
38411 cat >conftest.$ac_ext <<_ACEOF
38412 /* confdefs.h. */
38413 _ACEOF
38414 cat confdefs.h >>conftest.$ac_ext
38415 cat >>conftest.$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417 $ac_includes_default
38418
38419 #include <$ac_header>
38420 _ACEOF
38421 rm -f conftest.$ac_objext
38422 if { (ac_try="$ac_compile"
38423 case "(($ac_try" in
38424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38425 *) ac_try_echo=$ac_try;;
38426 esac
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_compile") 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_c_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest.$ac_objext; then
38438 eval "$as_ac_Header=yes"
38439 else
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38442
38443 eval "$as_ac_Header=no"
38444 fi
38445
38446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38447 fi
38448 ac_res=`eval echo '${'$as_ac_Header'}'`
38449 { echo "$as_me:$LINENO: result: $ac_res" >&5
38450 echo "${ECHO_T}$ac_res" >&6; }
38451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38452 cat >>confdefs.h <<_ACEOF
38453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38454 _ACEOF
38455
38456 fi
38457
38458 done
38459
38460 if test "$ac_cv_header_widec_h" = "yes"; then
38461 wchar_headers="$wchar_headers
38462 #include <widec.h>"
38463 fi
38464 esac
38465
38466
38467 for wx_func in putws fputws wprintf vswprintf
38468 do
38469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38473 else
38474
38475 cat >conftest.$ac_ext <<_ACEOF
38476
38477 /* confdefs.h. */
38478 _ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38482
38483 $wchar_headers
38484 $ac_includes_default
38485
38486 int
38487 main ()
38488 {
38489
38490 #ifndef $wx_func
38491 &$wx_func;
38492 #endif
38493
38494
38495 ;
38496 return 0;
38497 }
38498
38499 _ACEOF
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (ac_try="$ac_link"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38504 *) ac_try_echo=$ac_try;;
38505 esac
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_link") 2>conftest.er1
38508 ac_status=$?
38509 grep -v '^ *+' conftest.er1 >conftest.err
38510 rm -f conftest.er1
38511 cat conftest.err >&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest$ac_exeext &&
38517 $as_test_x conftest$ac_exeext; then
38518 eval wx_cv_func_$wx_func=yes
38519 else
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.$ac_ext >&5
38522
38523 eval wx_cv_func_$wx_func=no
38524 fi
38525
38526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38527 conftest$ac_exeext conftest.$ac_ext
38528
38529 fi
38530 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38531 { echo "$as_me:$LINENO: result: $ac_res" >&5
38532 echo "${ECHO_T}$ac_res" >&6; }
38533
38534 if eval test \$wx_cv_func_$wx_func = yes
38535 then
38536 cat >>confdefs.h <<_ACEOF
38537 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38538 _ACEOF
38539
38540
38541 else
38542 :
38543
38544 fi
38545 done
38546
38547
38548 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38549 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38550 cat >conftest.$ac_ext <<_ACEOF
38551 /* confdefs.h. */
38552 _ACEOF
38553 cat confdefs.h >>conftest.$ac_ext
38554 cat >>conftest.$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38556 #include <wchar.h>
38557 int
38558 main ()
38559 {
38560 &_vsnwprintf;
38561 ;
38562 return 0;
38563 }
38564 _ACEOF
38565 rm -f conftest.$ac_objext
38566 if { (ac_try="$ac_compile"
38567 case "(($ac_try" in
38568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38569 *) ac_try_echo=$ac_try;;
38570 esac
38571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38572 (eval "$ac_compile") 2>conftest.er1
38573 ac_status=$?
38574 grep -v '^ *+' conftest.er1 >conftest.err
38575 rm -f conftest.er1
38576 cat conftest.err >&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); } && {
38579 test -z "$ac_c_werror_flag" ||
38580 test ! -s conftest.err
38581 } && test -s conftest.$ac_objext; then
38582 { echo "$as_me:$LINENO: result: yes" >&5
38583 echo "${ECHO_T}yes" >&6; }
38584 cat >>confdefs.h <<\_ACEOF
38585 #define HAVE__VSNWPRINTF 1
38586 _ACEOF
38587
38588 else
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38591
38592 { echo "$as_me:$LINENO: result: no" >&5
38593 echo "${ECHO_T}no" >&6; }
38594 fi
38595
38596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38597 fi
38598
38599 if test "$wxUSE_FILE" = "yes"; then
38600
38601 for wx_func in fsync
38602 do
38603 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38604 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38605 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 else
38608
38609 cat >conftest.$ac_ext <<_ACEOF
38610
38611 /* confdefs.h. */
38612 _ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616
38617
38618 $ac_includes_default
38619
38620 int
38621 main ()
38622 {
38623
38624 #ifndef $wx_func
38625 &$wx_func;
38626 #endif
38627
38628
38629 ;
38630 return 0;
38631 }
38632
38633 _ACEOF
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (ac_try="$ac_link"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38638 *) ac_try_echo=$ac_try;;
38639 esac
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_link") 2>conftest.er1
38642 ac_status=$?
38643 grep -v '^ *+' conftest.er1 >conftest.err
38644 rm -f conftest.er1
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest$ac_exeext &&
38651 $as_test_x conftest$ac_exeext; then
38652 eval wx_cv_func_$wx_func=yes
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657 eval wx_cv_func_$wx_func=no
38658 fi
38659
38660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38661 conftest$ac_exeext conftest.$ac_ext
38662
38663 fi
38664 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38665 { echo "$as_me:$LINENO: result: $ac_res" >&5
38666 echo "${ECHO_T}$ac_res" >&6; }
38667
38668 if eval test \$wx_cv_func_$wx_func = yes
38669 then
38670 cat >>confdefs.h <<_ACEOF
38671 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38672 _ACEOF
38673
38674
38675 else
38676 :
38677
38678 fi
38679 done
38680
38681 fi
38682
38683 ac_ext=cpp
38684 ac_cpp='$CXXCPP $CPPFLAGS'
38685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38688
38689
38690 for wx_func in round
38691 do
38692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38694 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697
38698 cat >conftest.$ac_ext <<_ACEOF
38699
38700 /* confdefs.h. */
38701 _ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705
38706 #include <math.h>
38707 $ac_includes_default
38708
38709 int
38710 main ()
38711 {
38712
38713 #ifndef $wx_func
38714 &$wx_func;
38715 #endif
38716
38717
38718 ;
38719 return 0;
38720 }
38721
38722 _ACEOF
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (ac_try="$ac_link"
38725 case "(($ac_try" in
38726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38727 *) ac_try_echo=$ac_try;;
38728 esac
38729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38730 (eval "$ac_link") 2>conftest.er1
38731 ac_status=$?
38732 grep -v '^ *+' conftest.er1 >conftest.err
38733 rm -f conftest.er1
38734 cat conftest.err >&5
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); } && {
38737 test -z "$ac_cxx_werror_flag" ||
38738 test ! -s conftest.err
38739 } && test -s conftest$ac_exeext &&
38740 $as_test_x conftest$ac_exeext; then
38741 eval wx_cv_func_$wx_func=yes
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 eval wx_cv_func_$wx_func=no
38747 fi
38748
38749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38750 conftest$ac_exeext conftest.$ac_ext
38751
38752 fi
38753 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38754 { echo "$as_me:$LINENO: result: $ac_res" >&5
38755 echo "${ECHO_T}$ac_res" >&6; }
38756
38757 if eval test \$wx_cv_func_$wx_func = yes
38758 then
38759 cat >>confdefs.h <<_ACEOF
38760 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38761 _ACEOF
38762
38763
38764 else
38765 :
38766
38767 fi
38768 done
38769
38770 ac_ext=c
38771 ac_cpp='$CPP $CPPFLAGS'
38772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38775
38776
38777 if test "$TOOLKIT" != "MSW"; then
38778
38779
38780
38781
38782
38783 # Check whether --with-libiconv-prefix was given.
38784 if test "${with_libiconv_prefix+set}" = set; then
38785 withval=$with_libiconv_prefix;
38786 for dir in `echo "$withval" | tr : ' '`; do
38787 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38788 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38789 done
38790
38791 fi
38792
38793
38794 { echo "$as_me:$LINENO: checking for iconv" >&5
38795 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38796 if test "${am_cv_func_iconv+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 else
38799
38800 am_cv_func_iconv="no, consider installing GNU libiconv"
38801 am_cv_lib_iconv=no
38802 cat >conftest.$ac_ext <<_ACEOF
38803 /* confdefs.h. */
38804 _ACEOF
38805 cat confdefs.h >>conftest.$ac_ext
38806 cat >>conftest.$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808 #include <stdlib.h>
38809 #include <iconv.h>
38810 int
38811 main ()
38812 {
38813 iconv_t cd = iconv_open("","");
38814 iconv(cd,NULL,NULL,NULL,NULL);
38815 iconv_close(cd);
38816 ;
38817 return 0;
38818 }
38819 _ACEOF
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (ac_try="$ac_link"
38822 case "(($ac_try" in
38823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38824 *) ac_try_echo=$ac_try;;
38825 esac
38826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38827 (eval "$ac_link") 2>conftest.er1
38828 ac_status=$?
38829 grep -v '^ *+' conftest.er1 >conftest.err
38830 rm -f conftest.er1
38831 cat conftest.err >&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } && {
38834 test -z "$ac_c_werror_flag" ||
38835 test ! -s conftest.err
38836 } && test -s conftest$ac_exeext &&
38837 $as_test_x conftest$ac_exeext; then
38838 am_cv_func_iconv=yes
38839 else
38840 echo "$as_me: failed program was:" >&5
38841 sed 's/^/| /' conftest.$ac_ext >&5
38842
38843
38844 fi
38845
38846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38847 conftest$ac_exeext conftest.$ac_ext
38848 if test "$am_cv_func_iconv" != yes; then
38849 am_save_LIBS="$LIBS"
38850 LIBS="$LIBS -liconv"
38851 cat >conftest.$ac_ext <<_ACEOF
38852 /* confdefs.h. */
38853 _ACEOF
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 #include <stdlib.h>
38858 #include <iconv.h>
38859 int
38860 main ()
38861 {
38862 iconv_t cd = iconv_open("","");
38863 iconv(cd,NULL,NULL,NULL,NULL);
38864 iconv_close(cd);
38865 ;
38866 return 0;
38867 }
38868 _ACEOF
38869 rm -f conftest.$ac_objext conftest$ac_exeext
38870 if { (ac_try="$ac_link"
38871 case "(($ac_try" in
38872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38873 *) ac_try_echo=$ac_try;;
38874 esac
38875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38876 (eval "$ac_link") 2>conftest.er1
38877 ac_status=$?
38878 grep -v '^ *+' conftest.er1 >conftest.err
38879 rm -f conftest.er1
38880 cat conftest.err >&5
38881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882 (exit $ac_status); } && {
38883 test -z "$ac_c_werror_flag" ||
38884 test ! -s conftest.err
38885 } && test -s conftest$ac_exeext &&
38886 $as_test_x conftest$ac_exeext; then
38887 am_cv_lib_iconv=yes
38888 am_cv_func_iconv=yes
38889 else
38890 echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38892
38893
38894 fi
38895
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897 conftest$ac_exeext conftest.$ac_ext
38898 LIBS="$am_save_LIBS"
38899 fi
38900
38901 fi
38902 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38903 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38904 if test "$am_cv_func_iconv" = yes; then
38905
38906 cat >>confdefs.h <<\_ACEOF
38907 #define HAVE_ICONV 1
38908 _ACEOF
38909
38910 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38911 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38912 if test "${wx_cv_func_iconv_const+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38914 else
38915 cat >conftest.$ac_ext <<_ACEOF
38916 /* confdefs.h. */
38917 _ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921
38922 #include <stdlib.h>
38923 #include <iconv.h>
38924 extern
38925 #ifdef __cplusplus
38926 "C"
38927 #endif
38928 #if defined(__STDC__) || defined(__cplusplus)
38929 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38930 #else
38931 size_t iconv();
38932 #endif
38933
38934 int
38935 main ()
38936 {
38937
38938 ;
38939 return 0;
38940 }
38941 _ACEOF
38942 rm -f conftest.$ac_objext
38943 if { (ac_try="$ac_compile"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38947 esac
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_compile") 2>conftest.er1
38950 ac_status=$?
38951 grep -v '^ *+' conftest.er1 >conftest.err
38952 rm -f conftest.er1
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest.$ac_objext; then
38959 wx_cv_func_iconv_const="no"
38960 else
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38963
38964 wx_cv_func_iconv_const="yes"
38965
38966 fi
38967
38968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969
38970 fi
38971 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38972 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38973
38974 iconv_const=
38975 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38976 iconv_const="const"
38977 fi
38978
38979
38980 cat >>confdefs.h <<_ACEOF
38981 #define ICONV_CONST $iconv_const
38982 _ACEOF
38983
38984 fi
38985 LIBICONV=
38986 if test "$am_cv_lib_iconv" = yes; then
38987 LIBICONV="-liconv"
38988 fi
38989
38990
38991 LIBS="$LIBICONV $LIBS"
38992
38993 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38994
38995 for ac_func in sigaction
38996 do
38997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 else
39003 cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h. */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39011 #define $ac_func innocuous_$ac_func
39012
39013 /* System header to define __stub macros and hopefully few prototypes,
39014 which can conflict with char $ac_func (); below.
39015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39016 <limits.h> exists even on freestanding compilers. */
39017
39018 #ifdef __STDC__
39019 # include <limits.h>
39020 #else
39021 # include <assert.h>
39022 #endif
39023
39024 #undef $ac_func
39025
39026 /* Override any GCC internal prototype to avoid an error.
39027 Use char because int might match the return type of a GCC
39028 builtin and then its argument prototype would still apply. */
39029 #ifdef __cplusplus
39030 extern "C"
39031 #endif
39032 char $ac_func ();
39033 /* The GNU C library defines this for functions which it implements
39034 to always fail with ENOSYS. Some functions are actually named
39035 something starting with __ and the normal name is an alias. */
39036 #if defined __stub_$ac_func || defined __stub___$ac_func
39037 choke me
39038 #endif
39039
39040 int
39041 main ()
39042 {
39043 return $ac_func ();
39044 ;
39045 return 0;
39046 }
39047 _ACEOF
39048 rm -f conftest.$ac_objext conftest$ac_exeext
39049 if { (ac_try="$ac_link"
39050 case "(($ac_try" in
39051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39052 *) ac_try_echo=$ac_try;;
39053 esac
39054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39055 (eval "$ac_link") 2>conftest.er1
39056 ac_status=$?
39057 grep -v '^ *+' conftest.er1 >conftest.err
39058 rm -f conftest.er1
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } && {
39062 test -z "$ac_c_werror_flag" ||
39063 test ! -s conftest.err
39064 } && test -s conftest$ac_exeext &&
39065 $as_test_x conftest$ac_exeext; then
39066 eval "$as_ac_var=yes"
39067 else
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39070
39071 eval "$as_ac_var=no"
39072 fi
39073
39074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39075 conftest$ac_exeext conftest.$ac_ext
39076 fi
39077 ac_res=`eval echo '${'$as_ac_var'}'`
39078 { echo "$as_me:$LINENO: result: $ac_res" >&5
39079 echo "${ECHO_T}$ac_res" >&6; }
39080 if test `eval echo '${'$as_ac_var'}'` = yes; then
39081 cat >>confdefs.h <<_ACEOF
39082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39083 _ACEOF
39084
39085 fi
39086 done
39087
39088
39089 if test "$ac_cv_func_sigaction" = "no"; then
39090 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39091 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39092 wxUSE_ON_FATAL_EXCEPTION=no
39093 fi
39094
39095 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39096 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39097 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39098 if test "${wx_cv_type_sa_handler+set}" = set; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 else
39101
39102 ac_ext=cpp
39103 ac_cpp='$CXXCPP $CPPFLAGS'
39104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39107
39108 cat >conftest.$ac_ext <<_ACEOF
39109 /* confdefs.h. */
39110 _ACEOF
39111 cat confdefs.h >>conftest.$ac_ext
39112 cat >>conftest.$ac_ext <<_ACEOF
39113 /* end confdefs.h. */
39114 #include <signal.h>
39115 int
39116 main ()
39117 {
39118
39119 extern void testSigHandler(int);
39120
39121 struct sigaction sa;
39122 sa.sa_handler = testSigHandler;
39123
39124 ;
39125 return 0;
39126 }
39127 _ACEOF
39128 rm -f conftest.$ac_objext
39129 if { (ac_try="$ac_compile"
39130 case "(($ac_try" in
39131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39132 *) ac_try_echo=$ac_try;;
39133 esac
39134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39135 (eval "$ac_compile") 2>conftest.er1
39136 ac_status=$?
39137 grep -v '^ *+' conftest.er1 >conftest.err
39138 rm -f conftest.er1
39139 cat conftest.err >&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } && {
39142 test -z "$ac_cxx_werror_flag" ||
39143 test ! -s conftest.err
39144 } && test -s conftest.$ac_objext; then
39145
39146 wx_cv_type_sa_handler=int
39147
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152
39153 wx_cv_type_sa_handler=void
39154
39155 fi
39156
39157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39163
39164
39165 fi
39166 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39167 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39168
39169 cat >>confdefs.h <<_ACEOF
39170 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39171 _ACEOF
39172
39173 fi
39174 fi
39175
39176 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39177 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39178 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39179 if test "${wx_cv_func_backtrace+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39181 else
39182
39183 ac_ext=cpp
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39188
39189 cat >conftest.$ac_ext <<_ACEOF
39190 /* confdefs.h. */
39191 _ACEOF
39192 cat confdefs.h >>conftest.$ac_ext
39193 cat >>conftest.$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39195 #include <execinfo.h>
39196 int
39197 main ()
39198 {
39199
39200 void *trace[1];
39201 char **messages;
39202
39203 backtrace(trace, 1);
39204 messages = backtrace_symbols(trace, 1);
39205
39206 ;
39207 return 0;
39208 }
39209 _ACEOF
39210 rm -f conftest.$ac_objext
39211 if { (ac_try="$ac_compile"
39212 case "(($ac_try" in
39213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39214 *) ac_try_echo=$ac_try;;
39215 esac
39216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39217 (eval "$ac_compile") 2>conftest.er1
39218 ac_status=$?
39219 grep -v '^ *+' conftest.er1 >conftest.err
39220 rm -f conftest.er1
39221 cat conftest.err >&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } && {
39224 test -z "$ac_cxx_werror_flag" ||
39225 test ! -s conftest.err
39226 } && test -s conftest.$ac_objext; then
39227 wx_cv_func_backtrace=yes
39228 else
39229 echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.$ac_ext >&5
39231
39232 wx_cv_func_backtrace=no
39233
39234 fi
39235
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39242
39243
39244
39245 fi
39246 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39247 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39248
39249
39250 if test "$wx_cv_func_backtrace" = "no"; then
39251 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39252 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39253 wxUSE_STACKWALKER=no
39254 else
39255 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39256 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39257 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 else
39260
39261 ac_ext=cpp
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266
39267 cat >conftest.$ac_ext <<_ACEOF
39268 /* confdefs.h. */
39269 _ACEOF
39270 cat confdefs.h >>conftest.$ac_ext
39271 cat >>conftest.$ac_ext <<_ACEOF
39272 /* end confdefs.h. */
39273 #include <cxxabi.h>
39274 int
39275 main ()
39276 {
39277
39278 int rc;
39279 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39280
39281 ;
39282 return 0;
39283 }
39284 _ACEOF
39285 rm -f conftest.$ac_objext conftest$ac_exeext
39286 if { (ac_try="$ac_link"
39287 case "(($ac_try" in
39288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39289 *) ac_try_echo=$ac_try;;
39290 esac
39291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39292 (eval "$ac_link") 2>conftest.er1
39293 ac_status=$?
39294 grep -v '^ *+' conftest.er1 >conftest.err
39295 rm -f conftest.er1
39296 cat conftest.err >&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } && {
39299 test -z "$ac_cxx_werror_flag" ||
39300 test ! -s conftest.err
39301 } && test -s conftest$ac_exeext &&
39302 $as_test_x conftest$ac_exeext; then
39303 wx_cv_func_cxa_demangle=yes
39304 else
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39307
39308 wx_cv_func_cxa_demangle=no
39309
39310 fi
39311
39312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39313 conftest$ac_exeext conftest.$ac_ext
39314 ac_ext=c
39315 ac_cpp='$CPP $CPPFLAGS'
39316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39319
39320
39321
39322 fi
39323 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39324 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39325
39326 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39327 cat >>confdefs.h <<\_ACEOF
39328 #define HAVE_CXA_DEMANGLE 1
39329 _ACEOF
39330
39331 fi
39332 fi
39333 fi
39334
39335 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39336 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39337 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39338 wxUSE_STACKWALKER=no
39339 fi
39340
39341
39342
39343
39344 for ac_func in mkstemp mktemp
39345 do
39346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39351 else
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39360 #define $ac_func innocuous_$ac_func
39361
39362 /* System header to define __stub macros and hopefully few prototypes,
39363 which can conflict with char $ac_func (); below.
39364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39365 <limits.h> exists even on freestanding compilers. */
39366
39367 #ifdef __STDC__
39368 # include <limits.h>
39369 #else
39370 # include <assert.h>
39371 #endif
39372
39373 #undef $ac_func
39374
39375 /* Override any GCC internal prototype to avoid an error.
39376 Use char because int might match the return type of a GCC
39377 builtin and then its argument prototype would still apply. */
39378 #ifdef __cplusplus
39379 extern "C"
39380 #endif
39381 char $ac_func ();
39382 /* The GNU C library defines this for functions which it implements
39383 to always fail with ENOSYS. Some functions are actually named
39384 something starting with __ and the normal name is an alias. */
39385 #if defined __stub_$ac_func || defined __stub___$ac_func
39386 choke me
39387 #endif
39388
39389 int
39390 main ()
39391 {
39392 return $ac_func ();
39393 ;
39394 return 0;
39395 }
39396 _ACEOF
39397 rm -f conftest.$ac_objext conftest$ac_exeext
39398 if { (ac_try="$ac_link"
39399 case "(($ac_try" in
39400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39401 *) ac_try_echo=$ac_try;;
39402 esac
39403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39404 (eval "$ac_link") 2>conftest.er1
39405 ac_status=$?
39406 grep -v '^ *+' conftest.er1 >conftest.err
39407 rm -f conftest.er1
39408 cat conftest.err >&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); } && {
39411 test -z "$ac_c_werror_flag" ||
39412 test ! -s conftest.err
39413 } && test -s conftest$ac_exeext &&
39414 $as_test_x conftest$ac_exeext; then
39415 eval "$as_ac_var=yes"
39416 else
39417 echo "$as_me: failed program was:" >&5
39418 sed 's/^/| /' conftest.$ac_ext >&5
39419
39420 eval "$as_ac_var=no"
39421 fi
39422
39423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39424 conftest$ac_exeext conftest.$ac_ext
39425 fi
39426 ac_res=`eval echo '${'$as_ac_var'}'`
39427 { echo "$as_me:$LINENO: result: $ac_res" >&5
39428 echo "${ECHO_T}$ac_res" >&6; }
39429 if test `eval echo '${'$as_ac_var'}'` = yes; then
39430 cat >>confdefs.h <<_ACEOF
39431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39432 _ACEOF
39433 break
39434 fi
39435 done
39436
39437
39438 { echo "$as_me:$LINENO: checking for statfs" >&5
39439 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39440 if test "${wx_cv_func_statfs+set}" = set; then
39441 echo $ECHO_N "(cached) $ECHO_C" >&6
39442 else
39443 cat >conftest.$ac_ext <<_ACEOF
39444 /* confdefs.h. */
39445 _ACEOF
39446 cat confdefs.h >>conftest.$ac_ext
39447 cat >>conftest.$ac_ext <<_ACEOF
39448 /* end confdefs.h. */
39449
39450 #if defined(__BSD__)
39451 #include <sys/param.h>
39452 #include <sys/mount.h>
39453 #else
39454 #include <sys/vfs.h>
39455 #endif
39456
39457 int
39458 main ()
39459 {
39460
39461 long l;
39462 struct statfs fs;
39463 statfs("/", &fs);
39464 l = fs.f_bsize;
39465 l += fs.f_blocks;
39466 l += fs.f_bavail;
39467
39468 ;
39469 return 0;
39470 }
39471 _ACEOF
39472 rm -f conftest.$ac_objext
39473 if { (ac_try="$ac_compile"
39474 case "(($ac_try" in
39475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39476 *) ac_try_echo=$ac_try;;
39477 esac
39478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39479 (eval "$ac_compile") 2>conftest.er1
39480 ac_status=$?
39481 grep -v '^ *+' conftest.er1 >conftest.err
39482 rm -f conftest.er1
39483 cat conftest.err >&5
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } && {
39486 test -z "$ac_c_werror_flag" ||
39487 test ! -s conftest.err
39488 } && test -s conftest.$ac_objext; then
39489 wx_cv_func_statfs=yes
39490 else
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.$ac_ext >&5
39493
39494 wx_cv_func_statfs=no
39495
39496 fi
39497
39498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39499
39500 fi
39501 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39502 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39503
39504 if test "$wx_cv_func_statfs" = "yes"; then
39505 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39506 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39507 if test "${wx_cv_func_statfs_decl+set}" = set; then
39508 echo $ECHO_N "(cached) $ECHO_C" >&6
39509 else
39510 ac_ext=cpp
39511 ac_cpp='$CXXCPP $CPPFLAGS'
39512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39515
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522
39523 #if defined(__BSD__)
39524 #include <sys/param.h>
39525 #include <sys/mount.h>
39526 #else
39527 #include <sys/vfs.h>
39528 #endif
39529
39530 int
39531 main ()
39532 {
39533
39534 struct statfs fs;
39535 statfs("", &fs);
39536
39537 ;
39538 return 0;
39539 }
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (ac_try="$ac_compile"
39543 case "(($ac_try" in
39544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39545 *) ac_try_echo=$ac_try;;
39546 esac
39547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39548 (eval "$ac_compile") 2>conftest.er1
39549 ac_status=$?
39550 grep -v '^ *+' conftest.er1 >conftest.err
39551 rm -f conftest.er1
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } && {
39555 test -z "$ac_cxx_werror_flag" ||
39556 test ! -s conftest.err
39557 } && test -s conftest.$ac_objext; then
39558 wx_cv_func_statfs_decl=yes
39559 else
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39562
39563 wx_cv_func_statfs_decl=no
39564
39565 fi
39566
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568 ac_ext=c
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573
39574
39575 fi
39576 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39577 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39578
39579 if test "$wx_cv_func_statfs_decl" = "yes"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_STATFS_DECL 1
39582 _ACEOF
39583
39584 fi
39585
39586 wx_cv_type_statvfs_t="struct statfs"
39587 cat >>confdefs.h <<\_ACEOF
39588 #define HAVE_STATFS 1
39589 _ACEOF
39590
39591 else
39592 { echo "$as_me:$LINENO: checking for statvfs" >&5
39593 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39594 if test "${wx_cv_func_statvfs+set}" = set; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39597 cat >conftest.$ac_ext <<_ACEOF
39598 /* confdefs.h. */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39603
39604 #include <stddef.h>
39605 #include <sys/statvfs.h>
39606
39607 int
39608 main ()
39609 {
39610
39611 statvfs("/", NULL);
39612
39613 ;
39614 return 0;
39615 }
39616 _ACEOF
39617 rm -f conftest.$ac_objext
39618 if { (ac_try="$ac_compile"
39619 case "(($ac_try" in
39620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39621 *) ac_try_echo=$ac_try;;
39622 esac
39623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39624 (eval "$ac_compile") 2>conftest.er1
39625 ac_status=$?
39626 grep -v '^ *+' conftest.er1 >conftest.err
39627 rm -f conftest.er1
39628 cat conftest.err >&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } && {
39631 test -z "$ac_c_werror_flag" ||
39632 test ! -s conftest.err
39633 } && test -s conftest.$ac_objext; then
39634 wx_cv_func_statvfs=yes
39635 else
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.$ac_ext >&5
39638
39639 wx_cv_func_statvfs=no
39640
39641 fi
39642
39643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39644
39645 fi
39646 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39647 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39648
39649 if test "$wx_cv_func_statvfs" = "yes"; then
39650 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39651 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39652 if test "${wx_cv_type_statvfs_t+set}" = set; then
39653 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 else
39655 ac_ext=cpp
39656 ac_cpp='$CXXCPP $CPPFLAGS'
39657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660
39661 cat >conftest.$ac_ext <<_ACEOF
39662 /* confdefs.h. */
39663 _ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667
39668 #include <sys/statvfs.h>
39669
39670 int
39671 main ()
39672 {
39673
39674 long l;
39675 statvfs_t fs;
39676 statvfs("/", &fs);
39677 l = fs.f_bsize;
39678 l += fs.f_blocks;
39679 l += fs.f_bavail;
39680
39681 ;
39682 return 0;
39683 }
39684 _ACEOF
39685 rm -f conftest.$ac_objext
39686 if { (ac_try="$ac_compile"
39687 case "(($ac_try" in
39688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39689 *) ac_try_echo=$ac_try;;
39690 esac
39691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39692 (eval "$ac_compile") 2>conftest.er1
39693 ac_status=$?
39694 grep -v '^ *+' conftest.er1 >conftest.err
39695 rm -f conftest.er1
39696 cat conftest.err >&5
39697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39698 (exit $ac_status); } && {
39699 test -z "$ac_cxx_werror_flag" ||
39700 test ! -s conftest.err
39701 } && test -s conftest.$ac_objext; then
39702 wx_cv_type_statvfs_t=statvfs_t
39703 else
39704 echo "$as_me: failed program was:" >&5
39705 sed 's/^/| /' conftest.$ac_ext >&5
39706
39707
39708 cat >conftest.$ac_ext <<_ACEOF
39709 /* confdefs.h. */
39710 _ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714
39715 #include <sys/statvfs.h>
39716
39717 int
39718 main ()
39719 {
39720
39721 long l;
39722 struct statvfs fs;
39723 statvfs("/", &fs);
39724 l = fs.f_bsize;
39725 l += fs.f_blocks;
39726 l += fs.f_bavail;
39727
39728 ;
39729 return 0;
39730 }
39731 _ACEOF
39732 rm -f conftest.$ac_objext
39733 if { (ac_try="$ac_compile"
39734 case "(($ac_try" in
39735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39736 *) ac_try_echo=$ac_try;;
39737 esac
39738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39739 (eval "$ac_compile") 2>conftest.er1
39740 ac_status=$?
39741 grep -v '^ *+' conftest.er1 >conftest.err
39742 rm -f conftest.er1
39743 cat conftest.err >&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } && {
39746 test -z "$ac_cxx_werror_flag" ||
39747 test ! -s conftest.err
39748 } && test -s conftest.$ac_objext; then
39749 wx_cv_type_statvfs_t="struct statvfs"
39750 else
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.$ac_ext >&5
39753
39754 wx_cv_type_statvfs_t="unknown"
39755
39756 fi
39757
39758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39759
39760
39761 fi
39762
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39769
39770
39771 fi
39772 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39773 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39774
39775 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39776 cat >>confdefs.h <<\_ACEOF
39777 #define HAVE_STATVFS 1
39778 _ACEOF
39779
39780 fi
39781 else
39782 wx_cv_type_statvfs_t="unknown"
39783 fi
39784 fi
39785
39786 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39787 cat >>confdefs.h <<_ACEOF
39788 #define WX_STATFS_T $wx_cv_type_statvfs_t
39789 _ACEOF
39790
39791 else
39792 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39793 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39794 fi
39795
39796 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39797
39798
39799 for ac_func in fcntl flock
39800 do
39801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define $ac_func innocuous_$ac_func
39816
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char $ac_func (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39821
39822 #ifdef __STDC__
39823 # include <limits.h>
39824 #else
39825 # include <assert.h>
39826 #endif
39827
39828 #undef $ac_func
39829
39830 /* Override any GCC internal prototype to avoid an error.
39831 Use char because int might match the return type of a GCC
39832 builtin and then its argument prototype would still apply. */
39833 #ifdef __cplusplus
39834 extern "C"
39835 #endif
39836 char $ac_func ();
39837 /* The GNU C library defines this for functions which it implements
39838 to always fail with ENOSYS. Some functions are actually named
39839 something starting with __ and the normal name is an alias. */
39840 #if defined __stub_$ac_func || defined __stub___$ac_func
39841 choke me
39842 #endif
39843
39844 int
39845 main ()
39846 {
39847 return $ac_func ();
39848 ;
39849 return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext conftest$ac_exeext
39853 if { (ac_try="$ac_link"
39854 case "(($ac_try" in
39855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39857 esac
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_link") 2>conftest.er1
39860 ac_status=$?
39861 grep -v '^ *+' conftest.er1 >conftest.err
39862 rm -f conftest.er1
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest$ac_exeext &&
39869 $as_test_x conftest$ac_exeext; then
39870 eval "$as_ac_var=yes"
39871 else
39872 echo "$as_me: failed program was:" >&5
39873 sed 's/^/| /' conftest.$ac_ext >&5
39874
39875 eval "$as_ac_var=no"
39876 fi
39877
39878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39879 conftest$ac_exeext conftest.$ac_ext
39880 fi
39881 ac_res=`eval echo '${'$as_ac_var'}'`
39882 { echo "$as_me:$LINENO: result: $ac_res" >&5
39883 echo "${ECHO_T}$ac_res" >&6; }
39884 if test `eval echo '${'$as_ac_var'}'` = yes; then
39885 cat >>confdefs.h <<_ACEOF
39886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39887 _ACEOF
39888 break
39889 fi
39890 done
39891
39892
39893 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39894 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39895 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39896 wxUSE_SNGLINST_CHECKER=no
39897 fi
39898 fi
39899
39900
39901
39902 for ac_func in setenv putenv
39903 do
39904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39909 else
39910 cat >conftest.$ac_ext <<_ACEOF
39911 /* confdefs.h. */
39912 _ACEOF
39913 cat confdefs.h >>conftest.$ac_ext
39914 cat >>conftest.$ac_ext <<_ACEOF
39915 /* end confdefs.h. */
39916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39918 #define $ac_func innocuous_$ac_func
39919
39920 /* System header to define __stub macros and hopefully few prototypes,
39921 which can conflict with char $ac_func (); below.
39922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39923 <limits.h> exists even on freestanding compilers. */
39924
39925 #ifdef __STDC__
39926 # include <limits.h>
39927 #else
39928 # include <assert.h>
39929 #endif
39930
39931 #undef $ac_func
39932
39933 /* Override any GCC internal prototype to avoid an error.
39934 Use char because int might match the return type of a GCC
39935 builtin and then its argument prototype would still apply. */
39936 #ifdef __cplusplus
39937 extern "C"
39938 #endif
39939 char $ac_func ();
39940 /* The GNU C library defines this for functions which it implements
39941 to always fail with ENOSYS. Some functions are actually named
39942 something starting with __ and the normal name is an alias. */
39943 #if defined __stub_$ac_func || defined __stub___$ac_func
39944 choke me
39945 #endif
39946
39947 int
39948 main ()
39949 {
39950 return $ac_func ();
39951 ;
39952 return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (ac_try="$ac_link"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_link") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest$ac_exeext &&
39972 $as_test_x conftest$ac_exeext; then
39973 eval "$as_ac_var=yes"
39974 else
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39977
39978 eval "$as_ac_var=no"
39979 fi
39980
39981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39982 conftest$ac_exeext conftest.$ac_ext
39983 fi
39984 ac_res=`eval echo '${'$as_ac_var'}'`
39985 { echo "$as_me:$LINENO: result: $ac_res" >&5
39986 echo "${ECHO_T}$ac_res" >&6; }
39987 if test `eval echo '${'$as_ac_var'}'` = yes; then
39988 cat >>confdefs.h <<_ACEOF
39989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39990 _ACEOF
39991 break
39992 fi
39993 done
39994
39995 if test "$ac_cv_func_setenv" = "yes"; then
39996
39997 for ac_func in unsetenv
39998 do
39999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 else
40005 cat >conftest.$ac_ext <<_ACEOF
40006 /* confdefs.h. */
40007 _ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40013 #define $ac_func innocuous_$ac_func
40014
40015 /* System header to define __stub macros and hopefully few prototypes,
40016 which can conflict with char $ac_func (); below.
40017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40018 <limits.h> exists even on freestanding compilers. */
40019
40020 #ifdef __STDC__
40021 # include <limits.h>
40022 #else
40023 # include <assert.h>
40024 #endif
40025
40026 #undef $ac_func
40027
40028 /* Override any GCC internal prototype to avoid an error.
40029 Use char because int might match the return type of a GCC
40030 builtin and then its argument prototype would still apply. */
40031 #ifdef __cplusplus
40032 extern "C"
40033 #endif
40034 char $ac_func ();
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined __stub_$ac_func || defined __stub___$ac_func
40039 choke me
40040 #endif
40041
40042 int
40043 main ()
40044 {
40045 return $ac_func ();
40046 ;
40047 return 0;
40048 }
40049 _ACEOF
40050 rm -f conftest.$ac_objext conftest$ac_exeext
40051 if { (ac_try="$ac_link"
40052 case "(($ac_try" in
40053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40054 *) ac_try_echo=$ac_try;;
40055 esac
40056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40057 (eval "$ac_link") 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } && {
40064 test -z "$ac_c_werror_flag" ||
40065 test ! -s conftest.err
40066 } && test -s conftest$ac_exeext &&
40067 $as_test_x conftest$ac_exeext; then
40068 eval "$as_ac_var=yes"
40069 else
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.$ac_ext >&5
40072
40073 eval "$as_ac_var=no"
40074 fi
40075
40076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40077 conftest$ac_exeext conftest.$ac_ext
40078 fi
40079 ac_res=`eval echo '${'$as_ac_var'}'`
40080 { echo "$as_me:$LINENO: result: $ac_res" >&5
40081 echo "${ECHO_T}$ac_res" >&6; }
40082 if test `eval echo '${'$as_ac_var'}'` = yes; then
40083 cat >>confdefs.h <<_ACEOF
40084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40085 _ACEOF
40086
40087 fi
40088 done
40089
40090 fi
40091
40092 HAVE_SOME_SLEEP_FUNC=0
40093 if test "$USE_BEOS" = 1; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_SLEEP 1
40096 _ACEOF
40097
40098 HAVE_SOME_SLEEP_FUNC=1
40099 fi
40100
40101 if test "$USE_DARWIN" = 1; then
40102 cat >>confdefs.h <<\_ACEOF
40103 #define HAVE_USLEEP 1
40104 _ACEOF
40105
40106 HAVE_SOME_SLEEP_FUNC=1
40107 fi
40108
40109 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40110 POSIX4_LINK=
40111
40112 for ac_func in nanosleep
40113 do
40114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40118 echo $ECHO_N "(cached) $ECHO_C" >&6
40119 else
40120 cat >conftest.$ac_ext <<_ACEOF
40121 /* confdefs.h. */
40122 _ACEOF
40123 cat confdefs.h >>conftest.$ac_ext
40124 cat >>conftest.$ac_ext <<_ACEOF
40125 /* end confdefs.h. */
40126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40128 #define $ac_func innocuous_$ac_func
40129
40130 /* System header to define __stub macros and hopefully few prototypes,
40131 which can conflict with char $ac_func (); below.
40132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40133 <limits.h> exists even on freestanding compilers. */
40134
40135 #ifdef __STDC__
40136 # include <limits.h>
40137 #else
40138 # include <assert.h>
40139 #endif
40140
40141 #undef $ac_func
40142
40143 /* Override any GCC internal prototype to avoid an error.
40144 Use char because int might match the return type of a GCC
40145 builtin and then its argument prototype would still apply. */
40146 #ifdef __cplusplus
40147 extern "C"
40148 #endif
40149 char $ac_func ();
40150 /* The GNU C library defines this for functions which it implements
40151 to always fail with ENOSYS. Some functions are actually named
40152 something starting with __ and the normal name is an alias. */
40153 #if defined __stub_$ac_func || defined __stub___$ac_func
40154 choke me
40155 #endif
40156
40157 int
40158 main ()
40159 {
40160 return $ac_func ();
40161 ;
40162 return 0;
40163 }
40164 _ACEOF
40165 rm -f conftest.$ac_objext conftest$ac_exeext
40166 if { (ac_try="$ac_link"
40167 case "(($ac_try" in
40168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40169 *) ac_try_echo=$ac_try;;
40170 esac
40171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40172 (eval "$ac_link") 2>conftest.er1
40173 ac_status=$?
40174 grep -v '^ *+' conftest.er1 >conftest.err
40175 rm -f conftest.er1
40176 cat conftest.err >&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } && {
40179 test -z "$ac_c_werror_flag" ||
40180 test ! -s conftest.err
40181 } && test -s conftest$ac_exeext &&
40182 $as_test_x conftest$ac_exeext; then
40183 eval "$as_ac_var=yes"
40184 else
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40187
40188 eval "$as_ac_var=no"
40189 fi
40190
40191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40192 conftest$ac_exeext conftest.$ac_ext
40193 fi
40194 ac_res=`eval echo '${'$as_ac_var'}'`
40195 { echo "$as_me:$LINENO: result: $ac_res" >&5
40196 echo "${ECHO_T}$ac_res" >&6; }
40197 if test `eval echo '${'$as_ac_var'}'` = yes; then
40198 cat >>confdefs.h <<_ACEOF
40199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40200 _ACEOF
40201 cat >>confdefs.h <<\_ACEOF
40202 #define HAVE_NANOSLEEP 1
40203 _ACEOF
40204
40205 else
40206
40207 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40208 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40209 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40210 echo $ECHO_N "(cached) $ECHO_C" >&6
40211 else
40212 ac_check_lib_save_LIBS=$LIBS
40213 LIBS="-lposix4 $LIBS"
40214 cat >conftest.$ac_ext <<_ACEOF
40215 /* confdefs.h. */
40216 _ACEOF
40217 cat confdefs.h >>conftest.$ac_ext
40218 cat >>conftest.$ac_ext <<_ACEOF
40219 /* end confdefs.h. */
40220
40221 /* Override any GCC internal prototype to avoid an error.
40222 Use char because int might match the return type of a GCC
40223 builtin and then its argument prototype would still apply. */
40224 #ifdef __cplusplus
40225 extern "C"
40226 #endif
40227 char nanosleep ();
40228 int
40229 main ()
40230 {
40231 return nanosleep ();
40232 ;
40233 return 0;
40234 }
40235 _ACEOF
40236 rm -f conftest.$ac_objext conftest$ac_exeext
40237 if { (ac_try="$ac_link"
40238 case "(($ac_try" in
40239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40240 *) ac_try_echo=$ac_try;;
40241 esac
40242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40243 (eval "$ac_link") 2>conftest.er1
40244 ac_status=$?
40245 grep -v '^ *+' conftest.er1 >conftest.err
40246 rm -f conftest.er1
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } && {
40250 test -z "$ac_c_werror_flag" ||
40251 test ! -s conftest.err
40252 } && test -s conftest$ac_exeext &&
40253 $as_test_x conftest$ac_exeext; then
40254 ac_cv_lib_posix4_nanosleep=yes
40255 else
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40258
40259 ac_cv_lib_posix4_nanosleep=no
40260 fi
40261
40262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40263 conftest$ac_exeext conftest.$ac_ext
40264 LIBS=$ac_check_lib_save_LIBS
40265 fi
40266 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40267 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40268 if test $ac_cv_lib_posix4_nanosleep = yes; then
40269
40270 cat >>confdefs.h <<\_ACEOF
40271 #define HAVE_NANOSLEEP 1
40272 _ACEOF
40273
40274 POSIX4_LINK=" -lposix4"
40275
40276 else
40277
40278
40279 for wx_func in usleep
40280 do
40281 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40282 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40283 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40284 echo $ECHO_N "(cached) $ECHO_C" >&6
40285 else
40286
40287 cat >conftest.$ac_ext <<_ACEOF
40288
40289 /* confdefs.h. */
40290 _ACEOF
40291 cat confdefs.h >>conftest.$ac_ext
40292 cat >>conftest.$ac_ext <<_ACEOF
40293 /* end confdefs.h. */
40294
40295
40296 $ac_includes_default
40297
40298 int
40299 main ()
40300 {
40301
40302 #ifndef $wx_func
40303 &$wx_func;
40304 #endif
40305
40306
40307 ;
40308 return 0;
40309 }
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 wx_cv_func_$wx_func=yes
40331 else
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.$ac_ext >&5
40334
40335 eval wx_cv_func_$wx_func=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
40341 fi
40342 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40343 { echo "$as_me:$LINENO: result: $ac_res" >&5
40344 echo "${ECHO_T}$ac_res" >&6; }
40345
40346 if eval test \$wx_cv_func_$wx_func = yes
40347 then
40348 cat >>confdefs.h <<_ACEOF
40349 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40350 _ACEOF
40351
40352
40353 else
40354 :
40355 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40356 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40357
40358 fi
40359 done
40360
40361
40362
40363 fi
40364
40365
40366
40367 fi
40368 done
40369
40370 fi
40371
40372
40373 for wx_func in uname
40374 do
40375 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40377 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 else
40380
40381 cat >conftest.$ac_ext <<_ACEOF
40382
40383 /* confdefs.h. */
40384 _ACEOF
40385 cat confdefs.h >>conftest.$ac_ext
40386 cat >>conftest.$ac_ext <<_ACEOF
40387 /* end confdefs.h. */
40388
40389 #include <sys/utsname.h>
40390 $ac_includes_default
40391
40392 int
40393 main ()
40394 {
40395
40396 #ifndef $wx_func
40397 &$wx_func;
40398 #endif
40399
40400
40401 ;
40402 return 0;
40403 }
40404
40405 _ACEOF
40406 rm -f conftest.$ac_objext conftest$ac_exeext
40407 if { (ac_try="$ac_link"
40408 case "(($ac_try" in
40409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40410 *) ac_try_echo=$ac_try;;
40411 esac
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_link") 2>conftest.er1
40414 ac_status=$?
40415 grep -v '^ *+' conftest.er1 >conftest.err
40416 rm -f conftest.er1
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest$ac_exeext &&
40423 $as_test_x conftest$ac_exeext; then
40424 eval wx_cv_func_$wx_func=yes
40425 else
40426 echo "$as_me: failed program was:" >&5
40427 sed 's/^/| /' conftest.$ac_ext >&5
40428
40429 eval wx_cv_func_$wx_func=no
40430 fi
40431
40432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40433 conftest$ac_exeext conftest.$ac_ext
40434
40435 fi
40436 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40437 { echo "$as_me:$LINENO: result: $ac_res" >&5
40438 echo "${ECHO_T}$ac_res" >&6; }
40439
40440 if eval test \$wx_cv_func_$wx_func = yes
40441 then
40442 cat >>confdefs.h <<_ACEOF
40443 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40444 _ACEOF
40445
40446
40447 else
40448 :
40449
40450 fi
40451 done
40452
40453 if test "$wx_cv_func_uname" != yes; then
40454
40455 for wx_func in gethostname
40456 do
40457 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40458 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40459 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40460 echo $ECHO_N "(cached) $ECHO_C" >&6
40461 else
40462
40463 cat >conftest.$ac_ext <<_ACEOF
40464
40465 /* confdefs.h. */
40466 _ACEOF
40467 cat confdefs.h >>conftest.$ac_ext
40468 cat >>conftest.$ac_ext <<_ACEOF
40469 /* end confdefs.h. */
40470
40471
40472 $ac_includes_default
40473
40474 int
40475 main ()
40476 {
40477
40478 #ifndef $wx_func
40479 &$wx_func;
40480 #endif
40481
40482
40483 ;
40484 return 0;
40485 }
40486
40487 _ACEOF
40488 rm -f conftest.$ac_objext conftest$ac_exeext
40489 if { (ac_try="$ac_link"
40490 case "(($ac_try" in
40491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40492 *) ac_try_echo=$ac_try;;
40493 esac
40494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40495 (eval "$ac_link") 2>conftest.er1
40496 ac_status=$?
40497 grep -v '^ *+' conftest.er1 >conftest.err
40498 rm -f conftest.er1
40499 cat conftest.err >&5
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); } && {
40502 test -z "$ac_c_werror_flag" ||
40503 test ! -s conftest.err
40504 } && test -s conftest$ac_exeext &&
40505 $as_test_x conftest$ac_exeext; then
40506 eval wx_cv_func_$wx_func=yes
40507 else
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.$ac_ext >&5
40510
40511 eval wx_cv_func_$wx_func=no
40512 fi
40513
40514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40515 conftest$ac_exeext conftest.$ac_ext
40516
40517 fi
40518 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40519 { echo "$as_me:$LINENO: result: $ac_res" >&5
40520 echo "${ECHO_T}$ac_res" >&6; }
40521
40522 if eval test \$wx_cv_func_$wx_func = yes
40523 then
40524 cat >>confdefs.h <<_ACEOF
40525 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40526 _ACEOF
40527
40528
40529 else
40530 :
40531
40532 fi
40533 done
40534
40535 fi
40536
40537
40538 for wx_func in strtok_r
40539 do
40540 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40541 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40542 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40543 echo $ECHO_N "(cached) $ECHO_C" >&6
40544 else
40545
40546 cat >conftest.$ac_ext <<_ACEOF
40547
40548 /* confdefs.h. */
40549 _ACEOF
40550 cat confdefs.h >>conftest.$ac_ext
40551 cat >>conftest.$ac_ext <<_ACEOF
40552 /* end confdefs.h. */
40553
40554 #define _REENTRANT
40555 $ac_includes_default
40556
40557 int
40558 main ()
40559 {
40560
40561 #ifndef $wx_func
40562 &$wx_func;
40563 #endif
40564
40565
40566 ;
40567 return 0;
40568 }
40569
40570 _ACEOF
40571 rm -f conftest.$ac_objext conftest$ac_exeext
40572 if { (ac_try="$ac_link"
40573 case "(($ac_try" in
40574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40575 *) ac_try_echo=$ac_try;;
40576 esac
40577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40578 (eval "$ac_link") 2>conftest.er1
40579 ac_status=$?
40580 grep -v '^ *+' conftest.er1 >conftest.err
40581 rm -f conftest.er1
40582 cat conftest.err >&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); } && {
40585 test -z "$ac_c_werror_flag" ||
40586 test ! -s conftest.err
40587 } && test -s conftest$ac_exeext &&
40588 $as_test_x conftest$ac_exeext; then
40589 eval wx_cv_func_$wx_func=yes
40590 else
40591 echo "$as_me: failed program was:" >&5
40592 sed 's/^/| /' conftest.$ac_ext >&5
40593
40594 eval wx_cv_func_$wx_func=no
40595 fi
40596
40597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40598 conftest$ac_exeext conftest.$ac_ext
40599
40600 fi
40601 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40602 { echo "$as_me:$LINENO: result: $ac_res" >&5
40603 echo "${ECHO_T}$ac_res" >&6; }
40604
40605 if eval test \$wx_cv_func_$wx_func = yes
40606 then
40607 cat >>confdefs.h <<_ACEOF
40608 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40609 _ACEOF
40610
40611
40612 else
40613 :
40614
40615 fi
40616 done
40617
40618
40619 INET_LINK=
40620
40621 for ac_func in inet_addr
40622 do
40623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40624 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40627 echo $ECHO_N "(cached) $ECHO_C" >&6
40628 else
40629 cat >conftest.$ac_ext <<_ACEOF
40630 /* confdefs.h. */
40631 _ACEOF
40632 cat confdefs.h >>conftest.$ac_ext
40633 cat >>conftest.$ac_ext <<_ACEOF
40634 /* end confdefs.h. */
40635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40637 #define $ac_func innocuous_$ac_func
40638
40639 /* System header to define __stub macros and hopefully few prototypes,
40640 which can conflict with char $ac_func (); below.
40641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40642 <limits.h> exists even on freestanding compilers. */
40643
40644 #ifdef __STDC__
40645 # include <limits.h>
40646 #else
40647 # include <assert.h>
40648 #endif
40649
40650 #undef $ac_func
40651
40652 /* Override any GCC internal prototype to avoid an error.
40653 Use char because int might match the return type of a GCC
40654 builtin and then its argument prototype would still apply. */
40655 #ifdef __cplusplus
40656 extern "C"
40657 #endif
40658 char $ac_func ();
40659 /* The GNU C library defines this for functions which it implements
40660 to always fail with ENOSYS. Some functions are actually named
40661 something starting with __ and the normal name is an alias. */
40662 #if defined __stub_$ac_func || defined __stub___$ac_func
40663 choke me
40664 #endif
40665
40666 int
40667 main ()
40668 {
40669 return $ac_func ();
40670 ;
40671 return 0;
40672 }
40673 _ACEOF
40674 rm -f conftest.$ac_objext conftest$ac_exeext
40675 if { (ac_try="$ac_link"
40676 case "(($ac_try" in
40677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40678 *) ac_try_echo=$ac_try;;
40679 esac
40680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40681 (eval "$ac_link") 2>conftest.er1
40682 ac_status=$?
40683 grep -v '^ *+' conftest.er1 >conftest.err
40684 rm -f conftest.er1
40685 cat conftest.err >&5
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); } && {
40688 test -z "$ac_c_werror_flag" ||
40689 test ! -s conftest.err
40690 } && test -s conftest$ac_exeext &&
40691 $as_test_x conftest$ac_exeext; then
40692 eval "$as_ac_var=yes"
40693 else
40694 echo "$as_me: failed program was:" >&5
40695 sed 's/^/| /' conftest.$ac_ext >&5
40696
40697 eval "$as_ac_var=no"
40698 fi
40699
40700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40701 conftest$ac_exeext conftest.$ac_ext
40702 fi
40703 ac_res=`eval echo '${'$as_ac_var'}'`
40704 { echo "$as_me:$LINENO: result: $ac_res" >&5
40705 echo "${ECHO_T}$ac_res" >&6; }
40706 if test `eval echo '${'$as_ac_var'}'` = yes; then
40707 cat >>confdefs.h <<_ACEOF
40708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40709 _ACEOF
40710 cat >>confdefs.h <<\_ACEOF
40711 #define HAVE_INET_ADDR 1
40712 _ACEOF
40713
40714 else
40715
40716 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40717 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40718 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40719 echo $ECHO_N "(cached) $ECHO_C" >&6
40720 else
40721 ac_check_lib_save_LIBS=$LIBS
40722 LIBS="-lnsl $LIBS"
40723 cat >conftest.$ac_ext <<_ACEOF
40724 /* confdefs.h. */
40725 _ACEOF
40726 cat confdefs.h >>conftest.$ac_ext
40727 cat >>conftest.$ac_ext <<_ACEOF
40728 /* end confdefs.h. */
40729
40730 /* Override any GCC internal prototype to avoid an error.
40731 Use char because int might match the return type of a GCC
40732 builtin and then its argument prototype would still apply. */
40733 #ifdef __cplusplus
40734 extern "C"
40735 #endif
40736 char inet_addr ();
40737 int
40738 main ()
40739 {
40740 return inet_addr ();
40741 ;
40742 return 0;
40743 }
40744 _ACEOF
40745 rm -f conftest.$ac_objext conftest$ac_exeext
40746 if { (ac_try="$ac_link"
40747 case "(($ac_try" in
40748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40749 *) ac_try_echo=$ac_try;;
40750 esac
40751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40752 (eval "$ac_link") 2>conftest.er1
40753 ac_status=$?
40754 grep -v '^ *+' conftest.er1 >conftest.err
40755 rm -f conftest.er1
40756 cat conftest.err >&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); } && {
40759 test -z "$ac_c_werror_flag" ||
40760 test ! -s conftest.err
40761 } && test -s conftest$ac_exeext &&
40762 $as_test_x conftest$ac_exeext; then
40763 ac_cv_lib_nsl_inet_addr=yes
40764 else
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40767
40768 ac_cv_lib_nsl_inet_addr=no
40769 fi
40770
40771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40772 conftest$ac_exeext conftest.$ac_ext
40773 LIBS=$ac_check_lib_save_LIBS
40774 fi
40775 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40776 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40777 if test $ac_cv_lib_nsl_inet_addr = yes; then
40778 INET_LINK="nsl"
40779 else
40780
40781 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40782 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40783 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786 ac_check_lib_save_LIBS=$LIBS
40787 LIBS="-lresolv $LIBS"
40788 cat >conftest.$ac_ext <<_ACEOF
40789 /* confdefs.h. */
40790 _ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40794
40795 /* Override any GCC internal prototype to avoid an error.
40796 Use char because int might match the return type of a GCC
40797 builtin and then its argument prototype would still apply. */
40798 #ifdef __cplusplus
40799 extern "C"
40800 #endif
40801 char inet_addr ();
40802 int
40803 main ()
40804 {
40805 return inet_addr ();
40806 ;
40807 return 0;
40808 }
40809 _ACEOF
40810 rm -f conftest.$ac_objext conftest$ac_exeext
40811 if { (ac_try="$ac_link"
40812 case "(($ac_try" in
40813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40814 *) ac_try_echo=$ac_try;;
40815 esac
40816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40817 (eval "$ac_link") 2>conftest.er1
40818 ac_status=$?
40819 grep -v '^ *+' conftest.er1 >conftest.err
40820 rm -f conftest.er1
40821 cat conftest.err >&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } && {
40824 test -z "$ac_c_werror_flag" ||
40825 test ! -s conftest.err
40826 } && test -s conftest$ac_exeext &&
40827 $as_test_x conftest$ac_exeext; then
40828 ac_cv_lib_resolv_inet_addr=yes
40829 else
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.$ac_ext >&5
40832
40833 ac_cv_lib_resolv_inet_addr=no
40834 fi
40835
40836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40837 conftest$ac_exeext conftest.$ac_ext
40838 LIBS=$ac_check_lib_save_LIBS
40839 fi
40840 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40841 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40842 if test $ac_cv_lib_resolv_inet_addr = yes; then
40843 INET_LINK="resolv"
40844 else
40845
40846 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40847 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40848 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40849 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 else
40851 ac_check_lib_save_LIBS=$LIBS
40852 LIBS="-lsocket $LIBS"
40853 cat >conftest.$ac_ext <<_ACEOF
40854 /* confdefs.h. */
40855 _ACEOF
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40859
40860 /* Override any GCC internal prototype to avoid an error.
40861 Use char because int might match the return type of a GCC
40862 builtin and then its argument prototype would still apply. */
40863 #ifdef __cplusplus
40864 extern "C"
40865 #endif
40866 char inet_addr ();
40867 int
40868 main ()
40869 {
40870 return inet_addr ();
40871 ;
40872 return 0;
40873 }
40874 _ACEOF
40875 rm -f conftest.$ac_objext conftest$ac_exeext
40876 if { (ac_try="$ac_link"
40877 case "(($ac_try" in
40878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40880 esac
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_link") 2>conftest.er1
40883 ac_status=$?
40884 grep -v '^ *+' conftest.er1 >conftest.err
40885 rm -f conftest.er1
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest$ac_exeext &&
40892 $as_test_x conftest$ac_exeext; then
40893 ac_cv_lib_socket_inet_addr=yes
40894 else
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.$ac_ext >&5
40897
40898 ac_cv_lib_socket_inet_addr=no
40899 fi
40900
40901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40902 conftest$ac_exeext conftest.$ac_ext
40903 LIBS=$ac_check_lib_save_LIBS
40904 fi
40905 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40906 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40907 if test $ac_cv_lib_socket_inet_addr = yes; then
40908 INET_LINK="socket"
40909
40910 fi
40911
40912
40913
40914 fi
40915
40916
40917
40918 fi
40919
40920
40921
40922 fi
40923 done
40924
40925
40926
40927 for ac_func in inet_aton
40928 do
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40934 else
40935 cat >conftest.$ac_ext <<_ACEOF
40936 /* confdefs.h. */
40937 _ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40943 #define $ac_func innocuous_$ac_func
40944
40945 /* System header to define __stub macros and hopefully few prototypes,
40946 which can conflict with char $ac_func (); below.
40947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40948 <limits.h> exists even on freestanding compilers. */
40949
40950 #ifdef __STDC__
40951 # include <limits.h>
40952 #else
40953 # include <assert.h>
40954 #endif
40955
40956 #undef $ac_func
40957
40958 /* Override any GCC internal prototype to avoid an error.
40959 Use char because int might match the return type of a GCC
40960 builtin and then its argument prototype would still apply. */
40961 #ifdef __cplusplus
40962 extern "C"
40963 #endif
40964 char $ac_func ();
40965 /* The GNU C library defines this for functions which it implements
40966 to always fail with ENOSYS. Some functions are actually named
40967 something starting with __ and the normal name is an alias. */
40968 #if defined __stub_$ac_func || defined __stub___$ac_func
40969 choke me
40970 #endif
40971
40972 int
40973 main ()
40974 {
40975 return $ac_func ();
40976 ;
40977 return 0;
40978 }
40979 _ACEOF
40980 rm -f conftest.$ac_objext conftest$ac_exeext
40981 if { (ac_try="$ac_link"
40982 case "(($ac_try" in
40983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40984 *) ac_try_echo=$ac_try;;
40985 esac
40986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40987 (eval "$ac_link") 2>conftest.er1
40988 ac_status=$?
40989 grep -v '^ *+' conftest.er1 >conftest.err
40990 rm -f conftest.er1
40991 cat conftest.err >&5
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); } && {
40994 test -z "$ac_c_werror_flag" ||
40995 test ! -s conftest.err
40996 } && test -s conftest$ac_exeext &&
40997 $as_test_x conftest$ac_exeext; then
40998 eval "$as_ac_var=yes"
40999 else
41000 echo "$as_me: failed program was:" >&5
41001 sed 's/^/| /' conftest.$ac_ext >&5
41002
41003 eval "$as_ac_var=no"
41004 fi
41005
41006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41007 conftest$ac_exeext conftest.$ac_ext
41008 fi
41009 ac_res=`eval echo '${'$as_ac_var'}'`
41010 { echo "$as_me:$LINENO: result: $ac_res" >&5
41011 echo "${ECHO_T}$ac_res" >&6; }
41012 if test `eval echo '${'$as_ac_var'}'` = yes; then
41013 cat >>confdefs.h <<_ACEOF
41014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41015 _ACEOF
41016 cat >>confdefs.h <<\_ACEOF
41017 #define HAVE_INET_ATON 1
41018 _ACEOF
41019
41020 else
41021
41022 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41023 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41024 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41025 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028 ac_check_lib_save_LIBS=$LIBS
41029 LIBS="-l$INET_LINK $LIBS"
41030 cat >conftest.$ac_ext <<_ACEOF
41031 /* confdefs.h. */
41032 _ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41036
41037 /* Override any GCC internal prototype to avoid an error.
41038 Use char because int might match the return type of a GCC
41039 builtin and then its argument prototype would still apply. */
41040 #ifdef __cplusplus
41041 extern "C"
41042 #endif
41043 char inet_aton ();
41044 int
41045 main ()
41046 {
41047 return inet_aton ();
41048 ;
41049 return 0;
41050 }
41051 _ACEOF
41052 rm -f conftest.$ac_objext conftest$ac_exeext
41053 if { (ac_try="$ac_link"
41054 case "(($ac_try" in
41055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41056 *) ac_try_echo=$ac_try;;
41057 esac
41058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41059 (eval "$ac_link") 2>conftest.er1
41060 ac_status=$?
41061 grep -v '^ *+' conftest.er1 >conftest.err
41062 rm -f conftest.er1
41063 cat conftest.err >&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); } && {
41066 test -z "$ac_c_werror_flag" ||
41067 test ! -s conftest.err
41068 } && test -s conftest$ac_exeext &&
41069 $as_test_x conftest$ac_exeext; then
41070 eval "$as_ac_Lib=yes"
41071 else
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.$ac_ext >&5
41074
41075 eval "$as_ac_Lib=no"
41076 fi
41077
41078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41079 conftest$ac_exeext conftest.$ac_ext
41080 LIBS=$ac_check_lib_save_LIBS
41081 fi
41082 ac_res=`eval echo '${'$as_ac_Lib'}'`
41083 { echo "$as_me:$LINENO: result: $ac_res" >&5
41084 echo "${ECHO_T}$ac_res" >&6; }
41085 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41086 cat >>confdefs.h <<\_ACEOF
41087 #define HAVE_INET_ATON 1
41088 _ACEOF
41089
41090 fi
41091
41092
41093 fi
41094 done
41095
41096
41097 if test "x$INET_LINK" != "x"; then
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_INET_ADDR 1
41100 _ACEOF
41101
41102 INET_LINK=" -l$INET_LINK"
41103 fi
41104
41105
41106 for wx_func in fdopen
41107 do
41108 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41109 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41110 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41111 echo $ECHO_N "(cached) $ECHO_C" >&6
41112 else
41113
41114 cat >conftest.$ac_ext <<_ACEOF
41115
41116 /* confdefs.h. */
41117 _ACEOF
41118 cat confdefs.h >>conftest.$ac_ext
41119 cat >>conftest.$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41121
41122
41123 $ac_includes_default
41124
41125 int
41126 main ()
41127 {
41128
41129 #ifndef $wx_func
41130 &$wx_func;
41131 #endif
41132
41133
41134 ;
41135 return 0;
41136 }
41137
41138 _ACEOF
41139 rm -f conftest.$ac_objext conftest$ac_exeext
41140 if { (ac_try="$ac_link"
41141 case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41144 esac
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_link") 2>conftest.er1
41147 ac_status=$?
41148 grep -v '^ *+' conftest.er1 >conftest.err
41149 rm -f conftest.er1
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } && {
41153 test -z "$ac_c_werror_flag" ||
41154 test ! -s conftest.err
41155 } && test -s conftest$ac_exeext &&
41156 $as_test_x conftest$ac_exeext; then
41157 eval wx_cv_func_$wx_func=yes
41158 else
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.$ac_ext >&5
41161
41162 eval wx_cv_func_$wx_func=no
41163 fi
41164
41165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41166 conftest$ac_exeext conftest.$ac_ext
41167
41168 fi
41169 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41170 { echo "$as_me:$LINENO: result: $ac_res" >&5
41171 echo "${ECHO_T}$ac_res" >&6; }
41172
41173 if eval test \$wx_cv_func_$wx_func = yes
41174 then
41175 cat >>confdefs.h <<_ACEOF
41176 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41177 _ACEOF
41178
41179
41180 else
41181 :
41182
41183 fi
41184 done
41185
41186
41187 fi
41188
41189
41190
41191 cat >confcache <<\_ACEOF
41192 # This file is a shell script that caches the results of configure
41193 # tests run on this system so they can be shared between configure
41194 # scripts and configure runs, see configure's option --config-cache.
41195 # It is not useful on other systems. If it contains results you don't
41196 # want to keep, you may remove or edit it.
41197 #
41198 # config.status only pays attention to the cache file if you give it
41199 # the --recheck option to rerun configure.
41200 #
41201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41203 # following values.
41204
41205 _ACEOF
41206
41207 # The following way of writing the cache mishandles newlines in values,
41208 # but we know of no workaround that is simple, portable, and efficient.
41209 # So, we kill variables containing newlines.
41210 # Ultrix sh set writes to stderr and can't be redirected directly,
41211 # and sets the high bit in the cache file unless we assign to the vars.
41212 (
41213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41214 eval ac_val=\$$ac_var
41215 case $ac_val in #(
41216 *${as_nl}*)
41217 case $ac_var in #(
41218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41220 esac
41221 case $ac_var in #(
41222 _ | IFS | as_nl) ;; #(
41223 *) $as_unset $ac_var ;;
41224 esac ;;
41225 esac
41226 done
41227
41228 (set) 2>&1 |
41229 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41230 *${as_nl}ac_space=\ *)
41231 # `set' does not quote correctly, so add quotes (double-quote
41232 # substitution turns \\\\ into \\, and sed turns \\ into \).
41233 sed -n \
41234 "s/'/'\\\\''/g;
41235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41236 ;; #(
41237 *)
41238 # `set' quotes correctly as required by POSIX, so do not add quotes.
41239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41240 ;;
41241 esac |
41242 sort
41243 ) |
41244 sed '
41245 /^ac_cv_env_/b end
41246 t clear
41247 :clear
41248 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41249 t end
41250 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41251 :end' >>confcache
41252 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41253 if test -w "$cache_file"; then
41254 test "x$cache_file" != "x/dev/null" &&
41255 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41256 echo "$as_me: updating cache $cache_file" >&6;}
41257 cat confcache >$cache_file
41258 else
41259 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41260 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41261 fi
41262 fi
41263 rm -f confcache
41264
41265
41266 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41267
41268
41269 THREADS_LINK=
41270 THREADS_CFLAGS=
41271
41272 if test "$wxUSE_THREADS" = "yes" ; then
41273 if test "$USE_BEOS" = 1; then
41274 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41275 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41276 wxUSE_THREADS="no"
41277 fi
41278 fi
41279
41280 if test "$wxUSE_THREADS" = "yes" ; then
41281
41282
41283 THREAD_OPTS="-pthread"
41284 if test "x$SUNCXX" = xyes; then
41285 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41286 fi
41287
41288 case "${host}" in
41289 *-*-solaris2* | *-*-sunos4* )
41290 if test "x$GCC" = "xyes"; then
41291 THREAD_OPTS="-pthreads $THREAD_OPTS"
41292 fi
41293 ;;
41294 *-*-freebsd*)
41295 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41296 ;;
41297 *-*-darwin* | *-*-cygwin* )
41298 THREAD_OPTS=""
41299 ;;
41300 *-*-aix*)
41301 THREAD_OPTS="pthreads"
41302 ;;
41303 *-hp-hpux* )
41304 if test "x$GCC" = "xyes"; then
41305 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41306 THREAD_OPTS=""
41307 else
41308 THREAD_OPTS="-mt"
41309 fi
41310 ;;
41311
41312 *-*-irix* )
41313 if test "x$GCC" = "xyes"; then
41314 THREAD_OPTS=""
41315 fi
41316 ;;
41317
41318 *-*-*UnixWare*)
41319 if test "x$GCC" != "xyes"; then
41320 THREAD_OPTS="-Ethread"
41321 fi
41322 ;;
41323 esac
41324
41325 THREAD_OPTS="$THREAD_OPTS pthread none"
41326
41327 THREADS_OK=no
41328 for flag in $THREAD_OPTS; do
41329 case $flag in
41330 none)
41331 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41332 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41333 ;;
41334
41335 -*)
41336 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41337 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41338 THREADS_CFLAGS="$flag"
41339 ;;
41340
41341 *)
41342 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41343 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41344 THREADS_LINK="-l$flag"
41345 ;;
41346 esac
41347
41348 save_LIBS="$LIBS"
41349 save_CFLAGS="$CFLAGS"
41350 LIBS="$THREADS_LINK $LIBS"
41351 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41352
41353 cat >conftest.$ac_ext <<_ACEOF
41354 /* confdefs.h. */
41355 _ACEOF
41356 cat confdefs.h >>conftest.$ac_ext
41357 cat >>conftest.$ac_ext <<_ACEOF
41358 /* end confdefs.h. */
41359 #include <pthread.h>
41360 int
41361 main ()
41362 {
41363 pthread_create(0,0,0,0);
41364 ;
41365 return 0;
41366 }
41367 _ACEOF
41368 rm -f conftest.$ac_objext conftest$ac_exeext
41369 if { (ac_try="$ac_link"
41370 case "(($ac_try" in
41371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41372 *) ac_try_echo=$ac_try;;
41373 esac
41374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41375 (eval "$ac_link") 2>conftest.er1
41376 ac_status=$?
41377 grep -v '^ *+' conftest.er1 >conftest.err
41378 rm -f conftest.er1
41379 cat conftest.err >&5
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); } && {
41382 test -z "$ac_c_werror_flag" ||
41383 test ! -s conftest.err
41384 } && test -s conftest$ac_exeext &&
41385 $as_test_x conftest$ac_exeext; then
41386 THREADS_OK=yes
41387 else
41388 echo "$as_me: failed program was:" >&5
41389 sed 's/^/| /' conftest.$ac_ext >&5
41390
41391
41392 fi
41393
41394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41395 conftest$ac_exeext conftest.$ac_ext
41396
41397 LIBS="$save_LIBS"
41398 CFLAGS="$save_CFLAGS"
41399
41400 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41401 echo "${ECHO_T}$THREADS_OK" >&6; }
41402 if test "x$THREADS_OK" = "xyes"; then
41403 break;
41404 fi
41405
41406 THREADS_LINK=""
41407 THREADS_CFLAGS=""
41408 done
41409
41410 if test "x$THREADS_OK" != "xyes"; then
41411 wxUSE_THREADS=no
41412 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41413 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41414 else
41415 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41416 LIBS="$THREADS_LINK $LIBS"
41417
41418 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41419 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41420 flag=no
41421 case "${host}" in
41422 *-aix*)
41423 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41424 flag="-D_THREAD_SAFE"
41425 ;;
41426 *-freebsd*)
41427 flag="-D_THREAD_SAFE"
41428 ;;
41429 *-hp-hpux* )
41430 flag="-D_REENTRANT"
41431 if test "x$GCC" != "xyes"; then
41432 flag="$flag -D_RWSTD_MULTI_THREAD"
41433 fi
41434 ;;
41435 *solaris* | alpha*-osf*)
41436 flag="-D_REENTRANT"
41437 ;;
41438 esac
41439 { echo "$as_me:$LINENO: result: ${flag}" >&5
41440 echo "${ECHO_T}${flag}" >&6; }
41441 if test "x$flag" != xno; then
41442 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41443 fi
41444
41445 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41446 fi
41447 fi
41448
41449 if test "$wxUSE_THREADS" = "yes" ; then
41450
41451 for ac_func in thr_setconcurrency
41452 do
41453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41458 else
41459 cat >conftest.$ac_ext <<_ACEOF
41460 /* confdefs.h. */
41461 _ACEOF
41462 cat confdefs.h >>conftest.$ac_ext
41463 cat >>conftest.$ac_ext <<_ACEOF
41464 /* end confdefs.h. */
41465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41467 #define $ac_func innocuous_$ac_func
41468
41469 /* System header to define __stub macros and hopefully few prototypes,
41470 which can conflict with char $ac_func (); below.
41471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41472 <limits.h> exists even on freestanding compilers. */
41473
41474 #ifdef __STDC__
41475 # include <limits.h>
41476 #else
41477 # include <assert.h>
41478 #endif
41479
41480 #undef $ac_func
41481
41482 /* Override any GCC internal prototype to avoid an error.
41483 Use char because int might match the return type of a GCC
41484 builtin and then its argument prototype would still apply. */
41485 #ifdef __cplusplus
41486 extern "C"
41487 #endif
41488 char $ac_func ();
41489 /* The GNU C library defines this for functions which it implements
41490 to always fail with ENOSYS. Some functions are actually named
41491 something starting with __ and the normal name is an alias. */
41492 #if defined __stub_$ac_func || defined __stub___$ac_func
41493 choke me
41494 #endif
41495
41496 int
41497 main ()
41498 {
41499 return $ac_func ();
41500 ;
41501 return 0;
41502 }
41503 _ACEOF
41504 rm -f conftest.$ac_objext conftest$ac_exeext
41505 if { (ac_try="$ac_link"
41506 case "(($ac_try" in
41507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41508 *) ac_try_echo=$ac_try;;
41509 esac
41510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41511 (eval "$ac_link") 2>conftest.er1
41512 ac_status=$?
41513 grep -v '^ *+' conftest.er1 >conftest.err
41514 rm -f conftest.er1
41515 cat conftest.err >&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } && {
41518 test -z "$ac_c_werror_flag" ||
41519 test ! -s conftest.err
41520 } && test -s conftest$ac_exeext &&
41521 $as_test_x conftest$ac_exeext; then
41522 eval "$as_ac_var=yes"
41523 else
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41526
41527 eval "$as_ac_var=no"
41528 fi
41529
41530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41531 conftest$ac_exeext conftest.$ac_ext
41532 fi
41533 ac_res=`eval echo '${'$as_ac_var'}'`
41534 { echo "$as_me:$LINENO: result: $ac_res" >&5
41535 echo "${ECHO_T}$ac_res" >&6; }
41536 if test `eval echo '${'$as_ac_var'}'` = yes; then
41537 cat >>confdefs.h <<_ACEOF
41538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41539 _ACEOF
41540
41541 fi
41542 done
41543
41544
41545 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41546 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41547 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41548 echo $ECHO_N "(cached) $ECHO_C" >&6
41549 else
41550
41551 ac_ext=cpp
41552 ac_cpp='$CXXCPP $CPPFLAGS'
41553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41556
41557 cat >conftest.$ac_ext <<_ACEOF
41558 /* confdefs.h. */
41559 _ACEOF
41560 cat confdefs.h >>conftest.$ac_ext
41561 cat >>conftest.$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563 #include <pthread.h>
41564 void ThreadCleanupFunc(void *p);
41565
41566 int
41567 main ()
41568 {
41569
41570 void *p;
41571 pthread_cleanup_push(ThreadCleanupFunc, p);
41572 pthread_cleanup_pop(0);
41573
41574 ;
41575 return 0;
41576 }
41577 _ACEOF
41578 rm -f conftest.$ac_objext
41579 if { (ac_try="$ac_compile"
41580 case "(($ac_try" in
41581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41582 *) ac_try_echo=$ac_try;;
41583 esac
41584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41585 (eval "$ac_compile") 2>conftest.er1
41586 ac_status=$?
41587 grep -v '^ *+' conftest.er1 >conftest.err
41588 rm -f conftest.er1
41589 cat conftest.err >&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } && {
41592 test -z "$ac_cxx_werror_flag" ||
41593 test ! -s conftest.err
41594 } && test -s conftest.$ac_objext; then
41595
41596 wx_cv_func_pthread_cleanup=yes
41597
41598 else
41599 echo "$as_me: failed program was:" >&5
41600 sed 's/^/| /' conftest.$ac_ext >&5
41601
41602
41603 wx_cv_func_pthread_cleanup=no
41604
41605
41606 fi
41607
41608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41609 ac_ext=c
41610 ac_cpp='$CPP $CPPFLAGS'
41611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41614
41615
41616 fi
41617 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41618 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41619 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41620 cat >>confdefs.h <<\_ACEOF
41621 #define wxHAVE_PTHREAD_CLEANUP 1
41622 _ACEOF
41623
41624 fi
41625
41626
41627 for ac_header in sched.h
41628 do
41629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41633 echo $ECHO_N "(cached) $ECHO_C" >&6
41634 else
41635 cat >conftest.$ac_ext <<_ACEOF
41636 /* confdefs.h. */
41637 _ACEOF
41638 cat confdefs.h >>conftest.$ac_ext
41639 cat >>conftest.$ac_ext <<_ACEOF
41640 /* end confdefs.h. */
41641 $ac_includes_default
41642
41643 #include <$ac_header>
41644 _ACEOF
41645 rm -f conftest.$ac_objext
41646 if { (ac_try="$ac_compile"
41647 case "(($ac_try" in
41648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41649 *) ac_try_echo=$ac_try;;
41650 esac
41651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41652 (eval "$ac_compile") 2>conftest.er1
41653 ac_status=$?
41654 grep -v '^ *+' conftest.er1 >conftest.err
41655 rm -f conftest.er1
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } && {
41659 test -z "$ac_c_werror_flag" ||
41660 test ! -s conftest.err
41661 } && test -s conftest.$ac_objext; then
41662 eval "$as_ac_Header=yes"
41663 else
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41666
41667 eval "$as_ac_Header=no"
41668 fi
41669
41670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41671 fi
41672 ac_res=`eval echo '${'$as_ac_Header'}'`
41673 { echo "$as_me:$LINENO: result: $ac_res" >&5
41674 echo "${ECHO_T}$ac_res" >&6; }
41675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41676 cat >>confdefs.h <<_ACEOF
41677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41678 _ACEOF
41679
41680 fi
41681
41682 done
41683
41684 if test "$ac_cv_header_sched_h" = "yes"; then
41685 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41686 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41687 if test "${ac_cv_func_sched_yield+set}" = set; then
41688 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 else
41690 cat >conftest.$ac_ext <<_ACEOF
41691 /* confdefs.h. */
41692 _ACEOF
41693 cat confdefs.h >>conftest.$ac_ext
41694 cat >>conftest.$ac_ext <<_ACEOF
41695 /* end confdefs.h. */
41696 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41698 #define sched_yield innocuous_sched_yield
41699
41700 /* System header to define __stub macros and hopefully few prototypes,
41701 which can conflict with char sched_yield (); below.
41702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41703 <limits.h> exists even on freestanding compilers. */
41704
41705 #ifdef __STDC__
41706 # include <limits.h>
41707 #else
41708 # include <assert.h>
41709 #endif
41710
41711 #undef sched_yield
41712
41713 /* Override any GCC internal prototype to avoid an error.
41714 Use char because int might match the return type of a GCC
41715 builtin and then its argument prototype would still apply. */
41716 #ifdef __cplusplus
41717 extern "C"
41718 #endif
41719 char sched_yield ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined __stub_sched_yield || defined __stub___sched_yield
41724 choke me
41725 #endif
41726
41727 int
41728 main ()
41729 {
41730 return sched_yield ();
41731 ;
41732 return 0;
41733 }
41734 _ACEOF
41735 rm -f conftest.$ac_objext conftest$ac_exeext
41736 if { (ac_try="$ac_link"
41737 case "(($ac_try" in
41738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41739 *) ac_try_echo=$ac_try;;
41740 esac
41741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41742 (eval "$ac_link") 2>conftest.er1
41743 ac_status=$?
41744 grep -v '^ *+' conftest.er1 >conftest.err
41745 rm -f conftest.er1
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } && {
41749 test -z "$ac_c_werror_flag" ||
41750 test ! -s conftest.err
41751 } && test -s conftest$ac_exeext &&
41752 $as_test_x conftest$ac_exeext; then
41753 ac_cv_func_sched_yield=yes
41754 else
41755 echo "$as_me: failed program was:" >&5
41756 sed 's/^/| /' conftest.$ac_ext >&5
41757
41758 ac_cv_func_sched_yield=no
41759 fi
41760
41761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41762 conftest$ac_exeext conftest.$ac_ext
41763 fi
41764 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41765 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41766 if test $ac_cv_func_sched_yield = yes; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define HAVE_SCHED_YIELD 1
41769 _ACEOF
41770
41771 else
41772
41773 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41774 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41775 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778 ac_check_lib_save_LIBS=$LIBS
41779 LIBS="-lposix4 $LIBS"
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786
41787 /* Override any GCC internal prototype to avoid an error.
41788 Use char because int might match the return type of a GCC
41789 builtin and then its argument prototype would still apply. */
41790 #ifdef __cplusplus
41791 extern "C"
41792 #endif
41793 char sched_yield ();
41794 int
41795 main ()
41796 {
41797 return sched_yield ();
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_lib_posix4_sched_yield=yes
41821 else
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825 ac_cv_lib_posix4_sched_yield=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 LIBS=$ac_check_lib_save_LIBS
41831 fi
41832 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41833 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41834 if test $ac_cv_lib_posix4_sched_yield = yes; then
41835 cat >>confdefs.h <<\_ACEOF
41836 #define HAVE_SCHED_YIELD 1
41837 _ACEOF
41838 POSIX4_LINK=" -lposix4"
41839 else
41840 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41841 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41842
41843 fi
41844
41845
41846
41847 fi
41848
41849 fi
41850
41851 HAVE_PRIOR_FUNCS=0
41852 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41853 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41854 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41855 echo $ECHO_N "(cached) $ECHO_C" >&6
41856 else
41857 cat >conftest.$ac_ext <<_ACEOF
41858 /* confdefs.h. */
41859 _ACEOF
41860 cat confdefs.h >>conftest.$ac_ext
41861 cat >>conftest.$ac_ext <<_ACEOF
41862 /* end confdefs.h. */
41863 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41865 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41866
41867 /* System header to define __stub macros and hopefully few prototypes,
41868 which can conflict with char pthread_attr_getschedpolicy (); below.
41869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41870 <limits.h> exists even on freestanding compilers. */
41871
41872 #ifdef __STDC__
41873 # include <limits.h>
41874 #else
41875 # include <assert.h>
41876 #endif
41877
41878 #undef pthread_attr_getschedpolicy
41879
41880 /* Override any GCC internal prototype to avoid an error.
41881 Use char because int might match the return type of a GCC
41882 builtin and then its argument prototype would still apply. */
41883 #ifdef __cplusplus
41884 extern "C"
41885 #endif
41886 char pthread_attr_getschedpolicy ();
41887 /* The GNU C library defines this for functions which it implements
41888 to always fail with ENOSYS. Some functions are actually named
41889 something starting with __ and the normal name is an alias. */
41890 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41891 choke me
41892 #endif
41893
41894 int
41895 main ()
41896 {
41897 return pthread_attr_getschedpolicy ();
41898 ;
41899 return 0;
41900 }
41901 _ACEOF
41902 rm -f conftest.$ac_objext conftest$ac_exeext
41903 if { (ac_try="$ac_link"
41904 case "(($ac_try" in
41905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41906 *) ac_try_echo=$ac_try;;
41907 esac
41908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41909 (eval "$ac_link") 2>conftest.er1
41910 ac_status=$?
41911 grep -v '^ *+' conftest.er1 >conftest.err
41912 rm -f conftest.er1
41913 cat conftest.err >&5
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); } && {
41916 test -z "$ac_c_werror_flag" ||
41917 test ! -s conftest.err
41918 } && test -s conftest$ac_exeext &&
41919 $as_test_x conftest$ac_exeext; then
41920 ac_cv_func_pthread_attr_getschedpolicy=yes
41921 else
41922 echo "$as_me: failed program was:" >&5
41923 sed 's/^/| /' conftest.$ac_ext >&5
41924
41925 ac_cv_func_pthread_attr_getschedpolicy=no
41926 fi
41927
41928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41929 conftest$ac_exeext conftest.$ac_ext
41930 fi
41931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41932 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41933 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41934 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41935 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41936 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41937 echo $ECHO_N "(cached) $ECHO_C" >&6
41938 else
41939 cat >conftest.$ac_ext <<_ACEOF
41940 /* confdefs.h. */
41941 _ACEOF
41942 cat confdefs.h >>conftest.$ac_ext
41943 cat >>conftest.$ac_ext <<_ACEOF
41944 /* end confdefs.h. */
41945 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41947 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41948
41949 /* System header to define __stub macros and hopefully few prototypes,
41950 which can conflict with char pthread_attr_setschedparam (); below.
41951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41952 <limits.h> exists even on freestanding compilers. */
41953
41954 #ifdef __STDC__
41955 # include <limits.h>
41956 #else
41957 # include <assert.h>
41958 #endif
41959
41960 #undef pthread_attr_setschedparam
41961
41962 /* Override any GCC internal prototype to avoid an error.
41963 Use char because int might match the return type of a GCC
41964 builtin and then its argument prototype would still apply. */
41965 #ifdef __cplusplus
41966 extern "C"
41967 #endif
41968 char pthread_attr_setschedparam ();
41969 /* The GNU C library defines this for functions which it implements
41970 to always fail with ENOSYS. Some functions are actually named
41971 something starting with __ and the normal name is an alias. */
41972 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41973 choke me
41974 #endif
41975
41976 int
41977 main ()
41978 {
41979 return pthread_attr_setschedparam ();
41980 ;
41981 return 0;
41982 }
41983 _ACEOF
41984 rm -f conftest.$ac_objext conftest$ac_exeext
41985 if { (ac_try="$ac_link"
41986 case "(($ac_try" in
41987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41988 *) ac_try_echo=$ac_try;;
41989 esac
41990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41991 (eval "$ac_link") 2>conftest.er1
41992 ac_status=$?
41993 grep -v '^ *+' conftest.er1 >conftest.err
41994 rm -f conftest.er1
41995 cat conftest.err >&5
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); } && {
41998 test -z "$ac_c_werror_flag" ||
41999 test ! -s conftest.err
42000 } && test -s conftest$ac_exeext &&
42001 $as_test_x conftest$ac_exeext; then
42002 ac_cv_func_pthread_attr_setschedparam=yes
42003 else
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.$ac_ext >&5
42006
42007 ac_cv_func_pthread_attr_setschedparam=no
42008 fi
42009
42010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42011 conftest$ac_exeext conftest.$ac_ext
42012 fi
42013 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42014 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42015 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42016 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42017 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42018 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42020 else
42021 cat >conftest.$ac_ext <<_ACEOF
42022 /* confdefs.h. */
42023 _ACEOF
42024 cat confdefs.h >>conftest.$ac_ext
42025 cat >>conftest.$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42029 #define sched_get_priority_max innocuous_sched_get_priority_max
42030
42031 /* System header to define __stub macros and hopefully few prototypes,
42032 which can conflict with char sched_get_priority_max (); below.
42033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42034 <limits.h> exists even on freestanding compilers. */
42035
42036 #ifdef __STDC__
42037 # include <limits.h>
42038 #else
42039 # include <assert.h>
42040 #endif
42041
42042 #undef sched_get_priority_max
42043
42044 /* Override any GCC internal prototype to avoid an error.
42045 Use char because int might match the return type of a GCC
42046 builtin and then its argument prototype would still apply. */
42047 #ifdef __cplusplus
42048 extern "C"
42049 #endif
42050 char sched_get_priority_max ();
42051 /* The GNU C library defines this for functions which it implements
42052 to always fail with ENOSYS. Some functions are actually named
42053 something starting with __ and the normal name is an alias. */
42054 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42055 choke me
42056 #endif
42057
42058 int
42059 main ()
42060 {
42061 return sched_get_priority_max ();
42062 ;
42063 return 0;
42064 }
42065 _ACEOF
42066 rm -f conftest.$ac_objext conftest$ac_exeext
42067 if { (ac_try="$ac_link"
42068 case "(($ac_try" in
42069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42070 *) ac_try_echo=$ac_try;;
42071 esac
42072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42073 (eval "$ac_link") 2>conftest.er1
42074 ac_status=$?
42075 grep -v '^ *+' conftest.er1 >conftest.err
42076 rm -f conftest.er1
42077 cat conftest.err >&5
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } && {
42080 test -z "$ac_c_werror_flag" ||
42081 test ! -s conftest.err
42082 } && test -s conftest$ac_exeext &&
42083 $as_test_x conftest$ac_exeext; then
42084 ac_cv_func_sched_get_priority_max=yes
42085 else
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.$ac_ext >&5
42088
42089 ac_cv_func_sched_get_priority_max=no
42090 fi
42091
42092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42093 conftest$ac_exeext conftest.$ac_ext
42094 fi
42095 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42096 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42097 if test $ac_cv_func_sched_get_priority_max = yes; then
42098 HAVE_PRIOR_FUNCS=1
42099 else
42100 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42101 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42102 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42103 echo $ECHO_N "(cached) $ECHO_C" >&6
42104 else
42105 ac_check_lib_save_LIBS=$LIBS
42106 LIBS="-lposix4 $LIBS"
42107 cat >conftest.$ac_ext <<_ACEOF
42108 /* confdefs.h. */
42109 _ACEOF
42110 cat confdefs.h >>conftest.$ac_ext
42111 cat >>conftest.$ac_ext <<_ACEOF
42112 /* end confdefs.h. */
42113
42114 /* Override any GCC internal prototype to avoid an error.
42115 Use char because int might match the return type of a GCC
42116 builtin and then its argument prototype would still apply. */
42117 #ifdef __cplusplus
42118 extern "C"
42119 #endif
42120 char sched_get_priority_max ();
42121 int
42122 main ()
42123 {
42124 return sched_get_priority_max ();
42125 ;
42126 return 0;
42127 }
42128 _ACEOF
42129 rm -f conftest.$ac_objext conftest$ac_exeext
42130 if { (ac_try="$ac_link"
42131 case "(($ac_try" in
42132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42133 *) ac_try_echo=$ac_try;;
42134 esac
42135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42136 (eval "$ac_link") 2>conftest.er1
42137 ac_status=$?
42138 grep -v '^ *+' conftest.er1 >conftest.err
42139 rm -f conftest.er1
42140 cat conftest.err >&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); } && {
42143 test -z "$ac_c_werror_flag" ||
42144 test ! -s conftest.err
42145 } && test -s conftest$ac_exeext &&
42146 $as_test_x conftest$ac_exeext; then
42147 ac_cv_lib_posix4_sched_get_priority_max=yes
42148 else
42149 echo "$as_me: failed program was:" >&5
42150 sed 's/^/| /' conftest.$ac_ext >&5
42151
42152 ac_cv_lib_posix4_sched_get_priority_max=no
42153 fi
42154
42155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42156 conftest$ac_exeext conftest.$ac_ext
42157 LIBS=$ac_check_lib_save_LIBS
42158 fi
42159 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42160 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42161 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42162
42163 HAVE_PRIOR_FUNCS=1
42164 POSIX4_LINK=" -lposix4"
42165
42166 fi
42167
42168
42169 fi
42170
42171
42172 fi
42173
42174
42175 fi
42176
42177
42178 if test "$HAVE_PRIOR_FUNCS" = 1; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42181 _ACEOF
42182
42183 else
42184 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42185 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42186 fi
42187
42188 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42189 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42190 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42191 echo $ECHO_N "(cached) $ECHO_C" >&6
42192 else
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42201 #define pthread_cancel innocuous_pthread_cancel
42202
42203 /* System header to define __stub macros and hopefully few prototypes,
42204 which can conflict with char pthread_cancel (); below.
42205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42206 <limits.h> exists even on freestanding compilers. */
42207
42208 #ifdef __STDC__
42209 # include <limits.h>
42210 #else
42211 # include <assert.h>
42212 #endif
42213
42214 #undef pthread_cancel
42215
42216 /* Override any GCC internal prototype to avoid an error.
42217 Use char because int might match the return type of a GCC
42218 builtin and then its argument prototype would still apply. */
42219 #ifdef __cplusplus
42220 extern "C"
42221 #endif
42222 char pthread_cancel ();
42223 /* The GNU C library defines this for functions which it implements
42224 to always fail with ENOSYS. Some functions are actually named
42225 something starting with __ and the normal name is an alias. */
42226 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42227 choke me
42228 #endif
42229
42230 int
42231 main ()
42232 {
42233 return pthread_cancel ();
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 rm -f conftest.$ac_objext conftest$ac_exeext
42239 if { (ac_try="$ac_link"
42240 case "(($ac_try" in
42241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42242 *) ac_try_echo=$ac_try;;
42243 esac
42244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42245 (eval "$ac_link") 2>conftest.er1
42246 ac_status=$?
42247 grep -v '^ *+' conftest.er1 >conftest.err
42248 rm -f conftest.er1
42249 cat conftest.err >&5
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); } && {
42252 test -z "$ac_c_werror_flag" ||
42253 test ! -s conftest.err
42254 } && test -s conftest$ac_exeext &&
42255 $as_test_x conftest$ac_exeext; then
42256 ac_cv_func_pthread_cancel=yes
42257 else
42258 echo "$as_me: failed program was:" >&5
42259 sed 's/^/| /' conftest.$ac_ext >&5
42260
42261 ac_cv_func_pthread_cancel=no
42262 fi
42263
42264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42265 conftest$ac_exeext conftest.$ac_ext
42266 fi
42267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42268 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42269 if test $ac_cv_func_pthread_cancel = yes; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define HAVE_PTHREAD_CANCEL 1
42272 _ACEOF
42273
42274 else
42275 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42276 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42277 fi
42278
42279
42280 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42281 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42282 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42283 echo $ECHO_N "(cached) $ECHO_C" >&6
42284 else
42285 cat >conftest.$ac_ext <<_ACEOF
42286 /* confdefs.h. */
42287 _ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42293 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42294
42295 /* System header to define __stub macros and hopefully few prototypes,
42296 which can conflict with char pthread_mutex_timedlock (); below.
42297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42298 <limits.h> exists even on freestanding compilers. */
42299
42300 #ifdef __STDC__
42301 # include <limits.h>
42302 #else
42303 # include <assert.h>
42304 #endif
42305
42306 #undef pthread_mutex_timedlock
42307
42308 /* Override any GCC internal prototype to avoid an error.
42309 Use char because int might match the return type of a GCC
42310 builtin and then its argument prototype would still apply. */
42311 #ifdef __cplusplus
42312 extern "C"
42313 #endif
42314 char pthread_mutex_timedlock ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42319 choke me
42320 #endif
42321
42322 int
42323 main ()
42324 {
42325 return pthread_mutex_timedlock ();
42326 ;
42327 return 0;
42328 }
42329 _ACEOF
42330 rm -f conftest.$ac_objext conftest$ac_exeext
42331 if { (ac_try="$ac_link"
42332 case "(($ac_try" in
42333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42334 *) ac_try_echo=$ac_try;;
42335 esac
42336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42337 (eval "$ac_link") 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } && {
42344 test -z "$ac_c_werror_flag" ||
42345 test ! -s conftest.err
42346 } && test -s conftest$ac_exeext &&
42347 $as_test_x conftest$ac_exeext; then
42348 ac_cv_func_pthread_mutex_timedlock=yes
42349 else
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.$ac_ext >&5
42352
42353 ac_cv_func_pthread_mutex_timedlock=no
42354 fi
42355
42356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42357 conftest$ac_exeext conftest.$ac_ext
42358 fi
42359 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42360 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42361 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42362 cat >>confdefs.h <<\_ACEOF
42363 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42364 _ACEOF
42365
42366 else
42367 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42368 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42369 fi
42370
42371
42372 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42373 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42374 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42375 echo $ECHO_N "(cached) $ECHO_C" >&6
42376 else
42377 cat >conftest.$ac_ext <<_ACEOF
42378 /* confdefs.h. */
42379 _ACEOF
42380 cat confdefs.h >>conftest.$ac_ext
42381 cat >>conftest.$ac_ext <<_ACEOF
42382 /* end confdefs.h. */
42383 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42385 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42386
42387 /* System header to define __stub macros and hopefully few prototypes,
42388 which can conflict with char pthread_attr_setstacksize (); below.
42389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42390 <limits.h> exists even on freestanding compilers. */
42391
42392 #ifdef __STDC__
42393 # include <limits.h>
42394 #else
42395 # include <assert.h>
42396 #endif
42397
42398 #undef pthread_attr_setstacksize
42399
42400 /* Override any GCC internal prototype to avoid an error.
42401 Use char because int might match the return type of a GCC
42402 builtin and then its argument prototype would still apply. */
42403 #ifdef __cplusplus
42404 extern "C"
42405 #endif
42406 char pthread_attr_setstacksize ();
42407 /* The GNU C library defines this for functions which it implements
42408 to always fail with ENOSYS. Some functions are actually named
42409 something starting with __ and the normal name is an alias. */
42410 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42411 choke me
42412 #endif
42413
42414 int
42415 main ()
42416 {
42417 return pthread_attr_setstacksize ();
42418 ;
42419 return 0;
42420 }
42421 _ACEOF
42422 rm -f conftest.$ac_objext conftest$ac_exeext
42423 if { (ac_try="$ac_link"
42424 case "(($ac_try" in
42425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42426 *) ac_try_echo=$ac_try;;
42427 esac
42428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42429 (eval "$ac_link") 2>conftest.er1
42430 ac_status=$?
42431 grep -v '^ *+' conftest.er1 >conftest.err
42432 rm -f conftest.er1
42433 cat conftest.err >&5
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); } && {
42436 test -z "$ac_c_werror_flag" ||
42437 test ! -s conftest.err
42438 } && test -s conftest$ac_exeext &&
42439 $as_test_x conftest$ac_exeext; then
42440 ac_cv_func_pthread_attr_setstacksize=yes
42441 else
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.$ac_ext >&5
42444
42445 ac_cv_func_pthread_attr_setstacksize=no
42446 fi
42447
42448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42449 conftest$ac_exeext conftest.$ac_ext
42450 fi
42451 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42452 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42453 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42454 cat >>confdefs.h <<\_ACEOF
42455 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42456 _ACEOF
42457
42458 fi
42459
42460
42461
42462 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42463 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42464 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42465 echo $ECHO_N "(cached) $ECHO_C" >&6
42466 else
42467
42468 cat >conftest.$ac_ext <<_ACEOF
42469 /* confdefs.h. */
42470 _ACEOF
42471 cat confdefs.h >>conftest.$ac_ext
42472 cat >>conftest.$ac_ext <<_ACEOF
42473 /* end confdefs.h. */
42474 #include <pthread.h>
42475 int
42476 main ()
42477 {
42478
42479 pthread_mutexattr_t attr;
42480 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42481
42482 ;
42483 return 0;
42484 }
42485 _ACEOF
42486 rm -f conftest.$ac_objext
42487 if { (ac_try="$ac_compile"
42488 case "(($ac_try" in
42489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42490 *) ac_try_echo=$ac_try;;
42491 esac
42492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42493 (eval "$ac_compile") 2>conftest.er1
42494 ac_status=$?
42495 grep -v '^ *+' conftest.er1 >conftest.err
42496 rm -f conftest.er1
42497 cat conftest.err >&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); } && {
42500 test -z "$ac_c_werror_flag" ||
42501 test ! -s conftest.err
42502 } && test -s conftest.$ac_objext; then
42503 wx_cv_type_pthread_mutexattr_t=yes
42504 else
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.$ac_ext >&5
42507
42508 wx_cv_type_pthread_mutexattr_t=no
42509
42510 fi
42511
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513
42514 fi
42515 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42516 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42517
42518 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42519 cat >>confdefs.h <<\_ACEOF
42520 #define HAVE_PTHREAD_MUTEXATTR_T 1
42521 _ACEOF
42522
42523
42524 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42525 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42526 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42527 echo $ECHO_N "(cached) $ECHO_C" >&6
42528 else
42529
42530 cat >conftest.$ac_ext <<_ACEOF
42531 /* confdefs.h. */
42532 _ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 #include <pthread.h>
42537 int
42538 main ()
42539 {
42540
42541 pthread_mutexattr_t attr;
42542 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42543
42544 ;
42545 return 0;
42546 }
42547 _ACEOF
42548 rm -f conftest.$ac_objext
42549 if { (ac_try="$ac_compile"
42550 case "(($ac_try" in
42551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42552 *) ac_try_echo=$ac_try;;
42553 esac
42554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42555 (eval "$ac_compile") 2>conftest.er1
42556 ac_status=$?
42557 grep -v '^ *+' conftest.er1 >conftest.err
42558 rm -f conftest.er1
42559 cat conftest.err >&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } && {
42562 test -z "$ac_c_werror_flag" ||
42563 test ! -s conftest.err
42564 } && test -s conftest.$ac_objext; then
42565 wx_cv_func_pthread_mutexattr_settype_decl=yes
42566 else
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42569
42570 wx_cv_func_pthread_mutexattr_settype_decl=no
42571
42572 fi
42573
42574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42575
42576 fi
42577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42578 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42579 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42582 _ACEOF
42583
42584 fi
42585 else
42586 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42587 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42588 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42589 echo $ECHO_N "(cached) $ECHO_C" >&6
42590 else
42591
42592 cat >conftest.$ac_ext <<_ACEOF
42593 /* confdefs.h. */
42594 _ACEOF
42595 cat confdefs.h >>conftest.$ac_ext
42596 cat >>conftest.$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598 #include <pthread.h>
42599 int
42600 main ()
42601 {
42602
42603 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42604
42605 ;
42606 return 0;
42607 }
42608 _ACEOF
42609 rm -f conftest.$ac_objext
42610 if { (ac_try="$ac_compile"
42611 case "(($ac_try" in
42612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42613 *) ac_try_echo=$ac_try;;
42614 esac
42615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42616 (eval "$ac_compile") 2>conftest.er1
42617 ac_status=$?
42618 grep -v '^ *+' conftest.er1 >conftest.err
42619 rm -f conftest.er1
42620 cat conftest.err >&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } && {
42623 test -z "$ac_c_werror_flag" ||
42624 test ! -s conftest.err
42625 } && test -s conftest.$ac_objext; then
42626
42627 wx_cv_type_pthread_rec_mutex_init=yes
42628
42629 else
42630 echo "$as_me: failed program was:" >&5
42631 sed 's/^/| /' conftest.$ac_ext >&5
42632
42633
42634 wx_cv_type_pthread_rec_mutex_init=no
42635
42636
42637 fi
42638
42639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42640
42641 fi
42642 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42643 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42644 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42647 _ACEOF
42648
42649 else
42650 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42651 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42652 fi
42653 fi
42654 fi
42655
42656 else
42657 if test "$wxUSE_THREADS" = "yes" ; then
42658 case "${host}" in
42659 *-*-mingw32* )
42660 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42661 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42662 if test "${wx_cv_cflags_mthread+set}" = set; then
42663 echo $ECHO_N "(cached) $ECHO_C" >&6
42664 else
42665
42666 CFLAGS_OLD="$CFLAGS"
42667 CFLAGS="-mthreads $CFLAGS"
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674
42675 int
42676 main ()
42677 {
42678
42679 ;
42680 return 0;
42681 }
42682 _ACEOF
42683 rm -f conftest.$ac_objext
42684 if { (ac_try="$ac_compile"
42685 case "(($ac_try" in
42686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42687 *) ac_try_echo=$ac_try;;
42688 esac
42689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42690 (eval "$ac_compile") 2>conftest.er1
42691 ac_status=$?
42692 grep -v '^ *+' conftest.er1 >conftest.err
42693 rm -f conftest.er1
42694 cat conftest.err >&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && {
42697 test -z "$ac_c_werror_flag" ||
42698 test ! -s conftest.err
42699 } && test -s conftest.$ac_objext; then
42700 wx_cv_cflags_mthread=yes
42701 else
42702 echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42704
42705 wx_cv_cflags_mthread=no
42706
42707 fi
42708
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710
42711
42712 fi
42713 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42714 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42715
42716 if test "$wx_cv_cflags_mthread" = "yes"; then
42717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42718 LDFLAGS="$LDFLAGS -mthreads"
42719 else
42720 CFLAGS="$CFLAGS_OLD"
42721 fi
42722 ;;
42723 *-pc-os2*emx )
42724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42725 LDFLAGS="$LDFLAGS -Zmt"
42726 ;;
42727 esac
42728 fi
42729 fi
42730
42731 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42732 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42733 if test "${ac_cv_func_localtime_r+set}" = set; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42735 else
42736 cat >conftest.$ac_ext <<_ACEOF
42737 /* confdefs.h. */
42738 _ACEOF
42739 cat confdefs.h >>conftest.$ac_ext
42740 cat >>conftest.$ac_ext <<_ACEOF
42741 /* end confdefs.h. */
42742 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42744 #define localtime_r innocuous_localtime_r
42745
42746 /* System header to define __stub macros and hopefully few prototypes,
42747 which can conflict with char localtime_r (); below.
42748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42749 <limits.h> exists even on freestanding compilers. */
42750
42751 #ifdef __STDC__
42752 # include <limits.h>
42753 #else
42754 # include <assert.h>
42755 #endif
42756
42757 #undef localtime_r
42758
42759 /* Override any GCC internal prototype to avoid an error.
42760 Use char because int might match the return type of a GCC
42761 builtin and then its argument prototype would still apply. */
42762 #ifdef __cplusplus
42763 extern "C"
42764 #endif
42765 char localtime_r ();
42766 /* The GNU C library defines this for functions which it implements
42767 to always fail with ENOSYS. Some functions are actually named
42768 something starting with __ and the normal name is an alias. */
42769 #if defined __stub_localtime_r || defined __stub___localtime_r
42770 choke me
42771 #endif
42772
42773 int
42774 main ()
42775 {
42776 return localtime_r ();
42777 ;
42778 return 0;
42779 }
42780 _ACEOF
42781 rm -f conftest.$ac_objext conftest$ac_exeext
42782 if { (ac_try="$ac_link"
42783 case "(($ac_try" in
42784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42785 *) ac_try_echo=$ac_try;;
42786 esac
42787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42788 (eval "$ac_link") 2>conftest.er1
42789 ac_status=$?
42790 grep -v '^ *+' conftest.er1 >conftest.err
42791 rm -f conftest.er1
42792 cat conftest.err >&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); } && {
42795 test -z "$ac_c_werror_flag" ||
42796 test ! -s conftest.err
42797 } && test -s conftest$ac_exeext &&
42798 $as_test_x conftest$ac_exeext; then
42799 ac_cv_func_localtime_r=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42803
42804 ac_cv_func_localtime_r=no
42805 fi
42806
42807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42808 conftest$ac_exeext conftest.$ac_ext
42809 fi
42810 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42811 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42812 if test $ac_cv_func_localtime_r = yes; then
42813 cat >>confdefs.h <<\_ACEOF
42814 #define HAVE_LOCALTIME_R 1
42815 _ACEOF
42816
42817 fi
42818
42819 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42820 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42821 if test "${ac_cv_func_gmtime_r+set}" = set; then
42822 echo $ECHO_N "(cached) $ECHO_C" >&6
42823 else
42824 cat >conftest.$ac_ext <<_ACEOF
42825 /* confdefs.h. */
42826 _ACEOF
42827 cat confdefs.h >>conftest.$ac_ext
42828 cat >>conftest.$ac_ext <<_ACEOF
42829 /* end confdefs.h. */
42830 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42832 #define gmtime_r innocuous_gmtime_r
42833
42834 /* System header to define __stub macros and hopefully few prototypes,
42835 which can conflict with char gmtime_r (); below.
42836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42837 <limits.h> exists even on freestanding compilers. */
42838
42839 #ifdef __STDC__
42840 # include <limits.h>
42841 #else
42842 # include <assert.h>
42843 #endif
42844
42845 #undef gmtime_r
42846
42847 /* Override any GCC internal prototype to avoid an error.
42848 Use char because int might match the return type of a GCC
42849 builtin and then its argument prototype would still apply. */
42850 #ifdef __cplusplus
42851 extern "C"
42852 #endif
42853 char gmtime_r ();
42854 /* The GNU C library defines this for functions which it implements
42855 to always fail with ENOSYS. Some functions are actually named
42856 something starting with __ and the normal name is an alias. */
42857 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42858 choke me
42859 #endif
42860
42861 int
42862 main ()
42863 {
42864 return gmtime_r ();
42865 ;
42866 return 0;
42867 }
42868 _ACEOF
42869 rm -f conftest.$ac_objext conftest$ac_exeext
42870 if { (ac_try="$ac_link"
42871 case "(($ac_try" in
42872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42873 *) ac_try_echo=$ac_try;;
42874 esac
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_link") 2>conftest.er1
42877 ac_status=$?
42878 grep -v '^ *+' conftest.er1 >conftest.err
42879 rm -f conftest.er1
42880 cat conftest.err >&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } && {
42883 test -z "$ac_c_werror_flag" ||
42884 test ! -s conftest.err
42885 } && test -s conftest$ac_exeext &&
42886 $as_test_x conftest$ac_exeext; then
42887 ac_cv_func_gmtime_r=yes
42888 else
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42891
42892 ac_cv_func_gmtime_r=no
42893 fi
42894
42895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42896 conftest$ac_exeext conftest.$ac_ext
42897 fi
42898 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42899 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42900 if test $ac_cv_func_gmtime_r = yes; then
42901 cat >>confdefs.h <<\_ACEOF
42902 #define HAVE_GMTIME_R 1
42903 _ACEOF
42904
42905 fi
42906
42907
42908
42909
42910 ac_ext=c
42911 ac_cpp='$CPP $CPPFLAGS'
42912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42915
42916 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42917 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42918
42919 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42920 echo $ECHO_N "(cached) $ECHO_C" >&6
42921 else
42922
42923
42924 ################################################################
42925
42926 ac_cv_func_which_gethostbyname_r=unknown
42927
42928 #
42929 # ONE ARGUMENT (sanity check)
42930 #
42931
42932 # This should fail, as there is no variant of gethostbyname_r() that takes
42933 # a single argument. If it actually compiles, then we can assume that
42934 # netdb.h is not declaring the function, and the compiler is thereby
42935 # assuming an implicit prototype. In which case, we're out of luck.
42936 #
42937 cat >conftest.$ac_ext <<_ACEOF
42938 /* confdefs.h. */
42939 _ACEOF
42940 cat confdefs.h >>conftest.$ac_ext
42941 cat >>conftest.$ac_ext <<_ACEOF
42942 /* end confdefs.h. */
42943 #include <netdb.h>
42944 int
42945 main ()
42946 {
42947
42948 char *name = "www.gnu.org";
42949 (void)gethostbyname_r(name) /* ; */
42950
42951 ;
42952 return 0;
42953 }
42954 _ACEOF
42955 rm -f conftest.$ac_objext
42956 if { (ac_try="$ac_compile"
42957 case "(($ac_try" in
42958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42959 *) ac_try_echo=$ac_try;;
42960 esac
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_compile") 2>conftest.er1
42963 ac_status=$?
42964 grep -v '^ *+' conftest.er1 >conftest.err
42965 rm -f conftest.er1
42966 cat conftest.err >&5
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); } && {
42969 test -z "$ac_c_werror_flag" ||
42970 test ! -s conftest.err
42971 } && test -s conftest.$ac_objext; then
42972 ac_cv_func_which_gethostbyname_r=no
42973 else
42974 echo "$as_me: failed program was:" >&5
42975 sed 's/^/| /' conftest.$ac_ext >&5
42976
42977
42978 fi
42979
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981
42982 #
42983 # SIX ARGUMENTS
42984 # (e.g. Linux)
42985 #
42986
42987 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42988
42989 cat >conftest.$ac_ext <<_ACEOF
42990 /* confdefs.h. */
42991 _ACEOF
42992 cat confdefs.h >>conftest.$ac_ext
42993 cat >>conftest.$ac_ext <<_ACEOF
42994 /* end confdefs.h. */
42995 #include <netdb.h>
42996 int
42997 main ()
42998 {
42999
43000 char *name = "www.gnu.org";
43001 struct hostent ret, *retp;
43002 char buf[1024];
43003 int buflen = 1024;
43004 int my_h_errno;
43005 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43006
43007 ;
43008 return 0;
43009 }
43010 _ACEOF
43011 rm -f conftest.$ac_objext
43012 if { (ac_try="$ac_compile"
43013 case "(($ac_try" in
43014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43016 esac
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_compile") 2>conftest.er1
43019 ac_status=$?
43020 grep -v '^ *+' conftest.er1 >conftest.err
43021 rm -f conftest.er1
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_c_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest.$ac_objext; then
43028 ac_cv_func_which_gethostbyname_r=six
43029 else
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43032
43033
43034 fi
43035
43036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43037
43038 fi
43039
43040 #
43041 # FIVE ARGUMENTS
43042 # (e.g. Solaris)
43043 #
43044
43045 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43046
43047 cat >conftest.$ac_ext <<_ACEOF
43048 /* confdefs.h. */
43049 _ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 #include <netdb.h>
43054 int
43055 main ()
43056 {
43057
43058 char *name = "www.gnu.org";
43059 struct hostent ret;
43060 char buf[1024];
43061 int buflen = 1024;
43062 int my_h_errno;
43063 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43064
43065 ;
43066 return 0;
43067 }
43068 _ACEOF
43069 rm -f conftest.$ac_objext
43070 if { (ac_try="$ac_compile"
43071 case "(($ac_try" in
43072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43073 *) ac_try_echo=$ac_try;;
43074 esac
43075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43076 (eval "$ac_compile") 2>conftest.er1
43077 ac_status=$?
43078 grep -v '^ *+' conftest.er1 >conftest.err
43079 rm -f conftest.er1
43080 cat conftest.err >&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } && {
43083 test -z "$ac_c_werror_flag" ||
43084 test ! -s conftest.err
43085 } && test -s conftest.$ac_objext; then
43086 ac_cv_func_which_gethostbyname_r=five
43087 else
43088 echo "$as_me: failed program was:" >&5
43089 sed 's/^/| /' conftest.$ac_ext >&5
43090
43091
43092 fi
43093
43094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43095
43096 fi
43097
43098 #
43099 # THREE ARGUMENTS
43100 # (e.g. AIX, HP-UX, Tru64)
43101 #
43102
43103 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43104
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111 #include <netdb.h>
43112 int
43113 main ()
43114 {
43115
43116 char *name = "www.gnu.org";
43117 struct hostent ret;
43118 struct hostent_data data;
43119 (void)gethostbyname_r(name, &ret, &data) /* ; */
43120
43121 ;
43122 return 0;
43123 }
43124 _ACEOF
43125 rm -f conftest.$ac_objext
43126 if { (ac_try="$ac_compile"
43127 case "(($ac_try" in
43128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43129 *) ac_try_echo=$ac_try;;
43130 esac
43131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43132 (eval "$ac_compile") 2>conftest.er1
43133 ac_status=$?
43134 grep -v '^ *+' conftest.er1 >conftest.err
43135 rm -f conftest.er1
43136 cat conftest.err >&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } && {
43139 test -z "$ac_c_werror_flag" ||
43140 test ! -s conftest.err
43141 } && test -s conftest.$ac_objext; then
43142 ac_cv_func_which_gethostbyname_r=three
43143 else
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43146
43147
43148 fi
43149
43150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43151
43152 fi
43153
43154 ################################################################
43155
43156
43157 fi
43158
43159 case "$ac_cv_func_which_gethostbyname_r" in
43160 three)
43161 { echo "$as_me:$LINENO: result: three" >&5
43162 echo "${ECHO_T}three" >&6; }
43163 cat >>confdefs.h <<\_ACEOF
43164 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43165 _ACEOF
43166
43167 ;;
43168
43169 five)
43170 { echo "$as_me:$LINENO: result: five" >&5
43171 echo "${ECHO_T}five" >&6; }
43172 cat >>confdefs.h <<\_ACEOF
43173 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43174 _ACEOF
43175
43176 ;;
43177
43178 six)
43179 { echo "$as_me:$LINENO: result: six" >&5
43180 echo "${ECHO_T}six" >&6; }
43181 cat >>confdefs.h <<\_ACEOF
43182 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43183 _ACEOF
43184
43185 ;;
43186
43187 no)
43188 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43189 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43190 ;;
43191
43192 unknown)
43193 { echo "$as_me:$LINENO: result: can't tell" >&5
43194 echo "${ECHO_T}can't tell" >&6; }
43195 ;;
43196
43197 *)
43198 { { echo "$as_me:$LINENO: error: internal error" >&5
43199 echo "$as_me: error: internal error" >&2;}
43200 { (exit 1); exit 1; }; }
43201 ;;
43202 esac
43203
43204 ac_ext=c
43205 ac_cpp='$CPP $CPPFLAGS'
43206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43209
43210
43211
43212 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43213 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43214 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43216 if test "${ac_cv_func_gethostbyname+set}" = set; then
43217 echo $ECHO_N "(cached) $ECHO_C" >&6
43218 else
43219 cat >conftest.$ac_ext <<_ACEOF
43220 /* confdefs.h. */
43221 _ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43227 #define gethostbyname innocuous_gethostbyname
43228
43229 /* System header to define __stub macros and hopefully few prototypes,
43230 which can conflict with char gethostbyname (); below.
43231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43232 <limits.h> exists even on freestanding compilers. */
43233
43234 #ifdef __STDC__
43235 # include <limits.h>
43236 #else
43237 # include <assert.h>
43238 #endif
43239
43240 #undef gethostbyname
43241
43242 /* Override any GCC internal prototype to avoid an error.
43243 Use char because int might match the return type of a GCC
43244 builtin and then its argument prototype would still apply. */
43245 #ifdef __cplusplus
43246 extern "C"
43247 #endif
43248 char gethostbyname ();
43249 /* The GNU C library defines this for functions which it implements
43250 to always fail with ENOSYS. Some functions are actually named
43251 something starting with __ and the normal name is an alias. */
43252 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43253 choke me
43254 #endif
43255
43256 int
43257 main ()
43258 {
43259 return gethostbyname ();
43260 ;
43261 return 0;
43262 }
43263 _ACEOF
43264 rm -f conftest.$ac_objext conftest$ac_exeext
43265 if { (ac_try="$ac_link"
43266 case "(($ac_try" in
43267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43268 *) ac_try_echo=$ac_try;;
43269 esac
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_link") 2>conftest.er1
43272 ac_status=$?
43273 grep -v '^ *+' conftest.er1 >conftest.err
43274 rm -f conftest.er1
43275 cat conftest.err >&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } && {
43278 test -z "$ac_c_werror_flag" ||
43279 test ! -s conftest.err
43280 } && test -s conftest$ac_exeext &&
43281 $as_test_x conftest$ac_exeext; then
43282 ac_cv_func_gethostbyname=yes
43283 else
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.$ac_ext >&5
43286
43287 ac_cv_func_gethostbyname=no
43288 fi
43289
43290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43291 conftest$ac_exeext conftest.$ac_ext
43292 fi
43293 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43294 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43295 if test $ac_cv_func_gethostbyname = yes; then
43296 cat >>confdefs.h <<\_ACEOF
43297 #define HAVE_GETHOSTBYNAME 1
43298 _ACEOF
43299
43300 fi
43301
43302 fi
43303
43304 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43305 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43306 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309
43310 ac_ext=cpp
43311 ac_cpp='$CXXCPP $CPPFLAGS'
43312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43315
43316
43317 cat >conftest.$ac_ext <<_ACEOF
43318 /* confdefs.h. */
43319 _ACEOF
43320 cat confdefs.h >>conftest.$ac_ext
43321 cat >>conftest.$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43323 #include <netdb.h>
43324 int
43325 main ()
43326 {
43327
43328 char *name;
43329 char *proto;
43330 struct servent *se, *res;
43331 char buffer[2048];
43332 int buflen = 2048;
43333 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43334
43335 ;
43336 return 0;
43337 }
43338 _ACEOF
43339 rm -f conftest.$ac_objext
43340 if { (ac_try="$ac_compile"
43341 case "(($ac_try" in
43342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43343 *) ac_try_echo=$ac_try;;
43344 esac
43345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43346 (eval "$ac_compile") 2>conftest.er1
43347 ac_status=$?
43348 grep -v '^ *+' conftest.er1 >conftest.err
43349 rm -f conftest.er1
43350 cat conftest.err >&5
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); } && {
43353 test -z "$ac_cxx_werror_flag" ||
43354 test ! -s conftest.err
43355 } && test -s conftest.$ac_objext; then
43356 ac_cv_func_which_getservbyname_r=six
43357 else
43358 echo "$as_me: failed program was:" >&5
43359 sed 's/^/| /' conftest.$ac_ext >&5
43360
43361
43362 cat >conftest.$ac_ext <<_ACEOF
43363 /* confdefs.h. */
43364 _ACEOF
43365 cat confdefs.h >>conftest.$ac_ext
43366 cat >>conftest.$ac_ext <<_ACEOF
43367 /* end confdefs.h. */
43368 #include <netdb.h>
43369 int
43370 main ()
43371 {
43372
43373 char *name;
43374 char *proto;
43375 struct servent *se;
43376 char buffer[2048];
43377 int buflen = 2048;
43378 (void) getservbyname_r(name, proto, se, buffer, buflen)
43379
43380 ;
43381 return 0;
43382 }
43383 _ACEOF
43384 rm -f conftest.$ac_objext
43385 if { (ac_try="$ac_compile"
43386 case "(($ac_try" in
43387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43388 *) ac_try_echo=$ac_try;;
43389 esac
43390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43391 (eval "$ac_compile") 2>conftest.er1
43392 ac_status=$?
43393 grep -v '^ *+' conftest.er1 >conftest.err
43394 rm -f conftest.er1
43395 cat conftest.err >&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } && {
43398 test -z "$ac_cxx_werror_flag" ||
43399 test ! -s conftest.err
43400 } && test -s conftest.$ac_objext; then
43401 ac_cv_func_which_getservbyname_r=five
43402 else
43403 echo "$as_me: failed program was:" >&5
43404 sed 's/^/| /' conftest.$ac_ext >&5
43405
43406
43407 cat >conftest.$ac_ext <<_ACEOF
43408 /* confdefs.h. */
43409 _ACEOF
43410 cat confdefs.h >>conftest.$ac_ext
43411 cat >>conftest.$ac_ext <<_ACEOF
43412 /* end confdefs.h. */
43413 #include <netdb.h>
43414 int
43415 main ()
43416 {
43417
43418 char *name;
43419 char *proto;
43420 struct servent *se;
43421 struct servent_data data;
43422 (void) getservbyname_r(name, proto, se, &data);
43423
43424 ;
43425 return 0;
43426 }
43427 _ACEOF
43428 rm -f conftest.$ac_objext
43429 if { (ac_try="$ac_compile"
43430 case "(($ac_try" in
43431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43432 *) ac_try_echo=$ac_try;;
43433 esac
43434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43435 (eval "$ac_compile") 2>conftest.er1
43436 ac_status=$?
43437 grep -v '^ *+' conftest.er1 >conftest.err
43438 rm -f conftest.er1
43439 cat conftest.err >&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); } && {
43442 test -z "$ac_cxx_werror_flag" ||
43443 test ! -s conftest.err
43444 } && test -s conftest.$ac_objext; then
43445 ac_cv_func_which_getservbyname_r=four
43446 else
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43449
43450 ac_cv_func_which_getservbyname_r=no
43451
43452 fi
43453
43454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43455
43456
43457 fi
43458
43459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43460
43461
43462 fi
43463
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465 ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43470
43471
43472
43473 fi
43474 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43475 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43476
43477 if test $ac_cv_func_which_getservbyname_r = six; then
43478 cat >>confdefs.h <<\_ACEOF
43479 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43480 _ACEOF
43481
43482 elif test $ac_cv_func_which_getservbyname_r = five; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43485 _ACEOF
43486
43487 elif test $ac_cv_func_which_getservbyname_r = four; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43490 _ACEOF
43491
43492 fi
43493
43494
43495 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43496 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43497
43498 for ac_func in getservbyname
43499 do
43500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43504 echo $ECHO_N "(cached) $ECHO_C" >&6
43505 else
43506 cat >conftest.$ac_ext <<_ACEOF
43507 /* confdefs.h. */
43508 _ACEOF
43509 cat confdefs.h >>conftest.$ac_ext
43510 cat >>conftest.$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43514 #define $ac_func innocuous_$ac_func
43515
43516 /* System header to define __stub macros and hopefully few prototypes,
43517 which can conflict with char $ac_func (); below.
43518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43519 <limits.h> exists even on freestanding compilers. */
43520
43521 #ifdef __STDC__
43522 # include <limits.h>
43523 #else
43524 # include <assert.h>
43525 #endif
43526
43527 #undef $ac_func
43528
43529 /* Override any GCC internal prototype to avoid an error.
43530 Use char because int might match the return type of a GCC
43531 builtin and then its argument prototype would still apply. */
43532 #ifdef __cplusplus
43533 extern "C"
43534 #endif
43535 char $ac_func ();
43536 /* The GNU C library defines this for functions which it implements
43537 to always fail with ENOSYS. Some functions are actually named
43538 something starting with __ and the normal name is an alias. */
43539 #if defined __stub_$ac_func || defined __stub___$ac_func
43540 choke me
43541 #endif
43542
43543 int
43544 main ()
43545 {
43546 return $ac_func ();
43547 ;
43548 return 0;
43549 }
43550 _ACEOF
43551 rm -f conftest.$ac_objext conftest$ac_exeext
43552 if { (ac_try="$ac_link"
43553 case "(($ac_try" in
43554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43555 *) ac_try_echo=$ac_try;;
43556 esac
43557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43558 (eval "$ac_link") 2>conftest.er1
43559 ac_status=$?
43560 grep -v '^ *+' conftest.er1 >conftest.err
43561 rm -f conftest.er1
43562 cat conftest.err >&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); } && {
43565 test -z "$ac_c_werror_flag" ||
43566 test ! -s conftest.err
43567 } && test -s conftest$ac_exeext &&
43568 $as_test_x conftest$ac_exeext; then
43569 eval "$as_ac_var=yes"
43570 else
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43573
43574 eval "$as_ac_var=no"
43575 fi
43576
43577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43578 conftest$ac_exeext conftest.$ac_ext
43579 fi
43580 ac_res=`eval echo '${'$as_ac_var'}'`
43581 { echo "$as_me:$LINENO: result: $ac_res" >&5
43582 echo "${ECHO_T}$ac_res" >&6; }
43583 if test `eval echo '${'$as_ac_var'}'` = yes; then
43584 cat >>confdefs.h <<_ACEOF
43585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43586 _ACEOF
43587 cat >>confdefs.h <<\_ACEOF
43588 #define HAVE_GETSERVBYNAME 1
43589 _ACEOF
43590
43591 fi
43592 done
43593
43594 fi
43595
43596 if test "$wxUSE_THREADS" = "yes"; then
43597 cat >>confdefs.h <<\_ACEOF
43598 #define wxUSE_THREADS 1
43599 _ACEOF
43600
43601
43602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43603 else
43604 if test "$wx_cv_func_strtok_r" = "yes"; then
43605 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43606 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43607 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43608 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43609 { echo "$as_me:$LINENO: result: yes" >&5
43610 echo "${ECHO_T}yes" >&6; }
43611 else
43612 { echo "$as_me:$LINENO: result: no" >&5
43613 echo "${ECHO_T}no" >&6; }
43614 fi
43615 fi
43616 fi
43617
43618 if test "$WXGTK20" = 1 ; then
43619 cat >>confdefs.h <<_ACEOF
43620 #define __WXGTK20__ $WXGTK20
43621 _ACEOF
43622
43623 WXGTK12=1
43624 fi
43625
43626 if test "$WXGTK12" = 1 ; then
43627 cat >>confdefs.h <<_ACEOF
43628 #define __WXGTK12__ $WXGTK12
43629 _ACEOF
43630
43631 fi
43632
43633 if test "$WXGTK127" = 1 ; then
43634 cat >>confdefs.h <<_ACEOF
43635 #define __WXGTK127__ $WXGTK127
43636 _ACEOF
43637
43638 fi
43639
43640 if test "$WXGPE" = 1 ; then
43641 cat >>confdefs.h <<_ACEOF
43642 #define __WXGPE__ $WXGPE
43643 _ACEOF
43644
43645 fi
43646
43647 DEBUG_CFLAGS=
43648 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43649 DEBUG_CFLAGS="-g"
43650 wxUSE_OPTIMISE=no
43651 fi
43652
43653 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43654 wxUSE_DEBUG_INFO=yes
43655 if test "$GCC" = yes; then
43656 DEBUG_CFLAGS="-ggdb"
43657 fi
43658 fi
43659
43660 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define WXDEBUG 1
43663 _ACEOF
43664
43665 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43666 else
43667 if test "$wxUSE_GTK" = 1 ; then
43668 if test "x$wxGTK_VERSION" = "x1" ; then
43669 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43670 fi
43671 fi
43672 fi
43673
43674 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define wxUSE_MEMORY_TRACING 1
43677 _ACEOF
43678
43679 cat >>confdefs.h <<\_ACEOF
43680 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43681 _ACEOF
43682
43683 cat >>confdefs.h <<\_ACEOF
43684 #define wxUSE_DEBUG_NEW_ALWAYS 1
43685 _ACEOF
43686
43687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43688 fi
43689
43690 if test "$wxUSE_DMALLOC" = "yes" ; then
43691 DMALLOC_LIBS="-ldmallocthcxx"
43692 fi
43693
43694 PROFILE_FLAGS=
43695 if test "$wxUSE_PROFILE" = "yes" ; then
43696 PROFILE_FLAGS=" -pg"
43697 fi
43698
43699 if test "$GCC" = "yes" ; then
43700 if test "$wxUSE_NO_RTTI" = "yes" ; then
43701 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43702 fi
43703 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43704 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43705 fi
43706 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43707 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43708 fi
43709
43710 case "${host}" in
43711 powerpc*-*-aix* )
43712 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43713 ;;
43714 *-hppa* )
43715 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43716 ;;
43717 esac
43718 fi
43719
43720 OPTIMISE_CFLAGS=
43721 if test "$wxUSE_OPTIMISE" = "no" ; then
43722 if test "$GCC" = yes ; then
43723 OPTIMISE_CFLAGS="-O0"
43724 fi
43725 else
43726 if test "$GCC" = yes ; then
43727 case "${host}" in
43728 *-pc-os2_emx | *-pc-os2-emx )
43729 OPTIMISE_CFLAGS="-O2"
43730 ;;
43731 *)
43732 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43733 ;;
43734 esac
43735 else
43736 OPTIMISE_CFLAGS="-O"
43737 fi
43738 fi
43739
43740
43741 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define WXWIN_COMPATIBILITY_2_6 1
43744 _ACEOF
43745
43746
43747 WXWIN_COMPATIBILITY_2_8="yes"
43748 fi
43749
43750 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43751 cat >>confdefs.h <<\_ACEOF
43752 #define WXWIN_COMPATIBILITY_2_8 1
43753 _ACEOF
43754
43755 fi
43756
43757
43758 if test "$wxUSE_GUI" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_GUI 1
43761 _ACEOF
43762
43763
43764 fi
43765
43766
43767 if test "$wxUSE_UNIX" = "yes"; then
43768 cat >>confdefs.h <<\_ACEOF
43769 #define wxUSE_UNIX 1
43770 _ACEOF
43771
43772 fi
43773
43774
43775 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43776
43777 HAVE_DL_FUNCS=0
43778 HAVE_SHL_FUNCS=0
43779 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43780 if test "$USE_DARWIN" = 1; then
43781 HAVE_DL_FUNCS=1
43782 elif test "$USE_DOS" = 1; then
43783 HAVE_DL_FUNCS=0
43784 else
43785
43786 for ac_func in dlopen
43787 do
43788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43793 else
43794 cat >conftest.$ac_ext <<_ACEOF
43795 /* confdefs.h. */
43796 _ACEOF
43797 cat confdefs.h >>conftest.$ac_ext
43798 cat >>conftest.$ac_ext <<_ACEOF
43799 /* end confdefs.h. */
43800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43802 #define $ac_func innocuous_$ac_func
43803
43804 /* System header to define __stub macros and hopefully few prototypes,
43805 which can conflict with char $ac_func (); below.
43806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43807 <limits.h> exists even on freestanding compilers. */
43808
43809 #ifdef __STDC__
43810 # include <limits.h>
43811 #else
43812 # include <assert.h>
43813 #endif
43814
43815 #undef $ac_func
43816
43817 /* Override any GCC internal prototype to avoid an error.
43818 Use char because int might match the return type of a GCC
43819 builtin and then its argument prototype would still apply. */
43820 #ifdef __cplusplus
43821 extern "C"
43822 #endif
43823 char $ac_func ();
43824 /* The GNU C library defines this for functions which it implements
43825 to always fail with ENOSYS. Some functions are actually named
43826 something starting with __ and the normal name is an alias. */
43827 #if defined __stub_$ac_func || defined __stub___$ac_func
43828 choke me
43829 #endif
43830
43831 int
43832 main ()
43833 {
43834 return $ac_func ();
43835 ;
43836 return 0;
43837 }
43838 _ACEOF
43839 rm -f conftest.$ac_objext conftest$ac_exeext
43840 if { (ac_try="$ac_link"
43841 case "(($ac_try" in
43842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43843 *) ac_try_echo=$ac_try;;
43844 esac
43845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43846 (eval "$ac_link") 2>conftest.er1
43847 ac_status=$?
43848 grep -v '^ *+' conftest.er1 >conftest.err
43849 rm -f conftest.er1
43850 cat conftest.err >&5
43851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_c_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest$ac_exeext &&
43856 $as_test_x conftest$ac_exeext; then
43857 eval "$as_ac_var=yes"
43858 else
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43861
43862 eval "$as_ac_var=no"
43863 fi
43864
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43867 fi
43868 ac_res=`eval echo '${'$as_ac_var'}'`
43869 { echo "$as_me:$LINENO: result: $ac_res" >&5
43870 echo "${ECHO_T}$ac_res" >&6; }
43871 if test `eval echo '${'$as_ac_var'}'` = yes; then
43872 cat >>confdefs.h <<_ACEOF
43873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43874 _ACEOF
43875
43876 cat >>confdefs.h <<\_ACEOF
43877 #define HAVE_DLOPEN 1
43878 _ACEOF
43879
43880 HAVE_DL_FUNCS=1
43881
43882 else
43883
43884 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889 ac_check_lib_save_LIBS=$LIBS
43890 LIBS="-ldl $LIBS"
43891 cat >conftest.$ac_ext <<_ACEOF
43892 /* confdefs.h. */
43893 _ACEOF
43894 cat confdefs.h >>conftest.$ac_ext
43895 cat >>conftest.$ac_ext <<_ACEOF
43896 /* end confdefs.h. */
43897
43898 /* Override any GCC internal prototype to avoid an error.
43899 Use char because int might match the return type of a GCC
43900 builtin and then its argument prototype would still apply. */
43901 #ifdef __cplusplus
43902 extern "C"
43903 #endif
43904 char dlopen ();
43905 int
43906 main ()
43907 {
43908 return dlopen ();
43909 ;
43910 return 0;
43911 }
43912 _ACEOF
43913 rm -f conftest.$ac_objext conftest$ac_exeext
43914 if { (ac_try="$ac_link"
43915 case "(($ac_try" in
43916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43917 *) ac_try_echo=$ac_try;;
43918 esac
43919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43920 (eval "$ac_link") 2>conftest.er1
43921 ac_status=$?
43922 grep -v '^ *+' conftest.er1 >conftest.err
43923 rm -f conftest.er1
43924 cat conftest.err >&5
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); } && {
43927 test -z "$ac_c_werror_flag" ||
43928 test ! -s conftest.err
43929 } && test -s conftest$ac_exeext &&
43930 $as_test_x conftest$ac_exeext; then
43931 ac_cv_lib_dl_dlopen=yes
43932 else
43933 echo "$as_me: failed program was:" >&5
43934 sed 's/^/| /' conftest.$ac_ext >&5
43935
43936 ac_cv_lib_dl_dlopen=no
43937 fi
43938
43939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43940 conftest$ac_exeext conftest.$ac_ext
43941 LIBS=$ac_check_lib_save_LIBS
43942 fi
43943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43945 if test $ac_cv_lib_dl_dlopen = yes; then
43946
43947 cat >>confdefs.h <<\_ACEOF
43948 #define HAVE_DLOPEN 1
43949 _ACEOF
43950
43951 HAVE_DL_FUNCS=1
43952 DL_LINK=" -ldl$DL_LINK"
43953
43954 else
43955
43956
43957 for ac_func in shl_load
43958 do
43959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43962 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43963 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 else
43965 cat >conftest.$ac_ext <<_ACEOF
43966 /* confdefs.h. */
43967 _ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43973 #define $ac_func innocuous_$ac_func
43974
43975 /* System header to define __stub macros and hopefully few prototypes,
43976 which can conflict with char $ac_func (); below.
43977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43978 <limits.h> exists even on freestanding compilers. */
43979
43980 #ifdef __STDC__
43981 # include <limits.h>
43982 #else
43983 # include <assert.h>
43984 #endif
43985
43986 #undef $ac_func
43987
43988 /* Override any GCC internal prototype to avoid an error.
43989 Use char because int might match the return type of a GCC
43990 builtin and then its argument prototype would still apply. */
43991 #ifdef __cplusplus
43992 extern "C"
43993 #endif
43994 char $ac_func ();
43995 /* The GNU C library defines this for functions which it implements
43996 to always fail with ENOSYS. Some functions are actually named
43997 something starting with __ and the normal name is an alias. */
43998 #if defined __stub_$ac_func || defined __stub___$ac_func
43999 choke me
44000 #endif
44001
44002 int
44003 main ()
44004 {
44005 return $ac_func ();
44006 ;
44007 return 0;
44008 }
44009 _ACEOF
44010 rm -f conftest.$ac_objext conftest$ac_exeext
44011 if { (ac_try="$ac_link"
44012 case "(($ac_try" in
44013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44014 *) ac_try_echo=$ac_try;;
44015 esac
44016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44017 (eval "$ac_link") 2>conftest.er1
44018 ac_status=$?
44019 grep -v '^ *+' conftest.er1 >conftest.err
44020 rm -f conftest.er1
44021 cat conftest.err >&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); } && {
44024 test -z "$ac_c_werror_flag" ||
44025 test ! -s conftest.err
44026 } && test -s conftest$ac_exeext &&
44027 $as_test_x conftest$ac_exeext; then
44028 eval "$as_ac_var=yes"
44029 else
44030 echo "$as_me: failed program was:" >&5
44031 sed 's/^/| /' conftest.$ac_ext >&5
44032
44033 eval "$as_ac_var=no"
44034 fi
44035
44036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44037 conftest$ac_exeext conftest.$ac_ext
44038 fi
44039 ac_res=`eval echo '${'$as_ac_var'}'`
44040 { echo "$as_me:$LINENO: result: $ac_res" >&5
44041 echo "${ECHO_T}$ac_res" >&6; }
44042 if test `eval echo '${'$as_ac_var'}'` = yes; then
44043 cat >>confdefs.h <<_ACEOF
44044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44045 _ACEOF
44046
44047 cat >>confdefs.h <<\_ACEOF
44048 #define HAVE_SHL_LOAD 1
44049 _ACEOF
44050
44051 HAVE_SHL_FUNCS=1
44052
44053 else
44054
44055 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44056 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44057 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44058 echo $ECHO_N "(cached) $ECHO_C" >&6
44059 else
44060 ac_check_lib_save_LIBS=$LIBS
44061 LIBS="-lshl_load $LIBS"
44062 cat >conftest.$ac_ext <<_ACEOF
44063 /* confdefs.h. */
44064 _ACEOF
44065 cat confdefs.h >>conftest.$ac_ext
44066 cat >>conftest.$ac_ext <<_ACEOF
44067 /* end confdefs.h. */
44068
44069 /* Override any GCC internal prototype to avoid an error.
44070 Use char because int might match the return type of a GCC
44071 builtin and then its argument prototype would still apply. */
44072 #ifdef __cplusplus
44073 extern "C"
44074 #endif
44075 char dld ();
44076 int
44077 main ()
44078 {
44079 return dld ();
44080 ;
44081 return 0;
44082 }
44083 _ACEOF
44084 rm -f conftest.$ac_objext conftest$ac_exeext
44085 if { (ac_try="$ac_link"
44086 case "(($ac_try" in
44087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44088 *) ac_try_echo=$ac_try;;
44089 esac
44090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44091 (eval "$ac_link") 2>conftest.er1
44092 ac_status=$?
44093 grep -v '^ *+' conftest.er1 >conftest.err
44094 rm -f conftest.er1
44095 cat conftest.err >&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } && {
44098 test -z "$ac_c_werror_flag" ||
44099 test ! -s conftest.err
44100 } && test -s conftest$ac_exeext &&
44101 $as_test_x conftest$ac_exeext; then
44102 ac_cv_lib_shl_load_dld=yes
44103 else
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.$ac_ext >&5
44106
44107 ac_cv_lib_shl_load_dld=no
44108 fi
44109
44110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44111 conftest$ac_exeext conftest.$ac_ext
44112 LIBS=$ac_check_lib_save_LIBS
44113 fi
44114 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44115 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44116 if test $ac_cv_lib_shl_load_dld = yes; then
44117
44118 HAVE_SHL_FUNCS=1
44119 DL_LINK=" -ldld$DL_LINK"
44120
44121 fi
44122
44123
44124 fi
44125 done
44126
44127
44128 fi
44129
44130
44131 fi
44132 done
44133
44134
44135 if test "$HAVE_DL_FUNCS" = 1; then
44136
44137 for ac_func in dlerror
44138 do
44139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 else
44145 cat >conftest.$ac_ext <<_ACEOF
44146 /* confdefs.h. */
44147 _ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44153 #define $ac_func innocuous_$ac_func
44154
44155 /* System header to define __stub macros and hopefully few prototypes,
44156 which can conflict with char $ac_func (); below.
44157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44158 <limits.h> exists even on freestanding compilers. */
44159
44160 #ifdef __STDC__
44161 # include <limits.h>
44162 #else
44163 # include <assert.h>
44164 #endif
44165
44166 #undef $ac_func
44167
44168 /* Override any GCC internal prototype to avoid an error.
44169 Use char because int might match the return type of a GCC
44170 builtin and then its argument prototype would still apply. */
44171 #ifdef __cplusplus
44172 extern "C"
44173 #endif
44174 char $ac_func ();
44175 /* The GNU C library defines this for functions which it implements
44176 to always fail with ENOSYS. Some functions are actually named
44177 something starting with __ and the normal name is an alias. */
44178 #if defined __stub_$ac_func || defined __stub___$ac_func
44179 choke me
44180 #endif
44181
44182 int
44183 main ()
44184 {
44185 return $ac_func ();
44186 ;
44187 return 0;
44188 }
44189 _ACEOF
44190 rm -f conftest.$ac_objext conftest$ac_exeext
44191 if { (ac_try="$ac_link"
44192 case "(($ac_try" in
44193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44194 *) ac_try_echo=$ac_try;;
44195 esac
44196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44197 (eval "$ac_link") 2>conftest.er1
44198 ac_status=$?
44199 grep -v '^ *+' conftest.er1 >conftest.err
44200 rm -f conftest.er1
44201 cat conftest.err >&5
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); } && {
44204 test -z "$ac_c_werror_flag" ||
44205 test ! -s conftest.err
44206 } && test -s conftest$ac_exeext &&
44207 $as_test_x conftest$ac_exeext; then
44208 eval "$as_ac_var=yes"
44209 else
44210 echo "$as_me: failed program was:" >&5
44211 sed 's/^/| /' conftest.$ac_ext >&5
44212
44213 eval "$as_ac_var=no"
44214 fi
44215
44216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44217 conftest$ac_exeext conftest.$ac_ext
44218 fi
44219 ac_res=`eval echo '${'$as_ac_var'}'`
44220 { echo "$as_me:$LINENO: result: $ac_res" >&5
44221 echo "${ECHO_T}$ac_res" >&6; }
44222 if test `eval echo '${'$as_ac_var'}'` = yes; then
44223 cat >>confdefs.h <<_ACEOF
44224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44225 _ACEOF
44226 cat >>confdefs.h <<\_ACEOF
44227 #define HAVE_DLERROR 1
44228 _ACEOF
44229
44230 else
44231
44232 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44233 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44234 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44236 else
44237 ac_check_lib_save_LIBS=$LIBS
44238 LIBS="-ldl $LIBS"
44239 cat >conftest.$ac_ext <<_ACEOF
44240 /* confdefs.h. */
44241 _ACEOF
44242 cat confdefs.h >>conftest.$ac_ext
44243 cat >>conftest.$ac_ext <<_ACEOF
44244 /* end confdefs.h. */
44245
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44249 #ifdef __cplusplus
44250 extern "C"
44251 #endif
44252 char dlerror ();
44253 int
44254 main ()
44255 {
44256 return dlerror ();
44257 ;
44258 return 0;
44259 }
44260 _ACEOF
44261 rm -f conftest.$ac_objext conftest$ac_exeext
44262 if { (ac_try="$ac_link"
44263 case "(($ac_try" in
44264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44265 *) ac_try_echo=$ac_try;;
44266 esac
44267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44268 (eval "$ac_link") 2>conftest.er1
44269 ac_status=$?
44270 grep -v '^ *+' conftest.er1 >conftest.err
44271 rm -f conftest.er1
44272 cat conftest.err >&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); } && {
44275 test -z "$ac_c_werror_flag" ||
44276 test ! -s conftest.err
44277 } && test -s conftest$ac_exeext &&
44278 $as_test_x conftest$ac_exeext; then
44279 ac_cv_lib_dl_dlerror=yes
44280 else
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.$ac_ext >&5
44283
44284 ac_cv_lib_dl_dlerror=no
44285 fi
44286
44287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44288 conftest$ac_exeext conftest.$ac_ext
44289 LIBS=$ac_check_lib_save_LIBS
44290 fi
44291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44292 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44293 if test $ac_cv_lib_dl_dlerror = yes; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define HAVE_DLERROR 1
44296 _ACEOF
44297
44298 fi
44299
44300
44301
44302 fi
44303 done
44304
44305 fi
44306 fi
44307
44308 if test "$HAVE_DL_FUNCS" = 0; then
44309 if test "$HAVE_SHL_FUNCS" = 0; then
44310 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44311 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44312 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44313 wxUSE_DYNAMIC_LOADER=no
44314 wxUSE_DYNLIB_CLASS=no
44315 else
44316 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44317 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44318 fi
44319 fi
44320 fi
44321 fi
44322 fi
44323
44324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_DYNAMIC_LOADER 1
44327 _ACEOF
44328
44329 fi
44330 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_DYNLIB_CLASS 1
44333 _ACEOF
44334
44335 fi
44336
44337
44338
44339 if test "$wxUSE_PLUGINS" = "yes" ; then
44340 if test "$wxUSE_SHARED" = "no" ; then
44341 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44342 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44343 wxUSE_PLUGINS=no
44344 fi
44345 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44346 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44347 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44348 wxUSE_PLUGINS=no
44349 fi
44350 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44351 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44352 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44353 wxUSE_PLUGINS=no
44354 fi
44355 if test "$wxUSE_PLUGINS" = "yes" ; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_PLUGINS 1
44358 _ACEOF
44359
44360 fi
44361 fi
44362
44363
44364 if test "$wxUSE_STL" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_STL 1
44367 _ACEOF
44368
44369 fi
44370
44371 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_EXTENDED_RTTI 1
44374 _ACEOF
44375
44376 fi
44377
44378 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_APPLE_IEEE 1
44381 _ACEOF
44382
44383 fi
44384
44385 if test "$wxUSE_TIMER" = "yes"; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_TIMER 1
44388 _ACEOF
44389
44390 fi
44391
44392 if test "$USE_UNIX" = "1" ; then
44393 if test "$wxUSE_MGL" != 1; then
44394 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44395 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44396 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44398 else
44399
44400 cat >conftest.$ac_ext <<_ACEOF
44401 /* confdefs.h. */
44402 _ACEOF
44403 cat confdefs.h >>conftest.$ac_ext
44404 cat >>conftest.$ac_ext <<_ACEOF
44405 /* end confdefs.h. */
44406
44407 #include <sys/ioctl.h>
44408 #include <sys/soundcard.h>
44409
44410 int
44411 main ()
44412 {
44413
44414 ioctl(0, SNDCTL_DSP_SPEED, 0);
44415
44416 ;
44417 return 0;
44418 }
44419 _ACEOF
44420 rm -f conftest.$ac_objext conftest$ac_exeext
44421 if { (ac_try="$ac_link"
44422 case "(($ac_try" in
44423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44425 esac
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_link") 2>conftest.er1
44428 ac_status=$?
44429 grep -v '^ *+' conftest.er1 >conftest.err
44430 rm -f conftest.er1
44431 cat conftest.err >&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } && {
44434 test -z "$ac_c_werror_flag" ||
44435 test ! -s conftest.err
44436 } && test -s conftest$ac_exeext &&
44437 $as_test_x conftest$ac_exeext; then
44438 ac_cv_header_sys_soundcard=yes
44439 else
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.$ac_ext >&5
44442
44443
44444 saveLibs="$LIBS"
44445 LIBS="$saveLibs -lossaudio"
44446 cat >conftest.$ac_ext <<_ACEOF
44447 /* confdefs.h. */
44448 _ACEOF
44449 cat confdefs.h >>conftest.$ac_ext
44450 cat >>conftest.$ac_ext <<_ACEOF
44451 /* end confdefs.h. */
44452
44453 #include <sys/ioctl.h>
44454 #include <sys/soundcard.h>
44455
44456 int
44457 main ()
44458 {
44459
44460 ioctl(0, SNDCTL_DSP_SPEED, 0);
44461
44462 ;
44463 return 0;
44464 }
44465 _ACEOF
44466 rm -f conftest.$ac_objext conftest$ac_exeext
44467 if { (ac_try="$ac_link"
44468 case "(($ac_try" in
44469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44470 *) ac_try_echo=$ac_try;;
44471 esac
44472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44473 (eval "$ac_link") 2>conftest.er1
44474 ac_status=$?
44475 grep -v '^ *+' conftest.er1 >conftest.err
44476 rm -f conftest.er1
44477 cat conftest.err >&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); } && {
44480 test -z "$ac_c_werror_flag" ||
44481 test ! -s conftest.err
44482 } && test -s conftest$ac_exeext &&
44483 $as_test_x conftest$ac_exeext; then
44484 ac_cv_header_sys_soundcard=yes
44485 else
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.$ac_ext >&5
44488
44489
44490 LIBS="$saveLibs"
44491 ac_cv_header_sys_soundcard=no
44492
44493
44494 fi
44495
44496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44497 conftest$ac_exeext conftest.$ac_ext
44498
44499
44500 fi
44501
44502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44503 conftest$ac_exeext conftest.$ac_ext
44504
44505 fi
44506 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44507 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44508 fi
44509
44510 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44511 cat >>confdefs.h <<\_ACEOF
44512 #define HAVE_SYS_SOUNDCARD_H 1
44513 _ACEOF
44514
44515 fi
44516 fi
44517
44518 WITH_PLUGIN_SDL=0
44519 if test "$wxUSE_SOUND" = "yes"; then
44520 if test "$USE_UNIX" = "1" ; then
44521 if test "$wxUSE_LIBSDL" != "no"; then
44522
44523 # Check whether --with-sdl-prefix was given.
44524 if test "${with_sdl_prefix+set}" = set; then
44525 withval=$with_sdl_prefix; sdl_prefix="$withval"
44526 else
44527 sdl_prefix=""
44528 fi
44529
44530
44531 # Check whether --with-sdl-exec-prefix was given.
44532 if test "${with_sdl_exec_prefix+set}" = set; then
44533 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44534 else
44535 sdl_exec_prefix=""
44536 fi
44537
44538 # Check whether --enable-sdltest was given.
44539 if test "${enable_sdltest+set}" = set; then
44540 enableval=$enable_sdltest;
44541 else
44542 enable_sdltest=yes
44543 fi
44544
44545
44546 if test x$sdl_exec_prefix != x ; then
44547 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44548 if test x${SDL_CONFIG+set} != xset ; then
44549 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44550 fi
44551 fi
44552 if test x$sdl_prefix != x ; then
44553 sdl_args="$sdl_args --prefix=$sdl_prefix"
44554 if test x${SDL_CONFIG+set} != xset ; then
44555 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44556 fi
44557 fi
44558
44559 if test "x$prefix" != xNONE; then
44560 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44561 fi
44562 # Extract the first word of "sdl-config", so it can be a program name with args.
44563 set dummy sdl-config; ac_word=$2
44564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44566 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44567 echo $ECHO_N "(cached) $ECHO_C" >&6
44568 else
44569 case $SDL_CONFIG in
44570 [\\/]* | ?:[\\/]*)
44571 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44572 ;;
44573 *)
44574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44575 for as_dir in $PATH
44576 do
44577 IFS=$as_save_IFS
44578 test -z "$as_dir" && as_dir=.
44579 for ac_exec_ext in '' $ac_executable_extensions; do
44580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44581 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44583 break 2
44584 fi
44585 done
44586 done
44587 IFS=$as_save_IFS
44588
44589 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44590 ;;
44591 esac
44592 fi
44593 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44594 if test -n "$SDL_CONFIG"; then
44595 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44596 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44597 else
44598 { echo "$as_me:$LINENO: result: no" >&5
44599 echo "${ECHO_T}no" >&6; }
44600 fi
44601
44602
44603 min_sdl_version=1.2.0
44604 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44605 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44606 no_sdl=""
44607 if test "$SDL_CONFIG" = "no" ; then
44608 no_sdl=yes
44609 else
44610 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44611 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44612
44613 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44615 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44617 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44619 if test "x$enable_sdltest" = "xyes" ; then
44620 ac_save_CFLAGS="$CFLAGS"
44621 ac_save_CXXFLAGS="$CXXFLAGS"
44622 ac_save_LIBS="$LIBS"
44623 CFLAGS="$CFLAGS $SDL_CFLAGS"
44624 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44625 LIBS="$LIBS $SDL_LIBS"
44626 rm -f conf.sdltest
44627 if test "$cross_compiling" = yes; then
44628 echo $ac_n "cross compiling; assumed OK... $ac_c"
44629 else
44630 cat >conftest.$ac_ext <<_ACEOF
44631 /* confdefs.h. */
44632 _ACEOF
44633 cat confdefs.h >>conftest.$ac_ext
44634 cat >>conftest.$ac_ext <<_ACEOF
44635 /* end confdefs.h. */
44636
44637 #include <stdio.h>
44638 #include <stdlib.h>
44639 #include <string.h>
44640 #include "SDL.h"
44641
44642 char*
44643 my_strdup (char *str)
44644 {
44645 char *new_str;
44646
44647 if (str)
44648 {
44649 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44650 strcpy (new_str, str);
44651 }
44652 else
44653 new_str = NULL;
44654
44655 return new_str;
44656 }
44657
44658 int main (int argc, char *argv[])
44659 {
44660 int major, minor, micro;
44661 char *tmp_version;
44662
44663 /* This hangs on some systems (?)
44664 system ("touch conf.sdltest");
44665 */
44666 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44667
44668 /* HP/UX 9 (%@#!) writes to sscanf strings */
44669 tmp_version = my_strdup("$min_sdl_version");
44670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44671 printf("%s, bad version string\n", "$min_sdl_version");
44672 exit(1);
44673 }
44674
44675 if (($sdl_major_version > major) ||
44676 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44677 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44678 {
44679 return 0;
44680 }
44681 else
44682 {
44683 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44684 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44685 printf("*** best to upgrade to the required version.\n");
44686 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44687 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44688 printf("*** config.cache before re-running configure\n");
44689 return 1;
44690 }
44691 }
44692
44693
44694 _ACEOF
44695 rm -f conftest$ac_exeext
44696 if { (ac_try="$ac_link"
44697 case "(($ac_try" in
44698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44699 *) ac_try_echo=$ac_try;;
44700 esac
44701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44702 (eval "$ac_link") 2>&5
44703 ac_status=$?
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44706 { (case "(($ac_try" in
44707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44708 *) ac_try_echo=$ac_try;;
44709 esac
44710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44711 (eval "$ac_try") 2>&5
44712 ac_status=$?
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 :
44716 else
44717 echo "$as_me: program exited with status $ac_status" >&5
44718 echo "$as_me: failed program was:" >&5
44719 sed 's/^/| /' conftest.$ac_ext >&5
44720
44721 ( exit $ac_status )
44722 no_sdl=yes
44723 fi
44724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44725 fi
44726
44727
44728 CFLAGS="$ac_save_CFLAGS"
44729 CXXFLAGS="$ac_save_CXXFLAGS"
44730 LIBS="$ac_save_LIBS"
44731 fi
44732 fi
44733 if test "x$no_sdl" = x ; then
44734 { echo "$as_me:$LINENO: result: yes" >&5
44735 echo "${ECHO_T}yes" >&6; }
44736
44737 EXTRALIBS_SDL="$SDL_LIBS"
44738 CFLAGS="$SDL_CFLAGS $CFLAGS"
44739 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44740 cat >>confdefs.h <<\_ACEOF
44741 #define wxUSE_LIBSDL 1
44742 _ACEOF
44743
44744
44745 else
44746 { echo "$as_me:$LINENO: result: no" >&5
44747 echo "${ECHO_T}no" >&6; }
44748 if test "$SDL_CONFIG" = "no" ; then
44749 echo "*** The sdl-config script installed by SDL could not be found"
44750 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44751 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44752 echo "*** full path to sdl-config."
44753 else
44754 if test -f conf.sdltest ; then
44755 :
44756 else
44757 echo "*** Could not run SDL test program, checking why..."
44758 CFLAGS="$CFLAGS $SDL_CFLAGS"
44759 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44760 LIBS="$LIBS $SDL_LIBS"
44761 cat >conftest.$ac_ext <<_ACEOF
44762 /* confdefs.h. */
44763 _ACEOF
44764 cat confdefs.h >>conftest.$ac_ext
44765 cat >>conftest.$ac_ext <<_ACEOF
44766 /* end confdefs.h. */
44767
44768 #include <stdio.h>
44769 #include "SDL.h"
44770
44771 int main(int argc, char *argv[])
44772 { return 0; }
44773 #undef main
44774 #define main K_and_R_C_main
44775
44776 int
44777 main ()
44778 {
44779 return 0;
44780 ;
44781 return 0;
44782 }
44783 _ACEOF
44784 rm -f conftest.$ac_objext conftest$ac_exeext
44785 if { (ac_try="$ac_link"
44786 case "(($ac_try" in
44787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44789 esac
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_link") 2>conftest.er1
44792 ac_status=$?
44793 grep -v '^ *+' conftest.er1 >conftest.err
44794 rm -f conftest.er1
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_c_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest$ac_exeext &&
44801 $as_test_x conftest$ac_exeext; then
44802 echo "*** The test program compiled, but did not run. This usually means"
44803 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44804 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44805 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44806 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44807 echo "*** is required on your system"
44808 echo "***"
44809 echo "*** If you have an old version installed, it is best to remove it, although"
44810 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44811 else
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.$ac_ext >&5
44814
44815 echo "*** The test program failed to compile or link. See the file config.log for the"
44816 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44817 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44818 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44819 fi
44820
44821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44822 conftest$ac_exeext conftest.$ac_ext
44823 CFLAGS="$ac_save_CFLAGS"
44824 CXXFLAGS="$ac_save_CXXFLAGS"
44825 LIBS="$ac_save_LIBS"
44826 fi
44827 fi
44828 SDL_CFLAGS=""
44829 SDL_LIBS=""
44830 wxUSE_LIBSDL="no"
44831 fi
44832
44833
44834 rm -f conf.sdltest
44835
44836 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44837 WITH_PLUGIN_SDL=1
44838 fi
44839 fi
44840 else
44841 if test "$wxUSE_MGL" = 1; then
44842 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44843 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44844 wxUSE_SOUND="no"
44845 fi
44846 fi
44847 fi
44848
44849 if test "$wxUSE_SOUND" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_SOUND 1
44852 _ACEOF
44853
44854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44855 fi
44856
44857 if test "$WXGTK20" = 1; then
44858
44859
44860 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44861 if test -n "$ac_tool_prefix"; then
44862 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44866 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44867 echo $ECHO_N "(cached) $ECHO_C" >&6
44868 else
44869 case $PKG_CONFIG in
44870 [\\/]* | ?:[\\/]*)
44871 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44872 ;;
44873 *)
44874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44875 for as_dir in $PATH
44876 do
44877 IFS=$as_save_IFS
44878 test -z "$as_dir" && as_dir=.
44879 for ac_exec_ext in '' $ac_executable_extensions; do
44880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44881 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44883 break 2
44884 fi
44885 done
44886 done
44887 IFS=$as_save_IFS
44888
44889 ;;
44890 esac
44891 fi
44892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44893 if test -n "$PKG_CONFIG"; then
44894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44896 else
44897 { echo "$as_me:$LINENO: result: no" >&5
44898 echo "${ECHO_T}no" >&6; }
44899 fi
44900
44901
44902 fi
44903 if test -z "$ac_cv_path_PKG_CONFIG"; then
44904 ac_pt_PKG_CONFIG=$PKG_CONFIG
44905 # Extract the first word of "pkg-config", so it can be a program name with args.
44906 set dummy pkg-config; ac_word=$2
44907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44909 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44910 echo $ECHO_N "(cached) $ECHO_C" >&6
44911 else
44912 case $ac_pt_PKG_CONFIG in
44913 [\\/]* | ?:[\\/]*)
44914 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44915 ;;
44916 *)
44917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44918 for as_dir in $PATH
44919 do
44920 IFS=$as_save_IFS
44921 test -z "$as_dir" && as_dir=.
44922 for ac_exec_ext in '' $ac_executable_extensions; do
44923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44924 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44926 break 2
44927 fi
44928 done
44929 done
44930 IFS=$as_save_IFS
44931
44932 ;;
44933 esac
44934 fi
44935 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44936 if test -n "$ac_pt_PKG_CONFIG"; then
44937 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44938 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44939 else
44940 { echo "$as_me:$LINENO: result: no" >&5
44941 echo "${ECHO_T}no" >&6; }
44942 fi
44943
44944 if test "x$ac_pt_PKG_CONFIG" = x; then
44945 PKG_CONFIG=""
44946 else
44947 case $cross_compiling:$ac_tool_warned in
44948 yes:)
44949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44950 whose name does not start with the host triplet. If you think this
44951 configuration is useful to you, please write to autoconf@gnu.org." >&5
44952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44953 whose name does not start with the host triplet. If you think this
44954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44955 ac_tool_warned=yes ;;
44956 esac
44957 PKG_CONFIG=$ac_pt_PKG_CONFIG
44958 fi
44959 else
44960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44961 fi
44962
44963 fi
44964 if test -n "$PKG_CONFIG"; then
44965 _pkg_min_version=0.9.0
44966 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44967 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44969 { echo "$as_me:$LINENO: result: yes" >&5
44970 echo "${ECHO_T}yes" >&6; }
44971 else
44972 { echo "$as_me:$LINENO: result: no" >&5
44973 echo "${ECHO_T}no" >&6; }
44974 PKG_CONFIG=""
44975 fi
44976
44977 fi
44978
44979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44980
44981 if test "$wxUSE_GTKPRINT" = "yes" ; then
44982
44983
44984 pkg_failed=no
44985 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44986 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44987
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$GTKPRINT_CFLAGS"; then
44990 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44991 else
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44999 else
45000 pkg_failed=yes
45001 fi
45002 fi
45003 else
45004 pkg_failed=untried
45005 fi
45006 if test -n "$PKG_CONFIG"; then
45007 if test -n "$GTKPRINT_LIBS"; then
45008 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45009 else
45010 if test -n "$PKG_CONFIG" && \
45011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45012 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45013 ac_status=$?
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; then
45016 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45017 else
45018 pkg_failed=yes
45019 fi
45020 fi
45021 else
45022 pkg_failed=untried
45023 fi
45024
45025
45026
45027 if test $pkg_failed = yes; then
45028
45029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45030 _pkg_short_errors_supported=yes
45031 else
45032 _pkg_short_errors_supported=no
45033 fi
45034 if test $_pkg_short_errors_supported = yes; then
45035 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45036 else
45037 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45038 fi
45039 # Put the nasty error message in config.log where it belongs
45040 echo "$GTKPRINT_PKG_ERRORS" >&5
45041
45042
45043 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45044 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45045 wxUSE_GTKPRINT="no"
45046
45047
45048 elif test $pkg_failed = untried; then
45049
45050 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45051 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45052 wxUSE_GTKPRINT="no"
45053
45054
45055 else
45056 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45057 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45058 { echo "$as_me:$LINENO: result: yes" >&5
45059 echo "${ECHO_T}yes" >&6; }
45060
45061 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45062 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_GTKPRINT 1
45065 _ACEOF
45066
45067
45068 fi
45069 fi
45070
45071 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45072
45073
45074 pkg_failed=no
45075 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45076 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45077
45078 if test -n "$PKG_CONFIG"; then
45079 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45080 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45081 else
45082 if test -n "$PKG_CONFIG" && \
45083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45084 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45085 ac_status=$?
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; then
45088 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45089 else
45090 pkg_failed=yes
45091 fi
45092 fi
45093 else
45094 pkg_failed=untried
45095 fi
45096 if test -n "$PKG_CONFIG"; then
45097 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45098 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45099 else
45100 if test -n "$PKG_CONFIG" && \
45101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45102 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45103 ac_status=$?
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); }; then
45106 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45107 else
45108 pkg_failed=yes
45109 fi
45110 fi
45111 else
45112 pkg_failed=untried
45113 fi
45114
45115
45116
45117 if test $pkg_failed = yes; then
45118
45119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45120 _pkg_short_errors_supported=yes
45121 else
45122 _pkg_short_errors_supported=no
45123 fi
45124 if test $_pkg_short_errors_supported = yes; then
45125 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45126 else
45127 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45128 fi
45129 # Put the nasty error message in config.log where it belongs
45130 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45131
45132
45133 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45134 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45135 wxUSE_LIBGNOMEPRINT="no"
45136
45137
45138 elif test $pkg_failed = untried; then
45139
45140 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45141 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45142 wxUSE_LIBGNOMEPRINT="no"
45143
45144
45145 else
45146 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45147 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45148 { echo "$as_me:$LINENO: result: yes" >&5
45149 echo "${ECHO_T}yes" >&6; }
45150
45151 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45152 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_LIBGNOMEPRINT 1
45155 _ACEOF
45156
45157
45158 fi
45159 fi
45160 fi
45161
45162 if test "$wxUSE_MIMETYPE" = "yes" ; then
45163 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45164
45165
45166 pkg_failed=no
45167 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45168 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45169
45170 if test -n "$PKG_CONFIG"; then
45171 if test -n "$GNOMEVFS_CFLAGS"; then
45172 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45173 else
45174 if test -n "$PKG_CONFIG" && \
45175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45176 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45177 ac_status=$?
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; then
45180 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45181 else
45182 pkg_failed=yes
45183 fi
45184 fi
45185 else
45186 pkg_failed=untried
45187 fi
45188 if test -n "$PKG_CONFIG"; then
45189 if test -n "$GNOMEVFS_LIBS"; then
45190 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45191 else
45192 if test -n "$PKG_CONFIG" && \
45193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45194 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; then
45198 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45199 else
45200 pkg_failed=yes
45201 fi
45202 fi
45203 else
45204 pkg_failed=untried
45205 fi
45206
45207
45208
45209 if test $pkg_failed = yes; then
45210
45211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45212 _pkg_short_errors_supported=yes
45213 else
45214 _pkg_short_errors_supported=no
45215 fi
45216 if test $_pkg_short_errors_supported = yes; then
45217 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45218 else
45219 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45220 fi
45221 # Put the nasty error message in config.log where it belongs
45222 echo "$GNOMEVFS_PKG_ERRORS" >&5
45223
45224
45225 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45226 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45227 wxUSE_LIBGNOMEVFS="no"
45228
45229
45230 elif test $pkg_failed = untried; then
45231
45232 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45233 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45234 wxUSE_LIBGNOMEVFS="no"
45235
45236
45237 else
45238 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45239 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45240 { echo "$as_me:$LINENO: result: yes" >&5
45241 echo "${ECHO_T}yes" >&6; }
45242
45243 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45244 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_LIBGNOMEVFS 1
45247 _ACEOF
45248
45249
45250 fi
45251 fi
45252 fi
45253
45254 if test "$wxUSE_LIBHILDON" = "yes" ; then
45255
45256 pkg_failed=no
45257 { echo "$as_me:$LINENO: checking for HILDON" >&5
45258 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45259
45260 if test -n "$PKG_CONFIG"; then
45261 if test -n "$HILDON_CFLAGS"; then
45262 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45263 else
45264 if test -n "$PKG_CONFIG" && \
45265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45266 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45267 ac_status=$?
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); }; then
45270 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45271 else
45272 pkg_failed=yes
45273 fi
45274 fi
45275 else
45276 pkg_failed=untried
45277 fi
45278 if test -n "$PKG_CONFIG"; then
45279 if test -n "$HILDON_LIBS"; then
45280 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45281 else
45282 if test -n "$PKG_CONFIG" && \
45283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45284 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45285 ac_status=$?
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); }; then
45288 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45289 else
45290 pkg_failed=yes
45291 fi
45292 fi
45293 else
45294 pkg_failed=untried
45295 fi
45296
45297
45298
45299 if test $pkg_failed = yes; then
45300
45301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45302 _pkg_short_errors_supported=yes
45303 else
45304 _pkg_short_errors_supported=no
45305 fi
45306 if test $_pkg_short_errors_supported = yes; then
45307 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45308 else
45309 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45310 fi
45311 # Put the nasty error message in config.log where it belongs
45312 echo "$HILDON_PKG_ERRORS" >&5
45313
45314
45315 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45316 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45317 wxUSE_LIBHILDON="no"
45318
45319
45320 elif test $pkg_failed = untried; then
45321
45322 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45323 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45324 wxUSE_LIBHILDON="no"
45325
45326
45327 else
45328 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45329 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45330 { echo "$as_me:$LINENO: result: yes" >&5
45331 echo "${ECHO_T}yes" >&6; }
45332
45333 EXTRALIBS_HILDON="$HILDON_LIBS"
45334 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45335 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_LIBHILDON 1
45338 _ACEOF
45339
45340
45341 fi
45342 fi
45343 fi
45344
45345 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_CMDLINE_PARSER 1
45348 _ACEOF
45349
45350 fi
45351
45352 if test "$wxUSE_STOPWATCH" = "yes"; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_STOPWATCH 1
45355 _ACEOF
45356
45357 fi
45358
45359 if test "$wxUSE_DATETIME" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_DATETIME 1
45362 _ACEOF
45363
45364 fi
45365
45366 if test "$wxUSE_FILE" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_FILE 1
45369 _ACEOF
45370
45371 fi
45372
45373 if test "$wxUSE_FFILE" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_FFILE 1
45376 _ACEOF
45377
45378 fi
45379
45380 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45381 if test "$wxUSE_STREAMS" != yes; then
45382 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45383 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45384 wxUSE_ARCHIVE_STREAMS=no
45385 else
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_ARCHIVE_STREAMS 1
45388 _ACEOF
45389
45390 fi
45391 fi
45392
45393 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45394 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45395 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45396 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45397 elif test "$wxUSE_ZLIB" = "no"; then
45398 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45399 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45400 else
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_ZIPSTREAM 1
45403 _ACEOF
45404
45405 fi
45406 fi
45407
45408 if test "$wxUSE_TARSTREAM" = "yes"; then
45409 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45410 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45411 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45412 else
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_TARSTREAM 1
45415 _ACEOF
45416
45417 fi
45418 fi
45419
45420 if test "$wxUSE_FILESYSTEM" = "yes"; then
45421 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45422 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45423 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45424 wxUSE_FILESYSTEM=no
45425 else
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_FILESYSTEM 1
45428 _ACEOF
45429
45430 fi
45431 fi
45432
45433 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45434 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45435 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45436 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45437 else
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_FS_ARCHIVE 1
45440 _ACEOF
45441
45442 fi
45443 fi
45444
45445 if test "$wxUSE_FS_ZIP" = "yes"; then
45446 if test "$wxUSE_FS_ARCHIVE" != yes; then
45447 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45448 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45449 else
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_FS_ZIP 1
45452 _ACEOF
45453
45454 fi
45455 fi
45456
45457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45458 if test "$USE_UNIX" != 1; then
45459 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45460 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45461 wxUSE_ON_FATAL_EXCEPTION=no
45462 else
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_ON_FATAL_EXCEPTION 1
45465 _ACEOF
45466
45467 fi
45468 fi
45469
45470 if test "$wxUSE_STACKWALKER" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_STACKWALKER 1
45473 _ACEOF
45474
45475 fi
45476
45477 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45478 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45479 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45480 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45481 wxUSE_DEBUGREPORT=no
45482 else
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_DEBUGREPORT 1
45485 _ACEOF
45486
45487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45489 fi
45490 fi
45491 fi
45492
45493 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_SNGLINST_CHECKER 1
45496 _ACEOF
45497
45498 fi
45499
45500 if test "$wxUSE_BUSYINFO" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_BUSYINFO 1
45503 _ACEOF
45504
45505 fi
45506
45507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_STD_IOSTREAM 1
45510 _ACEOF
45511
45512 fi
45513
45514 if test "$wxUSE_STD_STRING" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_STD_STRING 1
45517 _ACEOF
45518
45519 fi
45520
45521 if test "$wxUSE_STDPATHS" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_STDPATHS 1
45524 _ACEOF
45525
45526 fi
45527
45528 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_TEXTBUFFER 1
45531 _ACEOF
45532
45533 fi
45534
45535 if test "$wxUSE_TEXTFILE" = "yes"; then
45536 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45537 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45538 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45539 else
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_TEXTFILE 1
45542 _ACEOF
45543
45544 fi
45545 fi
45546
45547 if test "$wxUSE_CONFIG" = "yes" ; then
45548 if test "$wxUSE_TEXTFILE" != "yes"; then
45549 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45550 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45551 else
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CONFIG 1
45554 _ACEOF
45555
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_CONFIG_NATIVE 1
45558 _ACEOF
45559
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45561 fi
45562 fi
45563
45564 if test "$wxUSE_INTL" = "yes" ; then
45565 if test "$wxUSE_FILE" != "yes"; then
45566 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45567 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45568 else
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_INTL 1
45571 _ACEOF
45572
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45574 GUIDIST="$GUIDIST INTL_DIST"
45575 fi
45576 fi
45577
45578 if test "$wxUSE_LOG" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_LOG 1
45581 _ACEOF
45582
45583
45584 if test "$wxUSE_LOGGUI" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_LOGGUI 1
45587 _ACEOF
45588
45589 fi
45590
45591 if test "$wxUSE_LOGWINDOW" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_LOGWINDOW 1
45594 _ACEOF
45595
45596 fi
45597
45598 if test "$wxUSE_LOGDIALOG" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_LOG_DIALOG 1
45601 _ACEOF
45602
45603 fi
45604
45605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45606 fi
45607
45608 if test "$wxUSE_LONGLONG" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_LONGLONG 1
45611 _ACEOF
45612
45613 fi
45614
45615 if test "$wxUSE_GEOMETRY" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_GEOMETRY 1
45618 _ACEOF
45619
45620 fi
45621
45622 if test "$wxUSE_BASE64" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_BASE64 1
45625 _ACEOF
45626
45627 fi
45628
45629 if test "$wxUSE_STREAMS" = "yes" ; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_STREAMS 1
45632 _ACEOF
45633
45634 fi
45635
45636 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_PRINTF_POS_PARAMS 1
45639 _ACEOF
45640
45641 fi
45642
45643 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_OBJC_UNIQUIFYING 1
45646 _ACEOF
45647
45648 fi
45649
45650
45651 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_CONSOLE_EVENTLOOP 1
45654 _ACEOF
45655
45656
45657 if test "$wxUSE_UNIX" = "yes"; then
45658 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_SELECT_DISPATCHER 1
45661 _ACEOF
45662
45663 fi
45664
45665 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45666
45667 for ac_header in sys/epoll.h
45668 do
45669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45673 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 else
45675 cat >conftest.$ac_ext <<_ACEOF
45676 /* confdefs.h. */
45677 _ACEOF
45678 cat confdefs.h >>conftest.$ac_ext
45679 cat >>conftest.$ac_ext <<_ACEOF
45680 /* end confdefs.h. */
45681 $ac_includes_default
45682
45683 #include <$ac_header>
45684 _ACEOF
45685 rm -f conftest.$ac_objext
45686 if { (ac_try="$ac_compile"
45687 case "(($ac_try" in
45688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45689 *) ac_try_echo=$ac_try;;
45690 esac
45691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45692 (eval "$ac_compile") 2>conftest.er1
45693 ac_status=$?
45694 grep -v '^ *+' conftest.er1 >conftest.err
45695 rm -f conftest.er1
45696 cat conftest.err >&5
45697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698 (exit $ac_status); } && {
45699 test -z "$ac_c_werror_flag" ||
45700 test ! -s conftest.err
45701 } && test -s conftest.$ac_objext; then
45702 eval "$as_ac_Header=yes"
45703 else
45704 echo "$as_me: failed program was:" >&5
45705 sed 's/^/| /' conftest.$ac_ext >&5
45706
45707 eval "$as_ac_Header=no"
45708 fi
45709
45710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45711 fi
45712 ac_res=`eval echo '${'$as_ac_Header'}'`
45713 { echo "$as_me:$LINENO: result: $ac_res" >&5
45714 echo "${ECHO_T}$ac_res" >&6; }
45715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45716 cat >>confdefs.h <<_ACEOF
45717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45718 _ACEOF
45719
45720 fi
45721
45722 done
45723
45724 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_EPOLL_DISPATCHER 1
45727 _ACEOF
45728
45729 else
45730 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45731 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45732 fi
45733 fi
45734 fi
45735 fi
45736
45737
45738
45739
45740 for ac_func in gettimeofday ftime
45741 do
45742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45747 else
45748 cat >conftest.$ac_ext <<_ACEOF
45749 /* confdefs.h. */
45750 _ACEOF
45751 cat confdefs.h >>conftest.$ac_ext
45752 cat >>conftest.$ac_ext <<_ACEOF
45753 /* end confdefs.h. */
45754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45756 #define $ac_func innocuous_$ac_func
45757
45758 /* System header to define __stub macros and hopefully few prototypes,
45759 which can conflict with char $ac_func (); below.
45760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45761 <limits.h> exists even on freestanding compilers. */
45762
45763 #ifdef __STDC__
45764 # include <limits.h>
45765 #else
45766 # include <assert.h>
45767 #endif
45768
45769 #undef $ac_func
45770
45771 /* Override any GCC internal prototype to avoid an error.
45772 Use char because int might match the return type of a GCC
45773 builtin and then its argument prototype would still apply. */
45774 #ifdef __cplusplus
45775 extern "C"
45776 #endif
45777 char $ac_func ();
45778 /* The GNU C library defines this for functions which it implements
45779 to always fail with ENOSYS. Some functions are actually named
45780 something starting with __ and the normal name is an alias. */
45781 #if defined __stub_$ac_func || defined __stub___$ac_func
45782 choke me
45783 #endif
45784
45785 int
45786 main ()
45787 {
45788 return $ac_func ();
45789 ;
45790 return 0;
45791 }
45792 _ACEOF
45793 rm -f conftest.$ac_objext conftest$ac_exeext
45794 if { (ac_try="$ac_link"
45795 case "(($ac_try" in
45796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45798 esac
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_link") 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } && {
45807 test -z "$ac_c_werror_flag" ||
45808 test ! -s conftest.err
45809 } && test -s conftest$ac_exeext &&
45810 $as_test_x conftest$ac_exeext; then
45811 eval "$as_ac_var=yes"
45812 else
45813 echo "$as_me: failed program was:" >&5
45814 sed 's/^/| /' conftest.$ac_ext >&5
45815
45816 eval "$as_ac_var=no"
45817 fi
45818
45819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45820 conftest$ac_exeext conftest.$ac_ext
45821 fi
45822 ac_res=`eval echo '${'$as_ac_var'}'`
45823 { echo "$as_me:$LINENO: result: $ac_res" >&5
45824 echo "${ECHO_T}$ac_res" >&6; }
45825 if test `eval echo '${'$as_ac_var'}'` = yes; then
45826 cat >>confdefs.h <<_ACEOF
45827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45828 _ACEOF
45829 break
45830 fi
45831 done
45832
45833
45834 if test "$ac_cv_func_gettimeofday" = "yes"; then
45835 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45836 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45837 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45838 echo $ECHO_N "(cached) $ECHO_C" >&6
45839 else
45840
45841 cat >conftest.$ac_ext <<_ACEOF
45842 /* confdefs.h. */
45843 _ACEOF
45844 cat confdefs.h >>conftest.$ac_ext
45845 cat >>conftest.$ac_ext <<_ACEOF
45846 /* end confdefs.h. */
45847
45848 #include <sys/time.h>
45849 #include <unistd.h>
45850
45851 int
45852 main ()
45853 {
45854
45855 struct timeval tv;
45856 gettimeofday(&tv, NULL);
45857
45858 ;
45859 return 0;
45860 }
45861 _ACEOF
45862 rm -f conftest.$ac_objext
45863 if { (ac_try="$ac_compile"
45864 case "(($ac_try" in
45865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45866 *) ac_try_echo=$ac_try;;
45867 esac
45868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45869 (eval "$ac_compile") 2>conftest.er1
45870 ac_status=$?
45871 grep -v '^ *+' conftest.er1 >conftest.err
45872 rm -f conftest.er1
45873 cat conftest.err >&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } && {
45876 test -z "$ac_c_werror_flag" ||
45877 test ! -s conftest.err
45878 } && test -s conftest.$ac_objext; then
45879 wx_cv_func_gettimeofday_has_2_args=yes
45880 else
45881 echo "$as_me: failed program was:" >&5
45882 sed 's/^/| /' conftest.$ac_ext >&5
45883
45884 cat >conftest.$ac_ext <<_ACEOF
45885 /* confdefs.h. */
45886 _ACEOF
45887 cat confdefs.h >>conftest.$ac_ext
45888 cat >>conftest.$ac_ext <<_ACEOF
45889 /* end confdefs.h. */
45890
45891 #include <sys/time.h>
45892 #include <unistd.h>
45893
45894 int
45895 main ()
45896 {
45897
45898 struct timeval tv;
45899 gettimeofday(&tv);
45900
45901 ;
45902 return 0;
45903 }
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (ac_try="$ac_compile"
45907 case "(($ac_try" in
45908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45909 *) ac_try_echo=$ac_try;;
45910 esac
45911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45912 (eval "$ac_compile") 2>conftest.er1
45913 ac_status=$?
45914 grep -v '^ *+' conftest.er1 >conftest.err
45915 rm -f conftest.er1
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } && {
45919 test -z "$ac_c_werror_flag" ||
45920 test ! -s conftest.err
45921 } && test -s conftest.$ac_objext; then
45922 wx_cv_func_gettimeofday_has_2_args=no
45923 else
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.$ac_ext >&5
45926
45927
45928 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45929 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45930 wx_cv_func_gettimeofday_has_2_args=unknown
45931
45932
45933 fi
45934
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936
45937 fi
45938
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940
45941 fi
45942 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45943 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45944
45945 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define WX_GETTIMEOFDAY_NO_TZ 1
45948 _ACEOF
45949
45950 fi
45951 fi
45952
45953 if test "$wxUSE_DATETIME" = "yes"; then
45954 { echo "$as_me:$LINENO: checking for strptime" >&5
45955 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45956 if test "${ac_cv_func_strptime+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45958 else
45959 cat >conftest.$ac_ext <<_ACEOF
45960 /* confdefs.h. */
45961 _ACEOF
45962 cat confdefs.h >>conftest.$ac_ext
45963 cat >>conftest.$ac_ext <<_ACEOF
45964 /* end confdefs.h. */
45965 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45967 #define strptime innocuous_strptime
45968
45969 /* System header to define __stub macros and hopefully few prototypes,
45970 which can conflict with char strptime (); below.
45971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45972 <limits.h> exists even on freestanding compilers. */
45973
45974 #ifdef __STDC__
45975 # include <limits.h>
45976 #else
45977 # include <assert.h>
45978 #endif
45979
45980 #undef strptime
45981
45982 /* Override any GCC internal prototype to avoid an error.
45983 Use char because int might match the return type of a GCC
45984 builtin and then its argument prototype would still apply. */
45985 #ifdef __cplusplus
45986 extern "C"
45987 #endif
45988 char strptime ();
45989 /* The GNU C library defines this for functions which it implements
45990 to always fail with ENOSYS. Some functions are actually named
45991 something starting with __ and the normal name is an alias. */
45992 #if defined __stub_strptime || defined __stub___strptime
45993 choke me
45994 #endif
45995
45996 int
45997 main ()
45998 {
45999 return strptime ();
46000 ;
46001 return 0;
46002 }
46003 _ACEOF
46004 rm -f conftest.$ac_objext conftest$ac_exeext
46005 if { (ac_try="$ac_link"
46006 case "(($ac_try" in
46007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46008 *) ac_try_echo=$ac_try;;
46009 esac
46010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46011 (eval "$ac_link") 2>conftest.er1
46012 ac_status=$?
46013 grep -v '^ *+' conftest.er1 >conftest.err
46014 rm -f conftest.er1
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } && {
46018 test -z "$ac_c_werror_flag" ||
46019 test ! -s conftest.err
46020 } && test -s conftest$ac_exeext &&
46021 $as_test_x conftest$ac_exeext; then
46022 ac_cv_func_strptime=yes
46023 else
46024 echo "$as_me: failed program was:" >&5
46025 sed 's/^/| /' conftest.$ac_ext >&5
46026
46027 ac_cv_func_strptime=no
46028 fi
46029
46030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46031 conftest$ac_exeext conftest.$ac_ext
46032 fi
46033 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46034 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46035
46036 if test "$ac_cv_func_strptime" = "yes"; then
46037 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46038 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46039 if test "${wx_cv_func_strptime_decl+set}" = set; then
46040 echo $ECHO_N "(cached) $ECHO_C" >&6
46041 else
46042
46043 ac_ext=cpp
46044 ac_cpp='$CXXCPP $CPPFLAGS'
46045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46048
46049 cat >conftest.$ac_ext <<_ACEOF
46050 /* confdefs.h. */
46051 _ACEOF
46052 cat confdefs.h >>conftest.$ac_ext
46053 cat >>conftest.$ac_ext <<_ACEOF
46054 /* end confdefs.h. */
46055
46056 #include <time.h>
46057
46058 int
46059 main ()
46060 {
46061
46062 struct tm t;
46063 strptime("foo", "bar", &t);
46064
46065 ;
46066 return 0;
46067 }
46068 _ACEOF
46069 rm -f conftest.$ac_objext
46070 if { (ac_try="$ac_compile"
46071 case "(($ac_try" in
46072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46073 *) ac_try_echo=$ac_try;;
46074 esac
46075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46076 (eval "$ac_compile") 2>conftest.er1
46077 ac_status=$?
46078 grep -v '^ *+' conftest.er1 >conftest.err
46079 rm -f conftest.er1
46080 cat conftest.err >&5
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); } && {
46083 test -z "$ac_cxx_werror_flag" ||
46084 test ! -s conftest.err
46085 } && test -s conftest.$ac_objext; then
46086 wx_cv_func_strptime_decl=yes
46087 else
46088 echo "$as_me: failed program was:" >&5
46089 sed 's/^/| /' conftest.$ac_ext >&5
46090
46091 wx_cv_func_strptime_decl=no
46092
46093 fi
46094
46095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46096 ac_ext=c
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101
46102
46103
46104 fi
46105 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46106 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46107 fi
46108 if test "$wx_cv_func_strptime_decl" = "yes"; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define HAVE_STRPTIME_DECL 1
46111 _ACEOF
46112
46113 else
46114 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46115 fi
46116 if test "$ac_cv_func_strptime" = "yes"; then
46117 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46118 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46119 if test "${wx_cv_func_strptime_ok+set}" = set; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122 if test "$cross_compiling" = yes; then
46123 wx_cv_func_strptime_ok=no
46124
46125 else
46126 cat >conftest.$ac_ext <<_ACEOF
46127
46128 #include <stdlib.h>
46129 #include <time.h>
46130 #include "confdefs.h"
46131
46132 $wx_strptime_decl
46133
46134 int main()
46135 {
46136 struct tm t;
46137 return !!strptime("", "%x", &t);
46138 }
46139
46140 _ACEOF
46141 rm -f conftest$ac_exeext
46142 if { (ac_try="$ac_link"
46143 case "(($ac_try" in
46144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46145 *) ac_try_echo=$ac_try;;
46146 esac
46147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46148 (eval "$ac_link") 2>&5
46149 ac_status=$?
46150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46152 { (case "(($ac_try" in
46153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46155 esac
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_try") 2>&5
46158 ac_status=$?
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; }; then
46161 wx_cv_func_strptime_ok=yes
46162 else
46163 echo "$as_me: program exited with status $ac_status" >&5
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46166
46167 ( exit $ac_status )
46168 wx_cv_func_strptime_ok=no
46169 fi
46170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46171 fi
46172
46173
46174
46175 fi
46176 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46177 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46178
46179 if test "$wx_cv_func_strptime_ok" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define HAVE_STRPTIME 1
46182 _ACEOF
46183
46184 fi
46185 fi
46186
46187 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46188 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46189 if test "${wx_cv_var_timezone+set}" = set; then
46190 echo $ECHO_N "(cached) $ECHO_C" >&6
46191 else
46192
46193 ac_ext=cpp
46194 ac_cpp='$CXXCPP $CPPFLAGS'
46195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46198
46199 cat >conftest.$ac_ext <<_ACEOF
46200 /* confdefs.h. */
46201 _ACEOF
46202 cat confdefs.h >>conftest.$ac_ext
46203 cat >>conftest.$ac_ext <<_ACEOF
46204 /* end confdefs.h. */
46205
46206 #include <time.h>
46207
46208 int
46209 main ()
46210 {
46211
46212 int tz;
46213 tz = timezone;
46214
46215 ;
46216 return 0;
46217 }
46218 _ACEOF
46219 rm -f conftest.$ac_objext
46220 if { (ac_try="$ac_compile"
46221 case "(($ac_try" in
46222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46223 *) ac_try_echo=$ac_try;;
46224 esac
46225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46226 (eval "$ac_compile") 2>conftest.er1
46227 ac_status=$?
46228 grep -v '^ *+' conftest.er1 >conftest.err
46229 rm -f conftest.er1
46230 cat conftest.err >&5
46231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46232 (exit $ac_status); } && {
46233 test -z "$ac_cxx_werror_flag" ||
46234 test ! -s conftest.err
46235 } && test -s conftest.$ac_objext; then
46236
46237 wx_cv_var_timezone=timezone
46238
46239 else
46240 echo "$as_me: failed program was:" >&5
46241 sed 's/^/| /' conftest.$ac_ext >&5
46242
46243
46244 cat >conftest.$ac_ext <<_ACEOF
46245 /* confdefs.h. */
46246 _ACEOF
46247 cat confdefs.h >>conftest.$ac_ext
46248 cat >>conftest.$ac_ext <<_ACEOF
46249 /* end confdefs.h. */
46250
46251 #include <time.h>
46252
46253 int
46254 main ()
46255 {
46256
46257 int tz;
46258 tz = _timezone;
46259
46260 ;
46261 return 0;
46262 }
46263 _ACEOF
46264 rm -f conftest.$ac_objext
46265 if { (ac_try="$ac_compile"
46266 case "(($ac_try" in
46267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46268 *) ac_try_echo=$ac_try;;
46269 esac
46270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46271 (eval "$ac_compile") 2>conftest.er1
46272 ac_status=$?
46273 grep -v '^ *+' conftest.er1 >conftest.err
46274 rm -f conftest.er1
46275 cat conftest.err >&5
46276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277 (exit $ac_status); } && {
46278 test -z "$ac_cxx_werror_flag" ||
46279 test ! -s conftest.err
46280 } && test -s conftest.$ac_objext; then
46281
46282 wx_cv_var_timezone=_timezone
46283
46284 else
46285 echo "$as_me: failed program was:" >&5
46286 sed 's/^/| /' conftest.$ac_ext >&5
46287
46288
46289 cat >conftest.$ac_ext <<_ACEOF
46290 /* confdefs.h. */
46291 _ACEOF
46292 cat confdefs.h >>conftest.$ac_ext
46293 cat >>conftest.$ac_ext <<_ACEOF
46294 /* end confdefs.h. */
46295
46296 #include <time.h>
46297
46298 int
46299 main ()
46300 {
46301
46302 int tz;
46303 tz = __timezone;
46304
46305 ;
46306 return 0;
46307 }
46308 _ACEOF
46309 rm -f conftest.$ac_objext
46310 if { (ac_try="$ac_compile"
46311 case "(($ac_try" in
46312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46313 *) ac_try_echo=$ac_try;;
46314 esac
46315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46316 (eval "$ac_compile") 2>conftest.er1
46317 ac_status=$?
46318 grep -v '^ *+' conftest.er1 >conftest.err
46319 rm -f conftest.er1
46320 cat conftest.err >&5
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); } && {
46323 test -z "$ac_cxx_werror_flag" ||
46324 test ! -s conftest.err
46325 } && test -s conftest.$ac_objext; then
46326
46327 wx_cv_var_timezone=__timezone
46328
46329 else
46330 echo "$as_me: failed program was:" >&5
46331 sed 's/^/| /' conftest.$ac_ext >&5
46332
46333
46334 if test "$USE_DOS" = 0 ; then
46335 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46336 echo "$as_me: WARNING: no timezone variable" >&2;}
46337 fi
46338
46339
46340 fi
46341
46342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46343
46344
46345 fi
46346
46347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46348
46349
46350 fi
46351
46352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46353 ac_ext=c
46354 ac_cpp='$CPP $CPPFLAGS'
46355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46358
46359
46360
46361 fi
46362 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46363 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46364
46365 if test "x$wx_cv_var_timezone" != x ; then
46366 cat >>confdefs.h <<_ACEOF
46367 #define WX_TIMEZONE $wx_cv_var_timezone
46368 _ACEOF
46369
46370 fi
46371
46372
46373 for ac_func in localtime
46374 do
46375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46379 echo $ECHO_N "(cached) $ECHO_C" >&6
46380 else
46381 cat >conftest.$ac_ext <<_ACEOF
46382 /* confdefs.h. */
46383 _ACEOF
46384 cat confdefs.h >>conftest.$ac_ext
46385 cat >>conftest.$ac_ext <<_ACEOF
46386 /* end confdefs.h. */
46387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46389 #define $ac_func innocuous_$ac_func
46390
46391 /* System header to define __stub macros and hopefully few prototypes,
46392 which can conflict with char $ac_func (); below.
46393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46394 <limits.h> exists even on freestanding compilers. */
46395
46396 #ifdef __STDC__
46397 # include <limits.h>
46398 #else
46399 # include <assert.h>
46400 #endif
46401
46402 #undef $ac_func
46403
46404 /* Override any GCC internal prototype to avoid an error.
46405 Use char because int might match the return type of a GCC
46406 builtin and then its argument prototype would still apply. */
46407 #ifdef __cplusplus
46408 extern "C"
46409 #endif
46410 char $ac_func ();
46411 /* The GNU C library defines this for functions which it implements
46412 to always fail with ENOSYS. Some functions are actually named
46413 something starting with __ and the normal name is an alias. */
46414 #if defined __stub_$ac_func || defined __stub___$ac_func
46415 choke me
46416 #endif
46417
46418 int
46419 main ()
46420 {
46421 return $ac_func ();
46422 ;
46423 return 0;
46424 }
46425 _ACEOF
46426 rm -f conftest.$ac_objext conftest$ac_exeext
46427 if { (ac_try="$ac_link"
46428 case "(($ac_try" in
46429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46431 esac
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_link") 2>conftest.er1
46434 ac_status=$?
46435 grep -v '^ *+' conftest.er1 >conftest.err
46436 rm -f conftest.er1
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_c_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest$ac_exeext &&
46443 $as_test_x conftest$ac_exeext; then
46444 eval "$as_ac_var=yes"
46445 else
46446 echo "$as_me: failed program was:" >&5
46447 sed 's/^/| /' conftest.$ac_ext >&5
46448
46449 eval "$as_ac_var=no"
46450 fi
46451
46452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46453 conftest$ac_exeext conftest.$ac_ext
46454 fi
46455 ac_res=`eval echo '${'$as_ac_var'}'`
46456 { echo "$as_me:$LINENO: result: $ac_res" >&5
46457 echo "${ECHO_T}$ac_res" >&6; }
46458 if test `eval echo '${'$as_ac_var'}'` = yes; then
46459 cat >>confdefs.h <<_ACEOF
46460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46461 _ACEOF
46462
46463 fi
46464 done
46465
46466
46467 if test "$ac_cv_func_localtime" = "yes"; then
46468 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46469 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46470 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46471 echo $ECHO_N "(cached) $ECHO_C" >&6
46472 else
46473
46474 cat >conftest.$ac_ext <<_ACEOF
46475 /* confdefs.h. */
46476 _ACEOF
46477 cat confdefs.h >>conftest.$ac_ext
46478 cat >>conftest.$ac_ext <<_ACEOF
46479 /* end confdefs.h. */
46480
46481 #include <time.h>
46482
46483 int
46484 main ()
46485 {
46486
46487 struct tm tm;
46488 tm.tm_gmtoff++;
46489
46490 ;
46491 return 0;
46492 }
46493 _ACEOF
46494 rm -f conftest.$ac_objext
46495 if { (ac_try="$ac_compile"
46496 case "(($ac_try" in
46497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46498 *) ac_try_echo=$ac_try;;
46499 esac
46500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46501 (eval "$ac_compile") 2>conftest.er1
46502 ac_status=$?
46503 grep -v '^ *+' conftest.er1 >conftest.err
46504 rm -f conftest.er1
46505 cat conftest.err >&5
46506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46507 (exit $ac_status); } && {
46508 test -z "$ac_c_werror_flag" ||
46509 test ! -s conftest.err
46510 } && test -s conftest.$ac_objext; then
46511
46512 wx_cv_struct_tm_has_gmtoff=yes
46513
46514 else
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46517
46518 wx_cv_struct_tm_has_gmtoff=no
46519
46520 fi
46521
46522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46523
46524 fi
46525 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46526 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46527 fi
46528
46529 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define WX_GMTOFF_IN_TM 1
46532 _ACEOF
46533
46534 fi
46535
46536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46537 fi
46538
46539
46540 if test "$wxUSE_SOCKETS" = "yes"; then
46541 if test "$wxUSE_MGL" = "1"; then
46542 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46543 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46544 wxUSE_SOCKETS="no"
46545 fi
46546 fi
46547
46548 if test "$wxUSE_SOCKETS" = "yes"; then
46549 if test "$TOOLKIT" != "MSW"; then
46550 { echo "$as_me:$LINENO: checking for socket" >&5
46551 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46552 if test "${ac_cv_func_socket+set}" = set; then
46553 echo $ECHO_N "(cached) $ECHO_C" >&6
46554 else
46555 cat >conftest.$ac_ext <<_ACEOF
46556 /* confdefs.h. */
46557 _ACEOF
46558 cat confdefs.h >>conftest.$ac_ext
46559 cat >>conftest.$ac_ext <<_ACEOF
46560 /* end confdefs.h. */
46561 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46563 #define socket innocuous_socket
46564
46565 /* System header to define __stub macros and hopefully few prototypes,
46566 which can conflict with char socket (); below.
46567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46568 <limits.h> exists even on freestanding compilers. */
46569
46570 #ifdef __STDC__
46571 # include <limits.h>
46572 #else
46573 # include <assert.h>
46574 #endif
46575
46576 #undef socket
46577
46578 /* Override any GCC internal prototype to avoid an error.
46579 Use char because int might match the return type of a GCC
46580 builtin and then its argument prototype would still apply. */
46581 #ifdef __cplusplus
46582 extern "C"
46583 #endif
46584 char socket ();
46585 /* The GNU C library defines this for functions which it implements
46586 to always fail with ENOSYS. Some functions are actually named
46587 something starting with __ and the normal name is an alias. */
46588 #if defined __stub_socket || defined __stub___socket
46589 choke me
46590 #endif
46591
46592 int
46593 main ()
46594 {
46595 return socket ();
46596 ;
46597 return 0;
46598 }
46599 _ACEOF
46600 rm -f conftest.$ac_objext conftest$ac_exeext
46601 if { (ac_try="$ac_link"
46602 case "(($ac_try" in
46603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46604 *) ac_try_echo=$ac_try;;
46605 esac
46606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46607 (eval "$ac_link") 2>conftest.er1
46608 ac_status=$?
46609 grep -v '^ *+' conftest.er1 >conftest.err
46610 rm -f conftest.er1
46611 cat conftest.err >&5
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); } && {
46614 test -z "$ac_c_werror_flag" ||
46615 test ! -s conftest.err
46616 } && test -s conftest$ac_exeext &&
46617 $as_test_x conftest$ac_exeext; then
46618 ac_cv_func_socket=yes
46619 else
46620 echo "$as_me: failed program was:" >&5
46621 sed 's/^/| /' conftest.$ac_ext >&5
46622
46623 ac_cv_func_socket=no
46624 fi
46625
46626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46627 conftest$ac_exeext conftest.$ac_ext
46628 fi
46629 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46630 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46631 if test $ac_cv_func_socket = yes; then
46632 :
46633 else
46634
46635 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46636 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46637 if test "${ac_cv_lib_socket_socket+set}" = set; then
46638 echo $ECHO_N "(cached) $ECHO_C" >&6
46639 else
46640 ac_check_lib_save_LIBS=$LIBS
46641 LIBS="-lsocket $LIBS"
46642 cat >conftest.$ac_ext <<_ACEOF
46643 /* confdefs.h. */
46644 _ACEOF
46645 cat confdefs.h >>conftest.$ac_ext
46646 cat >>conftest.$ac_ext <<_ACEOF
46647 /* end confdefs.h. */
46648
46649 /* Override any GCC internal prototype to avoid an error.
46650 Use char because int might match the return type of a GCC
46651 builtin and then its argument prototype would still apply. */
46652 #ifdef __cplusplus
46653 extern "C"
46654 #endif
46655 char socket ();
46656 int
46657 main ()
46658 {
46659 return socket ();
46660 ;
46661 return 0;
46662 }
46663 _ACEOF
46664 rm -f conftest.$ac_objext conftest$ac_exeext
46665 if { (ac_try="$ac_link"
46666 case "(($ac_try" in
46667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46668 *) ac_try_echo=$ac_try;;
46669 esac
46670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46671 (eval "$ac_link") 2>conftest.er1
46672 ac_status=$?
46673 grep -v '^ *+' conftest.er1 >conftest.err
46674 rm -f conftest.er1
46675 cat conftest.err >&5
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); } && {
46678 test -z "$ac_c_werror_flag" ||
46679 test ! -s conftest.err
46680 } && test -s conftest$ac_exeext &&
46681 $as_test_x conftest$ac_exeext; then
46682 ac_cv_lib_socket_socket=yes
46683 else
46684 echo "$as_me: failed program was:" >&5
46685 sed 's/^/| /' conftest.$ac_ext >&5
46686
46687 ac_cv_lib_socket_socket=no
46688 fi
46689
46690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46691 conftest$ac_exeext conftest.$ac_ext
46692 LIBS=$ac_check_lib_save_LIBS
46693 fi
46694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46695 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46696 if test $ac_cv_lib_socket_socket = yes; then
46697 if test "$INET_LINK" != " -lsocket"; then
46698 INET_LINK="$INET_LINK -lsocket"
46699 fi
46700 else
46701
46702 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46703 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46704 wxUSE_SOCKETS=no
46705
46706
46707 fi
46708
46709
46710
46711 fi
46712
46713 fi
46714 fi
46715
46716 if test "$wxUSE_SOCKETS" = "yes" ; then
46717 if test "$TOOLKIT" != "MSW"; then
46718 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46719 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46720 if test "${wx_cv_type_getsockname3+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723
46724 ac_ext=cpp
46725 ac_cpp='$CXXCPP $CPPFLAGS'
46726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46729
46730 cat >conftest.$ac_ext <<_ACEOF
46731 /* confdefs.h. */
46732 _ACEOF
46733 cat confdefs.h >>conftest.$ac_ext
46734 cat >>conftest.$ac_ext <<_ACEOF
46735 /* end confdefs.h. */
46736
46737 #include <sys/types.h>
46738 #include <sys/socket.h>
46739
46740 int
46741 main ()
46742 {
46743
46744 socklen_t len;
46745 getsockname(0, 0, &len);
46746
46747 ;
46748 return 0;
46749 }
46750 _ACEOF
46751 rm -f conftest.$ac_objext
46752 if { (ac_try="$ac_compile"
46753 case "(($ac_try" in
46754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46755 *) ac_try_echo=$ac_try;;
46756 esac
46757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46758 (eval "$ac_compile") 2>conftest.er1
46759 ac_status=$?
46760 grep -v '^ *+' conftest.er1 >conftest.err
46761 rm -f conftest.er1
46762 cat conftest.err >&5
46763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764 (exit $ac_status); } && {
46765 test -z "$ac_cxx_werror_flag" ||
46766 test ! -s conftest.err
46767 } && test -s conftest.$ac_objext; then
46768 wx_cv_type_getsockname3=socklen_t
46769 else
46770 echo "$as_me: failed program was:" >&5
46771 sed 's/^/| /' conftest.$ac_ext >&5
46772
46773
46774 CFLAGS_OLD="$CFLAGS"
46775 if test "$GCC" = yes ; then
46776 CFLAGS="-Werror $CFLAGS"
46777 fi
46778
46779 cat >conftest.$ac_ext <<_ACEOF
46780 /* confdefs.h. */
46781 _ACEOF
46782 cat confdefs.h >>conftest.$ac_ext
46783 cat >>conftest.$ac_ext <<_ACEOF
46784 /* end confdefs.h. */
46785
46786 #include <sys/types.h>
46787 #include <sys/socket.h>
46788
46789 int
46790 main ()
46791 {
46792
46793 size_t len;
46794 getsockname(0, 0, &len);
46795
46796 ;
46797 return 0;
46798 }
46799 _ACEOF
46800 rm -f conftest.$ac_objext
46801 if { (ac_try="$ac_compile"
46802 case "(($ac_try" in
46803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46804 *) ac_try_echo=$ac_try;;
46805 esac
46806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46807 (eval "$ac_compile") 2>conftest.er1
46808 ac_status=$?
46809 grep -v '^ *+' conftest.er1 >conftest.err
46810 rm -f conftest.er1
46811 cat conftest.err >&5
46812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813 (exit $ac_status); } && {
46814 test -z "$ac_cxx_werror_flag" ||
46815 test ! -s conftest.err
46816 } && test -s conftest.$ac_objext; then
46817 wx_cv_type_getsockname3=size_t
46818 else
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46821
46822 cat >conftest.$ac_ext <<_ACEOF
46823 /* confdefs.h. */
46824 _ACEOF
46825 cat confdefs.h >>conftest.$ac_ext
46826 cat >>conftest.$ac_ext <<_ACEOF
46827 /* end confdefs.h. */
46828
46829 #include <sys/types.h>
46830 #include <sys/socket.h>
46831
46832 int
46833 main ()
46834 {
46835
46836 int len;
46837 getsockname(0, 0, &len);
46838
46839 ;
46840 return 0;
46841 }
46842 _ACEOF
46843 rm -f conftest.$ac_objext
46844 if { (ac_try="$ac_compile"
46845 case "(($ac_try" in
46846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46847 *) ac_try_echo=$ac_try;;
46848 esac
46849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46850 (eval "$ac_compile") 2>conftest.er1
46851 ac_status=$?
46852 grep -v '^ *+' conftest.er1 >conftest.err
46853 rm -f conftest.er1
46854 cat conftest.err >&5
46855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856 (exit $ac_status); } && {
46857 test -z "$ac_cxx_werror_flag" ||
46858 test ! -s conftest.err
46859 } && test -s conftest.$ac_objext; then
46860 wx_cv_type_getsockname3=int
46861 else
46862 echo "$as_me: failed program was:" >&5
46863 sed 's/^/| /' conftest.$ac_ext >&5
46864
46865 wx_cv_type_getsockname3=unknown
46866
46867 fi
46868
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870
46871 fi
46872
46873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874
46875 CFLAGS="$CFLAGS_OLD"
46876
46877
46878 fi
46879
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46881 ac_ext=c
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46886
46887
46888 fi
46889 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46890 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46891
46892 if test "$wx_cv_type_getsockname3" = "unknown"; then
46893 wxUSE_SOCKETS=no
46894 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46895 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46896 else
46897 cat >>confdefs.h <<_ACEOF
46898 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46899 _ACEOF
46900
46901 fi
46902 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46903 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46904 if test "${wx_cv_type_getsockopt5+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46907
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46913
46914 cat >conftest.$ac_ext <<_ACEOF
46915 /* confdefs.h. */
46916 _ACEOF
46917 cat confdefs.h >>conftest.$ac_ext
46918 cat >>conftest.$ac_ext <<_ACEOF
46919 /* end confdefs.h. */
46920
46921 #include <sys/types.h>
46922 #include <sys/socket.h>
46923
46924 int
46925 main ()
46926 {
46927
46928 socklen_t len;
46929 getsockopt(0, 0, 0, 0, &len);
46930
46931 ;
46932 return 0;
46933 }
46934 _ACEOF
46935 rm -f conftest.$ac_objext
46936 if { (ac_try="$ac_compile"
46937 case "(($ac_try" in
46938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46939 *) ac_try_echo=$ac_try;;
46940 esac
46941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46942 (eval "$ac_compile") 2>conftest.er1
46943 ac_status=$?
46944 grep -v '^ *+' conftest.er1 >conftest.err
46945 rm -f conftest.er1
46946 cat conftest.err >&5
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); } && {
46949 test -z "$ac_cxx_werror_flag" ||
46950 test ! -s conftest.err
46951 } && test -s conftest.$ac_objext; then
46952 wx_cv_type_getsockopt5=socklen_t
46953 else
46954 echo "$as_me: failed program was:" >&5
46955 sed 's/^/| /' conftest.$ac_ext >&5
46956
46957
46958 cat >conftest.$ac_ext <<_ACEOF
46959 /* confdefs.h. */
46960 _ACEOF
46961 cat confdefs.h >>conftest.$ac_ext
46962 cat >>conftest.$ac_ext <<_ACEOF
46963 /* end confdefs.h. */
46964
46965 #include <sys/types.h>
46966 #include <sys/socket.h>
46967
46968 int
46969 main ()
46970 {
46971
46972 size_t len;
46973 getsockopt(0, 0, 0, 0, &len);
46974
46975 ;
46976 return 0;
46977 }
46978 _ACEOF
46979 rm -f conftest.$ac_objext
46980 if { (ac_try="$ac_compile"
46981 case "(($ac_try" in
46982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46983 *) ac_try_echo=$ac_try;;
46984 esac
46985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46986 (eval "$ac_compile") 2>conftest.er1
46987 ac_status=$?
46988 grep -v '^ *+' conftest.er1 >conftest.err
46989 rm -f conftest.er1
46990 cat conftest.err >&5
46991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46992 (exit $ac_status); } && {
46993 test -z "$ac_cxx_werror_flag" ||
46994 test ! -s conftest.err
46995 } && test -s conftest.$ac_objext; then
46996 wx_cv_type_getsockopt5=size_t
46997 else
46998 echo "$as_me: failed program was:" >&5
46999 sed 's/^/| /' conftest.$ac_ext >&5
47000
47001 cat >conftest.$ac_ext <<_ACEOF
47002 /* confdefs.h. */
47003 _ACEOF
47004 cat confdefs.h >>conftest.$ac_ext
47005 cat >>conftest.$ac_ext <<_ACEOF
47006 /* end confdefs.h. */
47007
47008 #include <sys/types.h>
47009 #include <sys/socket.h>
47010
47011 int
47012 main ()
47013 {
47014
47015 int len;
47016 getsockopt(0, 0, 0, 0, &len);
47017
47018 ;
47019 return 0;
47020 }
47021 _ACEOF
47022 rm -f conftest.$ac_objext
47023 if { (ac_try="$ac_compile"
47024 case "(($ac_try" in
47025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47026 *) ac_try_echo=$ac_try;;
47027 esac
47028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47029 (eval "$ac_compile") 2>conftest.er1
47030 ac_status=$?
47031 grep -v '^ *+' conftest.er1 >conftest.err
47032 rm -f conftest.er1
47033 cat conftest.err >&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); } && {
47036 test -z "$ac_cxx_werror_flag" ||
47037 test ! -s conftest.err
47038 } && test -s conftest.$ac_objext; then
47039 wx_cv_type_getsockopt5=int
47040 else
47041 echo "$as_me: failed program was:" >&5
47042 sed 's/^/| /' conftest.$ac_ext >&5
47043
47044 wx_cv_type_getsockopt5=unknown
47045
47046 fi
47047
47048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47049
47050 fi
47051
47052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47053
47054
47055 fi
47056
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47063
47064
47065 fi
47066 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47067 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47068
47069 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47070 wxUSE_SOCKETS=no
47071 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47072 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47073 else
47074 cat >>confdefs.h <<_ACEOF
47075 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47076 _ACEOF
47077
47078 fi
47079 fi
47080 fi
47081
47082 if test "$wxUSE_SOCKETS" = "yes" ; then
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_SOCKETS 1
47085 _ACEOF
47086
47087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47088 fi
47089
47090 if test "$wxUSE_PROTOCOL" = "yes"; then
47091 if test "$wxUSE_SOCKETS" != "yes"; then
47092 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47093 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47094 wxUSE_PROTOCOL=no
47095 fi
47096 fi
47097
47098 if test "$wxUSE_PROTOCOL" = "yes"; then
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_PROTOCOL 1
47101 _ACEOF
47102
47103
47104 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_PROTOCOL_HTTP 1
47107 _ACEOF
47108
47109 fi
47110 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47111 cat >>confdefs.h <<\_ACEOF
47112 #define wxUSE_PROTOCOL_FTP 1
47113 _ACEOF
47114
47115 fi
47116 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_PROTOCOL_FILE 1
47119 _ACEOF
47120
47121 fi
47122 else
47123 if test "$wxUSE_FS_INET" = "yes"; then
47124 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47125 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47126 wxUSE_FS_INET="no"
47127 fi
47128 fi
47129
47130 if test "$wxUSE_URL" = "yes"; then
47131 if test "$wxUSE_PROTOCOL" != "yes"; then
47132 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47133 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47134 wxUSE_URL=no
47135 fi
47136 if test "$wxUSE_URL" = "yes"; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_URL 1
47139 _ACEOF
47140
47141 fi
47142 fi
47143
47144 if test "$wxUSE_VARIANT" = "yes"; then
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_VARIANT 1
47147 _ACEOF
47148
47149 fi
47150
47151 if test "$wxUSE_FS_INET" = "yes"; then
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_FS_INET 1
47154 _ACEOF
47155
47156 fi
47157
47158
47159 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47160 wxUSE_JOYSTICK=no
47161
47162 if test "$TOOLKIT" = "MSW"; then
47163 wxUSE_JOYSTICK=yes
47164
47165 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47166 if test "$USE_DARWIN" = 1; then
47167 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47168 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174
47175 cat >conftest.$ac_ext <<_ACEOF
47176 /* confdefs.h. */
47177 _ACEOF
47178 cat confdefs.h >>conftest.$ac_ext
47179 cat >>conftest.$ac_ext <<_ACEOF
47180 /* end confdefs.h. */
47181 #include <IOKit/hid/IOHIDLib.h>
47182 int
47183 main ()
47184 {
47185 IOHIDQueueInterface *qi = NULL;
47186 IOHIDCallbackFunction cb = NULL;
47187 qi->setEventCallout(NULL, cb, NULL, NULL);
47188 ;
47189 return 0;
47190 }
47191 _ACEOF
47192 rm -f conftest.$ac_objext
47193 if { (ac_try="$ac_compile"
47194 case "(($ac_try" in
47195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47196 *) ac_try_echo=$ac_try;;
47197 esac
47198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47199 (eval "$ac_compile") 2>conftest.er1
47200 ac_status=$?
47201 grep -v '^ *+' conftest.er1 >conftest.err
47202 rm -f conftest.er1
47203 cat conftest.err >&5
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); } && {
47206 test -z "$ac_cxx_werror_flag" ||
47207 test ! -s conftest.err
47208 } && test -s conftest.$ac_objext; then
47209 wxUSE_JOYSTICK=yes
47210
47211 else
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47214
47215
47216 fi
47217
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47219 ac_ext=c
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47224
47225 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47226 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47227 fi
47228
47229 else
47230 if test "$wxUSE_MGL" != "1"; then
47231
47232 for ac_header in linux/joystick.h
47233 do
47234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47238 echo $ECHO_N "(cached) $ECHO_C" >&6
47239 else
47240 cat >conftest.$ac_ext <<_ACEOF
47241 /* confdefs.h. */
47242 _ACEOF
47243 cat confdefs.h >>conftest.$ac_ext
47244 cat >>conftest.$ac_ext <<_ACEOF
47245 /* end confdefs.h. */
47246 $ac_includes_default
47247
47248 #include <$ac_header>
47249 _ACEOF
47250 rm -f conftest.$ac_objext
47251 if { (ac_try="$ac_compile"
47252 case "(($ac_try" in
47253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47254 *) ac_try_echo=$ac_try;;
47255 esac
47256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47257 (eval "$ac_compile") 2>conftest.er1
47258 ac_status=$?
47259 grep -v '^ *+' conftest.er1 >conftest.err
47260 rm -f conftest.er1
47261 cat conftest.err >&5
47262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263 (exit $ac_status); } && {
47264 test -z "$ac_c_werror_flag" ||
47265 test ! -s conftest.err
47266 } && test -s conftest.$ac_objext; then
47267 eval "$as_ac_Header=yes"
47268 else
47269 echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.$ac_ext >&5
47271
47272 eval "$as_ac_Header=no"
47273 fi
47274
47275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47276 fi
47277 ac_res=`eval echo '${'$as_ac_Header'}'`
47278 { echo "$as_me:$LINENO: result: $ac_res" >&5
47279 echo "${ECHO_T}$ac_res" >&6; }
47280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47281 cat >>confdefs.h <<_ACEOF
47282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47283 _ACEOF
47284 wxUSE_JOYSTICK=yes
47285 fi
47286
47287 done
47288
47289 fi
47290 fi
47291
47292 if test "$wxUSE_JOYSTICK" = "yes"; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_JOYSTICK 1
47295 _ACEOF
47296
47297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47298 else
47299 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47300 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47301 fi
47302 fi
47303
47304
47305
47306 if test "$wxUSE_FONTENUM" = "yes" ; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_FONTENUM 1
47309 _ACEOF
47310
47311 fi
47312
47313 if test "$wxUSE_FONTMAP" = "yes" ; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_FONTMAP 1
47316 _ACEOF
47317
47318 fi
47319
47320 if test "$wxUSE_UNICODE" = "yes" ; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_UNICODE 1
47323 _ACEOF
47324
47325
47326 if test "$USE_WIN32" != 1; then
47327 wxUSE_UNICODE_MSLU=no
47328 fi
47329
47330 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47331 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47332 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47333 if test "${ac_cv_lib_unicows_main+set}" = set; then
47334 echo $ECHO_N "(cached) $ECHO_C" >&6
47335 else
47336 ac_check_lib_save_LIBS=$LIBS
47337 LIBS="-lunicows $LIBS"
47338 cat >conftest.$ac_ext <<_ACEOF
47339 /* confdefs.h. */
47340 _ACEOF
47341 cat confdefs.h >>conftest.$ac_ext
47342 cat >>conftest.$ac_ext <<_ACEOF
47343 /* end confdefs.h. */
47344
47345
47346 int
47347 main ()
47348 {
47349 return main ();
47350 ;
47351 return 0;
47352 }
47353 _ACEOF
47354 rm -f conftest.$ac_objext conftest$ac_exeext
47355 if { (ac_try="$ac_link"
47356 case "(($ac_try" in
47357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47358 *) ac_try_echo=$ac_try;;
47359 esac
47360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47361 (eval "$ac_link") 2>conftest.er1
47362 ac_status=$?
47363 grep -v '^ *+' conftest.er1 >conftest.err
47364 rm -f conftest.er1
47365 cat conftest.err >&5
47366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47367 (exit $ac_status); } && {
47368 test -z "$ac_c_werror_flag" ||
47369 test ! -s conftest.err
47370 } && test -s conftest$ac_exeext &&
47371 $as_test_x conftest$ac_exeext; then
47372 ac_cv_lib_unicows_main=yes
47373 else
47374 echo "$as_me: failed program was:" >&5
47375 sed 's/^/| /' conftest.$ac_ext >&5
47376
47377 ac_cv_lib_unicows_main=no
47378 fi
47379
47380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47381 conftest$ac_exeext conftest.$ac_ext
47382 LIBS=$ac_check_lib_save_LIBS
47383 fi
47384 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47385 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47386 if test $ac_cv_lib_unicows_main = yes; then
47387
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_UNICODE_MSLU 1
47390 _ACEOF
47391
47392
47393 else
47394
47395 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47396 Applications will only run on Windows NT/2000/XP!" >&5
47397 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47398 Applications will only run on Windows NT/2000/XP!" >&2;}
47399 wxUSE_UNICODE_MSLU=no
47400
47401 fi
47402
47403 fi
47404 fi
47405
47406 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_UNICODE_UTF8 1
47409 _ACEOF
47410
47411
47412 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_UTF8_LOCALE_ONLY 1
47415 _ACEOF
47416
47417 fi
47418 fi
47419
47420
47421 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_CONSTRAINTS 1
47424 _ACEOF
47425
47426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47427 fi
47428
47429 if test "$wxUSE_MDI" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_MDI 1
47432 _ACEOF
47433
47434
47435 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define wxUSE_MDI_ARCHITECTURE 1
47438 _ACEOF
47439
47440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47441 fi
47442 fi
47443
47444 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47447 _ACEOF
47448
47449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47450 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47452 fi
47453 fi
47454
47455 if test "$wxUSE_HELP" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_HELP 1
47458 _ACEOF
47459
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47461
47462 if test "$wxUSE_MSW" = 1; then
47463 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_MS_HTML_HELP 1
47466 _ACEOF
47467
47468 fi
47469 fi
47470
47471 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47472 if test "$wxUSE_HTML" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_WXHTML_HELP 1
47475 _ACEOF
47476
47477 else
47478 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47479 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47480 wxUSE_WXHTML_HELP=no
47481 fi
47482 fi
47483 fi
47484
47485 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47486 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47487 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47488 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47489 else
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_PRINTING_ARCHITECTURE 1
47492 _ACEOF
47493
47494 fi
47495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47496 fi
47497
47498 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_POSTSCRIPT 1
47501 _ACEOF
47502
47503 fi
47504
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47507 _ACEOF
47508
47509
47510 if test "$wxUSE_SVG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_SVG 1
47513 _ACEOF
47514
47515 fi
47516
47517
47518 if test "$wxUSE_METAFILE" = "yes"; then
47519 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47520 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47521 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47522 wxUSE_METAFILE=no
47523 fi
47524 fi
47525
47526
47527 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47528 -o "$wxUSE_CLIPBOARD" = "yes" \
47529 -o "$wxUSE_OLE" = "yes" \
47530 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47531 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47532 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47533 if test "${ac_cv_header_ole2_h+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47535 else
47536 cat >conftest.$ac_ext <<_ACEOF
47537 /* confdefs.h. */
47538 _ACEOF
47539 cat confdefs.h >>conftest.$ac_ext
47540 cat >>conftest.$ac_ext <<_ACEOF
47541 /* end confdefs.h. */
47542
47543
47544 #include <ole2.h>
47545 _ACEOF
47546 rm -f conftest.$ac_objext
47547 if { (ac_try="$ac_compile"
47548 case "(($ac_try" in
47549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47550 *) ac_try_echo=$ac_try;;
47551 esac
47552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47553 (eval "$ac_compile") 2>conftest.er1
47554 ac_status=$?
47555 grep -v '^ *+' conftest.er1 >conftest.err
47556 rm -f conftest.er1
47557 cat conftest.err >&5
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); } && {
47560 test -z "$ac_c_werror_flag" ||
47561 test ! -s conftest.err
47562 } && test -s conftest.$ac_objext; then
47563 ac_cv_header_ole2_h=yes
47564 else
47565 echo "$as_me: failed program was:" >&5
47566 sed 's/^/| /' conftest.$ac_ext >&5
47567
47568 ac_cv_header_ole2_h=no
47569 fi
47570
47571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47572 fi
47573 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47574 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47575
47576
47577
47578 if test "$ac_cv_header_ole2_h" = "yes" ; then
47579 if test "$GCC" = yes ; then
47580 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47581 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47582 cat >conftest.$ac_ext <<_ACEOF
47583 /* confdefs.h. */
47584 _ACEOF
47585 cat confdefs.h >>conftest.$ac_ext
47586 cat >>conftest.$ac_ext <<_ACEOF
47587 /* end confdefs.h. */
47588 #include <windows.h>
47589 #include <ole2.h>
47590 int
47591 main ()
47592 {
47593
47594 ;
47595 return 0;
47596 }
47597 _ACEOF
47598 rm -f conftest.$ac_objext
47599 if { (ac_try="$ac_compile"
47600 case "(($ac_try" in
47601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47602 *) ac_try_echo=$ac_try;;
47603 esac
47604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 (eval "$ac_compile") 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } && {
47612 test -z "$ac_c_werror_flag" ||
47613 test ! -s conftest.err
47614 } && test -s conftest.$ac_objext; then
47615 { echo "$as_me:$LINENO: result: no" >&5
47616 echo "${ECHO_T}no" >&6; }
47617 else
47618 echo "$as_me: failed program was:" >&5
47619 sed 's/^/| /' conftest.$ac_ext >&5
47620
47621 { echo "$as_me:$LINENO: result: yes" >&5
47622 echo "${ECHO_T}yes" >&6; }
47623 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47624 fi
47625
47626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47627 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47628 if test "$wxUSE_OLE" = "yes" ; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_OLE 1
47631 _ACEOF
47632
47633 cat >>confdefs.h <<\_ACEOF
47634 #define wxUSE_OLE_AUTOMATION 1
47635 _ACEOF
47636
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_ACTIVEX 1
47639 _ACEOF
47640
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47642 fi
47643 fi
47644
47645 if test "$wxUSE_DATAOBJ" = "yes" ; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_DATAOBJ 1
47648 _ACEOF
47649
47650 fi
47651 else
47652 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47653 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47654
47655 wxUSE_CLIPBOARD=no
47656 wxUSE_DRAG_AND_DROP=no
47657 wxUSE_DATAOBJ=no
47658 wxUSE_OLE=no
47659 fi
47660
47661 if test "$wxUSE_METAFILE" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_METAFILE 1
47664 _ACEOF
47665
47666
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_ENH_METAFILE 1
47669 _ACEOF
47670
47671 fi
47672 fi
47673
47674 if test "$wxUSE_IPC" = "yes"; then
47675 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47676 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47677 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47678 wxUSE_IPC=no
47679 fi
47680
47681 if test "$wxUSE_IPC" = "yes"; then
47682 cat >>confdefs.h <<\_ACEOF
47683 #define wxUSE_IPC 1
47684 _ACEOF
47685
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47687 fi
47688 fi
47689
47690 if test "$wxUSE_DATAOBJ" = "yes"; then
47691 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47692 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47693 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47694 wxUSE_DATAOBJ=no
47695 else
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_DATAOBJ 1
47698 _ACEOF
47699
47700 fi
47701 else
47702 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47703 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47704 wxUSE_CLIPBOARD=no
47705 wxUSE_DRAG_AND_DROP=no
47706 fi
47707
47708 if test "$wxUSE_CLIPBOARD" = "yes"; then
47709 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47710 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47711 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47712 wxUSE_CLIPBOARD=no
47713 fi
47714
47715 if test "$wxUSE_CLIPBOARD" = "yes"; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_CLIPBOARD 1
47718 _ACEOF
47719
47720 fi
47721 fi
47722
47723 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47724 if test "$wxUSE_GTK" = 1; then
47725 if test "$WXGTK12" != 1; then
47726 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47727 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47728 wxUSE_DRAG_AND_DROP=no
47729 fi
47730 fi
47731
47732 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47733 "$wxUSE_DFB" = 1; then
47734 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47735 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47736 wxUSE_DRAG_AND_DROP=no
47737 fi
47738
47739 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_DRAG_AND_DROP 1
47742 _ACEOF
47743
47744 fi
47745
47746 fi
47747
47748 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47750 fi
47751
47752 if test "$wxUSE_SPLINES" = "yes" ; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_SPLINES 1
47755 _ACEOF
47756
47757 fi
47758
47759 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_MOUSEWHEEL 1
47762 _ACEOF
47763
47764 fi
47765
47766
47767 USES_CONTROLS=0
47768 if test "$wxUSE_CONTROLS" = "yes"; then
47769 USES_CONTROLS=1
47770 fi
47771
47772 if test "$wxUSE_ACCEL" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_ACCEL 1
47775 _ACEOF
47776
47777 USES_CONTROLS=1
47778 fi
47779
47780 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_ANIMATIONCTRL 1
47783 _ACEOF
47784
47785 USES_CONTROLS=1
47786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47787 fi
47788
47789 if test "$wxUSE_BUTTON" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_BUTTON 1
47792 _ACEOF
47793
47794 USES_CONTROLS=1
47795 fi
47796
47797 if test "$wxUSE_BMPBUTTON" = "yes"; then
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_BMPBUTTON 1
47800 _ACEOF
47801
47802 USES_CONTROLS=1
47803 fi
47804
47805 if test "$wxUSE_CALCTRL" = "yes"; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_CALENDARCTRL 1
47808 _ACEOF
47809
47810 USES_CONTROLS=1
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47812 fi
47813
47814 if test "$wxUSE_CARET" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_CARET 1
47817 _ACEOF
47818
47819 USES_CONTROLS=1
47820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47821 fi
47822
47823 if test "$wxUSE_COLLPANE" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_COLLPANE 1
47826 _ACEOF
47827
47828 USES_CONTROLS=1
47829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47830 fi
47831
47832 if test "$wxUSE_COMBOBOX" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_COMBOBOX 1
47835 _ACEOF
47836
47837 USES_CONTROLS=1
47838 fi
47839
47840 if test "$wxUSE_COMBOCTRL" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_COMBOCTRL 1
47843 _ACEOF
47844
47845 USES_CONTROLS=1
47846 fi
47847
47848 if test "$wxUSE_CHOICE" = "yes"; then
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_CHOICE 1
47851 _ACEOF
47852
47853 USES_CONTROLS=1
47854 fi
47855
47856 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_CHOICEBOOK 1
47859 _ACEOF
47860
47861 USES_CONTROLS=1
47862 fi
47863
47864 if test "$wxUSE_CHECKBOX" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_CHECKBOX 1
47867 _ACEOF
47868
47869 USES_CONTROLS=1
47870 fi
47871
47872 if test "$wxUSE_CHECKLST" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_CHECKLISTBOX 1
47875 _ACEOF
47876
47877 USES_CONTROLS=1
47878 fi
47879
47880 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_COLOURPICKERCTRL 1
47883 _ACEOF
47884
47885 USES_CONTROLS=1
47886 fi
47887
47888 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_DATEPICKCTRL 1
47891 _ACEOF
47892
47893 USES_CONTROLS=1
47894 fi
47895
47896 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_DIRPICKERCTRL 1
47899 _ACEOF
47900
47901 USES_CONTROLS=1
47902 fi
47903
47904 if test "$wxUSE_FILECTRL" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_FILECTRL 1
47907 _ACEOF
47908
47909 USES_CONTROLS=1
47910 fi
47911
47912 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_FILEPICKERCTRL 1
47915 _ACEOF
47916
47917 USES_CONTROLS=1
47918 fi
47919
47920 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_FONTPICKERCTRL 1
47923 _ACEOF
47924
47925 USES_CONTROLS=1
47926 fi
47927
47928 if test "$wxUSE_DISPLAY" = "yes"; then
47929 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47931 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47932 wxUSE_DISPLAY=no
47933 else
47934 cat >>confdefs.h <<\_ACEOF
47935 #define wxUSE_DISPLAY 1
47936 _ACEOF
47937
47938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47939 fi
47940 fi
47941
47942 if test "$wxUSE_DETECT_SM" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_DETECT_SM 1
47945 _ACEOF
47946
47947 fi
47948
47949 if test "$wxUSE_GAUGE" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_GAUGE 1
47952 _ACEOF
47953
47954 USES_CONTROLS=1
47955 fi
47956
47957 if test "$wxUSE_GRID" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_GRID 1
47960 _ACEOF
47961
47962 USES_CONTROLS=1
47963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47964 fi
47965
47966 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_HYPERLINKCTRL 1
47969 _ACEOF
47970
47971 USES_CONTROLS=1
47972 fi
47973
47974 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47975 cat >>confdefs.h <<\_ACEOF
47976 #define wxUSE_BITMAPCOMBOBOX 1
47977 _ACEOF
47978
47979 USES_CONTROLS=1
47980 fi
47981
47982 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_DATAVIEWCTRL 1
47985 _ACEOF
47986
47987 USES_CONTROLS=1
47988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47989 fi
47990
47991 if test "$wxUSE_IMAGLIST" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_IMAGLIST 1
47994 _ACEOF
47995
47996 fi
47997
47998 if test "$wxUSE_LISTBOOK" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_LISTBOOK 1
48001 _ACEOF
48002
48003 USES_CONTROLS=1
48004 fi
48005
48006 if test "$wxUSE_LISTBOX" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_LISTBOX 1
48009 _ACEOF
48010
48011 USES_CONTROLS=1
48012 fi
48013
48014 if test "$wxUSE_LISTCTRL" = "yes"; then
48015 if test "$wxUSE_IMAGLIST" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_LISTCTRL 1
48018 _ACEOF
48019
48020 USES_CONTROLS=1
48021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48022 else
48023 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48024 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48025 fi
48026 fi
48027
48028 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_EDITABLELISTBOX 1
48031 _ACEOF
48032
48033 USES_CONTROLS=1
48034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48035 fi
48036
48037 if test "$wxUSE_NOTEBOOK" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_NOTEBOOK 1
48040 _ACEOF
48041
48042 USES_CONTROLS=1
48043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48044 fi
48045
48046 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_ODCOMBOBOX 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48053 fi
48054
48055 if test "$wxUSE_RADIOBOX" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_RADIOBOX 1
48058 _ACEOF
48059
48060 USES_CONTROLS=1
48061 fi
48062
48063 if test "$wxUSE_RADIOBTN" = "yes"; then
48064 cat >>confdefs.h <<\_ACEOF
48065 #define wxUSE_RADIOBTN 1
48066 _ACEOF
48067
48068 USES_CONTROLS=1
48069 fi
48070
48071 if test "$wxUSE_SASH" = "yes"; then
48072 cat >>confdefs.h <<\_ACEOF
48073 #define wxUSE_SASH 1
48074 _ACEOF
48075
48076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48077 fi
48078
48079 if test "$wxUSE_SCROLLBAR" = "yes"; then
48080 cat >>confdefs.h <<\_ACEOF
48081 #define wxUSE_SCROLLBAR 1
48082 _ACEOF
48083
48084 USES_CONTROLS=1
48085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48086 fi
48087
48088 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_SEARCHCTRL 1
48091 _ACEOF
48092
48093 USES_CONTROLS=1
48094 fi
48095
48096 if test "$wxUSE_SLIDER" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_SLIDER 1
48099 _ACEOF
48100
48101 USES_CONTROLS=1
48102 fi
48103
48104 if test "$wxUSE_SPINBTN" = "yes"; then
48105 cat >>confdefs.h <<\_ACEOF
48106 #define wxUSE_SPINBTN 1
48107 _ACEOF
48108
48109 USES_CONTROLS=1
48110 fi
48111
48112 if test "$wxUSE_SPINCTRL" = "yes"; then
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_SPINCTRL 1
48115 _ACEOF
48116
48117 USES_CONTROLS=1
48118 fi
48119
48120 if test "$wxUSE_SPLITTER" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_SPLITTER 1
48123 _ACEOF
48124
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48126 fi
48127
48128 if test "$wxUSE_STATBMP" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_STATBMP 1
48131 _ACEOF
48132
48133 USES_CONTROLS=1
48134 fi
48135
48136 if test "$wxUSE_STATBOX" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_STATBOX 1
48139 _ACEOF
48140
48141 USES_CONTROLS=1
48142 fi
48143
48144 if test "$wxUSE_STATTEXT" = "yes"; then
48145 cat >>confdefs.h <<\_ACEOF
48146 #define wxUSE_STATTEXT 1
48147 _ACEOF
48148
48149 USES_CONTROLS=1
48150 fi
48151
48152 if test "$wxUSE_STATLINE" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_STATLINE 1
48155 _ACEOF
48156
48157 USES_CONTROLS=1
48158 fi
48159
48160 if test "$wxUSE_STATUSBAR" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_NATIVE_STATUSBAR 1
48163 _ACEOF
48164
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_STATUSBAR 1
48167 _ACEOF
48168
48169 USES_CONTROLS=1
48170
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48172 fi
48173
48174 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_TAB_DIALOG 1
48177 _ACEOF
48178
48179 fi
48180
48181 if test "$wxUSE_TEXTCTRL" = "yes"; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_TEXTCTRL 1
48184 _ACEOF
48185
48186 USES_CONTROLS=1
48187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48188 fi
48189
48190 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48191 if test "$wxUSE_COCOA" = 1 ; then
48192 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48193 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48194 wxUSE_TOGGLEBTN=no
48195 fi
48196
48197 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_TOGGLEBTN 1
48200 _ACEOF
48201
48202 USES_CONTROLS=1
48203 fi
48204 fi
48205
48206 if test "$wxUSE_TOOLBAR" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_TOOLBAR 1
48209 _ACEOF
48210
48211 USES_CONTROLS=1
48212
48213 if test "$wxUSE_UNIVERSAL" = "yes"; then
48214 wxUSE_TOOLBAR_NATIVE="no"
48215 else
48216 wxUSE_TOOLBAR_NATIVE="yes"
48217 cat >>confdefs.h <<\_ACEOF
48218 #define wxUSE_TOOLBAR_NATIVE 1
48219 _ACEOF
48220
48221 fi
48222
48223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48224 fi
48225
48226 if test "$wxUSE_TOOLTIPS" = "yes"; then
48227 if test "$wxUSE_MOTIF" = 1; then
48228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48229 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48230 else
48231 if test "$wxUSE_UNIVERSAL" = "yes"; then
48232 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48233 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48234 else
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_TOOLTIPS 1
48237 _ACEOF
48238
48239 fi
48240 fi
48241 fi
48242
48243 if test "$wxUSE_TREEBOOK" = "yes"; then
48244 cat >>confdefs.h <<\_ACEOF
48245 #define wxUSE_TREEBOOK 1
48246 _ACEOF
48247
48248 USES_CONTROLS=1
48249 fi
48250
48251 if test "$wxUSE_TOOLBOOK" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_TOOLBOOK 1
48254 _ACEOF
48255
48256 USES_CONTROLS=1
48257 fi
48258
48259 if test "$wxUSE_TREECTRL" = "yes"; then
48260 if test "$wxUSE_IMAGLIST" = "yes"; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_TREECTRL 1
48263 _ACEOF
48264
48265 USES_CONTROLS=1
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48267 else
48268 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48269 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48270 fi
48271 fi
48272
48273 if test "$wxUSE_POPUPWIN" = "yes"; then
48274 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48275 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48276 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48277 else
48278 if test "$wxUSE_PM" = 1; then
48279 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48280 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48281 else
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_POPUPWIN 1
48284 _ACEOF
48285
48286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48287
48288 USES_CONTROLS=1
48289 fi
48290 fi
48291 fi
48292
48293 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48294 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48295 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48296 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48297 else
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_DIALUP_MANAGER 1
48300 _ACEOF
48301
48302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48303 fi
48304 fi
48305
48306 if test "$wxUSE_TIPWINDOW" = "yes"; then
48307 if test "$wxUSE_PM" = 1; then
48308 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48309 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48310 else
48311 cat >>confdefs.h <<\_ACEOF
48312 #define wxUSE_TIPWINDOW 1
48313 _ACEOF
48314
48315 fi
48316 fi
48317
48318 if test "$USES_CONTROLS" = 1; then
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_CONTROLS 1
48321 _ACEOF
48322
48323 fi
48324
48325
48326 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48327 cat >>confdefs.h <<\_ACEOF
48328 #define wxUSE_ACCESSIBILITY 1
48329 _ACEOF
48330
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48332 fi
48333
48334 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48335 cat >>confdefs.h <<\_ACEOF
48336 #define wxUSE_DRAGIMAGE 1
48337 _ACEOF
48338
48339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48340 fi
48341
48342 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48343 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48344 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48345 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48346 else
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_EXCEPTIONS 1
48349 _ACEOF
48350
48351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48352 fi
48353 fi
48354
48355 USE_HTML=0
48356 if test "$wxUSE_HTML" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_HTML 1
48359 _ACEOF
48360
48361 USE_HTML=1
48362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48363 if test "$wxUSE_MAC" = 1; then
48364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48365 fi
48366 fi
48367 if test "$wxUSE_WEBKIT" = "yes"; then
48368 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48369 old_CPPFLAGS="$CPPFLAGS"
48370 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48371 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48372 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48373 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48374 echo $ECHO_N "(cached) $ECHO_C" >&6
48375 else
48376 cat >conftest.$ac_ext <<_ACEOF
48377 /* confdefs.h. */
48378 _ACEOF
48379 cat confdefs.h >>conftest.$ac_ext
48380 cat >>conftest.$ac_ext <<_ACEOF
48381 /* end confdefs.h. */
48382
48383 #include <Carbon/Carbon.h>
48384 #include <WebKit/WebKit.h>
48385
48386
48387 #include <WebKit/HIWebView.h>
48388 _ACEOF
48389 rm -f conftest.$ac_objext
48390 if { (ac_try="$ac_compile"
48391 case "(($ac_try" in
48392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48393 *) ac_try_echo=$ac_try;;
48394 esac
48395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48396 (eval "$ac_compile") 2>conftest.er1
48397 ac_status=$?
48398 grep -v '^ *+' conftest.er1 >conftest.err
48399 rm -f conftest.er1
48400 cat conftest.err >&5
48401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48402 (exit $ac_status); } && {
48403 test -z "$ac_c_werror_flag" ||
48404 test ! -s conftest.err
48405 } && test -s conftest.$ac_objext; then
48406 ac_cv_header_WebKit_HIWebView_h=yes
48407 else
48408 echo "$as_me: failed program was:" >&5
48409 sed 's/^/| /' conftest.$ac_ext >&5
48410
48411 ac_cv_header_WebKit_HIWebView_h=no
48412 fi
48413
48414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48415 fi
48416 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48417 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48418 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48419
48420 cat >>confdefs.h <<\_ACEOF
48421 #define wxUSE_WEBKIT 1
48422 _ACEOF
48423
48424 WEBKIT_LINK="-framework WebKit"
48425
48426 else
48427
48428 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48429 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48430 wxUSE_WEBKIT=no
48431
48432 fi
48433
48434
48435 CPPFLAGS="$old_CPPFLAGS"
48436 elif test "$wxUSE_COCOA" = 1; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_WEBKIT 1
48439 _ACEOF
48440
48441 else
48442 wxUSE_WEBKIT=no
48443 fi
48444 fi
48445
48446 USE_XRC=0
48447 if test "$wxUSE_XRC" = "yes"; then
48448 if test "$wxUSE_XML" != "yes"; then
48449 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48450 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48451 wxUSE_XRC=no
48452 else
48453 cat >>confdefs.h <<\_ACEOF
48454 #define wxUSE_XRC 1
48455 _ACEOF
48456
48457 USE_XRC=1
48458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48459 fi
48460 fi
48461
48462 USE_AUI=0
48463 if test "$wxUSE_AUI" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_AUI 1
48466 _ACEOF
48467
48468 USE_AUI=1
48469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48470 fi
48471
48472 USE_STC=0
48473 if test "$wxUSE_STC" = "yes"; then
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_STC 1
48476 _ACEOF
48477
48478 USE_STC=1
48479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48480 fi
48481
48482 if test "$wxUSE_MENUS" = "yes"; then
48483 cat >>confdefs.h <<\_ACEOF
48484 #define wxUSE_MENUS 1
48485 _ACEOF
48486
48487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48488 fi
48489
48490 if test "$wxUSE_METAFILE" = "yes"; then
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_METAFILE 1
48493 _ACEOF
48494
48495 fi
48496
48497 if test "$wxUSE_MIMETYPE" = "yes"; then
48498 cat >>confdefs.h <<\_ACEOF
48499 #define wxUSE_MIMETYPE 1
48500 _ACEOF
48501
48502 fi
48503
48504 if test "$wxUSE_MINIFRAME" = "yes"; then
48505 cat >>confdefs.h <<\_ACEOF
48506 #define wxUSE_MINIFRAME 1
48507 _ACEOF
48508
48509 fi
48510
48511 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48512 cat >>confdefs.h <<\_ACEOF
48513 #define wxUSE_SYSTEM_OPTIONS 1
48514 _ACEOF
48515
48516 fi
48517
48518 if test "$wxUSE_TASKBARICON" = "yes"; then
48519 cat >>confdefs.h <<\_ACEOF
48520 #define wxUSE_TASKBARICON 1
48521 _ACEOF
48522
48523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48524 fi
48525
48526
48527 if test "$wxUSE_VALIDATORS" = "yes"; then
48528 cat >>confdefs.h <<\_ACEOF
48529 #define wxUSE_VALIDATORS 1
48530 _ACEOF
48531
48532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48533 fi
48534
48535 if test "$wxUSE_PALETTE" = "yes" ; then
48536 if test "$wxUSE_DFB" = 1; then
48537 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48538 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48539 wxUSE_PALETTE=no
48540 else
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_PALETTE 1
48543 _ACEOF
48544
48545 fi
48546 fi
48547
48548 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48549 LIBS=" -lunicows $LIBS"
48550 fi
48551
48552 USE_RICHTEXT=0
48553 if test "$wxUSE_RICHTEXT" = "yes"; then
48554 cat >>confdefs.h <<\_ACEOF
48555 #define wxUSE_RICHTEXT 1
48556 _ACEOF
48557
48558 USE_RICHTEXT=1
48559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48560 fi
48561
48562
48563 if test "$wxUSE_IMAGE" = "yes" ; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_IMAGE 1
48566 _ACEOF
48567
48568
48569 if test "$wxUSE_GIF" = "yes" ; then
48570 cat >>confdefs.h <<\_ACEOF
48571 #define wxUSE_GIF 1
48572 _ACEOF
48573
48574 fi
48575
48576 if test "$wxUSE_PCX" = "yes" ; then
48577 cat >>confdefs.h <<\_ACEOF
48578 #define wxUSE_PCX 1
48579 _ACEOF
48580
48581 fi
48582
48583 if test "$wxUSE_TGA" = "yes" ; then
48584 cat >>confdefs.h <<\_ACEOF
48585 #define wxUSE_TGA 1
48586 _ACEOF
48587
48588 fi
48589
48590 if test "$wxUSE_IFF" = "yes" ; then
48591 cat >>confdefs.h <<\_ACEOF
48592 #define wxUSE_IFF 1
48593 _ACEOF
48594
48595 fi
48596
48597 if test "$wxUSE_PNM" = "yes" ; then
48598 cat >>confdefs.h <<\_ACEOF
48599 #define wxUSE_PNM 1
48600 _ACEOF
48601
48602 fi
48603
48604 if test "$wxUSE_XPM" = "yes" ; then
48605 cat >>confdefs.h <<\_ACEOF
48606 #define wxUSE_XPM 1
48607 _ACEOF
48608
48609 fi
48610
48611 if test "$wxUSE_ICO_CUR" = "yes" ; then
48612 cat >>confdefs.h <<\_ACEOF
48613 #define wxUSE_ICO_CUR 1
48614 _ACEOF
48615
48616 fi
48617 fi
48618
48619
48620 if test "$wxUSE_ABOUTDLG" = "yes"; then
48621 cat >>confdefs.h <<\_ACEOF
48622 #define wxUSE_ABOUTDLG 1
48623 _ACEOF
48624
48625 fi
48626
48627 if test "$wxUSE_CHOICEDLG" = "yes"; then
48628 cat >>confdefs.h <<\_ACEOF
48629 #define wxUSE_CHOICEDLG 1
48630 _ACEOF
48631
48632 fi
48633
48634 if test "$wxUSE_COLOURDLG" = "yes"; then
48635 cat >>confdefs.h <<\_ACEOF
48636 #define wxUSE_COLOURDLG 1
48637 _ACEOF
48638
48639 fi
48640
48641 if test "$wxUSE_FILEDLG" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_FILEDLG 1
48644 _ACEOF
48645
48646 fi
48647
48648 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_FINDREPLDLG 1
48651 _ACEOF
48652
48653 fi
48654
48655 if test "$wxUSE_FONTDLG" = "yes"; then
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_FONTDLG 1
48658 _ACEOF
48659
48660 fi
48661
48662 if test "$wxUSE_DIRDLG" = "yes"; then
48663 if test "$wxUSE_TREECTRL" != "yes"; then
48664 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48665 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48666 else
48667 cat >>confdefs.h <<\_ACEOF
48668 #define wxUSE_DIRDLG 1
48669 _ACEOF
48670
48671 fi
48672 fi
48673
48674 if test "$wxUSE_MSGDLG" = "yes"; then
48675 cat >>confdefs.h <<\_ACEOF
48676 #define wxUSE_MSGDLG 1
48677 _ACEOF
48678
48679 fi
48680
48681 if test "$wxUSE_NUMBERDLG" = "yes"; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_NUMBERDLG 1
48684 _ACEOF
48685
48686 fi
48687
48688 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48689 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48690 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48691 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48692 else
48693 cat >>confdefs.h <<\_ACEOF
48694 #define wxUSE_PROGRESSDLG 1
48695 _ACEOF
48696
48697 fi
48698 fi
48699
48700 if test "$wxUSE_SPLASH" = "yes"; then
48701 cat >>confdefs.h <<\_ACEOF
48702 #define wxUSE_SPLASH 1
48703 _ACEOF
48704
48705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48706 fi
48707
48708 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48709 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48710 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48711 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48712 else
48713 cat >>confdefs.h <<\_ACEOF
48714 #define wxUSE_STARTUP_TIPS 1
48715 _ACEOF
48716
48717 fi
48718 fi
48719
48720 if test "$wxUSE_TEXTDLG" = "yes"; then
48721 cat >>confdefs.h <<\_ACEOF
48722 #define wxUSE_TEXTDLG 1
48723 _ACEOF
48724
48725 fi
48726
48727 if test "$wxUSE_WIZARDDLG" = "yes"; then
48728 cat >>confdefs.h <<\_ACEOF
48729 #define wxUSE_WIZARDDLG 1
48730 _ACEOF
48731
48732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48733 fi
48734
48735
48736 if test "$wxUSE_MSW" = 1 ; then
48737
48738 if test "$wxUSE_DC_CACHEING" = "yes"; then
48739 cat >>confdefs.h <<\_ACEOF
48740 #define wxUSE_DC_CACHEING 1
48741 _ACEOF
48742
48743 fi
48744
48745 if test "$wxUSE_DIB" = "yes"; then
48746 cat >>confdefs.h <<\_ACEOF
48747 #define wxUSE_WXDIB 1
48748 _ACEOF
48749
48750 fi
48751
48752 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48753 cat >>confdefs.h <<\_ACEOF
48754 #define wxUSE_OWNER_DRAWN 1
48755 _ACEOF
48756
48757 fi
48758
48759 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48762 _ACEOF
48763
48764 fi
48765
48766 if test "$wxUSE_UXTHEME" = "yes"; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_UXTHEME 1
48769 _ACEOF
48770
48771 fi
48772
48773 fi
48774
48775
48776 if test "$USE_WIN32" = 1 ; then
48777 if test "$wxUSE_INICONF" = "yes"; then
48778 cat >>confdefs.h <<\_ACEOF
48779 #define wxUSE_INICONF 1
48780 _ACEOF
48781
48782 fi
48783
48784 if test "$wxUSE_REGKEY" = "yes"; then
48785 cat >>confdefs.h <<\_ACEOF
48786 #define wxUSE_REGKEY 1
48787 _ACEOF
48788
48789 fi
48790 fi
48791
48792
48793 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48794 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48795 cat >>confdefs.h <<\_ACEOF
48796 #define wxUSE_GRAPHICS_CONTEXT 1
48797 _ACEOF
48798
48799 elif test "$wxUSE_GTK" != 1; then
48800 cat >>confdefs.h <<\_ACEOF
48801 #define wxUSE_GRAPHICS_CONTEXT 1
48802 _ACEOF
48803
48804 else
48805
48806 pkg_failed=no
48807 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48808 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48809
48810 if test -n "$PKG_CONFIG"; then
48811 if test -n "$CAIRO_CFLAGS"; then
48812 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48813 else
48814 if test -n "$PKG_CONFIG" && \
48815 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48816 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48817 ac_status=$?
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); }; then
48820 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48821 else
48822 pkg_failed=yes
48823 fi
48824 fi
48825 else
48826 pkg_failed=untried
48827 fi
48828 if test -n "$PKG_CONFIG"; then
48829 if test -n "$CAIRO_LIBS"; then
48830 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48831 else
48832 if test -n "$PKG_CONFIG" && \
48833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48834 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48835 ac_status=$?
48836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48837 (exit $ac_status); }; then
48838 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48839 else
48840 pkg_failed=yes
48841 fi
48842 fi
48843 else
48844 pkg_failed=untried
48845 fi
48846
48847
48848
48849 if test $pkg_failed = yes; then
48850
48851 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48852 _pkg_short_errors_supported=yes
48853 else
48854 _pkg_short_errors_supported=no
48855 fi
48856 if test $_pkg_short_errors_supported = yes; then
48857 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48858 else
48859 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48860 fi
48861 # Put the nasty error message in config.log where it belongs
48862 echo "$CAIRO_PKG_ERRORS" >&5
48863
48864 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48865 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48866
48867 elif test $pkg_failed = untried; then
48868 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48869 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48870
48871 else
48872 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48873 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48874 { echo "$as_me:$LINENO: result: yes" >&5
48875 echo "${ECHO_T}yes" >&6; }
48876 cat >>confdefs.h <<\_ACEOF
48877 #define wxUSE_GRAPHICS_CONTEXT 1
48878 _ACEOF
48879
48880 fi
48881 fi
48882 fi
48883
48884
48885 USE_MEDIA=0
48886
48887 if test "$wxUSE_MEDIACTRL" = "yes"; then
48888 USE_MEDIA=1
48889
48890 if test "$wxUSE_GTK" = 1; then
48891 wxUSE_GSTREAMER="no"
48892
48893 GST_VERSION_MAJOR=0
48894 GST_VERSION_MINOR=10
48895 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48896
48897 if test "$wxUSE_GSTREAMER8" = "no"; then
48898
48899 pkg_failed=no
48900 { echo "$as_me:$LINENO: checking for GST" >&5
48901 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48902
48903 if test -n "$PKG_CONFIG"; then
48904 if test -n "$GST_CFLAGS"; then
48905 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48906 else
48907 if test -n "$PKG_CONFIG" && \
48908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48909 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48910 ac_status=$?
48911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912 (exit $ac_status); }; then
48913 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48914 else
48915 pkg_failed=yes
48916 fi
48917 fi
48918 else
48919 pkg_failed=untried
48920 fi
48921 if test -n "$PKG_CONFIG"; then
48922 if test -n "$GST_LIBS"; then
48923 pkg_cv_GST_LIBS="$GST_LIBS"
48924 else
48925 if test -n "$PKG_CONFIG" && \
48926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48927 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48928 ac_status=$?
48929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930 (exit $ac_status); }; then
48931 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48932 else
48933 pkg_failed=yes
48934 fi
48935 fi
48936 else
48937 pkg_failed=untried
48938 fi
48939
48940
48941
48942 if test $pkg_failed = yes; then
48943
48944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48945 _pkg_short_errors_supported=yes
48946 else
48947 _pkg_short_errors_supported=no
48948 fi
48949 if test $_pkg_short_errors_supported = yes; then
48950 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48951 else
48952 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48953 fi
48954 # Put the nasty error message in config.log where it belongs
48955 echo "$GST_PKG_ERRORS" >&5
48956
48957
48958 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48959 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48960 GST_VERSION_MINOR=8
48961
48962
48963 elif test $pkg_failed = untried; then
48964
48965 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48966 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48967 GST_VERSION_MINOR=8
48968
48969
48970 else
48971 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48972 GST_LIBS=$pkg_cv_GST_LIBS
48973 { echo "$as_me:$LINENO: result: yes" >&5
48974 echo "${ECHO_T}yes" >&6; }
48975
48976 wxUSE_GSTREAMER="yes"
48977 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48978
48979 fi
48980 else
48981 GST_VERSION_MINOR=8
48982 fi
48983
48984 if test $GST_VERSION_MINOR = "8"; then
48985 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48986
48987 pkg_failed=no
48988 { echo "$as_me:$LINENO: checking for GST" >&5
48989 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48990
48991 if test -n "$PKG_CONFIG"; then
48992 if test -n "$GST_CFLAGS"; then
48993 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48994 else
48995 if test -n "$PKG_CONFIG" && \
48996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48997 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48998 ac_status=$?
48999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49000 (exit $ac_status); }; then
49001 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49002 else
49003 pkg_failed=yes
49004 fi
49005 fi
49006 else
49007 pkg_failed=untried
49008 fi
49009 if test -n "$PKG_CONFIG"; then
49010 if test -n "$GST_LIBS"; then
49011 pkg_cv_GST_LIBS="$GST_LIBS"
49012 else
49013 if test -n "$PKG_CONFIG" && \
49014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49015 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49016 ac_status=$?
49017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018 (exit $ac_status); }; then
49019 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49020 else
49021 pkg_failed=yes
49022 fi
49023 fi
49024 else
49025 pkg_failed=untried
49026 fi
49027
49028
49029
49030 if test $pkg_failed = yes; then
49031
49032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49033 _pkg_short_errors_supported=yes
49034 else
49035 _pkg_short_errors_supported=no
49036 fi
49037 if test $_pkg_short_errors_supported = yes; then
49038 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49039 else
49040 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49041 fi
49042 # Put the nasty error message in config.log where it belongs
49043 echo "$GST_PKG_ERRORS" >&5
49044
49045
49046 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49047 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49048
49049 elif test $pkg_failed = untried; then
49050
49051 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49052 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49053
49054 else
49055 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49056 GST_LIBS=$pkg_cv_GST_LIBS
49057 { echo "$as_me:$LINENO: result: yes" >&5
49058 echo "${ECHO_T}yes" >&6; }
49059 wxUSE_GSTREAMER="yes"
49060 fi
49061 fi
49062
49063
49064 if test "$wxUSE_GSTREAMER" = "yes"; then
49065 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49066 LIBS="$GST_LIBS $LIBS"
49067
49068 cat >>confdefs.h <<\_ACEOF
49069 #define wxUSE_GSTREAMER 1
49070 _ACEOF
49071
49072 else
49073 USE_MEDIA=0
49074 fi
49075 fi
49076
49077 if test $USE_MEDIA = 1; then
49078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49079 cat >>confdefs.h <<\_ACEOF
49080 #define wxUSE_MEDIACTRL 1
49081 _ACEOF
49082
49083 fi
49084 fi
49085
49086
49087 if test "$cross_compiling" = "yes"; then
49088 OSINFO="\"$host\""
49089 else
49090 OSINFO=`uname -s -r -m`
49091 OSINFO="\"$OSINFO\""
49092 fi
49093
49094 cat >>confdefs.h <<_ACEOF
49095 #define WXWIN_OS_DESCRIPTION $OSINFO
49096 _ACEOF
49097
49098
49099
49100 if test "x$prefix" != "xNONE"; then
49101 wxPREFIX=$prefix
49102 else
49103 wxPREFIX=$ac_default_prefix
49104 fi
49105
49106 cat >>confdefs.h <<_ACEOF
49107 #define wxINSTALL_PREFIX "$wxPREFIX"
49108 _ACEOF
49109
49110
49111
49112
49113 STD_BASE_LIBS="base"
49114 STD_GUI_LIBS=""
49115 BUILT_WX_LIBS="base"
49116 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49117
49118 if test "$wxUSE_SOCKETS" = "yes" ; then
49119 STD_BASE_LIBS="net $STD_BASE_LIBS"
49120 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49121 fi
49122 if test "$wxUSE_ODBC" != "no" ; then
49123 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49124 fi
49125 if test "$wxUSE_XML" = "yes" ; then
49126 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49127 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49128 fi
49129
49130 if test "$wxUSE_GUI" = "yes"; then
49131 STD_GUI_LIBS="adv core"
49132 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49133
49134 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49135 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49136 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49137 fi
49138 if test "$wxUSE_ODBC" != "no" ; then
49139 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49140 fi
49141 if test "$wxUSE_HTML" = "yes" ; then
49142 STD_GUI_LIBS="html $STD_GUI_LIBS"
49143 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49144 fi
49145 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49146 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49147 fi
49148 if test "$wxUSE_OPENGL" = "yes" ; then
49149 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49150 fi
49151 if test "$wxUSE_AUI" = "yes" ; then
49152 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49153 fi
49154 if test "$wxUSE_STC" = "yes" ; then
49155 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49156 fi
49157 if test "$wxUSE_XRC" = "yes" ; then
49158 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49159 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49160 fi
49161 fi
49162
49163
49164
49165
49166
49167
49168
49169
49170 if test "$wxUSE_MAC" = 1 ; then
49171 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49172 if test "$USE_DARWIN" = 1; then
49173 LDFLAGS="$LDFLAGS -framework QuickTime"
49174 else
49175 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49176 fi
49177 fi
49178 if test "$USE_DARWIN" = 1; then
49179 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49180 else
49181 LDFLAGS="$LDFLAGS -lCarbonLib"
49182 fi
49183 fi
49184 if test "$wxUSE_COCOA" = 1 ; then
49185 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49186 if test "$wxUSE_MEDIACTRL" = "yes"; then
49187 LDFLAGS="$LDFLAGS -framework QuickTime"
49188 fi
49189 fi
49190 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49191 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49192 fi
49193
49194 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49195
49196 if test "$wxUSE_GUI" = "yes"; then
49197
49198
49199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49200 erase event exec font image minimal mobile \
49201 mobile/wxedit mobile/styles render \
49202 shaped svg taborder vscroll widgets"
49203
49204 if test "$wxUSE_MONOLITHIC" != "yes"; then
49205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49206 fi
49207 if test "$TOOLKIT" = "MSW"; then
49208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49209 if test "$wxUSE_UNIVERSAL" != "yes"; then
49210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49211 fi
49212 fi
49213 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49215 fi
49216 else
49217 SAMPLES_SUBDIRS="console"
49218 fi
49219
49220
49221 if test "x$INTELCC" = "xyes" ; then
49222 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49223 elif test "$GCC" = yes ; then
49224 CWARNINGS="-Wall -Wundef"
49225 fi
49226
49227 if test "x$INTELCXX" = "xyes" ; then
49228 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49229 elif test "$GXX" = yes ; then
49230 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49231 fi
49232
49233
49234 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49235 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49236
49237
49238 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49239 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49240 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49241 $CPPFLAGS `
49242
49243 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49244 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49245 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49246
49247 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49248
49249
49250 if test "x$MWCC" = "xyes"; then
49251
49252 CC="$CC -cwd source -I-"
49253 CXX="$CXX -cwd source -I-"
49254 fi
49255
49256
49257 LIBS=`echo $LIBS`
49258 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49259 EXTRALIBS_XML="$EXPAT_LINK"
49260 EXTRALIBS_HTML="$MSPACK_LINK"
49261 EXTRALIBS_ODBC="$ODBC_LINK"
49262 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49263 if test "$wxUSE_GUI" = "yes"; then
49264 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49265 fi
49266 if test "$wxUSE_OPENGL" = "yes"; then
49267 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49268 fi
49269
49270 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49271
49272 WXCONFIG_LIBS="$LIBS"
49273
49274 if test "$wxUSE_REGEX" = "builtin" ; then
49275 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49276 fi
49277 if test "$wxUSE_EXPAT" = "builtin" ; then
49278 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49279 fi
49280 if test "$wxUSE_ODBC" = "builtin" ; then
49281 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49282 fi
49283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49284 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49285 fi
49286 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49287 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49288 fi
49289 if test "$wxUSE_LIBPNG" = "builtin" ; then
49290 wxconfig_3rdparty="png $wxconfig_3rdparty"
49291 fi
49292 if test "$wxUSE_ZLIB" = "builtin" ; then
49293 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49294 fi
49295
49296 for i in $wxconfig_3rdparty ; do
49297 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49298 done
49299
49300
49301 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49302 WXUNIV=1
49303
49304 case "$wxUNIV_THEMES" in
49305 ''|all)
49306 cat >>confdefs.h <<\_ACEOF
49307 #define wxUSE_ALL_THEMES 1
49308 _ACEOF
49309
49310 ;;
49311
49312 *)
49313 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49314 cat >>confdefs.h <<_ACEOF
49315 #define wxUSE_THEME_$t 1
49316 _ACEOF
49317
49318 done
49319 esac
49320 else
49321 WXUNIV=0
49322 fi
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332 if test $wxUSE_MONOLITHIC = "yes" ; then
49333 MONOLITHIC=1
49334 else
49335 MONOLITHIC=0
49336 fi
49337
49338 if test $wxUSE_PLUGINS = "yes" ; then
49339 USE_PLUGINS=1
49340 else
49341 USE_PLUGINS=0
49342 fi
49343
49344 if test $wxUSE_ODBC != "no" ; then
49345 USE_ODBC=1
49346 else
49347 USE_ODBC=0
49348 fi
49349
49350 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49351 USE_QA=1
49352 else
49353 USE_QA=0
49354 fi
49355
49356 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49357 OFFICIAL_BUILD=1
49358 else
49359 OFFICIAL_BUILD=0
49360 fi
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49389
49390
49391
49392
49393
49394
49395
49396
49397 case "$TOOLKIT" in
49398 GTK)
49399 TOOLKIT_DESC="GTK+"
49400 if test "$WXGTK20" = 1; then
49401 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49402 if test "$wxUSE_GTKPRINT" = "yes" ; then
49403 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49404 fi
49405 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49406 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49407 fi
49408 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49409 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49410 fi
49411 if test "$wxUSE_LIBHILDON" = "yes"; then
49412 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49413 fi
49414
49415 if test "$TOOLKIT_EXTRA" != ""; then
49416 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49417 fi
49418 fi
49419 ;;
49420
49421 ?*)
49422 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49423 ;;
49424
49425 *)
49426 TOOLKIT_DESC="base only"
49427 ;;
49428 esac
49429
49430 if test "$wxUSE_WINE" = "yes"; then
49431 BAKEFILE_FORCE_PLATFORM=win32
49432 fi
49433
49434 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49435 then
49436 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49437 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49438 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49439 echo $ECHO_N "(cached) $ECHO_C" >&6
49440 else
49441
49442 echo '#include <stdio.h>
49443 const wchar_t test_var[] = L"awidetest";' > conftest.h
49444
49445 echo '#include "conftest.h"
49446 int main()
49447 {
49448 printf("%ls", test_var);
49449 return 0;
49450 }' > conftest.cpp
49451
49452 wx_cv_gcc_pch_bug="pch not supported"
49453
49454 if $CXX conftest.h >/dev/null 2>&1
49455 then
49456 wx_cv_gcc_pch_bug=
49457
49458 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49459 then
49460 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49461 grep awidetest >/dev/null
49462 then
49463 wx_cv_gcc_pch_bug=no
49464 else
49465 wx_cv_gcc_pch_bug=yes
49466 fi
49467 fi
49468 fi
49469
49470 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49471
49472 fi
49473 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49474 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49475
49476 if test "$wx_cv_gcc_pch_bug" = yes; then
49477 bk_use_pch=no
49478 fi
49479 fi
49480
49481
49482
49483
49484 if test "x$BAKEFILE_HOST" = "x"; then
49485 if test "x${host}" = "x" ; then
49486 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49487 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49488 { (exit 1); exit 1; }; }
49489 fi
49490
49491 BAKEFILE_HOST="${host}"
49492 fi
49493
49494 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49495
49496 if test -n "$ac_tool_prefix"; then
49497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49498 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49501 if test "${ac_cv_prog_RANLIB+set}" = set; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504 if test -n "$RANLIB"; then
49505 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49506 else
49507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49508 for as_dir in $PATH
49509 do
49510 IFS=$as_save_IFS
49511 test -z "$as_dir" && as_dir=.
49512 for ac_exec_ext in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49514 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49516 break 2
49517 fi
49518 done
49519 done
49520 IFS=$as_save_IFS
49521
49522 fi
49523 fi
49524 RANLIB=$ac_cv_prog_RANLIB
49525 if test -n "$RANLIB"; then
49526 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49527 echo "${ECHO_T}$RANLIB" >&6; }
49528 else
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49531 fi
49532
49533
49534 fi
49535 if test -z "$ac_cv_prog_RANLIB"; then
49536 ac_ct_RANLIB=$RANLIB
49537 # Extract the first word of "ranlib", so it can be a program name with args.
49538 set dummy ranlib; ac_word=$2
49539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49541 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49543 else
49544 if test -n "$ac_ct_RANLIB"; then
49545 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49546 else
49547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49548 for as_dir in $PATH
49549 do
49550 IFS=$as_save_IFS
49551 test -z "$as_dir" && as_dir=.
49552 for ac_exec_ext in '' $ac_executable_extensions; do
49553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49554 ac_cv_prog_ac_ct_RANLIB="ranlib"
49555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49556 break 2
49557 fi
49558 done
49559 done
49560 IFS=$as_save_IFS
49561
49562 fi
49563 fi
49564 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49565 if test -n "$ac_ct_RANLIB"; then
49566 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49567 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49568 else
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49571 fi
49572
49573 if test "x$ac_ct_RANLIB" = x; then
49574 RANLIB=":"
49575 else
49576 case $cross_compiling:$ac_tool_warned in
49577 yes:)
49578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&5
49581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49582 whose name does not start with the host triplet. If you think this
49583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49584 ac_tool_warned=yes ;;
49585 esac
49586 RANLIB=$ac_ct_RANLIB
49587 fi
49588 else
49589 RANLIB="$ac_cv_prog_RANLIB"
49590 fi
49591
49592 # Find a good install program. We prefer a C program (faster),
49593 # so one script is as good as another. But avoid the broken or
49594 # incompatible versions:
49595 # SysV /etc/install, /usr/sbin/install
49596 # SunOS /usr/etc/install
49597 # IRIX /sbin/install
49598 # AIX /bin/install
49599 # AmigaOS /C/install, which installs bootblocks on floppy discs
49600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49603 # OS/2's system install, which has a completely different semantic
49604 # ./install, which can be erroneously created by make from ./install.sh.
49605 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49607 if test -z "$INSTALL"; then
49608 if test "${ac_cv_path_install+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49610 else
49611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49612 for as_dir in $PATH
49613 do
49614 IFS=$as_save_IFS
49615 test -z "$as_dir" && as_dir=.
49616 # Account for people who put trailing slashes in PATH elements.
49617 case $as_dir/ in
49618 ./ | .// | /cC/* | \
49619 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49620 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49621 /usr/ucb/* ) ;;
49622 *)
49623 # OSF1 and SCO ODT 3.0 have their own names for install.
49624 # Don't use installbsd from OSF since it installs stuff as root
49625 # by default.
49626 for ac_prog in ginstall scoinst install; do
49627 for ac_exec_ext in '' $ac_executable_extensions; do
49628 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49629 if test $ac_prog = install &&
49630 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49631 # AIX install. It has an incompatible calling convention.
49632 :
49633 elif test $ac_prog = install &&
49634 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49635 # program-specific install script used by HP pwplus--don't use.
49636 :
49637 else
49638 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49639 break 3
49640 fi
49641 fi
49642 done
49643 done
49644 ;;
49645 esac
49646 done
49647 IFS=$as_save_IFS
49648
49649
49650 fi
49651 if test "${ac_cv_path_install+set}" = set; then
49652 INSTALL=$ac_cv_path_install
49653 else
49654 # As a last resort, use the slow shell script. Don't cache a
49655 # value for INSTALL within a source directory, because that will
49656 # break other packages using the cache if that directory is
49657 # removed, or if the value is a relative name.
49658 INSTALL=$ac_install_sh
49659 fi
49660 fi
49661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49662 echo "${ECHO_T}$INSTALL" >&6; }
49663
49664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49665 # It thinks the first close brace ends the variable substitution.
49666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49667
49668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49669
49670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49671
49672 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49674 LN_S=$as_ln_s
49675 if test "$LN_S" = "ln -s"; then
49676 { echo "$as_me:$LINENO: result: yes" >&5
49677 echo "${ECHO_T}yes" >&6; }
49678 else
49679 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49680 echo "${ECHO_T}no, using $LN_S" >&6; }
49681 fi
49682
49683
49684 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49686 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49687 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49688 echo $ECHO_N "(cached) $ECHO_C" >&6
49689 else
49690 cat >conftest.make <<\_ACEOF
49691 SHELL = /bin/sh
49692 all:
49693 @echo '@@@%%%=$(MAKE)=@@@%%%'
49694 _ACEOF
49695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49697 *@@@%%%=?*=@@@%%%*)
49698 eval ac_cv_prog_make_${ac_make}_set=yes;;
49699 *)
49700 eval ac_cv_prog_make_${ac_make}_set=no;;
49701 esac
49702 rm -f conftest.make
49703 fi
49704 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49705 { echo "$as_me:$LINENO: result: yes" >&5
49706 echo "${ECHO_T}yes" >&6; }
49707 SET_MAKE=
49708 else
49709 { echo "$as_me:$LINENO: result: no" >&5
49710 echo "${ECHO_T}no" >&6; }
49711 SET_MAKE="MAKE=${MAKE-make}"
49712 fi
49713
49714
49715
49716 if test "x$SUNCXX" = "xyes"; then
49717 AR=$CXX
49718 AROPTIONS="-xar -o"
49719
49720 elif test "x$SGICC" = "xyes"; then
49721 AR=$CXX
49722 AROPTIONS="-ar -o"
49723
49724 else
49725 if test -n "$ac_tool_prefix"; then
49726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49727 set dummy ${ac_tool_prefix}ar; ac_word=$2
49728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49730 if test "${ac_cv_prog_AR+set}" = set; then
49731 echo $ECHO_N "(cached) $ECHO_C" >&6
49732 else
49733 if test -n "$AR"; then
49734 ac_cv_prog_AR="$AR" # Let the user override the test.
49735 else
49736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49737 for as_dir in $PATH
49738 do
49739 IFS=$as_save_IFS
49740 test -z "$as_dir" && as_dir=.
49741 for ac_exec_ext in '' $ac_executable_extensions; do
49742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49743 ac_cv_prog_AR="${ac_tool_prefix}ar"
49744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49745 break 2
49746 fi
49747 done
49748 done
49749 IFS=$as_save_IFS
49750
49751 fi
49752 fi
49753 AR=$ac_cv_prog_AR
49754 if test -n "$AR"; then
49755 { echo "$as_me:$LINENO: result: $AR" >&5
49756 echo "${ECHO_T}$AR" >&6; }
49757 else
49758 { echo "$as_me:$LINENO: result: no" >&5
49759 echo "${ECHO_T}no" >&6; }
49760 fi
49761
49762
49763 fi
49764 if test -z "$ac_cv_prog_AR"; then
49765 ac_ct_AR=$AR
49766 # Extract the first word of "ar", so it can be a program name with args.
49767 set dummy ar; ac_word=$2
49768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49771 echo $ECHO_N "(cached) $ECHO_C" >&6
49772 else
49773 if test -n "$ac_ct_AR"; then
49774 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49775 else
49776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49777 for as_dir in $PATH
49778 do
49779 IFS=$as_save_IFS
49780 test -z "$as_dir" && as_dir=.
49781 for ac_exec_ext in '' $ac_executable_extensions; do
49782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49783 ac_cv_prog_ac_ct_AR="ar"
49784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49785 break 2
49786 fi
49787 done
49788 done
49789 IFS=$as_save_IFS
49790
49791 fi
49792 fi
49793 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49794 if test -n "$ac_ct_AR"; then
49795 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49796 echo "${ECHO_T}$ac_ct_AR" >&6; }
49797 else
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49800 fi
49801
49802 if test "x$ac_ct_AR" = x; then
49803 AR="ar"
49804 else
49805 case $cross_compiling:$ac_tool_warned in
49806 yes:)
49807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49808 whose name does not start with the host triplet. If you think this
49809 configuration is useful to you, please write to autoconf@gnu.org." >&5
49810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49811 whose name does not start with the host triplet. If you think this
49812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49813 ac_tool_warned=yes ;;
49814 esac
49815 AR=$ac_ct_AR
49816 fi
49817 else
49818 AR="$ac_cv_prog_AR"
49819 fi
49820
49821 AROPTIONS=rcu
49822 fi
49823
49824
49825 if test -n "$ac_tool_prefix"; then
49826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49827 set dummy ${ac_tool_prefix}strip; ac_word=$2
49828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49830 if test "${ac_cv_prog_STRIP+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49832 else
49833 if test -n "$STRIP"; then
49834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49835 else
49836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49837 for as_dir in $PATH
49838 do
49839 IFS=$as_save_IFS
49840 test -z "$as_dir" && as_dir=.
49841 for ac_exec_ext in '' $ac_executable_extensions; do
49842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49845 break 2
49846 fi
49847 done
49848 done
49849 IFS=$as_save_IFS
49850
49851 fi
49852 fi
49853 STRIP=$ac_cv_prog_STRIP
49854 if test -n "$STRIP"; then
49855 { echo "$as_me:$LINENO: result: $STRIP" >&5
49856 echo "${ECHO_T}$STRIP" >&6; }
49857 else
49858 { echo "$as_me:$LINENO: result: no" >&5
49859 echo "${ECHO_T}no" >&6; }
49860 fi
49861
49862
49863 fi
49864 if test -z "$ac_cv_prog_STRIP"; then
49865 ac_ct_STRIP=$STRIP
49866 # Extract the first word of "strip", so it can be a program name with args.
49867 set dummy strip; ac_word=$2
49868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49872 else
49873 if test -n "$ac_ct_STRIP"; then
49874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49875 else
49876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49877 for as_dir in $PATH
49878 do
49879 IFS=$as_save_IFS
49880 test -z "$as_dir" && as_dir=.
49881 for ac_exec_ext in '' $ac_executable_extensions; do
49882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49883 ac_cv_prog_ac_ct_STRIP="strip"
49884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49885 break 2
49886 fi
49887 done
49888 done
49889 IFS=$as_save_IFS
49890
49891 fi
49892 fi
49893 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49894 if test -n "$ac_ct_STRIP"; then
49895 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49896 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49897 else
49898 { echo "$as_me:$LINENO: result: no" >&5
49899 echo "${ECHO_T}no" >&6; }
49900 fi
49901
49902 if test "x$ac_ct_STRIP" = x; then
49903 STRIP=":"
49904 else
49905 case $cross_compiling:$ac_tool_warned in
49906 yes:)
49907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49908 whose name does not start with the host triplet. If you think this
49909 configuration is useful to you, please write to autoconf@gnu.org." >&5
49910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49911 whose name does not start with the host triplet. If you think this
49912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49913 ac_tool_warned=yes ;;
49914 esac
49915 STRIP=$ac_ct_STRIP
49916 fi
49917 else
49918 STRIP="$ac_cv_prog_STRIP"
49919 fi
49920
49921 if test -n "$ac_tool_prefix"; then
49922 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49923 set dummy ${ac_tool_prefix}nm; ac_word=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_NM+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 else
49929 if test -n "$NM"; then
49930 ac_cv_prog_NM="$NM" # Let the user override the test.
49931 else
49932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49933 for as_dir in $PATH
49934 do
49935 IFS=$as_save_IFS
49936 test -z "$as_dir" && as_dir=.
49937 for ac_exec_ext in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_NM="${ac_tool_prefix}nm"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49941 break 2
49942 fi
49943 done
49944 done
49945 IFS=$as_save_IFS
49946
49947 fi
49948 fi
49949 NM=$ac_cv_prog_NM
49950 if test -n "$NM"; then
49951 { echo "$as_me:$LINENO: result: $NM" >&5
49952 echo "${ECHO_T}$NM" >&6; }
49953 else
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49956 fi
49957
49958
49959 fi
49960 if test -z "$ac_cv_prog_NM"; then
49961 ac_ct_NM=$NM
49962 # Extract the first word of "nm", so it can be a program name with args.
49963 set dummy nm; ac_word=$2
49964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49966 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49967 echo $ECHO_N "(cached) $ECHO_C" >&6
49968 else
49969 if test -n "$ac_ct_NM"; then
49970 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49971 else
49972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49973 for as_dir in $PATH
49974 do
49975 IFS=$as_save_IFS
49976 test -z "$as_dir" && as_dir=.
49977 for ac_exec_ext in '' $ac_executable_extensions; do
49978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49979 ac_cv_prog_ac_ct_NM="nm"
49980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49981 break 2
49982 fi
49983 done
49984 done
49985 IFS=$as_save_IFS
49986
49987 fi
49988 fi
49989 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49990 if test -n "$ac_ct_NM"; then
49991 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49992 echo "${ECHO_T}$ac_ct_NM" >&6; }
49993 else
49994 { echo "$as_me:$LINENO: result: no" >&5
49995 echo "${ECHO_T}no" >&6; }
49996 fi
49997
49998 if test "x$ac_ct_NM" = x; then
49999 NM=":"
50000 else
50001 case $cross_compiling:$ac_tool_warned in
50002 yes:)
50003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50004 whose name does not start with the host triplet. If you think this
50005 configuration is useful to you, please write to autoconf@gnu.org." >&5
50006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50007 whose name does not start with the host triplet. If you think this
50008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50009 ac_tool_warned=yes ;;
50010 esac
50011 NM=$ac_ct_NM
50012 fi
50013 else
50014 NM="$ac_cv_prog_NM"
50015 fi
50016
50017
50018 case ${BAKEFILE_HOST} in
50019 *-hp-hpux* )
50020 INSTALL_DIR="mkdir -p"
50021 ;;
50022 * )
50023 INSTALL_DIR='$(INSTALL) -d'
50024 ;;
50025 esac
50026
50027
50028 LDFLAGS_GUI=
50029 case ${BAKEFILE_HOST} in
50030 *-*-cygwin* | *-*-mingw32* )
50031 LDFLAGS_GUI="-mwindows"
50032 esac
50033
50034
50035 fi
50036
50037 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50038 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50039 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50040 echo $ECHO_N "(cached) $ECHO_C" >&6
50041 else
50042
50043 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50044 egrep -s GNU > /dev/null); then
50045 bakefile_cv_prog_makeisgnu="yes"
50046 else
50047 bakefile_cv_prog_makeisgnu="no"
50048 fi
50049
50050 fi
50051 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50052 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50053
50054 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50055 IF_GNU_MAKE=""
50056 else
50057 IF_GNU_MAKE="#"
50058 fi
50059
50060
50061
50062 PLATFORM_UNIX=0
50063 PLATFORM_WIN32=0
50064 PLATFORM_MSDOS=0
50065 PLATFORM_MAC=0
50066 PLATFORM_MACOS=0
50067 PLATFORM_MACOSX=0
50068 PLATFORM_OS2=0
50069 PLATFORM_BEOS=0
50070
50071 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50072 case "${BAKEFILE_HOST}" in
50073 *-*-mingw32* )
50074 PLATFORM_WIN32=1
50075 ;;
50076 *-pc-msdosdjgpp )
50077 PLATFORM_MSDOS=1
50078 ;;
50079 *-pc-os2_emx | *-pc-os2-emx )
50080 PLATFORM_OS2=1
50081 ;;
50082 *-*-darwin* )
50083 PLATFORM_MAC=1
50084 PLATFORM_MACOSX=1
50085 ;;
50086 *-*-beos* )
50087 PLATFORM_BEOS=1
50088 ;;
50089 powerpc-apple-macos* )
50090 PLATFORM_MAC=1
50091 PLATFORM_MACOS=1
50092 ;;
50093 * )
50094 PLATFORM_UNIX=1
50095 ;;
50096 esac
50097 else
50098 case "$BAKEFILE_FORCE_PLATFORM" in
50099 win32 )
50100 PLATFORM_WIN32=1
50101 ;;
50102 msdos )
50103 PLATFORM_MSDOS=1
50104 ;;
50105 os2 )
50106 PLATFORM_OS2=1
50107 ;;
50108 darwin )
50109 PLATFORM_MAC=1
50110 PLATFORM_MACOSX=1
50111 ;;
50112 unix )
50113 PLATFORM_UNIX=1
50114 ;;
50115 beos )
50116 PLATFORM_BEOS=1
50117 ;;
50118 * )
50119 ;;
50120 esac
50121 fi
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133 # Check whether --enable-omf was given.
50134 if test "${enable_omf+set}" = set; then
50135 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50136 fi
50137
50138
50139 case "${BAKEFILE_HOST}" in
50140 *-*-darwin* )
50141 if test "x$GCC" = "xyes"; then
50142 CFLAGS="$CFLAGS -fno-common"
50143 CXXFLAGS="$CXXFLAGS -fno-common"
50144 fi
50145 if test "x$XLCC" = "xyes"; then
50146 CFLAGS="$CFLAGS -qnocommon"
50147 CXXFLAGS="$CXXFLAGS -qnocommon"
50148 fi
50149 ;;
50150
50151 *-pc-os2_emx | *-pc-os2-emx )
50152 if test "x$bk_os2_use_omf" = "xyes" ; then
50153 AR=emxomfar
50154 RANLIB=:
50155 LDFLAGS="-Zomf $LDFLAGS"
50156 CFLAGS="-Zomf $CFLAGS"
50157 CXXFLAGS="-Zomf $CXXFLAGS"
50158 OS2_LIBEXT="lib"
50159 else
50160 OS2_LIBEXT="a"
50161 fi
50162 ;;
50163
50164 i*86-*-beos* )
50165 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50166 ;;
50167 esac
50168
50169
50170 SO_SUFFIX="so"
50171 SO_SUFFIX_MODULE="so"
50172 EXEEXT=""
50173 LIBPREFIX="lib"
50174 LIBEXT=".a"
50175 DLLPREFIX="lib"
50176 DLLPREFIX_MODULE=""
50177 DLLIMP_SUFFIX=""
50178 dlldir="$libdir"
50179
50180 case "${BAKEFILE_HOST}" in
50181 *-hp-hpux* )
50182 SO_SUFFIX="sl"
50183 SO_SUFFIX_MODULE="sl"
50184 ;;
50185 *-*-aix* )
50186 SO_SUFFIX="a"
50187 SO_SUFFIX_MODULE="a"
50188 ;;
50189 *-*-cygwin* )
50190 SO_SUFFIX="dll"
50191 SO_SUFFIX_MODULE="dll"
50192 DLLIMP_SUFFIX="dll.a"
50193 EXEEXT=".exe"
50194 DLLPREFIX="cyg"
50195 dlldir="$bindir"
50196 ;;
50197 *-*-mingw32* )
50198 SO_SUFFIX="dll"
50199 SO_SUFFIX_MODULE="dll"
50200 DLLIMP_SUFFIX="dll.a"
50201 EXEEXT=".exe"
50202 DLLPREFIX=""
50203 dlldir="$bindir"
50204 ;;
50205 *-pc-msdosdjgpp )
50206 EXEEXT=".exe"
50207 DLLPREFIX=""
50208 dlldir="$bindir"
50209 ;;
50210 *-pc-os2_emx | *-pc-os2-emx )
50211 SO_SUFFIX="dll"
50212 SO_SUFFIX_MODULE="dll"
50213 DLLIMP_SUFFIX=$OS2_LIBEXT
50214 EXEEXT=".exe"
50215 DLLPREFIX=""
50216 LIBPREFIX=""
50217 LIBEXT=".$OS2_LIBEXT"
50218 dlldir="$bindir"
50219 ;;
50220 *-*-darwin* )
50221 SO_SUFFIX="dylib"
50222 SO_SUFFIX_MODULE="bundle"
50223 ;;
50224 esac
50225
50226 if test "x$DLLIMP_SUFFIX" = "x" ; then
50227 DLLIMP_SUFFIX="$SO_SUFFIX"
50228 fi
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241 PIC_FLAG=""
50242 if test "x$GCC" = "xyes"; then
50243 PIC_FLAG="-fPIC"
50244 fi
50245
50246 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50247 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50248 WINDOWS_IMPLIB=0
50249
50250 case "${BAKEFILE_HOST}" in
50251 *-hp-hpux* )
50252 if test "x$GCC" != "xyes"; then
50253 LDFLAGS="$LDFLAGS -L/usr/lib"
50254
50255 SHARED_LD_CC="${CC} -b -o"
50256 SHARED_LD_CXX="${CXX} -b -o"
50257 PIC_FLAG="+Z"
50258 fi
50259 ;;
50260
50261 *-*-linux* )
50262 if test "$INTELCC" = "yes"; then
50263 PIC_FLAG="-KPIC"
50264 elif test "x$SUNCXX" = "xyes"; then
50265 SHARED_LD_CC="${CC} -G -o"
50266 SHARED_LD_CXX="${CXX} -G -o"
50267 PIC_FLAG="-KPIC"
50268 fi
50269 ;;
50270
50271 *-*-solaris2* )
50272 if test "x$SUNCXX" = xyes ; then
50273 SHARED_LD_CC="${CC} -G -o"
50274 SHARED_LD_CXX="${CXX} -G -o"
50275 PIC_FLAG="-KPIC"
50276 fi
50277 ;;
50278
50279 *-*-darwin* )
50280
50281 D='$'
50282 cat <<EOF >shared-ld-sh
50283 #!/bin/sh
50284 #-----------------------------------------------------------------------------
50285 #-- Name: distrib/mac/shared-ld-sh
50286 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50287 #-- Author: Gilles Depeyrot
50288 #-- Copyright: (c) 2002 Gilles Depeyrot
50289 #-- Licence: any use permitted
50290 #-----------------------------------------------------------------------------
50291
50292 verbose=0
50293 args=""
50294 objects=""
50295 linking_flag="-dynamiclib"
50296 ldargs="-r -keep_private_externs -nostdlib"
50297
50298 while test ${D}# -gt 0; do
50299 case ${D}1 in
50300
50301 -v)
50302 verbose=1
50303 ;;
50304
50305 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50306 # collect these options and values
50307 args="${D}{args} ${D}1 ${D}2"
50308 shift
50309 ;;
50310
50311 -s|-Wl,*)
50312 # collect these load args
50313 ldargs="${D}{ldargs} ${D}1"
50314 ;;
50315
50316 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50317 # collect these options
50318 args="${D}{args} ${D}1"
50319 ;;
50320
50321 -dynamiclib|-bundle)
50322 linking_flag="${D}1"
50323 ;;
50324
50325 -*)
50326 echo "shared-ld: unhandled option '${D}1'"
50327 exit 1
50328 ;;
50329
50330 *.o | *.a | *.dylib)
50331 # collect object files
50332 objects="${D}{objects} ${D}1"
50333 ;;
50334
50335 *)
50336 echo "shared-ld: unhandled argument '${D}1'"
50337 exit 1
50338 ;;
50339
50340 esac
50341 shift
50342 done
50343
50344 status=0
50345
50346 #
50347 # Link one module containing all the others
50348 #
50349 if test ${D}{verbose} = 1; then
50350 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50351 fi
50352 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50353 status=${D}?
50354
50355 #
50356 # Link the shared library from the single module created, but only if the
50357 # previous command didn't fail:
50358 #
50359 if test ${D}{status} = 0; then
50360 if test ${D}{verbose} = 1; then
50361 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50362 fi
50363 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50364 status=${D}?
50365 fi
50366
50367 #
50368 # Remove intermediate module
50369 #
50370 rm -f master.${D}${D}.o
50371
50372 exit ${D}status
50373 EOF
50374
50375 chmod +x shared-ld-sh
50376
50377 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50378 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50379
50380
50381 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50382 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50383 if test "${bakefile_cv_gcc31+set}" = set; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50385 else
50386
50387 cat >conftest.$ac_ext <<_ACEOF
50388 /* confdefs.h. */
50389 _ACEOF
50390 cat confdefs.h >>conftest.$ac_ext
50391 cat >>conftest.$ac_ext <<_ACEOF
50392 /* end confdefs.h. */
50393
50394 int
50395 main ()
50396 {
50397
50398 #if (__GNUC__ < 3) || \
50399 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50400 This is old gcc
50401 #endif
50402
50403 ;
50404 return 0;
50405 }
50406 _ACEOF
50407 rm -f conftest.$ac_objext
50408 if { (ac_try="$ac_compile"
50409 case "(($ac_try" in
50410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50411 *) ac_try_echo=$ac_try;;
50412 esac
50413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50414 (eval "$ac_compile") 2>conftest.er1
50415 ac_status=$?
50416 grep -v '^ *+' conftest.er1 >conftest.err
50417 rm -f conftest.er1
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } && {
50421 test -z "$ac_c_werror_flag" ||
50422 test ! -s conftest.err
50423 } && test -s conftest.$ac_objext; then
50424
50425 bakefile_cv_gcc31=yes
50426
50427 else
50428 echo "$as_me: failed program was:" >&5
50429 sed 's/^/| /' conftest.$ac_ext >&5
50430
50431
50432 bakefile_cv_gcc31=no
50433
50434
50435 fi
50436
50437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50438
50439 fi
50440 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50441 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50442 if test "$bakefile_cv_gcc31" = "no"; then
50443 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50444 SHARED_LD_CXX="$SHARED_LD_CC"
50445 else
50446 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50447 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50448 fi
50449
50450 if test "x$GCC" == "xyes"; then
50451 PIC_FLAG="-dynamic -fPIC"
50452 fi
50453 if test "x$XLCC" = "xyes"; then
50454 PIC_FLAG="-dynamic -DPIC"
50455 fi
50456 ;;
50457
50458 *-*-aix* )
50459 if test "x$GCC" = "xyes"; then
50460 PIC_FLAG=""
50461
50462 case "${BAKEFILE_HOST}" in
50463 *-*-aix5* )
50464 LD_EXPFULL="-Wl,-bexpfull"
50465 ;;
50466 esac
50467
50468 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50469 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50470 else
50471 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50472 set dummy makeC++SharedLib; ac_word=$2
50473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50475 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50477 else
50478 if test -n "$AIX_CXX_LD"; then
50479 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50480 else
50481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50482 for as_dir in $PATH
50483 do
50484 IFS=$as_save_IFS
50485 test -z "$as_dir" && as_dir=.
50486 for ac_exec_ext in '' $ac_executable_extensions; do
50487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50488 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50490 break 2
50491 fi
50492 done
50493 done
50494 IFS=$as_save_IFS
50495
50496 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50497 fi
50498 fi
50499 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50500 if test -n "$AIX_CXX_LD"; then
50501 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50502 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50503 else
50504 { echo "$as_me:$LINENO: result: no" >&5
50505 echo "${ECHO_T}no" >&6; }
50506 fi
50507
50508
50509 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50510 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50511 fi
50512 ;;
50513
50514 *-*-beos* )
50515 SHARED_LD_CC="${LD} -nostart -o"
50516 SHARED_LD_CXX="${LD} -nostart -o"
50517 ;;
50518
50519 *-*-irix* )
50520 if test "x$GCC" != "xyes"; then
50521 PIC_FLAG="-KPIC"
50522 fi
50523 ;;
50524
50525 *-*-cygwin* | *-*-mingw32* )
50526 PIC_FLAG=""
50527 SHARED_LD_CC="\$(CC) -shared -o"
50528 SHARED_LD_CXX="\$(CXX) -shared -o"
50529 WINDOWS_IMPLIB=1
50530 ;;
50531
50532 *-pc-os2_emx | *-pc-os2-emx )
50533 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50534 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50535 PIC_FLAG=""
50536
50537 D='$'
50538 cat <<EOF >dllar.sh
50539 #!/bin/sh
50540 #
50541 # dllar - a tool to build both a .dll and an .a file
50542 # from a set of object (.o) files for EMX/OS2.
50543 #
50544 # Written by Andrew Zabolotny, bit@freya.etu.ru
50545 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50546 #
50547 # This script will accept a set of files on the command line.
50548 # All the public symbols from the .o files will be exported into
50549 # a .DEF file, then linker will be run (through gcc) against them to
50550 # build a shared library consisting of all given .o files. All libraries
50551 # (.a) will be first decompressed into component .o files then act as
50552 # described above. You can optionally give a description (-d "description")
50553 # which will be put into .DLL. To see the list of accepted options (as well
50554 # as command-line format) simply run this program without options. The .DLL
50555 # is built to be imported by name (there is no guarantee that new versions
50556 # of the library you build will have same ordinals for same symbols).
50557 #
50558 # dllar is free software; you can redistribute it and/or modify
50559 # it under the terms of the GNU General Public License as published by
50560 # the Free Software Foundation; either version 2, or (at your option)
50561 # any later version.
50562 #
50563 # dllar is distributed in the hope that it will be useful,
50564 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50566 # GNU General Public License for more details.
50567 #
50568 # You should have received a copy of the GNU General Public License
50569 # along with dllar; see the file COPYING. If not, write to the Free
50570 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50571 # 02111-1307, USA.
50572
50573 # To successfuly run this program you will need:
50574 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50575 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50576 # - gcc
50577 # (used to build the .dll)
50578 # - emxexp
50579 # (used to create .def file from .o files)
50580 # - emximp
50581 # (used to create .a file from .def file)
50582 # - GNU text utilites (cat, sort, uniq)
50583 # used to process emxexp output
50584 # - GNU file utilities (mv, rm)
50585 # - GNU sed
50586 # - lxlite (optional, see flag below)
50587 # (used for general .dll cleanup)
50588 #
50589
50590 flag_USE_LXLITE=1;
50591
50592 #
50593 # helper functions
50594 # basnam, variant of basename, which does _not_ remove the path, _iff_
50595 # second argument (suffix to remove) is given
50596 basnam(){
50597 case ${D}# in
50598 1)
50599 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50600 ;;
50601 2)
50602 echo ${D}1 | sed 's/'${D}2'${D}//'
50603 ;;
50604 *)
50605 echo "error in basnam ${D}*"
50606 exit 8
50607 ;;
50608 esac
50609 }
50610
50611 # Cleanup temporary files and output
50612 CleanUp() {
50613 cd ${D}curDir
50614 for i in ${D}inputFiles ; do
50615 case ${D}i in
50616 *!)
50617 rm -rf \`basnam ${D}i !\`
50618 ;;
50619 *)
50620 ;;
50621 esac
50622 done
50623
50624 # Kill result in case of failure as there is just to many stupid make/nmake
50625 # things out there which doesn't do this.
50626 if [ ${D}# -eq 0 ]; then
50627 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50628 fi
50629 }
50630
50631 # Print usage and exit script with rc=1.
50632 PrintHelp() {
50633 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50634 echo ' [-name-mangler-script script.sh]'
50635 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50636 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50637 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50638 echo ' [*.o] [*.a]'
50639 echo '*> "output_file" should have no extension.'
50640 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50641 echo ' The import library name is derived from this and is set to "name".a,'
50642 echo ' unless overridden by -import'
50643 echo '*> "importlib_name" should have no extension.'
50644 echo ' If it has the .o, or .a extension, it is automatically removed.'
50645 echo ' This name is used as the import library name and may be longer and'
50646 echo ' more descriptive than the DLL name which has to follow the old '
50647 echo ' 8.3 convention of FAT.'
50648 echo '*> "script.sh may be given to override the output_file name by a'
50649 echo ' different name. It is mainly useful if the regular make process'
50650 echo ' of some package does not take into account OS/2 restriction of'
50651 echo ' DLL name lengths. It takes the importlib name as input and is'
50652 echo ' supposed to procude a shorter name as output. The script should'
50653 echo ' expect to get importlib_name without extension and should produce'
50654 echo ' a (max.) 8 letter name without extension.'
50655 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50656 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50657 echo ' These flags will be put at the start of GCC command line.'
50658 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50659 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50660 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50661 echo ' If the last character of a symbol is "*", all symbols beginning'
50662 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50663 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50664 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50665 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50666 echo ' C runtime DLLs.'
50667 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50668 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50669 echo ' unchanged to GCC at the end of command line.'
50670 echo '*> If you create a DLL from a library and you do not specify -o,'
50671 echo ' the basename for DLL and import library will be set to library name,'
50672 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50673 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50674 echo ' library will be renamed into gcc_s.a.'
50675 echo '--------'
50676 echo 'Example:'
50677 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50678 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50679 CleanUp
50680 exit 1
50681 }
50682
50683 # Execute a command.
50684 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50685 # @Uses Whatever CleanUp() uses.
50686 doCommand() {
50687 echo "${D}*"
50688 eval ${D}*
50689 rcCmd=${D}?
50690
50691 if [ ${D}rcCmd -ne 0 ]; then
50692 echo "command failed, exit code="${D}rcCmd
50693 CleanUp
50694 exit ${D}rcCmd
50695 fi
50696 }
50697
50698 # main routine
50699 # setup globals
50700 cmdLine=${D}*
50701 outFile=""
50702 outimpFile=""
50703 inputFiles=""
50704 renameScript=""
50705 description=""
50706 CC=gcc.exe
50707 CFLAGS="-s -Zcrtdll"
50708 EXTRA_CFLAGS=""
50709 EXPORT_BY_ORDINALS=0
50710 exclude_symbols=""
50711 library_flags=""
50712 curDir=\`pwd\`
50713 curDirS=curDir
50714 case ${D}curDirS in
50715 */)
50716 ;;
50717 *)
50718 curDirS=${D}{curDirS}"/"
50719 ;;
50720 esac
50721 # Parse commandline
50722 libsToLink=0
50723 omfLinking=0
50724 while [ ${D}1 ]; do
50725 case ${D}1 in
50726 -ord*)
50727 EXPORT_BY_ORDINALS=1;
50728 ;;
50729 -o*)
50730 shift
50731 outFile=${D}1
50732 ;;
50733 -i*)
50734 shift
50735 outimpFile=${D}1
50736 ;;
50737 -name-mangler-script)
50738 shift
50739 renameScript=${D}1
50740 ;;
50741 -d*)
50742 shift
50743 description=${D}1
50744 ;;
50745 -f*)
50746 shift
50747 CFLAGS=${D}1
50748 ;;
50749 -c*)
50750 shift
50751 CC=${D}1
50752 ;;
50753 -h*)
50754 PrintHelp
50755 ;;
50756 -ex*)
50757 shift
50758 exclude_symbols=${D}{exclude_symbols}${D}1" "
50759 ;;
50760 -libf*)
50761 shift
50762 library_flags=${D}{library_flags}${D}1" "
50763 ;;
50764 -nocrt*)
50765 CFLAGS="-s"
50766 ;;
50767 -nolxl*)
50768 flag_USE_LXLITE=0
50769 ;;
50770 -* | /*)
50771 case ${D}1 in
50772 -L* | -l*)
50773 libsToLink=1
50774 ;;
50775 -Zomf)
50776 omfLinking=1
50777 ;;
50778 *)
50779 ;;
50780 esac
50781 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50782 ;;
50783 *.dll)
50784 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50785 if [ ${D}omfLinking -eq 1 ]; then
50786 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50787 else
50788 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50789 fi
50790 ;;
50791 *)
50792 found=0;
50793 if [ ${D}libsToLink -ne 0 ]; then
50794 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50795 else
50796 for file in ${D}1 ; do
50797 if [ -f ${D}file ]; then
50798 inputFiles="${D}{inputFiles} ${D}file"
50799 found=1
50800 fi
50801 done
50802 if [ ${D}found -eq 0 ]; then
50803 echo "ERROR: No file(s) found: "${D}1
50804 exit 8
50805 fi
50806 fi
50807 ;;
50808 esac
50809 shift
50810 done # iterate cmdline words
50811
50812 #
50813 if [ -z "${D}inputFiles" ]; then
50814 echo "dllar: no input files"
50815 PrintHelp
50816 fi
50817
50818 # Now extract all .o files from .a files
50819 newInputFiles=""
50820 for file in ${D}inputFiles ; do
50821 case ${D}file in
50822 *.a | *.lib)
50823 case ${D}file in
50824 *.a)
50825 suffix=".a"
50826 AR="ar"
50827 ;;
50828 *.lib)
50829 suffix=".lib"
50830 AR="emxomfar"
50831 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50832 ;;
50833 *)
50834 ;;
50835 esac
50836 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50837 mkdir ${D}dirname
50838 if [ ${D}? -ne 0 ]; then
50839 echo "Failed to create subdirectory ./${D}dirname"
50840 CleanUp
50841 exit 8;
50842 fi
50843 # Append '!' to indicate archive
50844 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50845 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50846 cd ${D}curDir
50847 found=0;
50848 for subfile in ${D}dirname/*.o* ; do
50849 if [ -f ${D}subfile ]; then
50850 found=1
50851 if [ -s ${D}subfile ]; then
50852 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50853 newInputFiles="${D}newInputFiles ${D}subfile"
50854 fi
50855 fi
50856 done
50857 if [ ${D}found -eq 0 ]; then
50858 echo "WARNING: there are no files in archive \\'${D}file\\'"
50859 fi
50860 ;;
50861 *)
50862 newInputFiles="${D}{newInputFiles} ${D}file"
50863 ;;
50864 esac
50865 done
50866 inputFiles="${D}newInputFiles"
50867
50868 # Output filename(s).
50869 do_backup=0;
50870 if [ -z ${D}outFile ]; then
50871 do_backup=1;
50872 set outFile ${D}inputFiles; outFile=${D}2
50873 fi
50874
50875 # If it is an archive, remove the '!' and the '_%' suffixes
50876 case ${D}outFile in
50877 *_%!)
50878 outFile=\`basnam ${D}outFile _%!\`
50879 ;;
50880 *)
50881 ;;
50882 esac
50883 case ${D}outFile in
50884 *.dll)
50885 outFile=\`basnam ${D}outFile .dll\`
50886 ;;
50887 *.DLL)
50888 outFile=\`basnam ${D}outFile .DLL\`
50889 ;;
50890 *.o)
50891 outFile=\`basnam ${D}outFile .o\`
50892 ;;
50893 *.obj)
50894 outFile=\`basnam ${D}outFile .obj\`
50895 ;;
50896 *.a)
50897 outFile=\`basnam ${D}outFile .a\`
50898 ;;
50899 *.lib)
50900 outFile=\`basnam ${D}outFile .lib\`
50901 ;;
50902 *)
50903 ;;
50904 esac
50905 case ${D}outimpFile in
50906 *.a)
50907 outimpFile=\`basnam ${D}outimpFile .a\`
50908 ;;
50909 *.lib)
50910 outimpFile=\`basnam ${D}outimpFile .lib\`
50911 ;;
50912 *)
50913 ;;
50914 esac
50915 if [ -z ${D}outimpFile ]; then
50916 outimpFile=${D}outFile
50917 fi
50918 defFile="${D}{outFile}.def"
50919 arcFile="${D}{outimpFile}.a"
50920 arcFile2="${D}{outimpFile}.lib"
50921
50922 #create ${D}dllFile as something matching 8.3 restrictions,
50923 if [ -z ${D}renameScript ] ; then
50924 dllFile="${D}outFile"
50925 else
50926 dllFile=\`${D}renameScript ${D}outimpFile\`
50927 fi
50928
50929 if [ ${D}do_backup -ne 0 ] ; then
50930 if [ -f ${D}arcFile ] ; then
50931 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50932 fi
50933 if [ -f ${D}arcFile2 ] ; then
50934 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50935 fi
50936 fi
50937
50938 # Extract public symbols from all the object files.
50939 tmpdefFile=${D}{defFile}_%
50940 rm -f ${D}tmpdefFile
50941 for file in ${D}inputFiles ; do
50942 case ${D}file in
50943 *!)
50944 ;;
50945 *)
50946 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50947 ;;
50948 esac
50949 done
50950
50951 # Create the def file.
50952 rm -f ${D}defFile
50953 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50954 dllFile="${D}{dllFile}.dll"
50955 if [ ! -z ${D}description ]; then
50956 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50957 fi
50958 echo "EXPORTS" >> ${D}defFile
50959
50960 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50961 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50962
50963 # Checks if the export is ok or not.
50964 for word in ${D}exclude_symbols; do
50965 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50966 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50967 done
50968
50969
50970 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50971 sed "=" < ${D}tmpdefFile | \\
50972 sed '
50973 N
50974 : loop
50975 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50976 t loop
50977 ' > ${D}{tmpdefFile}%
50978 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50979 else
50980 rm -f ${D}{tmpdefFile}%
50981 fi
50982 cat ${D}tmpdefFile >> ${D}defFile
50983 rm -f ${D}tmpdefFile
50984
50985 # Do linking, create implib, and apply lxlite.
50986 gccCmdl="";
50987 for file in ${D}inputFiles ; do
50988 case ${D}file in
50989 *!)
50990 ;;
50991 *)
50992 gccCmdl="${D}gccCmdl ${D}file"
50993 ;;
50994 esac
50995 done
50996 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50997 touch "${D}{outFile}.dll"
50998
50999 doCommand "emximp -o ${D}arcFile ${D}defFile"
51000 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51001 add_flags="";
51002 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51003 add_flags="-ynd"
51004 fi
51005 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51006 fi
51007 doCommand "emxomf -s -l ${D}arcFile"
51008
51009 # Successful exit.
51010 CleanUp 1
51011 exit 0
51012 EOF
51013
51014 chmod +x dllar.sh
51015 ;;
51016
51017 powerpc-apple-macos* | \
51018 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51019 *-*-mirbsd* | \
51020 *-*-sunos4* | \
51021 *-*-osf* | \
51022 *-*-dgux5* | \
51023 *-*-sysv5* | \
51024 *-pc-msdosdjgpp )
51025 ;;
51026
51027 *)
51028 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51029 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51030 { (exit 1); exit 1; }; }
51031 esac
51032
51033 if test "x$PIC_FLAG" != "x" ; then
51034 PIC_FLAG="$PIC_FLAG -DPIC"
51035 fi
51036
51037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51038 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51039 fi
51040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51041 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51042 fi
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052 USE_SOVERSION=0
51053 USE_SOVERLINUX=0
51054 USE_SOVERSOLARIS=0
51055 USE_SOVERCYGWIN=0
51056 USE_SOSYMLINKS=0
51057 USE_MACVERSION=0
51058 SONAME_FLAG=
51059
51060 case "${BAKEFILE_HOST}" in
51061 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51062 if test "x$SUNCXX" = "xyes"; then
51063 SONAME_FLAG="-h "
51064 else
51065 SONAME_FLAG="-Wl,-soname,"
51066 fi
51067 USE_SOVERSION=1
51068 USE_SOVERLINUX=1
51069 USE_SOSYMLINKS=1
51070 ;;
51071
51072 *-*-solaris2* )
51073 SONAME_FLAG="-h "
51074 USE_SOVERSION=1
51075 USE_SOVERSOLARIS=1
51076 USE_SOSYMLINKS=1
51077 ;;
51078
51079 *-*-darwin* )
51080 USE_MACVERSION=1
51081 USE_SOVERSION=1
51082 USE_SOSYMLINKS=1
51083 ;;
51084
51085 *-*-cygwin* )
51086 USE_SOVERSION=1
51087 USE_SOVERCYGWIN=1
51088 ;;
51089 esac
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100 # Check whether --enable-dependency-tracking was given.
51101 if test "${enable_dependency_tracking+set}" = set; then
51102 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51103 fi
51104
51105
51106 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51107 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51108
51109 BK_DEPS=""
51110 if test "x$bk_use_trackdeps" = "xno" ; then
51111 DEPS_TRACKING=0
51112 { echo "$as_me:$LINENO: result: disabled" >&5
51113 echo "${ECHO_T}disabled" >&6; }
51114 else
51115 DEPS_TRACKING=1
51116
51117 if test "x$GCC" = "xyes"; then
51118 DEPSMODE=gcc
51119 case "${BAKEFILE_HOST}" in
51120 *-*-darwin* )
51121 DEPSFLAG="-no-cpp-precomp -MMD"
51122 ;;
51123 * )
51124 DEPSFLAG="-MMD"
51125 ;;
51126 esac
51127 { echo "$as_me:$LINENO: result: gcc" >&5
51128 echo "${ECHO_T}gcc" >&6; }
51129 elif test "x$MWCC" = "xyes"; then
51130 DEPSMODE=mwcc
51131 DEPSFLAG="-MM"
51132 { echo "$as_me:$LINENO: result: mwcc" >&5
51133 echo "${ECHO_T}mwcc" >&6; }
51134 elif test "x$SUNCC" = "xyes"; then
51135 DEPSMODE=unixcc
51136 DEPSFLAG="-xM1"
51137 { echo "$as_me:$LINENO: result: Sun cc" >&5
51138 echo "${ECHO_T}Sun cc" >&6; }
51139 elif test "x$SGICC" = "xyes"; then
51140 DEPSMODE=unixcc
51141 DEPSFLAG="-M"
51142 { echo "$as_me:$LINENO: result: SGI cc" >&5
51143 echo "${ECHO_T}SGI cc" >&6; }
51144 elif test "x$HPCC" = "xyes"; then
51145 DEPSMODE=unixcc
51146 DEPSFLAG="+make"
51147 { echo "$as_me:$LINENO: result: HP cc" >&5
51148 echo "${ECHO_T}HP cc" >&6; }
51149 elif test "x$COMPAQCC" = "xyes"; then
51150 DEPSMODE=gcc
51151 DEPSFLAG="-MD"
51152 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51153 echo "${ECHO_T}Compaq cc" >&6; }
51154 else
51155 DEPS_TRACKING=0
51156 { echo "$as_me:$LINENO: result: none" >&5
51157 echo "${ECHO_T}none" >&6; }
51158 fi
51159
51160 if test $DEPS_TRACKING = 1 ; then
51161
51162 D='$'
51163 cat <<EOF >bk-deps
51164 #!/bin/sh
51165
51166 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51167 # script. It is used to track C/C++ files dependencies in portable way.
51168 #
51169 # Permission is given to use this file in any way.
51170
51171 DEPSMODE=${DEPSMODE}
51172 DEPSDIR=.deps
51173 DEPSFLAG="${DEPSFLAG}"
51174
51175 mkdir -p ${D}DEPSDIR
51176
51177 if test ${D}DEPSMODE = gcc ; then
51178 ${D}* ${D}{DEPSFLAG}
51179 status=${D}?
51180 if test ${D}{status} != 0 ; then
51181 exit ${D}{status}
51182 fi
51183 # move created file to the location we want it in:
51184 while test ${D}# -gt 0; do
51185 case "${D}1" in
51186 -o )
51187 shift
51188 objfile=${D}1
51189 ;;
51190 -* )
51191 ;;
51192 * )
51193 srcfile=${D}1
51194 ;;
51195 esac
51196 shift
51197 done
51198 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51199 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51200 if test -f ${D}depfile ; then
51201 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51202 rm -f ${D}depfile
51203 else
51204 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51205 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51206 if test ! -f ${D}depfile ; then
51207 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51208 depfile="${D}objfile.d"
51209 fi
51210 if test -f ${D}depfile ; then
51211 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51212 rm -f ${D}depfile
51213 fi
51214 fi
51215 exit 0
51216 elif test ${D}DEPSMODE = mwcc ; then
51217 ${D}* || exit ${D}?
51218 # Run mwcc again with -MM and redirect into the dep file we want
51219 # NOTE: We can't use shift here because we need ${D}* to be valid
51220 prevarg=
51221 for arg in ${D}* ; do
51222 if test "${D}prevarg" = "-o"; then
51223 objfile=${D}arg
51224 else
51225 case "${D}arg" in
51226 -* )
51227 ;;
51228 * )
51229 srcfile=${D}arg
51230 ;;
51231 esac
51232 fi
51233 prevarg="${D}arg"
51234 done
51235 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51236 exit 0
51237 elif test ${D}DEPSMODE = unixcc; then
51238 ${D}* || exit ${D}?
51239 # Run compiler again with deps flag and redirect into the dep file.
51240 # It doesn't work if the '-o FILE' option is used, but without it the
51241 # dependency file will contain the wrong name for the object. So it is
51242 # removed from the command line, and the dep file is fixed with sed.
51243 cmd=""
51244 while test ${D}# -gt 0; do
51245 case "${D}1" in
51246 -o )
51247 shift
51248 objfile=${D}1
51249 ;;
51250 * )
51251 eval arg${D}#=\\${D}1
51252 cmd="${D}cmd \\${D}arg${D}#"
51253 ;;
51254 esac
51255 shift
51256 done
51257 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51258 exit 0
51259 else
51260 ${D}*
51261 exit ${D}?
51262 fi
51263 EOF
51264
51265 chmod +x bk-deps
51266 BK_DEPS="`pwd`/bk-deps"
51267 fi
51268 fi
51269
51270
51271
51272
51273
51274 case ${BAKEFILE_HOST} in
51275 *-*-cygwin* | *-*-mingw32* )
51276 if test -n "$ac_tool_prefix"; then
51277 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51278 set dummy ${ac_tool_prefix}windres; ac_word=$2
51279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51281 if test "${ac_cv_prog_WINDRES+set}" = set; then
51282 echo $ECHO_N "(cached) $ECHO_C" >&6
51283 else
51284 if test -n "$WINDRES"; then
51285 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51286 else
51287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51288 for as_dir in $PATH
51289 do
51290 IFS=$as_save_IFS
51291 test -z "$as_dir" && as_dir=.
51292 for ac_exec_ext in '' $ac_executable_extensions; do
51293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51294 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51296 break 2
51297 fi
51298 done
51299 done
51300 IFS=$as_save_IFS
51301
51302 fi
51303 fi
51304 WINDRES=$ac_cv_prog_WINDRES
51305 if test -n "$WINDRES"; then
51306 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51307 echo "${ECHO_T}$WINDRES" >&6; }
51308 else
51309 { echo "$as_me:$LINENO: result: no" >&5
51310 echo "${ECHO_T}no" >&6; }
51311 fi
51312
51313
51314 fi
51315 if test -z "$ac_cv_prog_WINDRES"; then
51316 ac_ct_WINDRES=$WINDRES
51317 # Extract the first word of "windres", so it can be a program name with args.
51318 set dummy windres; ac_word=$2
51319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51322 echo $ECHO_N "(cached) $ECHO_C" >&6
51323 else
51324 if test -n "$ac_ct_WINDRES"; then
51325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51326 else
51327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51328 for as_dir in $PATH
51329 do
51330 IFS=$as_save_IFS
51331 test -z "$as_dir" && as_dir=.
51332 for ac_exec_ext in '' $ac_executable_extensions; do
51333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51334 ac_cv_prog_ac_ct_WINDRES="windres"
51335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51336 break 2
51337 fi
51338 done
51339 done
51340 IFS=$as_save_IFS
51341
51342 fi
51343 fi
51344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51345 if test -n "$ac_ct_WINDRES"; then
51346 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51347 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51348 else
51349 { echo "$as_me:$LINENO: result: no" >&5
51350 echo "${ECHO_T}no" >&6; }
51351 fi
51352
51353 if test "x$ac_ct_WINDRES" = x; then
51354 WINDRES=""
51355 else
51356 case $cross_compiling:$ac_tool_warned in
51357 yes:)
51358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&5
51361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51362 whose name does not start with the host triplet. If you think this
51363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51364 ac_tool_warned=yes ;;
51365 esac
51366 WINDRES=$ac_ct_WINDRES
51367 fi
51368 else
51369 WINDRES="$ac_cv_prog_WINDRES"
51370 fi
51371
51372 ;;
51373
51374 *-*-darwin* | powerpc-apple-macos* )
51375 # Extract the first word of "Rez", so it can be a program name with args.
51376 set dummy Rez; ac_word=$2
51377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51379 if test "${ac_cv_prog_REZ+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51381 else
51382 if test -n "$REZ"; then
51383 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51384 else
51385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51386 for as_dir in $PATH
51387 do
51388 IFS=$as_save_IFS
51389 test -z "$as_dir" && as_dir=.
51390 for ac_exec_ext in '' $ac_executable_extensions; do
51391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51392 ac_cv_prog_REZ="Rez"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51394 break 2
51395 fi
51396 done
51397 done
51398 IFS=$as_save_IFS
51399
51400 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51401 fi
51402 fi
51403 REZ=$ac_cv_prog_REZ
51404 if test -n "$REZ"; then
51405 { echo "$as_me:$LINENO: result: $REZ" >&5
51406 echo "${ECHO_T}$REZ" >&6; }
51407 else
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51410 fi
51411
51412
51413 # Extract the first word of "SetFile", so it can be a program name with args.
51414 set dummy SetFile; ac_word=$2
51415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51417 if test "${ac_cv_prog_SETFILE+set}" = set; then
51418 echo $ECHO_N "(cached) $ECHO_C" >&6
51419 else
51420 if test -n "$SETFILE"; then
51421 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51422 else
51423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51424 for as_dir in $PATH
51425 do
51426 IFS=$as_save_IFS
51427 test -z "$as_dir" && as_dir=.
51428 for ac_exec_ext in '' $ac_executable_extensions; do
51429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51430 ac_cv_prog_SETFILE="SetFile"
51431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51432 break 2
51433 fi
51434 done
51435 done
51436 IFS=$as_save_IFS
51437
51438 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51439 fi
51440 fi
51441 SETFILE=$ac_cv_prog_SETFILE
51442 if test -n "$SETFILE"; then
51443 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51444 echo "${ECHO_T}$SETFILE" >&6; }
51445 else
51446 { echo "$as_me:$LINENO: result: no" >&5
51447 echo "${ECHO_T}no" >&6; }
51448 fi
51449
51450
51451 ;;
51452 esac
51453
51454
51455
51456
51457
51458
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51460
51461
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51463
51464
51465
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51469 fi
51470
51471
51472 GCC_PCH=0
51473 ICC_PCH=0
51474 USE_PCH=0
51475 BK_MAKE_PCH=""
51476
51477 case ${BAKEFILE_HOST} in
51478 *-*-cygwin* )
51479 bk_use_pch="no"
51480 ;;
51481 esac
51482
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51488 /* confdefs.h. */
51489 _ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51493
51494 int
51495 main ()
51496 {
51497
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51500 #endif
51501 #if (__GNUC__ < 3)
51502 There is no PCH support
51503 #endif
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51509 #endif
51510
51511 ;
51512 return 0;
51513 }
51514 _ACEOF
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51519 *) ac_try_echo=$ac_try;;
51520 esac
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51523 ac_status=$?
51524 grep -v '^ *+' conftest.er1 >conftest.err
51525 rm -f conftest.er1
51526 cat conftest.err >&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.$ac_objext; then
51532
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51535 GCC_PCH=1
51536
51537 else
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.$ac_ext >&5
51540
51541
51542 cat >conftest.$ac_ext <<_ACEOF
51543 /* confdefs.h. */
51544 _ACEOF
51545 cat confdefs.h >>conftest.$ac_ext
51546 cat >>conftest.$ac_ext <<_ACEOF
51547 /* end confdefs.h. */
51548
51549 int
51550 main ()
51551 {
51552
51553 #if !defined(__INTEL_COMPILER) || \
51554 (__INTEL_COMPILER < 800)
51555 There is no PCH support
51556 #endif
51557
51558 ;
51559 return 0;
51560 }
51561 _ACEOF
51562 rm -f conftest.$ac_objext
51563 if { (ac_try="$ac_compile"
51564 case "(($ac_try" in
51565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51566 *) ac_try_echo=$ac_try;;
51567 esac
51568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51569 (eval "$ac_compile") 2>conftest.er1
51570 ac_status=$?
51571 grep -v '^ *+' conftest.er1 >conftest.err
51572 rm -f conftest.er1
51573 cat conftest.err >&5
51574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575 (exit $ac_status); } && {
51576 test -z "$ac_c_werror_flag" ||
51577 test ! -s conftest.err
51578 } && test -s conftest.$ac_objext; then
51579
51580 { echo "$as_me:$LINENO: result: yes" >&5
51581 echo "${ECHO_T}yes" >&6; }
51582 ICC_PCH=1
51583
51584 else
51585 echo "$as_me: failed program was:" >&5
51586 sed 's/^/| /' conftest.$ac_ext >&5
51587
51588
51589 { echo "$as_me:$LINENO: result: no" >&5
51590 echo "${ECHO_T}no" >&6; }
51591
51592 fi
51593
51594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51595
51596 fi
51597
51598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51599 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51600 USE_PCH=1
51601
51602 D='$'
51603 cat <<EOF >bk-make-pch
51604 #!/bin/sh
51605
51606 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51607 # script. It is used to generated precompiled headers.
51608 #
51609 # Permission is given to use this file in any way.
51610
51611 outfile="${D}{1}"
51612 header="${D}{2}"
51613 shift
51614 shift
51615
51616 compiler=""
51617 headerfile=""
51618
51619 while test ${D}{#} -gt 0; do
51620 add_to_cmdline=1
51621 case "${D}{1}" in
51622 -I* )
51623 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51624 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51625 headerfile="${D}{incdir}/${D}{header}"
51626 fi
51627 ;;
51628 -use-pch|-use_pch )
51629 shift
51630 add_to_cmdline=0
51631 ;;
51632 esac
51633 if test ${D}add_to_cmdline = 1 ; then
51634 compiler="${D}{compiler} ${D}{1}"
51635 fi
51636 shift
51637 done
51638
51639 if test "x${D}{headerfile}" = "x" ; then
51640 echo "error: can't find header ${D}{header} in include paths" >&2
51641 else
51642 if test -f ${D}{outfile} ; then
51643 rm -f ${D}{outfile}
51644 else
51645 mkdir -p \`dirname ${D}{outfile}\`
51646 fi
51647 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51648 mkdir -p .deps
51649 if test "x${GCC_PCH}" = "x1" ; then
51650 # can do this because gcc is >= 3.4:
51651 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51652 elif test "x${ICC_PCH}" = "x1" ; then
51653 filename=pch_gen-${D}${D}
51654 file=${D}{filename}.c
51655 dfile=${D}{filename}.d
51656 cat > ${D}file <<EOT
51657 #include "${D}header"
51658 EOT
51659 # using -MF icc complains about differing command lines in creation/use
51660 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51661 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51662 rm -f ${D}file ${D}dfile ${D}{filename}.o
51663 fi
51664 exit ${D}{?}
51665 fi
51666 EOF
51667
51668 chmod +x bk-make-pch
51669 BK_MAKE_PCH="`pwd`/bk-make-pch"
51670 fi
51671 fi
51672 fi
51673
51674
51675
51676
51677
51678 COND_BUILD_DEBUG="#"
51679 if test "x$BUILD" = "xdebug" ; then
51680 COND_BUILD_DEBUG=""
51681 fi
51682
51683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51684 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51685 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51686 fi
51687
51688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51691 fi
51692
51693 COND_BUILD_DEBUG_UNICODE_0="#"
51694 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51695 COND_BUILD_DEBUG_UNICODE_0=""
51696 fi
51697
51698 COND_BUILD_DEBUG_UNICODE_1="#"
51699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51700 COND_BUILD_DEBUG_UNICODE_1=""
51701 fi
51702
51703 COND_BUILD_RELEASE="#"
51704 if test "x$BUILD" = "xrelease" ; then
51705 COND_BUILD_RELEASE=""
51706 fi
51707
51708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51709 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51710 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51711 fi
51712
51713 COND_BUILD_RELEASE_UNICODE_0="#"
51714 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51715 COND_BUILD_RELEASE_UNICODE_0=""
51716 fi
51717
51718 COND_BUILD_RELEASE_UNICODE_1="#"
51719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51720 COND_BUILD_RELEASE_UNICODE_1=""
51721 fi
51722
51723 COND_DEBUG_FLAG_1="#"
51724 if test "x$DEBUG_FLAG" = "x1" ; then
51725 COND_DEBUG_FLAG_1=""
51726 fi
51727
51728 COND_DEBUG_INFO_0="#"
51729 if test "x$DEBUG_INFO" = "x0" ; then
51730 COND_DEBUG_INFO_0=""
51731 fi
51732
51733 COND_DEBUG_INFO_1="#"
51734 if test "x$DEBUG_INFO" = "x1" ; then
51735 COND_DEBUG_INFO_1=""
51736 fi
51737
51738 COND_DEPS_TRACKING_0="#"
51739 if test "x$DEPS_TRACKING" = "x0" ; then
51740 COND_DEPS_TRACKING_0=""
51741 fi
51742
51743 COND_DEPS_TRACKING_1="#"
51744 if test "x$DEPS_TRACKING" = "x1" ; then
51745 COND_DEPS_TRACKING_1=""
51746 fi
51747
51748 COND_GCC_PCH_1="#"
51749 if test "x$GCC_PCH" = "x1" ; then
51750 COND_GCC_PCH_1=""
51751 fi
51752
51753 COND_ICC_PCH_1="#"
51754 if test "x$ICC_PCH" = "x1" ; then
51755 COND_ICC_PCH_1=""
51756 fi
51757
51758 COND_MONOLITHIC_0="#"
51759 if test "x$MONOLITHIC" = "x0" ; then
51760 COND_MONOLITHIC_0=""
51761 fi
51762
51763 COND_MONOLITHIC_0_SHARED_0="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51765 COND_MONOLITHIC_0_SHARED_0=""
51766 fi
51767
51768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51770 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51771 fi
51772
51773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51776 fi
51777
51778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51781 fi
51782
51783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51786 fi
51787
51788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51791 fi
51792
51793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51796 fi
51797
51798 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51801 fi
51802
51803 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51805 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51806 fi
51807
51808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51810 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51811 fi
51812
51813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51816 fi
51817
51818 COND_MONOLITHIC_0_SHARED_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51820 COND_MONOLITHIC_0_SHARED_1=""
51821 fi
51822
51823 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51825 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51826 fi
51827
51828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51831 fi
51832
51833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51836 fi
51837
51838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51841 fi
51842
51843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51846 fi
51847
51848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51851 fi
51852
51853 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51856 fi
51857
51858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51861 fi
51862
51863 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51866 fi
51867
51868 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51871 fi
51872
51873 COND_MONOLITHIC_0_USE_AUI_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51875 COND_MONOLITHIC_0_USE_AUI_1=""
51876 fi
51877
51878 COND_MONOLITHIC_0_USE_GUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51880 COND_MONOLITHIC_0_USE_GUI_1=""
51881 fi
51882
51883 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51885 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51886 fi
51887
51888 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51890 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51891 fi
51892
51893 COND_MONOLITHIC_0_USE_HTML_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51895 COND_MONOLITHIC_0_USE_HTML_1=""
51896 fi
51897
51898 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51900 COND_MONOLITHIC_0_USE_MEDIA_1=""
51901 fi
51902
51903 COND_MONOLITHIC_0_USE_ODBC_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51905 COND_MONOLITHIC_0_USE_ODBC_1=""
51906 fi
51907
51908 COND_MONOLITHIC_0_USE_QA_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51910 COND_MONOLITHIC_0_USE_QA_1=""
51911 fi
51912
51913 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51915 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51916 fi
51917
51918 COND_MONOLITHIC_0_USE_STC_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51920 COND_MONOLITHIC_0_USE_STC_1=""
51921 fi
51922
51923 COND_MONOLITHIC_0_USE_XRC_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51925 COND_MONOLITHIC_0_USE_XRC_1=""
51926 fi
51927
51928 COND_MONOLITHIC_1="#"
51929 if test "x$MONOLITHIC" = "x1" ; then
51930 COND_MONOLITHIC_1=""
51931 fi
51932
51933 COND_MONOLITHIC_1_SHARED_0="#"
51934 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51935 COND_MONOLITHIC_1_SHARED_0=""
51936 fi
51937
51938 COND_MONOLITHIC_1_SHARED_1="#"
51939 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51940 COND_MONOLITHIC_1_SHARED_1=""
51941 fi
51942
51943 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51944 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51945 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51946 fi
51947
51948 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51949 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51950 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51951 fi
51952
51953 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51954 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51955 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51956 fi
51957
51958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51959 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51961 fi
51962
51963 COND_PLATFORM_MACOSX_1="#"
51964 if test "x$PLATFORM_MACOSX" = "x1" ; then
51965 COND_PLATFORM_MACOSX_1=""
51966 fi
51967
51968 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51971 fi
51972
51973 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51976 fi
51977
51978 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51981 fi
51982
51983 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51986 fi
51987
51988 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51991 fi
51992
51993 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51996 fi
51997
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52001 fi
52002
52003 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52005 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52006 fi
52007
52008 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52010 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52011 fi
52012
52013 COND_PLATFORM_MACOS_1="#"
52014 if test "x$PLATFORM_MACOS" = "x1" ; then
52015 COND_PLATFORM_MACOS_1=""
52016 fi
52017
52018 COND_PLATFORM_MAC_1="#"
52019 if test "x$PLATFORM_MAC" = "x1" ; then
52020 COND_PLATFORM_MAC_1=""
52021 fi
52022
52023 COND_PLATFORM_MSDOS_0="#"
52024 if test "x$PLATFORM_MSDOS" = "x0" ; then
52025 COND_PLATFORM_MSDOS_0=""
52026 fi
52027
52028 COND_PLATFORM_MSDOS_1="#"
52029 if test "x$PLATFORM_MSDOS" = "x1" ; then
52030 COND_PLATFORM_MSDOS_1=""
52031 fi
52032
52033 COND_PLATFORM_OS2_1="#"
52034 if test "x$PLATFORM_OS2" = "x1" ; then
52035 COND_PLATFORM_OS2_1=""
52036 fi
52037
52038 COND_PLATFORM_UNIX_0="#"
52039 if test "x$PLATFORM_UNIX" = "x0" ; then
52040 COND_PLATFORM_UNIX_0=""
52041 fi
52042
52043 COND_PLATFORM_UNIX_1="#"
52044 if test "x$PLATFORM_UNIX" = "x1" ; then
52045 COND_PLATFORM_UNIX_1=""
52046 fi
52047
52048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52051 fi
52052
52053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52055 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52056 fi
52057
52058 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52061 fi
52062
52063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52066 fi
52067
52068 COND_PLATFORM_WIN32_0="#"
52069 if test "x$PLATFORM_WIN32" = "x0" ; then
52070 COND_PLATFORM_WIN32_0=""
52071 fi
52072
52073 COND_PLATFORM_WIN32_1="#"
52074 if test "x$PLATFORM_WIN32" = "x1" ; then
52075 COND_PLATFORM_WIN32_1=""
52076 fi
52077
52078 COND_SHARED_0="#"
52079 if test "x$SHARED" = "x0" ; then
52080 COND_SHARED_0=""
52081 fi
52082
52083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52084 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52086 fi
52087
52088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52091 fi
52092
52093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52096 fi
52097
52098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52101 fi
52102
52103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52106 fi
52107
52108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52111 fi
52112
52113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52116 fi
52117
52118 COND_SHARED_0_USE_STC_1="#"
52119 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52120 COND_SHARED_0_USE_STC_1=""
52121 fi
52122
52123 COND_SHARED_0_USE_XRC_1="#"
52124 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52125 COND_SHARED_0_USE_XRC_1=""
52126 fi
52127
52128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52131 fi
52132
52133 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52134 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52135 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52136 fi
52137
52138 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52139 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52140 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52141 fi
52142
52143 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52144 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52145 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52146 fi
52147
52148 COND_SHARED_1="#"
52149 if test "x$SHARED" = "x1" ; then
52150 COND_SHARED_1=""
52151 fi
52152
52153 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52154 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52155 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52156 fi
52157
52158 COND_SHARED_1_USE_XRC_1="#"
52159 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52160 COND_SHARED_1_USE_XRC_1=""
52161 fi
52162
52163 COND_TOOLKIT_="#"
52164 if test "x$TOOLKIT" = "x" ; then
52165 COND_TOOLKIT_=""
52166 fi
52167
52168 COND_TOOLKIT_COCOA="#"
52169 if test "x$TOOLKIT" = "xCOCOA" ; then
52170 COND_TOOLKIT_COCOA=""
52171 fi
52172
52173 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52174 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52175 COND_TOOLKIT_COCOA_USE_GUI_1=""
52176 fi
52177
52178 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52181 fi
52182
52183 COND_TOOLKIT_DFB="#"
52184 if test "x$TOOLKIT" = "xDFB" ; then
52185 COND_TOOLKIT_DFB=""
52186 fi
52187
52188 COND_TOOLKIT_DFB_USE_GUI_1="#"
52189 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52190 COND_TOOLKIT_DFB_USE_GUI_1=""
52191 fi
52192
52193 COND_TOOLKIT_GTK="#"
52194 if test "x$TOOLKIT" = "xGTK" ; then
52195 COND_TOOLKIT_GTK=""
52196 fi
52197
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52201 fi
52202
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52206 fi
52207
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52211 fi
52212
52213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52216 fi
52217
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52221 fi
52222
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52226 fi
52227
52228 COND_TOOLKIT_GTK_USE_GUI_1="#"
52229 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52230 COND_TOOLKIT_GTK_USE_GUI_1=""
52231 fi
52232
52233 COND_TOOLKIT_MAC="#"
52234 if test "x$TOOLKIT" = "xMAC" ; then
52235 COND_TOOLKIT_MAC=""
52236 fi
52237
52238 COND_TOOLKIT_MAC_USE_GUI_1="#"
52239 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52240 COND_TOOLKIT_MAC_USE_GUI_1=""
52241 fi
52242
52243 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52244 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52245 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52246 fi
52247
52248 COND_TOOLKIT_MGL="#"
52249 if test "x$TOOLKIT" = "xMGL" ; then
52250 COND_TOOLKIT_MGL=""
52251 fi
52252
52253 COND_TOOLKIT_MGL_USE_GUI_1="#"
52254 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52255 COND_TOOLKIT_MGL_USE_GUI_1=""
52256 fi
52257
52258 COND_TOOLKIT_MOTIF="#"
52259 if test "x$TOOLKIT" = "xMOTIF" ; then
52260 COND_TOOLKIT_MOTIF=""
52261 fi
52262
52263 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52265 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52266 fi
52267
52268 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52270 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52271 fi
52272
52273 COND_TOOLKIT_MSW="#"
52274 if test "x$TOOLKIT" = "xMSW" ; then
52275 COND_TOOLKIT_MSW=""
52276 fi
52277
52278 COND_TOOLKIT_MSW_USE_GUI_1="#"
52279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52280 COND_TOOLKIT_MSW_USE_GUI_1=""
52281 fi
52282
52283 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52285 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52286 fi
52287
52288 COND_TOOLKIT_MSW_WXUNIV_0="#"
52289 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_MSW_WXUNIV_0=""
52291 fi
52292
52293 COND_TOOLKIT_PM="#"
52294 if test "x$TOOLKIT" = "xPM" ; then
52295 COND_TOOLKIT_PM=""
52296 fi
52297
52298 COND_TOOLKIT_PM_USE_GUI_1="#"
52299 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52300 COND_TOOLKIT_PM_USE_GUI_1=""
52301 fi
52302
52303 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52304 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52305 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52306 fi
52307
52308 COND_TOOLKIT_WINCE="#"
52309 if test "x$TOOLKIT" = "xWINCE" ; then
52310 COND_TOOLKIT_WINCE=""
52311 fi
52312
52313 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52314 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52315 COND_TOOLKIT_WINCE_USE_GUI_1=""
52316 fi
52317
52318 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52319 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52320 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52321 fi
52322
52323 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52324 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52325 COND_TOOLKIT_WINCE_WXUNIV_0=""
52326 fi
52327
52328 COND_TOOLKIT_X11="#"
52329 if test "x$TOOLKIT" = "xX11" ; then
52330 COND_TOOLKIT_X11=""
52331 fi
52332
52333 COND_TOOLKIT_X11_USE_GUI_1="#"
52334 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52335 COND_TOOLKIT_X11_USE_GUI_1=""
52336 fi
52337
52338 COND_UNICODE_1="#"
52339 if test "x$UNICODE" = "x1" ; then
52340 COND_UNICODE_1=""
52341 fi
52342
52343 COND_USE_EXCEPTIONS_0="#"
52344 if test "x$USE_EXCEPTIONS" = "x0" ; then
52345 COND_USE_EXCEPTIONS_0=""
52346 fi
52347
52348 COND_USE_EXCEPTIONS_1="#"
52349 if test "x$USE_EXCEPTIONS" = "x1" ; then
52350 COND_USE_EXCEPTIONS_1=""
52351 fi
52352
52353 COND_USE_GUI_0="#"
52354 if test "x$USE_GUI" = "x0" ; then
52355 COND_USE_GUI_0=""
52356 fi
52357
52358 COND_USE_GUI_1="#"
52359 if test "x$USE_GUI" = "x1" ; then
52360 COND_USE_GUI_1=""
52361 fi
52362
52363 COND_USE_GUI_1_USE_OPENGL_1="#"
52364 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52365 COND_USE_GUI_1_USE_OPENGL_1=""
52366 fi
52367
52368 COND_USE_GUI_1_WXUNIV_0="#"
52369 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52370 COND_USE_GUI_1_WXUNIV_0=""
52371 fi
52372
52373 COND_USE_GUI_1_WXUNIV_1="#"
52374 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52375 COND_USE_GUI_1_WXUNIV_1=""
52376 fi
52377
52378 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52379 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52380 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52381 fi
52382
52383 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52384 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52385 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52386 fi
52387
52388 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52390 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52391 fi
52392
52393 COND_USE_ODBC_1="#"
52394 if test "x$USE_ODBC" = "x1" ; then
52395 COND_USE_ODBC_1=""
52396 fi
52397
52398 COND_USE_OPENGL_1="#"
52399 if test "x$USE_OPENGL" = "x1" ; then
52400 COND_USE_OPENGL_1=""
52401 fi
52402
52403 COND_USE_PCH_1="#"
52404 if test "x$USE_PCH" = "x1" ; then
52405 COND_USE_PCH_1=""
52406 fi
52407
52408 COND_USE_PLUGINS_0="#"
52409 if test "x$USE_PLUGINS" = "x0" ; then
52410 COND_USE_PLUGINS_0=""
52411 fi
52412
52413 COND_USE_RTTI_0="#"
52414 if test "x$USE_RTTI" = "x0" ; then
52415 COND_USE_RTTI_0=""
52416 fi
52417
52418 COND_USE_RTTI_1="#"
52419 if test "x$USE_RTTI" = "x1" ; then
52420 COND_USE_RTTI_1=""
52421 fi
52422
52423 COND_USE_SOSYMLINKS_1="#"
52424 if test "x$USE_SOSYMLINKS" = "x1" ; then
52425 COND_USE_SOSYMLINKS_1=""
52426 fi
52427
52428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52431 fi
52432
52433 COND_USE_SOVERLINUX_1="#"
52434 if test "x$USE_SOVERLINUX" = "x1" ; then
52435 COND_USE_SOVERLINUX_1=""
52436 fi
52437
52438 COND_USE_SOVERSION_0="#"
52439 if test "x$USE_SOVERSION" = "x0" ; then
52440 COND_USE_SOVERSION_0=""
52441 fi
52442
52443 COND_USE_SOVERSOLARIS_1="#"
52444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52445 COND_USE_SOVERSOLARIS_1=""
52446 fi
52447
52448 COND_USE_STC_1="#"
52449 if test "x$USE_STC" = "x1" ; then
52450 COND_USE_STC_1=""
52451 fi
52452
52453 COND_USE_THREADS_0="#"
52454 if test "x$USE_THREADS" = "x0" ; then
52455 COND_USE_THREADS_0=""
52456 fi
52457
52458 COND_USE_THREADS_1="#"
52459 if test "x$USE_THREADS" = "x1" ; then
52460 COND_USE_THREADS_1=""
52461 fi
52462
52463 COND_USE_XRC_1="#"
52464 if test "x$USE_XRC" = "x1" ; then
52465 COND_USE_XRC_1=""
52466 fi
52467
52468 COND_WINDOWS_IMPLIB_1="#"
52469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52470 COND_WINDOWS_IMPLIB_1=""
52471 fi
52472
52473 COND_WITH_PLUGIN_SDL_1="#"
52474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52475 COND_WITH_PLUGIN_SDL_1=""
52476 fi
52477
52478 COND_WXUNIV_0="#"
52479 if test "x$WXUNIV" = "x0" ; then
52480 COND_WXUNIV_0=""
52481 fi
52482
52483 COND_WXUNIV_1="#"
52484 if test "x$WXUNIV" = "x1" ; then
52485 COND_WXUNIV_1=""
52486 fi
52487
52488 COND_WXUSE_EXPAT_BUILTIN="#"
52489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52490 COND_WXUSE_EXPAT_BUILTIN=""
52491 fi
52492
52493 COND_WXUSE_LIBJPEG_BUILTIN="#"
52494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52495 COND_WXUSE_LIBJPEG_BUILTIN=""
52496 fi
52497
52498 COND_WXUSE_LIBPNG_BUILTIN="#"
52499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52500 COND_WXUSE_LIBPNG_BUILTIN=""
52501 fi
52502
52503 COND_WXUSE_LIBTIFF_BUILTIN="#"
52504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52505 COND_WXUSE_LIBTIFF_BUILTIN=""
52506 fi
52507
52508 COND_WXUSE_ODBC_BUILTIN="#"
52509 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52510 COND_WXUSE_ODBC_BUILTIN=""
52511 fi
52512
52513 COND_WXUSE_REGEX_BUILTIN="#"
52514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52515 COND_WXUSE_REGEX_BUILTIN=""
52516 fi
52517
52518 COND_WXUSE_ZLIB_BUILTIN="#"
52519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52520 COND_WXUSE_ZLIB_BUILTIN=""
52521 fi
52522
52523
52524
52525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52526 { { 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
52527 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;}
52528 { (exit 1); exit 1; }; }
52529 fi
52530
52531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52532 { { 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
52533 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;}
52534 { (exit 1); exit 1; }; }
52535 fi
52536
52537
52538 case ${INSTALL} in
52539 /* ) # Absolute
52540 ;;
52541 ?:* ) # Drive letter, considered as absolute.
52542 ;;
52543 *)
52544 INSTALL=`pwd`/${INSTALL} ;;
52545 esac
52546
52547 if test "$wxUSE_GUI" = "yes"; then
52548
52549 if test "$wxUSE_MSW" = 1 ; then
52550 if test "x$WINDRES" = "x"; then
52551 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52552 echo "$as_me: error: Required windres program not found" >&2;}
52553 { (exit 1); exit 1; }; }
52554 fi
52555
52556 RESCOMP="$WINDRES"
52557 fi
52558
52559 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52560 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52561 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52562
52563 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52564
52565 # Extract the first word of "DeRez", so it can be a program name with args.
52566 set dummy DeRez; ac_word=$2
52567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52569 if test "${ac_cv_prog_DEREZ+set}" = set; then
52570 echo $ECHO_N "(cached) $ECHO_C" >&6
52571 else
52572 if test -n "$DEREZ"; then
52573 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52574 else
52575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52576 for as_dir in $PATH
52577 do
52578 IFS=$as_save_IFS
52579 test -z "$as_dir" && as_dir=.
52580 for ac_exec_ext in '' $ac_executable_extensions; do
52581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52582 ac_cv_prog_DEREZ="DeRez"
52583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52584 break 2
52585 fi
52586 done
52587 done
52588 IFS=$as_save_IFS
52589
52590 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52591 fi
52592 fi
52593 DEREZ=$ac_cv_prog_DEREZ
52594 if test -n "$DEREZ"; then
52595 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52596 echo "${ECHO_T}$DEREZ" >&6; }
52597 else
52598 { echo "$as_me:$LINENO: result: no" >&5
52599 echo "${ECHO_T}no" >&6; }
52600 fi
52601
52602
52603
52604 MACSETFILE="\$(SETFILE)"
52605
52606 if test "$wxUSE_MAC" = 1; then
52607 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52608 RESCOMP="$REZ"
52609 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52610 else
52611 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52612 RESCOMP="cat /dev/null \| $REZ"
52613 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52614 fi
52615
52616 else
52617 MACSETFILE="@true"
52618
52619 if test "$wxUSE_PM" = 1; then
52620 RESCOMP="emxbind"
52621 WXCONFIG_RESFLAGS="-ep"
52622
52623 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52624 else
52625 POSTLINK_COMMAND="@true"
52626 fi
52627 fi
52628
52629 fi
52630
52631
52632 if test $GCC_PCH = 1
52633 then
52634 if test "$wx_cv_gcc_pch_bug" = yes; then
52635 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52636 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52637 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52638 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52639 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52640 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52641 fi
52642
52643 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52644 fi
52645
52646
52647 if test "$wxUSE_MAC" = 1 ; then
52648 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52649 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52650 mv temp bk-deps
52651 chmod +x bk-deps
52652 fi
52653 fi
52654
52655 if test "$wxUSE_SHARED" = "yes"; then
52656
52657 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52658 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52659
52660 case "${host}" in
52661 *-pc-os2_emx | *-pc-os2-emx )
52662 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52663 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52664 cp -p ${srcdir}/src/os2/dllnames.sh .
52665 cp -p ${srcdir}/src/os2/dllar.sh .
52666 ;;
52667 esac
52668 else
52669
52670 EXE_LINKER="$CXX -o"
52671
52672 fi
52673 if test "$wxUSE_OMF" = "yes"; then
52674 case "${host}" in
52675 *-pc-os2_emx | *-pc-os2-emx )
52676 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52677 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52678 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52679 ;;
52680 esac
52681 fi
52682
52683 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52684
52685
52686 case "${host}" in
52687 *-*-solaris2* )
52688 if "$GCC" = yes; then
52689 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52690 LIBS=`echo $LIBS | sed 's/-mt//'`
52691 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52692 fi
52693 ;;
52694
52695 *-*-linux* )
52696 if test "x$SUNCXX" = xyes; then
52697 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52698 LIBS=`echo $LIBS | sed 's/-pthread//'`
52699 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52700 fi
52701 ;;
52702 esac
52703
52704 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52705 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52706
52707 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52771 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52772 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52773 echo $ECHO_N "(cached) $ECHO_C" >&6
52774 else
52775 cat >conftest.make <<\_ACEOF
52776 SHELL = /bin/sh
52777 all:
52778 @echo '@@@%%%=$(MAKE)=@@@%%%'
52779 _ACEOF
52780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52781 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52782 *@@@%%%=?*=@@@%%%*)
52783 eval ac_cv_prog_make_${ac_make}_set=yes;;
52784 *)
52785 eval ac_cv_prog_make_${ac_make}_set=no;;
52786 esac
52787 rm -f conftest.make
52788 fi
52789 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52790 { echo "$as_me:$LINENO: result: yes" >&5
52791 echo "${ECHO_T}yes" >&6; }
52792 SET_MAKE=
52793 else
52794 { echo "$as_me:$LINENO: result: no" >&5
52795 echo "${ECHO_T}no" >&6; }
52796 SET_MAKE="MAKE=${MAKE-make}"
52797 fi
52798
52799
52800
52801 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52802
52803
52804 if test "$USE_WIN32" = 1; then
52805 ac_config_commands="$ac_config_commands
52806 rcdefs.h
52807 "
52808
52809 fi
52810
52811 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52812
52813
52814 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52815
52816
52817 if test "$wx_cv_version_script" = "yes"; then
52818 ac_config_files="$ac_config_files version-script"
52819
52820 fi
52821 ac_config_files="$ac_config_files Makefile"
52822
52823
52824 ac_config_commands="$ac_config_commands wx-config"
52825
52826
52827
52828 if test "$wxWITH_SUBDIRS" != "no"; then
52829 if test "$wxUSE_GUI" = "yes"; then
52830 SUBDIRS="samples demos utils"
52831 else SUBDIRS="samples utils"
52832 fi
52833
52834
52835
52836 # Check whether --with-cppunit-prefix was given.
52837 if test "${with_cppunit_prefix+set}" = set; then
52838 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52839 else
52840 cppunit_config_prefix=""
52841 fi
52842
52843
52844 # Check whether --with-cppunit-exec-prefix was given.
52845 if test "${with_cppunit_exec_prefix+set}" = set; then
52846 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52847 else
52848 cppunit_config_exec_prefix=""
52849 fi
52850
52851
52852 if test x$cppunit_config_exec_prefix != x ; then
52853 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52854 if test x${CPPUNIT_CONFIG+set} != xset ; then
52855 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52856 fi
52857 fi
52858 if test x$cppunit_config_prefix != x ; then
52859 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52860 if test x${CPPUNIT_CONFIG+set} != xset ; then
52861 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52862 fi
52863 fi
52864
52865 # Extract the first word of "cppunit-config", so it can be a program name with args.
52866 set dummy cppunit-config; ac_word=$2
52867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52869 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52870 echo $ECHO_N "(cached) $ECHO_C" >&6
52871 else
52872 case $CPPUNIT_CONFIG in
52873 [\\/]* | ?:[\\/]*)
52874 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52875 ;;
52876 *)
52877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52878 for as_dir in $PATH
52879 do
52880 IFS=$as_save_IFS
52881 test -z "$as_dir" && as_dir=.
52882 for ac_exec_ext in '' $ac_executable_extensions; do
52883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52884 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52886 break 2
52887 fi
52888 done
52889 done
52890 IFS=$as_save_IFS
52891
52892 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52893 ;;
52894 esac
52895 fi
52896 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52897 if test -n "$CPPUNIT_CONFIG"; then
52898 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52899 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52900 else
52901 { echo "$as_me:$LINENO: result: no" >&5
52902 echo "${ECHO_T}no" >&6; }
52903 fi
52904
52905
52906 cppunit_version_min=1.8.0
52907
52908 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52909 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52910 no_cppunit=""
52911 if test "$CPPUNIT_CONFIG" = "no" ; then
52912 { echo "$as_me:$LINENO: result: no" >&5
52913 echo "${ECHO_T}no" >&6; }
52914 no_cppunit=yes
52915 else
52916 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52917 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52918 cppunit_version=`$CPPUNIT_CONFIG --version`
52919
52920 cppunit_major_version=`echo $cppunit_version | \
52921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52922 cppunit_minor_version=`echo $cppunit_version | \
52923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52924 cppunit_micro_version=`echo $cppunit_version | \
52925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52926
52927 cppunit_major_min=`echo $cppunit_version_min | \
52928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52929 cppunit_minor_min=`echo $cppunit_version_min | \
52930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52931 cppunit_micro_min=`echo $cppunit_version_min | \
52932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52933
52934 cppunit_version_proper=`expr \
52935 $cppunit_major_version \> $cppunit_major_min \| \
52936 $cppunit_major_version \= $cppunit_major_min \& \
52937 $cppunit_minor_version \> $cppunit_minor_min \| \
52938 $cppunit_major_version \= $cppunit_major_min \& \
52939 $cppunit_minor_version \= $cppunit_minor_min \& \
52940 $cppunit_micro_version \>= $cppunit_micro_min `
52941
52942 if test "$cppunit_version_proper" = "1" ; then
52943 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52944 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52945 else
52946 { echo "$as_me:$LINENO: result: no" >&5
52947 echo "${ECHO_T}no" >&6; }
52948 no_cppunit=yes
52949 fi
52950 fi
52951
52952 if test "x$no_cppunit" = x ; then
52953 SUBDIRS="$SUBDIRS tests"
52954 else
52955 CPPUNIT_CFLAGS=""
52956 CPPUNIT_LIBS=""
52957 :
52958 fi
52959
52960
52961
52962
52963
52964 for subdir in `echo $SUBDIRS`; do
52965 if test -d ${srcdir}/${subdir} ; then
52966 if test "$wxUSE_GUI" = "yes"; then
52967 if test ${subdir} = "samples"; then
52968 makefiles="samples/Makefile.in $makefiles"
52969 for sample in `echo $SAMPLES_SUBDIRS`; do
52970 if test -d $srcdir/samples/$sample; then
52971 makefiles="samples/$sample/Makefile.in $makefiles"
52972 fi
52973 done
52974 else
52975 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52976 eval "disabled=\$$disabled_var"
52977 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52978 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52979 fi
52980 else if test ${subdir} = "samples"; then
52981 makefiles="samples/Makefile.in samples/console/Makefile.in"
52982 elif test ${subdir} = "utils"; then
52983 makefiles=""
52984 for util in HelpGen tex2rtf ; do
52985 if test -d $srcdir/utils/$util ; then
52986 makefiles="utils/$util/Makefile.in \
52987 utils/$util/src/Makefile.in \
52988 $makefiles"
52989 fi
52990 done
52991 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52992 fi
52993 fi
52994
52995 for mkin in $makefiles ; do
52996 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52997 ac_config_files="$ac_config_files $mk"
52998
52999 done
53000 fi
53001 done
53002 fi
53003 cat >confcache <<\_ACEOF
53004 # This file is a shell script that caches the results of configure
53005 # tests run on this system so they can be shared between configure
53006 # scripts and configure runs, see configure's option --config-cache.
53007 # It is not useful on other systems. If it contains results you don't
53008 # want to keep, you may remove or edit it.
53009 #
53010 # config.status only pays attention to the cache file if you give it
53011 # the --recheck option to rerun configure.
53012 #
53013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53015 # following values.
53016
53017 _ACEOF
53018
53019 # The following way of writing the cache mishandles newlines in values,
53020 # but we know of no workaround that is simple, portable, and efficient.
53021 # So, we kill variables containing newlines.
53022 # Ultrix sh set writes to stderr and can't be redirected directly,
53023 # and sets the high bit in the cache file unless we assign to the vars.
53024 (
53025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53026 eval ac_val=\$$ac_var
53027 case $ac_val in #(
53028 *${as_nl}*)
53029 case $ac_var in #(
53030 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53031 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53032 esac
53033 case $ac_var in #(
53034 _ | IFS | as_nl) ;; #(
53035 *) $as_unset $ac_var ;;
53036 esac ;;
53037 esac
53038 done
53039
53040 (set) 2>&1 |
53041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53042 *${as_nl}ac_space=\ *)
53043 # `set' does not quote correctly, so add quotes (double-quote
53044 # substitution turns \\\\ into \\, and sed turns \\ into \).
53045 sed -n \
53046 "s/'/'\\\\''/g;
53047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53048 ;; #(
53049 *)
53050 # `set' quotes correctly as required by POSIX, so do not add quotes.
53051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53052 ;;
53053 esac |
53054 sort
53055 ) |
53056 sed '
53057 /^ac_cv_env_/b end
53058 t clear
53059 :clear
53060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53061 t end
53062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53063 :end' >>confcache
53064 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53065 if test -w "$cache_file"; then
53066 test "x$cache_file" != "x/dev/null" &&
53067 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53068 echo "$as_me: updating cache $cache_file" >&6;}
53069 cat confcache >$cache_file
53070 else
53071 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53072 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53073 fi
53074 fi
53075 rm -f confcache
53076
53077 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53078 # Let make expand exec_prefix.
53079 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53080
53081 DEFS=-DHAVE_CONFIG_H
53082
53083 ac_libobjs=
53084 ac_ltlibobjs=
53085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53086 # 1. Remove the extension, and $U if already installed.
53087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53088 ac_i=`echo "$ac_i" | sed "$ac_script"`
53089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53090 # will be set to the directory where LIBOBJS objects are built.
53091 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53092 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53093 done
53094 LIBOBJS=$ac_libobjs
53095
53096 LTLIBOBJS=$ac_ltlibobjs
53097
53098
53099
53100 : ${CONFIG_STATUS=./config.status}
53101 ac_clean_files_save=$ac_clean_files
53102 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53103 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53104 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53105 cat >$CONFIG_STATUS <<_ACEOF
53106 #! $SHELL
53107 # Generated by $as_me.
53108 # Run this file to recreate the current configuration.
53109 # Compiler output produced by configure, useful for debugging
53110 # configure, is in config.log if it exists.
53111
53112 debug=false
53113 ac_cs_recheck=false
53114 ac_cs_silent=false
53115 SHELL=\${CONFIG_SHELL-$SHELL}
53116 _ACEOF
53117
53118 cat >>$CONFIG_STATUS <<\_ACEOF
53119 ## --------------------- ##
53120 ## M4sh Initialization. ##
53121 ## --------------------- ##
53122
53123 # Be more Bourne compatible
53124 DUALCASE=1; export DUALCASE # for MKS sh
53125 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53126 emulate sh
53127 NULLCMD=:
53128 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53129 # is contrary to our usage. Disable this feature.
53130 alias -g '${1+"$@"}'='"$@"'
53131 setopt NO_GLOB_SUBST
53132 else
53133 case `(set -o) 2>/dev/null` in
53134 *posix*) set -o posix ;;
53135 esac
53136
53137 fi
53138
53139
53140
53141
53142 # PATH needs CR
53143 # Avoid depending upon Character Ranges.
53144 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53145 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53146 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53147 as_cr_digits='0123456789'
53148 as_cr_alnum=$as_cr_Letters$as_cr_digits
53149
53150 # The user is always right.
53151 if test "${PATH_SEPARATOR+set}" != set; then
53152 echo "#! /bin/sh" >conf$$.sh
53153 echo "exit 0" >>conf$$.sh
53154 chmod +x conf$$.sh
53155 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53156 PATH_SEPARATOR=';'
53157 else
53158 PATH_SEPARATOR=:
53159 fi
53160 rm -f conf$$.sh
53161 fi
53162
53163 # Support unset when possible.
53164 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53165 as_unset=unset
53166 else
53167 as_unset=false
53168 fi
53169
53170
53171 # IFS
53172 # We need space, tab and new line, in precisely that order. Quoting is
53173 # there to prevent editors from complaining about space-tab.
53174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53175 # splitting by setting IFS to empty value.)
53176 as_nl='
53177 '
53178 IFS=" "" $as_nl"
53179
53180 # Find who we are. Look in the path if we contain no directory separator.
53181 case $0 in
53182 *[\\/]* ) as_myself=$0 ;;
53183 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53184 for as_dir in $PATH
53185 do
53186 IFS=$as_save_IFS
53187 test -z "$as_dir" && as_dir=.
53188 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53189 done
53190 IFS=$as_save_IFS
53191
53192 ;;
53193 esac
53194 # We did not find ourselves, most probably we were run as `sh COMMAND'
53195 # in which case we are not to be found in the path.
53196 if test "x$as_myself" = x; then
53197 as_myself=$0
53198 fi
53199 if test ! -f "$as_myself"; then
53200 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53201 { (exit 1); exit 1; }
53202 fi
53203
53204 # Work around bugs in pre-3.0 UWIN ksh.
53205 for as_var in ENV MAIL MAILPATH
53206 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53207 done
53208 PS1='$ '
53209 PS2='> '
53210 PS4='+ '
53211
53212 # NLS nuisances.
53213 for as_var in \
53214 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53215 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53216 LC_TELEPHONE LC_TIME
53217 do
53218 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53219 eval $as_var=C; export $as_var
53220 else
53221 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53222 fi
53223 done
53224
53225 # Required to use basename.
53226 if expr a : '\(a\)' >/dev/null 2>&1 &&
53227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53228 as_expr=expr
53229 else
53230 as_expr=false
53231 fi
53232
53233 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53234 as_basename=basename
53235 else
53236 as_basename=false
53237 fi
53238
53239
53240 # Name of the executable.
53241 as_me=`$as_basename -- "$0" ||
53242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53243 X"$0" : 'X\(//\)$' \| \
53244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53245 echo X/"$0" |
53246 sed '/^.*\/\([^/][^/]*\)\/*$/{
53247 s//\1/
53248 q
53249 }
53250 /^X\/\(\/\/\)$/{
53251 s//\1/
53252 q
53253 }
53254 /^X\/\(\/\).*/{
53255 s//\1/
53256 q
53257 }
53258 s/.*/./; q'`
53259
53260 # CDPATH.
53261 $as_unset CDPATH
53262
53263
53264
53265 as_lineno_1=$LINENO
53266 as_lineno_2=$LINENO
53267 test "x$as_lineno_1" != "x$as_lineno_2" &&
53268 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53269
53270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53271 # uniformly replaced by the line number. The first 'sed' inserts a
53272 # line-number line after each line using $LINENO; the second 'sed'
53273 # does the real work. The second script uses 'N' to pair each
53274 # line-number line with the line containing $LINENO, and appends
53275 # trailing '-' during substitution so that $LINENO is not a special
53276 # case at line end.
53277 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53278 # scripts with optimization help from Paolo Bonzini. Blame Lee
53279 # E. McMahon (1931-1989) for sed's syntax. :-)
53280 sed -n '
53281 p
53282 /[$]LINENO/=
53283 ' <$as_myself |
53284 sed '
53285 s/[$]LINENO.*/&-/
53286 t lineno
53287 b
53288 :lineno
53289 N
53290 :loop
53291 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53292 t loop
53293 s/-\n.*//
53294 ' >$as_me.lineno &&
53295 chmod +x "$as_me.lineno" ||
53296 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53297 { (exit 1); exit 1; }; }
53298
53299 # Don't try to exec as it changes $[0], causing all sort of problems
53300 # (the dirname of $[0] is not the place where we might find the
53301 # original and so on. Autoconf is especially sensitive to this).
53302 . "./$as_me.lineno"
53303 # Exit status is that of the last command.
53304 exit
53305 }
53306
53307
53308 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53309 as_dirname=dirname
53310 else
53311 as_dirname=false
53312 fi
53313
53314 ECHO_C= ECHO_N= ECHO_T=
53315 case `echo -n x` in
53316 -n*)
53317 case `echo 'x\c'` in
53318 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53319 *) ECHO_C='\c';;
53320 esac;;
53321 *)
53322 ECHO_N='-n';;
53323 esac
53324
53325 if expr a : '\(a\)' >/dev/null 2>&1 &&
53326 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53327 as_expr=expr
53328 else
53329 as_expr=false
53330 fi
53331
53332 rm -f conf$$ conf$$.exe conf$$.file
53333 if test -d conf$$.dir; then
53334 rm -f conf$$.dir/conf$$.file
53335 else
53336 rm -f conf$$.dir
53337 mkdir conf$$.dir
53338 fi
53339 echo >conf$$.file
53340 if ln -s conf$$.file conf$$ 2>/dev/null; then
53341 as_ln_s='ln -s'
53342 # ... but there are two gotchas:
53343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53345 # In both cases, we have to default to `cp -p'.
53346 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53347 as_ln_s='cp -p'
53348 elif ln conf$$.file conf$$ 2>/dev/null; then
53349 as_ln_s=ln
53350 else
53351 as_ln_s='cp -p'
53352 fi
53353 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53354 rmdir conf$$.dir 2>/dev/null
53355
53356 if mkdir -p . 2>/dev/null; then
53357 as_mkdir_p=:
53358 else
53359 test -d ./-p && rmdir ./-p
53360 as_mkdir_p=false
53361 fi
53362
53363 if test -x / >/dev/null 2>&1; then
53364 as_test_x='test -x'
53365 else
53366 if ls -dL / >/dev/null 2>&1; then
53367 as_ls_L_option=L
53368 else
53369 as_ls_L_option=
53370 fi
53371 as_test_x='
53372 eval sh -c '\''
53373 if test -d "$1"; then
53374 test -d "$1/.";
53375 else
53376 case $1 in
53377 -*)set "./$1";;
53378 esac;
53379 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53380 ???[sx]*):;;*)false;;esac;fi
53381 '\'' sh
53382 '
53383 fi
53384 as_executable_p=$as_test_x
53385
53386 # Sed expression to map a string onto a valid CPP name.
53387 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53388
53389 # Sed expression to map a string onto a valid variable name.
53390 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53391
53392
53393 exec 6>&1
53394
53395 # Save the log message, to keep $[0] and so on meaningful, and to
53396 # report actual input values of CONFIG_FILES etc. instead of their
53397 # values after options handling.
53398 ac_log="
53399 This file was extended by wxWidgets $as_me 2.9.0, which was
53400 generated by GNU Autoconf 2.61. Invocation command line was
53401
53402 CONFIG_FILES = $CONFIG_FILES
53403 CONFIG_HEADERS = $CONFIG_HEADERS
53404 CONFIG_LINKS = $CONFIG_LINKS
53405 CONFIG_COMMANDS = $CONFIG_COMMANDS
53406 $ $0 $@
53407
53408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53409 "
53410
53411 _ACEOF
53412
53413 cat >>$CONFIG_STATUS <<_ACEOF
53414 # Files that config.status was made for.
53415 config_files="$ac_config_files"
53416 config_headers="$ac_config_headers"
53417 config_commands="$ac_config_commands"
53418
53419 _ACEOF
53420
53421 cat >>$CONFIG_STATUS <<\_ACEOF
53422 ac_cs_usage="\
53423 \`$as_me' instantiates files from templates according to the
53424 current configuration.
53425
53426 Usage: $0 [OPTIONS] [FILE]...
53427
53428 -h, --help print this help, then exit
53429 -V, --version print version number and configuration settings, then exit
53430 -q, --quiet do not print progress messages
53431 -d, --debug don't remove temporary files
53432 --recheck update $as_me by reconfiguring in the same conditions
53433 --file=FILE[:TEMPLATE]
53434 instantiate the configuration file FILE
53435 --header=FILE[:TEMPLATE]
53436 instantiate the configuration header FILE
53437
53438 Configuration files:
53439 $config_files
53440
53441 Configuration headers:
53442 $config_headers
53443
53444 Configuration commands:
53445 $config_commands
53446
53447 Report bugs to <bug-autoconf@gnu.org>."
53448
53449 _ACEOF
53450 cat >>$CONFIG_STATUS <<_ACEOF
53451 ac_cs_version="\\
53452 wxWidgets config.status 2.9.0
53453 configured by $0, generated by GNU Autoconf 2.61,
53454 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53455
53456 Copyright (C) 2006 Free Software Foundation, Inc.
53457 This config.status script is free software; the Free Software Foundation
53458 gives unlimited permission to copy, distribute and modify it."
53459
53460 ac_pwd='$ac_pwd'
53461 srcdir='$srcdir'
53462 INSTALL='$INSTALL'
53463 _ACEOF
53464
53465 cat >>$CONFIG_STATUS <<\_ACEOF
53466 # If no file are specified by the user, then we need to provide default
53467 # value. By we need to know if files were specified by the user.
53468 ac_need_defaults=:
53469 while test $# != 0
53470 do
53471 case $1 in
53472 --*=*)
53473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53475 ac_shift=:
53476 ;;
53477 *)
53478 ac_option=$1
53479 ac_optarg=$2
53480 ac_shift=shift
53481 ;;
53482 esac
53483
53484 case $ac_option in
53485 # Handling of the options.
53486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53487 ac_cs_recheck=: ;;
53488 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53489 echo "$ac_cs_version"; exit ;;
53490 --debug | --debu | --deb | --de | --d | -d )
53491 debug=: ;;
53492 --file | --fil | --fi | --f )
53493 $ac_shift
53494 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53495 ac_need_defaults=false;;
53496 --header | --heade | --head | --hea )
53497 $ac_shift
53498 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53499 ac_need_defaults=false;;
53500 --he | --h)
53501 # Conflict between --help and --header
53502 { echo "$as_me: error: ambiguous option: $1
53503 Try \`$0 --help' for more information." >&2
53504 { (exit 1); exit 1; }; };;
53505 --help | --hel | -h )
53506 echo "$ac_cs_usage"; exit ;;
53507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53509 ac_cs_silent=: ;;
53510
53511 # This is an error.
53512 -*) { echo "$as_me: error: unrecognized option: $1
53513 Try \`$0 --help' for more information." >&2
53514 { (exit 1); exit 1; }; } ;;
53515
53516 *) ac_config_targets="$ac_config_targets $1"
53517 ac_need_defaults=false ;;
53518
53519 esac
53520 shift
53521 done
53522
53523 ac_configure_extra_args=
53524
53525 if $ac_cs_silent; then
53526 exec 6>/dev/null
53527 ac_configure_extra_args="$ac_configure_extra_args --silent"
53528 fi
53529
53530 _ACEOF
53531 cat >>$CONFIG_STATUS <<_ACEOF
53532 if \$ac_cs_recheck; then
53533 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53534 CONFIG_SHELL=$SHELL
53535 export CONFIG_SHELL
53536 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53537 fi
53538
53539 _ACEOF
53540 cat >>$CONFIG_STATUS <<\_ACEOF
53541 exec 5>>config.log
53542 {
53543 echo
53544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53545 ## Running $as_me. ##
53546 _ASBOX
53547 echo "$ac_log"
53548 } >&5
53549
53550 _ACEOF
53551 cat >>$CONFIG_STATUS <<_ACEOF
53552 #
53553 # INIT-COMMANDS
53554 #
53555
53556 CPP="$CPP"
53557 infile="$srcdir/include/wx/msw/genrcdefs.h"
53558 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53559
53560
53561 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53562 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53564 LN_S="${LN_S}"
53565
53566
53567 _ACEOF
53568
53569 cat >>$CONFIG_STATUS <<\_ACEOF
53570
53571 # Handling of arguments.
53572 for ac_config_target in $ac_config_targets
53573 do
53574 case $ac_config_target in
53575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53576 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53577 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53578 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53579 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53580 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53581 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53582 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53583
53584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53586 { (exit 1); exit 1; }; };;
53587 esac
53588 done
53589
53590
53591 # If the user did not use the arguments to specify the items to instantiate,
53592 # then the envvar interface is used. Set only those that are not.
53593 # We use the long form for the default assignment because of an extremely
53594 # bizarre bug on SunOS 4.1.3.
53595 if $ac_need_defaults; then
53596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53599 fi
53600
53601 # Have a temporary directory for convenience. Make it in the build tree
53602 # simply because there is no reason against having it here, and in addition,
53603 # creating and moving files from /tmp can sometimes cause problems.
53604 # Hook for its removal unless debugging.
53605 # Note that there is a small window in which the directory will not be cleaned:
53606 # after its creation but before its name has been assigned to `$tmp'.
53607 $debug ||
53608 {
53609 tmp=
53610 trap 'exit_status=$?
53611 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53612 ' 0
53613 trap '{ (exit 1); exit 1; }' 1 2 13 15
53614 }
53615 # Create a (secure) tmp directory for tmp files.
53616
53617 {
53618 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53619 test -n "$tmp" && test -d "$tmp"
53620 } ||
53621 {
53622 tmp=./conf$$-$RANDOM
53623 (umask 077 && mkdir "$tmp")
53624 } ||
53625 {
53626 echo "$me: cannot create a temporary directory in ." >&2
53627 { (exit 1); exit 1; }
53628 }
53629
53630 #
53631 # Set up the sed scripts for CONFIG_FILES section.
53632 #
53633
53634 # No need to generate the scripts if there are no CONFIG_FILES.
53635 # This happens for instance when ./config.status config.h
53636 if test -n "$CONFIG_FILES"; then
53637
53638 _ACEOF
53639
53640
53641
53642 ac_delim='%!_!# '
53643 for ac_last_try in false false false false false :; do
53644 cat >conf$$subs.sed <<_ACEOF
53645 SHELL!$SHELL$ac_delim
53646 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53647 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53648 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53649 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53650 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53651 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53652 exec_prefix!$exec_prefix$ac_delim
53653 prefix!$prefix$ac_delim
53654 program_transform_name!$program_transform_name$ac_delim
53655 bindir!$bindir$ac_delim
53656 sbindir!$sbindir$ac_delim
53657 libexecdir!$libexecdir$ac_delim
53658 datarootdir!$datarootdir$ac_delim
53659 datadir!$datadir$ac_delim
53660 sysconfdir!$sysconfdir$ac_delim
53661 sharedstatedir!$sharedstatedir$ac_delim
53662 localstatedir!$localstatedir$ac_delim
53663 includedir!$includedir$ac_delim
53664 oldincludedir!$oldincludedir$ac_delim
53665 docdir!$docdir$ac_delim
53666 infodir!$infodir$ac_delim
53667 htmldir!$htmldir$ac_delim
53668 dvidir!$dvidir$ac_delim
53669 pdfdir!$pdfdir$ac_delim
53670 psdir!$psdir$ac_delim
53671 libdir!$libdir$ac_delim
53672 localedir!$localedir$ac_delim
53673 mandir!$mandir$ac_delim
53674 DEFS!$DEFS$ac_delim
53675 ECHO_C!$ECHO_C$ac_delim
53676 ECHO_N!$ECHO_N$ac_delim
53677 ECHO_T!$ECHO_T$ac_delim
53678 LIBS!$LIBS$ac_delim
53679 build_alias!$build_alias$ac_delim
53680 host_alias!$host_alias$ac_delim
53681 target_alias!$target_alias$ac_delim
53682 build!$build$ac_delim
53683 build_cpu!$build_cpu$ac_delim
53684 build_vendor!$build_vendor$ac_delim
53685 build_os!$build_os$ac_delim
53686 host!$host$ac_delim
53687 host_cpu!$host_cpu$ac_delim
53688 host_vendor!$host_vendor$ac_delim
53689 host_os!$host_os$ac_delim
53690 target!$target$ac_delim
53691 target_cpu!$target_cpu$ac_delim
53692 target_vendor!$target_vendor$ac_delim
53693 target_os!$target_os$ac_delim
53694 wx_top_builddir!$wx_top_builddir$ac_delim
53695 CC!$CC$ac_delim
53696 CFLAGS!$CFLAGS$ac_delim
53697 LDFLAGS!$LDFLAGS$ac_delim
53698 CPPFLAGS!$CPPFLAGS$ac_delim
53699 ac_ct_CC!$ac_ct_CC$ac_delim
53700 EXEEXT!$EXEEXT$ac_delim
53701 OBJEXT!$OBJEXT$ac_delim
53702 CPP!$CPP$ac_delim
53703 GREP!$GREP$ac_delim
53704 EGREP!$EGREP$ac_delim
53705 CXX!$CXX$ac_delim
53706 CXXFLAGS!$CXXFLAGS$ac_delim
53707 ac_ct_CXX!$ac_ct_CXX$ac_delim
53708 AR!$AR$ac_delim
53709 subdirs!$subdirs$ac_delim
53710 PKG_CONFIG!$PKG_CONFIG$ac_delim
53711 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53712 GTK_LIBS!$GTK_LIBS$ac_delim
53713 GTK_CONFIG!$GTK_CONFIG$ac_delim
53714 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53715 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53716 XMKMF!$XMKMF$ac_delim
53717 X_CFLAGS!$X_CFLAGS$ac_delim
53718 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53719 X_LIBS!$X_LIBS$ac_delim
53720 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53721 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53722 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53723 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53724 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53725 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53726 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53727 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53728 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53729 LIBICONV!$LIBICONV$ac_delim
53730 SDL_CONFIG!$SDL_CONFIG$ac_delim
53731 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53732 SDL_LIBS!$SDL_LIBS$ac_delim
53733 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53734 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53735 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53736 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53737 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53738 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53739 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53740 HILDON_LIBS!$HILDON_LIBS$ac_delim
53741 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53742 _ACEOF
53743
53744 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53745 break
53746 elif $ac_last_try; then
53747 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53748 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53749 { (exit 1); exit 1; }; }
53750 else
53751 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53752 fi
53753 done
53754
53755 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53756 if test -n "$ac_eof"; then
53757 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53758 ac_eof=`expr $ac_eof + 1`
53759 fi
53760
53761 cat >>$CONFIG_STATUS <<_ACEOF
53762 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53764 _ACEOF
53765 sed '
53766 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53767 s/^/s,@/; s/!/@,|#_!!_#|/
53768 :n
53769 t n
53770 s/'"$ac_delim"'$/,g/; t
53771 s/$/\\/; p
53772 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53773 ' >>$CONFIG_STATUS <conf$$subs.sed
53774 rm -f conf$$subs.sed
53775 cat >>$CONFIG_STATUS <<_ACEOF
53776 CEOF$ac_eof
53777 _ACEOF
53778
53779
53780 ac_delim='%!_!# '
53781 for ac_last_try in false false false false false :; do
53782 cat >conf$$subs.sed <<_ACEOF
53783 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53784 GST_CFLAGS!$GST_CFLAGS$ac_delim
53785 GST_LIBS!$GST_LIBS$ac_delim
53786 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53787 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53788 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53789 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53790 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53791 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53792 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53793 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53794 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53795 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53796 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53797 VENDOR!$VENDOR$ac_delim
53798 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53799 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53800 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53801 WXUNIV!$WXUNIV$ac_delim
53802 MONOLITHIC!$MONOLITHIC$ac_delim
53803 USE_PLUGINS!$USE_PLUGINS$ac_delim
53804 CXXWARNINGS!$CXXWARNINGS$ac_delim
53805 EXTRALIBS!$EXTRALIBS$ac_delim
53806 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53807 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53808 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53809 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53810 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53811 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53812 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53813 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53814 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53815 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53816 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53817 UNICODE!$UNICODE$ac_delim
53818 BUILD!$BUILD$ac_delim
53819 DEBUG_INFO!$DEBUG_INFO$ac_delim
53820 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53821 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53822 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53823 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53824 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53825 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53826 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53827 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53828 RANLIB!$RANLIB$ac_delim
53829 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53830 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53831 INSTALL_DATA!$INSTALL_DATA$ac_delim
53832 LN_S!$LN_S$ac_delim
53833 SET_MAKE!$SET_MAKE$ac_delim
53834 MAKE_SET!$MAKE_SET$ac_delim
53835 AROPTIONS!$AROPTIONS$ac_delim
53836 STRIP!$STRIP$ac_delim
53837 NM!$NM$ac_delim
53838 INSTALL_DIR!$INSTALL_DIR$ac_delim
53839 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53840 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53841 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53842 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53843 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53844 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53845 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53846 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53847 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53848 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53849 SO_SUFFIX!$SO_SUFFIX$ac_delim
53850 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53851 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53852 LIBPREFIX!$LIBPREFIX$ac_delim
53853 LIBEXT!$LIBEXT$ac_delim
53854 DLLPREFIX!$DLLPREFIX$ac_delim
53855 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53856 dlldir!$dlldir$ac_delim
53857 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53858 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53859 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53860 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53861 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53862 PIC_FLAG!$PIC_FLAG$ac_delim
53863 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53864 USE_SOVERSION!$USE_SOVERSION$ac_delim
53865 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53866 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53867 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53868 USE_MACVERSION!$USE_MACVERSION$ac_delim
53869 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53870 SONAME_FLAG!$SONAME_FLAG$ac_delim
53871 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53872 BK_DEPS!$BK_DEPS$ac_delim
53873 WINDRES!$WINDRES$ac_delim
53874 REZ!$REZ$ac_delim
53875 SETFILE!$SETFILE$ac_delim
53876 GCC_PCH!$GCC_PCH$ac_delim
53877 ICC_PCH!$ICC_PCH$ac_delim
53878 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53879 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53880 _ACEOF
53881
53882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53883 break
53884 elif $ac_last_try; then
53885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53887 { (exit 1); exit 1; }; }
53888 else
53889 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53890 fi
53891 done
53892
53893 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53894 if test -n "$ac_eof"; then
53895 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53896 ac_eof=`expr $ac_eof + 1`
53897 fi
53898
53899 cat >>$CONFIG_STATUS <<_ACEOF
53900 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53902 _ACEOF
53903 sed '
53904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53905 s/^/s,@/; s/!/@,|#_!!_#|/
53906 :n
53907 t n
53908 s/'"$ac_delim"'$/,g/; t
53909 s/$/\\/; p
53910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53911 ' >>$CONFIG_STATUS <conf$$subs.sed
53912 rm -f conf$$subs.sed
53913 cat >>$CONFIG_STATUS <<_ACEOF
53914 CEOF$ac_eof
53915 _ACEOF
53916
53917
53918 ac_delim='%!_!# '
53919 for ac_last_try in false false false false false :; do
53920 cat >conf$$subs.sed <<_ACEOF
53921 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53922 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53923 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53924 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53925 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53926 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53927 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53928 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53929 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53930 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53931 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53932 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53933 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53934 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53935 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53936 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53938 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53955 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53956 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53957 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53958 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53959 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53960 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53961 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53962 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53963 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53964 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53965 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53966 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53967 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53968 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53969 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53970 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53971 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53972 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53973 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53974 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53975 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53976 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53977 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53978 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53979 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53983 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53984 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53985 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53987 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53988 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53989 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53990 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53991 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53992 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53993 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53995 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53996 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53997 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53998 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53999 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54000 COND_SHARED_0!$COND_SHARED_0$ac_delim
54001 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54002 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54003 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54004 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54005 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54006 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54007 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54008 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54009 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54010 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54011 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54012 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54013 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54014 COND_SHARED_1!$COND_SHARED_1$ac_delim
54015 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54016 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54017 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54018 _ACEOF
54019
54020 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54021 break
54022 elif $ac_last_try; then
54023 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54024 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54025 { (exit 1); exit 1; }; }
54026 else
54027 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54028 fi
54029 done
54030
54031 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54032 if test -n "$ac_eof"; then
54033 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54034 ac_eof=`expr $ac_eof + 1`
54035 fi
54036
54037 cat >>$CONFIG_STATUS <<_ACEOF
54038 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54040 _ACEOF
54041 sed '
54042 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54043 s/^/s,@/; s/!/@,|#_!!_#|/
54044 :n
54045 t n
54046 s/'"$ac_delim"'$/,g/; t
54047 s/$/\\/; p
54048 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54049 ' >>$CONFIG_STATUS <conf$$subs.sed
54050 rm -f conf$$subs.sed
54051 cat >>$CONFIG_STATUS <<_ACEOF
54052 CEOF$ac_eof
54053 _ACEOF
54054
54055
54056 ac_delim='%!_!# '
54057 for ac_last_try in false false false false false :; do
54058 cat >conf$$subs.sed <<_ACEOF
54059 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54060 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54061 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54063 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54064 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54069 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54070 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54071 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54072 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54073 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54074 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54075 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54076 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54078 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54079 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54080 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54081 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54083 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54084 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54085 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54086 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54087 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54088 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54089 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54090 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54091 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54092 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54093 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54094 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54095 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54096 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54097 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54098 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54099 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54100 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54102 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54103 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54104 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54105 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54106 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54107 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54108 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54109 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54110 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54111 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54112 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54113 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54114 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54115 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54116 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54117 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54118 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54119 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54120 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54121 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54122 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54123 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54124 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54125 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54126 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54127 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54128 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54129 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54130 DEREZ!$DEREZ$ac_delim
54131 SHARED!$SHARED$ac_delim
54132 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54133 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54134 USE_GUI!$USE_GUI$ac_delim
54135 AFMINSTALL!$AFMINSTALL$ac_delim
54136 WIN32INSTALL!$WIN32INSTALL$ac_delim
54137 TOOLKIT!$TOOLKIT$ac_delim
54138 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54139 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54140 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54141 cross_compiling!$cross_compiling$ac_delim
54142 WIDGET_SET!$WIDGET_SET$ac_delim
54143 WX_RELEASE!$WX_RELEASE$ac_delim
54144 WX_VERSION!$WX_VERSION$ac_delim
54145 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54146 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54147 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54148 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54149 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54150 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54151 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54152 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54153 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54154 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54155 EXE_LINKER!$EXE_LINKER$ac_delim
54156 _ACEOF
54157
54158 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54159 break
54160 elif $ac_last_try; then
54161 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54162 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54163 { (exit 1); exit 1; }; }
54164 else
54165 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54166 fi
54167 done
54168
54169 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54170 if test -n "$ac_eof"; then
54171 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54172 ac_eof=`expr $ac_eof + 1`
54173 fi
54174
54175 cat >>$CONFIG_STATUS <<_ACEOF
54176 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54178 _ACEOF
54179 sed '
54180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54181 s/^/s,@/; s/!/@,|#_!!_#|/
54182 :n
54183 t n
54184 s/'"$ac_delim"'$/,g/; t
54185 s/$/\\/; p
54186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54187 ' >>$CONFIG_STATUS <conf$$subs.sed
54188 rm -f conf$$subs.sed
54189 cat >>$CONFIG_STATUS <<_ACEOF
54190 CEOF$ac_eof
54191 _ACEOF
54192
54193
54194 ac_delim='%!_!# '
54195 for ac_last_try in false false false false false :; do
54196 cat >conf$$subs.sed <<_ACEOF
54197 GUIDIST!$GUIDIST$ac_delim
54198 DISTDIR!$DISTDIR$ac_delim
54199 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54200 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54201 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54202 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54203 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54204 RESCOMP!$RESCOMP$ac_delim
54205 RESFLAGS!$RESFLAGS$ac_delim
54206 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54207 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54208 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54209 LIBWXMACRES!$LIBWXMACRES$ac_delim
54210 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54211 MACSETFILE!$MACSETFILE$ac_delim
54212 GCC!$GCC$ac_delim
54213 DLLTOOL!$DLLTOOL$ac_delim
54214 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54215 LIBOBJS!$LIBOBJS$ac_delim
54216 LTLIBOBJS!$LTLIBOBJS$ac_delim
54217 _ACEOF
54218
54219 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54220 break
54221 elif $ac_last_try; then
54222 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54223 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54224 { (exit 1); exit 1; }; }
54225 else
54226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54227 fi
54228 done
54229
54230 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54231 if test -n "$ac_eof"; then
54232 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54233 ac_eof=`expr $ac_eof + 1`
54234 fi
54235
54236 cat >>$CONFIG_STATUS <<_ACEOF
54237 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54239 _ACEOF
54240 sed '
54241 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54242 s/^/s,@/; s/!/@,|#_!!_#|/
54243 :n
54244 t n
54245 s/'"$ac_delim"'$/,g/; t
54246 s/$/\\/; p
54247 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54248 ' >>$CONFIG_STATUS <conf$$subs.sed
54249 rm -f conf$$subs.sed
54250 cat >>$CONFIG_STATUS <<_ACEOF
54251 :end
54252 s/|#_!!_#|//g
54253 CEOF$ac_eof
54254 _ACEOF
54255
54256
54257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54259 # trailing colons and then remove the whole line if VPATH becomes empty
54260 # (actually we leave an empty line to preserve line numbers).
54261 if test "x$srcdir" = x.; then
54262 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54263 s/:*\$(srcdir):*/:/
54264 s/:*\${srcdir}:*/:/
54265 s/:*@srcdir@:*/:/
54266 s/^\([^=]*=[ ]*\):*/\1/
54267 s/:*$//
54268 s/^[^=]*=[ ]*$//
54269 }'
54270 fi
54271
54272 cat >>$CONFIG_STATUS <<\_ACEOF
54273 fi # test -n "$CONFIG_FILES"
54274
54275
54276 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54277 do
54278 case $ac_tag in
54279 :[FHLC]) ac_mode=$ac_tag; continue;;
54280 esac
54281 case $ac_mode$ac_tag in
54282 :[FHL]*:*);;
54283 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54284 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54285 { (exit 1); exit 1; }; };;
54286 :[FH]-) ac_tag=-:-;;
54287 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54288 esac
54289 ac_save_IFS=$IFS
54290 IFS=:
54291 set x $ac_tag
54292 IFS=$ac_save_IFS
54293 shift
54294 ac_file=$1
54295 shift
54296
54297 case $ac_mode in
54298 :L) ac_source=$1;;
54299 :[FH])
54300 ac_file_inputs=
54301 for ac_f
54302 do
54303 case $ac_f in
54304 -) ac_f="$tmp/stdin";;
54305 *) # Look for the file first in the build tree, then in the source tree
54306 # (if the path is not absolute). The absolute path cannot be DOS-style,
54307 # because $ac_f cannot contain `:'.
54308 test -f "$ac_f" ||
54309 case $ac_f in
54310 [\\/$]*) false;;
54311 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54312 esac ||
54313 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54314 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54315 { (exit 1); exit 1; }; };;
54316 esac
54317 ac_file_inputs="$ac_file_inputs $ac_f"
54318 done
54319
54320 # Let's still pretend it is `configure' which instantiates (i.e., don't
54321 # use $as_me), people would be surprised to read:
54322 # /* config.h. Generated by config.status. */
54323 configure_input="Generated from "`IFS=:
54324 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54325 if test x"$ac_file" != x-; then
54326 configure_input="$ac_file. $configure_input"
54327 { echo "$as_me:$LINENO: creating $ac_file" >&5
54328 echo "$as_me: creating $ac_file" >&6;}
54329 fi
54330
54331 case $ac_tag in
54332 *:-:* | *:-) cat >"$tmp/stdin";;
54333 esac
54334 ;;
54335 esac
54336
54337 ac_dir=`$as_dirname -- "$ac_file" ||
54338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54339 X"$ac_file" : 'X\(//\)[^/]' \| \
54340 X"$ac_file" : 'X\(//\)$' \| \
54341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54342 echo X"$ac_file" |
54343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54344 s//\1/
54345 q
54346 }
54347 /^X\(\/\/\)[^/].*/{
54348 s//\1/
54349 q
54350 }
54351 /^X\(\/\/\)$/{
54352 s//\1/
54353 q
54354 }
54355 /^X\(\/\).*/{
54356 s//\1/
54357 q
54358 }
54359 s/.*/./; q'`
54360 { as_dir="$ac_dir"
54361 case $as_dir in #(
54362 -*) as_dir=./$as_dir;;
54363 esac
54364 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54365 as_dirs=
54366 while :; do
54367 case $as_dir in #(
54368 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54369 *) as_qdir=$as_dir;;
54370 esac
54371 as_dirs="'$as_qdir' $as_dirs"
54372 as_dir=`$as_dirname -- "$as_dir" ||
54373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54374 X"$as_dir" : 'X\(//\)[^/]' \| \
54375 X"$as_dir" : 'X\(//\)$' \| \
54376 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54377 echo X"$as_dir" |
54378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54379 s//\1/
54380 q
54381 }
54382 /^X\(\/\/\)[^/].*/{
54383 s//\1/
54384 q
54385 }
54386 /^X\(\/\/\)$/{
54387 s//\1/
54388 q
54389 }
54390 /^X\(\/\).*/{
54391 s//\1/
54392 q
54393 }
54394 s/.*/./; q'`
54395 test -d "$as_dir" && break
54396 done
54397 test -z "$as_dirs" || eval "mkdir $as_dirs"
54398 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54399 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54400 { (exit 1); exit 1; }; }; }
54401 ac_builddir=.
54402
54403 case "$ac_dir" in
54404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54405 *)
54406 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54407 # A ".." for each directory in $ac_dir_suffix.
54408 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54409 case $ac_top_builddir_sub in
54410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54412 esac ;;
54413 esac
54414 ac_abs_top_builddir=$ac_pwd
54415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54416 # for backward compatibility:
54417 ac_top_builddir=$ac_top_build_prefix
54418
54419 case $srcdir in
54420 .) # We are building in place.
54421 ac_srcdir=.
54422 ac_top_srcdir=$ac_top_builddir_sub
54423 ac_abs_top_srcdir=$ac_pwd ;;
54424 [\\/]* | ?:[\\/]* ) # Absolute name.
54425 ac_srcdir=$srcdir$ac_dir_suffix;
54426 ac_top_srcdir=$srcdir
54427 ac_abs_top_srcdir=$srcdir ;;
54428 *) # Relative name.
54429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54430 ac_top_srcdir=$ac_top_build_prefix$srcdir
54431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54432 esac
54433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54434
54435
54436 case $ac_mode in
54437 :F)
54438 #
54439 # CONFIG_FILE
54440 #
54441
54442 case $INSTALL in
54443 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54444 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54445 esac
54446 _ACEOF
54447
54448 cat >>$CONFIG_STATUS <<\_ACEOF
54449 # If the template does not know about datarootdir, expand it.
54450 # FIXME: This hack should be removed a few years after 2.60.
54451 ac_datarootdir_hack=; ac_datarootdir_seen=
54452
54453 case `sed -n '/datarootdir/ {
54454 p
54455 q
54456 }
54457 /@datadir@/p
54458 /@docdir@/p
54459 /@infodir@/p
54460 /@localedir@/p
54461 /@mandir@/p
54462 ' $ac_file_inputs` in
54463 *datarootdir*) ac_datarootdir_seen=yes;;
54464 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54465 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54466 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54467 _ACEOF
54468 cat >>$CONFIG_STATUS <<_ACEOF
54469 ac_datarootdir_hack='
54470 s&@datadir@&$datadir&g
54471 s&@docdir@&$docdir&g
54472 s&@infodir@&$infodir&g
54473 s&@localedir@&$localedir&g
54474 s&@mandir@&$mandir&g
54475 s&\\\${datarootdir}&$datarootdir&g' ;;
54476 esac
54477 _ACEOF
54478
54479 # Neutralize VPATH when `$srcdir' = `.'.
54480 # Shell code in configure.ac might set extrasub.
54481 # FIXME: do we really want to maintain this feature?
54482 cat >>$CONFIG_STATUS <<_ACEOF
54483 sed "$ac_vpsub
54484 $extrasub
54485 _ACEOF
54486 cat >>$CONFIG_STATUS <<\_ACEOF
54487 :t
54488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54489 s&@configure_input@&$configure_input&;t t
54490 s&@top_builddir@&$ac_top_builddir_sub&;t t
54491 s&@srcdir@&$ac_srcdir&;t t
54492 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54493 s&@top_srcdir@&$ac_top_srcdir&;t t
54494 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54495 s&@builddir@&$ac_builddir&;t t
54496 s&@abs_builddir@&$ac_abs_builddir&;t t
54497 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54498 s&@INSTALL@&$ac_INSTALL&;t t
54499 $ac_datarootdir_hack
54500 " $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
54501
54502 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54503 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54504 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54505 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54506 which seems to be undefined. Please make sure it is defined." >&5
54507 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54508 which seems to be undefined. Please make sure it is defined." >&2;}
54509
54510 rm -f "$tmp/stdin"
54511 case $ac_file in
54512 -) cat "$tmp/out"; rm -f "$tmp/out";;
54513 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54514 esac
54515 ;;
54516 :H)
54517 #
54518 # CONFIG_HEADER
54519 #
54520 _ACEOF
54521
54522 # Transform confdefs.h into a sed script `conftest.defines', that
54523 # substitutes the proper values into config.h.in to produce config.h.
54524 rm -f conftest.defines conftest.tail
54525 # First, append a space to every undef/define line, to ease matching.
54526 echo 's/$/ /' >conftest.defines
54527 # Then, protect against being on the right side of a sed subst, or in
54528 # an unquoted here document, in config.status. If some macros were
54529 # called several times there might be several #defines for the same
54530 # symbol, which is useless. But do not sort them, since the last
54531 # AC_DEFINE must be honored.
54532 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54533 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54534 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54535 # PARAMS is the parameter list in the macro definition--in most cases, it's
54536 # just an empty string.
54537 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54538 ac_dB='\\)[ (].*,\\1define\\2'
54539 ac_dC=' '
54540 ac_dD=' ,'
54541
54542 uniq confdefs.h |
54543 sed -n '
54544 t rset
54545 :rset
54546 s/^[ ]*#[ ]*define[ ][ ]*//
54547 t ok
54548 d
54549 :ok
54550 s/[\\&,]/\\&/g
54551 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54552 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54553 ' >>conftest.defines
54554
54555 # Remove the space that was appended to ease matching.
54556 # Then replace #undef with comments. This is necessary, for
54557 # example, in the case of _POSIX_SOURCE, which is predefined and required
54558 # on some systems where configure will not decide to define it.
54559 # (The regexp can be short, since the line contains either #define or #undef.)
54560 echo 's/ $//
54561 s,^[ #]*u.*,/* & */,' >>conftest.defines
54562
54563 # Break up conftest.defines:
54564 ac_max_sed_lines=50
54565
54566 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54567 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54568 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54569 # et cetera.
54570 ac_in='$ac_file_inputs'
54571 ac_out='"$tmp/out1"'
54572 ac_nxt='"$tmp/out2"'
54573
54574 while :
54575 do
54576 # Write a here document:
54577 cat >>$CONFIG_STATUS <<_ACEOF
54578 # First, check the format of the line:
54579 cat >"\$tmp/defines.sed" <<\\CEOF
54580 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54581 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54582 b
54583 :def
54584 _ACEOF
54585 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54586 echo 'CEOF
54587 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54588 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54589 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54590 grep . conftest.tail >/dev/null || break
54591 rm -f conftest.defines
54592 mv conftest.tail conftest.defines
54593 done
54594 rm -f conftest.defines conftest.tail
54595
54596 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54597 cat >>$CONFIG_STATUS <<\_ACEOF
54598 if test x"$ac_file" != x-; then
54599 echo "/* $configure_input */" >"$tmp/config.h"
54600 cat "$ac_result" >>"$tmp/config.h"
54601 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54602 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54603 echo "$as_me: $ac_file is unchanged" >&6;}
54604 else
54605 rm -f $ac_file
54606 mv "$tmp/config.h" $ac_file
54607 fi
54608 else
54609 echo "/* $configure_input */"
54610 cat "$ac_result"
54611 fi
54612 rm -f "$tmp/out12"
54613 ;;
54614
54615 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54616 echo "$as_me: executing $ac_file commands" >&6;}
54617 ;;
54618 esac
54619
54620
54621 case $ac_file$ac_mode in
54622 "rcdefs.h":C)
54623 mkdir -p $outdir &&
54624 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54625 ;;
54626 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54627 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54628 "wx-config":C) rm -f wx-config
54629 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54630 ;;
54631
54632 esac
54633 done # for ac_tag
54634
54635
54636 { (exit 0); exit 0; }
54637 _ACEOF
54638 chmod +x $CONFIG_STATUS
54639 ac_clean_files=$ac_clean_files_save
54640
54641
54642 # configure is writing to config.log, and then calls config.status.
54643 # config.status does its own redirection, appending to config.log.
54644 # Unfortunately, on DOS this fails, as config.log is still kept open
54645 # by configure, so config.status won't be able to write to it; its
54646 # output is simply discarded. So we exec the FD to /dev/null,
54647 # effectively closing config.log, so it can be properly (re)opened and
54648 # appended to by config.status. When coming back to configure, we
54649 # need to make the FD available again.
54650 if test "$no_create" != yes; then
54651 ac_cs_success=:
54652 ac_config_status_args=
54653 test "$silent" = yes &&
54654 ac_config_status_args="$ac_config_status_args --quiet"
54655 exec 5>/dev/null
54656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54657 exec 5>>config.log
54658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54659 # would make configure fail if this is the last instruction.
54660 $ac_cs_success || { (exit 1); exit 1; }
54661 fi
54662
54663 #
54664 # CONFIG_SUBDIRS section.
54665 #
54666 if test "$no_recursion" != yes; then
54667
54668 # Remove --cache-file and --srcdir arguments so they do not pile up.
54669 ac_sub_configure_args=
54670 ac_prev=
54671 eval "set x $ac_configure_args"
54672 shift
54673 for ac_arg
54674 do
54675 if test -n "$ac_prev"; then
54676 ac_prev=
54677 continue
54678 fi
54679 case $ac_arg in
54680 -cache-file | --cache-file | --cache-fil | --cache-fi \
54681 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54682 ac_prev=cache_file ;;
54683 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54684 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54685 | --c=*)
54686 ;;
54687 --config-cache | -C)
54688 ;;
54689 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54690 ac_prev=srcdir ;;
54691 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54692 ;;
54693 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54694 ac_prev=prefix ;;
54695 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54696 ;;
54697 *)
54698 case $ac_arg in
54699 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54700 esac
54701 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54702 esac
54703 done
54704
54705 # Always prepend --prefix to ensure using the same prefix
54706 # in subdir configurations.
54707 ac_arg="--prefix=$prefix"
54708 case $ac_arg in
54709 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54710 esac
54711 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54712
54713 # Pass --silent
54714 if test "$silent" = yes; then
54715 ac_sub_configure_args="--silent $ac_sub_configure_args"
54716 fi
54717
54718 ac_popdir=`pwd`
54719 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54720
54721 # Do not complain, so a configure script can configure whichever
54722 # parts of a large source tree are present.
54723 test -d "$srcdir/$ac_dir" || continue
54724
54725 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54726 echo "$as_me:$LINENO: $ac_msg" >&5
54727 echo "$ac_msg" >&6
54728 { as_dir="$ac_dir"
54729 case $as_dir in #(
54730 -*) as_dir=./$as_dir;;
54731 esac
54732 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54733 as_dirs=
54734 while :; do
54735 case $as_dir in #(
54736 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54737 *) as_qdir=$as_dir;;
54738 esac
54739 as_dirs="'$as_qdir' $as_dirs"
54740 as_dir=`$as_dirname -- "$as_dir" ||
54741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54742 X"$as_dir" : 'X\(//\)[^/]' \| \
54743 X"$as_dir" : 'X\(//\)$' \| \
54744 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54745 echo X"$as_dir" |
54746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54747 s//\1/
54748 q
54749 }
54750 /^X\(\/\/\)[^/].*/{
54751 s//\1/
54752 q
54753 }
54754 /^X\(\/\/\)$/{
54755 s//\1/
54756 q
54757 }
54758 /^X\(\/\).*/{
54759 s//\1/
54760 q
54761 }
54762 s/.*/./; q'`
54763 test -d "$as_dir" && break
54764 done
54765 test -z "$as_dirs" || eval "mkdir $as_dirs"
54766 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54767 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54768 { (exit 1); exit 1; }; }; }
54769 ac_builddir=.
54770
54771 case "$ac_dir" in
54772 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54773 *)
54774 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54775 # A ".." for each directory in $ac_dir_suffix.
54776 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54777 case $ac_top_builddir_sub in
54778 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54779 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54780 esac ;;
54781 esac
54782 ac_abs_top_builddir=$ac_pwd
54783 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54784 # for backward compatibility:
54785 ac_top_builddir=$ac_top_build_prefix
54786
54787 case $srcdir in
54788 .) # We are building in place.
54789 ac_srcdir=.
54790 ac_top_srcdir=$ac_top_builddir_sub
54791 ac_abs_top_srcdir=$ac_pwd ;;
54792 [\\/]* | ?:[\\/]* ) # Absolute name.
54793 ac_srcdir=$srcdir$ac_dir_suffix;
54794 ac_top_srcdir=$srcdir
54795 ac_abs_top_srcdir=$srcdir ;;
54796 *) # Relative name.
54797 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54798 ac_top_srcdir=$ac_top_build_prefix$srcdir
54799 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54800 esac
54801 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54802
54803
54804 cd "$ac_dir"
54805
54806 # Check for guested configure; otherwise get Cygnus style configure.
54807 if test -f "$ac_srcdir/configure.gnu"; then
54808 ac_sub_configure=$ac_srcdir/configure.gnu
54809 elif test -f "$ac_srcdir/configure"; then
54810 ac_sub_configure=$ac_srcdir/configure
54811 elif test -f "$ac_srcdir/configure.in"; then
54812 # This should be Cygnus configure.
54813 ac_sub_configure=$ac_aux_dir/configure
54814 else
54815 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54816 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54817 ac_sub_configure=
54818 fi
54819
54820 # The recursion is here.
54821 if test -n "$ac_sub_configure"; then
54822 # Make the cache file name correct relative to the subdirectory.
54823 case $cache_file in
54824 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54825 *) # Relative name.
54826 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54827 esac
54828
54829 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54830 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54831 # The eval makes quoting arguments work.
54832 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54833 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54834 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54835 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54836 { (exit 1); exit 1; }; }
54837 fi
54838
54839 cd "$ac_popdir"
54840 done
54841 fi
54842
54843
54844 echo
54845 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54846 echo ""
54847 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54848 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54849
54850 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54851 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54852 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54853 if test "$wxUSE_UNICODE" = "yes"; then
54854 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54855 echo " (using UTF-8)"
54856 else
54857 echo " (using wchar_t)"
54858 fi
54859 else
54860 echo
54861 fi
54862
54863 echo " What level of wxWidgets compatibility should be enabled?"
54864 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54865 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54866
54867 echo " Which libraries should wxWidgets use?"
54868 echo " STL ${wxUSE_STL}"
54869 echo " jpeg ${wxUSE_LIBJPEG-none}"
54870 echo " png ${wxUSE_LIBPNG-none}"
54871 echo " regex ${wxUSE_REGEX}"
54872 echo " tiff ${wxUSE_LIBTIFF-none}"
54873 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54874 echo " xpm ${wxUSE_LIBXPM-none}"
54875 fi
54876 echo " zlib ${wxUSE_ZLIB}"
54877 echo " odbc ${wxUSE_ODBC}"
54878 echo " expat ${wxUSE_EXPAT}"
54879 echo " libmspack ${wxUSE_LIBMSPACK}"
54880 echo " sdl ${wxUSE_LIBSDL}"
54881
54882 echo ""
54883