]> git.saurik.com Git - wxWidgets.git/blob - configure
fix for AUI pane shrinking each time it is floated
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50116 2007-11-20 22:35:40Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
898 COND_TOOLKIT_
899 COND_TOOLKIT_COCOA
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB
903 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11
933 COND_TOOLKIT_X11_USE_GUI_1
934 COND_UNICODE_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_0
938 COND_USE_GUI_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_PCH_1
946 COND_USE_PLUGINS_0
947 COND_USE_RTTI_0
948 COND_USE_RTTI_1
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSION_0
953 COND_USE_SOVERSOLARIS_1
954 COND_USE_STC_1
955 COND_USE_THREADS_0
956 COND_USE_THREADS_1
957 COND_USE_XRC_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
960 COND_WXUNIV_0
961 COND_WXUNIV_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
968 DEREZ
969 SHARED
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
972 USE_GUI
973 AFMINSTALL
974 WIN32INSTALL
975 TOOLKIT
976 TOOLKIT_DIR
977 TOOLCHAIN_NAME
978 TOOLCHAIN_FULLNAME
979 cross_compiling
980 WIDGET_SET
981 WX_RELEASE
982 WX_VERSION
983 WX_SUBVERSION
984 WX_CHARTYPE
985 WX_DEBUGTYPE
986 WXCONFIG_CPPFLAGS
987 WXCONFIG_CFLAGS
988 WXCONFIG_CXXFLAGS
989 WXCONFIG_LIBS
990 WXCONFIG_RPATH
991 WXCONFIG_LDFLAGS_GUI
992 WXCONFIG_RESFLAGS
993 GUIDIST
994 DISTDIR
995 SAMPLES_SUBDIRS
996 LDFLAGS_GL
997 OPENGL_LIBS
998 DMALLOC_LIBS
999 WX_VERSION_TAG
1000 RESCOMP
1001 RESFLAGS
1002 RESPROGRAMOBJ
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1005 LIBWXMACRES
1006 POSTLINK_COMMAND
1007 MACSETFILE
1008 GCC
1009 DLLTOOL
1010 CPPUNIT_CONFIG
1011 LIBOBJS
1012 LTLIBOBJS'
1013 ac_subst_files=''
1014 ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 CC
1018 CFLAGS
1019 LDFLAGS
1020 LIBS
1021 CPPFLAGS
1022 CPP
1023 CXX
1024 CXXFLAGS
1025 CCC
1026 PKG_CONFIG
1027 DIRECTFB_CFLAGS
1028 DIRECTFB_LIBS
1029 XMKMF
1030 PANGOX_CFLAGS
1031 PANGOX_LIBS
1032 PANGOFT2_CFLAGS
1033 PANGOFT2_LIBS
1034 PANGOXFT_CFLAGS
1035 PANGOXFT_LIBS
1036 GTKPRINT_CFLAGS
1037 GTKPRINT_LIBS
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1040 GNOMEVFS_CFLAGS
1041 GNOMEVFS_LIBS
1042 HILDON_CFLAGS
1043 HILDON_LIBS
1044 CAIRO_CFLAGS
1045 CAIRO_LIBS
1046 GST_CFLAGS
1047 GST_LIBS'
1048 ac_subdirs_all='src/tiff
1049 src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-taskbaricon use wxTaskBarIcon class
1801 --enable-textctrl use wxTextCtrl class
1802 --enable-togglebtn use wxToggleButton class
1803 --enable-toolbar use wxToolBar class
1804 --enable-tbarnative use native wxToolBar class
1805 --enable-treebook use wxTreebook class
1806 --enable-toolbook use wxToolbook class
1807 --enable-treectrl use wxTreeCtrl class
1808 --enable-tipwindow use wxTipWindow class
1809 --enable-popupwin use wxPopUpWindow class
1810 --enable-commondlg use all common dialogs
1811 --enable-aboutdlg use wxAboutBox
1812 --enable-choicedlg use wxChoiceDialog
1813 --enable-coldlg use wxColourDialog
1814 --enable-filedlg use wxFileDialog
1815 --enable-finddlg use wxFindReplaceDialog
1816 --enable-fontdlg use wxFontDialog
1817 --enable-dirdlg use wxDirDialog
1818 --enable-msgdlg use wxMessageDialog
1819 --enable-numberdlg use wxNumberEntryDialog
1820 --enable-splash use wxSplashScreen
1821 --enable-textdlg use wxTextDialog
1822 --enable-tipdlg use startup tips
1823 --enable-progressdlg use wxProgressDialog
1824 --enable-wizarddlg use wxWizard
1825 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1826 --enable-miniframe use wxMiniFrame class
1827 --enable-tooltips use wxToolTip class
1828 --enable-splines use spline drawing code
1829 --enable-mousewheel use mousewheel
1830 --enable-validators use wxValidator and derived classes
1831 --enable-busyinfo use wxBusyInfo
1832 --enable-joystick use wxJoystick
1833 --enable-metafiles use wxMetaFile (Win32 only)
1834 --enable-dragimage use wxDragImage
1835 --enable-accessibility enable accessibility support
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images (GIF file format)
1839 --enable-pcx use pcx images (PCX file format)
1840 --enable-tga use tga images (TGA file format)
1841 --enable-iff use iff images (IFF file format)
1842 --enable-pnm use pnm images (PNM file format)
1843 --enable-xpm use xpm images (XPM file format)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --enable-dccache cache temporary wxDC objects (Win32 only)
1846 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1847 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1848 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1849 --enable-wxdib use wxDIB class (Win32 only)
1850 --disable-largefile omit support for large files
1851 --disable-gtktest do not try to compile and run a test GTK+ program
1852 --disable-gtktest Do not try to compile and run a test GTK program
1853 --disable-sdltest Do not try to compile and run a test SDL program
1854 --enable-omf use OMF object format (OS/2)
1855 --disable-dependency-tracking
1856 don't use dependency tracking even if the compiler
1857 can
1858 --disable-precomp-headers
1859 don't use precompiled headers even if compiler can
1860
1861 Optional Packages:
1862 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1863 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1864 --without-subdirs don't generate makefiles for samples/demos/...
1865 --with-flavour=NAME specify a name to identify this build
1866 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1867 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1868 --with-motif use Motif/Lesstif
1869 --with-mac use Mac OS X
1870 --with-cocoa use Cocoa
1871 --with-wine use Wine
1872 --with-msw use MS-Windows
1873 --with-pm use OS/2 Presentation Manager
1874 --with-mgl use SciTech MGL
1875 --with-directfb use DirectFB
1876 --with-microwin use MicroWindows
1877 --with-x11 use X11
1878 --with-libpng use libpng (PNG image format)
1879 --with-libjpeg use libjpeg (JPEG file format)
1880 --with-libtiff use libtiff (TIFF file format)
1881 --with-libxpm use libxpm (XPM file format)
1882 --with-libmspack use libmspack (CHM help files loading)
1883 --without-gtkprint don't use GTK printing support
1884 --without-gnomeprint don't use GNOME printing libraries
1885 --with-gnomevfs use GNOME VFS for associating MIME types
1886 --with-hildon use Hildon framework for Nokia 770
1887 --with-opengl use OpenGL (or Mesa)
1888 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1889 --with-sdl use SDL for audio on Unix
1890 --with-regex enable support for wxRegEx class
1891 --with-zlib use zlib for LZW compression
1892 --with-expat enable XML support using expat parser
1893 --with-macosx-sdk=PATH use an OS X SDK at PATH
1894 --with-macosx-version-min=VER build binaries which require at least this OS X version
1895 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1896 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1897 --with-x use the X Window System
1898 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1899 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1900 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1901 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1902 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1903
1904 Some influential environment variables:
1905 CC C compiler command
1906 CFLAGS C compiler flags
1907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1908 nonstandard directory <lib dir>
1909 LIBS libraries to pass to the linker, e.g. -l<library>
1910 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1911 you have headers in a nonstandard directory <include dir>
1912 CPP C preprocessor
1913 CXX C++ compiler command
1914 CXXFLAGS C++ compiler flags
1915 PKG_CONFIG path to pkg-config utility
1916 DIRECTFB_CFLAGS
1917 C compiler flags for DIRECTFB, overriding pkg-config
1918 DIRECTFB_LIBS
1919 linker flags for DIRECTFB, overriding pkg-config
1920 XMKMF Path to xmkmf, Makefile generator for X Window System
1921 PANGOX_CFLAGS
1922 C compiler flags for PANGOX, overriding pkg-config
1923 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1924 PANGOFT2_CFLAGS
1925 C compiler flags for PANGOFT2, overriding pkg-config
1926 PANGOFT2_LIBS
1927 linker flags for PANGOFT2, overriding pkg-config
1928 PANGOXFT_CFLAGS
1929 C compiler flags for PANGOXFT, overriding pkg-config
1930 PANGOXFT_LIBS
1931 linker flags for PANGOXFT, overriding pkg-config
1932 GTKPRINT_CFLAGS
1933 C compiler flags for GTKPRINT, overriding pkg-config
1934 GTKPRINT_LIBS
1935 linker flags for GTKPRINT, overriding pkg-config
1936 LIBGNOMEPRINTUI_CFLAGS
1937 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 LIBGNOMEPRINTUI_LIBS
1939 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 GNOMEVFS_CFLAGS
1941 C compiler flags for GNOMEVFS, overriding pkg-config
1942 GNOMEVFS_LIBS
1943 linker flags for GNOMEVFS, overriding pkg-config
1944 HILDON_CFLAGS
1945 C compiler flags for HILDON, overriding pkg-config
1946 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1947 CAIRO_CFLAGS
1948 C compiler flags for CAIRO, overriding pkg-config
1949 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1950 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1951 GST_LIBS linker flags for GST, overriding pkg-config
1952
1953 Use these variables to override the choices made by `configure' or to help
1954 it to find libraries and programs with nonstandard names/locations.
1955
1956 Report bugs to <wx-dev@lists.wxwidgets.org>.
1957 _ACEOF
1958 ac_status=$?
1959 fi
1960
1961 if test "$ac_init_help" = "recursive"; then
1962 # If there are subdirs, report their specific --help.
1963 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1964 test -d "$ac_dir" || continue
1965 ac_builddir=.
1966
1967 case "$ac_dir" in
1968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 *)
1970 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1971 # A ".." for each directory in $ac_dir_suffix.
1972 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1973 case $ac_top_builddir_sub in
1974 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1975 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1976 esac ;;
1977 esac
1978 ac_abs_top_builddir=$ac_pwd
1979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1980 # for backward compatibility:
1981 ac_top_builddir=$ac_top_build_prefix
1982
1983 case $srcdir in
1984 .) # We are building in place.
1985 ac_srcdir=.
1986 ac_top_srcdir=$ac_top_builddir_sub
1987 ac_abs_top_srcdir=$ac_pwd ;;
1988 [\\/]* | ?:[\\/]* ) # Absolute name.
1989 ac_srcdir=$srcdir$ac_dir_suffix;
1990 ac_top_srcdir=$srcdir
1991 ac_abs_top_srcdir=$srcdir ;;
1992 *) # Relative name.
1993 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1994 ac_top_srcdir=$ac_top_build_prefix$srcdir
1995 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1996 esac
1997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1998
1999 cd "$ac_dir" || { ac_status=$?; continue; }
2000 # Check for guested configure.
2001 if test -f "$ac_srcdir/configure.gnu"; then
2002 echo &&
2003 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2004 elif test -f "$ac_srcdir/configure"; then
2005 echo &&
2006 $SHELL "$ac_srcdir/configure" --help=recursive
2007 else
2008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 fi || ac_status=$?
2010 cd "$ac_pwd" || { ac_status=$?; break; }
2011 done
2012 fi
2013
2014 test -n "$ac_init_help" && exit $ac_status
2015 if $ac_init_version; then
2016 cat <<\_ACEOF
2017 wxWidgets configure 2.9.0
2018 generated by GNU Autoconf 2.61
2019
2020 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2021 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2022 This configure script is free software; the Free Software Foundation
2023 gives unlimited permission to copy, distribute and modify it.
2024 _ACEOF
2025 exit
2026 fi
2027 cat >config.log <<_ACEOF
2028 This file contains any messages produced by compilers while
2029 running configure, to aid debugging if configure makes a mistake.
2030
2031 It was created by wxWidgets $as_me 2.9.0, which was
2032 generated by GNU Autoconf 2.61. Invocation command line was
2033
2034 $ $0 $@
2035
2036 _ACEOF
2037 exec 5>>config.log
2038 {
2039 cat <<_ASUNAME
2040 ## --------- ##
2041 ## Platform. ##
2042 ## --------- ##
2043
2044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049
2050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052
2053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2056 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2060
2061 _ASUNAME
2062
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 echo "PATH: $as_dir"
2069 done
2070 IFS=$as_save_IFS
2071
2072 } >&5
2073
2074 cat >&5 <<_ACEOF
2075
2076
2077 ## ----------- ##
2078 ## Core tests. ##
2079 ## ----------- ##
2080
2081 _ACEOF
2082
2083
2084 # Keep a trace of the command line.
2085 # Strip out --no-create and --no-recursion so they do not pile up.
2086 # Strip out --silent because we don't want to record it for future runs.
2087 # Also quote any args containing shell meta-characters.
2088 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_configure_args=
2090 ac_configure_args0=
2091 ac_configure_args1=
2092 ac_must_keep_next=false
2093 for ac_pass in 1 2
2094 do
2095 for ac_arg
2096 do
2097 case $ac_arg in
2098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100 | -silent | --silent | --silen | --sile | --sil)
2101 continue ;;
2102 *\'*)
2103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2104 esac
2105 case $ac_pass in
2106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2107 2)
2108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2109 if test $ac_must_keep_next = true; then
2110 ac_must_keep_next=false # Got value, back to normal.
2111 else
2112 case $ac_arg in
2113 *=* | --config-cache | -C | -disable-* | --disable-* \
2114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2116 | -with-* | --with-* | -without-* | --without-* | --x)
2117 case "$ac_configure_args0 " in
2118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2119 esac
2120 ;;
2121 -* ) ac_must_keep_next=true ;;
2122 esac
2123 fi
2124 ac_configure_args="$ac_configure_args '$ac_arg'"
2125 ;;
2126 esac
2127 done
2128 done
2129 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2130 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2131
2132 # When interrupted or exit'd, cleanup temporary files, and complete
2133 # config.log. We remove comments because anyway the quotes in there
2134 # would cause problems or look ugly.
2135 # WARNING: Use '\'' to represent an apostrophe within the trap.
2136 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2137 trap 'exit_status=$?
2138 # Save into config.log some information that might help in debugging.
2139 {
2140 echo
2141
2142 cat <<\_ASBOX
2143 ## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##
2146 _ASBOX
2147 echo
2148 # The following way of writing the cache mishandles newlines in values,
2149 (
2150 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2151 eval ac_val=\$$ac_var
2152 case $ac_val in #(
2153 *${as_nl}*)
2154 case $ac_var in #(
2155 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2157 esac
2158 case $ac_var in #(
2159 _ | IFS | as_nl) ;; #(
2160 *) $as_unset $ac_var ;;
2161 esac ;;
2162 esac
2163 done
2164 (set) 2>&1 |
2165 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166 *${as_nl}ac_space=\ *)
2167 sed -n \
2168 "s/'\''/'\''\\\\'\'''\''/g;
2169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 ;; #(
2171 *)
2172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 ;;
2174 esac |
2175 sort
2176 )
2177 echo
2178
2179 cat <<\_ASBOX
2180 ## ----------------- ##
2181 ## Output variables. ##
2182 ## ----------------- ##
2183 _ASBOX
2184 echo
2185 for ac_var in $ac_subst_vars
2186 do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in
2189 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 esac
2191 echo "$ac_var='\''$ac_val'\''"
2192 done | sort
2193 echo
2194
2195 if test -n "$ac_subst_files"; then
2196 cat <<\_ASBOX
2197 ## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##
2200 _ASBOX
2201 echo
2202 for ac_var in $ac_subst_files
2203 do
2204 eval ac_val=\$$ac_var
2205 case $ac_val in
2206 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 esac
2208 echo "$ac_var='\''$ac_val'\''"
2209 done | sort
2210 echo
2211 fi
2212
2213 if test -s confdefs.h; then
2214 cat <<\_ASBOX
2215 ## ----------- ##
2216 ## confdefs.h. ##
2217 ## ----------- ##
2218 _ASBOX
2219 echo
2220 cat confdefs.h
2221 echo
2222 fi
2223 test "$ac_signal" != 0 &&
2224 echo "$as_me: caught signal $ac_signal"
2225 echo "$as_me: exit $exit_status"
2226 } >&5
2227 rm -f core *.core core.conftest.* &&
2228 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 exit $exit_status
2230 ' 0
2231 for ac_signal in 1 2 13 15; do
2232 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2233 done
2234 ac_signal=0
2235
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2238
2239 # Predefined preprocessor variables.
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 _ACEOF
2244
2245
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 _ACEOF
2249
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_STRING "$PACKAGE_STRING"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 _ACEOF
2264
2265
2266 # Let the site file select an alternate cache file if it wants to.
2267 # Prefer explicitly selected file to automatically selected ones.
2268 if test -n "$CONFIG_SITE"; then
2269 set x "$CONFIG_SITE"
2270 elif test "x$prefix" != xNONE; then
2271 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2272 else
2273 set x "$ac_default_prefix/share/config.site" \
2274 "$ac_default_prefix/etc/config.site"
2275 fi
2276 shift
2277 for ac_site_file
2278 do
2279 if test -r "$ac_site_file"; then
2280 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2281 echo "$as_me: loading site script $ac_site_file" >&6;}
2282 sed 's/^/| /' "$ac_site_file" >&5
2283 . "$ac_site_file"
2284 fi
2285 done
2286
2287 if test -r "$cache_file"; then
2288 # Some versions of bash will fail to source /dev/null (special
2289 # files actually), so we avoid doing that.
2290 if test -f "$cache_file"; then
2291 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2292 echo "$as_me: loading cache $cache_file" >&6;}
2293 case $cache_file in
2294 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2295 *) . "./$cache_file";;
2296 esac
2297 fi
2298 else
2299 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2300 echo "$as_me: creating cache $cache_file" >&6;}
2301 >$cache_file
2302 fi
2303
2304 # Check that the precious variables saved in the cache have kept the same
2305 # value.
2306 ac_cache_corrupted=false
2307 for ac_var in $ac_precious_vars; do
2308 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2309 eval ac_new_set=\$ac_env_${ac_var}_set
2310 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2311 eval ac_new_val=\$ac_env_${ac_var}_value
2312 case $ac_old_set,$ac_new_set in
2313 set,)
2314 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2315 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2316 ac_cache_corrupted=: ;;
2317 ,set)
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2321 ,);;
2322 *)
2323 if test "x$ac_old_val" != "x$ac_new_val"; then
2324 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2325 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2327 echo "$as_me: former value: $ac_old_val" >&2;}
2328 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2329 echo "$as_me: current value: $ac_new_val" >&2;}
2330 ac_cache_corrupted=:
2331 fi;;
2332 esac
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2335 case $ac_new_val in
2336 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg=$ac_var=$ac_new_val ;;
2338 esac
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2342 esac
2343 fi
2344 done
2345 if $ac_cache_corrupted; then
2346 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2347 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2349 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2350 { (exit 1); exit 1; }; }
2351 fi
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377 ac_ext=c
2378 ac_cpp='$CPP $CPPFLAGS'
2379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2382
2383
2384
2385
2386
2387 ac_aux_dir=
2388 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2389 if test -f "$ac_dir/install-sh"; then
2390 ac_aux_dir=$ac_dir
2391 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 break
2393 elif test -f "$ac_dir/install.sh"; then
2394 ac_aux_dir=$ac_dir
2395 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 break
2397 elif test -f "$ac_dir/shtool"; then
2398 ac_aux_dir=$ac_dir
2399 ac_install_sh="$ac_aux_dir/shtool install -c"
2400 break
2401 fi
2402 done
2403 if test -z "$ac_aux_dir"; then
2404 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2405 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2406 { (exit 1); exit 1; }; }
2407 fi
2408
2409 # These three variables are undocumented and unsupported,
2410 # and are intended to be withdrawn in a future Autoconf release.
2411 # They can cause serious problems if a builder's source tree is in a directory
2412 # whose full name contains unusual characters.
2413 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2414 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2415 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416
2417
2418 # Make sure we can run config.sub.
2419 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2420 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2421 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2422 { (exit 1); exit 1; }; }
2423
2424 { echo "$as_me:$LINENO: checking build system type" >&5
2425 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2426 if test "${ac_cv_build+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429 ac_build_alias=$build_alias
2430 test "x$ac_build_alias" = x &&
2431 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2432 test "x$ac_build_alias" = x &&
2433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2435 { (exit 1); exit 1; }; }
2436 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2437 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2438 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2439 { (exit 1); exit 1; }; }
2440
2441 fi
2442 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2443 echo "${ECHO_T}$ac_cv_build" >&6; }
2444 case $ac_cv_build in
2445 *-*-*) ;;
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2447 echo "$as_me: error: invalid value of canonical build" >&2;}
2448 { (exit 1); exit 1; }; };;
2449 esac
2450 build=$ac_cv_build
2451 ac_save_IFS=$IFS; IFS='-'
2452 set x $ac_cv_build
2453 shift
2454 build_cpu=$1
2455 build_vendor=$2
2456 shift; shift
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2459 build_os=$*
2460 IFS=$ac_save_IFS
2461 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2462
2463
2464 { echo "$as_me:$LINENO: checking host system type" >&5
2465 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_host+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469 if test "x$host_alias" = x; then
2470 ac_cv_host=$ac_cv_build
2471 else
2472 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476 fi
2477
2478 fi
2479 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2480 echo "${ECHO_T}$ac_cv_host" >&6; }
2481 case $ac_cv_host in
2482 *-*-*) ;;
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2484 echo "$as_me: error: invalid value of canonical host" >&2;}
2485 { (exit 1); exit 1; }; };;
2486 esac
2487 host=$ac_cv_host
2488 ac_save_IFS=$IFS; IFS='-'
2489 set x $ac_cv_host
2490 shift
2491 host_cpu=$1
2492 host_vendor=$2
2493 shift; shift
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2496 host_os=$*
2497 IFS=$ac_save_IFS
2498 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2499
2500
2501 { echo "$as_me:$LINENO: checking target system type" >&5
2502 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_target+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 else
2506 if test "x$target_alias" = x; then
2507 ac_cv_target=$ac_cv_host
2508 else
2509 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2513 fi
2514
2515 fi
2516 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2517 echo "${ECHO_T}$ac_cv_target" >&6; }
2518 case $ac_cv_target in
2519 *-*-*) ;;
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2521 echo "$as_me: error: invalid value of canonical target" >&2;}
2522 { (exit 1); exit 1; }; };;
2523 esac
2524 target=$ac_cv_target
2525 ac_save_IFS=$IFS; IFS='-'
2526 set x $ac_cv_target
2527 shift
2528 target_cpu=$1
2529 target_vendor=$2
2530 shift; shift
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2533 target_os=$*
2534 IFS=$ac_save_IFS
2535 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2536
2537
2538 # The aliases save the names the user supplied, while $host etc.
2539 # will get canonicalized.
2540 test -n "$target_alias" &&
2541 test "$program_prefix$program_suffix$program_transform_name" = \
2542 NONENONEs,x,x, &&
2543 program_prefix=${target_alias}-
2544
2545
2546
2547 wx_major_version_number=2
2548 wx_minor_version_number=9
2549 wx_release_number=0
2550 wx_subrelease_number=0
2551
2552 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2553 WX_VERSION=$WX_RELEASE.$wx_release_number
2554 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555
2556 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2557
2558
2559 wx_top_builddir="`pwd`"
2560
2561
2562
2563
2564 USE_UNIX=1
2565 USE_OS2=0
2566 USE_WIN32=0
2567 USE_DOS=0
2568 USE_BEOS=0
2569 USE_MAC=0
2570
2571 USE_AIX=
2572 USE_BSD= USE_DARWIN= USE_FREEBSD=
2573 USE_GNU= USE_HPUX=
2574 USE_LINUX=
2575 USE_NETBSD=
2576 USE_OPENBSD=
2577 USE_OSF= USE_SGI=
2578 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2579 USE_ULTRIX=
2580 USE_UNIXWARE=
2581
2582 USE_ALPHA=
2583
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585
2586 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587
2588 DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_wxUSE_GTK=0
2590 DEFAULT_wxUSE_MAC=0
2591 DEFAULT_wxUSE_MGL=0
2592 DEFAULT_wxUSE_MICROWIN=0
2593 DEFAULT_wxUSE_MOTIF=0
2594 DEFAULT_wxUSE_MSW=0
2595 DEFAULT_wxUSE_PM=0
2596 DEFAULT_wxUSE_X11=0
2597 DEFAULT_wxUSE_DFB=0
2598
2599 DEFAULT_DEFAULT_wxUSE_COCOA=0
2600 DEFAULT_DEFAULT_wxUSE_GTK=0
2601 DEFAULT_DEFAULT_wxUSE_MAC=0
2602 DEFAULT_DEFAULT_wxUSE_MGL=0
2603 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2604 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2605 DEFAULT_DEFAULT_wxUSE_MSW=0
2606 DEFAULT_DEFAULT_wxUSE_PM=0
2607 DEFAULT_DEFAULT_wxUSE_X11=0
2608 DEFAULT_DEFAULT_wxUSE_DFB=0
2609
2610 PROGRAM_EXT=
2611 SO_SUFFIX=so
2612 SAMPLES_RPATH_FLAG=
2613 SAMPLES_RPATH_POSTLINK=
2614
2615 DEFAULT_STD_FLAG=yes
2616
2617 case "${host}" in
2618 *-hp-hpux* )
2619 USE_HPUX=1
2620 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2621 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2622 SO_SUFFIX=sl
2623 cat >>confdefs.h <<\_ACEOF
2624 #define __HPUX__ 1
2625 _ACEOF
2626
2627
2628 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2629 ;;
2630 *-*-linux* )
2631 USE_LINUX=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __LINUX__ 1
2634 _ACEOF
2635
2636 TMP=`uname -m`
2637 if test "x$TMP" = "xalpha"; then
2638 USE_ALPHA=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __ALPHA__ 1
2641 _ACEOF
2642
2643 fi
2644 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 ;;
2646 *-*-gnu* | *-*-k*bsd*-gnu )
2647 USE_GNU=1
2648 TMP=`uname -m`
2649 if test "x$TMP" = "xalpha"; then
2650 USE_ALPHA=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __ALPHA__ 1
2653 _ACEOF
2654
2655 fi
2656 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 ;;
2658 *-*-irix5* | *-*-irix6* )
2659 USE_SGI=1
2660 USE_SVR4=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SGI__ 1
2663 _ACEOF
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SVR4__ 1
2667 _ACEOF
2668
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 ;;
2671 *-*-solaris2* )
2672 USE_SUN=1
2673 USE_SOLARIS=1
2674 USE_SVR4=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SOLARIS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SVR4__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2689 ;;
2690 *-*-sunos4* )
2691 USE_SUN=1
2692 USE_SUNOS=1
2693 USE_BSD=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SUN__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SUNOS__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __BSD__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 ;;
2708 *-*-freebsd*)
2709 USE_BSD=1
2710 USE_FREEBSD=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __FREEBSD__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 ;;
2721 *-*-openbsd*|*-*-mirbsd*)
2722 USE_BSD=1
2723 USE_OPENBSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __OPENBSD__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __BSD__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 ;;
2734 *-*-netbsd*)
2735 USE_BSD=1
2736 USE_NETBSD=1
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __NETBSD__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747
2748 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2749 ;;
2750 *-*-osf* )
2751 USE_ALPHA=1
2752 USE_OSF=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __ALPHA__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __OSF__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763 ;;
2764 *-*-dgux5* )
2765 USE_ALPHA=1
2766 USE_SVR4=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __ALPHA__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __SVR4__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 ;;
2777 *-*-sysv5* )
2778 USE_SYSV=1
2779 USE_SVR4=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790 *-*-aix* )
2791 USE_AIX=1
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 SO_SUFFIX=a
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __AIX__ 1
2797 _ACEOF
2798
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __SYSV__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SVR4__ 1
2805 _ACEOF
2806
2807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2808 ;;
2809
2810 *-*-*UnixWare*)
2811 USE_SYSV=1
2812 USE_SVR4=1
2813 USE_UNIXWARE=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __UNIXWARE__ 1
2816 _ACEOF
2817
2818 ;;
2819
2820 *-*-cygwin* | *-*-mingw32* )
2821 SO_SUFFIX=dll
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_MSW=1
2824 ;;
2825
2826 *-pc-msdosdjgpp )
2827 USE_UNIX=0
2828 USE_DOS=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __DOS__ 1
2831 _ACEOF
2832
2833 PROGRAM_EXT=".exe"
2834 DEFAULT_DEFAULT_wxUSE_MGL=1
2835 ;;
2836
2837 *-pc-os2_emx | *-pc-os2-emx )
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __EMX__ 1
2840 _ACEOF
2841
2842 USE_OS2=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __OS2__ 1
2845 _ACEOF
2846
2847 PROGRAM_EXT=".exe"
2848 DEFAULT_DEFAULT_wxUSE_PM=1
2849 CXX=gcc
2850 LDFLAGS="$LDFLAGS -Zcrtdll"
2851 ac_executable_extensions=".exe"
2852 export ac_executable_extensions
2853 ac_save_IFS="$IFS"
2854 IFS='\\'
2855 ac_TEMP_PATH=
2856 for ac_dir in $PATH; do
2857 IFS=$ac_save_IFS
2858 if test -z "$ac_TEMP_PATH"; then
2859 ac_TEMP_PATH="$ac_dir"
2860 else
2861 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2862 fi
2863 done
2864 export PATH="$ac_TEMP_PATH"
2865 unset ac_TEMP_PATH
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868
2869 *-*-darwin* )
2870 USE_BSD=1
2871 USE_DARWIN=1
2872 SO_SUFFIX=dylib
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_MAC=1
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888 powerpc-apple-macos* )
2889 USE_UNIX=0
2890 ac_cv_c_bigendian=yes
2891 SO_SUFFIX=shlib
2892 DEFAULT_DEFAULT_wxUSE_MAC=1
2893 DEFAULT_STD_FLAG=no
2894 ;;
2895
2896 *-*-beos* )
2897 USE_BEOS=1
2898 cat >>confdefs.h <<\_ACEOF
2899 #define __BEOS__ 1
2900 _ACEOF
2901
2902 ;;
2903
2904 *)
2905 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2906 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2907 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2908 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909
2910 DEFAULT_DEFAULT_wxUSE_X11=1
2911 DEFAULT_wxUSE_SHARED=no
2912 esac
2913
2914
2915
2916 DEFAULT_wxUSE_ALL_FEATURES=yes
2917
2918 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2920
2921 DEFAULT_wxUSE_DMALLOC=no
2922 DEFAULT_wxUSE_LIBGNOMEVFS=no
2923 DEFAULT_wxUSE_LIBHILDON=no
2924 DEFAULT_wxUSE_LIBMSPACK=no
2925 DEFAULT_wxUSE_LIBSDL=no
2926 DEFAULT_wxUSE_OPENGL=no
2927
2928 DEFAULT_wxUSE_ACCESSIBILITY=no
2929 DEFAULT_wxUSE_DATAVIEWCTRL=no
2930 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2931 DEFAULT_wxUSE_IPV6=no
2932 DEFAULT_wxUSE_MEDIACTRL=no
2933 DEFAULT_wxUSE_TAB_DIALOG=no
2934 DEFAULT_wxUSE_GSTREAMER8=no
2935
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938
2939 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2940
2941 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942
2943 DEFAULT_wxUSE_GTK2=yes
2944
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946
2947
2948
2949
2950
2951 enablestring=disable
2952 defaultval=
2953 if test -z "$defaultval"; then
2954 if test x"$enablestring" = xdisable; then
2955 defaultval=yes
2956 else
2957 defaultval=no
2958 fi
2959 fi
2960
2961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2962 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2963 # Check whether --enable-gui was given.
2964 if test "${enable_gui+set}" = set; then
2965 enableval=$enable_gui;
2966 if test "$enableval" = yes; then
2967 wx_cv_use_gui='wxUSE_GUI=yes'
2968 else
2969 wx_cv_use_gui='wxUSE_GUI=no'
2970 fi
2971
2972 else
2973
2974 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2975
2976 fi
2977
2978
2979 eval "$wx_cv_use_gui"
2980
2981 if test x"$enablestring" = xdisable; then
2982 if test $wxUSE_GUI = yes; then
2983 result=no
2984 else
2985 result=yes
2986 fi
2987 else
2988 result=$wxUSE_GUI
2989 fi
2990
2991 { echo "$as_me:$LINENO: result: $result" >&5
2992 echo "${ECHO_T}$result" >&6; }
2993
2994
2995 enablestring=
2996 defaultval=
2997 if test -z "$defaultval"; then
2998 if test x"$enablestring" = xdisable; then
2999 defaultval=yes
3000 else
3001 defaultval=no
3002 fi
3003 fi
3004
3005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3006 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3007 # Check whether --enable-monolithic was given.
3008 if test "${enable_monolithic+set}" = set; then
3009 enableval=$enable_monolithic;
3010 if test "$enableval" = yes; then
3011 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3012 else
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3014 fi
3015
3016 else
3017
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3019
3020 fi
3021
3022
3023 eval "$wx_cv_use_monolithic"
3024
3025 if test x"$enablestring" = xdisable; then
3026 if test $wxUSE_MONOLITHIC = yes; then
3027 result=no
3028 else
3029 result=yes
3030 fi
3031 else
3032 result=$wxUSE_MONOLITHIC
3033 fi
3034
3035 { echo "$as_me:$LINENO: result: $result" >&5
3036 echo "${ECHO_T}$result" >&6; }
3037
3038
3039 enablestring=
3040 defaultval=
3041 if test -z "$defaultval"; then
3042 if test x"$enablestring" = xdisable; then
3043 defaultval=yes
3044 else
3045 defaultval=no
3046 fi
3047 fi
3048
3049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3050 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3051 # Check whether --enable-plugins was given.
3052 if test "${enable_plugins+set}" = set; then
3053 enableval=$enable_plugins;
3054 if test "$enableval" = yes; then
3055 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3056 else
3057 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3058 fi
3059
3060 else
3061
3062 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3063
3064 fi
3065
3066
3067 eval "$wx_cv_use_plugins"
3068
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_PLUGINS = yes; then
3071 result=no
3072 else
3073 result=yes
3074 fi
3075 else
3076 result=$wxUSE_PLUGINS
3077 fi
3078
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3081
3082
3083 withstring=without
3084 defaultval=$wxUSE_ALL_FEATURES
3085 if test -z "$defaultval"; then
3086 if test x"$withstring" = xwithout; then
3087 defaultval=yes
3088 else
3089 defaultval=no
3090 fi
3091 fi
3092 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3093 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3094
3095 # Check whether --with-subdirs was given.
3096 if test "${with_subdirs+set}" = set; then
3097 withval=$with_subdirs;
3098 if test "$withval" = yes; then
3099 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3100 else
3101 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3102 fi
3103
3104 else
3105
3106 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3107
3108 fi
3109
3110
3111 eval "$wx_cv_use_subdirs"
3112
3113 if test x"$withstring" = xwithout; then
3114 if test $wxWITH_SUBDIRS = yes; then
3115 result=no
3116 else
3117 result=yes
3118 fi
3119 else
3120 result=$wxWITH_SUBDIRS
3121 fi
3122
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3125
3126
3127 # Check whether --with-flavour was given.
3128 if test "${with_flavour+set}" = set; then
3129 withval=$with_flavour; WX_FLAVOUR="$withval"
3130 fi
3131
3132
3133 enablestring=
3134 defaultval=
3135 if test -z "$defaultval"; then
3136 if test x"$enablestring" = xdisable; then
3137 defaultval=yes
3138 else
3139 defaultval=no
3140 fi
3141 fi
3142
3143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3144 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3145 # Check whether --enable-official_build was given.
3146 if test "${enable_official_build+set}" = set; then
3147 enableval=$enable_official_build;
3148 if test "$enableval" = yes; then
3149 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3150 else
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3152 fi
3153
3154 else
3155
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3157
3158 fi
3159
3160
3161 eval "$wx_cv_use_official_build"
3162
3163 if test x"$enablestring" = xdisable; then
3164 if test $wxUSE_OFFICIAL_BUILD = yes; then
3165 result=no
3166 else
3167 result=yes
3168 fi
3169 else
3170 result=$wxUSE_OFFICIAL_BUILD
3171 fi
3172
3173 { echo "$as_me:$LINENO: result: $result" >&5
3174 echo "${ECHO_T}$result" >&6; }
3175
3176 # Check whether --enable-vendor was given.
3177 if test "${enable_vendor+set}" = set; then
3178 enableval=$enable_vendor; VENDOR="$enableval"
3179 fi
3180
3181 if test "x$VENDOR" = "x"; then
3182 VENDOR="custom"
3183 fi
3184
3185
3186 enablestring=disable
3187 defaultval=
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3190 defaultval=yes
3191 else
3192 defaultval=no
3193 fi
3194 fi
3195
3196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3197 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3198 # Check whether --enable-all-features was given.
3199 if test "${enable_all_features+set}" = set; then
3200 enableval=$enable_all_features;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3203 else
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3205 fi
3206
3207 else
3208
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3210
3211 fi
3212
3213
3214 eval "$wx_cv_use_all_features"
3215
3216 if test x"$enablestring" = xdisable; then
3217 if test $wxUSE_ALL_FEATURES = yes; then
3218 result=no
3219 else
3220 result=yes
3221 fi
3222 else
3223 result=$wxUSE_ALL_FEATURES
3224 fi
3225
3226 { echo "$as_me:$LINENO: result: $result" >&5
3227 echo "${ECHO_T}$result" >&6; }
3228
3229
3230
3231 if test "$wxUSE_GUI" = "yes"; then
3232
3233
3234 enablestring=
3235 defaultval=
3236 if test -z "$defaultval"; then
3237 if test x"$enablestring" = xdisable; then
3238 defaultval=yes
3239 else
3240 defaultval=no
3241 fi
3242 fi
3243
3244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3245 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3246 # Check whether --enable-universal was given.
3247 if test "${enable_universal+set}" = set; then
3248 enableval=$enable_universal;
3249 if test "$enableval" = yes; then
3250 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3251 else
3252 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3253 fi
3254
3255 else
3256
3257 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3258
3259 fi
3260
3261
3262 eval "$wx_cv_use_universal"
3263
3264 if test x"$enablestring" = xdisable; then
3265 if test $wxUSE_UNIVERSAL = yes; then
3266 result=no
3267 else
3268 result=yes
3269 fi
3270 else
3271 result=$wxUSE_UNIVERSAL
3272 fi
3273
3274 { echo "$as_me:$LINENO: result: $result" >&5
3275 echo "${ECHO_T}$result" >&6; }
3276
3277 if test "$wxUSE_UNIVERSAL" = "yes"; then
3278
3279 # Check whether --with-themes was given.
3280 if test "${with_themes+set}" = set; then
3281 withval=$with_themes; wxUNIV_THEMES="$withval"
3282 fi
3283
3284 fi
3285
3286
3287 # Check whether --with-gtk was given.
3288 if test "${with_gtk+set}" = set; then
3289 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3290 fi
3291
3292
3293 # Check whether --with-motif was given.
3294 if test "${with_motif+set}" = set; then
3295 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3296 fi
3297
3298
3299 # Check whether --with-mac was given.
3300 if test "${with_mac+set}" = set; then
3301 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-cocoa was given.
3306 if test "${with_cocoa+set}" = set; then
3307 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-wine was given.
3312 if test "${with_wine+set}" = set; then
3313 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3314 fi
3315
3316
3317 # Check whether --with-msw was given.
3318 if test "${with_msw+set}" = set; then
3319 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3320 fi
3321
3322
3323 # Check whether --with-pm was given.
3324 if test "${with_pm+set}" = set; then
3325 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-mgl was given.
3330 if test "${with_mgl+set}" = set; then
3331 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-directfb was given.
3336 if test "${with_directfb+set}" = set; then
3337 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-microwin was given.
3342 if test "${with_microwin+set}" = set; then
3343 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-x11 was given.
3348 if test "${with_x11+set}" = set; then
3349 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 enablestring=
3354 defaultval=
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3357 defaultval=yes
3358 else
3359 defaultval=no
3360 fi
3361 fi
3362
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3365 # Check whether --enable-nanox was given.
3366 if test "${enable_nanox+set}" = set; then
3367 enableval=$enable_nanox;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_nanox='wxUSE_NANOX=yes'
3370 else
3371 wx_cv_use_nanox='wxUSE_NANOX=no'
3372 fi
3373
3374 else
3375
3376 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3377
3378 fi
3379
3380
3381 eval "$wx_cv_use_nanox"
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_NANOX = yes; then
3385 result=no
3386 else
3387 result=yes
3388 fi
3389 else
3390 result=$wxUSE_NANOX
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396
3397 # Check whether --enable-gtk2 was given.
3398 if test "${enable_gtk2+set}" = set; then
3399 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3400 fi
3401
3402
3403 enablestring=
3404 defaultval=
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3407 defaultval=yes
3408 else
3409 defaultval=no
3410 fi
3411 fi
3412
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3415 # Check whether --enable-gpe was given.
3416 if test "${enable_gpe+set}" = set; then
3417 enableval=$enable_gpe;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_gpe='wxUSE_GPE=yes'
3420 else
3421 wx_cv_use_gpe='wxUSE_GPE=no'
3422 fi
3423
3424 else
3425
3426 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3427
3428 fi
3429
3430
3431 eval "$wx_cv_use_gpe"
3432
3433 if test x"$enablestring" = xdisable; then
3434 if test $wxUSE_GPE = yes; then
3435 result=no
3436 else
3437 result=yes
3438 fi
3439 else
3440 result=$wxUSE_GPE
3441 fi
3442
3443 { echo "$as_me:$LINENO: result: $result" >&5
3444 echo "${ECHO_T}$result" >&6; }
3445
3446
3447
3448
3449 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3450 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3451
3452 # Check whether --with-libpng was given.
3453 if test "${with_libpng+set}" = set; then
3454 withval=$with_libpng;
3455 if test "$withval" = yes; then
3456 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3457 elif test "$withval" = no; then
3458 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3459 elif test "$withval" = sys; then
3460 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3461 elif test "$withval" = builtin; then
3462 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3463 else
3464 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3465 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3466 { (exit 1); exit 1; }; }
3467 fi
3468
3469 else
3470
3471 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3472
3473 fi
3474
3475
3476 eval "$wx_cv_use_libpng"
3477
3478 if test "$wxUSE_LIBPNG" = yes; then
3479 { echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6; }
3481 elif test "$wxUSE_LIBPNG" = no; then
3482 { echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6; }
3484 elif test "$wxUSE_LIBPNG" = sys; then
3485 { echo "$as_me:$LINENO: result: system version" >&5
3486 echo "${ECHO_T}system version" >&6; }
3487 elif test "$wxUSE_LIBPNG" = builtin; then
3488 { echo "$as_me:$LINENO: result: builtin version" >&5
3489 echo "${ECHO_T}builtin version" >&6; }
3490 else
3491 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3492 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3493 { (exit 1); exit 1; }; }
3494 fi
3495
3496
3497 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3498 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3499
3500 # Check whether --with-libjpeg was given.
3501 if test "${with_libjpeg+set}" = set; then
3502 withval=$with_libjpeg;
3503 if test "$withval" = yes; then
3504 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3505 elif test "$withval" = no; then
3506 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3507 elif test "$withval" = sys; then
3508 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3509 elif test "$withval" = builtin; then
3510 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3511 else
3512 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3513 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3514 { (exit 1); exit 1; }; }
3515 fi
3516
3517 else
3518
3519 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3520
3521 fi
3522
3523
3524 eval "$wx_cv_use_libjpeg"
3525
3526 if test "$wxUSE_LIBJPEG" = yes; then
3527 { echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6; }
3529 elif test "$wxUSE_LIBJPEG" = no; then
3530 { echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6; }
3532 elif test "$wxUSE_LIBJPEG" = sys; then
3533 { echo "$as_me:$LINENO: result: system version" >&5
3534 echo "${ECHO_T}system version" >&6; }
3535 elif test "$wxUSE_LIBJPEG" = builtin; then
3536 { echo "$as_me:$LINENO: result: builtin version" >&5
3537 echo "${ECHO_T}builtin version" >&6; }
3538 else
3539 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3540 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3541 { (exit 1); exit 1; }; }
3542 fi
3543
3544
3545 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3546 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3547
3548 # Check whether --with-libtiff was given.
3549 if test "${with_libtiff+set}" = set; then
3550 withval=$with_libtiff;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3559 else
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3563 fi
3564
3565 else
3566
3567 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3568
3569 fi
3570
3571
3572 eval "$wx_cv_use_libtiff"
3573
3574 if test "$wxUSE_LIBTIFF" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBTIFF" = no; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBTIFF" = sys; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBTIFF" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3586 else
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3590 fi
3591
3592
3593 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3594 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3595
3596 # Check whether --with-libxpm was given.
3597 if test "${with_libxpm+set}" = set; then
3598 withval=$with_libxpm;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3607 else
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3611 fi
3612
3613 else
3614
3615 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3616
3617 fi
3618
3619
3620 eval "$wx_cv_use_libxpm"
3621
3622 if test "$wxUSE_LIBXPM" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBXPM" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBXPM" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBXPM" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 withstring=
3642 defaultval=$wxUSE_ALL_FEATURES
3643 if test -z "$defaultval"; then
3644 if test x"$withstring" = xwithout; then
3645 defaultval=yes
3646 else
3647 defaultval=no
3648 fi
3649 fi
3650 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3651 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3652
3653 # Check whether --with-libmspack was given.
3654 if test "${with_libmspack+set}" = set; then
3655 withval=$with_libmspack;
3656 if test "$withval" = yes; then
3657 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3658 else
3659 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3660 fi
3661
3662 else
3663
3664 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3665
3666 fi
3667
3668
3669 eval "$wx_cv_use_libmspack"
3670
3671 if test x"$withstring" = xwithout; then
3672 if test $wxUSE_LIBMSPACK = yes; then
3673 result=no
3674 else
3675 result=yes
3676 fi
3677 else
3678 result=$wxUSE_LIBMSPACK
3679 fi
3680
3681 { echo "$as_me:$LINENO: result: $result" >&5
3682 echo "${ECHO_T}$result" >&6; }
3683
3684
3685 withstring=without
3686 defaultval=$wxUSE_ALL_FEATURES
3687 if test -z "$defaultval"; then
3688 if test x"$withstring" = xwithout; then
3689 defaultval=yes
3690 else
3691 defaultval=no
3692 fi
3693 fi
3694 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3695 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3696
3697 # Check whether --with-gtkprint was given.
3698 if test "${with_gtkprint+set}" = set; then
3699 withval=$with_gtkprint;
3700 if test "$withval" = yes; then
3701 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3702 else
3703 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3704 fi
3705
3706 else
3707
3708 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3709
3710 fi
3711
3712
3713 eval "$wx_cv_use_gtkprint"
3714
3715 if test x"$withstring" = xwithout; then
3716 if test $wxUSE_GTKPRINT = yes; then
3717 result=no
3718 else
3719 result=yes
3720 fi
3721 else
3722 result=$wxUSE_GTKPRINT
3723 fi
3724
3725 { echo "$as_me:$LINENO: result: $result" >&5
3726 echo "${ECHO_T}$result" >&6; }
3727
3728
3729 withstring=without
3730 defaultval=$wxUSE_ALL_FEATURES
3731 if test -z "$defaultval"; then
3732 if test x"$withstring" = xwithout; then
3733 defaultval=yes
3734 else
3735 defaultval=no
3736 fi
3737 fi
3738 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3739 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3740
3741 # Check whether --with-gnomeprint was given.
3742 if test "${with_gnomeprint+set}" = set; then
3743 withval=$with_gnomeprint;
3744 if test "$withval" = yes; then
3745 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3746 else
3747 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3748 fi
3749
3750 else
3751
3752 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3753
3754 fi
3755
3756
3757 eval "$wx_cv_use_gnomeprint"
3758
3759 if test x"$withstring" = xwithout; then
3760 if test $wxUSE_LIBGNOMEPRINT = yes; then
3761 result=no
3762 else
3763 result=yes
3764 fi
3765 else
3766 result=$wxUSE_LIBGNOMEPRINT
3767 fi
3768
3769 { echo "$as_me:$LINENO: result: $result" >&5
3770 echo "${ECHO_T}$result" >&6; }
3771
3772
3773 withstring=
3774 defaultval=$wxUSE_ALL_FEATURES
3775 if test -z "$defaultval"; then
3776 if test x"$withstring" = xwithout; then
3777 defaultval=yes
3778 else
3779 defaultval=no
3780 fi
3781 fi
3782 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3783 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3784
3785 # Check whether --with-gnomevfs was given.
3786 if test "${with_gnomevfs+set}" = set; then
3787 withval=$with_gnomevfs;
3788 if test "$withval" = yes; then
3789 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3790 else
3791 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3792 fi
3793
3794 else
3795
3796 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3797
3798 fi
3799
3800
3801 eval "$wx_cv_use_gnomevfs"
3802
3803 if test x"$withstring" = xwithout; then
3804 if test $wxUSE_LIBGNOMEVFS = yes; then
3805 result=no
3806 else
3807 result=yes
3808 fi
3809 else
3810 result=$wxUSE_LIBGNOMEVFS
3811 fi
3812
3813 { echo "$as_me:$LINENO: result: $result" >&5
3814 echo "${ECHO_T}$result" >&6; }
3815
3816
3817 withstring=
3818 defaultval=$wxUSE_ALL_FEATURES
3819 if test -z "$defaultval"; then
3820 if test x"$withstring" = xwithout; then
3821 defaultval=yes
3822 else
3823 defaultval=no
3824 fi
3825 fi
3826 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3827 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3828
3829 # Check whether --with-hildon was given.
3830 if test "${with_hildon+set}" = set; then
3831 withval=$with_hildon;
3832 if test "$withval" = yes; then
3833 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3834 else
3835 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3836 fi
3837
3838 else
3839
3840 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3841
3842 fi
3843
3844
3845 eval "$wx_cv_use_hildon"
3846
3847 if test x"$withstring" = xwithout; then
3848 if test $wxUSE_LIBHILDON = yes; then
3849 result=no
3850 else
3851 result=yes
3852 fi
3853 else
3854 result=$wxUSE_LIBHILDON
3855 fi
3856
3857 { echo "$as_me:$LINENO: result: $result" >&5
3858 echo "${ECHO_T}$result" >&6; }
3859
3860
3861 withstring=
3862 defaultval=$wxUSE_ALL_FEATURES
3863 if test -z "$defaultval"; then
3864 if test x"$withstring" = xwithout; then
3865 defaultval=yes
3866 else
3867 defaultval=no
3868 fi
3869 fi
3870 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3871 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3872
3873 # Check whether --with-opengl was given.
3874 if test "${with_opengl+set}" = set; then
3875 withval=$with_opengl;
3876 if test "$withval" = yes; then
3877 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3878 else
3879 wx_cv_use_opengl='wxUSE_OPENGL=no'
3880 fi
3881
3882 else
3883
3884 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3885
3886 fi
3887
3888
3889 eval "$wx_cv_use_opengl"
3890
3891 if test x"$withstring" = xwithout; then
3892 if test $wxUSE_OPENGL = yes; then
3893 result=no
3894 else
3895 result=yes
3896 fi
3897 else
3898 result=$wxUSE_OPENGL
3899 fi
3900
3901 { echo "$as_me:$LINENO: result: $result" >&5
3902 echo "${ECHO_T}$result" >&6; }
3903
3904
3905 fi
3906
3907
3908 withstring=
3909 defaultval=$wxUSE_ALL_FEATURES
3910 if test -z "$defaultval"; then
3911 if test x"$withstring" = xwithout; then
3912 defaultval=yes
3913 else
3914 defaultval=no
3915 fi
3916 fi
3917 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3918 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3919
3920 # Check whether --with-dmalloc was given.
3921 if test "${with_dmalloc+set}" = set; then
3922 withval=$with_dmalloc;
3923 if test "$withval" = yes; then
3924 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3925 else
3926 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3927 fi
3928
3929 else
3930
3931 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3932
3933 fi
3934
3935
3936 eval "$wx_cv_use_dmalloc"
3937
3938 if test x"$withstring" = xwithout; then
3939 if test $wxUSE_DMALLOC = yes; then
3940 result=no
3941 else
3942 result=yes
3943 fi
3944 else
3945 result=$wxUSE_DMALLOC
3946 fi
3947
3948 { echo "$as_me:$LINENO: result: $result" >&5
3949 echo "${ECHO_T}$result" >&6; }
3950
3951
3952 withstring=
3953 defaultval=$wxUSE_ALL_FEATURES
3954 if test -z "$defaultval"; then
3955 if test x"$withstring" = xwithout; then
3956 defaultval=yes
3957 else
3958 defaultval=no
3959 fi
3960 fi
3961 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3962 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3963
3964 # Check whether --with-sdl was given.
3965 if test "${with_sdl+set}" = set; then
3966 withval=$with_sdl;
3967 if test "$withval" = yes; then
3968 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3969 else
3970 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3971 fi
3972
3973 else
3974
3975 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3976
3977 fi
3978
3979
3980 eval "$wx_cv_use_sdl"
3981
3982 if test x"$withstring" = xwithout; then
3983 if test $wxUSE_LIBSDL = yes; then
3984 result=no
3985 else
3986 result=yes
3987 fi
3988 else
3989 result=$wxUSE_LIBSDL
3990 fi
3991
3992 { echo "$as_me:$LINENO: result: $result" >&5
3993 echo "${ECHO_T}$result" >&6; }
3994
3995
3996 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3997 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3998
3999 # Check whether --with-regex was given.
4000 if test "${with_regex+set}" = set; then
4001 withval=$with_regex;
4002 if test "$withval" = yes; then
4003 wx_cv_use_regex='wxUSE_REGEX=yes'
4004 elif test "$withval" = no; then
4005 wx_cv_use_regex='wxUSE_REGEX=no'
4006 elif test "$withval" = sys; then
4007 wx_cv_use_regex='wxUSE_REGEX=sys'
4008 elif test "$withval" = builtin; then
4009 wx_cv_use_regex='wxUSE_REGEX=builtin'
4010 else
4011 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4012 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4013 { (exit 1); exit 1; }; }
4014 fi
4015
4016 else
4017
4018 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4019
4020 fi
4021
4022
4023 eval "$wx_cv_use_regex"
4024
4025 if test "$wxUSE_REGEX" = yes; then
4026 { echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6; }
4028 elif test "$wxUSE_REGEX" = no; then
4029 { echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6; }
4031 elif test "$wxUSE_REGEX" = sys; then
4032 { echo "$as_me:$LINENO: result: system version" >&5
4033 echo "${ECHO_T}system version" >&6; }
4034 elif test "$wxUSE_REGEX" = builtin; then
4035 { echo "$as_me:$LINENO: result: builtin version" >&5
4036 echo "${ECHO_T}builtin version" >&6; }
4037 else
4038 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4039 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4040 { (exit 1); exit 1; }; }
4041 fi
4042
4043
4044 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4045 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4046
4047 # Check whether --with-zlib was given.
4048 if test "${with_zlib+set}" = set; then
4049 withval=$with_zlib;
4050 if test "$withval" = yes; then
4051 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4052 elif test "$withval" = no; then
4053 wx_cv_use_zlib='wxUSE_ZLIB=no'
4054 elif test "$withval" = sys; then
4055 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4056 elif test "$withval" = builtin; then
4057 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4058 else
4059 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4060 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4061 { (exit 1); exit 1; }; }
4062 fi
4063
4064 else
4065
4066 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4067
4068 fi
4069
4070
4071 eval "$wx_cv_use_zlib"
4072
4073 if test "$wxUSE_ZLIB" = yes; then
4074 { echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6; }
4076 elif test "$wxUSE_ZLIB" = no; then
4077 { echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6; }
4079 elif test "$wxUSE_ZLIB" = sys; then
4080 { echo "$as_me:$LINENO: result: system version" >&5
4081 echo "${ECHO_T}system version" >&6; }
4082 elif test "$wxUSE_ZLIB" = builtin; then
4083 { echo "$as_me:$LINENO: result: builtin version" >&5
4084 echo "${ECHO_T}builtin version" >&6; }
4085 else
4086 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4087 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4088 { (exit 1); exit 1; }; }
4089 fi
4090
4091
4092 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4093 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4094
4095 # Check whether --with-expat was given.
4096 if test "${with_expat+set}" = set; then
4097 withval=$with_expat;
4098 if test "$withval" = yes; then
4099 wx_cv_use_expat='wxUSE_EXPAT=yes'
4100 elif test "$withval" = no; then
4101 wx_cv_use_expat='wxUSE_EXPAT=no'
4102 elif test "$withval" = sys; then
4103 wx_cv_use_expat='wxUSE_EXPAT=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4106 else
4107 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4108 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4110 fi
4111
4112 else
4113
4114 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4115
4116 fi
4117
4118
4119 eval "$wx_cv_use_expat"
4120
4121 if test "$wxUSE_EXPAT" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_EXPAT" = no; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_EXPAT" = sys; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_EXPAT" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4133 else
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4137 fi
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4141 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4142
4143 # Check whether --with-macosx-sdk was given.
4144 if test "${with_macosx_sdk+set}" = set; then
4145 withval=$with_macosx_sdk;
4146 wxUSE_MACOSX_SDK=$withval
4147 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4148
4149 fi
4150
4151 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4152 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4153
4154 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4155 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4156
4157 # Check whether --with-macosx-version-min was given.
4158 if test "${with_macosx_version_min+set}" = set; then
4159 withval=$with_macosx_version_min;
4160 wxUSE_MACOSX_VERSION_MIN=$withval
4161 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4162
4163 fi
4164
4165 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4166 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4167
4168
4169
4170 enablestring=disable
4171 defaultval=
4172 if test -z "$defaultval"; then
4173 if test x"$enablestring" = xdisable; then
4174 defaultval=yes
4175 else
4176 defaultval=no
4177 fi
4178 fi
4179
4180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4182 # Check whether --enable-shared was given.
4183 if test "${enable_shared+set}" = set; then
4184 enableval=$enable_shared;
4185 if test "$enableval" = yes; then
4186 wx_cv_use_shared='wxUSE_SHARED=yes'
4187 else
4188 wx_cv_use_shared='wxUSE_SHARED=no'
4189 fi
4190
4191 else
4192
4193 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4194
4195 fi
4196
4197
4198 eval "$wx_cv_use_shared"
4199
4200 if test x"$enablestring" = xdisable; then
4201 if test $wxUSE_SHARED = yes; then
4202 result=no
4203 else
4204 result=yes
4205 fi
4206 else
4207 result=$wxUSE_SHARED
4208 fi
4209
4210 { echo "$as_me:$LINENO: result: $result" >&5
4211 echo "${ECHO_T}$result" >&6; }
4212
4213
4214 enablestring=disable
4215 defaultval=
4216 if test -z "$defaultval"; then
4217 if test x"$enablestring" = xdisable; then
4218 defaultval=yes
4219 else
4220 defaultval=no
4221 fi
4222 fi
4223
4224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4226 # Check whether --enable-optimise was given.
4227 if test "${enable_optimise+set}" = set; then
4228 enableval=$enable_optimise;
4229 if test "$enableval" = yes; then
4230 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4231 else
4232 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4233 fi
4234
4235 else
4236
4237 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4238
4239 fi
4240
4241
4242 eval "$wx_cv_use_optimise"
4243
4244 if test x"$enablestring" = xdisable; then
4245 if test $wxUSE_OPTIMISE = yes; then
4246 result=no
4247 else
4248 result=yes
4249 fi
4250 else
4251 result=$wxUSE_OPTIMISE
4252 fi
4253
4254 { echo "$as_me:$LINENO: result: $result" >&5
4255 echo "${ECHO_T}$result" >&6; }
4256
4257
4258 enablestring=
4259 defaultval=
4260 if test -z "$defaultval"; then
4261 if test x"$enablestring" = xdisable; then
4262 defaultval=yes
4263 else
4264 defaultval=no
4265 fi
4266 fi
4267
4268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4269 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4270 # Check whether --enable-debug was given.
4271 if test "${enable_debug+set}" = set; then
4272 enableval=$enable_debug;
4273 if test "$enableval" = yes; then
4274 wx_cv_use_debug='wxUSE_DEBUG=yes'
4275 else
4276 wx_cv_use_debug='wxUSE_DEBUG=no'
4277 fi
4278
4279 else
4280
4281 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4282
4283 fi
4284
4285
4286 eval "$wx_cv_use_debug"
4287
4288 if test x"$enablestring" = xdisable; then
4289 if test $wxUSE_DEBUG = yes; then
4290 result=no
4291 else
4292 result=yes
4293 fi
4294 else
4295 result=$wxUSE_DEBUG
4296 fi
4297
4298 { echo "$as_me:$LINENO: result: $result" >&5
4299 echo "${ECHO_T}$result" >&6; }
4300
4301
4302 enablestring=
4303 defaultval=
4304 if test -z "$defaultval"; then
4305 if test x"$enablestring" = xdisable; then
4306 defaultval=yes
4307 else
4308 defaultval=no
4309 fi
4310 fi
4311
4312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4314 # Check whether --enable-stl was given.
4315 if test "${enable_stl+set}" = set; then
4316 enableval=$enable_stl;
4317 if test "$enableval" = yes; then
4318 wx_cv_use_stl='wxUSE_STL=yes'
4319 else
4320 wx_cv_use_stl='wxUSE_STL=no'
4321 fi
4322
4323 else
4324
4325 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4326
4327 fi
4328
4329
4330 eval "$wx_cv_use_stl"
4331
4332 if test x"$enablestring" = xdisable; then
4333 if test $wxUSE_STL = yes; then
4334 result=no
4335 else
4336 result=yes
4337 fi
4338 else
4339 result=$wxUSE_STL
4340 fi
4341
4342 { echo "$as_me:$LINENO: result: $result" >&5
4343 echo "${ECHO_T}$result" >&6; }
4344
4345
4346 enablestring=
4347 defaultval=
4348 if test -z "$defaultval"; then
4349 if test x"$enablestring" = xdisable; then
4350 defaultval=yes
4351 else
4352 defaultval=no
4353 fi
4354 fi
4355
4356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4357 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4358 # Check whether --enable-std_iostreams was given.
4359 if test "${enable_std_iostreams+set}" = set; then
4360 enableval=$enable_std_iostreams;
4361 if test "$enableval" = yes; then
4362 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4363 else
4364 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4365 fi
4366
4367 else
4368
4369 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4370
4371 fi
4372
4373
4374 eval "$wx_cv_use_std_iostreams"
4375
4376 if test x"$enablestring" = xdisable; then
4377 if test $wxUSE_STD_IOSTREAM = yes; then
4378 result=no
4379 else
4380 result=yes
4381 fi
4382 else
4383 result=$wxUSE_STD_IOSTREAM
4384 fi
4385
4386 { echo "$as_me:$LINENO: result: $result" >&5
4387 echo "${ECHO_T}$result" >&6; }
4388
4389
4390 enablestring=
4391 defaultval=
4392 if test -z "$defaultval"; then
4393 if test x"$enablestring" = xdisable; then
4394 defaultval=yes
4395 else
4396 defaultval=no
4397 fi
4398 fi
4399
4400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4401 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4402 # Check whether --enable-std_string was given.
4403 if test "${enable_std_string+set}" = set; then
4404 enableval=$enable_std_string;
4405 if test "$enableval" = yes; then
4406 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4407 else
4408 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4409 fi
4410
4411 else
4412
4413 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4414
4415 fi
4416
4417
4418 eval "$wx_cv_use_std_string"
4419
4420 if test x"$enablestring" = xdisable; then
4421 if test $wxUSE_STD_STRING = yes; then
4422 result=no
4423 else
4424 result=yes
4425 fi
4426 else
4427 result=$wxUSE_STD_STRING
4428 fi
4429
4430 { echo "$as_me:$LINENO: result: $result" >&5
4431 echo "${ECHO_T}$result" >&6; }
4432
4433
4434 enablestring=disable
4435 defaultval=
4436 if test -z "$defaultval"; then
4437 if test x"$enablestring" = xdisable; then
4438 defaultval=yes
4439 else
4440 defaultval=no
4441 fi
4442 fi
4443
4444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4446 # Check whether --enable-unicode was given.
4447 if test "${enable_unicode+set}" = set; then
4448 enableval=$enable_unicode;
4449 if test "$enableval" = yes; then
4450 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4451 else
4452 wx_cv_use_unicode='wxUSE_UNICODE=no'
4453 fi
4454
4455 else
4456
4457 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4458
4459 fi
4460
4461
4462 eval "$wx_cv_use_unicode"
4463
4464 if test x"$enablestring" = xdisable; then
4465 if test $wxUSE_UNICODE = yes; then
4466 result=no
4467 else
4468 result=yes
4469 fi
4470 else
4471 result=$wxUSE_UNICODE
4472 fi
4473
4474 { echo "$as_me:$LINENO: result: $result" >&5
4475 echo "${ECHO_T}$result" >&6; }
4476
4477
4478 enablestring=
4479 defaultval=
4480 if test -z "$defaultval"; then
4481 if test x"$enablestring" = xdisable; then
4482 defaultval=yes
4483 else
4484 defaultval=no
4485 fi
4486 fi
4487
4488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4490 # Check whether --enable-mslu was given.
4491 if test "${enable_mslu+set}" = set; then
4492 enableval=$enable_mslu;
4493 if test "$enableval" = yes; then
4494 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4495 else
4496 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4497 fi
4498
4499 else
4500
4501 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4502
4503 fi
4504
4505
4506 eval "$wx_cv_use_mslu"
4507
4508 if test x"$enablestring" = xdisable; then
4509 if test $wxUSE_UNICODE_MSLU = yes; then
4510 result=no
4511 else
4512 result=yes
4513 fi
4514 else
4515 result=$wxUSE_UNICODE_MSLU
4516 fi
4517
4518 { echo "$as_me:$LINENO: result: $result" >&5
4519 echo "${ECHO_T}$result" >&6; }
4520
4521
4522 enablestring=
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4525 # Check whether --enable-utf8 was given.
4526 if test "${enable_utf8+set}" = set; then
4527 enableval=$enable_utf8;
4528 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4529
4530 else
4531
4532 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4533
4534 fi
4535
4536
4537 eval "$wx_cv_use_utf8"
4538
4539 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4540 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4541
4542
4543 enablestring=
4544 defaultval=
4545 if test -z "$defaultval"; then
4546 if test x"$enablestring" = xdisable; then
4547 defaultval=yes
4548 else
4549 defaultval=no
4550 fi
4551 fi
4552
4553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4555 # Check whether --enable-utf8only was given.
4556 if test "${enable_utf8only+set}" = set; then
4557 enableval=$enable_utf8only;
4558 if test "$enableval" = yes; then
4559 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4560 else
4561 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4562 fi
4563
4564 else
4565
4566 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4567
4568 fi
4569
4570
4571 eval "$wx_cv_use_utf8only"
4572
4573 if test x"$enablestring" = xdisable; then
4574 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4575 result=no
4576 else
4577 result=yes
4578 fi
4579 else
4580 result=$wxUSE_UNICODE_UTF8_LOCALE
4581 fi
4582
4583 { echo "$as_me:$LINENO: result: $result" >&5
4584 echo "${ECHO_T}$result" >&6; }
4585
4586
4587 enablestring=
4588 defaultval=
4589 if test -z "$defaultval"; then
4590 if test x"$enablestring" = xdisable; then
4591 defaultval=yes
4592 else
4593 defaultval=no
4594 fi
4595 fi
4596
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4599 # Check whether --enable-extended_rtti was given.
4600 if test "${enable_extended_rtti+set}" = set; then
4601 enableval=$enable_extended_rtti;
4602 if test "$enableval" = yes; then
4603 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4604 else
4605 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4606 fi
4607
4608 else
4609
4610 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4611
4612 fi
4613
4614
4615 eval "$wx_cv_use_extended_rtti"
4616
4617 if test x"$enablestring" = xdisable; then
4618 if test $wxUSE_EXTENDED_RTTI = yes; then
4619 result=no
4620 else
4621 result=yes
4622 fi
4623 else
4624 result=$wxUSE_EXTENDED_RTTI
4625 fi
4626
4627 { echo "$as_me:$LINENO: result: $result" >&5
4628 echo "${ECHO_T}$result" >&6; }
4629
4630 if test "$USE_OS2" = 1; then
4631 DEFAULT_wxUSE_OMF=no
4632
4633 enablestring=
4634 defaultval=
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4637 defaultval=yes
4638 else
4639 defaultval=no
4640 fi
4641 fi
4642
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4645 # Check whether --enable-omf was given.
4646 if test "${enable_omf+set}" = set; then
4647 enableval=$enable_omf;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_omf='wxUSE_OMF=yes'
4650 else
4651 wx_cv_use_omf='wxUSE_OMF=no'
4652 fi
4653
4654 else
4655
4656 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4657
4658 fi
4659
4660
4661 eval "$wx_cv_use_omf"
4662
4663 if test x"$enablestring" = xdisable; then
4664 if test $wxUSE_OMF = yes; then
4665 result=no
4666 else
4667 result=yes
4668 fi
4669 else
4670 result=$wxUSE_OMF
4671 fi
4672
4673 { echo "$as_me:$LINENO: result: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4675
4676 fi
4677
4678 if test "$wxUSE_DEBUG" = "yes"; then
4679 DEFAULT_wxUSE_DEBUG_FLAG=yes
4680 DEFAULT_wxUSE_DEBUG_INFO=yes
4681 BUILD=debug
4682 elif test "$wxUSE_DEBUG" = "no"; then
4683 DEFAULT_wxUSE_DEBUG_FLAG=no
4684 DEFAULT_wxUSE_DEBUG_INFO=no
4685 BUILD=release
4686 fi
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4701 # Check whether --enable-debug_flag was given.
4702 if test "${enable_debug_flag+set}" = set; then
4703 enableval=$enable_debug_flag;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4706 else
4707 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_debug_flag"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_DEBUG_FLAG = yes; then
4721 result=no
4722 else
4723 result=yes
4724 fi
4725 else
4726 result=$wxUSE_DEBUG_FLAG
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4745 # Check whether --enable-debug_info was given.
4746 if test "${enable_debug_info+set}" = set; then
4747 enableval=$enable_debug_info;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4750 else
4751 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_debug_info"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_DEBUG_INFO = yes; then
4765 result=no
4766 else
4767 result=yes
4768 fi
4769 else
4770 result=$wxUSE_DEBUG_INFO
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776
4777 enablestring=
4778 defaultval=
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4781 defaultval=yes
4782 else
4783 defaultval=no
4784 fi
4785 fi
4786
4787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4789 # Check whether --enable-debug_gdb was given.
4790 if test "${enable_debug_gdb+set}" = set; then
4791 enableval=$enable_debug_gdb;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4794 else
4795 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4796 fi
4797
4798 else
4799
4800 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4801
4802 fi
4803
4804
4805 eval "$wx_cv_use_debug_gdb"
4806
4807 if test x"$enablestring" = xdisable; then
4808 if test $wxUSE_DEBUG_GDB = yes; then
4809 result=no
4810 else
4811 result=yes
4812 fi
4813 else
4814 result=$wxUSE_DEBUG_GDB
4815 fi
4816
4817 { echo "$as_me:$LINENO: result: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4819
4820
4821 enablestring=
4822 defaultval=
4823 if test -z "$defaultval"; then
4824 if test x"$enablestring" = xdisable; then
4825 defaultval=yes
4826 else
4827 defaultval=no
4828 fi
4829 fi
4830
4831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4833 # Check whether --enable-debug_cntxt was given.
4834 if test "${enable_debug_cntxt+set}" = set; then
4835 enableval=$enable_debug_cntxt;
4836 if test "$enableval" = yes; then
4837 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4838 else
4839 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4840 fi
4841
4842 else
4843
4844 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4845
4846 fi
4847
4848
4849 eval "$wx_cv_use_debug_cntxt"
4850
4851 if test x"$enablestring" = xdisable; then
4852 if test $wxUSE_DEBUG_CONTEXT = yes; then
4853 result=no
4854 else
4855 result=yes
4856 fi
4857 else
4858 result=$wxUSE_DEBUG_CONTEXT
4859 fi
4860
4861 { echo "$as_me:$LINENO: result: $result" >&5
4862 echo "${ECHO_T}$result" >&6; }
4863
4864
4865 enablestring=
4866 defaultval=
4867 if test -z "$defaultval"; then
4868 if test x"$enablestring" = xdisable; then
4869 defaultval=yes
4870 else
4871 defaultval=no
4872 fi
4873 fi
4874
4875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4877 # Check whether --enable-mem_tracing was given.
4878 if test "${enable_mem_tracing+set}" = set; then
4879 enableval=$enable_mem_tracing;
4880 if test "$enableval" = yes; then
4881 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4882 else
4883 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4884 fi
4885
4886 else
4887
4888 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4889
4890 fi
4891
4892
4893 eval "$wx_cv_use_mem_tracing"
4894
4895 if test x"$enablestring" = xdisable; then
4896 if test $wxUSE_MEM_TRACING = yes; then
4897 result=no
4898 else
4899 result=yes
4900 fi
4901 else
4902 result=$wxUSE_MEM_TRACING
4903 fi
4904
4905 { echo "$as_me:$LINENO: result: $result" >&5
4906 echo "${ECHO_T}$result" >&6; }
4907
4908
4909 enablestring=
4910 defaultval=
4911 if test -z "$defaultval"; then
4912 if test x"$enablestring" = xdisable; then
4913 defaultval=yes
4914 else
4915 defaultval=no
4916 fi
4917 fi
4918
4919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4921 # Check whether --enable-profile was given.
4922 if test "${enable_profile+set}" = set; then
4923 enableval=$enable_profile;
4924 if test "$enableval" = yes; then
4925 wx_cv_use_profile='wxUSE_PROFILE=yes'
4926 else
4927 wx_cv_use_profile='wxUSE_PROFILE=no'
4928 fi
4929
4930 else
4931
4932 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4933
4934 fi
4935
4936
4937 eval "$wx_cv_use_profile"
4938
4939 if test x"$enablestring" = xdisable; then
4940 if test $wxUSE_PROFILE = yes; then
4941 result=no
4942 else
4943 result=yes
4944 fi
4945 else
4946 result=$wxUSE_PROFILE
4947 fi
4948
4949 { echo "$as_me:$LINENO: result: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4951
4952
4953 enablestring=
4954 defaultval=
4955 if test -z "$defaultval"; then
4956 if test x"$enablestring" = xdisable; then
4957 defaultval=yes
4958 else
4959 defaultval=no
4960 fi
4961 fi
4962
4963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4964 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4965 # Check whether --enable-no_rtti was given.
4966 if test "${enable_no_rtti+set}" = set; then
4967 enableval=$enable_no_rtti;
4968 if test "$enableval" = yes; then
4969 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4970 else
4971 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4972 fi
4973
4974 else
4975
4976 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4977
4978 fi
4979
4980
4981 eval "$wx_cv_use_no_rtti"
4982
4983 if test x"$enablestring" = xdisable; then
4984 if test $wxUSE_NO_RTTI = yes; then
4985 result=no
4986 else
4987 result=yes
4988 fi
4989 else
4990 result=$wxUSE_NO_RTTI
4991 fi
4992
4993 { echo "$as_me:$LINENO: result: $result" >&5
4994 echo "${ECHO_T}$result" >&6; }
4995
4996
4997 enablestring=
4998 defaultval=
4999 if test -z "$defaultval"; then
5000 if test x"$enablestring" = xdisable; then
5001 defaultval=yes
5002 else
5003 defaultval=no
5004 fi
5005 fi
5006
5007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5009 # Check whether --enable-no_exceptions was given.
5010 if test "${enable_no_exceptions+set}" = set; then
5011 enableval=$enable_no_exceptions;
5012 if test "$enableval" = yes; then
5013 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5014 else
5015 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5016 fi
5017
5018 else
5019
5020 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5021
5022 fi
5023
5024
5025 eval "$wx_cv_use_no_exceptions"
5026
5027 if test x"$enablestring" = xdisable; then
5028 if test $wxUSE_NO_EXCEPTIONS = yes; then
5029 result=no
5030 else
5031 result=yes
5032 fi
5033 else
5034 result=$wxUSE_NO_EXCEPTIONS
5035 fi
5036
5037 { echo "$as_me:$LINENO: result: $result" >&5
5038 echo "${ECHO_T}$result" >&6; }
5039
5040
5041 enablestring=
5042 defaultval=
5043 if test -z "$defaultval"; then
5044 if test x"$enablestring" = xdisable; then
5045 defaultval=yes
5046 else
5047 defaultval=no
5048 fi
5049 fi
5050
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5053 # Check whether --enable-permissive was given.
5054 if test "${enable_permissive+set}" = set; then
5055 enableval=$enable_permissive;
5056 if test "$enableval" = yes; then
5057 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5058 else
5059 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5060 fi
5061
5062 else
5063
5064 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5065
5066 fi
5067
5068
5069 eval "$wx_cv_use_permissive"
5070
5071 if test x"$enablestring" = xdisable; then
5072 if test $wxUSE_PERMISSIVE = yes; then
5073 result=no
5074 else
5075 result=yes
5076 fi
5077 else
5078 result=$wxUSE_PERMISSIVE
5079 fi
5080
5081 { echo "$as_me:$LINENO: result: $result" >&5
5082 echo "${ECHO_T}$result" >&6; }
5083
5084
5085 enablestring=
5086 defaultval=
5087 if test -z "$defaultval"; then
5088 if test x"$enablestring" = xdisable; then
5089 defaultval=yes
5090 else
5091 defaultval=no
5092 fi
5093 fi
5094
5095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5097 # Check whether --enable-no_deps was given.
5098 if test "${enable_no_deps+set}" = set; then
5099 enableval=$enable_no_deps;
5100 if test "$enableval" = yes; then
5101 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5102 else
5103 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5104 fi
5105
5106 else
5107
5108 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5109
5110 fi
5111
5112
5113 eval "$wx_cv_use_no_deps"
5114
5115 if test x"$enablestring" = xdisable; then
5116 if test $wxUSE_NO_DEPS = yes; then
5117 result=no
5118 else
5119 result=yes
5120 fi
5121 else
5122 result=$wxUSE_NO_DEPS
5123 fi
5124
5125 { echo "$as_me:$LINENO: result: $result" >&5
5126 echo "${ECHO_T}$result" >&6; }
5127
5128
5129 enablestring=disable
5130 defaultval=
5131 if test -z "$defaultval"; then
5132 if test x"$enablestring" = xdisable; then
5133 defaultval=yes
5134 else
5135 defaultval=no
5136 fi
5137 fi
5138
5139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5141 # Check whether --enable-vararg_macros was given.
5142 if test "${enable_vararg_macros+set}" = set; then
5143 enableval=$enable_vararg_macros;
5144 if test "$enableval" = yes; then
5145 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5146 else
5147 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5148 fi
5149
5150 else
5151
5152 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5153
5154 fi
5155
5156
5157 eval "$wx_cv_use_vararg_macros"
5158
5159 if test x"$enablestring" = xdisable; then
5160 if test $wxUSE_VARARG_MACROS = yes; then
5161 result=no
5162 else
5163 result=yes
5164 fi
5165 else
5166 result=$wxUSE_VARARG_MACROS
5167 fi
5168
5169 { echo "$as_me:$LINENO: result: $result" >&5
5170 echo "${ECHO_T}$result" >&6; }
5171
5172
5173 enablestring=
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5176 # Check whether --enable-universal_binary was given.
5177 if test "${enable_universal_binary+set}" = set; then
5178 enableval=$enable_universal_binary;
5179 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5180
5181 else
5182
5183 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_universal_binary"
5189
5190 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5191 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5192
5193
5194
5195 enablestring=
5196 defaultval=
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5199 defaultval=yes
5200 else
5201 defaultval=no
5202 fi
5203 fi
5204
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5207 # Check whether --enable-compat26 was given.
5208 if test "${enable_compat26+set}" = set; then
5209 enableval=$enable_compat26;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5212 else
5213 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5214 fi
5215
5216 else
5217
5218 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5219
5220 fi
5221
5222
5223 eval "$wx_cv_use_compat26"
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5227 result=no
5228 else
5229 result=yes
5230 fi
5231 else
5232 result=$WXWIN_COMPATIBILITY_2_6
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=disable
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5256 else
5257 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5258 fi
5259
5260 else
5261
5262 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_compat28"
5268
5269 if test x"$enablestring" = xdisable; then
5270 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5271 result=no
5272 else
5273 result=yes
5274 fi
5275 else
5276 result=$WXWIN_COMPATIBILITY_2_8
5277 fi
5278
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5281
5282
5283
5284 enablestring=disable
5285 defaultval=
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5288 defaultval=yes
5289 else
5290 defaultval=no
5291 fi
5292 fi
5293
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5296 # Check whether --enable-rpath was given.
5297 if test "${enable_rpath+set}" = set; then
5298 enableval=$enable_rpath;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_rpath='wxUSE_RPATH=yes'
5301 else
5302 wx_cv_use_rpath='wxUSE_RPATH=no'
5303 fi
5304
5305 else
5306
5307 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5308
5309 fi
5310
5311
5312 eval "$wx_cv_use_rpath"
5313
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_RPATH = yes; then
5316 result=no
5317 else
5318 result=yes
5319 fi
5320 else
5321 result=$wxUSE_RPATH
5322 fi
5323
5324 { echo "$as_me:$LINENO: result: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5326
5327
5328
5329 enablestring=
5330 defaultval=
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5333 defaultval=yes
5334 else
5335 defaultval=no
5336 fi
5337 fi
5338
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5341 # Check whether --enable-objc_uniquifying was given.
5342 if test "${enable_objc_uniquifying+set}" = set; then
5343 enableval=$enable_objc_uniquifying;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5346 else
5347 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5348 fi
5349
5350 else
5351
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5353
5354 fi
5355
5356
5357 eval "$wx_cv_use_objc_uniquifying"
5358
5359 if test x"$enablestring" = xdisable; then
5360 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5361 result=no
5362 else
5363 result=yes
5364 fi
5365 else
5366 result=$wxUSE_OBJC_UNIQUIFYING
5367 fi
5368
5369 { echo "$as_me:$LINENO: result: $result" >&5
5370 echo "${ECHO_T}$result" >&6; }
5371
5372
5373
5374 enablestring=disable
5375 defaultval=
5376 if test -z "$defaultval"; then
5377 if test x"$enablestring" = xdisable; then
5378 defaultval=yes
5379 else
5380 defaultval=no
5381 fi
5382 fi
5383
5384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5386 # Check whether --enable-visibility was given.
5387 if test "${enable_visibility+set}" = set; then
5388 enableval=$enable_visibility;
5389 if test "$enableval" = yes; then
5390 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5391 else
5392 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5393 fi
5394
5395 else
5396
5397 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5398
5399 fi
5400
5401
5402 eval "$wx_cv_use_visibility"
5403
5404 if test x"$enablestring" = xdisable; then
5405 if test $wxUSE_VISIBILITY = yes; then
5406 result=no
5407 else
5408 result=yes
5409 fi
5410 else
5411 result=$wxUSE_VISIBILITY
5412 fi
5413
5414 { echo "$as_me:$LINENO: result: $result" >&5
5415 echo "${ECHO_T}$result" >&6; }
5416
5417
5418
5419
5420 enablestring=
5421 defaultval=$wxUSE_ALL_FEATURES
5422 if test -z "$defaultval"; then
5423 if test x"$enablestring" = xdisable; then
5424 defaultval=yes
5425 else
5426 defaultval=no
5427 fi
5428 fi
5429
5430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5432 # Check whether --enable-intl was given.
5433 if test "${enable_intl+set}" = set; then
5434 enableval=$enable_intl;
5435 if test "$enableval" = yes; then
5436 wx_cv_use_intl='wxUSE_INTL=yes'
5437 else
5438 wx_cv_use_intl='wxUSE_INTL=no'
5439 fi
5440
5441 else
5442
5443 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5444
5445 fi
5446
5447
5448 eval "$wx_cv_use_intl"
5449
5450 if test x"$enablestring" = xdisable; then
5451 if test $wxUSE_INTL = yes; then
5452 result=no
5453 else
5454 result=yes
5455 fi
5456 else
5457 result=$wxUSE_INTL
5458 fi
5459
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5462
5463
5464 enablestring=
5465 defaultval=$wxUSE_ALL_FEATURES
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5468 defaultval=yes
5469 else
5470 defaultval=no
5471 fi
5472 fi
5473
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5476 # Check whether --enable-config was given.
5477 if test "${enable_config+set}" = set; then
5478 enableval=$enable_config;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_config='wxUSE_CONFIG=yes'
5481 else
5482 wx_cv_use_config='wxUSE_CONFIG=no'
5483 fi
5484
5485 else
5486
5487 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5488
5489 fi
5490
5491
5492 eval "$wx_cv_use_config"
5493
5494 if test x"$enablestring" = xdisable; then
5495 if test $wxUSE_CONFIG = yes; then
5496 result=no
5497 else
5498 result=yes
5499 fi
5500 else
5501 result=$wxUSE_CONFIG
5502 fi
5503
5504 { echo "$as_me:$LINENO: result: $result" >&5
5505 echo "${ECHO_T}$result" >&6; }
5506
5507
5508
5509 enablestring=
5510 defaultval=$wxUSE_ALL_FEATURES
5511 if test -z "$defaultval"; then
5512 if test x"$enablestring" = xdisable; then
5513 defaultval=yes
5514 else
5515 defaultval=no
5516 fi
5517 fi
5518
5519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5521 # Check whether --enable-protocols was given.
5522 if test "${enable_protocols+set}" = set; then
5523 enableval=$enable_protocols;
5524 if test "$enableval" = yes; then
5525 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5526 else
5527 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5528 fi
5529
5530 else
5531
5532 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_protocols"
5538
5539 if test x"$enablestring" = xdisable; then
5540 if test $wxUSE_PROTOCOL = yes; then
5541 result=no
5542 else
5543 result=yes
5544 fi
5545 else
5546 result=$wxUSE_PROTOCOL
5547 fi
5548
5549 { echo "$as_me:$LINENO: result: $result" >&5
5550 echo "${ECHO_T}$result" >&6; }
5551
5552
5553 enablestring=
5554 defaultval=$wxUSE_ALL_FEATURES
5555 if test -z "$defaultval"; then
5556 if test x"$enablestring" = xdisable; then
5557 defaultval=yes
5558 else
5559 defaultval=no
5560 fi
5561 fi
5562
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5565 # Check whether --enable-ftp was given.
5566 if test "${enable_ftp+set}" = set; then
5567 enableval=$enable_ftp;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5570 else
5571 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5572 fi
5573
5574 else
5575
5576 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5577
5578 fi
5579
5580
5581 eval "$wx_cv_use_ftp"
5582
5583 if test x"$enablestring" = xdisable; then
5584 if test $wxUSE_PROTOCOL_FTP = yes; then
5585 result=no
5586 else
5587 result=yes
5588 fi
5589 else
5590 result=$wxUSE_PROTOCOL_FTP
5591 fi
5592
5593 { echo "$as_me:$LINENO: result: $result" >&5
5594 echo "${ECHO_T}$result" >&6; }
5595
5596
5597 enablestring=
5598 defaultval=$wxUSE_ALL_FEATURES
5599 if test -z "$defaultval"; then
5600 if test x"$enablestring" = xdisable; then
5601 defaultval=yes
5602 else
5603 defaultval=no
5604 fi
5605 fi
5606
5607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5609 # Check whether --enable-http was given.
5610 if test "${enable_http+set}" = set; then
5611 enableval=$enable_http;
5612 if test "$enableval" = yes; then
5613 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5614 else
5615 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5616 fi
5617
5618 else
5619
5620 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5621
5622 fi
5623
5624
5625 eval "$wx_cv_use_http"
5626
5627 if test x"$enablestring" = xdisable; then
5628 if test $wxUSE_PROTOCOL_HTTP = yes; then
5629 result=no
5630 else
5631 result=yes
5632 fi
5633 else
5634 result=$wxUSE_PROTOCOL_HTTP
5635 fi
5636
5637 { echo "$as_me:$LINENO: result: $result" >&5
5638 echo "${ECHO_T}$result" >&6; }
5639
5640
5641 enablestring=
5642 defaultval=$wxUSE_ALL_FEATURES
5643 if test -z "$defaultval"; then
5644 if test x"$enablestring" = xdisable; then
5645 defaultval=yes
5646 else
5647 defaultval=no
5648 fi
5649 fi
5650
5651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5658 else
5659 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5660 fi
5661
5662 else
5663
5664 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5665
5666 fi
5667
5668
5669 eval "$wx_cv_use_fileproto"
5670
5671 if test x"$enablestring" = xdisable; then
5672 if test $wxUSE_PROTOCOL_FILE = yes; then
5673 result=no
5674 else
5675 result=yes
5676 fi
5677 else
5678 result=$wxUSE_PROTOCOL_FILE
5679 fi
5680
5681 { echo "$as_me:$LINENO: result: $result" >&5
5682 echo "${ECHO_T}$result" >&6; }
5683
5684
5685 enablestring=
5686 defaultval=$wxUSE_ALL_FEATURES
5687 if test -z "$defaultval"; then
5688 if test x"$enablestring" = xdisable; then
5689 defaultval=yes
5690 else
5691 defaultval=no
5692 fi
5693 fi
5694
5695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5697 # Check whether --enable-sockets was given.
5698 if test "${enable_sockets+set}" = set; then
5699 enableval=$enable_sockets;
5700 if test "$enableval" = yes; then
5701 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5702 else
5703 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5704 fi
5705
5706 else
5707
5708 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5709
5710 fi
5711
5712
5713 eval "$wx_cv_use_sockets"
5714
5715 if test x"$enablestring" = xdisable; then
5716 if test $wxUSE_SOCKETS = yes; then
5717 result=no
5718 else
5719 result=yes
5720 fi
5721 else
5722 result=$wxUSE_SOCKETS
5723 fi
5724
5725 { echo "$as_me:$LINENO: result: $result" >&5
5726 echo "${ECHO_T}$result" >&6; }
5727
5728
5729 enablestring=
5730 defaultval=$wxUSE_ALL_FEATURES
5731 if test -z "$defaultval"; then
5732 if test x"$enablestring" = xdisable; then
5733 defaultval=yes
5734 else
5735 defaultval=no
5736 fi
5737 fi
5738
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5741 # Check whether --enable-ipv6 was given.
5742 if test "${enable_ipv6+set}" = set; then
5743 enableval=$enable_ipv6;
5744 if test "$enableval" = yes; then
5745 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5746 else
5747 wx_cv_use_ipv6='wxUSE_IPV6=no'
5748 fi
5749
5750 else
5751
5752 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5753
5754 fi
5755
5756
5757 eval "$wx_cv_use_ipv6"
5758
5759 if test x"$enablestring" = xdisable; then
5760 if test $wxUSE_IPV6 = yes; then
5761 result=no
5762 else
5763 result=yes
5764 fi
5765 else
5766 result=$wxUSE_IPV6
5767 fi
5768
5769 { echo "$as_me:$LINENO: result: $result" >&5
5770 echo "${ECHO_T}$result" >&6; }
5771
5772
5773 enablestring=
5774 defaultval=$wxUSE_ALL_FEATURES
5775 if test -z "$defaultval"; then
5776 if test x"$enablestring" = xdisable; then
5777 defaultval=yes
5778 else
5779 defaultval=no
5780 fi
5781 fi
5782
5783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5785 # Check whether --enable-ole was given.
5786 if test "${enable_ole+set}" = set; then
5787 enableval=$enable_ole;
5788 if test "$enableval" = yes; then
5789 wx_cv_use_ole='wxUSE_OLE=yes'
5790 else
5791 wx_cv_use_ole='wxUSE_OLE=no'
5792 fi
5793
5794 else
5795
5796 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5797
5798 fi
5799
5800
5801 eval "$wx_cv_use_ole"
5802
5803 if test x"$enablestring" = xdisable; then
5804 if test $wxUSE_OLE = yes; then
5805 result=no
5806 else
5807 result=yes
5808 fi
5809 else
5810 result=$wxUSE_OLE
5811 fi
5812
5813 { echo "$as_me:$LINENO: result: $result" >&5
5814 echo "${ECHO_T}$result" >&6; }
5815
5816
5817 enablestring=
5818 defaultval=$wxUSE_ALL_FEATURES
5819 if test -z "$defaultval"; then
5820 if test x"$enablestring" = xdisable; then
5821 defaultval=yes
5822 else
5823 defaultval=no
5824 fi
5825 fi
5826
5827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5829 # Check whether --enable-dataobj was given.
5830 if test "${enable_dataobj+set}" = set; then
5831 enableval=$enable_dataobj;
5832 if test "$enableval" = yes; then
5833 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5834 else
5835 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5836 fi
5837
5838 else
5839
5840 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5841
5842 fi
5843
5844
5845 eval "$wx_cv_use_dataobj"
5846
5847 if test x"$enablestring" = xdisable; then
5848 if test $wxUSE_DATAOBJ = yes; then
5849 result=no
5850 else
5851 result=yes
5852 fi
5853 else
5854 result=$wxUSE_DATAOBJ
5855 fi
5856
5857 { echo "$as_me:$LINENO: result: $result" >&5
5858 echo "${ECHO_T}$result" >&6; }
5859
5860
5861
5862 enablestring=
5863 defaultval=$wxUSE_ALL_FEATURES
5864 if test -z "$defaultval"; then
5865 if test x"$enablestring" = xdisable; then
5866 defaultval=yes
5867 else
5868 defaultval=no
5869 fi
5870 fi
5871
5872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5874 # Check whether --enable-ipc was given.
5875 if test "${enable_ipc+set}" = set; then
5876 enableval=$enable_ipc;
5877 if test "$enableval" = yes; then
5878 wx_cv_use_ipc='wxUSE_IPC=yes'
5879 else
5880 wx_cv_use_ipc='wxUSE_IPC=no'
5881 fi
5882
5883 else
5884
5885 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5886
5887 fi
5888
5889
5890 eval "$wx_cv_use_ipc"
5891
5892 if test x"$enablestring" = xdisable; then
5893 if test $wxUSE_IPC = yes; then
5894 result=no
5895 else
5896 result=yes
5897 fi
5898 else
5899 result=$wxUSE_IPC
5900 fi
5901
5902 { echo "$as_me:$LINENO: result: $result" >&5
5903 echo "${ECHO_T}$result" >&6; }
5904
5905
5906
5907 enablestring=
5908 defaultval=$wxUSE_ALL_FEATURES
5909 if test -z "$defaultval"; then
5910 if test x"$enablestring" = xdisable; then
5911 defaultval=yes
5912 else
5913 defaultval=no
5914 fi
5915 fi
5916
5917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5919 # Check whether --enable-baseevtloop was given.
5920 if test "${enable_baseevtloop+set}" = set; then
5921 enableval=$enable_baseevtloop;
5922 if test "$enableval" = yes; then
5923 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5924 else
5925 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5926 fi
5927
5928 else
5929
5930 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5931
5932 fi
5933
5934
5935 eval "$wx_cv_use_baseevtloop"
5936
5937 if test x"$enablestring" = xdisable; then
5938 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5939 result=no
5940 else
5941 result=yes
5942 fi
5943 else
5944 result=$wxUSE_CONSOLE_EVENTLOOP
5945 fi
5946
5947 { echo "$as_me:$LINENO: result: $result" >&5
5948 echo "${ECHO_T}$result" >&6; }
5949
5950
5951 enablestring=
5952 defaultval=$wxUSE_ALL_FEATURES
5953 if test -z "$defaultval"; then
5954 if test x"$enablestring" = xdisable; then
5955 defaultval=yes
5956 else
5957 defaultval=no
5958 fi
5959 fi
5960
5961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5963 # Check whether --enable-epollloop was given.
5964 if test "${enable_epollloop+set}" = set; then
5965 enableval=$enable_epollloop;
5966 if test "$enableval" = yes; then
5967 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5968 else
5969 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5970 fi
5971
5972 else
5973
5974 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5975
5976 fi
5977
5978
5979 eval "$wx_cv_use_epollloop"
5980
5981 if test x"$enablestring" = xdisable; then
5982 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5983 result=no
5984 else
5985 result=yes
5986 fi
5987 else
5988 result=$wxUSE_EPOLL_DISPATCHER
5989 fi
5990
5991 { echo "$as_me:$LINENO: result: $result" >&5
5992 echo "${ECHO_T}$result" >&6; }
5993
5994
5995 enablestring=
5996 defaultval=$wxUSE_ALL_FEATURES
5997 if test -z "$defaultval"; then
5998 if test x"$enablestring" = xdisable; then
5999 defaultval=yes
6000 else
6001 defaultval=no
6002 fi
6003 fi
6004
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6007 # Check whether --enable-selectloop was given.
6008 if test "${enable_selectloop+set}" = set; then
6009 enableval=$enable_selectloop;
6010 if test "$enableval" = yes; then
6011 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6012 else
6013 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6014 fi
6015
6016 else
6017
6018 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6019
6020 fi
6021
6022
6023 eval "$wx_cv_use_selectloop"
6024
6025 if test x"$enablestring" = xdisable; then
6026 if test $wxUSE_SELECT_DISPATCHER = yes; then
6027 result=no
6028 else
6029 result=yes
6030 fi
6031 else
6032 result=$wxUSE_SELECT_DISPATCHER
6033 fi
6034
6035 { echo "$as_me:$LINENO: result: $result" >&5
6036 echo "${ECHO_T}$result" >&6; }
6037
6038
6039
6040 enablestring=
6041 defaultval=$wxUSE_ALL_FEATURES
6042 if test -z "$defaultval"; then
6043 if test x"$enablestring" = xdisable; then
6044 defaultval=yes
6045 else
6046 defaultval=no
6047 fi
6048 fi
6049
6050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6052 # Check whether --enable-apple_ieee was given.
6053 if test "${enable_apple_ieee+set}" = set; then
6054 enableval=$enable_apple_ieee;
6055 if test "$enableval" = yes; then
6056 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6057 else
6058 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6059 fi
6060
6061 else
6062
6063 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6064
6065 fi
6066
6067
6068 eval "$wx_cv_use_apple_ieee"
6069
6070 if test x"$enablestring" = xdisable; then
6071 if test $wxUSE_APPLE_IEEE = yes; then
6072 result=no
6073 else
6074 result=yes
6075 fi
6076 else
6077 result=$wxUSE_APPLE_IEEE
6078 fi
6079
6080 { echo "$as_me:$LINENO: result: $result" >&5
6081 echo "${ECHO_T}$result" >&6; }
6082
6083
6084 enablestring=
6085 defaultval=$wxUSE_ALL_FEATURES
6086 if test -z "$defaultval"; then
6087 if test x"$enablestring" = xdisable; then
6088 defaultval=yes
6089 else
6090 defaultval=no
6091 fi
6092 fi
6093
6094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6096 # Check whether --enable-arcstream was given.
6097 if test "${enable_arcstream+set}" = set; then
6098 enableval=$enable_arcstream;
6099 if test "$enableval" = yes; then
6100 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6101 else
6102 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6103 fi
6104
6105 else
6106
6107 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6108
6109 fi
6110
6111
6112 eval "$wx_cv_use_arcstream"
6113
6114 if test x"$enablestring" = xdisable; then
6115 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6116 result=no
6117 else
6118 result=yes
6119 fi
6120 else
6121 result=$wxUSE_ARCHIVE_STREAMS
6122 fi
6123
6124 { echo "$as_me:$LINENO: result: $result" >&5
6125 echo "${ECHO_T}$result" >&6; }
6126
6127
6128 enablestring=
6129 defaultval=$wxUSE_ALL_FEATURES
6130 if test -z "$defaultval"; then
6131 if test x"$enablestring" = xdisable; then
6132 defaultval=yes
6133 else
6134 defaultval=no
6135 fi
6136 fi
6137
6138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6140 # Check whether --enable-base64 was given.
6141 if test "${enable_base64+set}" = set; then
6142 enableval=$enable_base64;
6143 if test "$enableval" = yes; then
6144 wx_cv_use_base64='wxUSE_BASE64=yes'
6145 else
6146 wx_cv_use_base64='wxUSE_BASE64=no'
6147 fi
6148
6149 else
6150
6151 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6152
6153 fi
6154
6155
6156 eval "$wx_cv_use_base64"
6157
6158 if test x"$enablestring" = xdisable; then
6159 if test $wxUSE_BASE64 = yes; then
6160 result=no
6161 else
6162 result=yes
6163 fi
6164 else
6165 result=$wxUSE_BASE64
6166 fi
6167
6168 { echo "$as_me:$LINENO: result: $result" >&5
6169 echo "${ECHO_T}$result" >&6; }
6170
6171
6172 enablestring=
6173 defaultval=$wxUSE_ALL_FEATURES
6174 if test -z "$defaultval"; then
6175 if test x"$enablestring" = xdisable; then
6176 defaultval=yes
6177 else
6178 defaultval=no
6179 fi
6180 fi
6181
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6184 # Check whether --enable-backtrace was given.
6185 if test "${enable_backtrace+set}" = set; then
6186 enableval=$enable_backtrace;
6187 if test "$enableval" = yes; then
6188 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6189 else
6190 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6191 fi
6192
6193 else
6194
6195 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6196
6197 fi
6198
6199
6200 eval "$wx_cv_use_backtrace"
6201
6202 if test x"$enablestring" = xdisable; then
6203 if test $wxUSE_STACKWALKER = yes; then
6204 result=no
6205 else
6206 result=yes
6207 fi
6208 else
6209 result=$wxUSE_STACKWALKER
6210 fi
6211
6212 { echo "$as_me:$LINENO: result: $result" >&5
6213 echo "${ECHO_T}$result" >&6; }
6214
6215
6216 enablestring=
6217 defaultval=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x"$enablestring" = xdisable; then
6220 defaultval=yes
6221 else
6222 defaultval=no
6223 fi
6224 fi
6225
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6228 # Check whether --enable-catch_segvs was given.
6229 if test "${enable_catch_segvs+set}" = set; then
6230 enableval=$enable_catch_segvs;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6233 else
6234 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6235 fi
6236
6237 else
6238
6239 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6240
6241 fi
6242
6243
6244 eval "$wx_cv_use_catch_segvs"
6245
6246 if test x"$enablestring" = xdisable; then
6247 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6248 result=no
6249 else
6250 result=yes
6251 fi
6252 else
6253 result=$wxUSE_ON_FATAL_EXCEPTION
6254 fi
6255
6256 { echo "$as_me:$LINENO: result: $result" >&5
6257 echo "${ECHO_T}$result" >&6; }
6258
6259
6260 enablestring=
6261 defaultval=$wxUSE_ALL_FEATURES
6262 if test -z "$defaultval"; then
6263 if test x"$enablestring" = xdisable; then
6264 defaultval=yes
6265 else
6266 defaultval=no
6267 fi
6268 fi
6269
6270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6272 # Check whether --enable-cmdline was given.
6273 if test "${enable_cmdline+set}" = set; then
6274 enableval=$enable_cmdline;
6275 if test "$enableval" = yes; then
6276 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6277 else
6278 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6279 fi
6280
6281 else
6282
6283 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6284
6285 fi
6286
6287
6288 eval "$wx_cv_use_cmdline"
6289
6290 if test x"$enablestring" = xdisable; then
6291 if test $wxUSE_CMDLINE_PARSER = yes; then
6292 result=no
6293 else
6294 result=yes
6295 fi
6296 else
6297 result=$wxUSE_CMDLINE_PARSER
6298 fi
6299
6300 { echo "$as_me:$LINENO: result: $result" >&5
6301 echo "${ECHO_T}$result" >&6; }
6302
6303
6304 enablestring=
6305 defaultval=$wxUSE_ALL_FEATURES
6306 if test -z "$defaultval"; then
6307 if test x"$enablestring" = xdisable; then
6308 defaultval=yes
6309 else
6310 defaultval=no
6311 fi
6312 fi
6313
6314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6315 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6316 # Check whether --enable-datetime was given.
6317 if test "${enable_datetime+set}" = set; then
6318 enableval=$enable_datetime;
6319 if test "$enableval" = yes; then
6320 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6321 else
6322 wx_cv_use_datetime='wxUSE_DATETIME=no'
6323 fi
6324
6325 else
6326
6327 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6328
6329 fi
6330
6331
6332 eval "$wx_cv_use_datetime"
6333
6334 if test x"$enablestring" = xdisable; then
6335 if test $wxUSE_DATETIME = yes; then
6336 result=no
6337 else
6338 result=yes
6339 fi
6340 else
6341 result=$wxUSE_DATETIME
6342 fi
6343
6344 { echo "$as_me:$LINENO: result: $result" >&5
6345 echo "${ECHO_T}$result" >&6; }
6346
6347
6348 enablestring=
6349 defaultval=$wxUSE_ALL_FEATURES
6350 if test -z "$defaultval"; then
6351 if test x"$enablestring" = xdisable; then
6352 defaultval=yes
6353 else
6354 defaultval=no
6355 fi
6356 fi
6357
6358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6359 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6360 # Check whether --enable-debugreport was given.
6361 if test "${enable_debugreport+set}" = set; then
6362 enableval=$enable_debugreport;
6363 if test "$enableval" = yes; then
6364 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6365 else
6366 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6367 fi
6368
6369 else
6370
6371 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6372
6373 fi
6374
6375
6376 eval "$wx_cv_use_debugreport"
6377
6378 if test x"$enablestring" = xdisable; then
6379 if test $wxUSE_DEBUGREPORT = yes; then
6380 result=no
6381 else
6382 result=yes
6383 fi
6384 else
6385 result=$wxUSE_DEBUGREPORT
6386 fi
6387
6388 { echo "$as_me:$LINENO: result: $result" >&5
6389 echo "${ECHO_T}$result" >&6; }
6390
6391
6392 enablestring=
6393 defaultval=$wxUSE_ALL_FEATURES
6394 if test -z "$defaultval"; then
6395 if test x"$enablestring" = xdisable; then
6396 defaultval=yes
6397 else
6398 defaultval=no
6399 fi
6400 fi
6401
6402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6404 # Check whether --enable-dialupman was given.
6405 if test "${enable_dialupman+set}" = set; then
6406 enableval=$enable_dialupman;
6407 if test "$enableval" = yes; then
6408 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6409 else
6410 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6411 fi
6412
6413 else
6414
6415 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6416
6417 fi
6418
6419
6420 eval "$wx_cv_use_dialupman"
6421
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_DIALUP_MANAGER = yes; then
6424 result=no
6425 else
6426 result=yes
6427 fi
6428 else
6429 result=$wxUSE_DIALUP_MANAGER
6430 fi
6431
6432 { echo "$as_me:$LINENO: result: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6434
6435
6436 enablestring=
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6440 defaultval=yes
6441 else
6442 defaultval=no
6443 fi
6444 fi
6445
6446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6448 # Check whether --enable-dynlib was given.
6449 if test "${enable_dynlib+set}" = set; then
6450 enableval=$enable_dynlib;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6453 else
6454 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6455 fi
6456
6457 else
6458
6459 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6460
6461 fi
6462
6463
6464 eval "$wx_cv_use_dynlib"
6465
6466 if test x"$enablestring" = xdisable; then
6467 if test $wxUSE_DYNLIB_CLASS = yes; then
6468 result=no
6469 else
6470 result=yes
6471 fi
6472 else
6473 result=$wxUSE_DYNLIB_CLASS
6474 fi
6475
6476 { echo "$as_me:$LINENO: result: $result" >&5
6477 echo "${ECHO_T}$result" >&6; }
6478
6479
6480 enablestring=
6481 defaultval=$wxUSE_ALL_FEATURES
6482 if test -z "$defaultval"; then
6483 if test x"$enablestring" = xdisable; then
6484 defaultval=yes
6485 else
6486 defaultval=no
6487 fi
6488 fi
6489
6490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6492 # Check whether --enable-dynamicloader was given.
6493 if test "${enable_dynamicloader+set}" = set; then
6494 enableval=$enable_dynamicloader;
6495 if test "$enableval" = yes; then
6496 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6497 else
6498 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6499 fi
6500
6501 else
6502
6503 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6504
6505 fi
6506
6507
6508 eval "$wx_cv_use_dynamicloader"
6509
6510 if test x"$enablestring" = xdisable; then
6511 if test $wxUSE_DYNAMIC_LOADER = yes; then
6512 result=no
6513 else
6514 result=yes
6515 fi
6516 else
6517 result=$wxUSE_DYNAMIC_LOADER
6518 fi
6519
6520 { echo "$as_me:$LINENO: result: $result" >&5
6521 echo "${ECHO_T}$result" >&6; }
6522
6523
6524 enablestring=
6525 defaultval=$wxUSE_ALL_FEATURES
6526 if test -z "$defaultval"; then
6527 if test x"$enablestring" = xdisable; then
6528 defaultval=yes
6529 else
6530 defaultval=no
6531 fi
6532 fi
6533
6534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6536 # Check whether --enable-exceptions was given.
6537 if test "${enable_exceptions+set}" = set; then
6538 enableval=$enable_exceptions;
6539 if test "$enableval" = yes; then
6540 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6541 else
6542 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6543 fi
6544
6545 else
6546
6547 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6548
6549 fi
6550
6551
6552 eval "$wx_cv_use_exceptions"
6553
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_EXCEPTIONS = yes; then
6556 result=no
6557 else
6558 result=yes
6559 fi
6560 else
6561 result=$wxUSE_EXCEPTIONS
6562 fi
6563
6564 { echo "$as_me:$LINENO: result: $result" >&5
6565 echo "${ECHO_T}$result" >&6; }
6566
6567
6568 enablestring=
6569 defaultval=$wxUSE_ALL_FEATURES
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6572 defaultval=yes
6573 else
6574 defaultval=no
6575 fi
6576 fi
6577
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6580 # Check whether --enable-ffile was given.
6581 if test "${enable_ffile+set}" = set; then
6582 enableval=$enable_ffile;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_ffile='wxUSE_FFILE=yes'
6585 else
6586 wx_cv_use_ffile='wxUSE_FFILE=no'
6587 fi
6588
6589 else
6590
6591 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6592
6593 fi
6594
6595
6596 eval "$wx_cv_use_ffile"
6597
6598 if test x"$enablestring" = xdisable; then
6599 if test $wxUSE_FFILE = yes; then
6600 result=no
6601 else
6602 result=yes
6603 fi
6604 else
6605 result=$wxUSE_FFILE
6606 fi
6607
6608 { echo "$as_me:$LINENO: result: $result" >&5
6609 echo "${ECHO_T}$result" >&6; }
6610
6611
6612 enablestring=
6613 defaultval=$wxUSE_ALL_FEATURES
6614 if test -z "$defaultval"; then
6615 if test x"$enablestring" = xdisable; then
6616 defaultval=yes
6617 else
6618 defaultval=no
6619 fi
6620 fi
6621
6622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6624 # Check whether --enable-file was given.
6625 if test "${enable_file+set}" = set; then
6626 enableval=$enable_file;
6627 if test "$enableval" = yes; then
6628 wx_cv_use_file='wxUSE_FILE=yes'
6629 else
6630 wx_cv_use_file='wxUSE_FILE=no'
6631 fi
6632
6633 else
6634
6635 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6636
6637 fi
6638
6639
6640 eval "$wx_cv_use_file"
6641
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_FILE = yes; then
6644 result=no
6645 else
6646 result=yes
6647 fi
6648 else
6649 result=$wxUSE_FILE
6650 fi
6651
6652 { echo "$as_me:$LINENO: result: $result" >&5
6653 echo "${ECHO_T}$result" >&6; }
6654
6655
6656 enablestring=
6657 defaultval=$wxUSE_ALL_FEATURES
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6660 defaultval=yes
6661 else
6662 defaultval=no
6663 fi
6664 fi
6665
6666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6668 # Check whether --enable-filesystem was given.
6669 if test "${enable_filesystem+set}" = set; then
6670 enableval=$enable_filesystem;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6673 else
6674 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6675 fi
6676
6677 else
6678
6679 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6680
6681 fi
6682
6683
6684 eval "$wx_cv_use_filesystem"
6685
6686 if test x"$enablestring" = xdisable; then
6687 if test $wxUSE_FILESYSTEM = yes; then
6688 result=no
6689 else
6690 result=yes
6691 fi
6692 else
6693 result=$wxUSE_FILESYSTEM
6694 fi
6695
6696 { echo "$as_me:$LINENO: result: $result" >&5
6697 echo "${ECHO_T}$result" >&6; }
6698
6699
6700 enablestring=
6701 defaultval=$wxUSE_ALL_FEATURES
6702 if test -z "$defaultval"; then
6703 if test x"$enablestring" = xdisable; then
6704 defaultval=yes
6705 else
6706 defaultval=no
6707 fi
6708 fi
6709
6710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6712 # Check whether --enable-fontenum was given.
6713 if test "${enable_fontenum+set}" = set; then
6714 enableval=$enable_fontenum;
6715 if test "$enableval" = yes; then
6716 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6717 else
6718 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6719 fi
6720
6721 else
6722
6723 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6724
6725 fi
6726
6727
6728 eval "$wx_cv_use_fontenum"
6729
6730 if test x"$enablestring" = xdisable; then
6731 if test $wxUSE_FONTENUM = yes; then
6732 result=no
6733 else
6734 result=yes
6735 fi
6736 else
6737 result=$wxUSE_FONTENUM
6738 fi
6739
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6742
6743
6744 enablestring=
6745 defaultval=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x"$enablestring" = xdisable; then
6748 defaultval=yes
6749 else
6750 defaultval=no
6751 fi
6752 fi
6753
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6756 # Check whether --enable-fontmap was given.
6757 if test "${enable_fontmap+set}" = set; then
6758 enableval=$enable_fontmap;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6761 else
6762 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6763 fi
6764
6765 else
6766
6767 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6768
6769 fi
6770
6771
6772 eval "$wx_cv_use_fontmap"
6773
6774 if test x"$enablestring" = xdisable; then
6775 if test $wxUSE_FONTMAP = yes; then
6776 result=no
6777 else
6778 result=yes
6779 fi
6780 else
6781 result=$wxUSE_FONTMAP
6782 fi
6783
6784 { echo "$as_me:$LINENO: result: $result" >&5
6785 echo "${ECHO_T}$result" >&6; }
6786
6787
6788 enablestring=
6789 defaultval=$wxUSE_ALL_FEATURES
6790 if test -z "$defaultval"; then
6791 if test x"$enablestring" = xdisable; then
6792 defaultval=yes
6793 else
6794 defaultval=no
6795 fi
6796 fi
6797
6798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6800 # Check whether --enable-fs_archive was given.
6801 if test "${enable_fs_archive+set}" = set; then
6802 enableval=$enable_fs_archive;
6803 if test "$enableval" = yes; then
6804 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6805 else
6806 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6807 fi
6808
6809 else
6810
6811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6812
6813 fi
6814
6815
6816 eval "$wx_cv_use_fs_archive"
6817
6818 if test x"$enablestring" = xdisable; then
6819 if test $wxUSE_FS_ARCHIVE = yes; then
6820 result=no
6821 else
6822 result=yes
6823 fi
6824 else
6825 result=$wxUSE_FS_ARCHIVE
6826 fi
6827
6828 { echo "$as_me:$LINENO: result: $result" >&5
6829 echo "${ECHO_T}$result" >&6; }
6830
6831
6832 enablestring=
6833 defaultval=$wxUSE_ALL_FEATURES
6834 if test -z "$defaultval"; then
6835 if test x"$enablestring" = xdisable; then
6836 defaultval=yes
6837 else
6838 defaultval=no
6839 fi
6840 fi
6841
6842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6843 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6844 # Check whether --enable-fs_inet was given.
6845 if test "${enable_fs_inet+set}" = set; then
6846 enableval=$enable_fs_inet;
6847 if test "$enableval" = yes; then
6848 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6849 else
6850 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6851 fi
6852
6853 else
6854
6855 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6856
6857 fi
6858
6859
6860 eval "$wx_cv_use_fs_inet"
6861
6862 if test x"$enablestring" = xdisable; then
6863 if test $wxUSE_FS_INET = yes; then
6864 result=no
6865 else
6866 result=yes
6867 fi
6868 else
6869 result=$wxUSE_FS_INET
6870 fi
6871
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6874
6875
6876 enablestring=
6877 defaultval=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6880 defaultval=yes
6881 else
6882 defaultval=no
6883 fi
6884 fi
6885
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6888 # Check whether --enable-fs_zip was given.
6889 if test "${enable_fs_zip+set}" = set; then
6890 enableval=$enable_fs_zip;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6893 else
6894 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6895 fi
6896
6897 else
6898
6899 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6900
6901 fi
6902
6903
6904 eval "$wx_cv_use_fs_zip"
6905
6906 if test x"$enablestring" = xdisable; then
6907 if test $wxUSE_FS_ZIP = yes; then
6908 result=no
6909 else
6910 result=yes
6911 fi
6912 else
6913 result=$wxUSE_FS_ZIP
6914 fi
6915
6916 { echo "$as_me:$LINENO: result: $result" >&5
6917 echo "${ECHO_T}$result" >&6; }
6918
6919
6920 enablestring=
6921 defaultval=$wxUSE_ALL_FEATURES
6922 if test -z "$defaultval"; then
6923 if test x"$enablestring" = xdisable; then
6924 defaultval=yes
6925 else
6926 defaultval=no
6927 fi
6928 fi
6929
6930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6932 # Check whether --enable-geometry was given.
6933 if test "${enable_geometry+set}" = set; then
6934 enableval=$enable_geometry;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6937 else
6938 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6939 fi
6940
6941 else
6942
6943 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6944
6945 fi
6946
6947
6948 eval "$wx_cv_use_geometry"
6949
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_GEOMETRY = yes; then
6952 result=no
6953 else
6954 result=yes
6955 fi
6956 else
6957 result=$wxUSE_GEOMETRY
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}-log" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6976 # Check whether --enable-log was given.
6977 if test "${enable_log+set}" = set; then
6978 enableval=$enable_log;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_log='wxUSE_LOG=yes'
6981 else
6982 wx_cv_use_log='wxUSE_LOG=no'
6983 fi
6984
6985 else
6986
6987 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6988
6989 fi
6990
6991
6992 eval "$wx_cv_use_log"
6993
6994 if test x"$enablestring" = xdisable; then
6995 if test $wxUSE_LOG = yes; then
6996 result=no
6997 else
6998 result=yes
6999 fi
7000 else
7001 result=$wxUSE_LOG
7002 fi
7003
7004 { echo "$as_me:$LINENO: result: $result" >&5
7005 echo "${ECHO_T}$result" >&6; }
7006
7007
7008 enablestring=
7009 defaultval=$wxUSE_ALL_FEATURES
7010 if test -z "$defaultval"; then
7011 if test x"$enablestring" = xdisable; then
7012 defaultval=yes
7013 else
7014 defaultval=no
7015 fi
7016 fi
7017
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7020 # Check whether --enable-longlong was given.
7021 if test "${enable_longlong+set}" = set; then
7022 enableval=$enable_longlong;
7023 if test "$enableval" = yes; then
7024 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7025 else
7026 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7027 fi
7028
7029 else
7030
7031 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7032
7033 fi
7034
7035
7036 eval "$wx_cv_use_longlong"
7037
7038 if test x"$enablestring" = xdisable; then
7039 if test $wxUSE_LONGLONG = yes; then
7040 result=no
7041 else
7042 result=yes
7043 fi
7044 else
7045 result=$wxUSE_LONGLONG
7046 fi
7047
7048 { echo "$as_me:$LINENO: result: $result" >&5
7049 echo "${ECHO_T}$result" >&6; }
7050
7051
7052 enablestring=
7053 defaultval=$wxUSE_ALL_FEATURES
7054 if test -z "$defaultval"; then
7055 if test x"$enablestring" = xdisable; then
7056 defaultval=yes
7057 else
7058 defaultval=no
7059 fi
7060 fi
7061
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7064 # Check whether --enable-mimetype was given.
7065 if test "${enable_mimetype+set}" = set; then
7066 enableval=$enable_mimetype;
7067 if test "$enableval" = yes; then
7068 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7069 else
7070 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7071 fi
7072
7073 else
7074
7075 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7076
7077 fi
7078
7079
7080 eval "$wx_cv_use_mimetype"
7081
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_MIMETYPE = yes; then
7084 result=no
7085 else
7086 result=yes
7087 fi
7088 else
7089 result=$wxUSE_MIMETYPE
7090 fi
7091
7092 { echo "$as_me:$LINENO: result: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7094
7095
7096 enablestring=
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7100 defaultval=yes
7101 else
7102 defaultval=no
7103 fi
7104 fi
7105
7106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7108 # Check whether --enable-snglinst was given.
7109 if test "${enable_snglinst+set}" = set; then
7110 enableval=$enable_snglinst;
7111 if test "$enableval" = yes; then
7112 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7113 else
7114 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7115 fi
7116
7117 else
7118
7119 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7120
7121 fi
7122
7123
7124 eval "$wx_cv_use_snglinst"
7125
7126 if test x"$enablestring" = xdisable; then
7127 if test $wxUSE_SNGLINST_CHECKER = yes; then
7128 result=no
7129 else
7130 result=yes
7131 fi
7132 else
7133 result=$wxUSE_SNGLINST_CHECKER
7134 fi
7135
7136 { echo "$as_me:$LINENO: result: $result" >&5
7137 echo "${ECHO_T}$result" >&6; }
7138
7139
7140 enablestring=
7141 defaultval=$wxUSE_ALL_FEATURES
7142 if test -z "$defaultval"; then
7143 if test x"$enablestring" = xdisable; then
7144 defaultval=yes
7145 else
7146 defaultval=no
7147 fi
7148 fi
7149
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7152 # Check whether --enable-stdpaths was given.
7153 if test "${enable_stdpaths+set}" = set; then
7154 enableval=$enable_stdpaths;
7155 if test "$enableval" = yes; then
7156 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7157 else
7158 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7159 fi
7160
7161 else
7162
7163 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7164
7165 fi
7166
7167
7168 eval "$wx_cv_use_stdpaths"
7169
7170 if test x"$enablestring" = xdisable; then
7171 if test $wxUSE_STDPATHS = yes; then
7172 result=no
7173 else
7174 result=yes
7175 fi
7176 else
7177 result=$wxUSE_STDPATHS
7178 fi
7179
7180 { echo "$as_me:$LINENO: result: $result" >&5
7181 echo "${ECHO_T}$result" >&6; }
7182
7183
7184 enablestring=
7185 defaultval=$wxUSE_ALL_FEATURES
7186 if test -z "$defaultval"; then
7187 if test x"$enablestring" = xdisable; then
7188 defaultval=yes
7189 else
7190 defaultval=no
7191 fi
7192 fi
7193
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7196 # Check whether --enable-stopwatch was given.
7197 if test "${enable_stopwatch+set}" = set; then
7198 enableval=$enable_stopwatch;
7199 if test "$enableval" = yes; then
7200 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7201 else
7202 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7203 fi
7204
7205 else
7206
7207 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7208
7209 fi
7210
7211
7212 eval "$wx_cv_use_stopwatch"
7213
7214 if test x"$enablestring" = xdisable; then
7215 if test $wxUSE_STOPWATCH = yes; then
7216 result=no
7217 else
7218 result=yes
7219 fi
7220 else
7221 result=$wxUSE_STOPWATCH
7222 fi
7223
7224 { echo "$as_me:$LINENO: result: $result" >&5
7225 echo "${ECHO_T}$result" >&6; }
7226
7227
7228 enablestring=
7229 defaultval=$wxUSE_ALL_FEATURES
7230 if test -z "$defaultval"; then
7231 if test x"$enablestring" = xdisable; then
7232 defaultval=yes
7233 else
7234 defaultval=no
7235 fi
7236 fi
7237
7238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7240 # Check whether --enable-streams was given.
7241 if test "${enable_streams+set}" = set; then
7242 enableval=$enable_streams;
7243 if test "$enableval" = yes; then
7244 wx_cv_use_streams='wxUSE_STREAMS=yes'
7245 else
7246 wx_cv_use_streams='wxUSE_STREAMS=no'
7247 fi
7248
7249 else
7250
7251 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7252
7253 fi
7254
7255
7256 eval "$wx_cv_use_streams"
7257
7258 if test x"$enablestring" = xdisable; then
7259 if test $wxUSE_STREAMS = yes; then
7260 result=no
7261 else
7262 result=yes
7263 fi
7264 else
7265 result=$wxUSE_STREAMS
7266 fi
7267
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7270
7271
7272 enablestring=
7273 defaultval=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x"$enablestring" = xdisable; then
7276 defaultval=yes
7277 else
7278 defaultval=no
7279 fi
7280 fi
7281
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7284 # Check whether --enable-system_options was given.
7285 if test "${enable_system_options+set}" = set; then
7286 enableval=$enable_system_options;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7289 else
7290 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7291 fi
7292
7293 else
7294
7295 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7296
7297 fi
7298
7299
7300 eval "$wx_cv_use_system_options"
7301
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7304 result=no
7305 else
7306 result=yes
7307 fi
7308 else
7309 result=$wxUSE_SYSTEM_OPTIONS
7310 fi
7311
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7314
7315
7316 enablestring=
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7320 defaultval=yes
7321 else
7322 defaultval=no
7323 fi
7324 fi
7325
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7328 # Check whether --enable-tarstream was given.
7329 if test "${enable_tarstream+set}" = set; then
7330 enableval=$enable_tarstream;
7331 if test "$enableval" = yes; then
7332 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7333 else
7334 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7335 fi
7336
7337 else
7338
7339 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7340
7341 fi
7342
7343
7344 eval "$wx_cv_use_tarstream"
7345
7346 if test x"$enablestring" = xdisable; then
7347 if test $wxUSE_TARSTREAM = yes; then
7348 result=no
7349 else
7350 result=yes
7351 fi
7352 else
7353 result=$wxUSE_TARSTREAM
7354 fi
7355
7356 { echo "$as_me:$LINENO: result: $result" >&5
7357 echo "${ECHO_T}$result" >&6; }
7358
7359
7360 enablestring=
7361 defaultval=$wxUSE_ALL_FEATURES
7362 if test -z "$defaultval"; then
7363 if test x"$enablestring" = xdisable; then
7364 defaultval=yes
7365 else
7366 defaultval=no
7367 fi
7368 fi
7369
7370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7372 # Check whether --enable-textbuf was given.
7373 if test "${enable_textbuf+set}" = set; then
7374 enableval=$enable_textbuf;
7375 if test "$enableval" = yes; then
7376 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7377 else
7378 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7379 fi
7380
7381 else
7382
7383 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7384
7385 fi
7386
7387
7388 eval "$wx_cv_use_textbuf"
7389
7390 if test x"$enablestring" = xdisable; then
7391 if test $wxUSE_TEXTBUFFER = yes; then
7392 result=no
7393 else
7394 result=yes
7395 fi
7396 else
7397 result=$wxUSE_TEXTBUFFER
7398 fi
7399
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7402
7403
7404 enablestring=
7405 defaultval=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x"$enablestring" = xdisable; then
7408 defaultval=yes
7409 else
7410 defaultval=no
7411 fi
7412 fi
7413
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7416 # Check whether --enable-textfile was given.
7417 if test "${enable_textfile+set}" = set; then
7418 enableval=$enable_textfile;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7421 else
7422 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7423 fi
7424
7425 else
7426
7427 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7428
7429 fi
7430
7431
7432 eval "$wx_cv_use_textfile"
7433
7434 if test x"$enablestring" = xdisable; then
7435 if test $wxUSE_TEXTFILE = yes; then
7436 result=no
7437 else
7438 result=yes
7439 fi
7440 else
7441 result=$wxUSE_TEXTFILE
7442 fi
7443
7444 { echo "$as_me:$LINENO: result: $result" >&5
7445 echo "${ECHO_T}$result" >&6; }
7446
7447
7448 enablestring=
7449 defaultval=$wxUSE_ALL_FEATURES
7450 if test -z "$defaultval"; then
7451 if test x"$enablestring" = xdisable; then
7452 defaultval=yes
7453 else
7454 defaultval=no
7455 fi
7456 fi
7457
7458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7460 # Check whether --enable-timer was given.
7461 if test "${enable_timer+set}" = set; then
7462 enableval=$enable_timer;
7463 if test "$enableval" = yes; then
7464 wx_cv_use_timer='wxUSE_TIMER=yes'
7465 else
7466 wx_cv_use_timer='wxUSE_TIMER=no'
7467 fi
7468
7469 else
7470
7471 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7472
7473 fi
7474
7475
7476 eval "$wx_cv_use_timer"
7477
7478 if test x"$enablestring" = xdisable; then
7479 if test $wxUSE_TIMER = yes; then
7480 result=no
7481 else
7482 result=yes
7483 fi
7484 else
7485 result=$wxUSE_TIMER
7486 fi
7487
7488 { echo "$as_me:$LINENO: result: $result" >&5
7489 echo "${ECHO_T}$result" >&6; }
7490
7491
7492 enablestring=
7493 defaultval=$wxUSE_ALL_FEATURES
7494 if test -z "$defaultval"; then
7495 if test x"$enablestring" = xdisable; then
7496 defaultval=yes
7497 else
7498 defaultval=no
7499 fi
7500 fi
7501
7502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7504 # Check whether --enable-sound was given.
7505 if test "${enable_sound+set}" = set; then
7506 enableval=$enable_sound;
7507 if test "$enableval" = yes; then
7508 wx_cv_use_sound='wxUSE_SOUND=yes'
7509 else
7510 wx_cv_use_sound='wxUSE_SOUND=no'
7511 fi
7512
7513 else
7514
7515 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7516
7517 fi
7518
7519
7520 eval "$wx_cv_use_sound"
7521
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_SOUND = yes; then
7524 result=no
7525 else
7526 result=yes
7527 fi
7528 else
7529 result=$wxUSE_SOUND
7530 fi
7531
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7534
7535
7536 enablestring=
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7540 defaultval=yes
7541 else
7542 defaultval=no
7543 fi
7544 fi
7545
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7548 # Check whether --enable-mediactrl was given.
7549 if test "${enable_mediactrl+set}" = set; then
7550 enableval=$enable_mediactrl;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7553 else
7554 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7555 fi
7556
7557 else
7558
7559 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7560
7561 fi
7562
7563
7564 eval "$wx_cv_use_mediactrl"
7565
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_MEDIACTRL = yes; then
7568 result=no
7569 else
7570 result=yes
7571 fi
7572 else
7573 result=$wxUSE_MEDIACTRL
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}-gstreamer8" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7592 # Check whether --enable-gstreamer8 was given.
7593 if test "${enable_gstreamer8+set}" = set; then
7594 enableval=$enable_gstreamer8;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7597 else
7598 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7599 fi
7600
7601 else
7602
7603 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7604
7605 fi
7606
7607
7608 eval "$wx_cv_use_gstreamer8"
7609
7610 if test x"$enablestring" = xdisable; then
7611 if test $wxUSE_GSTREAMER8 = yes; then
7612 result=no
7613 else
7614 result=yes
7615 fi
7616 else
7617 result=$wxUSE_GSTREAMER8
7618 fi
7619
7620 { echo "$as_me:$LINENO: result: $result" >&5
7621 echo "${ECHO_T}$result" >&6; }
7622
7623
7624 enablestring=
7625 defaultval=$wxUSE_ALL_FEATURES
7626 if test -z "$defaultval"; then
7627 if test x"$enablestring" = xdisable; then
7628 defaultval=yes
7629 else
7630 defaultval=no
7631 fi
7632 fi
7633
7634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7636 # Check whether --enable-printfposparam was given.
7637 if test "${enable_printfposparam+set}" = set; then
7638 enableval=$enable_printfposparam;
7639 if test "$enableval" = yes; then
7640 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7641 else
7642 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7643 fi
7644
7645 else
7646
7647 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7648
7649 fi
7650
7651
7652 eval "$wx_cv_use_printfposparam"
7653
7654 if test x"$enablestring" = xdisable; then
7655 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7656 result=no
7657 else
7658 result=yes
7659 fi
7660 else
7661 result=$wxUSE_PRINTF_POS_PARAMS
7662 fi
7663
7664 { echo "$as_me:$LINENO: result: $result" >&5
7665 echo "${ECHO_T}$result" >&6; }
7666
7667
7668 enablestring=
7669 defaultval=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x"$enablestring" = xdisable; then
7672 defaultval=yes
7673 else
7674 defaultval=no
7675 fi
7676 fi
7677
7678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7680 # Check whether --enable-zipstream was given.
7681 if test "${enable_zipstream+set}" = set; then
7682 enableval=$enable_zipstream;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7685 else
7686 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7687 fi
7688
7689 else
7690
7691 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7692
7693 fi
7694
7695
7696 eval "$wx_cv_use_zipstream"
7697
7698 if test x"$enablestring" = xdisable; then
7699 if test $wxUSE_ZIPSTREAM = yes; then
7700 result=no
7701 else
7702 result=yes
7703 fi
7704 else
7705 result=$wxUSE_ZIPSTREAM
7706 fi
7707
7708 { echo "$as_me:$LINENO: result: $result" >&5
7709 echo "${ECHO_T}$result" >&6; }
7710
7711
7712
7713 enablestring=
7714 defaultval=$wxUSE_ALL_FEATURES
7715 if test -z "$defaultval"; then
7716 if test x"$enablestring" = xdisable; then
7717 defaultval=yes
7718 else
7719 defaultval=no
7720 fi
7721 fi
7722
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7725 # Check whether --enable-url was given.
7726 if test "${enable_url+set}" = set; then
7727 enableval=$enable_url;
7728 if test "$enableval" = yes; then
7729 wx_cv_use_url='wxUSE_URL=yes'
7730 else
7731 wx_cv_use_url='wxUSE_URL=no'
7732 fi
7733
7734 else
7735
7736 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7737
7738 fi
7739
7740
7741 eval "$wx_cv_use_url"
7742
7743 if test x"$enablestring" = xdisable; then
7744 if test $wxUSE_URL = yes; then
7745 result=no
7746 else
7747 result=yes
7748 fi
7749 else
7750 result=$wxUSE_URL
7751 fi
7752
7753 { echo "$as_me:$LINENO: result: $result" >&5
7754 echo "${ECHO_T}$result" >&6; }
7755
7756
7757 enablestring=
7758 defaultval=$wxUSE_ALL_FEATURES
7759 if test -z "$defaultval"; then
7760 if test x"$enablestring" = xdisable; then
7761 defaultval=yes
7762 else
7763 defaultval=no
7764 fi
7765 fi
7766
7767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7769 # Check whether --enable-variant was given.
7770 if test "${enable_variant+set}" = set; then
7771 enableval=$enable_variant;
7772 if test "$enableval" = yes; then
7773 wx_cv_use_variant='wxUSE_VARIANT=yes'
7774 else
7775 wx_cv_use_variant='wxUSE_VARIANT=no'
7776 fi
7777
7778 else
7779
7780 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7781
7782 fi
7783
7784
7785 eval "$wx_cv_use_variant"
7786
7787 if test x"$enablestring" = xdisable; then
7788 if test $wxUSE_VARIANT = yes; then
7789 result=no
7790 else
7791 result=yes
7792 fi
7793 else
7794 result=$wxUSE_VARIANT
7795 fi
7796
7797 { echo "$as_me:$LINENO: result: $result" >&5
7798 echo "${ECHO_T}$result" >&6; }
7799
7800
7801 enablestring=
7802 defaultval=$wxUSE_ALL_FEATURES
7803 if test -z "$defaultval"; then
7804 if test x"$enablestring" = xdisable; then
7805 defaultval=yes
7806 else
7807 defaultval=no
7808 fi
7809 fi
7810
7811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7813 # Check whether --enable-protocol was given.
7814 if test "${enable_protocol+set}" = set; then
7815 enableval=$enable_protocol;
7816 if test "$enableval" = yes; then
7817 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7818 else
7819 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7820 fi
7821
7822 else
7823
7824 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7825
7826 fi
7827
7828
7829 eval "$wx_cv_use_protocol"
7830
7831 if test x"$enablestring" = xdisable; then
7832 if test $wxUSE_PROTOCOL = yes; then
7833 result=no
7834 else
7835 result=yes
7836 fi
7837 else
7838 result=$wxUSE_PROTOCOL
7839 fi
7840
7841 { echo "$as_me:$LINENO: result: $result" >&5
7842 echo "${ECHO_T}$result" >&6; }
7843
7844
7845 enablestring=
7846 defaultval=$wxUSE_ALL_FEATURES
7847 if test -z "$defaultval"; then
7848 if test x"$enablestring" = xdisable; then
7849 defaultval=yes
7850 else
7851 defaultval=no
7852 fi
7853 fi
7854
7855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7857 # Check whether --enable-protocol_http was given.
7858 if test "${enable_protocol_http+set}" = set; then
7859 enableval=$enable_protocol_http;
7860 if test "$enableval" = yes; then
7861 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7862 else
7863 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7864 fi
7865
7866 else
7867
7868 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7869
7870 fi
7871
7872
7873 eval "$wx_cv_use_protocol_http"
7874
7875 if test x"$enablestring" = xdisable; then
7876 if test $wxUSE_PROTOCOL_HTTP = yes; then
7877 result=no
7878 else
7879 result=yes
7880 fi
7881 else
7882 result=$wxUSE_PROTOCOL_HTTP
7883 fi
7884
7885 { echo "$as_me:$LINENO: result: $result" >&5
7886 echo "${ECHO_T}$result" >&6; }
7887
7888
7889 enablestring=
7890 defaultval=$wxUSE_ALL_FEATURES
7891 if test -z "$defaultval"; then
7892 if test x"$enablestring" = xdisable; then
7893 defaultval=yes
7894 else
7895 defaultval=no
7896 fi
7897 fi
7898
7899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7900 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7901 # Check whether --enable-protocol_ftp was given.
7902 if test "${enable_protocol_ftp+set}" = set; then
7903 enableval=$enable_protocol_ftp;
7904 if test "$enableval" = yes; then
7905 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7906 else
7907 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7908 fi
7909
7910 else
7911
7912 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7913
7914 fi
7915
7916
7917 eval "$wx_cv_use_protocol_ftp"
7918
7919 if test x"$enablestring" = xdisable; then
7920 if test $wxUSE_PROTOCOL_FTP = yes; then
7921 result=no
7922 else
7923 result=yes
7924 fi
7925 else
7926 result=$wxUSE_PROTOCOL_FTP
7927 fi
7928
7929 { echo "$as_me:$LINENO: result: $result" >&5
7930 echo "${ECHO_T}$result" >&6; }
7931
7932
7933 enablestring=
7934 defaultval=$wxUSE_ALL_FEATURES
7935 if test -z "$defaultval"; then
7936 if test x"$enablestring" = xdisable; then
7937 defaultval=yes
7938 else
7939 defaultval=no
7940 fi
7941 fi
7942
7943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7944 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7945 # Check whether --enable-protocol_file was given.
7946 if test "${enable_protocol_file+set}" = set; then
7947 enableval=$enable_protocol_file;
7948 if test "$enableval" = yes; then
7949 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7950 else
7951 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7952 fi
7953
7954 else
7955
7956 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7957
7958 fi
7959
7960
7961 eval "$wx_cv_use_protocol_file"
7962
7963 if test x"$enablestring" = xdisable; then
7964 if test $wxUSE_PROTOCOL_FILE = yes; then
7965 result=no
7966 else
7967 result=yes
7968 fi
7969 else
7970 result=$wxUSE_PROTOCOL_FILE
7971 fi
7972
7973 { echo "$as_me:$LINENO: result: $result" >&5
7974 echo "${ECHO_T}$result" >&6; }
7975
7976
7977
7978 enablestring=
7979 defaultval=$wxUSE_ALL_FEATURES
7980 if test -z "$defaultval"; then
7981 if test x"$enablestring" = xdisable; then
7982 defaultval=yes
7983 else
7984 defaultval=no
7985 fi
7986 fi
7987
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7990 # Check whether --enable-threads was given.
7991 if test "${enable_threads+set}" = set; then
7992 enableval=$enable_threads;
7993 if test "$enableval" = yes; then
7994 wx_cv_use_threads='wxUSE_THREADS=yes'
7995 else
7996 wx_cv_use_threads='wxUSE_THREADS=no'
7997 fi
7998
7999 else
8000
8001 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8002
8003 fi
8004
8005
8006 eval "$wx_cv_use_threads"
8007
8008 if test x"$enablestring" = xdisable; then
8009 if test $wxUSE_THREADS = yes; then
8010 result=no
8011 else
8012 result=yes
8013 fi
8014 else
8015 result=$wxUSE_THREADS
8016 fi
8017
8018 { echo "$as_me:$LINENO: result: $result" >&5
8019 echo "${ECHO_T}$result" >&6; }
8020
8021
8022
8023 enablestring=
8024 defaultval=
8025 if test -z "$defaultval"; then
8026 if test x"$enablestring" = xdisable; then
8027 defaultval=yes
8028 else
8029 defaultval=no
8030 fi
8031 fi
8032
8033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8034 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8035 # Check whether --enable-iniconf was given.
8036 if test "${enable_iniconf+set}" = set; then
8037 enableval=$enable_iniconf;
8038 if test "$enableval" = yes; then
8039 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8040 else
8041 wx_cv_use_iniconf='wxUSE_INICONF=no'
8042 fi
8043
8044 else
8045
8046 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8047
8048 fi
8049
8050
8051 eval "$wx_cv_use_iniconf"
8052
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_INICONF = yes; then
8055 result=no
8056 else
8057 result=yes
8058 fi
8059 else
8060 result=$wxUSE_INICONF
8061 fi
8062
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8065
8066
8067 enablestring=
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8071 defaultval=yes
8072 else
8073 defaultval=no
8074 fi
8075 fi
8076
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8079 # Check whether --enable-regkey was given.
8080 if test "${enable_regkey+set}" = set; then
8081 enableval=$enable_regkey;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8084 else
8085 wx_cv_use_regkey='wxUSE_REGKEY=no'
8086 fi
8087
8088 else
8089
8090 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8091
8092 fi
8093
8094
8095 eval "$wx_cv_use_regkey"
8096
8097 if test x"$enablestring" = xdisable; then
8098 if test $wxUSE_REGKEY = yes; then
8099 result=no
8100 else
8101 result=yes
8102 fi
8103 else
8104 result=$wxUSE_REGKEY
8105 fi
8106
8107 { echo "$as_me:$LINENO: result: $result" >&5
8108 echo "${ECHO_T}$result" >&6; }
8109
8110
8111 if test "$wxUSE_GUI" = "yes"; then
8112
8113
8114
8115 enablestring=
8116 defaultval=$wxUSE_ALL_FEATURES
8117 if test -z "$defaultval"; then
8118 if test x"$enablestring" = xdisable; then
8119 defaultval=yes
8120 else
8121 defaultval=no
8122 fi
8123 fi
8124
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8127 # Check whether --enable-docview was given.
8128 if test "${enable_docview+set}" = set; then
8129 enableval=$enable_docview;
8130 if test "$enableval" = yes; then
8131 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8132 else
8133 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8134 fi
8135
8136 else
8137
8138 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8139
8140 fi
8141
8142
8143 eval "$wx_cv_use_docview"
8144
8145 if test x"$enablestring" = xdisable; then
8146 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8147 result=no
8148 else
8149 result=yes
8150 fi
8151 else
8152 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8153 fi
8154
8155 { echo "$as_me:$LINENO: result: $result" >&5
8156 echo "${ECHO_T}$result" >&6; }
8157
8158
8159 enablestring=
8160 defaultval=$wxUSE_ALL_FEATURES
8161 if test -z "$defaultval"; then
8162 if test x"$enablestring" = xdisable; then
8163 defaultval=yes
8164 else
8165 defaultval=no
8166 fi
8167 fi
8168
8169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8171 # Check whether --enable-help was given.
8172 if test "${enable_help+set}" = set; then
8173 enableval=$enable_help;
8174 if test "$enableval" = yes; then
8175 wx_cv_use_help='wxUSE_HELP=yes'
8176 else
8177 wx_cv_use_help='wxUSE_HELP=no'
8178 fi
8179
8180 else
8181
8182 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8183
8184 fi
8185
8186
8187 eval "$wx_cv_use_help"
8188
8189 if test x"$enablestring" = xdisable; then
8190 if test $wxUSE_HELP = yes; then
8191 result=no
8192 else
8193 result=yes
8194 fi
8195 else
8196 result=$wxUSE_HELP
8197 fi
8198
8199 { echo "$as_me:$LINENO: result: $result" >&5
8200 echo "${ECHO_T}$result" >&6; }
8201
8202
8203 enablestring=
8204 defaultval=$wxUSE_ALL_FEATURES
8205 if test -z "$defaultval"; then
8206 if test x"$enablestring" = xdisable; then
8207 defaultval=yes
8208 else
8209 defaultval=no
8210 fi
8211 fi
8212
8213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8214 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8215 # Check whether --enable-mshtmlhelp was given.
8216 if test "${enable_mshtmlhelp+set}" = set; then
8217 enableval=$enable_mshtmlhelp;
8218 if test "$enableval" = yes; then
8219 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8220 else
8221 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8222 fi
8223
8224 else
8225
8226 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8227
8228 fi
8229
8230
8231 eval "$wx_cv_use_mshtmlhelp"
8232
8233 if test x"$enablestring" = xdisable; then
8234 if test $wxUSE_MS_HTML_HELP = yes; then
8235 result=no
8236 else
8237 result=yes
8238 fi
8239 else
8240 result=$wxUSE_MS_HTML_HELP
8241 fi
8242
8243 { echo "$as_me:$LINENO: result: $result" >&5
8244 echo "${ECHO_T}$result" >&6; }
8245
8246
8247 enablestring=
8248 defaultval=$wxUSE_ALL_FEATURES
8249 if test -z "$defaultval"; then
8250 if test x"$enablestring" = xdisable; then
8251 defaultval=yes
8252 else
8253 defaultval=no
8254 fi
8255 fi
8256
8257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8259 # Check whether --enable-html was given.
8260 if test "${enable_html+set}" = set; then
8261 enableval=$enable_html;
8262 if test "$enableval" = yes; then
8263 wx_cv_use_html='wxUSE_HTML=yes'
8264 else
8265 wx_cv_use_html='wxUSE_HTML=no'
8266 fi
8267
8268 else
8269
8270 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8271
8272 fi
8273
8274
8275 eval "$wx_cv_use_html"
8276
8277 if test x"$enablestring" = xdisable; then
8278 if test $wxUSE_HTML = yes; then
8279 result=no
8280 else
8281 result=yes
8282 fi
8283 else
8284 result=$wxUSE_HTML
8285 fi
8286
8287 { echo "$as_me:$LINENO: result: $result" >&5
8288 echo "${ECHO_T}$result" >&6; }
8289
8290
8291 enablestring=
8292 defaultval=$wxUSE_ALL_FEATURES
8293 if test -z "$defaultval"; then
8294 if test x"$enablestring" = xdisable; then
8295 defaultval=yes
8296 else
8297 defaultval=no
8298 fi
8299 fi
8300
8301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8303 # Check whether --enable-htmlhelp was given.
8304 if test "${enable_htmlhelp+set}" = set; then
8305 enableval=$enable_htmlhelp;
8306 if test "$enableval" = yes; then
8307 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8308 else
8309 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8310 fi
8311
8312 else
8313
8314 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8315
8316 fi
8317
8318
8319 eval "$wx_cv_use_htmlhelp"
8320
8321 if test x"$enablestring" = xdisable; then
8322 if test $wxUSE_WXHTML_HELP = yes; then
8323 result=no
8324 else
8325 result=yes
8326 fi
8327 else
8328 result=$wxUSE_WXHTML_HELP
8329 fi
8330
8331 { echo "$as_me:$LINENO: result: $result" >&5
8332 echo "${ECHO_T}$result" >&6; }
8333
8334
8335 enablestring=
8336 defaultval=$wxUSE_ALL_FEATURES
8337 if test -z "$defaultval"; then
8338 if test x"$enablestring" = xdisable; then
8339 defaultval=yes
8340 else
8341 defaultval=no
8342 fi
8343 fi
8344
8345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8347 # Check whether --enable-xrc was given.
8348 if test "${enable_xrc+set}" = set; then
8349 enableval=$enable_xrc;
8350 if test "$enableval" = yes; then
8351 wx_cv_use_xrc='wxUSE_XRC=yes'
8352 else
8353 wx_cv_use_xrc='wxUSE_XRC=no'
8354 fi
8355
8356 else
8357
8358 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8359
8360 fi
8361
8362
8363 eval "$wx_cv_use_xrc"
8364
8365 if test x"$enablestring" = xdisable; then
8366 if test $wxUSE_XRC = yes; then
8367 result=no
8368 else
8369 result=yes
8370 fi
8371 else
8372 result=$wxUSE_XRC
8373 fi
8374
8375 { echo "$as_me:$LINENO: result: $result" >&5
8376 echo "${ECHO_T}$result" >&6; }
8377
8378
8379 enablestring=
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8383 defaultval=yes
8384 else
8385 defaultval=no
8386 fi
8387 fi
8388
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8391 # Check whether --enable-aui was given.
8392 if test "${enable_aui+set}" = set; then
8393 enableval=$enable_aui;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_aui='wxUSE_AUI=yes'
8396 else
8397 wx_cv_use_aui='wxUSE_AUI=no'
8398 fi
8399
8400 else
8401
8402 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8403
8404 fi
8405
8406
8407 eval "$wx_cv_use_aui"
8408
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_AUI = yes; then
8411 result=no
8412 else
8413 result=yes
8414 fi
8415 else
8416 result=$wxUSE_AUI
8417 fi
8418
8419 { echo "$as_me:$LINENO: result: $result" >&5
8420 echo "${ECHO_T}$result" >&6; }
8421
8422
8423 enablestring=
8424 defaultval=$wxUSE_ALL_FEATURES
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8427 defaultval=yes
8428 else
8429 defaultval=no
8430 fi
8431 fi
8432
8433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8435 # Check whether --enable-stc was given.
8436 if test "${enable_stc+set}" = set; then
8437 enableval=$enable_stc;
8438 if test "$enableval" = yes; then
8439 wx_cv_use_stc='wxUSE_STC=yes'
8440 else
8441 wx_cv_use_stc='wxUSE_STC=no'
8442 fi
8443
8444 else
8445
8446 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8447
8448 fi
8449
8450
8451 eval "$wx_cv_use_stc"
8452
8453 if test x"$enablestring" = xdisable; then
8454 if test $wxUSE_STC = yes; then
8455 result=no
8456 else
8457 result=yes
8458 fi
8459 else
8460 result=$wxUSE_STC
8461 fi
8462
8463 { echo "$as_me:$LINENO: result: $result" >&5
8464 echo "${ECHO_T}$result" >&6; }
8465
8466
8467 enablestring=
8468 defaultval=$wxUSE_ALL_FEATURES
8469 if test -z "$defaultval"; then
8470 if test x"$enablestring" = xdisable; then
8471 defaultval=yes
8472 else
8473 defaultval=no
8474 fi
8475 fi
8476
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8479 # Check whether --enable-constraints was given.
8480 if test "${enable_constraints+set}" = set; then
8481 enableval=$enable_constraints;
8482 if test "$enableval" = yes; then
8483 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8484 else
8485 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8486 fi
8487
8488 else
8489
8490 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8491
8492 fi
8493
8494
8495 eval "$wx_cv_use_constraints"
8496
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_CONSTRAINTS = yes; then
8499 result=no
8500 else
8501 result=yes
8502 fi
8503 else
8504 result=$wxUSE_CONSTRAINTS
8505 fi
8506
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8509
8510
8511 enablestring=
8512 defaultval=$wxUSE_ALL_FEATURES
8513 if test -z "$defaultval"; then
8514 if test x"$enablestring" = xdisable; then
8515 defaultval=yes
8516 else
8517 defaultval=no
8518 fi
8519 fi
8520
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8523 # Check whether --enable-printarch was given.
8524 if test "${enable_printarch+set}" = set; then
8525 enableval=$enable_printarch;
8526 if test "$enableval" = yes; then
8527 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8528 else
8529 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8530 fi
8531
8532 else
8533
8534 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8535
8536 fi
8537
8538
8539 eval "$wx_cv_use_printarch"
8540
8541 if test x"$enablestring" = xdisable; then
8542 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8543 result=no
8544 else
8545 result=yes
8546 fi
8547 else
8548 result=$wxUSE_PRINTING_ARCHITECTURE
8549 fi
8550
8551 { echo "$as_me:$LINENO: result: $result" >&5
8552 echo "${ECHO_T}$result" >&6; }
8553
8554
8555 enablestring=
8556 defaultval=$wxUSE_ALL_FEATURES
8557 if test -z "$defaultval"; then
8558 if test x"$enablestring" = xdisable; then
8559 defaultval=yes
8560 else
8561 defaultval=no
8562 fi
8563 fi
8564
8565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8567 # Check whether --enable-mdi was given.
8568 if test "${enable_mdi+set}" = set; then
8569 enableval=$enable_mdi;
8570 if test "$enableval" = yes; then
8571 wx_cv_use_mdi='wxUSE_MDI=yes'
8572 else
8573 wx_cv_use_mdi='wxUSE_MDI=no'
8574 fi
8575
8576 else
8577
8578 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8579
8580 fi
8581
8582
8583 eval "$wx_cv_use_mdi"
8584
8585 if test x"$enablestring" = xdisable; then
8586 if test $wxUSE_MDI = yes; then
8587 result=no
8588 else
8589 result=yes
8590 fi
8591 else
8592 result=$wxUSE_MDI
8593 fi
8594
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8597
8598
8599 enablestring=
8600 defaultval=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x"$enablestring" = xdisable; then
8603 defaultval=yes
8604 else
8605 defaultval=no
8606 fi
8607 fi
8608
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8611 # Check whether --enable-mdidoc was given.
8612 if test "${enable_mdidoc+set}" = set; then
8613 enableval=$enable_mdidoc;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8616 else
8617 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8618 fi
8619
8620 else
8621
8622 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8623
8624 fi
8625
8626
8627 eval "$wx_cv_use_mdidoc"
8628
8629 if test x"$enablestring" = xdisable; then
8630 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8631 result=no
8632 else
8633 result=yes
8634 fi
8635 else
8636 result=$wxUSE_MDI_ARCHITECTURE
8637 fi
8638
8639 { echo "$as_me:$LINENO: result: $result" >&5
8640 echo "${ECHO_T}$result" >&6; }
8641
8642
8643 enablestring=
8644 defaultval=$wxUSE_ALL_FEATURES
8645 if test -z "$defaultval"; then
8646 if test x"$enablestring" = xdisable; then
8647 defaultval=yes
8648 else
8649 defaultval=no
8650 fi
8651 fi
8652
8653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8655 # Check whether --enable-loggui was given.
8656 if test "${enable_loggui+set}" = set; then
8657 enableval=$enable_loggui;
8658 if test "$enableval" = yes; then
8659 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8660 else
8661 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8662 fi
8663
8664 else
8665
8666 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8667
8668 fi
8669
8670
8671 eval "$wx_cv_use_loggui"
8672
8673 if test x"$enablestring" = xdisable; then
8674 if test $wxUSE_LOGGUI = yes; then
8675 result=no
8676 else
8677 result=yes
8678 fi
8679 else
8680 result=$wxUSE_LOGGUI
8681 fi
8682
8683 { echo "$as_me:$LINENO: result: $result" >&5
8684 echo "${ECHO_T}$result" >&6; }
8685
8686
8687 enablestring=
8688 defaultval=$wxUSE_ALL_FEATURES
8689 if test -z "$defaultval"; then
8690 if test x"$enablestring" = xdisable; then
8691 defaultval=yes
8692 else
8693 defaultval=no
8694 fi
8695 fi
8696
8697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8699 # Check whether --enable-logwin was given.
8700 if test "${enable_logwin+set}" = set; then
8701 enableval=$enable_logwin;
8702 if test "$enableval" = yes; then
8703 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8704 else
8705 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8706 fi
8707
8708 else
8709
8710 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8711
8712 fi
8713
8714
8715 eval "$wx_cv_use_logwin"
8716
8717 if test x"$enablestring" = xdisable; then
8718 if test $wxUSE_LOGWINDOW = yes; then
8719 result=no
8720 else
8721 result=yes
8722 fi
8723 else
8724 result=$wxUSE_LOGWINDOW
8725 fi
8726
8727 { echo "$as_me:$LINENO: result: $result" >&5
8728 echo "${ECHO_T}$result" >&6; }
8729
8730
8731 enablestring=
8732 defaultval=$wxUSE_ALL_FEATURES
8733 if test -z "$defaultval"; then
8734 if test x"$enablestring" = xdisable; then
8735 defaultval=yes
8736 else
8737 defaultval=no
8738 fi
8739 fi
8740
8741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8743 # Check whether --enable-logdialog was given.
8744 if test "${enable_logdialog+set}" = set; then
8745 enableval=$enable_logdialog;
8746 if test "$enableval" = yes; then
8747 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8748 else
8749 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8750 fi
8751
8752 else
8753
8754 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8755
8756 fi
8757
8758
8759 eval "$wx_cv_use_logdialog"
8760
8761 if test x"$enablestring" = xdisable; then
8762 if test $wxUSE_LOGDIALOG = yes; then
8763 result=no
8764 else
8765 result=yes
8766 fi
8767 else
8768 result=$wxUSE_LOGDIALOG
8769 fi
8770
8771 { echo "$as_me:$LINENO: result: $result" >&5
8772 echo "${ECHO_T}$result" >&6; }
8773
8774
8775 enablestring=
8776 defaultval=$wxUSE_ALL_FEATURES
8777 if test -z "$defaultval"; then
8778 if test x"$enablestring" = xdisable; then
8779 defaultval=yes
8780 else
8781 defaultval=no
8782 fi
8783 fi
8784
8785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8787 # Check whether --enable-webkit was given.
8788 if test "${enable_webkit+set}" = set; then
8789 enableval=$enable_webkit;
8790 if test "$enableval" = yes; then
8791 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8792 else
8793 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8794 fi
8795
8796 else
8797
8798 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8799
8800 fi
8801
8802
8803 eval "$wx_cv_use_webkit"
8804
8805 if test x"$enablestring" = xdisable; then
8806 if test $wxUSE_WEBKIT = yes; then
8807 result=no
8808 else
8809 result=yes
8810 fi
8811 else
8812 result=$wxUSE_WEBKIT
8813 fi
8814
8815 { echo "$as_me:$LINENO: result: $result" >&5
8816 echo "${ECHO_T}$result" >&6; }
8817
8818
8819 enablestring=
8820 defaultval=$wxUSE_ALL_FEATURES
8821 if test -z "$defaultval"; then
8822 if test x"$enablestring" = xdisable; then
8823 defaultval=yes
8824 else
8825 defaultval=no
8826 fi
8827 fi
8828
8829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8831 # Check whether --enable-richtext was given.
8832 if test "${enable_richtext+set}" = set; then
8833 enableval=$enable_richtext;
8834 if test "$enableval" = yes; then
8835 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8836 else
8837 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8838 fi
8839
8840 else
8841
8842 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8843
8844 fi
8845
8846
8847 eval "$wx_cv_use_richtext"
8848
8849 if test x"$enablestring" = xdisable; then
8850 if test $wxUSE_RICHTEXT = yes; then
8851 result=no
8852 else
8853 result=yes
8854 fi
8855 else
8856 result=$wxUSE_RICHTEXT
8857 fi
8858
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8861
8862
8863 enablestring=
8864 defaultval=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x"$enablestring" = xdisable; then
8867 defaultval=yes
8868 else
8869 defaultval=no
8870 fi
8871 fi
8872
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8875 # Check whether --enable-graphics_ctx was given.
8876 if test "${enable_graphics_ctx+set}" = set; then
8877 enableval=$enable_graphics_ctx;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8880 else
8881 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8882 fi
8883
8884 else
8885
8886 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8887
8888 fi
8889
8890
8891 eval "$wx_cv_use_graphics_ctx"
8892
8893 if test x"$enablestring" = xdisable; then
8894 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8895 result=no
8896 else
8897 result=yes
8898 fi
8899 else
8900 result=$wxUSE_GRAPHICS_CONTEXT
8901 fi
8902
8903 { echo "$as_me:$LINENO: result: $result" >&5
8904 echo "${ECHO_T}$result" >&6; }
8905
8906
8907 enablestring=
8908 defaultval=$wxUSE_ALL_FEATURES
8909 if test -z "$defaultval"; then
8910 if test x"$enablestring" = xdisable; then
8911 defaultval=yes
8912 else
8913 defaultval=no
8914 fi
8915 fi
8916
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8919 # Check whether --enable-postscript was given.
8920 if test "${enable_postscript+set}" = set; then
8921 enableval=$enable_postscript;
8922 if test "$enableval" = yes; then
8923 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8924 else
8925 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8926 fi
8927
8928 else
8929
8930 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8931
8932 fi
8933
8934
8935 eval "$wx_cv_use_postscript"
8936
8937 if test x"$enablestring" = xdisable; then
8938 if test $wxUSE_POSTSCRIPT = yes; then
8939 result=no
8940 else
8941 result=yes
8942 fi
8943 else
8944 result=$wxUSE_POSTSCRIPT
8945 fi
8946
8947 { echo "$as_me:$LINENO: result: $result" >&5
8948 echo "${ECHO_T}$result" >&6; }
8949
8950
8951 enablestring=
8952 defaultval=$wxUSE_ALL_FEATURES
8953 if test -z "$defaultval"; then
8954 if test x"$enablestring" = xdisable; then
8955 defaultval=yes
8956 else
8957 defaultval=no
8958 fi
8959 fi
8960
8961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8963 # Check whether --enable-svg was given.
8964 if test "${enable_svg+set}" = set; then
8965 enableval=$enable_svg;
8966 if test "$enableval" = yes; then
8967 wx_cv_use_svg='wxUSE_SVG=yes'
8968 else
8969 wx_cv_use_svg='wxUSE_SVG=no'
8970 fi
8971
8972 else
8973
8974 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8975
8976 fi
8977
8978
8979 eval "$wx_cv_use_svg"
8980
8981 if test x"$enablestring" = xdisable; then
8982 if test $wxUSE_SVG = yes; then
8983 result=no
8984 else
8985 result=yes
8986 fi
8987 else
8988 result=$wxUSE_SVG
8989 fi
8990
8991 { echo "$as_me:$LINENO: result: $result" >&5
8992 echo "${ECHO_T}$result" >&6; }
8993
8994
8995
8996
8997 enablestring=
8998 defaultval=$wxUSE_ALL_FEATURES
8999 if test -z "$defaultval"; then
9000 if test x"$enablestring" = xdisable; then
9001 defaultval=yes
9002 else
9003 defaultval=no
9004 fi
9005 fi
9006
9007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9009 # Check whether --enable-clipboard was given.
9010 if test "${enable_clipboard+set}" = set; then
9011 enableval=$enable_clipboard;
9012 if test "$enableval" = yes; then
9013 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9014 else
9015 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9016 fi
9017
9018 else
9019
9020 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9021
9022 fi
9023
9024
9025 eval "$wx_cv_use_clipboard"
9026
9027 if test x"$enablestring" = xdisable; then
9028 if test $wxUSE_CLIPBOARD = yes; then
9029 result=no
9030 else
9031 result=yes
9032 fi
9033 else
9034 result=$wxUSE_CLIPBOARD
9035 fi
9036
9037 { echo "$as_me:$LINENO: result: $result" >&5
9038 echo "${ECHO_T}$result" >&6; }
9039
9040
9041 enablestring=
9042 defaultval=$wxUSE_ALL_FEATURES
9043 if test -z "$defaultval"; then
9044 if test x"$enablestring" = xdisable; then
9045 defaultval=yes
9046 else
9047 defaultval=no
9048 fi
9049 fi
9050
9051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9052 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9053 # Check whether --enable-dnd was given.
9054 if test "${enable_dnd+set}" = set; then
9055 enableval=$enable_dnd;
9056 if test "$enableval" = yes; then
9057 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9058 else
9059 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9060 fi
9061
9062 else
9063
9064 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9065
9066 fi
9067
9068
9069 eval "$wx_cv_use_dnd"
9070
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_DRAG_AND_DROP = yes; then
9073 result=no
9074 else
9075 result=yes
9076 fi
9077 else
9078 result=$wxUSE_DRAG_AND_DROP
9079 fi
9080
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9083
9084
9085 enablestring=
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9089 defaultval=yes
9090 else
9091 defaultval=no
9092 fi
9093 fi
9094
9095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9096 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9097 # Check whether --enable-metafile was given.
9098 if test "${enable_metafile+set}" = set; then
9099 enableval=$enable_metafile;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9102 else
9103 wx_cv_use_metafile='wxUSE_METAFILE=no'
9104 fi
9105
9106 else
9107
9108 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9109
9110 fi
9111
9112
9113 eval "$wx_cv_use_metafile"
9114
9115 if test x"$enablestring" = xdisable; then
9116 if test $wxUSE_METAFILE = yes; then
9117 result=no
9118 else
9119 result=yes
9120 fi
9121 else
9122 result=$wxUSE_METAFILE
9123 fi
9124
9125 { echo "$as_me:$LINENO: result: $result" >&5
9126 echo "${ECHO_T}$result" >&6; }
9127
9128
9129
9130 DEFAULT_wxUSE_CONTROLS=none
9131
9132 enablestring=disable
9133 defaultval=
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9136 defaultval=yes
9137 else
9138 defaultval=no
9139 fi
9140 fi
9141
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9144 # Check whether --enable-controls was given.
9145 if test "${enable_controls+set}" = set; then
9146 enableval=$enable_controls;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9149 else
9150 wx_cv_use_controls='wxUSE_CONTROLS=no'
9151 fi
9152
9153 else
9154
9155 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9156
9157 fi
9158
9159
9160 eval "$wx_cv_use_controls"
9161
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_CONTROLS = yes; then
9164 result=no
9165 else
9166 result=yes
9167 fi
9168 else
9169 result=$wxUSE_CONTROLS
9170 fi
9171
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9174
9175
9176 if test "$wxUSE_CONTROLS" = "yes"; then
9177 DEFAULT_wxUSE_ACCEL=yes
9178 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9179 DEFAULT_wxUSE_BMPBUTTON=yes
9180 DEFAULT_wxUSE_BUTTON=yes
9181 DEFAULT_wxUSE_CALCTRL=yes
9182 DEFAULT_wxUSE_CARET=yes
9183 DEFAULT_wxUSE_COMBOBOX=yes
9184 DEFAULT_wxUSE_CHECKBOX=yes
9185 DEFAULT_wxUSE_CHECKLISTBOX=yes
9186 DEFAULT_wxUSE_CHOICE=yes
9187 DEFAULT_wxUSE_CHOICEBOOK=yes
9188 DEFAULT_wxUSE_COLLPANE=yes
9189 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9190 DEFAULT_wxUSE_COMBOBOX=yes
9191 DEFAULT_wxUSE_DATEPICKCTRL=yes
9192 DEFAULT_wxUSE_DISPLAY=yes
9193 DEFAULT_wxUSE_DETECT_SM=yes
9194 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9195 DEFAULT_wxUSE_FILECTRL=yes
9196 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9197 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9198 DEFAULT_wxUSE_GAUGE=yes
9199 DEFAULT_wxUSE_GRID=yes
9200 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9201 DEFAULT_wxUSE_DATAVIEWCTRL=no
9202 DEFAULT_wxUSE_IMAGLIST=yes
9203 DEFAULT_wxUSE_LISTBOOK=yes
9204 DEFAULT_wxUSE_LISTBOX=yes
9205 DEFAULT_wxUSE_LISTCTRL=yes
9206 DEFAULT_wxUSE_NOTEBOOK=yes
9207 DEFAULT_wxUSE_RADIOBOX=yes
9208 DEFAULT_wxUSE_RADIOBTN=yes
9209 DEFAULT_wxUSE_SASH=yes
9210 DEFAULT_wxUSE_SCROLLBAR=yes
9211 DEFAULT_wxUSE_SEARCHCTRL=yes
9212 DEFAULT_wxUSE_SLIDER=yes
9213 DEFAULT_wxUSE_SPINBTN=yes
9214 DEFAULT_wxUSE_SPINCTRL=yes
9215 DEFAULT_wxUSE_SPLITTER=yes
9216 DEFAULT_wxUSE_STATBMP=yes
9217 DEFAULT_wxUSE_STATBOX=yes
9218 DEFAULT_wxUSE_STATLINE=yes
9219 DEFAULT_wxUSE_STATUSBAR=yes
9220 DEFAULT_wxUSE_TAB_DIALOG=yes
9221 DEFAULT_wxUSE_TOGGLEBTN=yes
9222 DEFAULT_wxUSE_TOOLBAR=yes
9223 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9224 DEFAULT_wxUSE_TOOLTIPS=yes
9225 DEFAULT_wxUSE_TREEBOOK=yes
9226 DEFAULT_wxUSE_TOOLBOOK=yes
9227 DEFAULT_wxUSE_TREECTRL=yes
9228 DEFAULT_wxUSE_POPUPWIN=yes
9229 DEFAULT_wxUSE_TIPWINDOW=yes
9230 elif test "$wxUSE_CONTROLS" = "no"; then
9231 DEFAULT_wxUSE_ACCEL=no
9232 DEFAULT_wxUSE_ANIMATIONCTRL=no
9233 DEFAULT_wxUSE_BMPBUTTON=no
9234 DEFAULT_wxUSE_BUTTON=no
9235 DEFAULT_wxUSE_CALCTRL=no
9236 DEFAULT_wxUSE_CARET=no
9237 DEFAULT_wxUSE_COLLPANE=no
9238 DEFAULT_wxUSE_COMBOBOX=no
9239 DEFAULT_wxUSE_CHECKBOX=no
9240 DEFAULT_wxUSE_CHECKLISTBOX=no
9241 DEFAULT_wxUSE_CHOICE=no
9242 DEFAULT_wxUSE_CHOICEBOOK=no
9243 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9244 DEFAULT_wxUSE_COMBOBOX=no
9245 DEFAULT_wxUSE_DATEPICKCTRL=no
9246 DEFAULT_wxUSE_DISPLAY=no
9247 DEFAULT_wxUSE_DETECT_SM=no
9248 DEFAULT_wxUSE_DIRPICKERCTRL=no
9249 DEFAULT_wxUSE_FILECTRL=no
9250 DEFAULT_wxUSE_FILEPICKERCTRL=no
9251 DEFAULT_wxUSE_FONTPICKERCTRL=no
9252 DEFAULT_wxUSE_GAUGE=no
9253 DEFAULT_wxUSE_GRID=no
9254 DEFAULT_wxUSE_HYPERLINKCTRL=no
9255 DEFAULT_wxUSE_DATAVIEWCTRL=no
9256 DEFAULT_wxUSE_IMAGLIST=no
9257 DEFAULT_wxUSE_LISTBOOK=no
9258 DEFAULT_wxUSE_LISTBOX=no
9259 DEFAULT_wxUSE_LISTCTRL=no
9260 DEFAULT_wxUSE_NOTEBOOK=no
9261 DEFAULT_wxUSE_RADIOBOX=no
9262 DEFAULT_wxUSE_RADIOBTN=no
9263 DEFAULT_wxUSE_SASH=no
9264 DEFAULT_wxUSE_SCROLLBAR=no
9265 DEFAULT_wxUSE_SEARCHCTRL=no
9266 DEFAULT_wxUSE_SLIDER=no
9267 DEFAULT_wxUSE_SPINBTN=no
9268 DEFAULT_wxUSE_SPINCTRL=no
9269 DEFAULT_wxUSE_SPLITTER=no
9270 DEFAULT_wxUSE_STATBMP=no
9271 DEFAULT_wxUSE_STATBOX=no
9272 DEFAULT_wxUSE_STATLINE=no
9273 DEFAULT_wxUSE_STATUSBAR=no
9274 DEFAULT_wxUSE_TAB_DIALOG=no
9275 DEFAULT_wxUSE_TOGGLEBTN=no
9276 DEFAULT_wxUSE_TOOLBAR=no
9277 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9278 DEFAULT_wxUSE_TOOLTIPS=no
9279 DEFAULT_wxUSE_TREEBOOK=no
9280 DEFAULT_wxUSE_TOOLBOOK=no
9281 DEFAULT_wxUSE_TREECTRL=no
9282 DEFAULT_wxUSE_POPUPWIN=no
9283 DEFAULT_wxUSE_TIPWINDOW=no
9284 fi
9285
9286
9287 enablestring=
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9291 defaultval=yes
9292 else
9293 defaultval=no
9294 fi
9295 fi
9296
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9299 # Check whether --enable-accel was given.
9300 if test "${enable_accel+set}" = set; then
9301 enableval=$enable_accel;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_accel='wxUSE_ACCEL=yes'
9304 else
9305 wx_cv_use_accel='wxUSE_ACCEL=no'
9306 fi
9307
9308 else
9309
9310 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9311
9312 fi
9313
9314
9315 eval "$wx_cv_use_accel"
9316
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_ACCEL = yes; then
9319 result=no
9320 else
9321 result=yes
9322 fi
9323 else
9324 result=$wxUSE_ACCEL
9325 fi
9326
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9329
9330
9331 enablestring=
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9335 defaultval=yes
9336 else
9337 defaultval=no
9338 fi
9339 fi
9340
9341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9343 # Check whether --enable-animatectrl was given.
9344 if test "${enable_animatectrl+set}" = set; then
9345 enableval=$enable_animatectrl;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9348 else
9349 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9350 fi
9351
9352 else
9353
9354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9355
9356 fi
9357
9358
9359 eval "$wx_cv_use_animatectrl"
9360
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_ANIMATIONCTRL = yes; then
9363 result=no
9364 else
9365 result=yes
9366 fi
9367 else
9368 result=$wxUSE_ANIMATIONCTRL
9369 fi
9370
9371 { echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9373
9374
9375 enablestring=
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9387 # Check whether --enable-button was given.
9388 if test "${enable_button+set}" = set; then
9389 enableval=$enable_button;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_button='wxUSE_BUTTON=yes'
9392 else
9393 wx_cv_use_button='wxUSE_BUTTON=no'
9394 fi
9395
9396 else
9397
9398 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9399
9400 fi
9401
9402
9403 eval "$wx_cv_use_button"
9404
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_BUTTON = yes; then
9407 result=no
9408 else
9409 result=yes
9410 fi
9411 else
9412 result=$wxUSE_BUTTON
9413 fi
9414
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9417
9418
9419 enablestring=
9420 defaultval=$wxUSE_ALL_FEATURES
9421 if test -z "$defaultval"; then
9422 if test x"$enablestring" = xdisable; then
9423 defaultval=yes
9424 else
9425 defaultval=no
9426 fi
9427 fi
9428
9429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9431 # Check whether --enable-bmpbutton was given.
9432 if test "${enable_bmpbutton+set}" = set; then
9433 enableval=$enable_bmpbutton;
9434 if test "$enableval" = yes; then
9435 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9436 else
9437 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9438 fi
9439
9440 else
9441
9442 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9443
9444 fi
9445
9446
9447 eval "$wx_cv_use_bmpbutton"
9448
9449 if test x"$enablestring" = xdisable; then
9450 if test $wxUSE_BMPBUTTON = yes; then
9451 result=no
9452 else
9453 result=yes
9454 fi
9455 else
9456 result=$wxUSE_BMPBUTTON
9457 fi
9458
9459 { echo "$as_me:$LINENO: result: $result" >&5
9460 echo "${ECHO_T}$result" >&6; }
9461
9462
9463 enablestring=
9464 defaultval=$wxUSE_ALL_FEATURES
9465 if test -z "$defaultval"; then
9466 if test x"$enablestring" = xdisable; then
9467 defaultval=yes
9468 else
9469 defaultval=no
9470 fi
9471 fi
9472
9473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9475 # Check whether --enable-bmpcombobox was given.
9476 if test "${enable_bmpcombobox+set}" = set; then
9477 enableval=$enable_bmpcombobox;
9478 if test "$enableval" = yes; then
9479 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9480 else
9481 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9482 fi
9483
9484 else
9485
9486 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9487
9488 fi
9489
9490
9491 eval "$wx_cv_use_bmpcombobox"
9492
9493 if test x"$enablestring" = xdisable; then
9494 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9495 result=no
9496 else
9497 result=yes
9498 fi
9499 else
9500 result=$wxUSE_BITMAPCOMBOBOX
9501 fi
9502
9503 { echo "$as_me:$LINENO: result: $result" >&5
9504 echo "${ECHO_T}$result" >&6; }
9505
9506
9507 enablestring=
9508 defaultval=$wxUSE_ALL_FEATURES
9509 if test -z "$defaultval"; then
9510 if test x"$enablestring" = xdisable; then
9511 defaultval=yes
9512 else
9513 defaultval=no
9514 fi
9515 fi
9516
9517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9518 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9519 # Check whether --enable-calendar was given.
9520 if test "${enable_calendar+set}" = set; then
9521 enableval=$enable_calendar;
9522 if test "$enableval" = yes; then
9523 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9524 else
9525 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9526 fi
9527
9528 else
9529
9530 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9531
9532 fi
9533
9534
9535 eval "$wx_cv_use_calendar"
9536
9537 if test x"$enablestring" = xdisable; then
9538 if test $wxUSE_CALCTRL = yes; then
9539 result=no
9540 else
9541 result=yes
9542 fi
9543 else
9544 result=$wxUSE_CALCTRL
9545 fi
9546
9547 { echo "$as_me:$LINENO: result: $result" >&5
9548 echo "${ECHO_T}$result" >&6; }
9549
9550
9551 enablestring=
9552 defaultval=$wxUSE_ALL_FEATURES
9553 if test -z "$defaultval"; then
9554 if test x"$enablestring" = xdisable; then
9555 defaultval=yes
9556 else
9557 defaultval=no
9558 fi
9559 fi
9560
9561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9563 # Check whether --enable-caret was given.
9564 if test "${enable_caret+set}" = set; then
9565 enableval=$enable_caret;
9566 if test "$enableval" = yes; then
9567 wx_cv_use_caret='wxUSE_CARET=yes'
9568 else
9569 wx_cv_use_caret='wxUSE_CARET=no'
9570 fi
9571
9572 else
9573
9574 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9575
9576 fi
9577
9578
9579 eval "$wx_cv_use_caret"
9580
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_CARET = yes; then
9583 result=no
9584 else
9585 result=yes
9586 fi
9587 else
9588 result=$wxUSE_CARET
9589 fi
9590
9591 { echo "$as_me:$LINENO: result: $result" >&5
9592 echo "${ECHO_T}$result" >&6; }
9593
9594
9595 enablestring=
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z "$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9599 defaultval=yes
9600 else
9601 defaultval=no
9602 fi
9603 fi
9604
9605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9606 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9607 # Check whether --enable-checkbox was given.
9608 if test "${enable_checkbox+set}" = set; then
9609 enableval=$enable_checkbox;
9610 if test "$enableval" = yes; then
9611 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9612 else
9613 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9614 fi
9615
9616 else
9617
9618 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9619
9620 fi
9621
9622
9623 eval "$wx_cv_use_checkbox"
9624
9625 if test x"$enablestring" = xdisable; then
9626 if test $wxUSE_CHECKBOX = yes; then
9627 result=no
9628 else
9629 result=yes
9630 fi
9631 else
9632 result=$wxUSE_CHECKBOX
9633 fi
9634
9635 { echo "$as_me:$LINENO: result: $result" >&5
9636 echo "${ECHO_T}$result" >&6; }
9637
9638
9639 enablestring=
9640 defaultval=$wxUSE_ALL_FEATURES
9641 if test -z "$defaultval"; then
9642 if test x"$enablestring" = xdisable; then
9643 defaultval=yes
9644 else
9645 defaultval=no
9646 fi
9647 fi
9648
9649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9650 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9651 # Check whether --enable-checklst was given.
9652 if test "${enable_checklst+set}" = set; then
9653 enableval=$enable_checklst;
9654 if test "$enableval" = yes; then
9655 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9656 else
9657 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9658 fi
9659
9660 else
9661
9662 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9663
9664 fi
9665
9666
9667 eval "$wx_cv_use_checklst"
9668
9669 if test x"$enablestring" = xdisable; then
9670 if test $wxUSE_CHECKLST = yes; then
9671 result=no
9672 else
9673 result=yes
9674 fi
9675 else
9676 result=$wxUSE_CHECKLST
9677 fi
9678
9679 { echo "$as_me:$LINENO: result: $result" >&5
9680 echo "${ECHO_T}$result" >&6; }
9681
9682
9683 enablestring=
9684 defaultval=$wxUSE_ALL_FEATURES
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9687 defaultval=yes
9688 else
9689 defaultval=no
9690 fi
9691 fi
9692
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9695 # Check whether --enable-choice was given.
9696 if test "${enable_choice+set}" = set; then
9697 enableval=$enable_choice;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_choice='wxUSE_CHOICE=yes'
9700 else
9701 wx_cv_use_choice='wxUSE_CHOICE=no'
9702 fi
9703
9704 else
9705
9706 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9707
9708 fi
9709
9710
9711 eval "$wx_cv_use_choice"
9712
9713 if test x"$enablestring" = xdisable; then
9714 if test $wxUSE_CHOICE = yes; then
9715 result=no
9716 else
9717 result=yes
9718 fi
9719 else
9720 result=$wxUSE_CHOICE
9721 fi
9722
9723 { echo "$as_me:$LINENO: result: $result" >&5
9724 echo "${ECHO_T}$result" >&6; }
9725
9726
9727 enablestring=
9728 defaultval=$wxUSE_ALL_FEATURES
9729 if test -z "$defaultval"; then
9730 if test x"$enablestring" = xdisable; then
9731 defaultval=yes
9732 else
9733 defaultval=no
9734 fi
9735 fi
9736
9737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9739 # Check whether --enable-choicebook was given.
9740 if test "${enable_choicebook+set}" = set; then
9741 enableval=$enable_choicebook;
9742 if test "$enableval" = yes; then
9743 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9744 else
9745 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9746 fi
9747
9748 else
9749
9750 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9751
9752 fi
9753
9754
9755 eval "$wx_cv_use_choicebook"
9756
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_CHOICEBOOK = yes; then
9759 result=no
9760 else
9761 result=yes
9762 fi
9763 else
9764 result=$wxUSE_CHOICEBOOK
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}-collpane" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9783 # Check whether --enable-collpane was given.
9784 if test "${enable_collpane+set}" = set; then
9785 enableval=$enable_collpane;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9788 else
9789 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9790 fi
9791
9792 else
9793
9794 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9795
9796 fi
9797
9798
9799 eval "$wx_cv_use_collpane"
9800
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_COLLPANE = yes; then
9803 result=no
9804 else
9805 result=yes
9806 fi
9807 else
9808 result=$wxUSE_COLLPANE
9809 fi
9810
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9813
9814
9815 enablestring=
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9819 defaultval=yes
9820 else
9821 defaultval=no
9822 fi
9823 fi
9824
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9827 # Check whether --enable-colourpicker was given.
9828 if test "${enable_colourpicker+set}" = set; then
9829 enableval=$enable_colourpicker;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9832 else
9833 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9834 fi
9835
9836 else
9837
9838 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9839
9840 fi
9841
9842
9843 eval "$wx_cv_use_colourpicker"
9844
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_COLOURPICKERCTRL = yes; then
9847 result=no
9848 else
9849 result=yes
9850 fi
9851 else
9852 result=$wxUSE_COLOURPICKERCTRL
9853 fi
9854
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9857
9858
9859 enablestring=
9860 defaultval=$wxUSE_ALL_FEATURES
9861 if test -z "$defaultval"; then
9862 if test x"$enablestring" = xdisable; then
9863 defaultval=yes
9864 else
9865 defaultval=no
9866 fi
9867 fi
9868
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9871 # Check whether --enable-combobox was given.
9872 if test "${enable_combobox+set}" = set; then
9873 enableval=$enable_combobox;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9876 else
9877 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9878 fi
9879
9880 else
9881
9882 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9883
9884 fi
9885
9886
9887 eval "$wx_cv_use_combobox"
9888
9889 if test x"$enablestring" = xdisable; then
9890 if test $wxUSE_COMBOBOX = yes; then
9891 result=no
9892 else
9893 result=yes
9894 fi
9895 else
9896 result=$wxUSE_COMBOBOX
9897 fi
9898
9899 { echo "$as_me:$LINENO: result: $result" >&5
9900 echo "${ECHO_T}$result" >&6; }
9901
9902
9903 enablestring=
9904 defaultval=$wxUSE_ALL_FEATURES
9905 if test -z "$defaultval"; then
9906 if test x"$enablestring" = xdisable; then
9907 defaultval=yes
9908 else
9909 defaultval=no
9910 fi
9911 fi
9912
9913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9915 # Check whether --enable-comboctrl was given.
9916 if test "${enable_comboctrl+set}" = set; then
9917 enableval=$enable_comboctrl;
9918 if test "$enableval" = yes; then
9919 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9920 else
9921 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9922 fi
9923
9924 else
9925
9926 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9927
9928 fi
9929
9930
9931 eval "$wx_cv_use_comboctrl"
9932
9933 if test x"$enablestring" = xdisable; then
9934 if test $wxUSE_COMBOCTRL = yes; then
9935 result=no
9936 else
9937 result=yes
9938 fi
9939 else
9940 result=$wxUSE_COMBOCTRL
9941 fi
9942
9943 { echo "$as_me:$LINENO: result: $result" >&5
9944 echo "${ECHO_T}$result" >&6; }
9945
9946
9947 enablestring=
9948 defaultval=$wxUSE_ALL_FEATURES
9949 if test -z "$defaultval"; then
9950 if test x"$enablestring" = xdisable; then
9951 defaultval=yes
9952 else
9953 defaultval=no
9954 fi
9955 fi
9956
9957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9959 # Check whether --enable-datepick was given.
9960 if test "${enable_datepick+set}" = set; then
9961 enableval=$enable_datepick;
9962 if test "$enableval" = yes; then
9963 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9964 else
9965 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9966 fi
9967
9968 else
9969
9970 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9971
9972 fi
9973
9974
9975 eval "$wx_cv_use_datepick"
9976
9977 if test x"$enablestring" = xdisable; then
9978 if test $wxUSE_DATEPICKCTRL = yes; then
9979 result=no
9980 else
9981 result=yes
9982 fi
9983 else
9984 result=$wxUSE_DATEPICKCTRL
9985 fi
9986
9987 { echo "$as_me:$LINENO: result: $result" >&5
9988 echo "${ECHO_T}$result" >&6; }
9989
9990
9991 enablestring=
9992 defaultval=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x"$enablestring" = xdisable; then
9995 defaultval=yes
9996 else
9997 defaultval=no
9998 fi
9999 fi
10000
10001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10003 # Check whether --enable-dirpicker was given.
10004 if test "${enable_dirpicker+set}" = set; then
10005 enableval=$enable_dirpicker;
10006 if test "$enableval" = yes; then
10007 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10008 else
10009 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10010 fi
10011
10012 else
10013
10014 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10015
10016 fi
10017
10018
10019 eval "$wx_cv_use_dirpicker"
10020
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_DIRPICKERCTRL = yes; then
10023 result=no
10024 else
10025 result=yes
10026 fi
10027 else
10028 result=$wxUSE_DIRPICKERCTRL
10029 fi
10030
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10033
10034
10035 enablestring=
10036 defaultval=$wxUSE_ALL_FEATURES
10037 if test -z "$defaultval"; then
10038 if test x"$enablestring" = xdisable; then
10039 defaultval=yes
10040 else
10041 defaultval=no
10042 fi
10043 fi
10044
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10047 # Check whether --enable-display was given.
10048 if test "${enable_display+set}" = set; then
10049 enableval=$enable_display;
10050 if test "$enableval" = yes; then
10051 wx_cv_use_display='wxUSE_DISPLAY=yes'
10052 else
10053 wx_cv_use_display='wxUSE_DISPLAY=no'
10054 fi
10055
10056 else
10057
10058 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10059
10060 fi
10061
10062
10063 eval "$wx_cv_use_display"
10064
10065 if test x"$enablestring" = xdisable; then
10066 if test $wxUSE_DISPLAY = yes; then
10067 result=no
10068 else
10069 result=yes
10070 fi
10071 else
10072 result=$wxUSE_DISPLAY
10073 fi
10074
10075 { echo "$as_me:$LINENO: result: $result" >&5
10076 echo "${ECHO_T}$result" >&6; }
10077
10078
10079 enablestring=
10080 defaultval=$wxUSE_ALL_FEATURES
10081 if test -z "$defaultval"; then
10082 if test x"$enablestring" = xdisable; then
10083 defaultval=yes
10084 else
10085 defaultval=no
10086 fi
10087 fi
10088
10089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10091 # Check whether --enable-detect_sm was given.
10092 if test "${enable_detect_sm+set}" = set; then
10093 enableval=$enable_detect_sm;
10094 if test "$enableval" = yes; then
10095 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10096 else
10097 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10098 fi
10099
10100 else
10101
10102 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10103
10104 fi
10105
10106
10107 eval "$wx_cv_use_detect_sm"
10108
10109 if test x"$enablestring" = xdisable; then
10110 if test $wxUSE_DETECT_SM = yes; then
10111 result=no
10112 else
10113 result=yes
10114 fi
10115 else
10116 result=$wxUSE_DETECT_SM
10117 fi
10118
10119 { echo "$as_me:$LINENO: result: $result" >&5
10120 echo "${ECHO_T}$result" >&6; }
10121
10122
10123 enablestring=
10124 defaultval=$wxUSE_ALL_FEATURES
10125 if test -z "$defaultval"; then
10126 if test x"$enablestring" = xdisable; then
10127 defaultval=yes
10128 else
10129 defaultval=no
10130 fi
10131 fi
10132
10133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10135 # Check whether --enable-editablebox was given.
10136 if test "${enable_editablebox+set}" = set; then
10137 enableval=$enable_editablebox;
10138 if test "$enableval" = yes; then
10139 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10140 else
10141 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10142 fi
10143
10144 else
10145
10146 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10147
10148 fi
10149
10150
10151 eval "$wx_cv_use_editablebox"
10152
10153 if test x"$enablestring" = xdisable; then
10154 if test $wxUSE_EDITABLELISTBOX = yes; then
10155 result=no
10156 else
10157 result=yes
10158 fi
10159 else
10160 result=$wxUSE_EDITABLELISTBOX
10161 fi
10162
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10165
10166
10167 enablestring=
10168 defaultval=$wxUSE_ALL_FEATURES
10169 if test -z "$defaultval"; then
10170 if test x"$enablestring" = xdisable; then
10171 defaultval=yes
10172 else
10173 defaultval=no
10174 fi
10175 fi
10176
10177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10179 # Check whether --enable-filepicker was given.
10180 if test "${enable_filepicker+set}" = set; then
10181 enableval=$enable_filepicker;
10182 if test "$enableval" = yes; then
10183 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10184 else
10185 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10186 fi
10187
10188 else
10189
10190 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10191
10192 fi
10193
10194
10195 eval "$wx_cv_use_filepicker"
10196
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_FILEPICKERCTRL = yes; then
10199 result=no
10200 else
10201 result=yes
10202 fi
10203 else
10204 result=$wxUSE_FILEPICKERCTRL
10205 fi
10206
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10209
10210
10211 enablestring=
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10215 defaultval=yes
10216 else
10217 defaultval=no
10218 fi
10219 fi
10220
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10223 # Check whether --enable-filectrl was given.
10224 if test "${enable_filectrl+set}" = set; then
10225 enableval=$enable_filectrl;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10228 else
10229 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10230 fi
10231
10232 else
10233
10234 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10235
10236 fi
10237
10238
10239 eval "$wx_cv_use_filectrl"
10240
10241 if test x"$enablestring" = xdisable; then
10242 if test $wxUSE_FILECTRL = yes; then
10243 result=no
10244 else
10245 result=yes
10246 fi
10247 else
10248 result=$wxUSE_FILECTRL
10249 fi
10250
10251 { echo "$as_me:$LINENO: result: $result" >&5
10252 echo "${ECHO_T}$result" >&6; }
10253
10254
10255 enablestring=
10256 defaultval=$wxUSE_ALL_FEATURES
10257 if test -z "$defaultval"; then
10258 if test x"$enablestring" = xdisable; then
10259 defaultval=yes
10260 else
10261 defaultval=no
10262 fi
10263 fi
10264
10265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10267 # Check whether --enable-fontpicker was given.
10268 if test "${enable_fontpicker+set}" = set; then
10269 enableval=$enable_fontpicker;
10270 if test "$enableval" = yes; then
10271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10272 else
10273 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10274 fi
10275
10276 else
10277
10278 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10279
10280 fi
10281
10282
10283 eval "$wx_cv_use_fontpicker"
10284
10285 if test x"$enablestring" = xdisable; then
10286 if test $wxUSE_FONTPICKERCTRL = yes; then
10287 result=no
10288 else
10289 result=yes
10290 fi
10291 else
10292 result=$wxUSE_FONTPICKERCTRL
10293 fi
10294
10295 { echo "$as_me:$LINENO: result: $result" >&5
10296 echo "${ECHO_T}$result" >&6; }
10297
10298
10299 enablestring=
10300 defaultval=$wxUSE_ALL_FEATURES
10301 if test -z "$defaultval"; then
10302 if test x"$enablestring" = xdisable; then
10303 defaultval=yes
10304 else
10305 defaultval=no
10306 fi
10307 fi
10308
10309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10310 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10311 # Check whether --enable-gauge was given.
10312 if test "${enable_gauge+set}" = set; then
10313 enableval=$enable_gauge;
10314 if test "$enableval" = yes; then
10315 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10316 else
10317 wx_cv_use_gauge='wxUSE_GAUGE=no'
10318 fi
10319
10320 else
10321
10322 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10323
10324 fi
10325
10326
10327 eval "$wx_cv_use_gauge"
10328
10329 if test x"$enablestring" = xdisable; then
10330 if test $wxUSE_GAUGE = yes; then
10331 result=no
10332 else
10333 result=yes
10334 fi
10335 else
10336 result=$wxUSE_GAUGE
10337 fi
10338
10339 { echo "$as_me:$LINENO: result: $result" >&5
10340 echo "${ECHO_T}$result" >&6; }
10341
10342
10343 enablestring=
10344 defaultval=$wxUSE_ALL_FEATURES
10345 if test -z "$defaultval"; then
10346 if test x"$enablestring" = xdisable; then
10347 defaultval=yes
10348 else
10349 defaultval=no
10350 fi
10351 fi
10352
10353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10354 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10355 # Check whether --enable-grid was given.
10356 if test "${enable_grid+set}" = set; then
10357 enableval=$enable_grid;
10358 if test "$enableval" = yes; then
10359 wx_cv_use_grid='wxUSE_GRID=yes'
10360 else
10361 wx_cv_use_grid='wxUSE_GRID=no'
10362 fi
10363
10364 else
10365
10366 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10367
10368 fi
10369
10370
10371 eval "$wx_cv_use_grid"
10372
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_GRID = yes; then
10375 result=no
10376 else
10377 result=yes
10378 fi
10379 else
10380 result=$wxUSE_GRID
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}-dataviewctrl" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10399 # Check whether --enable-dataviewctrl was given.
10400 if test "${enable_dataviewctrl+set}" = set; then
10401 enableval=$enable_dataviewctrl;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10404 else
10405 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10406 fi
10407
10408 else
10409
10410 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10411
10412 fi
10413
10414
10415 eval "$wx_cv_use_dataviewctrl"
10416
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_DATAVIEWCTRL = yes; then
10419 result=no
10420 else
10421 result=yes
10422 fi
10423 else
10424 result=$wxUSE_DATAVIEWCTRL
10425 fi
10426
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10429
10430
10431 enablestring=
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10435 defaultval=yes
10436 else
10437 defaultval=no
10438 fi
10439 fi
10440
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10443 # Check whether --enable-hyperlink was given.
10444 if test "${enable_hyperlink+set}" = set; then
10445 enableval=$enable_hyperlink;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10448 else
10449 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10450 fi
10451
10452 else
10453
10454 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10455
10456 fi
10457
10458
10459 eval "$wx_cv_use_hyperlink"
10460
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_HYPERLINKCTRL = yes; then
10463 result=no
10464 else
10465 result=yes
10466 fi
10467 else
10468 result=$wxUSE_HYPERLINKCTRL
10469 fi
10470
10471 { echo "$as_me:$LINENO: result: $result" >&5
10472 echo "${ECHO_T}$result" >&6; }
10473
10474
10475 enablestring=
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z "$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10479 defaultval=yes
10480 else
10481 defaultval=no
10482 fi
10483 fi
10484
10485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10487 # Check whether --enable-imaglist was given.
10488 if test "${enable_imaglist+set}" = set; then
10489 enableval=$enable_imaglist;
10490 if test "$enableval" = yes; then
10491 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10492 else
10493 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10494 fi
10495
10496 else
10497
10498 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10499
10500 fi
10501
10502
10503 eval "$wx_cv_use_imaglist"
10504
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_IMAGLIST = yes; then
10507 result=no
10508 else
10509 result=yes
10510 fi
10511 else
10512 result=$wxUSE_IMAGLIST
10513 fi
10514
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10517
10518
10519 enablestring=
10520 defaultval=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x"$enablestring" = xdisable; then
10523 defaultval=yes
10524 else
10525 defaultval=no
10526 fi
10527 fi
10528
10529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10530 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10531 # Check whether --enable-listbook was given.
10532 if test "${enable_listbook+set}" = set; then
10533 enableval=$enable_listbook;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10536 else
10537 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10538 fi
10539
10540 else
10541
10542 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10543
10544 fi
10545
10546
10547 eval "$wx_cv_use_listbook"
10548
10549 if test x"$enablestring" = xdisable; then
10550 if test $wxUSE_LISTBOOK = yes; then
10551 result=no
10552 else
10553 result=yes
10554 fi
10555 else
10556 result=$wxUSE_LISTBOOK
10557 fi
10558
10559 { echo "$as_me:$LINENO: result: $result" >&5
10560 echo "${ECHO_T}$result" >&6; }
10561
10562
10563 enablestring=
10564 defaultval=$wxUSE_ALL_FEATURES
10565 if test -z "$defaultval"; then
10566 if test x"$enablestring" = xdisable; then
10567 defaultval=yes
10568 else
10569 defaultval=no
10570 fi
10571 fi
10572
10573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10574 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10575 # Check whether --enable-listbox was given.
10576 if test "${enable_listbox+set}" = set; then
10577 enableval=$enable_listbox;
10578 if test "$enableval" = yes; then
10579 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10580 else
10581 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10582 fi
10583
10584 else
10585
10586 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10587
10588 fi
10589
10590
10591 eval "$wx_cv_use_listbox"
10592
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_LISTBOX = yes; then
10595 result=no
10596 else
10597 result=yes
10598 fi
10599 else
10600 result=$wxUSE_LISTBOX
10601 fi
10602
10603 { echo "$as_me:$LINENO: result: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10605
10606
10607 enablestring=
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10611 defaultval=yes
10612 else
10613 defaultval=no
10614 fi
10615 fi
10616
10617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10618 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10619 # Check whether --enable-listctrl was given.
10620 if test "${enable_listctrl+set}" = set; then
10621 enableval=$enable_listctrl;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10624 else
10625 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10626 fi
10627
10628 else
10629
10630 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10631
10632 fi
10633
10634
10635 eval "$wx_cv_use_listctrl"
10636
10637 if test x"$enablestring" = xdisable; then
10638 if test $wxUSE_LISTCTRL = yes; then
10639 result=no
10640 else
10641 result=yes
10642 fi
10643 else
10644 result=$wxUSE_LISTCTRL
10645 fi
10646
10647 { echo "$as_me:$LINENO: result: $result" >&5
10648 echo "${ECHO_T}$result" >&6; }
10649
10650
10651 enablestring=
10652 defaultval=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x"$enablestring" = xdisable; then
10655 defaultval=yes
10656 else
10657 defaultval=no
10658 fi
10659 fi
10660
10661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10662 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10663 # Check whether --enable-notebook was given.
10664 if test "${enable_notebook+set}" = set; then
10665 enableval=$enable_notebook;
10666 if test "$enableval" = yes; then
10667 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10668 else
10669 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10670 fi
10671
10672 else
10673
10674 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10675
10676 fi
10677
10678
10679 eval "$wx_cv_use_notebook"
10680
10681 if test x"$enablestring" = xdisable; then
10682 if test $wxUSE_NOTEBOOK = yes; then
10683 result=no
10684 else
10685 result=yes
10686 fi
10687 else
10688 result=$wxUSE_NOTEBOOK
10689 fi
10690
10691 { echo "$as_me:$LINENO: result: $result" >&5
10692 echo "${ECHO_T}$result" >&6; }
10693
10694
10695 enablestring=
10696 defaultval=$wxUSE_ALL_FEATURES
10697 if test -z "$defaultval"; then
10698 if test x"$enablestring" = xdisable; then
10699 defaultval=yes
10700 else
10701 defaultval=no
10702 fi
10703 fi
10704
10705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10707 # Check whether --enable-odcombobox was given.
10708 if test "${enable_odcombobox+set}" = set; then
10709 enableval=$enable_odcombobox;
10710 if test "$enableval" = yes; then
10711 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10712 else
10713 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10714 fi
10715
10716 else
10717
10718 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10719
10720 fi
10721
10722
10723 eval "$wx_cv_use_odcombobox"
10724
10725 if test x"$enablestring" = xdisable; then
10726 if test $wxUSE_ODCOMBOBOX = yes; then
10727 result=no
10728 else
10729 result=yes
10730 fi
10731 else
10732 result=$wxUSE_ODCOMBOBOX
10733 fi
10734
10735 { echo "$as_me:$LINENO: result: $result" >&5
10736 echo "${ECHO_T}$result" >&6; }
10737
10738
10739 enablestring=
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10743 defaultval=yes
10744 else
10745 defaultval=no
10746 fi
10747 fi
10748
10749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10750 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10751 # Check whether --enable-radiobox was given.
10752 if test "${enable_radiobox+set}" = set; then
10753 enableval=$enable_radiobox;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10756 else
10757 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10758 fi
10759
10760 else
10761
10762 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10763
10764 fi
10765
10766
10767 eval "$wx_cv_use_radiobox"
10768
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_RADIOBOX = yes; then
10771 result=no
10772 else
10773 result=yes
10774 fi
10775 else
10776 result=$wxUSE_RADIOBOX
10777 fi
10778
10779 { echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6; }
10781
10782
10783 enablestring=
10784 defaultval=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x"$enablestring" = xdisable; then
10787 defaultval=yes
10788 else
10789 defaultval=no
10790 fi
10791 fi
10792
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10795 # Check whether --enable-radiobtn was given.
10796 if test "${enable_radiobtn+set}" = set; then
10797 enableval=$enable_radiobtn;
10798 if test "$enableval" = yes; then
10799 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10800 else
10801 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10802 fi
10803
10804 else
10805
10806 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10807
10808 fi
10809
10810
10811 eval "$wx_cv_use_radiobtn"
10812
10813 if test x"$enablestring" = xdisable; then
10814 if test $wxUSE_RADIOBTN = yes; then
10815 result=no
10816 else
10817 result=yes
10818 fi
10819 else
10820 result=$wxUSE_RADIOBTN
10821 fi
10822
10823 { echo "$as_me:$LINENO: result: $result" >&5
10824 echo "${ECHO_T}$result" >&6; }
10825
10826
10827 enablestring=
10828 defaultval=$wxUSE_ALL_FEATURES
10829 if test -z "$defaultval"; then
10830 if test x"$enablestring" = xdisable; then
10831 defaultval=yes
10832 else
10833 defaultval=no
10834 fi
10835 fi
10836
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10839 # Check whether --enable-sash was given.
10840 if test "${enable_sash+set}" = set; then
10841 enableval=$enable_sash;
10842 if test "$enableval" = yes; then
10843 wx_cv_use_sash='wxUSE_SASH=yes'
10844 else
10845 wx_cv_use_sash='wxUSE_SASH=no'
10846 fi
10847
10848 else
10849
10850 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10851
10852 fi
10853
10854
10855 eval "$wx_cv_use_sash"
10856
10857 if test x"$enablestring" = xdisable; then
10858 if test $wxUSE_SASH = yes; then
10859 result=no
10860 else
10861 result=yes
10862 fi
10863 else
10864 result=$wxUSE_SASH
10865 fi
10866
10867 { echo "$as_me:$LINENO: result: $result" >&5
10868 echo "${ECHO_T}$result" >&6; }
10869
10870
10871 enablestring=
10872 defaultval=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x"$enablestring" = xdisable; then
10875 defaultval=yes
10876 else
10877 defaultval=no
10878 fi
10879 fi
10880
10881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10882 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10883 # Check whether --enable-scrollbar was given.
10884 if test "${enable_scrollbar+set}" = set; then
10885 enableval=$enable_scrollbar;
10886 if test "$enableval" = yes; then
10887 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10888 else
10889 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10890 fi
10891
10892 else
10893
10894 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10895
10896 fi
10897
10898
10899 eval "$wx_cv_use_scrollbar"
10900
10901 if test x"$enablestring" = xdisable; then
10902 if test $wxUSE_SCROLLBAR = yes; then
10903 result=no
10904 else
10905 result=yes
10906 fi
10907 else
10908 result=$wxUSE_SCROLLBAR
10909 fi
10910
10911 { echo "$as_me:$LINENO: result: $result" >&5
10912 echo "${ECHO_T}$result" >&6; }
10913
10914
10915 enablestring=
10916 defaultval=$wxUSE_ALL_FEATURES
10917 if test -z "$defaultval"; then
10918 if test x"$enablestring" = xdisable; then
10919 defaultval=yes
10920 else
10921 defaultval=no
10922 fi
10923 fi
10924
10925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10927 # Check whether --enable-searchctrl was given.
10928 if test "${enable_searchctrl+set}" = set; then
10929 enableval=$enable_searchctrl;
10930 if test "$enableval" = yes; then
10931 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10932 else
10933 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10934 fi
10935
10936 else
10937
10938 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10939
10940 fi
10941
10942
10943 eval "$wx_cv_use_searchctrl"
10944
10945 if test x"$enablestring" = xdisable; then
10946 if test $wxUSE_SEARCHCTRL = yes; then
10947 result=no
10948 else
10949 result=yes
10950 fi
10951 else
10952 result=$wxUSE_SEARCHCTRL
10953 fi
10954
10955 { echo "$as_me:$LINENO: result: $result" >&5
10956 echo "${ECHO_T}$result" >&6; }
10957
10958
10959 enablestring=
10960 defaultval=$wxUSE_ALL_FEATURES
10961 if test -z "$defaultval"; then
10962 if test x"$enablestring" = xdisable; then
10963 defaultval=yes
10964 else
10965 defaultval=no
10966 fi
10967 fi
10968
10969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10970 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10971 # Check whether --enable-slider was given.
10972 if test "${enable_slider+set}" = set; then
10973 enableval=$enable_slider;
10974 if test "$enableval" = yes; then
10975 wx_cv_use_slider='wxUSE_SLIDER=yes'
10976 else
10977 wx_cv_use_slider='wxUSE_SLIDER=no'
10978 fi
10979
10980 else
10981
10982 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
10983
10984 fi
10985
10986
10987 eval "$wx_cv_use_slider"
10988
10989 if test x"$enablestring" = xdisable; then
10990 if test $wxUSE_SLIDER = yes; then
10991 result=no
10992 else
10993 result=yes
10994 fi
10995 else
10996 result=$wxUSE_SLIDER
10997 fi
10998
10999 { echo "$as_me:$LINENO: result: $result" >&5
11000 echo "${ECHO_T}$result" >&6; }
11001
11002
11003 enablestring=
11004 defaultval=$wxUSE_ALL_FEATURES
11005 if test -z "$defaultval"; then
11006 if test x"$enablestring" = xdisable; then
11007 defaultval=yes
11008 else
11009 defaultval=no
11010 fi
11011 fi
11012
11013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11014 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11015 # Check whether --enable-spinbtn was given.
11016 if test "${enable_spinbtn+set}" = set; then
11017 enableval=$enable_spinbtn;
11018 if test "$enableval" = yes; then
11019 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11020 else
11021 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11022 fi
11023
11024 else
11025
11026 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11027
11028 fi
11029
11030
11031 eval "$wx_cv_use_spinbtn"
11032
11033 if test x"$enablestring" = xdisable; then
11034 if test $wxUSE_SPINBTN = yes; then
11035 result=no
11036 else
11037 result=yes
11038 fi
11039 else
11040 result=$wxUSE_SPINBTN
11041 fi
11042
11043 { echo "$as_me:$LINENO: result: $result" >&5
11044 echo "${ECHO_T}$result" >&6; }
11045
11046
11047 enablestring=
11048 defaultval=$wxUSE_ALL_FEATURES
11049 if test -z "$defaultval"; then
11050 if test x"$enablestring" = xdisable; then
11051 defaultval=yes
11052 else
11053 defaultval=no
11054 fi
11055 fi
11056
11057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11058 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11059 # Check whether --enable-spinctrl was given.
11060 if test "${enable_spinctrl+set}" = set; then
11061 enableval=$enable_spinctrl;
11062 if test "$enableval" = yes; then
11063 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11064 else
11065 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11066 fi
11067
11068 else
11069
11070 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11071
11072 fi
11073
11074
11075 eval "$wx_cv_use_spinctrl"
11076
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_SPINCTRL = yes; then
11079 result=no
11080 else
11081 result=yes
11082 fi
11083 else
11084 result=$wxUSE_SPINCTRL
11085 fi
11086
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11089
11090
11091 enablestring=
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11095 defaultval=yes
11096 else
11097 defaultval=no
11098 fi
11099 fi
11100
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11103 # Check whether --enable-splitter was given.
11104 if test "${enable_splitter+set}" = set; then
11105 enableval=$enable_splitter;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11108 else
11109 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11110 fi
11111
11112 else
11113
11114 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11115
11116 fi
11117
11118
11119 eval "$wx_cv_use_splitter"
11120
11121 if test x"$enablestring" = xdisable; then
11122 if test $wxUSE_SPLITTER = yes; then
11123 result=no
11124 else
11125 result=yes
11126 fi
11127 else
11128 result=$wxUSE_SPLITTER
11129 fi
11130
11131 { echo "$as_me:$LINENO: result: $result" >&5
11132 echo "${ECHO_T}$result" >&6; }
11133
11134
11135 enablestring=
11136 defaultval=$wxUSE_ALL_FEATURES
11137 if test -z "$defaultval"; then
11138 if test x"$enablestring" = xdisable; then
11139 defaultval=yes
11140 else
11141 defaultval=no
11142 fi
11143 fi
11144
11145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11146 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11147 # Check whether --enable-statbmp was given.
11148 if test "${enable_statbmp+set}" = set; then
11149 enableval=$enable_statbmp;
11150 if test "$enableval" = yes; then
11151 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11152 else
11153 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11154 fi
11155
11156 else
11157
11158 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11159
11160 fi
11161
11162
11163 eval "$wx_cv_use_statbmp"
11164
11165 if test x"$enablestring" = xdisable; then
11166 if test $wxUSE_STATBMP = yes; then
11167 result=no
11168 else
11169 result=yes
11170 fi
11171 else
11172 result=$wxUSE_STATBMP
11173 fi
11174
11175 { echo "$as_me:$LINENO: result: $result" >&5
11176 echo "${ECHO_T}$result" >&6; }
11177
11178
11179 enablestring=
11180 defaultval=$wxUSE_ALL_FEATURES
11181 if test -z "$defaultval"; then
11182 if test x"$enablestring" = xdisable; then
11183 defaultval=yes
11184 else
11185 defaultval=no
11186 fi
11187 fi
11188
11189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11190 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11191 # Check whether --enable-statbox was given.
11192 if test "${enable_statbox+set}" = set; then
11193 enableval=$enable_statbox;
11194 if test "$enableval" = yes; then
11195 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11196 else
11197 wx_cv_use_statbox='wxUSE_STATBOX=no'
11198 fi
11199
11200 else
11201
11202 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11203
11204 fi
11205
11206
11207 eval "$wx_cv_use_statbox"
11208
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_STATBOX = yes; then
11211 result=no
11212 else
11213 result=yes
11214 fi
11215 else
11216 result=$wxUSE_STATBOX
11217 fi
11218
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11221
11222
11223 enablestring=
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11227 defaultval=yes
11228 else
11229 defaultval=no
11230 fi
11231 fi
11232
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11235 # Check whether --enable-statline was given.
11236 if test "${enable_statline+set}" = set; then
11237 enableval=$enable_statline;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_statline='wxUSE_STATLINE=yes'
11240 else
11241 wx_cv_use_statline='wxUSE_STATLINE=no'
11242 fi
11243
11244 else
11245
11246 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11247
11248 fi
11249
11250
11251 eval "$wx_cv_use_statline"
11252
11253 if test x"$enablestring" = xdisable; then
11254 if test $wxUSE_STATLINE = yes; then
11255 result=no
11256 else
11257 result=yes
11258 fi
11259 else
11260 result=$wxUSE_STATLINE
11261 fi
11262
11263 { echo "$as_me:$LINENO: result: $result" >&5
11264 echo "${ECHO_T}$result" >&6; }
11265
11266
11267 enablestring=
11268 defaultval=$wxUSE_ALL_FEATURES
11269 if test -z "$defaultval"; then
11270 if test x"$enablestring" = xdisable; then
11271 defaultval=yes
11272 else
11273 defaultval=no
11274 fi
11275 fi
11276
11277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11279 # Check whether --enable-stattext was given.
11280 if test "${enable_stattext+set}" = set; then
11281 enableval=$enable_stattext;
11282 if test "$enableval" = yes; then
11283 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11284 else
11285 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11286 fi
11287
11288 else
11289
11290 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11291
11292 fi
11293
11294
11295 eval "$wx_cv_use_stattext"
11296
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_STATTEXT = yes; then
11299 result=no
11300 else
11301 result=yes
11302 fi
11303 else
11304 result=$wxUSE_STATTEXT
11305 fi
11306
11307 { echo "$as_me:$LINENO: result: $result" >&5
11308 echo "${ECHO_T}$result" >&6; }
11309
11310
11311 enablestring=
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11315 defaultval=yes
11316 else
11317 defaultval=no
11318 fi
11319 fi
11320
11321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11323 # Check whether --enable-statusbar was given.
11324 if test "${enable_statusbar+set}" = set; then
11325 enableval=$enable_statusbar;
11326 if test "$enableval" = yes; then
11327 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11328 else
11329 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11330 fi
11331
11332 else
11333
11334 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11335
11336 fi
11337
11338
11339 eval "$wx_cv_use_statusbar"
11340
11341 if test x"$enablestring" = xdisable; then
11342 if test $wxUSE_STATUSBAR = yes; then
11343 result=no
11344 else
11345 result=yes
11346 fi
11347 else
11348 result=$wxUSE_STATUSBAR
11349 fi
11350
11351 { echo "$as_me:$LINENO: result: $result" >&5
11352 echo "${ECHO_T}$result" >&6; }
11353
11354
11355 enablestring=
11356 defaultval=$wxUSE_ALL_FEATURES
11357 if test -z "$defaultval"; then
11358 if test x"$enablestring" = xdisable; then
11359 defaultval=yes
11360 else
11361 defaultval=no
11362 fi
11363 fi
11364
11365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11367 # Check whether --enable-tabdialog was given.
11368 if test "${enable_tabdialog+set}" = set; then
11369 enableval=$enable_tabdialog;
11370 if test "$enableval" = yes; then
11371 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11372 else
11373 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11374 fi
11375
11376 else
11377
11378 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11379
11380 fi
11381
11382
11383 eval "$wx_cv_use_tabdialog"
11384
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_TAB_DIALOG = yes; then
11387 result=no
11388 else
11389 result=yes
11390 fi
11391 else
11392 result=$wxUSE_TAB_DIALOG
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}-taskbaricon" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11411 # Check whether --enable-taskbaricon was given.
11412 if test "${enable_taskbaricon+set}" = set; then
11413 enableval=$enable_taskbaricon;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11416 else
11417 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11418 fi
11419
11420 else
11421
11422 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11423
11424 fi
11425
11426
11427 eval "$wx_cv_use_taskbaricon"
11428
11429 if test x"$enablestring" = xdisable; then
11430 if test $wxUSE_TASKBARICON = yes; then
11431 result=no
11432 else
11433 result=yes
11434 fi
11435 else
11436 result=$wxUSE_TASKBARICON
11437 fi
11438
11439 { echo "$as_me:$LINENO: result: $result" >&5
11440 echo "${ECHO_T}$result" >&6; }
11441
11442
11443 enablestring=
11444 defaultval=$wxUSE_ALL_FEATURES
11445 if test -z "$defaultval"; then
11446 if test x"$enablestring" = xdisable; then
11447 defaultval=yes
11448 else
11449 defaultval=no
11450 fi
11451 fi
11452
11453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11454 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11455 # Check whether --enable-textctrl was given.
11456 if test "${enable_textctrl+set}" = set; then
11457 enableval=$enable_textctrl;
11458 if test "$enableval" = yes; then
11459 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11460 else
11461 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11462 fi
11463
11464 else
11465
11466 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11467
11468 fi
11469
11470
11471 eval "$wx_cv_use_textctrl"
11472
11473 if test x"$enablestring" = xdisable; then
11474 if test $wxUSE_TEXTCTRL = yes; then
11475 result=no
11476 else
11477 result=yes
11478 fi
11479 else
11480 result=$wxUSE_TEXTCTRL
11481 fi
11482
11483 { echo "$as_me:$LINENO: result: $result" >&5
11484 echo "${ECHO_T}$result" >&6; }
11485
11486
11487 enablestring=
11488 defaultval=$wxUSE_ALL_FEATURES
11489 if test -z "$defaultval"; then
11490 if test x"$enablestring" = xdisable; then
11491 defaultval=yes
11492 else
11493 defaultval=no
11494 fi
11495 fi
11496
11497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11498 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11499 # Check whether --enable-togglebtn was given.
11500 if test "${enable_togglebtn+set}" = set; then
11501 enableval=$enable_togglebtn;
11502 if test "$enableval" = yes; then
11503 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11504 else
11505 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11506 fi
11507
11508 else
11509
11510 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11511
11512 fi
11513
11514
11515 eval "$wx_cv_use_togglebtn"
11516
11517 if test x"$enablestring" = xdisable; then
11518 if test $wxUSE_TOGGLEBTN = yes; then
11519 result=no
11520 else
11521 result=yes
11522 fi
11523 else
11524 result=$wxUSE_TOGGLEBTN
11525 fi
11526
11527 { echo "$as_me:$LINENO: result: $result" >&5
11528 echo "${ECHO_T}$result" >&6; }
11529
11530
11531 enablestring=
11532 defaultval=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x"$enablestring" = xdisable; then
11535 defaultval=yes
11536 else
11537 defaultval=no
11538 fi
11539 fi
11540
11541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11543 # Check whether --enable-toolbar was given.
11544 if test "${enable_toolbar+set}" = set; then
11545 enableval=$enable_toolbar;
11546 if test "$enableval" = yes; then
11547 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11548 else
11549 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11550 fi
11551
11552 else
11553
11554 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11555
11556 fi
11557
11558
11559 eval "$wx_cv_use_toolbar"
11560
11561 if test x"$enablestring" = xdisable; then
11562 if test $wxUSE_TOOLBAR = yes; then
11563 result=no
11564 else
11565 result=yes
11566 fi
11567 else
11568 result=$wxUSE_TOOLBAR
11569 fi
11570
11571 { echo "$as_me:$LINENO: result: $result" >&5
11572 echo "${ECHO_T}$result" >&6; }
11573
11574
11575 enablestring=
11576 defaultval=$wxUSE_ALL_FEATURES
11577 if test -z "$defaultval"; then
11578 if test x"$enablestring" = xdisable; then
11579 defaultval=yes
11580 else
11581 defaultval=no
11582 fi
11583 fi
11584
11585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11586 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11587 # Check whether --enable-tbarnative was given.
11588 if test "${enable_tbarnative+set}" = set; then
11589 enableval=$enable_tbarnative;
11590 if test "$enableval" = yes; then
11591 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11592 else
11593 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11594 fi
11595
11596 else
11597
11598 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11599
11600 fi
11601
11602
11603 eval "$wx_cv_use_tbarnative"
11604
11605 if test x"$enablestring" = xdisable; then
11606 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11607 result=no
11608 else
11609 result=yes
11610 fi
11611 else
11612 result=$wxUSE_TOOLBAR_NATIVE
11613 fi
11614
11615 { echo "$as_me:$LINENO: result: $result" >&5
11616 echo "${ECHO_T}$result" >&6; }
11617
11618
11619 enablestring=
11620 defaultval=$wxUSE_ALL_FEATURES
11621 if test -z "$defaultval"; then
11622 if test x"$enablestring" = xdisable; then
11623 defaultval=yes
11624 else
11625 defaultval=no
11626 fi
11627 fi
11628
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11631 # Check whether --enable-treebook was given.
11632 if test "${enable_treebook+set}" = set; then
11633 enableval=$enable_treebook;
11634 if test "$enableval" = yes; then
11635 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11636 else
11637 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11638 fi
11639
11640 else
11641
11642 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11643
11644 fi
11645
11646
11647 eval "$wx_cv_use_treebook"
11648
11649 if test x"$enablestring" = xdisable; then
11650 if test $wxUSE_TREEBOOK = yes; then
11651 result=no
11652 else
11653 result=yes
11654 fi
11655 else
11656 result=$wxUSE_TREEBOOK
11657 fi
11658
11659 { echo "$as_me:$LINENO: result: $result" >&5
11660 echo "${ECHO_T}$result" >&6; }
11661
11662
11663 enablestring=
11664 defaultval=$wxUSE_ALL_FEATURES
11665 if test -z "$defaultval"; then
11666 if test x"$enablestring" = xdisable; then
11667 defaultval=yes
11668 else
11669 defaultval=no
11670 fi
11671 fi
11672
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11675 # Check whether --enable-toolbook was given.
11676 if test "${enable_toolbook+set}" = set; then
11677 enableval=$enable_toolbook;
11678 if test "$enableval" = yes; then
11679 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11680 else
11681 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11682 fi
11683
11684 else
11685
11686 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11687
11688 fi
11689
11690
11691 eval "$wx_cv_use_toolbook"
11692
11693 if test x"$enablestring" = xdisable; then
11694 if test $wxUSE_TOOLBOOK = yes; then
11695 result=no
11696 else
11697 result=yes
11698 fi
11699 else
11700 result=$wxUSE_TOOLBOOK
11701 fi
11702
11703 { echo "$as_me:$LINENO: result: $result" >&5
11704 echo "${ECHO_T}$result" >&6; }
11705
11706
11707 enablestring=
11708 defaultval=$wxUSE_ALL_FEATURES
11709 if test -z "$defaultval"; then
11710 if test x"$enablestring" = xdisable; then
11711 defaultval=yes
11712 else
11713 defaultval=no
11714 fi
11715 fi
11716
11717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11718 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11719 # Check whether --enable-treectrl was given.
11720 if test "${enable_treectrl+set}" = set; then
11721 enableval=$enable_treectrl;
11722 if test "$enableval" = yes; then
11723 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11724 else
11725 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11726 fi
11727
11728 else
11729
11730 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11731
11732 fi
11733
11734
11735 eval "$wx_cv_use_treectrl"
11736
11737 if test x"$enablestring" = xdisable; then
11738 if test $wxUSE_TREECTRL = yes; then
11739 result=no
11740 else
11741 result=yes
11742 fi
11743 else
11744 result=$wxUSE_TREECTRL
11745 fi
11746
11747 { echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6; }
11749
11750
11751 enablestring=
11752 defaultval=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x"$enablestring" = xdisable; then
11755 defaultval=yes
11756 else
11757 defaultval=no
11758 fi
11759 fi
11760
11761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11763 # Check whether --enable-tipwindow was given.
11764 if test "${enable_tipwindow+set}" = set; then
11765 enableval=$enable_tipwindow;
11766 if test "$enableval" = yes; then
11767 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11768 else
11769 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11770 fi
11771
11772 else
11773
11774 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11775
11776 fi
11777
11778
11779 eval "$wx_cv_use_tipwindow"
11780
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_TIPWINDOW = yes; then
11783 result=no
11784 else
11785 result=yes
11786 fi
11787 else
11788 result=$wxUSE_TIPWINDOW
11789 fi
11790
11791 { echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11793
11794
11795 enablestring=
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11799 defaultval=yes
11800 else
11801 defaultval=no
11802 fi
11803 fi
11804
11805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11807 # Check whether --enable-popupwin was given.
11808 if test "${enable_popupwin+set}" = set; then
11809 enableval=$enable_popupwin;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11812 else
11813 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11814 fi
11815
11816 else
11817
11818 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11819
11820 fi
11821
11822
11823 eval "$wx_cv_use_popupwin"
11824
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_POPUPWIN = yes; then
11827 result=no
11828 else
11829 result=yes
11830 fi
11831 else
11832 result=$wxUSE_POPUPWIN
11833 fi
11834
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11837
11838
11839
11840
11841 enablestring=
11842 defaultval=$wxUSE_ALL_FEATURES
11843 if test -z "$defaultval"; then
11844 if test x"$enablestring" = xdisable; then
11845 defaultval=yes
11846 else
11847 defaultval=no
11848 fi
11849 fi
11850
11851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11852 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11853 # Check whether --enable-commondlg was given.
11854 if test "${enable_commondlg+set}" = set; then
11855 enableval=$enable_commondlg;
11856 if test "$enableval" = yes; then
11857 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11858 else
11859 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11860 fi
11861
11862 else
11863
11864 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11865
11866 fi
11867
11868
11869 eval "$wx_cv_use_commondlg"
11870
11871 if test x"$enablestring" = xdisable; then
11872 if test $wxUSE_COMMONDLGS = yes; then
11873 result=no
11874 else
11875 result=yes
11876 fi
11877 else
11878 result=$wxUSE_COMMONDLGS
11879 fi
11880
11881 { echo "$as_me:$LINENO: result: $result" >&5
11882 echo "${ECHO_T}$result" >&6; }
11883
11884
11885 enablestring=
11886 defaultval=$wxUSE_ALL_FEATURES
11887 if test -z "$defaultval"; then
11888 if test x"$enablestring" = xdisable; then
11889 defaultval=yes
11890 else
11891 defaultval=no
11892 fi
11893 fi
11894
11895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11896 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11897 # Check whether --enable-aboutdlg was given.
11898 if test "${enable_aboutdlg+set}" = set; then
11899 enableval=$enable_aboutdlg;
11900 if test "$enableval" = yes; then
11901 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11902 else
11903 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11904 fi
11905
11906 else
11907
11908 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11909
11910 fi
11911
11912
11913 eval "$wx_cv_use_aboutdlg"
11914
11915 if test x"$enablestring" = xdisable; then
11916 if test $wxUSE_ABOUTDLG = yes; then
11917 result=no
11918 else
11919 result=yes
11920 fi
11921 else
11922 result=$wxUSE_ABOUTDLG
11923 fi
11924
11925 { echo "$as_me:$LINENO: result: $result" >&5
11926 echo "${ECHO_T}$result" >&6; }
11927
11928
11929 enablestring=
11930 defaultval=$wxUSE_ALL_FEATURES
11931 if test -z "$defaultval"; then
11932 if test x"$enablestring" = xdisable; then
11933 defaultval=yes
11934 else
11935 defaultval=no
11936 fi
11937 fi
11938
11939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11940 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11941 # Check whether --enable-choicedlg was given.
11942 if test "${enable_choicedlg+set}" = set; then
11943 enableval=$enable_choicedlg;
11944 if test "$enableval" = yes; then
11945 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11946 else
11947 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11948 fi
11949
11950 else
11951
11952 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11953
11954 fi
11955
11956
11957 eval "$wx_cv_use_choicedlg"
11958
11959 if test x"$enablestring" = xdisable; then
11960 if test $wxUSE_CHOICEDLG = yes; then
11961 result=no
11962 else
11963 result=yes
11964 fi
11965 else
11966 result=$wxUSE_CHOICEDLG
11967 fi
11968
11969 { echo "$as_me:$LINENO: result: $result" >&5
11970 echo "${ECHO_T}$result" >&6; }
11971
11972
11973 enablestring=
11974 defaultval=$wxUSE_ALL_FEATURES
11975 if test -z "$defaultval"; then
11976 if test x"$enablestring" = xdisable; then
11977 defaultval=yes
11978 else
11979 defaultval=no
11980 fi
11981 fi
11982
11983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11984 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11985 # Check whether --enable-coldlg was given.
11986 if test "${enable_coldlg+set}" = set; then
11987 enableval=$enable_coldlg;
11988 if test "$enableval" = yes; then
11989 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11990 else
11991 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
11992 fi
11993
11994 else
11995
11996 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
11997
11998 fi
11999
12000
12001 eval "$wx_cv_use_coldlg"
12002
12003 if test x"$enablestring" = xdisable; then
12004 if test $wxUSE_COLOURDLG = yes; then
12005 result=no
12006 else
12007 result=yes
12008 fi
12009 else
12010 result=$wxUSE_COLOURDLG
12011 fi
12012
12013 { echo "$as_me:$LINENO: result: $result" >&5
12014 echo "${ECHO_T}$result" >&6; }
12015
12016
12017 enablestring=
12018 defaultval=$wxUSE_ALL_FEATURES
12019 if test -z "$defaultval"; then
12020 if test x"$enablestring" = xdisable; then
12021 defaultval=yes
12022 else
12023 defaultval=no
12024 fi
12025 fi
12026
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12029 # Check whether --enable-filedlg was given.
12030 if test "${enable_filedlg+set}" = set; then
12031 enableval=$enable_filedlg;
12032 if test "$enableval" = yes; then
12033 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12034 else
12035 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12036 fi
12037
12038 else
12039
12040 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12041
12042 fi
12043
12044
12045 eval "$wx_cv_use_filedlg"
12046
12047 if test x"$enablestring" = xdisable; then
12048 if test $wxUSE_FILEDLG = yes; then
12049 result=no
12050 else
12051 result=yes
12052 fi
12053 else
12054 result=$wxUSE_FILEDLG
12055 fi
12056
12057 { echo "$as_me:$LINENO: result: $result" >&5
12058 echo "${ECHO_T}$result" >&6; }
12059
12060
12061 enablestring=
12062 defaultval=$wxUSE_ALL_FEATURES
12063 if test -z "$defaultval"; then
12064 if test x"$enablestring" = xdisable; then
12065 defaultval=yes
12066 else
12067 defaultval=no
12068 fi
12069 fi
12070
12071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12072 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12073 # Check whether --enable-finddlg was given.
12074 if test "${enable_finddlg+set}" = set; then
12075 enableval=$enable_finddlg;
12076 if test "$enableval" = yes; then
12077 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12078 else
12079 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12080 fi
12081
12082 else
12083
12084 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12085
12086 fi
12087
12088
12089 eval "$wx_cv_use_finddlg"
12090
12091 if test x"$enablestring" = xdisable; then
12092 if test $wxUSE_FINDREPLDLG = yes; then
12093 result=no
12094 else
12095 result=yes
12096 fi
12097 else
12098 result=$wxUSE_FINDREPLDLG
12099 fi
12100
12101 { echo "$as_me:$LINENO: result: $result" >&5
12102 echo "${ECHO_T}$result" >&6; }
12103
12104
12105 enablestring=
12106 defaultval=$wxUSE_ALL_FEATURES
12107 if test -z "$defaultval"; then
12108 if test x"$enablestring" = xdisable; then
12109 defaultval=yes
12110 else
12111 defaultval=no
12112 fi
12113 fi
12114
12115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12116 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12117 # Check whether --enable-fontdlg was given.
12118 if test "${enable_fontdlg+set}" = set; then
12119 enableval=$enable_fontdlg;
12120 if test "$enableval" = yes; then
12121 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12122 else
12123 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12124 fi
12125
12126 else
12127
12128 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12129
12130 fi
12131
12132
12133 eval "$wx_cv_use_fontdlg"
12134
12135 if test x"$enablestring" = xdisable; then
12136 if test $wxUSE_FONTDLG = yes; then
12137 result=no
12138 else
12139 result=yes
12140 fi
12141 else
12142 result=$wxUSE_FONTDLG
12143 fi
12144
12145 { echo "$as_me:$LINENO: result: $result" >&5
12146 echo "${ECHO_T}$result" >&6; }
12147
12148
12149 enablestring=
12150 defaultval=$wxUSE_ALL_FEATURES
12151 if test -z "$defaultval"; then
12152 if test x"$enablestring" = xdisable; then
12153 defaultval=yes
12154 else
12155 defaultval=no
12156 fi
12157 fi
12158
12159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12160 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12161 # Check whether --enable-dirdlg was given.
12162 if test "${enable_dirdlg+set}" = set; then
12163 enableval=$enable_dirdlg;
12164 if test "$enableval" = yes; then
12165 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12166 else
12167 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12168 fi
12169
12170 else
12171
12172 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12173
12174 fi
12175
12176
12177 eval "$wx_cv_use_dirdlg"
12178
12179 if test x"$enablestring" = xdisable; then
12180 if test $wxUSE_DIRDLG = yes; then
12181 result=no
12182 else
12183 result=yes
12184 fi
12185 else
12186 result=$wxUSE_DIRDLG
12187 fi
12188
12189 { echo "$as_me:$LINENO: result: $result" >&5
12190 echo "${ECHO_T}$result" >&6; }
12191
12192
12193 enablestring=
12194 defaultval=$wxUSE_ALL_FEATURES
12195 if test -z "$defaultval"; then
12196 if test x"$enablestring" = xdisable; then
12197 defaultval=yes
12198 else
12199 defaultval=no
12200 fi
12201 fi
12202
12203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12204 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12205 # Check whether --enable-msgdlg was given.
12206 if test "${enable_msgdlg+set}" = set; then
12207 enableval=$enable_msgdlg;
12208 if test "$enableval" = yes; then
12209 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12210 else
12211 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12212 fi
12213
12214 else
12215
12216 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12217
12218 fi
12219
12220
12221 eval "$wx_cv_use_msgdlg"
12222
12223 if test x"$enablestring" = xdisable; then
12224 if test $wxUSE_MSGDLG = yes; then
12225 result=no
12226 else
12227 result=yes
12228 fi
12229 else
12230 result=$wxUSE_MSGDLG
12231 fi
12232
12233 { echo "$as_me:$LINENO: result: $result" >&5
12234 echo "${ECHO_T}$result" >&6; }
12235
12236
12237 enablestring=
12238 defaultval=$wxUSE_ALL_FEATURES
12239 if test -z "$defaultval"; then
12240 if test x"$enablestring" = xdisable; then
12241 defaultval=yes
12242 else
12243 defaultval=no
12244 fi
12245 fi
12246
12247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12248 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12249 # Check whether --enable-numberdlg was given.
12250 if test "${enable_numberdlg+set}" = set; then
12251 enableval=$enable_numberdlg;
12252 if test "$enableval" = yes; then
12253 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12254 else
12255 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12256 fi
12257
12258 else
12259
12260 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12261
12262 fi
12263
12264
12265 eval "$wx_cv_use_numberdlg"
12266
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_NUMBERDLG = yes; then
12269 result=no
12270 else
12271 result=yes
12272 fi
12273 else
12274 result=$wxUSE_NUMBERDLG
12275 fi
12276
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12279
12280
12281 enablestring=
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12285 defaultval=yes
12286 else
12287 defaultval=no
12288 fi
12289 fi
12290
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12293 # Check whether --enable-splash was given.
12294 if test "${enable_splash+set}" = set; then
12295 enableval=$enable_splash;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_splash='wxUSE_SPLASH=yes'
12298 else
12299 wx_cv_use_splash='wxUSE_SPLASH=no'
12300 fi
12301
12302 else
12303
12304 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12305
12306 fi
12307
12308
12309 eval "$wx_cv_use_splash"
12310
12311 if test x"$enablestring" = xdisable; then
12312 if test $wxUSE_SPLASH = yes; then
12313 result=no
12314 else
12315 result=yes
12316 fi
12317 else
12318 result=$wxUSE_SPLASH
12319 fi
12320
12321 { echo "$as_me:$LINENO: result: $result" >&5
12322 echo "${ECHO_T}$result" >&6; }
12323
12324
12325 enablestring=
12326 defaultval=$wxUSE_ALL_FEATURES
12327 if test -z "$defaultval"; then
12328 if test x"$enablestring" = xdisable; then
12329 defaultval=yes
12330 else
12331 defaultval=no
12332 fi
12333 fi
12334
12335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12336 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12337 # Check whether --enable-textdlg was given.
12338 if test "${enable_textdlg+set}" = set; then
12339 enableval=$enable_textdlg;
12340 if test "$enableval" = yes; then
12341 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12342 else
12343 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12344 fi
12345
12346 else
12347
12348 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12349
12350 fi
12351
12352
12353 eval "$wx_cv_use_textdlg"
12354
12355 if test x"$enablestring" = xdisable; then
12356 if test $wxUSE_TEXTDLG = yes; then
12357 result=no
12358 else
12359 result=yes
12360 fi
12361 else
12362 result=$wxUSE_TEXTDLG
12363 fi
12364
12365 { echo "$as_me:$LINENO: result: $result" >&5
12366 echo "${ECHO_T}$result" >&6; }
12367
12368
12369 enablestring=
12370 defaultval=$wxUSE_ALL_FEATURES
12371 if test -z "$defaultval"; then
12372 if test x"$enablestring" = xdisable; then
12373 defaultval=yes
12374 else
12375 defaultval=no
12376 fi
12377 fi
12378
12379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12380 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12381 # Check whether --enable-tipdlg was given.
12382 if test "${enable_tipdlg+set}" = set; then
12383 enableval=$enable_tipdlg;
12384 if test "$enableval" = yes; then
12385 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12386 else
12387 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12388 fi
12389
12390 else
12391
12392 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12393
12394 fi
12395
12396
12397 eval "$wx_cv_use_tipdlg"
12398
12399 if test x"$enablestring" = xdisable; then
12400 if test $wxUSE_STARTUP_TIPS = yes; then
12401 result=no
12402 else
12403 result=yes
12404 fi
12405 else
12406 result=$wxUSE_STARTUP_TIPS
12407 fi
12408
12409 { echo "$as_me:$LINENO: result: $result" >&5
12410 echo "${ECHO_T}$result" >&6; }
12411
12412
12413 enablestring=
12414 defaultval=$wxUSE_ALL_FEATURES
12415 if test -z "$defaultval"; then
12416 if test x"$enablestring" = xdisable; then
12417 defaultval=yes
12418 else
12419 defaultval=no
12420 fi
12421 fi
12422
12423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12424 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12425 # Check whether --enable-progressdlg was given.
12426 if test "${enable_progressdlg+set}" = set; then
12427 enableval=$enable_progressdlg;
12428 if test "$enableval" = yes; then
12429 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12430 else
12431 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12432 fi
12433
12434 else
12435
12436 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12437
12438 fi
12439
12440
12441 eval "$wx_cv_use_progressdlg"
12442
12443 if test x"$enablestring" = xdisable; then
12444 if test $wxUSE_PROGRESSDLG = yes; then
12445 result=no
12446 else
12447 result=yes
12448 fi
12449 else
12450 result=$wxUSE_PROGRESSDLG
12451 fi
12452
12453 { echo "$as_me:$LINENO: result: $result" >&5
12454 echo "${ECHO_T}$result" >&6; }
12455
12456
12457 enablestring=
12458 defaultval=$wxUSE_ALL_FEATURES
12459 if test -z "$defaultval"; then
12460 if test x"$enablestring" = xdisable; then
12461 defaultval=yes
12462 else
12463 defaultval=no
12464 fi
12465 fi
12466
12467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12468 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12469 # Check whether --enable-wizarddlg was given.
12470 if test "${enable_wizarddlg+set}" = set; then
12471 enableval=$enable_wizarddlg;
12472 if test "$enableval" = yes; then
12473 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12474 else
12475 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12476 fi
12477
12478 else
12479
12480 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12481
12482 fi
12483
12484
12485 eval "$wx_cv_use_wizarddlg"
12486
12487 if test x"$enablestring" = xdisable; then
12488 if test $wxUSE_WIZARDDLG = yes; then
12489 result=no
12490 else
12491 result=yes
12492 fi
12493 else
12494 result=$wxUSE_WIZARDDLG
12495 fi
12496
12497 { echo "$as_me:$LINENO: result: $result" >&5
12498 echo "${ECHO_T}$result" >&6; }
12499
12500
12501
12502
12503 enablestring=
12504 defaultval=$wxUSE_ALL_FEATURES
12505 if test -z "$defaultval"; then
12506 if test x"$enablestring" = xdisable; then
12507 defaultval=yes
12508 else
12509 defaultval=no
12510 fi
12511 fi
12512
12513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12514 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12515 # Check whether --enable-menus was given.
12516 if test "${enable_menus+set}" = set; then
12517 enableval=$enable_menus;
12518 if test "$enableval" = yes; then
12519 wx_cv_use_menus='wxUSE_MENUS=yes'
12520 else
12521 wx_cv_use_menus='wxUSE_MENUS=no'
12522 fi
12523
12524 else
12525
12526 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12527
12528 fi
12529
12530
12531 eval "$wx_cv_use_menus"
12532
12533 if test x"$enablestring" = xdisable; then
12534 if test $wxUSE_MENUS = yes; then
12535 result=no
12536 else
12537 result=yes
12538 fi
12539 else
12540 result=$wxUSE_MENUS
12541 fi
12542
12543 { echo "$as_me:$LINENO: result: $result" >&5
12544 echo "${ECHO_T}$result" >&6; }
12545
12546
12547 enablestring=
12548 defaultval=$wxUSE_ALL_FEATURES
12549 if test -z "$defaultval"; then
12550 if test x"$enablestring" = xdisable; then
12551 defaultval=yes
12552 else
12553 defaultval=no
12554 fi
12555 fi
12556
12557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12558 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12559 # Check whether --enable-miniframe was given.
12560 if test "${enable_miniframe+set}" = set; then
12561 enableval=$enable_miniframe;
12562 if test "$enableval" = yes; then
12563 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12564 else
12565 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12566 fi
12567
12568 else
12569
12570 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12571
12572 fi
12573
12574
12575 eval "$wx_cv_use_miniframe"
12576
12577 if test x"$enablestring" = xdisable; then
12578 if test $wxUSE_MINIFRAME = yes; then
12579 result=no
12580 else
12581 result=yes
12582 fi
12583 else
12584 result=$wxUSE_MINIFRAME
12585 fi
12586
12587 { echo "$as_me:$LINENO: result: $result" >&5
12588 echo "${ECHO_T}$result" >&6; }
12589
12590
12591 enablestring=
12592 defaultval=$wxUSE_ALL_FEATURES
12593 if test -z "$defaultval"; then
12594 if test x"$enablestring" = xdisable; then
12595 defaultval=yes
12596 else
12597 defaultval=no
12598 fi
12599 fi
12600
12601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12602 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12603 # Check whether --enable-tooltips was given.
12604 if test "${enable_tooltips+set}" = set; then
12605 enableval=$enable_tooltips;
12606 if test "$enableval" = yes; then
12607 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12608 else
12609 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12610 fi
12611
12612 else
12613
12614 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12615
12616 fi
12617
12618
12619 eval "$wx_cv_use_tooltips"
12620
12621 if test x"$enablestring" = xdisable; then
12622 if test $wxUSE_TOOLTIPS = yes; then
12623 result=no
12624 else
12625 result=yes
12626 fi
12627 else
12628 result=$wxUSE_TOOLTIPS
12629 fi
12630
12631 { echo "$as_me:$LINENO: result: $result" >&5
12632 echo "${ECHO_T}$result" >&6; }
12633
12634
12635 enablestring=
12636 defaultval=$wxUSE_ALL_FEATURES
12637 if test -z "$defaultval"; then
12638 if test x"$enablestring" = xdisable; then
12639 defaultval=yes
12640 else
12641 defaultval=no
12642 fi
12643 fi
12644
12645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12646 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12647 # Check whether --enable-splines was given.
12648 if test "${enable_splines+set}" = set; then
12649 enableval=$enable_splines;
12650 if test "$enableval" = yes; then
12651 wx_cv_use_splines='wxUSE_SPLINES=yes'
12652 else
12653 wx_cv_use_splines='wxUSE_SPLINES=no'
12654 fi
12655
12656 else
12657
12658 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12659
12660 fi
12661
12662
12663 eval "$wx_cv_use_splines"
12664
12665 if test x"$enablestring" = xdisable; then
12666 if test $wxUSE_SPLINES = yes; then
12667 result=no
12668 else
12669 result=yes
12670 fi
12671 else
12672 result=$wxUSE_SPLINES
12673 fi
12674
12675 { echo "$as_me:$LINENO: result: $result" >&5
12676 echo "${ECHO_T}$result" >&6; }
12677
12678
12679 enablestring=
12680 defaultval=$wxUSE_ALL_FEATURES
12681 if test -z "$defaultval"; then
12682 if test x"$enablestring" = xdisable; then
12683 defaultval=yes
12684 else
12685 defaultval=no
12686 fi
12687 fi
12688
12689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12690 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12691 # Check whether --enable-mousewheel was given.
12692 if test "${enable_mousewheel+set}" = set; then
12693 enableval=$enable_mousewheel;
12694 if test "$enableval" = yes; then
12695 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12696 else
12697 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12698 fi
12699
12700 else
12701
12702 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12703
12704 fi
12705
12706
12707 eval "$wx_cv_use_mousewheel"
12708
12709 if test x"$enablestring" = xdisable; then
12710 if test $wxUSE_MOUSEWHEEL = yes; then
12711 result=no
12712 else
12713 result=yes
12714 fi
12715 else
12716 result=$wxUSE_MOUSEWHEEL
12717 fi
12718
12719 { echo "$as_me:$LINENO: result: $result" >&5
12720 echo "${ECHO_T}$result" >&6; }
12721
12722
12723 enablestring=
12724 defaultval=$wxUSE_ALL_FEATURES
12725 if test -z "$defaultval"; then
12726 if test x"$enablestring" = xdisable; then
12727 defaultval=yes
12728 else
12729 defaultval=no
12730 fi
12731 fi
12732
12733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12734 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12735 # Check whether --enable-validators was given.
12736 if test "${enable_validators+set}" = set; then
12737 enableval=$enable_validators;
12738 if test "$enableval" = yes; then
12739 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12740 else
12741 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12742 fi
12743
12744 else
12745
12746 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12747
12748 fi
12749
12750
12751 eval "$wx_cv_use_validators"
12752
12753 if test x"$enablestring" = xdisable; then
12754 if test $wxUSE_VALIDATORS = yes; then
12755 result=no
12756 else
12757 result=yes
12758 fi
12759 else
12760 result=$wxUSE_VALIDATORS
12761 fi
12762
12763 { echo "$as_me:$LINENO: result: $result" >&5
12764 echo "${ECHO_T}$result" >&6; }
12765
12766
12767 enablestring=
12768 defaultval=$wxUSE_ALL_FEATURES
12769 if test -z "$defaultval"; then
12770 if test x"$enablestring" = xdisable; then
12771 defaultval=yes
12772 else
12773 defaultval=no
12774 fi
12775 fi
12776
12777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12778 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12779 # Check whether --enable-busyinfo was given.
12780 if test "${enable_busyinfo+set}" = set; then
12781 enableval=$enable_busyinfo;
12782 if test "$enableval" = yes; then
12783 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12784 else
12785 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12786 fi
12787
12788 else
12789
12790 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12791
12792 fi
12793
12794
12795 eval "$wx_cv_use_busyinfo"
12796
12797 if test x"$enablestring" = xdisable; then
12798 if test $wxUSE_BUSYINFO = yes; then
12799 result=no
12800 else
12801 result=yes
12802 fi
12803 else
12804 result=$wxUSE_BUSYINFO
12805 fi
12806
12807 { echo "$as_me:$LINENO: result: $result" >&5
12808 echo "${ECHO_T}$result" >&6; }
12809
12810
12811 enablestring=
12812 defaultval=$wxUSE_ALL_FEATURES
12813 if test -z "$defaultval"; then
12814 if test x"$enablestring" = xdisable; then
12815 defaultval=yes
12816 else
12817 defaultval=no
12818 fi
12819 fi
12820
12821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12822 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12823 # Check whether --enable-joystick was given.
12824 if test "${enable_joystick+set}" = set; then
12825 enableval=$enable_joystick;
12826 if test "$enableval" = yes; then
12827 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12828 else
12829 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12830 fi
12831
12832 else
12833
12834 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12835
12836 fi
12837
12838
12839 eval "$wx_cv_use_joystick"
12840
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_JOYSTICK = yes; then
12843 result=no
12844 else
12845 result=yes
12846 fi
12847 else
12848 result=$wxUSE_JOYSTICK
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}-metafile" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12867 # Check whether --enable-metafile was given.
12868 if test "${enable_metafile+set}" = set; then
12869 enableval=$enable_metafile;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12872 else
12873 wx_cv_use_metafile='wxUSE_METAFILE=no'
12874 fi
12875
12876 else
12877
12878 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12879
12880 fi
12881
12882
12883 eval "$wx_cv_use_metafile"
12884
12885 if test x"$enablestring" = xdisable; then
12886 if test $wxUSE_METAFILE = yes; then
12887 result=no
12888 else
12889 result=yes
12890 fi
12891 else
12892 result=$wxUSE_METAFILE
12893 fi
12894
12895 { echo "$as_me:$LINENO: result: $result" >&5
12896 echo "${ECHO_T}$result" >&6; }
12897
12898
12899 enablestring=
12900 defaultval=$wxUSE_ALL_FEATURES
12901 if test -z "$defaultval"; then
12902 if test x"$enablestring" = xdisable; then
12903 defaultval=yes
12904 else
12905 defaultval=no
12906 fi
12907 fi
12908
12909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12910 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12911 # Check whether --enable-dragimage was given.
12912 if test "${enable_dragimage+set}" = set; then
12913 enableval=$enable_dragimage;
12914 if test "$enableval" = yes; then
12915 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12916 else
12917 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12918 fi
12919
12920 else
12921
12922 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12923
12924 fi
12925
12926
12927 eval "$wx_cv_use_dragimage"
12928
12929 if test x"$enablestring" = xdisable; then
12930 if test $wxUSE_DRAGIMAGE = yes; then
12931 result=no
12932 else
12933 result=yes
12934 fi
12935 else
12936 result=$wxUSE_DRAGIMAGE
12937 fi
12938
12939 { echo "$as_me:$LINENO: result: $result" >&5
12940 echo "${ECHO_T}$result" >&6; }
12941
12942
12943 enablestring=
12944 defaultval=$wxUSE_ALL_FEATURES
12945 if test -z "$defaultval"; then
12946 if test x"$enablestring" = xdisable; then
12947 defaultval=yes
12948 else
12949 defaultval=no
12950 fi
12951 fi
12952
12953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12954 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12955 # Check whether --enable-accessibility was given.
12956 if test "${enable_accessibility+set}" = set; then
12957 enableval=$enable_accessibility;
12958 if test "$enableval" = yes; then
12959 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12960 else
12961 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12962 fi
12963
12964 else
12965
12966 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
12967
12968 fi
12969
12970
12971 eval "$wx_cv_use_accessibility"
12972
12973 if test x"$enablestring" = xdisable; then
12974 if test $wxUSE_ACCESSIBILITY = yes; then
12975 result=no
12976 else
12977 result=yes
12978 fi
12979 else
12980 result=$wxUSE_ACCESSIBILITY
12981 fi
12982
12983 { echo "$as_me:$LINENO: result: $result" >&5
12984 echo "${ECHO_T}$result" >&6; }
12985
12986
12987
12988
12989 enablestring=
12990 defaultval=$wxUSE_ALL_FEATURES
12991 if test -z "$defaultval"; then
12992 if test x"$enablestring" = xdisable; then
12993 defaultval=yes
12994 else
12995 defaultval=no
12996 fi
12997 fi
12998
12999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13000 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13001 # Check whether --enable-palette was given.
13002 if test "${enable_palette+set}" = set; then
13003 enableval=$enable_palette;
13004 if test "$enableval" = yes; then
13005 wx_cv_use_palette='wxUSE_PALETTE=yes'
13006 else
13007 wx_cv_use_palette='wxUSE_PALETTE=no'
13008 fi
13009
13010 else
13011
13012 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13013
13014 fi
13015
13016
13017 eval "$wx_cv_use_palette"
13018
13019 if test x"$enablestring" = xdisable; then
13020 if test $wxUSE_PALETTE = yes; then
13021 result=no
13022 else
13023 result=yes
13024 fi
13025 else
13026 result=$wxUSE_PALETTE
13027 fi
13028
13029 { echo "$as_me:$LINENO: result: $result" >&5
13030 echo "${ECHO_T}$result" >&6; }
13031
13032
13033 enablestring=
13034 defaultval=$wxUSE_ALL_FEATURES
13035 if test -z "$defaultval"; then
13036 if test x"$enablestring" = xdisable; then
13037 defaultval=yes
13038 else
13039 defaultval=no
13040 fi
13041 fi
13042
13043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13044 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13045 # Check whether --enable-image was given.
13046 if test "${enable_image+set}" = set; then
13047 enableval=$enable_image;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_image='wxUSE_IMAGE=yes'
13050 else
13051 wx_cv_use_image='wxUSE_IMAGE=no'
13052 fi
13053
13054 else
13055
13056 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13057
13058 fi
13059
13060
13061 eval "$wx_cv_use_image"
13062
13063 if test x"$enablestring" = xdisable; then
13064 if test $wxUSE_IMAGE = yes; then
13065 result=no
13066 else
13067 result=yes
13068 fi
13069 else
13070 result=$wxUSE_IMAGE
13071 fi
13072
13073 { echo "$as_me:$LINENO: result: $result" >&5
13074 echo "${ECHO_T}$result" >&6; }
13075
13076
13077 enablestring=
13078 defaultval=$wxUSE_ALL_FEATURES
13079 if test -z "$defaultval"; then
13080 if test x"$enablestring" = xdisable; then
13081 defaultval=yes
13082 else
13083 defaultval=no
13084 fi
13085 fi
13086
13087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13088 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13089 # Check whether --enable-gif was given.
13090 if test "${enable_gif+set}" = set; then
13091 enableval=$enable_gif;
13092 if test "$enableval" = yes; then
13093 wx_cv_use_gif='wxUSE_GIF=yes'
13094 else
13095 wx_cv_use_gif='wxUSE_GIF=no'
13096 fi
13097
13098 else
13099
13100 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13101
13102 fi
13103
13104
13105 eval "$wx_cv_use_gif"
13106
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_GIF = yes; then
13109 result=no
13110 else
13111 result=yes
13112 fi
13113 else
13114 result=$wxUSE_GIF
13115 fi
13116
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13119
13120
13121 enablestring=
13122 defaultval=$wxUSE_ALL_FEATURES
13123 if test -z "$defaultval"; then
13124 if test x"$enablestring" = xdisable; then
13125 defaultval=yes
13126 else
13127 defaultval=no
13128 fi
13129 fi
13130
13131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13132 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13133 # Check whether --enable-pcx was given.
13134 if test "${enable_pcx+set}" = set; then
13135 enableval=$enable_pcx;
13136 if test "$enableval" = yes; then
13137 wx_cv_use_pcx='wxUSE_PCX=yes'
13138 else
13139 wx_cv_use_pcx='wxUSE_PCX=no'
13140 fi
13141
13142 else
13143
13144 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13145
13146 fi
13147
13148
13149 eval "$wx_cv_use_pcx"
13150
13151 if test x"$enablestring" = xdisable; then
13152 if test $wxUSE_PCX = yes; then
13153 result=no
13154 else
13155 result=yes
13156 fi
13157 else
13158 result=$wxUSE_PCX
13159 fi
13160
13161 { echo "$as_me:$LINENO: result: $result" >&5
13162 echo "${ECHO_T}$result" >&6; }
13163
13164
13165 enablestring=
13166 defaultval=$wxUSE_ALL_FEATURES
13167 if test -z "$defaultval"; then
13168 if test x"$enablestring" = xdisable; then
13169 defaultval=yes
13170 else
13171 defaultval=no
13172 fi
13173 fi
13174
13175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13176 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13177 # Check whether --enable-tga was given.
13178 if test "${enable_tga+set}" = set; then
13179 enableval=$enable_tga;
13180 if test "$enableval" = yes; then
13181 wx_cv_use_tga='wxUSE_TGA=yes'
13182 else
13183 wx_cv_use_tga='wxUSE_TGA=no'
13184 fi
13185
13186 else
13187
13188 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13189
13190 fi
13191
13192
13193 eval "$wx_cv_use_tga"
13194
13195 if test x"$enablestring" = xdisable; then
13196 if test $wxUSE_TGA = yes; then
13197 result=no
13198 else
13199 result=yes
13200 fi
13201 else
13202 result=$wxUSE_TGA
13203 fi
13204
13205 { echo "$as_me:$LINENO: result: $result" >&5
13206 echo "${ECHO_T}$result" >&6; }
13207
13208
13209 enablestring=
13210 defaultval=$wxUSE_ALL_FEATURES
13211 if test -z "$defaultval"; then
13212 if test x"$enablestring" = xdisable; then
13213 defaultval=yes
13214 else
13215 defaultval=no
13216 fi
13217 fi
13218
13219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13220 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13221 # Check whether --enable-iff was given.
13222 if test "${enable_iff+set}" = set; then
13223 enableval=$enable_iff;
13224 if test "$enableval" = yes; then
13225 wx_cv_use_iff='wxUSE_IFF=yes'
13226 else
13227 wx_cv_use_iff='wxUSE_IFF=no'
13228 fi
13229
13230 else
13231
13232 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13233
13234 fi
13235
13236
13237 eval "$wx_cv_use_iff"
13238
13239 if test x"$enablestring" = xdisable; then
13240 if test $wxUSE_IFF = yes; then
13241 result=no
13242 else
13243 result=yes
13244 fi
13245 else
13246 result=$wxUSE_IFF
13247 fi
13248
13249 { echo "$as_me:$LINENO: result: $result" >&5
13250 echo "${ECHO_T}$result" >&6; }
13251
13252
13253 enablestring=
13254 defaultval=$wxUSE_ALL_FEATURES
13255 if test -z "$defaultval"; then
13256 if test x"$enablestring" = xdisable; then
13257 defaultval=yes
13258 else
13259 defaultval=no
13260 fi
13261 fi
13262
13263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13264 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13265 # Check whether --enable-pnm was given.
13266 if test "${enable_pnm+set}" = set; then
13267 enableval=$enable_pnm;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_pnm='wxUSE_PNM=yes'
13270 else
13271 wx_cv_use_pnm='wxUSE_PNM=no'
13272 fi
13273
13274 else
13275
13276 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13277
13278 fi
13279
13280
13281 eval "$wx_cv_use_pnm"
13282
13283 if test x"$enablestring" = xdisable; then
13284 if test $wxUSE_PNM = yes; then
13285 result=no
13286 else
13287 result=yes
13288 fi
13289 else
13290 result=$wxUSE_PNM
13291 fi
13292
13293 { echo "$as_me:$LINENO: result: $result" >&5
13294 echo "${ECHO_T}$result" >&6; }
13295
13296
13297 enablestring=
13298 defaultval=$wxUSE_ALL_FEATURES
13299 if test -z "$defaultval"; then
13300 if test x"$enablestring" = xdisable; then
13301 defaultval=yes
13302 else
13303 defaultval=no
13304 fi
13305 fi
13306
13307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13308 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13309 # Check whether --enable-xpm was given.
13310 if test "${enable_xpm+set}" = set; then
13311 enableval=$enable_xpm;
13312 if test "$enableval" = yes; then
13313 wx_cv_use_xpm='wxUSE_XPM=yes'
13314 else
13315 wx_cv_use_xpm='wxUSE_XPM=no'
13316 fi
13317
13318 else
13319
13320 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13321
13322 fi
13323
13324
13325 eval "$wx_cv_use_xpm"
13326
13327 if test x"$enablestring" = xdisable; then
13328 if test $wxUSE_XPM = yes; then
13329 result=no
13330 else
13331 result=yes
13332 fi
13333 else
13334 result=$wxUSE_XPM
13335 fi
13336
13337 { echo "$as_me:$LINENO: result: $result" >&5
13338 echo "${ECHO_T}$result" >&6; }
13339
13340
13341 enablestring=
13342 defaultval=$wxUSE_ALL_FEATURES
13343 if test -z "$defaultval"; then
13344 if test x"$enablestring" = xdisable; then
13345 defaultval=yes
13346 else
13347 defaultval=no
13348 fi
13349 fi
13350
13351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13352 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13353 # Check whether --enable-ico_cur was given.
13354 if test "${enable_ico_cur+set}" = set; then
13355 enableval=$enable_ico_cur;
13356 if test "$enableval" = yes; then
13357 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13358 else
13359 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13360 fi
13361
13362 else
13363
13364 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13365
13366 fi
13367
13368
13369 eval "$wx_cv_use_ico_cur"
13370
13371 if test x"$enablestring" = xdisable; then
13372 if test $wxUSE_ICO_CUR = yes; then
13373 result=no
13374 else
13375 result=yes
13376 fi
13377 else
13378 result=$wxUSE_ICO_CUR
13379 fi
13380
13381 { echo "$as_me:$LINENO: result: $result" >&5
13382 echo "${ECHO_T}$result" >&6; }
13383
13384
13385
13386
13387 enablestring=
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13391 defaultval=yes
13392 else
13393 defaultval=no
13394 fi
13395 fi
13396
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13399 # Check whether --enable-dccache was given.
13400 if test "${enable_dccache+set}" = set; then
13401 enableval=$enable_dccache;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13404 else
13405 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13406 fi
13407
13408 else
13409
13410 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_dccache"
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_DC_CACHEING = yes; then
13419 result=no
13420 else
13421 result=yes
13422 fi
13423 else
13424 result=$wxUSE_DC_CACHEING
13425 fi
13426
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13443 # Check whether --enable-ps-in-msw was given.
13444 if test "${enable_ps_in_msw+set}" = set; then
13445 enableval=$enable_ps_in_msw;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13448 else
13449 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13450 fi
13451
13452 else
13453
13454 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13455
13456 fi
13457
13458
13459 eval "$wx_cv_use_ps_in_msw"
13460
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13463 result=no
13464 else
13465 result=yes
13466 fi
13467 else
13468 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13469 fi
13470
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13473
13474
13475 enablestring=
13476 defaultval=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x"$enablestring" = xdisable; then
13479 defaultval=yes
13480 else
13481 defaultval=no
13482 fi
13483 fi
13484
13485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13486 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13487 # Check whether --enable-ownerdrawn was given.
13488 if test "${enable_ownerdrawn+set}" = set; then
13489 enableval=$enable_ownerdrawn;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13492 else
13493 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13494 fi
13495
13496 else
13497
13498 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13499
13500 fi
13501
13502
13503 eval "$wx_cv_use_ownerdrawn"
13504
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_OWNER_DRAWN = yes; then
13507 result=no
13508 else
13509 result=yes
13510 fi
13511 else
13512 result=$wxUSE_OWNER_DRAWN
13513 fi
13514
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13517
13518
13519 enablestring=
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13523 defaultval=yes
13524 else
13525 defaultval=no
13526 fi
13527 fi
13528
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13531 # Check whether --enable-uxtheme was given.
13532 if test "${enable_uxtheme+set}" = set; then
13533 enableval=$enable_uxtheme;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13536 else
13537 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13538 fi
13539
13540 else
13541
13542 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13543
13544 fi
13545
13546
13547 eval "$wx_cv_use_uxtheme"
13548
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_UXTHEME = yes; then
13551 result=no
13552 else
13553 result=yes
13554 fi
13555 else
13556 result=$wxUSE_UXTHEME
13557 fi
13558
13559 { echo "$as_me:$LINENO: result: $result" >&5
13560 echo "${ECHO_T}$result" >&6; }
13561
13562
13563 enablestring=
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13567 defaultval=yes
13568 else
13569 defaultval=no
13570 fi
13571 fi
13572
13573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13574 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13575 # Check whether --enable-wxdib was given.
13576 if test "${enable_wxdib+set}" = set; then
13577 enableval=$enable_wxdib;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_wxdib='wxUSE_DIB=yes'
13580 else
13581 wx_cv_use_wxdib='wxUSE_DIB=no'
13582 fi
13583
13584 else
13585
13586 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13587
13588 fi
13589
13590
13591 eval "$wx_cv_use_wxdib"
13592
13593 if test x"$enablestring" = xdisable; then
13594 if test $wxUSE_DIB = yes; then
13595 result=no
13596 else
13597 result=yes
13598 fi
13599 else
13600 result=$wxUSE_DIB
13601 fi
13602
13603 { echo "$as_me:$LINENO: result: $result" >&5
13604 echo "${ECHO_T}$result" >&6; }
13605
13606
13607 fi
13608
13609
13610 { echo "$as_me:$LINENO: checking for toolkit" >&5
13611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13612
13613 # In Wine, we need to default to MSW, not GTK or MOTIF
13614 if test "$wxUSE_WINE" = "yes"; then
13615 DEFAULT_DEFAULT_wxUSE_GTK=0
13616 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13617 DEFAULT_DEFAULT_wxUSE_MSW=1
13618 wxUSE_SHARED=no
13619 CC=${CC:-winegcc}
13620 CXX=${CXX:-wineg++}
13621 fi
13622
13623
13624 if test "$wxUSE_GUI" = "yes"; then
13625
13626 if test "$USE_BEOS" = 1; then
13627 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13628 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13629 { (exit 1); exit 1; }; }
13630 fi
13631
13632 if test "$TOOLKIT_GIVEN" = 1; then
13633 for toolkit in $ALL_TOOLKITS; do
13634 var=wxUSE_$toolkit
13635 eval "value=\$${var}"
13636 if test "x$value" = "xno"; then
13637 eval "$var=0"
13638 elif test "x$value" != "x"; then
13639 eval "$var=1"
13640 fi
13641
13642 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13643 eval "wx${toolkit}_VERSION=$value"
13644 fi
13645 done
13646 else
13647 for toolkit in $ALL_TOOLKITS; do
13648 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13649 eval "wxUSE_$toolkit=\$${var}"
13650 done
13651 fi
13652
13653 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13654 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13655 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13656
13657 case "${host}" in
13658 *-pc-os2_emx | *-pc-os2-emx )
13659 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13660 esac
13661
13662 case "$NUM_TOOLKITS" in
13663 1)
13664 ;;
13665 0)
13666 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13667 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13668 { (exit 1); exit 1; }; }
13669 ;;
13670 *)
13671 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13672 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13673 { (exit 1); exit 1; }; }
13674 esac
13675
13676 # to be removed when --disable-gtk2 isn't needed
13677 if test "x$wxUSE_GTK2" = "xyes"; then
13678 wxGTK_VERSION=2
13679 elif test "x$wxUSE_GTK2" = "xno"; then
13680 wxGTK_VERSION=1
13681 fi
13682
13683 for toolkit in $ALL_TOOLKITS; do
13684 var=wxUSE_$toolkit
13685 eval "value=\$${var}"
13686 if test "$value" = 1; then
13687 toolkit_echo=`echo $toolkit | tr A-Z a-z`
13688 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13689 echo "${ECHO_T}$toolkit_echo" >&6; }
13690 fi
13691 done
13692 else
13693 if test "x$host_alias" != "x"; then
13694 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13695 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13696 else
13697 { echo "$as_me:$LINENO: result: base only" >&5
13698 echo "${ECHO_T}base only" >&6; }
13699 fi
13700 fi
13701
13702
13703 cat >confcache <<\_ACEOF
13704 # This file is a shell script that caches the results of configure
13705 # tests run on this system so they can be shared between configure
13706 # scripts and configure runs, see configure's option --config-cache.
13707 # It is not useful on other systems. If it contains results you don't
13708 # want to keep, you may remove or edit it.
13709 #
13710 # config.status only pays attention to the cache file if you give it
13711 # the --recheck option to rerun configure.
13712 #
13713 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13715 # following values.
13716
13717 _ACEOF
13718
13719 # The following way of writing the cache mishandles newlines in values,
13720 # but we know of no workaround that is simple, portable, and efficient.
13721 # So, we kill variables containing newlines.
13722 # Ultrix sh set writes to stderr and can't be redirected directly,
13723 # and sets the high bit in the cache file unless we assign to the vars.
13724 (
13725 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13726 eval ac_val=\$$ac_var
13727 case $ac_val in #(
13728 *${as_nl}*)
13729 case $ac_var in #(
13730 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13731 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13732 esac
13733 case $ac_var in #(
13734 _ | IFS | as_nl) ;; #(
13735 *) $as_unset $ac_var ;;
13736 esac ;;
13737 esac
13738 done
13739
13740 (set) 2>&1 |
13741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13742 *${as_nl}ac_space=\ *)
13743 # `set' does not quote correctly, so add quotes (double-quote
13744 # substitution turns \\\\ into \\, and sed turns \\ into \).
13745 sed -n \
13746 "s/'/'\\\\''/g;
13747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13748 ;; #(
13749 *)
13750 # `set' quotes correctly as required by POSIX, so do not add quotes.
13751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13752 ;;
13753 esac |
13754 sort
13755 ) |
13756 sed '
13757 /^ac_cv_env_/b end
13758 t clear
13759 :clear
13760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13761 t end
13762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13763 :end' >>confcache
13764 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13765 if test -w "$cache_file"; then
13766 test "x$cache_file" != "x/dev/null" &&
13767 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13768 echo "$as_me: updating cache $cache_file" >&6;}
13769 cat confcache >$cache_file
13770 else
13771 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13772 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13773 fi
13774 fi
13775 rm -f confcache
13776
13777 CFLAGS=${CFLAGS:=}
13778
13779
13780
13781 ac_ext=c
13782 ac_cpp='$CPP $CPPFLAGS'
13783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13786 if test -n "$ac_tool_prefix"; then
13787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13791 if test "${ac_cv_prog_CC+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 if test -n "$CC"; then
13795 ac_cv_prog_CC="$CC" # Let the user override the test.
13796 else
13797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13798 for as_dir in $PATH
13799 do
13800 IFS=$as_save_IFS
13801 test -z "$as_dir" && as_dir=.
13802 for ac_exec_ext in '' $ac_executable_extensions; do
13803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13806 break 2
13807 fi
13808 done
13809 done
13810 IFS=$as_save_IFS
13811
13812 fi
13813 fi
13814 CC=$ac_cv_prog_CC
13815 if test -n "$CC"; then
13816 { echo "$as_me:$LINENO: result: $CC" >&5
13817 echo "${ECHO_T}$CC" >&6; }
13818 else
13819 { echo "$as_me:$LINENO: result: no" >&5
13820 echo "${ECHO_T}no" >&6; }
13821 fi
13822
13823
13824 fi
13825 if test -z "$ac_cv_prog_CC"; then
13826 ac_ct_CC=$CC
13827 # Extract the first word of "gcc", so it can be a program name with args.
13828 set dummy gcc; ac_word=$2
13829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13831 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 if test -n "$ac_ct_CC"; then
13835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13836 else
13837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13838 for as_dir in $PATH
13839 do
13840 IFS=$as_save_IFS
13841 test -z "$as_dir" && as_dir=.
13842 for ac_exec_ext in '' $ac_executable_extensions; do
13843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13844 ac_cv_prog_ac_ct_CC="gcc"
13845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13846 break 2
13847 fi
13848 done
13849 done
13850 IFS=$as_save_IFS
13851
13852 fi
13853 fi
13854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13855 if test -n "$ac_ct_CC"; then
13856 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13857 echo "${ECHO_T}$ac_ct_CC" >&6; }
13858 else
13859 { echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6; }
13861 fi
13862
13863 if test "x$ac_ct_CC" = x; then
13864 CC=""
13865 else
13866 case $cross_compiling:$ac_tool_warned in
13867 yes:)
13868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13869 whose name does not start with the host triplet. If you think this
13870 configuration is useful to you, please write to autoconf@gnu.org." >&5
13871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13872 whose name does not start with the host triplet. If you think this
13873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13874 ac_tool_warned=yes ;;
13875 esac
13876 CC=$ac_ct_CC
13877 fi
13878 else
13879 CC="$ac_cv_prog_CC"
13880 fi
13881
13882 if test -z "$CC"; then
13883 if test -n "$ac_tool_prefix"; then
13884 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13885 set dummy ${ac_tool_prefix}cc; ac_word=$2
13886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13888 if test "${ac_cv_prog_CC+set}" = set; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 else
13891 if test -n "$CC"; then
13892 ac_cv_prog_CC="$CC" # Let the user override the test.
13893 else
13894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13895 for as_dir in $PATH
13896 do
13897 IFS=$as_save_IFS
13898 test -z "$as_dir" && as_dir=.
13899 for ac_exec_ext in '' $ac_executable_extensions; do
13900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13901 ac_cv_prog_CC="${ac_tool_prefix}cc"
13902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13903 break 2
13904 fi
13905 done
13906 done
13907 IFS=$as_save_IFS
13908
13909 fi
13910 fi
13911 CC=$ac_cv_prog_CC
13912 if test -n "$CC"; then
13913 { echo "$as_me:$LINENO: result: $CC" >&5
13914 echo "${ECHO_T}$CC" >&6; }
13915 else
13916 { echo "$as_me:$LINENO: result: no" >&5
13917 echo "${ECHO_T}no" >&6; }
13918 fi
13919
13920
13921 fi
13922 fi
13923 if test -z "$CC"; then
13924 # Extract the first word of "cc", so it can be a program name with args.
13925 set dummy cc; ac_word=$2
13926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13928 if test "${ac_cv_prog_CC+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 else
13931 if test -n "$CC"; then
13932 ac_cv_prog_CC="$CC" # Let the user override the test.
13933 else
13934 ac_prog_rejected=no
13935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13936 for as_dir in $PATH
13937 do
13938 IFS=$as_save_IFS
13939 test -z "$as_dir" && as_dir=.
13940 for ac_exec_ext in '' $ac_executable_extensions; do
13941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13942 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13943 ac_prog_rejected=yes
13944 continue
13945 fi
13946 ac_cv_prog_CC="cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13948 break 2
13949 fi
13950 done
13951 done
13952 IFS=$as_save_IFS
13953
13954 if test $ac_prog_rejected = yes; then
13955 # We found a bogon in the path, so make sure we never use it.
13956 set dummy $ac_cv_prog_CC
13957 shift
13958 if test $# != 0; then
13959 # We chose a different compiler from the bogus one.
13960 # However, it has the same basename, so the bogon will be chosen
13961 # first if we set CC to just the basename; use the full file name.
13962 shift
13963 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13964 fi
13965 fi
13966 fi
13967 fi
13968 CC=$ac_cv_prog_CC
13969 if test -n "$CC"; then
13970 { echo "$as_me:$LINENO: result: $CC" >&5
13971 echo "${ECHO_T}$CC" >&6; }
13972 else
13973 { echo "$as_me:$LINENO: result: no" >&5
13974 echo "${ECHO_T}no" >&6; }
13975 fi
13976
13977
13978 fi
13979 if test -z "$CC"; then
13980 if test -n "$ac_tool_prefix"; then
13981 for ac_prog in cl.exe
13982 do
13983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13987 if test "${ac_cv_prog_CC+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 else
13990 if test -n "$CC"; then
13991 ac_cv_prog_CC="$CC" # Let the user override the test.
13992 else
13993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13994 for as_dir in $PATH
13995 do
13996 IFS=$as_save_IFS
13997 test -z "$as_dir" && as_dir=.
13998 for ac_exec_ext in '' $ac_executable_extensions; do
13999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14000 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 break 2
14003 fi
14004 done
14005 done
14006 IFS=$as_save_IFS
14007
14008 fi
14009 fi
14010 CC=$ac_cv_prog_CC
14011 if test -n "$CC"; then
14012 { echo "$as_me:$LINENO: result: $CC" >&5
14013 echo "${ECHO_T}$CC" >&6; }
14014 else
14015 { echo "$as_me:$LINENO: result: no" >&5
14016 echo "${ECHO_T}no" >&6; }
14017 fi
14018
14019
14020 test -n "$CC" && break
14021 done
14022 fi
14023 if test -z "$CC"; then
14024 ac_ct_CC=$CC
14025 for ac_prog in cl.exe
14026 do
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy $ac_prog; ac_word=$2
14029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 if test -n "$ac_ct_CC"; then
14035 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14036 else
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14039 do
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 ac_cv_prog_ac_ct_CC="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 break 2
14047 fi
14048 done
14049 done
14050 IFS=$as_save_IFS
14051
14052 fi
14053 fi
14054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14055 if test -n "$ac_ct_CC"; then
14056 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14057 echo "${ECHO_T}$ac_ct_CC" >&6; }
14058 else
14059 { echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6; }
14061 fi
14062
14063
14064 test -n "$ac_ct_CC" && break
14065 done
14066
14067 if test "x$ac_ct_CC" = x; then
14068 CC=""
14069 else
14070 case $cross_compiling:$ac_tool_warned in
14071 yes:)
14072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14073 whose name does not start with the host triplet. If you think this
14074 configuration is useful to you, please write to autoconf@gnu.org." >&5
14075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14076 whose name does not start with the host triplet. If you think this
14077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14078 ac_tool_warned=yes ;;
14079 esac
14080 CC=$ac_ct_CC
14081 fi
14082 fi
14083
14084 fi
14085
14086
14087 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14088 See \`config.log' for more details." >&5
14089 echo "$as_me: error: no acceptable C compiler found in \$PATH
14090 See \`config.log' for more details." >&2;}
14091 { (exit 1); exit 1; }; }
14092
14093 # Provide some information about the compiler.
14094 echo "$as_me:$LINENO: checking for C compiler version" >&5
14095 ac_compiler=`set X $ac_compile; echo $2`
14096 { (ac_try="$ac_compiler --version >&5"
14097 case "(($ac_try" in
14098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14100 esac
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_compiler --version >&5") 2>&5
14103 ac_status=$?
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }
14106 { (ac_try="$ac_compiler -v >&5"
14107 case "(($ac_try" in
14108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14109 *) ac_try_echo=$ac_try;;
14110 esac
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_compiler -v >&5") 2>&5
14113 ac_status=$?
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }
14116 { (ac_try="$ac_compiler -V >&5"
14117 case "(($ac_try" in
14118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14119 *) ac_try_echo=$ac_try;;
14120 esac
14121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14122 (eval "$ac_compiler -V >&5") 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }
14126
14127 cat >conftest.$ac_ext <<_ACEOF
14128 /* confdefs.h. */
14129 _ACEOF
14130 cat confdefs.h >>conftest.$ac_ext
14131 cat >>conftest.$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133
14134 int
14135 main ()
14136 {
14137
14138 ;
14139 return 0;
14140 }
14141 _ACEOF
14142 ac_clean_files_save=$ac_clean_files
14143 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14144 # Try to create an executable without -o first, disregard a.out.
14145 # It will help us diagnose broken compilers, and finding out an intuition
14146 # of exeext.
14147 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14148 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14149 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14150 #
14151 # List of possible output files, starting from the most likely.
14152 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14153 # only as a last resort. b.out is created by i960 compilers.
14154 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14155 #
14156 # The IRIX 6 linker writes into existing files which may not be
14157 # executable, retaining their permissions. Remove them first so a
14158 # subsequent execution test works.
14159 ac_rmfiles=
14160 for ac_file in $ac_files
14161 do
14162 case $ac_file in
14163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14164 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14165 esac
14166 done
14167 rm -f $ac_rmfiles
14168
14169 if { (ac_try="$ac_link_default"
14170 case "(($ac_try" in
14171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14172 *) ac_try_echo=$ac_try;;
14173 esac
14174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14175 (eval "$ac_link_default") 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; then
14179 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14180 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14181 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14182 # so that the user can short-circuit this test for compilers unknown to
14183 # Autoconf.
14184 for ac_file in $ac_files ''
14185 do
14186 test -f "$ac_file" || continue
14187 case $ac_file in
14188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14189 ;;
14190 [ab].out )
14191 # We found the default executable, but exeext='' is most
14192 # certainly right.
14193 break;;
14194 *.* )
14195 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14196 then :; else
14197 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14198 fi
14199 # We set ac_cv_exeext here because the later test for it is not
14200 # safe: cross compilers may not add the suffix if given an `-o'
14201 # argument, so we may need to know it at that point already.
14202 # Even if this section looks crufty: it has the advantage of
14203 # actually working.
14204 break;;
14205 * )
14206 break;;
14207 esac
14208 done
14209 test "$ac_cv_exeext" = no && ac_cv_exeext=
14210
14211 else
14212 ac_file=''
14213 fi
14214
14215 { echo "$as_me:$LINENO: result: $ac_file" >&5
14216 echo "${ECHO_T}$ac_file" >&6; }
14217 if test -z "$ac_file"; then
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14220
14221 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14222 See \`config.log' for more details." >&5
14223 echo "$as_me: error: C compiler cannot create executables
14224 See \`config.log' for more details." >&2;}
14225 { (exit 77); exit 77; }; }
14226 fi
14227
14228 ac_exeext=$ac_cv_exeext
14229
14230 # Check that the compiler produces executables we can run. If not, either
14231 # the compiler is broken, or we cross compile.
14232 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14233 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14234 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14235 # If not cross compiling, check that we can run a simple program.
14236 if test "$cross_compiling" != yes; then
14237 if { ac_try='./$ac_file'
14238 { (case "(($ac_try" in
14239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14240 *) ac_try_echo=$ac_try;;
14241 esac
14242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14243 (eval "$ac_try") 2>&5
14244 ac_status=$?
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14247 cross_compiling=no
14248 else
14249 if test "$cross_compiling" = maybe; then
14250 cross_compiling=yes
14251 else
14252 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14253 If you meant to cross compile, use \`--host'.
14254 See \`config.log' for more details." >&5
14255 echo "$as_me: error: cannot run C compiled programs.
14256 If you meant to cross compile, use \`--host'.
14257 See \`config.log' for more details." >&2;}
14258 { (exit 1); exit 1; }; }
14259 fi
14260 fi
14261 fi
14262 { echo "$as_me:$LINENO: result: yes" >&5
14263 echo "${ECHO_T}yes" >&6; }
14264
14265 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14266 ac_clean_files=$ac_clean_files_save
14267 # Check that the compiler produces executables we can run. If not, either
14268 # the compiler is broken, or we cross compile.
14269 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14270 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14271 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14272 echo "${ECHO_T}$cross_compiling" >&6; }
14273
14274 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14275 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14276 if { (ac_try="$ac_link"
14277 case "(($ac_try" in
14278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14279 *) ac_try_echo=$ac_try;;
14280 esac
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_link") 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; then
14286 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14287 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14288 # work properly (i.e., refer to `conftest.exe'), while it won't with
14289 # `rm'.
14290 for ac_file in conftest.exe conftest conftest.*; do
14291 test -f "$ac_file" || continue
14292 case $ac_file in
14293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14294 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14295 break;;
14296 * ) break;;
14297 esac
14298 done
14299 else
14300 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14301 See \`config.log' for more details." >&5
14302 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14303 See \`config.log' for more details." >&2;}
14304 { (exit 1); exit 1; }; }
14305 fi
14306
14307 rm -f conftest$ac_cv_exeext
14308 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14309 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14310
14311 rm -f conftest.$ac_ext
14312 EXEEXT=$ac_cv_exeext
14313 ac_exeext=$EXEEXT
14314 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14315 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14316 if test "${ac_cv_objext+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 else
14319 cat >conftest.$ac_ext <<_ACEOF
14320 /* confdefs.h. */
14321 _ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14325
14326 int
14327 main ()
14328 {
14329
14330 ;
14331 return 0;
14332 }
14333 _ACEOF
14334 rm -f conftest.o conftest.obj
14335 if { (ac_try="$ac_compile"
14336 case "(($ac_try" in
14337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14339 esac
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compile") 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; then
14345 for ac_file in conftest.o conftest.obj conftest.*; do
14346 test -f "$ac_file" || continue;
14347 case $ac_file in
14348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14349 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14350 break;;
14351 esac
14352 done
14353 else
14354 echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.$ac_ext >&5
14356
14357 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14358 See \`config.log' for more details." >&5
14359 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14360 See \`config.log' for more details." >&2;}
14361 { (exit 1); exit 1; }; }
14362 fi
14363
14364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14365 fi
14366 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14367 echo "${ECHO_T}$ac_cv_objext" >&6; }
14368 OBJEXT=$ac_cv_objext
14369 ac_objext=$OBJEXT
14370 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14371 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14372 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */
14377 _ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381
14382 int
14383 main ()
14384 {
14385 #ifndef __GNUC__
14386 choke me
14387 #endif
14388
14389 ;
14390 return 0;
14391 }
14392 _ACEOF
14393 rm -f conftest.$ac_objext
14394 if { (ac_try="$ac_compile"
14395 case "(($ac_try" in
14396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 *) ac_try_echo=$ac_try;;
14398 esac
14399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14400 (eval "$ac_compile") 2>conftest.er1
14401 ac_status=$?
14402 grep -v '^ *+' conftest.er1 >conftest.err
14403 rm -f conftest.er1
14404 cat conftest.err >&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } && {
14407 test -z "$ac_c_werror_flag" ||
14408 test ! -s conftest.err
14409 } && test -s conftest.$ac_objext; then
14410 ac_compiler_gnu=yes
14411 else
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14414
14415 ac_compiler_gnu=no
14416 fi
14417
14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14419 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14420
14421 fi
14422 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14423 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14424 GCC=`test $ac_compiler_gnu = yes && echo yes`
14425 ac_test_CFLAGS=${CFLAGS+set}
14426 ac_save_CFLAGS=$CFLAGS
14427 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14428 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14429 if test "${ac_cv_prog_cc_g+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 else
14432 ac_save_c_werror_flag=$ac_c_werror_flag
14433 ac_c_werror_flag=yes
14434 ac_cv_prog_cc_g=no
14435 CFLAGS="-g"
14436 cat >conftest.$ac_ext <<_ACEOF
14437 /* confdefs.h. */
14438 _ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442
14443 int
14444 main ()
14445 {
14446
14447 ;
14448 return 0;
14449 }
14450 _ACEOF
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14456 esac
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14459 ac_status=$?
14460 grep -v '^ *+' conftest.er1 >conftest.err
14461 rm -f conftest.er1
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 ac_cv_prog_cc_g=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14472
14473 CFLAGS=""
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480
14481 int
14482 main ()
14483 {
14484
14485 ;
14486 return 0;
14487 }
14488 _ACEOF
14489 rm -f conftest.$ac_objext
14490 if { (ac_try="$ac_compile"
14491 case "(($ac_try" in
14492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14493 *) ac_try_echo=$ac_try;;
14494 esac
14495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14496 (eval "$ac_compile") 2>conftest.er1
14497 ac_status=$?
14498 grep -v '^ *+' conftest.er1 >conftest.err
14499 rm -f conftest.er1
14500 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } && {
14503 test -z "$ac_c_werror_flag" ||
14504 test ! -s conftest.err
14505 } && test -s conftest.$ac_objext; then
14506 :
14507 else
14508 echo "$as_me: failed program was:" >&5
14509 sed 's/^/| /' conftest.$ac_ext >&5
14510
14511 ac_c_werror_flag=$ac_save_c_werror_flag
14512 CFLAGS="-g"
14513 cat >conftest.$ac_ext <<_ACEOF
14514 /* confdefs.h. */
14515 _ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14519
14520 int
14521 main ()
14522 {
14523
14524 ;
14525 return 0;
14526 }
14527 _ACEOF
14528 rm -f conftest.$ac_objext
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>conftest.er1
14536 ac_status=$?
14537 grep -v '^ *+' conftest.er1 >conftest.err
14538 rm -f conftest.er1
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } && {
14542 test -z "$ac_c_werror_flag" ||
14543 test ! -s conftest.err
14544 } && test -s conftest.$ac_objext; then
14545 ac_cv_prog_cc_g=yes
14546 else
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.$ac_ext >&5
14549
14550
14551 fi
14552
14553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14554 fi
14555
14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14557 fi
14558
14559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14560 ac_c_werror_flag=$ac_save_c_werror_flag
14561 fi
14562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14568 CFLAGS="-g -O2"
14569 else
14570 CFLAGS="-g"
14571 fi
14572 else
14573 if test "$GCC" = yes; then
14574 CFLAGS="-O2"
14575 else
14576 CFLAGS=
14577 fi
14578 fi
14579 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14580 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14581 if test "${ac_cv_prog_cc_c89+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 else
14584 ac_cv_prog_cc_c89=no
14585 ac_save_CC=$CC
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h. */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 #include <stdarg.h>
14593 #include <stdio.h>
14594 #include <sys/types.h>
14595 #include <sys/stat.h>
14596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14597 struct buf { int x; };
14598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14599 static char *e (p, i)
14600 char **p;
14601 int i;
14602 {
14603 return p[i];
14604 }
14605 static char *f (char * (*g) (char **, int), char **p, ...)
14606 {
14607 char *s;
14608 va_list v;
14609 va_start (v,p);
14610 s = g (p, va_arg (v,int));
14611 va_end (v);
14612 return s;
14613 }
14614
14615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14616 function prototypes and stuff, but not '\xHH' hex character constants.
14617 These don't provoke an error unfortunately, instead are silently treated
14618 as 'x'. The following induces an error, until -std is added to get
14619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14620 array size at least. It's necessary to write '\x00'==0 to get something
14621 that's true only with -std. */
14622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14623
14624 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14625 inside strings and character constants. */
14626 #define FOO(x) 'x'
14627 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14628
14629 int test (int i, double x);
14630 struct s1 {int (*f) (int a);};
14631 struct s2 {int (*f) (double a);};
14632 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14633 int argc;
14634 char **argv;
14635 int
14636 main ()
14637 {
14638 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14639 ;
14640 return 0;
14641 }
14642 _ACEOF
14643 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14644 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14645 do
14646 CC="$ac_save_CC $ac_arg"
14647 rm -f conftest.$ac_objext
14648 if { (ac_try="$ac_compile"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14652 esac
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_compile") 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_c_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest.$ac_objext; then
14664 ac_cv_prog_cc_c89=$ac_arg
14665 else
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14668
14669
14670 fi
14671
14672 rm -f core conftest.err conftest.$ac_objext
14673 test "x$ac_cv_prog_cc_c89" != "xno" && break
14674 done
14675 rm -f conftest.$ac_ext
14676 CC=$ac_save_CC
14677
14678 fi
14679 # AC_CACHE_VAL
14680 case "x$ac_cv_prog_cc_c89" in
14681 x)
14682 { echo "$as_me:$LINENO: result: none needed" >&5
14683 echo "${ECHO_T}none needed" >&6; } ;;
14684 xno)
14685 { echo "$as_me:$LINENO: result: unsupported" >&5
14686 echo "${ECHO_T}unsupported" >&6; } ;;
14687 *)
14688 CC="$CC $ac_cv_prog_cc_c89"
14689 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14690 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14691 esac
14692
14693
14694 ac_ext=c
14695 ac_cpp='$CPP $CPPFLAGS'
14696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14699
14700
14701
14702
14703 ac_ext=c
14704 ac_cpp='$CPP $CPPFLAGS'
14705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14708
14709 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14710 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14711 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714 cat >conftest.$ac_ext <<_ACEOF
14715 /* confdefs.h. */
14716 _ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720
14721 int
14722 main ()
14723 {
14724
14725 #ifndef __INTEL_COMPILER
14726 choke me
14727 #endif
14728
14729 ;
14730 return 0;
14731 }
14732 _ACEOF
14733 rm -f conftest.$ac_objext
14734 if { (ac_try="$ac_compile"
14735 case "(($ac_try" in
14736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14737 *) ac_try_echo=$ac_try;;
14738 esac
14739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14740 (eval "$ac_compile") 2>conftest.er1
14741 ac_status=$?
14742 grep -v '^ *+' conftest.er1 >conftest.err
14743 rm -f conftest.er1
14744 cat conftest.err >&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } && {
14747 test -z "$ac_c_werror_flag" ||
14748 test ! -s conftest.err
14749 } && test -s conftest.$ac_objext; then
14750 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14751 else
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14754
14755 bakefile_cv_c_compiler___INTEL_COMPILER=no
14756
14757 fi
14758
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760
14761
14762 fi
14763 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14764 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14765 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14766 :; INTELCC=yes
14767 else
14768 :;
14769 fi
14770 ac_ext=c
14771 ac_cpp='$CPP $CPPFLAGS'
14772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14775
14776
14777
14778
14779 if test "x$GCC" != "xyes"; then
14780 if test "xCC" = "xC"; then
14781 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14782 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14783 if test "${bakefile_cv_c_exto+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 else
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792
14793 int
14794 main ()
14795 {
14796
14797 ;
14798 return 0;
14799 }
14800 _ACEOF
14801 rm -f conftest.$ac_objext conftest.$ac_ext.o
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14808 case $ac_file in
14809 conftest.$ac_ext.o)
14810 bakefile_cv_c_exto="-ext o"
14811 ;;
14812 *)
14813 ;;
14814 esac
14815 done
14816 else
14817 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14818 See \`config.log' for more details." >&5
14819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14820 See \`config.log' for more details." >&2;}
14821 { (exit 1); exit 1; }; }
14822
14823 fi
14824
14825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14826
14827 fi
14828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14831 if test "c" = "c"; then
14832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14833 fi
14834 if test "c" = "cxx"; then
14835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14836 fi
14837 fi
14838
14839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14840 unset ac_cv_prog_cc_g
14841 ac_test_CFLAGS=${CFLAGS+set}
14842 ac_save_CFLAGS=$CFLAGS
14843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14845 if test "${ac_cv_prog_cc_g+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848 ac_save_c_werror_flag=$ac_c_werror_flag
14849 ac_c_werror_flag=yes
14850 ac_cv_prog_cc_g=no
14851 CFLAGS="-g"
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858
14859 int
14860 main ()
14861 {
14862
14863 ;
14864 return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest.$ac_objext
14868 if { (ac_try="$ac_compile"
14869 case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14872 esac
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_compile") 2>conftest.er1
14875 ac_status=$?
14876 grep -v '^ *+' conftest.er1 >conftest.err
14877 rm -f conftest.er1
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } && {
14881 test -z "$ac_c_werror_flag" ||
14882 test ! -s conftest.err
14883 } && test -s conftest.$ac_objext; then
14884 ac_cv_prog_cc_g=yes
14885 else
14886 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.$ac_ext >&5
14888
14889 CFLAGS=""
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h. */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896
14897 int
14898 main ()
14899 {
14900
14901 ;
14902 return 0;
14903 }
14904 _ACEOF
14905 rm -f conftest.$ac_objext
14906 if { (ac_try="$ac_compile"
14907 case "(($ac_try" in
14908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14909 *) ac_try_echo=$ac_try;;
14910 esac
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_compile") 2>conftest.er1
14913 ac_status=$?
14914 grep -v '^ *+' conftest.er1 >conftest.err
14915 rm -f conftest.er1
14916 cat conftest.err >&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest.$ac_objext; then
14922 :
14923 else
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14926
14927 ac_c_werror_flag=$ac_save_c_werror_flag
14928 CFLAGS="-g"
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935
14936 int
14937 main ()
14938 {
14939
14940 ;
14941 return 0;
14942 }
14943 _ACEOF
14944 rm -f conftest.$ac_objext
14945 if { (ac_try="$ac_compile"
14946 case "(($ac_try" in
14947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948 *) ac_try_echo=$ac_try;;
14949 esac
14950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14951 (eval "$ac_compile") 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } && {
14958 test -z "$ac_c_werror_flag" ||
14959 test ! -s conftest.err
14960 } && test -s conftest.$ac_objext; then
14961 ac_cv_prog_cc_g=yes
14962 else
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14965
14966
14967 fi
14968
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 fi
14971
14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14973 fi
14974
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976 ac_c_werror_flag=$ac_save_c_werror_flag
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14980 if test "$ac_test_CFLAGS" = set; then
14981 CFLAGS=$ac_save_CFLAGS
14982 elif test $ac_cv_prog_cc_g = yes; then
14983 if test "$GCC" = yes; then
14984 CFLAGS="-g -O2"
14985 else
14986 CFLAGS="-g"
14987 fi
14988 else
14989 if test "$GCC" = yes; then
14990 CFLAGS="-O2"
14991 else
14992 CFLAGS=
14993 fi
14994 fi
14995 fi
14996 fi
14997
14998 case `uname -s` in
14999 AIX*)
15000
15001
15002 ac_ext=c
15003 ac_cpp='$CPP $CPPFLAGS'
15004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15007
15008 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15009 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15010 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 else
15013 cat >conftest.$ac_ext <<_ACEOF
15014 /* confdefs.h. */
15015 _ACEOF
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15019
15020 int
15021 main ()
15022 {
15023
15024 #ifndef __xlC__
15025 choke me
15026 #endif
15027
15028 ;
15029 return 0;
15030 }
15031 _ACEOF
15032 rm -f conftest.$ac_objext
15033 if { (ac_try="$ac_compile"
15034 case "(($ac_try" in
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 *) ac_try_echo=$ac_try;;
15037 esac
15038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_compile") 2>conftest.er1
15040 ac_status=$?
15041 grep -v '^ *+' conftest.er1 >conftest.err
15042 rm -f conftest.er1
15043 cat conftest.err >&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest.$ac_objext; then
15049 bakefile_cv_c_compiler___xlC__=yes
15050 else
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15053
15054 bakefile_cv_c_compiler___xlC__=no
15055
15056 fi
15057
15058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15059
15060
15061 fi
15062 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15063 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15064 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15065 :; XLCC=yes
15066 else
15067 :;
15068 fi
15069 ac_ext=c
15070 ac_cpp='$CPP $CPPFLAGS'
15071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074
15075
15076
15077 ;;
15078
15079 Darwin)
15080
15081
15082 ac_ext=c
15083 ac_cpp='$CPP $CPPFLAGS'
15084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15087
15088 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15089 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15090 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 else
15093 cat >conftest.$ac_ext <<_ACEOF
15094 /* confdefs.h. */
15095 _ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099
15100 int
15101 main ()
15102 {
15103
15104 #ifndef __MWERKS__
15105 choke me
15106 #endif
15107
15108 ;
15109 return 0;
15110 }
15111 _ACEOF
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 bakefile_cv_c_compiler___MWERKS__=yes
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15133
15134 bakefile_cv_c_compiler___MWERKS__=no
15135
15136 fi
15137
15138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139
15140
15141 fi
15142 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15143 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15144 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15145 :; MWCC=yes
15146 else
15147 :;
15148 fi
15149 ac_ext=c
15150 ac_cpp='$CPP $CPPFLAGS'
15151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154
15155
15156
15157
15158
15159 ac_ext=c
15160 ac_cpp='$CPP $CPPFLAGS'
15161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15164
15165 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15166 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15167 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15169 else
15170 cat >conftest.$ac_ext <<_ACEOF
15171 /* confdefs.h. */
15172 _ACEOF
15173 cat confdefs.h >>conftest.$ac_ext
15174 cat >>conftest.$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15176
15177 int
15178 main ()
15179 {
15180
15181 #ifndef __xlC__
15182 choke me
15183 #endif
15184
15185 ;
15186 return 0;
15187 }
15188 _ACEOF
15189 rm -f conftest.$ac_objext
15190 if { (ac_try="$ac_compile"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15194 esac
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_compile") 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest.$ac_objext; then
15206 bakefile_cv_c_compiler___xlC__=yes
15207 else
15208 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5
15210
15211 bakefile_cv_c_compiler___xlC__=no
15212
15213 fi
15214
15215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15216
15217
15218 fi
15219 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15220 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15221 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15222 :; XLCC=yes
15223 else
15224 :;
15225 fi
15226 ac_ext=c
15227 ac_cpp='$CPP $CPPFLAGS'
15228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15231
15232
15233
15234 ;;
15235
15236 IRIX*)
15237
15238
15239 ac_ext=c
15240 ac_cpp='$CPP $CPPFLAGS'
15241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15244
15245 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15246 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15247 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 else
15250 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256
15257 int
15258 main ()
15259 {
15260
15261 #ifndef _SGI_COMPILER_VERSION
15262 choke me
15263 #endif
15264
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15274 esac
15275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15277 ac_status=$?
15278 grep -v '^ *+' conftest.er1 >conftest.err
15279 rm -f conftest.er1
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15287 else
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15290
15291 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15292
15293 fi
15294
15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15296
15297
15298 fi
15299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15300 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15301 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15302 :; SGICC=yes
15303 else
15304 :;
15305 fi
15306 ac_ext=c
15307 ac_cpp='$CPP $CPPFLAGS'
15308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15311
15312
15313
15314 ;;
15315
15316 Linux*)
15317
15318
15319 ac_ext=c
15320 ac_cpp='$CPP $CPPFLAGS'
15321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15324
15325 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15326 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15327 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336
15337 int
15338 main ()
15339 {
15340
15341 #ifndef __SUNPRO_C
15342 choke me
15343 #endif
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 bakefile_cv_c_compiler___SUNPRO_C=yes
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 bakefile_cv_c_compiler___SUNPRO_C=no
15372
15373 fi
15374
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376
15377
15378 fi
15379 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15380 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15381 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15382 :; SUNCC=yes
15383 else
15384 :;
15385 fi
15386 ac_ext=c
15387 ac_cpp='$CPP $CPPFLAGS'
15388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15391
15392
15393
15394 ;;
15395
15396 HP-UX*)
15397
15398
15399 ac_ext=c
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15404
15405 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15406 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15407 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410 cat >conftest.$ac_ext <<_ACEOF
15411 /* confdefs.h. */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416
15417 int
15418 main ()
15419 {
15420
15421 #ifndef __HP_cc
15422 choke me
15423 #endif
15424
15425 ;
15426 return 0;
15427 }
15428 _ACEOF
15429 rm -f conftest.$ac_objext
15430 if { (ac_try="$ac_compile"
15431 case "(($ac_try" in
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15433 *) ac_try_echo=$ac_try;;
15434 esac
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15436 (eval "$ac_compile") 2>conftest.er1
15437 ac_status=$?
15438 grep -v '^ *+' conftest.er1 >conftest.err
15439 rm -f conftest.er1
15440 cat conftest.err >&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); } && {
15443 test -z "$ac_c_werror_flag" ||
15444 test ! -s conftest.err
15445 } && test -s conftest.$ac_objext; then
15446 bakefile_cv_c_compiler___HP_cc=yes
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451 bakefile_cv_c_compiler___HP_cc=no
15452
15453 fi
15454
15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15456
15457
15458 fi
15459 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15460 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15461 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15462 :; HPCC=yes
15463 else
15464 :;
15465 fi
15466 ac_ext=c
15467 ac_cpp='$CPP $CPPFLAGS'
15468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15471
15472
15473
15474 ;;
15475
15476 OSF1)
15477
15478
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15486 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 else
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500
15501 #ifndef __DECC
15502 choke me
15503 #endif
15504
15505 ;
15506 return 0;
15507 }
15508 _ACEOF
15509 rm -f conftest.$ac_objext
15510 if { (ac_try="$ac_compile"
15511 case "(($ac_try" in
15512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15513 *) ac_try_echo=$ac_try;;
15514 esac
15515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15516 (eval "$ac_compile") 2>conftest.er1
15517 ac_status=$?
15518 grep -v '^ *+' conftest.er1 >conftest.err
15519 rm -f conftest.er1
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } && {
15523 test -z "$ac_c_werror_flag" ||
15524 test ! -s conftest.err
15525 } && test -s conftest.$ac_objext; then
15526 bakefile_cv_c_compiler___DECC=yes
15527 else
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15530
15531 bakefile_cv_c_compiler___DECC=no
15532
15533 fi
15534
15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15536
15537
15538 fi
15539 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15540 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15541 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15542 :; COMPAQCC=yes
15543 else
15544 :;
15545 fi
15546 ac_ext=c
15547 ac_cpp='$CPP $CPPFLAGS'
15548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15551
15552
15553
15554 ;;
15555
15556 SunOS)
15557
15558
15559 ac_ext=c
15560 ac_cpp='$CPP $CPPFLAGS'
15561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15564
15565 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15566 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15567 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 else
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576
15577 int
15578 main ()
15579 {
15580
15581 #ifndef __SUNPRO_C
15582 choke me
15583 #endif
15584
15585 ;
15586 return 0;
15587 }
15588 _ACEOF
15589 rm -f conftest.$ac_objext
15590 if { (ac_try="$ac_compile"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_compile") 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest.$ac_objext; then
15606 bakefile_cv_c_compiler___SUNPRO_C=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15610
15611 bakefile_cv_c_compiler___SUNPRO_C=no
15612
15613 fi
15614
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15616
15617
15618 fi
15619 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15620 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15621 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15622 :; SUNCC=yes
15623 else
15624 :;
15625 fi
15626 ac_ext=c
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15631
15632
15633
15634 ;;
15635 esac
15636 fi
15637
15638
15639
15640 ac_ext=c
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15646 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15647 # On Suns, sometimes $CPP names a directory.
15648 if test -n "$CPP" && test -d "$CPP"; then
15649 CPP=
15650 fi
15651 if test -z "$CPP"; then
15652 if test "${ac_cv_prog_CPP+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 else
15655 # Double quotes because CPP needs to be expanded
15656 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15657 do
15658 ac_preproc_ok=false
15659 for ac_c_preproc_warn_flag in '' yes
15660 do
15661 # Use a header file that comes with gcc, so configuring glibc
15662 # with a fresh cross-compiler works.
15663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15664 # <limits.h> exists even on freestanding compilers.
15665 # On the NeXT, cc -E runs the code through the compiler's parser,
15666 # not just through cpp. "Syntax error" is here to catch this case.
15667 cat >conftest.$ac_ext <<_ACEOF
15668 /* confdefs.h. */
15669 _ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673 #ifdef __STDC__
15674 # include <limits.h>
15675 #else
15676 # include <assert.h>
15677 #endif
15678 Syntax error
15679 _ACEOF
15680 if { (ac_try="$ac_cpp conftest.$ac_ext"
15681 case "(($ac_try" in
15682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15683 *) ac_try_echo=$ac_try;;
15684 esac
15685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15687 ac_status=$?
15688 grep -v '^ *+' conftest.er1 >conftest.err
15689 rm -f conftest.er1
15690 cat conftest.err >&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); } >/dev/null && {
15693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15694 test ! -s conftest.err
15695 }; then
15696 :
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15700
15701 # Broken: fails on valid input.
15702 continue
15703 fi
15704
15705 rm -f conftest.err conftest.$ac_ext
15706
15707 # OK, works on sane cases. Now check whether nonexistent headers
15708 # can be detected and how.
15709 cat >conftest.$ac_ext <<_ACEOF
15710 /* confdefs.h. */
15711 _ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15715 #include <ac_nonexistent.h>
15716 _ACEOF
15717 if { (ac_try="$ac_cpp conftest.$ac_ext"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } >/dev/null && {
15730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15731 test ! -s conftest.err
15732 }; then
15733 # Broken: success on invalid input.
15734 continue
15735 else
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15738
15739 # Passes both tests.
15740 ac_preproc_ok=:
15741 break
15742 fi
15743
15744 rm -f conftest.err conftest.$ac_ext
15745
15746 done
15747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15748 rm -f conftest.err conftest.$ac_ext
15749 if $ac_preproc_ok; then
15750 break
15751 fi
15752
15753 done
15754 ac_cv_prog_CPP=$CPP
15755
15756 fi
15757 CPP=$ac_cv_prog_CPP
15758 else
15759 ac_cv_prog_CPP=$CPP
15760 fi
15761 { echo "$as_me:$LINENO: result: $CPP" >&5
15762 echo "${ECHO_T}$CPP" >&6; }
15763 ac_preproc_ok=false
15764 for ac_c_preproc_warn_flag in '' yes
15765 do
15766 # Use a header file that comes with gcc, so configuring glibc
15767 # with a fresh cross-compiler works.
15768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15769 # <limits.h> exists even on freestanding compilers.
15770 # On the NeXT, cc -E runs the code through the compiler's parser,
15771 # not just through cpp. "Syntax error" is here to catch this case.
15772 cat >conftest.$ac_ext <<_ACEOF
15773 /* confdefs.h. */
15774 _ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 #ifdef __STDC__
15779 # include <limits.h>
15780 #else
15781 # include <assert.h>
15782 #endif
15783 Syntax error
15784 _ACEOF
15785 if { (ac_try="$ac_cpp conftest.$ac_ext"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15789 esac
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } >/dev/null && {
15798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15799 test ! -s conftest.err
15800 }; then
15801 :
15802 else
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15805
15806 # Broken: fails on valid input.
15807 continue
15808 fi
15809
15810 rm -f conftest.err conftest.$ac_ext
15811
15812 # OK, works on sane cases. Now check whether nonexistent headers
15813 # can be detected and how.
15814 cat >conftest.$ac_ext <<_ACEOF
15815 /* confdefs.h. */
15816 _ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820 #include <ac_nonexistent.h>
15821 _ACEOF
15822 if { (ac_try="$ac_cpp conftest.$ac_ext"
15823 case "(($ac_try" in
15824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15825 *) ac_try_echo=$ac_try;;
15826 esac
15827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15829 ac_status=$?
15830 grep -v '^ *+' conftest.er1 >conftest.err
15831 rm -f conftest.er1
15832 cat conftest.err >&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } >/dev/null && {
15835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15836 test ! -s conftest.err
15837 }; then
15838 # Broken: success on invalid input.
15839 continue
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 # Passes both tests.
15845 ac_preproc_ok=:
15846 break
15847 fi
15848
15849 rm -f conftest.err conftest.$ac_ext
15850
15851 done
15852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15853 rm -f conftest.err conftest.$ac_ext
15854 if $ac_preproc_ok; then
15855 :
15856 else
15857 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15858 See \`config.log' for more details." >&5
15859 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15860 See \`config.log' for more details." >&2;}
15861 { (exit 1); exit 1; }; }
15862 fi
15863
15864 ac_ext=c
15865 ac_cpp='$CPP $CPPFLAGS'
15866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15869
15870
15871 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15872 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15873 if test "${ac_cv_path_GREP+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 # Extract the first word of "grep ggrep" to use in msg output
15877 if test -z "$GREP"; then
15878 set dummy grep ggrep; ac_prog_name=$2
15879 if test "${ac_cv_path_GREP+set}" = set; then
15880 echo $ECHO_N "(cached) $ECHO_C" >&6
15881 else
15882 ac_path_GREP_found=false
15883 # Loop through the user's path and test for each of PROGNAME-LIST
15884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15885 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15886 do
15887 IFS=$as_save_IFS
15888 test -z "$as_dir" && as_dir=.
15889 for ac_prog in grep ggrep; do
15890 for ac_exec_ext in '' $ac_executable_extensions; do
15891 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15892 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15893 # Check for GNU ac_path_GREP and select it if it is found.
15894 # Check for GNU $ac_path_GREP
15895 case `"$ac_path_GREP" --version 2>&1` in
15896 *GNU*)
15897 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15898 *)
15899 ac_count=0
15900 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15901 while :
15902 do
15903 cat "conftest.in" "conftest.in" >"conftest.tmp"
15904 mv "conftest.tmp" "conftest.in"
15905 cp "conftest.in" "conftest.nl"
15906 echo 'GREP' >> "conftest.nl"
15907 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15908 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15909 ac_count=`expr $ac_count + 1`
15910 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15911 # Best one so far, save it but keep looking for a better one
15912 ac_cv_path_GREP="$ac_path_GREP"
15913 ac_path_GREP_max=$ac_count
15914 fi
15915 # 10*(2^10) chars as input seems more than enough
15916 test $ac_count -gt 10 && break
15917 done
15918 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15919 esac
15920
15921
15922 $ac_path_GREP_found && break 3
15923 done
15924 done
15925
15926 done
15927 IFS=$as_save_IFS
15928
15929
15930 fi
15931
15932 GREP="$ac_cv_path_GREP"
15933 if test -z "$GREP"; then
15934 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15935 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15936 { (exit 1); exit 1; }; }
15937 fi
15938
15939 else
15940 ac_cv_path_GREP=$GREP
15941 fi
15942
15943
15944 fi
15945 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15946 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15947 GREP="$ac_cv_path_GREP"
15948
15949
15950 { echo "$as_me:$LINENO: checking for egrep" >&5
15951 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15952 if test "${ac_cv_path_EGREP+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15956 then ac_cv_path_EGREP="$GREP -E"
15957 else
15958 # Extract the first word of "egrep" to use in msg output
15959 if test -z "$EGREP"; then
15960 set dummy egrep; ac_prog_name=$2
15961 if test "${ac_cv_path_EGREP+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 else
15964 ac_path_EGREP_found=false
15965 # Loop through the user's path and test for each of PROGNAME-LIST
15966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15968 do
15969 IFS=$as_save_IFS
15970 test -z "$as_dir" && as_dir=.
15971 for ac_prog in egrep; do
15972 for ac_exec_ext in '' $ac_executable_extensions; do
15973 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15974 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15975 # Check for GNU ac_path_EGREP and select it if it is found.
15976 # Check for GNU $ac_path_EGREP
15977 case `"$ac_path_EGREP" --version 2>&1` in
15978 *GNU*)
15979 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15980 *)
15981 ac_count=0
15982 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15983 while :
15984 do
15985 cat "conftest.in" "conftest.in" >"conftest.tmp"
15986 mv "conftest.tmp" "conftest.in"
15987 cp "conftest.in" "conftest.nl"
15988 echo 'EGREP' >> "conftest.nl"
15989 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15991 ac_count=`expr $ac_count + 1`
15992 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15993 # Best one so far, save it but keep looking for a better one
15994 ac_cv_path_EGREP="$ac_path_EGREP"
15995 ac_path_EGREP_max=$ac_count
15996 fi
15997 # 10*(2^10) chars as input seems more than enough
15998 test $ac_count -gt 10 && break
15999 done
16000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16001 esac
16002
16003
16004 $ac_path_EGREP_found && break 3
16005 done
16006 done
16007
16008 done
16009 IFS=$as_save_IFS
16010
16011
16012 fi
16013
16014 EGREP="$ac_cv_path_EGREP"
16015 if test -z "$EGREP"; then
16016 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16017 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16018 { (exit 1); exit 1; }; }
16019 fi
16020
16021 else
16022 ac_cv_path_EGREP=$EGREP
16023 fi
16024
16025
16026 fi
16027 fi
16028 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16029 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16030 EGREP="$ac_cv_path_EGREP"
16031
16032
16033 if test $ac_cv_c_compiler_gnu = yes; then
16034 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16035 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16036 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039 ac_pattern="Autoconf.*'x'"
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #include <sgtty.h>
16047 Autoconf TIOCGETP
16048 _ACEOF
16049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16050 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16051 ac_cv_prog_gcc_traditional=yes
16052 else
16053 ac_cv_prog_gcc_traditional=no
16054 fi
16055 rm -f conftest*
16056
16057
16058 if test $ac_cv_prog_gcc_traditional = no; then
16059 cat >conftest.$ac_ext <<_ACEOF
16060 /* confdefs.h. */
16061 _ACEOF
16062 cat confdefs.h >>conftest.$ac_ext
16063 cat >>conftest.$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 #include <termio.h>
16066 Autoconf TCGETA
16067 _ACEOF
16068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16069 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16070 ac_cv_prog_gcc_traditional=yes
16071 fi
16072 rm -f conftest*
16073
16074 fi
16075 fi
16076 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16077 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16078 if test $ac_cv_prog_gcc_traditional = yes; then
16079 CC="$CC -traditional"
16080 fi
16081 fi
16082
16083
16084 CXXFLAGS=${CXXFLAGS:=}
16085
16086
16087
16088 ac_ext=cpp
16089 ac_cpp='$CXXCPP $CPPFLAGS'
16090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16093 if test -z "$CXX"; then
16094 if test -n "$CCC"; then
16095 CXX=$CCC
16096 else
16097 if test -n "$ac_tool_prefix"; then
16098 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16099 do
16100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16104 if test "${ac_cv_prog_CXX+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 else
16107 if test -n "$CXX"; then
16108 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16109 else
16110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16111 for as_dir in $PATH
16112 do
16113 IFS=$as_save_IFS
16114 test -z "$as_dir" && as_dir=.
16115 for ac_exec_ext in '' $ac_executable_extensions; do
16116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16117 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16119 break 2
16120 fi
16121 done
16122 done
16123 IFS=$as_save_IFS
16124
16125 fi
16126 fi
16127 CXX=$ac_cv_prog_CXX
16128 if test -n "$CXX"; then
16129 { echo "$as_me:$LINENO: result: $CXX" >&5
16130 echo "${ECHO_T}$CXX" >&6; }
16131 else
16132 { echo "$as_me:$LINENO: result: no" >&5
16133 echo "${ECHO_T}no" >&6; }
16134 fi
16135
16136
16137 test -n "$CXX" && break
16138 done
16139 fi
16140 if test -z "$CXX"; then
16141 ac_ct_CXX=$CXX
16142 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16143 do
16144 # Extract the first word of "$ac_prog", so it can be a program name with args.
16145 set dummy $ac_prog; ac_word=$2
16146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16148 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 else
16151 if test -n "$ac_ct_CXX"; then
16152 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16153 else
16154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16155 for as_dir in $PATH
16156 do
16157 IFS=$as_save_IFS
16158 test -z "$as_dir" && as_dir=.
16159 for ac_exec_ext in '' $ac_executable_extensions; do
16160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16161 ac_cv_prog_ac_ct_CXX="$ac_prog"
16162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16163 break 2
16164 fi
16165 done
16166 done
16167 IFS=$as_save_IFS
16168
16169 fi
16170 fi
16171 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16172 if test -n "$ac_ct_CXX"; then
16173 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16174 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16175 else
16176 { echo "$as_me:$LINENO: result: no" >&5
16177 echo "${ECHO_T}no" >&6; }
16178 fi
16179
16180
16181 test -n "$ac_ct_CXX" && break
16182 done
16183
16184 if test "x$ac_ct_CXX" = x; then
16185 CXX="g++"
16186 else
16187 case $cross_compiling:$ac_tool_warned in
16188 yes:)
16189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16190 whose name does not start with the host triplet. If you think this
16191 configuration is useful to you, please write to autoconf@gnu.org." >&5
16192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16193 whose name does not start with the host triplet. If you think this
16194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16195 ac_tool_warned=yes ;;
16196 esac
16197 CXX=$ac_ct_CXX
16198 fi
16199 fi
16200
16201 fi
16202 fi
16203 # Provide some information about the compiler.
16204 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16205 ac_compiler=`set X $ac_compile; echo $2`
16206 { (ac_try="$ac_compiler --version >&5"
16207 case "(($ac_try" in
16208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16209 *) ac_try_echo=$ac_try;;
16210 esac
16211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16212 (eval "$ac_compiler --version >&5") 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }
16216 { (ac_try="$ac_compiler -v >&5"
16217 case "(($ac_try" in
16218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16219 *) ac_try_echo=$ac_try;;
16220 esac
16221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16222 (eval "$ac_compiler -v >&5") 2>&5
16223 ac_status=$?
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); }
16226 { (ac_try="$ac_compiler -V >&5"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16230 esac
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_compiler -V >&5") 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }
16236
16237 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16238 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16239 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 else
16242 cat >conftest.$ac_ext <<_ACEOF
16243 /* confdefs.h. */
16244 _ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248
16249 int
16250 main ()
16251 {
16252 #ifndef __GNUC__
16253 choke me
16254 #endif
16255
16256 ;
16257 return 0;
16258 }
16259 _ACEOF
16260 rm -f conftest.$ac_objext
16261 if { (ac_try="$ac_compile"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16265 esac
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compile") 2>conftest.er1
16268 ac_status=$?
16269 grep -v '^ *+' conftest.er1 >conftest.err
16270 rm -f conftest.er1
16271 cat conftest.err >&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } && {
16274 test -z "$ac_cxx_werror_flag" ||
16275 test ! -s conftest.err
16276 } && test -s conftest.$ac_objext; then
16277 ac_compiler_gnu=yes
16278 else
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16281
16282 ac_compiler_gnu=no
16283 fi
16284
16285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16286 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16287
16288 fi
16289 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16290 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16291 GXX=`test $ac_compiler_gnu = yes && echo yes`
16292 ac_test_CXXFLAGS=${CXXFLAGS+set}
16293 ac_save_CXXFLAGS=$CXXFLAGS
16294 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16295 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16296 if test "${ac_cv_prog_cxx_g+set}" = set; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 else
16299 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16300 ac_cxx_werror_flag=yes
16301 ac_cv_prog_cxx_g=no
16302 CXXFLAGS="-g"
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309
16310 int
16311 main ()
16312 {
16313
16314 ;
16315 return 0;
16316 }
16317 _ACEOF
16318 rm -f conftest.$ac_objext
16319 if { (ac_try="$ac_compile"
16320 case "(($ac_try" in
16321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16322 *) ac_try_echo=$ac_try;;
16323 esac
16324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16325 (eval "$ac_compile") 2>conftest.er1
16326 ac_status=$?
16327 grep -v '^ *+' conftest.er1 >conftest.err
16328 rm -f conftest.er1
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && {
16332 test -z "$ac_cxx_werror_flag" ||
16333 test ! -s conftest.err
16334 } && test -s conftest.$ac_objext; then
16335 ac_cv_prog_cxx_g=yes
16336 else
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16339
16340 CXXFLAGS=""
16341 cat >conftest.$ac_ext <<_ACEOF
16342 /* confdefs.h. */
16343 _ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16347
16348 int
16349 main ()
16350 {
16351
16352 ;
16353 return 0;
16354 }
16355 _ACEOF
16356 rm -f conftest.$ac_objext
16357 if { (ac_try="$ac_compile"
16358 case "(($ac_try" in
16359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16360 *) ac_try_echo=$ac_try;;
16361 esac
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_compile") 2>conftest.er1
16364 ac_status=$?
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_cxx_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest.$ac_objext; then
16373 :
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16379 CXXFLAGS="-g"
16380 cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h. */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386
16387 int
16388 main ()
16389 {
16390
16391 ;
16392 return 0;
16393 }
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (ac_try="$ac_compile"
16397 case "(($ac_try" in
16398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16400 esac
16401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16402 (eval "$ac_compile") 2>conftest.er1
16403 ac_status=$?
16404 grep -v '^ *+' conftest.er1 >conftest.err
16405 rm -f conftest.er1
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && {
16409 test -z "$ac_cxx_werror_flag" ||
16410 test ! -s conftest.err
16411 } && test -s conftest.$ac_objext; then
16412 ac_cv_prog_cxx_g=yes
16413 else
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16416
16417
16418 fi
16419
16420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16421 fi
16422
16423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16424 fi
16425
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16428 fi
16429 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16430 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16431 if test "$ac_test_CXXFLAGS" = set; then
16432 CXXFLAGS=$ac_save_CXXFLAGS
16433 elif test $ac_cv_prog_cxx_g = yes; then
16434 if test "$GXX" = yes; then
16435 CXXFLAGS="-g -O2"
16436 else
16437 CXXFLAGS="-g"
16438 fi
16439 else
16440 if test "$GXX" = yes; then
16441 CXXFLAGS="-O2"
16442 else
16443 CXXFLAGS=
16444 fi
16445 fi
16446 ac_ext=c
16447 ac_cpp='$CPP $CPPFLAGS'
16448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16451
16452
16453
16454
16455 ac_ext=cpp
16456 ac_cpp='$CXXCPP $CPPFLAGS'
16457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16460
16461 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16462 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16463 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 else
16466 cat >conftest.$ac_ext <<_ACEOF
16467 /* confdefs.h. */
16468 _ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472
16473 int
16474 main ()
16475 {
16476
16477 #ifndef __INTEL_COMPILER
16478 choke me
16479 #endif
16480
16481 ;
16482 return 0;
16483 }
16484 _ACEOF
16485 rm -f conftest.$ac_objext
16486 if { (ac_try="$ac_compile"
16487 case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16490 esac
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_compile") 2>conftest.er1
16493 ac_status=$?
16494 grep -v '^ *+' conftest.er1 >conftest.err
16495 rm -f conftest.er1
16496 cat conftest.err >&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_cxx_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest.$ac_objext; then
16502 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16508
16509 fi
16510
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512
16513
16514 fi
16515 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16516 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16517 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16518 :; INTELCXX=yes
16519 else
16520 :;
16521 fi
16522 ac_ext=c
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16527
16528
16529
16530
16531 if test "x$GCXX" != "xyes"; then
16532 if test "xCXX" = "xC"; then
16533 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16534 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16535 if test "${bakefile_cv_c_exto+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 cat >conftest.$ac_ext <<_ACEOF
16539 /* confdefs.h. */
16540 _ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544
16545 int
16546 main ()
16547 {
16548
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 rm -f conftest.$ac_objext conftest.$ac_ext.o
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; then
16559 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16560 case $ac_file in
16561 conftest.$ac_ext.o)
16562 bakefile_cv_c_exto="-ext o"
16563 ;;
16564 *)
16565 ;;
16566 esac
16567 done
16568 else
16569 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16574
16575 fi
16576
16577 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16578
16579 fi
16580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16581 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16582 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16583 if test "c" = "c"; then
16584 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16585 fi
16586 if test "c" = "cxx"; then
16587 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16588 fi
16589 fi
16590
16591 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16592 unset ac_cv_prog_cc_g
16593 ac_test_CFLAGS=${CFLAGS+set}
16594 ac_save_CFLAGS=$CFLAGS
16595 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16596 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16597 if test "${ac_cv_prog_cc_g+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 else
16600 ac_save_c_werror_flag=$ac_c_werror_flag
16601 ac_c_werror_flag=yes
16602 ac_cv_prog_cc_g=no
16603 CFLAGS="-g"
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610
16611 int
16612 main ()
16613 {
16614
16615 ;
16616 return 0;
16617 }
16618 _ACEOF
16619 rm -f conftest.$ac_objext
16620 if { (ac_try="$ac_compile"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16624 esac
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compile") 2>conftest.er1
16627 ac_status=$?
16628 grep -v '^ *+' conftest.er1 >conftest.err
16629 rm -f conftest.er1
16630 cat conftest.err >&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } && {
16633 test -z "$ac_c_werror_flag" ||
16634 test ! -s conftest.err
16635 } && test -s conftest.$ac_objext; then
16636 ac_cv_prog_cc_g=yes
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 CFLAGS=""
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652
16653 ;
16654 return 0;
16655 }
16656 _ACEOF
16657 rm -f conftest.$ac_objext
16658 if { (ac_try="$ac_compile"
16659 case "(($ac_try" in
16660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16661 *) ac_try_echo=$ac_try;;
16662 esac
16663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16664 (eval "$ac_compile") 2>conftest.er1
16665 ac_status=$?
16666 grep -v '^ *+' conftest.er1 >conftest.err
16667 rm -f conftest.er1
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && {
16671 test -z "$ac_c_werror_flag" ||
16672 test ! -s conftest.err
16673 } && test -s conftest.$ac_objext; then
16674 :
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16678
16679 ac_c_werror_flag=$ac_save_c_werror_flag
16680 CFLAGS="-g"
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687
16688 int
16689 main ()
16690 {
16691
16692 ;
16693 return 0;
16694 }
16695 _ACEOF
16696 rm -f conftest.$ac_objext
16697 if { (ac_try="$ac_compile"
16698 case "(($ac_try" in
16699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;;
16701 esac
16702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16703 (eval "$ac_compile") 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && {
16710 test -z "$ac_c_werror_flag" ||
16711 test ! -s conftest.err
16712 } && test -s conftest.$ac_objext; then
16713 ac_cv_prog_cc_g=yes
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16717
16718
16719 fi
16720
16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16722 fi
16723
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 fi
16726
16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16728 ac_c_werror_flag=$ac_save_c_werror_flag
16729 fi
16730 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16731 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16732 if test "$ac_test_CFLAGS" = set; then
16733 CFLAGS=$ac_save_CFLAGS
16734 elif test $ac_cv_prog_cc_g = yes; then
16735 if test "$GCC" = yes; then
16736 CFLAGS="-g -O2"
16737 else
16738 CFLAGS="-g"
16739 fi
16740 else
16741 if test "$GCC" = yes; then
16742 CFLAGS="-O2"
16743 else
16744 CFLAGS=
16745 fi
16746 fi
16747 fi
16748 fi
16749
16750 case `uname -s` in
16751 AIX*)
16752
16753
16754 ac_ext=cpp
16755 ac_cpp='$CXXCPP $CPPFLAGS'
16756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16759
16760 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16761 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16762 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765 cat >conftest.$ac_ext <<_ACEOF
16766 /* confdefs.h. */
16767 _ACEOF
16768 cat confdefs.h >>conftest.$ac_ext
16769 cat >>conftest.$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771
16772 int
16773 main ()
16774 {
16775
16776 #ifndef __xlC__
16777 choke me
16778 #endif
16779
16780 ;
16781 return 0;
16782 }
16783 _ACEOF
16784 rm -f conftest.$ac_objext
16785 if { (ac_try="$ac_compile"
16786 case "(($ac_try" in
16787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16788 *) ac_try_echo=$ac_try;;
16789 esac
16790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16791 (eval "$ac_compile") 2>conftest.er1
16792 ac_status=$?
16793 grep -v '^ *+' conftest.er1 >conftest.err
16794 rm -f conftest.er1
16795 cat conftest.err >&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } && {
16798 test -z "$ac_cxx_werror_flag" ||
16799 test ! -s conftest.err
16800 } && test -s conftest.$ac_objext; then
16801 bakefile_cv_cxx_compiler___xlC__=yes
16802 else
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16805
16806 bakefile_cv_cxx_compiler___xlC__=no
16807
16808 fi
16809
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811
16812
16813 fi
16814 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16815 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16816 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16817 :; XLCXX=yes
16818 else
16819 :;
16820 fi
16821 ac_ext=c
16822 ac_cpp='$CPP $CPPFLAGS'
16823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16826
16827
16828
16829 ;;
16830
16831 Darwin)
16832
16833
16834 ac_ext=cpp
16835 ac_cpp='$CXXCPP $CPPFLAGS'
16836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16839
16840 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16841 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16842 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16843 echo $ECHO_N "(cached) $ECHO_C" >&6
16844 else
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851
16852 int
16853 main ()
16854 {
16855
16856 #ifndef __MWERKS__
16857 choke me
16858 #endif
16859
16860 ;
16861 return 0;
16862 }
16863 _ACEOF
16864 rm -f conftest.$ac_objext
16865 if { (ac_try="$ac_compile"
16866 case "(($ac_try" in
16867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16868 *) ac_try_echo=$ac_try;;
16869 esac
16870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16871 (eval "$ac_compile") 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_cxx_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest.$ac_objext; then
16881 bakefile_cv_cxx_compiler___MWERKS__=yes
16882 else
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.$ac_ext >&5
16885
16886 bakefile_cv_cxx_compiler___MWERKS__=no
16887
16888 fi
16889
16890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16891
16892
16893 fi
16894 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16895 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16896 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16897 :; MWCXX=yes
16898 else
16899 :;
16900 fi
16901 ac_ext=c
16902 ac_cpp='$CPP $CPPFLAGS'
16903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16906
16907
16908
16909
16910
16911 ac_ext=cpp
16912 ac_cpp='$CXXCPP $CPPFLAGS'
16913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16916
16917 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16918 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16919 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 else
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928
16929 int
16930 main ()
16931 {
16932
16933 #ifndef __xlC__
16934 choke me
16935 #endif
16936
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (ac_try="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_cxx_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.$ac_objext; then
16958 bakefile_cv_cxx_compiler___xlC__=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 bakefile_cv_cxx_compiler___xlC__=no
16964
16965 fi
16966
16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16968
16969
16970 fi
16971 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16972 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16973 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16974 :; XLCXX=yes
16975 else
16976 :;
16977 fi
16978 ac_ext=c
16979 ac_cpp='$CPP $CPPFLAGS'
16980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16983
16984
16985
16986 ;;
16987
16988 IRIX*)
16989
16990
16991 ac_ext=cpp
16992 ac_cpp='$CXXCPP $CPPFLAGS'
16993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16996
16997 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16998 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16999 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 else
17002 cat >conftest.$ac_ext <<_ACEOF
17003 /* confdefs.h. */
17004 _ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008
17009 int
17010 main ()
17011 {
17012
17013 #ifndef _SGI_COMPILER_VERSION
17014 choke me
17015 #endif
17016
17017 ;
17018 return 0;
17019 }
17020 _ACEOF
17021 rm -f conftest.$ac_objext
17022 if { (ac_try="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17025 *) ac_try_echo=$ac_try;;
17026 esac
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_cxx_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.$ac_objext; then
17038 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17042
17043 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17044
17045 fi
17046
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17048
17049
17050 fi
17051 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17052 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17053 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17054 :; SGICXX=yes
17055 else
17056 :;
17057 fi
17058 ac_ext=c
17059 ac_cpp='$CPP $CPPFLAGS'
17060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17063
17064
17065
17066 ;;
17067
17068 Linux*)
17069
17070
17071 ac_ext=cpp
17072 ac_cpp='$CXXCPP $CPPFLAGS'
17073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17076
17077 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17078 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17079 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 else
17082 cat >conftest.$ac_ext <<_ACEOF
17083 /* confdefs.h. */
17084 _ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088
17089 int
17090 main ()
17091 {
17092
17093 #ifndef __SUNPRO_CC
17094 choke me
17095 #endif
17096
17097 ;
17098 return 0;
17099 }
17100 _ACEOF
17101 rm -f conftest.$ac_objext
17102 if { (ac_try="$ac_compile"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17106 esac
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_compile") 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && {
17115 test -z "$ac_cxx_werror_flag" ||
17116 test ! -s conftest.err
17117 } && test -s conftest.$ac_objext; then
17118 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17119 else
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17122
17123 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17124
17125 fi
17126
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17128
17129
17130 fi
17131 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17132 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17133 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17134 :; SUNCXX=yes
17135 else
17136 :;
17137 fi
17138 ac_ext=c
17139 ac_cpp='$CPP $CPPFLAGS'
17140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17143
17144
17145
17146 ;;
17147
17148 HP-UX*)
17149
17150
17151 ac_ext=cpp
17152 ac_cpp='$CXXCPP $CPPFLAGS'
17153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17156
17157 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17158 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17159 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 else
17162 cat >conftest.$ac_ext <<_ACEOF
17163 /* confdefs.h. */
17164 _ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168
17169 int
17170 main ()
17171 {
17172
17173 #ifndef __HP_aCC
17174 choke me
17175 #endif
17176
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (ac_try="$ac_compile"
17183 case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17186 esac
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_compile") 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && {
17195 test -z "$ac_cxx_werror_flag" ||
17196 test ! -s conftest.err
17197 } && test -s conftest.$ac_objext; then
17198 bakefile_cv_cxx_compiler___HP_aCC=yes
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17202
17203 bakefile_cv_cxx_compiler___HP_aCC=no
17204
17205 fi
17206
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208
17209
17210 fi
17211 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17212 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17213 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17214 :; HPCXX=yes
17215 else
17216 :;
17217 fi
17218 ac_ext=c
17219 ac_cpp='$CPP $CPPFLAGS'
17220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17223
17224
17225
17226 ;;
17227
17228 OSF1)
17229
17230
17231 ac_ext=cpp
17232 ac_cpp='$CXXCPP $CPPFLAGS'
17233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17236
17237 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17238 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17239 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 else
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248
17249 int
17250 main ()
17251 {
17252
17253 #ifndef __DECCXX
17254 choke me
17255 #endif
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17266 esac
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_cxx_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.$ac_objext; then
17278 bakefile_cv_cxx_compiler___DECCXX=yes
17279 else
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17282
17283 bakefile_cv_cxx_compiler___DECCXX=no
17284
17285 fi
17286
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288
17289
17290 fi
17291 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17292 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17293 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17294 :; COMPAQCXX=yes
17295 else
17296 :;
17297 fi
17298 ac_ext=c
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303
17304
17305
17306 ;;
17307
17308 SunOS)
17309
17310
17311 ac_ext=cpp
17312 ac_cpp='$CXXCPP $CPPFLAGS'
17313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17316
17317 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17318 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17319 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 else
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h. */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328
17329 int
17330 main ()
17331 {
17332
17333 #ifndef __SUNPRO_CC
17334 choke me
17335 #endif
17336
17337 ;
17338 return 0;
17339 }
17340 _ACEOF
17341 rm -f conftest.$ac_objext
17342 if { (ac_try="$ac_compile"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17346 esac
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_compile") 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_cxx_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest.$ac_objext; then
17358 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17359 else
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.$ac_ext >&5
17362
17363 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17364
17365 fi
17366
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17368
17369
17370 fi
17371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17373 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17374 :; SUNCXX=yes
17375 else
17376 :;
17377 fi
17378 ac_ext=c
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17383
17384
17385
17386 ;;
17387 esac
17388 fi
17389
17390
17391
17392 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17393 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17394 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17395 { (exit 1); exit 1; }; }
17396 fi
17397
17398 if test "x$SUNCXX" != xyes; then
17399 if test -n "$ac_tool_prefix"; then
17400 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17401 set dummy ${ac_tool_prefix}ar; ac_word=$2
17402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17404 if test "${ac_cv_prog_AR+set}" = set; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 else
17407 if test -n "$AR"; then
17408 ac_cv_prog_AR="$AR" # Let the user override the test.
17409 else
17410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17411 for as_dir in $PATH
17412 do
17413 IFS=$as_save_IFS
17414 test -z "$as_dir" && as_dir=.
17415 for ac_exec_ext in '' $ac_executable_extensions; do
17416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17417 ac_cv_prog_AR="${ac_tool_prefix}ar"
17418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17419 break 2
17420 fi
17421 done
17422 done
17423 IFS=$as_save_IFS
17424
17425 fi
17426 fi
17427 AR=$ac_cv_prog_AR
17428 if test -n "$AR"; then
17429 { echo "$as_me:$LINENO: result: $AR" >&5
17430 echo "${ECHO_T}$AR" >&6; }
17431 else
17432 { echo "$as_me:$LINENO: result: no" >&5
17433 echo "${ECHO_T}no" >&6; }
17434 fi
17435
17436
17437 fi
17438 if test -z "$ac_cv_prog_AR"; then
17439 ac_ct_AR=$AR
17440 # Extract the first word of "ar", so it can be a program name with args.
17441 set dummy ar; ac_word=$2
17442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17444 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 else
17447 if test -n "$ac_ct_AR"; then
17448 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17449 else
17450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17451 for as_dir in $PATH
17452 do
17453 IFS=$as_save_IFS
17454 test -z "$as_dir" && as_dir=.
17455 for ac_exec_ext in '' $ac_executable_extensions; do
17456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17457 ac_cv_prog_ac_ct_AR="ar"
17458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17459 break 2
17460 fi
17461 done
17462 done
17463 IFS=$as_save_IFS
17464
17465 fi
17466 fi
17467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17468 if test -n "$ac_ct_AR"; then
17469 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17470 echo "${ECHO_T}$ac_ct_AR" >&6; }
17471 else
17472 { echo "$as_me:$LINENO: result: no" >&5
17473 echo "${ECHO_T}no" >&6; }
17474 fi
17475
17476 if test "x$ac_ct_AR" = x; then
17477 AR=""
17478 else
17479 case $cross_compiling:$ac_tool_warned in
17480 yes:)
17481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17482 whose name does not start with the host triplet. If you think this
17483 configuration is useful to you, please write to autoconf@gnu.org." >&5
17484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17485 whose name does not start with the host triplet. If you think this
17486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17487 ac_tool_warned=yes ;;
17488 esac
17489 AR=$ac_ct_AR
17490 fi
17491 else
17492 AR="$ac_cv_prog_AR"
17493 fi
17494
17495 if test "x$AR" = "x" ; then
17496 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17497 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17498 { (exit 1); exit 1; }; }
17499 fi
17500 fi
17501
17502 retest_macosx_linking=no
17503
17504 #if test "$wxUSE_MAC" = 1; then
17505 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17506 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17507 # Implicitly turn on the new --with-macosx-sdk using the default
17508 # SDK which provides the behavior this option has always had.
17509 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17510 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17511 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17512 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17513 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17514 wxUSE_MACOSX_SDK=yes
17515 fi
17516 else
17517 # Complain to user if he specified an argument to --enable-universal_binary
17518 # and also 1) specified --with-macosx-sdk using the default (yes) or
17519 # 2) specified --with-macosx-sdk using a path or 3) specified
17520 # --without-macosx-sdk (no).
17521 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17522 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17523 See \`config.log' for more details." >&5
17524 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17525 See \`config.log' for more details." >&2;}
17526 { (exit 1); exit 1; }; }
17527 else
17528 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17529 # special-case the empty string because the below test simply
17530 # converts "no" to the empty string anyway.
17531 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17532 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17533 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17534 fi
17535 fi
17536 OSX_UNIV_OPTS="-arch ppc -arch i386"
17537 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17538 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17539 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17540 retest_macosx_linking=yes
17541
17542 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17543 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17544 bk_use_pch=no
17545 fi
17546 #fi
17547
17548 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17549 wxUSE_MACOSX_SDK=
17550 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17551 # TODO: Search for most recent SDK and use it.
17552 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17553 fi
17554
17555
17556 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17557 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17558 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17559 if ! test -d "$wxUSE_MACOSX_SDK"; then
17560 { { echo "$as_me:$LINENO: error: not found
17561 See \`config.log' for more details." >&5
17562 echo "$as_me: error: not found
17563 See \`config.log' for more details." >&2;}
17564 { (exit 1); exit 1; }; }
17565 else
17566 { echo "$as_me:$LINENO: result: exists" >&5
17567 echo "${ECHO_T}exists" >&6; }
17568 fi
17569 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17570 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17571 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17572 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17573 retest_macosx_linking=yes
17574 fi
17575
17576 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17577 wxUSE_MACOSX_VERSION_MIN=
17578 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17579 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17580 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17581 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17582
17583 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/'`
17584
17585 # If that failed, try again with the new key
17586 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17587
17588 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/'`
17589
17590 fi
17591
17592 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17593 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17594 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17595 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17596 else
17597 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17598 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17599 wxUSE_MACOSX_VERSION_MIN=
17600 fi
17601 else
17602 wxUSE_MACOSX_VERSION_MIN=
17603 fi
17604 fi
17605
17606 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17607 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17608 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17609 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17610 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17611 retest_macosx_linking=yes
17612 fi
17613
17614 if test "x$retest_macosx_linking" = "xyes"; then
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 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17622 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17623 cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h. */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629
17630 int
17631 main ()
17632 {
17633
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 rm -f conftest.$ac_objext conftest$ac_exeext
17639 if { (ac_try="$ac_link"
17640 case "(($ac_try" in
17641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17642 *) ac_try_echo=$ac_try;;
17643 esac
17644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17645 (eval "$ac_link") 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } && {
17652 test -z "$ac_c_werror_flag" ||
17653 test ! -s conftest.err
17654 } && test -s conftest$ac_exeext &&
17655 $as_test_x conftest$ac_exeext; then
17656 { echo "$as_me:$LINENO: result: yes" >&5
17657 echo "${ECHO_T}yes" >&6; }
17658 else
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17661
17662 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17663 See \`config.log' for more details." >&5
17664 echo "$as_me: error: no. Try a different SDK
17665 See \`config.log' for more details." >&2;}
17666 { (exit 1); exit 1; }; }; exit 1
17667 fi
17668
17669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17670 conftest$ac_exeext conftest.$ac_ext
17671 ac_ext=c
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17676
17677
17678 ac_ext=cpp
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17683
17684 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17685 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692
17693 int
17694 main ()
17695 {
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext conftest$ac_exeext
17702 if { (ac_try="$ac_link"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_link") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_cxx_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest$ac_exeext &&
17718 $as_test_x conftest$ac_exeext; then
17719 { echo "$as_me:$LINENO: result: yes" >&5
17720 echo "${ECHO_T}yes" >&6; }
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17724
17725 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: no. Try a different SDK
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }; exit 1
17730 fi
17731
17732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17733 conftest$ac_exeext conftest.$ac_ext
17734 ac_ext=c
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17739
17740 fi
17741
17742
17743 case "${host}" in
17744
17745 *-*-darwin* )
17746 INSTALL_PROGRAM="cp -fp"
17747 INSTALL_DATA="cp -fp"
17748 ;;
17749 *)
17750 ;;
17751 esac
17752
17753
17754 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17755 CXXFLAGS="-qunique $CXXFLAGS"
17756 fi
17757
17758 case "${host}" in
17759 powerpc-*-darwin* )
17760 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17761 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768
17769 int
17770 main ()
17771 {
17772 #ifndef __POWERPC__
17773 choke me for lack of PowerPC
17774 #endif
17775
17776 ;
17777 return 0;
17778 }
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (ac_try="$ac_compile"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_compile") 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } && {
17794 test -z "$ac_c_werror_flag" ||
17795 test ! -s conftest.err
17796 } && test -s conftest.$ac_objext; then
17797 { echo "$as_me:$LINENO: result: yes" >&5
17798 echo "${ECHO_T}yes" >&6; }
17799 else
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 { echo "$as_me:$LINENO: result: no" >&5
17804 echo "${ECHO_T}no" >&6; }
17805 cat >>confdefs.h <<\_ACEOF
17806 #define __POWERPC__ 1
17807 _ACEOF
17808
17809
17810 fi
17811
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 ;;
17814 esac
17815
17816 case "${host}" in
17817 *-*-darwin* )
17818 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17819 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 #include <CoreFoundation/CFBase.h>
17827
17828 int
17829 main ()
17830 {
17831
17832 ;
17833 return 0;
17834 }
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17841 esac
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 { echo "$as_me:$LINENO: result: yes" >&5
17854 echo "${ECHO_T}yes" >&6; }
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17858
17859 { echo "$as_me:$LINENO: result: no" >&5
17860 echo "${ECHO_T}no" >&6; }
17861 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17862 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 #define __CF_USE_FRAMEWORK_INCLUDES__
17870 #include <CoreFoundation/CFBase.h>
17871
17872 int
17873 main ()
17874 {
17875
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (ac_try="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17885 esac
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17888 ac_status=$?
17889 grep -v '^ *+' conftest.er1 >conftest.err
17890 rm -f conftest.er1
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_c_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.$ac_objext; then
17897 { echo "$as_me:$LINENO: result: yes" >&5
17898 echo "${ECHO_T}yes" >&6; }
17899 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17903
17904 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17905 See \`config.log' for more details." >&5
17906 echo "$as_me: error: no. CoreFoundation not available.
17907 See \`config.log' for more details." >&2;}
17908 { (exit 1); exit 1; }; }
17909
17910 fi
17911
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913
17914
17915 fi
17916
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 ;;
17919 esac
17920
17921 wants_win32=0
17922 doesnt_want_win32=0
17923 case "${host}" in
17924 *-*-cygwin*)
17925 if test "$wxUSE_MSW" = 1 ; then
17926 wants_win32=1
17927 else
17928 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17929 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17930 if test "${wx_cv_nocygwin+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 else
17933
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 #ifdef __MINGW32__
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 wx_cv_nocygwin=no
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 wx_cv_nocygwin=yes
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: $wx_cv_nocygwin" >&5
17984 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17985
17986 if test "$wx_cv_nocygwin" = "yes"; then
17987 wants_win32=1
17988 else
17989 doesnt_want_win32=1
17990 fi
17991 fi
17992 if test "$wants_win32" = 1 ; then
17993 BAKEFILE_FORCE_PLATFORM=win32
17994 fi
17995 ;;
17996 *-*-mingw*)
17997 wants_win32=1
17998 ;;
17999 esac
18000
18001 if test "$wxUSE_WINE" = "yes"; then
18002 wants_win32=1
18003 LDFLAGS_GUI="-mwindows"
18004 fi
18005
18006 if test "$wants_win32" = 1 ; then
18007 USE_UNIX=0
18008 USE_WIN32=1
18009 cat >>confdefs.h <<\_ACEOF
18010 #define __WIN32__ 1
18011 _ACEOF
18012
18013 cat >>confdefs.h <<\_ACEOF
18014 #define __WIN95__ 1
18015 _ACEOF
18016
18017 cat >>confdefs.h <<\_ACEOF
18018 #define __WINDOWS__ 1
18019 _ACEOF
18020
18021 cat >>confdefs.h <<\_ACEOF
18022 #define __GNUWIN32__ 1
18023 _ACEOF
18024
18025 cat >>confdefs.h <<\_ACEOF
18026 #define STRICT 1
18027 _ACEOF
18028
18029 fi
18030 if test "$doesnt_want_win32" = 1 ; then
18031 USE_UNIX=1
18032 USE_WIN32=0
18033 fi
18034
18035 if test "$USE_UNIX" = 1 ; then
18036 wxUSE_UNIX=yes
18037 cat >>confdefs.h <<\_ACEOF
18038 #define __UNIX__ 1
18039 _ACEOF
18040
18041 fi
18042
18043 case "${host}" in
18044 *-pc-os2_emx | *-pc-os2-emx )
18045 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18046 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18047 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18048 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 else
18051 ac_check_lib_save_LIBS=$LIBS
18052 LIBS="-lcExt $LIBS"
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 #ifdef __cplusplus
18064 extern "C"
18065 #endif
18066 char drand48 ();
18067 int
18068 main ()
18069 {
18070 return drand48 ();
18071 ;
18072 return 0;
18073 }
18074 _ACEOF
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest$ac_exeext &&
18092 $as_test_x conftest$ac_exeext; then
18093 ac_cv_lib_cExt_drand48=yes
18094 else
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18097
18098 ac_cv_lib_cExt_drand48=no
18099 fi
18100
18101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18104 fi
18105 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18106 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18107 if test $ac_cv_lib_cExt_drand48 = yes; then
18108 LIBS="$LIBS -lcExt"
18109 fi
18110
18111 else
18112 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18113 fi
18114 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18115 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18116 if test "${wx_cv_gccversion+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 else
18119
18120 if test "$cross_compiling" = yes; then
18121 wx_cv_gccversion="EMX2"
18122
18123 else
18124 cat >conftest.$ac_ext <<_ACEOF
18125 /* confdefs.h. */
18126 _ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130
18131 #include <stdio.h>
18132
18133 int main()
18134 {
18135 FILE *f=fopen("conftestval", "w");
18136 if (!f) exit(1);
18137 fprintf(f,
18138 #if (__GNUC__ < 3)
18139 "EMX2"
18140 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18141 "EMX3"
18142 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18143 "Innotek5"
18144 #else
18145 "Innotek6"
18146 #endif
18147 );
18148 exit(0);
18149 }
18150
18151 _ACEOF
18152 rm -f conftest$ac_exeext
18153 if { (ac_try="$ac_link"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_link") 2>&5
18160 ac_status=$?
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18163 { (case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_try") 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 wx_cv_gccversion=`cat conftestval`
18173 else
18174 echo "$as_me: program exited with status $ac_status" >&5
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 ( exit $ac_status )
18179 wx_cv_gccversion="EMX2"
18180 fi
18181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18182 fi
18183
18184
18185
18186 fi
18187 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18188 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18189 if test "$wx_cv_gccversion" = "EMX2"; then
18190 LIBS="$LIBS -lstdcpp"
18191 LDFLAGS="$LDFLAGS -Zsysv-signals"
18192 else
18193 if test "$wx_cv_gccversion" = "EMX3"; then
18194 LIBS="$LIBS -lstdcxx -lgcc"
18195 LDFLAGS="$LDFLAGS -Zsysv-signals"
18196 else
18197 LIBS="$LIBS -lstdc++"
18198 fi
18199 fi
18200 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18201 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18202 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18203 wxUSE_OMF=yes
18204 enable_omf=yes
18205 fi
18206 ;;
18207 *)
18208
18209 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18210 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18211 if test "${ac_cv_string_strcasecmp+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 else
18214
18215 cat >conftest.$ac_ext <<_ACEOF
18216 /* confdefs.h. */
18217 _ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221
18222 #include <string.h>
18223
18224 int
18225 main ()
18226 {
18227
18228 strcasecmp("foo", "bar");
18229
18230 ;
18231 return 0;
18232 }
18233 _ACEOF
18234 rm -f conftest.$ac_objext conftest$ac_exeext
18235 if { (ac_try="$ac_link"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18239 esac
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_link") 2>conftest.er1
18242 ac_status=$?
18243 grep -v '^ *+' conftest.er1 >conftest.err
18244 rm -f conftest.er1
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest$ac_exeext &&
18251 $as_test_x conftest$ac_exeext; then
18252 ac_cv_string_strcasecmp=yes
18253 else
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18256
18257 ac_cv_string_strcasecmp=no
18258
18259 fi
18260
18261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18262 conftest$ac_exeext conftest.$ac_ext
18263
18264 fi
18265 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18266 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18267
18268 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18269 cat >>confdefs.h <<\_ACEOF
18270 #define HAVE_STRCASECMP_IN_STRING_H 1
18271 _ACEOF
18272
18273 else
18274 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18275 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18276 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 else
18279
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286
18287 #include <strings.h>
18288
18289 int
18290 main ()
18291 {
18292
18293 strcasecmp("foo", "bar");
18294
18295 ;
18296 return 0;
18297 }
18298 _ACEOF
18299 rm -f conftest.$ac_objext conftest$ac_exeext
18300 if { (ac_try="$ac_link"
18301 case "(($ac_try" in
18302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18303 *) ac_try_echo=$ac_try;;
18304 esac
18305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18306 (eval "$ac_link") 2>conftest.er1
18307 ac_status=$?
18308 grep -v '^ *+' conftest.er1 >conftest.err
18309 rm -f conftest.er1
18310 cat conftest.err >&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } && {
18313 test -z "$ac_c_werror_flag" ||
18314 test ! -s conftest.err
18315 } && test -s conftest$ac_exeext &&
18316 $as_test_x conftest$ac_exeext; then
18317 ac_cv_strings_strcasecmp=yes
18318 else
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18321
18322 ac_cv_strings_strcasecmp=no
18323
18324 fi
18325
18326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18327 conftest$ac_exeext conftest.$ac_ext
18328
18329 fi
18330 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18331 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18332
18333 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18334 cat >>confdefs.h <<\_ACEOF
18335 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18336 _ACEOF
18337
18338 else
18339 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18340 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18341 { (exit 1); exit 1; }; }
18342 fi
18343 fi
18344
18345 ;;
18346 esac
18347
18348
18349 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18350 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18351 if test "${ac_cv_header_stdc+set}" = set; then
18352 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 else
18354 cat >conftest.$ac_ext <<_ACEOF
18355 /* confdefs.h. */
18356 _ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 #include <stdlib.h>
18361 #include <stdarg.h>
18362 #include <string.h>
18363 #include <float.h>
18364
18365 int
18366 main ()
18367 {
18368
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_header_stdc=yes
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_cv_header_stdc=no
18396 fi
18397
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399
18400 if test $ac_cv_header_stdc = yes; then
18401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 #include <string.h>
18409
18410 _ACEOF
18411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18412 $EGREP "memchr" >/dev/null 2>&1; then
18413 :
18414 else
18415 ac_cv_header_stdc=no
18416 fi
18417 rm -f conftest*
18418
18419 fi
18420
18421 if test $ac_cv_header_stdc = yes; then
18422 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429 #include <stdlib.h>
18430
18431 _ACEOF
18432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18433 $EGREP "free" >/dev/null 2>&1; then
18434 :
18435 else
18436 ac_cv_header_stdc=no
18437 fi
18438 rm -f conftest*
18439
18440 fi
18441
18442 if test $ac_cv_header_stdc = yes; then
18443 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18444 if test "$cross_compiling" = yes; then
18445 :
18446 else
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <ctype.h>
18454 #include <stdlib.h>
18455 #if ((' ' & 0x0FF) == 0x020)
18456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18458 #else
18459 # define ISLOWER(c) \
18460 (('a' <= (c) && (c) <= 'i') \
18461 || ('j' <= (c) && (c) <= 'r') \
18462 || ('s' <= (c) && (c) <= 'z'))
18463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18464 #endif
18465
18466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18467 int
18468 main ()
18469 {
18470 int i;
18471 for (i = 0; i < 256; i++)
18472 if (XOR (islower (i), ISLOWER (i))
18473 || toupper (i) != TOUPPER (i))
18474 return 2;
18475 return 0;
18476 }
18477 _ACEOF
18478 rm -f conftest$ac_exeext
18479 if { (ac_try="$ac_link"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18483 esac
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_link") 2>&5
18486 ac_status=$?
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18489 { (case "(($ac_try" in
18490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18491 *) ac_try_echo=$ac_try;;
18492 esac
18493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18494 (eval "$ac_try") 2>&5
18495 ac_status=$?
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 :
18499 else
18500 echo "$as_me: program exited with status $ac_status" >&5
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504 ( exit $ac_status )
18505 ac_cv_header_stdc=no
18506 fi
18507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18508 fi
18509
18510
18511 fi
18512 fi
18513 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18514 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18515 if test $ac_cv_header_stdc = yes; then
18516
18517 cat >>confdefs.h <<\_ACEOF
18518 #define STDC_HEADERS 1
18519 _ACEOF
18520
18521 fi
18522
18523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18534 inttypes.h stdint.h unistd.h
18535 do
18536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 else
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 $ac_includes_default
18549
18550 #include <$ac_header>
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18557 esac
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 eval "$as_ac_Header=yes"
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18573
18574 eval "$as_ac_Header=no"
18575 fi
18576
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 fi
18579 ac_res=`eval echo '${'$as_ac_Header'}'`
18580 { echo "$as_me:$LINENO: result: $ac_res" >&5
18581 echo "${ECHO_T}$ac_res" >&6; }
18582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18585 _ACEOF
18586
18587 fi
18588
18589 done
18590
18591
18592
18593
18594 for ac_header in langinfo.h wchar.h
18595 do
18596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18609
18610 #include <$ac_header>
18611 _ACEOF
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18617 esac
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18620 ac_status=$?
18621 grep -v '^ *+' conftest.er1 >conftest.err
18622 rm -f conftest.er1
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_c_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.$ac_objext; then
18629 eval "$as_ac_Header=yes"
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 eval "$as_ac_Header=no"
18635 fi
18636
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 fi
18639 ac_res=`eval echo '${'$as_ac_Header'}'`
18640 { echo "$as_me:$LINENO: result: $ac_res" >&5
18641 echo "${ECHO_T}$ac_res" >&6; }
18642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18643 cat >>confdefs.h <<_ACEOF
18644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18645 _ACEOF
18646
18647 fi
18648
18649 done
18650
18651
18652 if test "$ac_cv_header_wchar_h" != "yes"; then
18653
18654 for ac_header in wcstr.h
18655 do
18656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 else
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 $ac_includes_default
18669
18670 #include <$ac_header>
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 eval "$as_ac_Header=yes"
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18693
18694 eval "$as_ac_Header=no"
18695 fi
18696
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 fi
18699 ac_res=`eval echo '${'$as_ac_Header'}'`
18700 { echo "$as_me:$LINENO: result: $ac_res" >&5
18701 echo "${ECHO_T}$ac_res" >&6; }
18702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18705 _ACEOF
18706
18707 fi
18708
18709 done
18710
18711 fi
18712
18713 case "${host}" in
18714 *-pc-os2_emx | *-pc-os2-emx )
18715 if test $ac_cv_header_langinfo_h = "yes" \
18716 -a \( "$wx_cv_gccversion" = "EMX2" \
18717 -o "$wx_cv_gccversion" = "EMX3" \
18718 -o "$wx_cv_gccversion" = "Innotek5" \); then
18719 LIBS="$LIBS -lintl"
18720 fi
18721 ;;
18722 esac
18723
18724 if test "$USE_UNIX" = 1 ; then
18725
18726 for ac_header in sys/select.h
18727 do
18728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18732 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 else
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h. */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 $ac_includes_default
18741
18742 #include <$ac_header>
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18749 esac
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 eval "$as_ac_Header=yes"
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18765
18766 eval "$as_ac_Header=no"
18767 fi
18768
18769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18770 fi
18771 ac_res=`eval echo '${'$as_ac_Header'}'`
18772 { echo "$as_me:$LINENO: result: $ac_res" >&5
18773 echo "${ECHO_T}$ac_res" >&6; }
18774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18775 cat >>confdefs.h <<_ACEOF
18776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18777 _ACEOF
18778
18779 fi
18780
18781 done
18782
18783 fi
18784
18785
18786 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18788 if test "${ac_cv_c_const+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 else
18791 cat >conftest.$ac_ext <<_ACEOF
18792 /* confdefs.h. */
18793 _ACEOF
18794 cat confdefs.h >>conftest.$ac_ext
18795 cat >>conftest.$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18797
18798 int
18799 main ()
18800 {
18801 /* FIXME: Include the comments suggested by Paul. */
18802 #ifndef __cplusplus
18803 /* Ultrix mips cc rejects this. */
18804 typedef int charset[2];
18805 const charset cs;
18806 /* SunOS 4.1.1 cc rejects this. */
18807 char const *const *pcpcc;
18808 char **ppc;
18809 /* NEC SVR4.0.2 mips cc rejects this. */
18810 struct point {int x, y;};
18811 static struct point const zero = {0,0};
18812 /* AIX XL C 1.02.0.0 rejects this.
18813 It does not let you subtract one const X* pointer from another in
18814 an arm of an if-expression whose if-part is not a constant
18815 expression */
18816 const char *g = "string";
18817 pcpcc = &g + (g ? g-g : 0);
18818 /* HPUX 7.0 cc rejects these. */
18819 ++pcpcc;
18820 ppc = (char**) pcpcc;
18821 pcpcc = (char const *const *) ppc;
18822 { /* SCO 3.2v4 cc rejects this. */
18823 char *t;
18824 char const *s = 0 ? (char *) 0 : (char const *) 0;
18825
18826 *t++ = 0;
18827 if (s) return 0;
18828 }
18829 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18830 int x[] = {25, 17};
18831 const int *foo = &x[0];
18832 ++foo;
18833 }
18834 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18835 typedef const int *iptr;
18836 iptr p = 0;
18837 ++p;
18838 }
18839 { /* AIX XL C 1.02.0.0 rejects this saying
18840 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18841 struct s { int j; const int *ap[3]; };
18842 struct s *b; b->j = 5;
18843 }
18844 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18845 const int foo = 10;
18846 if (!foo) return 0;
18847 }
18848 return !cs[0] && !zero.x;
18849 #endif
18850
18851 ;
18852 return 0;
18853 }
18854 _ACEOF
18855 rm -f conftest.$ac_objext
18856 if { (ac_try="$ac_compile"
18857 case "(($ac_try" in
18858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18859 *) ac_try_echo=$ac_try;;
18860 esac
18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_compile") 2>conftest.er1
18863 ac_status=$?
18864 grep -v '^ *+' conftest.er1 >conftest.err
18865 rm -f conftest.er1
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } && {
18869 test -z "$ac_c_werror_flag" ||
18870 test ! -s conftest.err
18871 } && test -s conftest.$ac_objext; then
18872 ac_cv_c_const=yes
18873 else
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18876
18877 ac_cv_c_const=no
18878 fi
18879
18880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18881 fi
18882 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18883 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18884 if test $ac_cv_c_const = no; then
18885
18886 cat >>confdefs.h <<\_ACEOF
18887 #define const
18888 _ACEOF
18889
18890 fi
18891
18892 { echo "$as_me:$LINENO: checking for inline" >&5
18893 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18894 if test "${ac_cv_c_inline+set}" = set; then
18895 echo $ECHO_N "(cached) $ECHO_C" >&6
18896 else
18897 ac_cv_c_inline=no
18898 for ac_kw in inline __inline__ __inline; do
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #ifndef __cplusplus
18906 typedef int foo_t;
18907 static $ac_kw foo_t static_foo () {return 0; }
18908 $ac_kw foo_t foo () {return 0; }
18909 #endif
18910
18911 _ACEOF
18912 rm -f conftest.$ac_objext
18913 if { (ac_try="$ac_compile"
18914 case "(($ac_try" in
18915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18916 *) ac_try_echo=$ac_try;;
18917 esac
18918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18919 (eval "$ac_compile") 2>conftest.er1
18920 ac_status=$?
18921 grep -v '^ *+' conftest.er1 >conftest.err
18922 rm -f conftest.er1
18923 cat conftest.err >&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); } && {
18926 test -z "$ac_c_werror_flag" ||
18927 test ! -s conftest.err
18928 } && test -s conftest.$ac_objext; then
18929 ac_cv_c_inline=$ac_kw
18930 else
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18933
18934
18935 fi
18936
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938 test "$ac_cv_c_inline" != no && break
18939 done
18940
18941 fi
18942 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18943 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18944
18945
18946 case $ac_cv_c_inline in
18947 inline | yes) ;;
18948 *)
18949 case $ac_cv_c_inline in
18950 no) ac_val=;;
18951 *) ac_val=$ac_cv_c_inline;;
18952 esac
18953 cat >>confdefs.h <<_ACEOF
18954 #ifndef __cplusplus
18955 #define inline $ac_val
18956 #endif
18957 _ACEOF
18958 ;;
18959 esac
18960
18961
18962 { echo "$as_me:$LINENO: checking for short" >&5
18963 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18964 if test "${ac_cv_type_short+set}" = set; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 else
18967 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */
18969 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18974 typedef short ac__type_new_;
18975 int
18976 main ()
18977 {
18978 if ((ac__type_new_ *) 0)
18979 return 0;
18980 if (sizeof (ac__type_new_))
18981 return 0;
18982 ;
18983 return 0;
18984 }
18985 _ACEOF
18986 rm -f conftest.$ac_objext
18987 if { (ac_try="$ac_compile"
18988 case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;;
18991 esac
18992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18993 (eval "$ac_compile") 2>conftest.er1
18994 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } && {
19000 test -z "$ac_c_werror_flag" ||
19001 test ! -s conftest.err
19002 } && test -s conftest.$ac_objext; then
19003 ac_cv_type_short=yes
19004 else
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19007
19008 ac_cv_type_short=no
19009 fi
19010
19011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19012 fi
19013 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19014 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19015
19016 # The cast to long int works around a bug in the HP C Compiler
19017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19018 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19019 # This bug is HP SR number 8606223364.
19020 { echo "$as_me:$LINENO: checking size of short" >&5
19021 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19022 if test "${ac_cv_sizeof_short+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025 if test "$cross_compiling" = yes; then
19026 # Depending upon the size, compute the lo and hi bounds.
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h. */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 $ac_includes_default
19034 typedef short ac__type_sizeof_;
19035 int
19036 main ()
19037 {
19038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19039 test_array [0] = 0
19040
19041 ;
19042 return 0;
19043 }
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_lo=0 ac_mid=0
19063 while :; do
19064 cat >conftest.$ac_ext <<_ACEOF
19065 /* confdefs.h. */
19066 _ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 $ac_includes_default
19071 typedef short ac__type_sizeof_;
19072 int
19073 main ()
19074 {
19075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19076 test_array [0] = 0
19077
19078 ;
19079 return 0;
19080 }
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (ac_try="$ac_compile"
19084 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19087 esac
19088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compile") 2>conftest.er1
19090 ac_status=$?
19091 grep -v '^ *+' conftest.er1 >conftest.err
19092 rm -f conftest.er1
19093 cat conftest.err >&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } && {
19096 test -z "$ac_c_werror_flag" ||
19097 test ! -s conftest.err
19098 } && test -s conftest.$ac_objext; then
19099 ac_hi=$ac_mid; break
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 ac_lo=`expr $ac_mid + 1`
19105 if test $ac_lo -le $ac_mid; then
19106 ac_lo= ac_hi=
19107 break
19108 fi
19109 ac_mid=`expr 2 '*' $ac_mid + 1`
19110 fi
19111
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 done
19114 else
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19117
19118 cat >conftest.$ac_ext <<_ACEOF
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124 $ac_includes_default
19125 typedef short ac__type_sizeof_;
19126 int
19127 main ()
19128 {
19129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19130 test_array [0] = 0
19131
19132 ;
19133 return 0;
19134 }
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 ac_hi=-1 ac_mid=-1
19154 while :; do
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 typedef short ac__type_sizeof_;
19163 int
19164 main ()
19165 {
19166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19167 test_array [0] = 0
19168
19169 ;
19170 return 0;
19171 }
19172 _ACEOF
19173 rm -f conftest.$ac_objext
19174 if { (ac_try="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19178 esac
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19181 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && {
19187 test -z "$ac_c_werror_flag" ||
19188 test ! -s conftest.err
19189 } && test -s conftest.$ac_objext; then
19190 ac_lo=$ac_mid; break
19191 else
19192 echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19194
19195 ac_hi=`expr '(' $ac_mid ')' - 1`
19196 if test $ac_mid -le $ac_hi; then
19197 ac_lo= ac_hi=
19198 break
19199 fi
19200 ac_mid=`expr 2 '*' $ac_mid`
19201 fi
19202
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19204 done
19205 else
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19208
19209 ac_lo= ac_hi=
19210 fi
19211
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 fi
19214
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 # Binary search between lo and hi bounds.
19217 while test "x$ac_lo" != "x$ac_hi"; do
19218 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19226 typedef short ac__type_sizeof_;
19227 int
19228 main ()
19229 {
19230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19231 test_array [0] = 0
19232
19233 ;
19234 return 0;
19235 }
19236 _ACEOF
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19241 *) ac_try_echo=$ac_try;;
19242 esac
19243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19244 (eval "$ac_compile") 2>conftest.er1
19245 ac_status=$?
19246 grep -v '^ *+' conftest.er1 >conftest.err
19247 rm -f conftest.er1
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } && {
19251 test -z "$ac_c_werror_flag" ||
19252 test ! -s conftest.err
19253 } && test -s conftest.$ac_objext; then
19254 ac_hi=$ac_mid
19255 else
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19258
19259 ac_lo=`expr '(' $ac_mid ')' + 1`
19260 fi
19261
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 done
19264 case $ac_lo in
19265 ?*) ac_cv_sizeof_short=$ac_lo;;
19266 '') if test "$ac_cv_type_short" = yes; then
19267 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19268 See \`config.log' for more details." >&5
19269 echo "$as_me: error: cannot compute sizeof (short)
19270 See \`config.log' for more details." >&2;}
19271 { (exit 77); exit 77; }; }
19272 else
19273 ac_cv_sizeof_short=0
19274 fi ;;
19275 esac
19276 else
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284 typedef short ac__type_sizeof_;
19285 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19286 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19287 #include <stdio.h>
19288 #include <stdlib.h>
19289 int
19290 main ()
19291 {
19292
19293 FILE *f = fopen ("conftest.val", "w");
19294 if (! f)
19295 return 1;
19296 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19297 {
19298 long int i = longval ();
19299 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19300 return 1;
19301 fprintf (f, "%ld\n", i);
19302 }
19303 else
19304 {
19305 unsigned long int i = ulongval ();
19306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19307 return 1;
19308 fprintf (f, "%lu\n", i);
19309 }
19310 return ferror (f) || fclose (f) != 0;
19311
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest$ac_exeext
19317 if { (ac_try="$ac_link"
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_link") 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19327 { (case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19330 esac
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_try") 2>&5
19333 ac_status=$?
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 ac_cv_sizeof_short=`cat conftest.val`
19337 else
19338 echo "$as_me: program exited with status $ac_status" >&5
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19341
19342 ( exit $ac_status )
19343 if test "$ac_cv_type_short" = yes; then
19344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19345 See \`config.log' for more details." >&5
19346 echo "$as_me: error: cannot compute sizeof (short)
19347 See \`config.log' for more details." >&2;}
19348 { (exit 77); exit 77; }; }
19349 else
19350 ac_cv_sizeof_short=0
19351 fi
19352 fi
19353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19354 fi
19355 rm -f conftest.val
19356 fi
19357 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19358 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19359
19360
19361
19362 cat >>confdefs.h <<_ACEOF
19363 #define SIZEOF_SHORT $ac_cv_sizeof_short
19364 _ACEOF
19365
19366
19367 { echo "$as_me:$LINENO: checking for void *" >&5
19368 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19369 if test "${ac_cv_type_void_p+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef void * ac__type_new_;
19380 int
19381 main ()
19382 {
19383 if ((ac__type_new_ *) 0)
19384 return 0;
19385 if (sizeof (ac__type_new_))
19386 return 0;
19387 ;
19388 return 0;
19389 }
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19408 ac_cv_type_void_p=yes
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 ac_cv_type_void_p=no
19414 fi
19415
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 fi
19418 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19419 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19420
19421 # The cast to long int works around a bug in the HP C Compiler
19422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19424 # This bug is HP SR number 8606223364.
19425 { echo "$as_me:$LINENO: checking size of void *" >&5
19426 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19427 if test "${ac_cv_sizeof_void_p+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 else
19430 if test "$cross_compiling" = yes; then
19431 # Depending upon the size, compute the lo and hi bounds.
19432 cat >conftest.$ac_ext <<_ACEOF
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19439 typedef void * ac__type_sizeof_;
19440 int
19441 main ()
19442 {
19443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19444 test_array [0] = 0
19445
19446 ;
19447 return 0;
19448 }
19449 _ACEOF
19450 rm -f conftest.$ac_objext
19451 if { (ac_try="$ac_compile"
19452 case "(($ac_try" in
19453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19454 *) ac_try_echo=$ac_try;;
19455 esac
19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_compile") 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } && {
19464 test -z "$ac_c_werror_flag" ||
19465 test ! -s conftest.err
19466 } && test -s conftest.$ac_objext; then
19467 ac_lo=0 ac_mid=0
19468 while :; do
19469 cat >conftest.$ac_ext <<_ACEOF
19470 /* confdefs.h. */
19471 _ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 $ac_includes_default
19476 typedef void * ac__type_sizeof_;
19477 int
19478 main ()
19479 {
19480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19481 test_array [0] = 0
19482
19483 ;
19484 return 0;
19485 }
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (ac_try="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19492 esac
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.$ac_objext; then
19504 ac_hi=$ac_mid; break
19505 else
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19508
19509 ac_lo=`expr $ac_mid + 1`
19510 if test $ac_lo -le $ac_mid; then
19511 ac_lo= ac_hi=
19512 break
19513 fi
19514 ac_mid=`expr 2 '*' $ac_mid + 1`
19515 fi
19516
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 done
19519 else
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.$ac_ext >&5
19522
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 typedef void * ac__type_sizeof_;
19531 int
19532 main ()
19533 {
19534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19535 test_array [0] = 0
19536
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 rm -f conftest.$ac_objext
19542 if { (ac_try="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19546 esac
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19549 ac_status=$?
19550 grep -v '^ *+' conftest.er1 >conftest.err
19551 rm -f conftest.er1
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 ac_hi=-1 ac_mid=-1
19559 while :; do
19560 cat >conftest.$ac_ext <<_ACEOF
19561 /* confdefs.h. */
19562 _ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 $ac_includes_default
19567 typedef void * ac__type_sizeof_;
19568 int
19569 main ()
19570 {
19571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19572 test_array [0] = 0
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 ac_lo=$ac_mid; break
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19599
19600 ac_hi=`expr '(' $ac_mid ')' - 1`
19601 if test $ac_mid -le $ac_hi; then
19602 ac_lo= ac_hi=
19603 break
19604 fi
19605 ac_mid=`expr 2 '*' $ac_mid`
19606 fi
19607
19608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19609 done
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19613
19614 ac_lo= ac_hi=
19615 fi
19616
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 fi
19619
19620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19621 # Binary search between lo and hi bounds.
19622 while test "x$ac_lo" != "x$ac_hi"; do
19623 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19624 cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h. */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 $ac_includes_default
19631 typedef void * ac__type_sizeof_;
19632 int
19633 main ()
19634 {
19635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19636 test_array [0] = 0
19637
19638 ;
19639 return 0;
19640 }
19641 _ACEOF
19642 rm -f conftest.$ac_objext
19643 if { (ac_try="$ac_compile"
19644 case "(($ac_try" in
19645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19646 *) ac_try_echo=$ac_try;;
19647 esac
19648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19649 (eval "$ac_compile") 2>conftest.er1
19650 ac_status=$?
19651 grep -v '^ *+' conftest.er1 >conftest.err
19652 rm -f conftest.er1
19653 cat conftest.err >&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && {
19656 test -z "$ac_c_werror_flag" ||
19657 test ! -s conftest.err
19658 } && test -s conftest.$ac_objext; then
19659 ac_hi=$ac_mid
19660 else
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19663
19664 ac_lo=`expr '(' $ac_mid ')' + 1`
19665 fi
19666
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668 done
19669 case $ac_lo in
19670 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19671 '') if test "$ac_cv_type_void_p" = yes; then
19672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19673 See \`config.log' for more details." >&5
19674 echo "$as_me: error: cannot compute sizeof (void *)
19675 See \`config.log' for more details." >&2;}
19676 { (exit 77); exit 77; }; }
19677 else
19678 ac_cv_sizeof_void_p=0
19679 fi ;;
19680 esac
19681 else
19682 cat >conftest.$ac_ext <<_ACEOF
19683 /* confdefs.h. */
19684 _ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 $ac_includes_default
19689 typedef void * ac__type_sizeof_;
19690 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19691 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19692 #include <stdio.h>
19693 #include <stdlib.h>
19694 int
19695 main ()
19696 {
19697
19698 FILE *f = fopen ("conftest.val", "w");
19699 if (! f)
19700 return 1;
19701 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19702 {
19703 long int i = longval ();
19704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19705 return 1;
19706 fprintf (f, "%ld\n", i);
19707 }
19708 else
19709 {
19710 unsigned long int i = ulongval ();
19711 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19712 return 1;
19713 fprintf (f, "%lu\n", i);
19714 }
19715 return ferror (f) || fclose (f) != 0;
19716
19717 ;
19718 return 0;
19719 }
19720 _ACEOF
19721 rm -f conftest$ac_exeext
19722 if { (ac_try="$ac_link"
19723 case "(($ac_try" in
19724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19725 *) ac_try_echo=$ac_try;;
19726 esac
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_link") 2>&5
19729 ac_status=$?
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19732 { (case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19735 esac
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_try") 2>&5
19738 ac_status=$?
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 ac_cv_sizeof_void_p=`cat conftest.val`
19742 else
19743 echo "$as_me: program exited with status $ac_status" >&5
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19746
19747 ( exit $ac_status )
19748 if test "$ac_cv_type_void_p" = yes; then
19749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19750 See \`config.log' for more details." >&5
19751 echo "$as_me: error: cannot compute sizeof (void *)
19752 See \`config.log' for more details." >&2;}
19753 { (exit 77); exit 77; }; }
19754 else
19755 ac_cv_sizeof_void_p=0
19756 fi
19757 fi
19758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19759 fi
19760 rm -f conftest.val
19761 fi
19762 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19763 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19764
19765
19766
19767 cat >>confdefs.h <<_ACEOF
19768 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19769 _ACEOF
19770
19771
19772 { echo "$as_me:$LINENO: checking for int" >&5
19773 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19774 if test "${ac_cv_type_int+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 else
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef int ac__type_new_;
19785 int
19786 main ()
19787 {
19788 if ((ac__type_new_ *) 0)
19789 return 0;
19790 if (sizeof (ac__type_new_))
19791 return 0;
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19801 esac
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19804 ac_status=$?
19805 grep -v '^ *+' conftest.er1 >conftest.err
19806 rm -f conftest.er1
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 ac_cv_type_int=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 ac_cv_type_int=no
19819 fi
19820
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 fi
19823 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19824 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19825
19826 # The cast to long int works around a bug in the HP C Compiler
19827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19829 # This bug is HP SR number 8606223364.
19830 { echo "$as_me:$LINENO: checking size of int" >&5
19831 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19832 if test "${ac_cv_sizeof_int+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19834 else
19835 if test "$cross_compiling" = yes; then
19836 # Depending upon the size, compute the lo and hi bounds.
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h. */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 $ac_includes_default
19844 typedef int ac__type_sizeof_;
19845 int
19846 main ()
19847 {
19848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19849 test_array [0] = 0
19850
19851 ;
19852 return 0;
19853 }
19854 _ACEOF
19855 rm -f conftest.$ac_objext
19856 if { (ac_try="$ac_compile"
19857 case "(($ac_try" in
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19860 esac
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_compile") 2>conftest.er1
19863 ac_status=$?
19864 grep -v '^ *+' conftest.er1 >conftest.err
19865 rm -f conftest.er1
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest.$ac_objext; then
19872 ac_lo=0 ac_mid=0
19873 while :; do
19874 cat >conftest.$ac_ext <<_ACEOF
19875 /* confdefs.h. */
19876 _ACEOF
19877 cat confdefs.h >>conftest.$ac_ext
19878 cat >>conftest.$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 $ac_includes_default
19881 typedef int ac__type_sizeof_;
19882 int
19883 main ()
19884 {
19885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19886 test_array [0] = 0
19887
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19900 ac_status=$?
19901 grep -v '^ *+' conftest.er1 >conftest.err
19902 rm -f conftest.er1
19903 cat conftest.err >&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.$ac_objext; then
19909 ac_hi=$ac_mid; break
19910 else
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ac_lo=`expr $ac_mid + 1`
19915 if test $ac_lo -le $ac_mid; then
19916 ac_lo= ac_hi=
19917 break
19918 fi
19919 ac_mid=`expr 2 '*' $ac_mid + 1`
19920 fi
19921
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 done
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 $ac_includes_default
19935 typedef int ac__type_sizeof_;
19936 int
19937 main ()
19938 {
19939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19940 test_array [0] = 0
19941
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 rm -f conftest.$ac_objext
19947 if { (ac_try="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19951 esac
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19954 ac_status=$?
19955 grep -v '^ *+' conftest.er1 >conftest.err
19956 rm -f conftest.er1
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19963 ac_hi=-1 ac_mid=-1
19964 while :; do
19965 cat >conftest.$ac_ext <<_ACEOF
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 $ac_includes_default
19972 typedef int ac__type_sizeof_;
19973 int
19974 main ()
19975 {
19976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19977 test_array [0] = 0
19978
19979 ;
19980 return 0;
19981 }
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (ac_try="$ac_compile"
19985 case "(($ac_try" in
19986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19987 *) ac_try_echo=$ac_try;;
19988 esac
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_compile") 2>conftest.er1
19991 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err
19999 } && test -s conftest.$ac_objext; then
20000 ac_lo=$ac_mid; break
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005 ac_hi=`expr '(' $ac_mid ')' - 1`
20006 if test $ac_mid -le $ac_hi; then
20007 ac_lo= ac_hi=
20008 break
20009 fi
20010 ac_mid=`expr 2 '*' $ac_mid`
20011 fi
20012
20013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 done
20015 else
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20018
20019 ac_lo= ac_hi=
20020 fi
20021
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 fi
20024
20025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 # Binary search between lo and hi bounds.
20027 while test "x$ac_lo" != "x$ac_hi"; do
20028 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20029 cat >conftest.$ac_ext <<_ACEOF
20030 /* confdefs.h. */
20031 _ACEOF
20032 cat confdefs.h >>conftest.$ac_ext
20033 cat >>conftest.$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20036 typedef int ac__type_sizeof_;
20037 int
20038 main ()
20039 {
20040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20041 test_array [0] = 0
20042
20043 ;
20044 return 0;
20045 }
20046 _ACEOF
20047 rm -f conftest.$ac_objext
20048 if { (ac_try="$ac_compile"
20049 case "(($ac_try" in
20050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20052 esac
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_compile") 2>conftest.er1
20055 ac_status=$?
20056 grep -v '^ *+' conftest.er1 >conftest.err
20057 rm -f conftest.er1
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } && {
20061 test -z "$ac_c_werror_flag" ||
20062 test ! -s conftest.err
20063 } && test -s conftest.$ac_objext; then
20064 ac_hi=$ac_mid
20065 else
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.$ac_ext >&5
20068
20069 ac_lo=`expr '(' $ac_mid ')' + 1`
20070 fi
20071
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 done
20074 case $ac_lo in
20075 ?*) ac_cv_sizeof_int=$ac_lo;;
20076 '') if test "$ac_cv_type_int" = yes; then
20077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20078 See \`config.log' for more details." >&5
20079 echo "$as_me: error: cannot compute sizeof (int)
20080 See \`config.log' for more details." >&2;}
20081 { (exit 77); exit 77; }; }
20082 else
20083 ac_cv_sizeof_int=0
20084 fi ;;
20085 esac
20086 else
20087 cat >conftest.$ac_ext <<_ACEOF
20088 /* confdefs.h. */
20089 _ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 $ac_includes_default
20094 typedef int ac__type_sizeof_;
20095 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20096 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20097 #include <stdio.h>
20098 #include <stdlib.h>
20099 int
20100 main ()
20101 {
20102
20103 FILE *f = fopen ("conftest.val", "w");
20104 if (! f)
20105 return 1;
20106 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20107 {
20108 long int i = longval ();
20109 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20110 return 1;
20111 fprintf (f, "%ld\n", i);
20112 }
20113 else
20114 {
20115 unsigned long int i = ulongval ();
20116 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20117 return 1;
20118 fprintf (f, "%lu\n", i);
20119 }
20120 return ferror (f) || fclose (f) != 0;
20121
20122 ;
20123 return 0;
20124 }
20125 _ACEOF
20126 rm -f conftest$ac_exeext
20127 if { (ac_try="$ac_link"
20128 case "(($ac_try" in
20129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20131 esac
20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_link") 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20137 { (case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20140 esac
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_try") 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 ac_cv_sizeof_int=`cat conftest.val`
20147 else
20148 echo "$as_me: program exited with status $ac_status" >&5
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 ( exit $ac_status )
20153 if test "$ac_cv_type_int" = yes; then
20154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20155 See \`config.log' for more details." >&5
20156 echo "$as_me: error: cannot compute sizeof (int)
20157 See \`config.log' for more details." >&2;}
20158 { (exit 77); exit 77; }; }
20159 else
20160 ac_cv_sizeof_int=0
20161 fi
20162 fi
20163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20164 fi
20165 rm -f conftest.val
20166 fi
20167 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20168 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20169
20170
20171
20172 cat >>confdefs.h <<_ACEOF
20173 #define SIZEOF_INT $ac_cv_sizeof_int
20174 _ACEOF
20175
20176
20177 { echo "$as_me:$LINENO: checking for long" >&5
20178 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20179 if test "${ac_cv_type_long+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 else
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef long ac__type_new_;
20190 int
20191 main ()
20192 {
20193 if ((ac__type_new_ *) 0)
20194 return 0;
20195 if (sizeof (ac__type_new_))
20196 return 0;
20197 ;
20198 return 0;
20199 }
20200 _ACEOF
20201 rm -f conftest.$ac_objext
20202 if { (ac_try="$ac_compile"
20203 case "(($ac_try" in
20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20206 esac
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_compile") 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_c_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest.$ac_objext; then
20218 ac_cv_type_long=yes
20219 else
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20222
20223 ac_cv_type_long=no
20224 fi
20225
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 fi
20228 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20229 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20230
20231 # The cast to long int works around a bug in the HP C Compiler
20232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20234 # This bug is HP SR number 8606223364.
20235 { echo "$as_me:$LINENO: checking size of long" >&5
20236 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20237 if test "${ac_cv_sizeof_long+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 if test "$cross_compiling" = yes; then
20241 # Depending upon the size, compute the lo and hi bounds.
20242 cat >conftest.$ac_ext <<_ACEOF
20243 /* confdefs.h. */
20244 _ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 $ac_includes_default
20249 typedef long ac__type_sizeof_;
20250 int
20251 main ()
20252 {
20253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20254 test_array [0] = 0
20255
20256 ;
20257 return 0;
20258 }
20259 _ACEOF
20260 rm -f conftest.$ac_objext
20261 if { (ac_try="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20265 esac
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.$ac_objext; then
20277 ac_lo=0 ac_mid=0
20278 while :; do
20279 cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h. */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20286 typedef long ac__type_sizeof_;
20287 int
20288 main ()
20289 {
20290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20291 test_array [0] = 0
20292
20293 ;
20294 return 0;
20295 }
20296 _ACEOF
20297 rm -f conftest.$ac_objext
20298 if { (ac_try="$ac_compile"
20299 case "(($ac_try" in
20300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301 *) ac_try_echo=$ac_try;;
20302 esac
20303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304 (eval "$ac_compile") 2>conftest.er1
20305 ac_status=$?
20306 grep -v '^ *+' conftest.er1 >conftest.err
20307 rm -f conftest.er1
20308 cat conftest.err >&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } && {
20311 test -z "$ac_c_werror_flag" ||
20312 test ! -s conftest.err
20313 } && test -s conftest.$ac_objext; then
20314 ac_hi=$ac_mid; break
20315 else
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 ac_lo=`expr $ac_mid + 1`
20320 if test $ac_lo -le $ac_mid; then
20321 ac_lo= ac_hi=
20322 break
20323 fi
20324 ac_mid=`expr 2 '*' $ac_mid + 1`
20325 fi
20326
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 done
20329 else
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 cat >conftest.$ac_ext <<_ACEOF
20334 /* confdefs.h. */
20335 _ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20340 typedef long ac__type_sizeof_;
20341 int
20342 main ()
20343 {
20344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20345 test_array [0] = 0
20346
20347 ;
20348 return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20356 esac
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20359 ac_status=$?
20360 grep -v '^ *+' conftest.er1 >conftest.err
20361 rm -f conftest.er1
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_hi=-1 ac_mid=-1
20369 while :; do
20370 cat >conftest.$ac_ext <<_ACEOF
20371 /* confdefs.h. */
20372 _ACEOF
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20376 $ac_includes_default
20377 typedef long ac__type_sizeof_;
20378 int
20379 main ()
20380 {
20381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20382 test_array [0] = 0
20383
20384 ;
20385 return 0;
20386 }
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20393 esac
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.$ac_objext; then
20405 ac_lo=$ac_mid; break
20406 else
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20409
20410 ac_hi=`expr '(' $ac_mid ')' - 1`
20411 if test $ac_mid -le $ac_hi; then
20412 ac_lo= ac_hi=
20413 break
20414 fi
20415 ac_mid=`expr 2 '*' $ac_mid`
20416 fi
20417
20418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20419 done
20420 else
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 ac_lo= ac_hi=
20425 fi
20426
20427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20428 fi
20429
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 # Binary search between lo and hi bounds.
20432 while test "x$ac_lo" != "x$ac_hi"; do
20433 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h. */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 typedef long ac__type_sizeof_;
20442 int
20443 main ()
20444 {
20445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20446 test_array [0] = 0
20447
20448 ;
20449 return 0;
20450 }
20451 _ACEOF
20452 rm -f conftest.$ac_objext
20453 if { (ac_try="$ac_compile"
20454 case "(($ac_try" in
20455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20456 *) ac_try_echo=$ac_try;;
20457 esac
20458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20459 (eval "$ac_compile") 2>conftest.er1
20460 ac_status=$?
20461 grep -v '^ *+' conftest.er1 >conftest.err
20462 rm -f conftest.er1
20463 cat conftest.err >&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } && {
20466 test -z "$ac_c_werror_flag" ||
20467 test ! -s conftest.err
20468 } && test -s conftest.$ac_objext; then
20469 ac_hi=$ac_mid
20470 else
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20473
20474 ac_lo=`expr '(' $ac_mid ')' + 1`
20475 fi
20476
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 done
20479 case $ac_lo in
20480 ?*) ac_cv_sizeof_long=$ac_lo;;
20481 '') if test "$ac_cv_type_long" = yes; then
20482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20483 See \`config.log' for more details." >&5
20484 echo "$as_me: error: cannot compute sizeof (long)
20485 See \`config.log' for more details." >&2;}
20486 { (exit 77); exit 77; }; }
20487 else
20488 ac_cv_sizeof_long=0
20489 fi ;;
20490 esac
20491 else
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 typedef long ac__type_sizeof_;
20500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20502 #include <stdio.h>
20503 #include <stdlib.h>
20504 int
20505 main ()
20506 {
20507
20508 FILE *f = fopen ("conftest.val", "w");
20509 if (! f)
20510 return 1;
20511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20512 {
20513 long int i = longval ();
20514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20515 return 1;
20516 fprintf (f, "%ld\n", i);
20517 }
20518 else
20519 {
20520 unsigned long int i = ulongval ();
20521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20522 return 1;
20523 fprintf (f, "%lu\n", i);
20524 }
20525 return ferror (f) || fclose (f) != 0;
20526
20527 ;
20528 return 0;
20529 }
20530 _ACEOF
20531 rm -f conftest$ac_exeext
20532 if { (ac_try="$ac_link"
20533 case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20536 esac
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_link") 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20542 { (case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20545 esac
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_try") 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_cv_sizeof_long=`cat conftest.val`
20552 else
20553 echo "$as_me: program exited with status $ac_status" >&5
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20556
20557 ( exit $ac_status )
20558 if test "$ac_cv_type_long" = yes; then
20559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20560 See \`config.log' for more details." >&5
20561 echo "$as_me: error: cannot compute sizeof (long)
20562 See \`config.log' for more details." >&2;}
20563 { (exit 77); exit 77; }; }
20564 else
20565 ac_cv_sizeof_long=0
20566 fi
20567 fi
20568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20569 fi
20570 rm -f conftest.val
20571 fi
20572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20573 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20574
20575
20576
20577 cat >>confdefs.h <<_ACEOF
20578 #define SIZEOF_LONG $ac_cv_sizeof_long
20579 _ACEOF
20580
20581
20582 { echo "$as_me:$LINENO: checking for size_t" >&5
20583 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20584 if test "${ac_cv_type_size_t+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20586 else
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 $ac_includes_default
20594 typedef size_t ac__type_new_;
20595 int
20596 main ()
20597 {
20598 if ((ac__type_new_ *) 0)
20599 return 0;
20600 if (sizeof (ac__type_new_))
20601 return 0;
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_cv_type_size_t=yes
20624 else
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20627
20628 ac_cv_type_size_t=no
20629 fi
20630
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20632 fi
20633 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20634 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20635
20636 # The cast to long int works around a bug in the HP C Compiler
20637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20639 # This bug is HP SR number 8606223364.
20640 { echo "$as_me:$LINENO: checking size of size_t" >&5
20641 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20642 if test "${ac_cv_sizeof_size_t+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645 if test "$cross_compiling" = yes; then
20646 # Depending upon the size, compute the lo and hi bounds.
20647 cat >conftest.$ac_ext <<_ACEOF
20648 /* confdefs.h. */
20649 _ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 typedef size_t ac__type_sizeof_;
20655 int
20656 main ()
20657 {
20658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20659 test_array [0] = 0
20660
20661 ;
20662 return 0;
20663 }
20664 _ACEOF
20665 rm -f conftest.$ac_objext
20666 if { (ac_try="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20669 *) ac_try_echo=$ac_try;;
20670 esac
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20673 ac_status=$?
20674 grep -v '^ *+' conftest.er1 >conftest.err
20675 rm -f conftest.er1
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest.$ac_objext; then
20682 ac_lo=0 ac_mid=0
20683 while :; do
20684 cat >conftest.$ac_ext <<_ACEOF
20685 /* confdefs.h. */
20686 _ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20690 $ac_includes_default
20691 typedef size_t ac__type_sizeof_;
20692 int
20693 main ()
20694 {
20695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20696 test_array [0] = 0
20697
20698 ;
20699 return 0;
20700 }
20701 _ACEOF
20702 rm -f conftest.$ac_objext
20703 if { (ac_try="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20707 esac
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20710 ac_status=$?
20711 grep -v '^ *+' conftest.er1 >conftest.err
20712 rm -f conftest.er1
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.$ac_objext; then
20719 ac_hi=$ac_mid; break
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 ac_lo=`expr $ac_mid + 1`
20725 if test $ac_lo -le $ac_mid; then
20726 ac_lo= ac_hi=
20727 break
20728 fi
20729 ac_mid=`expr 2 '*' $ac_mid + 1`
20730 fi
20731
20732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20733 done
20734 else
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.$ac_ext >&5
20737
20738 cat >conftest.$ac_ext <<_ACEOF
20739 /* confdefs.h. */
20740 _ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef size_t ac__type_sizeof_;
20746 int
20747 main ()
20748 {
20749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20750 test_array [0] = 0
20751
20752 ;
20753 return 0;
20754 }
20755 _ACEOF
20756 rm -f conftest.$ac_objext
20757 if { (ac_try="$ac_compile"
20758 case "(($ac_try" in
20759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20760 *) ac_try_echo=$ac_try;;
20761 esac
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_compile") 2>conftest.er1
20764 ac_status=$?
20765 grep -v '^ *+' conftest.er1 >conftest.err
20766 rm -f conftest.er1
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } && {
20770 test -z "$ac_c_werror_flag" ||
20771 test ! -s conftest.err
20772 } && test -s conftest.$ac_objext; then
20773 ac_hi=-1 ac_mid=-1
20774 while :; do
20775 cat >conftest.$ac_ext <<_ACEOF
20776 /* confdefs.h. */
20777 _ACEOF
20778 cat confdefs.h >>conftest.$ac_ext
20779 cat >>conftest.$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20781 $ac_includes_default
20782 typedef size_t ac__type_sizeof_;
20783 int
20784 main ()
20785 {
20786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20787 test_array [0] = 0
20788
20789 ;
20790 return 0;
20791 }
20792 _ACEOF
20793 rm -f conftest.$ac_objext
20794 if { (ac_try="$ac_compile"
20795 case "(($ac_try" in
20796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20797 *) ac_try_echo=$ac_try;;
20798 esac
20799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20800 (eval "$ac_compile") 2>conftest.er1
20801 ac_status=$?
20802 grep -v '^ *+' conftest.er1 >conftest.err
20803 rm -f conftest.er1
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } && {
20807 test -z "$ac_c_werror_flag" ||
20808 test ! -s conftest.err
20809 } && test -s conftest.$ac_objext; then
20810 ac_lo=$ac_mid; break
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20814
20815 ac_hi=`expr '(' $ac_mid ')' - 1`
20816 if test $ac_mid -le $ac_hi; then
20817 ac_lo= ac_hi=
20818 break
20819 fi
20820 ac_mid=`expr 2 '*' $ac_mid`
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 done
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 ac_lo= ac_hi=
20830 fi
20831
20832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20833 fi
20834
20835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20836 # Binary search between lo and hi bounds.
20837 while test "x$ac_lo" != "x$ac_hi"; do
20838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20839 cat >conftest.$ac_ext <<_ACEOF
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 typedef size_t ac__type_sizeof_;
20847 int
20848 main ()
20849 {
20850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20851 test_array [0] = 0
20852
20853 ;
20854 return 0;
20855 }
20856 _ACEOF
20857 rm -f conftest.$ac_objext
20858 if { (ac_try="$ac_compile"
20859 case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20862 esac
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_compile") 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest.$ac_objext; then
20874 ac_hi=$ac_mid
20875 else
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20878
20879 ac_lo=`expr '(' $ac_mid ')' + 1`
20880 fi
20881
20882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20883 done
20884 case $ac_lo in
20885 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20886 '') if test "$ac_cv_type_size_t" = yes; then
20887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20888 See \`config.log' for more details." >&5
20889 echo "$as_me: error: cannot compute sizeof (size_t)
20890 See \`config.log' for more details." >&2;}
20891 { (exit 77); exit 77; }; }
20892 else
20893 ac_cv_sizeof_size_t=0
20894 fi ;;
20895 esac
20896 else
20897 cat >conftest.$ac_ext <<_ACEOF
20898 /* confdefs.h. */
20899 _ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 $ac_includes_default
20904 typedef size_t ac__type_sizeof_;
20905 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20906 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20907 #include <stdio.h>
20908 #include <stdlib.h>
20909 int
20910 main ()
20911 {
20912
20913 FILE *f = fopen ("conftest.val", "w");
20914 if (! f)
20915 return 1;
20916 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20917 {
20918 long int i = longval ();
20919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20920 return 1;
20921 fprintf (f, "%ld\n", i);
20922 }
20923 else
20924 {
20925 unsigned long int i = ulongval ();
20926 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20927 return 1;
20928 fprintf (f, "%lu\n", i);
20929 }
20930 return ferror (f) || fclose (f) != 0;
20931
20932 ;
20933 return 0;
20934 }
20935 _ACEOF
20936 rm -f conftest$ac_exeext
20937 if { (ac_try="$ac_link"
20938 case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20941 esac
20942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20943 (eval "$ac_link") 2>&5
20944 ac_status=$?
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20947 { (case "(($ac_try" in
20948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20949 *) ac_try_echo=$ac_try;;
20950 esac
20951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20952 (eval "$ac_try") 2>&5
20953 ac_status=$?
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_sizeof_size_t=`cat conftest.val`
20957 else
20958 echo "$as_me: program exited with status $ac_status" >&5
20959 echo "$as_me: failed program was:" >&5
20960 sed 's/^/| /' conftest.$ac_ext >&5
20961
20962 ( exit $ac_status )
20963 if test "$ac_cv_type_size_t" = yes; then
20964 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20965 See \`config.log' for more details." >&5
20966 echo "$as_me: error: cannot compute sizeof (size_t)
20967 See \`config.log' for more details." >&2;}
20968 { (exit 77); exit 77; }; }
20969 else
20970 ac_cv_sizeof_size_t=0
20971 fi
20972 fi
20973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20974 fi
20975 rm -f conftest.val
20976 fi
20977 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20978 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20979
20980
20981
20982 cat >>confdefs.h <<_ACEOF
20983 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20984 _ACEOF
20985
20986
20987
20988 case "${host}" in
20989 arm-*-linux* )
20990 { echo "$as_me:$LINENO: checking for long long" >&5
20991 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20992 if test "${ac_cv_type_long_long+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 else
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 $ac_includes_default
21002 typedef long long ac__type_new_;
21003 int
21004 main ()
21005 {
21006 if ((ac__type_new_ *) 0)
21007 return 0;
21008 if (sizeof (ac__type_new_))
21009 return 0;
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (ac_try="$ac_compile"
21016 case "(($ac_try" in
21017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21018 *) ac_try_echo=$ac_try;;
21019 esac
21020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21021 (eval "$ac_compile") 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } && {
21028 test -z "$ac_c_werror_flag" ||
21029 test ! -s conftest.err
21030 } && test -s conftest.$ac_objext; then
21031 ac_cv_type_long_long=yes
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21035
21036 ac_cv_type_long_long=no
21037 fi
21038
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 fi
21041 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21042 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21043
21044 # The cast to long int works around a bug in the HP C Compiler
21045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21047 # This bug is HP SR number 8606223364.
21048 { echo "$as_me:$LINENO: checking size of long long" >&5
21049 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21050 if test "${ac_cv_sizeof_long_long+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 else
21053 if test "$cross_compiling" = yes; then
21054 # Depending upon the size, compute the lo and hi bounds.
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef long long ac__type_sizeof_;
21063 int
21064 main ()
21065 {
21066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21067 test_array [0] = 0
21068
21069 ;
21070 return 0;
21071 }
21072 _ACEOF
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } && {
21087 test -z "$ac_c_werror_flag" ||
21088 test ! -s conftest.err
21089 } && test -s conftest.$ac_objext; then
21090 ac_lo=0 ac_mid=0
21091 while :; do
21092 cat >conftest.$ac_ext <<_ACEOF
21093 /* confdefs.h. */
21094 _ACEOF
21095 cat confdefs.h >>conftest.$ac_ext
21096 cat >>conftest.$ac_ext <<_ACEOF
21097 /* end confdefs.h. */
21098 $ac_includes_default
21099 typedef long long ac__type_sizeof_;
21100 int
21101 main ()
21102 {
21103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21104 test_array [0] = 0
21105
21106 ;
21107 return 0;
21108 }
21109 _ACEOF
21110 rm -f conftest.$ac_objext
21111 if { (ac_try="$ac_compile"
21112 case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21115 esac
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_compile") 2>conftest.er1
21118 ac_status=$?
21119 grep -v '^ *+' conftest.er1 >conftest.err
21120 rm -f conftest.er1
21121 cat conftest.err >&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); } && {
21124 test -z "$ac_c_werror_flag" ||
21125 test ! -s conftest.err
21126 } && test -s conftest.$ac_objext; then
21127 ac_hi=$ac_mid; break
21128 else
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21131
21132 ac_lo=`expr $ac_mid + 1`
21133 if test $ac_lo -le $ac_mid; then
21134 ac_lo= ac_hi=
21135 break
21136 fi
21137 ac_mid=`expr 2 '*' $ac_mid + 1`
21138 fi
21139
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141 done
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h. */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 $ac_includes_default
21153 typedef long long ac__type_sizeof_;
21154 int
21155 main ()
21156 {
21157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21158 test_array [0] = 0
21159
21160 ;
21161 return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest.$ac_objext
21165 if { (ac_try="$ac_compile"
21166 case "(($ac_try" in
21167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21169 esac
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_compile") 2>conftest.er1
21172 ac_status=$?
21173 grep -v '^ *+' conftest.er1 >conftest.err
21174 rm -f conftest.er1
21175 cat conftest.err >&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } && {
21178 test -z "$ac_c_werror_flag" ||
21179 test ! -s conftest.err
21180 } && test -s conftest.$ac_objext; then
21181 ac_hi=-1 ac_mid=-1
21182 while :; do
21183 cat >conftest.$ac_ext <<_ACEOF
21184 /* confdefs.h. */
21185 _ACEOF
21186 cat confdefs.h >>conftest.$ac_ext
21187 cat >>conftest.$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 $ac_includes_default
21190 typedef long long ac__type_sizeof_;
21191 int
21192 main ()
21193 {
21194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21195 test_array [0] = 0
21196
21197 ;
21198 return 0;
21199 }
21200 _ACEOF
21201 rm -f conftest.$ac_objext
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206 esac
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21209 ac_status=$?
21210 grep -v '^ *+' conftest.er1 >conftest.err
21211 rm -f conftest.er1
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21218 ac_lo=$ac_mid; break
21219 else
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21222
21223 ac_hi=`expr '(' $ac_mid ')' - 1`
21224 if test $ac_mid -le $ac_hi; then
21225 ac_lo= ac_hi=
21226 break
21227 fi
21228 ac_mid=`expr 2 '*' $ac_mid`
21229 fi
21230
21231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21232 done
21233 else
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21236
21237 ac_lo= ac_hi=
21238 fi
21239
21240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21241 fi
21242
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 # Binary search between lo and hi bounds.
21245 while test "x$ac_lo" != "x$ac_hi"; do
21246 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21247 cat >conftest.$ac_ext <<_ACEOF
21248 /* confdefs.h. */
21249 _ACEOF
21250 cat confdefs.h >>conftest.$ac_ext
21251 cat >>conftest.$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21253 $ac_includes_default
21254 typedef long long ac__type_sizeof_;
21255 int
21256 main ()
21257 {
21258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21259 test_array [0] = 0
21260
21261 ;
21262 return 0;
21263 }
21264 _ACEOF
21265 rm -f conftest.$ac_objext
21266 if { (ac_try="$ac_compile"
21267 case "(($ac_try" in
21268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21270 esac
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_compile") 2>conftest.er1
21273 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 } && test -s conftest.$ac_objext; then
21282 ac_hi=$ac_mid
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21286
21287 ac_lo=`expr '(' $ac_mid ')' + 1`
21288 fi
21289
21290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21291 done
21292 case $ac_lo in
21293 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21294 '') if test "$ac_cv_type_long_long" = yes; then
21295 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21296 See \`config.log' for more details." >&5
21297 echo "$as_me: error: cannot compute sizeof (long long)
21298 See \`config.log' for more details." >&2;}
21299 { (exit 77); exit 77; }; }
21300 else
21301 ac_cv_sizeof_long_long=0
21302 fi ;;
21303 esac
21304 else
21305 cat >conftest.$ac_ext <<_ACEOF
21306 /* confdefs.h. */
21307 _ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef long long ac__type_sizeof_;
21313 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21314 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21315 #include <stdio.h>
21316 #include <stdlib.h>
21317 int
21318 main ()
21319 {
21320
21321 FILE *f = fopen ("conftest.val", "w");
21322 if (! f)
21323 return 1;
21324 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21325 {
21326 long int i = longval ();
21327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21328 return 1;
21329 fprintf (f, "%ld\n", i);
21330 }
21331 else
21332 {
21333 unsigned long int i = ulongval ();
21334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21335 return 1;
21336 fprintf (f, "%lu\n", i);
21337 }
21338 return ferror (f) || fclose (f) != 0;
21339
21340 ;
21341 return 0;
21342 }
21343 _ACEOF
21344 rm -f conftest$ac_exeext
21345 if { (ac_try="$ac_link"
21346 case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21349 esac
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_link") 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21355 { (case "(($ac_try" in
21356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21357 *) ac_try_echo=$ac_try;;
21358 esac
21359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_try") 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_cv_sizeof_long_long=`cat conftest.val`
21365 else
21366 echo "$as_me: program exited with status $ac_status" >&5
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 ( exit $ac_status )
21371 if test "$ac_cv_type_long_long" = yes; then
21372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21373 See \`config.log' for more details." >&5
21374 echo "$as_me: error: cannot compute sizeof (long long)
21375 See \`config.log' for more details." >&2;}
21376 { (exit 77); exit 77; }; }
21377 else
21378 ac_cv_sizeof_long_long=0
21379 fi
21380 fi
21381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21382 fi
21383 rm -f conftest.val
21384 fi
21385 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21386 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21387
21388
21389
21390 cat >>confdefs.h <<_ACEOF
21391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21392 _ACEOF
21393
21394
21395 ;;
21396 *-hp-hpux* )
21397 { echo "$as_me:$LINENO: checking for long long" >&5
21398 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21399 if test "${ac_cv_type_long_long+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 else
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 typedef long long ac__type_new_;
21410 int
21411 main ()
21412 {
21413 if ((ac__type_new_ *) 0)
21414 return 0;
21415 if (sizeof (ac__type_new_))
21416 return 0;
21417 ;
21418 return 0;
21419 }
21420 _ACEOF
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21426 esac
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21429 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21438 ac_cv_type_long_long=yes
21439 else
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21442
21443 ac_cv_type_long_long=no
21444 fi
21445
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 fi
21448 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21449 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21450
21451 # The cast to long int works around a bug in the HP C Compiler
21452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21454 # This bug is HP SR number 8606223364.
21455 { echo "$as_me:$LINENO: checking size of long long" >&5
21456 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21457 if test "${ac_cv_sizeof_long_long+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460 if test "$cross_compiling" = yes; then
21461 # Depending upon the size, compute the lo and hi bounds.
21462 cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h. */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469 typedef long long ac__type_sizeof_;
21470 int
21471 main ()
21472 {
21473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21474 test_array [0] = 0
21475
21476 ;
21477 return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest.$ac_objext
21481 if { (ac_try="$ac_compile"
21482 case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21485 esac
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_compile") 2>conftest.er1
21488 ac_status=$?
21489 grep -v '^ *+' conftest.er1 >conftest.err
21490 rm -f conftest.er1
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } && {
21494 test -z "$ac_c_werror_flag" ||
21495 test ! -s conftest.err
21496 } && test -s conftest.$ac_objext; then
21497 ac_lo=0 ac_mid=0
21498 while :; do
21499 cat >conftest.$ac_ext <<_ACEOF
21500 /* confdefs.h. */
21501 _ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21505 $ac_includes_default
21506 typedef long long ac__type_sizeof_;
21507 int
21508 main ()
21509 {
21510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21511 test_array [0] = 0
21512
21513 ;
21514 return 0;
21515 }
21516 _ACEOF
21517 rm -f conftest.$ac_objext
21518 if { (ac_try="$ac_compile"
21519 case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21522 esac
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_compile") 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } && {
21531 test -z "$ac_c_werror_flag" ||
21532 test ! -s conftest.err
21533 } && test -s conftest.$ac_objext; then
21534 ac_hi=$ac_mid; break
21535 else
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21538
21539 ac_lo=`expr $ac_mid + 1`
21540 if test $ac_lo -le $ac_mid; then
21541 ac_lo= ac_hi=
21542 break
21543 fi
21544 ac_mid=`expr 2 '*' $ac_mid + 1`
21545 fi
21546
21547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21548 done
21549 else
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef long long ac__type_sizeof_;
21561 int
21562 main ()
21563 {
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21565 test_array [0] = 0
21566
21567 ;
21568 return 0;
21569 }
21570 _ACEOF
21571 rm -f conftest.$ac_objext
21572 if { (ac_try="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21579 ac_status=$?
21580 grep -v '^ *+' conftest.er1 >conftest.err
21581 rm -f conftest.er1
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21588 ac_hi=-1 ac_mid=-1
21589 while :; do
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 typedef long long ac__type_sizeof_;
21598 int
21599 main ()
21600 {
21601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21602 test_array [0] = 0
21603
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21613 esac
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21616 ac_status=$?
21617 grep -v '^ *+' conftest.er1 >conftest.err
21618 rm -f conftest.er1
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.$ac_objext; then
21625 ac_lo=$ac_mid; break
21626 else
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21629
21630 ac_hi=`expr '(' $ac_mid ')' - 1`
21631 if test $ac_mid -le $ac_hi; then
21632 ac_lo= ac_hi=
21633 break
21634 fi
21635 ac_mid=`expr 2 '*' $ac_mid`
21636 fi
21637
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639 done
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_lo= ac_hi=
21645 fi
21646
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648 fi
21649
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 # Binary search between lo and hi bounds.
21652 while test "x$ac_lo" != "x$ac_hi"; do
21653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21654 cat >conftest.$ac_ext <<_ACEOF
21655 /* confdefs.h. */
21656 _ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long long ac__type_sizeof_;
21662 int
21663 main ()
21664 {
21665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21666 test_array [0] = 0
21667
21668 ;
21669 return 0;
21670 }
21671 _ACEOF
21672 rm -f conftest.$ac_objext
21673 if { (ac_try="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21676 *) ac_try_echo=$ac_try;;
21677 esac
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21680 ac_status=$?
21681 grep -v '^ *+' conftest.er1 >conftest.err
21682 rm -f conftest.er1
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && {
21686 test -z "$ac_c_werror_flag" ||
21687 test ! -s conftest.err
21688 } && test -s conftest.$ac_objext; then
21689 ac_hi=$ac_mid
21690 else
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21693
21694 ac_lo=`expr '(' $ac_mid ')' + 1`
21695 fi
21696
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698 done
21699 case $ac_lo in
21700 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21701 '') if test "$ac_cv_type_long_long" = yes; then
21702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21703 See \`config.log' for more details." >&5
21704 echo "$as_me: error: cannot compute sizeof (long long)
21705 See \`config.log' for more details." >&2;}
21706 { (exit 77); exit 77; }; }
21707 else
21708 ac_cv_sizeof_long_long=0
21709 fi ;;
21710 esac
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 $ac_includes_default
21719 typedef long long ac__type_sizeof_;
21720 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21721 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21722 #include <stdio.h>
21723 #include <stdlib.h>
21724 int
21725 main ()
21726 {
21727
21728 FILE *f = fopen ("conftest.val", "w");
21729 if (! f)
21730 return 1;
21731 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21732 {
21733 long int i = longval ();
21734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21735 return 1;
21736 fprintf (f, "%ld\n", i);
21737 }
21738 else
21739 {
21740 unsigned long int i = ulongval ();
21741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21742 return 1;
21743 fprintf (f, "%lu\n", i);
21744 }
21745 return ferror (f) || fclose (f) != 0;
21746
21747 ;
21748 return 0;
21749 }
21750 _ACEOF
21751 rm -f conftest$ac_exeext
21752 if { (ac_try="$ac_link"
21753 case "(($ac_try" in
21754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21755 *) ac_try_echo=$ac_try;;
21756 esac
21757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21758 (eval "$ac_link") 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21762 { (case "(($ac_try" in
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21765 esac
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_try") 2>&5
21768 ac_status=$?
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_cv_sizeof_long_long=`cat conftest.val`
21772 else
21773 echo "$as_me: program exited with status $ac_status" >&5
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21776
21777 ( exit $ac_status )
21778 if test "$ac_cv_type_long_long" = yes; then
21779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21780 See \`config.log' for more details." >&5
21781 echo "$as_me: error: cannot compute sizeof (long long)
21782 See \`config.log' for more details." >&2;}
21783 { (exit 77); exit 77; }; }
21784 else
21785 ac_cv_sizeof_long_long=0
21786 fi
21787 fi
21788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21789 fi
21790 rm -f conftest.val
21791 fi
21792 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21793 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21794
21795
21796
21797 cat >>confdefs.h <<_ACEOF
21798 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21799 _ACEOF
21800
21801
21802 if test "$ac_cv_sizeof_long_long" != 0; then
21803 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21804 fi
21805 ;;
21806 * )
21807 { echo "$as_me:$LINENO: checking for long long" >&5
21808 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21809 if test "${ac_cv_type_long_long+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 else
21812 cat >conftest.$ac_ext <<_ACEOF
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 $ac_includes_default
21819 typedef long long ac__type_new_;
21820 int
21821 main ()
21822 {
21823 if ((ac__type_new_ *) 0)
21824 return 0;
21825 if (sizeof (ac__type_new_))
21826 return 0;
21827 ;
21828 return 0;
21829 }
21830 _ACEOF
21831 rm -f conftest.$ac_objext
21832 if { (ac_try="$ac_compile"
21833 case "(($ac_try" in
21834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21835 *) ac_try_echo=$ac_try;;
21836 esac
21837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21838 (eval "$ac_compile") 2>conftest.er1
21839 ac_status=$?
21840 grep -v '^ *+' conftest.er1 >conftest.err
21841 rm -f conftest.er1
21842 cat conftest.err >&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } && {
21845 test -z "$ac_c_werror_flag" ||
21846 test ! -s conftest.err
21847 } && test -s conftest.$ac_objext; then
21848 ac_cv_type_long_long=yes
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_cv_type_long_long=no
21854 fi
21855
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 fi
21858 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21859 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21860
21861 # The cast to long int works around a bug in the HP C Compiler
21862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21863 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21864 # This bug is HP SR number 8606223364.
21865 { echo "$as_me:$LINENO: checking size of long long" >&5
21866 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21867 if test "${ac_cv_sizeof_long_long+set}" = set; then
21868 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 else
21870 if test "$cross_compiling" = yes; then
21871 # Depending upon the size, compute the lo and hi bounds.
21872 cat >conftest.$ac_ext <<_ACEOF
21873 /* confdefs.h. */
21874 _ACEOF
21875 cat confdefs.h >>conftest.$ac_ext
21876 cat >>conftest.$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 $ac_includes_default
21879 typedef long long ac__type_sizeof_;
21880 int
21881 main ()
21882 {
21883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21884 test_array [0] = 0
21885
21886 ;
21887 return 0;
21888 }
21889 _ACEOF
21890 rm -f conftest.$ac_objext
21891 if { (ac_try="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21895 esac
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21898 ac_status=$?
21899 grep -v '^ *+' conftest.er1 >conftest.err
21900 rm -f conftest.er1
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21907 ac_lo=0 ac_mid=0
21908 while :; do
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 $ac_includes_default
21916 typedef long long ac__type_sizeof_;
21917 int
21918 main ()
21919 {
21920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21921 test_array [0] = 0
21922
21923 ;
21924 return 0;
21925 }
21926 _ACEOF
21927 rm -f conftest.$ac_objext
21928 if { (ac_try="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21932 esac
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21935 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } && {
21941 test -z "$ac_c_werror_flag" ||
21942 test ! -s conftest.err
21943 } && test -s conftest.$ac_objext; then
21944 ac_hi=$ac_mid; break
21945 else
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5
21948
21949 ac_lo=`expr $ac_mid + 1`
21950 if test $ac_lo -le $ac_mid; then
21951 ac_lo= ac_hi=
21952 break
21953 fi
21954 ac_mid=`expr 2 '*' $ac_mid + 1`
21955 fi
21956
21957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 done
21959 else
21960 echo "$as_me: failed program was:" >&5
21961 sed 's/^/| /' conftest.$ac_ext >&5
21962
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 $ac_includes_default
21970 typedef long long ac__type_sizeof_;
21971 int
21972 main ()
21973 {
21974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21975 test_array [0] = 0
21976
21977 ;
21978 return 0;
21979 }
21980 _ACEOF
21981 rm -f conftest.$ac_objext
21982 if { (ac_try="$ac_compile"
21983 case "(($ac_try" in
21984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21985 *) ac_try_echo=$ac_try;;
21986 esac
21987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_compile") 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } && {
21995 test -z "$ac_c_werror_flag" ||
21996 test ! -s conftest.err
21997 } && test -s conftest.$ac_objext; then
21998 ac_hi=-1 ac_mid=-1
21999 while :; do
22000 cat >conftest.$ac_ext <<_ACEOF
22001 /* confdefs.h. */
22002 _ACEOF
22003 cat confdefs.h >>conftest.$ac_ext
22004 cat >>conftest.$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22006 $ac_includes_default
22007 typedef long long ac__type_sizeof_;
22008 int
22009 main ()
22010 {
22011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22012 test_array [0] = 0
22013
22014 ;
22015 return 0;
22016 }
22017 _ACEOF
22018 rm -f conftest.$ac_objext
22019 if { (ac_try="$ac_compile"
22020 case "(($ac_try" in
22021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22022 *) ac_try_echo=$ac_try;;
22023 esac
22024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22025 (eval "$ac_compile") 2>conftest.er1
22026 ac_status=$?
22027 grep -v '^ *+' conftest.er1 >conftest.err
22028 rm -f conftest.er1
22029 cat conftest.err >&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } && {
22032 test -z "$ac_c_werror_flag" ||
22033 test ! -s conftest.err
22034 } && test -s conftest.$ac_objext; then
22035 ac_lo=$ac_mid; break
22036 else
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22039
22040 ac_hi=`expr '(' $ac_mid ')' - 1`
22041 if test $ac_mid -le $ac_hi; then
22042 ac_lo= ac_hi=
22043 break
22044 fi
22045 ac_mid=`expr 2 '*' $ac_mid`
22046 fi
22047
22048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22049 done
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 ac_lo= ac_hi=
22055 fi
22056
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 fi
22059
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 # Binary search between lo and hi bounds.
22062 while test "x$ac_lo" != "x$ac_hi"; do
22063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 $ac_includes_default
22071 typedef long long ac__type_sizeof_;
22072 int
22073 main ()
22074 {
22075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22076 test_array [0] = 0
22077
22078 ;
22079 return 0;
22080 }
22081 _ACEOF
22082 rm -f conftest.$ac_objext
22083 if { (ac_try="$ac_compile"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22087 esac
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_compile") 2>conftest.er1
22090 ac_status=$?
22091 grep -v '^ *+' conftest.er1 >conftest.err
22092 rm -f conftest.er1
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } && {
22096 test -z "$ac_c_werror_flag" ||
22097 test ! -s conftest.err
22098 } && test -s conftest.$ac_objext; then
22099 ac_hi=$ac_mid
22100 else
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.$ac_ext >&5
22103
22104 ac_lo=`expr '(' $ac_mid ')' + 1`
22105 fi
22106
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 done
22109 case $ac_lo in
22110 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22111 '') if test "$ac_cv_type_long_long" = yes; then
22112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22113 See \`config.log' for more details." >&5
22114 echo "$as_me: error: cannot compute sizeof (long long)
22115 See \`config.log' for more details." >&2;}
22116 { (exit 77); exit 77; }; }
22117 else
22118 ac_cv_sizeof_long_long=0
22119 fi ;;
22120 esac
22121 else
22122 cat >conftest.$ac_ext <<_ACEOF
22123 /* confdefs.h. */
22124 _ACEOF
22125 cat confdefs.h >>conftest.$ac_ext
22126 cat >>conftest.$ac_ext <<_ACEOF
22127 /* end confdefs.h. */
22128 $ac_includes_default
22129 typedef long long ac__type_sizeof_;
22130 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22131 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22132 #include <stdio.h>
22133 #include <stdlib.h>
22134 int
22135 main ()
22136 {
22137
22138 FILE *f = fopen ("conftest.val", "w");
22139 if (! f)
22140 return 1;
22141 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22142 {
22143 long int i = longval ();
22144 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22145 return 1;
22146 fprintf (f, "%ld\n", i);
22147 }
22148 else
22149 {
22150 unsigned long int i = ulongval ();
22151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22152 return 1;
22153 fprintf (f, "%lu\n", i);
22154 }
22155 return ferror (f) || fclose (f) != 0;
22156
22157 ;
22158 return 0;
22159 }
22160 _ACEOF
22161 rm -f conftest$ac_exeext
22162 if { (ac_try="$ac_link"
22163 case "(($ac_try" in
22164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22166 esac
22167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_link") 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22172 { (case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22175 esac
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_try") 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_cv_sizeof_long_long=`cat conftest.val`
22182 else
22183 echo "$as_me: program exited with status $ac_status" >&5
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 ( exit $ac_status )
22188 if test "$ac_cv_type_long_long" = yes; then
22189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22190 See \`config.log' for more details." >&5
22191 echo "$as_me: error: cannot compute sizeof (long long)
22192 See \`config.log' for more details." >&2;}
22193 { (exit 77); exit 77; }; }
22194 else
22195 ac_cv_sizeof_long_long=0
22196 fi
22197 fi
22198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22199 fi
22200 rm -f conftest.val
22201 fi
22202 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22203 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22204
22205
22206
22207 cat >>confdefs.h <<_ACEOF
22208 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22209 _ACEOF
22210
22211
22212 esac
22213
22214 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22215 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22216 if test "${ac_cv_type_wchar_t+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 else
22219 cat >conftest.$ac_ext <<_ACEOF
22220 /* confdefs.h. */
22221 _ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225
22226 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22227 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22228 # error "fake wchar_t"
22229 #endif
22230 #ifdef HAVE_WCHAR_H
22231 # ifdef __CYGWIN__
22232 # include <stddef.h>
22233 # endif
22234 # include <wchar.h>
22235 #endif
22236 #ifdef HAVE_STDLIB_H
22237 # include <stdlib.h>
22238 #endif
22239 #include <stdio.h>
22240
22241
22242
22243 typedef wchar_t ac__type_new_;
22244 int
22245 main ()
22246 {
22247 if ((ac__type_new_ *) 0)
22248 return 0;
22249 if (sizeof (ac__type_new_))
22250 return 0;
22251 ;
22252 return 0;
22253 }
22254 _ACEOF
22255 rm -f conftest.$ac_objext
22256 if { (ac_try="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22259 *) ac_try_echo=$ac_try;;
22260 esac
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22263 ac_status=$?
22264 grep -v '^ *+' conftest.er1 >conftest.err
22265 rm -f conftest.er1
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.$ac_objext; then
22272 ac_cv_type_wchar_t=yes
22273 else
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 ac_cv_type_wchar_t=no
22278 fi
22279
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 fi
22282 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22283 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22284
22285 # The cast to long int works around a bug in the HP C Compiler
22286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22288 # This bug is HP SR number 8606223364.
22289 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22290 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22291 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 else
22294 if test "$cross_compiling" = yes; then
22295 # Depending upon the size, compute the lo and hi bounds.
22296 cat >conftest.$ac_ext <<_ACEOF
22297 /* confdefs.h. */
22298 _ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302
22303 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22304 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22305 # error "fake wchar_t"
22306 #endif
22307 #ifdef HAVE_WCHAR_H
22308 # ifdef __CYGWIN__
22309 # include <stddef.h>
22310 # endif
22311 # include <wchar.h>
22312 #endif
22313 #ifdef HAVE_STDLIB_H
22314 # include <stdlib.h>
22315 #endif
22316 #include <stdio.h>
22317
22318
22319
22320 typedef wchar_t ac__type_sizeof_;
22321 int
22322 main ()
22323 {
22324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22325 test_array [0] = 0
22326
22327 ;
22328 return 0;
22329 }
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (ac_try="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22336 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.$ac_objext; then
22348 ac_lo=0 ac_mid=0
22349 while :; do
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356
22357 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22358 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22359 # error "fake wchar_t"
22360 #endif
22361 #ifdef HAVE_WCHAR_H
22362 # ifdef __CYGWIN__
22363 # include <stddef.h>
22364 # endif
22365 # include <wchar.h>
22366 #endif
22367 #ifdef HAVE_STDLIB_H
22368 # include <stdlib.h>
22369 #endif
22370 #include <stdio.h>
22371
22372
22373
22374 typedef wchar_t ac__type_sizeof_;
22375 int
22376 main ()
22377 {
22378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22379 test_array [0] = 0
22380
22381 ;
22382 return 0;
22383 }
22384 _ACEOF
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22390 esac
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22393 ac_status=$?
22394 grep -v '^ *+' conftest.er1 >conftest.err
22395 rm -f conftest.er1
22396 cat conftest.err >&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest.$ac_objext; then
22402 ac_hi=$ac_mid; break
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 ac_lo=`expr $ac_mid + 1`
22408 if test $ac_lo -le $ac_mid; then
22409 ac_lo= ac_hi=
22410 break
22411 fi
22412 ac_mid=`expr 2 '*' $ac_mid + 1`
22413 fi
22414
22415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22416 done
22417 else
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22420
22421 cat >conftest.$ac_ext <<_ACEOF
22422 /* confdefs.h. */
22423 _ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427
22428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22430 # error "fake wchar_t"
22431 #endif
22432 #ifdef HAVE_WCHAR_H
22433 # ifdef __CYGWIN__
22434 # include <stddef.h>
22435 # endif
22436 # include <wchar.h>
22437 #endif
22438 #ifdef HAVE_STDLIB_H
22439 # include <stdlib.h>
22440 #endif
22441 #include <stdio.h>
22442
22443
22444
22445 typedef wchar_t ac__type_sizeof_;
22446 int
22447 main ()
22448 {
22449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22450 test_array [0] = 0
22451
22452 ;
22453 return 0;
22454 }
22455 _ACEOF
22456 rm -f conftest.$ac_objext
22457 if { (ac_try="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22461 esac
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22464 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22473 ac_hi=-1 ac_mid=-1
22474 while :; do
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481
22482 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22483 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22484 # error "fake wchar_t"
22485 #endif
22486 #ifdef HAVE_WCHAR_H
22487 # ifdef __CYGWIN__
22488 # include <stddef.h>
22489 # endif
22490 # include <wchar.h>
22491 #endif
22492 #ifdef HAVE_STDLIB_H
22493 # include <stdlib.h>
22494 #endif
22495 #include <stdio.h>
22496
22497
22498
22499 typedef wchar_t ac__type_sizeof_;
22500 int
22501 main ()
22502 {
22503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22504 test_array [0] = 0
22505
22506 ;
22507 return 0;
22508 }
22509 _ACEOF
22510 rm -f conftest.$ac_objext
22511 if { (ac_try="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22515 esac
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.$ac_objext; then
22527 ac_lo=$ac_mid; break
22528 else
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.$ac_ext >&5
22531
22532 ac_hi=`expr '(' $ac_mid ')' - 1`
22533 if test $ac_mid -le $ac_hi; then
22534 ac_lo= ac_hi=
22535 break
22536 fi
22537 ac_mid=`expr 2 '*' $ac_mid`
22538 fi
22539
22540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22541 done
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 ac_lo= ac_hi=
22547 fi
22548
22549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22550 fi
22551
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22553 # Binary search between lo and hi bounds.
22554 while test "x$ac_lo" != "x$ac_hi"; do
22555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h. */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562
22563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22565 # error "fake wchar_t"
22566 #endif
22567 #ifdef HAVE_WCHAR_H
22568 # ifdef __CYGWIN__
22569 # include <stddef.h>
22570 # endif
22571 # include <wchar.h>
22572 #endif
22573 #ifdef HAVE_STDLIB_H
22574 # include <stdlib.h>
22575 #endif
22576 #include <stdio.h>
22577
22578
22579
22580 typedef wchar_t ac__type_sizeof_;
22581 int
22582 main ()
22583 {
22584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22585 test_array [0] = 0
22586
22587 ;
22588 return 0;
22589 }
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (ac_try="$ac_compile"
22593 case "(($ac_try" in
22594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22595 *) ac_try_echo=$ac_try;;
22596 esac
22597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22598 (eval "$ac_compile") 2>conftest.er1
22599 ac_status=$?
22600 grep -v '^ *+' conftest.er1 >conftest.err
22601 rm -f conftest.er1
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } && {
22605 test -z "$ac_c_werror_flag" ||
22606 test ! -s conftest.err
22607 } && test -s conftest.$ac_objext; then
22608 ac_hi=$ac_mid
22609 else
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22612
22613 ac_lo=`expr '(' $ac_mid ')' + 1`
22614 fi
22615
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22617 done
22618 case $ac_lo in
22619 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22620 '') if test "$ac_cv_type_wchar_t" = yes; then
22621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22622 See \`config.log' for more details." >&5
22623 echo "$as_me: error: cannot compute sizeof (wchar_t)
22624 See \`config.log' for more details." >&2;}
22625 { (exit 77); exit 77; }; }
22626 else
22627 ac_cv_sizeof_wchar_t=0
22628 fi ;;
22629 esac
22630 else
22631 cat >conftest.$ac_ext <<_ACEOF
22632 /* confdefs.h. */
22633 _ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22637
22638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22640 # error "fake wchar_t"
22641 #endif
22642 #ifdef HAVE_WCHAR_H
22643 # ifdef __CYGWIN__
22644 # include <stddef.h>
22645 # endif
22646 # include <wchar.h>
22647 #endif
22648 #ifdef HAVE_STDLIB_H
22649 # include <stdlib.h>
22650 #endif
22651 #include <stdio.h>
22652
22653
22654
22655 typedef wchar_t ac__type_sizeof_;
22656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22658 #include <stdio.h>
22659 #include <stdlib.h>
22660 int
22661 main ()
22662 {
22663
22664 FILE *f = fopen ("conftest.val", "w");
22665 if (! f)
22666 return 1;
22667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22668 {
22669 long int i = longval ();
22670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22671 return 1;
22672 fprintf (f, "%ld\n", i);
22673 }
22674 else
22675 {
22676 unsigned long int i = ulongval ();
22677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22678 return 1;
22679 fprintf (f, "%lu\n", i);
22680 }
22681 return ferror (f) || fclose (f) != 0;
22682
22683 ;
22684 return 0;
22685 }
22686 _ACEOF
22687 rm -f conftest$ac_exeext
22688 if { (ac_try="$ac_link"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_link") 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22698 { (case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22701 esac
22702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_try") 2>&5
22704 ac_status=$?
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); }; }; then
22707 ac_cv_sizeof_wchar_t=`cat conftest.val`
22708 else
22709 echo "$as_me: program exited with status $ac_status" >&5
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22712
22713 ( exit $ac_status )
22714 if test "$ac_cv_type_wchar_t" = yes; then
22715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22716 See \`config.log' for more details." >&5
22717 echo "$as_me: error: cannot compute sizeof (wchar_t)
22718 See \`config.log' for more details." >&2;}
22719 { (exit 77); exit 77; }; }
22720 else
22721 ac_cv_sizeof_wchar_t=0
22722 fi
22723 fi
22724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22725 fi
22726 rm -f conftest.val
22727 fi
22728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22729 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22730
22731
22732
22733 cat >>confdefs.h <<_ACEOF
22734 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22735 _ACEOF
22736
22737
22738 if test "$ac_cv_sizeof_wchar_t" != 0; then
22739 wxUSE_WCHAR_T=yes
22740 else
22741 wxUSE_WCHAR_T=no
22742 fi
22743
22744 { echo "$as_me:$LINENO: checking for va_copy" >&5
22745 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22746 if test "${wx_cv_func_va_copy+set}" = set; then
22747 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 else
22749
22750 ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755
22756 cat >conftest.$ac_ext <<_ACEOF
22757
22758 #include <stdarg.h>
22759 void foo(char *f, ...)
22760 {
22761 va_list ap1, ap2;
22762 va_start(ap1, f);
22763 va_copy(ap2, ap1);
22764 va_end(ap2);
22765 va_end(ap1);
22766 }
22767 int main()
22768 {
22769 foo("hi", 17);
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext conftest$ac_exeext
22774 if { (ac_try="$ac_link"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22778 esac
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_link") 2>conftest.er1
22781 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_cxx_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest$ac_exeext &&
22790 $as_test_x conftest$ac_exeext; then
22791 wx_cv_func_va_copy=yes
22792 else
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22795
22796 wx_cv_func_va_copy=no
22797
22798 fi
22799
22800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22801 conftest$ac_exeext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808
22809
22810 fi
22811 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22812 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22813
22814 if test $wx_cv_func_va_copy = "yes"; then
22815 cat >>confdefs.h <<\_ACEOF
22816 #define HAVE_VA_COPY 1
22817 _ACEOF
22818
22819 else
22820 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22821 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22822 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22824 else
22825
22826 if test "$cross_compiling" = yes; then
22827 wx_cv_type_va_list_lvalue=yes
22828
22829 else
22830 cat >conftest.$ac_ext <<_ACEOF
22831
22832 #include <stdarg.h>
22833 int foo(char *f, ...)
22834 {
22835 va_list ap1, ap2;
22836 va_start(ap1, f);
22837 ap2 = ap1;
22838 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22839 return 1;
22840 va_end(ap2);
22841 va_end(ap1);
22842 return 0;
22843 }
22844 int main()
22845 {
22846 return foo("hi", 17);
22847 }
22848 _ACEOF
22849 rm -f conftest$ac_exeext
22850 if { (ac_try="$ac_link"
22851 case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22854 esac
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_link") 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22860 { (case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22863 esac
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_try") 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 wx_cv_type_va_list_lvalue=yes
22870 else
22871 echo "$as_me: program exited with status $ac_status" >&5
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.$ac_ext >&5
22874
22875 ( exit $ac_status )
22876 wx_cv_type_va_list_lvalue=no
22877 fi
22878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22879 fi
22880
22881
22882
22883
22884 fi
22885 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22886 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22887
22888 if test $wx_cv_type_va_list_lvalue != "yes"; then
22889 cat >>confdefs.h <<\_ACEOF
22890 #define VA_LIST_IS_ARRAY 1
22891 _ACEOF
22892
22893 fi
22894 fi
22895
22896 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22897
22898 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22899 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22900 if test "${wx_cv_have_variadic_macros+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 else
22903
22904 ac_ext=cpp
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h. */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916
22917 #include <stdio.h>
22918 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22919
22920 int
22921 main ()
22922 {
22923
22924 test("%s %d %p", "test", 1, 0);
22925
22926
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22936 esac
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_cxx_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 wx_cv_have_variadic_macros=yes
22949 else
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22952
22953 wx_cv_have_variadic_macros=no
22954
22955 fi
22956
22957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958 ac_ext=c
22959 ac_cpp='$CPP $CPPFLAGS'
22960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22963
22964
22965
22966 fi
22967 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22968 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22969
22970 if test $wx_cv_have_variadic_macros = "yes"; then
22971 cat >>confdefs.h <<\_ACEOF
22972 #define HAVE_VARIADIC_MACROS 1
22973 _ACEOF
22974
22975 fi
22976
22977 fi
22978 # Check whether --enable-largefile was given.
22979 if test "${enable_largefile+set}" = set; then
22980 enableval=$enable_largefile;
22981 fi
22982
22983 if test "$enable_largefile" != no; then
22984 wx_largefile=no
22985
22986 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22987 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22988 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22990 else
22991
22992 cat >conftest.$ac_ext <<_ACEOF
22993 /* confdefs.h. */
22994 _ACEOF
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998 #define _FILE_OFFSET_BITS 64
22999 #include <sys/types.h>
23000 int
23001 main ()
23002 {
23003 typedef struct {
23004 unsigned int field: sizeof(off_t) == 8;
23005 } wxlf;
23006
23007 ;
23008 return 0;
23009 }
23010 _ACEOF
23011 rm -f conftest.$ac_objext
23012 if { (ac_try="$ac_compile"
23013 case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23016 esac
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_compile") 2>conftest.er1
23019 ac_status=$?
23020 grep -v '^ *+' conftest.er1 >conftest.err
23021 rm -f conftest.er1
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } && {
23025 test -z "$ac_c_werror_flag" ||
23026 test ! -s conftest.err
23027 } && test -s conftest.$ac_objext; then
23028 ac_cv_sys_file_offset_bits=64
23029 else
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 ac_cv_sys_file_offset_bits=no
23034 fi
23035
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23037
23038
23039 fi
23040 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23041 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23042
23043 if test "$ac_cv_sys_file_offset_bits" != no; then
23044 wx_largefile=yes
23045 cat >>confdefs.h <<_ACEOF
23046 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23047 _ACEOF
23048
23049 fi
23050
23051 if test "x$wx_largefile" != "xyes"; then
23052
23053 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23054 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23055 if test "${ac_cv_sys_large_files+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23057 else
23058
23059 cat >conftest.$ac_ext <<_ACEOF
23060 /* confdefs.h. */
23061 _ACEOF
23062 cat confdefs.h >>conftest.$ac_ext
23063 cat >>conftest.$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23065 #define _LARGE_FILES 1
23066 #include <sys/types.h>
23067 int
23068 main ()
23069 {
23070 typedef struct {
23071 unsigned int field: sizeof(off_t) == 8;
23072 } wxlf;
23073
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23083 esac
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_cv_sys_large_files=1
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 ac_cv_sys_large_files=no
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104
23105
23106 fi
23107 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23108 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23109
23110 if test "$ac_cv_sys_large_files" != no; then
23111 wx_largefile=yes
23112 cat >>confdefs.h <<_ACEOF
23113 #define _LARGE_FILES $ac_cv_sys_large_files
23114 _ACEOF
23115
23116 fi
23117
23118 fi
23119
23120 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23121 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23122 if test "x$wx_largefile" = "xyes"; then
23123 cat >>confdefs.h <<\_ACEOF
23124 #define HAVE_LARGEFILE_SUPPORT 1
23125 _ACEOF
23126
23127 fi
23128 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23129 echo "${ECHO_T}$wx_largefile" >&6; }
23130 fi
23131
23132
23133 if test "x$wx_largefile" = "xyes"; then
23134 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23136
23137 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23138 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23139 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23140 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23141 echo $ECHO_N "(cached) $ECHO_C" >&6
23142 else
23143
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150 cat >conftest.$ac_ext <<_ACEOF
23151 /* confdefs.h. */
23152 _ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156
23157 int
23158 main ()
23159 {
23160
23161 #ifndef __STDC_EXT__
23162 choke me
23163 #endif
23164
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23174 esac
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23177 ac_status=$?
23178 grep -v '^ *+' conftest.er1 >conftest.err
23179 rm -f conftest.er1
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } && {
23183 test -z "$ac_cxx_werror_flag" ||
23184 test ! -s conftest.err
23185 } && test -s conftest.$ac_objext; then
23186 wx_cv_STDC_EXT_required=no
23187 else
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 wx_cv_STDC_EXT_required=yes
23192
23193 fi
23194
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 ac_ext=c
23197 ac_cpp='$CPP $CPPFLAGS'
23198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201
23202
23203
23204 fi
23205 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23206 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23207 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23208 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23209 fi
23210 fi
23211 else
23212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23213 fi
23214 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23215 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23216 if test "${ac_cv_sys_largefile_source+set}" = set; then
23217 echo $ECHO_N "(cached) $ECHO_C" >&6
23218 else
23219 while :; do
23220 cat >conftest.$ac_ext <<_ACEOF
23221 /* confdefs.h. */
23222 _ACEOF
23223 cat confdefs.h >>conftest.$ac_ext
23224 cat >>conftest.$ac_ext <<_ACEOF
23225 /* end confdefs.h. */
23226 #include <sys/types.h> /* for off_t */
23227 #include <stdio.h>
23228 int
23229 main ()
23230 {
23231 int (*fp) (FILE *, off_t, int) = fseeko;
23232 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 rm -f conftest.$ac_objext conftest$ac_exeext
23238 if { (ac_try="$ac_link"
23239 case "(($ac_try" in
23240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23242 esac
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_link") 2>conftest.er1
23245 ac_status=$?
23246 grep -v '^ *+' conftest.er1 >conftest.err
23247 rm -f conftest.er1
23248 cat conftest.err >&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } && {
23251 test -z "$ac_c_werror_flag" ||
23252 test ! -s conftest.err
23253 } && test -s conftest$ac_exeext &&
23254 $as_test_x conftest$ac_exeext; then
23255 ac_cv_sys_largefile_source=no; break
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23259
23260
23261 fi
23262
23263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23264 conftest$ac_exeext conftest.$ac_ext
23265 cat >conftest.$ac_ext <<_ACEOF
23266 /* confdefs.h. */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #define _LARGEFILE_SOURCE 1
23272 #include <sys/types.h> /* for off_t */
23273 #include <stdio.h>
23274 int
23275 main ()
23276 {
23277 int (*fp) (FILE *, off_t, int) = fseeko;
23278 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23279 ;
23280 return 0;
23281 }
23282 _ACEOF
23283 rm -f conftest.$ac_objext conftest$ac_exeext
23284 if { (ac_try="$ac_link"
23285 case "(($ac_try" in
23286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23287 *) ac_try_echo=$ac_try;;
23288 esac
23289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23290 (eval "$ac_link") 2>conftest.er1
23291 ac_status=$?
23292 grep -v '^ *+' conftest.er1 >conftest.err
23293 rm -f conftest.er1
23294 cat conftest.err >&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); } && {
23297 test -z "$ac_c_werror_flag" ||
23298 test ! -s conftest.err
23299 } && test -s conftest$ac_exeext &&
23300 $as_test_x conftest$ac_exeext; then
23301 ac_cv_sys_largefile_source=1; break
23302 else
23303 echo "$as_me: failed program was:" >&5
23304 sed 's/^/| /' conftest.$ac_ext >&5
23305
23306
23307 fi
23308
23309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23310 conftest$ac_exeext conftest.$ac_ext
23311 ac_cv_sys_largefile_source=unknown
23312 break
23313 done
23314 fi
23315 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23316 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23317 case $ac_cv_sys_largefile_source in #(
23318 no | unknown) ;;
23319 *)
23320 cat >>confdefs.h <<_ACEOF
23321 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23322 _ACEOF
23323 ;;
23324 esac
23325 rm -f conftest*
23326
23327 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23328 # in glibc 2.1.3, but that breaks too many other things.
23329 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23330 if test $ac_cv_sys_largefile_source != unknown; then
23331
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_FSEEKO 1
23334 _ACEOF
23335
23336 fi
23337
23338 if test "$ac_cv_sys_largefile_source" != no; then
23339 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23340 fi
23341 fi
23342
23343 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23344 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23345 if test "${ac_cv_c_bigendian+set}" = set; then
23346 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 else
23348 ac_cv_c_bigendian=unknown
23349 # See if sys/param.h defines the BYTE_ORDER macro.
23350 cat >conftest.$ac_ext <<_ACEOF
23351 /* confdefs.h. */
23352 _ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 #include <sys/types.h>
23357 #include <sys/param.h>
23358 int
23359 main ()
23360 {
23361
23362 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23363 bogus endian macros
23364 #endif
23365 ;
23366 return 0;
23367 }
23368 _ACEOF
23369 rm -f conftest.$ac_objext
23370 if { (ac_try="$ac_compile"
23371 case "(($ac_try" in
23372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23373 *) ac_try_echo=$ac_try;;
23374 esac
23375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23376 (eval "$ac_compile") 2>conftest.er1
23377 ac_status=$?
23378 grep -v '^ *+' conftest.er1 >conftest.err
23379 rm -f conftest.er1
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } && {
23383 test -z "$ac_c_werror_flag" ||
23384 test ! -s conftest.err
23385 } && test -s conftest.$ac_objext; then
23386 # It does; now see whether it defined to BIG_ENDIAN or not.
23387 cat >conftest.$ac_ext <<_ACEOF
23388 /* confdefs.h. */
23389 _ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 #include <sys/types.h>
23394 #include <sys/param.h>
23395 int
23396 main ()
23397 {
23398
23399 #if BYTE_ORDER != BIG_ENDIAN
23400 not big endian
23401 #endif
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 rm -f conftest.$ac_objext
23407 if { (ac_try="$ac_compile"
23408 case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23411 esac
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_compile") 2>conftest.er1
23414 ac_status=$?
23415 grep -v '^ *+' conftest.er1 >conftest.err
23416 rm -f conftest.er1
23417 cat conftest.err >&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && {
23420 test -z "$ac_c_werror_flag" ||
23421 test ! -s conftest.err
23422 } && test -s conftest.$ac_objext; then
23423 ac_cv_c_bigendian=yes
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23427
23428 ac_cv_c_bigendian=no
23429 fi
23430
23431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 else
23433 echo "$as_me: failed program was:" >&5
23434 sed 's/^/| /' conftest.$ac_ext >&5
23435
23436
23437 fi
23438
23439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23440 if test $ac_cv_c_bigendian = unknown; then
23441 if test "$cross_compiling" = yes; then
23442 ac_cv_c_bigendian=unknown
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 main () {
23451 /* Are we little or big endian? From Harbison&Steele. */
23452 union
23453 {
23454 long l;
23455 char c[sizeof (long)];
23456 } u;
23457 u.l = 1;
23458 exit (u.c[sizeof (long) - 1] == 1);
23459 }
23460 _ACEOF
23461 rm -f conftest$ac_exeext
23462 if { (ac_try="$ac_link"
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_link") 2>&5
23469 ac_status=$?
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23472 { (case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23475 esac
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_try") 2>&5
23478 ac_status=$?
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; }; then
23481 ac_cv_c_bigendian=no
23482 else
23483 echo "$as_me: program exited with status $ac_status" >&5
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 ( exit $ac_status )
23488 ac_cv_c_bigendian=yes
23489 fi
23490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23491 fi
23492
23493
23494 fi
23495 fi
23496 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23497 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23498 if test $ac_cv_c_bigendian = unknown; then
23499 { 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
23500 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;}
23501 fi
23502 if test $ac_cv_c_bigendian = yes; then
23503 cat >>confdefs.h <<\_ACEOF
23504 #define WORDS_BIGENDIAN 1
23505 _ACEOF
23506
23507 fi
23508
23509
23510
23511
23512 ac_ext=cpp
23513 ac_cpp='$CXXCPP $CPPFLAGS'
23514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517
23518
23519
23520 for ac_header in iostream
23521 do
23522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 else
23528 cat >conftest.$ac_ext <<_ACEOF
23529 /* confdefs.h. */
23530 _ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534
23535
23536 #include <$ac_header>
23537 _ACEOF
23538 rm -f conftest.$ac_objext
23539 if { (ac_try="$ac_compile"
23540 case "(($ac_try" in
23541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23542 *) ac_try_echo=$ac_try;;
23543 esac
23544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23545 (eval "$ac_compile") 2>conftest.er1
23546 ac_status=$?
23547 grep -v '^ *+' conftest.er1 >conftest.err
23548 rm -f conftest.er1
23549 cat conftest.err >&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } && {
23552 test -z "$ac_cxx_werror_flag" ||
23553 test ! -s conftest.err
23554 } && test -s conftest.$ac_objext; then
23555 eval "$as_ac_Header=yes"
23556 else
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.$ac_ext >&5
23559
23560 eval "$as_ac_Header=no"
23561 fi
23562
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 fi
23565 ac_res=`eval echo '${'$as_ac_Header'}'`
23566 { echo "$as_me:$LINENO: result: $ac_res" >&5
23567 echo "${ECHO_T}$ac_res" >&6; }
23568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23569 cat >>confdefs.h <<_ACEOF
23570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23571 _ACEOF
23572
23573 fi
23574
23575 done
23576
23577
23578 if test "$ac_cv_header_iostream" = "yes" ; then
23579 :
23580 else
23581 cat >>confdefs.h <<\_ACEOF
23582 #define wxUSE_IOSTREAMH 1
23583 _ACEOF
23584
23585 fi
23586
23587 ac_ext=c
23588 ac_cpp='$CPP $CPPFLAGS'
23589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592
23593
23594
23595
23596 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23597 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23598 if test "${wx_cv_cpp_bool+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601
23602
23603 ac_ext=cpp
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23608
23609
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h. */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616
23617
23618 int
23619 main ()
23620 {
23621
23622 bool b = true;
23623
23624 return 0;
23625
23626 ;
23627 return 0;
23628 }
23629 _ACEOF
23630 rm -f conftest.$ac_objext
23631 if { (ac_try="$ac_compile"
23632 case "(($ac_try" in
23633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23634 *) ac_try_echo=$ac_try;;
23635 esac
23636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23637 (eval "$ac_compile") 2>conftest.er1
23638 ac_status=$?
23639 grep -v '^ *+' conftest.er1 >conftest.err
23640 rm -f conftest.er1
23641 cat conftest.err >&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); } && {
23644 test -z "$ac_cxx_werror_flag" ||
23645 test ! -s conftest.err
23646 } && test -s conftest.$ac_objext; then
23647
23648 wx_cv_cpp_bool=yes
23649
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654
23655 wx_cv_cpp_bool=no
23656
23657
23658 fi
23659
23660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661
23662 ac_ext=c
23663 ac_cpp='$CPP $CPPFLAGS'
23664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23667
23668
23669 fi
23670 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23671 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23672
23673 if test "$wx_cv_cpp_bool" = "yes"; then
23674 cat >>confdefs.h <<\_ACEOF
23675 #define HAVE_BOOL 1
23676 _ACEOF
23677
23678 fi
23679
23680
23681
23682 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23683 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23684 if test "${wx_cv_explicit+set}" = set; then
23685 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 else
23687
23688
23689 ac_ext=cpp
23690 ac_cpp='$CXXCPP $CPPFLAGS'
23691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23694
23695
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
23703 class Foo { public: explicit Foo(int) {} };
23704
23705 int
23706 main ()
23707 {
23708
23709 return 0;
23710
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 rm -f conftest.$ac_objext
23716 if { (ac_try="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23719 *) ac_try_echo=$ac_try;;
23720 esac
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23723 ac_status=$?
23724 grep -v '^ *+' conftest.er1 >conftest.err
23725 rm -f conftest.er1
23726 cat conftest.err >&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_cxx_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.$ac_objext; then
23732
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739
23740 class Foo { public: explicit Foo(int) {} };
23741 static void TakeFoo(const Foo& foo) { }
23742
23743 int
23744 main ()
23745 {
23746
23747 TakeFoo(17);
23748 return 0;
23749
23750 ;
23751 return 0;
23752 }
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (ac_try="$ac_compile"
23756 case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23759 esac
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_compile") 2>conftest.er1
23762 ac_status=$?
23763 grep -v '^ *+' conftest.er1 >conftest.err
23764 rm -f conftest.er1
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } && {
23768 test -z "$ac_cxx_werror_flag" ||
23769 test ! -s conftest.err
23770 } && test -s conftest.$ac_objext; then
23771 wx_cv_explicit=no
23772 else
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23775
23776 wx_cv_explicit=yes
23777
23778 fi
23779
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781
23782 else
23783 echo "$as_me: failed program was:" >&5
23784 sed 's/^/| /' conftest.$ac_ext >&5
23785
23786 wx_cv_explicit=no
23787
23788 fi
23789
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791
23792 ac_ext=c
23793 ac_cpp='$CPP $CPPFLAGS'
23794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797
23798
23799 fi
23800 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23801 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23802
23803 if test "$wx_cv_explicit" = "yes"; then
23804 cat >>confdefs.h <<\_ACEOF
23805 #define HAVE_EXPLICIT 1
23806 _ACEOF
23807
23808 fi
23809
23810
23811 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23812 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23813 if test "${ac_cv_cxx_const_cast+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23815 else
23816
23817 ac_ext=cpp
23818 ac_cpp='$CXXCPP $CPPFLAGS'
23819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23822
23823 cat >conftest.$ac_ext <<_ACEOF
23824 /* confdefs.h. */
23825 _ACEOF
23826 cat confdefs.h >>conftest.$ac_ext
23827 cat >>conftest.$ac_ext <<_ACEOF
23828 /* end confdefs.h. */
23829
23830 int
23831 main ()
23832 {
23833 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23843 esac
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23846 ac_status=$?
23847 grep -v '^ *+' conftest.er1 >conftest.err
23848 rm -f conftest.er1
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_cxx_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855 ac_cv_cxx_const_cast=yes
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 ac_cv_cxx_const_cast=no
23861 fi
23862
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 ac_ext=c
23865 ac_cpp='$CPP $CPPFLAGS'
23866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23869
23870
23871 fi
23872 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23873 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23874 if test "$ac_cv_cxx_const_cast" = yes; then
23875
23876 cat >>confdefs.h <<\_ACEOF
23877 #define HAVE_CONST_CAST
23878 _ACEOF
23879
23880 fi
23881
23882 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23883 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23884 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23885 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 else
23887
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23893
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 #include <typeinfo>
23901 class Base { public : Base () {} virtual void f () = 0;};
23902 class Derived : public Base { public : Derived () {} virtual void f () {} };
23903 class Unrelated { public : Unrelated () {} };
23904 int g (Unrelated&) { return 0; }
23905 int
23906 main ()
23907 {
23908
23909 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23910 ;
23911 return 0;
23912 }
23913 _ACEOF
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23919 esac
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23922 ac_status=$?
23923 grep -v '^ *+' conftest.er1 >conftest.err
23924 rm -f conftest.er1
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_cxx_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23931 ac_cv_cxx_reinterpret_cast=yes
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936 ac_cv_cxx_reinterpret_cast=no
23937 fi
23938
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23940 ac_ext=c
23941 ac_cpp='$CPP $CPPFLAGS'
23942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945
23946
23947 fi
23948 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23949 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23950 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23951
23952 cat >>confdefs.h <<\_ACEOF
23953 #define HAVE_REINTERPRET_CAST
23954 _ACEOF
23955
23956 fi
23957
23958 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23959 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23960 if test "${ac_cv_cxx_static_cast+set}" = set; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23962 else
23963
23964 ac_ext=cpp
23965 ac_cpp='$CXXCPP $CPPFLAGS'
23966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23969
23970 cat >conftest.$ac_ext <<_ACEOF
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976 #include <typeinfo>
23977 class Base { public : Base () {} virtual void f () = 0; };
23978 class Derived : public Base { public : Derived () {} virtual void f () {} };
23979 int g (Derived&) { return 0; }
23980 int
23981 main ()
23982 {
23983
23984 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23985 ;
23986 return 0;
23987 }
23988 _ACEOF
23989 rm -f conftest.$ac_objext
23990 if { (ac_try="$ac_compile"
23991 case "(($ac_try" in
23992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23993 *) ac_try_echo=$ac_try;;
23994 esac
23995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23996 (eval "$ac_compile") 2>conftest.er1
23997 ac_status=$?
23998 grep -v '^ *+' conftest.er1 >conftest.err
23999 rm -f conftest.er1
24000 cat conftest.err >&5
24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002 (exit $ac_status); } && {
24003 test -z "$ac_cxx_werror_flag" ||
24004 test ! -s conftest.err
24005 } && test -s conftest.$ac_objext; then
24006 ac_cv_cxx_static_cast=yes
24007 else
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011 ac_cv_cxx_static_cast=no
24012 fi
24013
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24020
24021
24022 fi
24023 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24024 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24025 if test "$ac_cv_cxx_static_cast" = yes; then
24026
24027 cat >>confdefs.h <<\_ACEOF
24028 #define HAVE_STATIC_CAST
24029 _ACEOF
24030
24031 fi
24032
24033
24034 if test "x$SUNCXX" = xyes; then
24035 CXXFLAGS="-features=tmplife $CXXFLAGS"
24036 fi
24037
24038 if test "x$SUNCC" = xyes; then
24039 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24040 fi
24041
24042 if test "x$SGICC" = "xyes"; then
24043 CFLAGS="-woff 3970 $CFLAGS"
24044 fi
24045 if test "x$SGICXX" = "xyes"; then
24046 CXXFLAGS="-woff 3970 $CXXFLAGS"
24047 fi
24048
24049 if test "x$HPCC" = "xyes"; then
24050 CFLAGS="+W 2011,2450 $CFLAGS"
24051 fi
24052 if test "x$HPCXX" = "xyes"; then
24053 CXXFLAGS="+W 2340 $CXXFLAGS"
24054 fi
24055
24056 if test "x$COMPAQCXX" = "xyes"; then
24057 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24058 fi
24059
24060 ac_ext=cpp
24061 ac_cpp='$CXXCPP $CPPFLAGS'
24062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24065
24066
24067 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24068 if test "$wxUSE_UNICODE" = "yes"; then
24069 std_string="std::wstring"
24070 char_type="wchar_t"
24071 else
24072 std_string="std::string"
24073 char_type="char"
24074 fi
24075
24076 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24077 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24078 if test "${wx_cv_class_stdstring+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 else
24081
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 #include <string>
24089 int
24090 main ()
24091 {
24092 $std_string foo;
24093 ;
24094 return 0;
24095 }
24096 _ACEOF
24097 rm -f conftest.$ac_objext
24098 if { (ac_try="$ac_compile"
24099 case "(($ac_try" in
24100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24101 *) ac_try_echo=$ac_try;;
24102 esac
24103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24104 (eval "$ac_compile") 2>conftest.er1
24105 ac_status=$?
24106 grep -v '^ *+' conftest.er1 >conftest.err
24107 rm -f conftest.er1
24108 cat conftest.err >&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } && {
24111 test -z "$ac_cxx_werror_flag" ||
24112 test ! -s conftest.err
24113 } && test -s conftest.$ac_objext; then
24114 wx_cv_class_stdstring=yes
24115 else
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24118
24119 wx_cv_class_stdstring=no
24120
24121 fi
24122
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24124
24125
24126 fi
24127 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24128 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24129
24130 if test "$wx_cv_class_stdstring" = yes; then
24131 if test "$wxUSE_UNICODE" = "yes"; then
24132 cat >>confdefs.h <<\_ACEOF
24133 #define HAVE_STD_WSTRING 1
24134 _ACEOF
24135
24136 fi
24137 else
24138 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24139 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24140 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 else
24143
24144 cat >conftest.$ac_ext <<_ACEOF
24145 /* confdefs.h. */
24146 _ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24150
24151 #ifdef HAVE_WCHAR_H
24152 # ifdef __CYGWIN__
24153 # include <stddef.h>
24154 # endif
24155 # include <wchar.h>
24156 #endif
24157 #ifdef HAVE_STDLIB_H
24158 # include <stdlib.h>
24159 #endif
24160 #include <stdio.h>
24161 #include <string>
24162
24163 int
24164 main ()
24165 {
24166 std::basic_string<$char_type> foo;
24167 const $char_type* dummy = foo.c_str();
24168 ;
24169 return 0;
24170 }
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24177 esac
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24180 ac_status=$?
24181 grep -v '^ *+' conftest.er1 >conftest.err
24182 rm -f conftest.er1
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 wx_cv_class_stdbasicstring=yes
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194 wx_cv_class_stdbasicstring=no
24195
24196 fi
24197
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199
24200
24201 fi
24202 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24203 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24204
24205 if test "$wx_cv_class_stdbasicstring" != yes; then
24206 if test "$wxUSE_STL" = "yes"; then
24207 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24208 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24209 { (exit 1); exit 1; }; }
24210 elif test "$wxUSE_STD_STRING" = "yes"; then
24211 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24212 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24213 { (exit 1); exit 1; }; }
24214 else
24215 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24216 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24217 wxUSE_STD_STRING=no
24218 fi
24219 fi
24220 fi
24221 fi
24222
24223 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24224 { echo "$as_me:$LINENO: checking for std::istream" >&5
24225 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24226 if test "${ac_cv_type_std__istream+set}" = set; then
24227 echo $ECHO_N "(cached) $ECHO_C" >&6
24228 else
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 #include <iostream>
24236
24237 typedef std::istream ac__type_new_;
24238 int
24239 main ()
24240 {
24241 if ((ac__type_new_ *) 0)
24242 return 0;
24243 if (sizeof (ac__type_new_))
24244 return 0;
24245 ;
24246 return 0;
24247 }
24248 _ACEOF
24249 rm -f conftest.$ac_objext
24250 if { (ac_try="$ac_compile"
24251 case "(($ac_try" in
24252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24253 *) ac_try_echo=$ac_try;;
24254 esac
24255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24256 (eval "$ac_compile") 2>conftest.er1
24257 ac_status=$?
24258 grep -v '^ *+' conftest.er1 >conftest.err
24259 rm -f conftest.er1
24260 cat conftest.err >&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } && {
24263 test -z "$ac_cxx_werror_flag" ||
24264 test ! -s conftest.err
24265 } && test -s conftest.$ac_objext; then
24266 ac_cv_type_std__istream=yes
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24270
24271 ac_cv_type_std__istream=no
24272 fi
24273
24274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24275 fi
24276 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24277 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24278 if test $ac_cv_type_std__istream = yes; then
24279
24280 cat >>confdefs.h <<_ACEOF
24281 #define HAVE_STD__ISTREAM 1
24282 _ACEOF
24283
24284
24285 else
24286 wxUSE_STD_IOSTREAM=no
24287 fi
24288 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24289 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24290 if test "${ac_cv_type_std__ostream+set}" = set; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24292 else
24293 cat >conftest.$ac_ext <<_ACEOF
24294 /* confdefs.h. */
24295 _ACEOF
24296 cat confdefs.h >>conftest.$ac_ext
24297 cat >>conftest.$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 #include <iostream>
24300
24301 typedef std::ostream ac__type_new_;
24302 int
24303 main ()
24304 {
24305 if ((ac__type_new_ *) 0)
24306 return 0;
24307 if (sizeof (ac__type_new_))
24308 return 0;
24309 ;
24310 return 0;
24311 }
24312 _ACEOF
24313 rm -f conftest.$ac_objext
24314 if { (ac_try="$ac_compile"
24315 case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24318 esac
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_compile") 2>conftest.er1
24321 ac_status=$?
24322 grep -v '^ *+' conftest.er1 >conftest.err
24323 rm -f conftest.er1
24324 cat conftest.err >&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && {
24327 test -z "$ac_cxx_werror_flag" ||
24328 test ! -s conftest.err
24329 } && test -s conftest.$ac_objext; then
24330 ac_cv_type_std__ostream=yes
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 ac_cv_type_std__ostream=no
24336 fi
24337
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339 fi
24340 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24341 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24342 if test $ac_cv_type_std__ostream = yes; then
24343
24344 cat >>confdefs.h <<_ACEOF
24345 #define HAVE_STD__OSTREAM 1
24346 _ACEOF
24347
24348
24349 else
24350 wxUSE_STD_IOSTREAM=no
24351 fi
24352
24353
24354 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24355 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24356 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24357 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24358 { (exit 1); exit 1; }; }
24359 else
24360 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24361 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24362 fi
24363 fi
24364 fi
24365
24366 if test "$wxUSE_STL" = "yes"; then
24367 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24368 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24369 if test "${wx_cv_lib_stl+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 #include <string>
24379 #include <functional>
24380 #include <algorithm>
24381 #include <vector>
24382 #include <list>
24383 int
24384 main ()
24385 {
24386 std::vector<int> moo;
24387 std::list<int> foo;
24388 std::vector<int>::iterator it =
24389 std::find_if(moo.begin(), moo.end(),
24390 std::bind2nd(std::less<int>(), 3));
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 rm -f conftest.$ac_objext
24396 if { (ac_try="$ac_compile"
24397 case "(($ac_try" in
24398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24399 *) ac_try_echo=$ac_try;;
24400 esac
24401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_compile") 2>conftest.er1
24403 ac_status=$?
24404 grep -v '^ *+' conftest.er1 >conftest.err
24405 rm -f conftest.er1
24406 cat conftest.err >&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); } && {
24409 test -z "$ac_cxx_werror_flag" ||
24410 test ! -s conftest.err
24411 } && test -s conftest.$ac_objext; then
24412 wx_cv_lib_stl=yes
24413 else
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.$ac_ext >&5
24416
24417 wx_cv_lib_stl=no
24418
24419 fi
24420
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422
24423 fi
24424 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24425 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24426
24427 if test "$wx_cv_lib_stl" != yes; then
24428 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24429 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24430 { (exit 1); exit 1; }; }
24431 fi
24432
24433 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24434 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24435 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24438 cat >conftest.$ac_ext <<_ACEOF
24439 /* confdefs.h. */
24440 _ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 #include <string>
24445 int
24446 main ()
24447 {
24448 std::string foo, bar;
24449 foo.compare(bar);
24450 foo.compare(1, 1, bar);
24451 foo.compare(1, 1, bar, 1, 1);
24452 foo.compare("");
24453 foo.compare(1, 1, "");
24454 foo.compare(1, 1, "", 2);
24455 ;
24456 return 0;
24457 }
24458 _ACEOF
24459 rm -f conftest.$ac_objext
24460 if { (ac_try="$ac_compile"
24461 case "(($ac_try" in
24462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24463 *) ac_try_echo=$ac_try;;
24464 esac
24465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24466 (eval "$ac_compile") 2>conftest.er1
24467 ac_status=$?
24468 grep -v '^ *+' conftest.er1 >conftest.err
24469 rm -f conftest.er1
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } && {
24473 test -z "$ac_cxx_werror_flag" ||
24474 test ! -s conftest.err
24475 } && test -s conftest.$ac_objext; then
24476 wx_cv_func_stdstring_compare=yes
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24480
24481 wx_cv_func_stdstring_compare=no
24482
24483 fi
24484
24485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24486
24487 fi
24488 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24489 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24490
24491 if test "$wx_cv_func_stdstring_compare" = yes; then
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_STD_STRING_COMPARE 1
24494 _ACEOF
24495
24496 fi
24497
24498 { echo "$as_me:$LINENO: checking for hash_map" >&5
24499 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24500 if test "${ac_cv_header_hash_map+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 else
24503 cat >conftest.$ac_ext <<_ACEOF
24504 /* confdefs.h. */
24505 _ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24509
24510
24511
24512 #include <hash_map>
24513 _ACEOF
24514 rm -f conftest.$ac_objext
24515 if { (ac_try="$ac_compile"
24516 case "(($ac_try" in
24517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24518 *) ac_try_echo=$ac_try;;
24519 esac
24520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24521 (eval "$ac_compile") 2>conftest.er1
24522 ac_status=$?
24523 grep -v '^ *+' conftest.er1 >conftest.err
24524 rm -f conftest.er1
24525 cat conftest.err >&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } && {
24528 test -z "$ac_cxx_werror_flag" ||
24529 test ! -s conftest.err
24530 } && test -s conftest.$ac_objext; then
24531 ac_cv_header_hash_map=yes
24532 else
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.$ac_ext >&5
24535
24536 ac_cv_header_hash_map=no
24537 fi
24538
24539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540 fi
24541 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24542 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24543 if test $ac_cv_header_hash_map = yes; then
24544 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24545 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24546 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 else
24549 cat >conftest.$ac_ext <<_ACEOF
24550 /* confdefs.h. */
24551 _ACEOF
24552 cat confdefs.h >>conftest.$ac_ext
24553 cat >>conftest.$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24555 #include <hash_map>
24556 #include <hash_set>
24557 int
24558 main ()
24559 {
24560 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24561 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24562 ;
24563 return 0;
24564 }
24565 _ACEOF
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24571 esac
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24574 ac_status=$?
24575 grep -v '^ *+' conftest.er1 >conftest.err
24576 rm -f conftest.er1
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 wx_cv_class_stdhashmapset=yes
24584 else
24585 echo "$as_me: failed program was:" >&5
24586 sed 's/^/| /' conftest.$ac_ext >&5
24587
24588 wx_cv_class_stdhashmapset=no
24589 fi
24590
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592
24593
24594 fi
24595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24596 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24597 fi
24598
24599
24600
24601 if test "$wx_cv_class_stdhashmapset" = yes; then
24602 cat >>confdefs.h <<\_ACEOF
24603 #define HAVE_HASH_MAP 1
24604 _ACEOF
24605
24606 cat >>confdefs.h <<\_ACEOF
24607 #define HAVE_STD_HASH_MAP 1
24608 _ACEOF
24609
24610 fi
24611
24612 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24613 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24614 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 else
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h. */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623
24624
24625
24626 #include <ext/hash_map>
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24633 esac
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24636 ac_status=$?
24637 grep -v '^ *+' conftest.er1 >conftest.err
24638 rm -f conftest.er1
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 ac_cv_header_ext_hash_map=yes
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 ac_cv_header_ext_hash_map=no
24651 fi
24652
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 fi
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24656 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24657 if test $ac_cv_header_ext_hash_map = yes; then
24658 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24659 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24660 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h. */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 #include <ext/hash_map>
24670 #include <ext/hash_set>
24671 int
24672 main ()
24673 {
24674 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24675 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24676 ;
24677 return 0;
24678 }
24679 _ACEOF
24680 rm -f conftest.$ac_objext
24681 if { (ac_try="$ac_compile"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24685 esac
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_compile") 2>conftest.er1
24688 ac_status=$?
24689 grep -v '^ *+' conftest.er1 >conftest.err
24690 rm -f conftest.er1
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest.$ac_objext; then
24697 wx_cv_class_gnuhashmapset=yes
24698 else
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24701
24702 wx_cv_class_gnuhashmapset=no
24703 fi
24704
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24706
24707
24708 fi
24709 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24710 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24711 fi
24712
24713
24714
24715 if test "$wx_cv_class_gnuhashmapset" = yes; then
24716 cat >>confdefs.h <<\_ACEOF
24717 #define HAVE_EXT_HASH_MAP 1
24718 _ACEOF
24719
24720 cat >>confdefs.h <<\_ACEOF
24721 #define HAVE_GNU_CXX_HASH_MAP 1
24722 _ACEOF
24723
24724 fi
24725 fi
24726
24727
24728
24729 if test -n "$GCC"; then
24730 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24731 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24732 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 else
24735
24736 cat >conftest.$ac_ext <<_ACEOF
24737 /* confdefs.h. */
24738 _ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742
24743 int
24744 main ()
24745 {
24746
24747 int value=0;
24748 __sync_fetch_and_add(&value, 1);
24749 __sync_sub_and_fetch(&value, 1);
24750
24751 ;
24752 return 0;
24753 }
24754 _ACEOF
24755 rm -f conftest.$ac_objext
24756 if { (ac_try="$ac_compile"
24757 case "(($ac_try" in
24758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24759 *) ac_try_echo=$ac_try;;
24760 esac
24761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24762 (eval "$ac_compile") 2>conftest.er1
24763 ac_status=$?
24764 grep -v '^ *+' conftest.er1 >conftest.err
24765 rm -f conftest.er1
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } && {
24769 test -z "$ac_cxx_werror_flag" ||
24770 test ! -s conftest.err
24771 } && test -s conftest.$ac_objext; then
24772 wx_cv_cc_gcc_atomic_builtins=yes
24773 else
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.$ac_ext >&5
24776
24777 wx_cv_cc_gcc_atomic_builtins=no
24778 fi
24779
24780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24781
24782 fi
24783
24784 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24785 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24786 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24787 cat >>confdefs.h <<\_ACEOF
24788 #define HAVE_GCC_ATOMIC_BUILTINS 1
24789 _ACEOF
24790
24791 fi
24792 fi
24793
24794
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800
24801
24802
24803 SEARCH_INCLUDE="\
24804 /usr/local/include \
24805 \
24806 /usr/Motif-2.1/include \
24807 /usr/Motif-1.2/include \
24808 /usr/include/Motif1.2 \
24809 \
24810 /usr/dt/include \
24811 /usr/openwin/include \
24812 \
24813 /usr/include/Xm \
24814 \
24815 /usr/X11R6/include \
24816 /usr/X11R6.4/include \
24817 /usr/X11R5/include \
24818 /usr/X11R4/include \
24819 \
24820 /usr/include/X11R6 \
24821 /usr/include/X11R5 \
24822 /usr/include/X11R4 \
24823 \
24824 /usr/local/X11R6/include \
24825 /usr/local/X11R5/include \
24826 /usr/local/X11R4/include \
24827 \
24828 /usr/local/include/X11R6 \
24829 /usr/local/include/X11R5 \
24830 /usr/local/include/X11R4 \
24831 \
24832 /usr/X11/include \
24833 /usr/include/X11 \
24834 /usr/local/X11/include \
24835 /usr/local/include/X11 \
24836 \
24837 /usr/XFree86/include/X11 \
24838 /usr/pkg/include \
24839 \
24840 /usr/openwin/share/include"
24841
24842 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24843 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24844
24845 case "${host}" in
24846 *-*-irix6* )
24847 if test "${wx_cv_std_libpath+set}" = set; then
24848 echo $ECHO_N "(cached) $ECHO_C" >&6
24849 else
24850
24851 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24852 for e in a so sl dylib dll.a; do
24853 libc="$d/libc.$e"
24854 if test -f $libc; then
24855 save_LIBS="$LIBS"
24856 LIBS="$libc"
24857 cat >conftest.$ac_ext <<_ACEOF
24858 int main() { return 0; }
24859 _ACEOF
24860 rm -f conftest.$ac_objext conftest$ac_exeext
24861 if { (ac_try="$ac_link"
24862 case "(($ac_try" in
24863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24864 *) ac_try_echo=$ac_try;;
24865 esac
24866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24867 (eval "$ac_link") 2>conftest.er1
24868 ac_status=$?
24869 grep -v '^ *+' conftest.er1 >conftest.err
24870 rm -f conftest.er1
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } && {
24874 test -z "$ac_c_werror_flag" ||
24875 test ! -s conftest.err
24876 } && test -s conftest$ac_exeext &&
24877 $as_test_x conftest$ac_exeext; then
24878 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24879 else
24880 echo "$as_me: failed program was:" >&5
24881 sed 's/^/| /' conftest.$ac_ext >&5
24882
24883
24884 fi
24885
24886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24887 conftest$ac_exeext conftest.$ac_ext
24888 LIBS="$save_LIBS"
24889 if test "x$wx_cv_std_libpath" != "x"; then
24890 break 2
24891 fi
24892 fi
24893 done
24894 done
24895 if test "x$wx_cv_std_libpath" = "x"; then
24896 wx_cv_std_libpath="lib"
24897 fi
24898
24899
24900 fi
24901
24902 ;;
24903
24904 *-*-solaris2* )
24905 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24906 wx_cv_std_libpath="lib/64"
24907 else
24908 wx_cv_std_libpath="lib"
24909 fi
24910 ;;
24911
24912 *-*-linux* )
24913 if test "$ac_cv_sizeof_void_p" = 8 -a \
24914 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24915 wx_cv_std_libpath="lib64"
24916 else
24917 wx_cv_std_libpath="lib"
24918 fi
24919 ;;
24920
24921 *)
24922 wx_cv_std_libpath="lib";
24923 ;;
24924 esac
24925
24926 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24927 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24928
24929 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24930
24931 if test "$build" != "$host" -a "$GCC" = yes; then
24932 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24933 cross_root=`dirname $cross_root`
24934 cross_root=`dirname $cross_root`
24935
24936 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24937 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24938 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24939
24940 if test -z "$PKG_CONFIG_PATH"; then
24941 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24942 export PKG_CONFIG_PATH
24943 fi
24944
24945 if test -z "$x_includes" -o "$x_includes" = NONE; then
24946
24947 ac_find_includes=
24948 for ac_dir in $SEARCH_INCLUDE /usr/include;
24949 do
24950 if test -f "$ac_dir/X11/Intrinsic.h"; then
24951 ac_find_includes=$ac_dir
24952 break
24953 fi
24954 done
24955
24956 x_includes=$ac_find_includes
24957 fi
24958 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24959
24960 ac_find_libraries=
24961 for ac_dir in $SEARCH_LIB;
24962 do
24963 for ac_extension in a so sl dylib dll.a; do
24964 if test -f "$ac_dir/libXt.$ac_extension"; then
24965 ac_find_libraries=$ac_dir
24966 break 2
24967 fi
24968 done
24969 done
24970
24971 x_libraries=$ac_find_libraries
24972 fi
24973 fi
24974 fi
24975
24976
24977 cat >confcache <<\_ACEOF
24978 # This file is a shell script that caches the results of configure
24979 # tests run on this system so they can be shared between configure
24980 # scripts and configure runs, see configure's option --config-cache.
24981 # It is not useful on other systems. If it contains results you don't
24982 # want to keep, you may remove or edit it.
24983 #
24984 # config.status only pays attention to the cache file if you give it
24985 # the --recheck option to rerun configure.
24986 #
24987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24989 # following values.
24990
24991 _ACEOF
24992
24993 # The following way of writing the cache mishandles newlines in values,
24994 # but we know of no workaround that is simple, portable, and efficient.
24995 # So, we kill variables containing newlines.
24996 # Ultrix sh set writes to stderr and can't be redirected directly,
24997 # and sets the high bit in the cache file unless we assign to the vars.
24998 (
24999 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25000 eval ac_val=\$$ac_var
25001 case $ac_val in #(
25002 *${as_nl}*)
25003 case $ac_var in #(
25004 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25005 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25006 esac
25007 case $ac_var in #(
25008 _ | IFS | as_nl) ;; #(
25009 *) $as_unset $ac_var ;;
25010 esac ;;
25011 esac
25012 done
25013
25014 (set) 2>&1 |
25015 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25016 *${as_nl}ac_space=\ *)
25017 # `set' does not quote correctly, so add quotes (double-quote
25018 # substitution turns \\\\ into \\, and sed turns \\ into \).
25019 sed -n \
25020 "s/'/'\\\\''/g;
25021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25022 ;; #(
25023 *)
25024 # `set' quotes correctly as required by POSIX, so do not add quotes.
25025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25026 ;;
25027 esac |
25028 sort
25029 ) |
25030 sed '
25031 /^ac_cv_env_/b end
25032 t clear
25033 :clear
25034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25035 t end
25036 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25037 :end' >>confcache
25038 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25039 if test -w "$cache_file"; then
25040 test "x$cache_file" != "x/dev/null" &&
25041 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25042 echo "$as_me: updating cache $cache_file" >&6;}
25043 cat confcache >$cache_file
25044 else
25045 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25046 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25047 fi
25048 fi
25049 rm -f confcache
25050
25051 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25052 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25053 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25054 if test "${wx_cv_lib_glibc21+set}" = set; then
25055 echo $ECHO_N "(cached) $ECHO_C" >&6
25056 else
25057
25058 cat >conftest.$ac_ext <<_ACEOF
25059 /* confdefs.h. */
25060 _ACEOF
25061 cat confdefs.h >>conftest.$ac_ext
25062 cat >>conftest.$ac_ext <<_ACEOF
25063 /* end confdefs.h. */
25064 #include <features.h>
25065 int
25066 main ()
25067 {
25068
25069 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25070 not glibc 2.1
25071 #endif
25072
25073 ;
25074 return 0;
25075 }
25076 _ACEOF
25077 rm -f conftest.$ac_objext
25078 if { (ac_try="$ac_compile"
25079 case "(($ac_try" in
25080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25081 *) ac_try_echo=$ac_try;;
25082 esac
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_compile") 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } && {
25091 test -z "$ac_c_werror_flag" ||
25092 test ! -s conftest.err
25093 } && test -s conftest.$ac_objext; then
25094
25095 wx_cv_lib_glibc21=yes
25096
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25100
25101
25102 wx_cv_lib_glibc21=no
25103
25104
25105 fi
25106
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108
25109 fi
25110 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25111 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25112 if test "$wx_cv_lib_glibc21" = "yes"; then
25113 cat >>confdefs.h <<\_ACEOF
25114 #define wxHAVE_GLIBC2 1
25115 _ACEOF
25116
25117 fi
25118 fi
25119
25120 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25121 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25122 cat >>confdefs.h <<\_ACEOF
25123 #define _GNU_SOURCE 1
25124 _ACEOF
25125
25126 fi
25127 fi
25128
25129 have_cos=0
25130 have_floor=0
25131
25132 for ac_func in cos
25133 do
25134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25137 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25148 #define $ac_func innocuous_$ac_func
25149
25150 /* System header to define __stub macros and hopefully few prototypes,
25151 which can conflict with char $ac_func (); below.
25152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25153 <limits.h> exists even on freestanding compilers. */
25154
25155 #ifdef __STDC__
25156 # include <limits.h>
25157 #else
25158 # include <assert.h>
25159 #endif
25160
25161 #undef $ac_func
25162
25163 /* Override any GCC internal prototype to avoid an error.
25164 Use char because int might match the return type of a GCC
25165 builtin and then its argument prototype would still apply. */
25166 #ifdef __cplusplus
25167 extern "C"
25168 #endif
25169 char $ac_func ();
25170 /* The GNU C library defines this for functions which it implements
25171 to always fail with ENOSYS. Some functions are actually named
25172 something starting with __ and the normal name is an alias. */
25173 #if defined __stub_$ac_func || defined __stub___$ac_func
25174 choke me
25175 #endif
25176
25177 int
25178 main ()
25179 {
25180 return $ac_func ();
25181 ;
25182 return 0;
25183 }
25184 _ACEOF
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (ac_try="$ac_link"
25187 case "(($ac_try" in
25188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25189 *) ac_try_echo=$ac_try;;
25190 esac
25191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25192 (eval "$ac_link") 2>conftest.er1
25193 ac_status=$?
25194 grep -v '^ *+' conftest.er1 >conftest.err
25195 rm -f conftest.er1
25196 cat conftest.err >&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } && {
25199 test -z "$ac_c_werror_flag" ||
25200 test ! -s conftest.err
25201 } && test -s conftest$ac_exeext &&
25202 $as_test_x conftest$ac_exeext; then
25203 eval "$as_ac_var=yes"
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 eval "$as_ac_var=no"
25209 fi
25210
25211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25212 conftest$ac_exeext conftest.$ac_ext
25213 fi
25214 ac_res=`eval echo '${'$as_ac_var'}'`
25215 { echo "$as_me:$LINENO: result: $ac_res" >&5
25216 echo "${ECHO_T}$ac_res" >&6; }
25217 if test `eval echo '${'$as_ac_var'}'` = yes; then
25218 cat >>confdefs.h <<_ACEOF
25219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25220 _ACEOF
25221 have_cos=1
25222 fi
25223 done
25224
25225
25226 for ac_func in floor
25227 do
25228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25231 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 else
25234 cat >conftest.$ac_ext <<_ACEOF
25235 /* confdefs.h. */
25236 _ACEOF
25237 cat confdefs.h >>conftest.$ac_ext
25238 cat >>conftest.$ac_ext <<_ACEOF
25239 /* end confdefs.h. */
25240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25242 #define $ac_func innocuous_$ac_func
25243
25244 /* System header to define __stub macros and hopefully few prototypes,
25245 which can conflict with char $ac_func (); below.
25246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25247 <limits.h> exists even on freestanding compilers. */
25248
25249 #ifdef __STDC__
25250 # include <limits.h>
25251 #else
25252 # include <assert.h>
25253 #endif
25254
25255 #undef $ac_func
25256
25257 /* Override any GCC internal prototype to avoid an error.
25258 Use char because int might match the return type of a GCC
25259 builtin and then its argument prototype would still apply. */
25260 #ifdef __cplusplus
25261 extern "C"
25262 #endif
25263 char $ac_func ();
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined __stub_$ac_func || defined __stub___$ac_func
25268 choke me
25269 #endif
25270
25271 int
25272 main ()
25273 {
25274 return $ac_func ();
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 rm -f conftest.$ac_objext conftest$ac_exeext
25280 if { (ac_try="$ac_link"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_link") 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_c_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest$ac_exeext &&
25296 $as_test_x conftest$ac_exeext; then
25297 eval "$as_ac_var=yes"
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 eval "$as_ac_var=no"
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25306 conftest$ac_exeext conftest.$ac_ext
25307 fi
25308 ac_res=`eval echo '${'$as_ac_var'}'`
25309 { echo "$as_me:$LINENO: result: $ac_res" >&5
25310 echo "${ECHO_T}$ac_res" >&6; }
25311 if test `eval echo '${'$as_ac_var'}'` = yes; then
25312 cat >>confdefs.h <<_ACEOF
25313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25314 _ACEOF
25315 have_floor=1
25316 fi
25317 done
25318
25319 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25320 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25321 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25322 { echo "$as_me:$LINENO: result: yes" >&5
25323 echo "${ECHO_T}yes" >&6; }
25324 else
25325 { echo "$as_me:$LINENO: result: no" >&5
25326 echo "${ECHO_T}no" >&6; }
25327 LIBS="$LIBS -lm"
25328 # use different functions to avoid configure caching
25329 have_sin=0
25330 have_ceil=0
25331
25332 for ac_func in sin
25333 do
25334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25338 echo $ECHO_N "(cached) $ECHO_C" >&6
25339 else
25340 cat >conftest.$ac_ext <<_ACEOF
25341 /* confdefs.h. */
25342 _ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25348 #define $ac_func innocuous_$ac_func
25349
25350 /* System header to define __stub macros and hopefully few prototypes,
25351 which can conflict with char $ac_func (); below.
25352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25353 <limits.h> exists even on freestanding compilers. */
25354
25355 #ifdef __STDC__
25356 # include <limits.h>
25357 #else
25358 # include <assert.h>
25359 #endif
25360
25361 #undef $ac_func
25362
25363 /* Override any GCC internal prototype to avoid an error.
25364 Use char because int might match the return type of a GCC
25365 builtin and then its argument prototype would still apply. */
25366 #ifdef __cplusplus
25367 extern "C"
25368 #endif
25369 char $ac_func ();
25370 /* The GNU C library defines this for functions which it implements
25371 to always fail with ENOSYS. Some functions are actually named
25372 something starting with __ and the normal name is an alias. */
25373 #if defined __stub_$ac_func || defined __stub___$ac_func
25374 choke me
25375 #endif
25376
25377 int
25378 main ()
25379 {
25380 return $ac_func ();
25381 ;
25382 return 0;
25383 }
25384 _ACEOF
25385 rm -f conftest.$ac_objext conftest$ac_exeext
25386 if { (ac_try="$ac_link"
25387 case "(($ac_try" in
25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25389 *) ac_try_echo=$ac_try;;
25390 esac
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25392 (eval "$ac_link") 2>conftest.er1
25393 ac_status=$?
25394 grep -v '^ *+' conftest.er1 >conftest.err
25395 rm -f conftest.er1
25396 cat conftest.err >&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); } && {
25399 test -z "$ac_c_werror_flag" ||
25400 test ! -s conftest.err
25401 } && test -s conftest$ac_exeext &&
25402 $as_test_x conftest$ac_exeext; then
25403 eval "$as_ac_var=yes"
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 eval "$as_ac_var=no"
25409 fi
25410
25411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25412 conftest$ac_exeext conftest.$ac_ext
25413 fi
25414 ac_res=`eval echo '${'$as_ac_var'}'`
25415 { echo "$as_me:$LINENO: result: $ac_res" >&5
25416 echo "${ECHO_T}$ac_res" >&6; }
25417 if test `eval echo '${'$as_ac_var'}'` = yes; then
25418 cat >>confdefs.h <<_ACEOF
25419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25420 _ACEOF
25421 have_sin=1
25422 fi
25423 done
25424
25425
25426 for ac_func in ceil
25427 do
25428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25431 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25433 else
25434 cat >conftest.$ac_ext <<_ACEOF
25435 /* confdefs.h. */
25436 _ACEOF
25437 cat confdefs.h >>conftest.$ac_ext
25438 cat >>conftest.$ac_ext <<_ACEOF
25439 /* end confdefs.h. */
25440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25442 #define $ac_func innocuous_$ac_func
25443
25444 /* System header to define __stub macros and hopefully few prototypes,
25445 which can conflict with char $ac_func (); below.
25446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25447 <limits.h> exists even on freestanding compilers. */
25448
25449 #ifdef __STDC__
25450 # include <limits.h>
25451 #else
25452 # include <assert.h>
25453 #endif
25454
25455 #undef $ac_func
25456
25457 /* Override any GCC internal prototype to avoid an error.
25458 Use char because int might match the return type of a GCC
25459 builtin and then its argument prototype would still apply. */
25460 #ifdef __cplusplus
25461 extern "C"
25462 #endif
25463 char $ac_func ();
25464 /* The GNU C library defines this for functions which it implements
25465 to always fail with ENOSYS. Some functions are actually named
25466 something starting with __ and the normal name is an alias. */
25467 #if defined __stub_$ac_func || defined __stub___$ac_func
25468 choke me
25469 #endif
25470
25471 int
25472 main ()
25473 {
25474 return $ac_func ();
25475 ;
25476 return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (ac_try="$ac_link"
25481 case "(($ac_try" in
25482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25483 *) ac_try_echo=$ac_try;;
25484 esac
25485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25486 (eval "$ac_link") 2>conftest.er1
25487 ac_status=$?
25488 grep -v '^ *+' conftest.er1 >conftest.err
25489 rm -f conftest.er1
25490 cat conftest.err >&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } && {
25493 test -z "$ac_c_werror_flag" ||
25494 test ! -s conftest.err
25495 } && test -s conftest$ac_exeext &&
25496 $as_test_x conftest$ac_exeext; then
25497 eval "$as_ac_var=yes"
25498 else
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.$ac_ext >&5
25501
25502 eval "$as_ac_var=no"
25503 fi
25504
25505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25506 conftest$ac_exeext conftest.$ac_ext
25507 fi
25508 ac_res=`eval echo '${'$as_ac_var'}'`
25509 { echo "$as_me:$LINENO: result: $ac_res" >&5
25510 echo "${ECHO_T}$ac_res" >&6; }
25511 if test `eval echo '${'$as_ac_var'}'` = yes; then
25512 cat >>confdefs.h <<_ACEOF
25513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25514 _ACEOF
25515 have_ceil=1
25516 fi
25517 done
25518
25519 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25520 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25521 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25522 { echo "$as_me:$LINENO: result: yes" >&5
25523 echo "${ECHO_T}yes" >&6; }
25524 else
25525 { echo "$as_me:$LINENO: result: no" >&5
25526 echo "${ECHO_T}no" >&6; }
25527 # not sure we should warn the user, crash, etc.
25528 fi
25529 fi
25530
25531 ac_ext=cpp
25532 ac_cpp='$CXXCPP $CPPFLAGS'
25533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25536
25537 if test "wxUSE_UNICODE" = "yes"; then
25538
25539 for wx_func in wcstoull
25540 do
25541 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25542 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25543 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546
25547 cat >conftest.$ac_ext <<_ACEOF
25548
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554
25555
25556 $ac_includes_default
25557
25558 int
25559 main ()
25560 {
25561
25562 #ifndef $wx_func
25563 &$wx_func;
25564 #endif
25565
25566
25567 ;
25568 return 0;
25569 }
25570
25571 _ACEOF
25572 rm -f conftest.$ac_objext conftest$ac_exeext
25573 if { (ac_try="$ac_link"
25574 case "(($ac_try" in
25575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25576 *) ac_try_echo=$ac_try;;
25577 esac
25578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25579 (eval "$ac_link") 2>conftest.er1
25580 ac_status=$?
25581 grep -v '^ *+' conftest.er1 >conftest.err
25582 rm -f conftest.er1
25583 cat conftest.err >&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } && {
25586 test -z "$ac_cxx_werror_flag" ||
25587 test ! -s conftest.err
25588 } && test -s conftest$ac_exeext &&
25589 $as_test_x conftest$ac_exeext; then
25590 eval wx_cv_func_$wx_func=yes
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 eval wx_cv_func_$wx_func=no
25596 fi
25597
25598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25599 conftest$ac_exeext conftest.$ac_ext
25600
25601 fi
25602 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25603 { echo "$as_me:$LINENO: result: $ac_res" >&5
25604 echo "${ECHO_T}$ac_res" >&6; }
25605
25606 if eval test \$wx_cv_func_$wx_func = yes
25607 then
25608 cat >>confdefs.h <<_ACEOF
25609 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25610 _ACEOF
25611
25612
25613 else
25614 :
25615
25616 fi
25617 done
25618
25619 else
25620
25621 for wx_func in strtoull
25622 do
25623 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25624 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25625 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 else
25628
25629 cat >conftest.$ac_ext <<_ACEOF
25630
25631 /* confdefs.h. */
25632 _ACEOF
25633 cat confdefs.h >>conftest.$ac_ext
25634 cat >>conftest.$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636
25637
25638 $ac_includes_default
25639
25640 int
25641 main ()
25642 {
25643
25644 #ifndef $wx_func
25645 &$wx_func;
25646 #endif
25647
25648
25649 ;
25650 return 0;
25651 }
25652
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (ac_try="$ac_link"
25656 case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25659 esac
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_link") 2>conftest.er1
25662 ac_status=$?
25663 grep -v '^ *+' conftest.er1 >conftest.err
25664 rm -f conftest.er1
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } && {
25668 test -z "$ac_cxx_werror_flag" ||
25669 test ! -s conftest.err
25670 } && test -s conftest$ac_exeext &&
25671 $as_test_x conftest$ac_exeext; then
25672 eval wx_cv_func_$wx_func=yes
25673 else
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25676
25677 eval wx_cv_func_$wx_func=no
25678 fi
25679
25680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25681 conftest$ac_exeext conftest.$ac_ext
25682
25683 fi
25684 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25685 { echo "$as_me:$LINENO: result: $ac_res" >&5
25686 echo "${ECHO_T}$ac_res" >&6; }
25687
25688 if eval test \$wx_cv_func_$wx_func = yes
25689 then
25690 cat >>confdefs.h <<_ACEOF
25691 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25692 _ACEOF
25693
25694
25695 else
25696 :
25697
25698 fi
25699 done
25700
25701 fi
25702 ac_ext=c
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25707
25708
25709
25710
25711 if test "$wxUSE_REGEX" != "no"; then
25712 cat >>confdefs.h <<\_ACEOF
25713 #define wxUSE_REGEX 1
25714 _ACEOF
25715
25716
25717 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25718 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25719 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25720 wxUSE_REGEX=builtin
25721 fi
25722
25723 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25724 { echo "$as_me:$LINENO: checking for regex.h" >&5
25725 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25726 if test "${ac_cv_header_regex_h+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729 cat >conftest.$ac_ext <<_ACEOF
25730 /* confdefs.h. */
25731 _ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735
25736
25737 #include <regex.h>
25738 _ACEOF
25739 rm -f conftest.$ac_objext
25740 if { (ac_try="$ac_compile"
25741 case "(($ac_try" in
25742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25743 *) ac_try_echo=$ac_try;;
25744 esac
25745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25746 (eval "$ac_compile") 2>conftest.er1
25747 ac_status=$?
25748 grep -v '^ *+' conftest.er1 >conftest.err
25749 rm -f conftest.er1
25750 cat conftest.err >&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); } && {
25753 test -z "$ac_c_werror_flag" ||
25754 test ! -s conftest.err
25755 } && test -s conftest.$ac_objext; then
25756 ac_cv_header_regex_h=yes
25757 else
25758 echo "$as_me: failed program was:" >&5
25759 sed 's/^/| /' conftest.$ac_ext >&5
25760
25761 ac_cv_header_regex_h=no
25762 fi
25763
25764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25765 fi
25766 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25767 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25768 if test $ac_cv_header_regex_h = yes; then
25769
25770
25771 for ac_func in regcomp re_search
25772 do
25773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25774 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25776 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25787 #define $ac_func innocuous_$ac_func
25788
25789 /* System header to define __stub macros and hopefully few prototypes,
25790 which can conflict with char $ac_func (); below.
25791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25792 <limits.h> exists even on freestanding compilers. */
25793
25794 #ifdef __STDC__
25795 # include <limits.h>
25796 #else
25797 # include <assert.h>
25798 #endif
25799
25800 #undef $ac_func
25801
25802 /* Override any GCC internal prototype to avoid an error.
25803 Use char because int might match the return type of a GCC
25804 builtin and then its argument prototype would still apply. */
25805 #ifdef __cplusplus
25806 extern "C"
25807 #endif
25808 char $ac_func ();
25809 /* The GNU C library defines this for functions which it implements
25810 to always fail with ENOSYS. Some functions are actually named
25811 something starting with __ and the normal name is an alias. */
25812 #if defined __stub_$ac_func || defined __stub___$ac_func
25813 choke me
25814 #endif
25815
25816 int
25817 main ()
25818 {
25819 return $ac_func ();
25820 ;
25821 return 0;
25822 }
25823 _ACEOF
25824 rm -f conftest.$ac_objext conftest$ac_exeext
25825 if { (ac_try="$ac_link"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25829 esac
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_link") 2>conftest.er1
25832 ac_status=$?
25833 grep -v '^ *+' conftest.er1 >conftest.err
25834 rm -f conftest.er1
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_c_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest$ac_exeext &&
25841 $as_test_x conftest$ac_exeext; then
25842 eval "$as_ac_var=yes"
25843 else
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25846
25847 eval "$as_ac_var=no"
25848 fi
25849
25850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25851 conftest$ac_exeext conftest.$ac_ext
25852 fi
25853 ac_res=`eval echo '${'$as_ac_var'}'`
25854 { echo "$as_me:$LINENO: result: $ac_res" >&5
25855 echo "${ECHO_T}$ac_res" >&6; }
25856 if test `eval echo '${'$as_ac_var'}'` = yes; then
25857 cat >>confdefs.h <<_ACEOF
25858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25859 _ACEOF
25860
25861 fi
25862 done
25863
25864 fi
25865
25866
25867
25868 if test "x$ac_cv_func_regcomp" != "xyes"; then
25869 if test "$wxUSE_REGEX" = "sys" ; then
25870 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25871 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25872 { (exit 1); exit 1; }; }
25873 else
25874 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25875 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25876 wxUSE_REGEX=builtin
25877 fi
25878 else
25879 wxUSE_REGEX=sys
25880 cat >>confdefs.h <<\_ACEOF
25881 #define WX_NO_REGEX_ADVANCED 1
25882 _ACEOF
25883
25884 fi
25885 fi
25886 fi
25887
25888
25889 ZLIB_LINK=
25890 if test "$wxUSE_ZLIB" != "no" ; then
25891 cat >>confdefs.h <<\_ACEOF
25892 #define wxUSE_ZLIB 1
25893 _ACEOF
25894
25895
25896 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25897 if test "$USE_DARWIN" = 1; then
25898 system_zlib_h_ok="yes"
25899 else
25900 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25901 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25902 if test "${ac_cv_header_zlib_h+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 else
25905 if test "$cross_compiling" = yes; then
25906 unset ac_cv_header_zlib_h
25907
25908 else
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915
25916 #include <zlib.h>
25917 #include <stdio.h>
25918
25919 int main()
25920 {
25921 FILE *f=fopen("conftestval", "w");
25922 if (!f) exit(1);
25923 fprintf(f, "%s",
25924 ZLIB_VERSION[0] == '1' &&
25925 (ZLIB_VERSION[2] > '1' ||
25926 (ZLIB_VERSION[2] == '1' &&
25927 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25928 exit(0);
25929 }
25930
25931 _ACEOF
25932 rm -f conftest$ac_exeext
25933 if { (ac_try="$ac_link"
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_link") 2>&5
25940 ac_status=$?
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25943 { (case "(($ac_try" in
25944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25945 *) ac_try_echo=$ac_try;;
25946 esac
25947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25948 (eval "$ac_try") 2>&5
25949 ac_status=$?
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; }; then
25952 ac_cv_header_zlib_h=`cat conftestval`
25953 else
25954 echo "$as_me: program exited with status $ac_status" >&5
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 ( exit $ac_status )
25959 ac_cv_header_zlib_h=no
25960 fi
25961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25962 fi
25963
25964
25965
25966 fi
25967 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25968 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25969 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25970 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25971 if test "${ac_cv_header_zlib_h+set}" = set; then
25972 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 else
25974 cat >conftest.$ac_ext <<_ACEOF
25975 /* confdefs.h. */
25976 _ACEOF
25977 cat confdefs.h >>conftest.$ac_ext
25978 cat >>conftest.$ac_ext <<_ACEOF
25979 /* end confdefs.h. */
25980
25981
25982 #include <zlib.h>
25983 _ACEOF
25984 rm -f conftest.$ac_objext
25985 if { (ac_try="$ac_compile"
25986 case "(($ac_try" in
25987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25988 *) ac_try_echo=$ac_try;;
25989 esac
25990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25991 (eval "$ac_compile") 2>conftest.er1
25992 ac_status=$?
25993 grep -v '^ *+' conftest.er1 >conftest.err
25994 rm -f conftest.er1
25995 cat conftest.err >&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } && {
25998 test -z "$ac_c_werror_flag" ||
25999 test ! -s conftest.err
26000 } && test -s conftest.$ac_objext; then
26001 ac_cv_header_zlib_h=yes
26002 else
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26005
26006 ac_cv_header_zlib_h=no
26007 fi
26008
26009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26010 fi
26011 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26012 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26013
26014
26015
26016 system_zlib_h_ok=$ac_cv_header_zlib_h
26017 fi
26018
26019 if test "$system_zlib_h_ok" = "yes"; then
26020 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26021 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26022 if test "${ac_cv_lib_z_deflate+set}" = set; then
26023 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 else
26025 ac_check_lib_save_LIBS=$LIBS
26026 LIBS="-lz $LIBS"
26027 cat >conftest.$ac_ext <<_ACEOF
26028 /* confdefs.h. */
26029 _ACEOF
26030 cat confdefs.h >>conftest.$ac_ext
26031 cat >>conftest.$ac_ext <<_ACEOF
26032 /* end confdefs.h. */
26033
26034 /* Override any GCC internal prototype to avoid an error.
26035 Use char because int might match the return type of a GCC
26036 builtin and then its argument prototype would still apply. */
26037 #ifdef __cplusplus
26038 extern "C"
26039 #endif
26040 char deflate ();
26041 int
26042 main ()
26043 {
26044 return deflate ();
26045 ;
26046 return 0;
26047 }
26048 _ACEOF
26049 rm -f conftest.$ac_objext conftest$ac_exeext
26050 if { (ac_try="$ac_link"
26051 case "(($ac_try" in
26052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26053 *) ac_try_echo=$ac_try;;
26054 esac
26055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26056 (eval "$ac_link") 2>conftest.er1
26057 ac_status=$?
26058 grep -v '^ *+' conftest.er1 >conftest.err
26059 rm -f conftest.er1
26060 cat conftest.err >&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } && {
26063 test -z "$ac_c_werror_flag" ||
26064 test ! -s conftest.err
26065 } && test -s conftest$ac_exeext &&
26066 $as_test_x conftest$ac_exeext; then
26067 ac_cv_lib_z_deflate=yes
26068 else
26069 echo "$as_me: failed program was:" >&5
26070 sed 's/^/| /' conftest.$ac_ext >&5
26071
26072 ac_cv_lib_z_deflate=no
26073 fi
26074
26075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26076 conftest$ac_exeext conftest.$ac_ext
26077 LIBS=$ac_check_lib_save_LIBS
26078 fi
26079 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26080 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26081 if test $ac_cv_lib_z_deflate = yes; then
26082 ZLIB_LINK=" -lz"
26083 fi
26084
26085 fi
26086
26087 if test "x$ZLIB_LINK" = "x" ; then
26088 if test "$wxUSE_ZLIB" = "sys" ; then
26089 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26090 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26091 { (exit 1); exit 1; }; }
26092 else
26093 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26094 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26095 wxUSE_ZLIB=builtin
26096 fi
26097 else
26098 wxUSE_ZLIB=sys
26099 fi
26100 fi
26101 fi
26102
26103
26104 PNG_LINK=
26105 if test "$wxUSE_LIBPNG" != "no" ; then
26106 cat >>confdefs.h <<\_ACEOF
26107 #define wxUSE_LIBPNG 1
26108 _ACEOF
26109
26110
26111 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26112 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26113 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26114 wxUSE_LIBPNG=sys
26115 fi
26116
26117 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26118 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26119 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26120 wxUSE_LIBPNG=builtin
26121 fi
26122
26123 if test "$wxUSE_MGL" != 1 ; then
26124 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26125 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26126 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26127 if test "${ac_cv_header_png_h+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130 if test "$cross_compiling" = yes; then
26131 unset ac_cv_header_png_h
26132
26133 else
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140
26141 #include <png.h>
26142 #include <stdio.h>
26143
26144 int main()
26145 {
26146 FILE *f=fopen("conftestval", "w");
26147 if (!f) exit(1);
26148 fprintf(f, "%s",
26149 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26150 exit(0);
26151 }
26152
26153 _ACEOF
26154 rm -f conftest$ac_exeext
26155 if { (ac_try="$ac_link"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158 *) ac_try_echo=$ac_try;;
26159 esac
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_link") 2>&5
26162 ac_status=$?
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26165 { (case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26168 esac
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_try") 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_header_png_h=`cat conftestval`
26175 else
26176 echo "$as_me: program exited with status $ac_status" >&5
26177 echo "$as_me: failed program was:" >&5
26178 sed 's/^/| /' conftest.$ac_ext >&5
26179
26180 ( exit $ac_status )
26181 ac_cv_header_png_h=no
26182 fi
26183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26184 fi
26185
26186
26187
26188 fi
26189 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26190 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26191 { echo "$as_me:$LINENO: checking for png.h" >&5
26192 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26193 if test "${ac_cv_header_png_h+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 else
26196 cat >conftest.$ac_ext <<_ACEOF
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202
26203
26204 #include <png.h>
26205 _ACEOF
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26211 esac
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26214 ac_status=$?
26215 grep -v '^ *+' conftest.er1 >conftest.err
26216 rm -f conftest.er1
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_c_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26223 ac_cv_header_png_h=yes
26224 else
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228 ac_cv_header_png_h=no
26229 fi
26230
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 fi
26233 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26234 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26235
26236
26237
26238 if test "$ac_cv_header_png_h" = "yes"; then
26239 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26240 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26241 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 else
26244 ac_check_lib_save_LIBS=$LIBS
26245 LIBS="-lpng -lz -lm $LIBS"
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252
26253 /* Override any GCC internal prototype to avoid an error.
26254 Use char because int might match the return type of a GCC
26255 builtin and then its argument prototype would still apply. */
26256 #ifdef __cplusplus
26257 extern "C"
26258 #endif
26259 char png_check_sig ();
26260 int
26261 main ()
26262 {
26263 return png_check_sig ();
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 rm -f conftest.$ac_objext conftest$ac_exeext
26269 if { (ac_try="$ac_link"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26273 esac
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_link") 2>conftest.er1
26276 ac_status=$?
26277 grep -v '^ *+' conftest.er1 >conftest.err
26278 rm -f conftest.er1
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_c_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest$ac_exeext &&
26285 $as_test_x conftest$ac_exeext; then
26286 ac_cv_lib_png_png_check_sig=yes
26287 else
26288 echo "$as_me: failed program was:" >&5
26289 sed 's/^/| /' conftest.$ac_ext >&5
26290
26291 ac_cv_lib_png_png_check_sig=no
26292 fi
26293
26294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26295 conftest$ac_exeext conftest.$ac_ext
26296 LIBS=$ac_check_lib_save_LIBS
26297 fi
26298 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26299 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26300 if test $ac_cv_lib_png_png_check_sig = yes; then
26301 PNG_LINK=" -lpng -lz"
26302 fi
26303
26304 fi
26305
26306 if test "x$PNG_LINK" = "x" ; then
26307 if test "$wxUSE_LIBPNG" = "sys" ; then
26308 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26309 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26310 { (exit 1); exit 1; }; }
26311 else
26312 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26313 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26314 wxUSE_LIBPNG=builtin
26315 fi
26316 else
26317 wxUSE_LIBPNG=sys
26318 fi
26319 fi
26320 fi
26321 fi
26322
26323
26324 JPEG_LINK=
26325 if test "$wxUSE_LIBJPEG" != "no" ; then
26326 cat >>confdefs.h <<\_ACEOF
26327 #define wxUSE_LIBJPEG 1
26328 _ACEOF
26329
26330
26331 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26332 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26333 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26334 wxUSE_LIBJPEG=sys
26335 fi
26336
26337 if test "$wxUSE_MGL" != 1 ; then
26338 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26339 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26340 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26341 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 else
26344 cat >conftest.$ac_ext <<_ACEOF
26345 /* confdefs.h. */
26346 _ACEOF
26347 cat confdefs.h >>conftest.$ac_ext
26348 cat >>conftest.$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26350
26351 #undef HAVE_STDLIB_H
26352 #include <stdio.h>
26353 #include <jpeglib.h>
26354
26355 int
26356 main ()
26357 {
26358
26359
26360 ;
26361 return 0;
26362 }
26363 _ACEOF
26364 rm -f conftest.$ac_objext
26365 if { (ac_try="$ac_compile"
26366 case "(($ac_try" in
26367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26368 *) ac_try_echo=$ac_try;;
26369 esac
26370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26371 (eval "$ac_compile") 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && {
26378 test -z "$ac_c_werror_flag" ||
26379 test ! -s conftest.err
26380 } && test -s conftest.$ac_objext; then
26381 ac_cv_header_jpeglib_h=yes
26382 else
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.$ac_ext >&5
26385
26386 ac_cv_header_jpeglib_h=no
26387
26388 fi
26389
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391
26392 fi
26393
26394 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26395 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26396
26397 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26398 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26399 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26400 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 else
26403 ac_check_lib_save_LIBS=$LIBS
26404 LIBS="-ljpeg $LIBS"
26405 cat >conftest.$ac_ext <<_ACEOF
26406 /* confdefs.h. */
26407 _ACEOF
26408 cat confdefs.h >>conftest.$ac_ext
26409 cat >>conftest.$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411
26412 /* Override any GCC internal prototype to avoid an error.
26413 Use char because int might match the return type of a GCC
26414 builtin and then its argument prototype would still apply. */
26415 #ifdef __cplusplus
26416 extern "C"
26417 #endif
26418 char jpeg_read_header ();
26419 int
26420 main ()
26421 {
26422 return jpeg_read_header ();
26423 ;
26424 return 0;
26425 }
26426 _ACEOF
26427 rm -f conftest.$ac_objext conftest$ac_exeext
26428 if { (ac_try="$ac_link"
26429 case "(($ac_try" in
26430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26431 *) ac_try_echo=$ac_try;;
26432 esac
26433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26434 (eval "$ac_link") 2>conftest.er1
26435 ac_status=$?
26436 grep -v '^ *+' conftest.er1 >conftest.err
26437 rm -f conftest.er1
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } && {
26441 test -z "$ac_c_werror_flag" ||
26442 test ! -s conftest.err
26443 } && test -s conftest$ac_exeext &&
26444 $as_test_x conftest$ac_exeext; then
26445 ac_cv_lib_jpeg_jpeg_read_header=yes
26446 else
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26449
26450 ac_cv_lib_jpeg_jpeg_read_header=no
26451 fi
26452
26453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26456 fi
26457 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26458 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26459 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26460 JPEG_LINK=" -ljpeg"
26461 fi
26462
26463 fi
26464
26465 if test "x$JPEG_LINK" = "x" ; then
26466 if test "$wxUSE_LIBJPEG" = "sys" ; then
26467 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26468 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26469 { (exit 1); exit 1; }; }
26470 else
26471 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26472 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26473 wxUSE_LIBJPEG=builtin
26474 fi
26475 else
26476 wxUSE_LIBJPEG=sys
26477
26478 if test "$wxUSE_MSW" = 1; then
26479 { echo "$as_me:$LINENO: checking for boolean" >&5
26480 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26481 if test "${ac_cv_type_boolean+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 else
26484 cat >conftest.$ac_ext <<_ACEOF
26485 /* confdefs.h. */
26486 _ACEOF
26487 cat confdefs.h >>conftest.$ac_ext
26488 cat >>conftest.$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26490 #include <windows.h>
26491
26492 typedef boolean ac__type_new_;
26493 int
26494 main ()
26495 {
26496 if ((ac__type_new_ *) 0)
26497 return 0;
26498 if (sizeof (ac__type_new_))
26499 return 0;
26500 ;
26501 return 0;
26502 }
26503 _ACEOF
26504 rm -f conftest.$ac_objext
26505 if { (ac_try="$ac_compile"
26506 case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26509 esac
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_compile") 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } && {
26518 test -z "$ac_c_werror_flag" ||
26519 test ! -s conftest.err
26520 } && test -s conftest.$ac_objext; then
26521 ac_cv_type_boolean=yes
26522 else
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.$ac_ext >&5
26525
26526 ac_cv_type_boolean=no
26527 fi
26528
26529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 fi
26531 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26532 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26533 if test $ac_cv_type_boolean = yes; then
26534
26535 cat >>confdefs.h <<_ACEOF
26536 #define HAVE_BOOLEAN 1
26537 _ACEOF
26538
26539
26540 { echo "$as_me:$LINENO: checking for boolean" >&5
26541 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26542 if test "${ac_cv_type_boolean+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26545 cat >conftest.$ac_ext <<_ACEOF
26546 /* confdefs.h. */
26547 _ACEOF
26548 cat confdefs.h >>conftest.$ac_ext
26549 cat >>conftest.$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26551
26552 #undef HAVE_BOOLEAN
26553 #include <stdio.h>
26554 #include <jpeglib.h>
26555
26556
26557 typedef boolean ac__type_new_;
26558 int
26559 main ()
26560 {
26561 if ((ac__type_new_ *) 0)
26562 return 0;
26563 if (sizeof (ac__type_new_))
26564 return 0;
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 rm -f conftest.$ac_objext
26570 if { (ac_try="$ac_compile"
26571 case "(($ac_try" in
26572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26573 *) ac_try_echo=$ac_try;;
26574 esac
26575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26576 (eval "$ac_compile") 2>conftest.er1
26577 ac_status=$?
26578 grep -v '^ *+' conftest.er1 >conftest.err
26579 rm -f conftest.er1
26580 cat conftest.err >&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } && {
26583 test -z "$ac_c_werror_flag" ||
26584 test ! -s conftest.err
26585 } && test -s conftest.$ac_objext; then
26586 ac_cv_type_boolean=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_type_boolean=no
26592 fi
26593
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 fi
26596 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26597 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26598
26599 # The cast to long int works around a bug in the HP C Compiler
26600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26602 # This bug is HP SR number 8606223364.
26603 { echo "$as_me:$LINENO: checking size of boolean" >&5
26604 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26605 if test "${ac_cv_sizeof_boolean+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 else
26608 if test "$cross_compiling" = yes; then
26609 # Depending upon the size, compute the lo and hi bounds.
26610 cat >conftest.$ac_ext <<_ACEOF
26611 /* confdefs.h. */
26612 _ACEOF
26613 cat confdefs.h >>conftest.$ac_ext
26614 cat >>conftest.$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26616
26617 #undef HAVE_BOOLEAN
26618 #include <stdio.h>
26619 #include <jpeglib.h>
26620
26621
26622 typedef boolean ac__type_sizeof_;
26623 int
26624 main ()
26625 {
26626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26627 test_array [0] = 0
26628
26629 ;
26630 return 0;
26631 }
26632 _ACEOF
26633 rm -f conftest.$ac_objext
26634 if { (ac_try="$ac_compile"
26635 case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26638 esac
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_compile") 2>conftest.er1
26641 ac_status=$?
26642 grep -v '^ *+' conftest.er1 >conftest.err
26643 rm -f conftest.er1
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } && {
26647 test -z "$ac_c_werror_flag" ||
26648 test ! -s conftest.err
26649 } && test -s conftest.$ac_objext; then
26650 ac_lo=0 ac_mid=0
26651 while :; do
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658
26659 #undef HAVE_BOOLEAN
26660 #include <stdio.h>
26661 #include <jpeglib.h>
26662
26663
26664 typedef boolean ac__type_sizeof_;
26665 int
26666 main ()
26667 {
26668 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26669 test_array [0] = 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_c_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26692 ac_hi=$ac_mid; break
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 ac_lo=`expr $ac_mid + 1`
26698 if test $ac_lo -le $ac_mid; then
26699 ac_lo= ac_hi=
26700 break
26701 fi
26702 ac_mid=`expr 2 '*' $ac_mid + 1`
26703 fi
26704
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 done
26707 else
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.$ac_ext >&5
26710
26711 cat >conftest.$ac_ext <<_ACEOF
26712 /* confdefs.h. */
26713 _ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717
26718 #undef HAVE_BOOLEAN
26719 #include <stdio.h>
26720 #include <jpeglib.h>
26721
26722
26723 typedef boolean ac__type_sizeof_;
26724 int
26725 main ()
26726 {
26727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26728 test_array [0] = 0
26729
26730 ;
26731 return 0;
26732 }
26733 _ACEOF
26734 rm -f conftest.$ac_objext
26735 if { (ac_try="$ac_compile"
26736 case "(($ac_try" in
26737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738 *) ac_try_echo=$ac_try;;
26739 esac
26740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741 (eval "$ac_compile") 2>conftest.er1
26742 ac_status=$?
26743 grep -v '^ *+' conftest.er1 >conftest.err
26744 rm -f conftest.er1
26745 cat conftest.err >&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && {
26748 test -z "$ac_c_werror_flag" ||
26749 test ! -s conftest.err
26750 } && test -s conftest.$ac_objext; then
26751 ac_hi=-1 ac_mid=-1
26752 while :; do
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759
26760 #undef HAVE_BOOLEAN
26761 #include <stdio.h>
26762 #include <jpeglib.h>
26763
26764
26765 typedef boolean ac__type_sizeof_;
26766 int
26767 main ()
26768 {
26769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26770 test_array [0] = 0
26771
26772 ;
26773 return 0;
26774 }
26775 _ACEOF
26776 rm -f conftest.$ac_objext
26777 if { (ac_try="$ac_compile"
26778 case "(($ac_try" in
26779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26780 *) ac_try_echo=$ac_try;;
26781 esac
26782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26783 (eval "$ac_compile") 2>conftest.er1
26784 ac_status=$?
26785 grep -v '^ *+' conftest.er1 >conftest.err
26786 rm -f conftest.er1
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } && {
26790 test -z "$ac_c_werror_flag" ||
26791 test ! -s conftest.err
26792 } && test -s conftest.$ac_objext; then
26793 ac_lo=$ac_mid; break
26794 else
26795 echo "$as_me: failed program was:" >&5
26796 sed 's/^/| /' conftest.$ac_ext >&5
26797
26798 ac_hi=`expr '(' $ac_mid ')' - 1`
26799 if test $ac_mid -le $ac_hi; then
26800 ac_lo= ac_hi=
26801 break
26802 fi
26803 ac_mid=`expr 2 '*' $ac_mid`
26804 fi
26805
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 done
26808 else
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26811
26812 ac_lo= ac_hi=
26813 fi
26814
26815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26816 fi
26817
26818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26819 # Binary search between lo and hi bounds.
26820 while test "x$ac_lo" != "x$ac_hi"; do
26821 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26822 cat >conftest.$ac_ext <<_ACEOF
26823 /* confdefs.h. */
26824 _ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828
26829 #undef HAVE_BOOLEAN
26830 #include <stdio.h>
26831 #include <jpeglib.h>
26832
26833
26834 typedef boolean ac__type_sizeof_;
26835 int
26836 main ()
26837 {
26838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26839 test_array [0] = 0
26840
26841 ;
26842 return 0;
26843 }
26844 _ACEOF
26845 rm -f conftest.$ac_objext
26846 if { (ac_try="$ac_compile"
26847 case "(($ac_try" in
26848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26849 *) ac_try_echo=$ac_try;;
26850 esac
26851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26852 (eval "$ac_compile") 2>conftest.er1
26853 ac_status=$?
26854 grep -v '^ *+' conftest.er1 >conftest.err
26855 rm -f conftest.er1
26856 cat conftest.err >&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } && {
26859 test -z "$ac_c_werror_flag" ||
26860 test ! -s conftest.err
26861 } && test -s conftest.$ac_objext; then
26862 ac_hi=$ac_mid
26863 else
26864 echo "$as_me: failed program was:" >&5
26865 sed 's/^/| /' conftest.$ac_ext >&5
26866
26867 ac_lo=`expr '(' $ac_mid ')' + 1`
26868 fi
26869
26870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26871 done
26872 case $ac_lo in
26873 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26874 '') if test "$ac_cv_type_boolean" = yes; then
26875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26876 See \`config.log' for more details." >&5
26877 echo "$as_me: error: cannot compute sizeof (boolean)
26878 See \`config.log' for more details." >&2;}
26879 { (exit 77); exit 77; }; }
26880 else
26881 ac_cv_sizeof_boolean=0
26882 fi ;;
26883 esac
26884 else
26885 cat >conftest.$ac_ext <<_ACEOF
26886 /* confdefs.h. */
26887 _ACEOF
26888 cat confdefs.h >>conftest.$ac_ext
26889 cat >>conftest.$ac_ext <<_ACEOF
26890 /* end confdefs.h. */
26891
26892 #undef HAVE_BOOLEAN
26893 #include <stdio.h>
26894 #include <jpeglib.h>
26895
26896
26897 typedef boolean ac__type_sizeof_;
26898 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26899 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26900 #include <stdio.h>
26901 #include <stdlib.h>
26902 int
26903 main ()
26904 {
26905
26906 FILE *f = fopen ("conftest.val", "w");
26907 if (! f)
26908 return 1;
26909 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26910 {
26911 long int i = longval ();
26912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26913 return 1;
26914 fprintf (f, "%ld\n", i);
26915 }
26916 else
26917 {
26918 unsigned long int i = ulongval ();
26919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26920 return 1;
26921 fprintf (f, "%lu\n", i);
26922 }
26923 return ferror (f) || fclose (f) != 0;
26924
26925 ;
26926 return 0;
26927 }
26928 _ACEOF
26929 rm -f conftest$ac_exeext
26930 if { (ac_try="$ac_link"
26931 case "(($ac_try" in
26932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26933 *) ac_try_echo=$ac_try;;
26934 esac
26935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26936 (eval "$ac_link") 2>&5
26937 ac_status=$?
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26940 { (case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26943 esac
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_try") 2>&5
26946 ac_status=$?
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); }; }; then
26949 ac_cv_sizeof_boolean=`cat conftest.val`
26950 else
26951 echo "$as_me: program exited with status $ac_status" >&5
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26954
26955 ( exit $ac_status )
26956 if test "$ac_cv_type_boolean" = yes; then
26957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26958 See \`config.log' for more details." >&5
26959 echo "$as_me: error: cannot compute sizeof (boolean)
26960 See \`config.log' for more details." >&2;}
26961 { (exit 77); exit 77; }; }
26962 else
26963 ac_cv_sizeof_boolean=0
26964 fi
26965 fi
26966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26967 fi
26968 rm -f conftest.val
26969 fi
26970 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26971 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26972
26973
26974
26975 cat >>confdefs.h <<_ACEOF
26976 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26977 _ACEOF
26978
26979
26980 cat >>confdefs.h <<_ACEOF
26981 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26982 _ACEOF
26983
26984
26985 fi
26986
26987 fi
26988 fi
26989 fi
26990 fi
26991 fi
26992
26993
26994 TIFF_LINK=
26995 TIFF_PREREQ_LINKS=-lm
26996 if test "$wxUSE_LIBTIFF" != "no" ; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define wxUSE_LIBTIFF 1
26999 _ACEOF
27000
27001
27002 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27003 if test "$wxUSE_LIBJPEG" = "sys"; then
27004 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27005 fi
27006 if test "$wxUSE_ZLIB" = "sys"; then
27007 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27008 fi
27009 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27010 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27011 if test "${ac_cv_header_tiffio_h+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020
27021
27022
27023 #include <tiffio.h>
27024 _ACEOF
27025 rm -f conftest.$ac_objext
27026 if { (ac_try="$ac_compile"
27027 case "(($ac_try" in
27028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27029 *) ac_try_echo=$ac_try;;
27030 esac
27031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27032 (eval "$ac_compile") 2>conftest.er1
27033 ac_status=$?
27034 grep -v '^ *+' conftest.er1 >conftest.err
27035 rm -f conftest.er1
27036 cat conftest.err >&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } && {
27039 test -z "$ac_c_werror_flag" ||
27040 test ! -s conftest.err
27041 } && test -s conftest.$ac_objext; then
27042 ac_cv_header_tiffio_h=yes
27043 else
27044 echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.$ac_ext >&5
27046
27047 ac_cv_header_tiffio_h=no
27048 fi
27049
27050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27051 fi
27052 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27053 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27054 if test $ac_cv_header_tiffio_h = yes; then
27055
27056 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27057 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27058 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 else
27061 ac_check_lib_save_LIBS=$LIBS
27062 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27063 cat >conftest.$ac_ext <<_ACEOF
27064 /* confdefs.h. */
27065 _ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069
27070 /* Override any GCC internal prototype to avoid an error.
27071 Use char because int might match the return type of a GCC
27072 builtin and then its argument prototype would still apply. */
27073 #ifdef __cplusplus
27074 extern "C"
27075 #endif
27076 char TIFFError ();
27077 int
27078 main ()
27079 {
27080 return TIFFError ();
27081 ;
27082 return 0;
27083 }
27084 _ACEOF
27085 rm -f conftest.$ac_objext conftest$ac_exeext
27086 if { (ac_try="$ac_link"
27087 case "(($ac_try" in
27088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27089 *) ac_try_echo=$ac_try;;
27090 esac
27091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27092 (eval "$ac_link") 2>conftest.er1
27093 ac_status=$?
27094 grep -v '^ *+' conftest.er1 >conftest.err
27095 rm -f conftest.er1
27096 cat conftest.err >&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } && {
27099 test -z "$ac_c_werror_flag" ||
27100 test ! -s conftest.err
27101 } && test -s conftest$ac_exeext &&
27102 $as_test_x conftest$ac_exeext; then
27103 ac_cv_lib_tiff_TIFFError=yes
27104 else
27105 echo "$as_me: failed program was:" >&5
27106 sed 's/^/| /' conftest.$ac_ext >&5
27107
27108 ac_cv_lib_tiff_TIFFError=no
27109 fi
27110
27111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27112 conftest$ac_exeext conftest.$ac_ext
27113 LIBS=$ac_check_lib_save_LIBS
27114 fi
27115 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27116 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27117 if test $ac_cv_lib_tiff_TIFFError = yes; then
27118 TIFF_LINK=" -ltiff"
27119 fi
27120
27121
27122 fi
27123
27124
27125
27126 if test "x$TIFF_LINK" = "x" ; then
27127 if test "$wxUSE_LIBTIFF" = "sys" ; then
27128 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27129 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27130 { (exit 1); exit 1; }; }
27131 else
27132 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27133 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27134 wxUSE_LIBTIFF=builtin
27135 fi
27136 else
27137 wxUSE_LIBTIFF=sys
27138 fi
27139 fi
27140 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27141 if test "$wxUSE_LIBJPEG" = "no"; then
27142 ac_configure_args="$ac_configure_args --disable-jpeg"
27143 fi
27144 subdirs="$subdirs src/tiff"
27145
27146 fi
27147 fi
27148
27149
27150 if test "$wxUSE_WCHAR_T" != "yes"; then
27151 if test "$wxUSE_EXPAT" != "no"; then
27152 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27153 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27154 wxUSE_EXPAT=no
27155 fi
27156 if test "$wxUSE_XML" != "no"; then
27157 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27158 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27159 wxUSE_XML=no
27160 fi
27161 fi
27162
27163 if test "$wxUSE_EXPAT" != "no"; then
27164 wxUSE_XML=yes
27165 cat >>confdefs.h <<\_ACEOF
27166 #define wxUSE_EXPAT 1
27167 _ACEOF
27168
27169 cat >>confdefs.h <<\_ACEOF
27170 #define wxUSE_XML 1
27171 _ACEOF
27172
27173
27174 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27175 { echo "$as_me:$LINENO: checking for expat.h" >&5
27176 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27177 if test "${ac_cv_header_expat_h+set}" = set; then
27178 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 else
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186
27187
27188 #include <expat.h>
27189 _ACEOF
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27195 esac
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } && {
27204 test -z "$ac_c_werror_flag" ||
27205 test ! -s conftest.err
27206 } && test -s conftest.$ac_objext; then
27207 ac_cv_header_expat_h=yes
27208 else
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212 ac_cv_header_expat_h=no
27213 fi
27214
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 fi
27217 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27218 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27219 if test $ac_cv_header_expat_h = yes; then
27220 found_expat_h=1
27221 fi
27222
27223
27224 if test "x$found_expat_h" = "x1"; then
27225 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27226 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27227 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230
27231 ac_ext=cpp
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27236
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27243 #include <expat.h>
27244 int
27245 main ()
27246 {
27247
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27257 esac
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 wx_cv_expat_is_not_broken=yes
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 wx_cv_expat_is_not_broken=no
27275
27276 fi
27277
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279 ac_ext=c
27280 ac_cpp='$CPP $CPPFLAGS'
27281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27284
27285
27286
27287 fi
27288 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27289 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27290 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27291 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27292 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27293 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27294 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296 ac_check_lib_save_LIBS=$LIBS
27297 LIBS="-lexpat $LIBS"
27298 cat >conftest.$ac_ext <<_ACEOF
27299 /* confdefs.h. */
27300 _ACEOF
27301 cat confdefs.h >>conftest.$ac_ext
27302 cat >>conftest.$ac_ext <<_ACEOF
27303 /* end confdefs.h. */
27304
27305 /* Override any GCC internal prototype to avoid an error.
27306 Use char because int might match the return type of a GCC
27307 builtin and then its argument prototype would still apply. */
27308 #ifdef __cplusplus
27309 extern "C"
27310 #endif
27311 char XML_ParserCreate ();
27312 int
27313 main ()
27314 {
27315 return XML_ParserCreate ();
27316 ;
27317 return 0;
27318 }
27319 _ACEOF
27320 rm -f conftest.$ac_objext conftest$ac_exeext
27321 if { (ac_try="$ac_link"
27322 case "(($ac_try" in
27323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27324 *) ac_try_echo=$ac_try;;
27325 esac
27326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27327 (eval "$ac_link") 2>conftest.er1
27328 ac_status=$?
27329 grep -v '^ *+' conftest.er1 >conftest.err
27330 rm -f conftest.er1
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } && {
27334 test -z "$ac_c_werror_flag" ||
27335 test ! -s conftest.err
27336 } && test -s conftest$ac_exeext &&
27337 $as_test_x conftest$ac_exeext; then
27338 ac_cv_lib_expat_XML_ParserCreate=yes
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 ac_cv_lib_expat_XML_ParserCreate=no
27344 fi
27345
27346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27347 conftest$ac_exeext conftest.$ac_ext
27348 LIBS=$ac_check_lib_save_LIBS
27349 fi
27350 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27351 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27352 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27353 EXPAT_LINK=" -lexpat"
27354 fi
27355
27356 fi
27357 fi
27358 if test "x$EXPAT_LINK" = "x" ; then
27359 if test "$wxUSE_EXPAT" = "sys" ; then
27360 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27361 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27362 { (exit 1); exit 1; }; }
27363 else
27364 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27365 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27366 wxUSE_EXPAT=builtin
27367 fi
27368 else
27369 wxUSE_EXPAT=sys
27370 fi
27371 fi
27372 if test "$wxUSE_EXPAT" = "builtin" ; then
27373 subdirs="$subdirs src/expat"
27374
27375 fi
27376 fi
27377
27378
27379
27380 if test "$wxUSE_LIBMSPACK" != "no"; then
27381 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27382 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27383 if test "${ac_cv_header_mspack_h+set}" = set; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393
27394 #include <mspack.h>
27395 _ACEOF
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27400 *) ac_try_echo=$ac_try;;
27401 esac
27402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27404 ac_status=$?
27405 grep -v '^ *+' conftest.er1 >conftest.err
27406 rm -f conftest.er1
27407 cat conftest.err >&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.$ac_objext; then
27413 ac_cv_header_mspack_h=yes
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 ac_cv_header_mspack_h=no
27419 fi
27420
27421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27422 fi
27423 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27424 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27425 if test $ac_cv_header_mspack_h = yes; then
27426 found_mspack_h=1
27427 fi
27428
27429
27430 if test "x$found_mspack_h" = "x1"; then
27431 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27432 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27433 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 else
27436 ac_check_lib_save_LIBS=$LIBS
27437 LIBS="-lmspack $LIBS"
27438 cat >conftest.$ac_ext <<_ACEOF
27439 /* confdefs.h. */
27440 _ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27444
27445 /* Override any GCC internal prototype to avoid an error.
27446 Use char because int might match the return type of a GCC
27447 builtin and then its argument prototype would still apply. */
27448 #ifdef __cplusplus
27449 extern "C"
27450 #endif
27451 char mspack_create_chm_decompressor ();
27452 int
27453 main ()
27454 {
27455 return mspack_create_chm_decompressor ();
27456 ;
27457 return 0;
27458 }
27459 _ACEOF
27460 rm -f conftest.$ac_objext conftest$ac_exeext
27461 if { (ac_try="$ac_link"
27462 case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27464 *) ac_try_echo=$ac_try;;
27465 esac
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_link") 2>conftest.er1
27468 ac_status=$?
27469 grep -v '^ *+' conftest.er1 >conftest.err
27470 rm -f conftest.er1
27471 cat conftest.err >&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } && {
27474 test -z "$ac_c_werror_flag" ||
27475 test ! -s conftest.err
27476 } && test -s conftest$ac_exeext &&
27477 $as_test_x conftest$ac_exeext; then
27478 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27479 else
27480 echo "$as_me: failed program was:" >&5
27481 sed 's/^/| /' conftest.$ac_ext >&5
27482
27483 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27484 fi
27485
27486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27487 conftest$ac_exeext conftest.$ac_ext
27488 LIBS=$ac_check_lib_save_LIBS
27489 fi
27490 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27491 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27492 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27493 MSPACK_LINK=" -lmspack"
27494 fi
27495
27496 fi
27497 if test "x$MSPACK_LINK" = "x" ; then
27498 wxUSE_LIBMSPACK=no
27499 fi
27500 fi
27501
27502 if test "$wxUSE_LIBMSPACK" != "no"; then
27503 cat >>confdefs.h <<\_ACEOF
27504 #define wxUSE_LIBMSPACK 1
27505 _ACEOF
27506
27507 fi
27508
27509
27510
27511 AFMINSTALL=
27512 WIN32INSTALL=
27513
27514 TOOLKIT=
27515 TOOLKIT_INCLUDE=
27516 WIDGET_SET=
27517
27518 if test "$USE_WIN32" = 1 ; then
27519
27520 for ac_header in w32api.h
27521 do
27522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27527 else
27528 cat >conftest.$ac_ext <<_ACEOF
27529 /* confdefs.h. */
27530 _ACEOF
27531 cat confdefs.h >>conftest.$ac_ext
27532 cat >>conftest.$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27534
27535
27536 #include <$ac_header>
27537 _ACEOF
27538 rm -f conftest.$ac_objext
27539 if { (ac_try="$ac_compile"
27540 case "(($ac_try" in
27541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27543 esac
27544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_compile") 2>conftest.er1
27546 ac_status=$?
27547 grep -v '^ *+' conftest.er1 >conftest.err
27548 rm -f conftest.er1
27549 cat conftest.err >&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); } && {
27552 test -z "$ac_c_werror_flag" ||
27553 test ! -s conftest.err
27554 } && test -s conftest.$ac_objext; then
27555 eval "$as_ac_Header=yes"
27556 else
27557 echo "$as_me: failed program was:" >&5
27558 sed 's/^/| /' conftest.$ac_ext >&5
27559
27560 eval "$as_ac_Header=no"
27561 fi
27562
27563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27564 fi
27565 ac_res=`eval echo '${'$as_ac_Header'}'`
27566 { echo "$as_me:$LINENO: result: $ac_res" >&5
27567 echo "${ECHO_T}$ac_res" >&6; }
27568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27569 cat >>confdefs.h <<_ACEOF
27570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27571 _ACEOF
27572
27573 fi
27574
27575 done
27576
27577 { echo "$as_me:$LINENO: checking for windows.h" >&5
27578 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27579 if test "${ac_cv_header_windows_h+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588
27589
27590 #include <windows.h>
27591 _ACEOF
27592 rm -f conftest.$ac_objext
27593 if { (ac_try="$ac_compile"
27594 case "(($ac_try" in
27595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27596 *) ac_try_echo=$ac_try;;
27597 esac
27598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27599 (eval "$ac_compile") 2>conftest.er1
27600 ac_status=$?
27601 grep -v '^ *+' conftest.er1 >conftest.err
27602 rm -f conftest.er1
27603 cat conftest.err >&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); } && {
27606 test -z "$ac_c_werror_flag" ||
27607 test ! -s conftest.err
27608 } && test -s conftest.$ac_objext; then
27609 ac_cv_header_windows_h=yes
27610 else
27611 echo "$as_me: failed program was:" >&5
27612 sed 's/^/| /' conftest.$ac_ext >&5
27613
27614 ac_cv_header_windows_h=no
27615 fi
27616
27617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618 fi
27619 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27620 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27621 if test $ac_cv_header_windows_h = yes; then
27622 :
27623 else
27624
27625 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27626 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27627 { (exit 1); exit 1; }; }
27628
27629 fi
27630
27631
27632
27633 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27634
27635 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27636 LIBS="$LIBS -loleacc"
27637 fi
27638
27639 case "${host}" in
27640 *-*-cygwin* )
27641 LIBS="$LIBS -lkernel32 -luser32"
27642 esac
27643
27644 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27645 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27646
27647 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27648
27649 WIN32INSTALL=win32install
27650
27651 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27652 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27653 if test "${ac_cv_header_pbt_h+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 else
27656 cat >conftest.$ac_ext <<_ACEOF
27657 /* confdefs.h. */
27658 _ACEOF
27659 cat confdefs.h >>conftest.$ac_ext
27660 cat >>conftest.$ac_ext <<_ACEOF
27661 /* end confdefs.h. */
27662
27663
27664 #include <pbt.h>
27665 _ACEOF
27666 rm -f conftest.$ac_objext
27667 if { (ac_try="$ac_compile"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27671 esac
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_compile") 2>conftest.er1
27674 ac_status=$?
27675 grep -v '^ *+' conftest.er1 >conftest.err
27676 rm -f conftest.er1
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest.$ac_objext; then
27683 ac_cv_header_pbt_h=yes
27684 else
27685 echo "$as_me: failed program was:" >&5
27686 sed 's/^/| /' conftest.$ac_ext >&5
27687
27688 ac_cv_header_pbt_h=no
27689 fi
27690
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692 fi
27693 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27694 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27695 if test $ac_cv_header_pbt_h = yes; then
27696 :
27697 else
27698 cat >>confdefs.h <<\_ACEOF
27699 #define NEED_PBT_H 1
27700 _ACEOF
27701
27702 fi
27703
27704
27705 fi
27706
27707 if test "$wxUSE_GUI" = "yes"; then
27708 USE_GUI=1
27709
27710 GUI_TK_LIBRARY=
27711
27712 WXGTK12=
27713 WXGTK127=
27714 WXGTK2=
27715 WXGPE=
27716
27717 if test "$wxUSE_COCOA" = 1 ; then
27718 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27719 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27720 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27721 wxUSE_PRINTING_ARCHITECTURE=no
27722 fi
27723 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27724 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27725 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27726 wxUSE_DRAG_AND_DROP=no
27727 fi
27728 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27729 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27730 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27731 wxUSE_DRAGIMAGE=no
27732 fi
27733 fi
27734
27735 if test "$wxUSE_MSW" = 1 ; then
27736 TOOLKIT=MSW
27737 GUIDIST=MSW_DIST
27738
27739 case "${host}" in
27740 *-*-mingw32* )
27741 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27742 esac
27743 fi
27744
27745 if test "$wxUSE_GTK" = 1; then
27746 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27747 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27748
27749 gtk_version_cached=1
27750 if test "${wx_cv_lib_gtk+set}" = set; then
27751 echo $ECHO_N "(cached) $ECHO_C" >&6
27752 else
27753
27754 gtk_version_cached=0
27755 { echo "$as_me:$LINENO: result: " >&5
27756 echo "${ECHO_T}" >&6; }
27757
27758 GTK_MODULES=
27759 if test "$wxUSE_THREADS" = "yes"; then
27760 GTK_MODULES=gthread
27761 fi
27762
27763 wx_cv_lib_gtk=
27764 if test "x$wxGTK_VERSION" != "x1"
27765 then
27766 case "${host}" in
27767 *-*-solaris2* )
27768 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27769 enable_gtktest=no
27770 fi
27771 esac
27772
27773 # Check whether --enable-gtktest was given.
27774 if test "${enable_gtktest+set}" = set; then
27775 enableval=$enable_gtktest;
27776 else
27777 enable_gtktest=yes
27778 fi
27779
27780
27781 pkg_config_args=gtk+-2.0
27782 for module in . $GTK_MODULES
27783 do
27784 case "$module" in
27785 gthread)
27786 pkg_config_args="$pkg_config_args gthread-2.0"
27787 ;;
27788 esac
27789 done
27790
27791 no_gtk=""
27792
27793 # Extract the first word of "pkg-config", so it can be a program name with args.
27794 set dummy pkg-config; ac_word=$2
27795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 else
27800 case $PKG_CONFIG in
27801 [\\/]* | ?:[\\/]*)
27802 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27803 ;;
27804 *)
27805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27806 for as_dir in $PATH
27807 do
27808 IFS=$as_save_IFS
27809 test -z "$as_dir" && as_dir=.
27810 for ac_exec_ext in '' $ac_executable_extensions; do
27811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27812 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27814 break 2
27815 fi
27816 done
27817 done
27818 IFS=$as_save_IFS
27819
27820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27821 ;;
27822 esac
27823 fi
27824 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27825 if test -n "$PKG_CONFIG"; then
27826 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27827 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27828 else
27829 { echo "$as_me:$LINENO: result: no" >&5
27830 echo "${ECHO_T}no" >&6; }
27831 fi
27832
27833
27834
27835 if test x$PKG_CONFIG != xno ; then
27836 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27837 :
27838 else
27839 echo "*** pkg-config too old; version 0.7 or better required."
27840 no_gtk=yes
27841 PKG_CONFIG=no
27842 fi
27843 else
27844 no_gtk=yes
27845 fi
27846
27847 min_gtk_version=2.4.0
27848 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27849 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27850
27851 if test x$PKG_CONFIG != xno ; then
27852 ## don't try to run the test against uninstalled libtool libs
27853 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27854 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27855 enable_gtktest=no
27856 fi
27857
27858 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27859 :
27860 else
27861 no_gtk=yes
27862 fi
27863 fi
27864
27865 if test x"$no_gtk" = x ; then
27866 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27867 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27868 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27870 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27872 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27874 if test "x$enable_gtktest" = "xyes" ; then
27875 ac_save_CFLAGS="$CFLAGS"
27876 ac_save_LIBS="$LIBS"
27877 CFLAGS="$CFLAGS $GTK_CFLAGS"
27878 LIBS="$GTK_LIBS $LIBS"
27879 rm -f conf.gtktest
27880 if test "$cross_compiling" = yes; then
27881 echo $ac_n "cross compiling; assumed OK... $ac_c"
27882 else
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889
27890 #include <gtk/gtk.h>
27891 #include <stdio.h>
27892 #include <stdlib.h>
27893
27894 int
27895 main ()
27896 {
27897 int major, minor, micro;
27898 char *tmp_version;
27899
27900 system ("touch conf.gtktest");
27901
27902 /* HP/UX 9 (%@#!) writes to sscanf strings */
27903 tmp_version = g_strdup("$min_gtk_version");
27904 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27905 printf("%s, bad version string\n", "$min_gtk_version");
27906 exit(1);
27907 }
27908
27909 if ((gtk_major_version != $gtk_config_major_version) ||
27910 (gtk_minor_version != $gtk_config_minor_version) ||
27911 (gtk_micro_version != $gtk_config_micro_version))
27912 {
27913 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27914 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27915 gtk_major_version, gtk_minor_version, gtk_micro_version);
27916 printf ("*** was found! If pkg-config was correct, then it is best\n");
27917 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27918 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27919 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27920 printf("*** required on your system.\n");
27921 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27922 printf("*** to point to the correct configuration files\n");
27923 }
27924 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27925 (gtk_minor_version != GTK_MINOR_VERSION) ||
27926 (gtk_micro_version != GTK_MICRO_VERSION))
27927 {
27928 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27929 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27930 printf("*** library (version %d.%d.%d)\n",
27931 gtk_major_version, gtk_minor_version, gtk_micro_version);
27932 }
27933 else
27934 {
27935 if ((gtk_major_version > major) ||
27936 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27937 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27938 {
27939 return 0;
27940 }
27941 else
27942 {
27943 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27944 gtk_major_version, gtk_minor_version, gtk_micro_version);
27945 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27946 major, minor, micro);
27947 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27948 printf("***\n");
27949 printf("*** If you have already installed a sufficiently new version, this error\n");
27950 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27951 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27952 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27953 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27954 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27955 printf("*** so that the correct libraries are found at run-time))\n");
27956 }
27957 }
27958 return 1;
27959 }
27960
27961 _ACEOF
27962 rm -f conftest$ac_exeext
27963 if { (ac_try="$ac_link"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27967 esac
27968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_link") 2>&5
27970 ac_status=$?
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27973 { (case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27976 esac
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_try") 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; }; then
27982 :
27983 else
27984 echo "$as_me: program exited with status $ac_status" >&5
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27987
27988 ( exit $ac_status )
27989 no_gtk=yes
27990 fi
27991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27992 fi
27993
27994
27995 CFLAGS="$ac_save_CFLAGS"
27996 LIBS="$ac_save_LIBS"
27997 fi
27998 fi
27999 if test "x$no_gtk" = x ; then
28000 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28001 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28002 wx_cv_lib_gtk=2.0
28003 else
28004 { echo "$as_me:$LINENO: result: no" >&5
28005 echo "${ECHO_T}no" >&6; }
28006 if test "$PKG_CONFIG" = "no" ; then
28007 echo "*** A new enough version of pkg-config was not found."
28008 echo "*** See http://pkgconfig.sourceforge.net"
28009 else
28010 if test -f conf.gtktest ; then
28011 :
28012 else
28013 echo "*** Could not run GTK+ test program, checking why..."
28014 ac_save_CFLAGS="$CFLAGS"
28015 ac_save_LIBS="$LIBS"
28016 CFLAGS="$CFLAGS $GTK_CFLAGS"
28017 LIBS="$LIBS $GTK_LIBS"
28018 cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h. */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024
28025 #include <gtk/gtk.h>
28026 #include <stdio.h>
28027
28028 int
28029 main ()
28030 {
28031 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28032 ;
28033 return 0;
28034 }
28035 _ACEOF
28036 rm -f conftest.$ac_objext conftest$ac_exeext
28037 if { (ac_try="$ac_link"
28038 case "(($ac_try" in
28039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28040 *) ac_try_echo=$ac_try;;
28041 esac
28042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28043 (eval "$ac_link") 2>conftest.er1
28044 ac_status=$?
28045 grep -v '^ *+' conftest.er1 >conftest.err
28046 rm -f conftest.er1
28047 cat conftest.err >&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } && {
28050 test -z "$ac_c_werror_flag" ||
28051 test ! -s conftest.err
28052 } && test -s conftest$ac_exeext &&
28053 $as_test_x conftest$ac_exeext; then
28054 echo "*** The test program compiled, but did not run. This usually means"
28055 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28056 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28057 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28058 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28059 echo "*** is required on your system"
28060 echo "***"
28061 echo "*** If you have an old version installed, it is best to remove it, although"
28062 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28063 else
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28066
28067 echo "*** The test program failed to compile or link. See the file config.log for the"
28068 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28069 fi
28070
28071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28072 conftest$ac_exeext conftest.$ac_ext
28073 CFLAGS="$ac_save_CFLAGS"
28074 LIBS="$ac_save_LIBS"
28075 fi
28076 fi
28077 GTK_CFLAGS=""
28078 GTK_LIBS=""
28079 :
28080 fi
28081
28082
28083 rm -f conf.gtktest
28084
28085
28086 case "${host}" in
28087 *-*-solaris2* )
28088 if test "$wxUSE_SHARED" != "yes"; then
28089 GTK_LIBS="$GTK_LIBS -lX11"
28090 fi
28091 esac
28092 fi
28093
28094 if test -z "$wx_cv_lib_gtk"; then
28095 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28096
28097 # Check whether --with-gtk-prefix was given.
28098 if test "${with_gtk_prefix+set}" = set; then
28099 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28100 else
28101 gtk_config_prefix=""
28102 fi
28103
28104
28105 # Check whether --with-gtk-exec-prefix was given.
28106 if test "${with_gtk_exec_prefix+set}" = set; then
28107 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28108 else
28109 gtk_config_exec_prefix=""
28110 fi
28111
28112 # Check whether --enable-gtktest was given.
28113 if test "${enable_gtktest+set}" = set; then
28114 enableval=$enable_gtktest;
28115 else
28116 enable_gtktest=yes
28117 fi
28118
28119
28120 for module in . $GTK_MODULES
28121 do
28122 case "$module" in
28123 gthread)
28124 gtk_config_args="$gtk_config_args gthread"
28125 ;;
28126 esac
28127 done
28128
28129 if test x$gtk_config_exec_prefix != x ; then
28130 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28131 if test x${GTK_CONFIG+set} != xset ; then
28132 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28133 fi
28134 fi
28135 if test x$gtk_config_prefix != x ; then
28136 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28137 if test x${GTK_CONFIG+set} != xset ; then
28138 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28139 fi
28140 fi
28141
28142 # Extract the first word of "gtk-config", so it can be a program name with args.
28143 set dummy gtk-config; ac_word=$2
28144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28146 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 else
28149 case $GTK_CONFIG in
28150 [\\/]* | ?:[\\/]*)
28151 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28152 ;;
28153 *)
28154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28155 for as_dir in $PATH
28156 do
28157 IFS=$as_save_IFS
28158 test -z "$as_dir" && as_dir=.
28159 for ac_exec_ext in '' $ac_executable_extensions; do
28160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28161 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28163 break 2
28164 fi
28165 done
28166 done
28167 IFS=$as_save_IFS
28168
28169 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28170 ;;
28171 esac
28172 fi
28173 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28174 if test -n "$GTK_CONFIG"; then
28175 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28176 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28177 else
28178 { echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6; }
28180 fi
28181
28182
28183 min_gtk_version=1.2.7
28184 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28185 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28186 no_gtk=""
28187 if test "$GTK_CONFIG" = "no" ; then
28188 no_gtk=yes
28189 else
28190 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28191 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28192 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28194 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28196 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28198 if test "x$enable_gtktest" = "xyes" ; then
28199 ac_save_CFLAGS="$CFLAGS"
28200 ac_save_LIBS="$LIBS"
28201 CFLAGS="$CFLAGS $GTK_CFLAGS"
28202 LIBS="$GTK_LIBS $LIBS"
28203 rm -f conf.gtktest
28204 if test "$cross_compiling" = yes; then
28205 echo $ac_n "cross compiling; assumed OK... $ac_c"
28206 else
28207 cat >conftest.$ac_ext <<_ACEOF
28208 /* confdefs.h. */
28209 _ACEOF
28210 cat confdefs.h >>conftest.$ac_ext
28211 cat >>conftest.$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213
28214 #include <gtk/gtk.h>
28215 #include <stdio.h>
28216 #include <stdlib.h>
28217
28218 int
28219 main ()
28220 {
28221 int major, minor, micro;
28222 char *tmp_version;
28223
28224 system ("touch conf.gtktest");
28225
28226 /* HP/UX 9 (%@#!) writes to sscanf strings */
28227 tmp_version = g_strdup("$min_gtk_version");
28228 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28229 printf("%s, bad version string\n", "$min_gtk_version");
28230 exit(1);
28231 }
28232
28233 if ((gtk_major_version != $gtk_config_major_version) ||
28234 (gtk_minor_version != $gtk_config_minor_version) ||
28235 (gtk_micro_version != $gtk_config_micro_version))
28236 {
28237 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28238 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28239 gtk_major_version, gtk_minor_version, gtk_micro_version);
28240 printf ("*** was found! If gtk-config was correct, then it is best\n");
28241 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28242 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28243 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28244 printf("*** required on your system.\n");
28245 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28246 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28247 printf("*** before re-running configure\n");
28248 }
28249 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28251 (gtk_minor_version != GTK_MINOR_VERSION) ||
28252 (gtk_micro_version != GTK_MICRO_VERSION))
28253 {
28254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28256 printf("*** library (version %d.%d.%d)\n",
28257 gtk_major_version, gtk_minor_version, gtk_micro_version);
28258 }
28259 #endif /* defined (GTK_MAJOR_VERSION) ... */
28260 else
28261 {
28262 if ((gtk_major_version > major) ||
28263 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28264 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28265 {
28266 return 0;
28267 }
28268 else
28269 {
28270 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28273 major, minor, micro);
28274 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28275 printf("***\n");
28276 printf("*** If you have already installed a sufficiently new version, this error\n");
28277 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28278 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28279 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28280 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28281 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28282 printf("*** so that the correct libraries are found at run-time))\n");
28283 }
28284 }
28285 return 1;
28286 }
28287
28288 _ACEOF
28289 rm -f conftest$ac_exeext
28290 if { (ac_try="$ac_link"
28291 case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28294 esac
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_link") 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28300 { (case "(($ac_try" in
28301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28302 *) ac_try_echo=$ac_try;;
28303 esac
28304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28305 (eval "$ac_try") 2>&5
28306 ac_status=$?
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; }; then
28309 :
28310 else
28311 echo "$as_me: program exited with status $ac_status" >&5
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.$ac_ext >&5
28314
28315 ( exit $ac_status )
28316 no_gtk=yes
28317 fi
28318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28319 fi
28320
28321
28322 CFLAGS="$ac_save_CFLAGS"
28323 LIBS="$ac_save_LIBS"
28324 fi
28325 fi
28326 if test "x$no_gtk" = x ; then
28327 { echo "$as_me:$LINENO: result: yes" >&5
28328 echo "${ECHO_T}yes" >&6; }
28329 wx_cv_lib_gtk=1.2.7
28330 else
28331 { echo "$as_me:$LINENO: result: no" >&5
28332 echo "${ECHO_T}no" >&6; }
28333 if test "$GTK_CONFIG" = "no" ; then
28334 echo "*** The gtk-config script installed by GTK could not be found"
28335 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28336 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28337 echo "*** full path to gtk-config."
28338 else
28339 if test -f conf.gtktest ; then
28340 :
28341 else
28342 echo "*** Could not run GTK test program, checking why..."
28343 CFLAGS="$CFLAGS $GTK_CFLAGS"
28344 LIBS="$LIBS $GTK_LIBS"
28345 cat >conftest.$ac_ext <<_ACEOF
28346 /* confdefs.h. */
28347 _ACEOF
28348 cat confdefs.h >>conftest.$ac_ext
28349 cat >>conftest.$ac_ext <<_ACEOF
28350 /* end confdefs.h. */
28351
28352 #include <gtk/gtk.h>
28353 #include <stdio.h>
28354
28355 int
28356 main ()
28357 {
28358 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28359 ;
28360 return 0;
28361 }
28362 _ACEOF
28363 rm -f conftest.$ac_objext conftest$ac_exeext
28364 if { (ac_try="$ac_link"
28365 case "(($ac_try" in
28366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28367 *) ac_try_echo=$ac_try;;
28368 esac
28369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28370 (eval "$ac_link") 2>conftest.er1
28371 ac_status=$?
28372 grep -v '^ *+' conftest.er1 >conftest.err
28373 rm -f conftest.er1
28374 cat conftest.err >&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } && {
28377 test -z "$ac_c_werror_flag" ||
28378 test ! -s conftest.err
28379 } && test -s conftest$ac_exeext &&
28380 $as_test_x conftest$ac_exeext; then
28381 echo "*** The test program compiled, but did not run. This usually means"
28382 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28383 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28384 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28385 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28386 echo "*** is required on your system"
28387 echo "***"
28388 echo "*** If you have an old version installed, it is best to remove it, although"
28389 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28390 echo "***"
28391 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28392 echo "*** came with the system with the command"
28393 echo "***"
28394 echo "*** rpm --erase --nodeps gtk gtk-devel"
28395 else
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 echo "*** The test program failed to compile or link. See the file config.log for the"
28400 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28401 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28402 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28403 fi
28404
28405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28406 conftest$ac_exeext conftest.$ac_ext
28407 CFLAGS="$ac_save_CFLAGS"
28408 LIBS="$ac_save_LIBS"
28409 fi
28410 fi
28411 GTK_CFLAGS=""
28412 GTK_LIBS=""
28413 :
28414 fi
28415
28416
28417 rm -f conf.gtktest
28418
28419
28420 if test -z "$wx_cv_lib_gtk"; then
28421
28422 # Check whether --with-gtk-prefix was given.
28423 if test "${with_gtk_prefix+set}" = set; then
28424 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28425 else
28426 gtk_config_prefix=""
28427 fi
28428
28429
28430 # Check whether --with-gtk-exec-prefix was given.
28431 if test "${with_gtk_exec_prefix+set}" = set; then
28432 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28433 else
28434 gtk_config_exec_prefix=""
28435 fi
28436
28437 # Check whether --enable-gtktest was given.
28438 if test "${enable_gtktest+set}" = set; then
28439 enableval=$enable_gtktest;
28440 else
28441 enable_gtktest=yes
28442 fi
28443
28444
28445 for module in . $GTK_MODULES
28446 do
28447 case "$module" in
28448 gthread)
28449 gtk_config_args="$gtk_config_args gthread"
28450 ;;
28451 esac
28452 done
28453
28454 if test x$gtk_config_exec_prefix != x ; then
28455 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28456 if test x${GTK_CONFIG+set} != xset ; then
28457 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28458 fi
28459 fi
28460 if test x$gtk_config_prefix != x ; then
28461 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28462 if test x${GTK_CONFIG+set} != xset ; then
28463 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28464 fi
28465 fi
28466
28467 # Extract the first word of "gtk-config", so it can be a program name with args.
28468 set dummy gtk-config; ac_word=$2
28469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28471 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 else
28474 case $GTK_CONFIG in
28475 [\\/]* | ?:[\\/]*)
28476 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28477 ;;
28478 *)
28479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28480 for as_dir in $PATH
28481 do
28482 IFS=$as_save_IFS
28483 test -z "$as_dir" && as_dir=.
28484 for ac_exec_ext in '' $ac_executable_extensions; do
28485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28486 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28488 break 2
28489 fi
28490 done
28491 done
28492 IFS=$as_save_IFS
28493
28494 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28495 ;;
28496 esac
28497 fi
28498 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28499 if test -n "$GTK_CONFIG"; then
28500 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28501 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28502 else
28503 { echo "$as_me:$LINENO: result: no" >&5
28504 echo "${ECHO_T}no" >&6; }
28505 fi
28506
28507
28508 min_gtk_version=1.2.3
28509 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28510 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28511 no_gtk=""
28512 if test "$GTK_CONFIG" = "no" ; then
28513 no_gtk=yes
28514 else
28515 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28516 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28517 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28519 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28521 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28522 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28523 if test "x$enable_gtktest" = "xyes" ; then
28524 ac_save_CFLAGS="$CFLAGS"
28525 ac_save_LIBS="$LIBS"
28526 CFLAGS="$CFLAGS $GTK_CFLAGS"
28527 LIBS="$GTK_LIBS $LIBS"
28528 rm -f conf.gtktest
28529 if test "$cross_compiling" = yes; then
28530 echo $ac_n "cross compiling; assumed OK... $ac_c"
28531 else
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538
28539 #include <gtk/gtk.h>
28540 #include <stdio.h>
28541 #include <stdlib.h>
28542
28543 int
28544 main ()
28545 {
28546 int major, minor, micro;
28547 char *tmp_version;
28548
28549 system ("touch conf.gtktest");
28550
28551 /* HP/UX 9 (%@#!) writes to sscanf strings */
28552 tmp_version = g_strdup("$min_gtk_version");
28553 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28554 printf("%s, bad version string\n", "$min_gtk_version");
28555 exit(1);
28556 }
28557
28558 if ((gtk_major_version != $gtk_config_major_version) ||
28559 (gtk_minor_version != $gtk_config_minor_version) ||
28560 (gtk_micro_version != $gtk_config_micro_version))
28561 {
28562 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28563 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28564 gtk_major_version, gtk_minor_version, gtk_micro_version);
28565 printf ("*** was found! If gtk-config was correct, then it is best\n");
28566 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28567 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28568 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28569 printf("*** required on your system.\n");
28570 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28571 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28572 printf("*** before re-running configure\n");
28573 }
28574 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28575 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28576 (gtk_minor_version != GTK_MINOR_VERSION) ||
28577 (gtk_micro_version != GTK_MICRO_VERSION))
28578 {
28579 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28580 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28581 printf("*** library (version %d.%d.%d)\n",
28582 gtk_major_version, gtk_minor_version, gtk_micro_version);
28583 }
28584 #endif /* defined (GTK_MAJOR_VERSION) ... */
28585 else
28586 {
28587 if ((gtk_major_version > major) ||
28588 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28589 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28590 {
28591 return 0;
28592 }
28593 else
28594 {
28595 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28596 gtk_major_version, gtk_minor_version, gtk_micro_version);
28597 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28598 major, minor, micro);
28599 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28600 printf("***\n");
28601 printf("*** If you have already installed a sufficiently new version, this error\n");
28602 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28603 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28604 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28605 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28606 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28607 printf("*** so that the correct libraries are found at run-time))\n");
28608 }
28609 }
28610 return 1;
28611 }
28612
28613 _ACEOF
28614 rm -f conftest$ac_exeext
28615 if { (ac_try="$ac_link"
28616 case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28619 esac
28620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_link") 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28625 { (case "(($ac_try" in
28626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28627 *) ac_try_echo=$ac_try;;
28628 esac
28629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28630 (eval "$ac_try") 2>&5
28631 ac_status=$?
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28634 :
28635 else
28636 echo "$as_me: program exited with status $ac_status" >&5
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28639
28640 ( exit $ac_status )
28641 no_gtk=yes
28642 fi
28643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28644 fi
28645
28646
28647 CFLAGS="$ac_save_CFLAGS"
28648 LIBS="$ac_save_LIBS"
28649 fi
28650 fi
28651 if test "x$no_gtk" = x ; then
28652 { echo "$as_me:$LINENO: result: yes" >&5
28653 echo "${ECHO_T}yes" >&6; }
28654 wx_cv_lib_gtk=1.2.3
28655 else
28656 { echo "$as_me:$LINENO: result: no" >&5
28657 echo "${ECHO_T}no" >&6; }
28658 if test "$GTK_CONFIG" = "no" ; then
28659 echo "*** The gtk-config script installed by GTK could not be found"
28660 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28661 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28662 echo "*** full path to gtk-config."
28663 else
28664 if test -f conf.gtktest ; then
28665 :
28666 else
28667 echo "*** Could not run GTK test program, checking why..."
28668 CFLAGS="$CFLAGS $GTK_CFLAGS"
28669 LIBS="$LIBS $GTK_LIBS"
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h. */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676
28677 #include <gtk/gtk.h>
28678 #include <stdio.h>
28679
28680 int
28681 main ()
28682 {
28683 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28684 ;
28685 return 0;
28686 }
28687 _ACEOF
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (ac_try="$ac_link"
28690 case "(($ac_try" in
28691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 *) ac_try_echo=$ac_try;;
28693 esac
28694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 (eval "$ac_link") 2>conftest.er1
28696 ac_status=$?
28697 grep -v '^ *+' conftest.er1 >conftest.err
28698 rm -f conftest.er1
28699 cat conftest.err >&5
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); } && {
28702 test -z "$ac_c_werror_flag" ||
28703 test ! -s conftest.err
28704 } && test -s conftest$ac_exeext &&
28705 $as_test_x conftest$ac_exeext; then
28706 echo "*** The test program compiled, but did not run. This usually means"
28707 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28708 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28709 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28710 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28711 echo "*** is required on your system"
28712 echo "***"
28713 echo "*** If you have an old version installed, it is best to remove it, although"
28714 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28715 echo "***"
28716 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28717 echo "*** came with the system with the command"
28718 echo "***"
28719 echo "*** rpm --erase --nodeps gtk gtk-devel"
28720 else
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28723
28724 echo "*** The test program failed to compile or link. See the file config.log for the"
28725 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28726 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28727 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28728 fi
28729
28730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28731 conftest$ac_exeext conftest.$ac_ext
28732 CFLAGS="$ac_save_CFLAGS"
28733 LIBS="$ac_save_LIBS"
28734 fi
28735 fi
28736 GTK_CFLAGS=""
28737 GTK_LIBS=""
28738 :
28739 fi
28740
28741
28742 rm -f conf.gtktest
28743
28744 fi
28745 fi
28746 fi
28747
28748 if test -z "$wx_cv_lib_gtk"; then
28749 wx_cv_lib_gtk=none
28750 else
28751 wx_cv_cflags_gtk=$GTK_CFLAGS
28752 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28753 fi
28754
28755
28756 fi
28757
28758
28759 if test "$gtk_version_cached" = 1; then
28760 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28761 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28762 fi
28763
28764 case "$wx_cv_lib_gtk" in
28765 2.0) WXGTK2=1
28766 TOOLKIT_VERSION=2
28767 ;;
28768 1.2.7) WXGTK127=1
28769 WXGTK12=1
28770 ;;
28771 1.2.3) WXGTK12=1
28772 ;;
28773 *) { { echo "$as_me:$LINENO: error:
28774 The development files for GTK+ were not found. For GTK+ 2, please
28775 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28776 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28777 and that the version is 1.2.3 or above. Also check that the
28778 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28779 --libs' are in the LD_LIBRARY_PATH or equivalent.
28780 " >&5
28781 echo "$as_me: error:
28782 The development files for GTK+ were not found. For GTK+ 2, please
28783 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28784 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28785 and that the version is 1.2.3 or above. Also check that the
28786 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28787 --libs' are in the LD_LIBRARY_PATH or equivalent.
28788 " >&2;}
28789 { (exit 1); exit 1; }; }
28790 ;;
28791 esac
28792
28793 if test "$WXGTK2" = 1; then
28794 save_CFLAGS="$CFLAGS"
28795 save_LIBS="$LIBS"
28796 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28797 LIBS="$LIBS $wx_cv_libs_gtk"
28798
28799 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28800 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28801 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28802 echo $ECHO_N "(cached) $ECHO_C" >&6
28803 else
28804 cat >conftest.$ac_ext <<_ACEOF
28805 /* confdefs.h. */
28806 _ACEOF
28807 cat confdefs.h >>conftest.$ac_ext
28808 cat >>conftest.$ac_ext <<_ACEOF
28809 /* end confdefs.h. */
28810 #include <gtk/gtk.h>
28811
28812 int
28813 main ()
28814 {
28815 #ifndef gtk_icon_size_lookup
28816 (void) gtk_icon_size_lookup;
28817 #endif
28818
28819 ;
28820 return 0;
28821 }
28822 _ACEOF
28823 rm -f conftest.$ac_objext
28824 if { (ac_try="$ac_compile"
28825 case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28828 esac
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_compile") 2>conftest.er1
28831 ac_status=$?
28832 grep -v '^ *+' conftest.er1 >conftest.err
28833 rm -f conftest.er1
28834 cat conftest.err >&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } && {
28837 test -z "$ac_c_werror_flag" ||
28838 test ! -s conftest.err
28839 } && test -s conftest.$ac_objext; then
28840 ac_cv_have_decl_gtk_icon_size_lookup=yes
28841 else
28842 echo "$as_me: failed program was:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28844
28845 ac_cv_have_decl_gtk_icon_size_lookup=no
28846 fi
28847
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849 fi
28850 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28851 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28852 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28853
28854 cat >>confdefs.h <<_ACEOF
28855 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28856 _ACEOF
28857
28858
28859 else
28860 cat >>confdefs.h <<_ACEOF
28861 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28862 _ACEOF
28863
28864 cat >>confdefs.h <<\_ACEOF
28865 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28866 _ACEOF
28867
28868 fi
28869
28870
28871
28872
28873 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28874 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28875 cat >conftest.$ac_ext <<_ACEOF
28876 /* confdefs.h. */
28877 _ACEOF
28878 cat confdefs.h >>conftest.$ac_ext
28879 cat >>conftest.$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28881
28882 #include <gtk/gtk.h>
28883
28884 int
28885 main ()
28886 {
28887
28888 #if !GTK_CHECK_VERSION(2,10,0)
28889 Not GTK+ 2.10
28890 #endif
28891
28892 ;
28893 return 0;
28894 }
28895 _ACEOF
28896 rm -f conftest.$ac_objext
28897 if { (ac_try="$ac_compile"
28898 case "(($ac_try" in
28899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28900 *) ac_try_echo=$ac_try;;
28901 esac
28902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28903 (eval "$ac_compile") 2>conftest.er1
28904 ac_status=$?
28905 grep -v '^ *+' conftest.er1 >conftest.err
28906 rm -f conftest.er1
28907 cat conftest.err >&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } && {
28910 test -z "$ac_c_werror_flag" ||
28911 test ! -s conftest.err
28912 } && test -s conftest.$ac_objext; then
28913
28914 cat >>confdefs.h <<\_ACEOF
28915 #define __WXGTK210__ 1
28916 _ACEOF
28917
28918 cat >>confdefs.h <<\_ACEOF
28919 #define __WXGTK26__ 1
28920 _ACEOF
28921
28922 { echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6; }
28924 ac_wxgtk210=1
28925
28926 else
28927 echo "$as_me: failed program was:" >&5
28928 sed 's/^/| /' conftest.$ac_ext >&5
28929
28930
28931 { echo "$as_me:$LINENO: result: no" >&5
28932 echo "${ECHO_T}no" >&6; }
28933 ac_wxgtk210=0
28934
28935 fi
28936
28937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28938
28939 if test "$ac_wxgtk210" = 0; then
28940 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28941 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948
28949 #include <gtk/gtk.h>
28950
28951 int
28952 main ()
28953 {
28954
28955 #if !GTK_CHECK_VERSION(2,6,0)
28956 Not GTK+ 2.6
28957 #endif
28958
28959 ;
28960 return 0;
28961 }
28962 _ACEOF
28963 rm -f conftest.$ac_objext
28964 if { (ac_try="$ac_compile"
28965 case "(($ac_try" in
28966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28967 *) ac_try_echo=$ac_try;;
28968 esac
28969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28970 (eval "$ac_compile") 2>conftest.er1
28971 ac_status=$?
28972 grep -v '^ *+' conftest.er1 >conftest.err
28973 rm -f conftest.er1
28974 cat conftest.err >&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); } && {
28977 test -z "$ac_c_werror_flag" ||
28978 test ! -s conftest.err
28979 } && test -s conftest.$ac_objext; then
28980
28981 cat >>confdefs.h <<\_ACEOF
28982 #define __WXGTK26__ 1
28983 _ACEOF
28984
28985 { echo "$as_me:$LINENO: result: yes" >&5
28986 echo "${ECHO_T}yes" >&6; }
28987 ac_wxgtk26=1
28988
28989 else
28990 echo "$as_me: failed program was:" >&5
28991 sed 's/^/| /' conftest.$ac_ext >&5
28992
28993
28994 { echo "$as_me:$LINENO: result: no" >&5
28995 echo "${ECHO_T}no" >&6; }
28996 ac_wxgtk26=0
28997
28998 fi
28999
29000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29001 fi
29002
29003 CFLAGS="$save_CFLAGS"
29004 LIBS="$save_LIBS"
29005 else
29006 if test "$wxUSE_UNICODE" = "yes"; then
29007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29009 wxUSE_UNICODE=no
29010 fi
29011
29012 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29013 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29014 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 else
29017 ac_check_lib_save_LIBS=$LIBS
29018 LIBS="-lgdk $LIBS"
29019 cat >conftest.$ac_ext <<_ACEOF
29020 /* confdefs.h. */
29021 _ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29025
29026 /* Override any GCC internal prototype to avoid an error.
29027 Use char because int might match the return type of a GCC
29028 builtin and then its argument prototype would still apply. */
29029 #ifdef __cplusplus
29030 extern "C"
29031 #endif
29032 char gdk_im_open ();
29033 int
29034 main ()
29035 {
29036 return gdk_im_open ();
29037 ;
29038 return 0;
29039 }
29040 _ACEOF
29041 rm -f conftest.$ac_objext conftest$ac_exeext
29042 if { (ac_try="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29046 esac
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest$ac_exeext &&
29058 $as_test_x conftest$ac_exeext; then
29059 ac_cv_lib_gdk_gdk_im_open=yes
29060 else
29061 echo "$as_me: failed program was:" >&5
29062 sed 's/^/| /' conftest.$ac_ext >&5
29063
29064 ac_cv_lib_gdk_gdk_im_open=no
29065 fi
29066
29067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29068 conftest$ac_exeext conftest.$ac_ext
29069 LIBS=$ac_check_lib_save_LIBS
29070 fi
29071 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29072 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29073 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29074 cat >>confdefs.h <<\_ACEOF
29075 #define HAVE_XIM 1
29076 _ACEOF
29077
29078 fi
29079
29080
29081 if test "$USE_DARWIN" != 1; then
29082
29083 for ac_func in poll
29084 do
29085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29091 cat >conftest.$ac_ext <<_ACEOF
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29099 #define $ac_func innocuous_$ac_func
29100
29101 /* System header to define __stub macros and hopefully few prototypes,
29102 which can conflict with char $ac_func (); below.
29103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29104 <limits.h> exists even on freestanding compilers. */
29105
29106 #ifdef __STDC__
29107 # include <limits.h>
29108 #else
29109 # include <assert.h>
29110 #endif
29111
29112 #undef $ac_func
29113
29114 /* Override any GCC internal prototype to avoid an error.
29115 Use char because int might match the return type of a GCC
29116 builtin and then its argument prototype would still apply. */
29117 #ifdef __cplusplus
29118 extern "C"
29119 #endif
29120 char $ac_func ();
29121 /* The GNU C library defines this for functions which it implements
29122 to always fail with ENOSYS. Some functions are actually named
29123 something starting with __ and the normal name is an alias. */
29124 #if defined __stub_$ac_func || defined __stub___$ac_func
29125 choke me
29126 #endif
29127
29128 int
29129 main ()
29130 {
29131 return $ac_func ();
29132 ;
29133 return 0;
29134 }
29135 _ACEOF
29136 rm -f conftest.$ac_objext conftest$ac_exeext
29137 if { (ac_try="$ac_link"
29138 case "(($ac_try" in
29139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29140 *) ac_try_echo=$ac_try;;
29141 esac
29142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29143 (eval "$ac_link") 2>conftest.er1
29144 ac_status=$?
29145 grep -v '^ *+' conftest.er1 >conftest.err
29146 rm -f conftest.er1
29147 cat conftest.err >&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } && {
29150 test -z "$ac_c_werror_flag" ||
29151 test ! -s conftest.err
29152 } && test -s conftest$ac_exeext &&
29153 $as_test_x conftest$ac_exeext; then
29154 eval "$as_ac_var=yes"
29155 else
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29158
29159 eval "$as_ac_var=no"
29160 fi
29161
29162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29163 conftest$ac_exeext conftest.$ac_ext
29164 fi
29165 ac_res=`eval echo '${'$as_ac_var'}'`
29166 { echo "$as_me:$LINENO: result: $ac_res" >&5
29167 echo "${ECHO_T}$ac_res" >&6; }
29168 if test `eval echo '${'$as_ac_var'}'` = yes; then
29169 cat >>confdefs.h <<_ACEOF
29170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29171 _ACEOF
29172
29173 fi
29174 done
29175
29176 fi
29177 fi
29178
29179 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29180 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29181
29182 AFMINSTALL=afminstall
29183 TOOLKIT=GTK
29184 GUIDIST=GTK_DIST
29185
29186 if test "$wxUSE_GPE" = "yes"; then
29187 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29188 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29189
29190 ac_find_libraries=
29191 for ac_dir in $SEARCH_LIB;
29192 do
29193 for ac_extension in a so sl dylib dll.a; do
29194 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29195 ac_find_libraries=$ac_dir
29196 break 2
29197 fi
29198 done
29199 done
29200
29201 if test "$ac_find_libraries" != "" ; then
29202
29203 if test "$ac_find_libraries" = "default location"; then
29204 ac_path_to_link=""
29205 else
29206 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29207 result=$?
29208 if test $result = 0; then
29209 ac_path_to_link=""
29210 else
29211 ac_path_to_link=" -L$ac_find_libraries"
29212 fi
29213 fi
29214
29215 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29216 WXGPE=1
29217 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29218 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29219 else
29220 { echo "$as_me:$LINENO: result: not found" >&5
29221 echo "${ECHO_T}not found" >&6; }
29222 fi
29223
29224 fi
29225 fi
29226
29227 if test "$wxUSE_MGL" = 1; then
29228 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29229 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29230 if test "x$MGL_ROOT" = x ; then
29231 { echo "$as_me:$LINENO: result: not found" >&5
29232 echo "${ECHO_T}not found" >&6; }
29233 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29234 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29235 { (exit 1); exit 1; }; }
29236 else
29237 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29238 echo "${ECHO_T}$MGL_ROOT" >&6; }
29239 fi
29240
29241 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29242 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29243 case "${host}" in
29244 *-*-linux* )
29245 if test "x$wxUSE_SHARED" = xyes ; then
29246 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29247 else
29248 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29249 fi
29250 ;;
29251 *-pc-msdosdjgpp )
29252 mgl_os_candidates="dos32/dj2"
29253 ;;
29254 *)
29255 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29256 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29257 { (exit 1); exit 1; }; }
29258 esac
29259
29260 mgl_lib_type=""
29261 mgl_os=""
29262
29263 for mgl_os_i in $mgl_os_candidates ; do
29264 if test "x$mgl_os" = x ; then
29265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29266 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29267 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29268 mgl_lib_type=debug
29269 mgl_os=$mgl_os_i
29270 fi
29271 fi
29272 if test "x$mgl_lib_type" = x ; then
29273 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29274 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29275 mgl_lib_type=release
29276 mgl_os=$mgl_os_i
29277 fi
29278 fi
29279 fi
29280 done
29281
29282 if test "x$mgl_os" = x ; then
29283 { echo "$as_me:$LINENO: result: not found" >&5
29284 echo "${ECHO_T}not found" >&6; }
29285 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29286 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29287 { (exit 1); exit 1; }; }
29288 fi
29289 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29290 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29291
29292 wxUSE_UNIVERSAL="yes"
29293
29294 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29295 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29296
29297 AFMINSTALL=afminstall
29298 TOOLKIT=MGL
29299 GUIDIST=MGL_DIST
29300 fi
29301
29302 if test "$wxUSE_DFB" = 1; then
29303
29304
29305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29306 if test -n "$ac_tool_prefix"; then
29307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29308 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29311 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29312 echo $ECHO_N "(cached) $ECHO_C" >&6
29313 else
29314 case $PKG_CONFIG in
29315 [\\/]* | ?:[\\/]*)
29316 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29317 ;;
29318 *)
29319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29320 for as_dir in $PATH
29321 do
29322 IFS=$as_save_IFS
29323 test -z "$as_dir" && as_dir=.
29324 for ac_exec_ext in '' $ac_executable_extensions; do
29325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29326 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29328 break 2
29329 fi
29330 done
29331 done
29332 IFS=$as_save_IFS
29333
29334 ;;
29335 esac
29336 fi
29337 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29338 if test -n "$PKG_CONFIG"; then
29339 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29340 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29341 else
29342 { echo "$as_me:$LINENO: result: no" >&5
29343 echo "${ECHO_T}no" >&6; }
29344 fi
29345
29346
29347 fi
29348 if test -z "$ac_cv_path_PKG_CONFIG"; then
29349 ac_pt_PKG_CONFIG=$PKG_CONFIG
29350 # Extract the first word of "pkg-config", so it can be a program name with args.
29351 set dummy pkg-config; ac_word=$2
29352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29354 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 case $ac_pt_PKG_CONFIG in
29358 [\\/]* | ?:[\\/]*)
29359 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29360 ;;
29361 *)
29362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29363 for as_dir in $PATH
29364 do
29365 IFS=$as_save_IFS
29366 test -z "$as_dir" && as_dir=.
29367 for ac_exec_ext in '' $ac_executable_extensions; do
29368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29369 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29371 break 2
29372 fi
29373 done
29374 done
29375 IFS=$as_save_IFS
29376
29377 ;;
29378 esac
29379 fi
29380 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29381 if test -n "$ac_pt_PKG_CONFIG"; then
29382 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29383 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29384 else
29385 { echo "$as_me:$LINENO: result: no" >&5
29386 echo "${ECHO_T}no" >&6; }
29387 fi
29388
29389 if test "x$ac_pt_PKG_CONFIG" = x; then
29390 PKG_CONFIG=""
29391 else
29392 case $cross_compiling:$ac_tool_warned in
29393 yes:)
29394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29395 whose name does not start with the host triplet. If you think this
29396 configuration is useful to you, please write to autoconf@gnu.org." >&5
29397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29398 whose name does not start with the host triplet. If you think this
29399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29400 ac_tool_warned=yes ;;
29401 esac
29402 PKG_CONFIG=$ac_pt_PKG_CONFIG
29403 fi
29404 else
29405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29406 fi
29407
29408 fi
29409 if test -n "$PKG_CONFIG"; then
29410 _pkg_min_version=0.9.0
29411 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29412 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29414 { echo "$as_me:$LINENO: result: yes" >&5
29415 echo "${ECHO_T}yes" >&6; }
29416 else
29417 { echo "$as_me:$LINENO: result: no" >&5
29418 echo "${ECHO_T}no" >&6; }
29419 PKG_CONFIG=""
29420 fi
29421
29422 fi
29423
29424
29425 pkg_failed=no
29426 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29427 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29428
29429 if test -n "$PKG_CONFIG"; then
29430 if test -n "$DIRECTFB_CFLAGS"; then
29431 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29432 else
29433 if test -n "$PKG_CONFIG" && \
29434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29436 ac_status=$?
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; then
29439 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29440 else
29441 pkg_failed=yes
29442 fi
29443 fi
29444 else
29445 pkg_failed=untried
29446 fi
29447 if test -n "$PKG_CONFIG"; then
29448 if test -n "$DIRECTFB_LIBS"; then
29449 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29450 else
29451 if test -n "$PKG_CONFIG" && \
29452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29453 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29454 ac_status=$?
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; then
29457 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29458 else
29459 pkg_failed=yes
29460 fi
29461 fi
29462 else
29463 pkg_failed=untried
29464 fi
29465
29466
29467
29468 if test $pkg_failed = yes; then
29469
29470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29471 _pkg_short_errors_supported=yes
29472 else
29473 _pkg_short_errors_supported=no
29474 fi
29475 if test $_pkg_short_errors_supported = yes; then
29476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29477 else
29478 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29479 fi
29480 # Put the nasty error message in config.log where it belongs
29481 echo "$DIRECTFB_PKG_ERRORS" >&5
29482
29483
29484 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29485 echo "$as_me: error: DirectFB not found." >&2;}
29486 { (exit 1); exit 1; }; }
29487
29488
29489 elif test $pkg_failed = untried; then
29490
29491 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29492 echo "$as_me: error: DirectFB not found." >&2;}
29493 { (exit 1); exit 1; }; }
29494
29495
29496 else
29497 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29498 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29499 { echo "$as_me:$LINENO: result: yes" >&5
29500 echo "${ECHO_T}yes" >&6; }
29501
29502 wxUSE_UNIVERSAL="yes"
29503 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29504 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29505 TOOLKIT=DFB
29506 GUIDIST=DFB_DIST
29507
29508 fi
29509 fi
29510
29511 if test "$wxUSE_MICROWIN" = 1; then
29512 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29513 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29514 if test "x$MICROWINDOWS" = x ; then
29515 { echo "$as_me:$LINENO: result: not found" >&5
29516 echo "${ECHO_T}not found" >&6; }
29517 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29518 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29519 { (exit 1); exit 1; }; }
29520 else
29521 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29522 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29523 fi
29524
29525 if test -f $MICROWINDOWS/lib/libmwin.a; then
29526 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29527 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29528 else
29529 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29530 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29531 { (exit 1); exit 1; }; }
29532 fi
29533
29534 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29535 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29536
29537 wxUSE_UNIVERSAL="yes"
29538
29539 AFMINSTALL=afminstall
29540 TOOLKIT=MICROWIN
29541 GUIDIST=MICROWIN_DIST
29542
29543 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29544 fi
29545
29546 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29547 { echo "$as_me:$LINENO: checking for X" >&5
29548 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29549
29550
29551 # Check whether --with-x was given.
29552 if test "${with_x+set}" = set; then
29553 withval=$with_x;
29554 fi
29555
29556 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29557 if test "x$with_x" = xno; then
29558 # The user explicitly disabled X.
29559 have_x=disabled
29560 else
29561 case $x_includes,$x_libraries in #(
29562 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29563 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29564 { (exit 1); exit 1; }; };; #(
29565 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 else
29568 # One or both of the vars are not set, and there is no cached value.
29569 ac_x_includes=no ac_x_libraries=no
29570 rm -f -r conftest.dir
29571 if mkdir conftest.dir; then
29572 cd conftest.dir
29573 cat >Imakefile <<'_ACEOF'
29574 incroot:
29575 @echo incroot='${INCROOT}'
29576 usrlibdir:
29577 @echo usrlibdir='${USRLIBDIR}'
29578 libdir:
29579 @echo libdir='${LIBDIR}'
29580 _ACEOF
29581 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29583 for ac_var in incroot usrlibdir libdir; do
29584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29585 done
29586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29587 for ac_extension in a so sl; do
29588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29590 ac_im_usrlibdir=$ac_im_libdir; break
29591 fi
29592 done
29593 # Screen out bogus values from the imake configuration. They are
29594 # bogus both because they are the default anyway, and because
29595 # using them would break gcc on systems where it needs fixed includes.
29596 case $ac_im_incroot in
29597 /usr/include) ac_x_includes= ;;
29598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29599 esac
29600 case $ac_im_usrlibdir in
29601 /usr/lib | /lib) ;;
29602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29603 esac
29604 fi
29605 cd ..
29606 rm -f -r conftest.dir
29607 fi
29608
29609 # Standard set of common directories for X headers.
29610 # Check X11 before X11Rn because it is often a symlink to the current release.
29611 ac_x_header_dirs='
29612 /usr/X11/include
29613 /usr/X11R6/include
29614 /usr/X11R5/include
29615 /usr/X11R4/include
29616
29617 /usr/include/X11
29618 /usr/include/X11R6
29619 /usr/include/X11R5
29620 /usr/include/X11R4
29621
29622 /usr/local/X11/include
29623 /usr/local/X11R6/include
29624 /usr/local/X11R5/include
29625 /usr/local/X11R4/include
29626
29627 /usr/local/include/X11
29628 /usr/local/include/X11R6
29629 /usr/local/include/X11R5
29630 /usr/local/include/X11R4
29631
29632 /usr/X386/include
29633 /usr/x386/include
29634 /usr/XFree86/include/X11
29635
29636 /usr/include
29637 /usr/local/include
29638 /usr/unsupported/include
29639 /usr/athena/include
29640 /usr/local/x11r5/include
29641 /usr/lpp/Xamples/include
29642
29643 /usr/openwin/include
29644 /usr/openwin/share/include'
29645
29646 if test "$ac_x_includes" = no; then
29647 # Guess where to find include files, by looking for Xlib.h.
29648 # First, try using that file with no special directory specified.
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h. */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <X11/Xlib.h>
29656 _ACEOF
29657 if { (ac_try="$ac_cpp conftest.$ac_ext"
29658 case "(($ac_try" in
29659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29661 esac
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29664 ac_status=$?
29665 grep -v '^ *+' conftest.er1 >conftest.err
29666 rm -f conftest.er1
29667 cat conftest.err >&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } >/dev/null && {
29670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29671 test ! -s conftest.err
29672 }; then
29673 # We can compile using X headers with no special include directory.
29674 ac_x_includes=
29675 else
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29678
29679 for ac_dir in $ac_x_header_dirs; do
29680 if test -r "$ac_dir/X11/Xlib.h"; then
29681 ac_x_includes=$ac_dir
29682 break
29683 fi
29684 done
29685 fi
29686
29687 rm -f conftest.err conftest.$ac_ext
29688 fi # $ac_x_includes = no
29689
29690 if test "$ac_x_libraries" = no; then
29691 # Check for the libraries.
29692 # See if we find them without any special options.
29693 # Don't add to $LIBS permanently.
29694 ac_save_LIBS=$LIBS
29695 LIBS="-lX11 $LIBS"
29696 cat >conftest.$ac_ext <<_ACEOF
29697 /* confdefs.h. */
29698 _ACEOF
29699 cat confdefs.h >>conftest.$ac_ext
29700 cat >>conftest.$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29702 #include <X11/Xlib.h>
29703 int
29704 main ()
29705 {
29706 XrmInitialize ()
29707 ;
29708 return 0;
29709 }
29710 _ACEOF
29711 rm -f conftest.$ac_objext conftest$ac_exeext
29712 if { (ac_try="$ac_link"
29713 case "(($ac_try" in
29714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29715 *) ac_try_echo=$ac_try;;
29716 esac
29717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29718 (eval "$ac_link") 2>conftest.er1
29719 ac_status=$?
29720 grep -v '^ *+' conftest.er1 >conftest.err
29721 rm -f conftest.er1
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } && {
29725 test -z "$ac_c_werror_flag" ||
29726 test ! -s conftest.err
29727 } && test -s conftest$ac_exeext &&
29728 $as_test_x conftest$ac_exeext; then
29729 LIBS=$ac_save_LIBS
29730 # We can link X programs with no special library path.
29731 ac_x_libraries=
29732 else
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29735
29736 LIBS=$ac_save_LIBS
29737 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29738 do
29739 # Don't even attempt the hair of trying to link an X program!
29740 for ac_extension in a so sl; do
29741 if test -r "$ac_dir/libX11.$ac_extension"; then
29742 ac_x_libraries=$ac_dir
29743 break 2
29744 fi
29745 done
29746 done
29747 fi
29748
29749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29750 conftest$ac_exeext conftest.$ac_ext
29751 fi # $ac_x_libraries = no
29752
29753 case $ac_x_includes,$ac_x_libraries in #(
29754 no,* | *,no | *\'*)
29755 # Didn't find X, or a directory has "'" in its name.
29756 ac_cv_have_x="have_x=no";; #(
29757 *)
29758 # Record where we found X for the cache.
29759 ac_cv_have_x="have_x=yes\
29760 ac_x_includes='$ac_x_includes'\
29761 ac_x_libraries='$ac_x_libraries'"
29762 esac
29763 fi
29764 ;; #(
29765 *) have_x=yes;;
29766 esac
29767 eval "$ac_cv_have_x"
29768 fi # $with_x != no
29769
29770 if test "$have_x" != yes; then
29771 { echo "$as_me:$LINENO: result: $have_x" >&5
29772 echo "${ECHO_T}$have_x" >&6; }
29773 no_x=yes
29774 else
29775 # If each of the values was on the command line, it overrides each guess.
29776 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29777 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29778 # Update the cache value to reflect the command line values.
29779 ac_cv_have_x="have_x=yes\
29780 ac_x_includes='$x_includes'\
29781 ac_x_libraries='$x_libraries'"
29782 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29783 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29784 fi
29785
29786 if test "$no_x" = yes; then
29787 # Not all programs may use this symbol, but it does not hurt to define it.
29788
29789 cat >>confdefs.h <<\_ACEOF
29790 #define X_DISPLAY_MISSING 1
29791 _ACEOF
29792
29793 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29794 else
29795 if test -n "$x_includes"; then
29796 X_CFLAGS="$X_CFLAGS -I$x_includes"
29797 fi
29798
29799 # It would also be nice to do this for all -L options, not just this one.
29800 if test -n "$x_libraries"; then
29801 X_LIBS="$X_LIBS -L$x_libraries"
29802 # For Solaris; some versions of Sun CC require a space after -R and
29803 # others require no space. Words are not sufficient . . . .
29804 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29806 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29807 ac_xsave_c_werror_flag=$ac_c_werror_flag
29808 ac_c_werror_flag=yes
29809 cat >conftest.$ac_ext <<_ACEOF
29810 /* confdefs.h. */
29811 _ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815
29816 int
29817 main ()
29818 {
29819
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (ac_try="$ac_link"
29826 case "(($ac_try" in
29827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29828 *) ac_try_echo=$ac_try;;
29829 esac
29830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29831 (eval "$ac_link") 2>conftest.er1
29832 ac_status=$?
29833 grep -v '^ *+' conftest.er1 >conftest.err
29834 rm -f conftest.er1
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } && {
29838 test -z "$ac_c_werror_flag" ||
29839 test ! -s conftest.err
29840 } && test -s conftest$ac_exeext &&
29841 $as_test_x conftest$ac_exeext; then
29842 { echo "$as_me:$LINENO: result: no" >&5
29843 echo "${ECHO_T}no" >&6; }
29844 X_LIBS="$X_LIBS -R$x_libraries"
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 LIBS="$ac_xsave_LIBS -R $x_libraries"
29850 cat >conftest.$ac_ext <<_ACEOF
29851 /* confdefs.h. */
29852 _ACEOF
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29856
29857 int
29858 main ()
29859 {
29860
29861 ;
29862 return 0;
29863 }
29864 _ACEOF
29865 rm -f conftest.$ac_objext conftest$ac_exeext
29866 if { (ac_try="$ac_link"
29867 case "(($ac_try" in
29868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29869 *) ac_try_echo=$ac_try;;
29870 esac
29871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29872 (eval "$ac_link") 2>conftest.er1
29873 ac_status=$?
29874 grep -v '^ *+' conftest.er1 >conftest.err
29875 rm -f conftest.er1
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } && {
29879 test -z "$ac_c_werror_flag" ||
29880 test ! -s conftest.err
29881 } && test -s conftest$ac_exeext &&
29882 $as_test_x conftest$ac_exeext; then
29883 { echo "$as_me:$LINENO: result: yes" >&5
29884 echo "${ECHO_T}yes" >&6; }
29885 X_LIBS="$X_LIBS -R $x_libraries"
29886 else
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 { echo "$as_me:$LINENO: result: neither works" >&5
29891 echo "${ECHO_T}neither works" >&6; }
29892 fi
29893
29894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29895 conftest$ac_exeext conftest.$ac_ext
29896 fi
29897
29898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29899 conftest$ac_exeext conftest.$ac_ext
29900 ac_c_werror_flag=$ac_xsave_c_werror_flag
29901 LIBS=$ac_xsave_LIBS
29902 fi
29903
29904 # Check for system-dependent libraries X programs must link with.
29905 # Do this before checking for the system-independent R6 libraries
29906 # (-lICE), since we may need -lsocket or whatever for X linking.
29907
29908 if test "$ISC" = yes; then
29909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29910 else
29911 # Martyn Johnson says this is needed for Ultrix, if the X
29912 # libraries were built with DECnet support. And Karl Berry says
29913 # the Alpha needs dnet_stub (dnet does not exist).
29914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29915 cat >conftest.$ac_ext <<_ACEOF
29916 /* confdefs.h. */
29917 _ACEOF
29918 cat confdefs.h >>conftest.$ac_ext
29919 cat >>conftest.$ac_ext <<_ACEOF
29920 /* end confdefs.h. */
29921
29922 /* Override any GCC internal prototype to avoid an error.
29923 Use char because int might match the return type of a GCC
29924 builtin and then its argument prototype would still apply. */
29925 #ifdef __cplusplus
29926 extern "C"
29927 #endif
29928 char XOpenDisplay ();
29929 int
29930 main ()
29931 {
29932 return XOpenDisplay ();
29933 ;
29934 return 0;
29935 }
29936 _ACEOF
29937 rm -f conftest.$ac_objext conftest$ac_exeext
29938 if { (ac_try="$ac_link"
29939 case "(($ac_try" in
29940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29941 *) ac_try_echo=$ac_try;;
29942 esac
29943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29944 (eval "$ac_link") 2>conftest.er1
29945 ac_status=$?
29946 grep -v '^ *+' conftest.er1 >conftest.err
29947 rm -f conftest.er1
29948 cat conftest.err >&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } && {
29951 test -z "$ac_c_werror_flag" ||
29952 test ! -s conftest.err
29953 } && test -s conftest$ac_exeext &&
29954 $as_test_x conftest$ac_exeext; then
29955 :
29956 else
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.$ac_ext >&5
29959
29960 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 else
29965 ac_check_lib_save_LIBS=$LIBS
29966 LIBS="-ldnet $LIBS"
29967 cat >conftest.$ac_ext <<_ACEOF
29968 /* confdefs.h. */
29969 _ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29973
29974 /* Override any GCC internal prototype to avoid an error.
29975 Use char because int might match the return type of a GCC
29976 builtin and then its argument prototype would still apply. */
29977 #ifdef __cplusplus
29978 extern "C"
29979 #endif
29980 char dnet_ntoa ();
29981 int
29982 main ()
29983 {
29984 return dnet_ntoa ();
29985 ;
29986 return 0;
29987 }
29988 _ACEOF
29989 rm -f conftest.$ac_objext conftest$ac_exeext
29990 if { (ac_try="$ac_link"
29991 case "(($ac_try" in
29992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29994 esac
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_link") 2>conftest.er1
29997 ac_status=$?
29998 grep -v '^ *+' conftest.er1 >conftest.err
29999 rm -f conftest.er1
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest$ac_exeext &&
30006 $as_test_x conftest$ac_exeext; then
30007 ac_cv_lib_dnet_dnet_ntoa=yes
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30011
30012 ac_cv_lib_dnet_dnet_ntoa=no
30013 fi
30014
30015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30016 conftest$ac_exeext conftest.$ac_ext
30017 LIBS=$ac_check_lib_save_LIBS
30018 fi
30019 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30020 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30021 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30023 fi
30024
30025 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30026 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30027 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30028 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30029 echo $ECHO_N "(cached) $ECHO_C" >&6
30030 else
30031 ac_check_lib_save_LIBS=$LIBS
30032 LIBS="-ldnet_stub $LIBS"
30033 cat >conftest.$ac_ext <<_ACEOF
30034 /* confdefs.h. */
30035 _ACEOF
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30039
30040 /* Override any GCC internal prototype to avoid an error.
30041 Use char because int might match the return type of a GCC
30042 builtin and then its argument prototype would still apply. */
30043 #ifdef __cplusplus
30044 extern "C"
30045 #endif
30046 char dnet_ntoa ();
30047 int
30048 main ()
30049 {
30050 return dnet_ntoa ();
30051 ;
30052 return 0;
30053 }
30054 _ACEOF
30055 rm -f conftest.$ac_objext conftest$ac_exeext
30056 if { (ac_try="$ac_link"
30057 case "(($ac_try" in
30058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30059 *) ac_try_echo=$ac_try;;
30060 esac
30061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30062 (eval "$ac_link") 2>conftest.er1
30063 ac_status=$?
30064 grep -v '^ *+' conftest.er1 >conftest.err
30065 rm -f conftest.er1
30066 cat conftest.err >&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } && {
30069 test -z "$ac_c_werror_flag" ||
30070 test ! -s conftest.err
30071 } && test -s conftest$ac_exeext &&
30072 $as_test_x conftest$ac_exeext; then
30073 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30074 else
30075 echo "$as_me: failed program was:" >&5
30076 sed 's/^/| /' conftest.$ac_ext >&5
30077
30078 ac_cv_lib_dnet_stub_dnet_ntoa=no
30079 fi
30080
30081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30082 conftest$ac_exeext conftest.$ac_ext
30083 LIBS=$ac_check_lib_save_LIBS
30084 fi
30085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30086 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30087 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30088 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30089 fi
30090
30091 fi
30092 fi
30093
30094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30095 conftest$ac_exeext conftest.$ac_ext
30096 LIBS="$ac_xsave_LIBS"
30097
30098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30099 # to get the SysV transport functions.
30100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30101 # needs -lnsl.
30102 # The nsl library prevents programs from opening the X display
30103 # on Irix 5.2, according to T.E. Dickey.
30104 # The functions gethostbyname, getservbyname, and inet_addr are
30105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30106 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30107 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30108 if test "${ac_cv_func_gethostbyname+set}" = set; then
30109 echo $ECHO_N "(cached) $ECHO_C" >&6
30110 else
30111 cat >conftest.$ac_ext <<_ACEOF
30112 /* confdefs.h. */
30113 _ACEOF
30114 cat confdefs.h >>conftest.$ac_ext
30115 cat >>conftest.$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30117 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30119 #define gethostbyname innocuous_gethostbyname
30120
30121 /* System header to define __stub macros and hopefully few prototypes,
30122 which can conflict with char gethostbyname (); below.
30123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30124 <limits.h> exists even on freestanding compilers. */
30125
30126 #ifdef __STDC__
30127 # include <limits.h>
30128 #else
30129 # include <assert.h>
30130 #endif
30131
30132 #undef gethostbyname
30133
30134 /* Override any GCC internal prototype to avoid an error.
30135 Use char because int might match the return type of a GCC
30136 builtin and then its argument prototype would still apply. */
30137 #ifdef __cplusplus
30138 extern "C"
30139 #endif
30140 char gethostbyname ();
30141 /* The GNU C library defines this for functions which it implements
30142 to always fail with ENOSYS. Some functions are actually named
30143 something starting with __ and the normal name is an alias. */
30144 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30145 choke me
30146 #endif
30147
30148 int
30149 main ()
30150 {
30151 return gethostbyname ();
30152 ;
30153 return 0;
30154 }
30155 _ACEOF
30156 rm -f conftest.$ac_objext conftest$ac_exeext
30157 if { (ac_try="$ac_link"
30158 case "(($ac_try" in
30159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30160 *) ac_try_echo=$ac_try;;
30161 esac
30162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30163 (eval "$ac_link") 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } && {
30170 test -z "$ac_c_werror_flag" ||
30171 test ! -s conftest.err
30172 } && test -s conftest$ac_exeext &&
30173 $as_test_x conftest$ac_exeext; then
30174 ac_cv_func_gethostbyname=yes
30175 else
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30178
30179 ac_cv_func_gethostbyname=no
30180 fi
30181
30182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30183 conftest$ac_exeext conftest.$ac_ext
30184 fi
30185 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30186 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30187
30188 if test $ac_cv_func_gethostbyname = no; then
30189 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30190 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30191 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30192 echo $ECHO_N "(cached) $ECHO_C" >&6
30193 else
30194 ac_check_lib_save_LIBS=$LIBS
30195 LIBS="-lnsl $LIBS"
30196 cat >conftest.$ac_ext <<_ACEOF
30197 /* confdefs.h. */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202
30203 /* Override any GCC internal prototype to avoid an error.
30204 Use char because int might match the return type of a GCC
30205 builtin and then its argument prototype would still apply. */
30206 #ifdef __cplusplus
30207 extern "C"
30208 #endif
30209 char gethostbyname ();
30210 int
30211 main ()
30212 {
30213 return gethostbyname ();
30214 ;
30215 return 0;
30216 }
30217 _ACEOF
30218 rm -f conftest.$ac_objext conftest$ac_exeext
30219 if { (ac_try="$ac_link"
30220 case "(($ac_try" in
30221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30222 *) ac_try_echo=$ac_try;;
30223 esac
30224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30225 (eval "$ac_link") 2>conftest.er1
30226 ac_status=$?
30227 grep -v '^ *+' conftest.er1 >conftest.err
30228 rm -f conftest.er1
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } && {
30232 test -z "$ac_c_werror_flag" ||
30233 test ! -s conftest.err
30234 } && test -s conftest$ac_exeext &&
30235 $as_test_x conftest$ac_exeext; then
30236 ac_cv_lib_nsl_gethostbyname=yes
30237 else
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241 ac_cv_lib_nsl_gethostbyname=no
30242 fi
30243
30244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30245 conftest$ac_exeext conftest.$ac_ext
30246 LIBS=$ac_check_lib_save_LIBS
30247 fi
30248 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30249 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30250 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30252 fi
30253
30254 if test $ac_cv_lib_nsl_gethostbyname = no; then
30255 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30256 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30257 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30258 echo $ECHO_N "(cached) $ECHO_C" >&6
30259 else
30260 ac_check_lib_save_LIBS=$LIBS
30261 LIBS="-lbsd $LIBS"
30262 cat >conftest.$ac_ext <<_ACEOF
30263 /* confdefs.h. */
30264 _ACEOF
30265 cat confdefs.h >>conftest.$ac_ext
30266 cat >>conftest.$ac_ext <<_ACEOF
30267 /* end confdefs.h. */
30268
30269 /* Override any GCC internal prototype to avoid an error.
30270 Use char because int might match the return type of a GCC
30271 builtin and then its argument prototype would still apply. */
30272 #ifdef __cplusplus
30273 extern "C"
30274 #endif
30275 char gethostbyname ();
30276 int
30277 main ()
30278 {
30279 return gethostbyname ();
30280 ;
30281 return 0;
30282 }
30283 _ACEOF
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (ac_try="$ac_link"
30286 case "(($ac_try" in
30287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30288 *) ac_try_echo=$ac_try;;
30289 esac
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_link") 2>conftest.er1
30292 ac_status=$?
30293 grep -v '^ *+' conftest.er1 >conftest.err
30294 rm -f conftest.er1
30295 cat conftest.err >&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } && {
30298 test -z "$ac_c_werror_flag" ||
30299 test ! -s conftest.err
30300 } && test -s conftest$ac_exeext &&
30301 $as_test_x conftest$ac_exeext; then
30302 ac_cv_lib_bsd_gethostbyname=yes
30303 else
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30306
30307 ac_cv_lib_bsd_gethostbyname=no
30308 fi
30309
30310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30311 conftest$ac_exeext conftest.$ac_ext
30312 LIBS=$ac_check_lib_save_LIBS
30313 fi
30314 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30315 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30316 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30318 fi
30319
30320 fi
30321 fi
30322
30323 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30324 # socket/setsockopt and other routines are undefined under SCO ODT
30325 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30326 # on later versions), says Simon Leinen: it contains gethostby*
30327 # variants that don't use the name server (or something). -lsocket
30328 # must be given before -lnsl if both are needed. We assume that
30329 # if connect needs -lnsl, so does gethostbyname.
30330 { echo "$as_me:$LINENO: checking for connect" >&5
30331 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30332 if test "${ac_cv_func_connect+set}" = set; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 else
30335 cat >conftest.$ac_ext <<_ACEOF
30336 /* confdefs.h. */
30337 _ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30341 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30343 #define connect innocuous_connect
30344
30345 /* System header to define __stub macros and hopefully few prototypes,
30346 which can conflict with char connect (); below.
30347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30348 <limits.h> exists even on freestanding compilers. */
30349
30350 #ifdef __STDC__
30351 # include <limits.h>
30352 #else
30353 # include <assert.h>
30354 #endif
30355
30356 #undef connect
30357
30358 /* Override any GCC internal prototype to avoid an error.
30359 Use char because int might match the return type of a GCC
30360 builtin and then its argument prototype would still apply. */
30361 #ifdef __cplusplus
30362 extern "C"
30363 #endif
30364 char connect ();
30365 /* The GNU C library defines this for functions which it implements
30366 to always fail with ENOSYS. Some functions are actually named
30367 something starting with __ and the normal name is an alias. */
30368 #if defined __stub_connect || defined __stub___connect
30369 choke me
30370 #endif
30371
30372 int
30373 main ()
30374 {
30375 return connect ();
30376 ;
30377 return 0;
30378 }
30379 _ACEOF
30380 rm -f conftest.$ac_objext conftest$ac_exeext
30381 if { (ac_try="$ac_link"
30382 case "(($ac_try" in
30383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30384 *) ac_try_echo=$ac_try;;
30385 esac
30386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30387 (eval "$ac_link") 2>conftest.er1
30388 ac_status=$?
30389 grep -v '^ *+' conftest.er1 >conftest.err
30390 rm -f conftest.er1
30391 cat conftest.err >&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } && {
30394 test -z "$ac_c_werror_flag" ||
30395 test ! -s conftest.err
30396 } && test -s conftest$ac_exeext &&
30397 $as_test_x conftest$ac_exeext; then
30398 ac_cv_func_connect=yes
30399 else
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30402
30403 ac_cv_func_connect=no
30404 fi
30405
30406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30407 conftest$ac_exeext conftest.$ac_ext
30408 fi
30409 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30410 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30411
30412 if test $ac_cv_func_connect = no; then
30413 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30415 if test "${ac_cv_lib_socket_connect+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30417 else
30418 ac_check_lib_save_LIBS=$LIBS
30419 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30420 cat >conftest.$ac_ext <<_ACEOF
30421 /* confdefs.h. */
30422 _ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426
30427 /* Override any GCC internal prototype to avoid an error.
30428 Use char because int might match the return type of a GCC
30429 builtin and then its argument prototype would still apply. */
30430 #ifdef __cplusplus
30431 extern "C"
30432 #endif
30433 char connect ();
30434 int
30435 main ()
30436 {
30437 return connect ();
30438 ;
30439 return 0;
30440 }
30441 _ACEOF
30442 rm -f conftest.$ac_objext conftest$ac_exeext
30443 if { (ac_try="$ac_link"
30444 case "(($ac_try" in
30445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30446 *) ac_try_echo=$ac_try;;
30447 esac
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_link") 2>conftest.er1
30450 ac_status=$?
30451 grep -v '^ *+' conftest.er1 >conftest.err
30452 rm -f conftest.er1
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } && {
30456 test -z "$ac_c_werror_flag" ||
30457 test ! -s conftest.err
30458 } && test -s conftest$ac_exeext &&
30459 $as_test_x conftest$ac_exeext; then
30460 ac_cv_lib_socket_connect=yes
30461 else
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30464
30465 ac_cv_lib_socket_connect=no
30466 fi
30467
30468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30469 conftest$ac_exeext conftest.$ac_ext
30470 LIBS=$ac_check_lib_save_LIBS
30471 fi
30472 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30473 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30474 if test $ac_cv_lib_socket_connect = yes; then
30475 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30476 fi
30477
30478 fi
30479
30480 # Guillermo Gomez says -lposix is necessary on A/UX.
30481 { echo "$as_me:$LINENO: checking for remove" >&5
30482 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30483 if test "${ac_cv_func_remove+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30485 else
30486 cat >conftest.$ac_ext <<_ACEOF
30487 /* confdefs.h. */
30488 _ACEOF
30489 cat confdefs.h >>conftest.$ac_ext
30490 cat >>conftest.$ac_ext <<_ACEOF
30491 /* end confdefs.h. */
30492 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30494 #define remove innocuous_remove
30495
30496 /* System header to define __stub macros and hopefully few prototypes,
30497 which can conflict with char remove (); below.
30498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30499 <limits.h> exists even on freestanding compilers. */
30500
30501 #ifdef __STDC__
30502 # include <limits.h>
30503 #else
30504 # include <assert.h>
30505 #endif
30506
30507 #undef remove
30508
30509 /* Override any GCC internal prototype to avoid an error.
30510 Use char because int might match the return type of a GCC
30511 builtin and then its argument prototype would still apply. */
30512 #ifdef __cplusplus
30513 extern "C"
30514 #endif
30515 char remove ();
30516 /* The GNU C library defines this for functions which it implements
30517 to always fail with ENOSYS. Some functions are actually named
30518 something starting with __ and the normal name is an alias. */
30519 #if defined __stub_remove || defined __stub___remove
30520 choke me
30521 #endif
30522
30523 int
30524 main ()
30525 {
30526 return remove ();
30527 ;
30528 return 0;
30529 }
30530 _ACEOF
30531 rm -f conftest.$ac_objext conftest$ac_exeext
30532 if { (ac_try="$ac_link"
30533 case "(($ac_try" in
30534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30535 *) ac_try_echo=$ac_try;;
30536 esac
30537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30538 (eval "$ac_link") 2>conftest.er1
30539 ac_status=$?
30540 grep -v '^ *+' conftest.er1 >conftest.err
30541 rm -f conftest.er1
30542 cat conftest.err >&5
30543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30544 (exit $ac_status); } && {
30545 test -z "$ac_c_werror_flag" ||
30546 test ! -s conftest.err
30547 } && test -s conftest$ac_exeext &&
30548 $as_test_x conftest$ac_exeext; then
30549 ac_cv_func_remove=yes
30550 else
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30553
30554 ac_cv_func_remove=no
30555 fi
30556
30557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30558 conftest$ac_exeext conftest.$ac_ext
30559 fi
30560 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30561 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30562
30563 if test $ac_cv_func_remove = no; then
30564 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30565 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30566 if test "${ac_cv_lib_posix_remove+set}" = set; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 else
30569 ac_check_lib_save_LIBS=$LIBS
30570 LIBS="-lposix $LIBS"
30571 cat >conftest.$ac_ext <<_ACEOF
30572 /* confdefs.h. */
30573 _ACEOF
30574 cat confdefs.h >>conftest.$ac_ext
30575 cat >>conftest.$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30577
30578 /* Override any GCC internal prototype to avoid an error.
30579 Use char because int might match the return type of a GCC
30580 builtin and then its argument prototype would still apply. */
30581 #ifdef __cplusplus
30582 extern "C"
30583 #endif
30584 char remove ();
30585 int
30586 main ()
30587 {
30588 return remove ();
30589 ;
30590 return 0;
30591 }
30592 _ACEOF
30593 rm -f conftest.$ac_objext conftest$ac_exeext
30594 if { (ac_try="$ac_link"
30595 case "(($ac_try" in
30596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30597 *) ac_try_echo=$ac_try;;
30598 esac
30599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30600 (eval "$ac_link") 2>conftest.er1
30601 ac_status=$?
30602 grep -v '^ *+' conftest.er1 >conftest.err
30603 rm -f conftest.er1
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } && {
30607 test -z "$ac_c_werror_flag" ||
30608 test ! -s conftest.err
30609 } && test -s conftest$ac_exeext &&
30610 $as_test_x conftest$ac_exeext; then
30611 ac_cv_lib_posix_remove=yes
30612 else
30613 echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.$ac_ext >&5
30615
30616 ac_cv_lib_posix_remove=no
30617 fi
30618
30619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30620 conftest$ac_exeext conftest.$ac_ext
30621 LIBS=$ac_check_lib_save_LIBS
30622 fi
30623 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30624 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30625 if test $ac_cv_lib_posix_remove = yes; then
30626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30627 fi
30628
30629 fi
30630
30631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30632 { echo "$as_me:$LINENO: checking for shmat" >&5
30633 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30634 if test "${ac_cv_func_shmat+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 else
30637 cat >conftest.$ac_ext <<_ACEOF
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30645 #define shmat innocuous_shmat
30646
30647 /* System header to define __stub macros and hopefully few prototypes,
30648 which can conflict with char shmat (); below.
30649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30650 <limits.h> exists even on freestanding compilers. */
30651
30652 #ifdef __STDC__
30653 # include <limits.h>
30654 #else
30655 # include <assert.h>
30656 #endif
30657
30658 #undef shmat
30659
30660 /* Override any GCC internal prototype to avoid an error.
30661 Use char because int might match the return type of a GCC
30662 builtin and then its argument prototype would still apply. */
30663 #ifdef __cplusplus
30664 extern "C"
30665 #endif
30666 char shmat ();
30667 /* The GNU C library defines this for functions which it implements
30668 to always fail with ENOSYS. Some functions are actually named
30669 something starting with __ and the normal name is an alias. */
30670 #if defined __stub_shmat || defined __stub___shmat
30671 choke me
30672 #endif
30673
30674 int
30675 main ()
30676 {
30677 return shmat ();
30678 ;
30679 return 0;
30680 }
30681 _ACEOF
30682 rm -f conftest.$ac_objext conftest$ac_exeext
30683 if { (ac_try="$ac_link"
30684 case "(($ac_try" in
30685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30686 *) ac_try_echo=$ac_try;;
30687 esac
30688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30689 (eval "$ac_link") 2>conftest.er1
30690 ac_status=$?
30691 grep -v '^ *+' conftest.er1 >conftest.err
30692 rm -f conftest.er1
30693 cat conftest.err >&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } && {
30696 test -z "$ac_c_werror_flag" ||
30697 test ! -s conftest.err
30698 } && test -s conftest$ac_exeext &&
30699 $as_test_x conftest$ac_exeext; then
30700 ac_cv_func_shmat=yes
30701 else
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.$ac_ext >&5
30704
30705 ac_cv_func_shmat=no
30706 fi
30707
30708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30709 conftest$ac_exeext conftest.$ac_ext
30710 fi
30711 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30712 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30713
30714 if test $ac_cv_func_shmat = no; then
30715 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30716 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30717 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30718 echo $ECHO_N "(cached) $ECHO_C" >&6
30719 else
30720 ac_check_lib_save_LIBS=$LIBS
30721 LIBS="-lipc $LIBS"
30722 cat >conftest.$ac_ext <<_ACEOF
30723 /* confdefs.h. */
30724 _ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728
30729 /* Override any GCC internal prototype to avoid an error.
30730 Use char because int might match the return type of a GCC
30731 builtin and then its argument prototype would still apply. */
30732 #ifdef __cplusplus
30733 extern "C"
30734 #endif
30735 char shmat ();
30736 int
30737 main ()
30738 {
30739 return shmat ();
30740 ;
30741 return 0;
30742 }
30743 _ACEOF
30744 rm -f conftest.$ac_objext conftest$ac_exeext
30745 if { (ac_try="$ac_link"
30746 case "(($ac_try" in
30747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30748 *) ac_try_echo=$ac_try;;
30749 esac
30750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30751 (eval "$ac_link") 2>conftest.er1
30752 ac_status=$?
30753 grep -v '^ *+' conftest.er1 >conftest.err
30754 rm -f conftest.er1
30755 cat conftest.err >&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); } && {
30758 test -z "$ac_c_werror_flag" ||
30759 test ! -s conftest.err
30760 } && test -s conftest$ac_exeext &&
30761 $as_test_x conftest$ac_exeext; then
30762 ac_cv_lib_ipc_shmat=yes
30763 else
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30766
30767 ac_cv_lib_ipc_shmat=no
30768 fi
30769
30770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30771 conftest$ac_exeext conftest.$ac_ext
30772 LIBS=$ac_check_lib_save_LIBS
30773 fi
30774 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30775 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30776 if test $ac_cv_lib_ipc_shmat = yes; then
30777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30778 fi
30779
30780 fi
30781 fi
30782
30783 # Check for libraries that X11R6 Xt/Xaw programs need.
30784 ac_save_LDFLAGS=$LDFLAGS
30785 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30786 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30787 # check for ICE first), but we must link in the order -lSM -lICE or
30788 # we get undefined symbols. So assume we have SM if we have ICE.
30789 # These have to be linked with before -lX11, unlike the other
30790 # libraries we check for below, so use a different variable.
30791 # John Interrante, Karl Berry
30792 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30793 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30794 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 else
30797 ac_check_lib_save_LIBS=$LIBS
30798 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30799 cat >conftest.$ac_ext <<_ACEOF
30800 /* confdefs.h. */
30801 _ACEOF
30802 cat confdefs.h >>conftest.$ac_ext
30803 cat >>conftest.$ac_ext <<_ACEOF
30804 /* end confdefs.h. */
30805
30806 /* Override any GCC internal prototype to avoid an error.
30807 Use char because int might match the return type of a GCC
30808 builtin and then its argument prototype would still apply. */
30809 #ifdef __cplusplus
30810 extern "C"
30811 #endif
30812 char IceConnectionNumber ();
30813 int
30814 main ()
30815 {
30816 return IceConnectionNumber ();
30817 ;
30818 return 0;
30819 }
30820 _ACEOF
30821 rm -f conftest.$ac_objext conftest$ac_exeext
30822 if { (ac_try="$ac_link"
30823 case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30825 *) ac_try_echo=$ac_try;;
30826 esac
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_link") 2>conftest.er1
30829 ac_status=$?
30830 grep -v '^ *+' conftest.er1 >conftest.err
30831 rm -f conftest.er1
30832 cat conftest.err >&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } && {
30835 test -z "$ac_c_werror_flag" ||
30836 test ! -s conftest.err
30837 } && test -s conftest$ac_exeext &&
30838 $as_test_x conftest$ac_exeext; then
30839 ac_cv_lib_ICE_IceConnectionNumber=yes
30840 else
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30843
30844 ac_cv_lib_ICE_IceConnectionNumber=no
30845 fi
30846
30847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30848 conftest$ac_exeext conftest.$ac_ext
30849 LIBS=$ac_check_lib_save_LIBS
30850 fi
30851 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30852 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30853 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30854 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30855 fi
30856
30857 LDFLAGS=$ac_save_LDFLAGS
30858
30859 fi
30860
30861
30862 if test "$no_x" = "yes"; then
30863 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30864 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30865 { (exit 1); exit 1; }; }
30866 fi
30867
30868 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30869 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30870 AFMINSTALL=afminstall
30871 COMPILED_X_PROGRAM=0
30872
30873 fi
30874
30875 if test "$wxUSE_X11" = 1; then
30876 if test "$wxUSE_NANOX" = "yes"; then
30877 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30878 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30879 if test "x$MICROWIN" = x ; then
30880 { echo "$as_me:$LINENO: result: not found" >&5
30881 echo "${ECHO_T}not found" >&6; }
30882 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30883 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30884 { (exit 1); exit 1; }; }
30885 else
30886 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30887 echo "${ECHO_T}$MICROWIN" >&6; }
30888 cat >>confdefs.h <<\_ACEOF
30889 #define wxUSE_NANOX 1
30890 _ACEOF
30891
30892 fi
30893 fi
30894
30895 if test "$wxUSE_UNICODE" = "yes"; then
30896
30897
30898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30899 if test -n "$ac_tool_prefix"; then
30900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30901 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30905 echo $ECHO_N "(cached) $ECHO_C" >&6
30906 else
30907 case $PKG_CONFIG in
30908 [\\/]* | ?:[\\/]*)
30909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30910 ;;
30911 *)
30912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30913 for as_dir in $PATH
30914 do
30915 IFS=$as_save_IFS
30916 test -z "$as_dir" && as_dir=.
30917 for ac_exec_ext in '' $ac_executable_extensions; do
30918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30921 break 2
30922 fi
30923 done
30924 done
30925 IFS=$as_save_IFS
30926
30927 ;;
30928 esac
30929 fi
30930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30931 if test -n "$PKG_CONFIG"; then
30932 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30933 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30934 else
30935 { echo "$as_me:$LINENO: result: no" >&5
30936 echo "${ECHO_T}no" >&6; }
30937 fi
30938
30939
30940 fi
30941 if test -z "$ac_cv_path_PKG_CONFIG"; then
30942 ac_pt_PKG_CONFIG=$PKG_CONFIG
30943 # Extract the first word of "pkg-config", so it can be a program name with args.
30944 set dummy pkg-config; ac_word=$2
30945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30947 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 else
30950 case $ac_pt_PKG_CONFIG in
30951 [\\/]* | ?:[\\/]*)
30952 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30953 ;;
30954 *)
30955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30956 for as_dir in $PATH
30957 do
30958 IFS=$as_save_IFS
30959 test -z "$as_dir" && as_dir=.
30960 for ac_exec_ext in '' $ac_executable_extensions; do
30961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30962 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30964 break 2
30965 fi
30966 done
30967 done
30968 IFS=$as_save_IFS
30969
30970 ;;
30971 esac
30972 fi
30973 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30974 if test -n "$ac_pt_PKG_CONFIG"; then
30975 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30976 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30977 else
30978 { echo "$as_me:$LINENO: result: no" >&5
30979 echo "${ECHO_T}no" >&6; }
30980 fi
30981
30982 if test "x$ac_pt_PKG_CONFIG" = x; then
30983 PKG_CONFIG=""
30984 else
30985 case $cross_compiling:$ac_tool_warned in
30986 yes:)
30987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30988 whose name does not start with the host triplet. If you think this
30989 configuration is useful to you, please write to autoconf@gnu.org." >&5
30990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30991 whose name does not start with the host triplet. If you think this
30992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30993 ac_tool_warned=yes ;;
30994 esac
30995 PKG_CONFIG=$ac_pt_PKG_CONFIG
30996 fi
30997 else
30998 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30999 fi
31000
31001 fi
31002 if test -n "$PKG_CONFIG"; then
31003 _pkg_min_version=0.9.0
31004 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31005 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31006 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31007 { echo "$as_me:$LINENO: result: yes" >&5
31008 echo "${ECHO_T}yes" >&6; }
31009 else
31010 { echo "$as_me:$LINENO: result: no" >&5
31011 echo "${ECHO_T}no" >&6; }
31012 PKG_CONFIG=""
31013 fi
31014
31015 fi
31016
31017
31018 pkg_failed=no
31019 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31020 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31021
31022 if test -n "$PKG_CONFIG"; then
31023 if test -n "$PANGOX_CFLAGS"; then
31024 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31025 else
31026 if test -n "$PKG_CONFIG" && \
31027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31029 ac_status=$?
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; then
31032 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31033 else
31034 pkg_failed=yes
31035 fi
31036 fi
31037 else
31038 pkg_failed=untried
31039 fi
31040 if test -n "$PKG_CONFIG"; then
31041 if test -n "$PANGOX_LIBS"; then
31042 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31043 else
31044 if test -n "$PKG_CONFIG" && \
31045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31046 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31047 ac_status=$?
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; then
31050 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31051 else
31052 pkg_failed=yes
31053 fi
31054 fi
31055 else
31056 pkg_failed=untried
31057 fi
31058
31059
31060
31061 if test $pkg_failed = yes; then
31062
31063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31064 _pkg_short_errors_supported=yes
31065 else
31066 _pkg_short_errors_supported=no
31067 fi
31068 if test $_pkg_short_errors_supported = yes; then
31069 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31070 else
31071 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31072 fi
31073 # Put the nasty error message in config.log where it belongs
31074 echo "$PANGOX_PKG_ERRORS" >&5
31075
31076
31077 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31078 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31079 { (exit 1); exit 1; }; }
31080
31081
31082 elif test $pkg_failed = untried; then
31083
31084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31086 { (exit 1); exit 1; }; }
31087
31088
31089 else
31090 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31091 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31092 { echo "$as_me:$LINENO: result: yes" >&5
31093 echo "${ECHO_T}yes" >&6; }
31094
31095 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31096 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31097 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31098
31099 fi
31100
31101 pkg_failed=no
31102 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31103 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31104
31105 if test -n "$PKG_CONFIG"; then
31106 if test -n "$PANGOFT2_CFLAGS"; then
31107 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31108 else
31109 if test -n "$PKG_CONFIG" && \
31110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31112 ac_status=$?
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; then
31115 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31116 else
31117 pkg_failed=yes
31118 fi
31119 fi
31120 else
31121 pkg_failed=untried
31122 fi
31123 if test -n "$PKG_CONFIG"; then
31124 if test -n "$PANGOFT2_LIBS"; then
31125 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31126 else
31127 if test -n "$PKG_CONFIG" && \
31128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31129 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31130 ac_status=$?
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; then
31133 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31134 else
31135 pkg_failed=yes
31136 fi
31137 fi
31138 else
31139 pkg_failed=untried
31140 fi
31141
31142
31143
31144 if test $pkg_failed = yes; then
31145
31146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31147 _pkg_short_errors_supported=yes
31148 else
31149 _pkg_short_errors_supported=no
31150 fi
31151 if test $_pkg_short_errors_supported = yes; then
31152 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31153 else
31154 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31155 fi
31156 # Put the nasty error message in config.log where it belongs
31157 echo "$PANGOFT2_PKG_ERRORS" >&5
31158
31159
31160 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31161 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31162 wxUSE_PRINTING_ARCHITECTURE="no"
31163
31164
31165 elif test $pkg_failed = untried; then
31166
31167 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31168 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31169 wxUSE_PRINTING_ARCHITECTURE="no"
31170
31171
31172 else
31173 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31174 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31175 { echo "$as_me:$LINENO: result: yes" >&5
31176 echo "${ECHO_T}yes" >&6; }
31177
31178 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31179 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31181
31182 fi
31183
31184 pkg_failed=no
31185 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31186 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31187
31188 if test -n "$PKG_CONFIG"; then
31189 if test -n "$PANGOXFT_CFLAGS"; then
31190 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31191 else
31192 if test -n "$PKG_CONFIG" && \
31193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31195 ac_status=$?
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; then
31198 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31199 else
31200 pkg_failed=yes
31201 fi
31202 fi
31203 else
31204 pkg_failed=untried
31205 fi
31206 if test -n "$PKG_CONFIG"; then
31207 if test -n "$PANGOXFT_LIBS"; then
31208 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31209 else
31210 if test -n "$PKG_CONFIG" && \
31211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31212 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31213 ac_status=$?
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; then
31216 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31217 else
31218 pkg_failed=yes
31219 fi
31220 fi
31221 else
31222 pkg_failed=untried
31223 fi
31224
31225
31226
31227 if test $pkg_failed = yes; then
31228
31229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31230 _pkg_short_errors_supported=yes
31231 else
31232 _pkg_short_errors_supported=no
31233 fi
31234 if test $_pkg_short_errors_supported = yes; then
31235 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31236 else
31237 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31238 fi
31239 # Put the nasty error message in config.log where it belongs
31240 echo "$PANGOXFT_PKG_ERRORS" >&5
31241
31242
31243 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31244 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31245
31246
31247 elif test $pkg_failed = untried; then
31248
31249 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31250 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31251
31252
31253 else
31254 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31255 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31256 { echo "$as_me:$LINENO: result: yes" >&5
31257 echo "${ECHO_T}yes" >&6; }
31258
31259 cat >>confdefs.h <<\_ACEOF
31260 #define HAVE_PANGO_XFT 1
31261 _ACEOF
31262
31263 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31264 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31266
31267 fi
31268 save_LIBS="$LIBS"
31269 LIBS="$LIBS $PANGOX_LIBS"
31270
31271 for ac_func in pango_font_family_is_monospace
31272 do
31273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 else
31279 cat >conftest.$ac_ext <<_ACEOF
31280 /* confdefs.h. */
31281 _ACEOF
31282 cat confdefs.h >>conftest.$ac_ext
31283 cat >>conftest.$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31287 #define $ac_func innocuous_$ac_func
31288
31289 /* System header to define __stub macros and hopefully few prototypes,
31290 which can conflict with char $ac_func (); below.
31291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31292 <limits.h> exists even on freestanding compilers. */
31293
31294 #ifdef __STDC__
31295 # include <limits.h>
31296 #else
31297 # include <assert.h>
31298 #endif
31299
31300 #undef $ac_func
31301
31302 /* Override any GCC internal prototype to avoid an error.
31303 Use char because int might match the return type of a GCC
31304 builtin and then its argument prototype would still apply. */
31305 #ifdef __cplusplus
31306 extern "C"
31307 #endif
31308 char $ac_func ();
31309 /* The GNU C library defines this for functions which it implements
31310 to always fail with ENOSYS. Some functions are actually named
31311 something starting with __ and the normal name is an alias. */
31312 #if defined __stub_$ac_func || defined __stub___$ac_func
31313 choke me
31314 #endif
31315
31316 int
31317 main ()
31318 {
31319 return $ac_func ();
31320 ;
31321 return 0;
31322 }
31323 _ACEOF
31324 rm -f conftest.$ac_objext conftest$ac_exeext
31325 if { (ac_try="$ac_link"
31326 case "(($ac_try" in
31327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31328 *) ac_try_echo=$ac_try;;
31329 esac
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_link") 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest$ac_exeext &&
31341 $as_test_x conftest$ac_exeext; then
31342 eval "$as_ac_var=yes"
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 eval "$as_ac_var=no"
31348 fi
31349
31350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31351 conftest$ac_exeext conftest.$ac_ext
31352 fi
31353 ac_res=`eval echo '${'$as_ac_var'}'`
31354 { echo "$as_me:$LINENO: result: $ac_res" >&5
31355 echo "${ECHO_T}$ac_res" >&6; }
31356 if test `eval echo '${'$as_ac_var'}'` = yes; then
31357 cat >>confdefs.h <<_ACEOF
31358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31359 _ACEOF
31360
31361 fi
31362 done
31363
31364 LIBS="$save_LIBS"
31365 fi
31366
31367 wxUSE_UNIVERSAL="yes"
31368
31369 if test "$wxUSE_NANOX" = "yes"; then
31370 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31371 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"
31372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31373 else
31374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31375 fi
31376
31377 TOOLKIT=X11
31378 GUIDIST=X11_DIST
31379 fi
31380
31381 if test "$wxUSE_MOTIF" = 1; then
31382 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31383 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31384
31385 ac_find_includes=
31386 for ac_dir in $SEARCH_INCLUDE /usr/include;
31387 do
31388 if test -f "$ac_dir/Xm/Xm.h"; then
31389 ac_find_includes=$ac_dir
31390 break
31391 fi
31392 done
31393
31394 if test "$ac_find_includes" != "" ; then
31395 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31396 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31397
31398 if test "x$ac_find_includes" = "x/usr/include"; then
31399 ac_path_to_include=""
31400 else
31401 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31402 result=$?
31403 if test $result = 0; then
31404 ac_path_to_include=""
31405 else
31406 ac_path_to_include=" -I$ac_find_includes"
31407 fi
31408 fi
31409
31410 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31411 else
31412 save_CFLAGS=$CFLAGS
31413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31414
31415 cat >conftest.$ac_ext <<_ACEOF
31416 /* confdefs.h. */
31417 _ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h. */
31421
31422 #include <Xm/Xm.h>
31423
31424 int
31425 main ()
31426 {
31427
31428 int version;
31429 version = xmUseVersion;
31430
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 rm -f conftest.$ac_objext
31436 if { (ac_try="$ac_compile"
31437 case "(($ac_try" in
31438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31439 *) ac_try_echo=$ac_try;;
31440 esac
31441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31442 (eval "$ac_compile") 2>conftest.er1
31443 ac_status=$?
31444 grep -v '^ *+' conftest.er1 >conftest.err
31445 rm -f conftest.er1
31446 cat conftest.err >&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); } && {
31449 test -z "$ac_c_werror_flag" ||
31450 test ! -s conftest.err
31451 } && test -s conftest.$ac_objext; then
31452
31453 { echo "$as_me:$LINENO: result: found in default search path" >&5
31454 echo "${ECHO_T}found in default search path" >&6; }
31455 COMPILED_X_PROGRAM=1
31456
31457 else
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.$ac_ext >&5
31460
31461
31462 { echo "$as_me:$LINENO: result: no" >&5
31463 echo "${ECHO_T}no" >&6; }
31464 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31465 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31466 { (exit 1); exit 1; }; }
31467
31468
31469 fi
31470
31471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31472
31473 CFLAGS=$save_CFLAGS
31474 fi
31475
31476
31477 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31478 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31479
31480 ac_find_libraries=
31481 for ac_dir in $SEARCH_LIB;
31482 do
31483 for ac_extension in a so sl dylib dll.a; do
31484 if test -f "$ac_dir/libXm.$ac_extension"; then
31485 ac_find_libraries=$ac_dir
31486 break 2
31487 fi
31488 done
31489 done
31490
31491
31492 if test "x$ac_find_libraries" != "x" ; then
31493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31495
31496
31497 if test "$ac_find_libraries" = "default location"; then
31498 ac_path_to_link=""
31499 else
31500 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31501 result=$?
31502 if test $result = 0; then
31503 ac_path_to_link=""
31504 else
31505 ac_path_to_link=" -L$ac_find_libraries"
31506 fi
31507 fi
31508
31509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31510 else
31511 save_CFLAGS=$CFLAGS
31512 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31513 save_LIBS="$LIBS"
31514 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31515
31516 cat >conftest.$ac_ext <<_ACEOF
31517 /* confdefs.h. */
31518 _ACEOF
31519 cat confdefs.h >>conftest.$ac_ext
31520 cat >>conftest.$ac_ext <<_ACEOF
31521 /* end confdefs.h. */
31522
31523 #include <Xm/Xm.h>
31524
31525 int
31526 main ()
31527 {
31528
31529 int version;
31530 version = xmUseVersion;
31531
31532 ;
31533 return 0;
31534 }
31535 _ACEOF
31536 rm -f conftest.$ac_objext conftest$ac_exeext
31537 if { (ac_try="$ac_link"
31538 case "(($ac_try" in
31539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31540 *) ac_try_echo=$ac_try;;
31541 esac
31542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31543 (eval "$ac_link") 2>conftest.er1
31544 ac_status=$?
31545 grep -v '^ *+' conftest.er1 >conftest.err
31546 rm -f conftest.er1
31547 cat conftest.err >&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } && {
31550 test -z "$ac_c_werror_flag" ||
31551 test ! -s conftest.err
31552 } && test -s conftest$ac_exeext &&
31553 $as_test_x conftest$ac_exeext; then
31554
31555 { echo "$as_me:$LINENO: result: found in default search path" >&5
31556 echo "${ECHO_T}found in default search path" >&6; }
31557 COMPILED_X_PROGRAM=1
31558
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31562
31563
31564 { echo "$as_me:$LINENO: result: no" >&5
31565 echo "${ECHO_T}no" >&6; }
31566 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31567 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31568 { (exit 1); exit 1; }; }
31569
31570
31571 fi
31572
31573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31574 conftest$ac_exeext conftest.$ac_ext
31575
31576 CFLAGS=$save_CFLAGS
31577 LIBS="$save_LIBS"
31578 fi
31579
31580 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31581 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31582 libp_link=""
31583 libsm_ice_link=""
31584 libs_found=0
31585 for libp in "" " -lXp"; do
31586 if test "$libs_found" = 0; then
31587 for libsm_ice in "" " -lSM -lICE"; do
31588 if test "$libs_found" = 0; then
31589 save_LIBS="$LIBS"
31590 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31591 save_CFLAGS=$CFLAGS
31592 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31593
31594 cat >conftest.$ac_ext <<_ACEOF
31595 /* confdefs.h. */
31596 _ACEOF
31597 cat confdefs.h >>conftest.$ac_ext
31598 cat >>conftest.$ac_ext <<_ACEOF
31599 /* end confdefs.h. */
31600
31601 #include <Xm/Xm.h>
31602 #include <Xm/List.h>
31603
31604 int
31605 main ()
31606 {
31607
31608 XmString string = NULL;
31609 Widget w = NULL;
31610 int position = 0;
31611 XmListAddItem(w, string, position);
31612
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31621 *) ac_try_echo=$ac_try;;
31622 esac
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31625 ac_status=$?
31626 grep -v '^ *+' conftest.er1 >conftest.err
31627 rm -f conftest.er1
31628 cat conftest.err >&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest$ac_exeext &&
31634 $as_test_x conftest$ac_exeext; then
31635
31636 libp_link="$libp"
31637 libsm_ice_link="$libsm_ice"
31638 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31639 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31640 libs_found=1
31641
31642 else
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.$ac_ext >&5
31645
31646
31647
31648 fi
31649
31650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31651 conftest$ac_exeext conftest.$ac_ext
31652
31653 LIBS="$save_LIBS"
31654 CFLAGS=$save_CFLAGS
31655 fi
31656 done
31657 fi
31658 done
31659
31660 if test "$libs_found" = 0; then
31661 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31662 echo "${ECHO_T}can't find the right libraries" >&6; }
31663 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31664 echo "$as_me: error: can't link a simple motif program" >&2;}
31665 { (exit 1); exit 1; }; }
31666 fi
31667
31668 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31669 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31670 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31672 else
31673 ac_check_lib_save_LIBS=$LIBS
31674 LIBS="-lSgm $LIBS"
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681
31682 /* Override any GCC internal prototype to avoid an error.
31683 Use char because int might match the return type of a GCC
31684 builtin and then its argument prototype would still apply. */
31685 #ifdef __cplusplus
31686 extern "C"
31687 #endif
31688 char SgCreateList ();
31689 int
31690 main ()
31691 {
31692 return SgCreateList ();
31693 ;
31694 return 0;
31695 }
31696 _ACEOF
31697 rm -f conftest.$ac_objext conftest$ac_exeext
31698 if { (ac_try="$ac_link"
31699 case "(($ac_try" in
31700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31701 *) ac_try_echo=$ac_try;;
31702 esac
31703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31704 (eval "$ac_link") 2>conftest.er1
31705 ac_status=$?
31706 grep -v '^ *+' conftest.er1 >conftest.err
31707 rm -f conftest.er1
31708 cat conftest.err >&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } && {
31711 test -z "$ac_c_werror_flag" ||
31712 test ! -s conftest.err
31713 } && test -s conftest$ac_exeext &&
31714 $as_test_x conftest$ac_exeext; then
31715 ac_cv_lib_Sgm_SgCreateList=yes
31716 else
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31719
31720 ac_cv_lib_Sgm_SgCreateList=no
31721 fi
31722
31723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31724 conftest$ac_exeext conftest.$ac_ext
31725 LIBS=$ac_check_lib_save_LIBS
31726 fi
31727 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31728 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31729 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31730 libsgm_link=" -lSgm"
31731 fi
31732
31733
31734 save_CFLAGS=$CFLAGS
31735 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31736
31737 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31738 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31739 if test "${wx_cv_lib_motif2+set}" = set; then
31740 echo $ECHO_N "(cached) $ECHO_C" >&6
31741 else
31742 cat >conftest.$ac_ext <<_ACEOF
31743 /* confdefs.h. */
31744 _ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31748
31749 #include <Xm/Xm.h>
31750
31751 int
31752 main ()
31753 {
31754
31755 #if XmVersion < 2000
31756 Not Motif 2
31757 #endif
31758
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext
31764 if { (ac_try="$ac_compile"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31768 esac
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_compile") 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest.$ac_objext; then
31780 wx_cv_lib_motif2="yes"
31781 else
31782 echo "$as_me: failed program was:" >&5
31783 sed 's/^/| /' conftest.$ac_ext >&5
31784
31785 wx_cv_lib_motif2="no"
31786 fi
31787
31788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31789 fi
31790 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31791 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31792 if test "$wx_cv_lib_motif2" = "yes"; then
31793 cat >>confdefs.h <<\_ACEOF
31794 #define __WXMOTIF20__ 1
31795 _ACEOF
31796
31797 else
31798 cat >>confdefs.h <<\_ACEOF
31799 #define __WXMOTIF20__ 0
31800 _ACEOF
31801
31802 fi
31803
31804 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31805 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31806 if test "${wx_cv_lib_lesstif+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 else
31809 cat >conftest.$ac_ext <<_ACEOF
31810 /* confdefs.h. */
31811 _ACEOF
31812 cat confdefs.h >>conftest.$ac_ext
31813 cat >>conftest.$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31815
31816 #include <Xm/Xm.h>
31817
31818 int
31819 main ()
31820 {
31821
31822 #if !defined(LesstifVersion) || LesstifVersion <= 0
31823 Not Lesstif
31824 #endif
31825
31826 ;
31827 return 0;
31828 }
31829 _ACEOF
31830 rm -f conftest.$ac_objext
31831 if { (ac_try="$ac_compile"
31832 case "(($ac_try" in
31833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31834 *) ac_try_echo=$ac_try;;
31835 esac
31836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31837 (eval "$ac_compile") 2>conftest.er1
31838 ac_status=$?
31839 grep -v '^ *+' conftest.er1 >conftest.err
31840 rm -f conftest.er1
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } && {
31844 test -z "$ac_c_werror_flag" ||
31845 test ! -s conftest.err
31846 } && test -s conftest.$ac_objext; then
31847 wx_cv_lib_lesstif="yes"
31848 else
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31851
31852 wx_cv_lib_lesstif="no"
31853 fi
31854
31855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31856
31857 fi
31858 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31859 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31860 if test "$wx_cv_lib_lesstif" = "yes"; then
31861 cat >>confdefs.h <<\_ACEOF
31862 #define __WXLESSTIF__ 1
31863 _ACEOF
31864
31865 else
31866 cat >>confdefs.h <<\_ACEOF
31867 #define __WXLESSTIF__ 0
31868 _ACEOF
31869
31870 fi
31871
31872 CFLAGS=$save_CFLAGS
31873
31874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31875 TOOLKIT=MOTIF
31876 GUIDIST=MOTIF_DIST
31877 fi
31878
31879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31880 if test "$wxUSE_LIBXPM" = "sys"; then
31881 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31882 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31883
31884 ac_find_libraries=
31885 for ac_dir in $SEARCH_LIB;
31886 do
31887 for ac_extension in a so sl dylib dll.a; do
31888 if test -f "$ac_dir/libXpm.$ac_extension"; then
31889 ac_find_libraries=$ac_dir
31890 break 2
31891 fi
31892 done
31893 done
31894
31895 if test "$ac_find_libraries" != "" ; then
31896
31897 if test "$ac_find_libraries" = "default location"; then
31898 ac_path_to_link=""
31899 else
31900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31901 result=$?
31902 if test $result = 0; then
31903 ac_path_to_link=""
31904 else
31905 ac_path_to_link=" -L$ac_find_libraries"
31906 fi
31907 fi
31908
31909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31910 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31911 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31912
31913 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31914 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31915 if test "${wx_cv_x11_xpm_h+set}" = set; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31917 else
31918
31919 save_CFLAGS=$CFLAGS
31920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31921
31922 cat >conftest.$ac_ext <<_ACEOF
31923 /* confdefs.h. */
31924 _ACEOF
31925 cat confdefs.h >>conftest.$ac_ext
31926 cat >>conftest.$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31928
31929 #include <X11/xpm.h>
31930
31931 int
31932 main ()
31933 {
31934
31935 int version;
31936 version = XpmLibraryVersion();
31937
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext
31943 if { (ac_try="$ac_compile"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31947 esac
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_compile") 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest.$ac_objext; then
31959 wx_cv_x11_xpm_h=yes
31960 else
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.$ac_ext >&5
31963
31964 wx_cv_x11_xpm_h=no
31965
31966 fi
31967
31968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31969
31970 CFLAGS=$save_CFLAGS
31971
31972
31973 fi
31974 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31975 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31976
31977 if test $wx_cv_x11_xpm_h = "yes"; then
31978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31979 cat >>confdefs.h <<\_ACEOF
31980 #define wxHAVE_LIB_XPM 1
31981 _ACEOF
31982
31983 else
31984 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31985 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31986 fi
31987 fi
31988
31989 fi
31990
31991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 else
31996 ac_check_lib_save_LIBS=$LIBS
31997 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31998 cat >conftest.$ac_ext <<_ACEOF
31999 /* confdefs.h. */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004
32005 /* Override any GCC internal prototype to avoid an error.
32006 Use char because int might match the return type of a GCC
32007 builtin and then its argument prototype would still apply. */
32008 #ifdef __cplusplus
32009 extern "C"
32010 #endif
32011 char XShapeQueryExtension ();
32012 int
32013 main ()
32014 {
32015 return XShapeQueryExtension ();
32016 ;
32017 return 0;
32018 }
32019 _ACEOF
32020 rm -f conftest.$ac_objext conftest$ac_exeext
32021 if { (ac_try="$ac_link"
32022 case "(($ac_try" in
32023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32024 *) ac_try_echo=$ac_try;;
32025 esac
32026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32027 (eval "$ac_link") 2>conftest.er1
32028 ac_status=$?
32029 grep -v '^ *+' conftest.er1 >conftest.err
32030 rm -f conftest.er1
32031 cat conftest.err >&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); } && {
32034 test -z "$ac_c_werror_flag" ||
32035 test ! -s conftest.err
32036 } && test -s conftest$ac_exeext &&
32037 $as_test_x conftest$ac_exeext; then
32038 ac_cv_lib_Xext_XShapeQueryExtension=yes
32039 else
32040 echo "$as_me: failed program was:" >&5
32041 sed 's/^/| /' conftest.$ac_ext >&5
32042
32043 ac_cv_lib_Xext_XShapeQueryExtension=no
32044 fi
32045
32046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32047 conftest$ac_exeext conftest.$ac_ext
32048 LIBS=$ac_check_lib_save_LIBS
32049 fi
32050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32053
32054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32055 wxHAVE_XEXT_LIB=1
32056
32057 fi
32058
32059
32060 if test "$wxHAVE_XEXT_LIB" = 1; then
32061 save_CFLAGS="$CFLAGS"
32062 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32063
32064 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32065 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072
32073 #include <X11/Xlib.h>
32074 #include <X11/extensions/shape.h>
32075
32076 int
32077 main ()
32078 {
32079
32080 int dummy1, dummy2;
32081 XShapeQueryExtension((Display*)NULL,
32082 (int*)NULL, (int*)NULL);
32083
32084 ;
32085 return 0;
32086 }
32087 _ACEOF
32088 rm -f conftest.$ac_objext
32089 if { (ac_try="$ac_compile"
32090 case "(($ac_try" in
32091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32092 *) ac_try_echo=$ac_try;;
32093 esac
32094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32095 (eval "$ac_compile") 2>conftest.er1
32096 ac_status=$?
32097 grep -v '^ *+' conftest.er1 >conftest.err
32098 rm -f conftest.er1
32099 cat conftest.err >&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } && {
32102 test -z "$ac_c_werror_flag" ||
32103 test ! -s conftest.err
32104 } && test -s conftest.$ac_objext; then
32105
32106 cat >>confdefs.h <<\_ACEOF
32107 #define HAVE_XSHAPE 1
32108 _ACEOF
32109
32110 { echo "$as_me:$LINENO: result: found" >&5
32111 echo "${ECHO_T}found" >&6; }
32112
32113 else
32114 echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.$ac_ext >&5
32116
32117
32118 { echo "$as_me:$LINENO: result: not found" >&5
32119 echo "${ECHO_T}not found" >&6; }
32120
32121 fi
32122
32123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32124 CFLAGS="$save_CFLAGS"
32125
32126 fi
32127 fi
32128
32129 if test "$wxUSE_MAC" = 1; then
32130 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32131 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32132 if test "$GCC" = yes; then
32133 { echo "$as_me:$LINENO: result: gcc" >&5
32134 echo "${ECHO_T}gcc" >&6; }
32135 CPPFLAGS_PASCAL="-fpascal-strings"
32136 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32137 { echo "$as_me:$LINENO: result: xlc" >&5
32138 echo "${ECHO_T}xlc" >&6; }
32139 CPPFLAGS_PASCAL="-qmacpstr"
32140 else
32141 { echo "$as_me:$LINENO: result: none" >&5
32142 echo "${ECHO_T}none" >&6; }
32143 fi
32144
32145 if test "x$wxUSE_UNIX" = "xyes"; then
32146 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32147 else
32148 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32149 fi
32150
32151 TOOLKIT=MAC
32152 GUIDIST=MACX_DIST
32153 WXBASEPORT="_carbon"
32154 fi
32155
32156 if test "$wxUSE_COCOA" = 1; then
32157 TOOLKIT=COCOA
32158 GUIDIST=COCOA_DIST
32159 fi
32160
32161 if test "$wxUSE_PM" = 1; then
32162 TOOLKIT=PM
32163 GUIDIST=PM_DIST
32164 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32165 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32166 if test "${wx_cv_spbcdata+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 else
32169
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176
32177 #define INCL_PM
32178 #include <os2.h>
32179
32180 int
32181 main ()
32182 {
32183
32184 SPBCDATA test;
32185
32186 ;
32187 return 0;
32188 }
32189 _ACEOF
32190 rm -f conftest.$ac_objext
32191 if { (ac_try="$ac_compile"
32192 case "(($ac_try" in
32193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32194 *) ac_try_echo=$ac_try;;
32195 esac
32196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32197 (eval "$ac_compile") 2>conftest.er1
32198 ac_status=$?
32199 grep -v '^ *+' conftest.er1 >conftest.err
32200 rm -f conftest.er1
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } && {
32204 test -z "$ac_c_werror_flag" ||
32205 test ! -s conftest.err
32206 } && test -s conftest.$ac_objext; then
32207 wx_cv_spbcdata=yes
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32211
32212 wx_cv_spbcdata=no
32213
32214 fi
32215
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217
32218
32219 fi
32220 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32221 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32222
32223 if test $wx_cv_spbcdata = "yes"; then
32224 cat >>confdefs.h <<\_ACEOF
32225 #define HAVE_SPBCDATA 1
32226 _ACEOF
32227
32228 fi
32229 fi
32230
32231 if test "$TOOLKIT" = "PM" ; then
32232 TOOLKIT_DIR="os2"
32233 else
32234 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
32235 fi
32236
32237 if test "$wxUSE_UNIVERSAL" = "yes"; then
32238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32239 WIDGET_SET=univ
32240 fi
32241
32242 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32243 DISTDIR="wx\$(TOOLKIT)"
32244 else
32245 USE_GUI=0
32246
32247 TOOLKIT_DIR="base"
32248
32249 if test "$USE_WIN32" = 1 ; then
32250 TOOLKIT="MSW"
32251 fi
32252
32253 GUIDIST="BASE_DIST"
32254 DISTDIR="wxBase"
32255 fi
32256
32257
32258
32259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32260 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32261 wxUSE_UNICODE_UTF8=yes
32262 elif test "$USE_OS2" = 1 ; then
32263 wxUSE_UNICODE_UTF8=yes
32264 else
32265 wxUSE_UNICODE_UTF8=no
32266 fi
32267 fi
32268
32269
32270 if test "$wxUSE_GUI" = "yes"; then
32271 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32272
32273 for ac_header in X11/Xlib.h
32274 do
32275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32279 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 else
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287
32288
32289 #include <$ac_header>
32290 _ACEOF
32291 rm -f conftest.$ac_objext
32292 if { (ac_try="$ac_compile"
32293 case "(($ac_try" in
32294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32295 *) ac_try_echo=$ac_try;;
32296 esac
32297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32298 (eval "$ac_compile") 2>conftest.er1
32299 ac_status=$?
32300 grep -v '^ *+' conftest.er1 >conftest.err
32301 rm -f conftest.er1
32302 cat conftest.err >&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); } && {
32305 test -z "$ac_c_werror_flag" ||
32306 test ! -s conftest.err
32307 } && test -s conftest.$ac_objext; then
32308 eval "$as_ac_Header=yes"
32309 else
32310 echo "$as_me: failed program was:" >&5
32311 sed 's/^/| /' conftest.$ac_ext >&5
32312
32313 eval "$as_ac_Header=no"
32314 fi
32315
32316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32317 fi
32318 ac_res=`eval echo '${'$as_ac_Header'}'`
32319 { echo "$as_me:$LINENO: result: $ac_res" >&5
32320 echo "${ECHO_T}$ac_res" >&6; }
32321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32322 cat >>confdefs.h <<_ACEOF
32323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32324 _ACEOF
32325
32326 fi
32327
32328 done
32329
32330
32331 for ac_header in X11/XKBlib.h
32332 do
32333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32337 echo $ECHO_N "(cached) $ECHO_C" >&6
32338 else
32339 cat >conftest.$ac_ext <<_ACEOF
32340 /* confdefs.h. */
32341 _ACEOF
32342 cat confdefs.h >>conftest.$ac_ext
32343 cat >>conftest.$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345
32346 #if HAVE_X11_XLIB_H
32347 #include <X11/Xlib.h>
32348 #endif
32349
32350
32351 #include <$ac_header>
32352 _ACEOF
32353 rm -f conftest.$ac_objext
32354 if { (ac_try="$ac_compile"
32355 case "(($ac_try" in
32356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32357 *) ac_try_echo=$ac_try;;
32358 esac
32359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32360 (eval "$ac_compile") 2>conftest.er1
32361 ac_status=$?
32362 grep -v '^ *+' conftest.er1 >conftest.err
32363 rm -f conftest.er1
32364 cat conftest.err >&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } && {
32367 test -z "$ac_c_werror_flag" ||
32368 test ! -s conftest.err
32369 } && test -s conftest.$ac_objext; then
32370 eval "$as_ac_Header=yes"
32371 else
32372 echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.$ac_ext >&5
32374
32375 eval "$as_ac_Header=no"
32376 fi
32377
32378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32379 fi
32380 ac_res=`eval echo '${'$as_ac_Header'}'`
32381 { echo "$as_me:$LINENO: result: $ac_res" >&5
32382 echo "${ECHO_T}$ac_res" >&6; }
32383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32384 cat >>confdefs.h <<_ACEOF
32385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32386 _ACEOF
32387
32388 fi
32389
32390 done
32391
32392 fi
32393 fi
32394
32395
32396
32397 if test "$wxUSE_DISPLAY" = "yes"; then
32398 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32399 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32400 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32401
32402 ac_find_libraries=
32403 for ac_dir in $SEARCH_LIB;
32404 do
32405 for ac_extension in a so sl dylib dll.a; do
32406 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32407 ac_find_libraries=$ac_dir
32408 break 2
32409 fi
32410 done
32411 done
32412
32413 if test "$ac_find_libraries" != "" ; then
32414
32415 if test "$ac_find_libraries" = "default location"; then
32416 ac_path_to_link=""
32417 else
32418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32419 result=$?
32420 if test $result = 0; then
32421 ac_path_to_link=""
32422 else
32423 ac_path_to_link=" -L$ac_find_libraries"
32424 fi
32425 fi
32426
32427 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32428 LDFLAGS="$LDFLAGS $ac_path_to_link"
32429 fi
32430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32431 { echo "$as_me:$LINENO: result: yes" >&5
32432 echo "${ECHO_T}yes" >&6; }
32433
32434 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32435 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32436
32437 ac_find_libraries=
32438 for ac_dir in $SEARCH_LIB;
32439 do
32440 for ac_extension in a so sl dylib dll.a; do
32441 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32442 ac_find_libraries=$ac_dir
32443 break 2
32444 fi
32445 done
32446 done
32447
32448 if test "$ac_find_libraries" != "" ; then
32449 { echo "$as_me:$LINENO: result: yes" >&5
32450 echo "${ECHO_T}yes" >&6; }
32451
32452 for ac_header in X11/extensions/xf86vmode.h
32453 do
32454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 else
32460 cat >conftest.$ac_ext <<_ACEOF
32461 /* confdefs.h. */
32462 _ACEOF
32463 cat confdefs.h >>conftest.$ac_ext
32464 cat >>conftest.$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32466
32467 #if HAVE_X11_XLIB_H
32468 #include <X11/Xlib.h>
32469 #endif
32470
32471
32472 #include <$ac_header>
32473 _ACEOF
32474 rm -f conftest.$ac_objext
32475 if { (ac_try="$ac_compile"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32479 esac
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_compile") 2>conftest.er1
32482 ac_status=$?
32483 grep -v '^ *+' conftest.er1 >conftest.err
32484 rm -f conftest.er1
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest.$ac_objext; then
32491 eval "$as_ac_Header=yes"
32492 else
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.$ac_ext >&5
32495
32496 eval "$as_ac_Header=no"
32497 fi
32498
32499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 fi
32501 ac_res=`eval echo '${'$as_ac_Header'}'`
32502 { echo "$as_me:$LINENO: result: $ac_res" >&5
32503 echo "${ECHO_T}$ac_res" >&6; }
32504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32505 cat >>confdefs.h <<_ACEOF
32506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32507 _ACEOF
32508
32509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32510
32511 fi
32512
32513 done
32514
32515 else
32516 { echo "$as_me:$LINENO: result: no" >&5
32517 echo "${ECHO_T}no" >&6; }
32518 fi
32519
32520 else
32521 { echo "$as_me:$LINENO: result: no" >&5
32522 echo "${ECHO_T}no" >&6; }
32523 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32524 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32525 wxUSE_DISPLAY="no"
32526 fi
32527 elif test "$wxUSE_MSW" = 1; then
32528 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32529 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32530 if test "${ac_cv_header_ddraw_h+set}" = set; then
32531 echo $ECHO_N "(cached) $ECHO_C" >&6
32532 else
32533 cat >conftest.$ac_ext <<_ACEOF
32534 /* confdefs.h. */
32535 _ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 #include <windows.h>
32540
32541 #include <ddraw.h>
32542 _ACEOF
32543 rm -f conftest.$ac_objext
32544 if { (ac_try="$ac_compile"
32545 case "(($ac_try" in
32546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32547 *) ac_try_echo=$ac_try;;
32548 esac
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_compile") 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest.$ac_objext; then
32560 ac_cv_header_ddraw_h=yes
32561 else
32562 echo "$as_me: failed program was:" >&5
32563 sed 's/^/| /' conftest.$ac_ext >&5
32564
32565 ac_cv_header_ddraw_h=no
32566 fi
32567
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32569 fi
32570 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32571 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32572
32573
32574 fi
32575 fi
32576
32577 if test "$wxUSE_DETECT_SM" = "yes"; then
32578 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32579 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32580 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32581
32582 ac_find_libraries=
32583 for ac_dir in $SEARCH_LIB;
32584 do
32585 for ac_extension in a so sl dylib dll.a; do
32586 if test -f "$ac_dir/libSM.$ac_extension"; then
32587 ac_find_libraries=$ac_dir
32588 break 2
32589 fi
32590 done
32591 done
32592
32593 if test "$ac_find_libraries" != "" ; then
32594
32595 if test "$ac_find_libraries" = "default location"; then
32596 ac_path_to_link=""
32597 else
32598 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32599 result=$?
32600 if test $result = 0; then
32601 ac_path_to_link=""
32602 else
32603 ac_path_to_link=" -L$ac_find_libraries"
32604 fi
32605 fi
32606
32607 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32608 LDFLAGS="$LDFLAGS $ac_path_to_link"
32609 fi
32610 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32611 { echo "$as_me:$LINENO: result: yes" >&5
32612 echo "${ECHO_T}yes" >&6; }
32613 else
32614 { echo "$as_me:$LINENO: result: no" >&5
32615 echo "${ECHO_T}no" >&6; }
32616 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32617 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32618 wxUSE_DETECT_SM="no"
32619 fi
32620 else
32621 wxUSE_DETECT_SM="no"
32622 fi
32623 fi
32624
32625
32626
32627 USE_OPENGL=0
32628 if test "$wxUSE_OPENGL" = "yes"; then
32629 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32630 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32631 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32632 wxUSE_OPENGL="no"
32633 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32634 OPENGL_LIBS="-framework OpenGL -framework AGL"
32635 elif test "$wxUSE_MSW" = 1; then
32636 OPENGL_LIBS="-lopengl32 -lglu32"
32637 else
32638 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32639 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32640
32641 ac_find_includes=
32642 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32643 do
32644 if test -f "$ac_dir/GL/gl.h"; then
32645 ac_find_includes=$ac_dir
32646 break
32647 fi
32648 done
32649
32650 if test "$ac_find_includes" != "" ; then
32651 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32652 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32653
32654 if test "x$ac_find_includes" = "x/usr/include"; then
32655 ac_path_to_include=""
32656 else
32657 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32658 result=$?
32659 if test $result = 0; then
32660 ac_path_to_include=""
32661 else
32662 ac_path_to_include=" -I$ac_find_includes"
32663 fi
32664 fi
32665
32666 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32667 else
32668 { echo "$as_me:$LINENO: result: not found" >&5
32669 echo "${ECHO_T}not found" >&6; }
32670 fi
32671
32672 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32673 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32674 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 else
32677 cat >conftest.$ac_ext <<_ACEOF
32678 /* confdefs.h. */
32679 _ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683
32684
32685 #include <GL/gl.h>
32686 _ACEOF
32687 rm -f conftest.$ac_objext
32688 if { (ac_try="$ac_compile"
32689 case "(($ac_try" in
32690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32691 *) ac_try_echo=$ac_try;;
32692 esac
32693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32694 (eval "$ac_compile") 2>conftest.er1
32695 ac_status=$?
32696 grep -v '^ *+' conftest.er1 >conftest.err
32697 rm -f conftest.er1
32698 cat conftest.err >&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } && {
32701 test -z "$ac_c_werror_flag" ||
32702 test ! -s conftest.err
32703 } && test -s conftest.$ac_objext; then
32704 ac_cv_header_GL_gl_h=yes
32705 else
32706 echo "$as_me: failed program was:" >&5
32707 sed 's/^/| /' conftest.$ac_ext >&5
32708
32709 ac_cv_header_GL_gl_h=no
32710 fi
32711
32712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32713 fi
32714 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32715 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32716 if test $ac_cv_header_GL_gl_h = yes; then
32717
32718 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32719 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32720 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 else
32723 cat >conftest.$ac_ext <<_ACEOF
32724 /* confdefs.h. */
32725 _ACEOF
32726 cat confdefs.h >>conftest.$ac_ext
32727 cat >>conftest.$ac_ext <<_ACEOF
32728 /* end confdefs.h. */
32729
32730
32731 #include <GL/glu.h>
32732 _ACEOF
32733 rm -f conftest.$ac_objext
32734 if { (ac_try="$ac_compile"
32735 case "(($ac_try" in
32736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32737 *) ac_try_echo=$ac_try;;
32738 esac
32739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32740 (eval "$ac_compile") 2>conftest.er1
32741 ac_status=$?
32742 grep -v '^ *+' conftest.er1 >conftest.err
32743 rm -f conftest.er1
32744 cat conftest.err >&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); } && {
32747 test -z "$ac_c_werror_flag" ||
32748 test ! -s conftest.err
32749 } && test -s conftest.$ac_objext; then
32750 ac_cv_header_GL_glu_h=yes
32751 else
32752 echo "$as_me: failed program was:" >&5
32753 sed 's/^/| /' conftest.$ac_ext >&5
32754
32755 ac_cv_header_GL_glu_h=no
32756 fi
32757
32758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32759 fi
32760 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32761 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32762 if test $ac_cv_header_GL_glu_h = yes; then
32763
32764 found_gl=0
32765
32766 { echo "$as_me:$LINENO: checking for -lGL" >&5
32767 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32768
32769 ac_find_libraries=
32770 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32771 do
32772 for ac_extension in a so sl dylib dll.a; do
32773 if test -f "$ac_dir/libGL.$ac_extension"; then
32774 ac_find_libraries=$ac_dir
32775 break 2
32776 fi
32777 done
32778 done
32779
32780 if test "$ac_find_libraries" != "" ; then
32781 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32782 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32783
32784
32785 if test "$ac_find_libraries" = "default location"; then
32786 ac_path_to_link=""
32787 else
32788 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32789 result=$?
32790 if test $result = 0; then
32791 ac_path_to_link=""
32792 else
32793 ac_path_to_link=" -L$ac_find_libraries"
32794 fi
32795 fi
32796
32797 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32798 LDFLAGS_GL="$ac_path_to_link"
32799 fi
32800
32801 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32802 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32803
32804 ac_find_libraries=
32805 for ac_dir in $SEARCH_LIB;
32806 do
32807 for ac_extension in a so sl dylib dll.a; do
32808 if test -f "$ac_dir/libGLU.$ac_extension"; then
32809 ac_find_libraries=$ac_dir
32810 break 2
32811 fi
32812 done
32813 done
32814
32815 if test "$ac_find_libraries" != "" ; then
32816
32817 if test "$ac_find_libraries" = "default location"; then
32818 ac_path_to_link=""
32819 else
32820 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32821 result=$?
32822 if test $result = 0; then
32823 ac_path_to_link=""
32824 else
32825 ac_path_to_link=" -L$ac_find_libraries"
32826 fi
32827 fi
32828
32829 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32830 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32831 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32832 fi
32833
32834 found_gl=1
32835 OPENGL_LIBS="-lGL -lGLU"
32836 { echo "$as_me:$LINENO: result: yes" >&5
32837 echo "${ECHO_T}yes" >&6; }
32838 else
32839 { echo "$as_me:$LINENO: result: no" >&5
32840 echo "${ECHO_T}no" >&6; }
32841 fi
32842 else
32843 { echo "$as_me:$LINENO: result: no" >&5
32844 echo "${ECHO_T}no" >&6; }
32845 fi
32846
32847 if test "$found_gl" != 1; then
32848 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32849 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32850
32851 ac_find_libraries=
32852 for ac_dir in $SEARCH_LIB;
32853 do
32854 for ac_extension in a so sl dylib dll.a; do
32855 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32856 ac_find_libraries=$ac_dir
32857 break 2
32858 fi
32859 done
32860 done
32861
32862 if test "$ac_find_libraries" != "" ; then
32863
32864 if test "$ac_find_libraries" = "default location"; then
32865 ac_path_to_link=""
32866 else
32867 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32868 result=$?
32869 if test $result = 0; then
32870 ac_path_to_link=""
32871 else
32872 ac_path_to_link=" -L$ac_find_libraries"
32873 fi
32874 fi
32875
32876 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32877 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32878 { echo "$as_me:$LINENO: result: yes" >&5
32879 echo "${ECHO_T}yes" >&6; }
32880 else
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32883 fi
32884 fi
32885
32886 fi
32887
32888
32889
32890 fi
32891
32892
32893
32894 if test "x$OPENGL_LIBS" = "x"; then
32895 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32896 echo "$as_me: error: OpenGL libraries not available" >&2;}
32897 { (exit 1); exit 1; }; }
32898 fi
32899 fi
32900
32901 if test "$wxUSE_OPENGL" = "yes"; then
32902 USE_OPENGL=1
32903 cat >>confdefs.h <<\_ACEOF
32904 #define wxUSE_OPENGL 1
32905 _ACEOF
32906
32907 cat >>confdefs.h <<\_ACEOF
32908 #define wxUSE_GLCANVAS 1
32909 _ACEOF
32910
32911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32912 fi
32913 fi
32914
32915
32916 if test -n "$TOOLKIT" ; then
32917 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32918 fi
32919
32920
32921
32922 if test "$wxUSE_SHARED" = "yes"; then
32923 case "${host}" in
32924 *-pc-msdosdjgpp )
32925 wxUSE_SHARED=no
32926 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32927 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32928 ;;
32929 esac
32930 fi
32931
32932 if test "$wxUSE_SHARED" = "yes"; then
32933
32934
32935 case "${host}" in
32936 *-*-cygwin* | *-*-mingw* )
32937 wx_cv_version_script=no
32938 ;;
32939
32940 *)
32941 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32942 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32943 if test "${wx_cv_version_script+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32945 else
32946
32947 echo "VER_1 { *; };" >conftest.sym
32948 echo "int main() { return 0; }" >conftest.cpp
32949
32950 if { ac_try='
32951 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32952 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32955 ac_status=$?
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; } ; then
32958 if test -s conftest.stderr ; then
32959 wx_cv_version_script=no
32960 else
32961 wx_cv_version_script=yes
32962 fi
32963 else
32964 wx_cv_version_script=no
32965 fi
32966
32967 if test $wx_cv_version_script = yes
32968 then
32969 echo "struct B { virtual ~B() { } }; \
32970 struct D : public B { }; \
32971 void F() { D d; }" > conftest.cpp
32972
32973 if { ac_try='
32974 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32975 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; } &&
32981 { ac_try='
32982 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32983 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32986 ac_status=$?
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }
32989 then
32990 if { ac_try='
32991 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32992 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32995 ac_status=$?
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; }
32998 then
32999 wx_cv_version_script=yes
33000 else
33001 wx_cv_version_script=no
33002 fi
33003 fi
33004 fi
33005
33006 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33007 rm -f conftest1.output conftest2.output conftest3.output
33008
33009 fi
33010 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33011 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33012
33013 if test $wx_cv_version_script = yes ; then
33014 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33015 fi
33016 ;;
33017 esac
33018
33019
33020 if test "$wxUSE_VISIBILITY" != "no"; then
33021
33022
33023 if test -n "$GCC"; then
33024 CFLAGS_VISIBILITY="-fvisibility=hidden"
33025 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33026 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33027 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33028 if test "${wx_cv_cc_visibility+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031
33032 wx_save_CXXFLAGS="$CXXFLAGS"
33033 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039
33040 cat >conftest.$ac_ext <<_ACEOF
33041 /* confdefs.h. */
33042 _ACEOF
33043 cat confdefs.h >>conftest.$ac_ext
33044 cat >>conftest.$ac_ext <<_ACEOF
33045 /* end confdefs.h. */
33046
33047 /* we need gcc >= 4.0, older versions with visibility support
33048 didn't have class visibility: */
33049 #if defined(__GNUC__) && __GNUC__ < 4
33050 error this gcc is too old;
33051 #endif
33052
33053 /* visibility only makes sense for ELF shared libs: */
33054 #if !defined(__ELF__) && !defined(__APPLE__)
33055 error this platform has no visibility;
33056 #endif
33057
33058 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33059 extern __attribute__((__visibility__("default"))) int exportedvar;
33060 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33061 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33062 class __attribute__((__visibility__("default"))) Foo {
33063 Foo() {}
33064 };
33065
33066 int
33067 main ()
33068 {
33069
33070 ;
33071 return 0;
33072 }
33073 _ACEOF
33074 rm -f conftest.$ac_objext
33075 if { (ac_try="$ac_compile"
33076 case "(($ac_try" in
33077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33078 *) ac_try_echo=$ac_try;;
33079 esac
33080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33081 (eval "$ac_compile") 2>conftest.er1
33082 ac_status=$?
33083 grep -v '^ *+' conftest.er1 >conftest.err
33084 rm -f conftest.er1
33085 cat conftest.err >&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); } && {
33088 test -z "$ac_cxx_werror_flag" ||
33089 test ! -s conftest.err
33090 } && test -s conftest.$ac_objext; then
33091 wx_cv_cc_visibility=yes
33092 else
33093 echo "$as_me: failed program was:" >&5
33094 sed 's/^/| /' conftest.$ac_ext >&5
33095
33096 wx_cv_cc_visibility=no
33097 fi
33098
33099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100 ac_ext=c
33101 ac_cpp='$CPP $CPPFLAGS'
33102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105
33106 CXXFLAGS="$wx_save_CXXFLAGS"
33107 fi
33108
33109 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33110 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33111 if test $wx_cv_cc_visibility = yes; then
33112 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33113 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33114 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33115 echo $ECHO_N "(cached) $ECHO_C" >&6
33116 else
33117
33118 wx_save_CXXFLAGS="$CXXFLAGS"
33119 wx_save_LDFLAGS="$LDFLAGS"
33120 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33121 LDFLAGS="$LDFLAGS -shared -fPIC"
33122 ac_ext=cpp
33123 ac_cpp='$CXXCPP $CPPFLAGS'
33124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33127
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134
33135 #include <string>
33136
33137 int
33138 main ()
33139 {
33140
33141 std::string s("hello");
33142 return s.length();
33143
33144 ;
33145 return 0;
33146 }
33147 _ACEOF
33148 rm -f conftest.$ac_objext conftest$ac_exeext
33149 if { (ac_try="$ac_link"
33150 case "(($ac_try" in
33151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33152 *) ac_try_echo=$ac_try;;
33153 esac
33154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33155 (eval "$ac_link") 2>conftest.er1
33156 ac_status=$?
33157 grep -v '^ *+' conftest.er1 >conftest.err
33158 rm -f conftest.er1
33159 cat conftest.err >&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } && {
33162 test -z "$ac_cxx_werror_flag" ||
33163 test ! -s conftest.err
33164 } && test -s conftest$ac_exeext &&
33165 $as_test_x conftest$ac_exeext; then
33166 wx_cv_cc_broken_libstdcxx_visibility=no
33167 else
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33170
33171 wx_cv_cc_broken_libstdcxx_visibility=yes
33172 fi
33173
33174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33175 conftest$ac_exeext conftest.$ac_ext
33176 ac_ext=c
33177 ac_cpp='$CPP $CPPFLAGS'
33178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33181
33182 CXXFLAGS="$wx_save_CXXFLAGS"
33183 LDFLAGS="$wx_save_LDFLAGS"
33184 fi
33185
33186 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33187 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33188
33189 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33190 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33191 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33192 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33193 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 else
33195
33196 ac_ext=cpp
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33201
33202 cat >conftest.$ac_ext <<_ACEOF
33203 /* confdefs.h. */
33204 _ACEOF
33205 cat confdefs.h >>conftest.$ac_ext
33206 cat >>conftest.$ac_ext <<_ACEOF
33207 /* end confdefs.h. */
33208
33209 #pragma GCC visibility push(default)
33210 #include <string>
33211 #pragma GCC visibility pop
33212
33213 int
33214 main ()
33215 {
33216
33217 std::string s("hello");
33218 return s.length();
33219
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 rm -f conftest.$ac_objext conftest$ac_exeext
33225 if { (ac_try="$ac_link"
33226 case "(($ac_try" in
33227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33228 *) ac_try_echo=$ac_try;;
33229 esac
33230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33231 (eval "$ac_link") 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } && {
33238 test -z "$ac_cxx_werror_flag" ||
33239 test ! -s conftest.err
33240 } && test -s conftest$ac_exeext &&
33241 $as_test_x conftest$ac_exeext; then
33242 wx_cv_cc_visibility_workaround=no
33243 else
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.$ac_ext >&5
33246
33247 wx_cv_cc_visibility_workaround=yes
33248 fi
33249
33250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33251 conftest$ac_exeext conftest.$ac_ext
33252 ac_ext=c
33253 ac_cpp='$CPP $CPPFLAGS'
33254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33257
33258
33259 fi
33260
33261 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33262 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33263
33264 if test $wx_cv_cc_visibility_workaround = no; then
33265 wx_cv_cc_visibility=no
33266 fi
33267 fi
33268 fi
33269
33270 if test $wx_cv_cc_visibility = yes; then
33271 cat >>confdefs.h <<\_ACEOF
33272 #define HAVE_VISIBILITY 1
33273 _ACEOF
33274
33275 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33276 cat >>confdefs.h <<\_ACEOF
33277 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33278 _ACEOF
33279
33280 fi
33281 else
33282 CFLAGS_VISIBILITY=""
33283 CXXFLAGS_VISIBILITY=""
33284 fi
33285
33286
33287 fi
33288
33289 fi
33290
33291 if test "x$SUNCXX" = xyes; then
33292 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33293 WXCONFIG_RPATH="-R\$libdir"
33294 else
33295 case "${host}" in
33296 *-*-linux* | *-*-gnu* )
33297 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33298 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33299 ;;
33300
33301 *-*-solaris2* )
33302
33303 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33304
33305 saveLdflags="$LDFLAGS"
33306 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33307 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33308 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33309 cat >conftest.$ac_ext <<_ACEOF
33310 /* confdefs.h. */
33311 _ACEOF
33312 cat confdefs.h >>conftest.$ac_ext
33313 cat >>conftest.$ac_ext <<_ACEOF
33314 /* end confdefs.h. */
33315
33316 int
33317 main ()
33318 {
33319
33320 ;
33321 return 0;
33322 }
33323 _ACEOF
33324 rm -f conftest.$ac_objext conftest$ac_exeext
33325 if { (ac_try="$ac_link"
33326 case "(($ac_try" in
33327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33328 *) ac_try_echo=$ac_try;;
33329 esac
33330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33331 (eval "$ac_link") 2>conftest.er1
33332 ac_status=$?
33333 grep -v '^ *+' conftest.er1 >conftest.err
33334 rm -f conftest.er1
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } && {
33338 test -z "$ac_c_werror_flag" ||
33339 test ! -s conftest.err
33340 } && test -s conftest$ac_exeext &&
33341 $as_test_x conftest$ac_exeext; then
33342
33343 { echo "$as_me:$LINENO: result: yes" >&5
33344 echo "${ECHO_T}yes" >&6; }
33345 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33346 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33347
33348 else
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33351
33352
33353 { echo "$as_me:$LINENO: result: no" >&5
33354 echo "${ECHO_T}no" >&6; }
33355 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33356 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33357 LDFLAGS="$saveLdflags -Wl,-R,/"
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364
33365 int
33366 main ()
33367 {
33368
33369 ;
33370 return 0;
33371 }
33372 _ACEOF
33373 rm -f conftest.$ac_objext conftest$ac_exeext
33374 if { (ac_try="$ac_link"
33375 case "(($ac_try" in
33376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33377 *) ac_try_echo=$ac_try;;
33378 esac
33379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33380 (eval "$ac_link") 2>conftest.er1
33381 ac_status=$?
33382 grep -v '^ *+' conftest.er1 >conftest.err
33383 rm -f conftest.er1
33384 cat conftest.err >&5
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); } && {
33387 test -z "$ac_c_werror_flag" ||
33388 test ! -s conftest.err
33389 } && test -s conftest$ac_exeext &&
33390 $as_test_x conftest$ac_exeext; then
33391
33392 { echo "$as_me:$LINENO: result: yes" >&5
33393 echo "${ECHO_T}yes" >&6; }
33394 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33395 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33396
33397 else
33398 echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.$ac_ext >&5
33400
33401
33402 { echo "$as_me:$LINENO: result: no" >&5
33403 echo "${ECHO_T}no" >&6; }
33404
33405 fi
33406
33407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33408 conftest$ac_exeext conftest.$ac_ext
33409
33410 fi
33411
33412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33413 conftest$ac_exeext conftest.$ac_ext
33414 LDFLAGS="$saveLdflags"
33415 ;;
33416
33417 *-*-darwin* )
33418 install_name_tool=`which install_name_tool`
33419 if test "$install_name_tool" -a -x "$install_name_tool"; then
33420 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33421 cat <<EOF >change-install-names
33422 #!/bin/sh
33423 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33424 inst_cmd="install_name_tool "
33425 for i in \${libnames} ; do
33426 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33427 done
33428 \${inst_cmd} \${3}
33429 EOF
33430 chmod +x change-install-names
33431 fi
33432 ;;
33433
33434 *-*-cygwin* | *-*-mingw32* )
33435 ;;
33436
33437 *-*-hpux* )
33438 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33439 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33440 ;;
33441
33442 esac
33443 fi
33444
33445 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33446
33447 if test $wxUSE_RPATH = "no"; then
33448 SAMPLES_RPATH_FLAG=''
33449 SAMPLES_RPATH_POSTLINK=''
33450 WXCONFIG_RPATH=''
33451 fi
33452
33453 SHARED=1
33454
33455 else
33456
33457 config_linkage_component="-static"
33458 SHARED=0
33459
33460 fi
33461
33462
33463 UNICODE=0
33464 lib_unicode_suffix=
33465 WX_CHARTYPE="ansi"
33466 if test "$wxUSE_UNICODE" = "yes"; then
33467 lib_unicode_suffix=u
33468 WX_CHARTYPE="unicode"
33469 UNICODE=1
33470 fi
33471
33472 lib_debug_suffix=
33473 WX_DEBUGTYPE="release"
33474 DEBUG_FLAG=0
33475 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33476 lib_debug_suffix=d
33477 WX_DEBUGTYPE="debug"
33478 DEBUG_FLAG=1
33479 fi
33480
33481 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33482 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33483
33484 DEBUG_INFO=0
33485 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33486 DEBUG_INFO=1
33487 fi
33488
33489 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33490
33491 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33492
33493 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33494
33495 if test "$cross_compiling" = "yes"; then
33496 HOST_SUFFIX="-$host_alias"
33497 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33498 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33499 fi
33500
33501 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33502 if test "${TOOLKIT_DIR}" = "os2"; then
33503 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33504 else
33505 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33506 fi
33507
33508
33509
33510 if test "$wxUSE_COCOA" = 1; then
33511
33512 ac_ext=c
33513 ac_cpp='$CPP $CPPFLAGS'
33514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33517
33518 ac_ext=m
33519
33520 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33521 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33522 cat >conftest.$ac_ext <<_ACEOF
33523 /* confdefs.h. */
33524 _ACEOF
33525 cat confdefs.h >>conftest.$ac_ext
33526 cat >>conftest.$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33528 #include <AppKit/NSEvent.h>
33529 #include <CoreFoundation/CoreFoundation.h>
33530
33531 int
33532 main ()
33533 {
33534
33535 ;
33536 return 0;
33537 }
33538 _ACEOF
33539 rm -f conftest.$ac_objext
33540 if { (ac_try="$ac_compile"
33541 case "(($ac_try" in
33542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33543 *) ac_try_echo=$ac_try;;
33544 esac
33545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33546 (eval "$ac_compile") 2>conftest.er1
33547 ac_status=$?
33548 grep -v '^ *+' conftest.er1 >conftest.err
33549 rm -f conftest.er1
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } && {
33553 test -z "$ac_c_werror_flag" ||
33554 test ! -s conftest.err
33555 } && test -s conftest.$ac_objext; then
33556 { echo "$as_me:$LINENO: result: no" >&5
33557 echo "${ECHO_T}no" >&6; }
33558 else
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.$ac_ext >&5
33561
33562 { echo "$as_me:$LINENO: result: yes" >&5
33563 echo "${ECHO_T}yes" >&6; }
33564 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33565 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
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 #define __Point__ 1
33573 #include <AppKit/NSEvent.h>
33574 #include <CoreFoundation/CoreFoundation.h>
33575
33576 int
33577 main ()
33578 {
33579
33580 ;
33581 return 0;
33582 }
33583 _ACEOF
33584 rm -f conftest.$ac_objext
33585 if { (ac_try="$ac_compile"
33586 case "(($ac_try" in
33587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33588 *) ac_try_echo=$ac_try;;
33589 esac
33590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33591 (eval "$ac_compile") 2>conftest.er1
33592 ac_status=$?
33593 grep -v '^ *+' conftest.er1 >conftest.err
33594 rm -f conftest.er1
33595 cat conftest.err >&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } && {
33598 test -z "$ac_c_werror_flag" ||
33599 test ! -s conftest.err
33600 } && test -s conftest.$ac_objext; then
33601 { echo "$as_me:$LINENO: result: yes" >&5
33602 echo "${ECHO_T}yes" >&6; }
33603 cat >>confdefs.h <<\_ACEOF
33604 #define __Point__ 1
33605 _ACEOF
33606
33607
33608 else
33609 echo "$as_me: failed program was:" >&5
33610 sed 's/^/| /' conftest.$ac_ext >&5
33611
33612 { { echo "$as_me:$LINENO: error: no
33613 See \`config.log' for more details." >&5
33614 echo "$as_me: error: no
33615 See \`config.log' for more details." >&2;}
33616 { (exit 1); exit 1; }; }
33617
33618 fi
33619
33620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33621
33622 fi
33623
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630
33631 fi
33632
33633
33634 { echo "$as_me:$LINENO: checking for mode_t" >&5
33635 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33636 if test "${ac_cv_type_mode_t+set}" = set; then
33637 echo $ECHO_N "(cached) $ECHO_C" >&6
33638 else
33639 cat >conftest.$ac_ext <<_ACEOF
33640 /* confdefs.h. */
33641 _ACEOF
33642 cat confdefs.h >>conftest.$ac_ext
33643 cat >>conftest.$ac_ext <<_ACEOF
33644 /* end confdefs.h. */
33645 $ac_includes_default
33646 typedef mode_t ac__type_new_;
33647 int
33648 main ()
33649 {
33650 if ((ac__type_new_ *) 0)
33651 return 0;
33652 if (sizeof (ac__type_new_))
33653 return 0;
33654 ;
33655 return 0;
33656 }
33657 _ACEOF
33658 rm -f conftest.$ac_objext
33659 if { (ac_try="$ac_compile"
33660 case "(($ac_try" in
33661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33662 *) ac_try_echo=$ac_try;;
33663 esac
33664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33665 (eval "$ac_compile") 2>conftest.er1
33666 ac_status=$?
33667 grep -v '^ *+' conftest.er1 >conftest.err
33668 rm -f conftest.er1
33669 cat conftest.err >&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } && {
33672 test -z "$ac_c_werror_flag" ||
33673 test ! -s conftest.err
33674 } && test -s conftest.$ac_objext; then
33675 ac_cv_type_mode_t=yes
33676 else
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33679
33680 ac_cv_type_mode_t=no
33681 fi
33682
33683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33684 fi
33685 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33686 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33687 if test $ac_cv_type_mode_t = yes; then
33688 :
33689 else
33690
33691 cat >>confdefs.h <<_ACEOF
33692 #define mode_t int
33693 _ACEOF
33694
33695 fi
33696
33697 { echo "$as_me:$LINENO: checking for off_t" >&5
33698 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33699 if test "${ac_cv_type_off_t+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33701 else
33702 cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h. */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708 $ac_includes_default
33709 typedef off_t ac__type_new_;
33710 int
33711 main ()
33712 {
33713 if ((ac__type_new_ *) 0)
33714 return 0;
33715 if (sizeof (ac__type_new_))
33716 return 0;
33717 ;
33718 return 0;
33719 }
33720 _ACEOF
33721 rm -f conftest.$ac_objext
33722 if { (ac_try="$ac_compile"
33723 case "(($ac_try" in
33724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33725 *) ac_try_echo=$ac_try;;
33726 esac
33727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33728 (eval "$ac_compile") 2>conftest.er1
33729 ac_status=$?
33730 grep -v '^ *+' conftest.er1 >conftest.err
33731 rm -f conftest.er1
33732 cat conftest.err >&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } && {
33735 test -z "$ac_c_werror_flag" ||
33736 test ! -s conftest.err
33737 } && test -s conftest.$ac_objext; then
33738 ac_cv_type_off_t=yes
33739 else
33740 echo "$as_me: failed program was:" >&5
33741 sed 's/^/| /' conftest.$ac_ext >&5
33742
33743 ac_cv_type_off_t=no
33744 fi
33745
33746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33747 fi
33748 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33749 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33750 if test $ac_cv_type_off_t = yes; then
33751 :
33752 else
33753
33754 cat >>confdefs.h <<_ACEOF
33755 #define off_t long int
33756 _ACEOF
33757
33758 fi
33759
33760 { echo "$as_me:$LINENO: checking for pid_t" >&5
33761 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33762 if test "${ac_cv_type_pid_t+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 cat >conftest.$ac_ext <<_ACEOF
33766 /* confdefs.h. */
33767 _ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771 $ac_includes_default
33772 typedef pid_t ac__type_new_;
33773 int
33774 main ()
33775 {
33776 if ((ac__type_new_ *) 0)
33777 return 0;
33778 if (sizeof (ac__type_new_))
33779 return 0;
33780 ;
33781 return 0;
33782 }
33783 _ACEOF
33784 rm -f conftest.$ac_objext
33785 if { (ac_try="$ac_compile"
33786 case "(($ac_try" in
33787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33788 *) ac_try_echo=$ac_try;;
33789 esac
33790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33791 (eval "$ac_compile") 2>conftest.er1
33792 ac_status=$?
33793 grep -v '^ *+' conftest.er1 >conftest.err
33794 rm -f conftest.er1
33795 cat conftest.err >&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); } && {
33798 test -z "$ac_c_werror_flag" ||
33799 test ! -s conftest.err
33800 } && test -s conftest.$ac_objext; then
33801 ac_cv_type_pid_t=yes
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33805
33806 ac_cv_type_pid_t=no
33807 fi
33808
33809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33810 fi
33811 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33812 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33813 if test $ac_cv_type_pid_t = yes; then
33814 :
33815 else
33816
33817 cat >>confdefs.h <<_ACEOF
33818 #define pid_t int
33819 _ACEOF
33820
33821 fi
33822
33823 { echo "$as_me:$LINENO: checking for size_t" >&5
33824 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33825 if test "${ac_cv_type_size_t+set}" = set; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828 cat >conftest.$ac_ext <<_ACEOF
33829 /* confdefs.h. */
33830 _ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33834 $ac_includes_default
33835 typedef size_t ac__type_new_;
33836 int
33837 main ()
33838 {
33839 if ((ac__type_new_ *) 0)
33840 return 0;
33841 if (sizeof (ac__type_new_))
33842 return 0;
33843 ;
33844 return 0;
33845 }
33846 _ACEOF
33847 rm -f conftest.$ac_objext
33848 if { (ac_try="$ac_compile"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33851 *) ac_try_echo=$ac_try;;
33852 esac
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_compile") 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest.$ac_objext; then
33864 ac_cv_type_size_t=yes
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869 ac_cv_type_size_t=no
33870 fi
33871
33872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 fi
33874 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33875 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33876 if test $ac_cv_type_size_t = yes; then
33877 :
33878 else
33879
33880 cat >>confdefs.h <<_ACEOF
33881 #define size_t unsigned int
33882 _ACEOF
33883
33884 fi
33885
33886 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33887 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33888 if test "${ac_cv_type_uid_t+set}" = set; then
33889 echo $ECHO_N "(cached) $ECHO_C" >&6
33890 else
33891 cat >conftest.$ac_ext <<_ACEOF
33892 /* confdefs.h. */
33893 _ACEOF
33894 cat confdefs.h >>conftest.$ac_ext
33895 cat >>conftest.$ac_ext <<_ACEOF
33896 /* end confdefs.h. */
33897 #include <sys/types.h>
33898
33899 _ACEOF
33900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33901 $EGREP "uid_t" >/dev/null 2>&1; then
33902 ac_cv_type_uid_t=yes
33903 else
33904 ac_cv_type_uid_t=no
33905 fi
33906 rm -f conftest*
33907
33908 fi
33909 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33910 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33911 if test $ac_cv_type_uid_t = no; then
33912
33913 cat >>confdefs.h <<\_ACEOF
33914 #define uid_t int
33915 _ACEOF
33916
33917
33918 cat >>confdefs.h <<\_ACEOF
33919 #define gid_t int
33920 _ACEOF
33921
33922 fi
33923
33924
33925 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33926 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33927 if test "${ac_cv_type_ssize_t+set}" = set; then
33928 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 else
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 $ac_includes_default
33937 typedef ssize_t ac__type_new_;
33938 int
33939 main ()
33940 {
33941 if ((ac__type_new_ *) 0)
33942 return 0;
33943 if (sizeof (ac__type_new_))
33944 return 0;
33945 ;
33946 return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33954 esac
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33957 ac_status=$?
33958 grep -v '^ *+' conftest.er1 >conftest.err
33959 rm -f conftest.er1
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33966 ac_cv_type_ssize_t=yes
33967 else
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33970
33971 ac_cv_type_ssize_t=no
33972 fi
33973
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 fi
33976 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33977 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33978 if test $ac_cv_type_ssize_t = yes; then
33979
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_SSIZE_T 1
33982 _ACEOF
33983
33984
33985 fi
33986
33987
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33993 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33994 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33995 if test "${wx_cv_size_t_is_uint+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 else
33998
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <stddef.h>
34006 int
34007 main ()
34008 {
34009
34010 return 0; }
34011
34012 struct Foo { void foo(size_t); void foo(unsigned int); };
34013
34014 int bar() {
34015
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_cxx_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_size_t_is_uint=no
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 wx_cv_size_t_is_uint=yes
34043
34044 fi
34045
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047
34048
34049 fi
34050 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34051 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34052
34053 if test "$wx_cv_size_t_is_uint" = "yes"; then
34054 cat >>confdefs.h <<\_ACEOF
34055 #define wxSIZE_T_IS_UINT 1
34056 _ACEOF
34057
34058 else
34059 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34060 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34061 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 #include <stddef.h>
34071 int
34072 main ()
34073 {
34074
34075 return 0; }
34076
34077 struct Foo { void foo(size_t); void foo(unsigned long); };
34078
34079 int bar() {
34080
34081 ;
34082 return 0;
34083 }
34084 _ACEOF
34085 rm -f conftest.$ac_objext
34086 if { (ac_try="$ac_compile"
34087 case "(($ac_try" in
34088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34089 *) ac_try_echo=$ac_try;;
34090 esac
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_compile") 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } && {
34099 test -z "$ac_cxx_werror_flag" ||
34100 test ! -s conftest.err
34101 } && test -s conftest.$ac_objext; then
34102 wx_cv_size_t_is_ulong=no
34103 else
34104 echo "$as_me: failed program was:" >&5
34105 sed 's/^/| /' conftest.$ac_ext >&5
34106
34107 wx_cv_size_t_is_ulong=yes
34108
34109 fi
34110
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112
34113 fi
34114 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34115 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34116
34117 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34118 cat >>confdefs.h <<\_ACEOF
34119 #define wxSIZE_T_IS_ULONG 1
34120 _ACEOF
34121
34122 fi
34123 fi
34124
34125 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34126 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34127 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 #include <wchar.h>
34137 int
34138 main ()
34139 {
34140
34141 return 0; }
34142
34143 struct Foo { void foo(wchar_t);
34144 void foo(unsigned short);
34145 void foo(unsigned int);
34146 void foo(unsigned long); };
34147
34148 int bar() {
34149
34150 ;
34151 return 0;
34152 }
34153 _ACEOF
34154 rm -f conftest.$ac_objext
34155 if { (ac_try="$ac_compile"
34156 case "(($ac_try" in
34157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34158 *) ac_try_echo=$ac_try;;
34159 esac
34160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34161 (eval "$ac_compile") 2>conftest.er1
34162 ac_status=$?
34163 grep -v '^ *+' conftest.er1 >conftest.err
34164 rm -f conftest.er1
34165 cat conftest.err >&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } && {
34168 test -z "$ac_cxx_werror_flag" ||
34169 test ! -s conftest.err
34170 } && test -s conftest.$ac_objext; then
34171 wx_cv_wchar_t_is_separate_type=yes
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 wx_cv_wchar_t_is_separate_type=no
34177
34178 fi
34179
34180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34181
34182 fi
34183 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34184 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34185
34186 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34187 cat >>confdefs.h <<\_ACEOF
34188 #define wxWCHAR_T_IS_REAL_TYPE 1
34189 _ACEOF
34190
34191 else
34192 cat >>confdefs.h <<\_ACEOF
34193 #define wxWCHAR_T_IS_REAL_TYPE 0
34194 _ACEOF
34195
34196 fi
34197
34198 ac_ext=c
34199 ac_cpp='$CPP $CPPFLAGS'
34200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34203
34204
34205 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34206 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34207 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210
34211 cat >conftest.$ac_ext <<_ACEOF
34212 /* confdefs.h. */
34213 _ACEOF
34214 cat confdefs.h >>conftest.$ac_ext
34215 cat >>conftest.$ac_ext <<_ACEOF
34216 /* end confdefs.h. */
34217 #include <pwd.h>
34218 int
34219 main ()
34220 {
34221
34222 char *p;
34223 struct passwd *pw;
34224 p = pw->pw_gecos;
34225
34226 ;
34227 return 0;
34228 }
34229 _ACEOF
34230 rm -f conftest.$ac_objext
34231 if { (ac_try="$ac_compile"
34232 case "(($ac_try" in
34233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34234 *) ac_try_echo=$ac_try;;
34235 esac
34236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34237 (eval "$ac_compile") 2>conftest.er1
34238 ac_status=$?
34239 grep -v '^ *+' conftest.er1 >conftest.err
34240 rm -f conftest.er1
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } && {
34244 test -z "$ac_c_werror_flag" ||
34245 test ! -s conftest.err
34246 } && test -s conftest.$ac_objext; then
34247
34248 wx_cv_struct_pw_gecos=yes
34249
34250 else
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34253
34254
34255 wx_cv_struct_pw_gecos=no
34256
34257
34258 fi
34259
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34261
34262
34263 fi
34264 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34265 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34266
34267 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34268 cat >>confdefs.h <<\_ACEOF
34269 #define HAVE_PW_GECOS 1
34270 _ACEOF
34271
34272 fi
34273
34274
34275 if test "$wxUSE_WCHAR_T" = "yes"; then
34276 cat >>confdefs.h <<\_ACEOF
34277 #define wxUSE_WCHAR_T 1
34278 _ACEOF
34279
34280
34281 WCSLEN_FOUND=0
34282 WCHAR_LINK=
34283
34284 for ac_func in wcslen
34285 do
34286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34291 else
34292 cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h. */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34300 #define $ac_func innocuous_$ac_func
34301
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34306
34307 #ifdef __STDC__
34308 # include <limits.h>
34309 #else
34310 # include <assert.h>
34311 #endif
34312
34313 #undef $ac_func
34314
34315 /* Override any GCC internal prototype to avoid an error.
34316 Use char because int might match the return type of a GCC
34317 builtin and then its argument prototype would still apply. */
34318 #ifdef __cplusplus
34319 extern "C"
34320 #endif
34321 char $ac_func ();
34322 /* The GNU C library defines this for functions which it implements
34323 to always fail with ENOSYS. Some functions are actually named
34324 something starting with __ and the normal name is an alias. */
34325 #if defined __stub_$ac_func || defined __stub___$ac_func
34326 choke me
34327 #endif
34328
34329 int
34330 main ()
34331 {
34332 return $ac_func ();
34333 ;
34334 return 0;
34335 }
34336 _ACEOF
34337 rm -f conftest.$ac_objext conftest$ac_exeext
34338 if { (ac_try="$ac_link"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34341 *) ac_try_echo=$ac_try;;
34342 esac
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_link") 2>conftest.er1
34345 ac_status=$?
34346 grep -v '^ *+' conftest.er1 >conftest.err
34347 rm -f conftest.er1
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest$ac_exeext &&
34354 $as_test_x conftest$ac_exeext; then
34355 eval "$as_ac_var=yes"
34356 else
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34359
34360 eval "$as_ac_var=no"
34361 fi
34362
34363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34364 conftest$ac_exeext conftest.$ac_ext
34365 fi
34366 ac_res=`eval echo '${'$as_ac_var'}'`
34367 { echo "$as_me:$LINENO: result: $ac_res" >&5
34368 echo "${ECHO_T}$ac_res" >&6; }
34369 if test `eval echo '${'$as_ac_var'}'` = yes; then
34370 cat >>confdefs.h <<_ACEOF
34371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34372 _ACEOF
34373 WCSLEN_FOUND=1
34374 fi
34375 done
34376
34377
34378 if test "$WCSLEN_FOUND" = 0; then
34379 if test "$TOOLKIT" = "MSW"; then
34380 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34381 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34382 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385 ac_check_lib_save_LIBS=$LIBS
34386 LIBS="-lmsvcrt $LIBS"
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393
34394 /* Override any GCC internal prototype to avoid an error.
34395 Use char because int might match the return type of a GCC
34396 builtin and then its argument prototype would still apply. */
34397 #ifdef __cplusplus
34398 extern "C"
34399 #endif
34400 char wcslen ();
34401 int
34402 main ()
34403 {
34404 return wcslen ();
34405 ;
34406 return 0;
34407 }
34408 _ACEOF
34409 rm -f conftest.$ac_objext conftest$ac_exeext
34410 if { (ac_try="$ac_link"
34411 case "(($ac_try" in
34412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34413 *) ac_try_echo=$ac_try;;
34414 esac
34415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34416 (eval "$ac_link") 2>conftest.er1
34417 ac_status=$?
34418 grep -v '^ *+' conftest.er1 >conftest.err
34419 rm -f conftest.er1
34420 cat conftest.err >&5
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); } && {
34423 test -z "$ac_c_werror_flag" ||
34424 test ! -s conftest.err
34425 } && test -s conftest$ac_exeext &&
34426 $as_test_x conftest$ac_exeext; then
34427 ac_cv_lib_msvcrt_wcslen=yes
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34431
34432 ac_cv_lib_msvcrt_wcslen=no
34433 fi
34434
34435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34436 conftest$ac_exeext conftest.$ac_ext
34437 LIBS=$ac_check_lib_save_LIBS
34438 fi
34439 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34440 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34441 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34442 WCHAR_OK=1
34443 fi
34444
34445 else
34446 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34447 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34448 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34449 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 else
34451 ac_check_lib_save_LIBS=$LIBS
34452 LIBS="-lw $LIBS"
34453 cat >conftest.$ac_ext <<_ACEOF
34454 /* confdefs.h. */
34455 _ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459
34460 /* Override any GCC internal prototype to avoid an error.
34461 Use char because int might match the return type of a GCC
34462 builtin and then its argument prototype would still apply. */
34463 #ifdef __cplusplus
34464 extern "C"
34465 #endif
34466 char wcslen ();
34467 int
34468 main ()
34469 {
34470 return wcslen ();
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (ac_try="$ac_link"
34477 case "(($ac_try" in
34478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34479 *) ac_try_echo=$ac_try;;
34480 esac
34481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34482 (eval "$ac_link") 2>conftest.er1
34483 ac_status=$?
34484 grep -v '^ *+' conftest.er1 >conftest.err
34485 rm -f conftest.er1
34486 cat conftest.err >&5
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); } && {
34489 test -z "$ac_c_werror_flag" ||
34490 test ! -s conftest.err
34491 } && test -s conftest$ac_exeext &&
34492 $as_test_x conftest$ac_exeext; then
34493 ac_cv_lib_w_wcslen=yes
34494 else
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34497
34498 ac_cv_lib_w_wcslen=no
34499 fi
34500
34501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34502 conftest$ac_exeext conftest.$ac_ext
34503 LIBS=$ac_check_lib_save_LIBS
34504 fi
34505 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34506 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34507 if test $ac_cv_lib_w_wcslen = yes; then
34508
34509 WCHAR_LINK=" -lw"
34510 WCSLEN_FOUND=1
34511
34512 fi
34513
34514 fi
34515 fi
34516
34517 if test "$WCSLEN_FOUND" = 1; then
34518 cat >>confdefs.h <<\_ACEOF
34519 #define HAVE_WCSLEN 1
34520 _ACEOF
34521
34522 fi
34523
34524
34525 for ac_func in wcsdup
34526 do
34527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 else
34533 cat >conftest.$ac_ext <<_ACEOF
34534 /* confdefs.h. */
34535 _ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34541 #define $ac_func innocuous_$ac_func
34542
34543 /* System header to define __stub macros and hopefully few prototypes,
34544 which can conflict with char $ac_func (); below.
34545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34546 <limits.h> exists even on freestanding compilers. */
34547
34548 #ifdef __STDC__
34549 # include <limits.h>
34550 #else
34551 # include <assert.h>
34552 #endif
34553
34554 #undef $ac_func
34555
34556 /* Override any GCC internal prototype to avoid an error.
34557 Use char because int might match the return type of a GCC
34558 builtin and then its argument prototype would still apply. */
34559 #ifdef __cplusplus
34560 extern "C"
34561 #endif
34562 char $ac_func ();
34563 /* The GNU C library defines this for functions which it implements
34564 to always fail with ENOSYS. Some functions are actually named
34565 something starting with __ and the normal name is an alias. */
34566 #if defined __stub_$ac_func || defined __stub___$ac_func
34567 choke me
34568 #endif
34569
34570 int
34571 main ()
34572 {
34573 return $ac_func ();
34574 ;
34575 return 0;
34576 }
34577 _ACEOF
34578 rm -f conftest.$ac_objext conftest$ac_exeext
34579 if { (ac_try="$ac_link"
34580 case "(($ac_try" in
34581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34582 *) ac_try_echo=$ac_try;;
34583 esac
34584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34585 (eval "$ac_link") 2>conftest.er1
34586 ac_status=$?
34587 grep -v '^ *+' conftest.er1 >conftest.err
34588 rm -f conftest.er1
34589 cat conftest.err >&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } && {
34592 test -z "$ac_c_werror_flag" ||
34593 test ! -s conftest.err
34594 } && test -s conftest$ac_exeext &&
34595 $as_test_x conftest$ac_exeext; then
34596 eval "$as_ac_var=yes"
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34600
34601 eval "$as_ac_var=no"
34602 fi
34603
34604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34605 conftest$ac_exeext conftest.$ac_ext
34606 fi
34607 ac_res=`eval echo '${'$as_ac_var'}'`
34608 { echo "$as_me:$LINENO: result: $ac_res" >&5
34609 echo "${ECHO_T}$ac_res" >&6; }
34610 if test `eval echo '${'$as_ac_var'}'` = yes; then
34611 cat >>confdefs.h <<_ACEOF
34612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34613 _ACEOF
34614
34615 fi
34616 done
34617
34618
34619 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34620 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34621 fi
34622
34623 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34624 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34625 if test "${ac_cv_type_mbstate_t+set}" = set; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 else
34628 cat >conftest.$ac_ext <<_ACEOF
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634 #include <wchar.h>
34635
34636 typedef mbstate_t ac__type_new_;
34637 int
34638 main ()
34639 {
34640 if ((ac__type_new_ *) 0)
34641 return 0;
34642 if (sizeof (ac__type_new_))
34643 return 0;
34644 ;
34645 return 0;
34646 }
34647 _ACEOF
34648 rm -f conftest.$ac_objext
34649 if { (ac_try="$ac_compile"
34650 case "(($ac_try" in
34651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34652 *) ac_try_echo=$ac_try;;
34653 esac
34654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34655 (eval "$ac_compile") 2>conftest.er1
34656 ac_status=$?
34657 grep -v '^ *+' conftest.er1 >conftest.err
34658 rm -f conftest.er1
34659 cat conftest.err >&5
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); } && {
34662 test -z "$ac_c_werror_flag" ||
34663 test ! -s conftest.err
34664 } && test -s conftest.$ac_objext; then
34665 ac_cv_type_mbstate_t=yes
34666 else
34667 echo "$as_me: failed program was:" >&5
34668 sed 's/^/| /' conftest.$ac_ext >&5
34669
34670 ac_cv_type_mbstate_t=no
34671 fi
34672
34673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34674 fi
34675 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34676 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34677 if test $ac_cv_type_mbstate_t = yes; then
34678
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_MBSTATE_T 1
34681 _ACEOF
34682
34683
34684 for ac_func in wcsrtombs
34685 do
34686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34700 #define $ac_func innocuous_$ac_func
34701
34702 /* System header to define __stub macros and hopefully few prototypes,
34703 which can conflict with char $ac_func (); below.
34704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34705 <limits.h> exists even on freestanding compilers. */
34706
34707 #ifdef __STDC__
34708 # include <limits.h>
34709 #else
34710 # include <assert.h>
34711 #endif
34712
34713 #undef $ac_func
34714
34715 /* Override any GCC internal prototype to avoid an error.
34716 Use char because int might match the return type of a GCC
34717 builtin and then its argument prototype would still apply. */
34718 #ifdef __cplusplus
34719 extern "C"
34720 #endif
34721 char $ac_func ();
34722 /* The GNU C library defines this for functions which it implements
34723 to always fail with ENOSYS. Some functions are actually named
34724 something starting with __ and the normal name is an alias. */
34725 #if defined __stub_$ac_func || defined __stub___$ac_func
34726 choke me
34727 #endif
34728
34729 int
34730 main ()
34731 {
34732 return $ac_func ();
34733 ;
34734 return 0;
34735 }
34736 _ACEOF
34737 rm -f conftest.$ac_objext conftest$ac_exeext
34738 if { (ac_try="$ac_link"
34739 case "(($ac_try" in
34740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34741 *) ac_try_echo=$ac_try;;
34742 esac
34743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34744 (eval "$ac_link") 2>conftest.er1
34745 ac_status=$?
34746 grep -v '^ *+' conftest.er1 >conftest.err
34747 rm -f conftest.er1
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && {
34751 test -z "$ac_c_werror_flag" ||
34752 test ! -s conftest.err
34753 } && test -s conftest$ac_exeext &&
34754 $as_test_x conftest$ac_exeext; then
34755 eval "$as_ac_var=yes"
34756 else
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34759
34760 eval "$as_ac_var=no"
34761 fi
34762
34763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34764 conftest$ac_exeext conftest.$ac_ext
34765 fi
34766 ac_res=`eval echo '${'$as_ac_var'}'`
34767 { echo "$as_me:$LINENO: result: $ac_res" >&5
34768 echo "${ECHO_T}$ac_res" >&6; }
34769 if test `eval echo '${'$as_ac_var'}'` = yes; then
34770 cat >>confdefs.h <<_ACEOF
34771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34772 _ACEOF
34773
34774 fi
34775 done
34776
34777 fi
34778
34779 else
34780 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34781 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34782 fi
34783
34784
34785
34786 for ac_func in snprintf vsnprintf
34787 do
34788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h. */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34802 #define $ac_func innocuous_$ac_func
34803
34804 /* System header to define __stub macros and hopefully few prototypes,
34805 which can conflict with char $ac_func (); below.
34806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34807 <limits.h> exists even on freestanding compilers. */
34808
34809 #ifdef __STDC__
34810 # include <limits.h>
34811 #else
34812 # include <assert.h>
34813 #endif
34814
34815 #undef $ac_func
34816
34817 /* Override any GCC internal prototype to avoid an error.
34818 Use char because int might match the return type of a GCC
34819 builtin and then its argument prototype would still apply. */
34820 #ifdef __cplusplus
34821 extern "C"
34822 #endif
34823 char $ac_func ();
34824 /* The GNU C library defines this for functions which it implements
34825 to always fail with ENOSYS. Some functions are actually named
34826 something starting with __ and the normal name is an alias. */
34827 #if defined __stub_$ac_func || defined __stub___$ac_func
34828 choke me
34829 #endif
34830
34831 int
34832 main ()
34833 {
34834 return $ac_func ();
34835 ;
34836 return 0;
34837 }
34838 _ACEOF
34839 rm -f conftest.$ac_objext conftest$ac_exeext
34840 if { (ac_try="$ac_link"
34841 case "(($ac_try" in
34842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34843 *) ac_try_echo=$ac_try;;
34844 esac
34845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34846 (eval "$ac_link") 2>conftest.er1
34847 ac_status=$?
34848 grep -v '^ *+' conftest.er1 >conftest.err
34849 rm -f conftest.er1
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } && {
34853 test -z "$ac_c_werror_flag" ||
34854 test ! -s conftest.err
34855 } && test -s conftest$ac_exeext &&
34856 $as_test_x conftest$ac_exeext; then
34857 eval "$as_ac_var=yes"
34858 else
34859 echo "$as_me: failed program was:" >&5
34860 sed 's/^/| /' conftest.$ac_ext >&5
34861
34862 eval "$as_ac_var=no"
34863 fi
34864
34865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34866 conftest$ac_exeext conftest.$ac_ext
34867 fi
34868 ac_res=`eval echo '${'$as_ac_var'}'`
34869 { echo "$as_me:$LINENO: result: $ac_res" >&5
34870 echo "${ECHO_T}$ac_res" >&6; }
34871 if test `eval echo '${'$as_ac_var'}'` = yes; then
34872 cat >>confdefs.h <<_ACEOF
34873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34874 _ACEOF
34875
34876 fi
34877 done
34878
34879
34880 if test "$ac_cv_func_vsnprintf" = "yes"; then
34881 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34882 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34883 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 else
34886
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34893
34894 #include <stdio.h>
34895 #include <stdarg.h>
34896 #ifdef __MSL__
34897 #if __MSL__ >= 0x6000
34898 namespace std {}
34899 using namespace std;
34900 #endif
34901 #endif
34902
34903 int
34904 main ()
34905 {
34906
34907 char *buf;
34908 va_list ap;
34909 vsnprintf(buf, 10u, "%s", ap);
34910
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_func_vsnprintf_decl=yes
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 wx_cv_func_vsnprintf_decl=no
34938
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34942
34943
34944 fi
34945 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34946 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34947
34948 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34949 cat >>confdefs.h <<\_ACEOF
34950 #define HAVE_VSNPRINTF_DECL 1
34951 _ACEOF
34952
34953
34954 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34955 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34956 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 else
34959
34960 cat >conftest.$ac_ext <<_ACEOF
34961 /* confdefs.h. */
34962 _ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966
34967 #include <stdio.h>
34968 #include <stdarg.h>
34969 #ifdef __MSL__
34970 #if __MSL__ >= 0x6000
34971 namespace std {}
34972 using namespace std;
34973 #endif
34974 #endif
34975
34976 int
34977 main ()
34978 {
34979
34980 char *buf;
34981 va_list ap;
34982 const char *fmt = "%s";
34983 vsnprintf(buf, 10u, fmt, ap);
34984
34985 ;
34986 return 0;
34987 }
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (ac_try="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34994 esac
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34997 ac_status=$?
34998 grep -v '^ *+' conftest.er1 >conftest.err
34999 rm -f conftest.er1
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35006 wx_cv_func_broken_vsnprintf_decl=no
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 wx_cv_func_broken_vsnprintf_decl=yes
35012
35013 fi
35014
35015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35016
35017
35018 fi
35019 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35020 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35021
35022 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35025 _ACEOF
35026
35027 fi
35028 fi
35029 fi
35030
35031 if test "$ac_cv_func_snprintf" = "yes"; then
35032 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35033 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35034 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35035 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 else
35037
35038 cat >conftest.$ac_ext <<_ACEOF
35039 /* confdefs.h. */
35040 _ACEOF
35041 cat confdefs.h >>conftest.$ac_ext
35042 cat >>conftest.$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35044
35045 #include <stdio.h>
35046 #include <stdarg.h>
35047 #ifdef __MSL__
35048 #if __MSL__ >= 0x6000
35049 namespace std {}
35050 using namespace std;
35051 #endif
35052 #endif
35053
35054 int
35055 main ()
35056 {
35057
35058 char *buf;
35059 snprintf(buf, 10u, "%s", "wx");
35060
35061 ;
35062 return 0;
35063 }
35064 _ACEOF
35065 rm -f conftest.$ac_objext
35066 if { (ac_try="$ac_compile"
35067 case "(($ac_try" in
35068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35069 *) ac_try_echo=$ac_try;;
35070 esac
35071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35072 (eval "$ac_compile") 2>conftest.er1
35073 ac_status=$?
35074 grep -v '^ *+' conftest.er1 >conftest.err
35075 rm -f conftest.er1
35076 cat conftest.err >&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } && {
35079 test -z "$ac_c_werror_flag" ||
35080 test ! -s conftest.err
35081 } && test -s conftest.$ac_objext; then
35082 wx_cv_func_snprintf_decl=yes
35083 else
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35086
35087 wx_cv_func_snprintf_decl=no
35088
35089 fi
35090
35091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35092
35093
35094 fi
35095 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35096 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35097
35098 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35099 cat >>confdefs.h <<\_ACEOF
35100 #define HAVE_SNPRINTF_DECL 1
35101 _ACEOF
35102
35103 fi
35104
35105 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35106
35107 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35108 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35109 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35110 echo $ECHO_N "(cached) $ECHO_C" >&6
35111 else
35112
35113 if test "$cross_compiling" = yes; then
35114
35115 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35116 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35117 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35118 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35119 wx_cv_func_snprintf_pos_params=no
35120
35121
35122 else
35123 cat >conftest.$ac_ext <<_ACEOF
35124 /* confdefs.h. */
35125 _ACEOF
35126 cat confdefs.h >>conftest.$ac_ext
35127 cat >>conftest.$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35129
35130 #include <stdio.h>
35131
35132 int main (void)
35133 {
35134 char buffer[128];
35135 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35136 if (strcmp ("2 3 1", buffer) == 0)
35137 exit (0);
35138 exit (1);
35139 }
35140
35141 _ACEOF
35142 rm -f conftest$ac_exeext
35143 if { (ac_try="$ac_link"
35144 case "(($ac_try" in
35145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35146 *) ac_try_echo=$ac_try;;
35147 esac
35148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35149 (eval "$ac_link") 2>&5
35150 ac_status=$?
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35153 { (case "(($ac_try" in
35154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35155 *) ac_try_echo=$ac_try;;
35156 esac
35157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 (eval "$ac_try") 2>&5
35159 ac_status=$?
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 wx_cv_func_snprintf_pos_params=no
35163 else
35164 echo "$as_me: program exited with status $ac_status" >&5
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 ( exit $ac_status )
35169 wx_cv_func_snprintf_pos_params=yes
35170 fi
35171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35172 fi
35173
35174
35175
35176
35177 fi
35178 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35179 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35180
35181 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35182 cat >>confdefs.h <<\_ACEOF
35183 #define HAVE_UNIX98_PRINTF 1
35184 _ACEOF
35185
35186 fi
35187 fi
35188 fi
35189
35190 if test "$wxUSE_UNICODE" = yes; then
35191
35192 wchar_headers="#include <stdio.h>
35193 #include <wchar.h>"
35194 case "${host}" in
35195 *-*-solaris2* )
35196
35197 for ac_header in widec.h
35198 do
35199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35205 cat >conftest.$ac_ext <<_ACEOF
35206 /* confdefs.h. */
35207 _ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211 $ac_includes_default
35212
35213 #include <$ac_header>
35214 _ACEOF
35215 rm -f conftest.$ac_objext
35216 if { (ac_try="$ac_compile"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35220 esac
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_compile") 2>conftest.er1
35223 ac_status=$?
35224 grep -v '^ *+' conftest.er1 >conftest.err
35225 rm -f conftest.er1
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest.$ac_objext; then
35232 eval "$as_ac_Header=yes"
35233 else
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 eval "$as_ac_Header=no"
35238 fi
35239
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 fi
35242 ac_res=`eval echo '${'$as_ac_Header'}'`
35243 { echo "$as_me:$LINENO: result: $ac_res" >&5
35244 echo "${ECHO_T}$ac_res" >&6; }
35245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35246 cat >>confdefs.h <<_ACEOF
35247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35248 _ACEOF
35249
35250 fi
35251
35252 done
35253
35254 if test "$ac_cv_header_widec_h" = "yes"; then
35255 wchar_headers="$wchar_headers
35256 #include <widec.h>"
35257 fi
35258 esac
35259
35260
35261 for wx_func in putws fputws wprintf vswprintf
35262 do
35263 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35265 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268
35269 cat >conftest.$ac_ext <<_ACEOF
35270
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276
35277 $wchar_headers
35278 $ac_includes_default
35279
35280 int
35281 main ()
35282 {
35283
35284 #ifndef $wx_func
35285 &$wx_func;
35286 #endif
35287
35288
35289 ;
35290 return 0;
35291 }
35292
35293 _ACEOF
35294 rm -f conftest.$ac_objext conftest$ac_exeext
35295 if { (ac_try="$ac_link"
35296 case "(($ac_try" in
35297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35298 *) ac_try_echo=$ac_try;;
35299 esac
35300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35301 (eval "$ac_link") 2>conftest.er1
35302 ac_status=$?
35303 grep -v '^ *+' conftest.er1 >conftest.err
35304 rm -f conftest.er1
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } && {
35308 test -z "$ac_c_werror_flag" ||
35309 test ! -s conftest.err
35310 } && test -s conftest$ac_exeext &&
35311 $as_test_x conftest$ac_exeext; then
35312 eval wx_cv_func_$wx_func=yes
35313 else
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35316
35317 eval wx_cv_func_$wx_func=no
35318 fi
35319
35320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35321 conftest$ac_exeext conftest.$ac_ext
35322
35323 fi
35324 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35325 { echo "$as_me:$LINENO: result: $ac_res" >&5
35326 echo "${ECHO_T}$ac_res" >&6; }
35327
35328 if eval test \$wx_cv_func_$wx_func = yes
35329 then
35330 cat >>confdefs.h <<_ACEOF
35331 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35332 _ACEOF
35333
35334
35335 else
35336 :
35337
35338 fi
35339 done
35340
35341
35342 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35343 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35344 cat >conftest.$ac_ext <<_ACEOF
35345 /* confdefs.h. */
35346 _ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35350 #include <wchar.h>
35351 int
35352 main ()
35353 {
35354 &_vsnwprintf;
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35364 esac
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 { echo "$as_me:$LINENO: result: yes" >&5
35377 echo "${ECHO_T}yes" >&6; }
35378 cat >>confdefs.h <<\_ACEOF
35379 #define HAVE__VSNWPRINTF 1
35380 _ACEOF
35381
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 { echo "$as_me:$LINENO: result: no" >&5
35387 echo "${ECHO_T}no" >&6; }
35388 fi
35389
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35391 fi
35392
35393 if test "$wxUSE_FILE" = "yes"; then
35394
35395 for wx_func in fsync
35396 do
35397 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35398 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35399 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402
35403 cat >conftest.$ac_ext <<_ACEOF
35404
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 $ac_includes_default
35413
35414 int
35415 main ()
35416 {
35417
35418 #ifndef $wx_func
35419 &$wx_func;
35420 #endif
35421
35422
35423 ;
35424 return 0;
35425 }
35426
35427 _ACEOF
35428 rm -f conftest.$ac_objext conftest$ac_exeext
35429 if { (ac_try="$ac_link"
35430 case "(($ac_try" in
35431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35432 *) ac_try_echo=$ac_try;;
35433 esac
35434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35435 (eval "$ac_link") 2>conftest.er1
35436 ac_status=$?
35437 grep -v '^ *+' conftest.er1 >conftest.err
35438 rm -f conftest.er1
35439 cat conftest.err >&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } && {
35442 test -z "$ac_c_werror_flag" ||
35443 test ! -s conftest.err
35444 } && test -s conftest$ac_exeext &&
35445 $as_test_x conftest$ac_exeext; then
35446 eval wx_cv_func_$wx_func=yes
35447 else
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35450
35451 eval wx_cv_func_$wx_func=no
35452 fi
35453
35454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35455 conftest$ac_exeext conftest.$ac_ext
35456
35457 fi
35458 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35459 { echo "$as_me:$LINENO: result: $ac_res" >&5
35460 echo "${ECHO_T}$ac_res" >&6; }
35461
35462 if eval test \$wx_cv_func_$wx_func = yes
35463 then
35464 cat >>confdefs.h <<_ACEOF
35465 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35466 _ACEOF
35467
35468
35469 else
35470 :
35471
35472 fi
35473 done
35474
35475 fi
35476
35477 ac_ext=cpp
35478 ac_cpp='$CXXCPP $CPPFLAGS'
35479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482
35483
35484 for wx_func in round
35485 do
35486 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35488 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 else
35491
35492 cat >conftest.$ac_ext <<_ACEOF
35493
35494 /* confdefs.h. */
35495 _ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499
35500 #include <math.h>
35501 $ac_includes_default
35502
35503 int
35504 main ()
35505 {
35506
35507 #ifndef $wx_func
35508 &$wx_func;
35509 #endif
35510
35511
35512 ;
35513 return 0;
35514 }
35515
35516 _ACEOF
35517 rm -f conftest.$ac_objext conftest$ac_exeext
35518 if { (ac_try="$ac_link"
35519 case "(($ac_try" in
35520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35521 *) ac_try_echo=$ac_try;;
35522 esac
35523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35524 (eval "$ac_link") 2>conftest.er1
35525 ac_status=$?
35526 grep -v '^ *+' conftest.er1 >conftest.err
35527 rm -f conftest.er1
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } && {
35531 test -z "$ac_cxx_werror_flag" ||
35532 test ! -s conftest.err
35533 } && test -s conftest$ac_exeext &&
35534 $as_test_x conftest$ac_exeext; then
35535 eval wx_cv_func_$wx_func=yes
35536 else
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35539
35540 eval wx_cv_func_$wx_func=no
35541 fi
35542
35543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35544 conftest$ac_exeext conftest.$ac_ext
35545
35546 fi
35547 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35548 { echo "$as_me:$LINENO: result: $ac_res" >&5
35549 echo "${ECHO_T}$ac_res" >&6; }
35550
35551 if eval test \$wx_cv_func_$wx_func = yes
35552 then
35553 cat >>confdefs.h <<_ACEOF
35554 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35555 _ACEOF
35556
35557
35558 else
35559 :
35560
35561 fi
35562 done
35563
35564 ac_ext=c
35565 ac_cpp='$CPP $CPPFLAGS'
35566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35569
35570
35571 if test "$TOOLKIT" != "MSW"; then
35572
35573
35574
35575
35576
35577 # Check whether --with-libiconv-prefix was given.
35578 if test "${with_libiconv_prefix+set}" = set; then
35579 withval=$with_libiconv_prefix;
35580 for dir in `echo "$withval" | tr : ' '`; do
35581 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35582 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35583 done
35584
35585 fi
35586
35587
35588 { echo "$as_me:$LINENO: checking for iconv" >&5
35589 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35590 if test "${am_cv_func_iconv+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 else
35593
35594 am_cv_func_iconv="no, consider installing GNU libiconv"
35595 am_cv_lib_iconv=no
35596 cat >conftest.$ac_ext <<_ACEOF
35597 /* confdefs.h. */
35598 _ACEOF
35599 cat confdefs.h >>conftest.$ac_ext
35600 cat >>conftest.$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602 #include <stdlib.h>
35603 #include <iconv.h>
35604 int
35605 main ()
35606 {
35607 iconv_t cd = iconv_open("","");
35608 iconv(cd,NULL,NULL,NULL,NULL);
35609 iconv_close(cd);
35610 ;
35611 return 0;
35612 }
35613 _ACEOF
35614 rm -f conftest.$ac_objext conftest$ac_exeext
35615 if { (ac_try="$ac_link"
35616 case "(($ac_try" in
35617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35618 *) ac_try_echo=$ac_try;;
35619 esac
35620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35621 (eval "$ac_link") 2>conftest.er1
35622 ac_status=$?
35623 grep -v '^ *+' conftest.er1 >conftest.err
35624 rm -f conftest.er1
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } && {
35628 test -z "$ac_c_werror_flag" ||
35629 test ! -s conftest.err
35630 } && test -s conftest$ac_exeext &&
35631 $as_test_x conftest$ac_exeext; then
35632 am_cv_func_iconv=yes
35633 else
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637
35638 fi
35639
35640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35641 conftest$ac_exeext conftest.$ac_ext
35642 if test "$am_cv_func_iconv" != yes; then
35643 am_save_LIBS="$LIBS"
35644 LIBS="$LIBS -liconv"
35645 cat >conftest.$ac_ext <<_ACEOF
35646 /* confdefs.h. */
35647 _ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 #include <stdlib.h>
35652 #include <iconv.h>
35653 int
35654 main ()
35655 {
35656 iconv_t cd = iconv_open("","");
35657 iconv(cd,NULL,NULL,NULL,NULL);
35658 iconv_close(cd);
35659 ;
35660 return 0;
35661 }
35662 _ACEOF
35663 rm -f conftest.$ac_objext conftest$ac_exeext
35664 if { (ac_try="$ac_link"
35665 case "(($ac_try" in
35666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35667 *) ac_try_echo=$ac_try;;
35668 esac
35669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35670 (eval "$ac_link") 2>conftest.er1
35671 ac_status=$?
35672 grep -v '^ *+' conftest.er1 >conftest.err
35673 rm -f conftest.er1
35674 cat conftest.err >&5
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); } && {
35677 test -z "$ac_c_werror_flag" ||
35678 test ! -s conftest.err
35679 } && test -s conftest$ac_exeext &&
35680 $as_test_x conftest$ac_exeext; then
35681 am_cv_lib_iconv=yes
35682 am_cv_func_iconv=yes
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35686
35687
35688 fi
35689
35690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35691 conftest$ac_exeext conftest.$ac_ext
35692 LIBS="$am_save_LIBS"
35693 fi
35694
35695 fi
35696 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35697 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35698 if test "$am_cv_func_iconv" = yes; then
35699
35700 cat >>confdefs.h <<\_ACEOF
35701 #define HAVE_ICONV 1
35702 _ACEOF
35703
35704 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35705 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35706 if test "${wx_cv_func_iconv_const+set}" = set; then
35707 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 else
35709 cat >conftest.$ac_ext <<_ACEOF
35710 /* confdefs.h. */
35711 _ACEOF
35712 cat confdefs.h >>conftest.$ac_ext
35713 cat >>conftest.$ac_ext <<_ACEOF
35714 /* end confdefs.h. */
35715
35716 #include <stdlib.h>
35717 #include <iconv.h>
35718 extern
35719 #ifdef __cplusplus
35720 "C"
35721 #endif
35722 #if defined(__STDC__) || defined(__cplusplus)
35723 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35724 #else
35725 size_t iconv();
35726 #endif
35727
35728 int
35729 main ()
35730 {
35731
35732 ;
35733 return 0;
35734 }
35735 _ACEOF
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 wx_cv_func_iconv_const="no"
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 wx_cv_func_iconv_const="yes"
35759
35760 fi
35761
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763
35764 fi
35765 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35766 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35767
35768 iconv_const=
35769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35770 iconv_const="const"
35771 fi
35772
35773
35774 cat >>confdefs.h <<_ACEOF
35775 #define ICONV_CONST $iconv_const
35776 _ACEOF
35777
35778 fi
35779 LIBICONV=
35780 if test "$am_cv_lib_iconv" = yes; then
35781 LIBICONV="-liconv"
35782 fi
35783
35784
35785 LIBS="$LIBICONV $LIBS"
35786
35787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35788
35789 for ac_func in sigaction
35790 do
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 else
35797 cat >conftest.$ac_ext <<_ACEOF
35798 /* confdefs.h. */
35799 _ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35805 #define $ac_func innocuous_$ac_func
35806
35807 /* System header to define __stub macros and hopefully few prototypes,
35808 which can conflict with char $ac_func (); below.
35809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35810 <limits.h> exists even on freestanding compilers. */
35811
35812 #ifdef __STDC__
35813 # include <limits.h>
35814 #else
35815 # include <assert.h>
35816 #endif
35817
35818 #undef $ac_func
35819
35820 /* Override any GCC internal prototype to avoid an error.
35821 Use char because int might match the return type of a GCC
35822 builtin and then its argument prototype would still apply. */
35823 #ifdef __cplusplus
35824 extern "C"
35825 #endif
35826 char $ac_func ();
35827 /* The GNU C library defines this for functions which it implements
35828 to always fail with ENOSYS. Some functions are actually named
35829 something starting with __ and the normal name is an alias. */
35830 #if defined __stub_$ac_func || defined __stub___$ac_func
35831 choke me
35832 #endif
35833
35834 int
35835 main ()
35836 {
35837 return $ac_func ();
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (ac_try="$ac_link"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_link") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest$ac_exeext &&
35859 $as_test_x conftest$ac_exeext; then
35860 eval "$as_ac_var=yes"
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865 eval "$as_ac_var=no"
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35869 conftest$ac_exeext conftest.$ac_ext
35870 fi
35871 ac_res=`eval echo '${'$as_ac_var'}'`
35872 { echo "$as_me:$LINENO: result: $ac_res" >&5
35873 echo "${ECHO_T}$ac_res" >&6; }
35874 if test `eval echo '${'$as_ac_var'}'` = yes; then
35875 cat >>confdefs.h <<_ACEOF
35876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35877 _ACEOF
35878
35879 fi
35880 done
35881
35882
35883 if test "$ac_cv_func_sigaction" = "no"; then
35884 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35885 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35886 wxUSE_ON_FATAL_EXCEPTION=no
35887 fi
35888
35889 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35890 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35891 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35892 if test "${wx_cv_type_sa_handler+set}" = set; then
35893 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 else
35895
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901
35902 cat >conftest.$ac_ext <<_ACEOF
35903 /* confdefs.h. */
35904 _ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35908 #include <signal.h>
35909 int
35910 main ()
35911 {
35912
35913 extern void testSigHandler(int);
35914
35915 struct sigaction sa;
35916 sa.sa_handler = testSigHandler;
35917
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35927 esac
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_cxx_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.$ac_objext; then
35939
35940 wx_cv_type_sa_handler=int
35941
35942 else
35943 echo "$as_me: failed program was:" >&5
35944 sed 's/^/| /' conftest.$ac_ext >&5
35945
35946
35947 wx_cv_type_sa_handler=void
35948
35949 fi
35950
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958
35959 fi
35960 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35961 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35962
35963 cat >>confdefs.h <<_ACEOF
35964 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35965 _ACEOF
35966
35967 fi
35968 fi
35969
35970 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35971 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35972 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35973 if test "${wx_cv_func_backtrace+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 else
35976
35977 ac_ext=cpp
35978 ac_cpp='$CXXCPP $CPPFLAGS'
35979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35982
35983 cat >conftest.$ac_ext <<_ACEOF
35984 /* confdefs.h. */
35985 _ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989 #include <execinfo.h>
35990 int
35991 main ()
35992 {
35993
35994 void *trace[1];
35995 char **messages;
35996
35997 backtrace(trace, 1);
35998 messages = backtrace_symbols(trace, 1);
35999
36000 ;
36001 return 0;
36002 }
36003 _ACEOF
36004 rm -f conftest.$ac_objext
36005 if { (ac_try="$ac_compile"
36006 case "(($ac_try" in
36007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36008 *) ac_try_echo=$ac_try;;
36009 esac
36010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36011 (eval "$ac_compile") 2>conftest.er1
36012 ac_status=$?
36013 grep -v '^ *+' conftest.er1 >conftest.err
36014 rm -f conftest.er1
36015 cat conftest.err >&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); } && {
36018 test -z "$ac_cxx_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest.$ac_objext; then
36021 wx_cv_func_backtrace=yes
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 wx_cv_func_backtrace=no
36027
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036
36037
36038
36039 fi
36040 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36041 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36042
36043
36044 if test "$wx_cv_func_backtrace" = "no"; then
36045 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36046 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36047 wxUSE_STACKWALKER=no
36048 else
36049 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36050 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36051 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36053 else
36054
36055 ac_ext=cpp
36056 ac_cpp='$CXXCPP $CPPFLAGS'
36057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060
36061 cat >conftest.$ac_ext <<_ACEOF
36062 /* confdefs.h. */
36063 _ACEOF
36064 cat confdefs.h >>conftest.$ac_ext
36065 cat >>conftest.$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067 #include <cxxabi.h>
36068 int
36069 main ()
36070 {
36071
36072 int rc;
36073 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36074
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 rm -f conftest.$ac_objext conftest$ac_exeext
36080 if { (ac_try="$ac_link"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36084 esac
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_link") 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_cxx_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest$ac_exeext &&
36096 $as_test_x conftest$ac_exeext; then
36097 wx_cv_func_cxa_demangle=yes
36098 else
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36101
36102 wx_cv_func_cxa_demangle=no
36103
36104 fi
36105
36106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36107 conftest$ac_exeext conftest.$ac_ext
36108 ac_ext=c
36109 ac_cpp='$CPP $CPPFLAGS'
36110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113
36114
36115
36116 fi
36117 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36118 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36119
36120 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36121 cat >>confdefs.h <<\_ACEOF
36122 #define HAVE_CXA_DEMANGLE 1
36123 _ACEOF
36124
36125 fi
36126 fi
36127 fi
36128
36129 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36130 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36131 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36132 wxUSE_STACKWALKER=no
36133 fi
36134
36135
36136
36137
36138 for ac_func in mkstemp mktemp
36139 do
36140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36146 cat >conftest.$ac_ext <<_ACEOF
36147 /* confdefs.h. */
36148 _ACEOF
36149 cat confdefs.h >>conftest.$ac_ext
36150 cat >>conftest.$ac_ext <<_ACEOF
36151 /* end confdefs.h. */
36152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36154 #define $ac_func innocuous_$ac_func
36155
36156 /* System header to define __stub macros and hopefully few prototypes,
36157 which can conflict with char $ac_func (); below.
36158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36159 <limits.h> exists even on freestanding compilers. */
36160
36161 #ifdef __STDC__
36162 # include <limits.h>
36163 #else
36164 # include <assert.h>
36165 #endif
36166
36167 #undef $ac_func
36168
36169 /* Override any GCC internal prototype to avoid an error.
36170 Use char because int might match the return type of a GCC
36171 builtin and then its argument prototype would still apply. */
36172 #ifdef __cplusplus
36173 extern "C"
36174 #endif
36175 char $ac_func ();
36176 /* The GNU C library defines this for functions which it implements
36177 to always fail with ENOSYS. Some functions are actually named
36178 something starting with __ and the normal name is an alias. */
36179 #if defined __stub_$ac_func || defined __stub___$ac_func
36180 choke me
36181 #endif
36182
36183 int
36184 main ()
36185 {
36186 return $ac_func ();
36187 ;
36188 return 0;
36189 }
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (ac_try="$ac_link"
36193 case "(($ac_try" in
36194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36196 esac
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_link") 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_c_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest$ac_exeext &&
36208 $as_test_x conftest$ac_exeext; then
36209 eval "$as_ac_var=yes"
36210 else
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36213
36214 eval "$as_ac_var=no"
36215 fi
36216
36217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36218 conftest$ac_exeext conftest.$ac_ext
36219 fi
36220 ac_res=`eval echo '${'$as_ac_var'}'`
36221 { echo "$as_me:$LINENO: result: $ac_res" >&5
36222 echo "${ECHO_T}$ac_res" >&6; }
36223 if test `eval echo '${'$as_ac_var'}'` = yes; then
36224 cat >>confdefs.h <<_ACEOF
36225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36226 _ACEOF
36227 break
36228 fi
36229 done
36230
36231
36232 { echo "$as_me:$LINENO: checking for statfs" >&5
36233 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_statfs+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237 cat >conftest.$ac_ext <<_ACEOF
36238 /* confdefs.h. */
36239 _ACEOF
36240 cat confdefs.h >>conftest.$ac_ext
36241 cat >>conftest.$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36243
36244 #if defined(__BSD__)
36245 #include <sys/param.h>
36246 #include <sys/mount.h>
36247 #else
36248 #include <sys/vfs.h>
36249 #endif
36250
36251 int
36252 main ()
36253 {
36254
36255 long l;
36256 struct statfs fs;
36257 statfs("/", &fs);
36258 l = fs.f_bsize;
36259 l += fs.f_blocks;
36260 l += fs.f_bavail;
36261
36262 ;
36263 return 0;
36264 }
36265 _ACEOF
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36270 *) ac_try_echo=$ac_try;;
36271 esac
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36274 ac_status=$?
36275 grep -v '^ *+' conftest.er1 >conftest.err
36276 rm -f conftest.er1
36277 cat conftest.err >&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.$ac_objext; then
36283 wx_cv_func_statfs=yes
36284 else
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36287
36288 wx_cv_func_statfs=no
36289
36290 fi
36291
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293
36294 fi
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36296 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36297
36298 if test "$wx_cv_func_statfs" = "yes"; then
36299 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36300 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36301 if test "${wx_cv_func_statfs_decl+set}" = set; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 else
36304 ac_ext=cpp
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309
36310 cat >conftest.$ac_ext <<_ACEOF
36311 /* confdefs.h. */
36312 _ACEOF
36313 cat confdefs.h >>conftest.$ac_ext
36314 cat >>conftest.$ac_ext <<_ACEOF
36315 /* end confdefs.h. */
36316
36317 #if defined(__BSD__)
36318 #include <sys/param.h>
36319 #include <sys/mount.h>
36320 #else
36321 #include <sys/vfs.h>
36322 #endif
36323
36324 int
36325 main ()
36326 {
36327
36328 struct statfs fs;
36329 statfs("", &fs);
36330
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext
36336 if { (ac_try="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36340 esac
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36343 ac_status=$?
36344 grep -v '^ *+' conftest.er1 >conftest.err
36345 rm -f conftest.er1
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_cxx_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 wx_cv_func_statfs_decl=yes
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357 wx_cv_func_statfs_decl=no
36358
36359 fi
36360
36361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36362 ac_ext=c
36363 ac_cpp='$CPP $CPPFLAGS'
36364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367
36368
36369 fi
36370 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36371 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36372
36373 if test "$wx_cv_func_statfs_decl" = "yes"; then
36374 cat >>confdefs.h <<\_ACEOF
36375 #define HAVE_STATFS_DECL 1
36376 _ACEOF
36377
36378 fi
36379
36380 wx_cv_type_statvfs_t="struct statfs"
36381 cat >>confdefs.h <<\_ACEOF
36382 #define HAVE_STATFS 1
36383 _ACEOF
36384
36385 else
36386 { echo "$as_me:$LINENO: checking for statvfs" >&5
36387 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36388 if test "${wx_cv_func_statvfs+set}" = set; then
36389 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 else
36391 cat >conftest.$ac_ext <<_ACEOF
36392 /* confdefs.h. */
36393 _ACEOF
36394 cat confdefs.h >>conftest.$ac_ext
36395 cat >>conftest.$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36397
36398 #include <stddef.h>
36399 #include <sys/statvfs.h>
36400
36401 int
36402 main ()
36403 {
36404
36405 statvfs("/", NULL);
36406
36407 ;
36408 return 0;
36409 }
36410 _ACEOF
36411 rm -f conftest.$ac_objext
36412 if { (ac_try="$ac_compile"
36413 case "(($ac_try" in
36414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415 *) ac_try_echo=$ac_try;;
36416 esac
36417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418 (eval "$ac_compile") 2>conftest.er1
36419 ac_status=$?
36420 grep -v '^ *+' conftest.er1 >conftest.err
36421 rm -f conftest.er1
36422 cat conftest.err >&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); } && {
36425 test -z "$ac_c_werror_flag" ||
36426 test ! -s conftest.err
36427 } && test -s conftest.$ac_objext; then
36428 wx_cv_func_statvfs=yes
36429 else
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36432
36433 wx_cv_func_statvfs=no
36434
36435 fi
36436
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438
36439 fi
36440 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36441 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36442
36443 if test "$wx_cv_func_statvfs" = "yes"; then
36444 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36445 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36446 if test "${wx_cv_type_statvfs_t+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461
36462 #include <sys/statvfs.h>
36463
36464 int
36465 main ()
36466 {
36467
36468 long l;
36469 statvfs_t fs;
36470 statvfs("/", &fs);
36471 l = fs.f_bsize;
36472 l += fs.f_blocks;
36473 l += fs.f_bavail;
36474
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 rm -f conftest.$ac_objext
36480 if { (ac_try="$ac_compile"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36484 esac
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_compile") 2>conftest.er1
36487 ac_status=$?
36488 grep -v '^ *+' conftest.er1 >conftest.err
36489 rm -f conftest.er1
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_cxx_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest.$ac_objext; then
36496 wx_cv_type_statvfs_t=statvfs_t
36497 else
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36500
36501
36502 cat >conftest.$ac_ext <<_ACEOF
36503 /* confdefs.h. */
36504 _ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508
36509 #include <sys/statvfs.h>
36510
36511 int
36512 main ()
36513 {
36514
36515 long l;
36516 struct statvfs fs;
36517 statvfs("/", &fs);
36518 l = fs.f_bsize;
36519 l += fs.f_blocks;
36520 l += fs.f_bavail;
36521
36522 ;
36523 return 0;
36524 }
36525 _ACEOF
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36531 esac
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_type_statvfs_t="struct statvfs"
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548 wx_cv_type_statvfs_t="unknown"
36549
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553
36554
36555 fi
36556
36557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36558 ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564
36565 fi
36566 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36567 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36568
36569 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE_STATVFS 1
36572 _ACEOF
36573
36574 fi
36575 else
36576 wx_cv_type_statvfs_t="unknown"
36577 fi
36578 fi
36579
36580 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36581 cat >>confdefs.h <<_ACEOF
36582 #define WX_STATFS_T $wx_cv_type_statvfs_t
36583 _ACEOF
36584
36585 else
36586 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36587 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36588 fi
36589
36590 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36591
36592
36593 for ac_func in fcntl flock
36594 do
36595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 else
36601 cat >conftest.$ac_ext <<_ACEOF
36602 /* confdefs.h. */
36603 _ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36609 #define $ac_func innocuous_$ac_func
36610
36611 /* System header to define __stub macros and hopefully few prototypes,
36612 which can conflict with char $ac_func (); below.
36613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36614 <limits.h> exists even on freestanding compilers. */
36615
36616 #ifdef __STDC__
36617 # include <limits.h>
36618 #else
36619 # include <assert.h>
36620 #endif
36621
36622 #undef $ac_func
36623
36624 /* Override any GCC internal prototype to avoid an error.
36625 Use char because int might match the return type of a GCC
36626 builtin and then its argument prototype would still apply. */
36627 #ifdef __cplusplus
36628 extern "C"
36629 #endif
36630 char $ac_func ();
36631 /* The GNU C library defines this for functions which it implements
36632 to always fail with ENOSYS. Some functions are actually named
36633 something starting with __ and the normal name is an alias. */
36634 #if defined __stub_$ac_func || defined __stub___$ac_func
36635 choke me
36636 #endif
36637
36638 int
36639 main ()
36640 {
36641 return $ac_func ();
36642 ;
36643 return 0;
36644 }
36645 _ACEOF
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36650 *) ac_try_echo=$ac_try;;
36651 esac
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36654 ac_status=$?
36655 grep -v '^ *+' conftest.er1 >conftest.err
36656 rm -f conftest.er1
36657 cat conftest.err >&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_c_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest$ac_exeext &&
36663 $as_test_x conftest$ac_exeext; then
36664 eval "$as_ac_var=yes"
36665 else
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 eval "$as_ac_var=no"
36670 fi
36671
36672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36673 conftest$ac_exeext conftest.$ac_ext
36674 fi
36675 ac_res=`eval echo '${'$as_ac_var'}'`
36676 { echo "$as_me:$LINENO: result: $ac_res" >&5
36677 echo "${ECHO_T}$ac_res" >&6; }
36678 if test `eval echo '${'$as_ac_var'}'` = yes; then
36679 cat >>confdefs.h <<_ACEOF
36680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36681 _ACEOF
36682 break
36683 fi
36684 done
36685
36686
36687 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36688 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36689 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36690 wxUSE_SNGLINST_CHECKER=no
36691 fi
36692 fi
36693
36694
36695
36696 for ac_func in setenv putenv
36697 do
36698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 else
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h. */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36712 #define $ac_func innocuous_$ac_func
36713
36714 /* System header to define __stub macros and hopefully few prototypes,
36715 which can conflict with char $ac_func (); below.
36716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717 <limits.h> exists even on freestanding compilers. */
36718
36719 #ifdef __STDC__
36720 # include <limits.h>
36721 #else
36722 # include <assert.h>
36723 #endif
36724
36725 #undef $ac_func
36726
36727 /* Override any GCC internal prototype to avoid an error.
36728 Use char because int might match the return type of a GCC
36729 builtin and then its argument prototype would still apply. */
36730 #ifdef __cplusplus
36731 extern "C"
36732 #endif
36733 char $ac_func ();
36734 /* The GNU C library defines this for functions which it implements
36735 to always fail with ENOSYS. Some functions are actually named
36736 something starting with __ and the normal name is an alias. */
36737 #if defined __stub_$ac_func || defined __stub___$ac_func
36738 choke me
36739 #endif
36740
36741 int
36742 main ()
36743 {
36744 return $ac_func ();
36745 ;
36746 return 0;
36747 }
36748 _ACEOF
36749 rm -f conftest.$ac_objext conftest$ac_exeext
36750 if { (ac_try="$ac_link"
36751 case "(($ac_try" in
36752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36753 *) ac_try_echo=$ac_try;;
36754 esac
36755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36756 (eval "$ac_link") 2>conftest.er1
36757 ac_status=$?
36758 grep -v '^ *+' conftest.er1 >conftest.err
36759 rm -f conftest.er1
36760 cat conftest.err >&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && {
36763 test -z "$ac_c_werror_flag" ||
36764 test ! -s conftest.err
36765 } && test -s conftest$ac_exeext &&
36766 $as_test_x conftest$ac_exeext; then
36767 eval "$as_ac_var=yes"
36768 else
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36771
36772 eval "$as_ac_var=no"
36773 fi
36774
36775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36776 conftest$ac_exeext conftest.$ac_ext
36777 fi
36778 ac_res=`eval echo '${'$as_ac_var'}'`
36779 { echo "$as_me:$LINENO: result: $ac_res" >&5
36780 echo "${ECHO_T}$ac_res" >&6; }
36781 if test `eval echo '${'$as_ac_var'}'` = yes; then
36782 cat >>confdefs.h <<_ACEOF
36783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 _ACEOF
36785 break
36786 fi
36787 done
36788
36789 if test "$ac_cv_func_setenv" = "yes"; then
36790
36791 for ac_func in unsetenv
36792 do
36793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36797 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 else
36799 cat >conftest.$ac_ext <<_ACEOF
36800 /* confdefs.h. */
36801 _ACEOF
36802 cat confdefs.h >>conftest.$ac_ext
36803 cat >>conftest.$ac_ext <<_ACEOF
36804 /* end confdefs.h. */
36805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36807 #define $ac_func innocuous_$ac_func
36808
36809 /* System header to define __stub macros and hopefully few prototypes,
36810 which can conflict with char $ac_func (); below.
36811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812 <limits.h> exists even on freestanding compilers. */
36813
36814 #ifdef __STDC__
36815 # include <limits.h>
36816 #else
36817 # include <assert.h>
36818 #endif
36819
36820 #undef $ac_func
36821
36822 /* Override any GCC internal prototype to avoid an error.
36823 Use char because int might match the return type of a GCC
36824 builtin and then its argument prototype would still apply. */
36825 #ifdef __cplusplus
36826 extern "C"
36827 #endif
36828 char $ac_func ();
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined __stub_$ac_func || defined __stub___$ac_func
36833 choke me
36834 #endif
36835
36836 int
36837 main ()
36838 {
36839 return $ac_func ();
36840 ;
36841 return 0;
36842 }
36843 _ACEOF
36844 rm -f conftest.$ac_objext conftest$ac_exeext
36845 if { (ac_try="$ac_link"
36846 case "(($ac_try" in
36847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36848 *) ac_try_echo=$ac_try;;
36849 esac
36850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36851 (eval "$ac_link") 2>conftest.er1
36852 ac_status=$?
36853 grep -v '^ *+' conftest.er1 >conftest.err
36854 rm -f conftest.er1
36855 cat conftest.err >&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } && {
36858 test -z "$ac_c_werror_flag" ||
36859 test ! -s conftest.err
36860 } && test -s conftest$ac_exeext &&
36861 $as_test_x conftest$ac_exeext; then
36862 eval "$as_ac_var=yes"
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 eval "$as_ac_var=no"
36868 fi
36869
36870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36871 conftest$ac_exeext conftest.$ac_ext
36872 fi
36873 ac_res=`eval echo '${'$as_ac_var'}'`
36874 { echo "$as_me:$LINENO: result: $ac_res" >&5
36875 echo "${ECHO_T}$ac_res" >&6; }
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877 cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 _ACEOF
36880
36881 fi
36882 done
36883
36884 fi
36885
36886 HAVE_SOME_SLEEP_FUNC=0
36887 if test "$USE_BEOS" = 1; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE_SLEEP 1
36890 _ACEOF
36891
36892 HAVE_SOME_SLEEP_FUNC=1
36893 fi
36894
36895 if test "$USE_DARWIN" = 1; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_USLEEP 1
36898 _ACEOF
36899
36900 HAVE_SOME_SLEEP_FUNC=1
36901 fi
36902
36903 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36904 POSIX4_LINK=
36905
36906 for ac_func in nanosleep
36907 do
36908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36923
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36928
36929 #ifdef __STDC__
36930 # include <limits.h>
36931 #else
36932 # include <assert.h>
36933 #endif
36934
36935 #undef $ac_func
36936
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36940 #ifdef __cplusplus
36941 extern "C"
36942 #endif
36943 char $ac_func ();
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36948 choke me
36949 #endif
36950
36951 int
36952 main ()
36953 {
36954 return $ac_func ();
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (ac_try="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36964 esac
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 eval "$as_ac_var=no"
36983 fi
36984
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36987 fi
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 _ACEOF
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_NANOSLEEP 1
36997 _ACEOF
36998
36999 else
37000
37001 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37002 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37003 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006 ac_check_lib_save_LIBS=$LIBS
37007 LIBS="-lposix4 $LIBS"
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014
37015 /* Override any GCC internal prototype to avoid an error.
37016 Use char because int might match the return type of a GCC
37017 builtin and then its argument prototype would still apply. */
37018 #ifdef __cplusplus
37019 extern "C"
37020 #endif
37021 char nanosleep ();
37022 int
37023 main ()
37024 {
37025 return nanosleep ();
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (ac_try="$ac_link"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37035 esac
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_link") 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_c_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest$ac_exeext &&
37047 $as_test_x conftest$ac_exeext; then
37048 ac_cv_lib_posix4_nanosleep=yes
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37052
37053 ac_cv_lib_posix4_nanosleep=no
37054 fi
37055
37056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37057 conftest$ac_exeext conftest.$ac_ext
37058 LIBS=$ac_check_lib_save_LIBS
37059 fi
37060 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37061 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37062 if test $ac_cv_lib_posix4_nanosleep = yes; then
37063
37064 cat >>confdefs.h <<\_ACEOF
37065 #define HAVE_NANOSLEEP 1
37066 _ACEOF
37067
37068 POSIX4_LINK=" -lposix4"
37069
37070 else
37071
37072
37073 for wx_func in usleep
37074 do
37075 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37076 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37077 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080
37081 cat >conftest.$ac_ext <<_ACEOF
37082
37083 /* confdefs.h. */
37084 _ACEOF
37085 cat confdefs.h >>conftest.$ac_ext
37086 cat >>conftest.$ac_ext <<_ACEOF
37087 /* end confdefs.h. */
37088
37089
37090 $ac_includes_default
37091
37092 int
37093 main ()
37094 {
37095
37096 #ifndef $wx_func
37097 &$wx_func;
37098 #endif
37099
37100
37101 ;
37102 return 0;
37103 }
37104
37105 _ACEOF
37106 rm -f conftest.$ac_objext conftest$ac_exeext
37107 if { (ac_try="$ac_link"
37108 case "(($ac_try" in
37109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37110 *) ac_try_echo=$ac_try;;
37111 esac
37112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37113 (eval "$ac_link") 2>conftest.er1
37114 ac_status=$?
37115 grep -v '^ *+' conftest.er1 >conftest.err
37116 rm -f conftest.er1
37117 cat conftest.err >&5
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); } && {
37120 test -z "$ac_c_werror_flag" ||
37121 test ! -s conftest.err
37122 } && test -s conftest$ac_exeext &&
37123 $as_test_x conftest$ac_exeext; then
37124 eval wx_cv_func_$wx_func=yes
37125 else
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37128
37129 eval wx_cv_func_$wx_func=no
37130 fi
37131
37132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37133 conftest$ac_exeext conftest.$ac_ext
37134
37135 fi
37136 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37137 { echo "$as_me:$LINENO: result: $ac_res" >&5
37138 echo "${ECHO_T}$ac_res" >&6; }
37139
37140 if eval test \$wx_cv_func_$wx_func = yes
37141 then
37142 cat >>confdefs.h <<_ACEOF
37143 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37144 _ACEOF
37145
37146
37147 else
37148 :
37149 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37150 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37151
37152 fi
37153 done
37154
37155
37156
37157 fi
37158
37159
37160
37161 fi
37162 done
37163
37164 fi
37165
37166
37167 for wx_func in uname
37168 do
37169 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37170 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37171 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174
37175 cat >conftest.$ac_ext <<_ACEOF
37176
37177 /* confdefs.h. */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37182
37183 #include <sys/utsname.h>
37184 $ac_includes_default
37185
37186 int
37187 main ()
37188 {
37189
37190 #ifndef $wx_func
37191 &$wx_func;
37192 #endif
37193
37194
37195 ;
37196 return 0;
37197 }
37198
37199 _ACEOF
37200 rm -f conftest.$ac_objext conftest$ac_exeext
37201 if { (ac_try="$ac_link"
37202 case "(($ac_try" in
37203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37205 esac
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_link") 2>conftest.er1
37208 ac_status=$?
37209 grep -v '^ *+' conftest.er1 >conftest.err
37210 rm -f conftest.er1
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_c_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest$ac_exeext &&
37217 $as_test_x conftest$ac_exeext; then
37218 eval wx_cv_func_$wx_func=yes
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37222
37223 eval wx_cv_func_$wx_func=no
37224 fi
37225
37226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37227 conftest$ac_exeext conftest.$ac_ext
37228
37229 fi
37230 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37231 { echo "$as_me:$LINENO: result: $ac_res" >&5
37232 echo "${ECHO_T}$ac_res" >&6; }
37233
37234 if eval test \$wx_cv_func_$wx_func = yes
37235 then
37236 cat >>confdefs.h <<_ACEOF
37237 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37238 _ACEOF
37239
37240
37241 else
37242 :
37243
37244 fi
37245 done
37246
37247 if test "$wx_cv_func_uname" != yes; then
37248
37249 for wx_func in gethostname
37250 do
37251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37254 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 else
37256
37257 cat >conftest.$ac_ext <<_ACEOF
37258
37259 /* confdefs.h. */
37260 _ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264
37265
37266 $ac_includes_default
37267
37268 int
37269 main ()
37270 {
37271
37272 #ifndef $wx_func
37273 &$wx_func;
37274 #endif
37275
37276
37277 ;
37278 return 0;
37279 }
37280
37281 _ACEOF
37282 rm -f conftest.$ac_objext conftest$ac_exeext
37283 if { (ac_try="$ac_link"
37284 case "(($ac_try" in
37285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37286 *) ac_try_echo=$ac_try;;
37287 esac
37288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37289 (eval "$ac_link") 2>conftest.er1
37290 ac_status=$?
37291 grep -v '^ *+' conftest.er1 >conftest.err
37292 rm -f conftest.er1
37293 cat conftest.err >&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); } && {
37296 test -z "$ac_c_werror_flag" ||
37297 test ! -s conftest.err
37298 } && test -s conftest$ac_exeext &&
37299 $as_test_x conftest$ac_exeext; then
37300 eval wx_cv_func_$wx_func=yes
37301 else
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.$ac_ext >&5
37304
37305 eval wx_cv_func_$wx_func=no
37306 fi
37307
37308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37309 conftest$ac_exeext conftest.$ac_ext
37310
37311 fi
37312 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37313 { echo "$as_me:$LINENO: result: $ac_res" >&5
37314 echo "${ECHO_T}$ac_res" >&6; }
37315
37316 if eval test \$wx_cv_func_$wx_func = yes
37317 then
37318 cat >>confdefs.h <<_ACEOF
37319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37320 _ACEOF
37321
37322
37323 else
37324 :
37325
37326 fi
37327 done
37328
37329 fi
37330
37331
37332 for wx_func in strtok_r
37333 do
37334 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37335 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37336 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339
37340 cat >conftest.$ac_ext <<_ACEOF
37341
37342 /* confdefs.h. */
37343 _ACEOF
37344 cat confdefs.h >>conftest.$ac_ext
37345 cat >>conftest.$ac_ext <<_ACEOF
37346 /* end confdefs.h. */
37347
37348 #define _REENTRANT
37349 $ac_includes_default
37350
37351 int
37352 main ()
37353 {
37354
37355 #ifndef $wx_func
37356 &$wx_func;
37357 #endif
37358
37359
37360 ;
37361 return 0;
37362 }
37363
37364 _ACEOF
37365 rm -f conftest.$ac_objext conftest$ac_exeext
37366 if { (ac_try="$ac_link"
37367 case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37370 esac
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_link") 2>conftest.er1
37373 ac_status=$?
37374 grep -v '^ *+' conftest.er1 >conftest.err
37375 rm -f conftest.er1
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } && {
37379 test -z "$ac_c_werror_flag" ||
37380 test ! -s conftest.err
37381 } && test -s conftest$ac_exeext &&
37382 $as_test_x conftest$ac_exeext; then
37383 eval wx_cv_func_$wx_func=yes
37384 else
37385 echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.$ac_ext >&5
37387
37388 eval wx_cv_func_$wx_func=no
37389 fi
37390
37391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37392 conftest$ac_exeext conftest.$ac_ext
37393
37394 fi
37395 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398
37399 if eval test \$wx_cv_func_$wx_func = yes
37400 then
37401 cat >>confdefs.h <<_ACEOF
37402 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37403 _ACEOF
37404
37405
37406 else
37407 :
37408
37409 fi
37410 done
37411
37412
37413 INET_LINK=
37414
37415 for ac_func in inet_addr
37416 do
37417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37432
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37437
37438 #ifdef __STDC__
37439 # include <limits.h>
37440 #else
37441 # include <assert.h>
37442 #endif
37443
37444 #undef $ac_func
37445
37446 /* Override any GCC internal prototype to avoid an error.
37447 Use char because int might match the return type of a GCC
37448 builtin and then its argument prototype would still apply. */
37449 #ifdef __cplusplus
37450 extern "C"
37451 #endif
37452 char $ac_func ();
37453 /* The GNU C library defines this for functions which it implements
37454 to always fail with ENOSYS. Some functions are actually named
37455 something starting with __ and the normal name is an alias. */
37456 #if defined __stub_$ac_func || defined __stub___$ac_func
37457 choke me
37458 #endif
37459
37460 int
37461 main ()
37462 {
37463 return $ac_func ();
37464 ;
37465 return 0;
37466 }
37467 _ACEOF
37468 rm -f conftest.$ac_objext conftest$ac_exeext
37469 if { (ac_try="$ac_link"
37470 case "(($ac_try" in
37471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37472 *) ac_try_echo=$ac_try;;
37473 esac
37474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37475 (eval "$ac_link") 2>conftest.er1
37476 ac_status=$?
37477 grep -v '^ *+' conftest.er1 >conftest.err
37478 rm -f conftest.er1
37479 cat conftest.err >&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); } && {
37482 test -z "$ac_c_werror_flag" ||
37483 test ! -s conftest.err
37484 } && test -s conftest$ac_exeext &&
37485 $as_test_x conftest$ac_exeext; then
37486 eval "$as_ac_var=yes"
37487 else
37488 echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.$ac_ext >&5
37490
37491 eval "$as_ac_var=no"
37492 fi
37493
37494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37495 conftest$ac_exeext conftest.$ac_ext
37496 fi
37497 ac_res=`eval echo '${'$as_ac_var'}'`
37498 { echo "$as_me:$LINENO: result: $ac_res" >&5
37499 echo "${ECHO_T}$ac_res" >&6; }
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 _ACEOF
37504 cat >>confdefs.h <<\_ACEOF
37505 #define HAVE_INET_ADDR 1
37506 _ACEOF
37507
37508 else
37509
37510 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37511 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37512 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37514 else
37515 ac_check_lib_save_LIBS=$LIBS
37516 LIBS="-lnsl $LIBS"
37517 cat >conftest.$ac_ext <<_ACEOF
37518 /* confdefs.h. */
37519 _ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37523
37524 /* Override any GCC internal prototype to avoid an error.
37525 Use char because int might match the return type of a GCC
37526 builtin and then its argument prototype would still apply. */
37527 #ifdef __cplusplus
37528 extern "C"
37529 #endif
37530 char inet_addr ();
37531 int
37532 main ()
37533 {
37534 return inet_addr ();
37535 ;
37536 return 0;
37537 }
37538 _ACEOF
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (ac_try="$ac_link"
37541 case "(($ac_try" in
37542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37543 *) ac_try_echo=$ac_try;;
37544 esac
37545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37546 (eval "$ac_link") 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } && {
37553 test -z "$ac_c_werror_flag" ||
37554 test ! -s conftest.err
37555 } && test -s conftest$ac_exeext &&
37556 $as_test_x conftest$ac_exeext; then
37557 ac_cv_lib_nsl_inet_addr=yes
37558 else
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37561
37562 ac_cv_lib_nsl_inet_addr=no
37563 fi
37564
37565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37568 fi
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37570 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37571 if test $ac_cv_lib_nsl_inet_addr = yes; then
37572 INET_LINK="nsl"
37573 else
37574
37575 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37576 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37577 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37579 else
37580 ac_check_lib_save_LIBS=$LIBS
37581 LIBS="-lresolv $LIBS"
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588
37589 /* Override any GCC internal prototype to avoid an error.
37590 Use char because int might match the return type of a GCC
37591 builtin and then its argument prototype would still apply. */
37592 #ifdef __cplusplus
37593 extern "C"
37594 #endif
37595 char inet_addr ();
37596 int
37597 main ()
37598 {
37599 return inet_addr ();
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37609 esac
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 ac_cv_lib_resolv_inet_addr=yes
37623 else
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 ac_cv_lib_resolv_inet_addr=no
37628 fi
37629
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 LIBS=$ac_check_lib_save_LIBS
37633 fi
37634 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37635 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37636 if test $ac_cv_lib_resolv_inet_addr = yes; then
37637 INET_LINK="resolv"
37638 else
37639
37640 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37641 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37642 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645 ac_check_lib_save_LIBS=$LIBS
37646 LIBS="-lsocket $LIBS"
37647 cat >conftest.$ac_ext <<_ACEOF
37648 /* confdefs.h. */
37649 _ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37653
37654 /* Override any GCC internal prototype to avoid an error.
37655 Use char because int might match the return type of a GCC
37656 builtin and then its argument prototype would still apply. */
37657 #ifdef __cplusplus
37658 extern "C"
37659 #endif
37660 char inet_addr ();
37661 int
37662 main ()
37663 {
37664 return inet_addr ();
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 rm -f conftest.$ac_objext conftest$ac_exeext
37670 if { (ac_try="$ac_link"
37671 case "(($ac_try" in
37672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37673 *) ac_try_echo=$ac_try;;
37674 esac
37675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37676 (eval "$ac_link") 2>conftest.er1
37677 ac_status=$?
37678 grep -v '^ *+' conftest.er1 >conftest.err
37679 rm -f conftest.er1
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } && {
37683 test -z "$ac_c_werror_flag" ||
37684 test ! -s conftest.err
37685 } && test -s conftest$ac_exeext &&
37686 $as_test_x conftest$ac_exeext; then
37687 ac_cv_lib_socket_inet_addr=yes
37688 else
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37691
37692 ac_cv_lib_socket_inet_addr=no
37693 fi
37694
37695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37696 conftest$ac_exeext conftest.$ac_ext
37697 LIBS=$ac_check_lib_save_LIBS
37698 fi
37699 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37700 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37701 if test $ac_cv_lib_socket_inet_addr = yes; then
37702 INET_LINK="socket"
37703
37704 fi
37705
37706
37707
37708 fi
37709
37710
37711
37712 fi
37713
37714
37715
37716 fi
37717 done
37718
37719
37720
37721 for ac_func in inet_aton
37722 do
37723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37727 echo $ECHO_N "(cached) $ECHO_C" >&6
37728 else
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37737 #define $ac_func innocuous_$ac_func
37738
37739 /* System header to define __stub macros and hopefully few prototypes,
37740 which can conflict with char $ac_func (); below.
37741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37742 <limits.h> exists even on freestanding compilers. */
37743
37744 #ifdef __STDC__
37745 # include <limits.h>
37746 #else
37747 # include <assert.h>
37748 #endif
37749
37750 #undef $ac_func
37751
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37755 #ifdef __cplusplus
37756 extern "C"
37757 #endif
37758 char $ac_func ();
37759 /* The GNU C library defines this for functions which it implements
37760 to always fail with ENOSYS. Some functions are actually named
37761 something starting with __ and the normal name is an alias. */
37762 #if defined __stub_$ac_func || defined __stub___$ac_func
37763 choke me
37764 #endif
37765
37766 int
37767 main ()
37768 {
37769 return $ac_func ();
37770 ;
37771 return 0;
37772 }
37773 _ACEOF
37774 rm -f conftest.$ac_objext conftest$ac_exeext
37775 if { (ac_try="$ac_link"
37776 case "(($ac_try" in
37777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37778 *) ac_try_echo=$ac_try;;
37779 esac
37780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37781 (eval "$ac_link") 2>conftest.er1
37782 ac_status=$?
37783 grep -v '^ *+' conftest.er1 >conftest.err
37784 rm -f conftest.er1
37785 cat conftest.err >&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } && {
37788 test -z "$ac_c_werror_flag" ||
37789 test ! -s conftest.err
37790 } && test -s conftest$ac_exeext &&
37791 $as_test_x conftest$ac_exeext; then
37792 eval "$as_ac_var=yes"
37793 else
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.$ac_ext >&5
37796
37797 eval "$as_ac_var=no"
37798 fi
37799
37800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37801 conftest$ac_exeext conftest.$ac_ext
37802 fi
37803 ac_res=`eval echo '${'$as_ac_var'}'`
37804 { echo "$as_me:$LINENO: result: $ac_res" >&5
37805 echo "${ECHO_T}$ac_res" >&6; }
37806 if test `eval echo '${'$as_ac_var'}'` = yes; then
37807 cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37809 _ACEOF
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_INET_ATON 1
37812 _ACEOF
37813
37814 else
37815
37816 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37817 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37818 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37819 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37820 echo $ECHO_N "(cached) $ECHO_C" >&6
37821 else
37822 ac_check_lib_save_LIBS=$LIBS
37823 LIBS="-l$INET_LINK $LIBS"
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830
37831 /* Override any GCC internal prototype to avoid an error.
37832 Use char because int might match the return type of a GCC
37833 builtin and then its argument prototype would still apply. */
37834 #ifdef __cplusplus
37835 extern "C"
37836 #endif
37837 char inet_aton ();
37838 int
37839 main ()
37840 {
37841 return inet_aton ();
37842 ;
37843 return 0;
37844 }
37845 _ACEOF
37846 rm -f conftest.$ac_objext conftest$ac_exeext
37847 if { (ac_try="$ac_link"
37848 case "(($ac_try" in
37849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37850 *) ac_try_echo=$ac_try;;
37851 esac
37852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37853 (eval "$ac_link") 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } && {
37860 test -z "$ac_c_werror_flag" ||
37861 test ! -s conftest.err
37862 } && test -s conftest$ac_exeext &&
37863 $as_test_x conftest$ac_exeext; then
37864 eval "$as_ac_Lib=yes"
37865 else
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37868
37869 eval "$as_ac_Lib=no"
37870 fi
37871
37872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37873 conftest$ac_exeext conftest.$ac_ext
37874 LIBS=$ac_check_lib_save_LIBS
37875 fi
37876 ac_res=`eval echo '${'$as_ac_Lib'}'`
37877 { echo "$as_me:$LINENO: result: $ac_res" >&5
37878 echo "${ECHO_T}$ac_res" >&6; }
37879 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37880 cat >>confdefs.h <<\_ACEOF
37881 #define HAVE_INET_ATON 1
37882 _ACEOF
37883
37884 fi
37885
37886
37887 fi
37888 done
37889
37890
37891 if test "x$INET_LINK" != "x"; then
37892 cat >>confdefs.h <<\_ACEOF
37893 #define HAVE_INET_ADDR 1
37894 _ACEOF
37895
37896 INET_LINK=" -l$INET_LINK"
37897 fi
37898
37899
37900 for wx_func in fdopen
37901 do
37902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37904 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 else
37907
37908 cat >conftest.$ac_ext <<_ACEOF
37909
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915
37916
37917 $ac_includes_default
37918
37919 int
37920 main ()
37921 {
37922
37923 #ifndef $wx_func
37924 &$wx_func;
37925 #endif
37926
37927
37928 ;
37929 return 0;
37930 }
37931
37932 _ACEOF
37933 rm -f conftest.$ac_objext conftest$ac_exeext
37934 if { (ac_try="$ac_link"
37935 case "(($ac_try" in
37936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37937 *) ac_try_echo=$ac_try;;
37938 esac
37939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37940 (eval "$ac_link") 2>conftest.er1
37941 ac_status=$?
37942 grep -v '^ *+' conftest.er1 >conftest.err
37943 rm -f conftest.er1
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } && {
37947 test -z "$ac_c_werror_flag" ||
37948 test ! -s conftest.err
37949 } && test -s conftest$ac_exeext &&
37950 $as_test_x conftest$ac_exeext; then
37951 eval wx_cv_func_$wx_func=yes
37952 else
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37955
37956 eval wx_cv_func_$wx_func=no
37957 fi
37958
37959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37960 conftest$ac_exeext conftest.$ac_ext
37961
37962 fi
37963 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37964 { echo "$as_me:$LINENO: result: $ac_res" >&5
37965 echo "${ECHO_T}$ac_res" >&6; }
37966
37967 if eval test \$wx_cv_func_$wx_func = yes
37968 then
37969 cat >>confdefs.h <<_ACEOF
37970 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37971 _ACEOF
37972
37973
37974 else
37975 :
37976
37977 fi
37978 done
37979
37980
37981 if test "$wxUSE_TARSTREAM" = "yes"; then
37982
37983 for wx_func in sysconf
37984 do
37985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990
37991 cat >conftest.$ac_ext <<_ACEOF
37992
37993 /* confdefs.h. */
37994 _ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998
37999
38000 $ac_includes_default
38001
38002 int
38003 main ()
38004 {
38005
38006 #ifndef $wx_func
38007 &$wx_func;
38008 #endif
38009
38010
38011 ;
38012 return 0;
38013 }
38014
38015 _ACEOF
38016 rm -f conftest.$ac_objext conftest$ac_exeext
38017 if { (ac_try="$ac_link"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38021 esac
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_link") 2>conftest.er1
38024 ac_status=$?
38025 grep -v '^ *+' conftest.er1 >conftest.err
38026 rm -f conftest.er1
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest$ac_exeext &&
38033 $as_test_x conftest$ac_exeext; then
38034 eval wx_cv_func_$wx_func=yes
38035 else
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.$ac_ext >&5
38038
38039 eval wx_cv_func_$wx_func=no
38040 fi
38041
38042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38043 conftest$ac_exeext conftest.$ac_ext
38044
38045 fi
38046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38047 { echo "$as_me:$LINENO: result: $ac_res" >&5
38048 echo "${ECHO_T}$ac_res" >&6; }
38049
38050 if eval test \$wx_cv_func_$wx_func = yes
38051 then
38052 cat >>confdefs.h <<_ACEOF
38053 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38054 _ACEOF
38055
38056
38057 else
38058 :
38059
38060 fi
38061 done
38062
38063
38064
38065 for wx_func in getpwuid_r
38066 do
38067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072
38073 cat >conftest.$ac_ext <<_ACEOF
38074
38075 /* confdefs.h. */
38076 _ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38080
38081
38082 #define _REENTRANT
38083 #include <pwd.h>
38084
38085 $ac_includes_default
38086
38087 int
38088 main ()
38089 {
38090
38091 #ifndef $wx_func
38092 &$wx_func;
38093 #endif
38094
38095 struct passwd pw, *ppw;
38096 char buf[1024];
38097 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38098
38099
38100 ;
38101 return 0;
38102 }
38103
38104 _ACEOF
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (ac_try="$ac_link"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38110 esac
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_link") 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest$ac_exeext &&
38122 $as_test_x conftest$ac_exeext; then
38123 eval wx_cv_func_$wx_func=yes
38124 else
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38127
38128 eval wx_cv_func_$wx_func=no
38129 fi
38130
38131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38132 conftest$ac_exeext conftest.$ac_ext
38133
38134 fi
38135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38136 { echo "$as_me:$LINENO: result: $ac_res" >&5
38137 echo "${ECHO_T}$ac_res" >&6; }
38138
38139 if eval test \$wx_cv_func_$wx_func = yes
38140 then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38143 _ACEOF
38144
38145
38146 else
38147 :
38148
38149 fi
38150 done
38151
38152
38153
38154 for wx_func in getgrgid_r
38155 do
38156 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38157 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38158 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 else
38161
38162 cat >conftest.$ac_ext <<_ACEOF
38163
38164 /* confdefs.h. */
38165 _ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38169
38170
38171 #define _REENTRANT
38172 #include <grp.h>
38173
38174 $ac_includes_default
38175
38176 int
38177 main ()
38178 {
38179
38180 #ifndef $wx_func
38181 &$wx_func;
38182 #endif
38183
38184 struct group grp, *pgrp;
38185 char buf[1024];
38186 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38187
38188
38189 ;
38190 return 0;
38191 }
38192
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (ac_try="$ac_link"
38196 case "(($ac_try" in
38197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38198 *) ac_try_echo=$ac_try;;
38199 esac
38200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38201 (eval "$ac_link") 2>conftest.er1
38202 ac_status=$?
38203 grep -v '^ *+' conftest.er1 >conftest.err
38204 rm -f conftest.er1
38205 cat conftest.err >&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } && {
38208 test -z "$ac_c_werror_flag" ||
38209 test ! -s conftest.err
38210 } && test -s conftest$ac_exeext &&
38211 $as_test_x conftest$ac_exeext; then
38212 eval wx_cv_func_$wx_func=yes
38213 else
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38216
38217 eval wx_cv_func_$wx_func=no
38218 fi
38219
38220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38221 conftest$ac_exeext conftest.$ac_ext
38222
38223 fi
38224 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38225 { echo "$as_me:$LINENO: result: $ac_res" >&5
38226 echo "${ECHO_T}$ac_res" >&6; }
38227
38228 if eval test \$wx_cv_func_$wx_func = yes
38229 then
38230 cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38232 _ACEOF
38233
38234
38235 else
38236 :
38237
38238 fi
38239 done
38240
38241 fi
38242
38243 fi
38244
38245
38246
38247 cat >confcache <<\_ACEOF
38248 # This file is a shell script that caches the results of configure
38249 # tests run on this system so they can be shared between configure
38250 # scripts and configure runs, see configure's option --config-cache.
38251 # It is not useful on other systems. If it contains results you don't
38252 # want to keep, you may remove or edit it.
38253 #
38254 # config.status only pays attention to the cache file if you give it
38255 # the --recheck option to rerun configure.
38256 #
38257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38259 # following values.
38260
38261 _ACEOF
38262
38263 # The following way of writing the cache mishandles newlines in values,
38264 # but we know of no workaround that is simple, portable, and efficient.
38265 # So, we kill variables containing newlines.
38266 # Ultrix sh set writes to stderr and can't be redirected directly,
38267 # and sets the high bit in the cache file unless we assign to the vars.
38268 (
38269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38270 eval ac_val=\$$ac_var
38271 case $ac_val in #(
38272 *${as_nl}*)
38273 case $ac_var in #(
38274 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38275 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38276 esac
38277 case $ac_var in #(
38278 _ | IFS | as_nl) ;; #(
38279 *) $as_unset $ac_var ;;
38280 esac ;;
38281 esac
38282 done
38283
38284 (set) 2>&1 |
38285 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38286 *${as_nl}ac_space=\ *)
38287 # `set' does not quote correctly, so add quotes (double-quote
38288 # substitution turns \\\\ into \\, and sed turns \\ into \).
38289 sed -n \
38290 "s/'/'\\\\''/g;
38291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38292 ;; #(
38293 *)
38294 # `set' quotes correctly as required by POSIX, so do not add quotes.
38295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38296 ;;
38297 esac |
38298 sort
38299 ) |
38300 sed '
38301 /^ac_cv_env_/b end
38302 t clear
38303 :clear
38304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38305 t end
38306 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38307 :end' >>confcache
38308 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38309 if test -w "$cache_file"; then
38310 test "x$cache_file" != "x/dev/null" &&
38311 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38312 echo "$as_me: updating cache $cache_file" >&6;}
38313 cat confcache >$cache_file
38314 else
38315 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38316 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38317 fi
38318 fi
38319 rm -f confcache
38320
38321
38322 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38323
38324
38325 THREADS_LINK=
38326 THREADS_CFLAGS=
38327
38328 if test "$wxUSE_THREADS" = "yes" ; then
38329 if test "$USE_BEOS" = 1; then
38330 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38331 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38332 wxUSE_THREADS="no"
38333 fi
38334 fi
38335
38336 if test "$wxUSE_THREADS" = "yes" ; then
38337
38338
38339 THREAD_OPTS="-pthread"
38340 if test "x$SUNCXX" = xyes; then
38341 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38342 fi
38343
38344 case "${host}" in
38345 *-*-solaris2* | *-*-sunos4* )
38346 if test "x$GCC" = "xyes"; then
38347 THREAD_OPTS="-pthreads $THREAD_OPTS"
38348 fi
38349 ;;
38350 *-*-freebsd*)
38351 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38352 ;;
38353 *-*-darwin* | *-*-cygwin* )
38354 THREAD_OPTS=""
38355 ;;
38356 *-*-aix*)
38357 THREAD_OPTS="pthreads"
38358 ;;
38359 *-hp-hpux* )
38360 if test "x$GCC" = "xyes"; then
38361 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38362 THREAD_OPTS=""
38363 else
38364 THREAD_OPTS="-mt"
38365 fi
38366 ;;
38367
38368 *-*-irix* )
38369 if test "x$GCC" = "xyes"; then
38370 THREAD_OPTS=""
38371 fi
38372 ;;
38373
38374 *-*-*UnixWare*)
38375 if test "x$GCC" != "xyes"; then
38376 THREAD_OPTS="-Ethread"
38377 fi
38378 ;;
38379 esac
38380
38381 THREAD_OPTS="$THREAD_OPTS pthread none"
38382
38383 THREADS_OK=no
38384 for flag in $THREAD_OPTS; do
38385 case $flag in
38386 none)
38387 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38388 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38389 ;;
38390
38391 -*)
38392 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38393 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38394 THREADS_CFLAGS="$flag"
38395 ;;
38396
38397 *)
38398 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38399 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38400 THREADS_LINK="-l$flag"
38401 ;;
38402 esac
38403
38404 save_LIBS="$LIBS"
38405 save_CFLAGS="$CFLAGS"
38406 LIBS="$THREADS_LINK $LIBS"
38407 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38408
38409 cat >conftest.$ac_ext <<_ACEOF
38410 /* confdefs.h. */
38411 _ACEOF
38412 cat confdefs.h >>conftest.$ac_ext
38413 cat >>conftest.$ac_ext <<_ACEOF
38414 /* end confdefs.h. */
38415 #include <pthread.h>
38416 int
38417 main ()
38418 {
38419 pthread_create(0,0,0,0);
38420 ;
38421 return 0;
38422 }
38423 _ACEOF
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (ac_try="$ac_link"
38426 case "(($ac_try" in
38427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38428 *) ac_try_echo=$ac_try;;
38429 esac
38430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38431 (eval "$ac_link") 2>conftest.er1
38432 ac_status=$?
38433 grep -v '^ *+' conftest.er1 >conftest.err
38434 rm -f conftest.er1
38435 cat conftest.err >&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } && {
38438 test -z "$ac_c_werror_flag" ||
38439 test ! -s conftest.err
38440 } && test -s conftest$ac_exeext &&
38441 $as_test_x conftest$ac_exeext; then
38442 THREADS_OK=yes
38443 else
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.$ac_ext >&5
38446
38447
38448 fi
38449
38450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38451 conftest$ac_exeext conftest.$ac_ext
38452
38453 LIBS="$save_LIBS"
38454 CFLAGS="$save_CFLAGS"
38455
38456 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38457 echo "${ECHO_T}$THREADS_OK" >&6; }
38458 if test "x$THREADS_OK" = "xyes"; then
38459 break;
38460 fi
38461
38462 THREADS_LINK=""
38463 THREADS_CFLAGS=""
38464 done
38465
38466 if test "x$THREADS_OK" != "xyes"; then
38467 wxUSE_THREADS=no
38468 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38469 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38470 else
38471 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38472 LIBS="$THREADS_LINK $LIBS"
38473
38474 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38475 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38476 flag=no
38477 case "${host}" in
38478 *-aix*)
38479 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38480 flag="-D_THREAD_SAFE"
38481 ;;
38482 *-freebsd*)
38483 flag="-D_THREAD_SAFE"
38484 ;;
38485 *-hp-hpux* )
38486 flag="-D_REENTRANT"
38487 if test "x$GCC" != "xyes"; then
38488 flag="$flag -D_RWSTD_MULTI_THREAD"
38489 fi
38490 ;;
38491 *solaris* | alpha*-osf*)
38492 flag="-D_REENTRANT"
38493 ;;
38494 esac
38495 { echo "$as_me:$LINENO: result: ${flag}" >&5
38496 echo "${ECHO_T}${flag}" >&6; }
38497 if test "x$flag" != xno; then
38498 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38499 fi
38500
38501 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38502 fi
38503 fi
38504
38505 if test "$wxUSE_THREADS" = "yes" ; then
38506
38507 for ac_func in thr_setconcurrency
38508 do
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515 cat >conftest.$ac_ext <<_ACEOF
38516 /* confdefs.h. */
38517 _ACEOF
38518 cat confdefs.h >>conftest.$ac_ext
38519 cat >>conftest.$ac_ext <<_ACEOF
38520 /* end confdefs.h. */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38523 #define $ac_func innocuous_$ac_func
38524
38525 /* System header to define __stub macros and hopefully few prototypes,
38526 which can conflict with char $ac_func (); below.
38527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528 <limits.h> exists even on freestanding compilers. */
38529
38530 #ifdef __STDC__
38531 # include <limits.h>
38532 #else
38533 # include <assert.h>
38534 #endif
38535
38536 #undef $ac_func
38537
38538 /* Override any GCC internal prototype to avoid an error.
38539 Use char because int might match the return type of a GCC
38540 builtin and then its argument prototype would still apply. */
38541 #ifdef __cplusplus
38542 extern "C"
38543 #endif
38544 char $ac_func ();
38545 /* The GNU C library defines this for functions which it implements
38546 to always fail with ENOSYS. Some functions are actually named
38547 something starting with __ and the normal name is an alias. */
38548 #if defined __stub_$ac_func || defined __stub___$ac_func
38549 choke me
38550 #endif
38551
38552 int
38553 main ()
38554 {
38555 return $ac_func ();
38556 ;
38557 return 0;
38558 }
38559 _ACEOF
38560 rm -f conftest.$ac_objext conftest$ac_exeext
38561 if { (ac_try="$ac_link"
38562 case "(($ac_try" in
38563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38564 *) ac_try_echo=$ac_try;;
38565 esac
38566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38567 (eval "$ac_link") 2>conftest.er1
38568 ac_status=$?
38569 grep -v '^ *+' conftest.er1 >conftest.err
38570 rm -f conftest.er1
38571 cat conftest.err >&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); } && {
38574 test -z "$ac_c_werror_flag" ||
38575 test ! -s conftest.err
38576 } && test -s conftest$ac_exeext &&
38577 $as_test_x conftest$ac_exeext; then
38578 eval "$as_ac_var=yes"
38579 else
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38582
38583 eval "$as_ac_var=no"
38584 fi
38585
38586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38587 conftest$ac_exeext conftest.$ac_ext
38588 fi
38589 ac_res=`eval echo '${'$as_ac_var'}'`
38590 { echo "$as_me:$LINENO: result: $ac_res" >&5
38591 echo "${ECHO_T}$ac_res" >&6; }
38592 if test `eval echo '${'$as_ac_var'}'` = yes; then
38593 cat >>confdefs.h <<_ACEOF
38594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38595 _ACEOF
38596
38597 fi
38598 done
38599
38600
38601 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38602 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38603 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 else
38606
38607 ac_ext=cpp
38608 ac_cpp='$CXXCPP $CPPFLAGS'
38609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38612
38613 cat >conftest.$ac_ext <<_ACEOF
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619 #include <pthread.h>
38620 void ThreadCleanupFunc(void *p);
38621
38622 int
38623 main ()
38624 {
38625
38626 void *p;
38627 pthread_cleanup_push(ThreadCleanupFunc, p);
38628 pthread_cleanup_pop(0);
38629
38630 ;
38631 return 0;
38632 }
38633 _ACEOF
38634 rm -f conftest.$ac_objext
38635 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest.$ac_objext; then
38651
38652 wx_cv_func_pthread_cleanup=yes
38653
38654 else
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38657
38658
38659 wx_cv_func_pthread_cleanup=no
38660
38661
38662 fi
38663
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665 ac_ext=c
38666 ac_cpp='$CPP $CPPFLAGS'
38667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38670
38671
38672 fi
38673 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38674 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38675 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38676 cat >>confdefs.h <<\_ACEOF
38677 #define wxHAVE_PTHREAD_CLEANUP 1
38678 _ACEOF
38679
38680 fi
38681
38682
38683 for ac_header in sched.h
38684 do
38685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 $ac_includes_default
38698
38699 #include <$ac_header>
38700 _ACEOF
38701 rm -f conftest.$ac_objext
38702 if { (ac_try="$ac_compile"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38706 esac
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_compile") 2>conftest.er1
38709 ac_status=$?
38710 grep -v '^ *+' conftest.er1 >conftest.err
38711 rm -f conftest.er1
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest.$ac_objext; then
38718 eval "$as_ac_Header=yes"
38719 else
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38722
38723 eval "$as_ac_Header=no"
38724 fi
38725
38726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38727 fi
38728 ac_res=`eval echo '${'$as_ac_Header'}'`
38729 { echo "$as_me:$LINENO: result: $ac_res" >&5
38730 echo "${ECHO_T}$ac_res" >&6; }
38731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38732 cat >>confdefs.h <<_ACEOF
38733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38734 _ACEOF
38735
38736 fi
38737
38738 done
38739
38740 if test "$ac_cv_header_sched_h" = "yes"; then
38741 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38742 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38743 if test "${ac_cv_func_sched_yield+set}" = set; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define sched_yield innocuous_sched_yield
38755
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char sched_yield (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38760
38761 #ifdef __STDC__
38762 # include <limits.h>
38763 #else
38764 # include <assert.h>
38765 #endif
38766
38767 #undef sched_yield
38768
38769 /* Override any GCC internal prototype to avoid an error.
38770 Use char because int might match the return type of a GCC
38771 builtin and then its argument prototype would still apply. */
38772 #ifdef __cplusplus
38773 extern "C"
38774 #endif
38775 char sched_yield ();
38776 /* The GNU C library defines this for functions which it implements
38777 to always fail with ENOSYS. Some functions are actually named
38778 something starting with __ and the normal name is an alias. */
38779 #if defined __stub_sched_yield || defined __stub___sched_yield
38780 choke me
38781 #endif
38782
38783 int
38784 main ()
38785 {
38786 return sched_yield ();
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38796 esac
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest$ac_exeext &&
38808 $as_test_x conftest$ac_exeext; then
38809 ac_cv_func_sched_yield=yes
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 ac_cv_func_sched_yield=no
38815 fi
38816
38817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38818 conftest$ac_exeext conftest.$ac_ext
38819 fi
38820 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38821 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38822 if test $ac_cv_func_sched_yield = yes; then
38823 cat >>confdefs.h <<\_ACEOF
38824 #define HAVE_SCHED_YIELD 1
38825 _ACEOF
38826
38827 else
38828
38829 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38830 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38831 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834 ac_check_lib_save_LIBS=$LIBS
38835 LIBS="-lposix4 $LIBS"
38836 cat >conftest.$ac_ext <<_ACEOF
38837 /* confdefs.h. */
38838 _ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h. */
38842
38843 /* Override any GCC internal prototype to avoid an error.
38844 Use char because int might match the return type of a GCC
38845 builtin and then its argument prototype would still apply. */
38846 #ifdef __cplusplus
38847 extern "C"
38848 #endif
38849 char sched_yield ();
38850 int
38851 main ()
38852 {
38853 return sched_yield ();
38854 ;
38855 return 0;
38856 }
38857 _ACEOF
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38863 esac
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38866 ac_status=$?
38867 grep -v '^ *+' conftest.er1 >conftest.err
38868 rm -f conftest.er1
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_c_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 ac_cv_lib_posix4_sched_yield=yes
38877 else
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38880
38881 ac_cv_lib_posix4_sched_yield=no
38882 fi
38883
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38886 LIBS=$ac_check_lib_save_LIBS
38887 fi
38888 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38889 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38890 if test $ac_cv_lib_posix4_sched_yield = yes; then
38891 cat >>confdefs.h <<\_ACEOF
38892 #define HAVE_SCHED_YIELD 1
38893 _ACEOF
38894 POSIX4_LINK=" -lposix4"
38895 else
38896 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38897 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38898
38899 fi
38900
38901
38902
38903 fi
38904
38905 fi
38906
38907 HAVE_PRIOR_FUNCS=0
38908 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38909 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38910 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38912 else
38913 cat >conftest.$ac_ext <<_ACEOF
38914 /* confdefs.h. */
38915 _ACEOF
38916 cat confdefs.h >>conftest.$ac_ext
38917 cat >>conftest.$ac_ext <<_ACEOF
38918 /* end confdefs.h. */
38919 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38921 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38922
38923 /* System header to define __stub macros and hopefully few prototypes,
38924 which can conflict with char pthread_attr_getschedpolicy (); below.
38925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38926 <limits.h> exists even on freestanding compilers. */
38927
38928 #ifdef __STDC__
38929 # include <limits.h>
38930 #else
38931 # include <assert.h>
38932 #endif
38933
38934 #undef pthread_attr_getschedpolicy
38935
38936 /* Override any GCC internal prototype to avoid an error.
38937 Use char because int might match the return type of a GCC
38938 builtin and then its argument prototype would still apply. */
38939 #ifdef __cplusplus
38940 extern "C"
38941 #endif
38942 char pthread_attr_getschedpolicy ();
38943 /* The GNU C library defines this for functions which it implements
38944 to always fail with ENOSYS. Some functions are actually named
38945 something starting with __ and the normal name is an alias. */
38946 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38947 choke me
38948 #endif
38949
38950 int
38951 main ()
38952 {
38953 return pthread_attr_getschedpolicy ();
38954 ;
38955 return 0;
38956 }
38957 _ACEOF
38958 rm -f conftest.$ac_objext conftest$ac_exeext
38959 if { (ac_try="$ac_link"
38960 case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38962 *) ac_try_echo=$ac_try;;
38963 esac
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_link") 2>conftest.er1
38966 ac_status=$?
38967 grep -v '^ *+' conftest.er1 >conftest.err
38968 rm -f conftest.er1
38969 cat conftest.err >&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } && {
38972 test -z "$ac_c_werror_flag" ||
38973 test ! -s conftest.err
38974 } && test -s conftest$ac_exeext &&
38975 $as_test_x conftest$ac_exeext; then
38976 ac_cv_func_pthread_attr_getschedpolicy=yes
38977 else
38978 echo "$as_me: failed program was:" >&5
38979 sed 's/^/| /' conftest.$ac_ext >&5
38980
38981 ac_cv_func_pthread_attr_getschedpolicy=no
38982 fi
38983
38984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38985 conftest$ac_exeext conftest.$ac_ext
38986 fi
38987 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38988 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38989 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38990 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38991 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38992 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 else
38995 cat >conftest.$ac_ext <<_ACEOF
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39004
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char pthread_attr_setschedparam (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39009
39010 #ifdef __STDC__
39011 # include <limits.h>
39012 #else
39013 # include <assert.h>
39014 #endif
39015
39016 #undef pthread_attr_setschedparam
39017
39018 /* Override any GCC internal prototype to avoid an error.
39019 Use char because int might match the return type of a GCC
39020 builtin and then its argument prototype would still apply. */
39021 #ifdef __cplusplus
39022 extern "C"
39023 #endif
39024 char pthread_attr_setschedparam ();
39025 /* The GNU C library defines this for functions which it implements
39026 to always fail with ENOSYS. Some functions are actually named
39027 something starting with __ and the normal name is an alias. */
39028 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39029 choke me
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035 return pthread_attr_setschedparam ();
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 ac_cv_func_pthread_attr_setschedparam=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 ac_cv_func_pthread_attr_setschedparam=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39068 fi
39069 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39070 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39071 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39072 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39073 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39074 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 else
39077 cat >conftest.$ac_ext <<_ACEOF
39078 /* confdefs.h. */
39079 _ACEOF
39080 cat confdefs.h >>conftest.$ac_ext
39081 cat >>conftest.$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define sched_get_priority_max innocuous_sched_get_priority_max
39086
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char sched_get_priority_max (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39091
39092 #ifdef __STDC__
39093 # include <limits.h>
39094 #else
39095 # include <assert.h>
39096 #endif
39097
39098 #undef sched_get_priority_max
39099
39100 /* Override any GCC internal prototype to avoid an error.
39101 Use char because int might match the return type of a GCC
39102 builtin and then its argument prototype would still apply. */
39103 #ifdef __cplusplus
39104 extern "C"
39105 #endif
39106 char sched_get_priority_max ();
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39111 choke me
39112 #endif
39113
39114 int
39115 main ()
39116 {
39117 return sched_get_priority_max ();
39118 ;
39119 return 0;
39120 }
39121 _ACEOF
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39126 *) ac_try_echo=$ac_try;;
39127 esac
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest$ac_exeext &&
39139 $as_test_x conftest$ac_exeext; then
39140 ac_cv_func_sched_get_priority_max=yes
39141 else
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.$ac_ext >&5
39144
39145 ac_cv_func_sched_get_priority_max=no
39146 fi
39147
39148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39149 conftest$ac_exeext conftest.$ac_ext
39150 fi
39151 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39152 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39153 if test $ac_cv_func_sched_get_priority_max = yes; then
39154 HAVE_PRIOR_FUNCS=1
39155 else
39156 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39157 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39158 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161 ac_check_lib_save_LIBS=$LIBS
39162 LIBS="-lposix4 $LIBS"
39163 cat >conftest.$ac_ext <<_ACEOF
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169
39170 /* Override any GCC internal prototype to avoid an error.
39171 Use char because int might match the return type of a GCC
39172 builtin and then its argument prototype would still apply. */
39173 #ifdef __cplusplus
39174 extern "C"
39175 #endif
39176 char sched_get_priority_max ();
39177 int
39178 main ()
39179 {
39180 return sched_get_priority_max ();
39181 ;
39182 return 0;
39183 }
39184 _ACEOF
39185 rm -f conftest.$ac_objext conftest$ac_exeext
39186 if { (ac_try="$ac_link"
39187 case "(($ac_try" in
39188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39189 *) ac_try_echo=$ac_try;;
39190 esac
39191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39192 (eval "$ac_link") 2>conftest.er1
39193 ac_status=$?
39194 grep -v '^ *+' conftest.er1 >conftest.err
39195 rm -f conftest.er1
39196 cat conftest.err >&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } && {
39199 test -z "$ac_c_werror_flag" ||
39200 test ! -s conftest.err
39201 } && test -s conftest$ac_exeext &&
39202 $as_test_x conftest$ac_exeext; then
39203 ac_cv_lib_posix4_sched_get_priority_max=yes
39204 else
39205 echo "$as_me: failed program was:" >&5
39206 sed 's/^/| /' conftest.$ac_ext >&5
39207
39208 ac_cv_lib_posix4_sched_get_priority_max=no
39209 fi
39210
39211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39212 conftest$ac_exeext conftest.$ac_ext
39213 LIBS=$ac_check_lib_save_LIBS
39214 fi
39215 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39216 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39217 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39218
39219 HAVE_PRIOR_FUNCS=1
39220 POSIX4_LINK=" -lposix4"
39221
39222 fi
39223
39224
39225 fi
39226
39227
39228 fi
39229
39230
39231 fi
39232
39233
39234 if test "$HAVE_PRIOR_FUNCS" = 1; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39237 _ACEOF
39238
39239 else
39240 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39241 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39242 fi
39243
39244 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39245 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39246 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39249 cat >conftest.$ac_ext <<_ACEOF
39250 /* confdefs.h. */
39251 _ACEOF
39252 cat confdefs.h >>conftest.$ac_ext
39253 cat >>conftest.$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39255 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39257 #define pthread_cancel innocuous_pthread_cancel
39258
39259 /* System header to define __stub macros and hopefully few prototypes,
39260 which can conflict with char pthread_cancel (); below.
39261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39262 <limits.h> exists even on freestanding compilers. */
39263
39264 #ifdef __STDC__
39265 # include <limits.h>
39266 #else
39267 # include <assert.h>
39268 #endif
39269
39270 #undef pthread_cancel
39271
39272 /* Override any GCC internal prototype to avoid an error.
39273 Use char because int might match the return type of a GCC
39274 builtin and then its argument prototype would still apply. */
39275 #ifdef __cplusplus
39276 extern "C"
39277 #endif
39278 char pthread_cancel ();
39279 /* The GNU C library defines this for functions which it implements
39280 to always fail with ENOSYS. Some functions are actually named
39281 something starting with __ and the normal name is an alias. */
39282 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39283 choke me
39284 #endif
39285
39286 int
39287 main ()
39288 {
39289 return pthread_cancel ();
39290 ;
39291 return 0;
39292 }
39293 _ACEOF
39294 rm -f conftest.$ac_objext conftest$ac_exeext
39295 if { (ac_try="$ac_link"
39296 case "(($ac_try" in
39297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39298 *) ac_try_echo=$ac_try;;
39299 esac
39300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39301 (eval "$ac_link") 2>conftest.er1
39302 ac_status=$?
39303 grep -v '^ *+' conftest.er1 >conftest.err
39304 rm -f conftest.er1
39305 cat conftest.err >&5
39306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39307 (exit $ac_status); } && {
39308 test -z "$ac_c_werror_flag" ||
39309 test ! -s conftest.err
39310 } && test -s conftest$ac_exeext &&
39311 $as_test_x conftest$ac_exeext; then
39312 ac_cv_func_pthread_cancel=yes
39313 else
39314 echo "$as_me: failed program was:" >&5
39315 sed 's/^/| /' conftest.$ac_ext >&5
39316
39317 ac_cv_func_pthread_cancel=no
39318 fi
39319
39320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39321 conftest$ac_exeext conftest.$ac_ext
39322 fi
39323 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39324 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39325 if test $ac_cv_func_pthread_cancel = yes; then
39326 cat >>confdefs.h <<\_ACEOF
39327 #define HAVE_PTHREAD_CANCEL 1
39328 _ACEOF
39329
39330 else
39331 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39332 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39333 fi
39334
39335
39336 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39337 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39338 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39339 echo $ECHO_N "(cached) $ECHO_C" >&6
39340 else
39341 cat >conftest.$ac_ext <<_ACEOF
39342 /* confdefs.h. */
39343 _ACEOF
39344 cat confdefs.h >>conftest.$ac_ext
39345 cat >>conftest.$ac_ext <<_ACEOF
39346 /* end confdefs.h. */
39347 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39349 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39350
39351 /* System header to define __stub macros and hopefully few prototypes,
39352 which can conflict with char pthread_mutex_timedlock (); below.
39353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39354 <limits.h> exists even on freestanding compilers. */
39355
39356 #ifdef __STDC__
39357 # include <limits.h>
39358 #else
39359 # include <assert.h>
39360 #endif
39361
39362 #undef pthread_mutex_timedlock
39363
39364 /* Override any GCC internal prototype to avoid an error.
39365 Use char because int might match the return type of a GCC
39366 builtin and then its argument prototype would still apply. */
39367 #ifdef __cplusplus
39368 extern "C"
39369 #endif
39370 char pthread_mutex_timedlock ();
39371 /* The GNU C library defines this for functions which it implements
39372 to always fail with ENOSYS. Some functions are actually named
39373 something starting with __ and the normal name is an alias. */
39374 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39375 choke me
39376 #endif
39377
39378 int
39379 main ()
39380 {
39381 return pthread_mutex_timedlock ();
39382 ;
39383 return 0;
39384 }
39385 _ACEOF
39386 rm -f conftest.$ac_objext conftest$ac_exeext
39387 if { (ac_try="$ac_link"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39391 esac
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_link") 2>conftest.er1
39394 ac_status=$?
39395 grep -v '^ *+' conftest.er1 >conftest.err
39396 rm -f conftest.er1
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest$ac_exeext &&
39403 $as_test_x conftest$ac_exeext; then
39404 ac_cv_func_pthread_mutex_timedlock=yes
39405 else
39406 echo "$as_me: failed program was:" >&5
39407 sed 's/^/| /' conftest.$ac_ext >&5
39408
39409 ac_cv_func_pthread_mutex_timedlock=no
39410 fi
39411
39412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39413 conftest$ac_exeext conftest.$ac_ext
39414 fi
39415 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39416 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39417 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39420 _ACEOF
39421
39422 else
39423 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39424 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39425 fi
39426
39427
39428 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39429 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39430 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39433 cat >conftest.$ac_ext <<_ACEOF
39434 /* confdefs.h. */
39435 _ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39441 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39442
39443 /* System header to define __stub macros and hopefully few prototypes,
39444 which can conflict with char pthread_attr_setstacksize (); below.
39445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39446 <limits.h> exists even on freestanding compilers. */
39447
39448 #ifdef __STDC__
39449 # include <limits.h>
39450 #else
39451 # include <assert.h>
39452 #endif
39453
39454 #undef pthread_attr_setstacksize
39455
39456 /* Override any GCC internal prototype to avoid an error.
39457 Use char because int might match the return type of a GCC
39458 builtin and then its argument prototype would still apply. */
39459 #ifdef __cplusplus
39460 extern "C"
39461 #endif
39462 char pthread_attr_setstacksize ();
39463 /* The GNU C library defines this for functions which it implements
39464 to always fail with ENOSYS. Some functions are actually named
39465 something starting with __ and the normal name is an alias. */
39466 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39467 choke me
39468 #endif
39469
39470 int
39471 main ()
39472 {
39473 return pthread_attr_setstacksize ();
39474 ;
39475 return 0;
39476 }
39477 _ACEOF
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39483 esac
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39486 ac_status=$?
39487 grep -v '^ *+' conftest.er1 >conftest.err
39488 rm -f conftest.er1
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 ac_cv_func_pthread_attr_setstacksize=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 ac_cv_func_pthread_attr_setstacksize=no
39502 fi
39503
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39506 fi
39507 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39508 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39509 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39512 _ACEOF
39513
39514 fi
39515
39516
39517
39518 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39519 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39520 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 else
39523
39524 cat >conftest.$ac_ext <<_ACEOF
39525 /* confdefs.h. */
39526 _ACEOF
39527 cat confdefs.h >>conftest.$ac_ext
39528 cat >>conftest.$ac_ext <<_ACEOF
39529 /* end confdefs.h. */
39530 #include <pthread.h>
39531 int
39532 main ()
39533 {
39534
39535 pthread_mutexattr_t attr;
39536 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39537
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 rm -f conftest.$ac_objext
39543 if { (ac_try="$ac_compile"
39544 case "(($ac_try" in
39545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39547 esac
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_compile") 2>conftest.er1
39550 ac_status=$?
39551 grep -v '^ *+' conftest.er1 >conftest.err
39552 rm -f conftest.er1
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest.$ac_objext; then
39559 wx_cv_type_pthread_mutexattr_t=yes
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564 wx_cv_type_pthread_mutexattr_t=no
39565
39566 fi
39567
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569
39570 fi
39571 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39572 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39573
39574 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define HAVE_PTHREAD_MUTEXATTR_T 1
39577 _ACEOF
39578
39579
39580 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39581 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39582 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 else
39585
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39593 int
39594 main ()
39595 {
39596
39597 pthread_mutexattr_t attr;
39598 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39599
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 rm -f conftest.$ac_objext
39605 if { (ac_try="$ac_compile"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39609 esac
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_compile") 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest.$ac_objext; then
39621 wx_cv_func_pthread_mutexattr_settype_decl=yes
39622 else
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39625
39626 wx_cv_func_pthread_mutexattr_settype_decl=no
39627
39628 fi
39629
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631
39632 fi
39633 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39634 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39635 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39638 _ACEOF
39639
39640 fi
39641 else
39642 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39643 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39644 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 else
39647
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 #include <pthread.h>
39655 int
39656 main ()
39657 {
39658
39659 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39660
39661 ;
39662 return 0;
39663 }
39664 _ACEOF
39665 rm -f conftest.$ac_objext
39666 if { (ac_try="$ac_compile"
39667 case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39670 esac
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_compile") 2>conftest.er1
39673 ac_status=$?
39674 grep -v '^ *+' conftest.er1 >conftest.err
39675 rm -f conftest.er1
39676 cat conftest.err >&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } && {
39679 test -z "$ac_c_werror_flag" ||
39680 test ! -s conftest.err
39681 } && test -s conftest.$ac_objext; then
39682
39683 wx_cv_type_pthread_rec_mutex_init=yes
39684
39685 else
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.$ac_ext >&5
39688
39689
39690 wx_cv_type_pthread_rec_mutex_init=no
39691
39692
39693 fi
39694
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696
39697 fi
39698 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39699 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39700 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39701 cat >>confdefs.h <<\_ACEOF
39702 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39703 _ACEOF
39704
39705 else
39706 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39707 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39708 fi
39709 fi
39710 fi
39711
39712 else
39713 if test "$wxUSE_THREADS" = "yes" ; then
39714 case "${host}" in
39715 *-*-mingw32* )
39716 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39717 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39718 if test "${wx_cv_cflags_mthread+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39721
39722 CFLAGS_OLD="$CFLAGS"
39723 CFLAGS="-mthreads $CFLAGS"
39724 cat >conftest.$ac_ext <<_ACEOF
39725 /* confdefs.h. */
39726 _ACEOF
39727 cat confdefs.h >>conftest.$ac_ext
39728 cat >>conftest.$ac_ext <<_ACEOF
39729 /* end confdefs.h. */
39730
39731 int
39732 main ()
39733 {
39734
39735 ;
39736 return 0;
39737 }
39738 _ACEOF
39739 rm -f conftest.$ac_objext
39740 if { (ac_try="$ac_compile"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39744 esac
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_compile") 2>conftest.er1
39747 ac_status=$?
39748 grep -v '^ *+' conftest.er1 >conftest.err
39749 rm -f conftest.er1
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest.$ac_objext; then
39756 wx_cv_cflags_mthread=yes
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39760
39761 wx_cv_cflags_mthread=no
39762
39763 fi
39764
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766
39767
39768 fi
39769 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39770 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39771
39772 if test "$wx_cv_cflags_mthread" = "yes"; then
39773 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39774 LDFLAGS="$LDFLAGS -mthreads"
39775 else
39776 CFLAGS="$CFLAGS_OLD"
39777 fi
39778 ;;
39779 *-pc-os2*emx )
39780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39781 LDFLAGS="$LDFLAGS -Zmt"
39782 ;;
39783 esac
39784 fi
39785 fi
39786
39787 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39788 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39789 if test "${ac_cv_func_localtime_r+set}" = set; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 else
39792 cat >conftest.$ac_ext <<_ACEOF
39793 /* confdefs.h. */
39794 _ACEOF
39795 cat confdefs.h >>conftest.$ac_ext
39796 cat >>conftest.$ac_ext <<_ACEOF
39797 /* end confdefs.h. */
39798 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39800 #define localtime_r innocuous_localtime_r
39801
39802 /* System header to define __stub macros and hopefully few prototypes,
39803 which can conflict with char localtime_r (); below.
39804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39805 <limits.h> exists even on freestanding compilers. */
39806
39807 #ifdef __STDC__
39808 # include <limits.h>
39809 #else
39810 # include <assert.h>
39811 #endif
39812
39813 #undef localtime_r
39814
39815 /* Override any GCC internal prototype to avoid an error.
39816 Use char because int might match the return type of a GCC
39817 builtin and then its argument prototype would still apply. */
39818 #ifdef __cplusplus
39819 extern "C"
39820 #endif
39821 char localtime_r ();
39822 /* The GNU C library defines this for functions which it implements
39823 to always fail with ENOSYS. Some functions are actually named
39824 something starting with __ and the normal name is an alias. */
39825 #if defined __stub_localtime_r || defined __stub___localtime_r
39826 choke me
39827 #endif
39828
39829 int
39830 main ()
39831 {
39832 return localtime_r ();
39833 ;
39834 return 0;
39835 }
39836 _ACEOF
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39841 *) ac_try_echo=$ac_try;;
39842 esac
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39845 ac_status=$?
39846 grep -v '^ *+' conftest.er1 >conftest.err
39847 rm -f conftest.er1
39848 cat conftest.err >&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } && {
39851 test -z "$ac_c_werror_flag" ||
39852 test ! -s conftest.err
39853 } && test -s conftest$ac_exeext &&
39854 $as_test_x conftest$ac_exeext; then
39855 ac_cv_func_localtime_r=yes
39856 else
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39859
39860 ac_cv_func_localtime_r=no
39861 fi
39862
39863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39864 conftest$ac_exeext conftest.$ac_ext
39865 fi
39866 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39867 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39868 if test $ac_cv_func_localtime_r = yes; then
39869 cat >>confdefs.h <<\_ACEOF
39870 #define HAVE_LOCALTIME_R 1
39871 _ACEOF
39872
39873 fi
39874
39875 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39876 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39877 if test "${ac_cv_func_gmtime_r+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define gmtime_r innocuous_gmtime_r
39889
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char gmtime_r (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39894
39895 #ifdef __STDC__
39896 # include <limits.h>
39897 #else
39898 # include <assert.h>
39899 #endif
39900
39901 #undef gmtime_r
39902
39903 /* Override any GCC internal prototype to avoid an error.
39904 Use char because int might match the return type of a GCC
39905 builtin and then its argument prototype would still apply. */
39906 #ifdef __cplusplus
39907 extern "C"
39908 #endif
39909 char gmtime_r ();
39910 /* The GNU C library defines this for functions which it implements
39911 to always fail with ENOSYS. Some functions are actually named
39912 something starting with __ and the normal name is an alias. */
39913 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39914 choke me
39915 #endif
39916
39917 int
39918 main ()
39919 {
39920 return gmtime_r ();
39921 ;
39922 return 0;
39923 }
39924 _ACEOF
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (ac_try="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39929 *) ac_try_echo=$ac_try;;
39930 esac
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39933 ac_status=$?
39934 grep -v '^ *+' conftest.er1 >conftest.err
39935 rm -f conftest.er1
39936 cat conftest.err >&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest$ac_exeext &&
39942 $as_test_x conftest$ac_exeext; then
39943 ac_cv_func_gmtime_r=yes
39944 else
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39947
39948 ac_cv_func_gmtime_r=no
39949 fi
39950
39951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39952 conftest$ac_exeext conftest.$ac_ext
39953 fi
39954 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39955 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39956 if test $ac_cv_func_gmtime_r = yes; then
39957 cat >>confdefs.h <<\_ACEOF
39958 #define HAVE_GMTIME_R 1
39959 _ACEOF
39960
39961 fi
39962
39963
39964
39965
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971
39972 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39973 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39974
39975 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39977 else
39978
39979
39980 ################################################################
39981
39982 ac_cv_func_which_gethostbyname_r=unknown
39983
39984 #
39985 # ONE ARGUMENT (sanity check)
39986 #
39987
39988 # This should fail, as there is no variant of gethostbyname_r() that takes
39989 # a single argument. If it actually compiles, then we can assume that
39990 # netdb.h is not declaring the function, and the compiler is thereby
39991 # assuming an implicit prototype. In which case, we're out of luck.
39992 #
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 #include <netdb.h>
40000 int
40001 main ()
40002 {
40003
40004 char *name = "www.gnu.org";
40005 (void)gethostbyname_r(name) /* ; */
40006
40007 ;
40008 return 0;
40009 }
40010 _ACEOF
40011 rm -f conftest.$ac_objext
40012 if { (ac_try="$ac_compile"
40013 case "(($ac_try" in
40014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40015 *) ac_try_echo=$ac_try;;
40016 esac
40017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40018 (eval "$ac_compile") 2>conftest.er1
40019 ac_status=$?
40020 grep -v '^ *+' conftest.er1 >conftest.err
40021 rm -f conftest.er1
40022 cat conftest.err >&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } && {
40025 test -z "$ac_c_werror_flag" ||
40026 test ! -s conftest.err
40027 } && test -s conftest.$ac_objext; then
40028 ac_cv_func_which_gethostbyname_r=no
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037
40038 #
40039 # SIX ARGUMENTS
40040 # (e.g. Linux)
40041 #
40042
40043 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40044
40045 cat >conftest.$ac_ext <<_ACEOF
40046 /* confdefs.h. */
40047 _ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 #include <netdb.h>
40052 int
40053 main ()
40054 {
40055
40056 char *name = "www.gnu.org";
40057 struct hostent ret, *retp;
40058 char buf[1024];
40059 int buflen = 1024;
40060 int my_h_errno;
40061 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40062
40063 ;
40064 return 0;
40065 }
40066 _ACEOF
40067 rm -f conftest.$ac_objext
40068 if { (ac_try="$ac_compile"
40069 case "(($ac_try" in
40070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40071 *) ac_try_echo=$ac_try;;
40072 esac
40073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40074 (eval "$ac_compile") 2>conftest.er1
40075 ac_status=$?
40076 grep -v '^ *+' conftest.er1 >conftest.err
40077 rm -f conftest.er1
40078 cat conftest.err >&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } && {
40081 test -z "$ac_c_werror_flag" ||
40082 test ! -s conftest.err
40083 } && test -s conftest.$ac_objext; then
40084 ac_cv_func_which_gethostbyname_r=six
40085 else
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089
40090 fi
40091
40092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40093
40094 fi
40095
40096 #
40097 # FIVE ARGUMENTS
40098 # (e.g. Solaris)
40099 #
40100
40101 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40102
40103 cat >conftest.$ac_ext <<_ACEOF
40104 /* confdefs.h. */
40105 _ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h. */
40109 #include <netdb.h>
40110 int
40111 main ()
40112 {
40113
40114 char *name = "www.gnu.org";
40115 struct hostent ret;
40116 char buf[1024];
40117 int buflen = 1024;
40118 int my_h_errno;
40119 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40120
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext
40126 if { (ac_try="$ac_compile"
40127 case "(($ac_try" in
40128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40130 esac
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_compile") 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest.$ac_objext; then
40142 ac_cv_func_which_gethostbyname_r=five
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147
40148 fi
40149
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151
40152 fi
40153
40154 #
40155 # THREE ARGUMENTS
40156 # (e.g. AIX, HP-UX, Tru64)
40157 #
40158
40159 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40160
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 #include <netdb.h>
40168 int
40169 main ()
40170 {
40171
40172 char *name = "www.gnu.org";
40173 struct hostent ret;
40174 struct hostent_data data;
40175 (void)gethostbyname_r(name, &ret, &data) /* ; */
40176
40177 ;
40178 return 0;
40179 }
40180 _ACEOF
40181 rm -f conftest.$ac_objext
40182 if { (ac_try="$ac_compile"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40186 esac
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_compile") 2>conftest.er1
40189 ac_status=$?
40190 grep -v '^ *+' conftest.er1 >conftest.err
40191 rm -f conftest.er1
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest.$ac_objext; then
40198 ac_cv_func_which_gethostbyname_r=three
40199 else
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40202
40203
40204 fi
40205
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40207
40208 fi
40209
40210 ################################################################
40211
40212
40213 fi
40214
40215 case "$ac_cv_func_which_gethostbyname_r" in
40216 three)
40217 { echo "$as_me:$LINENO: result: three" >&5
40218 echo "${ECHO_T}three" >&6; }
40219 cat >>confdefs.h <<\_ACEOF
40220 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40221 _ACEOF
40222
40223 ;;
40224
40225 five)
40226 { echo "$as_me:$LINENO: result: five" >&5
40227 echo "${ECHO_T}five" >&6; }
40228 cat >>confdefs.h <<\_ACEOF
40229 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40230 _ACEOF
40231
40232 ;;
40233
40234 six)
40235 { echo "$as_me:$LINENO: result: six" >&5
40236 echo "${ECHO_T}six" >&6; }
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40239 _ACEOF
40240
40241 ;;
40242
40243 no)
40244 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40245 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40246 ;;
40247
40248 unknown)
40249 { echo "$as_me:$LINENO: result: can't tell" >&5
40250 echo "${ECHO_T}can't tell" >&6; }
40251 ;;
40252
40253 *)
40254 { { echo "$as_me:$LINENO: error: internal error" >&5
40255 echo "$as_me: error: internal error" >&2;}
40256 { (exit 1); exit 1; }; }
40257 ;;
40258 esac
40259
40260 ac_ext=c
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40265
40266
40267
40268 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40269 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40270 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40271 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40272 if test "${ac_cv_func_gethostbyname+set}" = set; then
40273 echo $ECHO_N "(cached) $ECHO_C" >&6
40274 else
40275 cat >conftest.$ac_ext <<_ACEOF
40276 /* confdefs.h. */
40277 _ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40281 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40283 #define gethostbyname innocuous_gethostbyname
40284
40285 /* System header to define __stub macros and hopefully few prototypes,
40286 which can conflict with char gethostbyname (); below.
40287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40288 <limits.h> exists even on freestanding compilers. */
40289
40290 #ifdef __STDC__
40291 # include <limits.h>
40292 #else
40293 # include <assert.h>
40294 #endif
40295
40296 #undef gethostbyname
40297
40298 /* Override any GCC internal prototype to avoid an error.
40299 Use char because int might match the return type of a GCC
40300 builtin and then its argument prototype would still apply. */
40301 #ifdef __cplusplus
40302 extern "C"
40303 #endif
40304 char gethostbyname ();
40305 /* The GNU C library defines this for functions which it implements
40306 to always fail with ENOSYS. Some functions are actually named
40307 something starting with __ and the normal name is an alias. */
40308 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40309 choke me
40310 #endif
40311
40312 int
40313 main ()
40314 {
40315 return gethostbyname ();
40316 ;
40317 return 0;
40318 }
40319 _ACEOF
40320 rm -f conftest.$ac_objext conftest$ac_exeext
40321 if { (ac_try="$ac_link"
40322 case "(($ac_try" in
40323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40324 *) ac_try_echo=$ac_try;;
40325 esac
40326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40327 (eval "$ac_link") 2>conftest.er1
40328 ac_status=$?
40329 grep -v '^ *+' conftest.er1 >conftest.err
40330 rm -f conftest.er1
40331 cat conftest.err >&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); } && {
40334 test -z "$ac_c_werror_flag" ||
40335 test ! -s conftest.err
40336 } && test -s conftest$ac_exeext &&
40337 $as_test_x conftest$ac_exeext; then
40338 ac_cv_func_gethostbyname=yes
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40342
40343 ac_cv_func_gethostbyname=no
40344 fi
40345
40346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40347 conftest$ac_exeext conftest.$ac_ext
40348 fi
40349 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40351 if test $ac_cv_func_gethostbyname = yes; then
40352 cat >>confdefs.h <<\_ACEOF
40353 #define HAVE_GETHOSTBYNAME 1
40354 _ACEOF
40355
40356 fi
40357
40358 fi
40359
40360 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40361 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40362 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365
40366 ac_ext=cpp
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371
40372
40373 cat >conftest.$ac_ext <<_ACEOF
40374 /* confdefs.h. */
40375 _ACEOF
40376 cat confdefs.h >>conftest.$ac_ext
40377 cat >>conftest.$ac_ext <<_ACEOF
40378 /* end confdefs.h. */
40379 #include <netdb.h>
40380 int
40381 main ()
40382 {
40383
40384 char *name;
40385 char *proto;
40386 struct servent *se, *res;
40387 char buffer[2048];
40388 int buflen = 2048;
40389 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40390
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 rm -f conftest.$ac_objext
40396 if { (ac_try="$ac_compile"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40400 esac
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_compile") 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_cxx_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest.$ac_objext; then
40412 ac_cv_func_which_getservbyname_r=six
40413 else
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.$ac_ext >&5
40416
40417
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424 #include <netdb.h>
40425 int
40426 main ()
40427 {
40428
40429 char *name;
40430 char *proto;
40431 struct servent *se;
40432 char buffer[2048];
40433 int buflen = 2048;
40434 (void) getservbyname_r(name, proto, se, buffer, buflen)
40435
40436 ;
40437 return 0;
40438 }
40439 _ACEOF
40440 rm -f conftest.$ac_objext
40441 if { (ac_try="$ac_compile"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40445 esac
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_compile") 2>conftest.er1
40448 ac_status=$?
40449 grep -v '^ *+' conftest.er1 >conftest.err
40450 rm -f conftest.er1
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_cxx_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest.$ac_objext; then
40457 ac_cv_func_which_getservbyname_r=five
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40461
40462
40463 cat >conftest.$ac_ext <<_ACEOF
40464 /* confdefs.h. */
40465 _ACEOF
40466 cat confdefs.h >>conftest.$ac_ext
40467 cat >>conftest.$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40469 #include <netdb.h>
40470 int
40471 main ()
40472 {
40473
40474 char *name;
40475 char *proto;
40476 struct servent *se;
40477 struct servent_data data;
40478 (void) getservbyname_r(name, proto, se, &data);
40479
40480 ;
40481 return 0;
40482 }
40483 _ACEOF
40484 rm -f conftest.$ac_objext
40485 if { (ac_try="$ac_compile"
40486 case "(($ac_try" in
40487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40488 *) ac_try_echo=$ac_try;;
40489 esac
40490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40491 (eval "$ac_compile") 2>conftest.er1
40492 ac_status=$?
40493 grep -v '^ *+' conftest.er1 >conftest.err
40494 rm -f conftest.er1
40495 cat conftest.err >&5
40496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497 (exit $ac_status); } && {
40498 test -z "$ac_cxx_werror_flag" ||
40499 test ! -s conftest.err
40500 } && test -s conftest.$ac_objext; then
40501 ac_cv_func_which_getservbyname_r=four
40502 else
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.$ac_ext >&5
40505
40506 ac_cv_func_which_getservbyname_r=no
40507
40508 fi
40509
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511
40512
40513 fi
40514
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517
40518 fi
40519
40520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40521 ac_ext=c
40522 ac_cpp='$CPP $CPPFLAGS'
40523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40526
40527
40528
40529 fi
40530 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40531 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40532
40533 if test $ac_cv_func_which_getservbyname_r = six; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40536 _ACEOF
40537
40538 elif test $ac_cv_func_which_getservbyname_r = five; then
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40541 _ACEOF
40542
40543 elif test $ac_cv_func_which_getservbyname_r = four; then
40544 cat >>confdefs.h <<\_ACEOF
40545 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40546 _ACEOF
40547
40548 fi
40549
40550
40551 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40552 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40553
40554 for ac_func in getservbyname
40555 do
40556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40561 else
40562 cat >conftest.$ac_ext <<_ACEOF
40563 /* confdefs.h. */
40564 _ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h. */
40568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40570 #define $ac_func innocuous_$ac_func
40571
40572 /* System header to define __stub macros and hopefully few prototypes,
40573 which can conflict with char $ac_func (); below.
40574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40575 <limits.h> exists even on freestanding compilers. */
40576
40577 #ifdef __STDC__
40578 # include <limits.h>
40579 #else
40580 # include <assert.h>
40581 #endif
40582
40583 #undef $ac_func
40584
40585 /* Override any GCC internal prototype to avoid an error.
40586 Use char because int might match the return type of a GCC
40587 builtin and then its argument prototype would still apply. */
40588 #ifdef __cplusplus
40589 extern "C"
40590 #endif
40591 char $ac_func ();
40592 /* The GNU C library defines this for functions which it implements
40593 to always fail with ENOSYS. Some functions are actually named
40594 something starting with __ and the normal name is an alias. */
40595 #if defined __stub_$ac_func || defined __stub___$ac_func
40596 choke me
40597 #endif
40598
40599 int
40600 main ()
40601 {
40602 return $ac_func ();
40603 ;
40604 return 0;
40605 }
40606 _ACEOF
40607 rm -f conftest.$ac_objext conftest$ac_exeext
40608 if { (ac_try="$ac_link"
40609 case "(($ac_try" in
40610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40611 *) ac_try_echo=$ac_try;;
40612 esac
40613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40614 (eval "$ac_link") 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } && {
40621 test -z "$ac_c_werror_flag" ||
40622 test ! -s conftest.err
40623 } && test -s conftest$ac_exeext &&
40624 $as_test_x conftest$ac_exeext; then
40625 eval "$as_ac_var=yes"
40626 else
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.$ac_ext >&5
40629
40630 eval "$as_ac_var=no"
40631 fi
40632
40633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40634 conftest$ac_exeext conftest.$ac_ext
40635 fi
40636 ac_res=`eval echo '${'$as_ac_var'}'`
40637 { echo "$as_me:$LINENO: result: $ac_res" >&5
40638 echo "${ECHO_T}$ac_res" >&6; }
40639 if test `eval echo '${'$as_ac_var'}'` = yes; then
40640 cat >>confdefs.h <<_ACEOF
40641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40642 _ACEOF
40643 cat >>confdefs.h <<\_ACEOF
40644 #define HAVE_GETSERVBYNAME 1
40645 _ACEOF
40646
40647 fi
40648 done
40649
40650 fi
40651
40652 if test "$wxUSE_THREADS" = "yes"; then
40653 cat >>confdefs.h <<\_ACEOF
40654 #define wxUSE_THREADS 1
40655 _ACEOF
40656
40657
40658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40659 else
40660 if test "$wx_cv_func_strtok_r" = "yes"; then
40661 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40662 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40663 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40665 { echo "$as_me:$LINENO: result: yes" >&5
40666 echo "${ECHO_T}yes" >&6; }
40667 else
40668 { echo "$as_me:$LINENO: result: no" >&5
40669 echo "${ECHO_T}no" >&6; }
40670 fi
40671 fi
40672 fi
40673
40674 if test "$WXGTK2" = 1 ; then
40675 cat >>confdefs.h <<_ACEOF
40676 #define __WXGTK20__ $WXGTK2
40677 _ACEOF
40678
40679 WXGTK12=1
40680 fi
40681
40682 if test "$WXGTK12" = 1 ; then
40683 cat >>confdefs.h <<_ACEOF
40684 #define __WXGTK12__ $WXGTK12
40685 _ACEOF
40686
40687 fi
40688
40689 if test "$WXGTK127" = 1 ; then
40690 cat >>confdefs.h <<_ACEOF
40691 #define __WXGTK127__ $WXGTK127
40692 _ACEOF
40693
40694 fi
40695
40696 if test "$WXGPE" = 1 ; then
40697 cat >>confdefs.h <<_ACEOF
40698 #define __WXGPE__ $WXGPE
40699 _ACEOF
40700
40701 fi
40702
40703 DEBUG_CFLAGS=
40704 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40705 DEBUG_CFLAGS="-g"
40706 wxUSE_OPTIMISE=no
40707 fi
40708
40709 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40710 wxUSE_DEBUG_INFO=yes
40711 if test "$GCC" = yes; then
40712 DEBUG_CFLAGS="-ggdb"
40713 fi
40714 fi
40715
40716 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40717 cat >>confdefs.h <<\_ACEOF
40718 #define WXDEBUG 1
40719 _ACEOF
40720
40721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40722 else
40723 if test "$wxUSE_GTK" = 1 ; then
40724 if test "x$wxGTK_VERSION" = "x1" ; then
40725 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40726 fi
40727 fi
40728 fi
40729
40730 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define wxUSE_MEMORY_TRACING 1
40733 _ACEOF
40734
40735 cat >>confdefs.h <<\_ACEOF
40736 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40737 _ACEOF
40738
40739 cat >>confdefs.h <<\_ACEOF
40740 #define wxUSE_DEBUG_NEW_ALWAYS 1
40741 _ACEOF
40742
40743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40744 fi
40745
40746 if test "$wxUSE_DMALLOC" = "yes" ; then
40747 DMALLOC_LIBS="-ldmallocthcxx"
40748 fi
40749
40750 PROFILE_FLAGS=
40751 if test "$wxUSE_PROFILE" = "yes" ; then
40752 PROFILE_FLAGS=" -pg"
40753 fi
40754
40755 if test "$GCC" = "yes" ; then
40756 if test "$wxUSE_NO_RTTI" = "yes" ; then
40757 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40758 fi
40759 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40760 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40761 fi
40762 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40764 fi
40765
40766 case "${host}" in
40767 powerpc*-*-aix* )
40768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40769 ;;
40770 *-hppa* )
40771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40772 ;;
40773 esac
40774 fi
40775
40776 OPTIMISE_CFLAGS=
40777 if test "$wxUSE_OPTIMISE" = "no" ; then
40778 if test "$GCC" = yes ; then
40779 OPTIMISE_CFLAGS="-O0"
40780 fi
40781 else
40782 if test "$GCC" = yes ; then
40783 case "${host}" in
40784 *-pc-os2_emx | *-pc-os2-emx )
40785 OPTIMISE_CFLAGS="-O2"
40786 ;;
40787 *)
40788 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40789 ;;
40790 esac
40791 else
40792 OPTIMISE_CFLAGS="-O"
40793 fi
40794 fi
40795
40796
40797 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40798 cat >>confdefs.h <<\_ACEOF
40799 #define WXWIN_COMPATIBILITY_2_6 1
40800 _ACEOF
40801
40802
40803 WXWIN_COMPATIBILITY_2_8="yes"
40804 fi
40805
40806 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40807 cat >>confdefs.h <<\_ACEOF
40808 #define WXWIN_COMPATIBILITY_2_8 1
40809 _ACEOF
40810
40811 fi
40812
40813
40814 if test "$wxUSE_GUI" = "yes"; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define wxUSE_GUI 1
40817 _ACEOF
40818
40819
40820 fi
40821
40822
40823 if test "$wxUSE_UNIX" = "yes"; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define wxUSE_UNIX 1
40826 _ACEOF
40827
40828 fi
40829
40830
40831 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40832
40833 HAVE_DL_FUNCS=0
40834 HAVE_SHL_FUNCS=0
40835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40836 if test "$USE_DARWIN" = 1; then
40837 HAVE_DL_FUNCS=1
40838 elif test "$USE_DOS" = 1; then
40839 HAVE_DL_FUNCS=0
40840 else
40841
40842 for ac_func in dlopen
40843 do
40844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40848 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 else
40850 cat >conftest.$ac_ext <<_ACEOF
40851 /* confdefs.h. */
40852 _ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40858 #define $ac_func innocuous_$ac_func
40859
40860 /* System header to define __stub macros and hopefully few prototypes,
40861 which can conflict with char $ac_func (); below.
40862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40863 <limits.h> exists even on freestanding compilers. */
40864
40865 #ifdef __STDC__
40866 # include <limits.h>
40867 #else
40868 # include <assert.h>
40869 #endif
40870
40871 #undef $ac_func
40872
40873 /* Override any GCC internal prototype to avoid an error.
40874 Use char because int might match the return type of a GCC
40875 builtin and then its argument prototype would still apply. */
40876 #ifdef __cplusplus
40877 extern "C"
40878 #endif
40879 char $ac_func ();
40880 /* The GNU C library defines this for functions which it implements
40881 to always fail with ENOSYS. Some functions are actually named
40882 something starting with __ and the normal name is an alias. */
40883 #if defined __stub_$ac_func || defined __stub___$ac_func
40884 choke me
40885 #endif
40886
40887 int
40888 main ()
40889 {
40890 return $ac_func ();
40891 ;
40892 return 0;
40893 }
40894 _ACEOF
40895 rm -f conftest.$ac_objext conftest$ac_exeext
40896 if { (ac_try="$ac_link"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40899 *) ac_try_echo=$ac_try;;
40900 esac
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_link") 2>conftest.er1
40903 ac_status=$?
40904 grep -v '^ *+' conftest.er1 >conftest.err
40905 rm -f conftest.er1
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest$ac_exeext &&
40912 $as_test_x conftest$ac_exeext; then
40913 eval "$as_ac_var=yes"
40914 else
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40917
40918 eval "$as_ac_var=no"
40919 fi
40920
40921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40922 conftest$ac_exeext conftest.$ac_ext
40923 fi
40924 ac_res=`eval echo '${'$as_ac_var'}'`
40925 { echo "$as_me:$LINENO: result: $ac_res" >&5
40926 echo "${ECHO_T}$ac_res" >&6; }
40927 if test `eval echo '${'$as_ac_var'}'` = yes; then
40928 cat >>confdefs.h <<_ACEOF
40929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40930 _ACEOF
40931
40932 cat >>confdefs.h <<\_ACEOF
40933 #define HAVE_DLOPEN 1
40934 _ACEOF
40935
40936 HAVE_DL_FUNCS=1
40937
40938 else
40939
40940 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40941 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40942 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 else
40945 ac_check_lib_save_LIBS=$LIBS
40946 LIBS="-ldl $LIBS"
40947 cat >conftest.$ac_ext <<_ACEOF
40948 /* confdefs.h. */
40949 _ACEOF
40950 cat confdefs.h >>conftest.$ac_ext
40951 cat >>conftest.$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40953
40954 /* Override any GCC internal prototype to avoid an error.
40955 Use char because int might match the return type of a GCC
40956 builtin and then its argument prototype would still apply. */
40957 #ifdef __cplusplus
40958 extern "C"
40959 #endif
40960 char dlopen ();
40961 int
40962 main ()
40963 {
40964 return dlopen ();
40965 ;
40966 return 0;
40967 }
40968 _ACEOF
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40974 esac
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40977 ac_status=$?
40978 grep -v '^ *+' conftest.er1 >conftest.err
40979 rm -f conftest.er1
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 ac_cv_lib_dl_dlopen=yes
40988 else
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40991
40992 ac_cv_lib_dl_dlopen=no
40993 fi
40994
40995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40996 conftest$ac_exeext conftest.$ac_ext
40997 LIBS=$ac_check_lib_save_LIBS
40998 fi
40999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41001 if test $ac_cv_lib_dl_dlopen = yes; then
41002
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_DLOPEN 1
41005 _ACEOF
41006
41007 HAVE_DL_FUNCS=1
41008 DL_LINK=" -ldl$DL_LINK"
41009
41010 else
41011
41012
41013 for ac_func in shl_load
41014 do
41015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41020 else
41021 cat >conftest.$ac_ext <<_ACEOF
41022 /* confdefs.h. */
41023 _ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41030
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41035
41036 #ifdef __STDC__
41037 # include <limits.h>
41038 #else
41039 # include <assert.h>
41040 #endif
41041
41042 #undef $ac_func
41043
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41047 #ifdef __cplusplus
41048 extern "C"
41049 #endif
41050 char $ac_func ();
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41055 choke me
41056 #endif
41057
41058 int
41059 main ()
41060 {
41061 return $ac_func ();
41062 ;
41063 return 0;
41064 }
41065 _ACEOF
41066 rm -f conftest.$ac_objext conftest$ac_exeext
41067 if { (ac_try="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41071 esac
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41074 ac_status=$?
41075 grep -v '^ *+' conftest.er1 >conftest.err
41076 rm -f conftest.er1
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41085 else
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41088
41089 eval "$as_ac_var=no"
41090 fi
41091
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41094 fi
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41101 _ACEOF
41102
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_SHL_LOAD 1
41105 _ACEOF
41106
41107 HAVE_SHL_FUNCS=1
41108
41109 else
41110
41111 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41112 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41113 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 else
41116 ac_check_lib_save_LIBS=$LIBS
41117 LIBS="-lshl_load $LIBS"
41118 cat >conftest.$ac_ext <<_ACEOF
41119 /* confdefs.h. */
41120 _ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41124
41125 /* Override any GCC internal prototype to avoid an error.
41126 Use char because int might match the return type of a GCC
41127 builtin and then its argument prototype would still apply. */
41128 #ifdef __cplusplus
41129 extern "C"
41130 #endif
41131 char dld ();
41132 int
41133 main ()
41134 {
41135 return dld ();
41136 ;
41137 return 0;
41138 }
41139 _ACEOF
41140 rm -f conftest.$ac_objext conftest$ac_exeext
41141 if { (ac_try="$ac_link"
41142 case "(($ac_try" in
41143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41144 *) ac_try_echo=$ac_try;;
41145 esac
41146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41147 (eval "$ac_link") 2>conftest.er1
41148 ac_status=$?
41149 grep -v '^ *+' conftest.er1 >conftest.err
41150 rm -f conftest.er1
41151 cat conftest.err >&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); } && {
41154 test -z "$ac_c_werror_flag" ||
41155 test ! -s conftest.err
41156 } && test -s conftest$ac_exeext &&
41157 $as_test_x conftest$ac_exeext; then
41158 ac_cv_lib_shl_load_dld=yes
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163 ac_cv_lib_shl_load_dld=no
41164 fi
41165
41166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41167 conftest$ac_exeext conftest.$ac_ext
41168 LIBS=$ac_check_lib_save_LIBS
41169 fi
41170 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41171 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41172 if test $ac_cv_lib_shl_load_dld = yes; then
41173
41174 HAVE_SHL_FUNCS=1
41175 DL_LINK=" -ldld$DL_LINK"
41176
41177 fi
41178
41179
41180 fi
41181 done
41182
41183
41184 fi
41185
41186
41187 fi
41188 done
41189
41190
41191 if test "$HAVE_DL_FUNCS" = 1; then
41192
41193 for ac_func in dlerror
41194 do
41195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 else
41201 cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41209 #define $ac_func innocuous_$ac_func
41210
41211 /* System header to define __stub macros and hopefully few prototypes,
41212 which can conflict with char $ac_func (); below.
41213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41214 <limits.h> exists even on freestanding compilers. */
41215
41216 #ifdef __STDC__
41217 # include <limits.h>
41218 #else
41219 # include <assert.h>
41220 #endif
41221
41222 #undef $ac_func
41223
41224 /* Override any GCC internal prototype to avoid an error.
41225 Use char because int might match the return type of a GCC
41226 builtin and then its argument prototype would still apply. */
41227 #ifdef __cplusplus
41228 extern "C"
41229 #endif
41230 char $ac_func ();
41231 /* The GNU C library defines this for functions which it implements
41232 to always fail with ENOSYS. Some functions are actually named
41233 something starting with __ and the normal name is an alias. */
41234 #if defined __stub_$ac_func || defined __stub___$ac_func
41235 choke me
41236 #endif
41237
41238 int
41239 main ()
41240 {
41241 return $ac_func ();
41242 ;
41243 return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250 *) ac_try_echo=$ac_try;;
41251 esac
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>conftest.er1
41254 ac_status=$?
41255 grep -v '^ *+' conftest.er1 >conftest.err
41256 rm -f conftest.er1
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } && {
41260 test -z "$ac_c_werror_flag" ||
41261 test ! -s conftest.err
41262 } && test -s conftest$ac_exeext &&
41263 $as_test_x conftest$ac_exeext; then
41264 eval "$as_ac_var=yes"
41265 else
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41268
41269 eval "$as_ac_var=no"
41270 fi
41271
41272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41273 conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 ac_res=`eval echo '${'$as_ac_var'}'`
41276 { echo "$as_me:$LINENO: result: $ac_res" >&5
41277 echo "${ECHO_T}$ac_res" >&6; }
41278 if test `eval echo '${'$as_ac_var'}'` = yes; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 _ACEOF
41282 cat >>confdefs.h <<\_ACEOF
41283 #define HAVE_DLERROR 1
41284 _ACEOF
41285
41286 else
41287
41288 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41289 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41290 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 else
41293 ac_check_lib_save_LIBS=$LIBS
41294 LIBS="-ldl $LIBS"
41295 cat >conftest.$ac_ext <<_ACEOF
41296 /* confdefs.h. */
41297 _ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41301
41302 /* Override any GCC internal prototype to avoid an error.
41303 Use char because int might match the return type of a GCC
41304 builtin and then its argument prototype would still apply. */
41305 #ifdef __cplusplus
41306 extern "C"
41307 #endif
41308 char dlerror ();
41309 int
41310 main ()
41311 {
41312 return dlerror ();
41313 ;
41314 return 0;
41315 }
41316 _ACEOF
41317 rm -f conftest.$ac_objext conftest$ac_exeext
41318 if { (ac_try="$ac_link"
41319 case "(($ac_try" in
41320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41322 esac
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_link") 2>conftest.er1
41325 ac_status=$?
41326 grep -v '^ *+' conftest.er1 >conftest.err
41327 rm -f conftest.er1
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest$ac_exeext &&
41334 $as_test_x conftest$ac_exeext; then
41335 ac_cv_lib_dl_dlerror=yes
41336 else
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41339
41340 ac_cv_lib_dl_dlerror=no
41341 fi
41342
41343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41344 conftest$ac_exeext conftest.$ac_ext
41345 LIBS=$ac_check_lib_save_LIBS
41346 fi
41347 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41348 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41349 if test $ac_cv_lib_dl_dlerror = yes; then
41350 cat >>confdefs.h <<\_ACEOF
41351 #define HAVE_DLERROR 1
41352 _ACEOF
41353
41354 fi
41355
41356
41357
41358 fi
41359 done
41360
41361 fi
41362 fi
41363
41364 if test "$HAVE_DL_FUNCS" = 0; then
41365 if test "$HAVE_SHL_FUNCS" = 0; then
41366 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41367 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41368 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41369 wxUSE_DYNAMIC_LOADER=no
41370 wxUSE_DYNLIB_CLASS=no
41371 else
41372 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41373 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41374 fi
41375 fi
41376 fi
41377 fi
41378 fi
41379
41380 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41381 cat >>confdefs.h <<\_ACEOF
41382 #define wxUSE_DYNAMIC_LOADER 1
41383 _ACEOF
41384
41385 fi
41386 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41387 cat >>confdefs.h <<\_ACEOF
41388 #define wxUSE_DYNLIB_CLASS 1
41389 _ACEOF
41390
41391 fi
41392
41393
41394
41395 if test "$wxUSE_PLUGINS" = "yes" ; then
41396 if test "$wxUSE_SHARED" = "no" ; then
41397 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41398 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41399 wxUSE_PLUGINS=no
41400 fi
41401 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41402 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41403 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41404 wxUSE_PLUGINS=no
41405 fi
41406 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41407 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41408 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41409 wxUSE_PLUGINS=no
41410 fi
41411 if test "$wxUSE_PLUGINS" = "yes" ; then
41412 cat >>confdefs.h <<\_ACEOF
41413 #define wxUSE_PLUGINS 1
41414 _ACEOF
41415
41416 fi
41417 fi
41418
41419
41420 if test "$wxUSE_STL" = "yes"; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define wxUSE_STL 1
41423 _ACEOF
41424
41425 fi
41426
41427 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_EXTENDED_RTTI 1
41430 _ACEOF
41431
41432 fi
41433
41434 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_APPLE_IEEE 1
41437 _ACEOF
41438
41439 fi
41440
41441 if test "$wxUSE_TIMER" = "yes"; then
41442 cat >>confdefs.h <<\_ACEOF
41443 #define wxUSE_TIMER 1
41444 _ACEOF
41445
41446 fi
41447
41448 if test "$USE_UNIX" = 1 ; then
41449 if test "$wxUSE_MGL" != 1; then
41450 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41451 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41452 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 else
41455
41456 cat >conftest.$ac_ext <<_ACEOF
41457 /* confdefs.h. */
41458 _ACEOF
41459 cat confdefs.h >>conftest.$ac_ext
41460 cat >>conftest.$ac_ext <<_ACEOF
41461 /* end confdefs.h. */
41462
41463 #include <sys/ioctl.h>
41464 #include <sys/soundcard.h>
41465
41466 int
41467 main ()
41468 {
41469
41470 ioctl(0, SNDCTL_DSP_SPEED, 0);
41471
41472 ;
41473 return 0;
41474 }
41475 _ACEOF
41476 rm -f conftest.$ac_objext conftest$ac_exeext
41477 if { (ac_try="$ac_link"
41478 case "(($ac_try" in
41479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41480 *) ac_try_echo=$ac_try;;
41481 esac
41482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41483 (eval "$ac_link") 2>conftest.er1
41484 ac_status=$?
41485 grep -v '^ *+' conftest.er1 >conftest.err
41486 rm -f conftest.er1
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } && {
41490 test -z "$ac_c_werror_flag" ||
41491 test ! -s conftest.err
41492 } && test -s conftest$ac_exeext &&
41493 $as_test_x conftest$ac_exeext; then
41494 ac_cv_header_sys_soundcard=yes
41495 else
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41498
41499
41500 saveLibs="$LIBS"
41501 LIBS="$saveLibs -lossaudio"
41502 cat >conftest.$ac_ext <<_ACEOF
41503 /* confdefs.h. */
41504 _ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41508
41509 #include <sys/ioctl.h>
41510 #include <sys/soundcard.h>
41511
41512 int
41513 main ()
41514 {
41515
41516 ioctl(0, SNDCTL_DSP_SPEED, 0);
41517
41518 ;
41519 return 0;
41520 }
41521 _ACEOF
41522 rm -f conftest.$ac_objext conftest$ac_exeext
41523 if { (ac_try="$ac_link"
41524 case "(($ac_try" in
41525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41526 *) ac_try_echo=$ac_try;;
41527 esac
41528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41529 (eval "$ac_link") 2>conftest.er1
41530 ac_status=$?
41531 grep -v '^ *+' conftest.er1 >conftest.err
41532 rm -f conftest.er1
41533 cat conftest.err >&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } && {
41536 test -z "$ac_c_werror_flag" ||
41537 test ! -s conftest.err
41538 } && test -s conftest$ac_exeext &&
41539 $as_test_x conftest$ac_exeext; then
41540 ac_cv_header_sys_soundcard=yes
41541 else
41542 echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41544
41545
41546 LIBS="$saveLibs"
41547 ac_cv_header_sys_soundcard=no
41548
41549
41550 fi
41551
41552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41553 conftest$ac_exeext conftest.$ac_ext
41554
41555
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41560
41561 fi
41562 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41563 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41564 fi
41565
41566 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define HAVE_SYS_SOUNDCARD_H 1
41569 _ACEOF
41570
41571 fi
41572 fi
41573
41574 WITH_PLUGIN_SDL=0
41575 if test "$wxUSE_SOUND" = "yes"; then
41576 if test "$USE_UNIX" = 1 ; then
41577 if test "$wxUSE_LIBSDL" != "no"; then
41578
41579 # Check whether --with-sdl-prefix was given.
41580 if test "${with_sdl_prefix+set}" = set; then
41581 withval=$with_sdl_prefix; sdl_prefix="$withval"
41582 else
41583 sdl_prefix=""
41584 fi
41585
41586
41587 # Check whether --with-sdl-exec-prefix was given.
41588 if test "${with_sdl_exec_prefix+set}" = set; then
41589 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41590 else
41591 sdl_exec_prefix=""
41592 fi
41593
41594 # Check whether --enable-sdltest was given.
41595 if test "${enable_sdltest+set}" = set; then
41596 enableval=$enable_sdltest;
41597 else
41598 enable_sdltest=yes
41599 fi
41600
41601
41602 if test x$sdl_exec_prefix != x ; then
41603 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41604 if test x${SDL_CONFIG+set} != xset ; then
41605 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41606 fi
41607 fi
41608 if test x$sdl_prefix != x ; then
41609 sdl_args="$sdl_args --prefix=$sdl_prefix"
41610 if test x${SDL_CONFIG+set} != xset ; then
41611 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41612 fi
41613 fi
41614
41615 if test "x$prefix" != xNONE; then
41616 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41617 fi
41618 # Extract the first word of "sdl-config", so it can be a program name with args.
41619 set dummy sdl-config; ac_word=$2
41620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41622 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 else
41625 case $SDL_CONFIG in
41626 [\\/]* | ?:[\\/]*)
41627 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41628 ;;
41629 *)
41630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41631 for as_dir in $PATH
41632 do
41633 IFS=$as_save_IFS
41634 test -z "$as_dir" && as_dir=.
41635 for ac_exec_ext in '' $ac_executable_extensions; do
41636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41637 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41639 break 2
41640 fi
41641 done
41642 done
41643 IFS=$as_save_IFS
41644
41645 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41646 ;;
41647 esac
41648 fi
41649 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41650 if test -n "$SDL_CONFIG"; then
41651 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41652 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41653 else
41654 { echo "$as_me:$LINENO: result: no" >&5
41655 echo "${ECHO_T}no" >&6; }
41656 fi
41657
41658
41659 min_sdl_version=1.2.0
41660 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41661 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41662 no_sdl=""
41663 if test "$SDL_CONFIG" = "no" ; then
41664 no_sdl=yes
41665 else
41666 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41667 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41668
41669 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41671 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41673 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41675 if test "x$enable_sdltest" = "xyes" ; then
41676 ac_save_CFLAGS="$CFLAGS"
41677 ac_save_CXXFLAGS="$CXXFLAGS"
41678 ac_save_LIBS="$LIBS"
41679 CFLAGS="$CFLAGS $SDL_CFLAGS"
41680 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41681 LIBS="$LIBS $SDL_LIBS"
41682 rm -f conf.sdltest
41683 if test "$cross_compiling" = yes; then
41684 echo $ac_n "cross compiling; assumed OK... $ac_c"
41685 else
41686 cat >conftest.$ac_ext <<_ACEOF
41687 /* confdefs.h. */
41688 _ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692
41693 #include <stdio.h>
41694 #include <stdlib.h>
41695 #include <string.h>
41696 #include "SDL.h"
41697
41698 char*
41699 my_strdup (char *str)
41700 {
41701 char *new_str;
41702
41703 if (str)
41704 {
41705 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41706 strcpy (new_str, str);
41707 }
41708 else
41709 new_str = NULL;
41710
41711 return new_str;
41712 }
41713
41714 int main (int argc, char *argv[])
41715 {
41716 int major, minor, micro;
41717 char *tmp_version;
41718
41719 /* This hangs on some systems (?)
41720 system ("touch conf.sdltest");
41721 */
41722 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41723
41724 /* HP/UX 9 (%@#!) writes to sscanf strings */
41725 tmp_version = my_strdup("$min_sdl_version");
41726 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41727 printf("%s, bad version string\n", "$min_sdl_version");
41728 exit(1);
41729 }
41730
41731 if (($sdl_major_version > major) ||
41732 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41733 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41734 {
41735 return 0;
41736 }
41737 else
41738 {
41739 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41740 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41741 printf("*** best to upgrade to the required version.\n");
41742 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41743 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41744 printf("*** config.cache before re-running configure\n");
41745 return 1;
41746 }
41747 }
41748
41749
41750 _ACEOF
41751 rm -f conftest$ac_exeext
41752 if { (ac_try="$ac_link"
41753 case "(($ac_try" in
41754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41755 *) ac_try_echo=$ac_try;;
41756 esac
41757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41758 (eval "$ac_link") 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41762 { (case "(($ac_try" in
41763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41764 *) ac_try_echo=$ac_try;;
41765 esac
41766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41767 (eval "$ac_try") 2>&5
41768 ac_status=$?
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; }; then
41771 :
41772 else
41773 echo "$as_me: program exited with status $ac_status" >&5
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41776
41777 ( exit $ac_status )
41778 no_sdl=yes
41779 fi
41780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41781 fi
41782
41783
41784 CFLAGS="$ac_save_CFLAGS"
41785 CXXFLAGS="$ac_save_CXXFLAGS"
41786 LIBS="$ac_save_LIBS"
41787 fi
41788 fi
41789 if test "x$no_sdl" = x ; then
41790 { echo "$as_me:$LINENO: result: yes" >&5
41791 echo "${ECHO_T}yes" >&6; }
41792
41793 EXTRALIBS_SDL="$SDL_LIBS"
41794 CFLAGS="$SDL_CFLAGS $CFLAGS"
41795 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_LIBSDL 1
41798 _ACEOF
41799
41800
41801 else
41802 { echo "$as_me:$LINENO: result: no" >&5
41803 echo "${ECHO_T}no" >&6; }
41804 if test "$SDL_CONFIG" = "no" ; then
41805 echo "*** The sdl-config script installed by SDL could not be found"
41806 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41807 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41808 echo "*** full path to sdl-config."
41809 else
41810 if test -f conf.sdltest ; then
41811 :
41812 else
41813 echo "*** Could not run SDL test program, checking why..."
41814 CFLAGS="$CFLAGS $SDL_CFLAGS"
41815 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41816 LIBS="$LIBS $SDL_LIBS"
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823
41824 #include <stdio.h>
41825 #include "SDL.h"
41826
41827 int main(int argc, char *argv[])
41828 { return 0; }
41829 #undef main
41830 #define main K_and_R_C_main
41831
41832 int
41833 main ()
41834 {
41835 return 0;
41836 ;
41837 return 0;
41838 }
41839 _ACEOF
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (ac_try="$ac_link"
41842 case "(($ac_try" in
41843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41844 *) ac_try_echo=$ac_try;;
41845 esac
41846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41847 (eval "$ac_link") 2>conftest.er1
41848 ac_status=$?
41849 grep -v '^ *+' conftest.er1 >conftest.err
41850 rm -f conftest.er1
41851 cat conftest.err >&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); } && {
41854 test -z "$ac_c_werror_flag" ||
41855 test ! -s conftest.err
41856 } && test -s conftest$ac_exeext &&
41857 $as_test_x conftest$ac_exeext; then
41858 echo "*** The test program compiled, but did not run. This usually means"
41859 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41860 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41861 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41862 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41863 echo "*** is required on your system"
41864 echo "***"
41865 echo "*** If you have an old version installed, it is best to remove it, although"
41866 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41867 else
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41870
41871 echo "*** The test program failed to compile or link. See the file config.log for the"
41872 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41873 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41874 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41875 fi
41876
41877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41878 conftest$ac_exeext conftest.$ac_ext
41879 CFLAGS="$ac_save_CFLAGS"
41880 CXXFLAGS="$ac_save_CXXFLAGS"
41881 LIBS="$ac_save_LIBS"
41882 fi
41883 fi
41884 SDL_CFLAGS=""
41885 SDL_LIBS=""
41886 wxUSE_LIBSDL="no"
41887 fi
41888
41889
41890 rm -f conf.sdltest
41891
41892 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41893 WITH_PLUGIN_SDL=1
41894 fi
41895 fi
41896 else
41897 if test "$wxUSE_MGL" = 1; then
41898 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41899 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41900 wxUSE_SOUND="no"
41901 fi
41902 fi
41903 fi
41904
41905 if test "$wxUSE_SOUND" = "yes"; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_SOUND 1
41908 _ACEOF
41909
41910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41911 fi
41912
41913 if test "$WXGTK2" = 1; then
41914
41915
41916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41917 if test -n "$ac_tool_prefix"; then
41918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41924 else
41925 case $PKG_CONFIG in
41926 [\\/]* | ?:[\\/]*)
41927 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41928 ;;
41929 *)
41930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41931 for as_dir in $PATH
41932 do
41933 IFS=$as_save_IFS
41934 test -z "$as_dir" && as_dir=.
41935 for ac_exec_ext in '' $ac_executable_extensions; do
41936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41937 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41939 break 2
41940 fi
41941 done
41942 done
41943 IFS=$as_save_IFS
41944
41945 ;;
41946 esac
41947 fi
41948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41949 if test -n "$PKG_CONFIG"; then
41950 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41951 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41952 else
41953 { echo "$as_me:$LINENO: result: no" >&5
41954 echo "${ECHO_T}no" >&6; }
41955 fi
41956
41957
41958 fi
41959 if test -z "$ac_cv_path_PKG_CONFIG"; then
41960 ac_pt_PKG_CONFIG=$PKG_CONFIG
41961 # Extract the first word of "pkg-config", so it can be a program name with args.
41962 set dummy pkg-config; ac_word=$2
41963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41965 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 else
41968 case $ac_pt_PKG_CONFIG in
41969 [\\/]* | ?:[\\/]*)
41970 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41971 ;;
41972 *)
41973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41974 for as_dir in $PATH
41975 do
41976 IFS=$as_save_IFS
41977 test -z "$as_dir" && as_dir=.
41978 for ac_exec_ext in '' $ac_executable_extensions; do
41979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41980 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41982 break 2
41983 fi
41984 done
41985 done
41986 IFS=$as_save_IFS
41987
41988 ;;
41989 esac
41990 fi
41991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41992 if test -n "$ac_pt_PKG_CONFIG"; then
41993 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41994 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41995 else
41996 { echo "$as_me:$LINENO: result: no" >&5
41997 echo "${ECHO_T}no" >&6; }
41998 fi
41999
42000 if test "x$ac_pt_PKG_CONFIG" = x; then
42001 PKG_CONFIG=""
42002 else
42003 case $cross_compiling:$ac_tool_warned in
42004 yes:)
42005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42006 whose name does not start with the host triplet. If you think this
42007 configuration is useful to you, please write to autoconf@gnu.org." >&5
42008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42009 whose name does not start with the host triplet. If you think this
42010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42011 ac_tool_warned=yes ;;
42012 esac
42013 PKG_CONFIG=$ac_pt_PKG_CONFIG
42014 fi
42015 else
42016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42017 fi
42018
42019 fi
42020 if test -n "$PKG_CONFIG"; then
42021 _pkg_min_version=0.9.0
42022 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42023 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42025 { echo "$as_me:$LINENO: result: yes" >&5
42026 echo "${ECHO_T}yes" >&6; }
42027 else
42028 { echo "$as_me:$LINENO: result: no" >&5
42029 echo "${ECHO_T}no" >&6; }
42030 PKG_CONFIG=""
42031 fi
42032
42033 fi
42034
42035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42036
42037 if test "$wxUSE_GTKPRINT" = "yes" ; then
42038
42039
42040 pkg_failed=no
42041 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42042 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42043
42044 if test -n "$PKG_CONFIG"; then
42045 if test -n "$GTKPRINT_CFLAGS"; then
42046 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42047 else
42048 if test -n "$PKG_CONFIG" && \
42049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42050 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42051 ac_status=$?
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); }; then
42054 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42055 else
42056 pkg_failed=yes
42057 fi
42058 fi
42059 else
42060 pkg_failed=untried
42061 fi
42062 if test -n "$PKG_CONFIG"; then
42063 if test -n "$GTKPRINT_LIBS"; then
42064 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42065 else
42066 if test -n "$PKG_CONFIG" && \
42067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42068 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42069 ac_status=$?
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; then
42072 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42073 else
42074 pkg_failed=yes
42075 fi
42076 fi
42077 else
42078 pkg_failed=untried
42079 fi
42080
42081
42082
42083 if test $pkg_failed = yes; then
42084
42085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42086 _pkg_short_errors_supported=yes
42087 else
42088 _pkg_short_errors_supported=no
42089 fi
42090 if test $_pkg_short_errors_supported = yes; then
42091 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42092 else
42093 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42094 fi
42095 # Put the nasty error message in config.log where it belongs
42096 echo "$GTKPRINT_PKG_ERRORS" >&5
42097
42098
42099 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42100 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42101 wxUSE_GTKPRINT="no"
42102
42103
42104 elif test $pkg_failed = untried; then
42105
42106 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42107 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42108 wxUSE_GTKPRINT="no"
42109
42110
42111 else
42112 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42113 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42114 { echo "$as_me:$LINENO: result: yes" >&5
42115 echo "${ECHO_T}yes" >&6; }
42116
42117 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42118 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42119 cat >>confdefs.h <<\_ACEOF
42120 #define wxUSE_GTKPRINT 1
42121 _ACEOF
42122
42123
42124 fi
42125 fi
42126
42127 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42128
42129
42130 pkg_failed=no
42131 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42132 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42133
42134 if test -n "$PKG_CONFIG"; then
42135 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42136 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42137 else
42138 if test -n "$PKG_CONFIG" && \
42139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42140 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42141 ac_status=$?
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); }; then
42144 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42145 else
42146 pkg_failed=yes
42147 fi
42148 fi
42149 else
42150 pkg_failed=untried
42151 fi
42152 if test -n "$PKG_CONFIG"; then
42153 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42154 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42155 else
42156 if test -n "$PKG_CONFIG" && \
42157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42158 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42159 ac_status=$?
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); }; then
42162 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42163 else
42164 pkg_failed=yes
42165 fi
42166 fi
42167 else
42168 pkg_failed=untried
42169 fi
42170
42171
42172
42173 if test $pkg_failed = yes; then
42174
42175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42176 _pkg_short_errors_supported=yes
42177 else
42178 _pkg_short_errors_supported=no
42179 fi
42180 if test $_pkg_short_errors_supported = yes; then
42181 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42182 else
42183 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42184 fi
42185 # Put the nasty error message in config.log where it belongs
42186 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42187
42188
42189 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42190 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42191 wxUSE_LIBGNOMEPRINT="no"
42192
42193
42194 elif test $pkg_failed = untried; then
42195
42196 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42197 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42198 wxUSE_LIBGNOMEPRINT="no"
42199
42200
42201 else
42202 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42203 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42204 { echo "$as_me:$LINENO: result: yes" >&5
42205 echo "${ECHO_T}yes" >&6; }
42206
42207 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42208 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_LIBGNOMEPRINT 1
42211 _ACEOF
42212
42213
42214 fi
42215 fi
42216 fi
42217
42218 if test "$wxUSE_MIMETYPE" = "yes" ; then
42219 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42220
42221
42222 pkg_failed=no
42223 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42224 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42225
42226 if test -n "$PKG_CONFIG"; then
42227 if test -n "$GNOMEVFS_CFLAGS"; then
42228 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42229 else
42230 if test -n "$PKG_CONFIG" && \
42231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42232 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42233 ac_status=$?
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); }; then
42236 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42237 else
42238 pkg_failed=yes
42239 fi
42240 fi
42241 else
42242 pkg_failed=untried
42243 fi
42244 if test -n "$PKG_CONFIG"; then
42245 if test -n "$GNOMEVFS_LIBS"; then
42246 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42247 else
42248 if test -n "$PKG_CONFIG" && \
42249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42250 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; then
42254 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42255 else
42256 pkg_failed=yes
42257 fi
42258 fi
42259 else
42260 pkg_failed=untried
42261 fi
42262
42263
42264
42265 if test $pkg_failed = yes; then
42266
42267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42268 _pkg_short_errors_supported=yes
42269 else
42270 _pkg_short_errors_supported=no
42271 fi
42272 if test $_pkg_short_errors_supported = yes; then
42273 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42274 else
42275 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42276 fi
42277 # Put the nasty error message in config.log where it belongs
42278 echo "$GNOMEVFS_PKG_ERRORS" >&5
42279
42280
42281 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42282 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42283 wxUSE_LIBGNOMEVFS="no"
42284
42285
42286 elif test $pkg_failed = untried; then
42287
42288 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42289 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42290 wxUSE_LIBGNOMEVFS="no"
42291
42292
42293 else
42294 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42295 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42296 { echo "$as_me:$LINENO: result: yes" >&5
42297 echo "${ECHO_T}yes" >&6; }
42298
42299 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42300 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42301 cat >>confdefs.h <<\_ACEOF
42302 #define wxUSE_LIBGNOMEVFS 1
42303 _ACEOF
42304
42305
42306 fi
42307 fi
42308 fi
42309
42310 if test "$wxUSE_LIBHILDON" = "yes" ; then
42311
42312 pkg_failed=no
42313 { echo "$as_me:$LINENO: checking for HILDON" >&5
42314 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42315
42316 if test -n "$PKG_CONFIG"; then
42317 if test -n "$HILDON_CFLAGS"; then
42318 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42319 else
42320 if test -n "$PKG_CONFIG" && \
42321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42322 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; then
42326 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42327 else
42328 pkg_failed=yes
42329 fi
42330 fi
42331 else
42332 pkg_failed=untried
42333 fi
42334 if test -n "$PKG_CONFIG"; then
42335 if test -n "$HILDON_LIBS"; then
42336 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42337 else
42338 if test -n "$PKG_CONFIG" && \
42339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42340 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; then
42344 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42345 else
42346 pkg_failed=yes
42347 fi
42348 fi
42349 else
42350 pkg_failed=untried
42351 fi
42352
42353
42354
42355 if test $pkg_failed = yes; then
42356
42357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42358 _pkg_short_errors_supported=yes
42359 else
42360 _pkg_short_errors_supported=no
42361 fi
42362 if test $_pkg_short_errors_supported = yes; then
42363 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42364 else
42365 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42366 fi
42367 # Put the nasty error message in config.log where it belongs
42368 echo "$HILDON_PKG_ERRORS" >&5
42369
42370
42371 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42372 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42373 wxUSE_LIBHILDON="no"
42374
42375
42376 elif test $pkg_failed = untried; then
42377
42378 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42379 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42380 wxUSE_LIBHILDON="no"
42381
42382
42383 else
42384 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42385 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42386 { echo "$as_me:$LINENO: result: yes" >&5
42387 echo "${ECHO_T}yes" >&6; }
42388
42389 EXTRALIBS_HILDON="$HILDON_LIBS"
42390 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42391 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_LIBHILDON 1
42394 _ACEOF
42395
42396
42397 fi
42398 fi
42399 fi
42400
42401 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_CMDLINE_PARSER 1
42404 _ACEOF
42405
42406 fi
42407
42408 if test "$wxUSE_STOPWATCH" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_STOPWATCH 1
42411 _ACEOF
42412
42413 fi
42414
42415 if test "$wxUSE_DATETIME" = "yes"; then
42416 cat >>confdefs.h <<\_ACEOF
42417 #define wxUSE_DATETIME 1
42418 _ACEOF
42419
42420 fi
42421
42422 if test "$wxUSE_FILE" = "yes"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define wxUSE_FILE 1
42425 _ACEOF
42426
42427 fi
42428
42429 if test "$wxUSE_FFILE" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_FFILE 1
42432 _ACEOF
42433
42434 fi
42435
42436 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42437 if test "$wxUSE_STREAMS" != yes; then
42438 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42439 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42440 wxUSE_ARCHIVE_STREAMS=no
42441 else
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_ARCHIVE_STREAMS 1
42444 _ACEOF
42445
42446 fi
42447 fi
42448
42449 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42450 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42451 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42452 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42453 elif test "$wxUSE_ZLIB" = "no"; then
42454 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42455 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42456 else
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_ZIPSTREAM 1
42459 _ACEOF
42460
42461 fi
42462 fi
42463
42464 if test "$wxUSE_TARSTREAM" = "yes"; then
42465 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42466 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42467 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42468 else
42469 cat >>confdefs.h <<\_ACEOF
42470 #define wxUSE_TARSTREAM 1
42471 _ACEOF
42472
42473 fi
42474 fi
42475
42476 if test "$wxUSE_FILESYSTEM" = "yes"; then
42477 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42478 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42479 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42480 wxUSE_FILESYSTEM=no
42481 else
42482 cat >>confdefs.h <<\_ACEOF
42483 #define wxUSE_FILESYSTEM 1
42484 _ACEOF
42485
42486 fi
42487 fi
42488
42489 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42490 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42491 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42492 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42493 else
42494 cat >>confdefs.h <<\_ACEOF
42495 #define wxUSE_FS_ARCHIVE 1
42496 _ACEOF
42497
42498 fi
42499 fi
42500
42501 if test "$wxUSE_FS_ZIP" = "yes"; then
42502 if test "$wxUSE_FS_ARCHIVE" != yes; then
42503 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42504 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42505 else
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_FS_ZIP 1
42508 _ACEOF
42509
42510 fi
42511 fi
42512
42513 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42514 if test "$USE_UNIX" != 1; then
42515 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42516 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42517 wxUSE_ON_FATAL_EXCEPTION=no
42518 else
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_ON_FATAL_EXCEPTION 1
42521 _ACEOF
42522
42523 fi
42524 fi
42525
42526 if test "$wxUSE_STACKWALKER" = "yes"; then
42527 cat >>confdefs.h <<\_ACEOF
42528 #define wxUSE_STACKWALKER 1
42529 _ACEOF
42530
42531 fi
42532
42533 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42534 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42535 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42536 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42537 wxUSE_DEBUGREPORT=no
42538 else
42539 cat >>confdefs.h <<\_ACEOF
42540 #define wxUSE_DEBUGREPORT 1
42541 _ACEOF
42542
42543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42545 fi
42546 fi
42547 fi
42548
42549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_SNGLINST_CHECKER 1
42552 _ACEOF
42553
42554 fi
42555
42556 if test "$wxUSE_BUSYINFO" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_BUSYINFO 1
42559 _ACEOF
42560
42561 fi
42562
42563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_STD_IOSTREAM 1
42566 _ACEOF
42567
42568 fi
42569
42570 if test "$wxUSE_STD_STRING" = "yes"; then
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_STD_STRING 1
42573 _ACEOF
42574
42575 fi
42576
42577 if test "$wxUSE_STDPATHS" = "yes"; then
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_STDPATHS 1
42580 _ACEOF
42581
42582 fi
42583
42584 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_TEXTBUFFER 1
42587 _ACEOF
42588
42589 fi
42590
42591 if test "$wxUSE_TEXTFILE" = "yes"; then
42592 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42593 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42594 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42595 else
42596 cat >>confdefs.h <<\_ACEOF
42597 #define wxUSE_TEXTFILE 1
42598 _ACEOF
42599
42600 fi
42601 fi
42602
42603 if test "$wxUSE_CONFIG" = "yes" ; then
42604 if test "$wxUSE_TEXTFILE" != "yes"; then
42605 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42606 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42607 else
42608 cat >>confdefs.h <<\_ACEOF
42609 #define wxUSE_CONFIG 1
42610 _ACEOF
42611
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_CONFIG_NATIVE 1
42614 _ACEOF
42615
42616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42617 fi
42618 fi
42619
42620 if test "$wxUSE_INTL" = "yes" ; then
42621 if test "$wxUSE_FILE" != "yes"; then
42622 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42623 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42624 else
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_INTL 1
42627 _ACEOF
42628
42629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42630 GUIDIST="$GUIDIST INTL_DIST"
42631 fi
42632 fi
42633
42634 if test "$wxUSE_LOG" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_LOG 1
42637 _ACEOF
42638
42639
42640 if test "$wxUSE_LOGGUI" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_LOGGUI 1
42643 _ACEOF
42644
42645 fi
42646
42647 if test "$wxUSE_LOGWINDOW" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_LOGWINDOW 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$wxUSE_LOGDIALOG" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_LOG_DIALOG 1
42657 _ACEOF
42658
42659 fi
42660
42661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42662 fi
42663
42664 if test "$wxUSE_LONGLONG" = "yes"; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxUSE_LONGLONG 1
42667 _ACEOF
42668
42669 fi
42670
42671 if test "$wxUSE_GEOMETRY" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_GEOMETRY 1
42674 _ACEOF
42675
42676 fi
42677
42678 if test "$wxUSE_BASE64" = "yes"; then
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_BASE64 1
42681 _ACEOF
42682
42683 fi
42684
42685 if test "$wxUSE_STREAMS" = "yes" ; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_STREAMS 1
42688 _ACEOF
42689
42690 fi
42691
42692 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define wxUSE_PRINTF_POS_PARAMS 1
42695 _ACEOF
42696
42697 fi
42698
42699 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_OBJC_UNIQUIFYING 1
42702 _ACEOF
42703
42704 fi
42705
42706
42707 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42708 cat >>confdefs.h <<\_ACEOF
42709 #define wxUSE_CONSOLE_EVENTLOOP 1
42710 _ACEOF
42711
42712
42713 if test "$wxUSE_UNIX" = "yes"; then
42714 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_SELECT_DISPATCHER 1
42717 _ACEOF
42718
42719 fi
42720
42721 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42722
42723 for ac_header in sys/epoll.h
42724 do
42725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731 cat >conftest.$ac_ext <<_ACEOF
42732 /* confdefs.h. */
42733 _ACEOF
42734 cat confdefs.h >>conftest.$ac_ext
42735 cat >>conftest.$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42737 $ac_includes_default
42738
42739 #include <$ac_header>
42740 _ACEOF
42741 rm -f conftest.$ac_objext
42742 if { (ac_try="$ac_compile"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42745 *) ac_try_echo=$ac_try;;
42746 esac
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_compile") 2>conftest.er1
42749 ac_status=$?
42750 grep -v '^ *+' conftest.er1 >conftest.err
42751 rm -f conftest.er1
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest.$ac_objext; then
42758 eval "$as_ac_Header=yes"
42759 else
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42762
42763 eval "$as_ac_Header=no"
42764 fi
42765
42766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42767 fi
42768 ac_res=`eval echo '${'$as_ac_Header'}'`
42769 { echo "$as_me:$LINENO: result: $ac_res" >&5
42770 echo "${ECHO_T}$ac_res" >&6; }
42771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42772 cat >>confdefs.h <<_ACEOF
42773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42774 _ACEOF
42775
42776 fi
42777
42778 done
42779
42780 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define wxUSE_EPOLL_DISPATCHER 1
42783 _ACEOF
42784
42785 else
42786 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42787 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42788 fi
42789 fi
42790 fi
42791 fi
42792
42793
42794
42795
42796 for ac_func in gettimeofday ftime
42797 do
42798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 else
42804 cat >conftest.$ac_ext <<_ACEOF
42805 /* confdefs.h. */
42806 _ACEOF
42807 cat confdefs.h >>conftest.$ac_ext
42808 cat >>conftest.$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define $ac_func innocuous_$ac_func
42813
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char $ac_func (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42818
42819 #ifdef __STDC__
42820 # include <limits.h>
42821 #else
42822 # include <assert.h>
42823 #endif
42824
42825 #undef $ac_func
42826
42827 /* Override any GCC internal prototype to avoid an error.
42828 Use char because int might match the return type of a GCC
42829 builtin and then its argument prototype would still apply. */
42830 #ifdef __cplusplus
42831 extern "C"
42832 #endif
42833 char $ac_func ();
42834 /* The GNU C library defines this for functions which it implements
42835 to always fail with ENOSYS. Some functions are actually named
42836 something starting with __ and the normal name is an alias. */
42837 #if defined __stub_$ac_func || defined __stub___$ac_func
42838 choke me
42839 #endif
42840
42841 int
42842 main ()
42843 {
42844 return $ac_func ();
42845 ;
42846 return 0;
42847 }
42848 _ACEOF
42849 rm -f conftest.$ac_objext conftest$ac_exeext
42850 if { (ac_try="$ac_link"
42851 case "(($ac_try" in
42852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42853 *) ac_try_echo=$ac_try;;
42854 esac
42855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42856 (eval "$ac_link") 2>conftest.er1
42857 ac_status=$?
42858 grep -v '^ *+' conftest.er1 >conftest.err
42859 rm -f conftest.er1
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } && {
42863 test -z "$ac_c_werror_flag" ||
42864 test ! -s conftest.err
42865 } && test -s conftest$ac_exeext &&
42866 $as_test_x conftest$ac_exeext; then
42867 eval "$as_ac_var=yes"
42868 else
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42871
42872 eval "$as_ac_var=no"
42873 fi
42874
42875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42876 conftest$ac_exeext conftest.$ac_ext
42877 fi
42878 ac_res=`eval echo '${'$as_ac_var'}'`
42879 { echo "$as_me:$LINENO: result: $ac_res" >&5
42880 echo "${ECHO_T}$ac_res" >&6; }
42881 if test `eval echo '${'$as_ac_var'}'` = yes; then
42882 cat >>confdefs.h <<_ACEOF
42883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42884 _ACEOF
42885 break
42886 fi
42887 done
42888
42889
42890 if test "$ac_cv_func_gettimeofday" = "yes"; then
42891 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42892 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42893 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42894 echo $ECHO_N "(cached) $ECHO_C" >&6
42895 else
42896
42897 cat >conftest.$ac_ext <<_ACEOF
42898 /* confdefs.h. */
42899 _ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42903
42904 #include <sys/time.h>
42905 #include <unistd.h>
42906
42907 int
42908 main ()
42909 {
42910
42911 struct timeval tv;
42912 gettimeofday(&tv, NULL);
42913
42914 ;
42915 return 0;
42916 }
42917 _ACEOF
42918 rm -f conftest.$ac_objext
42919 if { (ac_try="$ac_compile"
42920 case "(($ac_try" in
42921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42922 *) ac_try_echo=$ac_try;;
42923 esac
42924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42925 (eval "$ac_compile") 2>conftest.er1
42926 ac_status=$?
42927 grep -v '^ *+' conftest.er1 >conftest.err
42928 rm -f conftest.er1
42929 cat conftest.err >&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } && {
42932 test -z "$ac_c_werror_flag" ||
42933 test ! -s conftest.err
42934 } && test -s conftest.$ac_objext; then
42935 wx_cv_func_gettimeofday_has_2_args=yes
42936 else
42937 echo "$as_me: failed program was:" >&5
42938 sed 's/^/| /' conftest.$ac_ext >&5
42939
42940 cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h. */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946
42947 #include <sys/time.h>
42948 #include <unistd.h>
42949
42950 int
42951 main ()
42952 {
42953
42954 struct timeval tv;
42955 gettimeofday(&tv);
42956
42957 ;
42958 return 0;
42959 }
42960 _ACEOF
42961 rm -f conftest.$ac_objext
42962 if { (ac_try="$ac_compile"
42963 case "(($ac_try" in
42964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42965 *) ac_try_echo=$ac_try;;
42966 esac
42967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42968 (eval "$ac_compile") 2>conftest.er1
42969 ac_status=$?
42970 grep -v '^ *+' conftest.er1 >conftest.err
42971 rm -f conftest.er1
42972 cat conftest.err >&5
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } && {
42975 test -z "$ac_c_werror_flag" ||
42976 test ! -s conftest.err
42977 } && test -s conftest.$ac_objext; then
42978 wx_cv_func_gettimeofday_has_2_args=no
42979 else
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.$ac_ext >&5
42982
42983
42984 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42985 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42986 wx_cv_func_gettimeofday_has_2_args=unknown
42987
42988
42989 fi
42990
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42992
42993 fi
42994
42995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42996
42997 fi
42998 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42999 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43000
43001 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define WX_GETTIMEOFDAY_NO_TZ 1
43004 _ACEOF
43005
43006 fi
43007 fi
43008
43009 if test "$wxUSE_DATETIME" = "yes"; then
43010 { echo "$as_me:$LINENO: checking for strptime" >&5
43011 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43012 if test "${ac_cv_func_strptime+set}" = set; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 else
43015 cat >conftest.$ac_ext <<_ACEOF
43016 /* confdefs.h. */
43017 _ACEOF
43018 cat confdefs.h >>conftest.$ac_ext
43019 cat >>conftest.$ac_ext <<_ACEOF
43020 /* end confdefs.h. */
43021 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43023 #define strptime innocuous_strptime
43024
43025 /* System header to define __stub macros and hopefully few prototypes,
43026 which can conflict with char strptime (); below.
43027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43028 <limits.h> exists even on freestanding compilers. */
43029
43030 #ifdef __STDC__
43031 # include <limits.h>
43032 #else
43033 # include <assert.h>
43034 #endif
43035
43036 #undef strptime
43037
43038 /* Override any GCC internal prototype to avoid an error.
43039 Use char because int might match the return type of a GCC
43040 builtin and then its argument prototype would still apply. */
43041 #ifdef __cplusplus
43042 extern "C"
43043 #endif
43044 char strptime ();
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined __stub_strptime || defined __stub___strptime
43049 choke me
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 return strptime ();
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 rm -f conftest.$ac_objext conftest$ac_exeext
43061 if { (ac_try="$ac_link"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43065 esac
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_link") 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_c_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest$ac_exeext &&
43077 $as_test_x conftest$ac_exeext; then
43078 ac_cv_func_strptime=yes
43079 else
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43082
43083 ac_cv_func_strptime=no
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43087 conftest$ac_exeext conftest.$ac_ext
43088 fi
43089 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43090 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43091
43092 if test "$ac_cv_func_strptime" = "yes"; then
43093 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43094 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43095 if test "${wx_cv_func_strptime_decl+set}" = set; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098
43099 ac_ext=cpp
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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
43112 #include <time.h>
43113
43114 int
43115 main ()
43116 {
43117
43118 struct tm t;
43119 strptime("foo", "bar", &t);
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_cxx_werror_flag" ||
43140 test ! -s conftest.err
43141 } && test -s conftest.$ac_objext; then
43142 wx_cv_func_strptime_decl=yes
43143 else
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43146
43147 wx_cv_func_strptime_decl=no
43148
43149 fi
43150
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157
43158
43159
43160 fi
43161 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43162 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43163 fi
43164 if test "$wx_cv_func_strptime_decl" = "yes"; then
43165 cat >>confdefs.h <<\_ACEOF
43166 #define HAVE_STRPTIME_DECL 1
43167 _ACEOF
43168
43169 else
43170 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43171 fi
43172 if test "$ac_cv_func_strptime" = "yes"; then
43173 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43174 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43175 if test "${wx_cv_func_strptime_ok+set}" = set; then
43176 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 else
43178 if test "$cross_compiling" = yes; then
43179 wx_cv_func_strptime_ok=no
43180
43181 else
43182 cat >conftest.$ac_ext <<_ACEOF
43183
43184 #include <stdlib.h>
43185 #include <time.h>
43186 #include "confdefs.h"
43187
43188 $wx_strptime_decl
43189
43190 int main()
43191 {
43192 struct tm t;
43193 return !!strptime("", "%x", &t);
43194 }
43195
43196 _ACEOF
43197 rm -f conftest$ac_exeext
43198 if { (ac_try="$ac_link"
43199 case "(($ac_try" in
43200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43201 *) ac_try_echo=$ac_try;;
43202 esac
43203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43204 (eval "$ac_link") 2>&5
43205 ac_status=$?
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43208 { (case "(($ac_try" in
43209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43210 *) ac_try_echo=$ac_try;;
43211 esac
43212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43213 (eval "$ac_try") 2>&5
43214 ac_status=$?
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 wx_cv_func_strptime_ok=yes
43218 else
43219 echo "$as_me: program exited with status $ac_status" >&5
43220 echo "$as_me: failed program was:" >&5
43221 sed 's/^/| /' conftest.$ac_ext >&5
43222
43223 ( exit $ac_status )
43224 wx_cv_func_strptime_ok=no
43225 fi
43226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43227 fi
43228
43229
43230
43231 fi
43232 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43233 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43234
43235 if test "$wx_cv_func_strptime_ok" = "yes"; then
43236 cat >>confdefs.h <<\_ACEOF
43237 #define HAVE_STRPTIME 1
43238 _ACEOF
43239
43240 fi
43241 fi
43242
43243 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43244 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43245 if test "${wx_cv_var_timezone+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43247 else
43248
43249 ac_ext=cpp
43250 ac_cpp='$CXXCPP $CPPFLAGS'
43251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43254
43255 cat >conftest.$ac_ext <<_ACEOF
43256 /* confdefs.h. */
43257 _ACEOF
43258 cat confdefs.h >>conftest.$ac_ext
43259 cat >>conftest.$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43261
43262 #include <time.h>
43263
43264 int
43265 main ()
43266 {
43267
43268 int tz;
43269 tz = timezone;
43270
43271 ;
43272 return 0;
43273 }
43274 _ACEOF
43275 rm -f conftest.$ac_objext
43276 if { (ac_try="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43280 esac
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_cxx_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43292
43293 wx_cv_var_timezone=timezone
43294
43295 else
43296 echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43298
43299
43300 cat >conftest.$ac_ext <<_ACEOF
43301 /* confdefs.h. */
43302 _ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43306
43307 #include <time.h>
43308
43309 int
43310 main ()
43311 {
43312
43313 int tz;
43314 tz = _timezone;
43315
43316 ;
43317 return 0;
43318 }
43319 _ACEOF
43320 rm -f conftest.$ac_objext
43321 if { (ac_try="$ac_compile"
43322 case "(($ac_try" in
43323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43324 *) ac_try_echo=$ac_try;;
43325 esac
43326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43327 (eval "$ac_compile") 2>conftest.er1
43328 ac_status=$?
43329 grep -v '^ *+' conftest.er1 >conftest.err
43330 rm -f conftest.er1
43331 cat conftest.err >&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } && {
43334 test -z "$ac_cxx_werror_flag" ||
43335 test ! -s conftest.err
43336 } && test -s conftest.$ac_objext; then
43337
43338 wx_cv_var_timezone=_timezone
43339
43340 else
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43343
43344
43345 cat >conftest.$ac_ext <<_ACEOF
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351
43352 #include <time.h>
43353
43354 int
43355 main ()
43356 {
43357
43358 int tz;
43359 tz = __timezone;
43360
43361 ;
43362 return 0;
43363 }
43364 _ACEOF
43365 rm -f conftest.$ac_objext
43366 if { (ac_try="$ac_compile"
43367 case "(($ac_try" in
43368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43369 *) ac_try_echo=$ac_try;;
43370 esac
43371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43372 (eval "$ac_compile") 2>conftest.er1
43373 ac_status=$?
43374 grep -v '^ *+' conftest.er1 >conftest.err
43375 rm -f conftest.er1
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } && {
43379 test -z "$ac_cxx_werror_flag" ||
43380 test ! -s conftest.err
43381 } && test -s conftest.$ac_objext; then
43382
43383 wx_cv_var_timezone=__timezone
43384
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389
43390 if test "$USE_DOS" = 0 ; then
43391 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43392 echo "$as_me: WARNING: no timezone variable" >&2;}
43393 fi
43394
43395
43396 fi
43397
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43399
43400
43401 fi
43402
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404
43405
43406 fi
43407
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416
43417 fi
43418 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43419 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43420
43421 if test "x$wx_cv_var_timezone" != x ; then
43422 cat >>confdefs.h <<_ACEOF
43423 #define WX_TIMEZONE $wx_cv_var_timezone
43424 _ACEOF
43425
43426 fi
43427
43428
43429 for ac_func in localtime
43430 do
43431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43436 else
43437 cat >conftest.$ac_ext <<_ACEOF
43438 /* confdefs.h. */
43439 _ACEOF
43440 cat confdefs.h >>conftest.$ac_ext
43441 cat >>conftest.$ac_ext <<_ACEOF
43442 /* end confdefs.h. */
43443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43445 #define $ac_func innocuous_$ac_func
43446
43447 /* System header to define __stub macros and hopefully few prototypes,
43448 which can conflict with char $ac_func (); below.
43449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43450 <limits.h> exists even on freestanding compilers. */
43451
43452 #ifdef __STDC__
43453 # include <limits.h>
43454 #else
43455 # include <assert.h>
43456 #endif
43457
43458 #undef $ac_func
43459
43460 /* Override any GCC internal prototype to avoid an error.
43461 Use char because int might match the return type of a GCC
43462 builtin and then its argument prototype would still apply. */
43463 #ifdef __cplusplus
43464 extern "C"
43465 #endif
43466 char $ac_func ();
43467 /* The GNU C library defines this for functions which it implements
43468 to always fail with ENOSYS. Some functions are actually named
43469 something starting with __ and the normal name is an alias. */
43470 #if defined __stub_$ac_func || defined __stub___$ac_func
43471 choke me
43472 #endif
43473
43474 int
43475 main ()
43476 {
43477 return $ac_func ();
43478 ;
43479 return 0;
43480 }
43481 _ACEOF
43482 rm -f conftest.$ac_objext conftest$ac_exeext
43483 if { (ac_try="$ac_link"
43484 case "(($ac_try" in
43485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43486 *) ac_try_echo=$ac_try;;
43487 esac
43488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43489 (eval "$ac_link") 2>conftest.er1
43490 ac_status=$?
43491 grep -v '^ *+' conftest.er1 >conftest.err
43492 rm -f conftest.er1
43493 cat conftest.err >&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); } && {
43496 test -z "$ac_c_werror_flag" ||
43497 test ! -s conftest.err
43498 } && test -s conftest$ac_exeext &&
43499 $as_test_x conftest$ac_exeext; then
43500 eval "$as_ac_var=yes"
43501 else
43502 echo "$as_me: failed program was:" >&5
43503 sed 's/^/| /' conftest.$ac_ext >&5
43504
43505 eval "$as_ac_var=no"
43506 fi
43507
43508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43509 conftest$ac_exeext conftest.$ac_ext
43510 fi
43511 ac_res=`eval echo '${'$as_ac_var'}'`
43512 { echo "$as_me:$LINENO: result: $ac_res" >&5
43513 echo "${ECHO_T}$ac_res" >&6; }
43514 if test `eval echo '${'$as_ac_var'}'` = yes; then
43515 cat >>confdefs.h <<_ACEOF
43516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43517 _ACEOF
43518
43519 fi
43520 done
43521
43522
43523 if test "$ac_cv_func_localtime" = "yes"; then
43524 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43525 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43526 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 else
43529
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536
43537 #include <time.h>
43538
43539 int
43540 main ()
43541 {
43542
43543 struct tm tm;
43544 tm.tm_gmtoff++;
43545
43546 ;
43547 return 0;
43548 }
43549 _ACEOF
43550 rm -f conftest.$ac_objext
43551 if { (ac_try="$ac_compile"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43554 *) ac_try_echo=$ac_try;;
43555 esac
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_compile") 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } && {
43564 test -z "$ac_c_werror_flag" ||
43565 test ! -s conftest.err
43566 } && test -s conftest.$ac_objext; then
43567
43568 wx_cv_struct_tm_has_gmtoff=yes
43569
43570 else
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43573
43574 wx_cv_struct_tm_has_gmtoff=no
43575
43576 fi
43577
43578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43579
43580 fi
43581 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43582 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43583 fi
43584
43585 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define WX_GMTOFF_IN_TM 1
43588 _ACEOF
43589
43590 fi
43591
43592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43593 fi
43594
43595
43596 if test "$wxUSE_SOCKETS" = "yes"; then
43597 if test "$wxUSE_MGL" = 1; then
43598 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43599 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43600 wxUSE_SOCKETS="no"
43601 fi
43602 fi
43603
43604 if test "$wxUSE_SOCKETS" = "yes"; then
43605 if test "$TOOLKIT" != "MSW"; then
43606 { echo "$as_me:$LINENO: checking for socket" >&5
43607 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43608 if test "${ac_cv_func_socket+set}" = set; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43610 else
43611 cat >conftest.$ac_ext <<_ACEOF
43612 /* confdefs.h. */
43613 _ACEOF
43614 cat confdefs.h >>conftest.$ac_ext
43615 cat >>conftest.$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43617 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43619 #define socket innocuous_socket
43620
43621 /* System header to define __stub macros and hopefully few prototypes,
43622 which can conflict with char socket (); below.
43623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43624 <limits.h> exists even on freestanding compilers. */
43625
43626 #ifdef __STDC__
43627 # include <limits.h>
43628 #else
43629 # include <assert.h>
43630 #endif
43631
43632 #undef socket
43633
43634 /* Override any GCC internal prototype to avoid an error.
43635 Use char because int might match the return type of a GCC
43636 builtin and then its argument prototype would still apply. */
43637 #ifdef __cplusplus
43638 extern "C"
43639 #endif
43640 char socket ();
43641 /* The GNU C library defines this for functions which it implements
43642 to always fail with ENOSYS. Some functions are actually named
43643 something starting with __ and the normal name is an alias. */
43644 #if defined __stub_socket || defined __stub___socket
43645 choke me
43646 #endif
43647
43648 int
43649 main ()
43650 {
43651 return socket ();
43652 ;
43653 return 0;
43654 }
43655 _ACEOF
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (ac_try="$ac_link"
43658 case "(($ac_try" in
43659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43660 *) ac_try_echo=$ac_try;;
43661 esac
43662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43663 (eval "$ac_link") 2>conftest.er1
43664 ac_status=$?
43665 grep -v '^ *+' conftest.er1 >conftest.err
43666 rm -f conftest.er1
43667 cat conftest.err >&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); } && {
43670 test -z "$ac_c_werror_flag" ||
43671 test ! -s conftest.err
43672 } && test -s conftest$ac_exeext &&
43673 $as_test_x conftest$ac_exeext; then
43674 ac_cv_func_socket=yes
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679 ac_cv_func_socket=no
43680 fi
43681
43682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43683 conftest$ac_exeext conftest.$ac_ext
43684 fi
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43686 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43687 if test $ac_cv_func_socket = yes; then
43688 :
43689 else
43690
43691 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43692 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43693 if test "${ac_cv_lib_socket_socket+set}" = set; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696 ac_check_lib_save_LIBS=$LIBS
43697 LIBS="-lsocket $LIBS"
43698 cat >conftest.$ac_ext <<_ACEOF
43699 /* confdefs.h. */
43700 _ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43704
43705 /* Override any GCC internal prototype to avoid an error.
43706 Use char because int might match the return type of a GCC
43707 builtin and then its argument prototype would still apply. */
43708 #ifdef __cplusplus
43709 extern "C"
43710 #endif
43711 char socket ();
43712 int
43713 main ()
43714 {
43715 return socket ();
43716 ;
43717 return 0;
43718 }
43719 _ACEOF
43720 rm -f conftest.$ac_objext conftest$ac_exeext
43721 if { (ac_try="$ac_link"
43722 case "(($ac_try" in
43723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43724 *) ac_try_echo=$ac_try;;
43725 esac
43726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43727 (eval "$ac_link") 2>conftest.er1
43728 ac_status=$?
43729 grep -v '^ *+' conftest.er1 >conftest.err
43730 rm -f conftest.er1
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } && {
43734 test -z "$ac_c_werror_flag" ||
43735 test ! -s conftest.err
43736 } && test -s conftest$ac_exeext &&
43737 $as_test_x conftest$ac_exeext; then
43738 ac_cv_lib_socket_socket=yes
43739 else
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43742
43743 ac_cv_lib_socket_socket=no
43744 fi
43745
43746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43747 conftest$ac_exeext conftest.$ac_ext
43748 LIBS=$ac_check_lib_save_LIBS
43749 fi
43750 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43751 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43752 if test $ac_cv_lib_socket_socket = yes; then
43753 if test "$INET_LINK" != " -lsocket"; then
43754 INET_LINK="$INET_LINK -lsocket"
43755 fi
43756 else
43757
43758 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43759 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43760 wxUSE_SOCKETS=no
43761
43762
43763 fi
43764
43765
43766
43767 fi
43768
43769 fi
43770 fi
43771
43772 if test "$wxUSE_SOCKETS" = "yes" ; then
43773 if test "$TOOLKIT" != "MSW"; then
43774 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43775 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43776 if test "${wx_cv_type_getsockname3+set}" = set; then
43777 echo $ECHO_N "(cached) $ECHO_C" >&6
43778 else
43779
43780 ac_ext=cpp
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43785
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792
43793 #include <sys/types.h>
43794 #include <sys/socket.h>
43795
43796 int
43797 main ()
43798 {
43799
43800 socklen_t len;
43801 getsockname(0, 0, &len);
43802
43803 ;
43804 return 0;
43805 }
43806 _ACEOF
43807 rm -f conftest.$ac_objext
43808 if { (ac_try="$ac_compile"
43809 case "(($ac_try" in
43810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43811 *) ac_try_echo=$ac_try;;
43812 esac
43813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43814 (eval "$ac_compile") 2>conftest.er1
43815 ac_status=$?
43816 grep -v '^ *+' conftest.er1 >conftest.err
43817 rm -f conftest.er1
43818 cat conftest.err >&5
43819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43820 (exit $ac_status); } && {
43821 test -z "$ac_cxx_werror_flag" ||
43822 test ! -s conftest.err
43823 } && test -s conftest.$ac_objext; then
43824 wx_cv_type_getsockname3=socklen_t
43825 else
43826 echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43828
43829
43830 CFLAGS_OLD="$CFLAGS"
43831 if test "$GCC" = yes ; then
43832 CFLAGS="-Werror $CFLAGS"
43833 fi
43834
43835 cat >conftest.$ac_ext <<_ACEOF
43836 /* confdefs.h. */
43837 _ACEOF
43838 cat confdefs.h >>conftest.$ac_ext
43839 cat >>conftest.$ac_ext <<_ACEOF
43840 /* end confdefs.h. */
43841
43842 #include <sys/types.h>
43843 #include <sys/socket.h>
43844
43845 int
43846 main ()
43847 {
43848
43849 size_t len;
43850 getsockname(0, 0, &len);
43851
43852 ;
43853 return 0;
43854 }
43855 _ACEOF
43856 rm -f conftest.$ac_objext
43857 if { (ac_try="$ac_compile"
43858 case "(($ac_try" in
43859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43860 *) ac_try_echo=$ac_try;;
43861 esac
43862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43863 (eval "$ac_compile") 2>conftest.er1
43864 ac_status=$?
43865 grep -v '^ *+' conftest.er1 >conftest.err
43866 rm -f conftest.er1
43867 cat conftest.err >&5
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); } && {
43870 test -z "$ac_cxx_werror_flag" ||
43871 test ! -s conftest.err
43872 } && test -s conftest.$ac_objext; then
43873 wx_cv_type_getsockname3=size_t
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43877
43878 cat >conftest.$ac_ext <<_ACEOF
43879 /* confdefs.h. */
43880 _ACEOF
43881 cat confdefs.h >>conftest.$ac_ext
43882 cat >>conftest.$ac_ext <<_ACEOF
43883 /* end confdefs.h. */
43884
43885 #include <sys/types.h>
43886 #include <sys/socket.h>
43887
43888 int
43889 main ()
43890 {
43891
43892 int len;
43893 getsockname(0, 0, &len);
43894
43895 ;
43896 return 0;
43897 }
43898 _ACEOF
43899 rm -f conftest.$ac_objext
43900 if { (ac_try="$ac_compile"
43901 case "(($ac_try" in
43902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43904 esac
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_compile") 2>conftest.er1
43907 ac_status=$?
43908 grep -v '^ *+' conftest.er1 >conftest.err
43909 rm -f conftest.er1
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_cxx_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest.$ac_objext; then
43916 wx_cv_type_getsockname3=int
43917 else
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43920
43921 wx_cv_type_getsockname3=unknown
43922
43923 fi
43924
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43926
43927 fi
43928
43929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43930
43931 CFLAGS="$CFLAGS_OLD"
43932
43933
43934 fi
43935
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937 ac_ext=c
43938 ac_cpp='$CPP $CPPFLAGS'
43939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43942
43943
43944 fi
43945 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43947
43948 if test "$wx_cv_type_getsockname3" = "unknown"; then
43949 wxUSE_SOCKETS=no
43950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43952 else
43953 cat >>confdefs.h <<_ACEOF
43954 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43955 _ACEOF
43956
43957 fi
43958 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43960 if test "${wx_cv_type_getsockopt5+set}" = set; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 else
43963
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43969
43970 cat >conftest.$ac_ext <<_ACEOF
43971 /* confdefs.h. */
43972 _ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976
43977 #include <sys/types.h>
43978 #include <sys/socket.h>
43979
43980 int
43981 main ()
43982 {
43983
43984 socklen_t len;
43985 getsockopt(0, 0, 0, 0, &len);
43986
43987 ;
43988 return 0;
43989 }
43990 _ACEOF
43991 rm -f conftest.$ac_objext
43992 if { (ac_try="$ac_compile"
43993 case "(($ac_try" in
43994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43995 *) ac_try_echo=$ac_try;;
43996 esac
43997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43998 (eval "$ac_compile") 2>conftest.er1
43999 ac_status=$?
44000 grep -v '^ *+' conftest.er1 >conftest.err
44001 rm -f conftest.er1
44002 cat conftest.err >&5
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); } && {
44005 test -z "$ac_cxx_werror_flag" ||
44006 test ! -s conftest.err
44007 } && test -s conftest.$ac_objext; then
44008 wx_cv_type_getsockopt5=socklen_t
44009 else
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44012
44013
44014 cat >conftest.$ac_ext <<_ACEOF
44015 /* confdefs.h. */
44016 _ACEOF
44017 cat confdefs.h >>conftest.$ac_ext
44018 cat >>conftest.$ac_ext <<_ACEOF
44019 /* end confdefs.h. */
44020
44021 #include <sys/types.h>
44022 #include <sys/socket.h>
44023
44024 int
44025 main ()
44026 {
44027
44028 size_t len;
44029 getsockopt(0, 0, 0, 0, &len);
44030
44031 ;
44032 return 0;
44033 }
44034 _ACEOF
44035 rm -f conftest.$ac_objext
44036 if { (ac_try="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44040 esac
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44043 ac_status=$?
44044 grep -v '^ *+' conftest.er1 >conftest.err
44045 rm -f conftest.er1
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_cxx_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 wx_cv_type_getsockopt5=size_t
44053 else
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44056
44057 cat >conftest.$ac_ext <<_ACEOF
44058 /* confdefs.h. */
44059 _ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44063
44064 #include <sys/types.h>
44065 #include <sys/socket.h>
44066
44067 int
44068 main ()
44069 {
44070
44071 int len;
44072 getsockopt(0, 0, 0, 0, &len);
44073
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext
44079 if { (ac_try="$ac_compile"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44083 esac
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_compile") 2>conftest.er1
44086 ac_status=$?
44087 grep -v '^ *+' conftest.er1 >conftest.err
44088 rm -f conftest.er1
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_cxx_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest.$ac_objext; then
44095 wx_cv_type_getsockopt5=int
44096 else
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44099
44100 wx_cv_type_getsockopt5=unknown
44101
44102 fi
44103
44104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44105
44106 fi
44107
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44109
44110
44111 fi
44112
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44114 ac_ext=c
44115 ac_cpp='$CPP $CPPFLAGS'
44116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44119
44120
44121 fi
44122 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44123 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44124
44125 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44126 wxUSE_SOCKETS=no
44127 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44128 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44129 else
44130 cat >>confdefs.h <<_ACEOF
44131 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44132 _ACEOF
44133
44134 fi
44135 fi
44136 fi
44137
44138 if test "$wxUSE_SOCKETS" = "yes" ; then
44139 if test "$wxUSE_IPV6" = "yes"; then
44140 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44141 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44142 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 else
44145
44146 cat >conftest.$ac_ext <<_ACEOF
44147 /* confdefs.h. */
44148 _ACEOF
44149 cat confdefs.h >>conftest.$ac_ext
44150 cat >>conftest.$ac_ext <<_ACEOF
44151 /* end confdefs.h. */
44152
44153 #include <sys/types.h>
44154 #include <sys/socket.h>
44155 #include <netinet/in.h>
44156
44157 int
44158 main ()
44159 {
44160
44161 struct sockaddr_in6 sa6;
44162
44163 ;
44164 return 0;
44165 }
44166 _ACEOF
44167 rm -f conftest.$ac_objext
44168 if { (ac_try="$ac_compile"
44169 case "(($ac_try" in
44170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44171 *) ac_try_echo=$ac_try;;
44172 esac
44173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44174 (eval "$ac_compile") 2>conftest.er1
44175 ac_status=$?
44176 grep -v '^ *+' conftest.er1 >conftest.err
44177 rm -f conftest.er1
44178 cat conftest.err >&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); } && {
44181 test -z "$ac_c_werror_flag" ||
44182 test ! -s conftest.err
44183 } && test -s conftest.$ac_objext; then
44184 wx_cv_type_sockaddr_in6=yes
44185 else
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44188
44189 wx_cv_type_sockaddr_in6=no
44190
44191 fi
44192
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194
44195
44196 fi
44197 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44198 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44199
44200 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_IPV6 1
44203 _ACEOF
44204
44205 else
44206 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44207 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44208 fi
44209 fi
44210
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_SOCKETS 1
44213 _ACEOF
44214
44215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44216 fi
44217
44218 if test "$wxUSE_PROTOCOL" = "yes"; then
44219 if test "$wxUSE_SOCKETS" != "yes"; then
44220 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44221 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44222 wxUSE_PROTOCOL=no
44223 fi
44224 fi
44225
44226 if test "$wxUSE_PROTOCOL" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_PROTOCOL 1
44229 _ACEOF
44230
44231
44232 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_PROTOCOL_HTTP 1
44235 _ACEOF
44236
44237 fi
44238 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44239 cat >>confdefs.h <<\_ACEOF
44240 #define wxUSE_PROTOCOL_FTP 1
44241 _ACEOF
44242
44243 fi
44244 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_PROTOCOL_FILE 1
44247 _ACEOF
44248
44249 fi
44250 else
44251 if test "$wxUSE_FS_INET" = "yes"; then
44252 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44253 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44254 wxUSE_FS_INET="no"
44255 fi
44256 fi
44257
44258 if test "$wxUSE_URL" = "yes"; then
44259 if test "$wxUSE_PROTOCOL" != "yes"; then
44260 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44261 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44262 wxUSE_URL=no
44263 fi
44264 if test "$wxUSE_URL" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_URL 1
44267 _ACEOF
44268
44269 fi
44270 fi
44271
44272 if test "$wxUSE_VARIANT" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_VARIANT 1
44275 _ACEOF
44276
44277 fi
44278
44279 if test "$wxUSE_FS_INET" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_FS_INET 1
44282 _ACEOF
44283
44284 fi
44285
44286
44287 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44288 wxUSE_JOYSTICK=no
44289
44290 if test "$TOOLKIT" = "MSW"; then
44291 wxUSE_JOYSTICK=yes
44292
44293 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44294 if test "$USE_DARWIN" = 1; then
44295 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44296 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44297 ac_ext=cpp
44298 ac_cpp='$CXXCPP $CPPFLAGS'
44299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 #include <IOKit/hid/IOHIDLib.h>
44310 int
44311 main ()
44312 {
44313 IOHIDQueueInterface *qi = NULL;
44314 IOHIDCallbackFunction cb = NULL;
44315 qi->setEventCallout(NULL, cb, NULL, NULL);
44316 ;
44317 return 0;
44318 }
44319 _ACEOF
44320 rm -f conftest.$ac_objext
44321 if { (ac_try="$ac_compile"
44322 case "(($ac_try" in
44323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44324 *) ac_try_echo=$ac_try;;
44325 esac
44326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44327 (eval "$ac_compile") 2>conftest.er1
44328 ac_status=$?
44329 grep -v '^ *+' conftest.er1 >conftest.err
44330 rm -f conftest.er1
44331 cat conftest.err >&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } && {
44334 test -z "$ac_cxx_werror_flag" ||
44335 test ! -s conftest.err
44336 } && test -s conftest.$ac_objext; then
44337 wxUSE_JOYSTICK=yes
44338
44339 else
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343
44344 fi
44345
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44352
44353 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44354 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44355 fi
44356
44357 else
44358 if test "$wxUSE_MGL" != 1; then
44359
44360 for ac_header in linux/joystick.h
44361 do
44362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368 cat >conftest.$ac_ext <<_ACEOF
44369 /* confdefs.h. */
44370 _ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 $ac_includes_default
44375
44376 #include <$ac_header>
44377 _ACEOF
44378 rm -f conftest.$ac_objext
44379 if { (ac_try="$ac_compile"
44380 case "(($ac_try" in
44381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44382 *) ac_try_echo=$ac_try;;
44383 esac
44384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44385 (eval "$ac_compile") 2>conftest.er1
44386 ac_status=$?
44387 grep -v '^ *+' conftest.er1 >conftest.err
44388 rm -f conftest.er1
44389 cat conftest.err >&5
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); } && {
44392 test -z "$ac_c_werror_flag" ||
44393 test ! -s conftest.err
44394 } && test -s conftest.$ac_objext; then
44395 eval "$as_ac_Header=yes"
44396 else
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.$ac_ext >&5
44399
44400 eval "$as_ac_Header=no"
44401 fi
44402
44403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44404 fi
44405 ac_res=`eval echo '${'$as_ac_Header'}'`
44406 { echo "$as_me:$LINENO: result: $ac_res" >&5
44407 echo "${ECHO_T}$ac_res" >&6; }
44408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44409 cat >>confdefs.h <<_ACEOF
44410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44411 _ACEOF
44412 wxUSE_JOYSTICK=yes
44413 fi
44414
44415 done
44416
44417 fi
44418 fi
44419
44420 if test "$wxUSE_JOYSTICK" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_JOYSTICK 1
44423 _ACEOF
44424
44425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44426 else
44427 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44428 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44429 fi
44430 fi
44431
44432
44433
44434 if test "$wxUSE_FONTENUM" = "yes" ; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_FONTENUM 1
44437 _ACEOF
44438
44439 fi
44440
44441 if test "$wxUSE_FONTMAP" = "yes" ; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_FONTMAP 1
44444 _ACEOF
44445
44446 fi
44447
44448 if test "$wxUSE_UNICODE" = "yes" ; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_UNICODE 1
44451 _ACEOF
44452
44453
44454 if test "$USE_WIN32" != 1; then
44455 wxUSE_UNICODE_MSLU=no
44456 fi
44457
44458 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44459 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44460 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44461 if test "${ac_cv_lib_unicows_main+set}" = set; then
44462 echo $ECHO_N "(cached) $ECHO_C" >&6
44463 else
44464 ac_check_lib_save_LIBS=$LIBS
44465 LIBS="-lunicows $LIBS"
44466 cat >conftest.$ac_ext <<_ACEOF
44467 /* confdefs.h. */
44468 _ACEOF
44469 cat confdefs.h >>conftest.$ac_ext
44470 cat >>conftest.$ac_ext <<_ACEOF
44471 /* end confdefs.h. */
44472
44473
44474 int
44475 main ()
44476 {
44477 return main ();
44478 ;
44479 return 0;
44480 }
44481 _ACEOF
44482 rm -f conftest.$ac_objext conftest$ac_exeext
44483 if { (ac_try="$ac_link"
44484 case "(($ac_try" in
44485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44486 *) ac_try_echo=$ac_try;;
44487 esac
44488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44489 (eval "$ac_link") 2>conftest.er1
44490 ac_status=$?
44491 grep -v '^ *+' conftest.er1 >conftest.err
44492 rm -f conftest.er1
44493 cat conftest.err >&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); } && {
44496 test -z "$ac_c_werror_flag" ||
44497 test ! -s conftest.err
44498 } && test -s conftest$ac_exeext &&
44499 $as_test_x conftest$ac_exeext; then
44500 ac_cv_lib_unicows_main=yes
44501 else
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.$ac_ext >&5
44504
44505 ac_cv_lib_unicows_main=no
44506 fi
44507
44508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44509 conftest$ac_exeext conftest.$ac_ext
44510 LIBS=$ac_check_lib_save_LIBS
44511 fi
44512 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44513 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44514 if test $ac_cv_lib_unicows_main = yes; then
44515
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_UNICODE_MSLU 1
44518 _ACEOF
44519
44520
44521 else
44522
44523 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44524 Applications will only run on Windows NT/2000/XP!" >&5
44525 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44526 Applications will only run on Windows NT/2000/XP!" >&2;}
44527 wxUSE_UNICODE_MSLU=no
44528
44529 fi
44530
44531 fi
44532 fi
44533
44534 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_UNICODE_UTF8 1
44537 _ACEOF
44538
44539
44540 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_UTF8_LOCALE_ONLY 1
44543 _ACEOF
44544
44545 fi
44546 fi
44547
44548
44549 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_CONSTRAINTS 1
44552 _ACEOF
44553
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44555 fi
44556
44557 if test "$wxUSE_MDI" = "yes"; then
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_MDI 1
44560 _ACEOF
44561
44562
44563 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_MDI_ARCHITECTURE 1
44566 _ACEOF
44567
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44569 fi
44570 fi
44571
44572 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44575 _ACEOF
44576
44577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44578 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44580 fi
44581 fi
44582
44583 if test "$wxUSE_HELP" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_HELP 1
44586 _ACEOF
44587
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44589
44590 if test "$wxUSE_MSW" = 1; then
44591 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_MS_HTML_HELP 1
44594 _ACEOF
44595
44596 fi
44597 fi
44598
44599 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44600 if test "$wxUSE_HTML" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_WXHTML_HELP 1
44603 _ACEOF
44604
44605 else
44606 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44607 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44608 wxUSE_WXHTML_HELP=no
44609 fi
44610 fi
44611 fi
44612
44613 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44614 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44615 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44616 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44617 else
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_PRINTING_ARCHITECTURE 1
44620 _ACEOF
44621
44622 fi
44623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44624 fi
44625
44626 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_POSTSCRIPT 1
44629 _ACEOF
44630
44631 fi
44632
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44635 _ACEOF
44636
44637
44638 if test "$wxUSE_SVG" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_SVG 1
44641 _ACEOF
44642
44643 fi
44644
44645
44646 if test "$wxUSE_METAFILE" = "yes"; then
44647 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44648 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44649 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44650 wxUSE_METAFILE=no
44651 fi
44652 fi
44653
44654
44655 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44656 -o "$wxUSE_CLIPBOARD" = "yes" \
44657 -o "$wxUSE_OLE" = "yes" \
44658 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44659 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44660 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44661 if test "${ac_cv_header_ole2_h+set}" = set; then
44662 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 else
44664 cat >conftest.$ac_ext <<_ACEOF
44665 /* confdefs.h. */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44670
44671
44672 #include <ole2.h>
44673 _ACEOF
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44679 esac
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_c_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 ac_cv_header_ole2_h=yes
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 ac_cv_header_ole2_h=no
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 fi
44701 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44702 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44703
44704
44705
44706 if test "$ac_cv_header_ole2_h" = "yes" ; then
44707 if test "$GCC" = yes ; then
44708 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44709 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <windows.h>
44717 #include <ole2.h>
44718 int
44719 main ()
44720 {
44721
44722 ;
44723 return 0;
44724 }
44725 _ACEOF
44726 rm -f conftest.$ac_objext
44727 if { (ac_try="$ac_compile"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44730 *) ac_try_echo=$ac_try;;
44731 esac
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_compile") 2>conftest.er1
44734 ac_status=$?
44735 grep -v '^ *+' conftest.er1 >conftest.err
44736 rm -f conftest.er1
44737 cat conftest.err >&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest.$ac_objext; then
44743 { echo "$as_me:$LINENO: result: no" >&5
44744 echo "${ECHO_T}no" >&6; }
44745 else
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44748
44749 { echo "$as_me:$LINENO: result: yes" >&5
44750 echo "${ECHO_T}yes" >&6; }
44751 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44752 fi
44753
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44756 if test "$wxUSE_OLE" = "yes" ; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_OLE 1
44759 _ACEOF
44760
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_OLE_AUTOMATION 1
44763 _ACEOF
44764
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_ACTIVEX 1
44767 _ACEOF
44768
44769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44770 fi
44771 fi
44772
44773 if test "$wxUSE_DATAOBJ" = "yes" ; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_DATAOBJ 1
44776 _ACEOF
44777
44778 fi
44779 else
44780 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44781 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44782
44783 wxUSE_CLIPBOARD=no
44784 wxUSE_DRAG_AND_DROP=no
44785 wxUSE_DATAOBJ=no
44786 wxUSE_OLE=no
44787 fi
44788
44789 if test "$wxUSE_METAFILE" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_METAFILE 1
44792 _ACEOF
44793
44794
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_ENH_METAFILE 1
44797 _ACEOF
44798
44799 fi
44800 fi
44801
44802 if test "$wxUSE_IPC" = "yes"; then
44803 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44804 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44805 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44806 wxUSE_IPC=no
44807 fi
44808
44809 if test "$wxUSE_IPC" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_IPC 1
44812 _ACEOF
44813
44814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44815 fi
44816 fi
44817
44818 if test "$wxUSE_DATAOBJ" = "yes"; then
44819 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44820 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44821 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44822 wxUSE_DATAOBJ=no
44823 else
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_DATAOBJ 1
44826 _ACEOF
44827
44828 fi
44829 else
44830 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44831 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44832 wxUSE_CLIPBOARD=no
44833 wxUSE_DRAG_AND_DROP=no
44834 fi
44835
44836 if test "$wxUSE_CLIPBOARD" = "yes"; then
44837 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44838 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44839 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44840 wxUSE_CLIPBOARD=no
44841 fi
44842
44843 if test "$wxUSE_CLIPBOARD" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_CLIPBOARD 1
44846 _ACEOF
44847
44848 fi
44849 fi
44850
44851 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44852 if test "$wxUSE_GTK" = 1; then
44853 if test "$WXGTK12" != 1; then
44854 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44855 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44856 wxUSE_DRAG_AND_DROP=no
44857 fi
44858 fi
44859
44860 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44861 "$wxUSE_DFB" = 1; then
44862 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44863 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44864 wxUSE_DRAG_AND_DROP=no
44865 fi
44866
44867 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_DRAG_AND_DROP 1
44870 _ACEOF
44871
44872 fi
44873
44874 fi
44875
44876 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44878 fi
44879
44880 if test "$wxUSE_SPLINES" = "yes" ; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_SPLINES 1
44883 _ACEOF
44884
44885 fi
44886
44887 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_MOUSEWHEEL 1
44890 _ACEOF
44891
44892 fi
44893
44894
44895 USES_CONTROLS=0
44896 if test "$wxUSE_CONTROLS" = "yes"; then
44897 USES_CONTROLS=1
44898 fi
44899
44900 if test "$wxUSE_ACCEL" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_ACCEL 1
44903 _ACEOF
44904
44905 USES_CONTROLS=1
44906 fi
44907
44908 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_ANIMATIONCTRL 1
44911 _ACEOF
44912
44913 USES_CONTROLS=1
44914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44915 fi
44916
44917 if test "$wxUSE_BUTTON" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_BUTTON 1
44920 _ACEOF
44921
44922 USES_CONTROLS=1
44923 fi
44924
44925 if test "$wxUSE_BMPBUTTON" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_BMPBUTTON 1
44928 _ACEOF
44929
44930 USES_CONTROLS=1
44931 fi
44932
44933 if test "$wxUSE_CALCTRL" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_CALENDARCTRL 1
44936 _ACEOF
44937
44938 USES_CONTROLS=1
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44940 fi
44941
44942 if test "$wxUSE_CARET" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_CARET 1
44945 _ACEOF
44946
44947 USES_CONTROLS=1
44948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44949 fi
44950
44951 if test "$wxUSE_COLLPANE" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_COLLPANE 1
44954 _ACEOF
44955
44956 USES_CONTROLS=1
44957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44958 fi
44959
44960 if test "$wxUSE_COMBOBOX" = "yes"; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_COMBOBOX 1
44963 _ACEOF
44964
44965 USES_CONTROLS=1
44966 fi
44967
44968 if test "$wxUSE_COMBOCTRL" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_COMBOCTRL 1
44971 _ACEOF
44972
44973 USES_CONTROLS=1
44974 fi
44975
44976 if test "$wxUSE_CHOICE" = "yes"; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_CHOICE 1
44979 _ACEOF
44980
44981 USES_CONTROLS=1
44982 fi
44983
44984 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_CHOICEBOOK 1
44987 _ACEOF
44988
44989 USES_CONTROLS=1
44990 fi
44991
44992 if test "$wxUSE_CHECKBOX" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_CHECKBOX 1
44995 _ACEOF
44996
44997 USES_CONTROLS=1
44998 fi
44999
45000 if test "$wxUSE_CHECKLST" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_CHECKLISTBOX 1
45003 _ACEOF
45004
45005 USES_CONTROLS=1
45006 fi
45007
45008 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_COLOURPICKERCTRL 1
45011 _ACEOF
45012
45013 USES_CONTROLS=1
45014 fi
45015
45016 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_DATEPICKCTRL 1
45019 _ACEOF
45020
45021 USES_CONTROLS=1
45022 fi
45023
45024 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_DIRPICKERCTRL 1
45027 _ACEOF
45028
45029 USES_CONTROLS=1
45030 fi
45031
45032 if test "$wxUSE_FILECTRL" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_FILECTRL 1
45035 _ACEOF
45036
45037 USES_CONTROLS=1
45038 fi
45039
45040 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_FILEPICKERCTRL 1
45043 _ACEOF
45044
45045 USES_CONTROLS=1
45046 fi
45047
45048 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_FONTPICKERCTRL 1
45051 _ACEOF
45052
45053 USES_CONTROLS=1
45054 fi
45055
45056 if test "$wxUSE_DISPLAY" = "yes"; then
45057 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45058 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45059 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45060 wxUSE_DISPLAY=no
45061 else
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_DISPLAY 1
45064 _ACEOF
45065
45066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45067 fi
45068 fi
45069
45070 if test "$wxUSE_DETECT_SM" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_DETECT_SM 1
45073 _ACEOF
45074
45075 fi
45076
45077 if test "$wxUSE_GAUGE" = "yes"; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_GAUGE 1
45080 _ACEOF
45081
45082 USES_CONTROLS=1
45083 fi
45084
45085 if test "$wxUSE_GRID" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_GRID 1
45088 _ACEOF
45089
45090 USES_CONTROLS=1
45091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45092 fi
45093
45094 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_HYPERLINKCTRL 1
45097 _ACEOF
45098
45099 USES_CONTROLS=1
45100 fi
45101
45102 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_BITMAPCOMBOBOX 1
45105 _ACEOF
45106
45107 USES_CONTROLS=1
45108 fi
45109
45110 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_DATAVIEWCTRL 1
45113 _ACEOF
45114
45115 USES_CONTROLS=1
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45117 fi
45118
45119 if test "$wxUSE_IMAGLIST" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_IMAGLIST 1
45122 _ACEOF
45123
45124 fi
45125
45126 if test "$wxUSE_LISTBOOK" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LISTBOOK 1
45129 _ACEOF
45130
45131 USES_CONTROLS=1
45132 fi
45133
45134 if test "$wxUSE_LISTBOX" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_LISTBOX 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_LISTCTRL" = "yes"; then
45143 if test "$wxUSE_IMAGLIST" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_LISTCTRL 1
45146 _ACEOF
45147
45148 USES_CONTROLS=1
45149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45150 else
45151 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45152 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45153 fi
45154 fi
45155
45156 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_EDITABLELISTBOX 1
45159 _ACEOF
45160
45161 USES_CONTROLS=1
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45163 fi
45164
45165 if test "$wxUSE_NOTEBOOK" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_NOTEBOOK 1
45168 _ACEOF
45169
45170 USES_CONTROLS=1
45171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45172 fi
45173
45174 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_ODCOMBOBOX 1
45177 _ACEOF
45178
45179 USES_CONTROLS=1
45180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45181 fi
45182
45183 if test "$wxUSE_RADIOBOX" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_RADIOBOX 1
45186 _ACEOF
45187
45188 USES_CONTROLS=1
45189 fi
45190
45191 if test "$wxUSE_RADIOBTN" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_RADIOBTN 1
45194 _ACEOF
45195
45196 USES_CONTROLS=1
45197 fi
45198
45199 if test "$wxUSE_SASH" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_SASH 1
45202 _ACEOF
45203
45204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45205 fi
45206
45207 if test "$wxUSE_SCROLLBAR" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_SCROLLBAR 1
45210 _ACEOF
45211
45212 USES_CONTROLS=1
45213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45214 fi
45215
45216 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_SEARCHCTRL 1
45219 _ACEOF
45220
45221 USES_CONTROLS=1
45222 fi
45223
45224 if test "$wxUSE_SLIDER" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_SLIDER 1
45227 _ACEOF
45228
45229 USES_CONTROLS=1
45230 fi
45231
45232 if test "$wxUSE_SPINBTN" = "yes"; then
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_SPINBTN 1
45235 _ACEOF
45236
45237 USES_CONTROLS=1
45238 fi
45239
45240 if test "$wxUSE_SPINCTRL" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_SPINCTRL 1
45243 _ACEOF
45244
45245 USES_CONTROLS=1
45246 fi
45247
45248 if test "$wxUSE_SPLITTER" = "yes"; then
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_SPLITTER 1
45251 _ACEOF
45252
45253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45254 fi
45255
45256 if test "$wxUSE_STATBMP" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_STATBMP 1
45259 _ACEOF
45260
45261 USES_CONTROLS=1
45262 fi
45263
45264 if test "$wxUSE_STATBOX" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_STATBOX 1
45267 _ACEOF
45268
45269 USES_CONTROLS=1
45270 fi
45271
45272 if test "$wxUSE_STATTEXT" = "yes"; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_STATTEXT 1
45275 _ACEOF
45276
45277 USES_CONTROLS=1
45278 fi
45279
45280 if test "$wxUSE_STATLINE" = "yes"; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_STATLINE 1
45283 _ACEOF
45284
45285 USES_CONTROLS=1
45286 fi
45287
45288 if test "$wxUSE_STATUSBAR" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_NATIVE_STATUSBAR 1
45291 _ACEOF
45292
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_STATUSBAR 1
45295 _ACEOF
45296
45297 USES_CONTROLS=1
45298
45299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45300 fi
45301
45302 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_TAB_DIALOG 1
45305 _ACEOF
45306
45307 fi
45308
45309 if test "$wxUSE_TEXTCTRL" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_TEXTCTRL 1
45312 _ACEOF
45313
45314 USES_CONTROLS=1
45315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45316 fi
45317
45318 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45319 if test "$wxUSE_COCOA" = 1 ; then
45320 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45321 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45322 wxUSE_TOGGLEBTN=no
45323 fi
45324
45325 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_TOGGLEBTN 1
45328 _ACEOF
45329
45330 USES_CONTROLS=1
45331 fi
45332 fi
45333
45334 if test "$wxUSE_TOOLBAR" = "yes"; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_TOOLBAR 1
45337 _ACEOF
45338
45339 USES_CONTROLS=1
45340
45341 if test "$wxUSE_UNIVERSAL" = "yes"; then
45342 wxUSE_TOOLBAR_NATIVE="no"
45343 else
45344 wxUSE_TOOLBAR_NATIVE="yes"
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_TOOLBAR_NATIVE 1
45347 _ACEOF
45348
45349 fi
45350
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45352 fi
45353
45354 if test "$wxUSE_TOOLTIPS" = "yes"; then
45355 if test "$wxUSE_MOTIF" = 1; then
45356 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45357 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45358 else
45359 if test "$wxUSE_UNIVERSAL" = "yes"; then
45360 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45361 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45362 else
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_TOOLTIPS 1
45365 _ACEOF
45366
45367 fi
45368 fi
45369 fi
45370
45371 if test "$wxUSE_TREEBOOK" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_TREEBOOK 1
45374 _ACEOF
45375
45376 USES_CONTROLS=1
45377 fi
45378
45379 if test "$wxUSE_TOOLBOOK" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_TOOLBOOK 1
45382 _ACEOF
45383
45384 USES_CONTROLS=1
45385 fi
45386
45387 if test "$wxUSE_TREECTRL" = "yes"; then
45388 if test "$wxUSE_IMAGLIST" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_TREECTRL 1
45391 _ACEOF
45392
45393 USES_CONTROLS=1
45394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45395 else
45396 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45397 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45398 fi
45399 fi
45400
45401 if test "$wxUSE_POPUPWIN" = "yes"; then
45402 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45403 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45404 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45405 else
45406 if test "$wxUSE_PM" = 1; then
45407 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45408 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45409 else
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_POPUPWIN 1
45412 _ACEOF
45413
45414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45415
45416 USES_CONTROLS=1
45417 fi
45418 fi
45419 fi
45420
45421 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45422 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45423 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45424 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45425 else
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_DIALUP_MANAGER 1
45428 _ACEOF
45429
45430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45431 fi
45432 fi
45433
45434 if test "$wxUSE_TIPWINDOW" = "yes"; then
45435 if test "$wxUSE_PM" = 1; then
45436 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45437 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45438 else
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_TIPWINDOW 1
45441 _ACEOF
45442
45443 fi
45444 fi
45445
45446 if test "$USES_CONTROLS" = 1; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_CONTROLS 1
45449 _ACEOF
45450
45451 fi
45452
45453
45454 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_ACCESSIBILITY 1
45457 _ACEOF
45458
45459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45460 fi
45461
45462 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_DRAGIMAGE 1
45465 _ACEOF
45466
45467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45468 fi
45469
45470 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45471 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45472 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45473 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45474 else
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_EXCEPTIONS 1
45477 _ACEOF
45478
45479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45480 fi
45481 fi
45482
45483 USE_HTML=0
45484 if test "$wxUSE_HTML" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_HTML 1
45487 _ACEOF
45488
45489 USE_HTML=1
45490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45491 if test "$wxUSE_MAC" = 1; then
45492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45493 fi
45494 fi
45495 if test "$wxUSE_WEBKIT" = "yes"; then
45496 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45497 old_CPPFLAGS="$CPPFLAGS"
45498 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45499 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45500 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45501 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45502 echo $ECHO_N "(cached) $ECHO_C" >&6
45503 else
45504 cat >conftest.$ac_ext <<_ACEOF
45505 /* confdefs.h. */
45506 _ACEOF
45507 cat confdefs.h >>conftest.$ac_ext
45508 cat >>conftest.$ac_ext <<_ACEOF
45509 /* end confdefs.h. */
45510
45511 #include <Carbon/Carbon.h>
45512 #include <WebKit/WebKit.h>
45513
45514
45515 #include <WebKit/HIWebView.h>
45516 _ACEOF
45517 rm -f conftest.$ac_objext
45518 if { (ac_try="$ac_compile"
45519 case "(($ac_try" in
45520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45521 *) ac_try_echo=$ac_try;;
45522 esac
45523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45524 (eval "$ac_compile") 2>conftest.er1
45525 ac_status=$?
45526 grep -v '^ *+' conftest.er1 >conftest.err
45527 rm -f conftest.er1
45528 cat conftest.err >&5
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); } && {
45531 test -z "$ac_c_werror_flag" ||
45532 test ! -s conftest.err
45533 } && test -s conftest.$ac_objext; then
45534 ac_cv_header_WebKit_HIWebView_h=yes
45535 else
45536 echo "$as_me: failed program was:" >&5
45537 sed 's/^/| /' conftest.$ac_ext >&5
45538
45539 ac_cv_header_WebKit_HIWebView_h=no
45540 fi
45541
45542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45543 fi
45544 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45545 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45546 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45547
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_WEBKIT 1
45550 _ACEOF
45551
45552 WEBKIT_LINK="-framework WebKit"
45553
45554 else
45555
45556 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45557 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45558 wxUSE_WEBKIT=no
45559
45560 fi
45561
45562
45563 CPPFLAGS="$old_CPPFLAGS"
45564 elif test "$wxUSE_COCOA" = 1; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_WEBKIT 1
45567 _ACEOF
45568
45569 else
45570 wxUSE_WEBKIT=no
45571 fi
45572 fi
45573
45574 USE_XRC=0
45575 if test "$wxUSE_XRC" = "yes"; then
45576 if test "$wxUSE_XML" != "yes"; then
45577 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45578 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45579 wxUSE_XRC=no
45580 else
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_XRC 1
45583 _ACEOF
45584
45585 USE_XRC=1
45586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45587 fi
45588 fi
45589
45590 USE_AUI=0
45591 if test "$wxUSE_AUI" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_AUI 1
45594 _ACEOF
45595
45596 USE_AUI=1
45597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45598 fi
45599
45600 USE_STC=0
45601 if test "$wxUSE_STC" = "yes"; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_STC 1
45604 _ACEOF
45605
45606 USE_STC=1
45607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45608 fi
45609
45610 if test "$wxUSE_MENUS" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_MENUS 1
45613 _ACEOF
45614
45615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45616 fi
45617
45618 if test "$wxUSE_METAFILE" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_METAFILE 1
45621 _ACEOF
45622
45623 fi
45624
45625 if test "$wxUSE_MIMETYPE" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_MIMETYPE 1
45628 _ACEOF
45629
45630 fi
45631
45632 if test "$wxUSE_MINIFRAME" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_MINIFRAME 1
45635 _ACEOF
45636
45637 fi
45638
45639 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_SYSTEM_OPTIONS 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_TASKBARICON" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_TASKBARICON 1
45649 _ACEOF
45650
45651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45652 fi
45653
45654
45655 if test "$wxUSE_VALIDATORS" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_VALIDATORS 1
45658 _ACEOF
45659
45660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45661 fi
45662
45663 if test "$wxUSE_PALETTE" = "yes" ; then
45664 if test "$wxUSE_DFB" = 1; then
45665 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45666 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45667 wxUSE_PALETTE=no
45668 else
45669 cat >>confdefs.h <<\_ACEOF
45670 #define wxUSE_PALETTE 1
45671 _ACEOF
45672
45673 fi
45674 fi
45675
45676 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45677 LIBS=" -lunicows $LIBS"
45678 fi
45679
45680 USE_RICHTEXT=0
45681 if test "$wxUSE_RICHTEXT" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_RICHTEXT 1
45684 _ACEOF
45685
45686 USE_RICHTEXT=1
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45688 fi
45689
45690
45691 if test "$wxUSE_IMAGE" = "yes" ; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_IMAGE 1
45694 _ACEOF
45695
45696
45697 if test "$wxUSE_GIF" = "yes" ; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_GIF 1
45700 _ACEOF
45701
45702 fi
45703
45704 if test "$wxUSE_PCX" = "yes" ; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_PCX 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_TGA" = "yes" ; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_TGA 1
45714 _ACEOF
45715
45716 fi
45717
45718 if test "$wxUSE_IFF" = "yes" ; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_IFF 1
45721 _ACEOF
45722
45723 fi
45724
45725 if test "$wxUSE_PNM" = "yes" ; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_PNM 1
45728 _ACEOF
45729
45730 fi
45731
45732 if test "$wxUSE_XPM" = "yes" ; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_XPM 1
45735 _ACEOF
45736
45737 fi
45738
45739 if test "$wxUSE_ICO_CUR" = "yes" ; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_ICO_CUR 1
45742 _ACEOF
45743
45744 fi
45745 fi
45746
45747
45748 if test "$wxUSE_ABOUTDLG" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_ABOUTDLG 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_CHOICEDLG" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_CHOICEDLG 1
45758 _ACEOF
45759
45760 fi
45761
45762 if test "$wxUSE_COLOURDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_COLOURDLG 1
45765 _ACEOF
45766
45767 fi
45768
45769 if test "$wxUSE_FILEDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_FILEDLG 1
45772 _ACEOF
45773
45774 fi
45775
45776 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_FINDREPLDLG 1
45779 _ACEOF
45780
45781 fi
45782
45783 if test "$wxUSE_FONTDLG" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FONTDLG 1
45786 _ACEOF
45787
45788 fi
45789
45790 if test "$wxUSE_DIRDLG" = "yes"; then
45791 if test "$wxUSE_TREECTRL" != "yes"; then
45792 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45793 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45794 else
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_DIRDLG 1
45797 _ACEOF
45798
45799 fi
45800 fi
45801
45802 if test "$wxUSE_MSGDLG" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_MSGDLG 1
45805 _ACEOF
45806
45807 fi
45808
45809 if test "$wxUSE_NUMBERDLG" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_NUMBERDLG 1
45812 _ACEOF
45813
45814 fi
45815
45816 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45817 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45818 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45819 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45820 else
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_PROGRESSDLG 1
45823 _ACEOF
45824
45825 fi
45826 fi
45827
45828 if test "$wxUSE_SPLASH" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_SPLASH 1
45831 _ACEOF
45832
45833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45834 fi
45835
45836 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45837 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45838 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45839 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45840 else
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_STARTUP_TIPS 1
45843 _ACEOF
45844
45845 fi
45846 fi
45847
45848 if test "$wxUSE_TEXTDLG" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_TEXTDLG 1
45851 _ACEOF
45852
45853 fi
45854
45855 if test "$wxUSE_WIZARDDLG" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_WIZARDDLG 1
45858 _ACEOF
45859
45860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45861 fi
45862
45863
45864 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45865 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_OWNER_DRAWN 1
45868 _ACEOF
45869
45870 fi
45871 fi
45872
45873
45874 if test "$wxUSE_MSW" = 1 ; then
45875
45876 if test "$wxUSE_DC_CACHEING" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_DC_CACHEING 1
45879 _ACEOF
45880
45881 fi
45882
45883 if test "$wxUSE_DIB" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_WXDIB 1
45886 _ACEOF
45887
45888 fi
45889
45890 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45893 _ACEOF
45894
45895 fi
45896
45897 if test "$wxUSE_UXTHEME" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_UXTHEME 1
45900 _ACEOF
45901
45902 fi
45903
45904 fi
45905
45906
45907 if test "$USE_WIN32" = 1 ; then
45908 if test "$wxUSE_INICONF" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_INICONF 1
45911 _ACEOF
45912
45913 fi
45914
45915 if test "$wxUSE_REGKEY" = "yes"; then
45916 cat >>confdefs.h <<\_ACEOF
45917 #define wxUSE_REGKEY 1
45918 _ACEOF
45919
45920 fi
45921 fi
45922
45923
45924 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45925 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_GRAPHICS_CONTEXT 1
45928 _ACEOF
45929
45930 elif test "$wxUSE_GTK" != 1; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_GRAPHICS_CONTEXT 1
45933 _ACEOF
45934
45935 else
45936
45937 pkg_failed=no
45938 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45939 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45940
45941 if test -n "$PKG_CONFIG"; then
45942 if test -n "$CAIRO_CFLAGS"; then
45943 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45944 else
45945 if test -n "$PKG_CONFIG" && \
45946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45947 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45948 ac_status=$?
45949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45950 (exit $ac_status); }; then
45951 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45952 else
45953 pkg_failed=yes
45954 fi
45955 fi
45956 else
45957 pkg_failed=untried
45958 fi
45959 if test -n "$PKG_CONFIG"; then
45960 if test -n "$CAIRO_LIBS"; then
45961 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45962 else
45963 if test -n "$PKG_CONFIG" && \
45964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45965 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45966 ac_status=$?
45967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968 (exit $ac_status); }; then
45969 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45970 else
45971 pkg_failed=yes
45972 fi
45973 fi
45974 else
45975 pkg_failed=untried
45976 fi
45977
45978
45979
45980 if test $pkg_failed = yes; then
45981
45982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45983 _pkg_short_errors_supported=yes
45984 else
45985 _pkg_short_errors_supported=no
45986 fi
45987 if test $_pkg_short_errors_supported = yes; then
45988 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45989 else
45990 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45991 fi
45992 # Put the nasty error message in config.log where it belongs
45993 echo "$CAIRO_PKG_ERRORS" >&5
45994
45995 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45996 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45997
45998 elif test $pkg_failed = untried; then
45999 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46000 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46001
46002 else
46003 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46004 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46005 { echo "$as_me:$LINENO: result: yes" >&5
46006 echo "${ECHO_T}yes" >&6; }
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_GRAPHICS_CONTEXT 1
46009 _ACEOF
46010
46011 fi
46012 fi
46013 fi
46014
46015
46016 USE_MEDIA=0
46017
46018 if test "$wxUSE_MEDIACTRL" = "yes"; then
46019 USE_MEDIA=1
46020
46021 if test "$wxUSE_GTK" = 1; then
46022 wxUSE_GSTREAMER="no"
46023
46024 GST_VERSION_MAJOR=0
46025 GST_VERSION_MINOR=10
46026 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46027
46028 if test "$wxUSE_GSTREAMER8" = "no"; then
46029
46030 pkg_failed=no
46031 { echo "$as_me:$LINENO: checking for GST" >&5
46032 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46033
46034 if test -n "$PKG_CONFIG"; then
46035 if test -n "$GST_CFLAGS"; then
46036 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46037 else
46038 if test -n "$PKG_CONFIG" && \
46039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46040 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46041 ac_status=$?
46042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46043 (exit $ac_status); }; then
46044 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46045 else
46046 pkg_failed=yes
46047 fi
46048 fi
46049 else
46050 pkg_failed=untried
46051 fi
46052 if test -n "$PKG_CONFIG"; then
46053 if test -n "$GST_LIBS"; then
46054 pkg_cv_GST_LIBS="$GST_LIBS"
46055 else
46056 if test -n "$PKG_CONFIG" && \
46057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46058 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46059 ac_status=$?
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); }; then
46062 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46063 else
46064 pkg_failed=yes
46065 fi
46066 fi
46067 else
46068 pkg_failed=untried
46069 fi
46070
46071
46072
46073 if test $pkg_failed = yes; then
46074
46075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46076 _pkg_short_errors_supported=yes
46077 else
46078 _pkg_short_errors_supported=no
46079 fi
46080 if test $_pkg_short_errors_supported = yes; then
46081 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46082 else
46083 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46084 fi
46085 # Put the nasty error message in config.log where it belongs
46086 echo "$GST_PKG_ERRORS" >&5
46087
46088
46089 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46090 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46091 GST_VERSION_MINOR=8
46092
46093
46094 elif test $pkg_failed = untried; then
46095
46096 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46097 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46098 GST_VERSION_MINOR=8
46099
46100
46101 else
46102 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46103 GST_LIBS=$pkg_cv_GST_LIBS
46104 { echo "$as_me:$LINENO: result: yes" >&5
46105 echo "${ECHO_T}yes" >&6; }
46106
46107 wxUSE_GSTREAMER="yes"
46108 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46109
46110 fi
46111 else
46112 GST_VERSION_MINOR=8
46113 fi
46114
46115 if test $GST_VERSION_MINOR = "8"; then
46116 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46117
46118 pkg_failed=no
46119 { echo "$as_me:$LINENO: checking for GST" >&5
46120 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46121
46122 if test -n "$PKG_CONFIG"; then
46123 if test -n "$GST_CFLAGS"; then
46124 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46125 else
46126 if test -n "$PKG_CONFIG" && \
46127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46129 ac_status=$?
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); }; then
46132 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46133 else
46134 pkg_failed=yes
46135 fi
46136 fi
46137 else
46138 pkg_failed=untried
46139 fi
46140 if test -n "$PKG_CONFIG"; then
46141 if test -n "$GST_LIBS"; then
46142 pkg_cv_GST_LIBS="$GST_LIBS"
46143 else
46144 if test -n "$PKG_CONFIG" && \
46145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46147 ac_status=$?
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; then
46150 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46151 else
46152 pkg_failed=yes
46153 fi
46154 fi
46155 else
46156 pkg_failed=untried
46157 fi
46158
46159
46160
46161 if test $pkg_failed = yes; then
46162
46163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46164 _pkg_short_errors_supported=yes
46165 else
46166 _pkg_short_errors_supported=no
46167 fi
46168 if test $_pkg_short_errors_supported = yes; then
46169 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46170 else
46171 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46172 fi
46173 # Put the nasty error message in config.log where it belongs
46174 echo "$GST_PKG_ERRORS" >&5
46175
46176
46177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46178 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46179
46180 elif test $pkg_failed = untried; then
46181
46182 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46183 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46184
46185 else
46186 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46187 GST_LIBS=$pkg_cv_GST_LIBS
46188 { echo "$as_me:$LINENO: result: yes" >&5
46189 echo "${ECHO_T}yes" >&6; }
46190 wxUSE_GSTREAMER="yes"
46191 fi
46192 fi
46193
46194
46195 if test "$wxUSE_GSTREAMER" = "yes"; then
46196 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46197 EXTRALIBS_MEDIA="$GST_LIBS"
46198
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_GSTREAMER 1
46201 _ACEOF
46202
46203 else
46204 USE_MEDIA=0
46205 fi
46206 fi
46207
46208 if test $USE_MEDIA = 1; then
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_MEDIACTRL 1
46212 _ACEOF
46213
46214 fi
46215 fi
46216
46217
46218 if test "$cross_compiling" = "yes"; then
46219 OSINFO="\"$host\""
46220 else
46221 OSINFO=`uname -s -r -m`
46222 OSINFO="\"$OSINFO\""
46223 fi
46224
46225 cat >>confdefs.h <<_ACEOF
46226 #define WXWIN_OS_DESCRIPTION $OSINFO
46227 _ACEOF
46228
46229
46230
46231 if test "x$prefix" != "xNONE"; then
46232 wxPREFIX=$prefix
46233 else
46234 wxPREFIX=$ac_default_prefix
46235 fi
46236
46237 cat >>confdefs.h <<_ACEOF
46238 #define wxINSTALL_PREFIX "$wxPREFIX"
46239 _ACEOF
46240
46241
46242
46243
46244 STD_BASE_LIBS="base"
46245 STD_GUI_LIBS=""
46246 BUILT_WX_LIBS="base"
46247 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46248
46249 if test "$wxUSE_SOCKETS" = "yes" ; then
46250 STD_BASE_LIBS="net $STD_BASE_LIBS"
46251 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46252 fi
46253 if test "$wxUSE_XML" = "yes" ; then
46254 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46255 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46256 fi
46257
46258 if test "$wxUSE_GUI" = "yes"; then
46259 STD_GUI_LIBS="adv core"
46260 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46261
46262 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46263 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46264 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46265 fi
46266 if test "$wxUSE_HTML" = "yes" ; then
46267 STD_GUI_LIBS="html $STD_GUI_LIBS"
46268 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46269 fi
46270 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46271 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46272 fi
46273 if test "$wxUSE_OPENGL" = "yes" ; then
46274 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46275 fi
46276 if test "$wxUSE_AUI" = "yes" ; then
46277 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46278 fi
46279 if test "$wxUSE_STC" = "yes" ; then
46280 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46281 fi
46282 if test "$wxUSE_XRC" = "yes" ; then
46283 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46284 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46285 fi
46286 fi
46287
46288
46289
46290
46291
46292
46293
46294
46295 if test "$wxUSE_MAC" = 1 ; then
46296 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46297 if test "$USE_DARWIN" = 1; then
46298 LDFLAGS="$LDFLAGS -framework QuickTime"
46299 else
46300 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46301 fi
46302 fi
46303 if test "$USE_DARWIN" = 1; then
46304 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46305 else
46306 LDFLAGS="$LDFLAGS -lCarbonLib"
46307 fi
46308 fi
46309 if test "$wxUSE_COCOA" = 1 ; then
46310 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46311 if test "$wxUSE_MEDIACTRL" = "yes"; then
46312 LDFLAGS="$LDFLAGS -framework QuickTime"
46313 fi
46314 fi
46315 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46316 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46317 fi
46318
46319 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46320
46321 if test "$wxUSE_GUI" = "yes"; then
46322
46323
46324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46325 erase event exec font image minimal mobile \
46326 mobile/wxedit mobile/styles render \
46327 shaped svg taborder vscroll widgets"
46328
46329 if test "$wxUSE_MONOLITHIC" != "yes"; then
46330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46331 fi
46332 if test "$TOOLKIT" = "MSW"; then
46333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46334 if test "$wxUSE_UNIVERSAL" != "yes"; then
46335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46336 fi
46337 fi
46338 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46340 fi
46341 else
46342 SAMPLES_SUBDIRS="console"
46343 fi
46344
46345
46346 if test "x$INTELCC" = "xyes" ; then
46347 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46348 elif test "$GCC" = yes ; then
46349 CWARNINGS="-Wall -Wundef"
46350 fi
46351
46352 if test "x$INTELCXX" = "xyes" ; then
46353 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46354 elif test "$GXX" = yes ; then
46355 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46356 fi
46357
46358
46359 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46360 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46361
46362
46363 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46364 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46365 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46366 $CPPFLAGS `
46367
46368 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46369 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46370 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46371
46372 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46373
46374
46375 if test "x$MWCC" = "xyes"; then
46376
46377 CC="$CC -cwd source -I-"
46378 CXX="$CXX -cwd source -I-"
46379 fi
46380
46381
46382 LIBS=`echo $LIBS`
46383 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46384 EXTRALIBS_XML="$EXPAT_LINK"
46385 EXTRALIBS_HTML="$MSPACK_LINK"
46386 EXTRALIBS_MEDIA="$GST_LIBS"
46387 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46388 if test "$wxUSE_GUI" = "yes"; then
46389 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46390 fi
46391 if test "$wxUSE_OPENGL" = "yes"; then
46392 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46393 fi
46394
46395 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46396
46397 WXCONFIG_LIBS="$LIBS"
46398
46399 if test "$wxUSE_REGEX" = "builtin" ; then
46400 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46401 fi
46402 if test "$wxUSE_EXPAT" = "builtin" ; then
46403 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46404 fi
46405 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46406 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46407 fi
46408 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46409 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46410 fi
46411 if test "$wxUSE_LIBPNG" = "builtin" ; then
46412 wxconfig_3rdparty="png $wxconfig_3rdparty"
46413 fi
46414 if test "$wxUSE_ZLIB" = "builtin" ; then
46415 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46416 fi
46417
46418 for i in $wxconfig_3rdparty ; do
46419 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46420 done
46421
46422
46423 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46424 WXUNIV=1
46425
46426 case "$wxUNIV_THEMES" in
46427 ''|all)
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_ALL_THEMES 1
46430 _ACEOF
46431
46432 ;;
46433
46434 *)
46435 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46436 cat >>confdefs.h <<_ACEOF
46437 #define wxUSE_THEME_$t 1
46438 _ACEOF
46439
46440 done
46441 esac
46442 else
46443 WXUNIV=0
46444 fi
46445
46446
46447
46448
46449
46450
46451
46452
46453 if test $wxUSE_MONOLITHIC = "yes" ; then
46454 MONOLITHIC=1
46455 else
46456 MONOLITHIC=0
46457 fi
46458
46459 if test $wxUSE_PLUGINS = "yes" ; then
46460 USE_PLUGINS=1
46461 else
46462 USE_PLUGINS=0
46463 fi
46464
46465 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46466 USE_QA=1
46467 else
46468 USE_QA=0
46469 fi
46470
46471 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46472 OFFICIAL_BUILD=1
46473 else
46474 OFFICIAL_BUILD=0
46475 fi
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
46504
46505
46506
46507
46508
46509
46510
46511
46512 case "$TOOLKIT" in
46513 GTK)
46514 TOOLKIT_DESC="GTK+"
46515 if test "$WXGTK2" = 1; then
46516 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46517 if test "$wxUSE_GTKPRINT" = "yes" ; then
46518 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46519 fi
46520 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46521 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46522 fi
46523 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46524 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46525 fi
46526 if test "$wxUSE_LIBHILDON" = "yes"; then
46527 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46528 fi
46529
46530 if test "$TOOLKIT_EXTRA" != ""; then
46531 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46532 fi
46533 fi
46534 ;;
46535
46536 ?*)
46537 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46538 ;;
46539
46540 *)
46541 TOOLKIT_DESC="base only"
46542 ;;
46543 esac
46544
46545 if test "$wxUSE_WINE" = "yes"; then
46546 BAKEFILE_FORCE_PLATFORM=win32
46547 fi
46548
46549 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46550 then
46551 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46552 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46553 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46554 echo $ECHO_N "(cached) $ECHO_C" >&6
46555 else
46556
46557 echo '#include <stdio.h>
46558 const wchar_t test_var[] = L"awidetest";' > conftest.h
46559
46560 echo '#include "conftest.h"
46561 int main()
46562 {
46563 printf("%ls", test_var);
46564 return 0;
46565 }' > conftest.cpp
46566
46567 wx_cv_gcc_pch_bug="pch not supported"
46568
46569 if $CXX conftest.h >/dev/null 2>&1
46570 then
46571 wx_cv_gcc_pch_bug=
46572
46573 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46574 then
46575 if tr -dc a-z < conftest$PROGRAM_EXT |
46576 grep awidetest >/dev/null
46577 then
46578 wx_cv_gcc_pch_bug=no
46579 else
46580 wx_cv_gcc_pch_bug=yes
46581 fi
46582 fi
46583 fi
46584
46585 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46586
46587 fi
46588 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46589 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46590
46591 if test "$wx_cv_gcc_pch_bug" = yes; then
46592 bk_use_pch=no
46593 fi
46594 fi
46595
46596
46597
46598
46599 if test "x$BAKEFILE_HOST" = "x"; then
46600 if test "x${host}" = "x" ; then
46601 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46602 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46603 { (exit 1); exit 1; }; }
46604 fi
46605
46606 BAKEFILE_HOST="${host}"
46607 fi
46608
46609 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46610
46611 if test -n "$ac_tool_prefix"; then
46612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46616 if test "${ac_cv_prog_RANLIB+set}" = set; then
46617 echo $ECHO_N "(cached) $ECHO_C" >&6
46618 else
46619 if test -n "$RANLIB"; then
46620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46621 else
46622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46623 for as_dir in $PATH
46624 do
46625 IFS=$as_save_IFS
46626 test -z "$as_dir" && as_dir=.
46627 for ac_exec_ext in '' $ac_executable_extensions; do
46628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46631 break 2
46632 fi
46633 done
46634 done
46635 IFS=$as_save_IFS
46636
46637 fi
46638 fi
46639 RANLIB=$ac_cv_prog_RANLIB
46640 if test -n "$RANLIB"; then
46641 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46642 echo "${ECHO_T}$RANLIB" >&6; }
46643 else
46644 { echo "$as_me:$LINENO: result: no" >&5
46645 echo "${ECHO_T}no" >&6; }
46646 fi
46647
46648
46649 fi
46650 if test -z "$ac_cv_prog_RANLIB"; then
46651 ac_ct_RANLIB=$RANLIB
46652 # Extract the first word of "ranlib", so it can be a program name with args.
46653 set dummy ranlib; ac_word=$2
46654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46657 echo $ECHO_N "(cached) $ECHO_C" >&6
46658 else
46659 if test -n "$ac_ct_RANLIB"; then
46660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46661 else
46662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46663 for as_dir in $PATH
46664 do
46665 IFS=$as_save_IFS
46666 test -z "$as_dir" && as_dir=.
46667 for ac_exec_ext in '' $ac_executable_extensions; do
46668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46669 ac_cv_prog_ac_ct_RANLIB="ranlib"
46670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46671 break 2
46672 fi
46673 done
46674 done
46675 IFS=$as_save_IFS
46676
46677 fi
46678 fi
46679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46680 if test -n "$ac_ct_RANLIB"; then
46681 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46682 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46683 else
46684 { echo "$as_me:$LINENO: result: no" >&5
46685 echo "${ECHO_T}no" >&6; }
46686 fi
46687
46688 if test "x$ac_ct_RANLIB" = x; then
46689 RANLIB=":"
46690 else
46691 case $cross_compiling:$ac_tool_warned in
46692 yes:)
46693 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46694 whose name does not start with the host triplet. If you think this
46695 configuration is useful to you, please write to autoconf@gnu.org." >&5
46696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46697 whose name does not start with the host triplet. If you think this
46698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46699 ac_tool_warned=yes ;;
46700 esac
46701 RANLIB=$ac_ct_RANLIB
46702 fi
46703 else
46704 RANLIB="$ac_cv_prog_RANLIB"
46705 fi
46706
46707 # Find a good install program. We prefer a C program (faster),
46708 # so one script is as good as another. But avoid the broken or
46709 # incompatible versions:
46710 # SysV /etc/install, /usr/sbin/install
46711 # SunOS /usr/etc/install
46712 # IRIX /sbin/install
46713 # AIX /bin/install
46714 # AmigaOS /C/install, which installs bootblocks on floppy discs
46715 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46716 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46717 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46718 # OS/2's system install, which has a completely different semantic
46719 # ./install, which can be erroneously created by make from ./install.sh.
46720 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46721 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46722 if test -z "$INSTALL"; then
46723 if test "${ac_cv_path_install+set}" = set; then
46724 echo $ECHO_N "(cached) $ECHO_C" >&6
46725 else
46726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46727 for as_dir in $PATH
46728 do
46729 IFS=$as_save_IFS
46730 test -z "$as_dir" && as_dir=.
46731 # Account for people who put trailing slashes in PATH elements.
46732 case $as_dir/ in
46733 ./ | .// | /cC/* | \
46734 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46735 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46736 /usr/ucb/* ) ;;
46737 *)
46738 # OSF1 and SCO ODT 3.0 have their own names for install.
46739 # Don't use installbsd from OSF since it installs stuff as root
46740 # by default.
46741 for ac_prog in ginstall scoinst install; do
46742 for ac_exec_ext in '' $ac_executable_extensions; do
46743 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46744 if test $ac_prog = install &&
46745 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46746 # AIX install. It has an incompatible calling convention.
46747 :
46748 elif test $ac_prog = install &&
46749 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46750 # program-specific install script used by HP pwplus--don't use.
46751 :
46752 else
46753 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46754 break 3
46755 fi
46756 fi
46757 done
46758 done
46759 ;;
46760 esac
46761 done
46762 IFS=$as_save_IFS
46763
46764
46765 fi
46766 if test "${ac_cv_path_install+set}" = set; then
46767 INSTALL=$ac_cv_path_install
46768 else
46769 # As a last resort, use the slow shell script. Don't cache a
46770 # value for INSTALL within a source directory, because that will
46771 # break other packages using the cache if that directory is
46772 # removed, or if the value is a relative name.
46773 INSTALL=$ac_install_sh
46774 fi
46775 fi
46776 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46777 echo "${ECHO_T}$INSTALL" >&6; }
46778
46779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46780 # It thinks the first close brace ends the variable substitution.
46781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46782
46783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46784
46785 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46786
46787 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46788 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46789 LN_S=$as_ln_s
46790 if test "$LN_S" = "ln -s"; then
46791 { echo "$as_me:$LINENO: result: yes" >&5
46792 echo "${ECHO_T}yes" >&6; }
46793 else
46794 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46795 echo "${ECHO_T}no, using $LN_S" >&6; }
46796 fi
46797
46798
46799 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46800 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46801 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46802 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46803 echo $ECHO_N "(cached) $ECHO_C" >&6
46804 else
46805 cat >conftest.make <<\_ACEOF
46806 SHELL = /bin/sh
46807 all:
46808 @echo '@@@%%%=$(MAKE)=@@@%%%'
46809 _ACEOF
46810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46811 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46812 *@@@%%%=?*=@@@%%%*)
46813 eval ac_cv_prog_make_${ac_make}_set=yes;;
46814 *)
46815 eval ac_cv_prog_make_${ac_make}_set=no;;
46816 esac
46817 rm -f conftest.make
46818 fi
46819 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46820 { echo "$as_me:$LINENO: result: yes" >&5
46821 echo "${ECHO_T}yes" >&6; }
46822 SET_MAKE=
46823 else
46824 { echo "$as_me:$LINENO: result: no" >&5
46825 echo "${ECHO_T}no" >&6; }
46826 SET_MAKE="MAKE=${MAKE-make}"
46827 fi
46828
46829
46830
46831 if test "x$SUNCXX" = "xyes"; then
46832 AR=$CXX
46833 AROPTIONS="-xar -o"
46834
46835 elif test "x$SGICC" = "xyes"; then
46836 AR=$CXX
46837 AROPTIONS="-ar -o"
46838
46839 else
46840 if test -n "$ac_tool_prefix"; then
46841 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46842 set dummy ${ac_tool_prefix}ar; ac_word=$2
46843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46845 if test "${ac_cv_prog_AR+set}" = set; then
46846 echo $ECHO_N "(cached) $ECHO_C" >&6
46847 else
46848 if test -n "$AR"; then
46849 ac_cv_prog_AR="$AR" # Let the user override the test.
46850 else
46851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46852 for as_dir in $PATH
46853 do
46854 IFS=$as_save_IFS
46855 test -z "$as_dir" && as_dir=.
46856 for ac_exec_ext in '' $ac_executable_extensions; do
46857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46858 ac_cv_prog_AR="${ac_tool_prefix}ar"
46859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46860 break 2
46861 fi
46862 done
46863 done
46864 IFS=$as_save_IFS
46865
46866 fi
46867 fi
46868 AR=$ac_cv_prog_AR
46869 if test -n "$AR"; then
46870 { echo "$as_me:$LINENO: result: $AR" >&5
46871 echo "${ECHO_T}$AR" >&6; }
46872 else
46873 { echo "$as_me:$LINENO: result: no" >&5
46874 echo "${ECHO_T}no" >&6; }
46875 fi
46876
46877
46878 fi
46879 if test -z "$ac_cv_prog_AR"; then
46880 ac_ct_AR=$AR
46881 # Extract the first word of "ar", so it can be a program name with args.
46882 set dummy ar; ac_word=$2
46883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46885 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46886 echo $ECHO_N "(cached) $ECHO_C" >&6
46887 else
46888 if test -n "$ac_ct_AR"; then
46889 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46890 else
46891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46892 for as_dir in $PATH
46893 do
46894 IFS=$as_save_IFS
46895 test -z "$as_dir" && as_dir=.
46896 for ac_exec_ext in '' $ac_executable_extensions; do
46897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46898 ac_cv_prog_ac_ct_AR="ar"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46900 break 2
46901 fi
46902 done
46903 done
46904 IFS=$as_save_IFS
46905
46906 fi
46907 fi
46908 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46909 if test -n "$ac_ct_AR"; then
46910 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46911 echo "${ECHO_T}$ac_ct_AR" >&6; }
46912 else
46913 { echo "$as_me:$LINENO: result: no" >&5
46914 echo "${ECHO_T}no" >&6; }
46915 fi
46916
46917 if test "x$ac_ct_AR" = x; then
46918 AR="ar"
46919 else
46920 case $cross_compiling:$ac_tool_warned in
46921 yes:)
46922 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46923 whose name does not start with the host triplet. If you think this
46924 configuration is useful to you, please write to autoconf@gnu.org." >&5
46925 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46926 whose name does not start with the host triplet. If you think this
46927 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46928 ac_tool_warned=yes ;;
46929 esac
46930 AR=$ac_ct_AR
46931 fi
46932 else
46933 AR="$ac_cv_prog_AR"
46934 fi
46935
46936 AROPTIONS=rcu
46937 fi
46938
46939
46940 if test -n "$ac_tool_prefix"; then
46941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46942 set dummy ${ac_tool_prefix}strip; ac_word=$2
46943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46945 if test "${ac_cv_prog_STRIP+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46947 else
46948 if test -n "$STRIP"; then
46949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46950 else
46951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46952 for as_dir in $PATH
46953 do
46954 IFS=$as_save_IFS
46955 test -z "$as_dir" && as_dir=.
46956 for ac_exec_ext in '' $ac_executable_extensions; do
46957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46958 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46960 break 2
46961 fi
46962 done
46963 done
46964 IFS=$as_save_IFS
46965
46966 fi
46967 fi
46968 STRIP=$ac_cv_prog_STRIP
46969 if test -n "$STRIP"; then
46970 { echo "$as_me:$LINENO: result: $STRIP" >&5
46971 echo "${ECHO_T}$STRIP" >&6; }
46972 else
46973 { echo "$as_me:$LINENO: result: no" >&5
46974 echo "${ECHO_T}no" >&6; }
46975 fi
46976
46977
46978 fi
46979 if test -z "$ac_cv_prog_STRIP"; then
46980 ac_ct_STRIP=$STRIP
46981 # Extract the first word of "strip", so it can be a program name with args.
46982 set dummy strip; ac_word=$2
46983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46985 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46986 echo $ECHO_N "(cached) $ECHO_C" >&6
46987 else
46988 if test -n "$ac_ct_STRIP"; then
46989 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46990 else
46991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46992 for as_dir in $PATH
46993 do
46994 IFS=$as_save_IFS
46995 test -z "$as_dir" && as_dir=.
46996 for ac_exec_ext in '' $ac_executable_extensions; do
46997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46998 ac_cv_prog_ac_ct_STRIP="strip"
46999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47000 break 2
47001 fi
47002 done
47003 done
47004 IFS=$as_save_IFS
47005
47006 fi
47007 fi
47008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47009 if test -n "$ac_ct_STRIP"; then
47010 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47011 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47012 else
47013 { echo "$as_me:$LINENO: result: no" >&5
47014 echo "${ECHO_T}no" >&6; }
47015 fi
47016
47017 if test "x$ac_ct_STRIP" = x; then
47018 STRIP=":"
47019 else
47020 case $cross_compiling:$ac_tool_warned in
47021 yes:)
47022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47023 whose name does not start with the host triplet. If you think this
47024 configuration is useful to you, please write to autoconf@gnu.org." >&5
47025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47026 whose name does not start with the host triplet. If you think this
47027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47028 ac_tool_warned=yes ;;
47029 esac
47030 STRIP=$ac_ct_STRIP
47031 fi
47032 else
47033 STRIP="$ac_cv_prog_STRIP"
47034 fi
47035
47036 if test -n "$ac_tool_prefix"; then
47037 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47038 set dummy ${ac_tool_prefix}nm; ac_word=$2
47039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47041 if test "${ac_cv_prog_NM+set}" = set; then
47042 echo $ECHO_N "(cached) $ECHO_C" >&6
47043 else
47044 if test -n "$NM"; then
47045 ac_cv_prog_NM="$NM" # Let the user override the test.
47046 else
47047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47048 for as_dir in $PATH
47049 do
47050 IFS=$as_save_IFS
47051 test -z "$as_dir" && as_dir=.
47052 for ac_exec_ext in '' $ac_executable_extensions; do
47053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47054 ac_cv_prog_NM="${ac_tool_prefix}nm"
47055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47056 break 2
47057 fi
47058 done
47059 done
47060 IFS=$as_save_IFS
47061
47062 fi
47063 fi
47064 NM=$ac_cv_prog_NM
47065 if test -n "$NM"; then
47066 { echo "$as_me:$LINENO: result: $NM" >&5
47067 echo "${ECHO_T}$NM" >&6; }
47068 else
47069 { echo "$as_me:$LINENO: result: no" >&5
47070 echo "${ECHO_T}no" >&6; }
47071 fi
47072
47073
47074 fi
47075 if test -z "$ac_cv_prog_NM"; then
47076 ac_ct_NM=$NM
47077 # Extract the first word of "nm", so it can be a program name with args.
47078 set dummy nm; ac_word=$2
47079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47081 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47082 echo $ECHO_N "(cached) $ECHO_C" >&6
47083 else
47084 if test -n "$ac_ct_NM"; then
47085 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47086 else
47087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47088 for as_dir in $PATH
47089 do
47090 IFS=$as_save_IFS
47091 test -z "$as_dir" && as_dir=.
47092 for ac_exec_ext in '' $ac_executable_extensions; do
47093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47094 ac_cv_prog_ac_ct_NM="nm"
47095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47096 break 2
47097 fi
47098 done
47099 done
47100 IFS=$as_save_IFS
47101
47102 fi
47103 fi
47104 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47105 if test -n "$ac_ct_NM"; then
47106 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47107 echo "${ECHO_T}$ac_ct_NM" >&6; }
47108 else
47109 { echo "$as_me:$LINENO: result: no" >&5
47110 echo "${ECHO_T}no" >&6; }
47111 fi
47112
47113 if test "x$ac_ct_NM" = x; then
47114 NM=":"
47115 else
47116 case $cross_compiling:$ac_tool_warned in
47117 yes:)
47118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47119 whose name does not start with the host triplet. If you think this
47120 configuration is useful to you, please write to autoconf@gnu.org." >&5
47121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47122 whose name does not start with the host triplet. If you think this
47123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47124 ac_tool_warned=yes ;;
47125 esac
47126 NM=$ac_ct_NM
47127 fi
47128 else
47129 NM="$ac_cv_prog_NM"
47130 fi
47131
47132
47133 case ${BAKEFILE_HOST} in
47134 *-hp-hpux* )
47135 INSTALL_DIR="mkdir -p"
47136 ;;
47137 * )
47138 INSTALL_DIR='$(INSTALL) -d'
47139 ;;
47140 esac
47141
47142
47143 LDFLAGS_GUI=
47144 case ${BAKEFILE_HOST} in
47145 *-*-cygwin* | *-*-mingw32* )
47146 LDFLAGS_GUI="-mwindows"
47147 esac
47148
47149
47150 fi
47151
47152 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47153 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47154 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47155 echo $ECHO_N "(cached) $ECHO_C" >&6
47156 else
47157
47158 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47159 egrep -s GNU > /dev/null); then
47160 bakefile_cv_prog_makeisgnu="yes"
47161 else
47162 bakefile_cv_prog_makeisgnu="no"
47163 fi
47164
47165 fi
47166 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47167 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47168
47169 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47170 IF_GNU_MAKE=""
47171 else
47172 IF_GNU_MAKE="#"
47173 fi
47174
47175
47176
47177 PLATFORM_UNIX=0
47178 PLATFORM_WIN32=0
47179 PLATFORM_MSDOS=0
47180 PLATFORM_MAC=0
47181 PLATFORM_MACOS=0
47182 PLATFORM_MACOSX=0
47183 PLATFORM_OS2=0
47184 PLATFORM_BEOS=0
47185
47186 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47187 case "${BAKEFILE_HOST}" in
47188 *-*-mingw32* )
47189 PLATFORM_WIN32=1
47190 ;;
47191 *-pc-msdosdjgpp )
47192 PLATFORM_MSDOS=1
47193 ;;
47194 *-pc-os2_emx | *-pc-os2-emx )
47195 PLATFORM_OS2=1
47196 ;;
47197 *-*-darwin* )
47198 PLATFORM_MAC=1
47199 PLATFORM_MACOSX=1
47200 ;;
47201 *-*-beos* )
47202 PLATFORM_BEOS=1
47203 ;;
47204 powerpc-apple-macos* )
47205 PLATFORM_MAC=1
47206 PLATFORM_MACOS=1
47207 ;;
47208 * )
47209 PLATFORM_UNIX=1
47210 ;;
47211 esac
47212 else
47213 case "$BAKEFILE_FORCE_PLATFORM" in
47214 win32 )
47215 PLATFORM_WIN32=1
47216 ;;
47217 msdos )
47218 PLATFORM_MSDOS=1
47219 ;;
47220 os2 )
47221 PLATFORM_OS2=1
47222 ;;
47223 darwin )
47224 PLATFORM_MAC=1
47225 PLATFORM_MACOSX=1
47226 ;;
47227 unix )
47228 PLATFORM_UNIX=1
47229 ;;
47230 beos )
47231 PLATFORM_BEOS=1
47232 ;;
47233 * )
47234 ;;
47235 esac
47236 fi
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248 # Check whether --enable-omf was given.
47249 if test "${enable_omf+set}" = set; then
47250 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47251 fi
47252
47253
47254 case "${BAKEFILE_HOST}" in
47255 *-*-darwin* )
47256 if test "x$GCC" = "xyes"; then
47257 CFLAGS="$CFLAGS -fno-common"
47258 CXXFLAGS="$CXXFLAGS -fno-common"
47259 fi
47260 if test "x$XLCC" = "xyes"; then
47261 CFLAGS="$CFLAGS -qnocommon"
47262 CXXFLAGS="$CXXFLAGS -qnocommon"
47263 fi
47264 ;;
47265
47266 *-pc-os2_emx | *-pc-os2-emx )
47267 if test "x$bk_os2_use_omf" = "xyes" ; then
47268 AR=emxomfar
47269 RANLIB=:
47270 LDFLAGS="-Zomf $LDFLAGS"
47271 CFLAGS="-Zomf $CFLAGS"
47272 CXXFLAGS="-Zomf $CXXFLAGS"
47273 OS2_LIBEXT="lib"
47274 else
47275 OS2_LIBEXT="a"
47276 fi
47277 ;;
47278
47279 i*86-*-beos* )
47280 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47281 ;;
47282 esac
47283
47284
47285 SO_SUFFIX="so"
47286 SO_SUFFIX_MODULE="so"
47287 EXEEXT=""
47288 LIBPREFIX="lib"
47289 LIBEXT=".a"
47290 DLLPREFIX="lib"
47291 DLLPREFIX_MODULE=""
47292 DLLIMP_SUFFIX=""
47293 dlldir="$libdir"
47294
47295 case "${BAKEFILE_HOST}" in
47296 *-hp-hpux* )
47297 SO_SUFFIX="sl"
47298 SO_SUFFIX_MODULE="sl"
47299 ;;
47300 *-*-aix* )
47301 SO_SUFFIX="a"
47302 SO_SUFFIX_MODULE="a"
47303 ;;
47304 *-*-cygwin* )
47305 SO_SUFFIX="dll"
47306 SO_SUFFIX_MODULE="dll"
47307 DLLIMP_SUFFIX="dll.a"
47308 EXEEXT=".exe"
47309 DLLPREFIX="cyg"
47310 dlldir="$bindir"
47311 ;;
47312 *-*-mingw32* )
47313 SO_SUFFIX="dll"
47314 SO_SUFFIX_MODULE="dll"
47315 DLLIMP_SUFFIX="dll.a"
47316 EXEEXT=".exe"
47317 DLLPREFIX=""
47318 dlldir="$bindir"
47319 ;;
47320 *-pc-msdosdjgpp )
47321 EXEEXT=".exe"
47322 DLLPREFIX=""
47323 dlldir="$bindir"
47324 ;;
47325 *-pc-os2_emx | *-pc-os2-emx )
47326 SO_SUFFIX="dll"
47327 SO_SUFFIX_MODULE="dll"
47328 DLLIMP_SUFFIX=$OS2_LIBEXT
47329 EXEEXT=".exe"
47330 DLLPREFIX=""
47331 LIBPREFIX=""
47332 LIBEXT=".$OS2_LIBEXT"
47333 dlldir="$bindir"
47334 ;;
47335 *-*-darwin* )
47336 SO_SUFFIX="dylib"
47337 SO_SUFFIX_MODULE="bundle"
47338 ;;
47339 esac
47340
47341 if test "x$DLLIMP_SUFFIX" = "x" ; then
47342 DLLIMP_SUFFIX="$SO_SUFFIX"
47343 fi
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356 PIC_FLAG=""
47357 if test "x$GCC" = "xyes"; then
47358 PIC_FLAG="-fPIC"
47359 fi
47360
47361 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47362 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47363 WINDOWS_IMPLIB=0
47364
47365 case "${BAKEFILE_HOST}" in
47366 *-hp-hpux* )
47367 if test "x$GCC" != "xyes"; then
47368 LDFLAGS="$LDFLAGS -L/usr/lib"
47369
47370 SHARED_LD_CC="${CC} -b -o"
47371 SHARED_LD_CXX="${CXX} -b -o"
47372 PIC_FLAG="+Z"
47373 fi
47374 ;;
47375
47376 *-*-linux* )
47377 if test "$INTELCC" = "yes"; then
47378 PIC_FLAG="-KPIC"
47379 elif test "x$SUNCXX" = "xyes"; then
47380 SHARED_LD_CC="${CC} -G -o"
47381 SHARED_LD_CXX="${CXX} -G -o"
47382 PIC_FLAG="-KPIC"
47383 fi
47384 ;;
47385
47386 *-*-solaris2* )
47387 if test "x$SUNCXX" = xyes ; then
47388 SHARED_LD_CC="${CC} -G -o"
47389 SHARED_LD_CXX="${CXX} -G -o"
47390 PIC_FLAG="-KPIC"
47391 fi
47392 ;;
47393
47394 *-*-darwin* )
47395
47396 D='$'
47397 cat <<EOF >shared-ld-sh
47398 #!/bin/sh
47399 #-----------------------------------------------------------------------------
47400 #-- Name: distrib/mac/shared-ld-sh
47401 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47402 #-- Author: Gilles Depeyrot
47403 #-- Copyright: (c) 2002 Gilles Depeyrot
47404 #-- Licence: any use permitted
47405 #-----------------------------------------------------------------------------
47406
47407 verbose=0
47408 args=""
47409 objects=""
47410 linking_flag="-dynamiclib"
47411 ldargs="-r -keep_private_externs -nostdlib"
47412
47413 while test ${D}# -gt 0; do
47414 case ${D}1 in
47415
47416 -v)
47417 verbose=1
47418 ;;
47419
47420 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47421 # collect these options and values
47422 args="${D}{args} ${D}1 ${D}2"
47423 shift
47424 ;;
47425
47426 -s|-Wl,*)
47427 # collect these load args
47428 ldargs="${D}{ldargs} ${D}1"
47429 ;;
47430
47431 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47432 # collect these options
47433 args="${D}{args} ${D}1"
47434 ;;
47435
47436 -dynamiclib|-bundle)
47437 linking_flag="${D}1"
47438 ;;
47439
47440 -*)
47441 echo "shared-ld: unhandled option '${D}1'"
47442 exit 1
47443 ;;
47444
47445 *.o | *.a | *.dylib)
47446 # collect object files
47447 objects="${D}{objects} ${D}1"
47448 ;;
47449
47450 *)
47451 echo "shared-ld: unhandled argument '${D}1'"
47452 exit 1
47453 ;;
47454
47455 esac
47456 shift
47457 done
47458
47459 status=0
47460
47461 #
47462 # Link one module containing all the others
47463 #
47464 if test ${D}{verbose} = 1; then
47465 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47466 fi
47467 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47468 status=${D}?
47469
47470 #
47471 # Link the shared library from the single module created, but only if the
47472 # previous command didn't fail:
47473 #
47474 if test ${D}{status} = 0; then
47475 if test ${D}{verbose} = 1; then
47476 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47477 fi
47478 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47479 status=${D}?
47480 fi
47481
47482 #
47483 # Remove intermediate module
47484 #
47485 rm -f master.${D}${D}.o
47486
47487 exit ${D}status
47488 EOF
47489
47490 chmod +x shared-ld-sh
47491
47492 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47493 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47494
47495
47496 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47497 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47498 if test "${bakefile_cv_gcc31+set}" = set; then
47499 echo $ECHO_N "(cached) $ECHO_C" >&6
47500 else
47501
47502 cat >conftest.$ac_ext <<_ACEOF
47503 /* confdefs.h. */
47504 _ACEOF
47505 cat confdefs.h >>conftest.$ac_ext
47506 cat >>conftest.$ac_ext <<_ACEOF
47507 /* end confdefs.h. */
47508
47509 int
47510 main ()
47511 {
47512
47513 #if (__GNUC__ < 3) || \
47514 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47515 This is old gcc
47516 #endif
47517
47518 ;
47519 return 0;
47520 }
47521 _ACEOF
47522 rm -f conftest.$ac_objext
47523 if { (ac_try="$ac_compile"
47524 case "(($ac_try" in
47525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47526 *) ac_try_echo=$ac_try;;
47527 esac
47528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47529 (eval "$ac_compile") 2>conftest.er1
47530 ac_status=$?
47531 grep -v '^ *+' conftest.er1 >conftest.err
47532 rm -f conftest.er1
47533 cat conftest.err >&5
47534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47535 (exit $ac_status); } && {
47536 test -z "$ac_c_werror_flag" ||
47537 test ! -s conftest.err
47538 } && test -s conftest.$ac_objext; then
47539
47540 bakefile_cv_gcc31=yes
47541
47542 else
47543 echo "$as_me: failed program was:" >&5
47544 sed 's/^/| /' conftest.$ac_ext >&5
47545
47546
47547 bakefile_cv_gcc31=no
47548
47549
47550 fi
47551
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553
47554 fi
47555 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47556 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47557 if test "$bakefile_cv_gcc31" = "no"; then
47558 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47559 SHARED_LD_CXX="$SHARED_LD_CC"
47560 else
47561 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47562 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47563 fi
47564
47565 if test "x$GCC" == "xyes"; then
47566 PIC_FLAG="-dynamic -fPIC"
47567 fi
47568 if test "x$XLCC" = "xyes"; then
47569 PIC_FLAG="-dynamic -DPIC"
47570 fi
47571 ;;
47572
47573 *-*-aix* )
47574 if test "x$GCC" = "xyes"; then
47575 PIC_FLAG=""
47576
47577 case "${BAKEFILE_HOST}" in
47578 *-*-aix5* )
47579 LD_EXPFULL="-Wl,-bexpfull"
47580 ;;
47581 esac
47582
47583 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47584 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47585 else
47586 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47587 set dummy makeC++SharedLib; ac_word=$2
47588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47590 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47591 echo $ECHO_N "(cached) $ECHO_C" >&6
47592 else
47593 if test -n "$AIX_CXX_LD"; then
47594 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47595 else
47596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47597 for as_dir in $PATH
47598 do
47599 IFS=$as_save_IFS
47600 test -z "$as_dir" && as_dir=.
47601 for ac_exec_ext in '' $ac_executable_extensions; do
47602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47603 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47605 break 2
47606 fi
47607 done
47608 done
47609 IFS=$as_save_IFS
47610
47611 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47612 fi
47613 fi
47614 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47615 if test -n "$AIX_CXX_LD"; then
47616 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47617 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47618 else
47619 { echo "$as_me:$LINENO: result: no" >&5
47620 echo "${ECHO_T}no" >&6; }
47621 fi
47622
47623
47624 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47625 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47626 fi
47627 ;;
47628
47629 *-*-beos* )
47630 SHARED_LD_CC="${LD} -nostart -o"
47631 SHARED_LD_CXX="${LD} -nostart -o"
47632 ;;
47633
47634 *-*-irix* )
47635 if test "x$GCC" != "xyes"; then
47636 PIC_FLAG="-KPIC"
47637 fi
47638 ;;
47639
47640 *-*-cygwin* | *-*-mingw32* )
47641 PIC_FLAG=""
47642 SHARED_LD_CC="\$(CC) -shared -o"
47643 SHARED_LD_CXX="\$(CXX) -shared -o"
47644 WINDOWS_IMPLIB=1
47645 ;;
47646
47647 *-pc-os2_emx | *-pc-os2-emx )
47648 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47649 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47650 PIC_FLAG=""
47651
47652 D='$'
47653 cat <<EOF >dllar.sh
47654 #!/bin/sh
47655 #
47656 # dllar - a tool to build both a .dll and an .a file
47657 # from a set of object (.o) files for EMX/OS2.
47658 #
47659 # Written by Andrew Zabolotny, bit@freya.etu.ru
47660 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47661 #
47662 # This script will accept a set of files on the command line.
47663 # All the public symbols from the .o files will be exported into
47664 # a .DEF file, then linker will be run (through gcc) against them to
47665 # build a shared library consisting of all given .o files. All libraries
47666 # (.a) will be first decompressed into component .o files then act as
47667 # described above. You can optionally give a description (-d "description")
47668 # which will be put into .DLL. To see the list of accepted options (as well
47669 # as command-line format) simply run this program without options. The .DLL
47670 # is built to be imported by name (there is no guarantee that new versions
47671 # of the library you build will have same ordinals for same symbols).
47672 #
47673 # dllar is free software; you can redistribute it and/or modify
47674 # it under the terms of the GNU General Public License as published by
47675 # the Free Software Foundation; either version 2, or (at your option)
47676 # any later version.
47677 #
47678 # dllar is distributed in the hope that it will be useful,
47679 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47680 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47681 # GNU General Public License for more details.
47682 #
47683 # You should have received a copy of the GNU General Public License
47684 # along with dllar; see the file COPYING. If not, write to the Free
47685 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47686 # 02111-1307, USA.
47687
47688 # To successfuly run this program you will need:
47689 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47690 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47691 # - gcc
47692 # (used to build the .dll)
47693 # - emxexp
47694 # (used to create .def file from .o files)
47695 # - emximp
47696 # (used to create .a file from .def file)
47697 # - GNU text utilites (cat, sort, uniq)
47698 # used to process emxexp output
47699 # - GNU file utilities (mv, rm)
47700 # - GNU sed
47701 # - lxlite (optional, see flag below)
47702 # (used for general .dll cleanup)
47703 #
47704
47705 flag_USE_LXLITE=1;
47706
47707 #
47708 # helper functions
47709 # basnam, variant of basename, which does _not_ remove the path, _iff_
47710 # second argument (suffix to remove) is given
47711 basnam(){
47712 case ${D}# in
47713 1)
47714 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47715 ;;
47716 2)
47717 echo ${D}1 | sed 's/'${D}2'${D}//'
47718 ;;
47719 *)
47720 echo "error in basnam ${D}*"
47721 exit 8
47722 ;;
47723 esac
47724 }
47725
47726 # Cleanup temporary files and output
47727 CleanUp() {
47728 cd ${D}curDir
47729 for i in ${D}inputFiles ; do
47730 case ${D}i in
47731 *!)
47732 rm -rf \`basnam ${D}i !\`
47733 ;;
47734 *)
47735 ;;
47736 esac
47737 done
47738
47739 # Kill result in case of failure as there is just to many stupid make/nmake
47740 # things out there which doesn't do this.
47741 if [ ${D}# -eq 0 ]; then
47742 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47743 fi
47744 }
47745
47746 # Print usage and exit script with rc=1.
47747 PrintHelp() {
47748 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47749 echo ' [-name-mangler-script script.sh]'
47750 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47751 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47752 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47753 echo ' [*.o] [*.a]'
47754 echo '*> "output_file" should have no extension.'
47755 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47756 echo ' The import library name is derived from this and is set to "name".a,'
47757 echo ' unless overridden by -import'
47758 echo '*> "importlib_name" should have no extension.'
47759 echo ' If it has the .o, or .a extension, it is automatically removed.'
47760 echo ' This name is used as the import library name and may be longer and'
47761 echo ' more descriptive than the DLL name which has to follow the old '
47762 echo ' 8.3 convention of FAT.'
47763 echo '*> "script.sh may be given to override the output_file name by a'
47764 echo ' different name. It is mainly useful if the regular make process'
47765 echo ' of some package does not take into account OS/2 restriction of'
47766 echo ' DLL name lengths. It takes the importlib name as input and is'
47767 echo ' supposed to procude a shorter name as output. The script should'
47768 echo ' expect to get importlib_name without extension and should produce'
47769 echo ' a (max.) 8 letter name without extension.'
47770 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47771 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47772 echo ' These flags will be put at the start of GCC command line.'
47773 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47774 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47775 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47776 echo ' If the last character of a symbol is "*", all symbols beginning'
47777 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47778 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47779 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47780 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47781 echo ' C runtime DLLs.'
47782 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47783 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47784 echo ' unchanged to GCC at the end of command line.'
47785 echo '*> If you create a DLL from a library and you do not specify -o,'
47786 echo ' the basename for DLL and import library will be set to library name,'
47787 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47788 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47789 echo ' library will be renamed into gcc_s.a.'
47790 echo '--------'
47791 echo 'Example:'
47792 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47793 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47794 CleanUp
47795 exit 1
47796 }
47797
47798 # Execute a command.
47799 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47800 # @Uses Whatever CleanUp() uses.
47801 doCommand() {
47802 echo "${D}*"
47803 eval ${D}*
47804 rcCmd=${D}?
47805
47806 if [ ${D}rcCmd -ne 0 ]; then
47807 echo "command failed, exit code="${D}rcCmd
47808 CleanUp
47809 exit ${D}rcCmd
47810 fi
47811 }
47812
47813 # main routine
47814 # setup globals
47815 cmdLine=${D}*
47816 outFile=""
47817 outimpFile=""
47818 inputFiles=""
47819 renameScript=""
47820 description=""
47821 CC=gcc.exe
47822 CFLAGS="-s -Zcrtdll"
47823 EXTRA_CFLAGS=""
47824 EXPORT_BY_ORDINALS=0
47825 exclude_symbols=""
47826 library_flags=""
47827 curDir=\`pwd\`
47828 curDirS=curDir
47829 case ${D}curDirS in
47830 */)
47831 ;;
47832 *)
47833 curDirS=${D}{curDirS}"/"
47834 ;;
47835 esac
47836 # Parse commandline
47837 libsToLink=0
47838 omfLinking=0
47839 while [ ${D}1 ]; do
47840 case ${D}1 in
47841 -ord*)
47842 EXPORT_BY_ORDINALS=1;
47843 ;;
47844 -o*)
47845 shift
47846 outFile=${D}1
47847 ;;
47848 -i*)
47849 shift
47850 outimpFile=${D}1
47851 ;;
47852 -name-mangler-script)
47853 shift
47854 renameScript=${D}1
47855 ;;
47856 -d*)
47857 shift
47858 description=${D}1
47859 ;;
47860 -f*)
47861 shift
47862 CFLAGS=${D}1
47863 ;;
47864 -c*)
47865 shift
47866 CC=${D}1
47867 ;;
47868 -h*)
47869 PrintHelp
47870 ;;
47871 -ex*)
47872 shift
47873 exclude_symbols=${D}{exclude_symbols}${D}1" "
47874 ;;
47875 -libf*)
47876 shift
47877 library_flags=${D}{library_flags}${D}1" "
47878 ;;
47879 -nocrt*)
47880 CFLAGS="-s"
47881 ;;
47882 -nolxl*)
47883 flag_USE_LXLITE=0
47884 ;;
47885 -* | /*)
47886 case ${D}1 in
47887 -L* | -l*)
47888 libsToLink=1
47889 ;;
47890 -Zomf)
47891 omfLinking=1
47892 ;;
47893 *)
47894 ;;
47895 esac
47896 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47897 ;;
47898 *.dll)
47899 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47900 if [ ${D}omfLinking -eq 1 ]; then
47901 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47902 else
47903 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47904 fi
47905 ;;
47906 *)
47907 found=0;
47908 if [ ${D}libsToLink -ne 0 ]; then
47909 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47910 else
47911 for file in ${D}1 ; do
47912 if [ -f ${D}file ]; then
47913 inputFiles="${D}{inputFiles} ${D}file"
47914 found=1
47915 fi
47916 done
47917 if [ ${D}found -eq 0 ]; then
47918 echo "ERROR: No file(s) found: "${D}1
47919 exit 8
47920 fi
47921 fi
47922 ;;
47923 esac
47924 shift
47925 done # iterate cmdline words
47926
47927 #
47928 if [ -z "${D}inputFiles" ]; then
47929 echo "dllar: no input files"
47930 PrintHelp
47931 fi
47932
47933 # Now extract all .o files from .a files
47934 newInputFiles=""
47935 for file in ${D}inputFiles ; do
47936 case ${D}file in
47937 *.a | *.lib)
47938 case ${D}file in
47939 *.a)
47940 suffix=".a"
47941 AR="ar"
47942 ;;
47943 *.lib)
47944 suffix=".lib"
47945 AR="emxomfar"
47946 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47947 ;;
47948 *)
47949 ;;
47950 esac
47951 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47952 mkdir ${D}dirname
47953 if [ ${D}? -ne 0 ]; then
47954 echo "Failed to create subdirectory ./${D}dirname"
47955 CleanUp
47956 exit 8;
47957 fi
47958 # Append '!' to indicate archive
47959 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47960 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47961 cd ${D}curDir
47962 found=0;
47963 for subfile in ${D}dirname/*.o* ; do
47964 if [ -f ${D}subfile ]; then
47965 found=1
47966 if [ -s ${D}subfile ]; then
47967 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47968 newInputFiles="${D}newInputFiles ${D}subfile"
47969 fi
47970 fi
47971 done
47972 if [ ${D}found -eq 0 ]; then
47973 echo "WARNING: there are no files in archive \\'${D}file\\'"
47974 fi
47975 ;;
47976 *)
47977 newInputFiles="${D}{newInputFiles} ${D}file"
47978 ;;
47979 esac
47980 done
47981 inputFiles="${D}newInputFiles"
47982
47983 # Output filename(s).
47984 do_backup=0;
47985 if [ -z ${D}outFile ]; then
47986 do_backup=1;
47987 set outFile ${D}inputFiles; outFile=${D}2
47988 fi
47989
47990 # If it is an archive, remove the '!' and the '_%' suffixes
47991 case ${D}outFile in
47992 *_%!)
47993 outFile=\`basnam ${D}outFile _%!\`
47994 ;;
47995 *)
47996 ;;
47997 esac
47998 case ${D}outFile in
47999 *.dll)
48000 outFile=\`basnam ${D}outFile .dll\`
48001 ;;
48002 *.DLL)
48003 outFile=\`basnam ${D}outFile .DLL\`
48004 ;;
48005 *.o)
48006 outFile=\`basnam ${D}outFile .o\`
48007 ;;
48008 *.obj)
48009 outFile=\`basnam ${D}outFile .obj\`
48010 ;;
48011 *.a)
48012 outFile=\`basnam ${D}outFile .a\`
48013 ;;
48014 *.lib)
48015 outFile=\`basnam ${D}outFile .lib\`
48016 ;;
48017 *)
48018 ;;
48019 esac
48020 case ${D}outimpFile in
48021 *.a)
48022 outimpFile=\`basnam ${D}outimpFile .a\`
48023 ;;
48024 *.lib)
48025 outimpFile=\`basnam ${D}outimpFile .lib\`
48026 ;;
48027 *)
48028 ;;
48029 esac
48030 if [ -z ${D}outimpFile ]; then
48031 outimpFile=${D}outFile
48032 fi
48033 defFile="${D}{outFile}.def"
48034 arcFile="${D}{outimpFile}.a"
48035 arcFile2="${D}{outimpFile}.lib"
48036
48037 #create ${D}dllFile as something matching 8.3 restrictions,
48038 if [ -z ${D}renameScript ] ; then
48039 dllFile="${D}outFile"
48040 else
48041 dllFile=\`${D}renameScript ${D}outimpFile\`
48042 fi
48043
48044 if [ ${D}do_backup -ne 0 ] ; then
48045 if [ -f ${D}arcFile ] ; then
48046 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48047 fi
48048 if [ -f ${D}arcFile2 ] ; then
48049 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48050 fi
48051 fi
48052
48053 # Extract public symbols from all the object files.
48054 tmpdefFile=${D}{defFile}_%
48055 rm -f ${D}tmpdefFile
48056 for file in ${D}inputFiles ; do
48057 case ${D}file in
48058 *!)
48059 ;;
48060 *)
48061 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48062 ;;
48063 esac
48064 done
48065
48066 # Create the def file.
48067 rm -f ${D}defFile
48068 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48069 dllFile="${D}{dllFile}.dll"
48070 if [ ! -z ${D}description ]; then
48071 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48072 fi
48073 echo "EXPORTS" >> ${D}defFile
48074
48075 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48076 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48077
48078 # Checks if the export is ok or not.
48079 for word in ${D}exclude_symbols; do
48080 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48081 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48082 done
48083
48084
48085 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48086 sed "=" < ${D}tmpdefFile | \\
48087 sed '
48088 N
48089 : loop
48090 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48091 t loop
48092 ' > ${D}{tmpdefFile}%
48093 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48094 else
48095 rm -f ${D}{tmpdefFile}%
48096 fi
48097 cat ${D}tmpdefFile >> ${D}defFile
48098 rm -f ${D}tmpdefFile
48099
48100 # Do linking, create implib, and apply lxlite.
48101 gccCmdl="";
48102 for file in ${D}inputFiles ; do
48103 case ${D}file in
48104 *!)
48105 ;;
48106 *)
48107 gccCmdl="${D}gccCmdl ${D}file"
48108 ;;
48109 esac
48110 done
48111 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48112 touch "${D}{outFile}.dll"
48113
48114 doCommand "emximp -o ${D}arcFile ${D}defFile"
48115 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48116 add_flags="";
48117 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48118 add_flags="-ynd"
48119 fi
48120 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48121 fi
48122 doCommand "emxomf -s -l ${D}arcFile"
48123
48124 # Successful exit.
48125 CleanUp 1
48126 exit 0
48127 EOF
48128
48129 chmod +x dllar.sh
48130 ;;
48131
48132 powerpc-apple-macos* | \
48133 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48134 *-*-mirbsd* | \
48135 *-*-sunos4* | \
48136 *-*-osf* | \
48137 *-*-dgux5* | \
48138 *-*-sysv5* | \
48139 *-pc-msdosdjgpp )
48140 ;;
48141
48142 *)
48143 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48144 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48145 { (exit 1); exit 1; }; }
48146 esac
48147
48148 if test "x$PIC_FLAG" != "x" ; then
48149 PIC_FLAG="$PIC_FLAG -DPIC"
48150 fi
48151
48152 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48153 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48154 fi
48155 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48156 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48157 fi
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167 USE_SOVERSION=0
48168 USE_SOVERLINUX=0
48169 USE_SOVERSOLARIS=0
48170 USE_SOVERCYGWIN=0
48171 USE_SOSYMLINKS=0
48172 USE_MACVERSION=0
48173 SONAME_FLAG=
48174
48175 case "${BAKEFILE_HOST}" in
48176 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48177 if test "x$SUNCXX" = "xyes"; then
48178 SONAME_FLAG="-h "
48179 else
48180 SONAME_FLAG="-Wl,-soname,"
48181 fi
48182 USE_SOVERSION=1
48183 USE_SOVERLINUX=1
48184 USE_SOSYMLINKS=1
48185 ;;
48186
48187 *-*-solaris2* )
48188 SONAME_FLAG="-h "
48189 USE_SOVERSION=1
48190 USE_SOVERSOLARIS=1
48191 USE_SOSYMLINKS=1
48192 ;;
48193
48194 *-*-darwin* )
48195 USE_MACVERSION=1
48196 USE_SOVERSION=1
48197 USE_SOSYMLINKS=1
48198 ;;
48199
48200 *-*-cygwin* )
48201 USE_SOVERSION=1
48202 USE_SOVERCYGWIN=1
48203 ;;
48204 esac
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215 # Check whether --enable-dependency-tracking was given.
48216 if test "${enable_dependency_tracking+set}" = set; then
48217 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48218 fi
48219
48220
48221 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48222 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48223
48224 BK_DEPS=""
48225 if test "x$bk_use_trackdeps" = "xno" ; then
48226 DEPS_TRACKING=0
48227 { echo "$as_me:$LINENO: result: disabled" >&5
48228 echo "${ECHO_T}disabled" >&6; }
48229 else
48230 DEPS_TRACKING=1
48231
48232 if test "x$GCC" = "xyes"; then
48233 DEPSMODE=gcc
48234 case "${BAKEFILE_HOST}" in
48235 *-*-darwin* )
48236 DEPSFLAG="-no-cpp-precomp -MMD"
48237 ;;
48238 * )
48239 DEPSFLAG="-MMD"
48240 ;;
48241 esac
48242 { echo "$as_me:$LINENO: result: gcc" >&5
48243 echo "${ECHO_T}gcc" >&6; }
48244 elif test "x$MWCC" = "xyes"; then
48245 DEPSMODE=mwcc
48246 DEPSFLAG="-MM"
48247 { echo "$as_me:$LINENO: result: mwcc" >&5
48248 echo "${ECHO_T}mwcc" >&6; }
48249 elif test "x$SUNCC" = "xyes"; then
48250 DEPSMODE=unixcc
48251 DEPSFLAG="-xM1"
48252 { echo "$as_me:$LINENO: result: Sun cc" >&5
48253 echo "${ECHO_T}Sun cc" >&6; }
48254 elif test "x$SGICC" = "xyes"; then
48255 DEPSMODE=unixcc
48256 DEPSFLAG="-M"
48257 { echo "$as_me:$LINENO: result: SGI cc" >&5
48258 echo "${ECHO_T}SGI cc" >&6; }
48259 elif test "x$HPCC" = "xyes"; then
48260 DEPSMODE=unixcc
48261 DEPSFLAG="+make"
48262 { echo "$as_me:$LINENO: result: HP cc" >&5
48263 echo "${ECHO_T}HP cc" >&6; }
48264 elif test "x$COMPAQCC" = "xyes"; then
48265 DEPSMODE=gcc
48266 DEPSFLAG="-MD"
48267 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48268 echo "${ECHO_T}Compaq cc" >&6; }
48269 else
48270 DEPS_TRACKING=0
48271 { echo "$as_me:$LINENO: result: none" >&5
48272 echo "${ECHO_T}none" >&6; }
48273 fi
48274
48275 if test $DEPS_TRACKING = 1 ; then
48276
48277 D='$'
48278 cat <<EOF >bk-deps
48279 #!/bin/sh
48280
48281 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48282 # script. It is used to track C/C++ files dependencies in portable way.
48283 #
48284 # Permission is given to use this file in any way.
48285
48286 DEPSMODE=${DEPSMODE}
48287 DEPSDIR=.deps
48288 DEPSFLAG="${DEPSFLAG}"
48289
48290 mkdir -p ${D}DEPSDIR
48291
48292 if test ${D}DEPSMODE = gcc ; then
48293 ${D}* ${D}{DEPSFLAG}
48294 status=${D}?
48295 if test ${D}{status} != 0 ; then
48296 exit ${D}{status}
48297 fi
48298 # move created file to the location we want it in:
48299 while test ${D}# -gt 0; do
48300 case "${D}1" in
48301 -o )
48302 shift
48303 objfile=${D}1
48304 ;;
48305 -* )
48306 ;;
48307 * )
48308 srcfile=${D}1
48309 ;;
48310 esac
48311 shift
48312 done
48313 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48314 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48315 if test -f ${D}depfile ; then
48316 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48317 rm -f ${D}depfile
48318 else
48319 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48320 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48321 if test ! -f ${D}depfile ; then
48322 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48323 depfile="${D}objfile.d"
48324 fi
48325 if test -f ${D}depfile ; then
48326 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48327 rm -f ${D}depfile
48328 fi
48329 fi
48330 exit 0
48331 elif test ${D}DEPSMODE = mwcc ; then
48332 ${D}* || exit ${D}?
48333 # Run mwcc again with -MM and redirect into the dep file we want
48334 # NOTE: We can't use shift here because we need ${D}* to be valid
48335 prevarg=
48336 for arg in ${D}* ; do
48337 if test "${D}prevarg" = "-o"; then
48338 objfile=${D}arg
48339 else
48340 case "${D}arg" in
48341 -* )
48342 ;;
48343 * )
48344 srcfile=${D}arg
48345 ;;
48346 esac
48347 fi
48348 prevarg="${D}arg"
48349 done
48350 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48351 exit 0
48352 elif test ${D}DEPSMODE = unixcc; then
48353 ${D}* || exit ${D}?
48354 # Run compiler again with deps flag and redirect into the dep file.
48355 # It doesn't work if the '-o FILE' option is used, but without it the
48356 # dependency file will contain the wrong name for the object. So it is
48357 # removed from the command line, and the dep file is fixed with sed.
48358 cmd=""
48359 while test ${D}# -gt 0; do
48360 case "${D}1" in
48361 -o )
48362 shift
48363 objfile=${D}1
48364 ;;
48365 * )
48366 eval arg${D}#=\\${D}1
48367 cmd="${D}cmd \\${D}arg${D}#"
48368 ;;
48369 esac
48370 shift
48371 done
48372 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48373 exit 0
48374 else
48375 ${D}*
48376 exit ${D}?
48377 fi
48378 EOF
48379
48380 chmod +x bk-deps
48381 BK_DEPS="`pwd`/bk-deps"
48382 fi
48383 fi
48384
48385
48386
48387
48388
48389 case ${BAKEFILE_HOST} in
48390 *-*-cygwin* | *-*-mingw32* )
48391 if test -n "$ac_tool_prefix"; then
48392 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48393 set dummy ${ac_tool_prefix}windres; ac_word=$2
48394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48396 if test "${ac_cv_prog_WINDRES+set}" = set; then
48397 echo $ECHO_N "(cached) $ECHO_C" >&6
48398 else
48399 if test -n "$WINDRES"; then
48400 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48401 else
48402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48403 for as_dir in $PATH
48404 do
48405 IFS=$as_save_IFS
48406 test -z "$as_dir" && as_dir=.
48407 for ac_exec_ext in '' $ac_executable_extensions; do
48408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48409 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48411 break 2
48412 fi
48413 done
48414 done
48415 IFS=$as_save_IFS
48416
48417 fi
48418 fi
48419 WINDRES=$ac_cv_prog_WINDRES
48420 if test -n "$WINDRES"; then
48421 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48422 echo "${ECHO_T}$WINDRES" >&6; }
48423 else
48424 { echo "$as_me:$LINENO: result: no" >&5
48425 echo "${ECHO_T}no" >&6; }
48426 fi
48427
48428
48429 fi
48430 if test -z "$ac_cv_prog_WINDRES"; then
48431 ac_ct_WINDRES=$WINDRES
48432 # Extract the first word of "windres", so it can be a program name with args.
48433 set dummy windres; ac_word=$2
48434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48436 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48437 echo $ECHO_N "(cached) $ECHO_C" >&6
48438 else
48439 if test -n "$ac_ct_WINDRES"; then
48440 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48441 else
48442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48443 for as_dir in $PATH
48444 do
48445 IFS=$as_save_IFS
48446 test -z "$as_dir" && as_dir=.
48447 for ac_exec_ext in '' $ac_executable_extensions; do
48448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48449 ac_cv_prog_ac_ct_WINDRES="windres"
48450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48451 break 2
48452 fi
48453 done
48454 done
48455 IFS=$as_save_IFS
48456
48457 fi
48458 fi
48459 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48460 if test -n "$ac_ct_WINDRES"; then
48461 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48462 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48463 else
48464 { echo "$as_me:$LINENO: result: no" >&5
48465 echo "${ECHO_T}no" >&6; }
48466 fi
48467
48468 if test "x$ac_ct_WINDRES" = x; then
48469 WINDRES=""
48470 else
48471 case $cross_compiling:$ac_tool_warned in
48472 yes:)
48473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48474 whose name does not start with the host triplet. If you think this
48475 configuration is useful to you, please write to autoconf@gnu.org." >&5
48476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48477 whose name does not start with the host triplet. If you think this
48478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48479 ac_tool_warned=yes ;;
48480 esac
48481 WINDRES=$ac_ct_WINDRES
48482 fi
48483 else
48484 WINDRES="$ac_cv_prog_WINDRES"
48485 fi
48486
48487 ;;
48488
48489 *-*-darwin* | powerpc-apple-macos* )
48490 # Extract the first word of "Rez", so it can be a program name with args.
48491 set dummy Rez; ac_word=$2
48492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48494 if test "${ac_cv_prog_REZ+set}" = set; then
48495 echo $ECHO_N "(cached) $ECHO_C" >&6
48496 else
48497 if test -n "$REZ"; then
48498 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48499 else
48500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48501 for as_dir in $PATH
48502 do
48503 IFS=$as_save_IFS
48504 test -z "$as_dir" && as_dir=.
48505 for ac_exec_ext in '' $ac_executable_extensions; do
48506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48507 ac_cv_prog_REZ="Rez"
48508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48509 break 2
48510 fi
48511 done
48512 done
48513 IFS=$as_save_IFS
48514
48515 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48516 fi
48517 fi
48518 REZ=$ac_cv_prog_REZ
48519 if test -n "$REZ"; then
48520 { echo "$as_me:$LINENO: result: $REZ" >&5
48521 echo "${ECHO_T}$REZ" >&6; }
48522 else
48523 { echo "$as_me:$LINENO: result: no" >&5
48524 echo "${ECHO_T}no" >&6; }
48525 fi
48526
48527
48528 # Extract the first word of "SetFile", so it can be a program name with args.
48529 set dummy SetFile; ac_word=$2
48530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48532 if test "${ac_cv_prog_SETFILE+set}" = set; then
48533 echo $ECHO_N "(cached) $ECHO_C" >&6
48534 else
48535 if test -n "$SETFILE"; then
48536 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48537 else
48538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48539 for as_dir in $PATH
48540 do
48541 IFS=$as_save_IFS
48542 test -z "$as_dir" && as_dir=.
48543 for ac_exec_ext in '' $ac_executable_extensions; do
48544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48545 ac_cv_prog_SETFILE="SetFile"
48546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48547 break 2
48548 fi
48549 done
48550 done
48551 IFS=$as_save_IFS
48552
48553 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48554 fi
48555 fi
48556 SETFILE=$ac_cv_prog_SETFILE
48557 if test -n "$SETFILE"; then
48558 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48559 echo "${ECHO_T}$SETFILE" >&6; }
48560 else
48561 { echo "$as_me:$LINENO: result: no" >&5
48562 echo "${ECHO_T}no" >&6; }
48563 fi
48564
48565
48566 ;;
48567 esac
48568
48569
48570
48571
48572
48573
48574 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48575
48576
48577 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48578
48579
48580
48581 # Check whether --enable-precomp-headers was given.
48582 if test "${enable_precomp_headers+set}" = set; then
48583 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48584 fi
48585
48586
48587 GCC_PCH=0
48588 ICC_PCH=0
48589 USE_PCH=0
48590 BK_MAKE_PCH=""
48591
48592 case ${BAKEFILE_HOST} in
48593 *-*-cygwin* )
48594 bk_use_pch="no"
48595 ;;
48596 esac
48597
48598 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48599 if test "x$GCC" = "xyes"; then
48600 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48601 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48602 cat >conftest.$ac_ext <<_ACEOF
48603 /* confdefs.h. */
48604 _ACEOF
48605 cat confdefs.h >>conftest.$ac_ext
48606 cat >>conftest.$ac_ext <<_ACEOF
48607 /* end confdefs.h. */
48608
48609 int
48610 main ()
48611 {
48612
48613 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48614 There is no PCH support
48615 #endif
48616 #if (__GNUC__ < 3)
48617 There is no PCH support
48618 #endif
48619 #if (__GNUC__ == 3) && \
48620 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48621 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48622 ( defined(__INTEL_COMPILER) )
48623 There is no PCH support
48624 #endif
48625
48626 ;
48627 return 0;
48628 }
48629 _ACEOF
48630 rm -f conftest.$ac_objext
48631 if { (ac_try="$ac_compile"
48632 case "(($ac_try" in
48633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48634 *) ac_try_echo=$ac_try;;
48635 esac
48636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48637 (eval "$ac_compile") 2>conftest.er1
48638 ac_status=$?
48639 grep -v '^ *+' conftest.er1 >conftest.err
48640 rm -f conftest.er1
48641 cat conftest.err >&5
48642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48643 (exit $ac_status); } && {
48644 test -z "$ac_c_werror_flag" ||
48645 test ! -s conftest.err
48646 } && test -s conftest.$ac_objext; then
48647
48648 { echo "$as_me:$LINENO: result: yes" >&5
48649 echo "${ECHO_T}yes" >&6; }
48650 GCC_PCH=1
48651
48652 else
48653 echo "$as_me: failed program was:" >&5
48654 sed 's/^/| /' conftest.$ac_ext >&5
48655
48656
48657 cat >conftest.$ac_ext <<_ACEOF
48658 /* confdefs.h. */
48659 _ACEOF
48660 cat confdefs.h >>conftest.$ac_ext
48661 cat >>conftest.$ac_ext <<_ACEOF
48662 /* end confdefs.h. */
48663
48664 int
48665 main ()
48666 {
48667
48668 #if !defined(__INTEL_COMPILER) || \
48669 (__INTEL_COMPILER < 800)
48670 There is no PCH support
48671 #endif
48672
48673 ;
48674 return 0;
48675 }
48676 _ACEOF
48677 rm -f conftest.$ac_objext
48678 if { (ac_try="$ac_compile"
48679 case "(($ac_try" in
48680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48681 *) ac_try_echo=$ac_try;;
48682 esac
48683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48684 (eval "$ac_compile") 2>conftest.er1
48685 ac_status=$?
48686 grep -v '^ *+' conftest.er1 >conftest.err
48687 rm -f conftest.er1
48688 cat conftest.err >&5
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); } && {
48691 test -z "$ac_c_werror_flag" ||
48692 test ! -s conftest.err
48693 } && test -s conftest.$ac_objext; then
48694
48695 { echo "$as_me:$LINENO: result: yes" >&5
48696 echo "${ECHO_T}yes" >&6; }
48697 ICC_PCH=1
48698
48699 else
48700 echo "$as_me: failed program was:" >&5
48701 sed 's/^/| /' conftest.$ac_ext >&5
48702
48703
48704 { echo "$as_me:$LINENO: result: no" >&5
48705 echo "${ECHO_T}no" >&6; }
48706
48707 fi
48708
48709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48710
48711 fi
48712
48713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48714 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48715 USE_PCH=1
48716
48717 D='$'
48718 cat <<EOF >bk-make-pch
48719 #!/bin/sh
48720
48721 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48722 # script. It is used to generated precompiled headers.
48723 #
48724 # Permission is given to use this file in any way.
48725
48726 outfile="${D}{1}"
48727 header="${D}{2}"
48728 shift
48729 shift
48730
48731 compiler=""
48732 headerfile=""
48733
48734 while test ${D}{#} -gt 0; do
48735 add_to_cmdline=1
48736 case "${D}{1}" in
48737 -I* )
48738 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48739 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48740 headerfile="${D}{incdir}/${D}{header}"
48741 fi
48742 ;;
48743 -use-pch|-use_pch )
48744 shift
48745 add_to_cmdline=0
48746 ;;
48747 esac
48748 if test ${D}add_to_cmdline = 1 ; then
48749 compiler="${D}{compiler} ${D}{1}"
48750 fi
48751 shift
48752 done
48753
48754 if test "x${D}{headerfile}" = "x" ; then
48755 echo "error: can't find header ${D}{header} in include paths" >&2
48756 else
48757 if test -f ${D}{outfile} ; then
48758 rm -f ${D}{outfile}
48759 else
48760 mkdir -p \`dirname ${D}{outfile}\`
48761 fi
48762 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48763 mkdir -p .deps
48764 if test "x${GCC_PCH}" = "x1" ; then
48765 # can do this because gcc is >= 3.4:
48766 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48767 elif test "x${ICC_PCH}" = "x1" ; then
48768 filename=pch_gen-${D}${D}
48769 file=${D}{filename}.c
48770 dfile=${D}{filename}.d
48771 cat > ${D}file <<EOT
48772 #include "${D}header"
48773 EOT
48774 # using -MF icc complains about differing command lines in creation/use
48775 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48776 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48777 rm -f ${D}file ${D}dfile ${D}{filename}.o
48778 fi
48779 exit ${D}{?}
48780 fi
48781 EOF
48782
48783 chmod +x bk-make-pch
48784 BK_MAKE_PCH="`pwd`/bk-make-pch"
48785 fi
48786 fi
48787 fi
48788
48789
48790
48791
48792
48793 COND_BUILD_DEBUG="#"
48794 if test "x$BUILD" = "xdebug" ; then
48795 COND_BUILD_DEBUG=""
48796 fi
48797
48798 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48799 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48800 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48801 fi
48802
48803 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48804 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48805 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48806 fi
48807
48808 COND_BUILD_DEBUG_UNICODE_0="#"
48809 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48810 COND_BUILD_DEBUG_UNICODE_0=""
48811 fi
48812
48813 COND_BUILD_DEBUG_UNICODE_1="#"
48814 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48815 COND_BUILD_DEBUG_UNICODE_1=""
48816 fi
48817
48818 COND_BUILD_RELEASE="#"
48819 if test "x$BUILD" = "xrelease" ; then
48820 COND_BUILD_RELEASE=""
48821 fi
48822
48823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48824 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48826 fi
48827
48828 COND_BUILD_RELEASE_UNICODE_0="#"
48829 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48830 COND_BUILD_RELEASE_UNICODE_0=""
48831 fi
48832
48833 COND_BUILD_RELEASE_UNICODE_1="#"
48834 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48835 COND_BUILD_RELEASE_UNICODE_1=""
48836 fi
48837
48838 COND_DEBUG_FLAG_1="#"
48839 if test "x$DEBUG_FLAG" = "x1" ; then
48840 COND_DEBUG_FLAG_1=""
48841 fi
48842
48843 COND_DEBUG_INFO_0="#"
48844 if test "x$DEBUG_INFO" = "x0" ; then
48845 COND_DEBUG_INFO_0=""
48846 fi
48847
48848 COND_DEBUG_INFO_1="#"
48849 if test "x$DEBUG_INFO" = "x1" ; then
48850 COND_DEBUG_INFO_1=""
48851 fi
48852
48853 COND_DEPS_TRACKING_0="#"
48854 if test "x$DEPS_TRACKING" = "x0" ; then
48855 COND_DEPS_TRACKING_0=""
48856 fi
48857
48858 COND_DEPS_TRACKING_1="#"
48859 if test "x$DEPS_TRACKING" = "x1" ; then
48860 COND_DEPS_TRACKING_1=""
48861 fi
48862
48863 COND_GCC_PCH_1="#"
48864 if test "x$GCC_PCH" = "x1" ; then
48865 COND_GCC_PCH_1=""
48866 fi
48867
48868 COND_ICC_PCH_1="#"
48869 if test "x$ICC_PCH" = "x1" ; then
48870 COND_ICC_PCH_1=""
48871 fi
48872
48873 COND_MONOLITHIC_0="#"
48874 if test "x$MONOLITHIC" = "x0" ; then
48875 COND_MONOLITHIC_0=""
48876 fi
48877
48878 COND_MONOLITHIC_0_SHARED_0="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48880 COND_MONOLITHIC_0_SHARED_0=""
48881 fi
48882
48883 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48886 fi
48887
48888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48891 fi
48892
48893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48896 fi
48897
48898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48901 fi
48902
48903 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48906 fi
48907
48908 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48910 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48911 fi
48912
48913 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48915 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48916 fi
48917
48918 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48920 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48921 fi
48922
48923 COND_MONOLITHIC_0_SHARED_1="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48925 COND_MONOLITHIC_0_SHARED_1=""
48926 fi
48927
48928 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48930 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48931 fi
48932
48933 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48936 fi
48937
48938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48941 fi
48942
48943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48946 fi
48947
48948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48951 fi
48952
48953 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48955 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48956 fi
48957
48958 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48960 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48961 fi
48962
48963 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48965 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48966 fi
48967
48968 COND_MONOLITHIC_0_USE_AUI_1="#"
48969 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48970 COND_MONOLITHIC_0_USE_AUI_1=""
48971 fi
48972
48973 COND_MONOLITHIC_0_USE_GUI_1="#"
48974 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48975 COND_MONOLITHIC_0_USE_GUI_1=""
48976 fi
48977
48978 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48979 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48980 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48981 fi
48982
48983 COND_MONOLITHIC_0_USE_HTML_1="#"
48984 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48985 COND_MONOLITHIC_0_USE_HTML_1=""
48986 fi
48987
48988 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48989 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48990 COND_MONOLITHIC_0_USE_MEDIA_1=""
48991 fi
48992
48993 COND_MONOLITHIC_0_USE_QA_1="#"
48994 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48995 COND_MONOLITHIC_0_USE_QA_1=""
48996 fi
48997
48998 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48999 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49000 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49001 fi
49002
49003 COND_MONOLITHIC_0_USE_STC_1="#"
49004 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49005 COND_MONOLITHIC_0_USE_STC_1=""
49006 fi
49007
49008 COND_MONOLITHIC_0_USE_XRC_1="#"
49009 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49010 COND_MONOLITHIC_0_USE_XRC_1=""
49011 fi
49012
49013 COND_MONOLITHIC_1="#"
49014 if test "x$MONOLITHIC" = "x1" ; then
49015 COND_MONOLITHIC_1=""
49016 fi
49017
49018 COND_MONOLITHIC_1_SHARED_0="#"
49019 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49020 COND_MONOLITHIC_1_SHARED_0=""
49021 fi
49022
49023 COND_MONOLITHIC_1_SHARED_1="#"
49024 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49025 COND_MONOLITHIC_1_SHARED_1=""
49026 fi
49027
49028 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49029 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49030 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49031 fi
49032
49033 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49034 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49035 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49036 fi
49037
49038 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49039 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49040 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49041 fi
49042
49043 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49044 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49045 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49046 fi
49047
49048 COND_PLATFORM_MACOSX_1="#"
49049 if test "x$PLATFORM_MACOSX" = "x1" ; then
49050 COND_PLATFORM_MACOSX_1=""
49051 fi
49052
49053 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49054 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49055 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49056 fi
49057
49058 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49059 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49060 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49061 fi
49062
49063 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49064 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49065 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49066 fi
49067
49068 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49069 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49070 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49071 fi
49072
49073 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49074 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49075 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49076 fi
49077
49078 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49079 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49080 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49081 fi
49082
49083 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49084 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49085 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49086 fi
49087
49088 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49090 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49091 fi
49092
49093 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49095 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49096 fi
49097
49098 COND_PLATFORM_MACOS_1="#"
49099 if test "x$PLATFORM_MACOS" = "x1" ; then
49100 COND_PLATFORM_MACOS_1=""
49101 fi
49102
49103 COND_PLATFORM_MAC_1="#"
49104 if test "x$PLATFORM_MAC" = "x1" ; then
49105 COND_PLATFORM_MAC_1=""
49106 fi
49107
49108 COND_PLATFORM_MSDOS_1="#"
49109 if test "x$PLATFORM_MSDOS" = "x1" ; then
49110 COND_PLATFORM_MSDOS_1=""
49111 fi
49112
49113 COND_PLATFORM_OS2_1="#"
49114 if test "x$PLATFORM_OS2" = "x1" ; then
49115 COND_PLATFORM_OS2_1=""
49116 fi
49117
49118 COND_PLATFORM_UNIX_0="#"
49119 if test "x$PLATFORM_UNIX" = "x0" ; then
49120 COND_PLATFORM_UNIX_0=""
49121 fi
49122
49123 COND_PLATFORM_UNIX_1="#"
49124 if test "x$PLATFORM_UNIX" = "x1" ; then
49125 COND_PLATFORM_UNIX_1=""
49126 fi
49127
49128 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49129 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49130 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49131 fi
49132
49133 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49134 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49135 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49136 fi
49137
49138 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49139 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49140 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49141 fi
49142
49143 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49144 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49145 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49146 fi
49147
49148 COND_PLATFORM_WIN32_0="#"
49149 if test "x$PLATFORM_WIN32" = "x0" ; then
49150 COND_PLATFORM_WIN32_0=""
49151 fi
49152
49153 COND_PLATFORM_WIN32_1="#"
49154 if test "x$PLATFORM_WIN32" = "x1" ; then
49155 COND_PLATFORM_WIN32_1=""
49156 fi
49157
49158 COND_SHARED_0="#"
49159 if test "x$SHARED" = "x0" ; then
49160 COND_SHARED_0=""
49161 fi
49162
49163 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49164 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49165 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49166 fi
49167
49168 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49169 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49170 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49171 fi
49172
49173 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49174 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49175 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49176 fi
49177
49178 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49179 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49180 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49181 fi
49182
49183 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49184 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49185 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49186 fi
49187
49188 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49189 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49190 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49191 fi
49192
49193 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49194 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49195 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49196 fi
49197
49198 COND_SHARED_0_USE_STC_1="#"
49199 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49200 COND_SHARED_0_USE_STC_1=""
49201 fi
49202
49203 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49204 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49205 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49206 fi
49207
49208 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49209 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49210 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49211 fi
49212
49213 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49214 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49215 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49216 fi
49217
49218 COND_SHARED_1="#"
49219 if test "x$SHARED" = "x1" ; then
49220 COND_SHARED_1=""
49221 fi
49222
49223 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49224 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49225 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49226 fi
49227
49228 COND_TOOLKIT_="#"
49229 if test "x$TOOLKIT" = "x" ; then
49230 COND_TOOLKIT_=""
49231 fi
49232
49233 COND_TOOLKIT_COCOA="#"
49234 if test "x$TOOLKIT" = "xCOCOA" ; then
49235 COND_TOOLKIT_COCOA=""
49236 fi
49237
49238 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49239 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49240 COND_TOOLKIT_COCOA_USE_GUI_1=""
49241 fi
49242
49243 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49244 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49245 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49246 fi
49247
49248 COND_TOOLKIT_DFB="#"
49249 if test "x$TOOLKIT" = "xDFB" ; then
49250 COND_TOOLKIT_DFB=""
49251 fi
49252
49253 COND_TOOLKIT_DFB_USE_GUI_1="#"
49254 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49255 COND_TOOLKIT_DFB_USE_GUI_1=""
49256 fi
49257
49258 COND_TOOLKIT_GTK="#"
49259 if test "x$TOOLKIT" = "xGTK" ; then
49260 COND_TOOLKIT_GTK=""
49261 fi
49262
49263 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49264 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49265 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49266 fi
49267
49268 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49269 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49271 fi
49272
49273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49274 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49275 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49276 fi
49277
49278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49279 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49281 fi
49282
49283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49284 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49286 fi
49287
49288 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49289 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49290 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49291 fi
49292
49293 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49294 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49295 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49296 fi
49297
49298 COND_TOOLKIT_GTK_USE_GUI_1="#"
49299 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49300 COND_TOOLKIT_GTK_USE_GUI_1=""
49301 fi
49302
49303 COND_TOOLKIT_MAC="#"
49304 if test "x$TOOLKIT" = "xMAC" ; then
49305 COND_TOOLKIT_MAC=""
49306 fi
49307
49308 COND_TOOLKIT_MAC_USE_GUI_1="#"
49309 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49310 COND_TOOLKIT_MAC_USE_GUI_1=""
49311 fi
49312
49313 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49314 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49315 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49316 fi
49317
49318 COND_TOOLKIT_MGL="#"
49319 if test "x$TOOLKIT" = "xMGL" ; then
49320 COND_TOOLKIT_MGL=""
49321 fi
49322
49323 COND_TOOLKIT_MGL_USE_GUI_1="#"
49324 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49325 COND_TOOLKIT_MGL_USE_GUI_1=""
49326 fi
49327
49328 COND_TOOLKIT_MOTIF="#"
49329 if test "x$TOOLKIT" = "xMOTIF" ; then
49330 COND_TOOLKIT_MOTIF=""
49331 fi
49332
49333 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49334 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49335 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49336 fi
49337
49338 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49339 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49340 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49341 fi
49342
49343 COND_TOOLKIT_MSW="#"
49344 if test "x$TOOLKIT" = "xMSW" ; then
49345 COND_TOOLKIT_MSW=""
49346 fi
49347
49348 COND_TOOLKIT_MSW_USE_GUI_1="#"
49349 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49350 COND_TOOLKIT_MSW_USE_GUI_1=""
49351 fi
49352
49353 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49354 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49355 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49356 fi
49357
49358 COND_TOOLKIT_MSW_WXUNIV_0="#"
49359 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49360 COND_TOOLKIT_MSW_WXUNIV_0=""
49361 fi
49362
49363 COND_TOOLKIT_PM="#"
49364 if test "x$TOOLKIT" = "xPM" ; then
49365 COND_TOOLKIT_PM=""
49366 fi
49367
49368 COND_TOOLKIT_PM_USE_GUI_1="#"
49369 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49370 COND_TOOLKIT_PM_USE_GUI_1=""
49371 fi
49372
49373 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49374 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49375 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49376 fi
49377
49378 COND_TOOLKIT_WINCE="#"
49379 if test "x$TOOLKIT" = "xWINCE" ; then
49380 COND_TOOLKIT_WINCE=""
49381 fi
49382
49383 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49384 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49385 COND_TOOLKIT_WINCE_USE_GUI_1=""
49386 fi
49387
49388 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49389 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49390 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49391 fi
49392
49393 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49394 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49395 COND_TOOLKIT_WINCE_WXUNIV_0=""
49396 fi
49397
49398 COND_TOOLKIT_X11="#"
49399 if test "x$TOOLKIT" = "xX11" ; then
49400 COND_TOOLKIT_X11=""
49401 fi
49402
49403 COND_TOOLKIT_X11_USE_GUI_1="#"
49404 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49405 COND_TOOLKIT_X11_USE_GUI_1=""
49406 fi
49407
49408 COND_UNICODE_1="#"
49409 if test "x$UNICODE" = "x1" ; then
49410 COND_UNICODE_1=""
49411 fi
49412
49413 COND_USE_EXCEPTIONS_0="#"
49414 if test "x$USE_EXCEPTIONS" = "x0" ; then
49415 COND_USE_EXCEPTIONS_0=""
49416 fi
49417
49418 COND_USE_EXCEPTIONS_1="#"
49419 if test "x$USE_EXCEPTIONS" = "x1" ; then
49420 COND_USE_EXCEPTIONS_1=""
49421 fi
49422
49423 COND_USE_GUI_0="#"
49424 if test "x$USE_GUI" = "x0" ; then
49425 COND_USE_GUI_0=""
49426 fi
49427
49428 COND_USE_GUI_1="#"
49429 if test "x$USE_GUI" = "x1" ; then
49430 COND_USE_GUI_1=""
49431 fi
49432
49433 COND_USE_GUI_1_USE_OPENGL_1="#"
49434 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49435 COND_USE_GUI_1_USE_OPENGL_1=""
49436 fi
49437
49438 COND_USE_GUI_1_WXUNIV_0="#"
49439 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49440 COND_USE_GUI_1_WXUNIV_0=""
49441 fi
49442
49443 COND_USE_GUI_1_WXUNIV_1="#"
49444 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49445 COND_USE_GUI_1_WXUNIV_1=""
49446 fi
49447
49448 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49449 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49450 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49451 fi
49452
49453 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49454 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49455 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49456 fi
49457
49458 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49459 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49460 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49461 fi
49462
49463 COND_USE_PCH_1="#"
49464 if test "x$USE_PCH" = "x1" ; then
49465 COND_USE_PCH_1=""
49466 fi
49467
49468 COND_USE_PLUGINS_0="#"
49469 if test "x$USE_PLUGINS" = "x0" ; then
49470 COND_USE_PLUGINS_0=""
49471 fi
49472
49473 COND_USE_RTTI_0="#"
49474 if test "x$USE_RTTI" = "x0" ; then
49475 COND_USE_RTTI_0=""
49476 fi
49477
49478 COND_USE_RTTI_1="#"
49479 if test "x$USE_RTTI" = "x1" ; then
49480 COND_USE_RTTI_1=""
49481 fi
49482
49483 COND_USE_SOSYMLINKS_1="#"
49484 if test "x$USE_SOSYMLINKS" = "x1" ; then
49485 COND_USE_SOSYMLINKS_1=""
49486 fi
49487
49488 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49489 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49490 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49491 fi
49492
49493 COND_USE_SOVERLINUX_1="#"
49494 if test "x$USE_SOVERLINUX" = "x1" ; then
49495 COND_USE_SOVERLINUX_1=""
49496 fi
49497
49498 COND_USE_SOVERSION_0="#"
49499 if test "x$USE_SOVERSION" = "x0" ; then
49500 COND_USE_SOVERSION_0=""
49501 fi
49502
49503 COND_USE_SOVERSOLARIS_1="#"
49504 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49505 COND_USE_SOVERSOLARIS_1=""
49506 fi
49507
49508 COND_USE_STC_1="#"
49509 if test "x$USE_STC" = "x1" ; then
49510 COND_USE_STC_1=""
49511 fi
49512
49513 COND_USE_THREADS_0="#"
49514 if test "x$USE_THREADS" = "x0" ; then
49515 COND_USE_THREADS_0=""
49516 fi
49517
49518 COND_USE_THREADS_1="#"
49519 if test "x$USE_THREADS" = "x1" ; then
49520 COND_USE_THREADS_1=""
49521 fi
49522
49523 COND_USE_XRC_1="#"
49524 if test "x$USE_XRC" = "x1" ; then
49525 COND_USE_XRC_1=""
49526 fi
49527
49528 COND_WINDOWS_IMPLIB_1="#"
49529 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49530 COND_WINDOWS_IMPLIB_1=""
49531 fi
49532
49533 COND_WITH_PLUGIN_SDL_1="#"
49534 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49535 COND_WITH_PLUGIN_SDL_1=""
49536 fi
49537
49538 COND_WXUNIV_0="#"
49539 if test "x$WXUNIV" = "x0" ; then
49540 COND_WXUNIV_0=""
49541 fi
49542
49543 COND_WXUNIV_1="#"
49544 if test "x$WXUNIV" = "x1" ; then
49545 COND_WXUNIV_1=""
49546 fi
49547
49548 COND_WXUSE_EXPAT_BUILTIN="#"
49549 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49550 COND_WXUSE_EXPAT_BUILTIN=""
49551 fi
49552
49553 COND_WXUSE_LIBJPEG_BUILTIN="#"
49554 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49555 COND_WXUSE_LIBJPEG_BUILTIN=""
49556 fi
49557
49558 COND_WXUSE_LIBPNG_BUILTIN="#"
49559 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49560 COND_WXUSE_LIBPNG_BUILTIN=""
49561 fi
49562
49563 COND_WXUSE_LIBTIFF_BUILTIN="#"
49564 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49565 COND_WXUSE_LIBTIFF_BUILTIN=""
49566 fi
49567
49568 COND_WXUSE_REGEX_BUILTIN="#"
49569 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49570 COND_WXUSE_REGEX_BUILTIN=""
49571 fi
49572
49573 COND_WXUSE_ZLIB_BUILTIN="#"
49574 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49575 COND_WXUSE_ZLIB_BUILTIN=""
49576 fi
49577
49578
49579
49580 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49581 { { 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
49582 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;}
49583 { (exit 1); exit 1; }; }
49584 fi
49585
49586 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49587 { { 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
49588 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;}
49589 { (exit 1); exit 1; }; }
49590 fi
49591
49592
49593 case ${INSTALL} in
49594 /* ) # Absolute
49595 ;;
49596 ?:* ) # Drive letter, considered as absolute.
49597 ;;
49598 *)
49599 INSTALL=`pwd`/${INSTALL} ;;
49600 esac
49601
49602 if test "$wxUSE_GUI" = "yes"; then
49603
49604 if test "$wxUSE_MSW" = 1 ; then
49605 if test "x$WINDRES" = "x"; then
49606 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49607 echo "$as_me: error: Required windres program not found" >&2;}
49608 { (exit 1); exit 1; }; }
49609 fi
49610
49611 RESCOMP="$WINDRES"
49612 fi
49613
49614 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49615 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49616 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49617
49618 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49619
49620 # Extract the first word of "DeRez", so it can be a program name with args.
49621 set dummy DeRez; ac_word=$2
49622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49624 if test "${ac_cv_prog_DEREZ+set}" = set; then
49625 echo $ECHO_N "(cached) $ECHO_C" >&6
49626 else
49627 if test -n "$DEREZ"; then
49628 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49629 else
49630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49631 for as_dir in $PATH
49632 do
49633 IFS=$as_save_IFS
49634 test -z "$as_dir" && as_dir=.
49635 for ac_exec_ext in '' $ac_executable_extensions; do
49636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49637 ac_cv_prog_DEREZ="DeRez"
49638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49639 break 2
49640 fi
49641 done
49642 done
49643 IFS=$as_save_IFS
49644
49645 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49646 fi
49647 fi
49648 DEREZ=$ac_cv_prog_DEREZ
49649 if test -n "$DEREZ"; then
49650 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49651 echo "${ECHO_T}$DEREZ" >&6; }
49652 else
49653 { echo "$as_me:$LINENO: result: no" >&5
49654 echo "${ECHO_T}no" >&6; }
49655 fi
49656
49657
49658
49659 MACSETFILE="\$(SETFILE)"
49660
49661 if test "$wxUSE_MAC" = 1; then
49662 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49663 RESCOMP="$REZ"
49664 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49665 else
49666 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49667 RESCOMP="cat /dev/null \| $REZ"
49668 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49669 fi
49670
49671 else
49672 MACSETFILE="@true"
49673
49674 if test "$wxUSE_PM" = 1; then
49675 RESCOMP="emxbind"
49676 WXCONFIG_RESFLAGS="-ep"
49677
49678 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49679 else
49680 POSTLINK_COMMAND="@true"
49681 fi
49682 fi
49683
49684 fi
49685
49686
49687 if test $GCC_PCH = 1
49688 then
49689 if test "$wx_cv_gcc_pch_bug" = yes; then
49690 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49691 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49692 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49693 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49694 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49695 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49696 fi
49697
49698 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49699 fi
49700
49701
49702 if test "$wxUSE_MAC" = 1 ; then
49703 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49704 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49705 mv temp bk-deps
49706 chmod +x bk-deps
49707 fi
49708 fi
49709
49710 if test "$wxUSE_SHARED" = "yes"; then
49711 case "${host}" in
49712 *-pc-os2_emx | *-pc-os2-emx )
49713 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49714 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49715 cp -p ${srcdir}/src/os2/dllnames.sh .
49716 cp -p ${srcdir}/src/os2/dllar.sh .
49717 ;;
49718 esac
49719 fi
49720 if test "$wxUSE_OMF" = "yes"; then
49721 case "${host}" in
49722 *-pc-os2_emx | *-pc-os2-emx )
49723 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49724 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49725 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49726 ;;
49727 esac
49728 fi
49729
49730 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49731
49732
49733 case "${host}" in
49734 *-*-solaris2* )
49735 if test "$GCC" = yes; then
49736 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49737 LIBS=`echo $LIBS | sed 's/-mt//'`
49738 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49739 fi
49740 ;;
49741
49742 *-*-linux* )
49743 if test "x$SUNCXX" = xyes; then
49744 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49745 LIBS=`echo $LIBS | sed 's/-pthread//'`
49746 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49747 fi
49748 ;;
49749 esac
49750
49751 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49752 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49753
49754 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49817 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49818 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49819 echo $ECHO_N "(cached) $ECHO_C" >&6
49820 else
49821 cat >conftest.make <<\_ACEOF
49822 SHELL = /bin/sh
49823 all:
49824 @echo '@@@%%%=$(MAKE)=@@@%%%'
49825 _ACEOF
49826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49827 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49828 *@@@%%%=?*=@@@%%%*)
49829 eval ac_cv_prog_make_${ac_make}_set=yes;;
49830 *)
49831 eval ac_cv_prog_make_${ac_make}_set=no;;
49832 esac
49833 rm -f conftest.make
49834 fi
49835 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49836 { echo "$as_me:$LINENO: result: yes" >&5
49837 echo "${ECHO_T}yes" >&6; }
49838 SET_MAKE=
49839 else
49840 { echo "$as_me:$LINENO: result: no" >&5
49841 echo "${ECHO_T}no" >&6; }
49842 SET_MAKE="MAKE=${MAKE-make}"
49843 fi
49844
49845
49846
49847 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49848
49849
49850 if test "$USE_WIN32" = 1; then
49851 ac_config_commands="$ac_config_commands
49852 rcdefs.h
49853 "
49854
49855 fi
49856
49857 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49858
49859
49860 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49861
49862
49863 if test "$wx_cv_version_script" = "yes"; then
49864 ac_config_files="$ac_config_files version-script"
49865
49866 fi
49867 ac_config_files="$ac_config_files Makefile"
49868
49869
49870 ac_config_commands="$ac_config_commands wx-config"
49871
49872
49873
49874 if test "$wxWITH_SUBDIRS" != "no"; then
49875 if test "$wxUSE_GUI" = "yes"; then
49876 SUBDIRS="samples demos utils"
49877 else
49878 SUBDIRS="samples utils"
49879 fi
49880
49881
49882
49883 # Check whether --with-cppunit-prefix was given.
49884 if test "${with_cppunit_prefix+set}" = set; then
49885 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49886 else
49887 cppunit_config_prefix=""
49888 fi
49889
49890
49891 # Check whether --with-cppunit-exec-prefix was given.
49892 if test "${with_cppunit_exec_prefix+set}" = set; then
49893 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49894 else
49895 cppunit_config_exec_prefix=""
49896 fi
49897
49898
49899 if test x$cppunit_config_exec_prefix != x ; then
49900 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49901 if test x${CPPUNIT_CONFIG+set} != xset ; then
49902 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49903 fi
49904 fi
49905 if test x$cppunit_config_prefix != x ; then
49906 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49907 if test x${CPPUNIT_CONFIG+set} != xset ; then
49908 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49909 fi
49910 fi
49911
49912 # Extract the first word of "cppunit-config", so it can be a program name with args.
49913 set dummy cppunit-config; ac_word=$2
49914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49916 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49917 echo $ECHO_N "(cached) $ECHO_C" >&6
49918 else
49919 case $CPPUNIT_CONFIG in
49920 [\\/]* | ?:[\\/]*)
49921 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49922 ;;
49923 *)
49924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49925 for as_dir in $PATH
49926 do
49927 IFS=$as_save_IFS
49928 test -z "$as_dir" && as_dir=.
49929 for ac_exec_ext in '' $ac_executable_extensions; do
49930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49931 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49933 break 2
49934 fi
49935 done
49936 done
49937 IFS=$as_save_IFS
49938
49939 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49940 ;;
49941 esac
49942 fi
49943 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49944 if test -n "$CPPUNIT_CONFIG"; then
49945 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49946 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49947 else
49948 { echo "$as_me:$LINENO: result: no" >&5
49949 echo "${ECHO_T}no" >&6; }
49950 fi
49951
49952
49953 cppunit_version_min=1.8.0
49954
49955 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49956 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49957 no_cppunit=""
49958 if test "$CPPUNIT_CONFIG" = "no" ; then
49959 { echo "$as_me:$LINENO: result: no" >&5
49960 echo "${ECHO_T}no" >&6; }
49961 no_cppunit=yes
49962 else
49963 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49964 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49965 cppunit_version=`$CPPUNIT_CONFIG --version`
49966
49967 cppunit_major_version=`echo $cppunit_version | \
49968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49969 cppunit_minor_version=`echo $cppunit_version | \
49970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49971 cppunit_micro_version=`echo $cppunit_version | \
49972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49973
49974 cppunit_major_min=`echo $cppunit_version_min | \
49975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49976 cppunit_minor_min=`echo $cppunit_version_min | \
49977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49978 cppunit_micro_min=`echo $cppunit_version_min | \
49979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49980
49981 cppunit_version_proper=`expr \
49982 $cppunit_major_version \> $cppunit_major_min \| \
49983 $cppunit_major_version \= $cppunit_major_min \& \
49984 $cppunit_minor_version \> $cppunit_minor_min \| \
49985 $cppunit_major_version \= $cppunit_major_min \& \
49986 $cppunit_minor_version \= $cppunit_minor_min \& \
49987 $cppunit_micro_version \>= $cppunit_micro_min `
49988
49989 if test "$cppunit_version_proper" = "1" ; then
49990 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49991 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49992 else
49993 { echo "$as_me:$LINENO: result: no" >&5
49994 echo "${ECHO_T}no" >&6; }
49995 no_cppunit=yes
49996 fi
49997 fi
49998
49999 if test "x$no_cppunit" = x ; then
50000 SUBDIRS="$SUBDIRS tests"
50001 else
50002 CPPUNIT_CFLAGS=""
50003 CPPUNIT_LIBS=""
50004 :
50005 fi
50006
50007
50008
50009
50010
50011 for subdir in $SUBDIRS; do
50012 if test -d ${srcdir}/${subdir} ; then
50013 if test "$wxUSE_GUI" = "yes"; then
50014 if test ${subdir} = "samples"; then
50015 makefiles="samples/Makefile.in $makefiles"
50016 for sample in $SAMPLES_SUBDIRS; do
50017 if test -d $srcdir/samples/$sample; then
50018 makefiles="samples/$sample/Makefile.in $makefiles"
50019 fi
50020 done
50021 else
50022 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
50023 eval "disabled=\$$disabled_var"
50024 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50025 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50026 fi
50027 else
50028 if test ${subdir} = "samples"; then
50029 makefiles="samples/Makefile.in samples/console/Makefile.in"
50030 elif test ${subdir} = "utils"; then
50031 makefiles=""
50032 for util in HelpGen tex2rtf ; do
50033 if test -d $srcdir/utils/$util ; then
50034 makefiles="utils/$util/Makefile.in \
50035 utils/$util/src/Makefile.in \
50036 $makefiles"
50037 fi
50038 done
50039 else
50040 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50041 fi
50042 fi
50043
50044 for mkin in $makefiles ; do
50045 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50046 ac_config_files="$ac_config_files $mk"
50047
50048 done
50049 fi
50050 done
50051 fi
50052 cat >confcache <<\_ACEOF
50053 # This file is a shell script that caches the results of configure
50054 # tests run on this system so they can be shared between configure
50055 # scripts and configure runs, see configure's option --config-cache.
50056 # It is not useful on other systems. If it contains results you don't
50057 # want to keep, you may remove or edit it.
50058 #
50059 # config.status only pays attention to the cache file if you give it
50060 # the --recheck option to rerun configure.
50061 #
50062 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50063 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50064 # following values.
50065
50066 _ACEOF
50067
50068 # The following way of writing the cache mishandles newlines in values,
50069 # but we know of no workaround that is simple, portable, and efficient.
50070 # So, we kill variables containing newlines.
50071 # Ultrix sh set writes to stderr and can't be redirected directly,
50072 # and sets the high bit in the cache file unless we assign to the vars.
50073 (
50074 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50075 eval ac_val=\$$ac_var
50076 case $ac_val in #(
50077 *${as_nl}*)
50078 case $ac_var in #(
50079 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50080 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50081 esac
50082 case $ac_var in #(
50083 _ | IFS | as_nl) ;; #(
50084 *) $as_unset $ac_var ;;
50085 esac ;;
50086 esac
50087 done
50088
50089 (set) 2>&1 |
50090 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50091 *${as_nl}ac_space=\ *)
50092 # `set' does not quote correctly, so add quotes (double-quote
50093 # substitution turns \\\\ into \\, and sed turns \\ into \).
50094 sed -n \
50095 "s/'/'\\\\''/g;
50096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50097 ;; #(
50098 *)
50099 # `set' quotes correctly as required by POSIX, so do not add quotes.
50100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50101 ;;
50102 esac |
50103 sort
50104 ) |
50105 sed '
50106 /^ac_cv_env_/b end
50107 t clear
50108 :clear
50109 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50110 t end
50111 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50112 :end' >>confcache
50113 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50114 if test -w "$cache_file"; then
50115 test "x$cache_file" != "x/dev/null" &&
50116 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50117 echo "$as_me: updating cache $cache_file" >&6;}
50118 cat confcache >$cache_file
50119 else
50120 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50121 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50122 fi
50123 fi
50124 rm -f confcache
50125
50126 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50127 # Let make expand exec_prefix.
50128 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50129
50130 DEFS=-DHAVE_CONFIG_H
50131
50132 ac_libobjs=
50133 ac_ltlibobjs=
50134 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50135 # 1. Remove the extension, and $U if already installed.
50136 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50137 ac_i=`echo "$ac_i" | sed "$ac_script"`
50138 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50139 # will be set to the directory where LIBOBJS objects are built.
50140 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50141 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50142 done
50143 LIBOBJS=$ac_libobjs
50144
50145 LTLIBOBJS=$ac_ltlibobjs
50146
50147
50148
50149 : ${CONFIG_STATUS=./config.status}
50150 ac_clean_files_save=$ac_clean_files
50151 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50154 cat >$CONFIG_STATUS <<_ACEOF
50155 #! $SHELL
50156 # Generated by $as_me.
50157 # Run this file to recreate the current configuration.
50158 # Compiler output produced by configure, useful for debugging
50159 # configure, is in config.log if it exists.
50160
50161 debug=false
50162 ac_cs_recheck=false
50163 ac_cs_silent=false
50164 SHELL=\${CONFIG_SHELL-$SHELL}
50165 _ACEOF
50166
50167 cat >>$CONFIG_STATUS <<\_ACEOF
50168 ## --------------------- ##
50169 ## M4sh Initialization. ##
50170 ## --------------------- ##
50171
50172 # Be more Bourne compatible
50173 DUALCASE=1; export DUALCASE # for MKS sh
50174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50175 emulate sh
50176 NULLCMD=:
50177 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50178 # is contrary to our usage. Disable this feature.
50179 alias -g '${1+"$@"}'='"$@"'
50180 setopt NO_GLOB_SUBST
50181 else
50182 case `(set -o) 2>/dev/null` in
50183 *posix*) set -o posix ;;
50184 esac
50185
50186 fi
50187
50188
50189
50190
50191 # PATH needs CR
50192 # Avoid depending upon Character Ranges.
50193 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50194 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50195 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50196 as_cr_digits='0123456789'
50197 as_cr_alnum=$as_cr_Letters$as_cr_digits
50198
50199 # The user is always right.
50200 if test "${PATH_SEPARATOR+set}" != set; then
50201 echo "#! /bin/sh" >conf$$.sh
50202 echo "exit 0" >>conf$$.sh
50203 chmod +x conf$$.sh
50204 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50205 PATH_SEPARATOR=';'
50206 else
50207 PATH_SEPARATOR=:
50208 fi
50209 rm -f conf$$.sh
50210 fi
50211
50212 # Support unset when possible.
50213 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50214 as_unset=unset
50215 else
50216 as_unset=false
50217 fi
50218
50219
50220 # IFS
50221 # We need space, tab and new line, in precisely that order. Quoting is
50222 # there to prevent editors from complaining about space-tab.
50223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50224 # splitting by setting IFS to empty value.)
50225 as_nl='
50226 '
50227 IFS=" "" $as_nl"
50228
50229 # Find who we are. Look in the path if we contain no directory separator.
50230 case $0 in
50231 *[\\/]* ) as_myself=$0 ;;
50232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50233 for as_dir in $PATH
50234 do
50235 IFS=$as_save_IFS
50236 test -z "$as_dir" && as_dir=.
50237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50238 done
50239 IFS=$as_save_IFS
50240
50241 ;;
50242 esac
50243 # We did not find ourselves, most probably we were run as `sh COMMAND'
50244 # in which case we are not to be found in the path.
50245 if test "x$as_myself" = x; then
50246 as_myself=$0
50247 fi
50248 if test ! -f "$as_myself"; then
50249 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50250 { (exit 1); exit 1; }
50251 fi
50252
50253 # Work around bugs in pre-3.0 UWIN ksh.
50254 for as_var in ENV MAIL MAILPATH
50255 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50256 done
50257 PS1='$ '
50258 PS2='> '
50259 PS4='+ '
50260
50261 # NLS nuisances.
50262 for as_var in \
50263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50265 LC_TELEPHONE LC_TIME
50266 do
50267 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50268 eval $as_var=C; export $as_var
50269 else
50270 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50271 fi
50272 done
50273
50274 # Required to use basename.
50275 if expr a : '\(a\)' >/dev/null 2>&1 &&
50276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50277 as_expr=expr
50278 else
50279 as_expr=false
50280 fi
50281
50282 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50283 as_basename=basename
50284 else
50285 as_basename=false
50286 fi
50287
50288
50289 # Name of the executable.
50290 as_me=`$as_basename -- "$0" ||
50291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50292 X"$0" : 'X\(//\)$' \| \
50293 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50294 echo X/"$0" |
50295 sed '/^.*\/\([^/][^/]*\)\/*$/{
50296 s//\1/
50297 q
50298 }
50299 /^X\/\(\/\/\)$/{
50300 s//\1/
50301 q
50302 }
50303 /^X\/\(\/\).*/{
50304 s//\1/
50305 q
50306 }
50307 s/.*/./; q'`
50308
50309 # CDPATH.
50310 $as_unset CDPATH
50311
50312
50313
50314 as_lineno_1=$LINENO
50315 as_lineno_2=$LINENO
50316 test "x$as_lineno_1" != "x$as_lineno_2" &&
50317 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50318
50319 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50320 # uniformly replaced by the line number. The first 'sed' inserts a
50321 # line-number line after each line using $LINENO; the second 'sed'
50322 # does the real work. The second script uses 'N' to pair each
50323 # line-number line with the line containing $LINENO, and appends
50324 # trailing '-' during substitution so that $LINENO is not a special
50325 # case at line end.
50326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50327 # scripts with optimization help from Paolo Bonzini. Blame Lee
50328 # E. McMahon (1931-1989) for sed's syntax. :-)
50329 sed -n '
50330 p
50331 /[$]LINENO/=
50332 ' <$as_myself |
50333 sed '
50334 s/[$]LINENO.*/&-/
50335 t lineno
50336 b
50337 :lineno
50338 N
50339 :loop
50340 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50341 t loop
50342 s/-\n.*//
50343 ' >$as_me.lineno &&
50344 chmod +x "$as_me.lineno" ||
50345 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50346 { (exit 1); exit 1; }; }
50347
50348 # Don't try to exec as it changes $[0], causing all sort of problems
50349 # (the dirname of $[0] is not the place where we might find the
50350 # original and so on. Autoconf is especially sensitive to this).
50351 . "./$as_me.lineno"
50352 # Exit status is that of the last command.
50353 exit
50354 }
50355
50356
50357 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50358 as_dirname=dirname
50359 else
50360 as_dirname=false
50361 fi
50362
50363 ECHO_C= ECHO_N= ECHO_T=
50364 case `echo -n x` in
50365 -n*)
50366 case `echo 'x\c'` in
50367 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50368 *) ECHO_C='\c';;
50369 esac;;
50370 *)
50371 ECHO_N='-n';;
50372 esac
50373
50374 if expr a : '\(a\)' >/dev/null 2>&1 &&
50375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50376 as_expr=expr
50377 else
50378 as_expr=false
50379 fi
50380
50381 rm -f conf$$ conf$$.exe conf$$.file
50382 if test -d conf$$.dir; then
50383 rm -f conf$$.dir/conf$$.file
50384 else
50385 rm -f conf$$.dir
50386 mkdir conf$$.dir
50387 fi
50388 echo >conf$$.file
50389 if ln -s conf$$.file conf$$ 2>/dev/null; then
50390 as_ln_s='ln -s'
50391 # ... but there are two gotchas:
50392 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50393 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50394 # In both cases, we have to default to `cp -p'.
50395 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50396 as_ln_s='cp -p'
50397 elif ln conf$$.file conf$$ 2>/dev/null; then
50398 as_ln_s=ln
50399 else
50400 as_ln_s='cp -p'
50401 fi
50402 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50403 rmdir conf$$.dir 2>/dev/null
50404
50405 if mkdir -p . 2>/dev/null; then
50406 as_mkdir_p=:
50407 else
50408 test -d ./-p && rmdir ./-p
50409 as_mkdir_p=false
50410 fi
50411
50412 if test -x / >/dev/null 2>&1; then
50413 as_test_x='test -x'
50414 else
50415 if ls -dL / >/dev/null 2>&1; then
50416 as_ls_L_option=L
50417 else
50418 as_ls_L_option=
50419 fi
50420 as_test_x='
50421 eval sh -c '\''
50422 if test -d "$1"; then
50423 test -d "$1/.";
50424 else
50425 case $1 in
50426 -*)set "./$1";;
50427 esac;
50428 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50429 ???[sx]*):;;*)false;;esac;fi
50430 '\'' sh
50431 '
50432 fi
50433 as_executable_p=$as_test_x
50434
50435 # Sed expression to map a string onto a valid CPP name.
50436 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50437
50438 # Sed expression to map a string onto a valid variable name.
50439 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50440
50441
50442 exec 6>&1
50443
50444 # Save the log message, to keep $[0] and so on meaningful, and to
50445 # report actual input values of CONFIG_FILES etc. instead of their
50446 # values after options handling.
50447 ac_log="
50448 This file was extended by wxWidgets $as_me 2.9.0, which was
50449 generated by GNU Autoconf 2.61. Invocation command line was
50450
50451 CONFIG_FILES = $CONFIG_FILES
50452 CONFIG_HEADERS = $CONFIG_HEADERS
50453 CONFIG_LINKS = $CONFIG_LINKS
50454 CONFIG_COMMANDS = $CONFIG_COMMANDS
50455 $ $0 $@
50456
50457 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50458 "
50459
50460 _ACEOF
50461
50462 cat >>$CONFIG_STATUS <<_ACEOF
50463 # Files that config.status was made for.
50464 config_files="$ac_config_files"
50465 config_headers="$ac_config_headers"
50466 config_commands="$ac_config_commands"
50467
50468 _ACEOF
50469
50470 cat >>$CONFIG_STATUS <<\_ACEOF
50471 ac_cs_usage="\
50472 \`$as_me' instantiates files from templates according to the
50473 current configuration.
50474
50475 Usage: $0 [OPTIONS] [FILE]...
50476
50477 -h, --help print this help, then exit
50478 -V, --version print version number and configuration settings, then exit
50479 -q, --quiet do not print progress messages
50480 -d, --debug don't remove temporary files
50481 --recheck update $as_me by reconfiguring in the same conditions
50482 --file=FILE[:TEMPLATE]
50483 instantiate the configuration file FILE
50484 --header=FILE[:TEMPLATE]
50485 instantiate the configuration header FILE
50486
50487 Configuration files:
50488 $config_files
50489
50490 Configuration headers:
50491 $config_headers
50492
50493 Configuration commands:
50494 $config_commands
50495
50496 Report bugs to <bug-autoconf@gnu.org>."
50497
50498 _ACEOF
50499 cat >>$CONFIG_STATUS <<_ACEOF
50500 ac_cs_version="\\
50501 wxWidgets config.status 2.9.0
50502 configured by $0, generated by GNU Autoconf 2.61,
50503 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50504
50505 Copyright (C) 2006 Free Software Foundation, Inc.
50506 This config.status script is free software; the Free Software Foundation
50507 gives unlimited permission to copy, distribute and modify it."
50508
50509 ac_pwd='$ac_pwd'
50510 srcdir='$srcdir'
50511 INSTALL='$INSTALL'
50512 _ACEOF
50513
50514 cat >>$CONFIG_STATUS <<\_ACEOF
50515 # If no file are specified by the user, then we need to provide default
50516 # value. By we need to know if files were specified by the user.
50517 ac_need_defaults=:
50518 while test $# != 0
50519 do
50520 case $1 in
50521 --*=*)
50522 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50523 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50524 ac_shift=:
50525 ;;
50526 *)
50527 ac_option=$1
50528 ac_optarg=$2
50529 ac_shift=shift
50530 ;;
50531 esac
50532
50533 case $ac_option in
50534 # Handling of the options.
50535 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50536 ac_cs_recheck=: ;;
50537 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50538 echo "$ac_cs_version"; exit ;;
50539 --debug | --debu | --deb | --de | --d | -d )
50540 debug=: ;;
50541 --file | --fil | --fi | --f )
50542 $ac_shift
50543 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50544 ac_need_defaults=false;;
50545 --header | --heade | --head | --hea )
50546 $ac_shift
50547 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50548 ac_need_defaults=false;;
50549 --he | --h)
50550 # Conflict between --help and --header
50551 { echo "$as_me: error: ambiguous option: $1
50552 Try \`$0 --help' for more information." >&2
50553 { (exit 1); exit 1; }; };;
50554 --help | --hel | -h )
50555 echo "$ac_cs_usage"; exit ;;
50556 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50557 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50558 ac_cs_silent=: ;;
50559
50560 # This is an error.
50561 -*) { echo "$as_me: error: unrecognized option: $1
50562 Try \`$0 --help' for more information." >&2
50563 { (exit 1); exit 1; }; } ;;
50564
50565 *) ac_config_targets="$ac_config_targets $1"
50566 ac_need_defaults=false ;;
50567
50568 esac
50569 shift
50570 done
50571
50572 ac_configure_extra_args=
50573
50574 if $ac_cs_silent; then
50575 exec 6>/dev/null
50576 ac_configure_extra_args="$ac_configure_extra_args --silent"
50577 fi
50578
50579 _ACEOF
50580 cat >>$CONFIG_STATUS <<_ACEOF
50581 if \$ac_cs_recheck; then
50582 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50583 CONFIG_SHELL=$SHELL
50584 export CONFIG_SHELL
50585 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50586 fi
50587
50588 _ACEOF
50589 cat >>$CONFIG_STATUS <<\_ACEOF
50590 exec 5>>config.log
50591 {
50592 echo
50593 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50594 ## Running $as_me. ##
50595 _ASBOX
50596 echo "$ac_log"
50597 } >&5
50598
50599 _ACEOF
50600 cat >>$CONFIG_STATUS <<_ACEOF
50601 #
50602 # INIT-COMMANDS
50603 #
50604
50605 CPP="$CPP"
50606 infile="$srcdir/include/wx/msw/genrcdefs.h"
50607 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50608
50609
50610 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50611 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50612 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50613 LN_S="${LN_S}"
50614
50615
50616 _ACEOF
50617
50618 cat >>$CONFIG_STATUS <<\_ACEOF
50619
50620 # Handling of arguments.
50621 for ac_config_target in $ac_config_targets
50622 do
50623 case $ac_config_target in
50624 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50625 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50626 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50627 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50628 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50629 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50630 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50631 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50632
50633 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50634 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50635 { (exit 1); exit 1; }; };;
50636 esac
50637 done
50638
50639
50640 # If the user did not use the arguments to specify the items to instantiate,
50641 # then the envvar interface is used. Set only those that are not.
50642 # We use the long form for the default assignment because of an extremely
50643 # bizarre bug on SunOS 4.1.3.
50644 if $ac_need_defaults; then
50645 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50646 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50647 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50648 fi
50649
50650 # Have a temporary directory for convenience. Make it in the build tree
50651 # simply because there is no reason against having it here, and in addition,
50652 # creating and moving files from /tmp can sometimes cause problems.
50653 # Hook for its removal unless debugging.
50654 # Note that there is a small window in which the directory will not be cleaned:
50655 # after its creation but before its name has been assigned to `$tmp'.
50656 $debug ||
50657 {
50658 tmp=
50659 trap 'exit_status=$?
50660 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50661 ' 0
50662 trap '{ (exit 1); exit 1; }' 1 2 13 15
50663 }
50664 # Create a (secure) tmp directory for tmp files.
50665
50666 {
50667 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50668 test -n "$tmp" && test -d "$tmp"
50669 } ||
50670 {
50671 tmp=./conf$$-$RANDOM
50672 (umask 077 && mkdir "$tmp")
50673 } ||
50674 {
50675 echo "$me: cannot create a temporary directory in ." >&2
50676 { (exit 1); exit 1; }
50677 }
50678
50679 #
50680 # Set up the sed scripts for CONFIG_FILES section.
50681 #
50682
50683 # No need to generate the scripts if there are no CONFIG_FILES.
50684 # This happens for instance when ./config.status config.h
50685 if test -n "$CONFIG_FILES"; then
50686
50687 _ACEOF
50688
50689
50690
50691 ac_delim='%!_!# '
50692 for ac_last_try in false false false false false :; do
50693 cat >conf$$subs.sed <<_ACEOF
50694 SHELL!$SHELL$ac_delim
50695 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50696 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50697 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50698 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50699 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50700 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50701 exec_prefix!$exec_prefix$ac_delim
50702 prefix!$prefix$ac_delim
50703 program_transform_name!$program_transform_name$ac_delim
50704 bindir!$bindir$ac_delim
50705 sbindir!$sbindir$ac_delim
50706 libexecdir!$libexecdir$ac_delim
50707 datarootdir!$datarootdir$ac_delim
50708 datadir!$datadir$ac_delim
50709 sysconfdir!$sysconfdir$ac_delim
50710 sharedstatedir!$sharedstatedir$ac_delim
50711 localstatedir!$localstatedir$ac_delim
50712 includedir!$includedir$ac_delim
50713 oldincludedir!$oldincludedir$ac_delim
50714 docdir!$docdir$ac_delim
50715 infodir!$infodir$ac_delim
50716 htmldir!$htmldir$ac_delim
50717 dvidir!$dvidir$ac_delim
50718 pdfdir!$pdfdir$ac_delim
50719 psdir!$psdir$ac_delim
50720 libdir!$libdir$ac_delim
50721 localedir!$localedir$ac_delim
50722 mandir!$mandir$ac_delim
50723 DEFS!$DEFS$ac_delim
50724 ECHO_C!$ECHO_C$ac_delim
50725 ECHO_N!$ECHO_N$ac_delim
50726 ECHO_T!$ECHO_T$ac_delim
50727 LIBS!$LIBS$ac_delim
50728 build_alias!$build_alias$ac_delim
50729 host_alias!$host_alias$ac_delim
50730 target_alias!$target_alias$ac_delim
50731 build!$build$ac_delim
50732 build_cpu!$build_cpu$ac_delim
50733 build_vendor!$build_vendor$ac_delim
50734 build_os!$build_os$ac_delim
50735 host!$host$ac_delim
50736 host_cpu!$host_cpu$ac_delim
50737 host_vendor!$host_vendor$ac_delim
50738 host_os!$host_os$ac_delim
50739 target!$target$ac_delim
50740 target_cpu!$target_cpu$ac_delim
50741 target_vendor!$target_vendor$ac_delim
50742 target_os!$target_os$ac_delim
50743 wx_top_builddir!$wx_top_builddir$ac_delim
50744 CC!$CC$ac_delim
50745 CFLAGS!$CFLAGS$ac_delim
50746 LDFLAGS!$LDFLAGS$ac_delim
50747 CPPFLAGS!$CPPFLAGS$ac_delim
50748 ac_ct_CC!$ac_ct_CC$ac_delim
50749 EXEEXT!$EXEEXT$ac_delim
50750 OBJEXT!$OBJEXT$ac_delim
50751 CPP!$CPP$ac_delim
50752 GREP!$GREP$ac_delim
50753 EGREP!$EGREP$ac_delim
50754 CXX!$CXX$ac_delim
50755 CXXFLAGS!$CXXFLAGS$ac_delim
50756 ac_ct_CXX!$ac_ct_CXX$ac_delim
50757 AR!$AR$ac_delim
50758 subdirs!$subdirs$ac_delim
50759 PKG_CONFIG!$PKG_CONFIG$ac_delim
50760 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50761 GTK_LIBS!$GTK_LIBS$ac_delim
50762 GTK_CONFIG!$GTK_CONFIG$ac_delim
50763 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50764 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50765 XMKMF!$XMKMF$ac_delim
50766 X_CFLAGS!$X_CFLAGS$ac_delim
50767 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50768 X_LIBS!$X_LIBS$ac_delim
50769 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50770 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50771 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50772 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50773 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50774 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50775 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50776 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50777 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50778 LIBICONV!$LIBICONV$ac_delim
50779 SDL_CONFIG!$SDL_CONFIG$ac_delim
50780 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50781 SDL_LIBS!$SDL_LIBS$ac_delim
50782 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50783 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50784 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50785 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50786 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50787 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50788 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50789 HILDON_LIBS!$HILDON_LIBS$ac_delim
50790 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50791 _ACEOF
50792
50793 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50794 break
50795 elif $ac_last_try; then
50796 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50797 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50798 { (exit 1); exit 1; }; }
50799 else
50800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50801 fi
50802 done
50803
50804 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50805 if test -n "$ac_eof"; then
50806 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50807 ac_eof=`expr $ac_eof + 1`
50808 fi
50809
50810 cat >>$CONFIG_STATUS <<_ACEOF
50811 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50813 _ACEOF
50814 sed '
50815 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50816 s/^/s,@/; s/!/@,|#_!!_#|/
50817 :n
50818 t n
50819 s/'"$ac_delim"'$/,g/; t
50820 s/$/\\/; p
50821 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50822 ' >>$CONFIG_STATUS <conf$$subs.sed
50823 rm -f conf$$subs.sed
50824 cat >>$CONFIG_STATUS <<_ACEOF
50825 CEOF$ac_eof
50826 _ACEOF
50827
50828
50829 ac_delim='%!_!# '
50830 for ac_last_try in false false false false false :; do
50831 cat >conf$$subs.sed <<_ACEOF
50832 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50833 GST_CFLAGS!$GST_CFLAGS$ac_delim
50834 GST_LIBS!$GST_LIBS$ac_delim
50835 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50836 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50837 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50838 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50839 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50840 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50841 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50842 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50843 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50844 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50845 VENDOR!$VENDOR$ac_delim
50846 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50847 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50848 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50849 WXUNIV!$WXUNIV$ac_delim
50850 MONOLITHIC!$MONOLITHIC$ac_delim
50851 USE_PLUGINS!$USE_PLUGINS$ac_delim
50852 CXXWARNINGS!$CXXWARNINGS$ac_delim
50853 EXTRALIBS!$EXTRALIBS$ac_delim
50854 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50855 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50856 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50857 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50858 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50859 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50860 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50861 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50862 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50863 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50864 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50865 UNICODE!$UNICODE$ac_delim
50866 BUILD!$BUILD$ac_delim
50867 DEBUG_INFO!$DEBUG_INFO$ac_delim
50868 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50869 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50870 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50871 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50872 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50873 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50874 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50875 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50876 RANLIB!$RANLIB$ac_delim
50877 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50878 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50879 INSTALL_DATA!$INSTALL_DATA$ac_delim
50880 LN_S!$LN_S$ac_delim
50881 SET_MAKE!$SET_MAKE$ac_delim
50882 MAKE_SET!$MAKE_SET$ac_delim
50883 AROPTIONS!$AROPTIONS$ac_delim
50884 STRIP!$STRIP$ac_delim
50885 NM!$NM$ac_delim
50886 INSTALL_DIR!$INSTALL_DIR$ac_delim
50887 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50888 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50889 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50890 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50891 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50892 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50893 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50894 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50895 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50896 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50897 SO_SUFFIX!$SO_SUFFIX$ac_delim
50898 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50899 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50900 LIBPREFIX!$LIBPREFIX$ac_delim
50901 LIBEXT!$LIBEXT$ac_delim
50902 DLLPREFIX!$DLLPREFIX$ac_delim
50903 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50904 dlldir!$dlldir$ac_delim
50905 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50906 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50907 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50908 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50909 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50910 PIC_FLAG!$PIC_FLAG$ac_delim
50911 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50912 USE_SOVERSION!$USE_SOVERSION$ac_delim
50913 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50914 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50915 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50916 USE_MACVERSION!$USE_MACVERSION$ac_delim
50917 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50918 SONAME_FLAG!$SONAME_FLAG$ac_delim
50919 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50920 BK_DEPS!$BK_DEPS$ac_delim
50921 WINDRES!$WINDRES$ac_delim
50922 REZ!$REZ$ac_delim
50923 SETFILE!$SETFILE$ac_delim
50924 GCC_PCH!$GCC_PCH$ac_delim
50925 ICC_PCH!$ICC_PCH$ac_delim
50926 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50927 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50928 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50929 _ACEOF
50930
50931 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50932 break
50933 elif $ac_last_try; then
50934 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50935 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50936 { (exit 1); exit 1; }; }
50937 else
50938 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50939 fi
50940 done
50941
50942 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50943 if test -n "$ac_eof"; then
50944 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50945 ac_eof=`expr $ac_eof + 1`
50946 fi
50947
50948 cat >>$CONFIG_STATUS <<_ACEOF
50949 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50951 _ACEOF
50952 sed '
50953 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50954 s/^/s,@/; s/!/@,|#_!!_#|/
50955 :n
50956 t n
50957 s/'"$ac_delim"'$/,g/; t
50958 s/$/\\/; p
50959 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50960 ' >>$CONFIG_STATUS <conf$$subs.sed
50961 rm -f conf$$subs.sed
50962 cat >>$CONFIG_STATUS <<_ACEOF
50963 CEOF$ac_eof
50964 _ACEOF
50965
50966
50967 ac_delim='%!_!# '
50968 for ac_last_try in false false false false false :; do
50969 cat >conf$$subs.sed <<_ACEOF
50970 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50971 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50972 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50973 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50974 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50975 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50976 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50977 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50978 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50979 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50980 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50981 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50982 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50983 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50984 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50985 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50986 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50991 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50992 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50993 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50994 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50995 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50996 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50997 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50998 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51000 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51001 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51002 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51003 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51004 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51005 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51006 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51007 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51008 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51009 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51010 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51011 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51012 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51013 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51014 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51015 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51016 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51017 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51018 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51019 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51020 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51021 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51022 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51023 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51024 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51025 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51026 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51027 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51028 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51029 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51030 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51031 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51032 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51033 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51034 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51035 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51036 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51037 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51038 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51039 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51040 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51041 COND_SHARED_0!$COND_SHARED_0$ac_delim
51042 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51043 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51044 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51045 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51047 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51048 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51049 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51050 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51051 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51052 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51053 COND_SHARED_1!$COND_SHARED_1$ac_delim
51054 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51055 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51056 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51057 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51059 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51060 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51063 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51066 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51067 _ACEOF
51068
51069 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51070 break
51071 elif $ac_last_try; then
51072 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51073 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51074 { (exit 1); exit 1; }; }
51075 else
51076 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51077 fi
51078 done
51079
51080 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51081 if test -n "$ac_eof"; then
51082 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51083 ac_eof=`expr $ac_eof + 1`
51084 fi
51085
51086 cat >>$CONFIG_STATUS <<_ACEOF
51087 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51089 _ACEOF
51090 sed '
51091 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51092 s/^/s,@/; s/!/@,|#_!!_#|/
51093 :n
51094 t n
51095 s/'"$ac_delim"'$/,g/; t
51096 s/$/\\/; p
51097 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51098 ' >>$CONFIG_STATUS <conf$$subs.sed
51099 rm -f conf$$subs.sed
51100 cat >>$CONFIG_STATUS <<_ACEOF
51101 CEOF$ac_eof
51102 _ACEOF
51103
51104
51105 ac_delim='%!_!# '
51106 for ac_last_try in false false false false false :; do
51107 cat >conf$$subs.sed <<_ACEOF
51108 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51109 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51110 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51111 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51112 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51113 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51114 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51115 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51116 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51117 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51118 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51119 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51120 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51121 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51122 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51123 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51124 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51125 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51126 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51127 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51128 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51129 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51130 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51131 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51132 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51133 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51134 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51135 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51136 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51137 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51138 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51139 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51140 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51141 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51142 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51143 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51144 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51145 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51146 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51147 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51148 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51149 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51150 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51151 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51152 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51153 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51154 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51155 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51156 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51157 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51158 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51159 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51160 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51161 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51162 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51163 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51164 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51165 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51166 DEREZ!$DEREZ$ac_delim
51167 SHARED!$SHARED$ac_delim
51168 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51169 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51170 USE_GUI!$USE_GUI$ac_delim
51171 AFMINSTALL!$AFMINSTALL$ac_delim
51172 WIN32INSTALL!$WIN32INSTALL$ac_delim
51173 TOOLKIT!$TOOLKIT$ac_delim
51174 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51175 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51176 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51177 cross_compiling!$cross_compiling$ac_delim
51178 WIDGET_SET!$WIDGET_SET$ac_delim
51179 WX_RELEASE!$WX_RELEASE$ac_delim
51180 WX_VERSION!$WX_VERSION$ac_delim
51181 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51182 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51183 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51184 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51185 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51186 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51187 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51188 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51189 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51190 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51191 GUIDIST!$GUIDIST$ac_delim
51192 DISTDIR!$DISTDIR$ac_delim
51193 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51194 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51195 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51196 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51197 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51198 RESCOMP!$RESCOMP$ac_delim
51199 RESFLAGS!$RESFLAGS$ac_delim
51200 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51201 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51202 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51203 LIBWXMACRES!$LIBWXMACRES$ac_delim
51204 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51205 _ACEOF
51206
51207 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51208 break
51209 elif $ac_last_try; then
51210 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51211 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51212 { (exit 1); exit 1; }; }
51213 else
51214 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51215 fi
51216 done
51217
51218 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51219 if test -n "$ac_eof"; then
51220 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51221 ac_eof=`expr $ac_eof + 1`
51222 fi
51223
51224 cat >>$CONFIG_STATUS <<_ACEOF
51225 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51227 _ACEOF
51228 sed '
51229 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51230 s/^/s,@/; s/!/@,|#_!!_#|/
51231 :n
51232 t n
51233 s/'"$ac_delim"'$/,g/; t
51234 s/$/\\/; p
51235 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51236 ' >>$CONFIG_STATUS <conf$$subs.sed
51237 rm -f conf$$subs.sed
51238 cat >>$CONFIG_STATUS <<_ACEOF
51239 CEOF$ac_eof
51240 _ACEOF
51241
51242
51243 ac_delim='%!_!# '
51244 for ac_last_try in false false false false false :; do
51245 cat >conf$$subs.sed <<_ACEOF
51246 MACSETFILE!$MACSETFILE$ac_delim
51247 GCC!$GCC$ac_delim
51248 DLLTOOL!$DLLTOOL$ac_delim
51249 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51250 LIBOBJS!$LIBOBJS$ac_delim
51251 LTLIBOBJS!$LTLIBOBJS$ac_delim
51252 _ACEOF
51253
51254 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51255 break
51256 elif $ac_last_try; then
51257 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51258 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51259 { (exit 1); exit 1; }; }
51260 else
51261 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51262 fi
51263 done
51264
51265 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51266 if test -n "$ac_eof"; then
51267 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51268 ac_eof=`expr $ac_eof + 1`
51269 fi
51270
51271 cat >>$CONFIG_STATUS <<_ACEOF
51272 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51273 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51274 _ACEOF
51275 sed '
51276 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51277 s/^/s,@/; s/!/@,|#_!!_#|/
51278 :n
51279 t n
51280 s/'"$ac_delim"'$/,g/; t
51281 s/$/\\/; p
51282 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51283 ' >>$CONFIG_STATUS <conf$$subs.sed
51284 rm -f conf$$subs.sed
51285 cat >>$CONFIG_STATUS <<_ACEOF
51286 :end
51287 s/|#_!!_#|//g
51288 CEOF$ac_eof
51289 _ACEOF
51290
51291
51292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51294 # trailing colons and then remove the whole line if VPATH becomes empty
51295 # (actually we leave an empty line to preserve line numbers).
51296 if test "x$srcdir" = x.; then
51297 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51298 s/:*\$(srcdir):*/:/
51299 s/:*\${srcdir}:*/:/
51300 s/:*@srcdir@:*/:/
51301 s/^\([^=]*=[ ]*\):*/\1/
51302 s/:*$//
51303 s/^[^=]*=[ ]*$//
51304 }'
51305 fi
51306
51307 cat >>$CONFIG_STATUS <<\_ACEOF
51308 fi # test -n "$CONFIG_FILES"
51309
51310
51311 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51312 do
51313 case $ac_tag in
51314 :[FHLC]) ac_mode=$ac_tag; continue;;
51315 esac
51316 case $ac_mode$ac_tag in
51317 :[FHL]*:*);;
51318 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51319 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51320 { (exit 1); exit 1; }; };;
51321 :[FH]-) ac_tag=-:-;;
51322 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51323 esac
51324 ac_save_IFS=$IFS
51325 IFS=:
51326 set x $ac_tag
51327 IFS=$ac_save_IFS
51328 shift
51329 ac_file=$1
51330 shift
51331
51332 case $ac_mode in
51333 :L) ac_source=$1;;
51334 :[FH])
51335 ac_file_inputs=
51336 for ac_f
51337 do
51338 case $ac_f in
51339 -) ac_f="$tmp/stdin";;
51340 *) # Look for the file first in the build tree, then in the source tree
51341 # (if the path is not absolute). The absolute path cannot be DOS-style,
51342 # because $ac_f cannot contain `:'.
51343 test -f "$ac_f" ||
51344 case $ac_f in
51345 [\\/$]*) false;;
51346 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51347 esac ||
51348 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51349 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51350 { (exit 1); exit 1; }; };;
51351 esac
51352 ac_file_inputs="$ac_file_inputs $ac_f"
51353 done
51354
51355 # Let's still pretend it is `configure' which instantiates (i.e., don't
51356 # use $as_me), people would be surprised to read:
51357 # /* config.h. Generated by config.status. */
51358 configure_input="Generated from "`IFS=:
51359 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51360 if test x"$ac_file" != x-; then
51361 configure_input="$ac_file. $configure_input"
51362 { echo "$as_me:$LINENO: creating $ac_file" >&5
51363 echo "$as_me: creating $ac_file" >&6;}
51364 fi
51365
51366 case $ac_tag in
51367 *:-:* | *:-) cat >"$tmp/stdin";;
51368 esac
51369 ;;
51370 esac
51371
51372 ac_dir=`$as_dirname -- "$ac_file" ||
51373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51374 X"$ac_file" : 'X\(//\)[^/]' \| \
51375 X"$ac_file" : 'X\(//\)$' \| \
51376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51377 echo X"$ac_file" |
51378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51379 s//\1/
51380 q
51381 }
51382 /^X\(\/\/\)[^/].*/{
51383 s//\1/
51384 q
51385 }
51386 /^X\(\/\/\)$/{
51387 s//\1/
51388 q
51389 }
51390 /^X\(\/\).*/{
51391 s//\1/
51392 q
51393 }
51394 s/.*/./; q'`
51395 { as_dir="$ac_dir"
51396 case $as_dir in #(
51397 -*) as_dir=./$as_dir;;
51398 esac
51399 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51400 as_dirs=
51401 while :; do
51402 case $as_dir in #(
51403 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51404 *) as_qdir=$as_dir;;
51405 esac
51406 as_dirs="'$as_qdir' $as_dirs"
51407 as_dir=`$as_dirname -- "$as_dir" ||
51408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51409 X"$as_dir" : 'X\(//\)[^/]' \| \
51410 X"$as_dir" : 'X\(//\)$' \| \
51411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51412 echo X"$as_dir" |
51413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51414 s//\1/
51415 q
51416 }
51417 /^X\(\/\/\)[^/].*/{
51418 s//\1/
51419 q
51420 }
51421 /^X\(\/\/\)$/{
51422 s//\1/
51423 q
51424 }
51425 /^X\(\/\).*/{
51426 s//\1/
51427 q
51428 }
51429 s/.*/./; q'`
51430 test -d "$as_dir" && break
51431 done
51432 test -z "$as_dirs" || eval "mkdir $as_dirs"
51433 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51434 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51435 { (exit 1); exit 1; }; }; }
51436 ac_builddir=.
51437
51438 case "$ac_dir" in
51439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51440 *)
51441 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51442 # A ".." for each directory in $ac_dir_suffix.
51443 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51444 case $ac_top_builddir_sub in
51445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51447 esac ;;
51448 esac
51449 ac_abs_top_builddir=$ac_pwd
51450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51451 # for backward compatibility:
51452 ac_top_builddir=$ac_top_build_prefix
51453
51454 case $srcdir in
51455 .) # We are building in place.
51456 ac_srcdir=.
51457 ac_top_srcdir=$ac_top_builddir_sub
51458 ac_abs_top_srcdir=$ac_pwd ;;
51459 [\\/]* | ?:[\\/]* ) # Absolute name.
51460 ac_srcdir=$srcdir$ac_dir_suffix;
51461 ac_top_srcdir=$srcdir
51462 ac_abs_top_srcdir=$srcdir ;;
51463 *) # Relative name.
51464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51465 ac_top_srcdir=$ac_top_build_prefix$srcdir
51466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51467 esac
51468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51469
51470
51471 case $ac_mode in
51472 :F)
51473 #
51474 # CONFIG_FILE
51475 #
51476
51477 case $INSTALL in
51478 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51479 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51480 esac
51481 _ACEOF
51482
51483 cat >>$CONFIG_STATUS <<\_ACEOF
51484 # If the template does not know about datarootdir, expand it.
51485 # FIXME: This hack should be removed a few years after 2.60.
51486 ac_datarootdir_hack=; ac_datarootdir_seen=
51487
51488 case `sed -n '/datarootdir/ {
51489 p
51490 q
51491 }
51492 /@datadir@/p
51493 /@docdir@/p
51494 /@infodir@/p
51495 /@localedir@/p
51496 /@mandir@/p
51497 ' $ac_file_inputs` in
51498 *datarootdir*) ac_datarootdir_seen=yes;;
51499 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51500 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51501 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51502 _ACEOF
51503 cat >>$CONFIG_STATUS <<_ACEOF
51504 ac_datarootdir_hack='
51505 s&@datadir@&$datadir&g
51506 s&@docdir@&$docdir&g
51507 s&@infodir@&$infodir&g
51508 s&@localedir@&$localedir&g
51509 s&@mandir@&$mandir&g
51510 s&\\\${datarootdir}&$datarootdir&g' ;;
51511 esac
51512 _ACEOF
51513
51514 # Neutralize VPATH when `$srcdir' = `.'.
51515 # Shell code in configure.ac might set extrasub.
51516 # FIXME: do we really want to maintain this feature?
51517 cat >>$CONFIG_STATUS <<_ACEOF
51518 sed "$ac_vpsub
51519 $extrasub
51520 _ACEOF
51521 cat >>$CONFIG_STATUS <<\_ACEOF
51522 :t
51523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51524 s&@configure_input@&$configure_input&;t t
51525 s&@top_builddir@&$ac_top_builddir_sub&;t t
51526 s&@srcdir@&$ac_srcdir&;t t
51527 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51528 s&@top_srcdir@&$ac_top_srcdir&;t t
51529 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51530 s&@builddir@&$ac_builddir&;t t
51531 s&@abs_builddir@&$ac_abs_builddir&;t t
51532 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51533 s&@INSTALL@&$ac_INSTALL&;t t
51534 $ac_datarootdir_hack
51535 " $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
51536
51537 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51538 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51539 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51540 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51541 which seems to be undefined. Please make sure it is defined." >&5
51542 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51543 which seems to be undefined. Please make sure it is defined." >&2;}
51544
51545 rm -f "$tmp/stdin"
51546 case $ac_file in
51547 -) cat "$tmp/out"; rm -f "$tmp/out";;
51548 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51549 esac
51550 ;;
51551 :H)
51552 #
51553 # CONFIG_HEADER
51554 #
51555 _ACEOF
51556
51557 # Transform confdefs.h into a sed script `conftest.defines', that
51558 # substitutes the proper values into config.h.in to produce config.h.
51559 rm -f conftest.defines conftest.tail
51560 # First, append a space to every undef/define line, to ease matching.
51561 echo 's/$/ /' >conftest.defines
51562 # Then, protect against being on the right side of a sed subst, or in
51563 # an unquoted here document, in config.status. If some macros were
51564 # called several times there might be several #defines for the same
51565 # symbol, which is useless. But do not sort them, since the last
51566 # AC_DEFINE must be honored.
51567 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51568 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51569 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51570 # PARAMS is the parameter list in the macro definition--in most cases, it's
51571 # just an empty string.
51572 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51573 ac_dB='\\)[ (].*,\\1define\\2'
51574 ac_dC=' '
51575 ac_dD=' ,'
51576
51577 uniq confdefs.h |
51578 sed -n '
51579 t rset
51580 :rset
51581 s/^[ ]*#[ ]*define[ ][ ]*//
51582 t ok
51583 d
51584 :ok
51585 s/[\\&,]/\\&/g
51586 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51587 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51588 ' >>conftest.defines
51589
51590 # Remove the space that was appended to ease matching.
51591 # Then replace #undef with comments. This is necessary, for
51592 # example, in the case of _POSIX_SOURCE, which is predefined and required
51593 # on some systems where configure will not decide to define it.
51594 # (The regexp can be short, since the line contains either #define or #undef.)
51595 echo 's/ $//
51596 s,^[ #]*u.*,/* & */,' >>conftest.defines
51597
51598 # Break up conftest.defines:
51599 ac_max_sed_lines=50
51600
51601 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51602 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51603 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51604 # et cetera.
51605 ac_in='$ac_file_inputs'
51606 ac_out='"$tmp/out1"'
51607 ac_nxt='"$tmp/out2"'
51608
51609 while :
51610 do
51611 # Write a here document:
51612 cat >>$CONFIG_STATUS <<_ACEOF
51613 # First, check the format of the line:
51614 cat >"\$tmp/defines.sed" <<\\CEOF
51615 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51616 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51617 b
51618 :def
51619 _ACEOF
51620 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51621 echo 'CEOF
51622 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51623 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51624 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51625 grep . conftest.tail >/dev/null || break
51626 rm -f conftest.defines
51627 mv conftest.tail conftest.defines
51628 done
51629 rm -f conftest.defines conftest.tail
51630
51631 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51632 cat >>$CONFIG_STATUS <<\_ACEOF
51633 if test x"$ac_file" != x-; then
51634 echo "/* $configure_input */" >"$tmp/config.h"
51635 cat "$ac_result" >>"$tmp/config.h"
51636 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51637 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51638 echo "$as_me: $ac_file is unchanged" >&6;}
51639 else
51640 rm -f $ac_file
51641 mv "$tmp/config.h" $ac_file
51642 fi
51643 else
51644 echo "/* $configure_input */"
51645 cat "$ac_result"
51646 fi
51647 rm -f "$tmp/out12"
51648 ;;
51649
51650 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51651 echo "$as_me: executing $ac_file commands" >&6;}
51652 ;;
51653 esac
51654
51655
51656 case $ac_file$ac_mode in
51657 "rcdefs.h":C)
51658 mkdir -p $outdir &&
51659 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51660 ;;
51661 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51662 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51663 "wx-config":C) rm -f wx-config
51664 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51665 ;;
51666
51667 esac
51668 done # for ac_tag
51669
51670
51671 { (exit 0); exit 0; }
51672 _ACEOF
51673 chmod +x $CONFIG_STATUS
51674 ac_clean_files=$ac_clean_files_save
51675
51676
51677 # configure is writing to config.log, and then calls config.status.
51678 # config.status does its own redirection, appending to config.log.
51679 # Unfortunately, on DOS this fails, as config.log is still kept open
51680 # by configure, so config.status won't be able to write to it; its
51681 # output is simply discarded. So we exec the FD to /dev/null,
51682 # effectively closing config.log, so it can be properly (re)opened and
51683 # appended to by config.status. When coming back to configure, we
51684 # need to make the FD available again.
51685 if test "$no_create" != yes; then
51686 ac_cs_success=:
51687 ac_config_status_args=
51688 test "$silent" = yes &&
51689 ac_config_status_args="$ac_config_status_args --quiet"
51690 exec 5>/dev/null
51691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51692 exec 5>>config.log
51693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51694 # would make configure fail if this is the last instruction.
51695 $ac_cs_success || { (exit 1); exit 1; }
51696 fi
51697
51698 #
51699 # CONFIG_SUBDIRS section.
51700 #
51701 if test "$no_recursion" != yes; then
51702
51703 # Remove --cache-file and --srcdir arguments so they do not pile up.
51704 ac_sub_configure_args=
51705 ac_prev=
51706 eval "set x $ac_configure_args"
51707 shift
51708 for ac_arg
51709 do
51710 if test -n "$ac_prev"; then
51711 ac_prev=
51712 continue
51713 fi
51714 case $ac_arg in
51715 -cache-file | --cache-file | --cache-fil | --cache-fi \
51716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51717 ac_prev=cache_file ;;
51718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51720 | --c=*)
51721 ;;
51722 --config-cache | -C)
51723 ;;
51724 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51725 ac_prev=srcdir ;;
51726 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51727 ;;
51728 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51729 ac_prev=prefix ;;
51730 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51731 ;;
51732 *)
51733 case $ac_arg in
51734 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51735 esac
51736 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51737 esac
51738 done
51739
51740 # Always prepend --prefix to ensure using the same prefix
51741 # in subdir configurations.
51742 ac_arg="--prefix=$prefix"
51743 case $ac_arg in
51744 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51745 esac
51746 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51747
51748 # Pass --silent
51749 if test "$silent" = yes; then
51750 ac_sub_configure_args="--silent $ac_sub_configure_args"
51751 fi
51752
51753 ac_popdir=`pwd`
51754 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51755
51756 # Do not complain, so a configure script can configure whichever
51757 # parts of a large source tree are present.
51758 test -d "$srcdir/$ac_dir" || continue
51759
51760 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51761 echo "$as_me:$LINENO: $ac_msg" >&5
51762 echo "$ac_msg" >&6
51763 { as_dir="$ac_dir"
51764 case $as_dir in #(
51765 -*) as_dir=./$as_dir;;
51766 esac
51767 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51768 as_dirs=
51769 while :; do
51770 case $as_dir in #(
51771 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51772 *) as_qdir=$as_dir;;
51773 esac
51774 as_dirs="'$as_qdir' $as_dirs"
51775 as_dir=`$as_dirname -- "$as_dir" ||
51776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51777 X"$as_dir" : 'X\(//\)[^/]' \| \
51778 X"$as_dir" : 'X\(//\)$' \| \
51779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51780 echo X"$as_dir" |
51781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51782 s//\1/
51783 q
51784 }
51785 /^X\(\/\/\)[^/].*/{
51786 s//\1/
51787 q
51788 }
51789 /^X\(\/\/\)$/{
51790 s//\1/
51791 q
51792 }
51793 /^X\(\/\).*/{
51794 s//\1/
51795 q
51796 }
51797 s/.*/./; q'`
51798 test -d "$as_dir" && break
51799 done
51800 test -z "$as_dirs" || eval "mkdir $as_dirs"
51801 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51802 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51803 { (exit 1); exit 1; }; }; }
51804 ac_builddir=.
51805
51806 case "$ac_dir" in
51807 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51808 *)
51809 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51810 # A ".." for each directory in $ac_dir_suffix.
51811 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51812 case $ac_top_builddir_sub in
51813 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51814 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51815 esac ;;
51816 esac
51817 ac_abs_top_builddir=$ac_pwd
51818 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51819 # for backward compatibility:
51820 ac_top_builddir=$ac_top_build_prefix
51821
51822 case $srcdir in
51823 .) # We are building in place.
51824 ac_srcdir=.
51825 ac_top_srcdir=$ac_top_builddir_sub
51826 ac_abs_top_srcdir=$ac_pwd ;;
51827 [\\/]* | ?:[\\/]* ) # Absolute name.
51828 ac_srcdir=$srcdir$ac_dir_suffix;
51829 ac_top_srcdir=$srcdir
51830 ac_abs_top_srcdir=$srcdir ;;
51831 *) # Relative name.
51832 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51833 ac_top_srcdir=$ac_top_build_prefix$srcdir
51834 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51835 esac
51836 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51837
51838
51839 cd "$ac_dir"
51840
51841 # Check for guested configure; otherwise get Cygnus style configure.
51842 if test -f "$ac_srcdir/configure.gnu"; then
51843 ac_sub_configure=$ac_srcdir/configure.gnu
51844 elif test -f "$ac_srcdir/configure"; then
51845 ac_sub_configure=$ac_srcdir/configure
51846 elif test -f "$ac_srcdir/configure.in"; then
51847 # This should be Cygnus configure.
51848 ac_sub_configure=$ac_aux_dir/configure
51849 else
51850 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51851 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51852 ac_sub_configure=
51853 fi
51854
51855 # The recursion is here.
51856 if test -n "$ac_sub_configure"; then
51857 # Make the cache file name correct relative to the subdirectory.
51858 case $cache_file in
51859 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51860 *) # Relative name.
51861 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51862 esac
51863
51864 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51865 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51866 # The eval makes quoting arguments work.
51867 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51868 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51869 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51870 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51871 { (exit 1); exit 1; }; }
51872 fi
51873
51874 cd "$ac_popdir"
51875 done
51876 fi
51877
51878
51879 echo
51880 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51881 echo ""
51882 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51883 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51884
51885 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51886 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51887 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51888 if test "$wxUSE_UNICODE" = "yes"; then
51889 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51890 echo " (using UTF-8)"
51891 else
51892 echo " (using wchar_t)"
51893 fi
51894 else
51895 echo
51896 fi
51897
51898 echo " What level of wxWidgets compatibility should be enabled?"
51899 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51900 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51901
51902 echo " Which libraries should wxWidgets use?"
51903 echo " STL ${wxUSE_STL}"
51904 echo " jpeg ${wxUSE_LIBJPEG-none}"
51905 echo " png ${wxUSE_LIBPNG-none}"
51906 echo " regex ${wxUSE_REGEX}"
51907 echo " tiff ${wxUSE_LIBTIFF-none}"
51908 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51909 echo " xpm ${wxUSE_LIBXPM-none}"
51910 fi
51911 echo " zlib ${wxUSE_ZLIB}"
51912 echo " expat ${wxUSE_EXPAT}"
51913 echo " libmspack ${wxUSE_LIBMSPACK}"
51914 echo " sdl ${wxUSE_LIBSDL}"
51915
51916 echo ""
51917