]> git.saurik.com Git - wxWidgets.git/blob - configure
Don't reuse the same event object for multiple events in wxGTK.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 64869 2010-07-10 16:12:10Z JS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets 2.6 compatibility
1710 --disable-compat28 disable wxWidgets 2.8 compatibility
1711 --disable-rpath disable use of rpath for uninstalled builds
1712 --enable-objc_uniquifying enable Objective-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x-locale support (requires wxLocale)
1717 --enable-config use wxConfig (and derived) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP (requires wxProtocol
1720 --enable-http use wxHTTP (requires wxProtocol
1721 --enable-fileproto use wxFileProto class (requires wxProtocol
1722 --enable-sockets use socket/network classes
1723 --enable-ipv6 enable IPv6 support in wxSocket
1724 --enable-ole use OLE classes (Win32 only)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication (wxSocket etc.)
1727 --enable-baseevtloop use event loop in console programs too
1728 --enable-epollloop use wxEpollDispatcher class (Linux only)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding/decoding functions
1734 --enable-backtrace use wxStackWalker class for getting backtraces
1735 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class for DLL loading
1741 --enable-dynamicloader use (new) wxDynamicLibrary class
1742 --enable-exceptions build exception-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support in wxProtocol
1773 --enable-protocol-ftp FTP support in wxProtocol
1774 --enable-protocol-file FILE support in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig (Win32 only)
1777 --enable-regkey use wxRegKey class (Win32 only)
1778 --enable-docview use document view architecture
1779 --enable-help use help subsystem
1780 --enable-mshtmlhelp use MS HTML Help (win32)
1781 --enable-html use wxHTML sub-library
1782 --enable-htmlhelp use wxHTML-based help
1783 --enable-xrc use XRC resources sub-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl (Mac)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context 2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-dataviewctrl use wxDataViewCtrl class
1822 --enable-datepick use wxDatePickerCtrl class
1823 --enable-detect_sm use code to detect X11 session manager
1824 --enable-dirpicker use wxDirPickerCtrl class
1825 --enable-display use wxDisplay class
1826 --enable-editablebox use wxEditableListBox class
1827 --enable-filectrl use wxFileCtrl class
1828 --enable-filepicker use wxFilePickerCtrl class
1829 --enable-fontpicker use wxFontPickerCtrl class
1830 --enable-gauge use wxGauge class
1831 --enable-grid use wxGrid class
1832 --enable-headerctrl use wxHeaderCtrl class
1833 --enable-hyperlink use wxHyperlinkCtrl class
1834 --enable-imaglist use wxImageList class
1835 --enable-infobar use wxInfoBar class
1836 --enable-listbook use wxListbook class
1837 --enable-listbox use wxListBox class
1838 --enable-listctrl use wxListCtrl class
1839 --enable-notebook use wxNotebook class
1840 --enable-notifmsg use wxNotificationMessage class
1841 --enable-odcombobox use wxOwnerDrawnComboBox class
1842 --enable-popupwin use wxPopUpWindow class
1843 --enable-radiobox use wxRadioBox class
1844 --enable-radiobtn use wxRadioButton class
1845 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1846 --enable-sash use wxSashWindow class
1847 --enable-scrollbar use wxScrollBar class and scrollable windows
1848 --enable-searchctrl use wxSearchCtrl class
1849 --enable-slider use wxSlider class
1850 --enable-spinbtn use wxSpinButton class
1851 --enable-spinctrl use wxSpinCtrl class
1852 --enable-splitter use wxSplitterWindow class
1853 --enable-statbmp use wxStaticBitmap class
1854 --enable-statbox use wxStaticBox class
1855 --enable-statline use wxStaticLine class
1856 --enable-stattext use wxStaticText class
1857 --enable-statusbar use wxStatusBar class
1858 --enable-taskbaricon use wxTaskBarIcon class
1859 --enable-tbarnative use native wxToolBar class
1860 --enable-textctrl use wxTextCtrl class
1861 --enable-tipwindow use wxTipWindow class
1862 --enable-togglebtn use wxToggleButton class
1863 --enable-toolbar use wxToolBar class
1864 --enable-toolbook use wxToolbook class
1865 --enable-treebook use wxTreebook class
1866 --enable-treectrl use wxTreeCtrl class
1867 --enable-commondlg use all common dialogs
1868 --enable-aboutdlg use wxAboutBox
1869 --enable-choicedlg use wxChoiceDialog
1870 --enable-coldlg use wxColourDialog
1871 --enable-filedlg use wxFileDialog
1872 --enable-finddlg use wxFindReplaceDialog
1873 --enable-fontdlg use wxFontDialog
1874 --enable-dirdlg use wxDirDialog
1875 --enable-msgdlg use wxMessageDialog
1876 --enable-numberdlg use wxNumberEntryDialog
1877 --enable-splash use wxSplashScreen
1878 --enable-textdlg use wxTextDialog
1879 --enable-tipdlg use startup tips
1880 --enable-progressdlg use wxProgressDialog
1881 --enable-wizarddlg use wxWizard
1882 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1883 --enable-miniframe use wxMiniFrame class
1884 --enable-tooltips use wxToolTip class
1885 --enable-splines use spline drawing code
1886 --enable-mousewheel use mousewheel
1887 --enable-validators use wxValidator and derived classes
1888 --enable-busyinfo use wxBusyInfo
1889 --enable-joystick use wxJoystick
1890 --enable-metafiles use wxMetaFile (Win32 only)
1891 --enable-dragimage use wxDragImage
1892 --enable-accessibility enable accessibility support
1893 --enable-uiactionsim use wxUIActionSimulator (experimental)
1894 --enable-palette use wxPalette class
1895 --enable-image use wxImage class
1896 --enable-gif use gif images (GIF file format)
1897 --enable-pcx use pcx images (PCX file format)
1898 --enable-tga use tga images (TGA file format)
1899 --enable-iff use iff images (IFF file format)
1900 --enable-pnm use pnm images (PNM file format)
1901 --enable-xpm use xpm images (XPM file format)
1902 --enable-ico_cur use Windows ICO and CUR formats
1903 --enable-dccache cache temporary wxDC objects (Win32 only)
1904 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1905 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1906 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1907 --enable-wxdib use wxDIB class (Win32 only)
1908 --enable-autoidman use automatic ids management
1909 --disable-largefile omit support for large files
1910 --disable-gtktest do not try to compile and run a test GTK+ program
1911 --disable-gtktest Do not try to compile and run a test GTK program
1912 --disable-sdltest Do not try to compile and run a test SDL program
1913 --enable-omf use OMF object format (OS/2)
1914 --disable-dependency-tracking
1915 don't use dependency tracking even if the compiler
1916 can
1917 --disable-precomp-headers
1918 don't use precompiled headers even if compiler can
1919
1920 Optional Packages:
1921 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1922 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1923 --without-subdirs don't generate makefiles for samples/demos/...
1924 --with-flavour=NAME specify a name to identify this build
1925 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1926 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1927 --with-motif use Motif/Lesstif
1928 --with-osx_carbon use Mac OS X (Carbon)
1929 --with-osx_cocoa use Mac OS X (Cocoa)
1930 --with-osx_iphone use iPhone OS X port
1931 --with-osx use Mac OS X (default port, currently Carbon)
1932 --with-carbon same as --with-osx_carbon
1933 --with-cocoa same as --with-osx_cocoa
1934 --with-iphone same as --with-osx_iphone
1935 --with-mac same as --with-osx
1936 --with-old_cocoa use old, deprecated, Cocoa port
1937 --with-wine use Wine
1938 --with-msw use MS-Windows
1939 --with-pm use OS/2 Presentation Manager
1940 --with-mgl use SciTech MGL
1941 --with-directfb use DirectFB
1942 --with-microwin use MicroWindows
1943 --with-x11 use X11
1944 --with-libpng use libpng (PNG image format)
1945 --with-libjpeg use libjpeg (JPEG file format)
1946 --with-libtiff use libtiff (TIFF file format)
1947 --with-libxpm use libxpm (XPM file format)
1948 --with-libiconv use libiconv (character conversion)
1949 --with-libmspack use libmspack (CHM help files loading)
1950 --without-gtkprint don't use GTK printing support
1951 --without-gnomeprint don't use GNOME printing libraries
1952 --with-gnomevfs use GNOME VFS for associating MIME types
1953 --with-hildon use Hildon framework for Nokia 770/800/810
1954 --with-opengl use OpenGL (or Mesa)
1955 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1956 --with-sdl use SDL for audio on Unix
1957 --with-regex enable support for wxRegEx class
1958 --with-zlib use zlib for LZW compression
1959 --with-expat enable XML support using expat parser
1960 --with-macosx-sdk=PATH use an OS X SDK at PATH
1961 --with-macosx-version-min=VER build binaries which require at least this OS X version
1962 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1963 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1964 --with-x use the X Window System
1965 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1966 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1967 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1968 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1969 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1970
1971 Some influential environment variables:
1972 CC C compiler command
1973 CFLAGS C compiler flags
1974 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1975 nonstandard directory <lib dir>
1976 LIBS libraries to pass to the linker, e.g. -l<library>
1977 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1978 you have headers in a nonstandard directory <include dir>
1979 CPP C preprocessor
1980 CXX C++ compiler command
1981 CXXFLAGS C++ compiler flags
1982 CXXCPP C++ preprocessor
1983 PKG_CONFIG path to pkg-config utility
1984 DIRECTFB_CFLAGS
1985 C compiler flags for DIRECTFB, overriding pkg-config
1986 DIRECTFB_LIBS
1987 linker flags for DIRECTFB, overriding pkg-config
1988 XMKMF Path to xmkmf, Makefile generator for X Window System
1989 PANGOX_CFLAGS
1990 C compiler flags for PANGOX, overriding pkg-config
1991 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1992 PANGOFT2_CFLAGS
1993 C compiler flags for PANGOFT2, overriding pkg-config
1994 PANGOFT2_LIBS
1995 linker flags for PANGOFT2, overriding pkg-config
1996 PANGOXFT_CFLAGS
1997 C compiler flags for PANGOXFT, overriding pkg-config
1998 PANGOXFT_LIBS
1999 linker flags for PANGOXFT, overriding pkg-config
2000 GTKPRINT_CFLAGS
2001 C compiler flags for GTKPRINT, overriding pkg-config
2002 GTKPRINT_LIBS
2003 linker flags for GTKPRINT, overriding pkg-config
2004 LIBGNOMEPRINTUI_CFLAGS
2005 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2006 LIBGNOMEPRINTUI_LIBS
2007 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2008 GNOMEVFS_CFLAGS
2009 C compiler flags for GNOMEVFS, overriding pkg-config
2010 GNOMEVFS_LIBS
2011 linker flags for GNOMEVFS, overriding pkg-config
2012 HILDON_CFLAGS
2013 C compiler flags for HILDON, overriding pkg-config
2014 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2015 HILDON2_CFLAGS
2016 C compiler flags for HILDON2, overriding pkg-config
2017 HILDON2_LIBS
2018 linker flags for HILDON2, overriding pkg-config
2019 CAIRO_CFLAGS
2020 C compiler flags for CAIRO, overriding pkg-config
2021 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2022 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2023 GST_LIBS linker flags for GST, overriding pkg-config
2024
2025 Use these variables to override the choices made by `configure' or to help
2026 it to find libraries and programs with nonstandard names/locations.
2027
2028 Report bugs to <wx-dev@lists.wxwidgets.org>.
2029 _ACEOF
2030 ac_status=$?
2031 fi
2032
2033 if test "$ac_init_help" = "recursive"; then
2034 # If there are subdirs, report their specific --help.
2035 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2036 test -d "$ac_dir" || continue
2037 ac_builddir=.
2038
2039 case "$ac_dir" in
2040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2041 *)
2042 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2043 # A ".." for each directory in $ac_dir_suffix.
2044 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2045 case $ac_top_builddir_sub in
2046 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2047 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2048 esac ;;
2049 esac
2050 ac_abs_top_builddir=$ac_pwd
2051 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2052 # for backward compatibility:
2053 ac_top_builddir=$ac_top_build_prefix
2054
2055 case $srcdir in
2056 .) # We are building in place.
2057 ac_srcdir=.
2058 ac_top_srcdir=$ac_top_builddir_sub
2059 ac_abs_top_srcdir=$ac_pwd ;;
2060 [\\/]* | ?:[\\/]* ) # Absolute name.
2061 ac_srcdir=$srcdir$ac_dir_suffix;
2062 ac_top_srcdir=$srcdir
2063 ac_abs_top_srcdir=$srcdir ;;
2064 *) # Relative name.
2065 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2066 ac_top_srcdir=$ac_top_build_prefix$srcdir
2067 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2068 esac
2069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2070
2071 cd "$ac_dir" || { ac_status=$?; continue; }
2072 # Check for guested configure.
2073 if test -f "$ac_srcdir/configure.gnu"; then
2074 echo &&
2075 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2076 elif test -f "$ac_srcdir/configure"; then
2077 echo &&
2078 $SHELL "$ac_srcdir/configure" --help=recursive
2079 else
2080 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2081 fi || ac_status=$?
2082 cd "$ac_pwd" || { ac_status=$?; break; }
2083 done
2084 fi
2085
2086 test -n "$ac_init_help" && exit $ac_status
2087 if $ac_init_version; then
2088 cat <<\_ACEOF
2089 wxWidgets configure 2.9.1
2090 generated by GNU Autoconf 2.61
2091
2092 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2093 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2094 This configure script is free software; the Free Software Foundation
2095 gives unlimited permission to copy, distribute and modify it.
2096 _ACEOF
2097 exit
2098 fi
2099 cat >config.log <<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2102
2103 It was created by wxWidgets $as_me 2.9.1, which was
2104 generated by GNU Autoconf 2.61. Invocation command line was
2105
2106 $ $0 $@
2107
2108 _ACEOF
2109 exec 5>>config.log
2110 {
2111 cat <<_ASUNAME
2112 ## --------- ##
2113 ## Platform. ##
2114 ## --------- ##
2115
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2121
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2124
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2132
2133 _ASUNAME
2134
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2137 do
2138 IFS=$as_save_IFS
2139 test -z "$as_dir" && as_dir=.
2140 echo "PATH: $as_dir"
2141 done
2142 IFS=$as_save_IFS
2143
2144 } >&5
2145
2146 cat >&5 <<_ACEOF
2147
2148
2149 ## ----------- ##
2150 ## Core tests. ##
2151 ## ----------- ##
2152
2153 _ACEOF
2154
2155
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2161 ac_configure_args=
2162 ac_configure_args0=
2163 ac_configure_args1=
2164 ac_must_keep_next=false
2165 for ac_pass in 1 2
2166 do
2167 for ac_arg
2168 do
2169 case $ac_arg in
2170 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2172 | -silent | --silent | --silen | --sile | --sil)
2173 continue ;;
2174 *\'*)
2175 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 esac
2177 case $ac_pass in
2178 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2179 2)
2180 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2181 if test $ac_must_keep_next = true; then
2182 ac_must_keep_next=false # Got value, back to normal.
2183 else
2184 case $ac_arg in
2185 *=* | --config-cache | -C | -disable-* | --disable-* \
2186 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2187 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2188 | -with-* | --with-* | -without-* | --without-* | --x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 esac
2192 ;;
2193 -* ) ac_must_keep_next=true ;;
2194 esac
2195 fi
2196 ac_configure_args="$ac_configure_args '$ac_arg'"
2197 ;;
2198 esac
2199 done
2200 done
2201 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2202 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2203
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2211 {
2212 echo
2213
2214 cat <<\_ASBOX
2215 ## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##
2218 _ASBOX
2219 echo
2220 # The following way of writing the cache mishandles newlines in values,
2221 (
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in #(
2225 *${as_nl}*)
2226 case $ac_var in #(
2227 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2228 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2229 esac
2230 case $ac_var in #(
2231 _ | IFS | as_nl) ;; #(
2232 *) $as_unset $ac_var ;;
2233 esac ;;
2234 esac
2235 done
2236 (set) 2>&1 |
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2239 sed -n \
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 ;; #(
2243 *)
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245 ;;
2246 esac |
2247 sort
2248 )
2249 echo
2250
2251 cat <<\_ASBOX
2252 ## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##
2255 _ASBOX
2256 echo
2257 for ac_var in $ac_subst_vars
2258 do
2259 eval ac_val=\$$ac_var
2260 case $ac_val in
2261 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 esac
2263 echo "$ac_var='\''$ac_val'\''"
2264 done | sort
2265 echo
2266
2267 if test -n "$ac_subst_files"; then
2268 cat <<\_ASBOX
2269 ## ------------------- ##
2270 ## File substitutions. ##
2271 ## ------------------- ##
2272 _ASBOX
2273 echo
2274 for ac_var in $ac_subst_files
2275 do
2276 eval ac_val=\$$ac_var
2277 case $ac_val in
2278 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 esac
2280 echo "$ac_var='\''$ac_val'\''"
2281 done | sort
2282 echo
2283 fi
2284
2285 if test -s confdefs.h; then
2286 cat <<\_ASBOX
2287 ## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##
2290 _ASBOX
2291 echo
2292 cat confdefs.h
2293 echo
2294 fi
2295 test "$ac_signal" != 0 &&
2296 echo "$as_me: caught signal $ac_signal"
2297 echo "$as_me: exit $exit_status"
2298 } >&5
2299 rm -f core *.core core.conftest.* &&
2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2301 exit $exit_status
2302 ' 0
2303 for ac_signal in 1 2 13 15; do
2304 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2305 done
2306 ac_signal=0
2307
2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2309 rm -f -r conftest* confdefs.h
2310
2311 # Predefined preprocessor variables.
2312
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2315 _ACEOF
2316
2317
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2320 _ACEOF
2321
2322
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 _ACEOF
2326
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 _ACEOF
2331
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335 _ACEOF
2336
2337
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer explicitly selected file to automatically selected ones.
2340 if test -n "$CONFIG_SITE"; then
2341 set x "$CONFIG_SITE"
2342 elif test "x$prefix" != xNONE; then
2343 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2344 else
2345 set x "$ac_default_prefix/share/config.site" \
2346 "$ac_default_prefix/etc/config.site"
2347 fi
2348 shift
2349 for ac_site_file
2350 do
2351 if test -r "$ac_site_file"; then
2352 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2353 echo "$as_me: loading site script $ac_site_file" >&6;}
2354 sed 's/^/| /' "$ac_site_file" >&5
2355 . "$ac_site_file"
2356 fi
2357 done
2358
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special
2361 # files actually), so we avoid doing that.
2362 if test -f "$cache_file"; then
2363 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2364 echo "$as_me: loading cache $cache_file" >&6;}
2365 case $cache_file in
2366 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2367 *) . "./$cache_file";;
2368 esac
2369 fi
2370 else
2371 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2372 echo "$as_me: creating cache $cache_file" >&6;}
2373 >$cache_file
2374 fi
2375
2376 # Check that the precious variables saved in the cache have kept the same
2377 # value.
2378 ac_cache_corrupted=false
2379 for ac_var in $ac_precious_vars; do
2380 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2381 eval ac_new_set=\$ac_env_${ac_var}_set
2382 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2383 eval ac_new_val=\$ac_env_${ac_var}_value
2384 case $ac_old_set,$ac_new_set in
2385 set,)
2386 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2387 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2388 ac_cache_corrupted=: ;;
2389 ,set)
2390 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2391 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2392 ac_cache_corrupted=: ;;
2393 ,);;
2394 *)
2395 if test "x$ac_old_val" != "x$ac_new_val"; then
2396 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2397 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2399 echo "$as_me: former value: $ac_old_val" >&2;}
2400 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2401 echo "$as_me: current value: $ac_new_val" >&2;}
2402 ac_cache_corrupted=:
2403 fi;;
2404 esac
2405 # Pass precious variables to config.status.
2406 if test "$ac_new_set" = set; then
2407 case $ac_new_val in
2408 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2409 *) ac_arg=$ac_var=$ac_new_val ;;
2410 esac
2411 case " $ac_configure_args " in
2412 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2414 esac
2415 fi
2416 done
2417 if $ac_cache_corrupted; then
2418 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2419 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2421 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2422 { (exit 1); exit 1; }; }
2423 fi
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449 ac_ext=c
2450 ac_cpp='$CPP $CPPFLAGS'
2451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454
2455
2456
2457
2458
2459 ac_aux_dir=
2460 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 if test -f "$ac_dir/install-sh"; then
2462 ac_aux_dir=$ac_dir
2463 ac_install_sh="$ac_aux_dir/install-sh -c"
2464 break
2465 elif test -f "$ac_dir/install.sh"; then
2466 ac_aux_dir=$ac_dir
2467 ac_install_sh="$ac_aux_dir/install.sh -c"
2468 break
2469 elif test -f "$ac_dir/shtool"; then
2470 ac_aux_dir=$ac_dir
2471 ac_install_sh="$ac_aux_dir/shtool install -c"
2472 break
2473 fi
2474 done
2475 if test -z "$ac_aux_dir"; then
2476 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2477 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2478 { (exit 1); exit 1; }; }
2479 fi
2480
2481 # These three variables are undocumented and unsupported,
2482 # and are intended to be withdrawn in a future Autoconf release.
2483 # They can cause serious problems if a builder's source tree is in a directory
2484 # whose full name contains unusual characters.
2485 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2486 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2487 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488
2489
2490 # Make sure we can run config.sub.
2491 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2492 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2493 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2494 { (exit 1); exit 1; }; }
2495
2496 { echo "$as_me:$LINENO: checking build system type" >&5
2497 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2498 if test "${ac_cv_build+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 else
2501 ac_build_alias=$build_alias
2502 test "x$ac_build_alias" = x &&
2503 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2504 test "x$ac_build_alias" = x &&
2505 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2506 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2507 { (exit 1); exit 1; }; }
2508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2515 echo "${ECHO_T}$ac_cv_build" >&6; }
2516 case $ac_cv_build in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2519 echo "$as_me: error: invalid value of canonical build" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 build=$ac_cv_build
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_build
2525 shift
2526 build_cpu=$1
2527 build_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 build_os=$*
2532 IFS=$ac_save_IFS
2533 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2534
2535
2536 { echo "$as_me:$LINENO: checking host system type" >&5
2537 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2538 if test "${ac_cv_host+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 else
2541 if test "x$host_alias" = x; then
2542 ac_cv_host=$ac_cv_build
2543 else
2544 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2545 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2546 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2547 { (exit 1); exit 1; }; }
2548 fi
2549
2550 fi
2551 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2552 echo "${ECHO_T}$ac_cv_host" >&6; }
2553 case $ac_cv_host in
2554 *-*-*) ;;
2555 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2556 echo "$as_me: error: invalid value of canonical host" >&2;}
2557 { (exit 1); exit 1; }; };;
2558 esac
2559 host=$ac_cv_host
2560 ac_save_IFS=$IFS; IFS='-'
2561 set x $ac_cv_host
2562 shift
2563 host_cpu=$1
2564 host_vendor=$2
2565 shift; shift
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2568 host_os=$*
2569 IFS=$ac_save_IFS
2570 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2571
2572
2573
2574 if test "$cross_compiling" != "no"; then
2575 HOST_PREFIX="${host_alias}-"
2576 HOST_SUFFIX="-$host_alias"
2577 else
2578 HOST_PREFIX=
2579 HOST_SUFFIX=
2580 fi
2581
2582
2583 wx_major_version_number=2
2584 wx_minor_version_number=9
2585 wx_release_number=1
2586 wx_subrelease_number=0
2587
2588 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2589 WX_VERSION=$WX_RELEASE.$wx_release_number
2590 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2591
2592 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2593
2594
2595 wx_top_builddir="`pwd`"
2596
2597
2598
2599
2600 USE_UNIX=1
2601 USE_OS2=0
2602 USE_WIN32=0
2603 USE_DOS=0
2604 USE_BEOS=0
2605 USE_MAC=0
2606
2607 USE_AIX=
2608 USE_BSD= USE_DARWIN= USE_FREEBSD=
2609 USE_GNU= USE_HPUX=
2610 USE_LINUX=
2611 USE_NETBSD=
2612 USE_OPENBSD=
2613 USE_OSF= USE_SGI=
2614 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2615 USE_ULTRIX=
2616 USE_UNIXWARE=
2617
2618 USE_ALPHA=
2619
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2621
2622 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2623
2624 DEFAULT_wxUSE_OLD_COCOA=0
2625 DEFAULT_wxUSE_GTK=0
2626 DEFAULT_wxUSE_OSX_CARBON=0
2627 DEFAULT_wxUSE_OSX_COCOA=0
2628 DEFAULT_wxUSE_OSX_IPHONE=0
2629 DEFAULT_wxUSE_MGL=0
2630 DEFAULT_wxUSE_MICROWIN=0
2631 DEFAULT_wxUSE_MOTIF=0
2632 DEFAULT_wxUSE_MSW=0
2633 DEFAULT_wxUSE_PM=0
2634 DEFAULT_wxUSE_X11=0
2635 DEFAULT_wxUSE_DFB=0
2636
2637 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2638 DEFAULT_DEFAULT_wxUSE_GTK=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2642 DEFAULT_DEFAULT_wxUSE_MGL=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2645 DEFAULT_DEFAULT_wxUSE_MSW=0
2646 DEFAULT_DEFAULT_wxUSE_PM=0
2647 DEFAULT_DEFAULT_wxUSE_X11=0
2648 DEFAULT_DEFAULT_wxUSE_DFB=0
2649
2650 PROGRAM_EXT=
2651 SAMPLES_RPATH_FLAG=
2652 DYLIB_RPATH_INSTALL=
2653 DYLIB_RPATH_POSTLINK=
2654
2655 DEFAULT_STD_FLAG=yes
2656
2657 case "${host}" in
2658 *-hp-hpux* )
2659 USE_HPUX=1
2660 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __HPUX__ 1
2664 _ACEOF
2665
2666
2667 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2668 ;;
2669 *-*-linux* )
2670 USE_LINUX=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __LINUX__ 1
2673 _ACEOF
2674
2675 TMP=`uname -m`
2676 if test "x$TMP" = "xalpha"; then
2677 USE_ALPHA=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __ALPHA__ 1
2680 _ACEOF
2681
2682 fi
2683 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 ;;
2685 *-*-gnu* | *-*-k*bsd*-gnu )
2686 USE_GNU=1
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-irix5* | *-*-irix6* )
2698 USE_SGI=1
2699 USE_SVR4=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SGI__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SVR4__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-qnx*)
2711 USE_QNX=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __QNX__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_X11=1
2717 ;;
2718 *-*-solaris2* )
2719 USE_SUN=1
2720 USE_SOLARIS=1
2721 USE_SVR4=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __SUN__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __SOLARIS__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SVR4__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2736 ;;
2737 *-*-sunos4* )
2738 USE_SUN=1
2739 USE_SUNOS=1
2740 USE_BSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __SUN__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __SUNOS__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __BSD__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 ;;
2755 *-*-freebsd*)
2756 USE_BSD=1
2757 USE_FREEBSD=1
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __FREEBSD__ 1
2760 _ACEOF
2761
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __BSD__ 1
2764 _ACEOF
2765
2766 DEFAULT_DEFAULT_wxUSE_GTK=1
2767 ;;
2768 *-*-openbsd*|*-*-mirbsd*)
2769 USE_BSD=1
2770 USE_OPENBSD=1
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __OPENBSD__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __BSD__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_GTK=1
2780 ;;
2781 *-*-netbsd*)
2782 USE_BSD=1
2783 USE_NETBSD=1
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __NETBSD__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __BSD__ 1
2790 _ACEOF
2791
2792 DEFAULT_DEFAULT_wxUSE_GTK=1
2793 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2794
2795 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2796 ;;
2797 *-*-osf* )
2798 USE_ALPHA=1
2799 USE_OSF=1
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __ALPHA__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __OSF__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2810 ;;
2811 *-*-dgux5* )
2812 USE_ALPHA=1
2813 USE_SVR4=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __ALPHA__ 1
2816 _ACEOF
2817
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SVR4__ 1
2820 _ACEOF
2821
2822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2823 ;;
2824 *-*-sysv5* )
2825 USE_SYSV=1
2826 USE_SVR4=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __SYSV__ 1
2829 _ACEOF
2830
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __SVR4__ 1
2833 _ACEOF
2834
2835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2836 ;;
2837 *-*-aix* )
2838 USE_AIX=1
2839 USE_SYSV=1
2840 USE_SVR4=1
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __AIX__ 1
2843 _ACEOF
2844
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __SYSV__ 1
2847 _ACEOF
2848
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __SVR4__ 1
2851 _ACEOF
2852
2853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2854 ;;
2855
2856 *-*-*UnixWare*)
2857 USE_SYSV=1
2858 USE_SVR4=1
2859 USE_UNIXWARE=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __UNIXWARE__ 1
2862 _ACEOF
2863
2864 ;;
2865
2866 *-*-cygwin* | *-*-mingw32* )
2867 PROGRAM_EXT=".exe"
2868 DEFAULT_DEFAULT_wxUSE_MSW=1
2869 ;;
2870
2871 *-pc-msdosdjgpp )
2872 USE_UNIX=0
2873 USE_DOS=1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DOS__ 1
2876 _ACEOF
2877
2878 PROGRAM_EXT=".exe"
2879 DEFAULT_DEFAULT_wxUSE_MGL=1
2880 ;;
2881
2882 *-pc-os2_emx | *-pc-os2-emx )
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __EMX__ 1
2885 _ACEOF
2886
2887 USE_OS2=1
2888 cat >>confdefs.h <<\_ACEOF
2889 #define __OS2__ 1
2890 _ACEOF
2891
2892 PROGRAM_EXT=".exe"
2893 DEFAULT_DEFAULT_wxUSE_PM=1
2894 CXX=gcc
2895 LDFLAGS="$LDFLAGS -Zcrtdll"
2896 ac_executable_extensions=".exe"
2897 export ac_executable_extensions
2898 ac_save_IFS="$IFS"
2899 IFS='\\'
2900 ac_TEMP_PATH=
2901 for ac_dir in $PATH; do
2902 IFS=$ac_save_IFS
2903 if test -z "$ac_TEMP_PATH"; then
2904 ac_TEMP_PATH="$ac_dir"
2905 else
2906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2907 fi
2908 done
2909 export PATH="$ac_TEMP_PATH"
2910 unset ac_TEMP_PATH
2911 DEFAULT_STD_FLAG=no
2912 ;;
2913
2914 arm-apple-darwin*)
2915 USE_BSD=1
2916 USE_DARWIN=1
2917 cat >>confdefs.h <<\_ACEOF
2918 #define __BSD__ 1
2919 _ACEOF
2920
2921 cat >>confdefs.h <<\_ACEOF
2922 #define __DARWIN__ 1
2923 _ACEOF
2924
2925 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2926 ;;
2927
2928 *-*-darwin* )
2929 USE_BSD=1
2930 USE_DARWIN=1
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __BSD__ 1
2933 _ACEOF
2934
2935 cat >>confdefs.h <<\_ACEOF
2936 #define __DARWIN__ 1
2937 _ACEOF
2938
2939 cat >>confdefs.h <<\_ACEOF
2940 #define TARGET_CARBON 1
2941 _ACEOF
2942
2943 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2944 ;;
2945
2946 *-*-beos* )
2947 USE_BEOS=1
2948 cat >>confdefs.h <<\_ACEOF
2949 #define __BEOS__ 1
2950 _ACEOF
2951
2952 ;;
2953
2954 *)
2955 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2956 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2957 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2958 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2959
2960 DEFAULT_DEFAULT_wxUSE_X11=1
2961 DEFAULT_wxUSE_SHARED=no
2962 esac
2963
2964
2965
2966 DEFAULT_wxUSE_ALL_FEATURES=yes
2967
2968 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2969 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2970
2971 DEFAULT_wxUSE_DMALLOC=no
2972 DEFAULT_wxUSE_LIBGNOMEVFS=no
2973 DEFAULT_wxUSE_LIBHILDON=no
2974 DEFAULT_wxUSE_LIBHILDON2=no
2975 DEFAULT_wxUSE_LIBMSPACK=no
2976 DEFAULT_wxUSE_LIBSDL=no
2977
2978 DEFAULT_wxUSE_ACCESSIBILITY=no
2979 DEFAULT_wxUSE_IPV6=no
2980 DEFAULT_wxUSE_GSTREAMER8=no
2981 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2982
2983 DEFAULT_wxUSE_UNICODE_UTF8=auto
2984 DEFAULT_wxUSE_OPENGL=auto
2985 DEFAULT_wxUSE_MEDIACTRL=auto
2986 DEFAULT_wxUSE_COMPILER_TLS=auto
2987
2988 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2989
2990 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2991
2992 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2993
2994 DEFAULT_wxUSE_GTK2=yes
2995
2996 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2997
2998
2999
3000
3001
3002 enablestring=disable
3003 defaultval=
3004 if test -z "$defaultval"; then
3005 if test x"$enablestring" = xdisable; then
3006 defaultval=yes
3007 else
3008 defaultval=no
3009 fi
3010 fi
3011
3012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3014 # Check whether --enable-gui was given.
3015 if test "${enable_gui+set}" = set; then
3016 enableval=$enable_gui;
3017 if test "$enableval" = yes; then
3018 wx_cv_use_gui='wxUSE_GUI=yes'
3019 else
3020 wx_cv_use_gui='wxUSE_GUI=no'
3021 fi
3022
3023 else
3024
3025 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3026
3027 fi
3028
3029
3030 eval "$wx_cv_use_gui"
3031
3032 if test x"$enablestring" = xdisable; then
3033 if test $wxUSE_GUI = no; then
3034 result=yes
3035 else
3036 result=no
3037 fi
3038 else
3039 result=$wxUSE_GUI
3040 fi
3041
3042 { echo "$as_me:$LINENO: result: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3044
3045
3046 enablestring=
3047 defaultval=
3048 if test -z "$defaultval"; then
3049 if test x"$enablestring" = xdisable; then
3050 defaultval=yes
3051 else
3052 defaultval=no
3053 fi
3054 fi
3055
3056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3058 # Check whether --enable-monolithic was given.
3059 if test "${enable_monolithic+set}" = set; then
3060 enableval=$enable_monolithic;
3061 if test "$enableval" = yes; then
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3063 else
3064 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3065 fi
3066
3067 else
3068
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3070
3071 fi
3072
3073
3074 eval "$wx_cv_use_monolithic"
3075
3076 if test x"$enablestring" = xdisable; then
3077 if test $wxUSE_MONOLITHIC = no; then
3078 result=yes
3079 else
3080 result=no
3081 fi
3082 else
3083 result=$wxUSE_MONOLITHIC
3084 fi
3085
3086 { echo "$as_me:$LINENO: result: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3088
3089
3090 enablestring=
3091 defaultval=
3092 if test -z "$defaultval"; then
3093 if test x"$enablestring" = xdisable; then
3094 defaultval=yes
3095 else
3096 defaultval=no
3097 fi
3098 fi
3099
3100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3101 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3102 # Check whether --enable-plugins was given.
3103 if test "${enable_plugins+set}" = set; then
3104 enableval=$enable_plugins;
3105 if test "$enableval" = yes; then
3106 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3107 else
3108 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3109 fi
3110
3111 else
3112
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3114
3115 fi
3116
3117
3118 eval "$wx_cv_use_plugins"
3119
3120 if test x"$enablestring" = xdisable; then
3121 if test $wxUSE_PLUGINS = no; then
3122 result=yes
3123 else
3124 result=no
3125 fi
3126 else
3127 result=$wxUSE_PLUGINS
3128 fi
3129
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 withstring=without
3135 defaultval=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x"$withstring" = xwithout; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3145
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3151 else
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 fi
3154
3155 else
3156
3157 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_subdirs"
3163
3164 if test x"$withstring" = xwithout; then
3165 if test $wxWITH_SUBDIRS = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxWITH_SUBDIRS
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177
3178 # Check whether --with-flavour was given.
3179 if test "${with_flavour+set}" = set; then
3180 withval=$with_flavour; WX_FLAVOUR="$withval"
3181 fi
3182
3183
3184 enablestring=
3185 defaultval=
3186 if test -z "$defaultval"; then
3187 if test x"$enablestring" = xdisable; then
3188 defaultval=yes
3189 else
3190 defaultval=no
3191 fi
3192 fi
3193
3194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3195 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3196 # Check whether --enable-official_build was given.
3197 if test "${enable_official_build+set}" = set; then
3198 enableval=$enable_official_build;
3199 if test "$enableval" = yes; then
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3201 else
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3203 fi
3204
3205 else
3206
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3208
3209 fi
3210
3211
3212 eval "$wx_cv_use_official_build"
3213
3214 if test x"$enablestring" = xdisable; then
3215 if test $wxUSE_OFFICIAL_BUILD = no; then
3216 result=yes
3217 else
3218 result=no
3219 fi
3220 else
3221 result=$wxUSE_OFFICIAL_BUILD
3222 fi
3223
3224 { echo "$as_me:$LINENO: result: $result" >&5
3225 echo "${ECHO_T}$result" >&6; }
3226
3227 # Check whether --enable-vendor was given.
3228 if test "${enable_vendor+set}" = set; then
3229 enableval=$enable_vendor; VENDOR="$enableval"
3230 fi
3231
3232 if test "x$VENDOR" = "x"; then
3233 VENDOR="custom"
3234 fi
3235
3236
3237 enablestring=disable
3238 defaultval=
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3241 defaultval=yes
3242 else
3243 defaultval=no
3244 fi
3245 fi
3246
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3249 # Check whether --enable-all-features was given.
3250 if test "${enable_all_features+set}" = set; then
3251 enableval=$enable_all_features;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3254 else
3255 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3256 fi
3257
3258 else
3259
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3261
3262 fi
3263
3264
3265 eval "$wx_cv_use_all_features"
3266
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_ALL_FEATURES = no; then
3269 result=yes
3270 else
3271 result=no
3272 fi
3273 else
3274 result=$wxUSE_ALL_FEATURES
3275 fi
3276
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3279
3280
3281 if test "$wxUSE_ALL_FEATURES" = "no"; then
3282 DEFAULT_wxUSE_MEDIACTRL=no
3283 fi
3284
3285
3286 if test "$wxUSE_GUI" = "yes"; then
3287
3288
3289 enablestring=
3290 defaultval=
3291 if test -z "$defaultval"; then
3292 if test x"$enablestring" = xdisable; then
3293 defaultval=yes
3294 else
3295 defaultval=no
3296 fi
3297 fi
3298
3299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3301 # Check whether --enable-universal was given.
3302 if test "${enable_universal+set}" = set; then
3303 enableval=$enable_universal;
3304 if test "$enableval" = yes; then
3305 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3306 else
3307 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3308 fi
3309
3310 else
3311
3312 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3313
3314 fi
3315
3316
3317 eval "$wx_cv_use_universal"
3318
3319 if test x"$enablestring" = xdisable; then
3320 if test $wxUSE_UNIVERSAL = no; then
3321 result=yes
3322 else
3323 result=no
3324 fi
3325 else
3326 result=$wxUSE_UNIVERSAL
3327 fi
3328
3329 { echo "$as_me:$LINENO: result: $result" >&5
3330 echo "${ECHO_T}$result" >&6; }
3331
3332 if test "$wxUSE_UNIVERSAL" = "yes"; then
3333
3334 # Check whether --with-themes was given.
3335 if test "${with_themes+set}" = set; then
3336 withval=$with_themes; wxUNIV_THEMES="$withval"
3337 fi
3338
3339 fi
3340
3341
3342 # Check whether --with-gtk was given.
3343 if test "${with_gtk+set}" = set; then
3344 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-motif was given.
3349 if test "${with_motif+set}" = set; then
3350 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-osx_carbon was given.
3355 if test "${with_osx_carbon+set}" = set; then
3356 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-osx_cocoa was given.
3361 if test "${with_osx_cocoa+set}" = set; then
3362 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-osx_iphone was given.
3367 if test "${with_osx_iphone+set}" = set; then
3368 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-osx was given.
3373 if test "${with_osx+set}" = set; then
3374 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-carbon was given.
3379 if test "${with_carbon+set}" = set; then
3380 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-cocoa was given.
3385 if test "${with_cocoa+set}" = set; then
3386 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-iphone was given.
3391 if test "${with_iphone+set}" = set; then
3392 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-mac was given.
3397 if test "${with_mac+set}" = set; then
3398 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-old_cocoa was given.
3403 if test "${with_old_cocoa+set}" = set; then
3404 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-wine was given.
3409 if test "${with_wine+set}" = set; then
3410 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3411 fi
3412
3413
3414 # Check whether --with-msw was given.
3415 if test "${with_msw+set}" = set; then
3416 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-pm was given.
3421 if test "${with_pm+set}" = set; then
3422 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-mgl was given.
3427 if test "${with_mgl+set}" = set; then
3428 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-directfb was given.
3433 if test "${with_directfb+set}" = set; then
3434 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-microwin was given.
3439 if test "${with_microwin+set}" = set; then
3440 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-x11 was given.
3445 if test "${with_x11+set}" = set; then
3446 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 enablestring=
3451 defaultval=
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3454 defaultval=yes
3455 else
3456 defaultval=no
3457 fi
3458 fi
3459
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3462 # Check whether --enable-nanox was given.
3463 if test "${enable_nanox+set}" = set; then
3464 enableval=$enable_nanox;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_nanox='wxUSE_NANOX=yes'
3467 else
3468 wx_cv_use_nanox='wxUSE_NANOX=no'
3469 fi
3470
3471 else
3472
3473 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3474
3475 fi
3476
3477
3478 eval "$wx_cv_use_nanox"
3479
3480 if test x"$enablestring" = xdisable; then
3481 if test $wxUSE_NANOX = no; then
3482 result=yes
3483 else
3484 result=no
3485 fi
3486 else
3487 result=$wxUSE_NANOX
3488 fi
3489
3490 { echo "$as_me:$LINENO: result: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3492
3493
3494 # Check whether --enable-gtk2 was given.
3495 if test "${enable_gtk2+set}" = set; then
3496 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3497 fi
3498
3499
3500 enablestring=
3501 defaultval=
3502 if test -z "$defaultval"; then
3503 if test x"$enablestring" = xdisable; then
3504 defaultval=yes
3505 else
3506 defaultval=no
3507 fi
3508 fi
3509
3510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3511 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3512 # Check whether --enable-gpe was given.
3513 if test "${enable_gpe+set}" = set; then
3514 enableval=$enable_gpe;
3515 if test "$enableval" = yes; then
3516 wx_cv_use_gpe='wxUSE_GPE=yes'
3517 else
3518 wx_cv_use_gpe='wxUSE_GPE=no'
3519 fi
3520
3521 else
3522
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3524
3525 fi
3526
3527
3528 eval "$wx_cv_use_gpe"
3529
3530 if test x"$enablestring" = xdisable; then
3531 if test $wxUSE_GPE = no; then
3532 result=yes
3533 else
3534 result=no
3535 fi
3536 else
3537 result=$wxUSE_GPE
3538 fi
3539
3540 { echo "$as_me:$LINENO: result: $result" >&5
3541 echo "${ECHO_T}$result" >&6; }
3542
3543
3544
3545 { echo "$as_me:$LINENO: checking for toolkit" >&5
3546 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3547
3548
3549
3550 # In Wine, we need to default to MSW, not GTK or MOTIF
3551 if test "$wxUSE_WINE" = "yes"; then
3552 DEFAULT_DEFAULT_wxUSE_GTK=0
3553 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3554 DEFAULT_DEFAULT_wxUSE_MSW=1
3555 wxUSE_SHARED=no
3556 CC=${CC:-winegcc}
3557 CXX=${CXX:-wineg++}
3558 fi
3559
3560
3561 if test "$wxUSE_GUI" = "yes"; then
3562
3563 if test "$USE_BEOS" = 1; then
3564 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3565 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 if test "$TOOLKIT_GIVEN" = 1; then
3570 for toolkit in $ALL_TOOLKITS; do
3571 var=wxUSE_$toolkit
3572 eval "value=\$${var}"
3573 if test "x$value" = "xno"; then
3574 eval "$var=0"
3575 elif test "x$value" != "x"; then
3576 eval "$var=1"
3577 fi
3578
3579 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3580 eval "wx${toolkit}_VERSION=$value"
3581 fi
3582 done
3583 else
3584 for toolkit in $ALL_TOOLKITS; do
3585 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3586 eval "wxUSE_$toolkit=\$${var}"
3587 done
3588 fi
3589
3590 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3591 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3592 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3593
3594 case "${host}" in
3595 *-pc-os2_emx | *-pc-os2-emx )
3596 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3597 esac
3598
3599 case "$NUM_TOOLKITS" in
3600 1)
3601 ;;
3602 0)
3603 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3604 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3605 { (exit 1); exit 1; }; }
3606 ;;
3607 *)
3608 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3609 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3610 { (exit 1); exit 1; }; }
3611 esac
3612
3613 # to be removed when --disable-gtk2 isn't needed
3614 if test "x$wxUSE_GTK2" = "xyes"; then
3615 wxGTK_VERSION=2
3616 wxUSE_GTK1=0
3617 elif test "x$wxUSE_GTK2" = "xno"; then
3618 wxGTK_VERSION=1
3619 wxUSE_GTK1=1
3620 fi
3621
3622 for toolkit in $ALL_TOOLKITS; do
3623 var=wxUSE_$toolkit
3624 eval "value=\$${var}"
3625 if test "$value" = 1; then
3626 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3627 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3628 echo "${ECHO_T}$toolkit_echo" >&6; }
3629 fi
3630 done
3631 else
3632 if test "x$host_alias" != "x"; then
3633 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3634 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3635 else
3636 { echo "$as_me:$LINENO: result: base only" >&5
3637 echo "${ECHO_T}base only" >&6; }
3638 fi
3639 fi
3640
3641 wxUSE_MAC=0
3642 if test "$wxUSE_OSX_CARBON" = 1 \
3643 -o "$wxUSE_OSX_COCOA" = 1 \
3644 -o "$wxUSE_OSX_IPHONE" = 1; then
3645 wxUSE_MAC=1
3646 fi
3647
3648
3649
3650 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3651 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3652
3653 # Check whether --with-libpng was given.
3654 if test "${with_libpng+set}" = set; then
3655 withval=$with_libpng;
3656 if test "$withval" = yes; then
3657 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3658 elif test "$withval" = no; then
3659 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3660 elif test "$withval" = sys; then
3661 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3662 elif test "$withval" = builtin; then
3663 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3664 else
3665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3666 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3667 { (exit 1); exit 1; }; }
3668 fi
3669
3670 else
3671
3672 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3673
3674 fi
3675
3676
3677 eval "$wx_cv_use_libpng"
3678
3679 if test "$wxUSE_LIBPNG" = yes; then
3680 { echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6; }
3682 elif test "$wxUSE_LIBPNG" = no; then
3683 { echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6; }
3685 elif test "$wxUSE_LIBPNG" = sys; then
3686 { echo "$as_me:$LINENO: result: system version" >&5
3687 echo "${ECHO_T}system version" >&6; }
3688 elif test "$wxUSE_LIBPNG" = builtin; then
3689 { echo "$as_me:$LINENO: result: builtin version" >&5
3690 echo "${ECHO_T}builtin version" >&6; }
3691 else
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3695 fi
3696
3697
3698 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3699 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3700
3701 # Check whether --with-libjpeg was given.
3702 if test "${with_libjpeg+set}" = set; then
3703 withval=$with_libjpeg;
3704 if test "$withval" = yes; then
3705 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3706 elif test "$withval" = no; then
3707 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3708 elif test "$withval" = sys; then
3709 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3710 elif test "$withval" = builtin; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3712 else
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3716 fi
3717
3718 else
3719
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3721
3722 fi
3723
3724
3725 eval "$wx_cv_use_libjpeg"
3726
3727 if test "$wxUSE_LIBJPEG" = yes; then
3728 { echo "$as_me:$LINENO: result: yes" >&5
3729 echo "${ECHO_T}yes" >&6; }
3730 elif test "$wxUSE_LIBJPEG" = no; then
3731 { echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = sys; then
3734 { echo "$as_me:$LINENO: result: system version" >&5
3735 echo "${ECHO_T}system version" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = builtin; then
3737 { echo "$as_me:$LINENO: result: builtin version" >&5
3738 echo "${ECHO_T}builtin version" >&6; }
3739 else
3740 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3741 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3742 { (exit 1); exit 1; }; }
3743 fi
3744
3745
3746 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3747 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3748
3749 # Check whether --with-libtiff was given.
3750 if test "${with_libtiff+set}" = set; then
3751 withval=$with_libtiff;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3754 elif test "$withval" = no; then
3755 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3756 elif test "$withval" = sys; then
3757 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3758 elif test "$withval" = builtin; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3760 else
3761 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3762 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3763 { (exit 1); exit 1; }; }
3764 fi
3765
3766 else
3767
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3769
3770 fi
3771
3772
3773 eval "$wx_cv_use_libtiff"
3774
3775 if test "$wxUSE_LIBTIFF" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBTIFF" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3787 else
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3791 fi
3792
3793
3794 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libxpm was given.
3798 if test "${with_libxpm+set}" = set; then
3799 withval=$with_libxpm;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3802 elif test "$withval" = no; then
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3804 elif test "$withval" = sys; then
3805 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3806 elif test "$withval" = builtin; then
3807 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3808 else
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3812 fi
3813
3814 else
3815
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3817
3818 fi
3819
3820
3821 eval "$wx_cv_use_libxpm"
3822
3823 if test "$wxUSE_LIBXPM" = yes; then
3824 { echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6; }
3826 elif test "$wxUSE_LIBXPM" = no; then
3827 { echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6; }
3829 elif test "$wxUSE_LIBXPM" = sys; then
3830 { echo "$as_me:$LINENO: result: system version" >&5
3831 echo "${ECHO_T}system version" >&6; }
3832 elif test "$wxUSE_LIBXPM" = builtin; then
3833 { echo "$as_me:$LINENO: result: builtin version" >&5
3834 echo "${ECHO_T}builtin version" >&6; }
3835 else
3836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3837 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3838 { (exit 1); exit 1; }; }
3839 fi
3840
3841
3842 withstring=
3843 defaultval=$wxUSE_ALL_FEATURES
3844 if test -z "$defaultval"; then
3845 if test x"$withstring" = xwithout; then
3846 defaultval=yes
3847 else
3848 defaultval=no
3849 fi
3850 fi
3851 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3852 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3853
3854 # Check whether --with-libiconv was given.
3855 if test "${with_libiconv+set}" = set; then
3856 withval=$with_libiconv;
3857 if test "$withval" = yes; then
3858 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3859 else
3860 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3861 fi
3862
3863 else
3864
3865 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3866
3867 fi
3868
3869
3870 eval "$wx_cv_use_libiconv"
3871
3872 if test x"$withstring" = xwithout; then
3873 if test $wxUSE_LIBICONV = yes; then
3874 result=no
3875 else
3876 result=yes
3877 fi
3878 else
3879 result=$wxUSE_LIBICONV
3880 fi
3881
3882 { echo "$as_me:$LINENO: result: $result" >&5
3883 echo "${ECHO_T}$result" >&6; }
3884
3885
3886 withstring=
3887 defaultval=$wxUSE_ALL_FEATURES
3888 if test -z "$defaultval"; then
3889 if test x"$withstring" = xwithout; then
3890 defaultval=yes
3891 else
3892 defaultval=no
3893 fi
3894 fi
3895 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3896 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3897
3898 # Check whether --with-libmspack was given.
3899 if test "${with_libmspack+set}" = set; then
3900 withval=$with_libmspack;
3901 if test "$withval" = yes; then
3902 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3903 else
3904 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3905 fi
3906
3907 else
3908
3909 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3910
3911 fi
3912
3913
3914 eval "$wx_cv_use_libmspack"
3915
3916 if test x"$withstring" = xwithout; then
3917 if test $wxUSE_LIBMSPACK = yes; then
3918 result=no
3919 else
3920 result=yes
3921 fi
3922 else
3923 result=$wxUSE_LIBMSPACK
3924 fi
3925
3926 { echo "$as_me:$LINENO: result: $result" >&5
3927 echo "${ECHO_T}$result" >&6; }
3928
3929
3930 withstring=without
3931 defaultval=$wxUSE_ALL_FEATURES
3932 if test -z "$defaultval"; then
3933 if test x"$withstring" = xwithout; then
3934 defaultval=yes
3935 else
3936 defaultval=no
3937 fi
3938 fi
3939 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3940 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3941
3942 # Check whether --with-gtkprint was given.
3943 if test "${with_gtkprint+set}" = set; then
3944 withval=$with_gtkprint;
3945 if test "$withval" = yes; then
3946 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3947 else
3948 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3949 fi
3950
3951 else
3952
3953 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3954
3955 fi
3956
3957
3958 eval "$wx_cv_use_gtkprint"
3959
3960 if test x"$withstring" = xwithout; then
3961 if test $wxUSE_GTKPRINT = yes; then
3962 result=no
3963 else
3964 result=yes
3965 fi
3966 else
3967 result=$wxUSE_GTKPRINT
3968 fi
3969
3970 { echo "$as_me:$LINENO: result: $result" >&5
3971 echo "${ECHO_T}$result" >&6; }
3972
3973
3974 withstring=without
3975 defaultval=$wxUSE_ALL_FEATURES
3976 if test -z "$defaultval"; then
3977 if test x"$withstring" = xwithout; then
3978 defaultval=yes
3979 else
3980 defaultval=no
3981 fi
3982 fi
3983 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3984 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3985
3986 # Check whether --with-gnomeprint was given.
3987 if test "${with_gnomeprint+set}" = set; then
3988 withval=$with_gnomeprint;
3989 if test "$withval" = yes; then
3990 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3991 else
3992 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3993 fi
3994
3995 else
3996
3997 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3998
3999 fi
4000
4001
4002 eval "$wx_cv_use_gnomeprint"
4003
4004 if test x"$withstring" = xwithout; then
4005 if test $wxUSE_LIBGNOMEPRINT = yes; then
4006 result=no
4007 else
4008 result=yes
4009 fi
4010 else
4011 result=$wxUSE_LIBGNOMEPRINT
4012 fi
4013
4014 { echo "$as_me:$LINENO: result: $result" >&5
4015 echo "${ECHO_T}$result" >&6; }
4016
4017
4018 withstring=
4019 defaultval=$wxUSE_ALL_FEATURES
4020 if test -z "$defaultval"; then
4021 if test x"$withstring" = xwithout; then
4022 defaultval=yes
4023 else
4024 defaultval=no
4025 fi
4026 fi
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4029
4030 # Check whether --with-gnomevfs was given.
4031 if test "${with_gnomevfs+set}" = set; then
4032 withval=$with_gnomevfs;
4033 if test "$withval" = yes; then
4034 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4035 else
4036 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4037 fi
4038
4039 else
4040
4041 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4042
4043 fi
4044
4045
4046 eval "$wx_cv_use_gnomevfs"
4047
4048 if test x"$withstring" = xwithout; then
4049 if test $wxUSE_LIBGNOMEVFS = yes; then
4050 result=no
4051 else
4052 result=yes
4053 fi
4054 else
4055 result=$wxUSE_LIBGNOMEVFS
4056 fi
4057
4058 { echo "$as_me:$LINENO: result: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4060
4061
4062 withstring=
4063 defaultval=$wxUSE_ALL_FEATURES
4064 if test -z "$defaultval"; then
4065 if test x"$withstring" = xwithout; then
4066 defaultval=yes
4067 else
4068 defaultval=no
4069 fi
4070 fi
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4073
4074 # Check whether --with-hildon was given.
4075 if test "${with_hildon+set}" = set; then
4076 withval=$with_hildon;
4077 if test "$withval" = yes; then
4078 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4079 else
4080 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4081 fi
4082
4083 else
4084
4085 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4086
4087 fi
4088
4089
4090 eval "$wx_cv_use_hildon"
4091
4092 if test x"$withstring" = xwithout; then
4093 if test $wxUSE_LIBHILDON = yes; then
4094 result=no
4095 else
4096 result=yes
4097 fi
4098 else
4099 result=$wxUSE_LIBHILDON
4100 fi
4101
4102 { echo "$as_me:$LINENO: result: $result" >&5
4103 echo "${ECHO_T}$result" >&6; }
4104
4105
4106 withstring=
4107 defaultval=$wxUSE_ALL_FEATURES
4108 if test -z "$defaultval"; then
4109 if test x"$withstring" = xwithout; then
4110 defaultval=yes
4111 else
4112 defaultval=no
4113 fi
4114 fi
4115 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4116 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4117
4118 # Check whether --with-opengl was given.
4119 if test "${with_opengl+set}" = set; then
4120 withval=$with_opengl;
4121 if test "$withval" = yes; then
4122 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4123 else
4124 wx_cv_use_opengl='wxUSE_OPENGL=no'
4125 fi
4126
4127 else
4128
4129 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4130
4131 fi
4132
4133
4134 eval "$wx_cv_use_opengl"
4135
4136 if test x"$withstring" = xwithout; then
4137 if test $wxUSE_OPENGL = yes; then
4138 result=no
4139 else
4140 result=yes
4141 fi
4142 else
4143 result=$wxUSE_OPENGL
4144 fi
4145
4146 { echo "$as_me:$LINENO: result: $result" >&5
4147 echo "${ECHO_T}$result" >&6; }
4148
4149
4150 fi
4151
4152
4153 withstring=
4154 defaultval=$wxUSE_ALL_FEATURES
4155 if test -z "$defaultval"; then
4156 if test x"$withstring" = xwithout; then
4157 defaultval=yes
4158 else
4159 defaultval=no
4160 fi
4161 fi
4162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4163 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4164
4165 # Check whether --with-dmalloc was given.
4166 if test "${with_dmalloc+set}" = set; then
4167 withval=$with_dmalloc;
4168 if test "$withval" = yes; then
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4170 else
4171 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4172 fi
4173
4174 else
4175
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4177
4178 fi
4179
4180
4181 eval "$wx_cv_use_dmalloc"
4182
4183 if test x"$withstring" = xwithout; then
4184 if test $wxUSE_DMALLOC = yes; then
4185 result=no
4186 else
4187 result=yes
4188 fi
4189 else
4190 result=$wxUSE_DMALLOC
4191 fi
4192
4193 { echo "$as_me:$LINENO: result: $result" >&5
4194 echo "${ECHO_T}$result" >&6; }
4195
4196
4197 withstring=
4198 defaultval=$wxUSE_ALL_FEATURES
4199 if test -z "$defaultval"; then
4200 if test x"$withstring" = xwithout; then
4201 defaultval=yes
4202 else
4203 defaultval=no
4204 fi
4205 fi
4206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4207 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4208
4209 # Check whether --with-sdl was given.
4210 if test "${with_sdl+set}" = set; then
4211 withval=$with_sdl;
4212 if test "$withval" = yes; then
4213 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4214 else
4215 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4216 fi
4217
4218 else
4219
4220 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4221
4222 fi
4223
4224
4225 eval "$wx_cv_use_sdl"
4226
4227 if test x"$withstring" = xwithout; then
4228 if test $wxUSE_LIBSDL = yes; then
4229 result=no
4230 else
4231 result=yes
4232 fi
4233 else
4234 result=$wxUSE_LIBSDL
4235 fi
4236
4237 { echo "$as_me:$LINENO: result: $result" >&5
4238 echo "${ECHO_T}$result" >&6; }
4239
4240
4241 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4242 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4243
4244 # Check whether --with-regex was given.
4245 if test "${with_regex+set}" = set; then
4246 withval=$with_regex;
4247 if test "$withval" = yes; then
4248 wx_cv_use_regex='wxUSE_REGEX=yes'
4249 elif test "$withval" = no; then
4250 wx_cv_use_regex='wxUSE_REGEX=no'
4251 elif test "$withval" = sys; then
4252 wx_cv_use_regex='wxUSE_REGEX=sys'
4253 elif test "$withval" = builtin; then
4254 wx_cv_use_regex='wxUSE_REGEX=builtin'
4255 else
4256 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4257 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4258 { (exit 1); exit 1; }; }
4259 fi
4260
4261 else
4262
4263 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4264
4265 fi
4266
4267
4268 eval "$wx_cv_use_regex"
4269
4270 if test "$wxUSE_REGEX" = yes; then
4271 { echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6; }
4273 elif test "$wxUSE_REGEX" = no; then
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4276 elif test "$wxUSE_REGEX" = sys; then
4277 { echo "$as_me:$LINENO: result: system version" >&5
4278 echo "${ECHO_T}system version" >&6; }
4279 elif test "$wxUSE_REGEX" = builtin; then
4280 { echo "$as_me:$LINENO: result: builtin version" >&5
4281 echo "${ECHO_T}builtin version" >&6; }
4282 else
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4286 fi
4287
4288
4289 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4290 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4291
4292 # Check whether --with-zlib was given.
4293 if test "${with_zlib+set}" = set; then
4294 withval=$with_zlib;
4295 if test "$withval" = yes; then
4296 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4297 elif test "$withval" = no; then
4298 wx_cv_use_zlib='wxUSE_ZLIB=no'
4299 elif test "$withval" = sys; then
4300 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4301 elif test "$withval" = builtin; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4303 else
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4307 fi
4308
4309 else
4310
4311 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4312
4313 fi
4314
4315
4316 eval "$wx_cv_use_zlib"
4317
4318 if test "$wxUSE_ZLIB" = yes; then
4319 { echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6; }
4321 elif test "$wxUSE_ZLIB" = no; then
4322 { echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6; }
4324 elif test "$wxUSE_ZLIB" = sys; then
4325 { echo "$as_me:$LINENO: result: system version" >&5
4326 echo "${ECHO_T}system version" >&6; }
4327 elif test "$wxUSE_ZLIB" = builtin; then
4328 { echo "$as_me:$LINENO: result: builtin version" >&5
4329 echo "${ECHO_T}builtin version" >&6; }
4330 else
4331 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4332 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4333 { (exit 1); exit 1; }; }
4334 fi
4335
4336
4337 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4338 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4339
4340 # Check whether --with-expat was given.
4341 if test "${with_expat+set}" = set; then
4342 withval=$with_expat;
4343 if test "$withval" = yes; then
4344 wx_cv_use_expat='wxUSE_EXPAT=yes'
4345 elif test "$withval" = no; then
4346 wx_cv_use_expat='wxUSE_EXPAT=no'
4347 elif test "$withval" = sys; then
4348 wx_cv_use_expat='wxUSE_EXPAT=sys'
4349 elif test "$withval" = builtin; then
4350 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4351 else
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4355 fi
4356
4357 else
4358
4359 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4360
4361 fi
4362
4363
4364 eval "$wx_cv_use_expat"
4365
4366 if test "$wxUSE_EXPAT" = yes; then
4367 { echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6; }
4369 elif test "$wxUSE_EXPAT" = no; then
4370 { echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6; }
4372 elif test "$wxUSE_EXPAT" = sys; then
4373 { echo "$as_me:$LINENO: result: system version" >&5
4374 echo "${ECHO_T}system version" >&6; }
4375 elif test "$wxUSE_EXPAT" = builtin; then
4376 { echo "$as_me:$LINENO: result: builtin version" >&5
4377 echo "${ECHO_T}builtin version" >&6; }
4378 else
4379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4381 { (exit 1); exit 1; }; }
4382 fi
4383
4384
4385 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4386 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4387
4388 # Check whether --with-macosx-sdk was given.
4389 if test "${with_macosx_sdk+set}" = set; then
4390 withval=$with_macosx_sdk;
4391 wxUSE_MACOSX_SDK=$withval
4392 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4393
4394 fi
4395
4396 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4397 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4398
4399 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4400 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4401
4402 # Check whether --with-macosx-version-min was given.
4403 if test "${with_macosx_version_min+set}" = set; then
4404 withval=$with_macosx_version_min;
4405 wxUSE_MACOSX_VERSION_MIN=$withval
4406 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4407
4408 fi
4409
4410 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4411 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4412
4413
4414 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4415 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wxUSE_DEBUG=yes
4421 elif test "$enableval" = no; then
4422 wxUSE_DEBUG=no
4423 elif test "$enableval" = max; then
4424 wxUSE_DEBUG=yes
4425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4426 else
4427 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4428 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4429 { (exit 1); exit 1; }; }
4430 fi
4431
4432 else
4433 wxUSE_DEBUG=default
4434
4435 fi
4436
4437
4438 case "$wxUSE_DEBUG" in
4439 yes)
4440 DEFAULT_wxUSE_DEBUG_FLAG=yes
4441 DEFAULT_wxUSE_DEBUG_INFO=yes
4442
4443 DEFAULT_wxUSE_OPTIMISE=no
4444 ;;
4445
4446 no)
4447 DEFAULT_wxUSE_DEBUG_FLAG=no
4448 DEFAULT_wxUSE_DEBUG_INFO=no
4449 ;;
4450
4451 default)
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=no
4454 ;;
4455 esac
4456
4457
4458 enablestring=disable
4459 defaultval=
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4462 defaultval=yes
4463 else
4464 defaultval=no
4465 fi
4466 fi
4467
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4470 # Check whether --enable-debug_flag was given.
4471 if test "${enable_debug_flag+set}" = set; then
4472 enableval=$enable_debug_flag;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4475 else
4476 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4477 fi
4478
4479 else
4480
4481 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4482
4483 fi
4484
4485
4486 eval "$wx_cv_use_debug_flag"
4487
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_DEBUG_FLAG = no; then
4490 result=yes
4491 else
4492 result=no
4493 fi
4494 else
4495 result=$wxUSE_DEBUG_FLAG
4496 fi
4497
4498 { echo "$as_me:$LINENO: result: $result" >&5
4499 echo "${ECHO_T}$result" >&6; }
4500
4501
4502 enablestring=
4503 defaultval=
4504 if test -z "$defaultval"; then
4505 if test x"$enablestring" = xdisable; then
4506 defaultval=yes
4507 else
4508 defaultval=no
4509 fi
4510 fi
4511
4512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4514 # Check whether --enable-debug_info was given.
4515 if test "${enable_debug_info+set}" = set; then
4516 enableval=$enable_debug_info;
4517 if test "$enableval" = yes; then
4518 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4519 else
4520 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4521 fi
4522
4523 else
4524
4525 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4526
4527 fi
4528
4529
4530 eval "$wx_cv_use_debug_info"
4531
4532 if test x"$enablestring" = xdisable; then
4533 if test $wxUSE_DEBUG_INFO = no; then
4534 result=yes
4535 else
4536 result=no
4537 fi
4538 else
4539 result=$wxUSE_DEBUG_INFO
4540 fi
4541
4542 { echo "$as_me:$LINENO: result: $result" >&5
4543 echo "${ECHO_T}$result" >&6; }
4544
4545
4546
4547
4548 enablestring=
4549 defaultval=
4550 if test -z "$defaultval"; then
4551 if test x"$enablestring" = xdisable; then
4552 defaultval=yes
4553 else
4554 defaultval=no
4555 fi
4556 fi
4557
4558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4560 # Check whether --enable-debug_gdb was given.
4561 if test "${enable_debug_gdb+set}" = set; then
4562 enableval=$enable_debug_gdb;
4563 if test "$enableval" = yes; then
4564 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4565 else
4566 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4567 fi
4568
4569 else
4570
4571 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4572
4573 fi
4574
4575
4576 eval "$wx_cv_use_debug_gdb"
4577
4578 if test x"$enablestring" = xdisable; then
4579 if test $wxUSE_DEBUG_GDB = no; then
4580 result=yes
4581 else
4582 result=no
4583 fi
4584 else
4585 result=$wxUSE_DEBUG_GDB
4586 fi
4587
4588 { echo "$as_me:$LINENO: result: $result" >&5
4589 echo "${ECHO_T}$result" >&6; }
4590
4591
4592 enablestring=
4593 defaultval=
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4596 defaultval=yes
4597 else
4598 defaultval=no
4599 fi
4600 fi
4601
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4604 # Check whether --enable-debug_cntxt was given.
4605 if test "${enable_debug_cntxt+set}" = set; then
4606 enableval=$enable_debug_cntxt;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4609 else
4610 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4611 fi
4612
4613 else
4614
4615 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4616
4617 fi
4618
4619
4620 eval "$wx_cv_use_debug_cntxt"
4621
4622 if test x"$enablestring" = xdisable; then
4623 if test $wxUSE_DEBUG_CONTEXT = no; then
4624 result=yes
4625 else
4626 result=no
4627 fi
4628 else
4629 result=$wxUSE_DEBUG_CONTEXT
4630 fi
4631
4632 { echo "$as_me:$LINENO: result: $result" >&5
4633 echo "${ECHO_T}$result" >&6; }
4634
4635
4636 enablestring=
4637 defaultval=
4638 if test -z "$defaultval"; then
4639 if test x"$enablestring" = xdisable; then
4640 defaultval=yes
4641 else
4642 defaultval=no
4643 fi
4644 fi
4645
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4648 # Check whether --enable-mem_tracing was given.
4649 if test "${enable_mem_tracing+set}" = set; then
4650 enableval=$enable_mem_tracing;
4651 if test "$enableval" = yes; then
4652 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4653 else
4654 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4655 fi
4656
4657 else
4658
4659 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4660
4661 fi
4662
4663
4664 eval "$wx_cv_use_mem_tracing"
4665
4666 if test x"$enablestring" = xdisable; then
4667 if test $wxUSE_MEM_TRACING = no; then
4668 result=yes
4669 else
4670 result=no
4671 fi
4672 else
4673 result=$wxUSE_MEM_TRACING
4674 fi
4675
4676 { echo "$as_me:$LINENO: result: $result" >&5
4677 echo "${ECHO_T}$result" >&6; }
4678
4679
4680
4681
4682 enablestring=disable
4683 defaultval=
4684 if test -z "$defaultval"; then
4685 if test x"$enablestring" = xdisable; then
4686 defaultval=yes
4687 else
4688 defaultval=no
4689 fi
4690 fi
4691
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4694 # Check whether --enable-shared was given.
4695 if test "${enable_shared+set}" = set; then
4696 enableval=$enable_shared;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_shared='wxUSE_SHARED=yes'
4699 else
4700 wx_cv_use_shared='wxUSE_SHARED=no'
4701 fi
4702
4703 else
4704
4705 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4706
4707 fi
4708
4709
4710 eval "$wx_cv_use_shared"
4711
4712 if test x"$enablestring" = xdisable; then
4713 if test $wxUSE_SHARED = no; then
4714 result=yes
4715 else
4716 result=no
4717 fi
4718 else
4719 result=$wxUSE_SHARED
4720 fi
4721
4722 { echo "$as_me:$LINENO: result: $result" >&5
4723 echo "${ECHO_T}$result" >&6; }
4724
4725
4726 enablestring=
4727 defaultval=
4728 if test -z "$defaultval"; then
4729 if test x"$enablestring" = xdisable; then
4730 defaultval=yes
4731 else
4732 defaultval=no
4733 fi
4734 fi
4735
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4738 # Check whether --enable-stl was given.
4739 if test "${enable_stl+set}" = set; then
4740 enableval=$enable_stl;
4741 if test "$enableval" = yes; then
4742 wx_cv_use_stl='wxUSE_STL=yes'
4743 else
4744 wx_cv_use_stl='wxUSE_STL=no'
4745 fi
4746
4747 else
4748
4749 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4750
4751 fi
4752
4753
4754 eval "$wx_cv_use_stl"
4755
4756 if test x"$enablestring" = xdisable; then
4757 if test $wxUSE_STL = no; then
4758 result=yes
4759 else
4760 result=no
4761 fi
4762 else
4763 result=$wxUSE_STL
4764 fi
4765
4766 { echo "$as_me:$LINENO: result: $result" >&5
4767 echo "${ECHO_T}$result" >&6; }
4768
4769
4770 enablestring=
4771 defaultval=
4772 if test -z "$defaultval"; then
4773 if test x"$enablestring" = xdisable; then
4774 defaultval=yes
4775 else
4776 defaultval=no
4777 fi
4778 fi
4779
4780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4782 # Check whether --enable-std_iostreams was given.
4783 if test "${enable_std_iostreams+set}" = set; then
4784 enableval=$enable_std_iostreams;
4785 if test "$enableval" = yes; then
4786 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4787 else
4788 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4789 fi
4790
4791 else
4792
4793 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4794
4795 fi
4796
4797
4798 eval "$wx_cv_use_std_iostreams"
4799
4800 if test x"$enablestring" = xdisable; then
4801 if test $wxUSE_STD_IOSTREAM = no; then
4802 result=yes
4803 else
4804 result=no
4805 fi
4806 else
4807 result=$wxUSE_STD_IOSTREAM
4808 fi
4809
4810 { echo "$as_me:$LINENO: result: $result" >&5
4811 echo "${ECHO_T}$result" >&6; }
4812
4813
4814 enablestring=
4815 defaultval=
4816 if test -z "$defaultval"; then
4817 if test x"$enablestring" = xdisable; then
4818 defaultval=yes
4819 else
4820 defaultval=no
4821 fi
4822 fi
4823
4824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4826 # Check whether --enable-std_string was given.
4827 if test "${enable_std_string+set}" = set; then
4828 enableval=$enable_std_string;
4829 if test "$enableval" = yes; then
4830 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4831 else
4832 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4833 fi
4834
4835 else
4836
4837 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4838
4839 fi
4840
4841
4842 eval "$wx_cv_use_std_string"
4843
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_STRING = no; then
4846 result=yes
4847 else
4848 result=no
4849 fi
4850 else
4851 result=$wxUSE_STD_STRING
4852 fi
4853
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4856
4857
4858 enablestring=disable
4859 defaultval=
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4862 defaultval=yes
4863 else
4864 defaultval=no
4865 fi
4866 fi
4867
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4870 # Check whether --enable-unicode was given.
4871 if test "${enable_unicode+set}" = set; then
4872 enableval=$enable_unicode;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4875 else
4876 wx_cv_use_unicode='wxUSE_UNICODE=no'
4877 fi
4878
4879 else
4880
4881 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4882
4883 fi
4884
4885
4886 eval "$wx_cv_use_unicode"
4887
4888 if test x"$enablestring" = xdisable; then
4889 if test $wxUSE_UNICODE = no; then
4890 result=yes
4891 else
4892 result=no
4893 fi
4894 else
4895 result=$wxUSE_UNICODE
4896 fi
4897
4898 { echo "$as_me:$LINENO: result: $result" >&5
4899 echo "${ECHO_T}$result" >&6; }
4900
4901
4902 enablestring=
4903 defaultval=
4904 if test -z "$defaultval"; then
4905 if test x"$enablestring" = xdisable; then
4906 defaultval=yes
4907 else
4908 defaultval=no
4909 fi
4910 fi
4911
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4914 # Check whether --enable-mslu was given.
4915 if test "${enable_mslu+set}" = set; then
4916 enableval=$enable_mslu;
4917 if test "$enableval" = yes; then
4918 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4919 else
4920 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4921 fi
4922
4923 else
4924
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4926
4927 fi
4928
4929
4930 eval "$wx_cv_use_mslu"
4931
4932 if test x"$enablestring" = xdisable; then
4933 if test $wxUSE_UNICODE_MSLU = no; then
4934 result=yes
4935 else
4936 result=no
4937 fi
4938 else
4939 result=$wxUSE_UNICODE_MSLU
4940 fi
4941
4942 { echo "$as_me:$LINENO: result: $result" >&5
4943 echo "${ECHO_T}$result" >&6; }
4944
4945
4946 enablestring=
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4949 # Check whether --enable-utf8 was given.
4950 if test "${enable_utf8+set}" = set; then
4951 enableval=$enable_utf8;
4952 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4953
4954 else
4955
4956 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4957
4958 fi
4959
4960
4961 eval "$wx_cv_use_utf8"
4962
4963 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4964 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4979 # Check whether --enable-utf8only was given.
4980 if test "${enable_utf8only+set}" = set; then
4981 enableval=$enable_utf8only;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4984 else
4985 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_utf8only"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_UNICODE_UTF8_LOCALE
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5023 # Check whether --enable-extended_rtti was given.
5024 if test "${enable_extended_rtti+set}" = set; then
5025 enableval=$enable_extended_rtti;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5028 else
5029 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_extended_rtti"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_EXTENDED_RTTI = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_EXTENDED_RTTI
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054 if test "$USE_OS2" = 1; then
5055 DEFAULT_wxUSE_OMF=no
5056
5057 enablestring=
5058 defaultval=
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5061 defaultval=yes
5062 else
5063 defaultval=no
5064 fi
5065 fi
5066
5067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5068 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5069 # Check whether --enable-omf was given.
5070 if test "${enable_omf+set}" = set; then
5071 enableval=$enable_omf;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_omf='wxUSE_OMF=yes'
5074 else
5075 wx_cv_use_omf='wxUSE_OMF=no'
5076 fi
5077
5078 else
5079
5080 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_omf"
5086
5087 if test x"$enablestring" = xdisable; then
5088 if test $wxUSE_OMF = no; then
5089 result=yes
5090 else
5091 result=no
5092 fi
5093 else
5094 result=$wxUSE_OMF
5095 fi
5096
5097 { echo "$as_me:$LINENO: result: $result" >&5
5098 echo "${ECHO_T}$result" >&6; }
5099
5100 fi
5101
5102
5103 enablestring=disable
5104 defaultval=
5105 if test -z "$defaultval"; then
5106 if test x"$enablestring" = xdisable; then
5107 defaultval=yes
5108 else
5109 defaultval=no
5110 fi
5111 fi
5112
5113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5115 # Check whether --enable-optimise was given.
5116 if test "${enable_optimise+set}" = set; then
5117 enableval=$enable_optimise;
5118 if test "$enableval" = yes; then
5119 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5120 else
5121 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5122 fi
5123
5124 else
5125
5126 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5127
5128 fi
5129
5130
5131 eval "$wx_cv_use_optimise"
5132
5133 if test x"$enablestring" = xdisable; then
5134 if test $wxUSE_OPTIMISE = no; then
5135 result=yes
5136 else
5137 result=no
5138 fi
5139 else
5140 result=$wxUSE_OPTIMISE
5141 fi
5142
5143 { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5145
5146
5147
5148 enablestring=
5149 defaultval=
5150 if test -z "$defaultval"; then
5151 if test x"$enablestring" = xdisable; then
5152 defaultval=yes
5153 else
5154 defaultval=no
5155 fi
5156 fi
5157
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5160 # Check whether --enable-profile was given.
5161 if test "${enable_profile+set}" = set; then
5162 enableval=$enable_profile;
5163 if test "$enableval" = yes; then
5164 wx_cv_use_profile='wxUSE_PROFILE=yes'
5165 else
5166 wx_cv_use_profile='wxUSE_PROFILE=no'
5167 fi
5168
5169 else
5170
5171 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5172
5173 fi
5174
5175
5176 eval "$wx_cv_use_profile"
5177
5178 if test x"$enablestring" = xdisable; then
5179 if test $wxUSE_PROFILE = no; then
5180 result=yes
5181 else
5182 result=no
5183 fi
5184 else
5185 result=$wxUSE_PROFILE
5186 fi
5187
5188 { echo "$as_me:$LINENO: result: $result" >&5
5189 echo "${ECHO_T}$result" >&6; }
5190
5191
5192 enablestring=
5193 defaultval=
5194 if test -z "$defaultval"; then
5195 if test x"$enablestring" = xdisable; then
5196 defaultval=yes
5197 else
5198 defaultval=no
5199 fi
5200 fi
5201
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5204 # Check whether --enable-no_rtti was given.
5205 if test "${enable_no_rtti+set}" = set; then
5206 enableval=$enable_no_rtti;
5207 if test "$enableval" = yes; then
5208 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5209 else
5210 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5211 fi
5212
5213 else
5214
5215 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5216
5217 fi
5218
5219
5220 eval "$wx_cv_use_no_rtti"
5221
5222 if test x"$enablestring" = xdisable; then
5223 if test $wxUSE_NO_RTTI = no; then
5224 result=yes
5225 else
5226 result=no
5227 fi
5228 else
5229 result=$wxUSE_NO_RTTI
5230 fi
5231
5232 { echo "$as_me:$LINENO: result: $result" >&5
5233 echo "${ECHO_T}$result" >&6; }
5234
5235
5236 enablestring=
5237 defaultval=
5238 if test -z "$defaultval"; then
5239 if test x"$enablestring" = xdisable; then
5240 defaultval=yes
5241 else
5242 defaultval=no
5243 fi
5244 fi
5245
5246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5248 # Check whether --enable-no_exceptions was given.
5249 if test "${enable_no_exceptions+set}" = set; then
5250 enableval=$enable_no_exceptions;
5251 if test "$enableval" = yes; then
5252 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5253 else
5254 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5255 fi
5256
5257 else
5258
5259 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5260
5261 fi
5262
5263
5264 eval "$wx_cv_use_no_exceptions"
5265
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_NO_EXCEPTIONS = no; then
5268 result=yes
5269 else
5270 result=no
5271 fi
5272 else
5273 result=$wxUSE_NO_EXCEPTIONS
5274 fi
5275
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5278
5279
5280 enablestring=
5281 defaultval=
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5284 defaultval=yes
5285 else
5286 defaultval=no
5287 fi
5288 fi
5289
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5292 # Check whether --enable-permissive was given.
5293 if test "${enable_permissive+set}" = set; then
5294 enableval=$enable_permissive;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5297 else
5298 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5299 fi
5300
5301 else
5302
5303 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5304
5305 fi
5306
5307
5308 eval "$wx_cv_use_permissive"
5309
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_PERMISSIVE = no; then
5312 result=yes
5313 else
5314 result=no
5315 fi
5316 else
5317 result=$wxUSE_PERMISSIVE
5318 fi
5319
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5322
5323
5324 enablestring=
5325 defaultval=
5326 if test -z "$defaultval"; then
5327 if test x"$enablestring" = xdisable; then
5328 defaultval=yes
5329 else
5330 defaultval=no
5331 fi
5332 fi
5333
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5336 # Check whether --enable-no_deps was given.
5337 if test "${enable_no_deps+set}" = set; then
5338 enableval=$enable_no_deps;
5339 if test "$enableval" = yes; then
5340 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5341 else
5342 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5343 fi
5344
5345 else
5346
5347 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5348
5349 fi
5350
5351
5352 eval "$wx_cv_use_no_deps"
5353
5354 if test x"$enablestring" = xdisable; then
5355 if test $wxUSE_NO_DEPS = no; then
5356 result=yes
5357 else
5358 result=no
5359 fi
5360 else
5361 result=$wxUSE_NO_DEPS
5362 fi
5363
5364 { echo "$as_me:$LINENO: result: $result" >&5
5365 echo "${ECHO_T}$result" >&6; }
5366
5367
5368 enablestring=disable
5369 defaultval=
5370 if test -z "$defaultval"; then
5371 if test x"$enablestring" = xdisable; then
5372 defaultval=yes
5373 else
5374 defaultval=no
5375 fi
5376 fi
5377
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5380 # Check whether --enable-vararg_macros was given.
5381 if test "${enable_vararg_macros+set}" = set; then
5382 enableval=$enable_vararg_macros;
5383 if test "$enableval" = yes; then
5384 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5385 else
5386 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5387 fi
5388
5389 else
5390
5391 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5392
5393 fi
5394
5395
5396 eval "$wx_cv_use_vararg_macros"
5397
5398 if test x"$enablestring" = xdisable; then
5399 if test $wxUSE_VARARG_MACROS = no; then
5400 result=yes
5401 else
5402 result=no
5403 fi
5404 else
5405 result=$wxUSE_VARARG_MACROS
5406 fi
5407
5408 { echo "$as_me:$LINENO: result: $result" >&5
5409 echo "${ECHO_T}$result" >&6; }
5410
5411
5412 enablestring=
5413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5415 # Check whether --enable-universal_binary was given.
5416 if test "${enable_universal_binary+set}" = set; then
5417 enableval=$enable_universal_binary;
5418 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5419
5420 else
5421
5422 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_universal_binary"
5428
5429 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5430 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5431
5432
5433
5434 enablestring=
5435 defaultval=
5436 if test -z "$defaultval"; then
5437 if test x"$enablestring" = xdisable; then
5438 defaultval=yes
5439 else
5440 defaultval=no
5441 fi
5442 fi
5443
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5446 # Check whether --enable-compat26 was given.
5447 if test "${enable_compat26+set}" = set; then
5448 enableval=$enable_compat26;
5449 if test "$enableval" = yes; then
5450 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5451 else
5452 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5453 fi
5454
5455 else
5456
5457 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5458
5459 fi
5460
5461
5462 eval "$wx_cv_use_compat26"
5463
5464 if test x"$enablestring" = xdisable; then
5465 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5466 result=yes
5467 else
5468 result=no
5469 fi
5470 else
5471 result=$WXWIN_COMPATIBILITY_2_6
5472 fi
5473
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5476
5477
5478 enablestring=disable
5479 defaultval=
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5482 defaultval=yes
5483 else
5484 defaultval=no
5485 fi
5486 fi
5487
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5490 # Check whether --enable-compat28 was given.
5491 if test "${enable_compat28+set}" = set; then
5492 enableval=$enable_compat28;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5495 else
5496 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5497 fi
5498
5499 else
5500
5501 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5502
5503 fi
5504
5505
5506 eval "$wx_cv_use_compat28"
5507
5508 if test x"$enablestring" = xdisable; then
5509 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5510 result=yes
5511 else
5512 result=no
5513 fi
5514 else
5515 result=$WXWIN_COMPATIBILITY_2_8
5516 fi
5517
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5520
5521
5522
5523 enablestring=disable
5524 defaultval=
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5527 defaultval=yes
5528 else
5529 defaultval=no
5530 fi
5531 fi
5532
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5535 # Check whether --enable-rpath was given.
5536 if test "${enable_rpath+set}" = set; then
5537 enableval=$enable_rpath;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_rpath='wxUSE_RPATH=yes'
5540 else
5541 wx_cv_use_rpath='wxUSE_RPATH=no'
5542 fi
5543
5544 else
5545
5546 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5547
5548 fi
5549
5550
5551 eval "$wx_cv_use_rpath"
5552
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_RPATH = no; then
5555 result=yes
5556 else
5557 result=no
5558 fi
5559 else
5560 result=$wxUSE_RPATH
5561 fi
5562
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5565
5566
5567
5568 enablestring=
5569 defaultval=
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5572 defaultval=yes
5573 else
5574 defaultval=no
5575 fi
5576 fi
5577
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5580 # Check whether --enable-objc_uniquifying was given.
5581 if test "${enable_objc_uniquifying+set}" = set; then
5582 enableval=$enable_objc_uniquifying;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5585 else
5586 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5587 fi
5588
5589 else
5590
5591 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5592
5593 fi
5594
5595
5596 eval "$wx_cv_use_objc_uniquifying"
5597
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5600 result=yes
5601 else
5602 result=no
5603 fi
5604 else
5605 result=$wxUSE_OBJC_UNIQUIFYING
5606 fi
5607
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5610
5611
5612
5613 enablestring=disable
5614 defaultval=
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5617 defaultval=yes
5618 else
5619 defaultval=no
5620 fi
5621 fi
5622
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5625 # Check whether --enable-visibility was given.
5626 if test "${enable_visibility+set}" = set; then
5627 enableval=$enable_visibility;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5630 else
5631 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5632 fi
5633
5634 else
5635
5636 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5637
5638 fi
5639
5640
5641 eval "$wx_cv_use_visibility"
5642
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_VISIBILITY = no; then
5645 result=yes
5646 else
5647 result=no
5648 fi
5649 else
5650 result=$wxUSE_VISIBILITY
5651 fi
5652
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5655
5656
5657 enablestring=disable
5658 defaultval=
5659 if test -z "$defaultval"; then
5660 if test x"$enablestring" = xdisable; then
5661 defaultval=yes
5662 else
5663 defaultval=no
5664 fi
5665 fi
5666
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5669 # Check whether --enable-tls was given.
5670 if test "${enable_tls+set}" = set; then
5671 enableval=$enable_tls;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5674 else
5675 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5676 fi
5677
5678 else
5679
5680 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5681
5682 fi
5683
5684
5685 eval "$wx_cv_use_tls"
5686
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_COMPILER_TLS = no; then
5689 result=yes
5690 else
5691 result=no
5692 fi
5693 else
5694 result=$wxUSE_COMPILER_TLS
5695 fi
5696
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5699
5700
5701
5702
5703 enablestring=
5704 defaultval=$wxUSE_ALL_FEATURES
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5707 defaultval=yes
5708 else
5709 defaultval=no
5710 fi
5711 fi
5712
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5715 # Check whether --enable-intl was given.
5716 if test "${enable_intl+set}" = set; then
5717 enableval=$enable_intl;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_intl='wxUSE_INTL=yes'
5720 else
5721 wx_cv_use_intl='wxUSE_INTL=no'
5722 fi
5723
5724 else
5725
5726 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5727
5728 fi
5729
5730
5731 eval "$wx_cv_use_intl"
5732
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_INTL = no; then
5735 result=yes
5736 else
5737 result=no
5738 fi
5739 else
5740 result=$wxUSE_INTL
5741 fi
5742
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5745
5746
5747 enablestring=
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5751 defaultval=yes
5752 else
5753 defaultval=no
5754 fi
5755 fi
5756
5757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5759 # Check whether --enable-xlocale was given.
5760 if test "${enable_xlocale+set}" = set; then
5761 enableval=$enable_xlocale;
5762 if test "$enableval" = yes; then
5763 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5764 else
5765 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5766 fi
5767
5768 else
5769
5770 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5771
5772 fi
5773
5774
5775 eval "$wx_cv_use_xlocale"
5776
5777 if test x"$enablestring" = xdisable; then
5778 if test $wxUSE_XLOCALE = no; then
5779 result=yes
5780 else
5781 result=no
5782 fi
5783 else
5784 result=$wxUSE_XLOCALE
5785 fi
5786
5787 { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5789
5790
5791 enablestring=
5792 defaultval=$wxUSE_ALL_FEATURES
5793 if test -z "$defaultval"; then
5794 if test x"$enablestring" = xdisable; then
5795 defaultval=yes
5796 else
5797 defaultval=no
5798 fi
5799 fi
5800
5801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5803 # Check whether --enable-config was given.
5804 if test "${enable_config+set}" = set; then
5805 enableval=$enable_config;
5806 if test "$enableval" = yes; then
5807 wx_cv_use_config='wxUSE_CONFIG=yes'
5808 else
5809 wx_cv_use_config='wxUSE_CONFIG=no'
5810 fi
5811
5812 else
5813
5814 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5815
5816 fi
5817
5818
5819 eval "$wx_cv_use_config"
5820
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_CONFIG = no; then
5823 result=yes
5824 else
5825 result=no
5826 fi
5827 else
5828 result=$wxUSE_CONFIG
5829 fi
5830
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835
5836 enablestring=
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5840 defaultval=yes
5841 else
5842 defaultval=no
5843 fi
5844 fi
5845
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5848 # Check whether --enable-protocols was given.
5849 if test "${enable_protocols+set}" = set; then
5850 enableval=$enable_protocols;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5853 else
5854 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5855 fi
5856
5857 else
5858
5859 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5860
5861 fi
5862
5863
5864 eval "$wx_cv_use_protocols"
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_PROTOCOL = no; then
5868 result=yes
5869 else
5870 result=no
5871 fi
5872 else
5873 result=$wxUSE_PROTOCOL
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5892 # Check whether --enable-ftp was given.
5893 if test "${enable_ftp+set}" = set; then
5894 enableval=$enable_ftp;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5897 else
5898 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5899 fi
5900
5901 else
5902
5903 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5904
5905 fi
5906
5907
5908 eval "$wx_cv_use_ftp"
5909
5910 if test x"$enablestring" = xdisable; then
5911 if test $wxUSE_PROTOCOL_FTP = no; then
5912 result=yes
5913 else
5914 result=no
5915 fi
5916 else
5917 result=$wxUSE_PROTOCOL_FTP
5918 fi
5919
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5922
5923
5924 enablestring=
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5936 # Check whether --enable-http was given.
5937 if test "${enable_http+set}" = set; then
5938 enableval=$enable_http;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5941 else
5942 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5943 fi
5944
5945 else
5946
5947 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5948
5949 fi
5950
5951
5952 eval "$wx_cv_use_http"
5953
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_PROTOCOL_HTTP = no; then
5956 result=yes
5957 else
5958 result=no
5959 fi
5960 else
5961 result=$wxUSE_PROTOCOL_HTTP
5962 fi
5963
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5966
5967
5968 enablestring=
5969 defaultval=$wxUSE_ALL_FEATURES
5970 if test -z "$defaultval"; then
5971 if test x"$enablestring" = xdisable; then
5972 defaultval=yes
5973 else
5974 defaultval=no
5975 fi
5976 fi
5977
5978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5980 # Check whether --enable-fileproto was given.
5981 if test "${enable_fileproto+set}" = set; then
5982 enableval=$enable_fileproto;
5983 if test "$enableval" = yes; then
5984 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5985 else
5986 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5987 fi
5988
5989 else
5990
5991 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5992
5993 fi
5994
5995
5996 eval "$wx_cv_use_fileproto"
5997
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_PROTOCOL_FILE = no; then
6000 result=yes
6001 else
6002 result=no
6003 fi
6004 else
6005 result=$wxUSE_PROTOCOL_FILE
6006 fi
6007
6008 { echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6; }
6010
6011
6012 enablestring=
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6016 defaultval=yes
6017 else
6018 defaultval=no
6019 fi
6020 fi
6021
6022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6023 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6024 # Check whether --enable-sockets was given.
6025 if test "${enable_sockets+set}" = set; then
6026 enableval=$enable_sockets;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6029 else
6030 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6031 fi
6032
6033 else
6034
6035 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_sockets"
6041
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_SOCKETS = no; then
6044 result=yes
6045 else
6046 result=no
6047 fi
6048 else
6049 result=$wxUSE_SOCKETS
6050 fi
6051
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6054
6055
6056 enablestring=
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6060 defaultval=yes
6061 else
6062 defaultval=no
6063 fi
6064 fi
6065
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6068 # Check whether --enable-ipv6 was given.
6069 if test "${enable_ipv6+set}" = set; then
6070 enableval=$enable_ipv6;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6073 else
6074 wx_cv_use_ipv6='wxUSE_IPV6=no'
6075 fi
6076
6077 else
6078
6079 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6080
6081 fi
6082
6083
6084 eval "$wx_cv_use_ipv6"
6085
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_IPV6 = no; then
6088 result=yes
6089 else
6090 result=no
6091 fi
6092 else
6093 result=$wxUSE_IPV6
6094 fi
6095
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6098
6099
6100 enablestring=
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6104 defaultval=yes
6105 else
6106 defaultval=no
6107 fi
6108 fi
6109
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6112 # Check whether --enable-ole was given.
6113 if test "${enable_ole+set}" = set; then
6114 enableval=$enable_ole;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_ole='wxUSE_OLE=yes'
6117 else
6118 wx_cv_use_ole='wxUSE_OLE=no'
6119 fi
6120
6121 else
6122
6123 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6124
6125 fi
6126
6127
6128 eval "$wx_cv_use_ole"
6129
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_OLE = no; then
6132 result=yes
6133 else
6134 result=no
6135 fi
6136 else
6137 result=$wxUSE_OLE
6138 fi
6139
6140 { echo "$as_me:$LINENO: result: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6142
6143
6144 enablestring=
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6148 defaultval=yes
6149 else
6150 defaultval=no
6151 fi
6152 fi
6153
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6156 # Check whether --enable-dataobj was given.
6157 if test "${enable_dataobj+set}" = set; then
6158 enableval=$enable_dataobj;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6161 else
6162 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6163 fi
6164
6165 else
6166
6167 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6168
6169 fi
6170
6171
6172 eval "$wx_cv_use_dataobj"
6173
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_DATAOBJ = no; then
6176 result=yes
6177 else
6178 result=no
6179 fi
6180 else
6181 result=$wxUSE_DATAOBJ
6182 fi
6183
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6186
6187
6188
6189 enablestring=
6190 defaultval=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x"$enablestring" = xdisable; then
6193 defaultval=yes
6194 else
6195 defaultval=no
6196 fi
6197 fi
6198
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6201 # Check whether --enable-ipc was given.
6202 if test "${enable_ipc+set}" = set; then
6203 enableval=$enable_ipc;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_ipc='wxUSE_IPC=yes'
6206 else
6207 wx_cv_use_ipc='wxUSE_IPC=no'
6208 fi
6209
6210 else
6211
6212 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6213
6214 fi
6215
6216
6217 eval "$wx_cv_use_ipc"
6218
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_IPC = no; then
6221 result=yes
6222 else
6223 result=no
6224 fi
6225 else
6226 result=$wxUSE_IPC
6227 fi
6228
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6231
6232
6233
6234 enablestring=
6235 defaultval=$wxUSE_ALL_FEATURES
6236 if test -z "$defaultval"; then
6237 if test x"$enablestring" = xdisable; then
6238 defaultval=yes
6239 else
6240 defaultval=no
6241 fi
6242 fi
6243
6244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6246 # Check whether --enable-baseevtloop was given.
6247 if test "${enable_baseevtloop+set}" = set; then
6248 enableval=$enable_baseevtloop;
6249 if test "$enableval" = yes; then
6250 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6251 else
6252 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6253 fi
6254
6255 else
6256
6257 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6258
6259 fi
6260
6261
6262 eval "$wx_cv_use_baseevtloop"
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6266 result=yes
6267 else
6268 result=no
6269 fi
6270 else
6271 result=$wxUSE_CONSOLE_EVENTLOOP
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6290 # Check whether --enable-epollloop was given.
6291 if test "${enable_epollloop+set}" = set; then
6292 enableval=$enable_epollloop;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6295 else
6296 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6297 fi
6298
6299 else
6300
6301 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6302
6303 fi
6304
6305
6306 eval "$wx_cv_use_epollloop"
6307
6308 if test x"$enablestring" = xdisable; then
6309 if test $wxUSE_EPOLL_DISPATCHER = no; then
6310 result=yes
6311 else
6312 result=no
6313 fi
6314 else
6315 result=$wxUSE_EPOLL_DISPATCHER
6316 fi
6317
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6320
6321
6322 enablestring=
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6326 defaultval=yes
6327 else
6328 defaultval=no
6329 fi
6330 fi
6331
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6334 # Check whether --enable-selectloop was given.
6335 if test "${enable_selectloop+set}" = set; then
6336 enableval=$enable_selectloop;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6339 else
6340 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6341 fi
6342
6343 else
6344
6345 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6346
6347 fi
6348
6349
6350 eval "$wx_cv_use_selectloop"
6351
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_SELECT_DISPATCHER = no; then
6354 result=yes
6355 else
6356 result=no
6357 fi
6358 else
6359 result=$wxUSE_SELECT_DISPATCHER
6360 fi
6361
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6364
6365
6366
6367 enablestring=
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6371 defaultval=yes
6372 else
6373 defaultval=no
6374 fi
6375 fi
6376
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6379 # Check whether --enable-any was given.
6380 if test "${enable_any+set}" = set; then
6381 enableval=$enable_any;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_any='wxUSE_ANY=yes'
6384 else
6385 wx_cv_use_any='wxUSE_ANY=no'
6386 fi
6387
6388 else
6389
6390 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6391
6392 fi
6393
6394
6395 eval "$wx_cv_use_any"
6396
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_ANY = no; then
6399 result=yes
6400 else
6401 result=no
6402 fi
6403 else
6404 result=$wxUSE_ANY
6405 fi
6406
6407 { echo "$as_me:$LINENO: result: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6409
6410
6411 enablestring=
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6415 defaultval=yes
6416 else
6417 defaultval=no
6418 fi
6419 fi
6420
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6423 # Check whether --enable-apple_ieee was given.
6424 if test "${enable_apple_ieee+set}" = set; then
6425 enableval=$enable_apple_ieee;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6428 else
6429 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6430 fi
6431
6432 else
6433
6434 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6435
6436 fi
6437
6438
6439 eval "$wx_cv_use_apple_ieee"
6440
6441 if test x"$enablestring" = xdisable; then
6442 if test $wxUSE_APPLE_IEEE = no; then
6443 result=yes
6444 else
6445 result=no
6446 fi
6447 else
6448 result=$wxUSE_APPLE_IEEE
6449 fi
6450
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6453
6454
6455 enablestring=
6456 defaultval=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x"$enablestring" = xdisable; then
6459 defaultval=yes
6460 else
6461 defaultval=no
6462 fi
6463 fi
6464
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6467 # Check whether --enable-arcstream was given.
6468 if test "${enable_arcstream+set}" = set; then
6469 enableval=$enable_arcstream;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6472 else
6473 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6474 fi
6475
6476 else
6477
6478 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_arcstream"
6484
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_ARCHIVE_STREAMS = no; then
6487 result=yes
6488 else
6489 result=no
6490 fi
6491 else
6492 result=$wxUSE_ARCHIVE_STREAMS
6493 fi
6494
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6497
6498
6499 enablestring=
6500 defaultval=$wxUSE_ALL_FEATURES
6501 if test -z "$defaultval"; then
6502 if test x"$enablestring" = xdisable; then
6503 defaultval=yes
6504 else
6505 defaultval=no
6506 fi
6507 fi
6508
6509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6511 # Check whether --enable-base64 was given.
6512 if test "${enable_base64+set}" = set; then
6513 enableval=$enable_base64;
6514 if test "$enableval" = yes; then
6515 wx_cv_use_base64='wxUSE_BASE64=yes'
6516 else
6517 wx_cv_use_base64='wxUSE_BASE64=no'
6518 fi
6519
6520 else
6521
6522 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6523
6524 fi
6525
6526
6527 eval "$wx_cv_use_base64"
6528
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_BASE64 = no; then
6531 result=yes
6532 else
6533 result=no
6534 fi
6535 else
6536 result=$wxUSE_BASE64
6537 fi
6538
6539 { echo "$as_me:$LINENO: result: $result" >&5
6540 echo "${ECHO_T}$result" >&6; }
6541
6542
6543 enablestring=
6544 defaultval=$wxUSE_ALL_FEATURES
6545 if test -z "$defaultval"; then
6546 if test x"$enablestring" = xdisable; then
6547 defaultval=yes
6548 else
6549 defaultval=no
6550 fi
6551 fi
6552
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6555 # Check whether --enable-backtrace was given.
6556 if test "${enable_backtrace+set}" = set; then
6557 enableval=$enable_backtrace;
6558 if test "$enableval" = yes; then
6559 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6560 else
6561 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6562 fi
6563
6564 else
6565
6566 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6567
6568 fi
6569
6570
6571 eval "$wx_cv_use_backtrace"
6572
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_STACKWALKER = no; then
6575 result=yes
6576 else
6577 result=no
6578 fi
6579 else
6580 result=$wxUSE_STACKWALKER
6581 fi
6582
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6585
6586
6587 enablestring=
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6591 defaultval=yes
6592 else
6593 defaultval=no
6594 fi
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6599 # Check whether --enable-catch_segvs was given.
6600 if test "${enable_catch_segvs+set}" = set; then
6601 enableval=$enable_catch_segvs;
6602 if test "$enableval" = yes; then
6603 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6604 else
6605 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6606 fi
6607
6608 else
6609
6610 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6611
6612 fi
6613
6614
6615 eval "$wx_cv_use_catch_segvs"
6616
6617 if test x"$enablestring" = xdisable; then
6618 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6619 result=yes
6620 else
6621 result=no
6622 fi
6623 else
6624 result=$wxUSE_ON_FATAL_EXCEPTION
6625 fi
6626
6627 { echo "$as_me:$LINENO: result: $result" >&5
6628 echo "${ECHO_T}$result" >&6; }
6629
6630
6631 enablestring=
6632 defaultval=$wxUSE_ALL_FEATURES
6633 if test -z "$defaultval"; then
6634 if test x"$enablestring" = xdisable; then
6635 defaultval=yes
6636 else
6637 defaultval=no
6638 fi
6639 fi
6640
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6643 # Check whether --enable-cmdline was given.
6644 if test "${enable_cmdline+set}" = set; then
6645 enableval=$enable_cmdline;
6646 if test "$enableval" = yes; then
6647 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6648 else
6649 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6650 fi
6651
6652 else
6653
6654 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6655
6656 fi
6657
6658
6659 eval "$wx_cv_use_cmdline"
6660
6661 if test x"$enablestring" = xdisable; then
6662 if test $wxUSE_CMDLINE_PARSER = no; then
6663 result=yes
6664 else
6665 result=no
6666 fi
6667 else
6668 result=$wxUSE_CMDLINE_PARSER
6669 fi
6670
6671 { echo "$as_me:$LINENO: result: $result" >&5
6672 echo "${ECHO_T}$result" >&6; }
6673
6674
6675 enablestring=
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6679 defaultval=yes
6680 else
6681 defaultval=no
6682 fi
6683 fi
6684
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6687 # Check whether --enable-datetime was given.
6688 if test "${enable_datetime+set}" = set; then
6689 enableval=$enable_datetime;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6692 else
6693 wx_cv_use_datetime='wxUSE_DATETIME=no'
6694 fi
6695
6696 else
6697
6698 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6699
6700 fi
6701
6702
6703 eval "$wx_cv_use_datetime"
6704
6705 if test x"$enablestring" = xdisable; then
6706 if test $wxUSE_DATETIME = no; then
6707 result=yes
6708 else
6709 result=no
6710 fi
6711 else
6712 result=$wxUSE_DATETIME
6713 fi
6714
6715 { echo "$as_me:$LINENO: result: $result" >&5
6716 echo "${ECHO_T}$result" >&6; }
6717
6718
6719 enablestring=
6720 defaultval=$wxUSE_ALL_FEATURES
6721 if test -z "$defaultval"; then
6722 if test x"$enablestring" = xdisable; then
6723 defaultval=yes
6724 else
6725 defaultval=no
6726 fi
6727 fi
6728
6729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6731 # Check whether --enable-debugreport was given.
6732 if test "${enable_debugreport+set}" = set; then
6733 enableval=$enable_debugreport;
6734 if test "$enableval" = yes; then
6735 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6736 else
6737 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6738 fi
6739
6740 else
6741
6742 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6743
6744 fi
6745
6746
6747 eval "$wx_cv_use_debugreport"
6748
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_DEBUGREPORT = no; then
6751 result=yes
6752 else
6753 result=no
6754 fi
6755 else
6756 result=$wxUSE_DEBUGREPORT
6757 fi
6758
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6761
6762
6763 enablestring=
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6767 defaultval=yes
6768 else
6769 defaultval=no
6770 fi
6771 fi
6772
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6775 # Check whether --enable-dialupman was given.
6776 if test "${enable_dialupman+set}" = set; then
6777 enableval=$enable_dialupman;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6780 else
6781 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6782 fi
6783
6784 else
6785
6786 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6787
6788 fi
6789
6790
6791 eval "$wx_cv_use_dialupman"
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_DIALUP_MANAGER = no; then
6795 result=yes
6796 else
6797 result=no
6798 fi
6799 else
6800 result=$wxUSE_DIALUP_MANAGER
6801 fi
6802
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6805
6806
6807 enablestring=
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6819 # Check whether --enable-dynlib was given.
6820 if test "${enable_dynlib+set}" = set; then
6821 enableval=$enable_dynlib;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6824 else
6825 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6826 fi
6827
6828 else
6829
6830 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6831
6832 fi
6833
6834
6835 eval "$wx_cv_use_dynlib"
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_DYNLIB_CLASS = no; then
6839 result=yes
6840 else
6841 result=no
6842 fi
6843 else
6844 result=$wxUSE_DYNLIB_CLASS
6845 fi
6846
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6849
6850
6851 enablestring=
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6863 # Check whether --enable-dynamicloader was given.
6864 if test "${enable_dynamicloader+set}" = set; then
6865 enableval=$enable_dynamicloader;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6868 else
6869 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6870 fi
6871
6872 else
6873
6874 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6875
6876 fi
6877
6878
6879 eval "$wx_cv_use_dynamicloader"
6880
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_DYNAMIC_LOADER = no; then
6883 result=yes
6884 else
6885 result=no
6886 fi
6887 else
6888 result=$wxUSE_DYNAMIC_LOADER
6889 fi
6890
6891 { echo "$as_me:$LINENO: result: $result" >&5
6892 echo "${ECHO_T}$result" >&6; }
6893
6894
6895 enablestring=
6896 defaultval=$wxUSE_ALL_FEATURES
6897 if test -z "$defaultval"; then
6898 if test x"$enablestring" = xdisable; then
6899 defaultval=yes
6900 else
6901 defaultval=no
6902 fi
6903 fi
6904
6905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6907 # Check whether --enable-exceptions was given.
6908 if test "${enable_exceptions+set}" = set; then
6909 enableval=$enable_exceptions;
6910 if test "$enableval" = yes; then
6911 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6912 else
6913 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6914 fi
6915
6916 else
6917
6918 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6919
6920 fi
6921
6922
6923 eval "$wx_cv_use_exceptions"
6924
6925 if test x"$enablestring" = xdisable; then
6926 if test $wxUSE_EXCEPTIONS = no; then
6927 result=yes
6928 else
6929 result=no
6930 fi
6931 else
6932 result=$wxUSE_EXCEPTIONS
6933 fi
6934
6935 { echo "$as_me:$LINENO: result: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6937
6938
6939 enablestring=
6940 defaultval=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x"$enablestring" = xdisable; then
6943 defaultval=yes
6944 else
6945 defaultval=no
6946 fi
6947 fi
6948
6949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6951 # Check whether --enable-ffile was given.
6952 if test "${enable_ffile+set}" = set; then
6953 enableval=$enable_ffile;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_ffile='wxUSE_FFILE=yes'
6956 else
6957 wx_cv_use_ffile='wxUSE_FFILE=no'
6958 fi
6959
6960 else
6961
6962 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6963
6964 fi
6965
6966
6967 eval "$wx_cv_use_ffile"
6968
6969 if test x"$enablestring" = xdisable; then
6970 if test $wxUSE_FFILE = no; then
6971 result=yes
6972 else
6973 result=no
6974 fi
6975 else
6976 result=$wxUSE_FFILE
6977 fi
6978
6979 { echo "$as_me:$LINENO: result: $result" >&5
6980 echo "${ECHO_T}$result" >&6; }
6981
6982
6983 enablestring=
6984 defaultval=$wxUSE_ALL_FEATURES
6985 if test -z "$defaultval"; then
6986 if test x"$enablestring" = xdisable; then
6987 defaultval=yes
6988 else
6989 defaultval=no
6990 fi
6991 fi
6992
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6995 # Check whether --enable-file was given.
6996 if test "${enable_file+set}" = set; then
6997 enableval=$enable_file;
6998 if test "$enableval" = yes; then
6999 wx_cv_use_file='wxUSE_FILE=yes'
7000 else
7001 wx_cv_use_file='wxUSE_FILE=no'
7002 fi
7003
7004 else
7005
7006 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7007
7008 fi
7009
7010
7011 eval "$wx_cv_use_file"
7012
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_FILE = no; then
7015 result=yes
7016 else
7017 result=no
7018 fi
7019 else
7020 result=$wxUSE_FILE
7021 fi
7022
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7025
7026
7027 enablestring=
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7031 defaultval=yes
7032 else
7033 defaultval=no
7034 fi
7035 fi
7036
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7039 # Check whether --enable-filehistory was given.
7040 if test "${enable_filehistory+set}" = set; then
7041 enableval=$enable_filehistory;
7042 if test "$enableval" = yes; then
7043 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7044 else
7045 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7046 fi
7047
7048 else
7049
7050 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7051
7052 fi
7053
7054
7055 eval "$wx_cv_use_filehistory"
7056
7057 if test x"$enablestring" = xdisable; then
7058 if test $wxUSE_FILE_HISTORY = no; then
7059 result=yes
7060 else
7061 result=no
7062 fi
7063 else
7064 result=$wxUSE_FILE_HISTORY
7065 fi
7066
7067 { echo "$as_me:$LINENO: result: $result" >&5
7068 echo "${ECHO_T}$result" >&6; }
7069
7070
7071 enablestring=
7072 defaultval=$wxUSE_ALL_FEATURES
7073 if test -z "$defaultval"; then
7074 if test x"$enablestring" = xdisable; then
7075 defaultval=yes
7076 else
7077 defaultval=no
7078 fi
7079 fi
7080
7081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7083 # Check whether --enable-filesystem was given.
7084 if test "${enable_filesystem+set}" = set; then
7085 enableval=$enable_filesystem;
7086 if test "$enableval" = yes; then
7087 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7088 else
7089 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7090 fi
7091
7092 else
7093
7094 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7095
7096 fi
7097
7098
7099 eval "$wx_cv_use_filesystem"
7100
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_FILESYSTEM = no; then
7103 result=yes
7104 else
7105 result=no
7106 fi
7107 else
7108 result=$wxUSE_FILESYSTEM
7109 fi
7110
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7127 # Check whether --enable-fontenum was given.
7128 if test "${enable_fontenum+set}" = set; then
7129 enableval=$enable_fontenum;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7132 else
7133 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7134 fi
7135
7136 else
7137
7138 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7139
7140 fi
7141
7142
7143 eval "$wx_cv_use_fontenum"
7144
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_FONTENUM = no; then
7147 result=yes
7148 else
7149 result=no
7150 fi
7151 else
7152 result=$wxUSE_FONTENUM
7153 fi
7154
7155 { echo "$as_me:$LINENO: result: $result" >&5
7156 echo "${ECHO_T}$result" >&6; }
7157
7158
7159 enablestring=
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7163 defaultval=yes
7164 else
7165 defaultval=no
7166 fi
7167 fi
7168
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7171 # Check whether --enable-fontmap was given.
7172 if test "${enable_fontmap+set}" = set; then
7173 enableval=$enable_fontmap;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7176 else
7177 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7178 fi
7179
7180 else
7181
7182 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7183
7184 fi
7185
7186
7187 eval "$wx_cv_use_fontmap"
7188
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_FONTMAP = no; then
7191 result=yes
7192 else
7193 result=no
7194 fi
7195 else
7196 result=$wxUSE_FONTMAP
7197 fi
7198
7199 { echo "$as_me:$LINENO: result: $result" >&5
7200 echo "${ECHO_T}$result" >&6; }
7201
7202
7203 enablestring=
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7207 defaultval=yes
7208 else
7209 defaultval=no
7210 fi
7211 fi
7212
7213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7215 # Check whether --enable-fs_archive was given.
7216 if test "${enable_fs_archive+set}" = set; then
7217 enableval=$enable_fs_archive;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7220 else
7221 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7222 fi
7223
7224 else
7225
7226 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7227
7228 fi
7229
7230
7231 eval "$wx_cv_use_fs_archive"
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_FS_ARCHIVE = no; then
7235 result=yes
7236 else
7237 result=no
7238 fi
7239 else
7240 result=$wxUSE_FS_ARCHIVE
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7259 # Check whether --enable-fs_inet was given.
7260 if test "${enable_fs_inet+set}" = set; then
7261 enableval=$enable_fs_inet;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7264 else
7265 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7266 fi
7267
7268 else
7269
7270 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7271
7272 fi
7273
7274
7275 eval "$wx_cv_use_fs_inet"
7276
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_FS_INET = no; then
7279 result=yes
7280 else
7281 result=no
7282 fi
7283 else
7284 result=$wxUSE_FS_INET
7285 fi
7286
7287 { echo "$as_me:$LINENO: result: $result" >&5
7288 echo "${ECHO_T}$result" >&6; }
7289
7290
7291 enablestring=
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7295 defaultval=yes
7296 else
7297 defaultval=no
7298 fi
7299 fi
7300
7301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7303 # Check whether --enable-fs_zip was given.
7304 if test "${enable_fs_zip+set}" = set; then
7305 enableval=$enable_fs_zip;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7308 else
7309 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7310 fi
7311
7312 else
7313
7314 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7315
7316 fi
7317
7318
7319 eval "$wx_cv_use_fs_zip"
7320
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_FS_ZIP = no; then
7323 result=yes
7324 else
7325 result=no
7326 fi
7327 else
7328 result=$wxUSE_FS_ZIP
7329 fi
7330
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7333
7334
7335 enablestring=
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7339 defaultval=yes
7340 else
7341 defaultval=no
7342 fi
7343 fi
7344
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7347 # Check whether --enable-fswatcher was given.
7348 if test "${enable_fswatcher+set}" = set; then
7349 enableval=$enable_fswatcher;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7352 else
7353 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7354 fi
7355
7356 else
7357
7358 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7359
7360 fi
7361
7362
7363 eval "$wx_cv_use_fswatcher"
7364
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_FSWATCHER = no; then
7367 result=yes
7368 else
7369 result=no
7370 fi
7371 else
7372 result=$wxUSE_FSWATCHER
7373 fi
7374
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7377
7378
7379 enablestring=
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7383 defaultval=yes
7384 else
7385 defaultval=no
7386 fi
7387 fi
7388
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7391 # Check whether --enable-geometry was given.
7392 if test "${enable_geometry+set}" = set; then
7393 enableval=$enable_geometry;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7396 else
7397 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7398 fi
7399
7400 else
7401
7402 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7403
7404 fi
7405
7406
7407 eval "$wx_cv_use_geometry"
7408
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_GEOMETRY = no; then
7411 result=yes
7412 else
7413 result=no
7414 fi
7415 else
7416 result=$wxUSE_GEOMETRY
7417 fi
7418
7419 { echo "$as_me:$LINENO: result: $result" >&5
7420 echo "${ECHO_T}$result" >&6; }
7421
7422
7423 enablestring=
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7427 defaultval=yes
7428 else
7429 defaultval=no
7430 fi
7431 fi
7432
7433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7435 # Check whether --enable-log was given.
7436 if test "${enable_log+set}" = set; then
7437 enableval=$enable_log;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_log='wxUSE_LOG=yes'
7440 else
7441 wx_cv_use_log='wxUSE_LOG=no'
7442 fi
7443
7444 else
7445
7446 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7447
7448 fi
7449
7450
7451 eval "$wx_cv_use_log"
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_LOG = no; then
7455 result=yes
7456 else
7457 result=no
7458 fi
7459 else
7460 result=$wxUSE_LOG
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7479 # Check whether --enable-longlong was given.
7480 if test "${enable_longlong+set}" = set; then
7481 enableval=$enable_longlong;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7484 else
7485 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7486 fi
7487
7488 else
7489
7490 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7491
7492 fi
7493
7494
7495 eval "$wx_cv_use_longlong"
7496
7497 if test x"$enablestring" = xdisable; then
7498 if test $wxUSE_LONGLONG = no; then
7499 result=yes
7500 else
7501 result=no
7502 fi
7503 else
7504 result=$wxUSE_LONGLONG
7505 fi
7506
7507 { echo "$as_me:$LINENO: result: $result" >&5
7508 echo "${ECHO_T}$result" >&6; }
7509
7510
7511 enablestring=
7512 defaultval=$wxUSE_ALL_FEATURES
7513 if test -z "$defaultval"; then
7514 if test x"$enablestring" = xdisable; then
7515 defaultval=yes
7516 else
7517 defaultval=no
7518 fi
7519 fi
7520
7521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7522 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7523 # Check whether --enable-mimetype was given.
7524 if test "${enable_mimetype+set}" = set; then
7525 enableval=$enable_mimetype;
7526 if test "$enableval" = yes; then
7527 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7528 else
7529 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7530 fi
7531
7532 else
7533
7534 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7535
7536 fi
7537
7538
7539 eval "$wx_cv_use_mimetype"
7540
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_MIMETYPE = no; then
7543 result=yes
7544 else
7545 result=no
7546 fi
7547 else
7548 result=$wxUSE_MIMETYPE
7549 fi
7550
7551 { echo "$as_me:$LINENO: result: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7553
7554
7555 enablestring=
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7559 defaultval=yes
7560 else
7561 defaultval=no
7562 fi
7563 fi
7564
7565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7567 # Check whether --enable-printfposparam was given.
7568 if test "${enable_printfposparam+set}" = set; then
7569 enableval=$enable_printfposparam;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7572 else
7573 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7574 fi
7575
7576 else
7577
7578 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7579
7580 fi
7581
7582
7583 eval "$wx_cv_use_printfposparam"
7584
7585 if test x"$enablestring" = xdisable; then
7586 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7587 result=yes
7588 else
7589 result=no
7590 fi
7591 else
7592 result=$wxUSE_PRINTF_POS_PARAMS
7593 fi
7594
7595 { echo "$as_me:$LINENO: result: $result" >&5
7596 echo "${ECHO_T}$result" >&6; }
7597
7598
7599 enablestring=
7600 defaultval=$wxUSE_ALL_FEATURES
7601 if test -z "$defaultval"; then
7602 if test x"$enablestring" = xdisable; then
7603 defaultval=yes
7604 else
7605 defaultval=no
7606 fi
7607 fi
7608
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7611 # Check whether --enable-snglinst was given.
7612 if test "${enable_snglinst+set}" = set; then
7613 enableval=$enable_snglinst;
7614 if test "$enableval" = yes; then
7615 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7616 else
7617 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7618 fi
7619
7620 else
7621
7622 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7623
7624 fi
7625
7626
7627 eval "$wx_cv_use_snglinst"
7628
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_SNGLINST_CHECKER = no; then
7631 result=yes
7632 else
7633 result=no
7634 fi
7635 else
7636 result=$wxUSE_SNGLINST_CHECKER
7637 fi
7638
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7641
7642
7643 enablestring=
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7647 defaultval=yes
7648 else
7649 defaultval=no
7650 fi
7651 fi
7652
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7655 # Check whether --enable-sound was given.
7656 if test "${enable_sound+set}" = set; then
7657 enableval=$enable_sound;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_sound='wxUSE_SOUND=yes'
7660 else
7661 wx_cv_use_sound='wxUSE_SOUND=no'
7662 fi
7663
7664 else
7665
7666 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7667
7668 fi
7669
7670
7671 eval "$wx_cv_use_sound"
7672
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_SOUND = no; then
7675 result=yes
7676 else
7677 result=no
7678 fi
7679 else
7680 result=$wxUSE_SOUND
7681 fi
7682
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7685
7686
7687 enablestring=
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7691 defaultval=yes
7692 else
7693 defaultval=no
7694 fi
7695 fi
7696
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7699 # Check whether --enable-stdpaths was given.
7700 if test "${enable_stdpaths+set}" = set; then
7701 enableval=$enable_stdpaths;
7702 if test "$enableval" = yes; then
7703 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7704 else
7705 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7706 fi
7707
7708 else
7709
7710 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7711
7712 fi
7713
7714
7715 eval "$wx_cv_use_stdpaths"
7716
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_STDPATHS = no; then
7719 result=yes
7720 else
7721 result=no
7722 fi
7723 else
7724 result=$wxUSE_STDPATHS
7725 fi
7726
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7729
7730
7731 enablestring=
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7735 defaultval=yes
7736 else
7737 defaultval=no
7738 fi
7739 fi
7740
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7743 # Check whether --enable-stopwatch was given.
7744 if test "${enable_stopwatch+set}" = set; then
7745 enableval=$enable_stopwatch;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7748 else
7749 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7750 fi
7751
7752 else
7753
7754 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7755
7756 fi
7757
7758
7759 eval "$wx_cv_use_stopwatch"
7760
7761 if test x"$enablestring" = xdisable; then
7762 if test $wxUSE_STOPWATCH = no; then
7763 result=yes
7764 else
7765 result=no
7766 fi
7767 else
7768 result=$wxUSE_STOPWATCH
7769 fi
7770
7771 { echo "$as_me:$LINENO: result: $result" >&5
7772 echo "${ECHO_T}$result" >&6; }
7773
7774
7775 enablestring=
7776 defaultval=$wxUSE_ALL_FEATURES
7777 if test -z "$defaultval"; then
7778 if test x"$enablestring" = xdisable; then
7779 defaultval=yes
7780 else
7781 defaultval=no
7782 fi
7783 fi
7784
7785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7787 # Check whether --enable-streams was given.
7788 if test "${enable_streams+set}" = set; then
7789 enableval=$enable_streams;
7790 if test "$enableval" = yes; then
7791 wx_cv_use_streams='wxUSE_STREAMS=yes'
7792 else
7793 wx_cv_use_streams='wxUSE_STREAMS=no'
7794 fi
7795
7796 else
7797
7798 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7799
7800 fi
7801
7802
7803 eval "$wx_cv_use_streams"
7804
7805 if test x"$enablestring" = xdisable; then
7806 if test $wxUSE_STREAMS = no; then
7807 result=yes
7808 else
7809 result=no
7810 fi
7811 else
7812 result=$wxUSE_STREAMS
7813 fi
7814
7815 { echo "$as_me:$LINENO: result: $result" >&5
7816 echo "${ECHO_T}$result" >&6; }
7817
7818
7819 enablestring=
7820 defaultval=$wxUSE_ALL_FEATURES
7821 if test -z "$defaultval"; then
7822 if test x"$enablestring" = xdisable; then
7823 defaultval=yes
7824 else
7825 defaultval=no
7826 fi
7827 fi
7828
7829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7831 # Check whether --enable-sysoptions was given.
7832 if test "${enable_sysoptions+set}" = set; then
7833 enableval=$enable_sysoptions;
7834 if test "$enableval" = yes; then
7835 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7836 else
7837 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7838 fi
7839
7840 else
7841
7842 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7843
7844 fi
7845
7846
7847 eval "$wx_cv_use_sysoptions"
7848
7849 if test x"$enablestring" = xdisable; then
7850 if test $wxUSE_SYSTEM_OPTIONS = no; then
7851 result=yes
7852 else
7853 result=no
7854 fi
7855 else
7856 result=$wxUSE_SYSTEM_OPTIONS
7857 fi
7858
7859 { echo "$as_me:$LINENO: result: $result" >&5
7860 echo "${ECHO_T}$result" >&6; }
7861
7862
7863 enablestring=
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7867 defaultval=yes
7868 else
7869 defaultval=no
7870 fi
7871 fi
7872
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7875 # Check whether --enable-tarstream was given.
7876 if test "${enable_tarstream+set}" = set; then
7877 enableval=$enable_tarstream;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7880 else
7881 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7882 fi
7883
7884 else
7885
7886 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7887
7888 fi
7889
7890
7891 eval "$wx_cv_use_tarstream"
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_TARSTREAM = no; then
7895 result=yes
7896 else
7897 result=no
7898 fi
7899 else
7900 result=$wxUSE_TARSTREAM
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907 enablestring=
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7911 defaultval=yes
7912 else
7913 defaultval=no
7914 fi
7915 fi
7916
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7919 # Check whether --enable-textbuf was given.
7920 if test "${enable_textbuf+set}" = set; then
7921 enableval=$enable_textbuf;
7922 if test "$enableval" = yes; then
7923 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7924 else
7925 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7926 fi
7927
7928 else
7929
7930 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7931
7932 fi
7933
7934
7935 eval "$wx_cv_use_textbuf"
7936
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_TEXTBUFFER = no; then
7939 result=yes
7940 else
7941 result=no
7942 fi
7943 else
7944 result=$wxUSE_TEXTBUFFER
7945 fi
7946
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7949
7950
7951 enablestring=
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7955 defaultval=yes
7956 else
7957 defaultval=no
7958 fi
7959 fi
7960
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7963 # Check whether --enable-textfile was given.
7964 if test "${enable_textfile+set}" = set; then
7965 enableval=$enable_textfile;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7968 else
7969 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7970 fi
7971
7972 else
7973
7974 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7975
7976 fi
7977
7978
7979 eval "$wx_cv_use_textfile"
7980
7981 if test x"$enablestring" = xdisable; then
7982 if test $wxUSE_TEXTFILE = no; then
7983 result=yes
7984 else
7985 result=no
7986 fi
7987 else
7988 result=$wxUSE_TEXTFILE
7989 fi
7990
7991 { echo "$as_me:$LINENO: result: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7993
7994
7995 enablestring=
7996 defaultval=$wxUSE_ALL_FEATURES
7997 if test -z "$defaultval"; then
7998 if test x"$enablestring" = xdisable; then
7999 defaultval=yes
8000 else
8001 defaultval=no
8002 fi
8003 fi
8004
8005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8007 # Check whether --enable-timer was given.
8008 if test "${enable_timer+set}" = set; then
8009 enableval=$enable_timer;
8010 if test "$enableval" = yes; then
8011 wx_cv_use_timer='wxUSE_TIMER=yes'
8012 else
8013 wx_cv_use_timer='wxUSE_TIMER=no'
8014 fi
8015
8016 else
8017
8018 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8019
8020 fi
8021
8022
8023 eval "$wx_cv_use_timer"
8024
8025 if test x"$enablestring" = xdisable; then
8026 if test $wxUSE_TIMER = no; then
8027 result=yes
8028 else
8029 result=no
8030 fi
8031 else
8032 result=$wxUSE_TIMER
8033 fi
8034
8035 { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8037
8038
8039 enablestring=
8040 defaultval=$wxUSE_ALL_FEATURES
8041 if test -z "$defaultval"; then
8042 if test x"$enablestring" = xdisable; then
8043 defaultval=yes
8044 else
8045 defaultval=no
8046 fi
8047 fi
8048
8049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8051 # Check whether --enable-variant was given.
8052 if test "${enable_variant+set}" = set; then
8053 enableval=$enable_variant;
8054 if test "$enableval" = yes; then
8055 wx_cv_use_variant='wxUSE_VARIANT=yes'
8056 else
8057 wx_cv_use_variant='wxUSE_VARIANT=no'
8058 fi
8059
8060 else
8061
8062 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8063
8064 fi
8065
8066
8067 eval "$wx_cv_use_variant"
8068
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_VARIANT = no; then
8071 result=yes
8072 else
8073 result=no
8074 fi
8075 else
8076 result=$wxUSE_VARIANT
8077 fi
8078
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083 enablestring=
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8087 defaultval=yes
8088 else
8089 defaultval=no
8090 fi
8091 fi
8092
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8095 # Check whether --enable-zipstream was given.
8096 if test "${enable_zipstream+set}" = set; then
8097 enableval=$enable_zipstream;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8100 else
8101 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8102 fi
8103
8104 else
8105
8106 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8107
8108 fi
8109
8110
8111 eval "$wx_cv_use_zipstream"
8112
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_ZIPSTREAM = no; then
8115 result=yes
8116 else
8117 result=no
8118 fi
8119 else
8120 result=$wxUSE_ZIPSTREAM
8121 fi
8122
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8125
8126
8127
8128 enablestring=
8129 defaultval=$wxUSE_ALL_FEATURES
8130 if test -z "$defaultval"; then
8131 if test x"$enablestring" = xdisable; then
8132 defaultval=yes
8133 else
8134 defaultval=no
8135 fi
8136 fi
8137
8138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8140 # Check whether --enable-url was given.
8141 if test "${enable_url+set}" = set; then
8142 enableval=$enable_url;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_url='wxUSE_URL=yes'
8145 else
8146 wx_cv_use_url='wxUSE_URL=no'
8147 fi
8148
8149 else
8150
8151 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8152
8153 fi
8154
8155
8156 eval "$wx_cv_use_url"
8157
8158 if test x"$enablestring" = xdisable; then
8159 if test $wxUSE_URL = no; then
8160 result=yes
8161 else
8162 result=no
8163 fi
8164 else
8165 result=$wxUSE_URL
8166 fi
8167
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8170
8171
8172 enablestring=
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8176 defaultval=yes
8177 else
8178 defaultval=no
8179 fi
8180 fi
8181
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8184 # Check whether --enable-protocol was given.
8185 if test "${enable_protocol+set}" = set; then
8186 enableval=$enable_protocol;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8189 else
8190 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8191 fi
8192
8193 else
8194
8195 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8196
8197 fi
8198
8199
8200 eval "$wx_cv_use_protocol"
8201
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_PROTOCOL = no; then
8204 result=yes
8205 else
8206 result=no
8207 fi
8208 else
8209 result=$wxUSE_PROTOCOL
8210 fi
8211
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8214
8215
8216 enablestring=
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8220 defaultval=yes
8221 else
8222 defaultval=no
8223 fi
8224 fi
8225
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8228 # Check whether --enable-protocol_http was given.
8229 if test "${enable_protocol_http+set}" = set; then
8230 enableval=$enable_protocol_http;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8233 else
8234 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8235 fi
8236
8237 else
8238
8239 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8240
8241 fi
8242
8243
8244 eval "$wx_cv_use_protocol_http"
8245
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_PROTOCOL_HTTP = no; then
8248 result=yes
8249 else
8250 result=no
8251 fi
8252 else
8253 result=$wxUSE_PROTOCOL_HTTP
8254 fi
8255
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8258
8259
8260 enablestring=
8261 defaultval=$wxUSE_ALL_FEATURES
8262 if test -z "$defaultval"; then
8263 if test x"$enablestring" = xdisable; then
8264 defaultval=yes
8265 else
8266 defaultval=no
8267 fi
8268 fi
8269
8270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8272 # Check whether --enable-protocol_ftp was given.
8273 if test "${enable_protocol_ftp+set}" = set; then
8274 enableval=$enable_protocol_ftp;
8275 if test "$enableval" = yes; then
8276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8277 else
8278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8279 fi
8280
8281 else
8282
8283 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8284
8285 fi
8286
8287
8288 eval "$wx_cv_use_protocol_ftp"
8289
8290 if test x"$enablestring" = xdisable; then
8291 if test $wxUSE_PROTOCOL_FTP = no; then
8292 result=yes
8293 else
8294 result=no
8295 fi
8296 else
8297 result=$wxUSE_PROTOCOL_FTP
8298 fi
8299
8300 { echo "$as_me:$LINENO: result: $result" >&5
8301 echo "${ECHO_T}$result" >&6; }
8302
8303
8304 enablestring=
8305 defaultval=$wxUSE_ALL_FEATURES
8306 if test -z "$defaultval"; then
8307 if test x"$enablestring" = xdisable; then
8308 defaultval=yes
8309 else
8310 defaultval=no
8311 fi
8312 fi
8313
8314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8316 # Check whether --enable-protocol_file was given.
8317 if test "${enable_protocol_file+set}" = set; then
8318 enableval=$enable_protocol_file;
8319 if test "$enableval" = yes; then
8320 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8321 else
8322 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8323 fi
8324
8325 else
8326
8327 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8328
8329 fi
8330
8331
8332 eval "$wx_cv_use_protocol_file"
8333
8334 if test x"$enablestring" = xdisable; then
8335 if test $wxUSE_PROTOCOL_FILE = no; then
8336 result=yes
8337 else
8338 result=no
8339 fi
8340 else
8341 result=$wxUSE_PROTOCOL_FILE
8342 fi
8343
8344 { echo "$as_me:$LINENO: result: $result" >&5
8345 echo "${ECHO_T}$result" >&6; }
8346
8347
8348
8349 enablestring=
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8353 defaultval=yes
8354 else
8355 defaultval=no
8356 fi
8357 fi
8358
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8361 # Check whether --enable-threads was given.
8362 if test "${enable_threads+set}" = set; then
8363 enableval=$enable_threads;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_threads='wxUSE_THREADS=yes'
8366 else
8367 wx_cv_use_threads='wxUSE_THREADS=no'
8368 fi
8369
8370 else
8371
8372 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8373
8374 fi
8375
8376
8377 eval "$wx_cv_use_threads"
8378
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_THREADS = no; then
8381 result=yes
8382 else
8383 result=no
8384 fi
8385 else
8386 result=$wxUSE_THREADS
8387 fi
8388
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8391
8392
8393
8394 enablestring=
8395 defaultval=
8396 if test -z "$defaultval"; then
8397 if test x"$enablestring" = xdisable; then
8398 defaultval=yes
8399 else
8400 defaultval=no
8401 fi
8402 fi
8403
8404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8406 # Check whether --enable-iniconf was given.
8407 if test "${enable_iniconf+set}" = set; then
8408 enableval=$enable_iniconf;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8411 else
8412 wx_cv_use_iniconf='wxUSE_INICONF=no'
8413 fi
8414
8415 else
8416
8417 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8418
8419 fi
8420
8421
8422 eval "$wx_cv_use_iniconf"
8423
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_INICONF = no; then
8426 result=yes
8427 else
8428 result=no
8429 fi
8430 else
8431 result=$wxUSE_INICONF
8432 fi
8433
8434 { echo "$as_me:$LINENO: result: $result" >&5
8435 echo "${ECHO_T}$result" >&6; }
8436
8437
8438 enablestring=
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8442 defaultval=yes
8443 else
8444 defaultval=no
8445 fi
8446 fi
8447
8448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8450 # Check whether --enable-regkey was given.
8451 if test "${enable_regkey+set}" = set; then
8452 enableval=$enable_regkey;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8455 else
8456 wx_cv_use_regkey='wxUSE_REGKEY=no'
8457 fi
8458
8459 else
8460
8461 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8462
8463 fi
8464
8465
8466 eval "$wx_cv_use_regkey"
8467
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_REGKEY = no; then
8470 result=yes
8471 else
8472 result=no
8473 fi
8474 else
8475 result=$wxUSE_REGKEY
8476 fi
8477
8478 { echo "$as_me:$LINENO: result: $result" >&5
8479 echo "${ECHO_T}$result" >&6; }
8480
8481
8482 if test "$wxUSE_GUI" = "yes"; then
8483
8484
8485
8486 enablestring=
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8490 defaultval=yes
8491 else
8492 defaultval=no
8493 fi
8494 fi
8495
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8498 # Check whether --enable-docview was given.
8499 if test "${enable_docview+set}" = set; then
8500 enableval=$enable_docview;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8503 else
8504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8505 fi
8506
8507 else
8508
8509 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_docview"
8515
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8518 result=yes
8519 else
8520 result=no
8521 fi
8522 else
8523 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8524 fi
8525
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8528
8529
8530 enablestring=
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8534 defaultval=yes
8535 else
8536 defaultval=no
8537 fi
8538 fi
8539
8540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8542 # Check whether --enable-help was given.
8543 if test "${enable_help+set}" = set; then
8544 enableval=$enable_help;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_help='wxUSE_HELP=yes'
8547 else
8548 wx_cv_use_help='wxUSE_HELP=no'
8549 fi
8550
8551 else
8552
8553 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_help"
8559
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_HELP = no; then
8562 result=yes
8563 else
8564 result=no
8565 fi
8566 else
8567 result=$wxUSE_HELP
8568 fi
8569
8570 { echo "$as_me:$LINENO: result: $result" >&5
8571 echo "${ECHO_T}$result" >&6; }
8572
8573
8574 enablestring=
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8578 defaultval=yes
8579 else
8580 defaultval=no
8581 fi
8582 fi
8583
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8586 # Check whether --enable-mshtmlhelp was given.
8587 if test "${enable_mshtmlhelp+set}" = set; then
8588 enableval=$enable_mshtmlhelp;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8591 else
8592 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8593 fi
8594
8595 else
8596
8597 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$wx_cv_use_mshtmlhelp"
8603
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_MS_HTML_HELP = no; then
8606 result=yes
8607 else
8608 result=no
8609 fi
8610 else
8611 result=$wxUSE_MS_HTML_HELP
8612 fi
8613
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8616
8617
8618 enablestring=
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8622 defaultval=yes
8623 else
8624 defaultval=no
8625 fi
8626 fi
8627
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8630 # Check whether --enable-html was given.
8631 if test "${enable_html+set}" = set; then
8632 enableval=$enable_html;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_html='wxUSE_HTML=yes'
8635 else
8636 wx_cv_use_html='wxUSE_HTML=no'
8637 fi
8638
8639 else
8640
8641 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8642
8643 fi
8644
8645
8646 eval "$wx_cv_use_html"
8647
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_HTML = no; then
8650 result=yes
8651 else
8652 result=no
8653 fi
8654 else
8655 result=$wxUSE_HTML
8656 fi
8657
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8660
8661
8662 enablestring=
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8666 defaultval=yes
8667 else
8668 defaultval=no
8669 fi
8670 fi
8671
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8674 # Check whether --enable-htmlhelp was given.
8675 if test "${enable_htmlhelp+set}" = set; then
8676 enableval=$enable_htmlhelp;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8679 else
8680 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8681 fi
8682
8683 else
8684
8685 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8686
8687 fi
8688
8689
8690 eval "$wx_cv_use_htmlhelp"
8691
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_WXHTML_HELP = no; then
8694 result=yes
8695 else
8696 result=no
8697 fi
8698 else
8699 result=$wxUSE_WXHTML_HELP
8700 fi
8701
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8718 # Check whether --enable-xrc was given.
8719 if test "${enable_xrc+set}" = set; then
8720 enableval=$enable_xrc;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_xrc='wxUSE_XRC=yes'
8723 else
8724 wx_cv_use_xrc='wxUSE_XRC=no'
8725 fi
8726
8727 else
8728
8729 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8730
8731 fi
8732
8733
8734 eval "$wx_cv_use_xrc"
8735
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_XRC = no; then
8738 result=yes
8739 else
8740 result=no
8741 fi
8742 else
8743 result=$wxUSE_XRC
8744 fi
8745
8746 { echo "$as_me:$LINENO: result: $result" >&5
8747 echo "${ECHO_T}$result" >&6; }
8748
8749
8750 enablestring=
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8754 defaultval=yes
8755 else
8756 defaultval=no
8757 fi
8758 fi
8759
8760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8762 # Check whether --enable-aui was given.
8763 if test "${enable_aui+set}" = set; then
8764 enableval=$enable_aui;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_aui='wxUSE_AUI=yes'
8767 else
8768 wx_cv_use_aui='wxUSE_AUI=no'
8769 fi
8770
8771 else
8772
8773 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8774
8775 fi
8776
8777
8778 eval "$wx_cv_use_aui"
8779
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_AUI = no; then
8782 result=yes
8783 else
8784 result=no
8785 fi
8786 else
8787 result=$wxUSE_AUI
8788 fi
8789
8790 { echo "$as_me:$LINENO: result: $result" >&5
8791 echo "${ECHO_T}$result" >&6; }
8792
8793
8794 enablestring=
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8798 defaultval=yes
8799 else
8800 defaultval=no
8801 fi
8802 fi
8803
8804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8805 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8806 # Check whether --enable-propgrid was given.
8807 if test "${enable_propgrid+set}" = set; then
8808 enableval=$enable_propgrid;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8811 else
8812 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8813 fi
8814
8815 else
8816
8817 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8818
8819 fi
8820
8821
8822 eval "$wx_cv_use_propgrid"
8823
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_PROPGRID = no; then
8826 result=yes
8827 else
8828 result=no
8829 fi
8830 else
8831 result=$wxUSE_PROPGRID
8832 fi
8833
8834 { echo "$as_me:$LINENO: result: $result" >&5
8835 echo "${ECHO_T}$result" >&6; }
8836
8837
8838 enablestring=
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8842 defaultval=yes
8843 else
8844 defaultval=no
8845 fi
8846 fi
8847
8848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8850 # Check whether --enable-ribbon was given.
8851 if test "${enable_ribbon+set}" = set; then
8852 enableval=$enable_ribbon;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8855 else
8856 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8857 fi
8858
8859 else
8860
8861 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8862
8863 fi
8864
8865
8866 eval "$wx_cv_use_ribbon"
8867
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_RIBBON = no; then
8870 result=yes
8871 else
8872 result=no
8873 fi
8874 else
8875 result=$wxUSE_RIBBON
8876 fi
8877
8878 { echo "$as_me:$LINENO: result: $result" >&5
8879 echo "${ECHO_T}$result" >&6; }
8880
8881
8882 enablestring=
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8886 defaultval=yes
8887 else
8888 defaultval=no
8889 fi
8890 fi
8891
8892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8894 # Check whether --enable-stc was given.
8895 if test "${enable_stc+set}" = set; then
8896 enableval=$enable_stc;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_stc='wxUSE_STC=yes'
8899 else
8900 wx_cv_use_stc='wxUSE_STC=no'
8901 fi
8902
8903 else
8904
8905 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8906
8907 fi
8908
8909
8910 eval "$wx_cv_use_stc"
8911
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_STC = no; then
8914 result=yes
8915 else
8916 result=no
8917 fi
8918 else
8919 result=$wxUSE_STC
8920 fi
8921
8922 { echo "$as_me:$LINENO: result: $result" >&5
8923 echo "${ECHO_T}$result" >&6; }
8924
8925
8926 enablestring=
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8930 defaultval=yes
8931 else
8932 defaultval=no
8933 fi
8934 fi
8935
8936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8938 # Check whether --enable-constraints was given.
8939 if test "${enable_constraints+set}" = set; then
8940 enableval=$enable_constraints;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8943 else
8944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8945 fi
8946
8947 else
8948
8949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8950
8951 fi
8952
8953
8954 eval "$wx_cv_use_constraints"
8955
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_CONSTRAINTS = no; then
8958 result=yes
8959 else
8960 result=no
8961 fi
8962 else
8963 result=$wxUSE_CONSTRAINTS
8964 fi
8965
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8982 # Check whether --enable-loggui was given.
8983 if test "${enable_loggui+set}" = set; then
8984 enableval=$enable_loggui;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8987 else
8988 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8989 fi
8990
8991 else
8992
8993 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8994
8995 fi
8996
8997
8998 eval "$wx_cv_use_loggui"
8999
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_LOGGUI = no; then
9002 result=yes
9003 else
9004 result=no
9005 fi
9006 else
9007 result=$wxUSE_LOGGUI
9008 fi
9009
9010 { echo "$as_me:$LINENO: result: $result" >&5
9011 echo "${ECHO_T}$result" >&6; }
9012
9013
9014 enablestring=
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9018 defaultval=yes
9019 else
9020 defaultval=no
9021 fi
9022 fi
9023
9024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9026 # Check whether --enable-logwin was given.
9027 if test "${enable_logwin+set}" = set; then
9028 enableval=$enable_logwin;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9031 else
9032 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9033 fi
9034
9035 else
9036
9037 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9038
9039 fi
9040
9041
9042 eval "$wx_cv_use_logwin"
9043
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_LOGWINDOW = no; then
9046 result=yes
9047 else
9048 result=no
9049 fi
9050 else
9051 result=$wxUSE_LOGWINDOW
9052 fi
9053
9054 { echo "$as_me:$LINENO: result: $result" >&5
9055 echo "${ECHO_T}$result" >&6; }
9056
9057
9058 enablestring=
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9062 defaultval=yes
9063 else
9064 defaultval=no
9065 fi
9066 fi
9067
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9070 # Check whether --enable-logdialog was given.
9071 if test "${enable_logdialog+set}" = set; then
9072 enableval=$enable_logdialog;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9075 else
9076 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9077 fi
9078
9079 else
9080
9081 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9082
9083 fi
9084
9085
9086 eval "$wx_cv_use_logdialog"
9087
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_LOGDIALOG = no; then
9090 result=yes
9091 else
9092 result=no
9093 fi
9094 else
9095 result=$wxUSE_LOGDIALOG
9096 fi
9097
9098 { echo "$as_me:$LINENO: result: $result" >&5
9099 echo "${ECHO_T}$result" >&6; }
9100
9101
9102 enablestring=
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9106 defaultval=yes
9107 else
9108 defaultval=no
9109 fi
9110 fi
9111
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9114 # Check whether --enable-mdi was given.
9115 if test "${enable_mdi+set}" = set; then
9116 enableval=$enable_mdi;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_mdi='wxUSE_MDI=yes'
9119 else
9120 wx_cv_use_mdi='wxUSE_MDI=no'
9121 fi
9122
9123 else
9124
9125 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_mdi"
9131
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_MDI = no; then
9134 result=yes
9135 else
9136 result=no
9137 fi
9138 else
9139 result=$wxUSE_MDI
9140 fi
9141
9142 { echo "$as_me:$LINENO: result: $result" >&5
9143 echo "${ECHO_T}$result" >&6; }
9144
9145
9146 enablestring=
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9150 defaultval=yes
9151 else
9152 defaultval=no
9153 fi
9154 fi
9155
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9158 # Check whether --enable-mdidoc was given.
9159 if test "${enable_mdidoc+set}" = set; then
9160 enableval=$enable_mdidoc;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9163 else
9164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9165 fi
9166
9167 else
9168
9169 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_mdidoc"
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_MDI_ARCHITECTURE = no; then
9178 result=yes
9179 else
9180 result=no
9181 fi
9182 else
9183 result=$wxUSE_MDI_ARCHITECTURE
9184 fi
9185
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9188
9189
9190 enablestring=
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9194 defaultval=yes
9195 else
9196 defaultval=no
9197 fi
9198 fi
9199
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9202 # Check whether --enable-mediactrl was given.
9203 if test "${enable_mediactrl+set}" = set; then
9204 enableval=$enable_mediactrl;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9207 else
9208 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9209 fi
9210
9211 else
9212
9213 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_mediactrl"
9219
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_MEDIACTRL = no; then
9222 result=yes
9223 else
9224 result=no
9225 fi
9226 else
9227 result=$wxUSE_MEDIACTRL
9228 fi
9229
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9232
9233
9234 enablestring=
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9246 # Check whether --enable-gstreamer8 was given.
9247 if test "${enable_gstreamer8+set}" = set; then
9248 enableval=$enable_gstreamer8;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9251 else
9252 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_gstreamer8"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_GSTREAMER8 = no; then
9266 result=yes
9267 else
9268 result=no
9269 fi
9270 else
9271 result=$wxUSE_GSTREAMER8
9272 fi
9273
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9276
9277
9278 enablestring=
9279 defaultval=$wxUSE_ALL_FEATURES
9280 if test -z "$defaultval"; then
9281 if test x"$enablestring" = xdisable; then
9282 defaultval=yes
9283 else
9284 defaultval=no
9285 fi
9286 fi
9287
9288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9290 # Check whether --enable-webkit was given.
9291 if test "${enable_webkit+set}" = set; then
9292 enableval=$enable_webkit;
9293 if test "$enableval" = yes; then
9294 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9295 else
9296 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9297 fi
9298
9299 else
9300
9301 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9302
9303 fi
9304
9305
9306 eval "$wx_cv_use_webkit"
9307
9308 if test x"$enablestring" = xdisable; then
9309 if test $wxUSE_WEBKIT = no; then
9310 result=yes
9311 else
9312 result=no
9313 fi
9314 else
9315 result=$wxUSE_WEBKIT
9316 fi
9317
9318 { echo "$as_me:$LINENO: result: $result" >&5
9319 echo "${ECHO_T}$result" >&6; }
9320
9321
9322 enablestring=
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9326 defaultval=yes
9327 else
9328 defaultval=no
9329 fi
9330 fi
9331
9332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9334 # Check whether --enable-richtext was given.
9335 if test "${enable_richtext+set}" = set; then
9336 enableval=$enable_richtext;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9339 else
9340 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9341 fi
9342
9343 else
9344
9345 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9346
9347 fi
9348
9349
9350 eval "$wx_cv_use_richtext"
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_RICHTEXT = no; then
9354 result=yes
9355 else
9356 result=no
9357 fi
9358 else
9359 result=$wxUSE_RICHTEXT
9360 fi
9361
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9364
9365
9366 enablestring=
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9370 defaultval=yes
9371 else
9372 defaultval=no
9373 fi
9374 fi
9375
9376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9378 # Check whether --enable-postscript was given.
9379 if test "${enable_postscript+set}" = set; then
9380 enableval=$enable_postscript;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9383 else
9384 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9385 fi
9386
9387 else
9388
9389 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_postscript"
9395
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_POSTSCRIPT = no; then
9398 result=yes
9399 else
9400 result=no
9401 fi
9402 else
9403 result=$wxUSE_POSTSCRIPT
9404 fi
9405
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9408
9409
9410 enablestring=
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9414 defaultval=yes
9415 else
9416 defaultval=no
9417 fi
9418 fi
9419
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9422 # Check whether --enable-printarch was given.
9423 if test "${enable_printarch+set}" = set; then
9424 enableval=$enable_printarch;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9427 else
9428 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9429 fi
9430
9431 else
9432
9433 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9434
9435 fi
9436
9437
9438 eval "$wx_cv_use_printarch"
9439
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9442 result=yes
9443 else
9444 result=no
9445 fi
9446 else
9447 result=$wxUSE_PRINTING_ARCHITECTURE
9448 fi
9449
9450 { echo "$as_me:$LINENO: result: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9452
9453
9454 enablestring=
9455 defaultval=$wxUSE_ALL_FEATURES
9456 if test -z "$defaultval"; then
9457 if test x"$enablestring" = xdisable; then
9458 defaultval=yes
9459 else
9460 defaultval=no
9461 fi
9462 fi
9463
9464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9465 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9466 # Check whether --enable-svg was given.
9467 if test "${enable_svg+set}" = set; then
9468 enableval=$enable_svg;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_svg='wxUSE_SVG=yes'
9471 else
9472 wx_cv_use_svg='wxUSE_SVG=no'
9473 fi
9474
9475 else
9476
9477 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9478
9479 fi
9480
9481
9482 eval "$wx_cv_use_svg"
9483
9484 if test x"$enablestring" = xdisable; then
9485 if test $wxUSE_SVG = no; then
9486 result=yes
9487 else
9488 result=no
9489 fi
9490 else
9491 result=$wxUSE_SVG
9492 fi
9493
9494 { echo "$as_me:$LINENO: result: $result" >&5
9495 echo "${ECHO_T}$result" >&6; }
9496
9497
9498 if test "$wxUSE_MAC" != 1; then
9499
9500 enablestring=
9501 defaultval=$wxUSE_ALL_FEATURES
9502 if test -z "$defaultval"; then
9503 if test x"$enablestring" = xdisable; then
9504 defaultval=yes
9505 else
9506 defaultval=no
9507 fi
9508 fi
9509
9510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9512 # Check whether --enable-graphics_ctx was given.
9513 if test "${enable_graphics_ctx+set}" = set; then
9514 enableval=$enable_graphics_ctx;
9515 if test "$enableval" = yes; then
9516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9517 else
9518 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9519 fi
9520
9521 else
9522
9523 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9524
9525 fi
9526
9527
9528 eval "$wx_cv_use_graphics_ctx"
9529
9530 if test x"$enablestring" = xdisable; then
9531 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9532 result=yes
9533 else
9534 result=no
9535 fi
9536 else
9537 result=$wxUSE_GRAPHICS_CONTEXT
9538 fi
9539
9540 { echo "$as_me:$LINENO: result: $result" >&5
9541 echo "${ECHO_T}$result" >&6; }
9542
9543 fi
9544
9545
9546
9547 enablestring=
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9551 defaultval=yes
9552 else
9553 defaultval=no
9554 fi
9555 fi
9556
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9559 # Check whether --enable-clipboard was given.
9560 if test "${enable_clipboard+set}" = set; then
9561 enableval=$enable_clipboard;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9564 else
9565 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9566 fi
9567
9568 else
9569
9570 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9571
9572 fi
9573
9574
9575 eval "$wx_cv_use_clipboard"
9576
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_CLIPBOARD = no; then
9579 result=yes
9580 else
9581 result=no
9582 fi
9583 else
9584 result=$wxUSE_CLIPBOARD
9585 fi
9586
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9589
9590
9591 enablestring=
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9595 defaultval=yes
9596 else
9597 defaultval=no
9598 fi
9599 fi
9600
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9603 # Check whether --enable-dnd was given.
9604 if test "${enable_dnd+set}" = set; then
9605 enableval=$enable_dnd;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9608 else
9609 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9610 fi
9611
9612 else
9613
9614 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9615
9616 fi
9617
9618
9619 eval "$wx_cv_use_dnd"
9620
9621 if test x"$enablestring" = xdisable; then
9622 if test $wxUSE_DRAG_AND_DROP = no; then
9623 result=yes
9624 else
9625 result=no
9626 fi
9627 else
9628 result=$wxUSE_DRAG_AND_DROP
9629 fi
9630
9631 { echo "$as_me:$LINENO: result: $result" >&5
9632 echo "${ECHO_T}$result" >&6; }
9633
9634
9635 enablestring=
9636 defaultval=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x"$enablestring" = xdisable; then
9639 defaultval=yes
9640 else
9641 defaultval=no
9642 fi
9643 fi
9644
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9647 # Check whether --enable-metafile was given.
9648 if test "${enable_metafile+set}" = set; then
9649 enableval=$enable_metafile;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9652 else
9653 wx_cv_use_metafile='wxUSE_METAFILE=no'
9654 fi
9655
9656 else
9657
9658 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9659
9660 fi
9661
9662
9663 eval "$wx_cv_use_metafile"
9664
9665 if test x"$enablestring" = xdisable; then
9666 if test $wxUSE_METAFILE = no; then
9667 result=yes
9668 else
9669 result=no
9670 fi
9671 else
9672 result=$wxUSE_METAFILE
9673 fi
9674
9675 { echo "$as_me:$LINENO: result: $result" >&5
9676 echo "${ECHO_T}$result" >&6; }
9677
9678
9679
9680 DEFAULT_wxUSE_CONTROLS=none
9681
9682 enablestring=disable
9683 defaultval=
9684 if test -z "$defaultval"; then
9685 if test x"$enablestring" = xdisable; then
9686 defaultval=yes
9687 else
9688 defaultval=no
9689 fi
9690 fi
9691
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9694 # Check whether --enable-controls was given.
9695 if test "${enable_controls+set}" = set; then
9696 enableval=$enable_controls;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9699 else
9700 wx_cv_use_controls='wxUSE_CONTROLS=no'
9701 fi
9702
9703 else
9704
9705 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9706
9707 fi
9708
9709
9710 eval "$wx_cv_use_controls"
9711
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_CONTROLS = no; then
9714 result=yes
9715 else
9716 result=no
9717 fi
9718 else
9719 result=$wxUSE_CONTROLS
9720 fi
9721
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9724
9725
9726 if test "$wxUSE_CONTROLS" = "no"; then
9727 DEFAULT_wxUSE_ACCEL=no
9728 DEFAULT_wxUSE_ANIMATIONCTRL=no
9729 DEFAULT_wxUSE_BMPBUTTON=no
9730 DEFAULT_wxUSE_BUTTON=no
9731 DEFAULT_wxUSE_CALCTRL=no
9732 DEFAULT_wxUSE_CARET=no
9733 DEFAULT_wxUSE_CHECKBOX=no
9734 DEFAULT_wxUSE_CHECKLISTBOX=no
9735 DEFAULT_wxUSE_CHOICE=no
9736 DEFAULT_wxUSE_CHOICEBOOK=no
9737 DEFAULT_wxUSE_COLLPANE=no
9738 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9739 DEFAULT_wxUSE_COMBOBOX=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_DATAVIEWCTRL=no
9742 DEFAULT_wxUSE_DATEPICKCTRL=no
9743 DEFAULT_wxUSE_DETECT_SM=no
9744 DEFAULT_wxUSE_DIRPICKERCTRL=no
9745 DEFAULT_wxUSE_DISPLAY=no
9746 DEFAULT_wxUSE_FILECTRL=no
9747 DEFAULT_wxUSE_FILEPICKERCTRL=no
9748 DEFAULT_wxUSE_FONTPICKERCTRL=no
9749 DEFAULT_wxUSE_GAUGE=no
9750 DEFAULT_wxUSE_GRID=no
9751 DEFAULT_wxUSE_HEADERCTRL=no
9752 DEFAULT_wxUSE_HYPERLINKCTRL=no
9753 DEFAULT_wxUSE_IMAGLIST=no
9754 DEFAULT_wxUSE_LISTBOOK=no
9755 DEFAULT_wxUSE_LISTBOX=no
9756 DEFAULT_wxUSE_LISTCTRL=no
9757 DEFAULT_wxUSE_NOTEBOOK=no
9758 DEFAULT_wxUSE_POPUPWIN=no
9759 DEFAULT_wxUSE_RADIOBOX=no
9760 DEFAULT_wxUSE_RADIOBTN=no
9761 DEFAULT_wxUSE_REARRANGECTRL=no
9762 DEFAULT_wxUSE_SASH=no
9763 DEFAULT_wxUSE_SCROLLBAR=no
9764 DEFAULT_wxUSE_SEARCHCTRL=no
9765 DEFAULT_wxUSE_SLIDER=no
9766 DEFAULT_wxUSE_SPINBTN=no
9767 DEFAULT_wxUSE_SPINCTRL=no
9768 DEFAULT_wxUSE_SPLITTER=no
9769 DEFAULT_wxUSE_STATBMP=no
9770 DEFAULT_wxUSE_STATBOX=no
9771 DEFAULT_wxUSE_STATLINE=no
9772 DEFAULT_wxUSE_STATUSBAR=no
9773 DEFAULT_wxUSE_TIPWINDOW=no
9774 DEFAULT_wxUSE_TOGGLEBTN=no
9775 DEFAULT_wxUSE_TOOLBAR=no
9776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9777 DEFAULT_wxUSE_TOOLBOOK=no
9778 DEFAULT_wxUSE_TOOLTIPS=no
9779 DEFAULT_wxUSE_TREEBOOK=no
9780 DEFAULT_wxUSE_TREECTRL=no
9781 fi
9782
9783
9784 enablestring=
9785 defaultval=$wxUSE_ALL_FEATURES
9786 if test -z "$defaultval"; then
9787 if test x"$enablestring" = xdisable; then
9788 defaultval=yes
9789 else
9790 defaultval=no
9791 fi
9792 fi
9793
9794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9795 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9796 # Check whether --enable-accel was given.
9797 if test "${enable_accel+set}" = set; then
9798 enableval=$enable_accel;
9799 if test "$enableval" = yes; then
9800 wx_cv_use_accel='wxUSE_ACCEL=yes'
9801 else
9802 wx_cv_use_accel='wxUSE_ACCEL=no'
9803 fi
9804
9805 else
9806
9807 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9808
9809 fi
9810
9811
9812 eval "$wx_cv_use_accel"
9813
9814 if test x"$enablestring" = xdisable; then
9815 if test $wxUSE_ACCEL = no; then
9816 result=yes
9817 else
9818 result=no
9819 fi
9820 else
9821 result=$wxUSE_ACCEL
9822 fi
9823
9824 { echo "$as_me:$LINENO: result: $result" >&5
9825 echo "${ECHO_T}$result" >&6; }
9826
9827
9828 enablestring=
9829 defaultval=$wxUSE_ALL_FEATURES
9830 if test -z "$defaultval"; then
9831 if test x"$enablestring" = xdisable; then
9832 defaultval=yes
9833 else
9834 defaultval=no
9835 fi
9836 fi
9837
9838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9839 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9840 # Check whether --enable-animatectrl was given.
9841 if test "${enable_animatectrl+set}" = set; then
9842 enableval=$enable_animatectrl;
9843 if test "$enableval" = yes; then
9844 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9845 else
9846 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9847 fi
9848
9849 else
9850
9851 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9852
9853 fi
9854
9855
9856 eval "$wx_cv_use_animatectrl"
9857
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_ANIMATIONCTRL = no; then
9860 result=yes
9861 else
9862 result=no
9863 fi
9864 else
9865 result=$wxUSE_ANIMATIONCTRL
9866 fi
9867
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9870
9871
9872 enablestring=
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9876 defaultval=yes
9877 else
9878 defaultval=no
9879 fi
9880 fi
9881
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9884 # Check whether --enable-bmpbutton was given.
9885 if test "${enable_bmpbutton+set}" = set; then
9886 enableval=$enable_bmpbutton;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9889 else
9890 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9891 fi
9892
9893 else
9894
9895 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9896
9897 fi
9898
9899
9900 eval "$wx_cv_use_bmpbutton"
9901
9902 if test x"$enablestring" = xdisable; then
9903 if test $wxUSE_BMPBUTTON = no; then
9904 result=yes
9905 else
9906 result=no
9907 fi
9908 else
9909 result=$wxUSE_BMPBUTTON
9910 fi
9911
9912 { echo "$as_me:$LINENO: result: $result" >&5
9913 echo "${ECHO_T}$result" >&6; }
9914
9915
9916 enablestring=
9917 defaultval=$wxUSE_ALL_FEATURES
9918 if test -z "$defaultval"; then
9919 if test x"$enablestring" = xdisable; then
9920 defaultval=yes
9921 else
9922 defaultval=no
9923 fi
9924 fi
9925
9926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9928 # Check whether --enable-bmpcombobox was given.
9929 if test "${enable_bmpcombobox+set}" = set; then
9930 enableval=$enable_bmpcombobox;
9931 if test "$enableval" = yes; then
9932 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9933 else
9934 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9935 fi
9936
9937 else
9938
9939 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9940
9941 fi
9942
9943
9944 eval "$wx_cv_use_bmpcombobox"
9945
9946 if test x"$enablestring" = xdisable; then
9947 if test $wxUSE_BITMAPCOMBOBOX = no; then
9948 result=yes
9949 else
9950 result=no
9951 fi
9952 else
9953 result=$wxUSE_BITMAPCOMBOBOX
9954 fi
9955
9956 { echo "$as_me:$LINENO: result: $result" >&5
9957 echo "${ECHO_T}$result" >&6; }
9958
9959
9960 enablestring=
9961 defaultval=$wxUSE_ALL_FEATURES
9962 if test -z "$defaultval"; then
9963 if test x"$enablestring" = xdisable; then
9964 defaultval=yes
9965 else
9966 defaultval=no
9967 fi
9968 fi
9969
9970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9972 # Check whether --enable-button was given.
9973 if test "${enable_button+set}" = set; then
9974 enableval=$enable_button;
9975 if test "$enableval" = yes; then
9976 wx_cv_use_button='wxUSE_BUTTON=yes'
9977 else
9978 wx_cv_use_button='wxUSE_BUTTON=no'
9979 fi
9980
9981 else
9982
9983 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9984
9985 fi
9986
9987
9988 eval "$wx_cv_use_button"
9989
9990 if test x"$enablestring" = xdisable; then
9991 if test $wxUSE_BUTTON = no; then
9992 result=yes
9993 else
9994 result=no
9995 fi
9996 else
9997 result=$wxUSE_BUTTON
9998 fi
9999
10000 { echo "$as_me:$LINENO: result: $result" >&5
10001 echo "${ECHO_T}$result" >&6; }
10002
10003
10004 enablestring=
10005 defaultval=$wxUSE_ALL_FEATURES
10006 if test -z "$defaultval"; then
10007 if test x"$enablestring" = xdisable; then
10008 defaultval=yes
10009 else
10010 defaultval=no
10011 fi
10012 fi
10013
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10016 # Check whether --enable-calendar was given.
10017 if test "${enable_calendar+set}" = set; then
10018 enableval=$enable_calendar;
10019 if test "$enableval" = yes; then
10020 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10021 else
10022 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10023 fi
10024
10025 else
10026
10027 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10028
10029 fi
10030
10031
10032 eval "$wx_cv_use_calendar"
10033
10034 if test x"$enablestring" = xdisable; then
10035 if test $wxUSE_CALCTRL = no; then
10036 result=yes
10037 else
10038 result=no
10039 fi
10040 else
10041 result=$wxUSE_CALCTRL
10042 fi
10043
10044 { echo "$as_me:$LINENO: result: $result" >&5
10045 echo "${ECHO_T}$result" >&6; }
10046
10047
10048 enablestring=
10049 defaultval=$wxUSE_ALL_FEATURES
10050 if test -z "$defaultval"; then
10051 if test x"$enablestring" = xdisable; then
10052 defaultval=yes
10053 else
10054 defaultval=no
10055 fi
10056 fi
10057
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10060 # Check whether --enable-caret was given.
10061 if test "${enable_caret+set}" = set; then
10062 enableval=$enable_caret;
10063 if test "$enableval" = yes; then
10064 wx_cv_use_caret='wxUSE_CARET=yes'
10065 else
10066 wx_cv_use_caret='wxUSE_CARET=no'
10067 fi
10068
10069 else
10070
10071 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10072
10073 fi
10074
10075
10076 eval "$wx_cv_use_caret"
10077
10078 if test x"$enablestring" = xdisable; then
10079 if test $wxUSE_CARET = no; then
10080 result=yes
10081 else
10082 result=no
10083 fi
10084 else
10085 result=$wxUSE_CARET
10086 fi
10087
10088 { echo "$as_me:$LINENO: result: $result" >&5
10089 echo "${ECHO_T}$result" >&6; }
10090
10091
10092 enablestring=
10093 defaultval=$wxUSE_ALL_FEATURES
10094 if test -z "$defaultval"; then
10095 if test x"$enablestring" = xdisable; then
10096 defaultval=yes
10097 else
10098 defaultval=no
10099 fi
10100 fi
10101
10102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10103 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10104 # Check whether --enable-checkbox was given.
10105 if test "${enable_checkbox+set}" = set; then
10106 enableval=$enable_checkbox;
10107 if test "$enableval" = yes; then
10108 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10109 else
10110 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10111 fi
10112
10113 else
10114
10115 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10116
10117 fi
10118
10119
10120 eval "$wx_cv_use_checkbox"
10121
10122 if test x"$enablestring" = xdisable; then
10123 if test $wxUSE_CHECKBOX = no; then
10124 result=yes
10125 else
10126 result=no
10127 fi
10128 else
10129 result=$wxUSE_CHECKBOX
10130 fi
10131
10132 { echo "$as_me:$LINENO: result: $result" >&5
10133 echo "${ECHO_T}$result" >&6; }
10134
10135
10136 enablestring=
10137 defaultval=$wxUSE_ALL_FEATURES
10138 if test -z "$defaultval"; then
10139 if test x"$enablestring" = xdisable; then
10140 defaultval=yes
10141 else
10142 defaultval=no
10143 fi
10144 fi
10145
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10148 # Check whether --enable-checklst was given.
10149 if test "${enable_checklst+set}" = set; then
10150 enableval=$enable_checklst;
10151 if test "$enableval" = yes; then
10152 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10153 else
10154 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10155 fi
10156
10157 else
10158
10159 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10160
10161 fi
10162
10163
10164 eval "$wx_cv_use_checklst"
10165
10166 if test x"$enablestring" = xdisable; then
10167 if test $wxUSE_CHECKLST = no; then
10168 result=yes
10169 else
10170 result=no
10171 fi
10172 else
10173 result=$wxUSE_CHECKLST
10174 fi
10175
10176 { echo "$as_me:$LINENO: result: $result" >&5
10177 echo "${ECHO_T}$result" >&6; }
10178
10179
10180 enablestring=
10181 defaultval=$wxUSE_ALL_FEATURES
10182 if test -z "$defaultval"; then
10183 if test x"$enablestring" = xdisable; then
10184 defaultval=yes
10185 else
10186 defaultval=no
10187 fi
10188 fi
10189
10190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10192 # Check whether --enable-choice was given.
10193 if test "${enable_choice+set}" = set; then
10194 enableval=$enable_choice;
10195 if test "$enableval" = yes; then
10196 wx_cv_use_choice='wxUSE_CHOICE=yes'
10197 else
10198 wx_cv_use_choice='wxUSE_CHOICE=no'
10199 fi
10200
10201 else
10202
10203 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10204
10205 fi
10206
10207
10208 eval "$wx_cv_use_choice"
10209
10210 if test x"$enablestring" = xdisable; then
10211 if test $wxUSE_CHOICE = no; then
10212 result=yes
10213 else
10214 result=no
10215 fi
10216 else
10217 result=$wxUSE_CHOICE
10218 fi
10219
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10222
10223
10224 enablestring=
10225 defaultval=$wxUSE_ALL_FEATURES
10226 if test -z "$defaultval"; then
10227 if test x"$enablestring" = xdisable; then
10228 defaultval=yes
10229 else
10230 defaultval=no
10231 fi
10232 fi
10233
10234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10236 # Check whether --enable-choicebook was given.
10237 if test "${enable_choicebook+set}" = set; then
10238 enableval=$enable_choicebook;
10239 if test "$enableval" = yes; then
10240 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10241 else
10242 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10243 fi
10244
10245 else
10246
10247 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10248
10249 fi
10250
10251
10252 eval "$wx_cv_use_choicebook"
10253
10254 if test x"$enablestring" = xdisable; then
10255 if test $wxUSE_CHOICEBOOK = no; then
10256 result=yes
10257 else
10258 result=no
10259 fi
10260 else
10261 result=$wxUSE_CHOICEBOOK
10262 fi
10263
10264 { echo "$as_me:$LINENO: result: $result" >&5
10265 echo "${ECHO_T}$result" >&6; }
10266
10267
10268 enablestring=
10269 defaultval=$wxUSE_ALL_FEATURES
10270 if test -z "$defaultval"; then
10271 if test x"$enablestring" = xdisable; then
10272 defaultval=yes
10273 else
10274 defaultval=no
10275 fi
10276 fi
10277
10278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10280 # Check whether --enable-collpane was given.
10281 if test "${enable_collpane+set}" = set; then
10282 enableval=$enable_collpane;
10283 if test "$enableval" = yes; then
10284 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10285 else
10286 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10287 fi
10288
10289 else
10290
10291 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10292
10293 fi
10294
10295
10296 eval "$wx_cv_use_collpane"
10297
10298 if test x"$enablestring" = xdisable; then
10299 if test $wxUSE_COLLPANE = no; then
10300 result=yes
10301 else
10302 result=no
10303 fi
10304 else
10305 result=$wxUSE_COLLPANE
10306 fi
10307
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10310
10311
10312 enablestring=
10313 defaultval=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x"$enablestring" = xdisable; then
10316 defaultval=yes
10317 else
10318 defaultval=no
10319 fi
10320 fi
10321
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10324 # Check whether --enable-colourpicker was given.
10325 if test "${enable_colourpicker+set}" = set; then
10326 enableval=$enable_colourpicker;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10329 else
10330 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10331 fi
10332
10333 else
10334
10335 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10336
10337 fi
10338
10339
10340 eval "$wx_cv_use_colourpicker"
10341
10342 if test x"$enablestring" = xdisable; then
10343 if test $wxUSE_COLOURPICKERCTRL = no; then
10344 result=yes
10345 else
10346 result=no
10347 fi
10348 else
10349 result=$wxUSE_COLOURPICKERCTRL
10350 fi
10351
10352 { echo "$as_me:$LINENO: result: $result" >&5
10353 echo "${ECHO_T}$result" >&6; }
10354
10355
10356 enablestring=
10357 defaultval=$wxUSE_ALL_FEATURES
10358 if test -z "$defaultval"; then
10359 if test x"$enablestring" = xdisable; then
10360 defaultval=yes
10361 else
10362 defaultval=no
10363 fi
10364 fi
10365
10366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10368 # Check whether --enable-combobox was given.
10369 if test "${enable_combobox+set}" = set; then
10370 enableval=$enable_combobox;
10371 if test "$enableval" = yes; then
10372 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10373 else
10374 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10375 fi
10376
10377 else
10378
10379 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10380
10381 fi
10382
10383
10384 eval "$wx_cv_use_combobox"
10385
10386 if test x"$enablestring" = xdisable; then
10387 if test $wxUSE_COMBOBOX = no; then
10388 result=yes
10389 else
10390 result=no
10391 fi
10392 else
10393 result=$wxUSE_COMBOBOX
10394 fi
10395
10396 { echo "$as_me:$LINENO: result: $result" >&5
10397 echo "${ECHO_T}$result" >&6; }
10398
10399
10400 enablestring=
10401 defaultval=$wxUSE_ALL_FEATURES
10402 if test -z "$defaultval"; then
10403 if test x"$enablestring" = xdisable; then
10404 defaultval=yes
10405 else
10406 defaultval=no
10407 fi
10408 fi
10409
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10412 # Check whether --enable-comboctrl was given.
10413 if test "${enable_comboctrl+set}" = set; then
10414 enableval=$enable_comboctrl;
10415 if test "$enableval" = yes; then
10416 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10417 else
10418 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10419 fi
10420
10421 else
10422
10423 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10424
10425 fi
10426
10427
10428 eval "$wx_cv_use_comboctrl"
10429
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_COMBOCTRL = no; then
10432 result=yes
10433 else
10434 result=no
10435 fi
10436 else
10437 result=$wxUSE_COMBOCTRL
10438 fi
10439
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10442
10443
10444 enablestring=
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10448 defaultval=yes
10449 else
10450 defaultval=no
10451 fi
10452 fi
10453
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10456 # Check whether --enable-dataviewctrl was given.
10457 if test "${enable_dataviewctrl+set}" = set; then
10458 enableval=$enable_dataviewctrl;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10461 else
10462 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10463 fi
10464
10465 else
10466
10467 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10468
10469 fi
10470
10471
10472 eval "$wx_cv_use_dataviewctrl"
10473
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_DATAVIEWCTRL = no; then
10476 result=yes
10477 else
10478 result=no
10479 fi
10480 else
10481 result=$wxUSE_DATAVIEWCTRL
10482 fi
10483
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10486
10487
10488 enablestring=
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10492 defaultval=yes
10493 else
10494 defaultval=no
10495 fi
10496 fi
10497
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10500 # Check whether --enable-datepick was given.
10501 if test "${enable_datepick+set}" = set; then
10502 enableval=$enable_datepick;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10505 else
10506 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10507 fi
10508
10509 else
10510
10511 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10512
10513 fi
10514
10515
10516 eval "$wx_cv_use_datepick"
10517
10518 if test x"$enablestring" = xdisable; then
10519 if test $wxUSE_DATEPICKCTRL = no; then
10520 result=yes
10521 else
10522 result=no
10523 fi
10524 else
10525 result=$wxUSE_DATEPICKCTRL
10526 fi
10527
10528 { echo "$as_me:$LINENO: result: $result" >&5
10529 echo "${ECHO_T}$result" >&6; }
10530
10531
10532 enablestring=
10533 defaultval=$wxUSE_ALL_FEATURES
10534 if test -z "$defaultval"; then
10535 if test x"$enablestring" = xdisable; then
10536 defaultval=yes
10537 else
10538 defaultval=no
10539 fi
10540 fi
10541
10542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10544 # Check whether --enable-detect_sm was given.
10545 if test "${enable_detect_sm+set}" = set; then
10546 enableval=$enable_detect_sm;
10547 if test "$enableval" = yes; then
10548 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10549 else
10550 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10551 fi
10552
10553 else
10554
10555 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10556
10557 fi
10558
10559
10560 eval "$wx_cv_use_detect_sm"
10561
10562 if test x"$enablestring" = xdisable; then
10563 if test $wxUSE_DETECT_SM = no; then
10564 result=yes
10565 else
10566 result=no
10567 fi
10568 else
10569 result=$wxUSE_DETECT_SM
10570 fi
10571
10572 { echo "$as_me:$LINENO: result: $result" >&5
10573 echo "${ECHO_T}$result" >&6; }
10574
10575
10576 enablestring=
10577 defaultval=$wxUSE_ALL_FEATURES
10578 if test -z "$defaultval"; then
10579 if test x"$enablestring" = xdisable; then
10580 defaultval=yes
10581 else
10582 defaultval=no
10583 fi
10584 fi
10585
10586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10588 # Check whether --enable-dirpicker was given.
10589 if test "${enable_dirpicker+set}" = set; then
10590 enableval=$enable_dirpicker;
10591 if test "$enableval" = yes; then
10592 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10593 else
10594 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10595 fi
10596
10597 else
10598
10599 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10600
10601 fi
10602
10603
10604 eval "$wx_cv_use_dirpicker"
10605
10606 if test x"$enablestring" = xdisable; then
10607 if test $wxUSE_DIRPICKERCTRL = no; then
10608 result=yes
10609 else
10610 result=no
10611 fi
10612 else
10613 result=$wxUSE_DIRPICKERCTRL
10614 fi
10615
10616 { echo "$as_me:$LINENO: result: $result" >&5
10617 echo "${ECHO_T}$result" >&6; }
10618
10619
10620 enablestring=
10621 defaultval=$wxUSE_ALL_FEATURES
10622 if test -z "$defaultval"; then
10623 if test x"$enablestring" = xdisable; then
10624 defaultval=yes
10625 else
10626 defaultval=no
10627 fi
10628 fi
10629
10630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10631 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10632 # Check whether --enable-display was given.
10633 if test "${enable_display+set}" = set; then
10634 enableval=$enable_display;
10635 if test "$enableval" = yes; then
10636 wx_cv_use_display='wxUSE_DISPLAY=yes'
10637 else
10638 wx_cv_use_display='wxUSE_DISPLAY=no'
10639 fi
10640
10641 else
10642
10643 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_display"
10649
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_DISPLAY = no; then
10652 result=yes
10653 else
10654 result=no
10655 fi
10656 else
10657 result=$wxUSE_DISPLAY
10658 fi
10659
10660 { echo "$as_me:$LINENO: result: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10662
10663
10664 enablestring=
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10668 defaultval=yes
10669 else
10670 defaultval=no
10671 fi
10672 fi
10673
10674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10676 # Check whether --enable-editablebox was given.
10677 if test "${enable_editablebox+set}" = set; then
10678 enableval=$enable_editablebox;
10679 if test "$enableval" = yes; then
10680 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10681 else
10682 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10683 fi
10684
10685 else
10686
10687 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10688
10689 fi
10690
10691
10692 eval "$wx_cv_use_editablebox"
10693
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_EDITABLELISTBOX = no; then
10696 result=yes
10697 else
10698 result=no
10699 fi
10700 else
10701 result=$wxUSE_EDITABLELISTBOX
10702 fi
10703
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10706
10707
10708 enablestring=
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10712 defaultval=yes
10713 else
10714 defaultval=no
10715 fi
10716 fi
10717
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10720 # Check whether --enable-filectrl was given.
10721 if test "${enable_filectrl+set}" = set; then
10722 enableval=$enable_filectrl;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10725 else
10726 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10727 fi
10728
10729 else
10730
10731 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10732
10733 fi
10734
10735
10736 eval "$wx_cv_use_filectrl"
10737
10738 if test x"$enablestring" = xdisable; then
10739 if test $wxUSE_FILECTRL = no; then
10740 result=yes
10741 else
10742 result=no
10743 fi
10744 else
10745 result=$wxUSE_FILECTRL
10746 fi
10747
10748 { echo "$as_me:$LINENO: result: $result" >&5
10749 echo "${ECHO_T}$result" >&6; }
10750
10751
10752 enablestring=
10753 defaultval=$wxUSE_ALL_FEATURES
10754 if test -z "$defaultval"; then
10755 if test x"$enablestring" = xdisable; then
10756 defaultval=yes
10757 else
10758 defaultval=no
10759 fi
10760 fi
10761
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10764 # Check whether --enable-filepicker was given.
10765 if test "${enable_filepicker+set}" = set; then
10766 enableval=$enable_filepicker;
10767 if test "$enableval" = yes; then
10768 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10769 else
10770 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10771 fi
10772
10773 else
10774
10775 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10776
10777 fi
10778
10779
10780 eval "$wx_cv_use_filepicker"
10781
10782 if test x"$enablestring" = xdisable; then
10783 if test $wxUSE_FILEPICKERCTRL = no; then
10784 result=yes
10785 else
10786 result=no
10787 fi
10788 else
10789 result=$wxUSE_FILEPICKERCTRL
10790 fi
10791
10792 { echo "$as_me:$LINENO: result: $result" >&5
10793 echo "${ECHO_T}$result" >&6; }
10794
10795
10796 enablestring=
10797 defaultval=$wxUSE_ALL_FEATURES
10798 if test -z "$defaultval"; then
10799 if test x"$enablestring" = xdisable; then
10800 defaultval=yes
10801 else
10802 defaultval=no
10803 fi
10804 fi
10805
10806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10807 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10808 # Check whether --enable-fontpicker was given.
10809 if test "${enable_fontpicker+set}" = set; then
10810 enableval=$enable_fontpicker;
10811 if test "$enableval" = yes; then
10812 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10813 else
10814 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10815 fi
10816
10817 else
10818
10819 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10820
10821 fi
10822
10823
10824 eval "$wx_cv_use_fontpicker"
10825
10826 if test x"$enablestring" = xdisable; then
10827 if test $wxUSE_FONTPICKERCTRL = no; then
10828 result=yes
10829 else
10830 result=no
10831 fi
10832 else
10833 result=$wxUSE_FONTPICKERCTRL
10834 fi
10835
10836 { echo "$as_me:$LINENO: result: $result" >&5
10837 echo "${ECHO_T}$result" >&6; }
10838
10839
10840 enablestring=
10841 defaultval=$wxUSE_ALL_FEATURES
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10844 defaultval=yes
10845 else
10846 defaultval=no
10847 fi
10848 fi
10849
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10852 # Check whether --enable-gauge was given.
10853 if test "${enable_gauge+set}" = set; then
10854 enableval=$enable_gauge;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10857 else
10858 wx_cv_use_gauge='wxUSE_GAUGE=no'
10859 fi
10860
10861 else
10862
10863 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10864
10865 fi
10866
10867
10868 eval "$wx_cv_use_gauge"
10869
10870 if test x"$enablestring" = xdisable; then
10871 if test $wxUSE_GAUGE = no; then
10872 result=yes
10873 else
10874 result=no
10875 fi
10876 else
10877 result=$wxUSE_GAUGE
10878 fi
10879
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10882
10883
10884 enablestring=
10885 defaultval=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x"$enablestring" = xdisable; then
10888 defaultval=yes
10889 else
10890 defaultval=no
10891 fi
10892 fi
10893
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10896 # Check whether --enable-grid was given.
10897 if test "${enable_grid+set}" = set; then
10898 enableval=$enable_grid;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_grid='wxUSE_GRID=yes'
10901 else
10902 wx_cv_use_grid='wxUSE_GRID=no'
10903 fi
10904
10905 else
10906
10907 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10908
10909 fi
10910
10911
10912 eval "$wx_cv_use_grid"
10913
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_GRID = no; then
10916 result=yes
10917 else
10918 result=no
10919 fi
10920 else
10921 result=$wxUSE_GRID
10922 fi
10923
10924 { echo "$as_me:$LINENO: result: $result" >&5
10925 echo "${ECHO_T}$result" >&6; }
10926
10927
10928 enablestring=
10929 defaultval=$wxUSE_ALL_FEATURES
10930 if test -z "$defaultval"; then
10931 if test x"$enablestring" = xdisable; then
10932 defaultval=yes
10933 else
10934 defaultval=no
10935 fi
10936 fi
10937
10938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10940 # Check whether --enable-headerctrl was given.
10941 if test "${enable_headerctrl+set}" = set; then
10942 enableval=$enable_headerctrl;
10943 if test "$enableval" = yes; then
10944 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10945 else
10946 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10947 fi
10948
10949 else
10950
10951 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10952
10953 fi
10954
10955
10956 eval "$wx_cv_use_headerctrl"
10957
10958 if test x"$enablestring" = xdisable; then
10959 if test $wxUSE_HEADERCTRL = no; then
10960 result=yes
10961 else
10962 result=no
10963 fi
10964 else
10965 result=$wxUSE_HEADERCTRL
10966 fi
10967
10968 { echo "$as_me:$LINENO: result: $result" >&5
10969 echo "${ECHO_T}$result" >&6; }
10970
10971
10972 enablestring=
10973 defaultval=$wxUSE_ALL_FEATURES
10974 if test -z "$defaultval"; then
10975 if test x"$enablestring" = xdisable; then
10976 defaultval=yes
10977 else
10978 defaultval=no
10979 fi
10980 fi
10981
10982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10983 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10984 # Check whether --enable-hyperlink was given.
10985 if test "${enable_hyperlink+set}" = set; then
10986 enableval=$enable_hyperlink;
10987 if test "$enableval" = yes; then
10988 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10989 else
10990 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10991 fi
10992
10993 else
10994
10995 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10996
10997 fi
10998
10999
11000 eval "$wx_cv_use_hyperlink"
11001
11002 if test x"$enablestring" = xdisable; then
11003 if test $wxUSE_HYPERLINKCTRL = no; then
11004 result=yes
11005 else
11006 result=no
11007 fi
11008 else
11009 result=$wxUSE_HYPERLINKCTRL
11010 fi
11011
11012 { echo "$as_me:$LINENO: result: $result" >&5
11013 echo "${ECHO_T}$result" >&6; }
11014
11015
11016 enablestring=
11017 defaultval=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x"$enablestring" = xdisable; then
11020 defaultval=yes
11021 else
11022 defaultval=no
11023 fi
11024 fi
11025
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11028 # Check whether --enable-imaglist was given.
11029 if test "${enable_imaglist+set}" = set; then
11030 enableval=$enable_imaglist;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11033 else
11034 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11035 fi
11036
11037 else
11038
11039 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11040
11041 fi
11042
11043
11044 eval "$wx_cv_use_imaglist"
11045
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_IMAGLIST = no; then
11048 result=yes
11049 else
11050 result=no
11051 fi
11052 else
11053 result=$wxUSE_IMAGLIST
11054 fi
11055
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11058
11059
11060 enablestring=
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11064 defaultval=yes
11065 else
11066 defaultval=no
11067 fi
11068 fi
11069
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11072 # Check whether --enable-infobar was given.
11073 if test "${enable_infobar+set}" = set; then
11074 enableval=$enable_infobar;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11077 else
11078 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11079 fi
11080
11081 else
11082
11083 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11084
11085 fi
11086
11087
11088 eval "$wx_cv_use_infobar"
11089
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_INFOBAR = no; then
11092 result=yes
11093 else
11094 result=no
11095 fi
11096 else
11097 result=$wxUSE_INFOBAR
11098 fi
11099
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11102
11103
11104 enablestring=
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11108 defaultval=yes
11109 else
11110 defaultval=no
11111 fi
11112 fi
11113
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11116 # Check whether --enable-listbook was given.
11117 if test "${enable_listbook+set}" = set; then
11118 enableval=$enable_listbook;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11121 else
11122 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11123 fi
11124
11125 else
11126
11127 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11128
11129 fi
11130
11131
11132 eval "$wx_cv_use_listbook"
11133
11134 if test x"$enablestring" = xdisable; then
11135 if test $wxUSE_LISTBOOK = no; then
11136 result=yes
11137 else
11138 result=no
11139 fi
11140 else
11141 result=$wxUSE_LISTBOOK
11142 fi
11143
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11146
11147
11148 enablestring=
11149 defaultval=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x"$enablestring" = xdisable; then
11152 defaultval=yes
11153 else
11154 defaultval=no
11155 fi
11156 fi
11157
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11160 # Check whether --enable-listbox was given.
11161 if test "${enable_listbox+set}" = set; then
11162 enableval=$enable_listbox;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11165 else
11166 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11167 fi
11168
11169 else
11170
11171 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11172
11173 fi
11174
11175
11176 eval "$wx_cv_use_listbox"
11177
11178 if test x"$enablestring" = xdisable; then
11179 if test $wxUSE_LISTBOX = no; then
11180 result=yes
11181 else
11182 result=no
11183 fi
11184 else
11185 result=$wxUSE_LISTBOX
11186 fi
11187
11188 { echo "$as_me:$LINENO: result: $result" >&5
11189 echo "${ECHO_T}$result" >&6; }
11190
11191
11192 enablestring=
11193 defaultval=$wxUSE_ALL_FEATURES
11194 if test -z "$defaultval"; then
11195 if test x"$enablestring" = xdisable; then
11196 defaultval=yes
11197 else
11198 defaultval=no
11199 fi
11200 fi
11201
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11204 # Check whether --enable-listctrl was given.
11205 if test "${enable_listctrl+set}" = set; then
11206 enableval=$enable_listctrl;
11207 if test "$enableval" = yes; then
11208 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11209 else
11210 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11211 fi
11212
11213 else
11214
11215 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11216
11217 fi
11218
11219
11220 eval "$wx_cv_use_listctrl"
11221
11222 if test x"$enablestring" = xdisable; then
11223 if test $wxUSE_LISTCTRL = no; then
11224 result=yes
11225 else
11226 result=no
11227 fi
11228 else
11229 result=$wxUSE_LISTCTRL
11230 fi
11231
11232 { echo "$as_me:$LINENO: result: $result" >&5
11233 echo "${ECHO_T}$result" >&6; }
11234
11235
11236 enablestring=
11237 defaultval=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x"$enablestring" = xdisable; then
11240 defaultval=yes
11241 else
11242 defaultval=no
11243 fi
11244 fi
11245
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11248 # Check whether --enable-notebook was given.
11249 if test "${enable_notebook+set}" = set; then
11250 enableval=$enable_notebook;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11253 else
11254 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11255 fi
11256
11257 else
11258
11259 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11260
11261 fi
11262
11263
11264 eval "$wx_cv_use_notebook"
11265
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_NOTEBOOK = no; then
11268 result=yes
11269 else
11270 result=no
11271 fi
11272 else
11273 result=$wxUSE_NOTEBOOK
11274 fi
11275
11276 { echo "$as_me:$LINENO: result: $result" >&5
11277 echo "${ECHO_T}$result" >&6; }
11278
11279
11280 enablestring=
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11284 defaultval=yes
11285 else
11286 defaultval=no
11287 fi
11288 fi
11289
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11292 # Check whether --enable-notifmsg was given.
11293 if test "${enable_notifmsg+set}" = set; then
11294 enableval=$enable_notifmsg;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11297 else
11298 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11299 fi
11300
11301 else
11302
11303 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11304
11305 fi
11306
11307
11308 eval "$wx_cv_use_notifmsg"
11309
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11312 result=yes
11313 else
11314 result=no
11315 fi
11316 else
11317 result=$wxUSE_NOTIFICATION_MESSAGE
11318 fi
11319
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11322
11323
11324 enablestring=
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11328 defaultval=yes
11329 else
11330 defaultval=no
11331 fi
11332 fi
11333
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11336 # Check whether --enable-odcombobox was given.
11337 if test "${enable_odcombobox+set}" = set; then
11338 enableval=$enable_odcombobox;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11341 else
11342 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11343 fi
11344
11345 else
11346
11347 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11348
11349 fi
11350
11351
11352 eval "$wx_cv_use_odcombobox"
11353
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_ODCOMBOBOX = no; then
11356 result=yes
11357 else
11358 result=no
11359 fi
11360 else
11361 result=$wxUSE_ODCOMBOBOX
11362 fi
11363
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11366
11367
11368 enablestring=
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11372 defaultval=yes
11373 else
11374 defaultval=no
11375 fi
11376 fi
11377
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11380 # Check whether --enable-popupwin was given.
11381 if test "${enable_popupwin+set}" = set; then
11382 enableval=$enable_popupwin;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11385 else
11386 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11387 fi
11388
11389 else
11390
11391 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11392
11393 fi
11394
11395
11396 eval "$wx_cv_use_popupwin"
11397
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_POPUPWIN = no; then
11400 result=yes
11401 else
11402 result=no
11403 fi
11404 else
11405 result=$wxUSE_POPUPWIN
11406 fi
11407
11408 { echo "$as_me:$LINENO: result: $result" >&5
11409 echo "${ECHO_T}$result" >&6; }
11410
11411
11412 enablestring=
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11416 defaultval=yes
11417 else
11418 defaultval=no
11419 fi
11420 fi
11421
11422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11424 # Check whether --enable-radiobox was given.
11425 if test "${enable_radiobox+set}" = set; then
11426 enableval=$enable_radiobox;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11429 else
11430 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11431 fi
11432
11433 else
11434
11435 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11436
11437 fi
11438
11439
11440 eval "$wx_cv_use_radiobox"
11441
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_RADIOBOX = no; then
11444 result=yes
11445 else
11446 result=no
11447 fi
11448 else
11449 result=$wxUSE_RADIOBOX
11450 fi
11451
11452 { echo "$as_me:$LINENO: result: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11454
11455
11456 enablestring=
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11460 defaultval=yes
11461 else
11462 defaultval=no
11463 fi
11464 fi
11465
11466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11467 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11468 # Check whether --enable-radiobtn was given.
11469 if test "${enable_radiobtn+set}" = set; then
11470 enableval=$enable_radiobtn;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11473 else
11474 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11475 fi
11476
11477 else
11478
11479 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_radiobtn"
11485
11486 if test x"$enablestring" = xdisable; then
11487 if test $wxUSE_RADIOBTN = no; then
11488 result=yes
11489 else
11490 result=no
11491 fi
11492 else
11493 result=$wxUSE_RADIOBTN
11494 fi
11495
11496 { echo "$as_me:$LINENO: result: $result" >&5
11497 echo "${ECHO_T}$result" >&6; }
11498
11499
11500 enablestring=
11501 defaultval=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x"$enablestring" = xdisable; then
11504 defaultval=yes
11505 else
11506 defaultval=no
11507 fi
11508 fi
11509
11510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11511 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11512 # Check whether --enable-rearrangectrl was given.
11513 if test "${enable_rearrangectrl+set}" = set; then
11514 enableval=$enable_rearrangectrl;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11517 else
11518 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11519 fi
11520
11521 else
11522
11523 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11524
11525 fi
11526
11527
11528 eval "$wx_cv_use_rearrangectrl"
11529
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_REARRANGECTRL = no; then
11532 result=yes
11533 else
11534 result=no
11535 fi
11536 else
11537 result=$wxUSE_REARRANGECTRL
11538 fi
11539
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11542
11543
11544 enablestring=
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11548 defaultval=yes
11549 else
11550 defaultval=no
11551 fi
11552 fi
11553
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11556 # Check whether --enable-sash was given.
11557 if test "${enable_sash+set}" = set; then
11558 enableval=$enable_sash;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_sash='wxUSE_SASH=yes'
11561 else
11562 wx_cv_use_sash='wxUSE_SASH=no'
11563 fi
11564
11565 else
11566
11567 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11568
11569 fi
11570
11571
11572 eval "$wx_cv_use_sash"
11573
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_SASH = no; then
11576 result=yes
11577 else
11578 result=no
11579 fi
11580 else
11581 result=$wxUSE_SASH
11582 fi
11583
11584 { echo "$as_me:$LINENO: result: $result" >&5
11585 echo "${ECHO_T}$result" >&6; }
11586
11587
11588 enablestring=
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11592 defaultval=yes
11593 else
11594 defaultval=no
11595 fi
11596 fi
11597
11598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11599 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11600 # Check whether --enable-scrollbar was given.
11601 if test "${enable_scrollbar+set}" = set; then
11602 enableval=$enable_scrollbar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11605 else
11606 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11607 fi
11608
11609 else
11610
11611 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11612
11613 fi
11614
11615
11616 eval "$wx_cv_use_scrollbar"
11617
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_SCROLLBAR = no; then
11620 result=yes
11621 else
11622 result=no
11623 fi
11624 else
11625 result=$wxUSE_SCROLLBAR
11626 fi
11627
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11630
11631
11632 enablestring=
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11636 defaultval=yes
11637 else
11638 defaultval=no
11639 fi
11640 fi
11641
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11644 # Check whether --enable-searchctrl was given.
11645 if test "${enable_searchctrl+set}" = set; then
11646 enableval=$enable_searchctrl;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11649 else
11650 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11651 fi
11652
11653 else
11654
11655 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11656
11657 fi
11658
11659
11660 eval "$wx_cv_use_searchctrl"
11661
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_SEARCHCTRL = no; then
11664 result=yes
11665 else
11666 result=no
11667 fi
11668 else
11669 result=$wxUSE_SEARCHCTRL
11670 fi
11671
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11674
11675
11676 enablestring=
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11680 defaultval=yes
11681 else
11682 defaultval=no
11683 fi
11684 fi
11685
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11688 # Check whether --enable-slider was given.
11689 if test "${enable_slider+set}" = set; then
11690 enableval=$enable_slider;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_slider='wxUSE_SLIDER=yes'
11693 else
11694 wx_cv_use_slider='wxUSE_SLIDER=no'
11695 fi
11696
11697 else
11698
11699 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11700
11701 fi
11702
11703
11704 eval "$wx_cv_use_slider"
11705
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_SLIDER = no; then
11708 result=yes
11709 else
11710 result=no
11711 fi
11712 else
11713 result=$wxUSE_SLIDER
11714 fi
11715
11716 { echo "$as_me:$LINENO: result: $result" >&5
11717 echo "${ECHO_T}$result" >&6; }
11718
11719
11720 enablestring=
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11724 defaultval=yes
11725 else
11726 defaultval=no
11727 fi
11728 fi
11729
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11732 # Check whether --enable-spinbtn was given.
11733 if test "${enable_spinbtn+set}" = set; then
11734 enableval=$enable_spinbtn;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11737 else
11738 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11739 fi
11740
11741 else
11742
11743 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_spinbtn"
11749
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_SPINBTN = no; then
11752 result=yes
11753 else
11754 result=no
11755 fi
11756 else
11757 result=$wxUSE_SPINBTN
11758 fi
11759
11760 { echo "$as_me:$LINENO: result: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11762
11763
11764 enablestring=
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11768 defaultval=yes
11769 else
11770 defaultval=no
11771 fi
11772 fi
11773
11774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11775 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11776 # Check whether --enable-spinctrl was given.
11777 if test "${enable_spinctrl+set}" = set; then
11778 enableval=$enable_spinctrl;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11781 else
11782 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11783 fi
11784
11785 else
11786
11787 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11788
11789 fi
11790
11791
11792 eval "$wx_cv_use_spinctrl"
11793
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_SPINCTRL = no; then
11796 result=yes
11797 else
11798 result=no
11799 fi
11800 else
11801 result=$wxUSE_SPINCTRL
11802 fi
11803
11804 { echo "$as_me:$LINENO: result: $result" >&5
11805 echo "${ECHO_T}$result" >&6; }
11806
11807
11808 enablestring=
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11812 defaultval=yes
11813 else
11814 defaultval=no
11815 fi
11816 fi
11817
11818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11819 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11820 # Check whether --enable-splitter was given.
11821 if test "${enable_splitter+set}" = set; then
11822 enableval=$enable_splitter;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11825 else
11826 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11827 fi
11828
11829 else
11830
11831 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11832
11833 fi
11834
11835
11836 eval "$wx_cv_use_splitter"
11837
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_SPLITTER = no; then
11840 result=yes
11841 else
11842 result=no
11843 fi
11844 else
11845 result=$wxUSE_SPLITTER
11846 fi
11847
11848 { echo "$as_me:$LINENO: result: $result" >&5
11849 echo "${ECHO_T}$result" >&6; }
11850
11851
11852 enablestring=
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11856 defaultval=yes
11857 else
11858 defaultval=no
11859 fi
11860 fi
11861
11862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11863 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11864 # Check whether --enable-statbmp was given.
11865 if test "${enable_statbmp+set}" = set; then
11866 enableval=$enable_statbmp;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11869 else
11870 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11871 fi
11872
11873 else
11874
11875 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11876
11877 fi
11878
11879
11880 eval "$wx_cv_use_statbmp"
11881
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_STATBMP = no; then
11884 result=yes
11885 else
11886 result=no
11887 fi
11888 else
11889 result=$wxUSE_STATBMP
11890 fi
11891
11892 { echo "$as_me:$LINENO: result: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11894
11895
11896 enablestring=
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11900 defaultval=yes
11901 else
11902 defaultval=no
11903 fi
11904 fi
11905
11906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11907 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11908 # Check whether --enable-statbox was given.
11909 if test "${enable_statbox+set}" = set; then
11910 enableval=$enable_statbox;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11913 else
11914 wx_cv_use_statbox='wxUSE_STATBOX=no'
11915 fi
11916
11917 else
11918
11919 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11920
11921 fi
11922
11923
11924 eval "$wx_cv_use_statbox"
11925
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_STATBOX = no; then
11928 result=yes
11929 else
11930 result=no
11931 fi
11932 else
11933 result=$wxUSE_STATBOX
11934 fi
11935
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11938
11939
11940 enablestring=
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11944 defaultval=yes
11945 else
11946 defaultval=no
11947 fi
11948 fi
11949
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11952 # Check whether --enable-statline was given.
11953 if test "${enable_statline+set}" = set; then
11954 enableval=$enable_statline;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_statline='wxUSE_STATLINE=yes'
11957 else
11958 wx_cv_use_statline='wxUSE_STATLINE=no'
11959 fi
11960
11961 else
11962
11963 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11964
11965 fi
11966
11967
11968 eval "$wx_cv_use_statline"
11969
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_STATLINE = no; then
11972 result=yes
11973 else
11974 result=no
11975 fi
11976 else
11977 result=$wxUSE_STATLINE
11978 fi
11979
11980 { echo "$as_me:$LINENO: result: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11982
11983
11984 enablestring=
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11988 defaultval=yes
11989 else
11990 defaultval=no
11991 fi
11992 fi
11993
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11996 # Check whether --enable-stattext was given.
11997 if test "${enable_stattext+set}" = set; then
11998 enableval=$enable_stattext;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12001 else
12002 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12003 fi
12004
12005 else
12006
12007 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12008
12009 fi
12010
12011
12012 eval "$wx_cv_use_stattext"
12013
12014 if test x"$enablestring" = xdisable; then
12015 if test $wxUSE_STATTEXT = no; then
12016 result=yes
12017 else
12018 result=no
12019 fi
12020 else
12021 result=$wxUSE_STATTEXT
12022 fi
12023
12024 { echo "$as_me:$LINENO: result: $result" >&5
12025 echo "${ECHO_T}$result" >&6; }
12026
12027
12028 enablestring=
12029 defaultval=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x"$enablestring" = xdisable; then
12032 defaultval=yes
12033 else
12034 defaultval=no
12035 fi
12036 fi
12037
12038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12039 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12040 # Check whether --enable-statusbar was given.
12041 if test "${enable_statusbar+set}" = set; then
12042 enableval=$enable_statusbar;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12045 else
12046 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12047 fi
12048
12049 else
12050
12051 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12052
12053 fi
12054
12055
12056 eval "$wx_cv_use_statusbar"
12057
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_STATUSBAR = no; then
12060 result=yes
12061 else
12062 result=no
12063 fi
12064 else
12065 result=$wxUSE_STATUSBAR
12066 fi
12067
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12070
12071
12072 enablestring=
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12076 defaultval=yes
12077 else
12078 defaultval=no
12079 fi
12080 fi
12081
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12084 # Check whether --enable-taskbaricon was given.
12085 if test "${enable_taskbaricon+set}" = set; then
12086 enableval=$enable_taskbaricon;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12089 else
12090 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12091 fi
12092
12093 else
12094
12095 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_taskbaricon"
12101
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_TASKBARICON = no; then
12104 result=yes
12105 else
12106 result=no
12107 fi
12108 else
12109 result=$wxUSE_TASKBARICON
12110 fi
12111
12112 { echo "$as_me:$LINENO: result: $result" >&5
12113 echo "${ECHO_T}$result" >&6; }
12114
12115
12116 enablestring=
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12120 defaultval=yes
12121 else
12122 defaultval=no
12123 fi
12124 fi
12125
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12128 # Check whether --enable-tbarnative was given.
12129 if test "${enable_tbarnative+set}" = set; then
12130 enableval=$enable_tbarnative;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12133 else
12134 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12135 fi
12136
12137 else
12138
12139 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12140
12141 fi
12142
12143
12144 eval "$wx_cv_use_tbarnative"
12145
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_TOOLBAR_NATIVE = no; then
12148 result=yes
12149 else
12150 result=no
12151 fi
12152 else
12153 result=$wxUSE_TOOLBAR_NATIVE
12154 fi
12155
12156 { echo "$as_me:$LINENO: result: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12158
12159
12160 enablestring=
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12164 defaultval=yes
12165 else
12166 defaultval=no
12167 fi
12168 fi
12169
12170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12171 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12172 # Check whether --enable-textctrl was given.
12173 if test "${enable_textctrl+set}" = set; then
12174 enableval=$enable_textctrl;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12177 else
12178 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12179 fi
12180
12181 else
12182
12183 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12184
12185 fi
12186
12187
12188 eval "$wx_cv_use_textctrl"
12189
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_TEXTCTRL = no; then
12192 result=yes
12193 else
12194 result=no
12195 fi
12196 else
12197 result=$wxUSE_TEXTCTRL
12198 fi
12199
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12202
12203
12204 enablestring=
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12208 defaultval=yes
12209 else
12210 defaultval=no
12211 fi
12212 fi
12213
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12216 # Check whether --enable-tipwindow was given.
12217 if test "${enable_tipwindow+set}" = set; then
12218 enableval=$enable_tipwindow;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12221 else
12222 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12223 fi
12224
12225 else
12226
12227 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12228
12229 fi
12230
12231
12232 eval "$wx_cv_use_tipwindow"
12233
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_TIPWINDOW = no; then
12236 result=yes
12237 else
12238 result=no
12239 fi
12240 else
12241 result=$wxUSE_TIPWINDOW
12242 fi
12243
12244 { echo "$as_me:$LINENO: result: $result" >&5
12245 echo "${ECHO_T}$result" >&6; }
12246
12247
12248 enablestring=
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12252 defaultval=yes
12253 else
12254 defaultval=no
12255 fi
12256 fi
12257
12258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12259 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12260 # Check whether --enable-togglebtn was given.
12261 if test "${enable_togglebtn+set}" = set; then
12262 enableval=$enable_togglebtn;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12265 else
12266 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12267 fi
12268
12269 else
12270
12271 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12272
12273 fi
12274
12275
12276 eval "$wx_cv_use_togglebtn"
12277
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_TOGGLEBTN = no; then
12280 result=yes
12281 else
12282 result=no
12283 fi
12284 else
12285 result=$wxUSE_TOGGLEBTN
12286 fi
12287
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12290
12291
12292 enablestring=
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12296 defaultval=yes
12297 else
12298 defaultval=no
12299 fi
12300 fi
12301
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12304 # Check whether --enable-toolbar was given.
12305 if test "${enable_toolbar+set}" = set; then
12306 enableval=$enable_toolbar;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12309 else
12310 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12311 fi
12312
12313 else
12314
12315 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12316
12317 fi
12318
12319
12320 eval "$wx_cv_use_toolbar"
12321
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_TOOLBAR = no; then
12324 result=yes
12325 else
12326 result=no
12327 fi
12328 else
12329 result=$wxUSE_TOOLBAR
12330 fi
12331
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12334
12335
12336 enablestring=
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12340 defaultval=yes
12341 else
12342 defaultval=no
12343 fi
12344 fi
12345
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12348 # Check whether --enable-toolbook was given.
12349 if test "${enable_toolbook+set}" = set; then
12350 enableval=$enable_toolbook;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12353 else
12354 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12355 fi
12356
12357 else
12358
12359 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12360
12361 fi
12362
12363
12364 eval "$wx_cv_use_toolbook"
12365
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_TOOLBOOK = no; then
12368 result=yes
12369 else
12370 result=no
12371 fi
12372 else
12373 result=$wxUSE_TOOLBOOK
12374 fi
12375
12376 { echo "$as_me:$LINENO: result: $result" >&5
12377 echo "${ECHO_T}$result" >&6; }
12378
12379
12380 enablestring=
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12384 defaultval=yes
12385 else
12386 defaultval=no
12387 fi
12388 fi
12389
12390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12391 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12392 # Check whether --enable-treebook was given.
12393 if test "${enable_treebook+set}" = set; then
12394 enableval=$enable_treebook;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12397 else
12398 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12399 fi
12400
12401 else
12402
12403 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_treebook"
12409
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_TREEBOOK = no; then
12412 result=yes
12413 else
12414 result=no
12415 fi
12416 else
12417 result=$wxUSE_TREEBOOK
12418 fi
12419
12420 { echo "$as_me:$LINENO: result: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12422
12423
12424 enablestring=
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12428 defaultval=yes
12429 else
12430 defaultval=no
12431 fi
12432 fi
12433
12434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12435 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12436 # Check whether --enable-treectrl was given.
12437 if test "${enable_treectrl+set}" = set; then
12438 enableval=$enable_treectrl;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12441 else
12442 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12443 fi
12444
12445 else
12446
12447 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12448
12449 fi
12450
12451
12452 eval "$wx_cv_use_treectrl"
12453
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_TREECTRL = no; then
12456 result=yes
12457 else
12458 result=no
12459 fi
12460 else
12461 result=$wxUSE_TREECTRL
12462 fi
12463
12464 { echo "$as_me:$LINENO: result: $result" >&5
12465 echo "${ECHO_T}$result" >&6; }
12466
12467
12468
12469
12470 enablestring=
12471 defaultval=$wxUSE_ALL_FEATURES
12472 if test -z "$defaultval"; then
12473 if test x"$enablestring" = xdisable; then
12474 defaultval=yes
12475 else
12476 defaultval=no
12477 fi
12478 fi
12479
12480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12482 # Check whether --enable-commondlg was given.
12483 if test "${enable_commondlg+set}" = set; then
12484 enableval=$enable_commondlg;
12485 if test "$enableval" = yes; then
12486 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12487 else
12488 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12489 fi
12490
12491 else
12492
12493 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12494
12495 fi
12496
12497
12498 eval "$wx_cv_use_commondlg"
12499
12500 if test x"$enablestring" = xdisable; then
12501 if test $wxUSE_COMMONDLGS = no; then
12502 result=yes
12503 else
12504 result=no
12505 fi
12506 else
12507 result=$wxUSE_COMMONDLGS
12508 fi
12509
12510 { echo "$as_me:$LINENO: result: $result" >&5
12511 echo "${ECHO_T}$result" >&6; }
12512
12513
12514 enablestring=
12515 defaultval=$wxUSE_ALL_FEATURES
12516 if test -z "$defaultval"; then
12517 if test x"$enablestring" = xdisable; then
12518 defaultval=yes
12519 else
12520 defaultval=no
12521 fi
12522 fi
12523
12524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12525 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12526 # Check whether --enable-aboutdlg was given.
12527 if test "${enable_aboutdlg+set}" = set; then
12528 enableval=$enable_aboutdlg;
12529 if test "$enableval" = yes; then
12530 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12531 else
12532 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12533 fi
12534
12535 else
12536
12537 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12538
12539 fi
12540
12541
12542 eval "$wx_cv_use_aboutdlg"
12543
12544 if test x"$enablestring" = xdisable; then
12545 if test $wxUSE_ABOUTDLG = no; then
12546 result=yes
12547 else
12548 result=no
12549 fi
12550 else
12551 result=$wxUSE_ABOUTDLG
12552 fi
12553
12554 { echo "$as_me:$LINENO: result: $result" >&5
12555 echo "${ECHO_T}$result" >&6; }
12556
12557
12558 enablestring=
12559 defaultval=$wxUSE_ALL_FEATURES
12560 if test -z "$defaultval"; then
12561 if test x"$enablestring" = xdisable; then
12562 defaultval=yes
12563 else
12564 defaultval=no
12565 fi
12566 fi
12567
12568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12569 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12570 # Check whether --enable-choicedlg was given.
12571 if test "${enable_choicedlg+set}" = set; then
12572 enableval=$enable_choicedlg;
12573 if test "$enableval" = yes; then
12574 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12575 else
12576 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12577 fi
12578
12579 else
12580
12581 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12582
12583 fi
12584
12585
12586 eval "$wx_cv_use_choicedlg"
12587
12588 if test x"$enablestring" = xdisable; then
12589 if test $wxUSE_CHOICEDLG = no; then
12590 result=yes
12591 else
12592 result=no
12593 fi
12594 else
12595 result=$wxUSE_CHOICEDLG
12596 fi
12597
12598 { echo "$as_me:$LINENO: result: $result" >&5
12599 echo "${ECHO_T}$result" >&6; }
12600
12601
12602 enablestring=
12603 defaultval=$wxUSE_ALL_FEATURES
12604 if test -z "$defaultval"; then
12605 if test x"$enablestring" = xdisable; then
12606 defaultval=yes
12607 else
12608 defaultval=no
12609 fi
12610 fi
12611
12612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12613 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12614 # Check whether --enable-coldlg was given.
12615 if test "${enable_coldlg+set}" = set; then
12616 enableval=$enable_coldlg;
12617 if test "$enableval" = yes; then
12618 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12619 else
12620 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12621 fi
12622
12623 else
12624
12625 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12626
12627 fi
12628
12629
12630 eval "$wx_cv_use_coldlg"
12631
12632 if test x"$enablestring" = xdisable; then
12633 if test $wxUSE_COLOURDLG = no; then
12634 result=yes
12635 else
12636 result=no
12637 fi
12638 else
12639 result=$wxUSE_COLOURDLG
12640 fi
12641
12642 { echo "$as_me:$LINENO: result: $result" >&5
12643 echo "${ECHO_T}$result" >&6; }
12644
12645
12646 enablestring=
12647 defaultval=$wxUSE_ALL_FEATURES
12648 if test -z "$defaultval"; then
12649 if test x"$enablestring" = xdisable; then
12650 defaultval=yes
12651 else
12652 defaultval=no
12653 fi
12654 fi
12655
12656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12657 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12658 # Check whether --enable-filedlg was given.
12659 if test "${enable_filedlg+set}" = set; then
12660 enableval=$enable_filedlg;
12661 if test "$enableval" = yes; then
12662 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12663 else
12664 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12665 fi
12666
12667 else
12668
12669 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12670
12671 fi
12672
12673
12674 eval "$wx_cv_use_filedlg"
12675
12676 if test x"$enablestring" = xdisable; then
12677 if test $wxUSE_FILEDLG = no; then
12678 result=yes
12679 else
12680 result=no
12681 fi
12682 else
12683 result=$wxUSE_FILEDLG
12684 fi
12685
12686 { echo "$as_me:$LINENO: result: $result" >&5
12687 echo "${ECHO_T}$result" >&6; }
12688
12689
12690 enablestring=
12691 defaultval=$wxUSE_ALL_FEATURES
12692 if test -z "$defaultval"; then
12693 if test x"$enablestring" = xdisable; then
12694 defaultval=yes
12695 else
12696 defaultval=no
12697 fi
12698 fi
12699
12700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12701 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12702 # Check whether --enable-finddlg was given.
12703 if test "${enable_finddlg+set}" = set; then
12704 enableval=$enable_finddlg;
12705 if test "$enableval" = yes; then
12706 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12707 else
12708 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12709 fi
12710
12711 else
12712
12713 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12714
12715 fi
12716
12717
12718 eval "$wx_cv_use_finddlg"
12719
12720 if test x"$enablestring" = xdisable; then
12721 if test $wxUSE_FINDREPLDLG = no; then
12722 result=yes
12723 else
12724 result=no
12725 fi
12726 else
12727 result=$wxUSE_FINDREPLDLG
12728 fi
12729
12730 { echo "$as_me:$LINENO: result: $result" >&5
12731 echo "${ECHO_T}$result" >&6; }
12732
12733
12734 enablestring=
12735 defaultval=$wxUSE_ALL_FEATURES
12736 if test -z "$defaultval"; then
12737 if test x"$enablestring" = xdisable; then
12738 defaultval=yes
12739 else
12740 defaultval=no
12741 fi
12742 fi
12743
12744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12745 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12746 # Check whether --enable-fontdlg was given.
12747 if test "${enable_fontdlg+set}" = set; then
12748 enableval=$enable_fontdlg;
12749 if test "$enableval" = yes; then
12750 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12751 else
12752 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12753 fi
12754
12755 else
12756
12757 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12758
12759 fi
12760
12761
12762 eval "$wx_cv_use_fontdlg"
12763
12764 if test x"$enablestring" = xdisable; then
12765 if test $wxUSE_FONTDLG = no; then
12766 result=yes
12767 else
12768 result=no
12769 fi
12770 else
12771 result=$wxUSE_FONTDLG
12772 fi
12773
12774 { echo "$as_me:$LINENO: result: $result" >&5
12775 echo "${ECHO_T}$result" >&6; }
12776
12777
12778 enablestring=
12779 defaultval=$wxUSE_ALL_FEATURES
12780 if test -z "$defaultval"; then
12781 if test x"$enablestring" = xdisable; then
12782 defaultval=yes
12783 else
12784 defaultval=no
12785 fi
12786 fi
12787
12788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12789 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12790 # Check whether --enable-dirdlg was given.
12791 if test "${enable_dirdlg+set}" = set; then
12792 enableval=$enable_dirdlg;
12793 if test "$enableval" = yes; then
12794 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12795 else
12796 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12797 fi
12798
12799 else
12800
12801 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12802
12803 fi
12804
12805
12806 eval "$wx_cv_use_dirdlg"
12807
12808 if test x"$enablestring" = xdisable; then
12809 if test $wxUSE_DIRDLG = no; then
12810 result=yes
12811 else
12812 result=no
12813 fi
12814 else
12815 result=$wxUSE_DIRDLG
12816 fi
12817
12818 { echo "$as_me:$LINENO: result: $result" >&5
12819 echo "${ECHO_T}$result" >&6; }
12820
12821
12822 enablestring=
12823 defaultval=$wxUSE_ALL_FEATURES
12824 if test -z "$defaultval"; then
12825 if test x"$enablestring" = xdisable; then
12826 defaultval=yes
12827 else
12828 defaultval=no
12829 fi
12830 fi
12831
12832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12833 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12834 # Check whether --enable-msgdlg was given.
12835 if test "${enable_msgdlg+set}" = set; then
12836 enableval=$enable_msgdlg;
12837 if test "$enableval" = yes; then
12838 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12839 else
12840 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12841 fi
12842
12843 else
12844
12845 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12846
12847 fi
12848
12849
12850 eval "$wx_cv_use_msgdlg"
12851
12852 if test x"$enablestring" = xdisable; then
12853 if test $wxUSE_MSGDLG = no; then
12854 result=yes
12855 else
12856 result=no
12857 fi
12858 else
12859 result=$wxUSE_MSGDLG
12860 fi
12861
12862 { echo "$as_me:$LINENO: result: $result" >&5
12863 echo "${ECHO_T}$result" >&6; }
12864
12865
12866 enablestring=
12867 defaultval=$wxUSE_ALL_FEATURES
12868 if test -z "$defaultval"; then
12869 if test x"$enablestring" = xdisable; then
12870 defaultval=yes
12871 else
12872 defaultval=no
12873 fi
12874 fi
12875
12876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12877 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12878 # Check whether --enable-numberdlg was given.
12879 if test "${enable_numberdlg+set}" = set; then
12880 enableval=$enable_numberdlg;
12881 if test "$enableval" = yes; then
12882 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12883 else
12884 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12885 fi
12886
12887 else
12888
12889 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12890
12891 fi
12892
12893
12894 eval "$wx_cv_use_numberdlg"
12895
12896 if test x"$enablestring" = xdisable; then
12897 if test $wxUSE_NUMBERDLG = no; then
12898 result=yes
12899 else
12900 result=no
12901 fi
12902 else
12903 result=$wxUSE_NUMBERDLG
12904 fi
12905
12906 { echo "$as_me:$LINENO: result: $result" >&5
12907 echo "${ECHO_T}$result" >&6; }
12908
12909
12910 enablestring=
12911 defaultval=$wxUSE_ALL_FEATURES
12912 if test -z "$defaultval"; then
12913 if test x"$enablestring" = xdisable; then
12914 defaultval=yes
12915 else
12916 defaultval=no
12917 fi
12918 fi
12919
12920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12921 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12922 # Check whether --enable-splash was given.
12923 if test "${enable_splash+set}" = set; then
12924 enableval=$enable_splash;
12925 if test "$enableval" = yes; then
12926 wx_cv_use_splash='wxUSE_SPLASH=yes'
12927 else
12928 wx_cv_use_splash='wxUSE_SPLASH=no'
12929 fi
12930
12931 else
12932
12933 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12934
12935 fi
12936
12937
12938 eval "$wx_cv_use_splash"
12939
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SPLASH = no; then
12942 result=yes
12943 else
12944 result=no
12945 fi
12946 else
12947 result=$wxUSE_SPLASH
12948 fi
12949
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12952
12953
12954 enablestring=
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12958 defaultval=yes
12959 else
12960 defaultval=no
12961 fi
12962 fi
12963
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12966 # Check whether --enable-textdlg was given.
12967 if test "${enable_textdlg+set}" = set; then
12968 enableval=$enable_textdlg;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12971 else
12972 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12973 fi
12974
12975 else
12976
12977 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12978
12979 fi
12980
12981
12982 eval "$wx_cv_use_textdlg"
12983
12984 if test x"$enablestring" = xdisable; then
12985 if test $wxUSE_TEXTDLG = no; then
12986 result=yes
12987 else
12988 result=no
12989 fi
12990 else
12991 result=$wxUSE_TEXTDLG
12992 fi
12993
12994 { echo "$as_me:$LINENO: result: $result" >&5
12995 echo "${ECHO_T}$result" >&6; }
12996
12997
12998 enablestring=
12999 defaultval=$wxUSE_ALL_FEATURES
13000 if test -z "$defaultval"; then
13001 if test x"$enablestring" = xdisable; then
13002 defaultval=yes
13003 else
13004 defaultval=no
13005 fi
13006 fi
13007
13008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13009 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13010 # Check whether --enable-tipdlg was given.
13011 if test "${enable_tipdlg+set}" = set; then
13012 enableval=$enable_tipdlg;
13013 if test "$enableval" = yes; then
13014 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13015 else
13016 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13017 fi
13018
13019 else
13020
13021 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13022
13023 fi
13024
13025
13026 eval "$wx_cv_use_tipdlg"
13027
13028 if test x"$enablestring" = xdisable; then
13029 if test $wxUSE_STARTUP_TIPS = no; then
13030 result=yes
13031 else
13032 result=no
13033 fi
13034 else
13035 result=$wxUSE_STARTUP_TIPS
13036 fi
13037
13038 { echo "$as_me:$LINENO: result: $result" >&5
13039 echo "${ECHO_T}$result" >&6; }
13040
13041
13042 enablestring=
13043 defaultval=$wxUSE_ALL_FEATURES
13044 if test -z "$defaultval"; then
13045 if test x"$enablestring" = xdisable; then
13046 defaultval=yes
13047 else
13048 defaultval=no
13049 fi
13050 fi
13051
13052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13053 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13054 # Check whether --enable-progressdlg was given.
13055 if test "${enable_progressdlg+set}" = set; then
13056 enableval=$enable_progressdlg;
13057 if test "$enableval" = yes; then
13058 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13059 else
13060 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13061 fi
13062
13063 else
13064
13065 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13066
13067 fi
13068
13069
13070 eval "$wx_cv_use_progressdlg"
13071
13072 if test x"$enablestring" = xdisable; then
13073 if test $wxUSE_PROGRESSDLG = no; then
13074 result=yes
13075 else
13076 result=no
13077 fi
13078 else
13079 result=$wxUSE_PROGRESSDLG
13080 fi
13081
13082 { echo "$as_me:$LINENO: result: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13084
13085
13086 enablestring=
13087 defaultval=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x"$enablestring" = xdisable; then
13090 defaultval=yes
13091 else
13092 defaultval=no
13093 fi
13094 fi
13095
13096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13097 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13098 # Check whether --enable-wizarddlg was given.
13099 if test "${enable_wizarddlg+set}" = set; then
13100 enableval=$enable_wizarddlg;
13101 if test "$enableval" = yes; then
13102 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13103 else
13104 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13105 fi
13106
13107 else
13108
13109 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13110
13111 fi
13112
13113
13114 eval "$wx_cv_use_wizarddlg"
13115
13116 if test x"$enablestring" = xdisable; then
13117 if test $wxUSE_WIZARDDLG = no; then
13118 result=yes
13119 else
13120 result=no
13121 fi
13122 else
13123 result=$wxUSE_WIZARDDLG
13124 fi
13125
13126 { echo "$as_me:$LINENO: result: $result" >&5
13127 echo "${ECHO_T}$result" >&6; }
13128
13129
13130
13131
13132 enablestring=
13133 defaultval=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x"$enablestring" = xdisable; then
13136 defaultval=yes
13137 else
13138 defaultval=no
13139 fi
13140 fi
13141
13142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13144 # Check whether --enable-menus was given.
13145 if test "${enable_menus+set}" = set; then
13146 enableval=$enable_menus;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_menus='wxUSE_MENUS=yes'
13149 else
13150 wx_cv_use_menus='wxUSE_MENUS=no'
13151 fi
13152
13153 else
13154
13155 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13156
13157 fi
13158
13159
13160 eval "$wx_cv_use_menus"
13161
13162 if test x"$enablestring" = xdisable; then
13163 if test $wxUSE_MENUS = no; then
13164 result=yes
13165 else
13166 result=no
13167 fi
13168 else
13169 result=$wxUSE_MENUS
13170 fi
13171
13172 { echo "$as_me:$LINENO: result: $result" >&5
13173 echo "${ECHO_T}$result" >&6; }
13174
13175
13176 enablestring=
13177 defaultval=$wxUSE_ALL_FEATURES
13178 if test -z "$defaultval"; then
13179 if test x"$enablestring" = xdisable; then
13180 defaultval=yes
13181 else
13182 defaultval=no
13183 fi
13184 fi
13185
13186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13188 # Check whether --enable-miniframe was given.
13189 if test "${enable_miniframe+set}" = set; then
13190 enableval=$enable_miniframe;
13191 if test "$enableval" = yes; then
13192 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13193 else
13194 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13195 fi
13196
13197 else
13198
13199 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13200
13201 fi
13202
13203
13204 eval "$wx_cv_use_miniframe"
13205
13206 if test x"$enablestring" = xdisable; then
13207 if test $wxUSE_MINIFRAME = no; then
13208 result=yes
13209 else
13210 result=no
13211 fi
13212 else
13213 result=$wxUSE_MINIFRAME
13214 fi
13215
13216 { echo "$as_me:$LINENO: result: $result" >&5
13217 echo "${ECHO_T}$result" >&6; }
13218
13219
13220 enablestring=
13221 defaultval=$wxUSE_ALL_FEATURES
13222 if test -z "$defaultval"; then
13223 if test x"$enablestring" = xdisable; then
13224 defaultval=yes
13225 else
13226 defaultval=no
13227 fi
13228 fi
13229
13230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13231 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13232 # Check whether --enable-tooltips was given.
13233 if test "${enable_tooltips+set}" = set; then
13234 enableval=$enable_tooltips;
13235 if test "$enableval" = yes; then
13236 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13237 else
13238 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13239 fi
13240
13241 else
13242
13243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13244
13245 fi
13246
13247
13248 eval "$wx_cv_use_tooltips"
13249
13250 if test x"$enablestring" = xdisable; then
13251 if test $wxUSE_TOOLTIPS = no; then
13252 result=yes
13253 else
13254 result=no
13255 fi
13256 else
13257 result=$wxUSE_TOOLTIPS
13258 fi
13259
13260 { echo "$as_me:$LINENO: result: $result" >&5
13261 echo "${ECHO_T}$result" >&6; }
13262
13263
13264 enablestring=
13265 defaultval=$wxUSE_ALL_FEATURES
13266 if test -z "$defaultval"; then
13267 if test x"$enablestring" = xdisable; then
13268 defaultval=yes
13269 else
13270 defaultval=no
13271 fi
13272 fi
13273
13274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13275 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13276 # Check whether --enable-splines was given.
13277 if test "${enable_splines+set}" = set; then
13278 enableval=$enable_splines;
13279 if test "$enableval" = yes; then
13280 wx_cv_use_splines='wxUSE_SPLINES=yes'
13281 else
13282 wx_cv_use_splines='wxUSE_SPLINES=no'
13283 fi
13284
13285 else
13286
13287 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13288
13289 fi
13290
13291
13292 eval "$wx_cv_use_splines"
13293
13294 if test x"$enablestring" = xdisable; then
13295 if test $wxUSE_SPLINES = no; then
13296 result=yes
13297 else
13298 result=no
13299 fi
13300 else
13301 result=$wxUSE_SPLINES
13302 fi
13303
13304 { echo "$as_me:$LINENO: result: $result" >&5
13305 echo "${ECHO_T}$result" >&6; }
13306
13307
13308 enablestring=
13309 defaultval=$wxUSE_ALL_FEATURES
13310 if test -z "$defaultval"; then
13311 if test x"$enablestring" = xdisable; then
13312 defaultval=yes
13313 else
13314 defaultval=no
13315 fi
13316 fi
13317
13318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13319 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13320 # Check whether --enable-mousewheel was given.
13321 if test "${enable_mousewheel+set}" = set; then
13322 enableval=$enable_mousewheel;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13325 else
13326 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13327 fi
13328
13329 else
13330
13331 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13332
13333 fi
13334
13335
13336 eval "$wx_cv_use_mousewheel"
13337
13338 if test x"$enablestring" = xdisable; then
13339 if test $wxUSE_MOUSEWHEEL = no; then
13340 result=yes
13341 else
13342 result=no
13343 fi
13344 else
13345 result=$wxUSE_MOUSEWHEEL
13346 fi
13347
13348 { echo "$as_me:$LINENO: result: $result" >&5
13349 echo "${ECHO_T}$result" >&6; }
13350
13351
13352 enablestring=
13353 defaultval=$wxUSE_ALL_FEATURES
13354 if test -z "$defaultval"; then
13355 if test x"$enablestring" = xdisable; then
13356 defaultval=yes
13357 else
13358 defaultval=no
13359 fi
13360 fi
13361
13362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13363 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13364 # Check whether --enable-validators was given.
13365 if test "${enable_validators+set}" = set; then
13366 enableval=$enable_validators;
13367 if test "$enableval" = yes; then
13368 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13369 else
13370 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13371 fi
13372
13373 else
13374
13375 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13376
13377 fi
13378
13379
13380 eval "$wx_cv_use_validators"
13381
13382 if test x"$enablestring" = xdisable; then
13383 if test $wxUSE_VALIDATORS = no; then
13384 result=yes
13385 else
13386 result=no
13387 fi
13388 else
13389 result=$wxUSE_VALIDATORS
13390 fi
13391
13392 { echo "$as_me:$LINENO: result: $result" >&5
13393 echo "${ECHO_T}$result" >&6; }
13394
13395
13396 enablestring=
13397 defaultval=$wxUSE_ALL_FEATURES
13398 if test -z "$defaultval"; then
13399 if test x"$enablestring" = xdisable; then
13400 defaultval=yes
13401 else
13402 defaultval=no
13403 fi
13404 fi
13405
13406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13407 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13408 # Check whether --enable-busyinfo was given.
13409 if test "${enable_busyinfo+set}" = set; then
13410 enableval=$enable_busyinfo;
13411 if test "$enableval" = yes; then
13412 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13413 else
13414 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13415 fi
13416
13417 else
13418
13419 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13420
13421 fi
13422
13423
13424 eval "$wx_cv_use_busyinfo"
13425
13426 if test x"$enablestring" = xdisable; then
13427 if test $wxUSE_BUSYINFO = no; then
13428 result=yes
13429 else
13430 result=no
13431 fi
13432 else
13433 result=$wxUSE_BUSYINFO
13434 fi
13435
13436 { echo "$as_me:$LINENO: result: $result" >&5
13437 echo "${ECHO_T}$result" >&6; }
13438
13439
13440 enablestring=
13441 defaultval=$wxUSE_ALL_FEATURES
13442 if test -z "$defaultval"; then
13443 if test x"$enablestring" = xdisable; then
13444 defaultval=yes
13445 else
13446 defaultval=no
13447 fi
13448 fi
13449
13450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13451 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13452 # Check whether --enable-joystick was given.
13453 if test "${enable_joystick+set}" = set; then
13454 enableval=$enable_joystick;
13455 if test "$enableval" = yes; then
13456 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13457 else
13458 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13459 fi
13460
13461 else
13462
13463 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13464
13465 fi
13466
13467
13468 eval "$wx_cv_use_joystick"
13469
13470 if test x"$enablestring" = xdisable; then
13471 if test $wxUSE_JOYSTICK = no; then
13472 result=yes
13473 else
13474 result=no
13475 fi
13476 else
13477 result=$wxUSE_JOYSTICK
13478 fi
13479
13480 { echo "$as_me:$LINENO: result: $result" >&5
13481 echo "${ECHO_T}$result" >&6; }
13482
13483
13484 enablestring=
13485 defaultval=$wxUSE_ALL_FEATURES
13486 if test -z "$defaultval"; then
13487 if test x"$enablestring" = xdisable; then
13488 defaultval=yes
13489 else
13490 defaultval=no
13491 fi
13492 fi
13493
13494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13495 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13496 # Check whether --enable-metafile was given.
13497 if test "${enable_metafile+set}" = set; then
13498 enableval=$enable_metafile;
13499 if test "$enableval" = yes; then
13500 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13501 else
13502 wx_cv_use_metafile='wxUSE_METAFILE=no'
13503 fi
13504
13505 else
13506
13507 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13508
13509 fi
13510
13511
13512 eval "$wx_cv_use_metafile"
13513
13514 if test x"$enablestring" = xdisable; then
13515 if test $wxUSE_METAFILE = no; then
13516 result=yes
13517 else
13518 result=no
13519 fi
13520 else
13521 result=$wxUSE_METAFILE
13522 fi
13523
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13526
13527
13528 enablestring=
13529 defaultval=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x"$enablestring" = xdisable; then
13532 defaultval=yes
13533 else
13534 defaultval=no
13535 fi
13536 fi
13537
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13540 # Check whether --enable-dragimage was given.
13541 if test "${enable_dragimage+set}" = set; then
13542 enableval=$enable_dragimage;
13543 if test "$enableval" = yes; then
13544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13545 else
13546 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13547 fi
13548
13549 else
13550
13551 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13552
13553 fi
13554
13555
13556 eval "$wx_cv_use_dragimage"
13557
13558 if test x"$enablestring" = xdisable; then
13559 if test $wxUSE_DRAGIMAGE = no; then
13560 result=yes
13561 else
13562 result=no
13563 fi
13564 else
13565 result=$wxUSE_DRAGIMAGE
13566 fi
13567
13568 { echo "$as_me:$LINENO: result: $result" >&5
13569 echo "${ECHO_T}$result" >&6; }
13570
13571
13572 enablestring=
13573 defaultval=$wxUSE_ALL_FEATURES
13574 if test -z "$defaultval"; then
13575 if test x"$enablestring" = xdisable; then
13576 defaultval=yes
13577 else
13578 defaultval=no
13579 fi
13580 fi
13581
13582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13583 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13584 # Check whether --enable-accessibility was given.
13585 if test "${enable_accessibility+set}" = set; then
13586 enableval=$enable_accessibility;
13587 if test "$enableval" = yes; then
13588 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13589 else
13590 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13591 fi
13592
13593 else
13594
13595 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13596
13597 fi
13598
13599
13600 eval "$wx_cv_use_accessibility"
13601
13602 if test x"$enablestring" = xdisable; then
13603 if test $wxUSE_ACCESSIBILITY = no; then
13604 result=yes
13605 else
13606 result=no
13607 fi
13608 else
13609 result=$wxUSE_ACCESSIBILITY
13610 fi
13611
13612 { echo "$as_me:$LINENO: result: $result" >&5
13613 echo "${ECHO_T}$result" >&6; }
13614
13615
13616 enablestring=
13617 defaultval=$wxUSE_ALL_FEATURES
13618 if test -z "$defaultval"; then
13619 if test x"$enablestring" = xdisable; then
13620 defaultval=yes
13621 else
13622 defaultval=no
13623 fi
13624 fi
13625
13626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13627 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13628 # Check whether --enable-uiactionsim was given.
13629 if test "${enable_uiactionsim+set}" = set; then
13630 enableval=$enable_uiactionsim;
13631 if test "$enableval" = yes; then
13632 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13633 else
13634 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13635 fi
13636
13637 else
13638
13639 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13640
13641 fi
13642
13643
13644 eval "$wx_cv_use_uiactionsim"
13645
13646 if test x"$enablestring" = xdisable; then
13647 if test $wxUSE_UIACTIONSIMULATOR = no; then
13648 result=yes
13649 else
13650 result=no
13651 fi
13652 else
13653 result=$wxUSE_UIACTIONSIMULATOR
13654 fi
13655
13656 { echo "$as_me:$LINENO: result: $result" >&5
13657 echo "${ECHO_T}$result" >&6; }
13658
13659
13660
13661
13662 enablestring=
13663 defaultval=$wxUSE_ALL_FEATURES
13664 if test -z "$defaultval"; then
13665 if test x"$enablestring" = xdisable; then
13666 defaultval=yes
13667 else
13668 defaultval=no
13669 fi
13670 fi
13671
13672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13673 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13674 # Check whether --enable-palette was given.
13675 if test "${enable_palette+set}" = set; then
13676 enableval=$enable_palette;
13677 if test "$enableval" = yes; then
13678 wx_cv_use_palette='wxUSE_PALETTE=yes'
13679 else
13680 wx_cv_use_palette='wxUSE_PALETTE=no'
13681 fi
13682
13683 else
13684
13685 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13686
13687 fi
13688
13689
13690 eval "$wx_cv_use_palette"
13691
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_PALETTE = no; then
13694 result=yes
13695 else
13696 result=no
13697 fi
13698 else
13699 result=$wxUSE_PALETTE
13700 fi
13701
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13704
13705
13706 enablestring=
13707 defaultval=$wxUSE_ALL_FEATURES
13708 if test -z "$defaultval"; then
13709 if test x"$enablestring" = xdisable; then
13710 defaultval=yes
13711 else
13712 defaultval=no
13713 fi
13714 fi
13715
13716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13717 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13718 # Check whether --enable-image was given.
13719 if test "${enable_image+set}" = set; then
13720 enableval=$enable_image;
13721 if test "$enableval" = yes; then
13722 wx_cv_use_image='wxUSE_IMAGE=yes'
13723 else
13724 wx_cv_use_image='wxUSE_IMAGE=no'
13725 fi
13726
13727 else
13728
13729 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13730
13731 fi
13732
13733
13734 eval "$wx_cv_use_image"
13735
13736 if test x"$enablestring" = xdisable; then
13737 if test $wxUSE_IMAGE = no; then
13738 result=yes
13739 else
13740 result=no
13741 fi
13742 else
13743 result=$wxUSE_IMAGE
13744 fi
13745
13746 { echo "$as_me:$LINENO: result: $result" >&5
13747 echo "${ECHO_T}$result" >&6; }
13748
13749
13750 enablestring=
13751 defaultval=$wxUSE_ALL_FEATURES
13752 if test -z "$defaultval"; then
13753 if test x"$enablestring" = xdisable; then
13754 defaultval=yes
13755 else
13756 defaultval=no
13757 fi
13758 fi
13759
13760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13761 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13762 # Check whether --enable-gif was given.
13763 if test "${enable_gif+set}" = set; then
13764 enableval=$enable_gif;
13765 if test "$enableval" = yes; then
13766 wx_cv_use_gif='wxUSE_GIF=yes'
13767 else
13768 wx_cv_use_gif='wxUSE_GIF=no'
13769 fi
13770
13771 else
13772
13773 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13774
13775 fi
13776
13777
13778 eval "$wx_cv_use_gif"
13779
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_GIF = no; then
13782 result=yes
13783 else
13784 result=no
13785 fi
13786 else
13787 result=$wxUSE_GIF
13788 fi
13789
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13792
13793
13794 enablestring=
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13798 defaultval=yes
13799 else
13800 defaultval=no
13801 fi
13802 fi
13803
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13806 # Check whether --enable-pcx was given.
13807 if test "${enable_pcx+set}" = set; then
13808 enableval=$enable_pcx;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_pcx='wxUSE_PCX=yes'
13811 else
13812 wx_cv_use_pcx='wxUSE_PCX=no'
13813 fi
13814
13815 else
13816
13817 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13818
13819 fi
13820
13821
13822 eval "$wx_cv_use_pcx"
13823
13824 if test x"$enablestring" = xdisable; then
13825 if test $wxUSE_PCX = no; then
13826 result=yes
13827 else
13828 result=no
13829 fi
13830 else
13831 result=$wxUSE_PCX
13832 fi
13833
13834 { echo "$as_me:$LINENO: result: $result" >&5
13835 echo "${ECHO_T}$result" >&6; }
13836
13837
13838 enablestring=
13839 defaultval=$wxUSE_ALL_FEATURES
13840 if test -z "$defaultval"; then
13841 if test x"$enablestring" = xdisable; then
13842 defaultval=yes
13843 else
13844 defaultval=no
13845 fi
13846 fi
13847
13848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13849 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13850 # Check whether --enable-tga was given.
13851 if test "${enable_tga+set}" = set; then
13852 enableval=$enable_tga;
13853 if test "$enableval" = yes; then
13854 wx_cv_use_tga='wxUSE_TGA=yes'
13855 else
13856 wx_cv_use_tga='wxUSE_TGA=no'
13857 fi
13858
13859 else
13860
13861 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13862
13863 fi
13864
13865
13866 eval "$wx_cv_use_tga"
13867
13868 if test x"$enablestring" = xdisable; then
13869 if test $wxUSE_TGA = no; then
13870 result=yes
13871 else
13872 result=no
13873 fi
13874 else
13875 result=$wxUSE_TGA
13876 fi
13877
13878 { echo "$as_me:$LINENO: result: $result" >&5
13879 echo "${ECHO_T}$result" >&6; }
13880
13881
13882 enablestring=
13883 defaultval=$wxUSE_ALL_FEATURES
13884 if test -z "$defaultval"; then
13885 if test x"$enablestring" = xdisable; then
13886 defaultval=yes
13887 else
13888 defaultval=no
13889 fi
13890 fi
13891
13892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13893 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13894 # Check whether --enable-iff was given.
13895 if test "${enable_iff+set}" = set; then
13896 enableval=$enable_iff;
13897 if test "$enableval" = yes; then
13898 wx_cv_use_iff='wxUSE_IFF=yes'
13899 else
13900 wx_cv_use_iff='wxUSE_IFF=no'
13901 fi
13902
13903 else
13904
13905 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13906
13907 fi
13908
13909
13910 eval "$wx_cv_use_iff"
13911
13912 if test x"$enablestring" = xdisable; then
13913 if test $wxUSE_IFF = no; then
13914 result=yes
13915 else
13916 result=no
13917 fi
13918 else
13919 result=$wxUSE_IFF
13920 fi
13921
13922 { echo "$as_me:$LINENO: result: $result" >&5
13923 echo "${ECHO_T}$result" >&6; }
13924
13925
13926 enablestring=
13927 defaultval=$wxUSE_ALL_FEATURES
13928 if test -z "$defaultval"; then
13929 if test x"$enablestring" = xdisable; then
13930 defaultval=yes
13931 else
13932 defaultval=no
13933 fi
13934 fi
13935
13936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13937 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13938 # Check whether --enable-pnm was given.
13939 if test "${enable_pnm+set}" = set; then
13940 enableval=$enable_pnm;
13941 if test "$enableval" = yes; then
13942 wx_cv_use_pnm='wxUSE_PNM=yes'
13943 else
13944 wx_cv_use_pnm='wxUSE_PNM=no'
13945 fi
13946
13947 else
13948
13949 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13950
13951 fi
13952
13953
13954 eval "$wx_cv_use_pnm"
13955
13956 if test x"$enablestring" = xdisable; then
13957 if test $wxUSE_PNM = no; then
13958 result=yes
13959 else
13960 result=no
13961 fi
13962 else
13963 result=$wxUSE_PNM
13964 fi
13965
13966 { echo "$as_me:$LINENO: result: $result" >&5
13967 echo "${ECHO_T}$result" >&6; }
13968
13969
13970 enablestring=
13971 defaultval=$wxUSE_ALL_FEATURES
13972 if test -z "$defaultval"; then
13973 if test x"$enablestring" = xdisable; then
13974 defaultval=yes
13975 else
13976 defaultval=no
13977 fi
13978 fi
13979
13980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13981 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13982 # Check whether --enable-xpm was given.
13983 if test "${enable_xpm+set}" = set; then
13984 enableval=$enable_xpm;
13985 if test "$enableval" = yes; then
13986 wx_cv_use_xpm='wxUSE_XPM=yes'
13987 else
13988 wx_cv_use_xpm='wxUSE_XPM=no'
13989 fi
13990
13991 else
13992
13993 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13994
13995 fi
13996
13997
13998 eval "$wx_cv_use_xpm"
13999
14000 if test x"$enablestring" = xdisable; then
14001 if test $wxUSE_XPM = no; then
14002 result=yes
14003 else
14004 result=no
14005 fi
14006 else
14007 result=$wxUSE_XPM
14008 fi
14009
14010 { echo "$as_me:$LINENO: result: $result" >&5
14011 echo "${ECHO_T}$result" >&6; }
14012
14013
14014 enablestring=
14015 defaultval=$wxUSE_ALL_FEATURES
14016 if test -z "$defaultval"; then
14017 if test x"$enablestring" = xdisable; then
14018 defaultval=yes
14019 else
14020 defaultval=no
14021 fi
14022 fi
14023
14024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14025 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14026 # Check whether --enable-ico_cur was given.
14027 if test "${enable_ico_cur+set}" = set; then
14028 enableval=$enable_ico_cur;
14029 if test "$enableval" = yes; then
14030 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14031 else
14032 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14033 fi
14034
14035 else
14036
14037 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14038
14039 fi
14040
14041
14042 eval "$wx_cv_use_ico_cur"
14043
14044 if test x"$enablestring" = xdisable; then
14045 if test $wxUSE_ICO_CUR = no; then
14046 result=yes
14047 else
14048 result=no
14049 fi
14050 else
14051 result=$wxUSE_ICO_CUR
14052 fi
14053
14054 { echo "$as_me:$LINENO: result: $result" >&5
14055 echo "${ECHO_T}$result" >&6; }
14056
14057
14058
14059
14060 enablestring=
14061 defaultval=$wxUSE_ALL_FEATURES
14062 if test -z "$defaultval"; then
14063 if test x"$enablestring" = xdisable; then
14064 defaultval=yes
14065 else
14066 defaultval=no
14067 fi
14068 fi
14069
14070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14071 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14072 # Check whether --enable-dccache was given.
14073 if test "${enable_dccache+set}" = set; then
14074 enableval=$enable_dccache;
14075 if test "$enableval" = yes; then
14076 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14077 else
14078 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14079 fi
14080
14081 else
14082
14083 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14084
14085 fi
14086
14087
14088 eval "$wx_cv_use_dccache"
14089
14090 if test x"$enablestring" = xdisable; then
14091 if test $wxUSE_DC_CACHEING = no; then
14092 result=yes
14093 else
14094 result=no
14095 fi
14096 else
14097 result=$wxUSE_DC_CACHEING
14098 fi
14099
14100 { echo "$as_me:$LINENO: result: $result" >&5
14101 echo "${ECHO_T}$result" >&6; }
14102
14103
14104 enablestring=
14105 defaultval=$wxUSE_ALL_FEATURES
14106 if test -z "$defaultval"; then
14107 if test x"$enablestring" = xdisable; then
14108 defaultval=yes
14109 else
14110 defaultval=no
14111 fi
14112 fi
14113
14114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14115 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14116 # Check whether --enable-ps-in-msw was given.
14117 if test "${enable_ps_in_msw+set}" = set; then
14118 enableval=$enable_ps_in_msw;
14119 if test "$enableval" = yes; then
14120 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14121 else
14122 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14123 fi
14124
14125 else
14126
14127 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14128
14129 fi
14130
14131
14132 eval "$wx_cv_use_ps_in_msw"
14133
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14136 result=yes
14137 else
14138 result=no
14139 fi
14140 else
14141 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14142 fi
14143
14144 { echo "$as_me:$LINENO: result: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14146
14147
14148 enablestring=
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14152 defaultval=yes
14153 else
14154 defaultval=no
14155 fi
14156 fi
14157
14158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14159 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14160 # Check whether --enable-ownerdrawn was given.
14161 if test "${enable_ownerdrawn+set}" = set; then
14162 enableval=$enable_ownerdrawn;
14163 if test "$enableval" = yes; then
14164 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14165 else
14166 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14167 fi
14168
14169 else
14170
14171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14172
14173 fi
14174
14175
14176 eval "$wx_cv_use_ownerdrawn"
14177
14178 if test x"$enablestring" = xdisable; then
14179 if test $wxUSE_OWNER_DRAWN = no; then
14180 result=yes
14181 else
14182 result=no
14183 fi
14184 else
14185 result=$wxUSE_OWNER_DRAWN
14186 fi
14187
14188 { echo "$as_me:$LINENO: result: $result" >&5
14189 echo "${ECHO_T}$result" >&6; }
14190
14191
14192 enablestring=
14193 defaultval=$wxUSE_ALL_FEATURES
14194 if test -z "$defaultval"; then
14195 if test x"$enablestring" = xdisable; then
14196 defaultval=yes
14197 else
14198 defaultval=no
14199 fi
14200 fi
14201
14202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14203 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14204 # Check whether --enable-uxtheme was given.
14205 if test "${enable_uxtheme+set}" = set; then
14206 enableval=$enable_uxtheme;
14207 if test "$enableval" = yes; then
14208 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14209 else
14210 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14211 fi
14212
14213 else
14214
14215 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14216
14217 fi
14218
14219
14220 eval "$wx_cv_use_uxtheme"
14221
14222 if test x"$enablestring" = xdisable; then
14223 if test $wxUSE_UXTHEME = no; then
14224 result=yes
14225 else
14226 result=no
14227 fi
14228 else
14229 result=$wxUSE_UXTHEME
14230 fi
14231
14232 { echo "$as_me:$LINENO: result: $result" >&5
14233 echo "${ECHO_T}$result" >&6; }
14234
14235
14236 enablestring=
14237 defaultval=$wxUSE_ALL_FEATURES
14238 if test -z "$defaultval"; then
14239 if test x"$enablestring" = xdisable; then
14240 defaultval=yes
14241 else
14242 defaultval=no
14243 fi
14244 fi
14245
14246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14247 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14248 # Check whether --enable-wxdib was given.
14249 if test "${enable_wxdib+set}" = set; then
14250 enableval=$enable_wxdib;
14251 if test "$enableval" = yes; then
14252 wx_cv_use_wxdib='wxUSE_DIB=yes'
14253 else
14254 wx_cv_use_wxdib='wxUSE_DIB=no'
14255 fi
14256
14257 else
14258
14259 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14260
14261 fi
14262
14263
14264 eval "$wx_cv_use_wxdib"
14265
14266 if test x"$enablestring" = xdisable; then
14267 if test $wxUSE_DIB = no; then
14268 result=yes
14269 else
14270 result=no
14271 fi
14272 else
14273 result=$wxUSE_DIB
14274 fi
14275
14276 { echo "$as_me:$LINENO: result: $result" >&5
14277 echo "${ECHO_T}$result" >&6; }
14278
14279
14280 if test "$wxUSE_MSW" != 1; then
14281 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14282 fi
14283
14284
14285 enablestring=
14286 defaultval=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x"$enablestring" = xdisable; then
14289 defaultval=yes
14290 else
14291 defaultval=no
14292 fi
14293 fi
14294
14295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14296 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14297 # Check whether --enable-autoidman was given.
14298 if test "${enable_autoidman+set}" = set; then
14299 enableval=$enable_autoidman;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14302 else
14303 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14304 fi
14305
14306 else
14307
14308 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14309
14310 fi
14311
14312
14313 eval "$wx_cv_use_autoidman"
14314
14315 if test x"$enablestring" = xdisable; then
14316 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14317 result=yes
14318 else
14319 result=no
14320 fi
14321 else
14322 result=$wxUSE_AUTOID_MANAGEMENT
14323 fi
14324
14325 { echo "$as_me:$LINENO: result: $result" >&5
14326 echo "${ECHO_T}$result" >&6; }
14327
14328
14329 fi
14330
14331
14332 cat >confcache <<\_ACEOF
14333 # This file is a shell script that caches the results of configure
14334 # tests run on this system so they can be shared between configure
14335 # scripts and configure runs, see configure's option --config-cache.
14336 # It is not useful on other systems. If it contains results you don't
14337 # want to keep, you may remove or edit it.
14338 #
14339 # config.status only pays attention to the cache file if you give it
14340 # the --recheck option to rerun configure.
14341 #
14342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14344 # following values.
14345
14346 _ACEOF
14347
14348 # The following way of writing the cache mishandles newlines in values,
14349 # but we know of no workaround that is simple, portable, and efficient.
14350 # So, we kill variables containing newlines.
14351 # Ultrix sh set writes to stderr and can't be redirected directly,
14352 # and sets the high bit in the cache file unless we assign to the vars.
14353 (
14354 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14355 eval ac_val=\$$ac_var
14356 case $ac_val in #(
14357 *${as_nl}*)
14358 case $ac_var in #(
14359 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14360 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14361 esac
14362 case $ac_var in #(
14363 _ | IFS | as_nl) ;; #(
14364 *) $as_unset $ac_var ;;
14365 esac ;;
14366 esac
14367 done
14368
14369 (set) 2>&1 |
14370 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14371 *${as_nl}ac_space=\ *)
14372 # `set' does not quote correctly, so add quotes (double-quote
14373 # substitution turns \\\\ into \\, and sed turns \\ into \).
14374 sed -n \
14375 "s/'/'\\\\''/g;
14376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14377 ;; #(
14378 *)
14379 # `set' quotes correctly as required by POSIX, so do not add quotes.
14380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14381 ;;
14382 esac |
14383 sort
14384 ) |
14385 sed '
14386 /^ac_cv_env_/b end
14387 t clear
14388 :clear
14389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14390 t end
14391 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14392 :end' >>confcache
14393 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14394 if test -w "$cache_file"; then
14395 test "x$cache_file" != "x/dev/null" &&
14396 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14397 echo "$as_me: updating cache $cache_file" >&6;}
14398 cat confcache >$cache_file
14399 else
14400 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14401 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14402 fi
14403 fi
14404 rm -f confcache
14405
14406 CFLAGS=${CFLAGS:=}
14407 ac_ext=c
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_prog_CC+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 if test -n "$CC"; then
14421 ac_cv_prog_CC="$CC" # Let the user override the test.
14422 else
14423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14424 for as_dir in $PATH
14425 do
14426 IFS=$as_save_IFS
14427 test -z "$as_dir" && as_dir=.
14428 for ac_exec_ext in '' $ac_executable_extensions; do
14429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14432 break 2
14433 fi
14434 done
14435 done
14436 IFS=$as_save_IFS
14437
14438 fi
14439 fi
14440 CC=$ac_cv_prog_CC
14441 if test -n "$CC"; then
14442 { echo "$as_me:$LINENO: result: $CC" >&5
14443 echo "${ECHO_T}$CC" >&6; }
14444 else
14445 { echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6; }
14447 fi
14448
14449
14450 fi
14451 if test -z "$ac_cv_prog_CC"; then
14452 ac_ct_CC=$CC
14453 # Extract the first word of "gcc", so it can be a program name with args.
14454 set dummy gcc; ac_word=$2
14455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 if test -n "$ac_ct_CC"; then
14461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14462 else
14463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14464 for as_dir in $PATH
14465 do
14466 IFS=$as_save_IFS
14467 test -z "$as_dir" && as_dir=.
14468 for ac_exec_ext in '' $ac_executable_extensions; do
14469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14470 ac_cv_prog_ac_ct_CC="gcc"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 break 2
14473 fi
14474 done
14475 done
14476 IFS=$as_save_IFS
14477
14478 fi
14479 fi
14480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14481 if test -n "$ac_ct_CC"; then
14482 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14483 echo "${ECHO_T}$ac_ct_CC" >&6; }
14484 else
14485 { echo "$as_me:$LINENO: result: no" >&5
14486 echo "${ECHO_T}no" >&6; }
14487 fi
14488
14489 if test "x$ac_ct_CC" = x; then
14490 CC=""
14491 else
14492 case $cross_compiling:$ac_tool_warned in
14493 yes:)
14494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14495 whose name does not start with the host triplet. If you think this
14496 configuration is useful to you, please write to autoconf@gnu.org." >&5
14497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14498 whose name does not start with the host triplet. If you think this
14499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14500 ac_tool_warned=yes ;;
14501 esac
14502 CC=$ac_ct_CC
14503 fi
14504 else
14505 CC="$ac_cv_prog_CC"
14506 fi
14507
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14511 set dummy ${ac_tool_prefix}cc; ac_word=$2
14512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14514 if test "${ac_cv_prog_CC+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 if test -n "$CC"; then
14518 ac_cv_prog_CC="$CC" # Let the user override the test.
14519 else
14520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14521 for as_dir in $PATH
14522 do
14523 IFS=$as_save_IFS
14524 test -z "$as_dir" && as_dir=.
14525 for ac_exec_ext in '' $ac_executable_extensions; do
14526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14527 ac_cv_prog_CC="${ac_tool_prefix}cc"
14528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14529 break 2
14530 fi
14531 done
14532 done
14533 IFS=$as_save_IFS
14534
14535 fi
14536 fi
14537 CC=$ac_cv_prog_CC
14538 if test -n "$CC"; then
14539 { echo "$as_me:$LINENO: result: $CC" >&5
14540 echo "${ECHO_T}$CC" >&6; }
14541 else
14542 { echo "$as_me:$LINENO: result: no" >&5
14543 echo "${ECHO_T}no" >&6; }
14544 fi
14545
14546
14547 fi
14548 fi
14549 if test -z "$CC"; then
14550 # Extract the first word of "cc", so it can be a program name with args.
14551 set dummy cc; ac_word=$2
14552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14554 if test "${ac_cv_prog_CC+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 else
14557 if test -n "$CC"; then
14558 ac_cv_prog_CC="$CC" # Let the user override the test.
14559 else
14560 ac_prog_rejected=no
14561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14562 for as_dir in $PATH
14563 do
14564 IFS=$as_save_IFS
14565 test -z "$as_dir" && as_dir=.
14566 for ac_exec_ext in '' $ac_executable_extensions; do
14567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14569 ac_prog_rejected=yes
14570 continue
14571 fi
14572 ac_cv_prog_CC="cc"
14573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 break 2
14575 fi
14576 done
14577 done
14578 IFS=$as_save_IFS
14579
14580 if test $ac_prog_rejected = yes; then
14581 # We found a bogon in the path, so make sure we never use it.
14582 set dummy $ac_cv_prog_CC
14583 shift
14584 if test $# != 0; then
14585 # We chose a different compiler from the bogus one.
14586 # However, it has the same basename, so the bogon will be chosen
14587 # first if we set CC to just the basename; use the full file name.
14588 shift
14589 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14590 fi
14591 fi
14592 fi
14593 fi
14594 CC=$ac_cv_prog_CC
14595 if test -n "$CC"; then
14596 { echo "$as_me:$LINENO: result: $CC" >&5
14597 echo "${ECHO_T}$CC" >&6; }
14598 else
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14601 fi
14602
14603
14604 fi
14605 if test -z "$CC"; then
14606 if test -n "$ac_tool_prefix"; then
14607 for ac_prog in cl.exe
14608 do
14609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14613 if test "${ac_cv_prog_CC+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 else
14616 if test -n "$CC"; then
14617 ac_cv_prog_CC="$CC" # Let the user override the test.
14618 else
14619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14620 for as_dir in $PATH
14621 do
14622 IFS=$as_save_IFS
14623 test -z "$as_dir" && as_dir=.
14624 for ac_exec_ext in '' $ac_executable_extensions; do
14625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14626 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14628 break 2
14629 fi
14630 done
14631 done
14632 IFS=$as_save_IFS
14633
14634 fi
14635 fi
14636 CC=$ac_cv_prog_CC
14637 if test -n "$CC"; then
14638 { echo "$as_me:$LINENO: result: $CC" >&5
14639 echo "${ECHO_T}$CC" >&6; }
14640 else
14641 { echo "$as_me:$LINENO: result: no" >&5
14642 echo "${ECHO_T}no" >&6; }
14643 fi
14644
14645
14646 test -n "$CC" && break
14647 done
14648 fi
14649 if test -z "$CC"; then
14650 ac_ct_CC=$CC
14651 for ac_prog in cl.exe
14652 do
14653 # Extract the first word of "$ac_prog", so it can be a program name with args.
14654 set dummy $ac_prog; ac_word=$2
14655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14659 else
14660 if test -n "$ac_ct_CC"; then
14661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14662 else
14663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14664 for as_dir in $PATH
14665 do
14666 IFS=$as_save_IFS
14667 test -z "$as_dir" && as_dir=.
14668 for ac_exec_ext in '' $ac_executable_extensions; do
14669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14670 ac_cv_prog_ac_ct_CC="$ac_prog"
14671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14672 break 2
14673 fi
14674 done
14675 done
14676 IFS=$as_save_IFS
14677
14678 fi
14679 fi
14680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14681 if test -n "$ac_ct_CC"; then
14682 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14683 echo "${ECHO_T}$ac_ct_CC" >&6; }
14684 else
14685 { echo "$as_me:$LINENO: result: no" >&5
14686 echo "${ECHO_T}no" >&6; }
14687 fi
14688
14689
14690 test -n "$ac_ct_CC" && break
14691 done
14692
14693 if test "x$ac_ct_CC" = x; then
14694 CC=""
14695 else
14696 case $cross_compiling:$ac_tool_warned in
14697 yes:)
14698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14699 whose name does not start with the host triplet. If you think this
14700 configuration is useful to you, please write to autoconf@gnu.org." >&5
14701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14702 whose name does not start with the host triplet. If you think this
14703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14704 ac_tool_warned=yes ;;
14705 esac
14706 CC=$ac_ct_CC
14707 fi
14708 fi
14709
14710 fi
14711
14712
14713 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14714 See \`config.log' for more details." >&5
14715 echo "$as_me: error: no acceptable C compiler found in \$PATH
14716 See \`config.log' for more details." >&2;}
14717 { (exit 1); exit 1; }; }
14718
14719 # Provide some information about the compiler.
14720 echo "$as_me:$LINENO: checking for C compiler version" >&5
14721 ac_compiler=`set X $ac_compile; echo $2`
14722 { (ac_try="$ac_compiler --version >&5"
14723 case "(($ac_try" in
14724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14725 *) ac_try_echo=$ac_try;;
14726 esac
14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 (eval "$ac_compiler --version >&5") 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }
14732 { (ac_try="$ac_compiler -v >&5"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14736 esac
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compiler -v >&5") 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }
14742 { (ac_try="$ac_compiler -V >&5"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14746 esac
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compiler -V >&5") 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }
14752
14753 cat >conftest.$ac_ext <<_ACEOF
14754 /* confdefs.h. */
14755 _ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759
14760 int
14761 main ()
14762 {
14763
14764 ;
14765 return 0;
14766 }
14767 _ACEOF
14768 ac_clean_files_save=$ac_clean_files
14769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14770 # Try to create an executable without -o first, disregard a.out.
14771 # It will help us diagnose broken compilers, and finding out an intuition
14772 # of exeext.
14773 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14776 #
14777 # List of possible output files, starting from the most likely.
14778 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14779 # only as a last resort. b.out is created by i960 compilers.
14780 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14781 #
14782 # The IRIX 6 linker writes into existing files which may not be
14783 # executable, retaining their permissions. Remove them first so a
14784 # subsequent execution test works.
14785 ac_rmfiles=
14786 for ac_file in $ac_files
14787 do
14788 case $ac_file in
14789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14791 esac
14792 done
14793 rm -f $ac_rmfiles
14794
14795 if { (ac_try="$ac_link_default"
14796 case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14799 esac
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_link_default") 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; then
14805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14807 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14808 # so that the user can short-circuit this test for compilers unknown to
14809 # Autoconf.
14810 for ac_file in $ac_files ''
14811 do
14812 test -f "$ac_file" || continue
14813 case $ac_file in
14814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14815 ;;
14816 [ab].out )
14817 # We found the default executable, but exeext='' is most
14818 # certainly right.
14819 break;;
14820 *.* )
14821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14822 then :; else
14823 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14824 fi
14825 # We set ac_cv_exeext here because the later test for it is not
14826 # safe: cross compilers may not add the suffix if given an `-o'
14827 # argument, so we may need to know it at that point already.
14828 # Even if this section looks crufty: it has the advantage of
14829 # actually working.
14830 break;;
14831 * )
14832 break;;
14833 esac
14834 done
14835 test "$ac_cv_exeext" = no && ac_cv_exeext=
14836
14837 else
14838 ac_file=''
14839 fi
14840
14841 { echo "$as_me:$LINENO: result: $ac_file" >&5
14842 echo "${ECHO_T}$ac_file" >&6; }
14843 if test -z "$ac_file"; then
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14846
14847 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14848 See \`config.log' for more details." >&5
14849 echo "$as_me: error: C compiler cannot create executables
14850 See \`config.log' for more details." >&2;}
14851 { (exit 77); exit 77; }; }
14852 fi
14853
14854 ac_exeext=$ac_cv_exeext
14855
14856 # Check that the compiler produces executables we can run. If not, either
14857 # the compiler is broken, or we cross compile.
14858 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14860 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14861 # If not cross compiling, check that we can run a simple program.
14862 if test "$cross_compiling" != yes; then
14863 if { ac_try='./$ac_file'
14864 { (case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14867 esac
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_try") 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 cross_compiling=no
14874 else
14875 if test "$cross_compiling" = maybe; then
14876 cross_compiling=yes
14877 else
14878 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14879 If you meant to cross compile, use \`--host'.
14880 See \`config.log' for more details." >&5
14881 echo "$as_me: error: cannot run C compiled programs.
14882 If you meant to cross compile, use \`--host'.
14883 See \`config.log' for more details." >&2;}
14884 { (exit 1); exit 1; }; }
14885 fi
14886 fi
14887 fi
14888 { echo "$as_me:$LINENO: result: yes" >&5
14889 echo "${ECHO_T}yes" >&6; }
14890
14891 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14892 ac_clean_files=$ac_clean_files_save
14893 # Check that the compiler produces executables we can run. If not, either
14894 # the compiler is broken, or we cross compile.
14895 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14896 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14897 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14898 echo "${ECHO_T}$cross_compiling" >&6; }
14899
14900 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14901 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14902 if { (ac_try="$ac_link"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14906 esac
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14909 ac_status=$?
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; then
14912 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14913 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14914 # work properly (i.e., refer to `conftest.exe'), while it won't with
14915 # `rm'.
14916 for ac_file in conftest.exe conftest conftest.*; do
14917 test -f "$ac_file" || continue
14918 case $ac_file in
14919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14920 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14921 break;;
14922 * ) break;;
14923 esac
14924 done
14925 else
14926 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14927 See \`config.log' for more details." >&5
14928 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14929 See \`config.log' for more details." >&2;}
14930 { (exit 1); exit 1; }; }
14931 fi
14932
14933 rm -f conftest$ac_cv_exeext
14934 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14935 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14936
14937 rm -f conftest.$ac_ext
14938 EXEEXT=$ac_cv_exeext
14939 ac_exeext=$EXEEXT
14940 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14941 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14942 if test "${ac_cv_objext+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 else
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14951
14952 int
14953 main ()
14954 {
14955
14956 ;
14957 return 0;
14958 }
14959 _ACEOF
14960 rm -f conftest.o conftest.obj
14961 if { (ac_try="$ac_compile"
14962 case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14965 esac
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_compile") 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; then
14971 for ac_file in conftest.o conftest.obj conftest.*; do
14972 test -f "$ac_file" || continue;
14973 case $ac_file in
14974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14976 break;;
14977 esac
14978 done
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14982
14983 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14984 See \`config.log' for more details." >&5
14985 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14986 See \`config.log' for more details." >&2;}
14987 { (exit 1); exit 1; }; }
14988 fi
14989
14990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14991 fi
14992 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14993 echo "${ECHO_T}$ac_cv_objext" >&6; }
14994 OBJEXT=$ac_cv_objext
14995 ac_objext=$OBJEXT
14996 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14997 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14998 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011 #ifndef __GNUC__
15012 choke me
15013 #endif
15014
15015 ;
15016 return 0;
15017 }
15018 _ACEOF
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_compiler_gnu=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15040
15041 ac_compiler_gnu=no
15042 fi
15043
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15046
15047 fi
15048 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15049 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15050 GCC=`test $ac_compiler_gnu = yes && echo yes`
15051 ac_test_CFLAGS=${CFLAGS+set}
15052 ac_save_CFLAGS=$CFLAGS
15053 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15054 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15055 if test "${ac_cv_prog_cc_g+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 ac_save_c_werror_flag=$ac_c_werror_flag
15059 ac_c_werror_flag=yes
15060 ac_cv_prog_cc_g=no
15061 CFLAGS="-g"
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068
15069 int
15070 main ()
15071 {
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 ac_cv_prog_cc_g=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 CFLAGS=""
15100 cat >conftest.$ac_ext <<_ACEOF
15101 /* confdefs.h. */
15102 _ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15106
15107 int
15108 main ()
15109 {
15110
15111 ;
15112 return 0;
15113 }
15114 _ACEOF
15115 rm -f conftest.$ac_objext
15116 if { (ac_try="$ac_compile"
15117 case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15120 esac
15121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_compile") 2>conftest.er1
15123 ac_status=$?
15124 grep -v '^ *+' conftest.er1 >conftest.err
15125 rm -f conftest.er1
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } && {
15129 test -z "$ac_c_werror_flag" ||
15130 test ! -s conftest.err
15131 } && test -s conftest.$ac_objext; then
15132 :
15133 else
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15136
15137 ac_c_werror_flag=$ac_save_c_werror_flag
15138 CFLAGS="-g"
15139 cat >conftest.$ac_ext <<_ACEOF
15140 /* confdefs.h. */
15141 _ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145
15146 int
15147 main ()
15148 {
15149
15150 ;
15151 return 0;
15152 }
15153 _ACEOF
15154 rm -f conftest.$ac_objext
15155 if { (ac_try="$ac_compile"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15159 esac
15160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_compile") 2>conftest.er1
15162 ac_status=$?
15163 grep -v '^ *+' conftest.er1 >conftest.err
15164 rm -f conftest.er1
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } && {
15168 test -z "$ac_c_werror_flag" ||
15169 test ! -s conftest.err
15170 } && test -s conftest.$ac_objext; then
15171 ac_cv_prog_cc_g=yes
15172 else
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15175
15176
15177 fi
15178
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 fi
15181
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 fi
15184
15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 ac_c_werror_flag=$ac_save_c_werror_flag
15187 fi
15188 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15190 if test "$ac_test_CFLAGS" = set; then
15191 CFLAGS=$ac_save_CFLAGS
15192 elif test $ac_cv_prog_cc_g = yes; then
15193 if test "$GCC" = yes; then
15194 CFLAGS="-g -O2"
15195 else
15196 CFLAGS="-g"
15197 fi
15198 else
15199 if test "$GCC" = yes; then
15200 CFLAGS="-O2"
15201 else
15202 CFLAGS=
15203 fi
15204 fi
15205 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15206 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15207 if test "${ac_cv_prog_cc_c89+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 else
15210 ac_cv_prog_cc_c89=no
15211 ac_save_CC=$CC
15212 cat >conftest.$ac_ext <<_ACEOF
15213 /* confdefs.h. */
15214 _ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 #include <stdarg.h>
15219 #include <stdio.h>
15220 #include <sys/types.h>
15221 #include <sys/stat.h>
15222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15223 struct buf { int x; };
15224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15225 static char *e (p, i)
15226 char **p;
15227 int i;
15228 {
15229 return p[i];
15230 }
15231 static char *f (char * (*g) (char **, int), char **p, ...)
15232 {
15233 char *s;
15234 va_list v;
15235 va_start (v,p);
15236 s = g (p, va_arg (v,int));
15237 va_end (v);
15238 return s;
15239 }
15240
15241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15242 function prototypes and stuff, but not '\xHH' hex character constants.
15243 These don't provoke an error unfortunately, instead are silently treated
15244 as 'x'. The following induces an error, until -std is added to get
15245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15246 array size at least. It's necessary to write '\x00'==0 to get something
15247 that's true only with -std. */
15248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15249
15250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15251 inside strings and character constants. */
15252 #define FOO(x) 'x'
15253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15254
15255 int test (int i, double x);
15256 struct s1 {int (*f) (int a);};
15257 struct s2 {int (*f) (double a);};
15258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15259 int argc;
15260 char **argv;
15261 int
15262 main ()
15263 {
15264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15271 do
15272 CC="$ac_save_CC $ac_arg"
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15278 esac
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_prog_cc_c89=$ac_arg
15291 else
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15294
15295
15296 fi
15297
15298 rm -f core conftest.err conftest.$ac_objext
15299 test "x$ac_cv_prog_cc_c89" != "xno" && break
15300 done
15301 rm -f conftest.$ac_ext
15302 CC=$ac_save_CC
15303
15304 fi
15305 # AC_CACHE_VAL
15306 case "x$ac_cv_prog_cc_c89" in
15307 x)
15308 { echo "$as_me:$LINENO: result: none needed" >&5
15309 echo "${ECHO_T}none needed" >&6; } ;;
15310 xno)
15311 { echo "$as_me:$LINENO: result: unsupported" >&5
15312 echo "${ECHO_T}unsupported" >&6; } ;;
15313 *)
15314 CC="$CC $ac_cv_prog_cc_c89"
15315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15317 esac
15318
15319
15320 ac_ext=c
15321 ac_cpp='$CPP $CPPFLAGS'
15322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15325
15326
15327
15328
15329
15330
15331
15332
15333 ac_ext=c
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15338
15339 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15340 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15341 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 else
15344 cat >conftest.$ac_ext <<_ACEOF
15345 /* confdefs.h. */
15346 _ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350
15351 int
15352 main ()
15353 {
15354
15355 #ifndef __INTEL_COMPILER
15356 choke me
15357 #endif
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (ac_try="$ac_compile"
15365 case "(($ac_try" in
15366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15368 esac
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_compile") 2>conftest.er1
15371 ac_status=$?
15372 grep -v '^ *+' conftest.er1 >conftest.err
15373 rm -f conftest.er1
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_c_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest.$ac_objext; then
15380 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15384
15385 bakefile_cv_c_compiler___INTEL_COMPILER=no
15386
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390
15391
15392 fi
15393 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15394 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15395 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15396 :; INTELCC=yes
15397 else
15398 :;
15399 fi
15400 ac_ext=c
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405
15406
15407
15408
15409 if test "$INTELCC" = "yes"; then
15410
15411
15412 ac_ext=c
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417
15418 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15419 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15420 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 else
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429
15430 int
15431 main ()
15432 {
15433
15434 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15435 choke me
15436 #endif
15437
15438 ;
15439 return 0;
15440 }
15441 _ACEOF
15442 rm -f conftest.$ac_objext
15443 if { (ac_try="$ac_compile"
15444 case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15447 esac
15448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_compile") 2>conftest.er1
15450 ac_status=$?
15451 grep -v '^ *+' conftest.er1 >conftest.err
15452 rm -f conftest.er1
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest.$ac_objext; then
15459 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15460 else
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15463
15464 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15465
15466 fi
15467
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469
15470
15471 fi
15472 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15473 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15474 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15475 :; INTELCC8=yes
15476 else
15477 :;
15478 fi
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
15486
15487
15488
15489 ac_ext=c
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15494
15495 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15496 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15497 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 else
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506
15507 int
15508 main ()
15509 {
15510
15511 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15512 choke me
15513 #endif
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15527 ac_status=$?
15528 grep -v '^ *+' conftest.er1 >conftest.err
15529 rm -f conftest.er1
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.$ac_objext; then
15536 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15537 else
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15540
15541 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15542
15543 fi
15544
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15546
15547
15548 fi
15549 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15550 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15551 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15552 :; INTELCC10=yes
15553 else
15554 :;
15555 fi
15556 ac_ext=c
15557 ac_cpp='$CPP $CPPFLAGS'
15558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561
15562
15563
15564 fi
15565
15566 if test "x$GCC" != "xyes"; then
15567 if test "xCC" = "xC"; then
15568 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15569 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15570 if test "${bakefile_cv_c_exto+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 else
15573 cat >conftest.$ac_ext <<_ACEOF
15574 /* confdefs.h. */
15575 _ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579
15580 int
15581 main ()
15582 {
15583
15584 ;
15585 return 0;
15586 }
15587 _ACEOF
15588 rm -f conftest.$ac_objext conftest.$ac_ext.o
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590 (eval $ac_compile) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; then
15594 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15595 case $ac_file in
15596 conftest.$ac_ext.o)
15597 bakefile_cv_c_exto="-ext o"
15598 ;;
15599 *)
15600 ;;
15601 esac
15602 done
15603 else
15604 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15605 See \`config.log' for more details." >&5
15606 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15607 See \`config.log' for more details." >&2;}
15608 { (exit 1); exit 1; }; }
15609
15610 fi
15611
15612 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15613
15614 fi
15615 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15616 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15617 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15618 if test "c" = "c"; then
15619 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15620 fi
15621 if test "c" = "cxx"; then
15622 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15623 fi
15624 fi
15625
15626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15627 unset ac_cv_prog_cc_g
15628 ac_test_CFLAGS=${CFLAGS+set}
15629 ac_save_CFLAGS=$CFLAGS
15630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15632 if test "${ac_cv_prog_cc_g+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 else
15635 ac_save_c_werror_flag=$ac_c_werror_flag
15636 ac_c_werror_flag=yes
15637 ac_cv_prog_cc_g=no
15638 CFLAGS="-g"
15639 cat >conftest.$ac_ext <<_ACEOF
15640 /* confdefs.h. */
15641 _ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645
15646 int
15647 main ()
15648 {
15649
15650 ;
15651 return 0;
15652 }
15653 _ACEOF
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15659 esac
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15662 ac_status=$?
15663 grep -v '^ *+' conftest.er1 >conftest.err
15664 rm -f conftest.er1
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 ac_cv_prog_cc_g=yes
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 CFLAGS=""
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683
15684 int
15685 main ()
15686 {
15687
15688 ;
15689 return 0;
15690 }
15691 _ACEOF
15692 rm -f conftest.$ac_objext
15693 if { (ac_try="$ac_compile"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15697 esac
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_compile") 2>conftest.er1
15700 ac_status=$?
15701 grep -v '^ *+' conftest.er1 >conftest.err
15702 rm -f conftest.er1
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest.$ac_objext; then
15709 :
15710 else
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15713
15714 ac_c_werror_flag=$ac_save_c_werror_flag
15715 CFLAGS="-g"
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 ac_cv_prog_cc_g=yes
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753
15754 fi
15755
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15757 fi
15758
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 fi
15761
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763 ac_c_werror_flag=$ac_save_c_werror_flag
15764 fi
15765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15767 if test "$ac_test_CFLAGS" = set; then
15768 CFLAGS=$ac_save_CFLAGS
15769 elif test $ac_cv_prog_cc_g = yes; then
15770 if test "$GCC" = yes; then
15771 CFLAGS="-g -O2"
15772 else
15773 CFLAGS="-g"
15774 fi
15775 else
15776 if test "$GCC" = yes; then
15777 CFLAGS="-O2"
15778 else
15779 CFLAGS=
15780 fi
15781 fi
15782 fi
15783 fi
15784
15785 case `uname -s` in
15786 AIX*)
15787
15788
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794
15795 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15796 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15797 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806
15807 int
15808 main ()
15809 {
15810
15811 #ifndef __xlC__
15812 choke me
15813 #endif
15814
15815 ;
15816 return 0;
15817 }
15818 _ACEOF
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15824 esac
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_c_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.$ac_objext; then
15836 bakefile_cv_c_compiler___xlC__=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 bakefile_cv_c_compiler___xlC__=no
15842
15843 fi
15844
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846
15847
15848 fi
15849 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15850 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15851 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15852 :; XLCC=yes
15853 else
15854 :;
15855 fi
15856 ac_ext=c
15857 ac_cpp='$CPP $CPPFLAGS'
15858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15861
15862
15863
15864 ;;
15865
15866 Darwin)
15867
15868
15869 ac_ext=c
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15874
15875 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15876 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15877 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886
15887 int
15888 main ()
15889 {
15890
15891 #ifndef __MWERKS__
15892 choke me
15893 #endif
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest.$ac_objext
15900 if { (ac_try="$ac_compile"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15904 esac
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_compile") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest.$ac_objext; then
15916 bakefile_cv_c_compiler___MWERKS__=yes
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15920
15921 bakefile_cv_c_compiler___MWERKS__=no
15922
15923 fi
15924
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926
15927
15928 fi
15929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15930 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15931 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15932 :; MWCC=yes
15933 else
15934 :;
15935 fi
15936 ac_ext=c
15937 ac_cpp='$CPP $CPPFLAGS'
15938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15941
15942
15943
15944 if test "$MWCC" != "yes"; then
15945
15946
15947 ac_ext=c
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952
15953 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15954 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15955 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 else
15958 cat >conftest.$ac_ext <<_ACEOF
15959 /* confdefs.h. */
15960 _ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964
15965 int
15966 main ()
15967 {
15968
15969 #ifndef __xlC__
15970 choke me
15971 #endif
15972
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext
15978 if { (ac_try="$ac_compile"
15979 case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15982 esac
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_compile") 2>conftest.er1
15985 ac_status=$?
15986 grep -v '^ *+' conftest.er1 >conftest.err
15987 rm -f conftest.er1
15988 cat conftest.err >&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } && {
15991 test -z "$ac_c_werror_flag" ||
15992 test ! -s conftest.err
15993 } && test -s conftest.$ac_objext; then
15994 bakefile_cv_c_compiler___xlC__=yes
15995 else
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15998
15999 bakefile_cv_c_compiler___xlC__=no
16000
16001 fi
16002
16003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16004
16005
16006 fi
16007 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16008 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16009 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16010 :; XLCC=yes
16011 else
16012 :;
16013 fi
16014 ac_ext=c
16015 ac_cpp='$CPP $CPPFLAGS'
16016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16019
16020
16021
16022 fi
16023 ;;
16024
16025 IRIX*)
16026
16027
16028 ac_ext=c
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16033
16034 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16035 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16036 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045
16046 int
16047 main ()
16048 {
16049
16050 #ifndef _SGI_COMPILER_VERSION
16051 choke me
16052 #endif
16053
16054 ;
16055 return 0;
16056 }
16057 _ACEOF
16058 rm -f conftest.$ac_objext
16059 if { (ac_try="$ac_compile"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16063 esac
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_compile") 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest.$ac_objext; then
16075 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16079
16080 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16081
16082 fi
16083
16084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085
16086
16087 fi
16088 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16089 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16090 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16091 :; SGICC=yes
16092 else
16093 :;
16094 fi
16095 ac_ext=c
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16100
16101
16102
16103 ;;
16104
16105 Linux*)
16106 if test "$INTELCC" != "yes"; then
16107
16108
16109 ac_ext=c
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16114
16115 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16116 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16117 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126
16127 int
16128 main ()
16129 {
16130
16131 #ifndef __SUNPRO_C
16132 choke me
16133 #endif
16134
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (ac_try="$ac_compile"
16141 case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16144 esac
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_compile") 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && {
16153 test -z "$ac_c_werror_flag" ||
16154 test ! -s conftest.err
16155 } && test -s conftest.$ac_objext; then
16156 bakefile_cv_c_compiler___SUNPRO_C=yes
16157 else
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.$ac_ext >&5
16160
16161 bakefile_cv_c_compiler___SUNPRO_C=no
16162
16163 fi
16164
16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166
16167
16168 fi
16169 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16170 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16171 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16172 :; SUNCC=yes
16173 else
16174 :;
16175 fi
16176 ac_ext=c
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16181
16182
16183
16184 fi
16185 ;;
16186
16187 HP-UX*)
16188
16189
16190 ac_ext=c
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16195
16196 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16197 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16198 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 else
16201 cat >conftest.$ac_ext <<_ACEOF
16202 /* confdefs.h. */
16203 _ACEOF
16204 cat confdefs.h >>conftest.$ac_ext
16205 cat >>conftest.$ac_ext <<_ACEOF
16206 /* end confdefs.h. */
16207
16208 int
16209 main ()
16210 {
16211
16212 #ifndef __HP_cc
16213 choke me
16214 #endif
16215
16216 ;
16217 return 0;
16218 }
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 bakefile_cv_c_compiler___HP_cc=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 bakefile_cv_c_compiler___HP_cc=no
16243
16244 fi
16245
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247
16248
16249 fi
16250 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16251 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16252 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16253 :; HPCC=yes
16254 else
16255 :;
16256 fi
16257 ac_ext=c
16258 ac_cpp='$CPP $CPPFLAGS'
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16262
16263
16264
16265 ;;
16266
16267 OSF1)
16268
16269
16270 ac_ext=c
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16275
16276 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16277 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16278 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 else
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287
16288 int
16289 main ()
16290 {
16291
16292 #ifndef __DECC
16293 choke me
16294 #endif
16295
16296 ;
16297 return 0;
16298 }
16299 _ACEOF
16300 rm -f conftest.$ac_objext
16301 if { (ac_try="$ac_compile"
16302 case "(($ac_try" in
16303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16305 esac
16306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307 (eval "$ac_compile") 2>conftest.er1
16308 ac_status=$?
16309 grep -v '^ *+' conftest.er1 >conftest.err
16310 rm -f conftest.er1
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } && {
16314 test -z "$ac_c_werror_flag" ||
16315 test ! -s conftest.err
16316 } && test -s conftest.$ac_objext; then
16317 bakefile_cv_c_compiler___DECC=yes
16318 else
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16321
16322 bakefile_cv_c_compiler___DECC=no
16323
16324 fi
16325
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327
16328
16329 fi
16330 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16331 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16332 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16333 :; COMPAQCC=yes
16334 else
16335 :;
16336 fi
16337 ac_ext=c
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16342
16343
16344
16345 ;;
16346
16347 SunOS)
16348
16349
16350 ac_ext=c
16351 ac_cpp='$CPP $CPPFLAGS'
16352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16355
16356 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16357 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16358 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 else
16361 cat >conftest.$ac_ext <<_ACEOF
16362 /* confdefs.h. */
16363 _ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16367
16368 int
16369 main ()
16370 {
16371
16372 #ifndef __SUNPRO_C
16373 choke me
16374 #endif
16375
16376 ;
16377 return 0;
16378 }
16379 _ACEOF
16380 rm -f conftest.$ac_objext
16381 if { (ac_try="$ac_compile"
16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16385 esac
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_compile") 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest.$ac_objext; then
16397 bakefile_cv_c_compiler___SUNPRO_C=yes
16398 else
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.$ac_ext >&5
16401
16402 bakefile_cv_c_compiler___SUNPRO_C=no
16403
16404 fi
16405
16406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16407
16408
16409 fi
16410 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16411 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16412 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16413 :; SUNCC=yes
16414 else
16415 :;
16416 fi
16417 ac_ext=c
16418 ac_cpp='$CPP $CPPFLAGS'
16419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16422
16423
16424
16425 ;;
16426 esac
16427 fi
16428
16429
16430
16431 ac_ext=c
16432 ac_cpp='$CPP $CPPFLAGS'
16433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16436 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16437 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16438 # On Suns, sometimes $CPP names a directory.
16439 if test -n "$CPP" && test -d "$CPP"; then
16440 CPP=
16441 fi
16442 if test -z "$CPP"; then
16443 if test "${ac_cv_prog_CPP+set}" = set; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 else
16446 # Double quotes because CPP needs to be expanded
16447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16448 do
16449 ac_preproc_ok=false
16450 for ac_c_preproc_warn_flag in '' yes
16451 do
16452 # Use a header file that comes with gcc, so configuring glibc
16453 # with a fresh cross-compiler works.
16454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16455 # <limits.h> exists even on freestanding compilers.
16456 # On the NeXT, cc -E runs the code through the compiler's parser,
16457 # not just through cpp. "Syntax error" is here to catch this case.
16458 cat >conftest.$ac_ext <<_ACEOF
16459 /* confdefs.h. */
16460 _ACEOF
16461 cat confdefs.h >>conftest.$ac_ext
16462 cat >>conftest.$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 #ifdef __STDC__
16465 # include <limits.h>
16466 #else
16467 # include <assert.h>
16468 #endif
16469 Syntax error
16470 _ACEOF
16471 if { (ac_try="$ac_cpp conftest.$ac_ext"
16472 case "(($ac_try" in
16473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16475 esac
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } >/dev/null && {
16484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16485 test ! -s conftest.err
16486 }; then
16487 :
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492 # Broken: fails on valid input.
16493 continue
16494 fi
16495
16496 rm -f conftest.err conftest.$ac_ext
16497
16498 # OK, works on sane cases. Now check whether nonexistent headers
16499 # can be detected and how.
16500 cat >conftest.$ac_ext <<_ACEOF
16501 /* confdefs.h. */
16502 _ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 #include <ac_nonexistent.h>
16507 _ACEOF
16508 if { (ac_try="$ac_cpp conftest.$ac_ext"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16512 esac
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16515 ac_status=$?
16516 grep -v '^ *+' conftest.er1 >conftest.err
16517 rm -f conftest.er1
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } >/dev/null && {
16521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16522 test ! -s conftest.err
16523 }; then
16524 # Broken: success on invalid input.
16525 continue
16526 else
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16529
16530 # Passes both tests.
16531 ac_preproc_ok=:
16532 break
16533 fi
16534
16535 rm -f conftest.err conftest.$ac_ext
16536
16537 done
16538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16539 rm -f conftest.err conftest.$ac_ext
16540 if $ac_preproc_ok; then
16541 break
16542 fi
16543
16544 done
16545 ac_cv_prog_CPP=$CPP
16546
16547 fi
16548 CPP=$ac_cv_prog_CPP
16549 else
16550 ac_cv_prog_CPP=$CPP
16551 fi
16552 { echo "$as_me:$LINENO: result: $CPP" >&5
16553 echo "${ECHO_T}$CPP" >&6; }
16554 ac_preproc_ok=false
16555 for ac_c_preproc_warn_flag in '' yes
16556 do
16557 # Use a header file that comes with gcc, so configuring glibc
16558 # with a fresh cross-compiler works.
16559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16560 # <limits.h> exists even on freestanding compilers.
16561 # On the NeXT, cc -E runs the code through the compiler's parser,
16562 # not just through cpp. "Syntax error" is here to catch this case.
16563 cat >conftest.$ac_ext <<_ACEOF
16564 /* confdefs.h. */
16565 _ACEOF
16566 cat confdefs.h >>conftest.$ac_ext
16567 cat >>conftest.$ac_ext <<_ACEOF
16568 /* end confdefs.h. */
16569 #ifdef __STDC__
16570 # include <limits.h>
16571 #else
16572 # include <assert.h>
16573 #endif
16574 Syntax error
16575 _ACEOF
16576 if { (ac_try="$ac_cpp conftest.$ac_ext"
16577 case "(($ac_try" in
16578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16579 *) ac_try_echo=$ac_try;;
16580 esac
16581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16583 ac_status=$?
16584 grep -v '^ *+' conftest.er1 >conftest.err
16585 rm -f conftest.er1
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } >/dev/null && {
16589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16590 test ! -s conftest.err
16591 }; then
16592 :
16593 else
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16596
16597 # Broken: fails on valid input.
16598 continue
16599 fi
16600
16601 rm -f conftest.err conftest.$ac_ext
16602
16603 # OK, works on sane cases. Now check whether nonexistent headers
16604 # can be detected and how.
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 #include <ac_nonexistent.h>
16612 _ACEOF
16613 if { (ac_try="$ac_cpp conftest.$ac_ext"
16614 case "(($ac_try" in
16615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16616 *) ac_try_echo=$ac_try;;
16617 esac
16618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } >/dev/null && {
16626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16627 test ! -s conftest.err
16628 }; then
16629 # Broken: success on invalid input.
16630 continue
16631 else
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16634
16635 # Passes both tests.
16636 ac_preproc_ok=:
16637 break
16638 fi
16639
16640 rm -f conftest.err conftest.$ac_ext
16641
16642 done
16643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16644 rm -f conftest.err conftest.$ac_ext
16645 if $ac_preproc_ok; then
16646 :
16647 else
16648 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16651 See \`config.log' for more details." >&2;}
16652 { (exit 1); exit 1; }; }
16653 fi
16654
16655 ac_ext=c
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16660
16661
16662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16664 if test "${ac_cv_path_GREP+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667 # Extract the first word of "grep ggrep" to use in msg output
16668 if test -z "$GREP"; then
16669 set dummy grep ggrep; ac_prog_name=$2
16670 if test "${ac_cv_path_GREP+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 else
16673 ac_path_GREP_found=false
16674 # Loop through the user's path and test for each of PROGNAME-LIST
16675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16677 do
16678 IFS=$as_save_IFS
16679 test -z "$as_dir" && as_dir=.
16680 for ac_prog in grep ggrep; do
16681 for ac_exec_ext in '' $ac_executable_extensions; do
16682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16684 # Check for GNU ac_path_GREP and select it if it is found.
16685 # Check for GNU $ac_path_GREP
16686 case `"$ac_path_GREP" --version 2>&1` in
16687 *GNU*)
16688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16689 *)
16690 ac_count=0
16691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16692 while :
16693 do
16694 cat "conftest.in" "conftest.in" >"conftest.tmp"
16695 mv "conftest.tmp" "conftest.in"
16696 cp "conftest.in" "conftest.nl"
16697 echo 'GREP' >> "conftest.nl"
16698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16700 ac_count=`expr $ac_count + 1`
16701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16702 # Best one so far, save it but keep looking for a better one
16703 ac_cv_path_GREP="$ac_path_GREP"
16704 ac_path_GREP_max=$ac_count
16705 fi
16706 # 10*(2^10) chars as input seems more than enough
16707 test $ac_count -gt 10 && break
16708 done
16709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16710 esac
16711
16712
16713 $ac_path_GREP_found && break 3
16714 done
16715 done
16716
16717 done
16718 IFS=$as_save_IFS
16719
16720
16721 fi
16722
16723 GREP="$ac_cv_path_GREP"
16724 if test -z "$GREP"; then
16725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16727 { (exit 1); exit 1; }; }
16728 fi
16729
16730 else
16731 ac_cv_path_GREP=$GREP
16732 fi
16733
16734
16735 fi
16736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16738 GREP="$ac_cv_path_GREP"
16739
16740
16741 { echo "$as_me:$LINENO: checking for egrep" >&5
16742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16743 if test "${ac_cv_path_EGREP+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16747 then ac_cv_path_EGREP="$GREP -E"
16748 else
16749 # Extract the first word of "egrep" to use in msg output
16750 if test -z "$EGREP"; then
16751 set dummy egrep; ac_prog_name=$2
16752 if test "${ac_cv_path_EGREP+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755 ac_path_EGREP_found=false
16756 # Loop through the user's path and test for each of PROGNAME-LIST
16757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16759 do
16760 IFS=$as_save_IFS
16761 test -z "$as_dir" && as_dir=.
16762 for ac_prog in egrep; do
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16766 # Check for GNU ac_path_EGREP and select it if it is found.
16767 # Check for GNU $ac_path_EGREP
16768 case `"$ac_path_EGREP" --version 2>&1` in
16769 *GNU*)
16770 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16771 *)
16772 ac_count=0
16773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16774 while :
16775 do
16776 cat "conftest.in" "conftest.in" >"conftest.tmp"
16777 mv "conftest.tmp" "conftest.in"
16778 cp "conftest.in" "conftest.nl"
16779 echo 'EGREP' >> "conftest.nl"
16780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16782 ac_count=`expr $ac_count + 1`
16783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16784 # Best one so far, save it but keep looking for a better one
16785 ac_cv_path_EGREP="$ac_path_EGREP"
16786 ac_path_EGREP_max=$ac_count
16787 fi
16788 # 10*(2^10) chars as input seems more than enough
16789 test $ac_count -gt 10 && break
16790 done
16791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16792 esac
16793
16794
16795 $ac_path_EGREP_found && break 3
16796 done
16797 done
16798
16799 done
16800 IFS=$as_save_IFS
16801
16802
16803 fi
16804
16805 EGREP="$ac_cv_path_EGREP"
16806 if test -z "$EGREP"; then
16807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16809 { (exit 1); exit 1; }; }
16810 fi
16811
16812 else
16813 ac_cv_path_EGREP=$EGREP
16814 fi
16815
16816
16817 fi
16818 fi
16819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16821 EGREP="$ac_cv_path_EGREP"
16822
16823
16824 if test $ac_cv_c_compiler_gnu = yes; then
16825 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16826 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 ac_pattern="Autoconf.*'x'"
16831 cat >conftest.$ac_ext <<_ACEOF
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 #include <sgtty.h>
16838 Autoconf TIOCGETP
16839 _ACEOF
16840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16841 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16842 ac_cv_prog_gcc_traditional=yes
16843 else
16844 ac_cv_prog_gcc_traditional=no
16845 fi
16846 rm -f -r conftest*
16847
16848
16849 if test $ac_cv_prog_gcc_traditional = no; then
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <termio.h>
16857 Autoconf TCGETA
16858 _ACEOF
16859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16860 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16861 ac_cv_prog_gcc_traditional=yes
16862 fi
16863 rm -f -r conftest*
16864
16865 fi
16866 fi
16867 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16868 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16869 if test $ac_cv_prog_gcc_traditional = yes; then
16870 CC="$CC -traditional"
16871 fi
16872 fi
16873
16874
16875 CXXFLAGS=${CXXFLAGS:=}
16876 ac_ext=cpp
16877 ac_cpp='$CXXCPP $CPPFLAGS'
16878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16881 if test -z "$CXX"; then
16882 if test -n "$CCC"; then
16883 CXX=$CCC
16884 else
16885 if test -n "$ac_tool_prefix"; then
16886 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16887 do
16888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16892 if test "${ac_cv_prog_CXX+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 else
16895 if test -n "$CXX"; then
16896 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16897 else
16898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16899 for as_dir in $PATH
16900 do
16901 IFS=$as_save_IFS
16902 test -z "$as_dir" && as_dir=.
16903 for ac_exec_ext in '' $ac_executable_extensions; do
16904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16905 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16907 break 2
16908 fi
16909 done
16910 done
16911 IFS=$as_save_IFS
16912
16913 fi
16914 fi
16915 CXX=$ac_cv_prog_CXX
16916 if test -n "$CXX"; then
16917 { echo "$as_me:$LINENO: result: $CXX" >&5
16918 echo "${ECHO_T}$CXX" >&6; }
16919 else
16920 { echo "$as_me:$LINENO: result: no" >&5
16921 echo "${ECHO_T}no" >&6; }
16922 fi
16923
16924
16925 test -n "$CXX" && break
16926 done
16927 fi
16928 if test -z "$CXX"; then
16929 ac_ct_CXX=$CXX
16930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16931 do
16932 # Extract the first word of "$ac_prog", so it can be a program name with args.
16933 set dummy $ac_prog; ac_word=$2
16934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16936 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 else
16939 if test -n "$ac_ct_CXX"; then
16940 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16941 else
16942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16943 for as_dir in $PATH
16944 do
16945 IFS=$as_save_IFS
16946 test -z "$as_dir" && as_dir=.
16947 for ac_exec_ext in '' $ac_executable_extensions; do
16948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16949 ac_cv_prog_ac_ct_CXX="$ac_prog"
16950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16951 break 2
16952 fi
16953 done
16954 done
16955 IFS=$as_save_IFS
16956
16957 fi
16958 fi
16959 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16960 if test -n "$ac_ct_CXX"; then
16961 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16962 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16963 else
16964 { echo "$as_me:$LINENO: result: no" >&5
16965 echo "${ECHO_T}no" >&6; }
16966 fi
16967
16968
16969 test -n "$ac_ct_CXX" && break
16970 done
16971
16972 if test "x$ac_ct_CXX" = x; then
16973 CXX="g++"
16974 else
16975 case $cross_compiling:$ac_tool_warned in
16976 yes:)
16977 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16978 whose name does not start with the host triplet. If you think this
16979 configuration is useful to you, please write to autoconf@gnu.org." >&5
16980 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16981 whose name does not start with the host triplet. If you think this
16982 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16983 ac_tool_warned=yes ;;
16984 esac
16985 CXX=$ac_ct_CXX
16986 fi
16987 fi
16988
16989 fi
16990 fi
16991 # Provide some information about the compiler.
16992 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16993 ac_compiler=`set X $ac_compile; echo $2`
16994 { (ac_try="$ac_compiler --version >&5"
16995 case "(($ac_try" in
16996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16998 esac
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compiler --version >&5") 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }
17004 { (ac_try="$ac_compiler -v >&5"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17008 esac
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compiler -v >&5") 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (ac_try="$ac_compiler -V >&5"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17018 esac
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compiler -V >&5") 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }
17024
17025 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036
17037 int
17038 main ()
17039 {
17040 #ifndef __GNUC__
17041 choke me
17042 #endif
17043
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (ac_try="$ac_compile"
17050 case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17053 esac
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_compile") 2>conftest.er1
17056 ac_status=$?
17057 grep -v '^ *+' conftest.er1 >conftest.err
17058 rm -f conftest.er1
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } && {
17062 test -z "$ac_cxx_werror_flag" ||
17063 test ! -s conftest.err
17064 } && test -s conftest.$ac_objext; then
17065 ac_compiler_gnu=yes
17066 else
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17069
17070 ac_compiler_gnu=no
17071 fi
17072
17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17075
17076 fi
17077 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17078 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17079 GXX=`test $ac_compiler_gnu = yes && echo yes`
17080 ac_test_CXXFLAGS=${CXXFLAGS+set}
17081 ac_save_CXXFLAGS=$CXXFLAGS
17082 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17083 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17084 if test "${ac_cv_prog_cxx_g+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17088 ac_cxx_werror_flag=yes
17089 ac_cv_prog_cxx_g=no
17090 CXXFLAGS="-g"
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097
17098 int
17099 main ()
17100 {
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
17106 rm -f conftest.$ac_objext
17107 if { (ac_try="$ac_compile"
17108 case "(($ac_try" in
17109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17111 esac
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_compile") 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } && {
17120 test -z "$ac_cxx_werror_flag" ||
17121 test ! -s conftest.err
17122 } && test -s conftest.$ac_objext; then
17123 ac_cv_prog_cxx_g=yes
17124 else
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17127
17128 CXXFLAGS=""
17129 cat >conftest.$ac_ext <<_ACEOF
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135
17136 int
17137 main ()
17138 {
17139
17140 ;
17141 return 0;
17142 }
17143 _ACEOF
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17149 esac
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17152 ac_status=$?
17153 grep -v '^ *+' conftest.er1 >conftest.err
17154 rm -f conftest.er1
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_cxx_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.$ac_objext; then
17161 :
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17167 CXXFLAGS="-g"
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174
17175 int
17176 main ()
17177 {
17178
17179 ;
17180 return 0;
17181 }
17182 _ACEOF
17183 rm -f conftest.$ac_objext
17184 if { (ac_try="$ac_compile"
17185 case "(($ac_try" in
17186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17187 *) ac_try_echo=$ac_try;;
17188 esac
17189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17190 (eval "$ac_compile") 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } && {
17197 test -z "$ac_cxx_werror_flag" ||
17198 test ! -s conftest.err
17199 } && test -s conftest.$ac_objext; then
17200 ac_cv_prog_cxx_g=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205
17206 fi
17207
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 fi
17210
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 fi
17213
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17216 fi
17217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17219 if test "$ac_test_CXXFLAGS" = set; then
17220 CXXFLAGS=$ac_save_CXXFLAGS
17221 elif test $ac_cv_prog_cxx_g = yes; then
17222 if test "$GXX" = yes; then
17223 CXXFLAGS="-g -O2"
17224 else
17225 CXXFLAGS="-g"
17226 fi
17227 else
17228 if test "$GXX" = yes; then
17229 CXXFLAGS="-O2"
17230 else
17231 CXXFLAGS=
17232 fi
17233 fi
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17239
17240
17241
17242
17243
17244
17245
17246
17247 ac_ext=cpp
17248 ac_cpp='$CXXCPP $CPPFLAGS'
17249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17252
17253 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17254 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17255 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 else
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264
17265 int
17266 main ()
17267 {
17268
17269 #ifndef __INTEL_COMPILER
17270 choke me
17271 #endif
17272
17273 ;
17274 return 0;
17275 }
17276 _ACEOF
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17282 esac
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_cxx_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.$ac_objext; then
17294 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17295 else
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.$ac_ext >&5
17298
17299 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17300
17301 fi
17302
17303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304
17305
17306 fi
17307 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17308 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17309 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17310 :; INTELCXX=yes
17311 else
17312 :;
17313 fi
17314 ac_ext=c
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17319
17320
17321
17322
17323 if test "$INTELCXX" = "yes"; then
17324
17325
17326 ac_ext=cpp
17327 ac_cpp='$CXXCPP $CPPFLAGS'
17328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17331
17332 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17333 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17334 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 else
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343
17344 int
17345 main ()
17346 {
17347
17348 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17349 choke me
17350 #endif
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 rm -f conftest.$ac_objext
17357 if { (ac_try="$ac_compile"
17358 case "(($ac_try" in
17359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17360 *) ac_try_echo=$ac_try;;
17361 esac
17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17363 (eval "$ac_compile") 2>conftest.er1
17364 ac_status=$?
17365 grep -v '^ *+' conftest.er1 >conftest.err
17366 rm -f conftest.er1
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } && {
17370 test -z "$ac_cxx_werror_flag" ||
17371 test ! -s conftest.err
17372 } && test -s conftest.$ac_objext; then
17373 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17379
17380 fi
17381
17382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17383
17384
17385 fi
17386 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17388 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17389 :; INTELCXX8=yes
17390 else
17391 :;
17392 fi
17393 ac_ext=c
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17398
17399
17400
17401
17402
17403 ac_ext=cpp
17404 ac_cpp='$CXXCPP $CPPFLAGS'
17405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17408
17409 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17410 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17411 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420
17421 int
17422 main ()
17423 {
17424
17425 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17426 choke me
17427 #endif
17428
17429 ;
17430 return 0;
17431 }
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (ac_try="$ac_compile"
17435 case "(($ac_try" in
17436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17437 *) ac_try_echo=$ac_try;;
17438 esac
17439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17440 (eval "$ac_compile") 2>conftest.er1
17441 ac_status=$?
17442 grep -v '^ *+' conftest.er1 >conftest.err
17443 rm -f conftest.er1
17444 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } && {
17447 test -z "$ac_cxx_werror_flag" ||
17448 test ! -s conftest.err
17449 } && test -s conftest.$ac_objext; then
17450 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17456
17457 fi
17458
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460
17461
17462 fi
17463 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17464 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17465 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17466 :; INTELCXX10=yes
17467 else
17468 :;
17469 fi
17470 ac_ext=c
17471 ac_cpp='$CPP $CPPFLAGS'
17472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17475
17476
17477
17478 fi
17479
17480 if test "x$GCXX" != "xyes"; then
17481 if test "xCXX" = "xC"; then
17482 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17483 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17484 if test "${bakefile_cv_c_exto+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 else
17487 cat >conftest.$ac_ext <<_ACEOF
17488 /* confdefs.h. */
17489 _ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493
17494 int
17495 main ()
17496 {
17497
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 rm -f conftest.$ac_objext conftest.$ac_ext.o
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; then
17508 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17509 case $ac_file in
17510 conftest.$ac_ext.o)
17511 bakefile_cv_c_exto="-ext o"
17512 ;;
17513 *)
17514 ;;
17515 esac
17516 done
17517 else
17518 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17519 See \`config.log' for more details." >&5
17520 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17521 See \`config.log' for more details." >&2;}
17522 { (exit 1); exit 1; }; }
17523
17524 fi
17525
17526 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17527
17528 fi
17529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17530 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17531 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17532 if test "c" = "c"; then
17533 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17534 fi
17535 if test "c" = "cxx"; then
17536 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17537 fi
17538 fi
17539
17540 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17541 unset ac_cv_prog_cc_g
17542 ac_test_CFLAGS=${CFLAGS+set}
17543 ac_save_CFLAGS=$CFLAGS
17544 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17545 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_cc_g+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549 ac_save_c_werror_flag=$ac_c_werror_flag
17550 ac_c_werror_flag=yes
17551 ac_cv_prog_cc_g=no
17552 CFLAGS="-g"
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559
17560 int
17561 main ()
17562 {
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_g=yes
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17589
17590 CFLAGS=""
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597
17598 int
17599 main ()
17600 {
17601
17602 ;
17603 return 0;
17604 }
17605 _ACEOF
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17610 *) ac_try_echo=$ac_try;;
17611 esac
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17614 ac_status=$?
17615 grep -v '^ *+' conftest.er1 >conftest.err
17616 rm -f conftest.er1
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.$ac_objext; then
17623 :
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17627
17628 ac_c_werror_flag=$ac_save_c_werror_flag
17629 CFLAGS="-g"
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636
17637 int
17638 main ()
17639 {
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (ac_try="$ac_compile"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_compile") 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest.$ac_objext; then
17662 ac_cv_prog_cc_g=yes
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667
17668 fi
17669
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671 fi
17672
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 fi
17675
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 ac_c_werror_flag=$ac_save_c_werror_flag
17678 fi
17679 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17680 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17681 if test "$ac_test_CFLAGS" = set; then
17682 CFLAGS=$ac_save_CFLAGS
17683 elif test $ac_cv_prog_cc_g = yes; then
17684 if test "$GCC" = yes; then
17685 CFLAGS="-g -O2"
17686 else
17687 CFLAGS="-g"
17688 fi
17689 else
17690 if test "$GCC" = yes; then
17691 CFLAGS="-O2"
17692 else
17693 CFLAGS=
17694 fi
17695 fi
17696 fi
17697 fi
17698
17699 case `uname -s` in
17700 AIX*)
17701
17702
17703 ac_ext=cpp
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17708
17709 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17710 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17711 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720
17721 int
17722 main ()
17723 {
17724
17725 #ifndef __xlC__
17726 choke me
17727 #endif
17728
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738 esac
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_cxx_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 bakefile_cv_cxx_compiler___xlC__=yes
17751 else
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17754
17755 bakefile_cv_cxx_compiler___xlC__=no
17756
17757 fi
17758
17759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760
17761
17762 fi
17763 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17764 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17765 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17766 :; XLCXX=yes
17767 else
17768 :;
17769 fi
17770 ac_ext=c
17771 ac_cpp='$CPP $CPPFLAGS'
17772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775
17776
17777
17778 ;;
17779
17780 Darwin)
17781
17782
17783 ac_ext=cpp
17784 ac_cpp='$CXXCPP $CPPFLAGS'
17785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17788
17789 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17790 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17791 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800
17801 int
17802 main ()
17803 {
17804
17805 #ifndef __MWERKS__
17806 choke me
17807 #endif
17808
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_cxx_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 bakefile_cv_cxx_compiler___MWERKS__=yes
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 bakefile_cv_cxx_compiler___MWERKS__=no
17836
17837 fi
17838
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841
17842 fi
17843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17845 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17846 :; MWCXX=yes
17847 else
17848 :;
17849 fi
17850 ac_ext=c
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
17856
17857
17858 if test "$MWCXX" != "yes"; then
17859
17860
17861 ac_ext=cpp
17862 ac_cpp='$CXXCPP $CPPFLAGS'
17863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17866
17867 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17868 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17869 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 cat >conftest.$ac_ext <<_ACEOF
17873 /* confdefs.h. */
17874 _ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878
17879 int
17880 main ()
17881 {
17882
17883 #ifndef __xlC__
17884 choke me
17885 #endif
17886
17887 ;
17888 return 0;
17889 }
17890 _ACEOF
17891 rm -f conftest.$ac_objext
17892 if { (ac_try="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17896 esac
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17899 ac_status=$?
17900 grep -v '^ *+' conftest.er1 >conftest.err
17901 rm -f conftest.er1
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_cxx_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 bakefile_cv_cxx_compiler___xlC__=yes
17909 else
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17912
17913 bakefile_cv_cxx_compiler___xlC__=no
17914
17915 fi
17916
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918
17919
17920 fi
17921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17922 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17923 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17924 :; XLCXX=yes
17925 else
17926 :;
17927 fi
17928 ac_ext=c
17929 ac_cpp='$CPP $CPPFLAGS'
17930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17933
17934
17935
17936 fi
17937 ;;
17938
17939 IRIX*)
17940
17941
17942 ac_ext=cpp
17943 ac_cpp='$CXXCPP $CPPFLAGS'
17944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17947
17948 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17949 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17950 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17952 else
17953 cat >conftest.$ac_ext <<_ACEOF
17954 /* confdefs.h. */
17955 _ACEOF
17956 cat confdefs.h >>conftest.$ac_ext
17957 cat >>conftest.$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959
17960 int
17961 main ()
17962 {
17963
17964 #ifndef _SGI_COMPILER_VERSION
17965 choke me
17966 #endif
17967
17968 ;
17969 return 0;
17970 }
17971 _ACEOF
17972 rm -f conftest.$ac_objext
17973 if { (ac_try="$ac_compile"
17974 case "(($ac_try" in
17975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17976 *) ac_try_echo=$ac_try;;
17977 esac
17978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17979 (eval "$ac_compile") 2>conftest.er1
17980 ac_status=$?
17981 grep -v '^ *+' conftest.er1 >conftest.err
17982 rm -f conftest.er1
17983 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } && {
17986 test -z "$ac_cxx_werror_flag" ||
17987 test ! -s conftest.err
17988 } && test -s conftest.$ac_objext; then
17989 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17990 else
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17993
17994 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17995
17996 fi
17997
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999
18000
18001 fi
18002 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18003 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18004 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18005 :; SGICXX=yes
18006 else
18007 :;
18008 fi
18009 ac_ext=c
18010 ac_cpp='$CPP $CPPFLAGS'
18011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18014
18015
18016
18017 ;;
18018
18019 Linux*)
18020 if test "$INTELCXX" != "yes"; then
18021
18022
18023 ac_ext=cpp
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18028
18029 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18030 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18031 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h. */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040
18041 int
18042 main ()
18043 {
18044
18045 #ifndef __SUNPRO_CC
18046 choke me
18047 #endif
18048
18049 ;
18050 return 0;
18051 }
18052 _ACEOF
18053 rm -f conftest.$ac_objext
18054 if { (ac_try="$ac_compile"
18055 case "(($ac_try" in
18056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18057 *) ac_try_echo=$ac_try;;
18058 esac
18059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18060 (eval "$ac_compile") 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } && {
18067 test -z "$ac_cxx_werror_flag" ||
18068 test ! -s conftest.err
18069 } && test -s conftest.$ac_objext; then
18070 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18074
18075 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18076
18077 fi
18078
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080
18081
18082 fi
18083 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18085 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18086 :; SUNCXX=yes
18087 else
18088 :;
18089 fi
18090 ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18095
18096
18097
18098 fi
18099 ;;
18100
18101 HP-UX*)
18102
18103
18104 ac_ext=cpp
18105 ac_cpp='$CXXCPP $CPPFLAGS'
18106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18109
18110 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18111 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18112 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 else
18115 cat >conftest.$ac_ext <<_ACEOF
18116 /* confdefs.h. */
18117 _ACEOF
18118 cat confdefs.h >>conftest.$ac_ext
18119 cat >>conftest.$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121
18122 int
18123 main ()
18124 {
18125
18126 #ifndef __HP_aCC
18127 choke me
18128 #endif
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 bakefile_cv_cxx_compiler___HP_aCC=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156 bakefile_cv_cxx_compiler___HP_aCC=no
18157
18158 fi
18159
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161
18162
18163 fi
18164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18166 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18167 :; HPCXX=yes
18168 else
18169 :;
18170 fi
18171 ac_ext=c
18172 ac_cpp='$CPP $CPPFLAGS'
18173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176
18177
18178
18179 ;;
18180
18181 OSF1)
18182
18183
18184 ac_ext=cpp
18185 ac_cpp='$CXXCPP $CPPFLAGS'
18186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189
18190 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18191 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18192 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 else
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201
18202 int
18203 main ()
18204 {
18205
18206 #ifndef __DECCXX
18207 choke me
18208 #endif
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18219 esac
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18222 ac_status=$?
18223 grep -v '^ *+' conftest.er1 >conftest.err
18224 rm -f conftest.er1
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_cxx_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.$ac_objext; then
18231 bakefile_cv_cxx_compiler___DECCXX=yes
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 bakefile_cv_cxx_compiler___DECCXX=no
18237
18238 fi
18239
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241
18242
18243 fi
18244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18246 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18247 :; COMPAQCXX=yes
18248 else
18249 :;
18250 fi
18251 ac_ext=c
18252 ac_cpp='$CPP $CPPFLAGS'
18253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18256
18257
18258
18259 ;;
18260
18261 SunOS)
18262
18263
18264 ac_ext=cpp
18265 ac_cpp='$CXXCPP $CPPFLAGS'
18266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18269
18270 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18271 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18272 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18273 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275 cat >conftest.$ac_ext <<_ACEOF
18276 /* confdefs.h. */
18277 _ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281
18282 int
18283 main ()
18284 {
18285
18286 #ifndef __SUNPRO_CC
18287 choke me
18288 #endif
18289
18290 ;
18291 return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext
18295 if { (ac_try="$ac_compile"
18296 case "(($ac_try" in
18297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18298 *) ac_try_echo=$ac_try;;
18299 esac
18300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 (eval "$ac_compile") 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } && {
18308 test -z "$ac_cxx_werror_flag" ||
18309 test ! -s conftest.err
18310 } && test -s conftest.$ac_objext; then
18311 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18312 else
18313 echo "$as_me: failed program was:" >&5
18314 sed 's/^/| /' conftest.$ac_ext >&5
18315
18316 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18317
18318 fi
18319
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321
18322
18323 fi
18324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18326 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18327 :; SUNCXX=yes
18328 else
18329 :;
18330 fi
18331 ac_ext=c
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18336
18337
18338
18339 ;;
18340 esac
18341 fi
18342
18343
18344
18345 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18346 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18347 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18348 { (exit 1); exit 1; }; }
18349 fi
18350
18351 if test "x$SUNCXX" != xyes; then
18352 if test -n "$ac_tool_prefix"; then
18353 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18354 set dummy ${ac_tool_prefix}ar; ac_word=$2
18355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18357 if test "${ac_cv_prog_AR+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 else
18360 if test -n "$AR"; then
18361 ac_cv_prog_AR="$AR" # Let the user override the test.
18362 else
18363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18364 for as_dir in $PATH
18365 do
18366 IFS=$as_save_IFS
18367 test -z "$as_dir" && as_dir=.
18368 for ac_exec_ext in '' $ac_executable_extensions; do
18369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18370 ac_cv_prog_AR="${ac_tool_prefix}ar"
18371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18372 break 2
18373 fi
18374 done
18375 done
18376 IFS=$as_save_IFS
18377
18378 fi
18379 fi
18380 AR=$ac_cv_prog_AR
18381 if test -n "$AR"; then
18382 { echo "$as_me:$LINENO: result: $AR" >&5
18383 echo "${ECHO_T}$AR" >&6; }
18384 else
18385 { echo "$as_me:$LINENO: result: no" >&5
18386 echo "${ECHO_T}no" >&6; }
18387 fi
18388
18389
18390 fi
18391 if test -z "$ac_cv_prog_AR"; then
18392 ac_ct_AR=$AR
18393 # Extract the first word of "ar", so it can be a program name with args.
18394 set dummy ar; ac_word=$2
18395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18397 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 else
18400 if test -n "$ac_ct_AR"; then
18401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18402 else
18403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18404 for as_dir in $PATH
18405 do
18406 IFS=$as_save_IFS
18407 test -z "$as_dir" && as_dir=.
18408 for ac_exec_ext in '' $ac_executable_extensions; do
18409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18410 ac_cv_prog_ac_ct_AR="ar"
18411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18412 break 2
18413 fi
18414 done
18415 done
18416 IFS=$as_save_IFS
18417
18418 fi
18419 fi
18420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18421 if test -n "$ac_ct_AR"; then
18422 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18423 echo "${ECHO_T}$ac_ct_AR" >&6; }
18424 else
18425 { echo "$as_me:$LINENO: result: no" >&5
18426 echo "${ECHO_T}no" >&6; }
18427 fi
18428
18429 if test "x$ac_ct_AR" = x; then
18430 AR=""
18431 else
18432 case $cross_compiling:$ac_tool_warned in
18433 yes:)
18434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18435 whose name does not start with the host triplet. If you think this
18436 configuration is useful to you, please write to autoconf@gnu.org." >&5
18437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18438 whose name does not start with the host triplet. If you think this
18439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18440 ac_tool_warned=yes ;;
18441 esac
18442 AR=$ac_ct_AR
18443 fi
18444 else
18445 AR="$ac_cv_prog_AR"
18446 fi
18447
18448 if test "x$AR" = "x" ; then
18449 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18450 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18451 { (exit 1); exit 1; }; }
18452 fi
18453 fi
18454
18455
18456 if test "$wxUSE_MAC" = 1; then
18457
18458 retest_macosx_linking=no
18459
18460 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18461 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18462 # Implicitly turn on the new --with-macosx-sdk using the default
18463 # SDK which provides the behavior this option has always had.
18464 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18465 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18466 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18467 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18468 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18469 wxUSE_MACOSX_SDK=yes
18470 fi
18471 else
18472 # Complain to user if he specified an argument to --enable-universal_binary
18473 # and also 1) specified --with-macosx-sdk using the default (yes) or
18474 # 2) specified --with-macosx-sdk using a path or 3) specified
18475 # --without-macosx-sdk (no).
18476 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18477 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18478 See \`config.log' for more details." >&5
18479 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18480 See \`config.log' for more details." >&2;}
18481 { (exit 1); exit 1; }; }
18482 else
18483 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18484 # special-case the empty string because the below test simply
18485 # converts "no" to the empty string anyway.
18486 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18487 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18488 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18489 fi
18490 fi
18491 OSX_UNIV_OPTS="-arch ppc -arch i386"
18492 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18493 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18494 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18495 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18496 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18497 retest_macosx_linking=yes
18498
18499 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18500 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18501 bk_use_pch=no
18502 fi
18503
18504 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18505 wxUSE_MACOSX_SDK=
18506 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18507 # TODO: Search for most recent SDK and use it.
18508 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18509 fi
18510
18511
18512 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18513 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18514 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18515 if ! test -d "$wxUSE_MACOSX_SDK"; then
18516 { { echo "$as_me:$LINENO: error: not found
18517 See \`config.log' for more details." >&5
18518 echo "$as_me: error: not found
18519 See \`config.log' for more details." >&2;}
18520 { (exit 1); exit 1; }; }
18521 else
18522 { echo "$as_me:$LINENO: result: exists" >&5
18523 echo "${ECHO_T}exists" >&6; }
18524 fi
18525 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18526 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18527 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18528 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18529 retest_macosx_linking=yes
18530 fi
18531
18532 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18533 wxUSE_MACOSX_VERSION_MIN=
18534 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18535 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18536 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18537 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18538
18539 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/'`
18540
18541 # If that failed, try again with the new key
18542 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18543
18544 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/'`
18545
18546 fi
18547
18548 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18549 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18550 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18551 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18552 else
18553 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18554 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18555 wxUSE_MACOSX_VERSION_MIN=
18556 fi
18557 else
18558 wxUSE_MACOSX_VERSION_MIN=
18559 fi
18560 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18561 for ac_prog in sw_vers
18562 do
18563 # Extract the first word of "$ac_prog", so it can be a program name with args.
18564 set dummy $ac_prog; ac_word=$2
18565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18567 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 else
18570 if test -n "$OSX_SW_VERS"; then
18571 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18572 else
18573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18574 for as_dir in $PATH
18575 do
18576 IFS=$as_save_IFS
18577 test -z "$as_dir" && as_dir=.
18578 for ac_exec_ext in '' $ac_executable_extensions; do
18579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18580 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18582 break 2
18583 fi
18584 done
18585 done
18586 IFS=$as_save_IFS
18587
18588 fi
18589 fi
18590 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18591 if test -n "$OSX_SW_VERS"; then
18592 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18593 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18594 else
18595 { echo "$as_me:$LINENO: result: no" >&5
18596 echo "${ECHO_T}no" >&6; }
18597 fi
18598
18599
18600 test -n "$OSX_SW_VERS" && break
18601 done
18602
18603 if test "$OSX_SW_VERS" != ""; then
18604 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18605 else
18606 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18607 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18608 OSX_VERSION="10.4"
18609 fi
18610
18611 case "$OSX_VERSION" in
18612 10.4* )
18613 wxUSE_MACOSX_VERSION_MIN=10.4
18614 ;;
18615
18616 * )
18617 if test "$wxUSE_OSX_CARBON" = 1; then
18618 # otherwise configure stops on leopard for universal_binary
18619 wxUSE_MACOSX_VERSION_MIN=10.4
18620 else
18621 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18622 wxUSE_MACOSX_VERSION_MIN=10.5
18623 fi
18624 ;;
18625 esac
18626 fi
18627
18628 NEEDS_GCC40="no"
18629 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18630 NEEDS_GCC40="yes"
18631 fi
18632
18633 if test "$wxUSE_OSX_CARBON" = 1; then
18634 NEEDS_GCC40="yes"
18635 fi
18636
18637 if test "x$NEEDS_GCC40" == "xyes"; then
18638 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18639 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18640 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18641 if test "x$CC" = "xgcc"; then
18642 CCVERSION=`$CC --version | grep 4.[2-9].`
18643 if test "x$CCVERSION" != "x"; then
18644 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18645 CC="/usr/bin/gcc-4.0"
18646 fi
18647 fi
18648
18649 if test "x$CXX" = "xg++"; then
18650 CCVERSION=`$CXX --version | grep 4.[2-9].`
18651 if test "x$CCVERSION" != "x"; then
18652 CXX="/usr/bin/g++-4.0"
18653 fi
18654 fi
18655 fi
18656
18657 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18658 if test "$wxUSE_OSX_IPHONE" = 1; then
18659 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18660 else
18661 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18662 fi
18663 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18664 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18665 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18666 retest_macosx_linking=yes
18667 fi
18668
18669 if test "x$retest_macosx_linking" = "xyes"; then
18670 ac_ext=c
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18675
18676 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18677 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18678 cat >conftest.$ac_ext <<_ACEOF
18679 /* confdefs.h. */
18680 _ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684
18685 int
18686 main ()
18687 {
18688
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 rm -f conftest.$ac_objext conftest$ac_exeext
18694 if { (ac_try="$ac_link"
18695 case "(($ac_try" in
18696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18697 *) ac_try_echo=$ac_try;;
18698 esac
18699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_link") 2>conftest.er1
18701 ac_status=$?
18702 grep -v '^ *+' conftest.er1 >conftest.err
18703 rm -f conftest.er1
18704 cat conftest.err >&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); } && {
18707 test -z "$ac_c_werror_flag" ||
18708 test ! -s conftest.err
18709 } && test -s conftest$ac_exeext &&
18710 $as_test_x conftest$ac_exeext; then
18711 { echo "$as_me:$LINENO: result: yes" >&5
18712 echo "${ECHO_T}yes" >&6; }
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18716
18717 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18718 See \`config.log' for more details." >&5
18719 echo "$as_me: error: no. Try a different SDK
18720 See \`config.log' for more details." >&2;}
18721 { (exit 1); exit 1; }; }; exit 1
18722 fi
18723
18724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18725 conftest$ac_exeext conftest.$ac_ext
18726 ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733 ac_ext=cpp
18734 ac_cpp='$CXXCPP $CPPFLAGS'
18735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18738
18739 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18740 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747
18748 int
18749 main ()
18750 {
18751
18752 ;
18753 return 0;
18754 }
18755 _ACEOF
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (ac_try="$ac_link"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18761 esac
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_link") 2>conftest.er1
18764 ac_status=$?
18765 grep -v '^ *+' conftest.er1 >conftest.err
18766 rm -f conftest.er1
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } && {
18770 test -z "$ac_cxx_werror_flag" ||
18771 test ! -s conftest.err
18772 } && test -s conftest$ac_exeext &&
18773 $as_test_x conftest$ac_exeext; then
18774 { echo "$as_me:$LINENO: result: yes" >&5
18775 echo "${ECHO_T}yes" >&6; }
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18779
18780 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18781 See \`config.log' for more details." >&5
18782 echo "$as_me: error: no. Try a different SDK
18783 See \`config.log' for more details." >&2;}
18784 { (exit 1); exit 1; }; }; exit 1
18785 fi
18786
18787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18788 conftest$ac_exeext conftest.$ac_ext
18789 ac_ext=c
18790 ac_cpp='$CPP $CPPFLAGS'
18791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18794
18795 fi
18796
18797 fi
18798 case "${host}" in
18799
18800 *-*-darwin* )
18801 INSTALL_PROGRAM="cp -fp"
18802 INSTALL_DATA="cp -fp"
18803 ;;
18804 *)
18805 ;;
18806 esac
18807
18808
18809 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18810 CXXFLAGS="-qunique $CXXFLAGS"
18811 fi
18812
18813 case "${host}" in
18814 powerpc-*-darwin* )
18815 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18816 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823
18824 int
18825 main ()
18826 {
18827 #ifndef __POWERPC__
18828 choke me for lack of PowerPC
18829 #endif
18830
18831 ;
18832 return 0;
18833 }
18834 _ACEOF
18835 rm -f conftest.$ac_objext
18836 if { (ac_try="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18840 esac
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18843 ac_status=$?
18844 grep -v '^ *+' conftest.er1 >conftest.err
18845 rm -f conftest.er1
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.$ac_objext; then
18852 { echo "$as_me:$LINENO: result: yes" >&5
18853 echo "${ECHO_T}yes" >&6; }
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18857
18858 { echo "$as_me:$LINENO: result: no" >&5
18859 echo "${ECHO_T}no" >&6; }
18860 cat >>confdefs.h <<\_ACEOF
18861 #define __POWERPC__ 1
18862 _ACEOF
18863
18864
18865 fi
18866
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 ;;
18869 esac
18870
18871 case "${host}" in
18872 *-*-darwin* )
18873 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18874 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <CoreFoundation/CFBase.h>
18882
18883 int
18884 main ()
18885 {
18886
18887 ;
18888 return 0;
18889 }
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (ac_try="$ac_compile"
18893 case "(($ac_try" in
18894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18895 *) ac_try_echo=$ac_try;;
18896 esac
18897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18898 (eval "$ac_compile") 2>conftest.er1
18899 ac_status=$?
18900 grep -v '^ *+' conftest.er1 >conftest.err
18901 rm -f conftest.er1
18902 cat conftest.err >&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && {
18905 test -z "$ac_c_werror_flag" ||
18906 test ! -s conftest.err
18907 } && test -s conftest.$ac_objext; then
18908 { echo "$as_me:$LINENO: result: yes" >&5
18909 echo "${ECHO_T}yes" >&6; }
18910 else
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.$ac_ext >&5
18913
18914 { echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6; }
18916 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18917 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #define __CF_USE_FRAMEWORK_INCLUDES__
18925 #include <CoreFoundation/CFBase.h>
18926
18927 int
18928 main ()
18929 {
18930
18931 ;
18932 return 0;
18933 }
18934 _ACEOF
18935 rm -f conftest.$ac_objext
18936 if { (ac_try="$ac_compile"
18937 case "(($ac_try" in
18938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;;
18940 esac
18941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18942 (eval "$ac_compile") 2>conftest.er1
18943 ac_status=$?
18944 grep -v '^ *+' conftest.er1 >conftest.err
18945 rm -f conftest.er1
18946 cat conftest.err >&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } && {
18949 test -z "$ac_c_werror_flag" ||
18950 test ! -s conftest.err
18951 } && test -s conftest.$ac_objext; then
18952 { echo "$as_me:$LINENO: result: yes" >&5
18953 echo "${ECHO_T}yes" >&6; }
18954 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18955 else
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.$ac_ext >&5
18958
18959 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18960 See \`config.log' for more details." >&5
18961 echo "$as_me: error: no. CoreFoundation not available.
18962 See \`config.log' for more details." >&2;}
18963 { (exit 1); exit 1; }; }
18964
18965 fi
18966
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968
18969
18970 fi
18971
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18973 ;;
18974 esac
18975
18976 wants_win32=0
18977 doesnt_want_win32=0
18978 case "${host}" in
18979 *-*-cygwin*)
18980 if test "$wxUSE_MSW" = 1 ; then
18981 wants_win32=1
18982 else
18983 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18984 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18985 if test "${wx_cv_nocygwin+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18987 else
18988
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995
18996 int
18997 main ()
18998 {
18999
19000 #ifdef __MINGW32__
19001 choke me
19002 #endif
19003
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 wx_cv_nocygwin=no
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030 wx_cv_nocygwin=yes
19031
19032 fi
19033
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035
19036
19037 fi
19038 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19039 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19040
19041 if test "$wx_cv_nocygwin" = "yes"; then
19042 wants_win32=1
19043 else
19044 doesnt_want_win32=1
19045 fi
19046 fi
19047 if test "$wants_win32" = 1 ; then
19048 BAKEFILE_FORCE_PLATFORM=win32
19049 fi
19050 ;;
19051 *-*-mingw*)
19052 wants_win32=1
19053 ;;
19054 esac
19055
19056 if test "$wxUSE_WINE" = "yes"; then
19057 wants_win32=1
19058 LDFLAGS_GUI="-mwindows"
19059 fi
19060
19061 if test "$wants_win32" = 1 ; then
19062 USE_UNIX=0
19063 USE_WIN32=1
19064 cat >>confdefs.h <<\_ACEOF
19065 #define __WIN32__ 1
19066 _ACEOF
19067
19068 cat >>confdefs.h <<\_ACEOF
19069 #define __WIN95__ 1
19070 _ACEOF
19071
19072 cat >>confdefs.h <<\_ACEOF
19073 #define __WINDOWS__ 1
19074 _ACEOF
19075
19076 cat >>confdefs.h <<\_ACEOF
19077 #define __GNUWIN32__ 1
19078 _ACEOF
19079
19080 cat >>confdefs.h <<\_ACEOF
19081 #define STRICT 1
19082 _ACEOF
19083
19084 fi
19085 if test "$doesnt_want_win32" = 1 ; then
19086 USE_UNIX=1
19087 USE_WIN32=0
19088 fi
19089
19090 if test "$USE_UNIX" = 1 ; then
19091 wxUSE_UNIX=yes
19092 cat >>confdefs.h <<\_ACEOF
19093 #define __UNIX__ 1
19094 _ACEOF
19095
19096 fi
19097
19098 case "${host}" in
19099 *-pc-os2_emx | *-pc-os2-emx )
19100 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19101 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19102 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19103 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19104 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 else
19106 ac_check_lib_save_LIBS=$LIBS
19107 LIBS="-lcExt $LIBS"
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114
19115 /* Override any GCC internal prototype to avoid an error.
19116 Use char because int might match the return type of a GCC
19117 builtin and then its argument prototype would still apply. */
19118 #ifdef __cplusplus
19119 extern "C"
19120 #endif
19121 char drand48 ();
19122 int
19123 main ()
19124 {
19125 return drand48 ();
19126 ;
19127 return 0;
19128 }
19129 _ACEOF
19130 rm -f conftest.$ac_objext conftest$ac_exeext
19131 if { (ac_try="$ac_link"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19135 esac
19136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_link") 2>conftest.er1
19138 ac_status=$?
19139 grep -v '^ *+' conftest.er1 >conftest.err
19140 rm -f conftest.er1
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest$ac_exeext &&
19147 $as_test_x conftest$ac_exeext; then
19148 ac_cv_lib_cExt_drand48=yes
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 ac_cv_lib_cExt_drand48=no
19154 fi
19155
19156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19157 conftest$ac_exeext conftest.$ac_ext
19158 LIBS=$ac_check_lib_save_LIBS
19159 fi
19160 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19161 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19162 if test $ac_cv_lib_cExt_drand48 = yes; then
19163 LIBS="$LIBS -lcExt"
19164 fi
19165
19166 else
19167 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19168 fi
19169 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19170 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19171 if test "${wx_cv_gccversion+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174
19175 if test "$cross_compiling" = yes; then
19176 wx_cv_gccversion="EMX2"
19177
19178 else
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185
19186 #include <stdio.h>
19187
19188 int main()
19189 {
19190 FILE *f=fopen("conftestval", "w");
19191 if (!f) exit(1);
19192 fprintf(f,
19193 #if (__GNUC__ < 3)
19194 "EMX2"
19195 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19196 "EMX3"
19197 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19198 "Innotek5"
19199 #else
19200 "Innotek6"
19201 #endif
19202 );
19203 exit(0);
19204 }
19205
19206 _ACEOF
19207 rm -f conftest$ac_exeext
19208 if { (ac_try="$ac_link"
19209 case "(($ac_try" in
19210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19211 *) ac_try_echo=$ac_try;;
19212 esac
19213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19214 (eval "$ac_link") 2>&5
19215 ac_status=$?
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19218 { (case "(($ac_try" in
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19221 esac
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_try") 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 wx_cv_gccversion=`cat conftestval`
19228 else
19229 echo "$as_me: program exited with status $ac_status" >&5
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19232
19233 ( exit $ac_status )
19234 wx_cv_gccversion="EMX2"
19235 fi
19236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19237 fi
19238
19239
19240
19241 fi
19242 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19243 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19244 if test "$wx_cv_gccversion" = "EMX2"; then
19245 LIBS="$LIBS -lstdcpp"
19246 LDFLAGS="$LDFLAGS -Zsysv-signals"
19247 else
19248 if test "$wx_cv_gccversion" = "EMX3"; then
19249 LIBS="$LIBS -lstdcxx -lgcc"
19250 LDFLAGS="$LDFLAGS -Zsysv-signals"
19251 else
19252 LIBS="$LIBS -lstdc++"
19253 fi
19254 fi
19255 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19256 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19257 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19258 wxUSE_OMF=yes
19259 enable_omf=yes
19260 fi
19261 ;;
19262 *)
19263
19264 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19265 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19266 if test "${ac_cv_string_strcasecmp+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 else
19269
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276
19277 #include <string.h>
19278
19279 int
19280 main ()
19281 {
19282
19283 strcasecmp("foo", "bar");
19284
19285 ;
19286 return 0;
19287 }
19288 _ACEOF
19289 rm -f conftest.$ac_objext conftest$ac_exeext
19290 if { (ac_try="$ac_link"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_link") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest$ac_exeext &&
19306 $as_test_x conftest$ac_exeext; then
19307 ac_cv_string_strcasecmp=yes
19308 else
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19311
19312 ac_cv_string_strcasecmp=no
19313
19314 fi
19315
19316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19317 conftest$ac_exeext conftest.$ac_ext
19318
19319 fi
19320 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19321 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19322
19323 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19324 cat >>confdefs.h <<\_ACEOF
19325 #define HAVE_STRCASECMP_IN_STRING_H 1
19326 _ACEOF
19327
19328 else
19329 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19330 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19331 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334
19335 cat >conftest.$ac_ext <<_ACEOF
19336 /* confdefs.h. */
19337 _ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341
19342 #include <strings.h>
19343
19344 int
19345 main ()
19346 {
19347
19348 strcasecmp("foo", "bar");
19349
19350 ;
19351 return 0;
19352 }
19353 _ACEOF
19354 rm -f conftest.$ac_objext conftest$ac_exeext
19355 if { (ac_try="$ac_link"
19356 case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19359 esac
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_link") 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } && {
19368 test -z "$ac_c_werror_flag" ||
19369 test ! -s conftest.err
19370 } && test -s conftest$ac_exeext &&
19371 $as_test_x conftest$ac_exeext; then
19372 ac_cv_strings_strcasecmp=yes
19373 else
19374 echo "$as_me: failed program was:" >&5
19375 sed 's/^/| /' conftest.$ac_ext >&5
19376
19377 ac_cv_strings_strcasecmp=no
19378
19379 fi
19380
19381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19382 conftest$ac_exeext conftest.$ac_ext
19383
19384 fi
19385 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19386 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19387
19388 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19389 cat >>confdefs.h <<\_ACEOF
19390 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19391 _ACEOF
19392
19393 else
19394 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19395 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19396 { (exit 1); exit 1; }; }
19397 fi
19398 fi
19399
19400 ;;
19401 esac
19402
19403
19404 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19405 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19406 if test "${ac_cv_header_stdc+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 else
19409 cat >conftest.$ac_ext <<_ACEOF
19410 /* confdefs.h. */
19411 _ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <stdlib.h>
19416 #include <stdarg.h>
19417 #include <string.h>
19418 #include <float.h>
19419
19420 int
19421 main ()
19422 {
19423
19424 ;
19425 return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19436 ac_status=$?
19437 grep -v '^ *+' conftest.er1 >conftest.err
19438 rm -f conftest.er1
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_cv_header_stdc=yes
19446 else
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19449
19450 ac_cv_header_stdc=no
19451 fi
19452
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454
19455 if test $ac_cv_header_stdc = yes; then
19456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19457 cat >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 #include <string.h>
19464
19465 _ACEOF
19466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19467 $EGREP "memchr" >/dev/null 2>&1; then
19468 :
19469 else
19470 ac_cv_header_stdc=no
19471 fi
19472 rm -f -r conftest*
19473
19474 fi
19475
19476 if test $ac_cv_header_stdc = yes; then
19477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 #include <stdlib.h>
19485
19486 _ACEOF
19487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19488 $EGREP "free" >/dev/null 2>&1; then
19489 :
19490 else
19491 ac_cv_header_stdc=no
19492 fi
19493 rm -f -r conftest*
19494
19495 fi
19496
19497 if test $ac_cv_header_stdc = yes; then
19498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19499 if test "$cross_compiling" = yes; then
19500 :
19501 else
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <ctype.h>
19509 #include <stdlib.h>
19510 #if ((' ' & 0x0FF) == 0x020)
19511 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19512 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19513 #else
19514 # define ISLOWER(c) \
19515 (('a' <= (c) && (c) <= 'i') \
19516 || ('j' <= (c) && (c) <= 'r') \
19517 || ('s' <= (c) && (c) <= 'z'))
19518 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19519 #endif
19520
19521 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19522 int
19523 main ()
19524 {
19525 int i;
19526 for (i = 0; i < 256; i++)
19527 if (XOR (islower (i), ISLOWER (i))
19528 || toupper (i) != TOUPPER (i))
19529 return 2;
19530 return 0;
19531 }
19532 _ACEOF
19533 rm -f conftest$ac_exeext
19534 if { (ac_try="$ac_link"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_link") 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19544 { (case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19547 esac
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_try") 2>&5
19550 ac_status=$?
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; }; then
19553 :
19554 else
19555 echo "$as_me: program exited with status $ac_status" >&5
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19558
19559 ( exit $ac_status )
19560 ac_cv_header_stdc=no
19561 fi
19562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19563 fi
19564
19565
19566 fi
19567 fi
19568 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19569 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19570 if test $ac_cv_header_stdc = yes; then
19571
19572 cat >>confdefs.h <<\_ACEOF
19573 #define STDC_HEADERS 1
19574 _ACEOF
19575
19576 fi
19577
19578 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19589 inttypes.h stdint.h unistd.h
19590 do
19591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 cat >conftest.$ac_ext <<_ACEOF
19598 /* confdefs.h. */
19599 _ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19604
19605 #include <$ac_header>
19606 _ACEOF
19607 rm -f conftest.$ac_objext
19608 if { (ac_try="$ac_compile"
19609 case "(($ac_try" in
19610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19612 esac
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_compile") 2>conftest.er1
19615 ac_status=$?
19616 grep -v '^ *+' conftest.er1 >conftest.err
19617 rm -f conftest.er1
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && {
19621 test -z "$ac_c_werror_flag" ||
19622 test ! -s conftest.err
19623 } && test -s conftest.$ac_objext; then
19624 eval "$as_ac_Header=yes"
19625 else
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19628
19629 eval "$as_ac_Header=no"
19630 fi
19631
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19633 fi
19634 ac_res=`eval echo '${'$as_ac_Header'}'`
19635 { echo "$as_me:$LINENO: result: $ac_res" >&5
19636 echo "${ECHO_T}$ac_res" >&6; }
19637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19640 _ACEOF
19641
19642 fi
19643
19644 done
19645
19646
19647
19648
19649 for ac_header in langinfo.h wchar.h
19650 do
19651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 else
19657 cat >conftest.$ac_ext <<_ACEOF
19658 /* confdefs.h. */
19659 _ACEOF
19660 cat confdefs.h >>conftest.$ac_ext
19661 cat >>conftest.$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 $ac_includes_default
19664
19665 #include <$ac_header>
19666 _ACEOF
19667 rm -f conftest.$ac_objext
19668 if { (ac_try="$ac_compile"
19669 case "(($ac_try" in
19670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19671 *) ac_try_echo=$ac_try;;
19672 esac
19673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19674 (eval "$ac_compile") 2>conftest.er1
19675 ac_status=$?
19676 grep -v '^ *+' conftest.er1 >conftest.err
19677 rm -f conftest.er1
19678 cat conftest.err >&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); } && {
19681 test -z "$ac_c_werror_flag" ||
19682 test ! -s conftest.err
19683 } && test -s conftest.$ac_objext; then
19684 eval "$as_ac_Header=yes"
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19688
19689 eval "$as_ac_Header=no"
19690 fi
19691
19692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19693 fi
19694 ac_res=`eval echo '${'$as_ac_Header'}'`
19695 { echo "$as_me:$LINENO: result: $ac_res" >&5
19696 echo "${ECHO_T}$ac_res" >&6; }
19697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19698 cat >>confdefs.h <<_ACEOF
19699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19700 _ACEOF
19701
19702 fi
19703
19704 done
19705
19706
19707 if test "$ac_cv_header_wchar_h" != "yes"; then
19708
19709 for ac_header in wcstr.h
19710 do
19711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 $ac_includes_default
19724
19725 #include <$ac_header>
19726 _ACEOF
19727 rm -f conftest.$ac_objext
19728 if { (ac_try="$ac_compile"
19729 case "(($ac_try" in
19730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19732 esac
19733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_compile") 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } && {
19741 test -z "$ac_c_werror_flag" ||
19742 test ! -s conftest.err
19743 } && test -s conftest.$ac_objext; then
19744 eval "$as_ac_Header=yes"
19745 else
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19748
19749 eval "$as_ac_Header=no"
19750 fi
19751
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753 fi
19754 ac_res=`eval echo '${'$as_ac_Header'}'`
19755 { echo "$as_me:$LINENO: result: $ac_res" >&5
19756 echo "${ECHO_T}$ac_res" >&6; }
19757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19758 cat >>confdefs.h <<_ACEOF
19759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19760 _ACEOF
19761
19762 fi
19763
19764 done
19765
19766 fi
19767
19768 case "${host}" in
19769 *-pc-os2_emx | *-pc-os2-emx )
19770 if test $ac_cv_header_langinfo_h = "yes" \
19771 -a \( "$wx_cv_gccversion" = "EMX2" \
19772 -o "$wx_cv_gccversion" = "EMX3" \
19773 -o "$wx_cv_gccversion" = "Innotek5" \); then
19774 LIBS="$LIBS -lintl"
19775 fi
19776 ;;
19777 esac
19778
19779 if test "$USE_UNIX" = 1 ; then
19780
19781 for ac_header in sys/select.h
19782 do
19783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 else
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19796
19797 #include <$ac_header>
19798 _ACEOF
19799 rm -f conftest.$ac_objext
19800 if { (ac_try="$ac_compile"
19801 case "(($ac_try" in
19802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19803 *) ac_try_echo=$ac_try;;
19804 esac
19805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19806 (eval "$ac_compile") 2>conftest.er1
19807 ac_status=$?
19808 grep -v '^ *+' conftest.er1 >conftest.err
19809 rm -f conftest.er1
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } && {
19813 test -z "$ac_c_werror_flag" ||
19814 test ! -s conftest.err
19815 } && test -s conftest.$ac_objext; then
19816 eval "$as_ac_Header=yes"
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 eval "$as_ac_Header=no"
19822 fi
19823
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825 fi
19826 ac_res=`eval echo '${'$as_ac_Header'}'`
19827 { echo "$as_me:$LINENO: result: $ac_res" >&5
19828 echo "${ECHO_T}$ac_res" >&6; }
19829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19832 _ACEOF
19833
19834 fi
19835
19836 done
19837
19838 fi
19839
19840
19841 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19842 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19843 if test "${ac_cv_c_const+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 else
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852
19853 int
19854 main ()
19855 {
19856 /* FIXME: Include the comments suggested by Paul. */
19857 #ifndef __cplusplus
19858 /* Ultrix mips cc rejects this. */
19859 typedef int charset[2];
19860 const charset cs;
19861 /* SunOS 4.1.1 cc rejects this. */
19862 char const *const *pcpcc;
19863 char **ppc;
19864 /* NEC SVR4.0.2 mips cc rejects this. */
19865 struct point {int x, y;};
19866 static struct point const zero = {0,0};
19867 /* AIX XL C 1.02.0.0 rejects this.
19868 It does not let you subtract one const X* pointer from another in
19869 an arm of an if-expression whose if-part is not a constant
19870 expression */
19871 const char *g = "string";
19872 pcpcc = &g + (g ? g-g : 0);
19873 /* HPUX 7.0 cc rejects these. */
19874 ++pcpcc;
19875 ppc = (char**) pcpcc;
19876 pcpcc = (char const *const *) ppc;
19877 { /* SCO 3.2v4 cc rejects this. */
19878 char *t;
19879 char const *s = 0 ? (char *) 0 : (char const *) 0;
19880
19881 *t++ = 0;
19882 if (s) return 0;
19883 }
19884 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19885 int x[] = {25, 17};
19886 const int *foo = &x[0];
19887 ++foo;
19888 }
19889 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19890 typedef const int *iptr;
19891 iptr p = 0;
19892 ++p;
19893 }
19894 { /* AIX XL C 1.02.0.0 rejects this saying
19895 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19896 struct s { int j; const int *ap[3]; };
19897 struct s *b; b->j = 5;
19898 }
19899 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19900 const int foo = 10;
19901 if (!foo) return 0;
19902 }
19903 return !cs[0] && !zero.x;
19904 #endif
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (ac_try="$ac_compile"
19912 case "(($ac_try" in
19913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914 *) ac_try_echo=$ac_try;;
19915 esac
19916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19917 (eval "$ac_compile") 2>conftest.er1
19918 ac_status=$?
19919 grep -v '^ *+' conftest.er1 >conftest.err
19920 rm -f conftest.er1
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } && {
19924 test -z "$ac_c_werror_flag" ||
19925 test ! -s conftest.err
19926 } && test -s conftest.$ac_objext; then
19927 ac_cv_c_const=yes
19928 else
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19931
19932 ac_cv_c_const=no
19933 fi
19934
19935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19936 fi
19937 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19938 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19939 if test $ac_cv_c_const = no; then
19940
19941 cat >>confdefs.h <<\_ACEOF
19942 #define const
19943 _ACEOF
19944
19945 fi
19946
19947 { echo "$as_me:$LINENO: checking for inline" >&5
19948 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19949 if test "${ac_cv_c_inline+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 else
19952 ac_cv_c_inline=no
19953 for ac_kw in inline __inline__ __inline; do
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifndef __cplusplus
19961 typedef int foo_t;
19962 static $ac_kw foo_t static_foo () {return 0; }
19963 $ac_kw foo_t foo () {return 0; }
19964 #endif
19965
19966 _ACEOF
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19972 esac
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19975 ac_status=$?
19976 grep -v '^ *+' conftest.er1 >conftest.err
19977 rm -f conftest.er1
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_c_inline=$ac_kw
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19988
19989
19990 fi
19991
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 test "$ac_cv_c_inline" != no && break
19994 done
19995
19996 fi
19997 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19998 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19999
20000
20001 case $ac_cv_c_inline in
20002 inline | yes) ;;
20003 *)
20004 case $ac_cv_c_inline in
20005 no) ac_val=;;
20006 *) ac_val=$ac_cv_c_inline;;
20007 esac
20008 cat >>confdefs.h <<_ACEOF
20009 #ifndef __cplusplus
20010 #define inline $ac_val
20011 #endif
20012 _ACEOF
20013 ;;
20014 esac
20015
20016
20017 { echo "$as_me:$LINENO: checking for short" >&5
20018 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20019 if test "${ac_cv_type_short+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 typedef short ac__type_new_;
20030 int
20031 main ()
20032 {
20033 if ((ac__type_new_ *) 0)
20034 return 0;
20035 if (sizeof (ac__type_new_))
20036 return 0;
20037 ;
20038 return 0;
20039 }
20040 _ACEOF
20041 rm -f conftest.$ac_objext
20042 if { (ac_try="$ac_compile"
20043 case "(($ac_try" in
20044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20045 *) ac_try_echo=$ac_try;;
20046 esac
20047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20048 (eval "$ac_compile") 2>conftest.er1
20049 ac_status=$?
20050 grep -v '^ *+' conftest.er1 >conftest.err
20051 rm -f conftest.er1
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } && {
20055 test -z "$ac_c_werror_flag" ||
20056 test ! -s conftest.err
20057 } && test -s conftest.$ac_objext; then
20058 ac_cv_type_short=yes
20059 else
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20062
20063 ac_cv_type_short=no
20064 fi
20065
20066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20067 fi
20068 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20069 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20070
20071 # The cast to long int works around a bug in the HP C Compiler
20072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20074 # This bug is HP SR number 8606223364.
20075 { echo "$as_me:$LINENO: checking size of short" >&5
20076 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20077 if test "${ac_cv_sizeof_short+set}" = set; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 else
20080 if test "$cross_compiling" = yes; then
20081 # Depending upon the size, compute the lo and hi bounds.
20082 cat >conftest.$ac_ext <<_ACEOF
20083 /* confdefs.h. */
20084 _ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef short ac__type_sizeof_;
20090 int
20091 main ()
20092 {
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20094 test_array [0] = 0
20095
20096 ;
20097 return 0;
20098 }
20099 _ACEOF
20100 rm -f conftest.$ac_objext
20101 if { (ac_try="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20105 esac
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20108 ac_status=$?
20109 grep -v '^ *+' conftest.er1 >conftest.err
20110 rm -f conftest.er1
20111 cat conftest.err >&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.$ac_objext; then
20117 ac_lo=0 ac_mid=0
20118 while :; do
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 typedef short ac__type_sizeof_;
20127 int
20128 main ()
20129 {
20130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20131 test_array [0] = 0
20132
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_c_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 ac_hi=$ac_mid; break
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 ac_lo=`expr $ac_mid + 1`
20160 if test $ac_lo -le $ac_mid; then
20161 ac_lo= ac_hi=
20162 break
20163 fi
20164 ac_mid=`expr 2 '*' $ac_mid + 1`
20165 fi
20166
20167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 done
20169 else
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20172
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef short ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_hi=-1 ac_mid=-1
20209 while :; do
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef short ac__type_sizeof_;
20218 int
20219 main ()
20220 {
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20222 test_array [0] = 0
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_lo=$ac_mid; break
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 ac_hi=`expr '(' $ac_mid ')' - 1`
20251 if test $ac_mid -le $ac_hi; then
20252 ac_lo= ac_hi=
20253 break
20254 fi
20255 ac_mid=`expr 2 '*' $ac_mid`
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 done
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20263
20264 ac_lo= ac_hi=
20265 fi
20266
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20268 fi
20269
20270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 # Binary search between lo and hi bounds.
20272 while test "x$ac_lo" != "x$ac_hi"; do
20273 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20274 cat >conftest.$ac_ext <<_ACEOF
20275 /* confdefs.h. */
20276 _ACEOF
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 $ac_includes_default
20281 typedef short ac__type_sizeof_;
20282 int
20283 main ()
20284 {
20285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20286 test_array [0] = 0
20287
20288 ;
20289 return 0;
20290 }
20291 _ACEOF
20292 rm -f conftest.$ac_objext
20293 if { (ac_try="$ac_compile"
20294 case "(($ac_try" in
20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20296 *) ac_try_echo=$ac_try;;
20297 esac
20298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_compile") 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } && {
20306 test -z "$ac_c_werror_flag" ||
20307 test ! -s conftest.err
20308 } && test -s conftest.$ac_objext; then
20309 ac_hi=$ac_mid
20310 else
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20313
20314 ac_lo=`expr '(' $ac_mid ')' + 1`
20315 fi
20316
20317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20318 done
20319 case $ac_lo in
20320 ?*) ac_cv_sizeof_short=$ac_lo;;
20321 '') if test "$ac_cv_type_short" = yes; then
20322 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20323 See \`config.log' for more details." >&5
20324 echo "$as_me: error: cannot compute sizeof (short)
20325 See \`config.log' for more details." >&2;}
20326 { (exit 77); exit 77; }; }
20327 else
20328 ac_cv_sizeof_short=0
20329 fi ;;
20330 esac
20331 else
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef short ac__type_sizeof_;
20340 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20341 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20342 #include <stdio.h>
20343 #include <stdlib.h>
20344 int
20345 main ()
20346 {
20347
20348 FILE *f = fopen ("conftest.val", "w");
20349 if (! f)
20350 return 1;
20351 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20352 {
20353 long int i = longval ();
20354 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20355 return 1;
20356 fprintf (f, "%ld\n", i);
20357 }
20358 else
20359 {
20360 unsigned long int i = ulongval ();
20361 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20362 return 1;
20363 fprintf (f, "%lu\n", i);
20364 }
20365 return ferror (f) || fclose (f) != 0;
20366
20367 ;
20368 return 0;
20369 }
20370 _ACEOF
20371 rm -f conftest$ac_exeext
20372 if { (ac_try="$ac_link"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20376 esac
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_link") 2>&5
20379 ac_status=$?
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20382 { (case "(($ac_try" in
20383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20385 esac
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_try") 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; }; then
20391 ac_cv_sizeof_short=`cat conftest.val`
20392 else
20393 echo "$as_me: program exited with status $ac_status" >&5
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20396
20397 ( exit $ac_status )
20398 if test "$ac_cv_type_short" = yes; then
20399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20400 See \`config.log' for more details." >&5
20401 echo "$as_me: error: cannot compute sizeof (short)
20402 See \`config.log' for more details." >&2;}
20403 { (exit 77); exit 77; }; }
20404 else
20405 ac_cv_sizeof_short=0
20406 fi
20407 fi
20408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20409 fi
20410 rm -f conftest.val
20411 fi
20412 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20413 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20414
20415
20416
20417 cat >>confdefs.h <<_ACEOF
20418 #define SIZEOF_SHORT $ac_cv_sizeof_short
20419 _ACEOF
20420
20421
20422 { echo "$as_me:$LINENO: checking for void *" >&5
20423 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20424 if test "${ac_cv_type_void_p+set}" = set; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 else
20427 cat >conftest.$ac_ext <<_ACEOF
20428 /* confdefs.h. */
20429 _ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20434 typedef void * ac__type_new_;
20435 int
20436 main ()
20437 {
20438 if ((ac__type_new_ *) 0)
20439 return 0;
20440 if (sizeof (ac__type_new_))
20441 return 0;
20442 ;
20443 return 0;
20444 }
20445 _ACEOF
20446 rm -f conftest.$ac_objext
20447 if { (ac_try="$ac_compile"
20448 case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20451 esac
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_compile") 2>conftest.er1
20454 ac_status=$?
20455 grep -v '^ *+' conftest.er1 >conftest.err
20456 rm -f conftest.er1
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } && {
20460 test -z "$ac_c_werror_flag" ||
20461 test ! -s conftest.err
20462 } && test -s conftest.$ac_objext; then
20463 ac_cv_type_void_p=yes
20464 else
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20467
20468 ac_cv_type_void_p=no
20469 fi
20470
20471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 fi
20473 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20474 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20475
20476 # The cast to long int works around a bug in the HP C Compiler
20477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20479 # This bug is HP SR number 8606223364.
20480 { echo "$as_me:$LINENO: checking size of void *" >&5
20481 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20482 if test "${ac_cv_sizeof_void_p+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 else
20485 if test "$cross_compiling" = yes; then
20486 # Depending upon the size, compute the lo and hi bounds.
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef void * ac__type_sizeof_;
20495 int
20496 main ()
20497 {
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20499 test_array [0] = 0
20500
20501 ;
20502 return 0;
20503 }
20504 _ACEOF
20505 rm -f conftest.$ac_objext
20506 if { (ac_try="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20510 esac
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20522 ac_lo=0 ac_mid=0
20523 while :; do
20524 cat >conftest.$ac_ext <<_ACEOF
20525 /* confdefs.h. */
20526 _ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 $ac_includes_default
20531 typedef void * ac__type_sizeof_;
20532 int
20533 main ()
20534 {
20535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20536 test_array [0] = 0
20537
20538 ;
20539 return 0;
20540 }
20541 _ACEOF
20542 rm -f conftest.$ac_objext
20543 if { (ac_try="$ac_compile"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20547 esac
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_compile") 2>conftest.er1
20550 ac_status=$?
20551 grep -v '^ *+' conftest.er1 >conftest.err
20552 rm -f conftest.er1
20553 cat conftest.err >&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest.$ac_objext; then
20559 ac_hi=$ac_mid; break
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 ac_lo=`expr $ac_mid + 1`
20565 if test $ac_lo -le $ac_mid; then
20566 ac_lo= ac_hi=
20567 break
20568 fi
20569 ac_mid=`expr 2 '*' $ac_mid + 1`
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 done
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 cat >conftest.$ac_ext <<_ACEOF
20579 /* confdefs.h. */
20580 _ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef void * ac__type_sizeof_;
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20613 ac_hi=-1 ac_mid=-1
20614 while :; do
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef void * ac__type_sizeof_;
20623 int
20624 main ()
20625 {
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20627 test_array [0] = 0
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_lo=$ac_mid; break
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_hi=`expr '(' $ac_mid ')' - 1`
20656 if test $ac_mid -le $ac_hi; then
20657 ac_lo= ac_hi=
20658 break
20659 fi
20660 ac_mid=`expr 2 '*' $ac_mid`
20661 fi
20662
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 done
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 ac_lo= ac_hi=
20670 fi
20671
20672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20673 fi
20674
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 # Binary search between lo and hi bounds.
20677 while test "x$ac_lo" != "x$ac_hi"; do
20678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef void * ac__type_sizeof_;
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20714 ac_hi=$ac_mid
20715 else
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20718
20719 ac_lo=`expr '(' $ac_mid ')' + 1`
20720 fi
20721
20722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20723 done
20724 case $ac_lo in
20725 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20726 '') if test "$ac_cv_type_void_p" = yes; then
20727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20728 See \`config.log' for more details." >&5
20729 echo "$as_me: error: cannot compute sizeof (void *)
20730 See \`config.log' for more details." >&2;}
20731 { (exit 77); exit 77; }; }
20732 else
20733 ac_cv_sizeof_void_p=0
20734 fi ;;
20735 esac
20736 else
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 typedef void * ac__type_sizeof_;
20745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20747 #include <stdio.h>
20748 #include <stdlib.h>
20749 int
20750 main ()
20751 {
20752
20753 FILE *f = fopen ("conftest.val", "w");
20754 if (! f)
20755 return 1;
20756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20757 {
20758 long int i = longval ();
20759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20760 return 1;
20761 fprintf (f, "%ld\n", i);
20762 }
20763 else
20764 {
20765 unsigned long int i = ulongval ();
20766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20767 return 1;
20768 fprintf (f, "%lu\n", i);
20769 }
20770 return ferror (f) || fclose (f) != 0;
20771
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest$ac_exeext
20777 if { (ac_try="$ac_link"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20781 esac
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_link") 2>&5
20784 ac_status=$?
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20787 { (case "(($ac_try" in
20788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20789 *) ac_try_echo=$ac_try;;
20790 esac
20791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20792 (eval "$ac_try") 2>&5
20793 ac_status=$?
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; }; then
20796 ac_cv_sizeof_void_p=`cat conftest.val`
20797 else
20798 echo "$as_me: program exited with status $ac_status" >&5
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20801
20802 ( exit $ac_status )
20803 if test "$ac_cv_type_void_p" = yes; then
20804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20805 See \`config.log' for more details." >&5
20806 echo "$as_me: error: cannot compute sizeof (void *)
20807 See \`config.log' for more details." >&2;}
20808 { (exit 77); exit 77; }; }
20809 else
20810 ac_cv_sizeof_void_p=0
20811 fi
20812 fi
20813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20814 fi
20815 rm -f conftest.val
20816 fi
20817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20818 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20819
20820
20821
20822 cat >>confdefs.h <<_ACEOF
20823 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20824 _ACEOF
20825
20826
20827 { echo "$as_me:$LINENO: checking for int" >&5
20828 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20829 if test "${ac_cv_type_int+set}" = set; then
20830 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 else
20832 cat >conftest.$ac_ext <<_ACEOF
20833 /* confdefs.h. */
20834 _ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 $ac_includes_default
20839 typedef int ac__type_new_;
20840 int
20841 main ()
20842 {
20843 if ((ac__type_new_ *) 0)
20844 return 0;
20845 if (sizeof (ac__type_new_))
20846 return 0;
20847 ;
20848 return 0;
20849 }
20850 _ACEOF
20851 rm -f conftest.$ac_objext
20852 if { (ac_try="$ac_compile"
20853 case "(($ac_try" in
20854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20855 *) ac_try_echo=$ac_try;;
20856 esac
20857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20858 (eval "$ac_compile") 2>conftest.er1
20859 ac_status=$?
20860 grep -v '^ *+' conftest.er1 >conftest.err
20861 rm -f conftest.er1
20862 cat conftest.err >&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } && {
20865 test -z "$ac_c_werror_flag" ||
20866 test ! -s conftest.err
20867 } && test -s conftest.$ac_objext; then
20868 ac_cv_type_int=yes
20869 else
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20872
20873 ac_cv_type_int=no
20874 fi
20875
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 fi
20878 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20879 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20880
20881 # The cast to long int works around a bug in the HP C Compiler
20882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20884 # This bug is HP SR number 8606223364.
20885 { echo "$as_me:$LINENO: checking size of int" >&5
20886 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20887 if test "${ac_cv_sizeof_int+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 else
20890 if test "$cross_compiling" = yes; then
20891 # Depending upon the size, compute the lo and hi bounds.
20892 cat >conftest.$ac_ext <<_ACEOF
20893 /* confdefs.h. */
20894 _ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef int ac__type_sizeof_;
20900 int
20901 main ()
20902 {
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20904 test_array [0] = 0
20905
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915 esac
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_lo=0 ac_mid=0
20928 while :; do
20929 cat >conftest.$ac_ext <<_ACEOF
20930 /* confdefs.h. */
20931 _ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 typedef int ac__type_sizeof_;
20937 int
20938 main ()
20939 {
20940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20941 test_array [0] = 0
20942
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest.$ac_objext
20948 if { (ac_try="$ac_compile"
20949 case "(($ac_try" in
20950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20951 *) ac_try_echo=$ac_try;;
20952 esac
20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20954 (eval "$ac_compile") 2>conftest.er1
20955 ac_status=$?
20956 grep -v '^ *+' conftest.er1 >conftest.err
20957 rm -f conftest.er1
20958 cat conftest.err >&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } && {
20961 test -z "$ac_c_werror_flag" ||
20962 test ! -s conftest.err
20963 } && test -s conftest.$ac_objext; then
20964 ac_hi=$ac_mid; break
20965 else
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.$ac_ext >&5
20968
20969 ac_lo=`expr $ac_mid + 1`
20970 if test $ac_lo -le $ac_mid; then
20971 ac_lo= ac_hi=
20972 break
20973 fi
20974 ac_mid=`expr 2 '*' $ac_mid + 1`
20975 fi
20976
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 done
20979 else
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.$ac_ext >&5
20982
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef int ac__type_sizeof_;
20991 int
20992 main ()
20993 {
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20995 test_array [0] = 0
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21006 esac
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21018 ac_hi=-1 ac_mid=-1
21019 while :; do
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef int ac__type_sizeof_;
21028 int
21029 main ()
21030 {
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21032 test_array [0] = 0
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21043 esac
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.$ac_objext; then
21055 ac_lo=$ac_mid; break
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21059
21060 ac_hi=`expr '(' $ac_mid ')' - 1`
21061 if test $ac_mid -le $ac_hi; then
21062 ac_lo= ac_hi=
21063 break
21064 fi
21065 ac_mid=`expr 2 '*' $ac_mid`
21066 fi
21067
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 done
21070 else
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 ac_lo= ac_hi=
21075 fi
21076
21077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21078 fi
21079
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 # Binary search between lo and hi bounds.
21082 while test "x$ac_lo" != "x$ac_hi"; do
21083 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 typedef int ac__type_sizeof_;
21092 int
21093 main ()
21094 {
21095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21096 test_array [0] = 0
21097
21098 ;
21099 return 0;
21100 }
21101 _ACEOF
21102 rm -f conftest.$ac_objext
21103 if { (ac_try="$ac_compile"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21107 esac
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_compile") 2>conftest.er1
21110 ac_status=$?
21111 grep -v '^ *+' conftest.er1 >conftest.err
21112 rm -f conftest.er1
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && {
21116 test -z "$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21118 } && test -s conftest.$ac_objext; then
21119 ac_hi=$ac_mid
21120 else
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5
21123
21124 ac_lo=`expr '(' $ac_mid ')' + 1`
21125 fi
21126
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 done
21129 case $ac_lo in
21130 ?*) ac_cv_sizeof_int=$ac_lo;;
21131 '') if test "$ac_cv_type_int" = yes; then
21132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21133 See \`config.log' for more details." >&5
21134 echo "$as_me: error: cannot compute sizeof (int)
21135 See \`config.log' for more details." >&2;}
21136 { (exit 77); exit 77; }; }
21137 else
21138 ac_cv_sizeof_int=0
21139 fi ;;
21140 esac
21141 else
21142 cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h. */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 $ac_includes_default
21149 typedef int ac__type_sizeof_;
21150 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21151 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21152 #include <stdio.h>
21153 #include <stdlib.h>
21154 int
21155 main ()
21156 {
21157
21158 FILE *f = fopen ("conftest.val", "w");
21159 if (! f)
21160 return 1;
21161 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21162 {
21163 long int i = longval ();
21164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21165 return 1;
21166 fprintf (f, "%ld\n", i);
21167 }
21168 else
21169 {
21170 unsigned long int i = ulongval ();
21171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21172 return 1;
21173 fprintf (f, "%lu\n", i);
21174 }
21175 return ferror (f) || fclose (f) != 0;
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest$ac_exeext
21182 if { (ac_try="$ac_link"
21183 case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_link") 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21192 { (case "(($ac_try" in
21193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21195 esac
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_try") 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_sizeof_int=`cat conftest.val`
21202 else
21203 echo "$as_me: program exited with status $ac_status" >&5
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21206
21207 ( exit $ac_status )
21208 if test "$ac_cv_type_int" = yes; then
21209 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21210 See \`config.log' for more details." >&5
21211 echo "$as_me: error: cannot compute sizeof (int)
21212 See \`config.log' for more details." >&2;}
21213 { (exit 77); exit 77; }; }
21214 else
21215 ac_cv_sizeof_int=0
21216 fi
21217 fi
21218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21219 fi
21220 rm -f conftest.val
21221 fi
21222 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21223 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21224
21225
21226
21227 cat >>confdefs.h <<_ACEOF
21228 #define SIZEOF_INT $ac_cv_sizeof_int
21229 _ACEOF
21230
21231
21232 { echo "$as_me:$LINENO: checking for long" >&5
21233 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21234 if test "${ac_cv_type_long+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237 cat >conftest.$ac_ext <<_ACEOF
21238 /* confdefs.h. */
21239 _ACEOF
21240 cat confdefs.h >>conftest.$ac_ext
21241 cat >>conftest.$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 $ac_includes_default
21244 typedef long ac__type_new_;
21245 int
21246 main ()
21247 {
21248 if ((ac__type_new_ *) 0)
21249 return 0;
21250 if (sizeof (ac__type_new_))
21251 return 0;
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
21256 rm -f conftest.$ac_objext
21257 if { (ac_try="$ac_compile"
21258 case "(($ac_try" in
21259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21260 *) ac_try_echo=$ac_try;;
21261 esac
21262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21263 (eval "$ac_compile") 2>conftest.er1
21264 ac_status=$?
21265 grep -v '^ *+' conftest.er1 >conftest.err
21266 rm -f conftest.er1
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } && {
21270 test -z "$ac_c_werror_flag" ||
21271 test ! -s conftest.err
21272 } && test -s conftest.$ac_objext; then
21273 ac_cv_type_long=yes
21274 else
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21277
21278 ac_cv_type_long=no
21279 fi
21280
21281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 fi
21283 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21284 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21285
21286 # The cast to long int works around a bug in the HP C Compiler
21287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21289 # This bug is HP SR number 8606223364.
21290 { echo "$as_me:$LINENO: checking size of long" >&5
21291 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21292 if test "${ac_cv_sizeof_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 if test "$cross_compiling" = yes; then
21296 # Depending upon the size, compute the lo and hi bounds.
21297 cat >conftest.$ac_ext <<_ACEOF
21298 /* confdefs.h. */
21299 _ACEOF
21300 cat confdefs.h >>conftest.$ac_ext
21301 cat >>conftest.$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21303 $ac_includes_default
21304 typedef long ac__type_sizeof_;
21305 int
21306 main ()
21307 {
21308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21309 test_array [0] = 0
21310
21311 ;
21312 return 0;
21313 }
21314 _ACEOF
21315 rm -f conftest.$ac_objext
21316 if { (ac_try="$ac_compile"
21317 case "(($ac_try" in
21318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21319 *) ac_try_echo=$ac_try;;
21320 esac
21321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21322 (eval "$ac_compile") 2>conftest.er1
21323 ac_status=$?
21324 grep -v '^ *+' conftest.er1 >conftest.err
21325 rm -f conftest.er1
21326 cat conftest.err >&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } && {
21329 test -z "$ac_c_werror_flag" ||
21330 test ! -s conftest.err
21331 } && test -s conftest.$ac_objext; then
21332 ac_lo=0 ac_mid=0
21333 while :; do
21334 cat >conftest.$ac_ext <<_ACEOF
21335 /* confdefs.h. */
21336 _ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 $ac_includes_default
21341 typedef long ac__type_sizeof_;
21342 int
21343 main ()
21344 {
21345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21346 test_array [0] = 0
21347
21348 ;
21349 return 0;
21350 }
21351 _ACEOF
21352 rm -f conftest.$ac_objext
21353 if { (ac_try="$ac_compile"
21354 case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356 *) ac_try_echo=$ac_try;;
21357 esac
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_compile") 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } && {
21366 test -z "$ac_c_werror_flag" ||
21367 test ! -s conftest.err
21368 } && test -s conftest.$ac_objext; then
21369 ac_hi=$ac_mid; break
21370 else
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.$ac_ext >&5
21373
21374 ac_lo=`expr $ac_mid + 1`
21375 if test $ac_lo -le $ac_mid; then
21376 ac_lo= ac_hi=
21377 break
21378 fi
21379 ac_mid=`expr 2 '*' $ac_mid + 1`
21380 fi
21381
21382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383 done
21384 else
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21387
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 typedef long ac__type_sizeof_;
21396 int
21397 main ()
21398 {
21399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21400 test_array [0] = 0
21401
21402 ;
21403 return 0;
21404 }
21405 _ACEOF
21406 rm -f conftest.$ac_objext
21407 if { (ac_try="$ac_compile"
21408 case "(($ac_try" in
21409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21411 esac
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_compile") 2>conftest.er1
21414 ac_status=$?
21415 grep -v '^ *+' conftest.er1 >conftest.err
21416 rm -f conftest.er1
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } && {
21420 test -z "$ac_c_werror_flag" ||
21421 test ! -s conftest.err
21422 } && test -s conftest.$ac_objext; then
21423 ac_hi=-1 ac_mid=-1
21424 while :; do
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef long ac__type_sizeof_;
21433 int
21434 main ()
21435 {
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21437 test_array [0] = 0
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21448 esac
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_lo=$ac_mid; break
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_hi=`expr '(' $ac_mid ')' - 1`
21466 if test $ac_mid -le $ac_hi; then
21467 ac_lo= ac_hi=
21468 break
21469 fi
21470 ac_mid=`expr 2 '*' $ac_mid`
21471 fi
21472
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474 done
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ac_lo= ac_hi=
21480 fi
21481
21482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21483 fi
21484
21485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 # Binary search between lo and hi bounds.
21487 while test "x$ac_lo" != "x$ac_hi"; do
21488 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef long ac__type_sizeof_;
21497 int
21498 main ()
21499 {
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21501 test_array [0] = 0
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21524 ac_hi=$ac_mid
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 ac_lo=`expr '(' $ac_mid ')' + 1`
21530 fi
21531
21532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21533 done
21534 case $ac_lo in
21535 ?*) ac_cv_sizeof_long=$ac_lo;;
21536 '') if test "$ac_cv_type_long" = yes; then
21537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21538 See \`config.log' for more details." >&5
21539 echo "$as_me: error: cannot compute sizeof (long)
21540 See \`config.log' for more details." >&2;}
21541 { (exit 77); exit 77; }; }
21542 else
21543 ac_cv_sizeof_long=0
21544 fi ;;
21545 esac
21546 else
21547 cat >conftest.$ac_ext <<_ACEOF
21548 /* confdefs.h. */
21549 _ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef long ac__type_sizeof_;
21555 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21556 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21557 #include <stdio.h>
21558 #include <stdlib.h>
21559 int
21560 main ()
21561 {
21562
21563 FILE *f = fopen ("conftest.val", "w");
21564 if (! f)
21565 return 1;
21566 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21567 {
21568 long int i = longval ();
21569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21570 return 1;
21571 fprintf (f, "%ld\n", i);
21572 }
21573 else
21574 {
21575 unsigned long int i = ulongval ();
21576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21577 return 1;
21578 fprintf (f, "%lu\n", i);
21579 }
21580 return ferror (f) || fclose (f) != 0;
21581
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest$ac_exeext
21587 if { (ac_try="$ac_link"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_link") 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21597 { (case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21600 esac
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_try") 2>&5
21603 ac_status=$?
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_cv_sizeof_long=`cat conftest.val`
21607 else
21608 echo "$as_me: program exited with status $ac_status" >&5
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21611
21612 ( exit $ac_status )
21613 if test "$ac_cv_type_long" = yes; then
21614 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21615 See \`config.log' for more details." >&5
21616 echo "$as_me: error: cannot compute sizeof (long)
21617 See \`config.log' for more details." >&2;}
21618 { (exit 77); exit 77; }; }
21619 else
21620 ac_cv_sizeof_long=0
21621 fi
21622 fi
21623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21624 fi
21625 rm -f conftest.val
21626 fi
21627 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21628 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21629
21630
21631
21632 cat >>confdefs.h <<_ACEOF
21633 #define SIZEOF_LONG $ac_cv_sizeof_long
21634 _ACEOF
21635
21636
21637 { echo "$as_me:$LINENO: checking for size_t" >&5
21638 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21639 if test "${ac_cv_type_size_t+set}" = set; then
21640 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 else
21642 cat >conftest.$ac_ext <<_ACEOF
21643 /* confdefs.h. */
21644 _ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21649 typedef size_t ac__type_new_;
21650 int
21651 main ()
21652 {
21653 if ((ac__type_new_ *) 0)
21654 return 0;
21655 if (sizeof (ac__type_new_))
21656 return 0;
21657 ;
21658 return 0;
21659 }
21660 _ACEOF
21661 rm -f conftest.$ac_objext
21662 if { (ac_try="$ac_compile"
21663 case "(($ac_try" in
21664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21665 *) ac_try_echo=$ac_try;;
21666 esac
21667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21668 (eval "$ac_compile") 2>conftest.er1
21669 ac_status=$?
21670 grep -v '^ *+' conftest.er1 >conftest.err
21671 rm -f conftest.er1
21672 cat conftest.err >&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } && {
21675 test -z "$ac_c_werror_flag" ||
21676 test ! -s conftest.err
21677 } && test -s conftest.$ac_objext; then
21678 ac_cv_type_size_t=yes
21679 else
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 ac_cv_type_size_t=no
21684 fi
21685
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 fi
21688 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21689 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21690
21691 # The cast to long int works around a bug in the HP C Compiler
21692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21694 # This bug is HP SR number 8606223364.
21695 { echo "$as_me:$LINENO: checking size of size_t" >&5
21696 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21697 if test "${ac_cv_sizeof_size_t+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700 if test "$cross_compiling" = yes; then
21701 # Depending upon the size, compute the lo and hi bounds.
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h. */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 $ac_includes_default
21709 typedef size_t ac__type_sizeof_;
21710 int
21711 main ()
21712 {
21713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21714 test_array [0] = 0
21715
21716 ;
21717 return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21725 esac
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21728 ac_status=$?
21729 grep -v '^ *+' conftest.er1 >conftest.err
21730 rm -f conftest.er1
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21737 ac_lo=0 ac_mid=0
21738 while :; do
21739 cat >conftest.$ac_ext <<_ACEOF
21740 /* confdefs.h. */
21741 _ACEOF
21742 cat confdefs.h >>conftest.$ac_ext
21743 cat >>conftest.$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 $ac_includes_default
21746 typedef size_t ac__type_sizeof_;
21747 int
21748 main ()
21749 {
21750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21751 test_array [0] = 0
21752
21753 ;
21754 return 0;
21755 }
21756 _ACEOF
21757 rm -f conftest.$ac_objext
21758 if { (ac_try="$ac_compile"
21759 case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21761 *) ac_try_echo=$ac_try;;
21762 esac
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_compile") 2>conftest.er1
21765 ac_status=$?
21766 grep -v '^ *+' conftest.er1 >conftest.err
21767 rm -f conftest.er1
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && {
21771 test -z "$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21773 } && test -s conftest.$ac_objext; then
21774 ac_hi=$ac_mid; break
21775 else
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 ac_lo=`expr $ac_mid + 1`
21780 if test $ac_lo -le $ac_mid; then
21781 ac_lo= ac_hi=
21782 break
21783 fi
21784 ac_mid=`expr 2 '*' $ac_mid + 1`
21785 fi
21786
21787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 done
21789 else
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21792
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef size_t ac__type_sizeof_;
21801 int
21802 main ()
21803 {
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21805 test_array [0] = 0
21806
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21816 esac
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21828 ac_hi=-1 ac_mid=-1
21829 while :; do
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef size_t ac__type_sizeof_;
21838 int
21839 main ()
21840 {
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21842 test_array [0] = 0
21843
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21853 esac
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21865 ac_lo=$ac_mid; break
21866 else
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ac_hi=`expr '(' $ac_mid ')' - 1`
21871 if test $ac_mid -le $ac_hi; then
21872 ac_lo= ac_hi=
21873 break
21874 fi
21875 ac_mid=`expr 2 '*' $ac_mid`
21876 fi
21877
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 done
21880 else
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 ac_lo= ac_hi=
21885 fi
21886
21887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21888 fi
21889
21890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21891 # Binary search between lo and hi bounds.
21892 while test "x$ac_lo" != "x$ac_hi"; do
21893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21894 cat >conftest.$ac_ext <<_ACEOF
21895 /* confdefs.h. */
21896 _ACEOF
21897 cat confdefs.h >>conftest.$ac_ext
21898 cat >>conftest.$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21900 $ac_includes_default
21901 typedef size_t ac__type_sizeof_;
21902 int
21903 main ()
21904 {
21905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21906 test_array [0] = 0
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21917 esac
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21920 ac_status=$?
21921 grep -v '^ *+' conftest.er1 >conftest.err
21922 rm -f conftest.er1
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21929 ac_hi=$ac_mid
21930 else
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21933
21934 ac_lo=`expr '(' $ac_mid ')' + 1`
21935 fi
21936
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 done
21939 case $ac_lo in
21940 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21941 '') if test "$ac_cv_type_size_t" = yes; then
21942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21943 See \`config.log' for more details." >&5
21944 echo "$as_me: error: cannot compute sizeof (size_t)
21945 See \`config.log' for more details." >&2;}
21946 { (exit 77); exit 77; }; }
21947 else
21948 ac_cv_sizeof_size_t=0
21949 fi ;;
21950 esac
21951 else
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 typedef size_t ac__type_sizeof_;
21960 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21961 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21962 #include <stdio.h>
21963 #include <stdlib.h>
21964 int
21965 main ()
21966 {
21967
21968 FILE *f = fopen ("conftest.val", "w");
21969 if (! f)
21970 return 1;
21971 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21972 {
21973 long int i = longval ();
21974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21975 return 1;
21976 fprintf (f, "%ld\n", i);
21977 }
21978 else
21979 {
21980 unsigned long int i = ulongval ();
21981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21982 return 1;
21983 fprintf (f, "%lu\n", i);
21984 }
21985 return ferror (f) || fclose (f) != 0;
21986
21987 ;
21988 return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest$ac_exeext
21992 if { (ac_try="$ac_link"
21993 case "(($ac_try" in
21994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995 *) ac_try_echo=$ac_try;;
21996 esac
21997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21998 (eval "$ac_link") 2>&5
21999 ac_status=$?
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22002 { (case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22005 esac
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_try") 2>&5
22008 ac_status=$?
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; }; then
22011 ac_cv_sizeof_size_t=`cat conftest.val`
22012 else
22013 echo "$as_me: program exited with status $ac_status" >&5
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.$ac_ext >&5
22016
22017 ( exit $ac_status )
22018 if test "$ac_cv_type_size_t" = yes; then
22019 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22020 See \`config.log' for more details." >&5
22021 echo "$as_me: error: cannot compute sizeof (size_t)
22022 See \`config.log' for more details." >&2;}
22023 { (exit 77); exit 77; }; }
22024 else
22025 ac_cv_sizeof_size_t=0
22026 fi
22027 fi
22028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22029 fi
22030 rm -f conftest.val
22031 fi
22032 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22033 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22034
22035
22036
22037 cat >>confdefs.h <<_ACEOF
22038 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22039 _ACEOF
22040
22041
22042
22043 case "${host}" in
22044 arm-*-linux* )
22045 { echo "$as_me:$LINENO: checking for long long" >&5
22046 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22047 if test "${ac_cv_type_long_long+set}" = set; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 else
22050 cat >conftest.$ac_ext <<_ACEOF
22051 /* confdefs.h. */
22052 _ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef long long ac__type_new_;
22058 int
22059 main ()
22060 {
22061 if ((ac__type_new_ *) 0)
22062 return 0;
22063 if (sizeof (ac__type_new_))
22064 return 0;
22065 ;
22066 return 0;
22067 }
22068 _ACEOF
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22073 *) ac_try_echo=$ac_try;;
22074 esac
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22077 ac_status=$?
22078 grep -v '^ *+' conftest.er1 >conftest.err
22079 rm -f conftest.er1
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.$ac_objext; then
22086 ac_cv_type_long_long=yes
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22090
22091 ac_cv_type_long_long=no
22092 fi
22093
22094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22095 fi
22096 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22097 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22098
22099 # The cast to long int works around a bug in the HP C Compiler
22100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22102 # This bug is HP SR number 8606223364.
22103 { echo "$as_me:$LINENO: checking size of long long" >&5
22104 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22105 if test "${ac_cv_sizeof_long_long+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 else
22108 if test "$cross_compiling" = yes; then
22109 # Depending upon the size, compute the lo and hi bounds.
22110 cat >conftest.$ac_ext <<_ACEOF
22111 /* confdefs.h. */
22112 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_sizeof_;
22118 int
22119 main ()
22120 {
22121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22122 test_array [0] = 0
22123
22124 ;
22125 return 0;
22126 }
22127 _ACEOF
22128 rm -f conftest.$ac_objext
22129 if { (ac_try="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22133 esac
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22136 ac_status=$?
22137 grep -v '^ *+' conftest.er1 >conftest.err
22138 rm -f conftest.er1
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err
22144 } && test -s conftest.$ac_objext; then
22145 ac_lo=0 ac_mid=0
22146 while :; do
22147 cat >conftest.$ac_ext <<_ACEOF
22148 /* confdefs.h. */
22149 _ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h. */
22153 $ac_includes_default
22154 typedef long long ac__type_sizeof_;
22155 int
22156 main ()
22157 {
22158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22159 test_array [0] = 0
22160
22161 ;
22162 return 0;
22163 }
22164 _ACEOF
22165 rm -f conftest.$ac_objext
22166 if { (ac_try="$ac_compile"
22167 case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22170 esac
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_compile") 2>conftest.er1
22173 ac_status=$?
22174 grep -v '^ *+' conftest.er1 >conftest.err
22175 rm -f conftest.er1
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && {
22179 test -z "$ac_c_werror_flag" ||
22180 test ! -s conftest.err
22181 } && test -s conftest.$ac_objext; then
22182 ac_hi=$ac_mid; break
22183 else
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 ac_lo=`expr $ac_mid + 1`
22188 if test $ac_lo -le $ac_mid; then
22189 ac_lo= ac_hi=
22190 break
22191 fi
22192 ac_mid=`expr 2 '*' $ac_mid + 1`
22193 fi
22194
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 done
22197 else
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.$ac_ext >&5
22200
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22209 int
22210 main ()
22211 {
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22213 test_array [0] = 0
22214
22215 ;
22216 return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (ac_try="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22224 esac
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22227 ac_status=$?
22228 grep -v '^ *+' conftest.er1 >conftest.err
22229 rm -f conftest.er1
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22236 ac_hi=-1 ac_mid=-1
22237 while :; do
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef long long ac__type_sizeof_;
22246 int
22247 main ()
22248 {
22249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22250 test_array [0] = 0
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_lo=$ac_mid; break
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_hi=`expr '(' $ac_mid ')' - 1`
22279 if test $ac_mid -le $ac_hi; then
22280 ac_lo= ac_hi=
22281 break
22282 fi
22283 ac_mid=`expr 2 '*' $ac_mid`
22284 fi
22285
22286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22287 done
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22291
22292 ac_lo= ac_hi=
22293 fi
22294
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 fi
22297
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22299 # Binary search between lo and hi bounds.
22300 while test "x$ac_lo" != "x$ac_hi"; do
22301 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22302 cat >conftest.$ac_ext <<_ACEOF
22303 /* confdefs.h. */
22304 _ACEOF
22305 cat confdefs.h >>conftest.$ac_ext
22306 cat >>conftest.$ac_ext <<_ACEOF
22307 /* end confdefs.h. */
22308 $ac_includes_default
22309 typedef long long ac__type_sizeof_;
22310 int
22311 main ()
22312 {
22313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22314 test_array [0] = 0
22315
22316 ;
22317 return 0;
22318 }
22319 _ACEOF
22320 rm -f conftest.$ac_objext
22321 if { (ac_try="$ac_compile"
22322 case "(($ac_try" in
22323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324 *) ac_try_echo=$ac_try;;
22325 esac
22326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327 (eval "$ac_compile") 2>conftest.er1
22328 ac_status=$?
22329 grep -v '^ *+' conftest.er1 >conftest.err
22330 rm -f conftest.er1
22331 cat conftest.err >&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); } && {
22334 test -z "$ac_c_werror_flag" ||
22335 test ! -s conftest.err
22336 } && test -s conftest.$ac_objext; then
22337 ac_hi=$ac_mid
22338 else
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22341
22342 ac_lo=`expr '(' $ac_mid ')' + 1`
22343 fi
22344
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22346 done
22347 case $ac_lo in
22348 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22349 '') if test "$ac_cv_type_long_long" = yes; then
22350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22351 See \`config.log' for more details." >&5
22352 echo "$as_me: error: cannot compute sizeof (long long)
22353 See \`config.log' for more details." >&2;}
22354 { (exit 77); exit 77; }; }
22355 else
22356 ac_cv_sizeof_long_long=0
22357 fi ;;
22358 esac
22359 else
22360 cat >conftest.$ac_ext <<_ACEOF
22361 /* confdefs.h. */
22362 _ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22367 typedef long long ac__type_sizeof_;
22368 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22369 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22370 #include <stdio.h>
22371 #include <stdlib.h>
22372 int
22373 main ()
22374 {
22375
22376 FILE *f = fopen ("conftest.val", "w");
22377 if (! f)
22378 return 1;
22379 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22380 {
22381 long int i = longval ();
22382 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22383 return 1;
22384 fprintf (f, "%ld\n", i);
22385 }
22386 else
22387 {
22388 unsigned long int i = ulongval ();
22389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22390 return 1;
22391 fprintf (f, "%lu\n", i);
22392 }
22393 return ferror (f) || fclose (f) != 0;
22394
22395 ;
22396 return 0;
22397 }
22398 _ACEOF
22399 rm -f conftest$ac_exeext
22400 if { (ac_try="$ac_link"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22404 esac
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_link") 2>&5
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22410 { (case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_try") 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_cv_sizeof_long_long=`cat conftest.val`
22420 else
22421 echo "$as_me: program exited with status $ac_status" >&5
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ( exit $ac_status )
22426 if test "$ac_cv_type_long_long" = yes; then
22427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22428 See \`config.log' for more details." >&5
22429 echo "$as_me: error: cannot compute sizeof (long long)
22430 See \`config.log' for more details." >&2;}
22431 { (exit 77); exit 77; }; }
22432 else
22433 ac_cv_sizeof_long_long=0
22434 fi
22435 fi
22436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22437 fi
22438 rm -f conftest.val
22439 fi
22440 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22441 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22442
22443
22444
22445 cat >>confdefs.h <<_ACEOF
22446 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22447 _ACEOF
22448
22449
22450 ;;
22451 *-hp-hpux* )
22452 { echo "$as_me:$LINENO: checking for long long" >&5
22453 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22454 if test "${ac_cv_type_long_long+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22456 else
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h. */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef long long ac__type_new_;
22465 int
22466 main ()
22467 {
22468 if ((ac__type_new_ *) 0)
22469 return 0;
22470 if (sizeof (ac__type_new_))
22471 return 0;
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 rm -f conftest.$ac_objext
22477 if { (ac_try="$ac_compile"
22478 case "(($ac_try" in
22479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22480 *) ac_try_echo=$ac_try;;
22481 esac
22482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22483 (eval "$ac_compile") 2>conftest.er1
22484 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && {
22490 test -z "$ac_c_werror_flag" ||
22491 test ! -s conftest.err
22492 } && test -s conftest.$ac_objext; then
22493 ac_cv_type_long_long=yes
22494 else
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22497
22498 ac_cv_type_long_long=no
22499 fi
22500
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 fi
22503 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22504 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22505
22506 # The cast to long int works around a bug in the HP C Compiler
22507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22509 # This bug is HP SR number 8606223364.
22510 { echo "$as_me:$LINENO: checking size of long long" >&5
22511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22512 if test "${ac_cv_sizeof_long_long+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 else
22515 if test "$cross_compiling" = yes; then
22516 # Depending upon the size, compute the lo and hi bounds.
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef long long ac__type_sizeof_;
22525 int
22526 main ()
22527 {
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22529 test_array [0] = 0
22530
22531 ;
22532 return 0;
22533 }
22534 _ACEOF
22535 rm -f conftest.$ac_objext
22536 if { (ac_try="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22540 esac
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22552 ac_lo=0 ac_mid=0
22553 while :; do
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 typedef long long ac__type_sizeof_;
22562 int
22563 main ()
22564 {
22565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22566 test_array [0] = 0
22567
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 rm -f conftest.$ac_objext
22573 if { (ac_try="$ac_compile"
22574 case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22576 *) ac_try_echo=$ac_try;;
22577 esac
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_compile") 2>conftest.er1
22580 ac_status=$?
22581 grep -v '^ *+' conftest.er1 >conftest.err
22582 rm -f conftest.er1
22583 cat conftest.err >&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } && {
22586 test -z "$ac_c_werror_flag" ||
22587 test ! -s conftest.err
22588 } && test -s conftest.$ac_objext; then
22589 ac_hi=$ac_mid; break
22590 else
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22593
22594 ac_lo=`expr $ac_mid + 1`
22595 if test $ac_lo -le $ac_mid; then
22596 ac_lo= ac_hi=
22597 break
22598 fi
22599 ac_mid=`expr 2 '*' $ac_mid + 1`
22600 fi
22601
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22603 done
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22616 int
22617 main ()
22618 {
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22620 test_array [0] = 0
22621
22622 ;
22623 return 0;
22624 }
22625 _ACEOF
22626 rm -f conftest.$ac_objext
22627 if { (ac_try="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22631 esac
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22634 ac_status=$?
22635 grep -v '^ *+' conftest.er1 >conftest.err
22636 rm -f conftest.er1
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22643 ac_hi=-1 ac_mid=-1
22644 while :; do
22645 cat >conftest.$ac_ext <<_ACEOF
22646 /* confdefs.h. */
22647 _ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22653 int
22654 main ()
22655 {
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22657 test_array [0] = 0
22658
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22668 esac
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_lo=$ac_mid; break
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 ac_hi=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22687 ac_lo= ac_hi=
22688 break
22689 fi
22690 ac_mid=`expr 2 '*' $ac_mid`
22691 fi
22692
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22694 done
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 ac_lo= ac_hi=
22700 fi
22701
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703 fi
22704
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 $ac_includes_default
22716 typedef long long ac__type_sizeof_;
22717 int
22718 main ()
22719 {
22720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22721 test_array [0] = 0
22722
22723 ;
22724 return 0;
22725 }
22726 _ACEOF
22727 rm -f conftest.$ac_objext
22728 if { (ac_try="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22732 esac
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22735 ac_status=$?
22736 grep -v '^ *+' conftest.er1 >conftest.err
22737 rm -f conftest.er1
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && {
22741 test -z "$ac_c_werror_flag" ||
22742 test ! -s conftest.err
22743 } && test -s conftest.$ac_objext; then
22744 ac_hi=$ac_mid
22745 else
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22748
22749 ac_lo=`expr '(' $ac_mid ')' + 1`
22750 fi
22751
22752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22753 done
22754 case $ac_lo in
22755 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22756 '') if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22758 See \`config.log' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details." >&2;}
22761 { (exit 77); exit 77; }; }
22762 else
22763 ac_cv_sizeof_long_long=0
22764 fi ;;
22765 esac
22766 else
22767 cat >conftest.$ac_ext <<_ACEOF
22768 /* confdefs.h. */
22769 _ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773 $ac_includes_default
22774 typedef long long ac__type_sizeof_;
22775 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22776 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22777 #include <stdio.h>
22778 #include <stdlib.h>
22779 int
22780 main ()
22781 {
22782
22783 FILE *f = fopen ("conftest.val", "w");
22784 if (! f)
22785 return 1;
22786 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22787 {
22788 long int i = longval ();
22789 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22790 return 1;
22791 fprintf (f, "%ld\n", i);
22792 }
22793 else
22794 {
22795 unsigned long int i = ulongval ();
22796 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22797 return 1;
22798 fprintf (f, "%lu\n", i);
22799 }
22800 return ferror (f) || fclose (f) != 0;
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest$ac_exeext
22807 if { (ac_try="$ac_link"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_link") 2>&5
22814 ac_status=$?
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22817 { (case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22820 esac
22821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_try") 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 ac_cv_sizeof_long_long=`cat conftest.val`
22827 else
22828 echo "$as_me: program exited with status $ac_status" >&5
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ( exit $ac_status )
22833 if test "$ac_cv_type_long_long" = yes; then
22834 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22835 See \`config.log' for more details." >&5
22836 echo "$as_me: error: cannot compute sizeof (long long)
22837 See \`config.log' for more details." >&2;}
22838 { (exit 77); exit 77; }; }
22839 else
22840 ac_cv_sizeof_long_long=0
22841 fi
22842 fi
22843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22844 fi
22845 rm -f conftest.val
22846 fi
22847 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22848 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22849
22850
22851
22852 cat >>confdefs.h <<_ACEOF
22853 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22854 _ACEOF
22855
22856
22857 if test "$ac_cv_sizeof_long_long" != 0; then
22858 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22859 fi
22860 ;;
22861 * )
22862 { echo "$as_me:$LINENO: checking for long long" >&5
22863 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22864 if test "${ac_cv_type_long_long+set}" = set; then
22865 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 else
22867 cat >conftest.$ac_ext <<_ACEOF
22868 /* confdefs.h. */
22869 _ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 $ac_includes_default
22874 typedef long long ac__type_new_;
22875 int
22876 main ()
22877 {
22878 if ((ac__type_new_ *) 0)
22879 return 0;
22880 if (sizeof (ac__type_new_))
22881 return 0;
22882 ;
22883 return 0;
22884 }
22885 _ACEOF
22886 rm -f conftest.$ac_objext
22887 if { (ac_try="$ac_compile"
22888 case "(($ac_try" in
22889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22890 *) ac_try_echo=$ac_try;;
22891 esac
22892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22893 (eval "$ac_compile") 2>conftest.er1
22894 ac_status=$?
22895 grep -v '^ *+' conftest.er1 >conftest.err
22896 rm -f conftest.er1
22897 cat conftest.err >&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } && {
22900 test -z "$ac_c_werror_flag" ||
22901 test ! -s conftest.err
22902 } && test -s conftest.$ac_objext; then
22903 ac_cv_type_long_long=yes
22904 else
22905 echo "$as_me: failed program was:" >&5
22906 sed 's/^/| /' conftest.$ac_ext >&5
22907
22908 ac_cv_type_long_long=no
22909 fi
22910
22911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22912 fi
22913 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22914 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22915
22916 # The cast to long int works around a bug in the HP C Compiler
22917 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22918 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22919 # This bug is HP SR number 8606223364.
22920 { echo "$as_me:$LINENO: checking size of long long" >&5
22921 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22922 if test "${ac_cv_sizeof_long_long+set}" = set; then
22923 echo $ECHO_N "(cached) $ECHO_C" >&6
22924 else
22925 if test "$cross_compiling" = yes; then
22926 # Depending upon the size, compute the lo and hi bounds.
22927 cat >conftest.$ac_ext <<_ACEOF
22928 /* confdefs.h. */
22929 _ACEOF
22930 cat confdefs.h >>conftest.$ac_ext
22931 cat >>conftest.$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933 $ac_includes_default
22934 typedef long long ac__type_sizeof_;
22935 int
22936 main ()
22937 {
22938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22939 test_array [0] = 0
22940
22941 ;
22942 return 0;
22943 }
22944 _ACEOF
22945 rm -f conftest.$ac_objext
22946 if { (ac_try="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22950 esac
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22953 ac_status=$?
22954 grep -v '^ *+' conftest.er1 >conftest.err
22955 rm -f conftest.er1
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && {
22959 test -z "$ac_c_werror_flag" ||
22960 test ! -s conftest.err
22961 } && test -s conftest.$ac_objext; then
22962 ac_lo=0 ac_mid=0
22963 while :; do
22964 cat >conftest.$ac_ext <<_ACEOF
22965 /* confdefs.h. */
22966 _ACEOF
22967 cat confdefs.h >>conftest.$ac_ext
22968 cat >>conftest.$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970 $ac_includes_default
22971 typedef long long ac__type_sizeof_;
22972 int
22973 main ()
22974 {
22975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22976 test_array [0] = 0
22977
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 ac_hi=$ac_mid; break
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 ac_lo=`expr $ac_mid + 1`
23005 if test $ac_lo -le $ac_mid; then
23006 ac_lo= ac_hi=
23007 break
23008 fi
23009 ac_mid=`expr 2 '*' $ac_mid + 1`
23010 fi
23011
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23013 done
23014 else
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23017
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h. */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $ac_includes_default
23025 typedef long long ac__type_sizeof_;
23026 int
23027 main ()
23028 {
23029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23030 test_array [0] = 0
23031
23032 ;
23033 return 0;
23034 }
23035 _ACEOF
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23041 esac
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_compile") 2>conftest.er1
23044 ac_status=$?
23045 grep -v '^ *+' conftest.er1 >conftest.err
23046 rm -f conftest.er1
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_c_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23053 ac_hi=-1 ac_mid=-1
23054 while :; do
23055 cat >conftest.$ac_ext <<_ACEOF
23056 /* confdefs.h. */
23057 _ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23062 typedef long long ac__type_sizeof_;
23063 int
23064 main ()
23065 {
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23067 test_array [0] = 0
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_lo=$ac_mid; break
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_hi=`expr '(' $ac_mid ')' - 1`
23096 if test $ac_mid -le $ac_hi; then
23097 ac_lo= ac_hi=
23098 break
23099 fi
23100 ac_mid=`expr 2 '*' $ac_mid`
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104 done
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 ac_lo= ac_hi=
23110 fi
23111
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 fi
23114
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 # Binary search between lo and hi bounds.
23117 while test "x$ac_lo" != "x$ac_hi"; do
23118 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23119 cat >conftest.$ac_ext <<_ACEOF
23120 /* confdefs.h. */
23121 _ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125 $ac_includes_default
23126 typedef long long ac__type_sizeof_;
23127 int
23128 main ()
23129 {
23130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23131 test_array [0] = 0
23132
23133 ;
23134 return 0;
23135 }
23136 _ACEOF
23137 rm -f conftest.$ac_objext
23138 if { (ac_try="$ac_compile"
23139 case "(($ac_try" in
23140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23141 *) ac_try_echo=$ac_try;;
23142 esac
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_compile") 2>conftest.er1
23145 ac_status=$?
23146 grep -v '^ *+' conftest.er1 >conftest.err
23147 rm -f conftest.er1
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } && {
23151 test -z "$ac_c_werror_flag" ||
23152 test ! -s conftest.err
23153 } && test -s conftest.$ac_objext; then
23154 ac_hi=$ac_mid
23155 else
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23158
23159 ac_lo=`expr '(' $ac_mid ')' + 1`
23160 fi
23161
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 done
23164 case $ac_lo in
23165 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23166 '') if test "$ac_cv_type_long_long" = yes; then
23167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23168 See \`config.log' for more details." >&5
23169 echo "$as_me: error: cannot compute sizeof (long long)
23170 See \`config.log' for more details." >&2;}
23171 { (exit 77); exit 77; }; }
23172 else
23173 ac_cv_sizeof_long_long=0
23174 fi ;;
23175 esac
23176 else
23177 cat >conftest.$ac_ext <<_ACEOF
23178 /* confdefs.h. */
23179 _ACEOF
23180 cat confdefs.h >>conftest.$ac_ext
23181 cat >>conftest.$ac_ext <<_ACEOF
23182 /* end confdefs.h. */
23183 $ac_includes_default
23184 typedef long long ac__type_sizeof_;
23185 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23186 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23187 #include <stdio.h>
23188 #include <stdlib.h>
23189 int
23190 main ()
23191 {
23192
23193 FILE *f = fopen ("conftest.val", "w");
23194 if (! f)
23195 return 1;
23196 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23197 {
23198 long int i = longval ();
23199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23200 return 1;
23201 fprintf (f, "%ld\n", i);
23202 }
23203 else
23204 {
23205 unsigned long int i = ulongval ();
23206 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23207 return 1;
23208 fprintf (f, "%lu\n", i);
23209 }
23210 return ferror (f) || fclose (f) != 0;
23211
23212 ;
23213 return 0;
23214 }
23215 _ACEOF
23216 rm -f conftest$ac_exeext
23217 if { (ac_try="$ac_link"
23218 case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23220 *) ac_try_echo=$ac_try;;
23221 esac
23222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_link") 2>&5
23224 ac_status=$?
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23227 { (case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23230 esac
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_try") 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_cv_sizeof_long_long=`cat conftest.val`
23237 else
23238 echo "$as_me: program exited with status $ac_status" >&5
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ( exit $ac_status )
23243 if test "$ac_cv_type_long_long" = yes; then
23244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23245 See \`config.log' for more details." >&5
23246 echo "$as_me: error: cannot compute sizeof (long long)
23247 See \`config.log' for more details." >&2;}
23248 { (exit 77); exit 77; }; }
23249 else
23250 ac_cv_sizeof_long_long=0
23251 fi
23252 fi
23253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23254 fi
23255 rm -f conftest.val
23256 fi
23257 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23258 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23259
23260
23261
23262 cat >>confdefs.h <<_ACEOF
23263 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23264 _ACEOF
23265
23266
23267 esac
23268
23269 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23270 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23271 if test "${ac_cv_type_wchar_t+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23273 else
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280
23281 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23282 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23283 # error "fake wchar_t"
23284 #endif
23285 #ifdef HAVE_WCHAR_H
23286 # ifdef __CYGWIN__
23287 # include <stddef.h>
23288 # endif
23289 # include <wchar.h>
23290 #endif
23291 #ifdef HAVE_STDLIB_H
23292 # include <stdlib.h>
23293 #endif
23294 #include <stdio.h>
23295
23296
23297
23298 typedef wchar_t ac__type_new_;
23299 int
23300 main ()
23301 {
23302 if ((ac__type_new_ *) 0)
23303 return 0;
23304 if (sizeof (ac__type_new_))
23305 return 0;
23306 ;
23307 return 0;
23308 }
23309 _ACEOF
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_type_wchar_t=yes
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_cv_type_wchar_t=no
23333 fi
23334
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23336 fi
23337 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23338 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23339
23340 # The cast to long int works around a bug in the HP C Compiler
23341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23343 # This bug is HP SR number 8606223364.
23344 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23345 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23346 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23347 echo $ECHO_N "(cached) $ECHO_C" >&6
23348 else
23349 if test "$cross_compiling" = yes; then
23350 # Depending upon the size, compute the lo and hi bounds.
23351 cat >conftest.$ac_ext <<_ACEOF
23352 /* confdefs.h. */
23353 _ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357
23358 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23359 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23360 # error "fake wchar_t"
23361 #endif
23362 #ifdef HAVE_WCHAR_H
23363 # ifdef __CYGWIN__
23364 # include <stddef.h>
23365 # endif
23366 # include <wchar.h>
23367 #endif
23368 #ifdef HAVE_STDLIB_H
23369 # include <stdlib.h>
23370 #endif
23371 #include <stdio.h>
23372
23373
23374
23375 typedef wchar_t ac__type_sizeof_;
23376 int
23377 main ()
23378 {
23379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23380 test_array [0] = 0
23381
23382 ;
23383 return 0;
23384 }
23385 _ACEOF
23386 rm -f conftest.$ac_objext
23387 if { (ac_try="$ac_compile"
23388 case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23391 esac
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_compile") 2>conftest.er1
23394 ac_status=$?
23395 grep -v '^ *+' conftest.er1 >conftest.err
23396 rm -f conftest.er1
23397 cat conftest.err >&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } && {
23400 test -z "$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23402 } && test -s conftest.$ac_objext; then
23403 ac_lo=0 ac_mid=0
23404 while :; do
23405 cat >conftest.$ac_ext <<_ACEOF
23406 /* confdefs.h. */
23407 _ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411
23412 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23413 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23414 # error "fake wchar_t"
23415 #endif
23416 #ifdef HAVE_WCHAR_H
23417 # ifdef __CYGWIN__
23418 # include <stddef.h>
23419 # endif
23420 # include <wchar.h>
23421 #endif
23422 #ifdef HAVE_STDLIB_H
23423 # include <stdlib.h>
23424 #endif
23425 #include <stdio.h>
23426
23427
23428
23429 typedef wchar_t ac__type_sizeof_;
23430 int
23431 main ()
23432 {
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23434 test_array [0] = 0
23435
23436 ;
23437 return 0;
23438 }
23439 _ACEOF
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23445 esac
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23448 ac_status=$?
23449 grep -v '^ *+' conftest.er1 >conftest.err
23450 rm -f conftest.er1
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.$ac_objext; then
23457 ac_hi=$ac_mid; break
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 ac_lo=`expr $ac_mid + 1`
23463 if test $ac_lo -le $ac_mid; then
23464 ac_lo= ac_hi=
23465 break
23466 fi
23467 ac_mid=`expr 2 '*' $ac_mid + 1`
23468 fi
23469
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23471 done
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 cat >conftest.$ac_ext <<_ACEOF
23477 /* confdefs.h. */
23478 _ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482
23483 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23484 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23485 # error "fake wchar_t"
23486 #endif
23487 #ifdef HAVE_WCHAR_H
23488 # ifdef __CYGWIN__
23489 # include <stddef.h>
23490 # endif
23491 # include <wchar.h>
23492 #endif
23493 #ifdef HAVE_STDLIB_H
23494 # include <stdlib.h>
23495 #endif
23496 #include <stdio.h>
23497
23498
23499
23500 typedef wchar_t ac__type_sizeof_;
23501 int
23502 main ()
23503 {
23504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23505 test_array [0] = 0
23506
23507 ;
23508 return 0;
23509 }
23510 _ACEOF
23511 rm -f conftest.$ac_objext
23512 if { (ac_try="$ac_compile"
23513 case "(($ac_try" in
23514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23516 esac
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_compile") 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } && {
23525 test -z "$ac_c_werror_flag" ||
23526 test ! -s conftest.err
23527 } && test -s conftest.$ac_objext; then
23528 ac_hi=-1 ac_mid=-1
23529 while :; do
23530 cat >conftest.$ac_ext <<_ACEOF
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536
23537 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23538 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23539 # error "fake wchar_t"
23540 #endif
23541 #ifdef HAVE_WCHAR_H
23542 # ifdef __CYGWIN__
23543 # include <stddef.h>
23544 # endif
23545 # include <wchar.h>
23546 #endif
23547 #ifdef HAVE_STDLIB_H
23548 # include <stdlib.h>
23549 #endif
23550 #include <stdio.h>
23551
23552
23553
23554 typedef wchar_t ac__type_sizeof_;
23555 int
23556 main ()
23557 {
23558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23559 test_array [0] = 0
23560
23561 ;
23562 return 0;
23563 }
23564 _ACEOF
23565 rm -f conftest.$ac_objext
23566 if { (ac_try="$ac_compile"
23567 case "(($ac_try" in
23568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23569 *) ac_try_echo=$ac_try;;
23570 esac
23571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23572 (eval "$ac_compile") 2>conftest.er1
23573 ac_status=$?
23574 grep -v '^ *+' conftest.er1 >conftest.err
23575 rm -f conftest.er1
23576 cat conftest.err >&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } && {
23579 test -z "$ac_c_werror_flag" ||
23580 test ! -s conftest.err
23581 } && test -s conftest.$ac_objext; then
23582 ac_lo=$ac_mid; break
23583 else
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.$ac_ext >&5
23586
23587 ac_hi=`expr '(' $ac_mid ')' - 1`
23588 if test $ac_mid -le $ac_hi; then
23589 ac_lo= ac_hi=
23590 break
23591 fi
23592 ac_mid=`expr 2 '*' $ac_mid`
23593 fi
23594
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 done
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ac_lo= ac_hi=
23602 fi
23603
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 fi
23606
23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23608 # Binary search between lo and hi bounds.
23609 while test "x$ac_lo" != "x$ac_hi"; do
23610 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23617
23618 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23619 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23620 # error "fake wchar_t"
23621 #endif
23622 #ifdef HAVE_WCHAR_H
23623 # ifdef __CYGWIN__
23624 # include <stddef.h>
23625 # endif
23626 # include <wchar.h>
23627 #endif
23628 #ifdef HAVE_STDLIB_H
23629 # include <stdlib.h>
23630 #endif
23631 #include <stdio.h>
23632
23633
23634
23635 typedef wchar_t ac__type_sizeof_;
23636 int
23637 main ()
23638 {
23639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23640 test_array [0] = 0
23641
23642 ;
23643 return 0;
23644 }
23645 _ACEOF
23646 rm -f conftest.$ac_objext
23647 if { (ac_try="$ac_compile"
23648 case "(($ac_try" in
23649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23650 *) ac_try_echo=$ac_try;;
23651 esac
23652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653 (eval "$ac_compile") 2>conftest.er1
23654 ac_status=$?
23655 grep -v '^ *+' conftest.er1 >conftest.err
23656 rm -f conftest.er1
23657 cat conftest.err >&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); } && {
23660 test -z "$ac_c_werror_flag" ||
23661 test ! -s conftest.err
23662 } && test -s conftest.$ac_objext; then
23663 ac_hi=$ac_mid
23664 else
23665 echo "$as_me: failed program was:" >&5
23666 sed 's/^/| /' conftest.$ac_ext >&5
23667
23668 ac_lo=`expr '(' $ac_mid ')' + 1`
23669 fi
23670
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 done
23673 case $ac_lo in
23674 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23675 '') if test "$ac_cv_type_wchar_t" = yes; then
23676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23677 See \`config.log' for more details." >&5
23678 echo "$as_me: error: cannot compute sizeof (wchar_t)
23679 See \`config.log' for more details." >&2;}
23680 { (exit 77); exit 77; }; }
23681 else
23682 ac_cv_sizeof_wchar_t=0
23683 fi ;;
23684 esac
23685 else
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692
23693 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23694 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23695 # error "fake wchar_t"
23696 #endif
23697 #ifdef HAVE_WCHAR_H
23698 # ifdef __CYGWIN__
23699 # include <stddef.h>
23700 # endif
23701 # include <wchar.h>
23702 #endif
23703 #ifdef HAVE_STDLIB_H
23704 # include <stdlib.h>
23705 #endif
23706 #include <stdio.h>
23707
23708
23709
23710 typedef wchar_t ac__type_sizeof_;
23711 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23712 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23713 #include <stdio.h>
23714 #include <stdlib.h>
23715 int
23716 main ()
23717 {
23718
23719 FILE *f = fopen ("conftest.val", "w");
23720 if (! f)
23721 return 1;
23722 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23723 {
23724 long int i = longval ();
23725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23726 return 1;
23727 fprintf (f, "%ld\n", i);
23728 }
23729 else
23730 {
23731 unsigned long int i = ulongval ();
23732 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23733 return 1;
23734 fprintf (f, "%lu\n", i);
23735 }
23736 return ferror (f) || fclose (f) != 0;
23737
23738 ;
23739 return 0;
23740 }
23741 _ACEOF
23742 rm -f conftest$ac_exeext
23743 if { (ac_try="$ac_link"
23744 case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23747 esac
23748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_link") 2>&5
23750 ac_status=$?
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23753 { (case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755 *) ac_try_echo=$ac_try;;
23756 esac
23757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23758 (eval "$ac_try") 2>&5
23759 ac_status=$?
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762 ac_cv_sizeof_wchar_t=`cat conftest.val`
23763 else
23764 echo "$as_me: program exited with status $ac_status" >&5
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23767
23768 ( exit $ac_status )
23769 if test "$ac_cv_type_wchar_t" = yes; then
23770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23771 See \`config.log' for more details." >&5
23772 echo "$as_me: error: cannot compute sizeof (wchar_t)
23773 See \`config.log' for more details." >&2;}
23774 { (exit 77); exit 77; }; }
23775 else
23776 ac_cv_sizeof_wchar_t=0
23777 fi
23778 fi
23779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23780 fi
23781 rm -f conftest.val
23782 fi
23783 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23784 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23785
23786
23787
23788 cat >>confdefs.h <<_ACEOF
23789 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23790 _ACEOF
23791
23792
23793 if test "$ac_cv_sizeof_wchar_t" != 0; then
23794 wxUSE_WCHAR_T=yes
23795 else
23796 wxUSE_WCHAR_T=no
23797 fi
23798
23799 { echo "$as_me:$LINENO: checking for va_copy" >&5
23800 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23801 if test "${wx_cv_func_va_copy+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804
23805 ac_ext=cpp
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810
23811 cat >conftest.$ac_ext <<_ACEOF
23812
23813 #include <stdarg.h>
23814 void foo(char *f, ...)
23815 {
23816 va_list ap1, ap2;
23817 va_start(ap1, f);
23818 va_copy(ap2, ap1);
23819 va_end(ap2);
23820 va_end(ap1);
23821 }
23822 int main()
23823 {
23824 foo("hi", 17);
23825 return 0;
23826 }
23827 _ACEOF
23828 rm -f conftest.$ac_objext conftest$ac_exeext
23829 if { (ac_try="$ac_link"
23830 case "(($ac_try" in
23831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832 *) ac_try_echo=$ac_try;;
23833 esac
23834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835 (eval "$ac_link") 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } && {
23842 test -z "$ac_cxx_werror_flag" ||
23843 test ! -s conftest.err
23844 } && test -s conftest$ac_exeext &&
23845 $as_test_x conftest$ac_exeext; then
23846 wx_cv_func_va_copy=yes
23847 else
23848 echo "$as_me: failed program was:" >&5
23849 sed 's/^/| /' conftest.$ac_ext >&5
23850
23851 wx_cv_func_va_copy=no
23852
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23856 conftest$ac_exeext conftest.$ac_ext
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864
23865 fi
23866 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23867 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23868
23869 if test $wx_cv_func_va_copy = "yes"; then
23870 cat >>confdefs.h <<\_ACEOF
23871 #define HAVE_VA_COPY 1
23872 _ACEOF
23873
23874 else
23875 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23876 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23877 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23878 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 else
23880
23881 if test "$cross_compiling" = yes; then
23882 wx_cv_type_va_list_lvalue=yes
23883
23884 else
23885 cat >conftest.$ac_ext <<_ACEOF
23886
23887 #include <stdarg.h>
23888 int foo(char *f, ...)
23889 {
23890 va_list ap1, ap2;
23891 va_start(ap1, f);
23892 ap2 = ap1;
23893 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23894 return 1;
23895 va_end(ap2);
23896 va_end(ap1);
23897 return 0;
23898 }
23899 int main()
23900 {
23901 return foo("hi", 17);
23902 }
23903 _ACEOF
23904 rm -f conftest$ac_exeext
23905 if { (ac_try="$ac_link"
23906 case "(($ac_try" in
23907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23908 *) ac_try_echo=$ac_try;;
23909 esac
23910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23911 (eval "$ac_link") 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23915 { (case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23918 esac
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_try") 2>&5
23921 ac_status=$?
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then
23924 wx_cv_type_va_list_lvalue=yes
23925 else
23926 echo "$as_me: program exited with status $ac_status" >&5
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23929
23930 ( exit $ac_status )
23931 wx_cv_type_va_list_lvalue=no
23932 fi
23933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23934 fi
23935
23936
23937
23938
23939 fi
23940 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23941 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23942
23943 if test $wx_cv_type_va_list_lvalue != "yes"; then
23944 cat >>confdefs.h <<\_ACEOF
23945 #define VA_LIST_IS_ARRAY 1
23946 _ACEOF
23947
23948 fi
23949 fi
23950
23951 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23952
23953 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23954 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23955 if test "${wx_cv_have_variadic_macros+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 else
23958
23959 ac_ext=cpp
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23964
23965 cat >conftest.$ac_ext <<_ACEOF
23966 /* confdefs.h. */
23967 _ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23971
23972 #include <stdio.h>
23973 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23974
23975 int
23976 main ()
23977 {
23978
23979 test("%s %d %p", "test", 1, 0);
23980
23981
23982 ;
23983 return 0;
23984 }
23985 _ACEOF
23986 rm -f conftest.$ac_objext
23987 if { (ac_try="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23991 esac
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23994 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_cxx_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then
24003 wx_cv_have_variadic_macros=yes
24004 else
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24007
24008 wx_cv_have_variadic_macros=no
24009
24010 fi
24011
24012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24013 ac_ext=c
24014 ac_cpp='$CPP $CPPFLAGS'
24015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24018
24019
24020
24021 fi
24022 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24023 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24024
24025 if test $wx_cv_have_variadic_macros = "yes"; then
24026 cat >>confdefs.h <<\_ACEOF
24027 #define HAVE_VARIADIC_MACROS 1
24028 _ACEOF
24029
24030 fi
24031
24032 fi
24033
24034 LARGEFILE_CPPFLAGS=
24035 # Check whether --enable-largefile was given.
24036 if test "${enable_largefile+set}" = set; then
24037 enableval=$enable_largefile;
24038 fi
24039
24040 if test "$enable_largefile" != no; then
24041 wx_largefile=no
24042
24043 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24044 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24045 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else
24048
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055 #define _FILE_OFFSET_BITS 64
24056 #include <sys/types.h>
24057 int
24058 main ()
24059 {
24060 typedef struct {
24061 unsigned int field: sizeof(off_t) == 8;
24062 } wxlf;
24063
24064 ;
24065 return 0;
24066 }
24067 _ACEOF
24068 rm -f conftest.$ac_objext
24069 if { (ac_try="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24073 esac
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24076 ac_status=$?
24077 grep -v '^ *+' conftest.er1 >conftest.err
24078 rm -f conftest.er1
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_c_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24085 ac_cv_sys_file_offset_bits=64
24086 else
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.$ac_ext >&5
24089
24090 ac_cv_sys_file_offset_bits=no
24091 fi
24092
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24094
24095
24096 fi
24097 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24098 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24099
24100 if test "$ac_cv_sys_file_offset_bits" != no; then
24101 wx_largefile=yes
24102 cat >>confdefs.h <<_ACEOF
24103 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24104 _ACEOF
24105
24106 fi
24107
24108 if test "x$wx_largefile" != "xyes"; then
24109
24110 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24111 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24112 if test "${ac_cv_sys_large_files+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115
24116 cat >conftest.$ac_ext <<_ACEOF
24117 /* confdefs.h. */
24118 _ACEOF
24119 cat confdefs.h >>conftest.$ac_ext
24120 cat >>conftest.$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24122 #define _LARGE_FILES 1
24123 #include <sys/types.h>
24124 int
24125 main ()
24126 {
24127 typedef struct {
24128 unsigned int field: sizeof(off_t) == 8;
24129 } wxlf;
24130
24131 ;
24132 return 0;
24133 }
24134 _ACEOF
24135 rm -f conftest.$ac_objext
24136 if { (ac_try="$ac_compile"
24137 case "(($ac_try" in
24138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24139 *) ac_try_echo=$ac_try;;
24140 esac
24141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24142 (eval "$ac_compile") 2>conftest.er1
24143 ac_status=$?
24144 grep -v '^ *+' conftest.er1 >conftest.err
24145 rm -f conftest.er1
24146 cat conftest.err >&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); } && {
24149 test -z "$ac_c_werror_flag" ||
24150 test ! -s conftest.err
24151 } && test -s conftest.$ac_objext; then
24152 ac_cv_sys_large_files=1
24153 else
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24156
24157 ac_cv_sys_large_files=no
24158 fi
24159
24160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24161
24162
24163 fi
24164 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24165 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24166
24167 if test "$ac_cv_sys_large_files" != no; then
24168 wx_largefile=yes
24169 cat >>confdefs.h <<_ACEOF
24170 #define _LARGE_FILES $ac_cv_sys_large_files
24171 _ACEOF
24172
24173 fi
24174
24175 fi
24176
24177 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24178 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24179 if test "x$wx_largefile" = "xyes"; then
24180 cat >>confdefs.h <<\_ACEOF
24181 #define HAVE_LARGEFILE_SUPPORT 1
24182 _ACEOF
24183
24184 fi
24185 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24186 echo "${ECHO_T}$wx_largefile" >&6; }
24187 fi
24188
24189 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24190 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24191 elif test "$ac_cv_sys_large_files" = 1; then
24192 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24193 fi
24194
24195 if test -n "$LARGEFILE_CPPFLAGS"; then
24196 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24197
24198 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24199 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24200 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24201 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24203 else
24204
24205 ac_ext=cpp
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217
24218 int
24219 main ()
24220 {
24221
24222 #ifndef __STDC_EXT__
24223 choke me
24224 #endif
24225
24226 ;
24227 return 0;
24228 }
24229 _ACEOF
24230 rm -f conftest.$ac_objext
24231 if { (ac_try="$ac_compile"
24232 case "(($ac_try" in
24233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24234 *) ac_try_echo=$ac_try;;
24235 esac
24236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24237 (eval "$ac_compile") 2>conftest.er1
24238 ac_status=$?
24239 grep -v '^ *+' conftest.er1 >conftest.err
24240 rm -f conftest.er1
24241 cat conftest.err >&5
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); } && {
24244 test -z "$ac_cxx_werror_flag" ||
24245 test ! -s conftest.err
24246 } && test -s conftest.$ac_objext; then
24247 wx_cv_STDC_EXT_required=no
24248 else
24249 echo "$as_me: failed program was:" >&5
24250 sed 's/^/| /' conftest.$ac_ext >&5
24251
24252 wx_cv_STDC_EXT_required=yes
24253
24254 fi
24255
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 ac_ext=c
24258 ac_cpp='$CPP $CPPFLAGS'
24259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24262
24263
24264
24265 fi
24266 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24267 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24268 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24269 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24270 fi
24271 fi
24272 fi
24273
24274 ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24279
24280 old_CPPFLAGS="$CPPFLAGS"
24281 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24282 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24283 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24284 if test "${ac_cv_sys_largefile_source+set}" = set; then
24285 echo $ECHO_N "(cached) $ECHO_C" >&6
24286 else
24287 while :; do
24288 cat >conftest.$ac_ext <<_ACEOF
24289 /* confdefs.h. */
24290 _ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294 #include <stdio.h>
24295 int
24296 main ()
24297 {
24298 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24299 ;
24300 return 0;
24301 }
24302 _ACEOF
24303 rm -f conftest.$ac_objext conftest$ac_exeext
24304 if { (ac_try="$ac_link"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24308 esac
24309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24310 (eval "$ac_link") 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && {
24317 test -z "$ac_cxx_werror_flag" ||
24318 test ! -s conftest.err
24319 } && test -s conftest$ac_exeext &&
24320 $as_test_x conftest$ac_exeext; then
24321 ac_cv_sys_largefile_source=no; break
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24325
24326
24327 fi
24328
24329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24330 conftest$ac_exeext conftest.$ac_ext
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 #define _LARGEFILE_SOURCE 1
24338 #include <stdio.h>
24339 int
24340 main ()
24341 {
24342 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (ac_try="$ac_link"
24349 case "(($ac_try" in
24350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24351 *) ac_try_echo=$ac_try;;
24352 esac
24353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24354 (eval "$ac_link") 2>conftest.er1
24355 ac_status=$?
24356 grep -v '^ *+' conftest.er1 >conftest.err
24357 rm -f conftest.er1
24358 cat conftest.err >&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } && {
24361 test -z "$ac_cxx_werror_flag" ||
24362 test ! -s conftest.err
24363 } && test -s conftest$ac_exeext &&
24364 $as_test_x conftest$ac_exeext; then
24365 ac_cv_sys_largefile_source=1; break
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24369
24370
24371 fi
24372
24373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24374 conftest$ac_exeext conftest.$ac_ext
24375 ac_cv_sys_largefile_source=unknown
24376 break
24377 done
24378 fi
24379 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24380 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24381 case $ac_cv_sys_largefile_source in #(
24382 no | unknown) ;;
24383 *)
24384 cat >>confdefs.h <<_ACEOF
24385 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24386 _ACEOF
24387 ;;
24388 esac
24389 rm -f -r conftest*
24390
24391 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24392 # in glibc 2.1.3, but that breaks too many other things.
24393 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24394 if test $ac_cv_sys_largefile_source != unknown; then
24395
24396 cat >>confdefs.h <<\_ACEOF
24397 #define HAVE_FSEEKO 1
24398 _ACEOF
24399
24400 fi
24401
24402 CPPFLAGS="$old_CPPFLAGS"
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24408
24409 if test "$ac_cv_sys_largefile_source" != no; then
24410 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24411 fi
24412
24413 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24414 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24415 if test "${ac_cv_c_bigendian+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24417 else
24418 ac_cv_c_bigendian=unknown
24419 # See if sys/param.h defines the BYTE_ORDER macro.
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 #include <sys/types.h>
24427 #include <sys/param.h>
24428 int
24429 main ()
24430 {
24431
24432 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24433 bogus endian macros
24434 #endif
24435 ;
24436 return 0;
24437 }
24438 _ACEOF
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24444 esac
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24456 # It does; now see whether it defined to BIG_ENDIAN or not.
24457 cat >conftest.$ac_ext <<_ACEOF
24458 /* confdefs.h. */
24459 _ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24463 #include <sys/types.h>
24464 #include <sys/param.h>
24465 int
24466 main ()
24467 {
24468
24469 #if BYTE_ORDER != BIG_ENDIAN
24470 not big endian
24471 #endif
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext
24477 if { (ac_try="$ac_compile"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24481 esac
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_compile") 2>conftest.er1
24484 ac_status=$?
24485 grep -v '^ *+' conftest.er1 >conftest.err
24486 rm -f conftest.er1
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_c_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest.$ac_objext; then
24493 ac_cv_c_bigendian=yes
24494 else
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24497
24498 ac_cv_c_bigendian=no
24499 fi
24500
24501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24502 else
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506
24507 fi
24508
24509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24510 if test $ac_cv_c_bigendian = unknown; then
24511 if test "$cross_compiling" = yes; then
24512 ac_cv_c_bigendian=unknown
24513 else
24514 cat >conftest.$ac_ext <<_ACEOF
24515 /* confdefs.h. */
24516 _ACEOF
24517 cat confdefs.h >>conftest.$ac_ext
24518 cat >>conftest.$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520 main () {
24521 /* Are we little or big endian? From Harbison&Steele. */
24522 union
24523 {
24524 long l;
24525 char c[sizeof (long)];
24526 } u;
24527 u.l = 1;
24528 exit (u.c[sizeof (long) - 1] == 1);
24529 }
24530 _ACEOF
24531 rm -f conftest$ac_exeext
24532 if { (ac_try="$ac_link"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_link") 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24542 { (case "(($ac_try" in
24543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24544 *) ac_try_echo=$ac_try;;
24545 esac
24546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24547 (eval "$ac_try") 2>&5
24548 ac_status=$?
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; }; then
24551 ac_cv_c_bigendian=no
24552 else
24553 echo "$as_me: program exited with status $ac_status" >&5
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24556
24557 ( exit $ac_status )
24558 ac_cv_c_bigendian=yes
24559 fi
24560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24561 fi
24562
24563
24564 fi
24565 fi
24566 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24567 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24568 if test $ac_cv_c_bigendian = unknown; then
24569 { 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
24570 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;}
24571 fi
24572 if test $ac_cv_c_bigendian = yes; then
24573 cat >>confdefs.h <<\_ACEOF
24574 #define WORDS_BIGENDIAN 1
24575 _ACEOF
24576
24577 fi
24578
24579
24580
24581
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587
24588
24589
24590 for ac_header in iostream
24591 do
24592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24593 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24596 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 else
24598 cat >conftest.$ac_ext <<_ACEOF
24599 /* confdefs.h. */
24600 _ACEOF
24601 cat confdefs.h >>conftest.$ac_ext
24602 cat >>conftest.$ac_ext <<_ACEOF
24603 /* end confdefs.h. */
24604
24605
24606 #include <$ac_header>
24607 _ACEOF
24608 rm -f conftest.$ac_objext
24609 if { (ac_try="$ac_compile"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24613 esac
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_compile") 2>conftest.er1
24616 ac_status=$?
24617 grep -v '^ *+' conftest.er1 >conftest.err
24618 rm -f conftest.er1
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } && {
24622 test -z "$ac_cxx_werror_flag" ||
24623 test ! -s conftest.err
24624 } && test -s conftest.$ac_objext; then
24625 eval "$as_ac_Header=yes"
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24629
24630 eval "$as_ac_Header=no"
24631 fi
24632
24633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24634 fi
24635 ac_res=`eval echo '${'$as_ac_Header'}'`
24636 { echo "$as_me:$LINENO: result: $ac_res" >&5
24637 echo "${ECHO_T}$ac_res" >&6; }
24638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24639 cat >>confdefs.h <<_ACEOF
24640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24641 _ACEOF
24642
24643 fi
24644
24645 done
24646
24647
24648 if test "$ac_cv_header_iostream" = "yes" ; then
24649 :
24650 else
24651 cat >>confdefs.h <<\_ACEOF
24652 #define wxUSE_IOSTREAMH 1
24653 _ACEOF
24654
24655 fi
24656
24657 ac_ext=c
24658 ac_cpp='$CPP $CPPFLAGS'
24659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24662
24663
24664
24665
24666 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24667 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24668 if test "${wx_cv_explicit+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671
24672
24673 ac_ext=cpp
24674 ac_cpp='$CXXCPP $CPPFLAGS'
24675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24678
24679
24680 cat >conftest.$ac_ext <<_ACEOF
24681 /* confdefs.h. */
24682 _ACEOF
24683 cat confdefs.h >>conftest.$ac_ext
24684 cat >>conftest.$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24686
24687 class Foo { public: explicit Foo(int) {} };
24688
24689 int
24690 main ()
24691 {
24692
24693 return 0;
24694
24695 ;
24696 return 0;
24697 }
24698 _ACEOF
24699 rm -f conftest.$ac_objext
24700 if { (ac_try="$ac_compile"
24701 case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703 *) ac_try_echo=$ac_try;;
24704 esac
24705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_compile") 2>conftest.er1
24707 ac_status=$?
24708 grep -v '^ *+' conftest.er1 >conftest.err
24709 rm -f conftest.er1
24710 cat conftest.err >&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } && {
24713 test -z "$ac_cxx_werror_flag" ||
24714 test ! -s conftest.err
24715 } && test -s conftest.$ac_objext; then
24716
24717 cat >conftest.$ac_ext <<_ACEOF
24718 /* confdefs.h. */
24719 _ACEOF
24720 cat confdefs.h >>conftest.$ac_ext
24721 cat >>conftest.$ac_ext <<_ACEOF
24722 /* end confdefs.h. */
24723
24724 class Foo { public: explicit Foo(int) {} };
24725 static void TakeFoo(const Foo& foo) { }
24726
24727 int
24728 main ()
24729 {
24730
24731 TakeFoo(17);
24732 return 0;
24733
24734 ;
24735 return 0;
24736 }
24737 _ACEOF
24738 rm -f conftest.$ac_objext
24739 if { (ac_try="$ac_compile"
24740 case "(($ac_try" in
24741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24743 esac
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_compile") 2>conftest.er1
24746 ac_status=$?
24747 grep -v '^ *+' conftest.er1 >conftest.err
24748 rm -f conftest.er1
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } && {
24752 test -z "$ac_cxx_werror_flag" ||
24753 test ! -s conftest.err
24754 } && test -s conftest.$ac_objext; then
24755 wx_cv_explicit=no
24756 else
24757 echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.$ac_ext >&5
24759
24760 wx_cv_explicit=yes
24761
24762 fi
24763
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765
24766 else
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24769
24770 wx_cv_explicit=no
24771
24772 fi
24773
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775
24776 ac_ext=c
24777 ac_cpp='$CPP $CPPFLAGS'
24778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781
24782
24783 fi
24784 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24785 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24786
24787 if test "$wx_cv_explicit" = "yes"; then
24788 cat >>confdefs.h <<\_ACEOF
24789 #define HAVE_EXPLICIT 1
24790 _ACEOF
24791
24792 fi
24793
24794
24795 if test "x$SUNCXX" = xyes; then
24796 CXXFLAGS="-features=tmplife $CXXFLAGS"
24797 fi
24798
24799 if test "x$SUNCC" = xyes; then
24800 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24801 fi
24802
24803 if test "x$SGICC" = "xyes"; then
24804 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24805 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24806 if test "${wx_cv_prog_sgicc744+set}" = set; then
24807 echo $ECHO_N "(cached) $ECHO_C" >&6
24808 else
24809
24810 cat >conftest.$ac_ext <<_ACEOF
24811 /* confdefs.h. */
24812 _ACEOF
24813 cat confdefs.h >>conftest.$ac_ext
24814 cat >>conftest.$ac_ext <<_ACEOF
24815 /* end confdefs.h. */
24816
24817 int
24818 main ()
24819 {
24820
24821 #if _SGI_COMPILER_VERSION >= 744
24822 chock me: mipsPro is 7.4.4 or later
24823 #endif
24824
24825 ;
24826 return 0;
24827 }
24828 _ACEOF
24829 rm -f conftest.$ac_objext
24830 if { (ac_try="$ac_compile"
24831 case "(($ac_try" in
24832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833 *) ac_try_echo=$ac_try;;
24834 esac
24835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836 (eval "$ac_compile") 2>conftest.er1
24837 ac_status=$?
24838 grep -v '^ *+' conftest.er1 >conftest.err
24839 rm -f conftest.er1
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } && {
24843 test -z "$ac_c_werror_flag" ||
24844 test ! -s conftest.err
24845 } && test -s conftest.$ac_objext; then
24846 wx_cv_prog_sgicc744=no
24847 else
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851 wx_cv_prog_sgicc744=yes
24852
24853 fi
24854
24855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856
24857
24858 fi
24859 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24860 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24861
24862 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24863 CFLAGS="-woff 3970 $CFLAGS"
24864 fi
24865 fi
24866 if test "x$SGICXX" = "xyes"; then
24867 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24868 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24869 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24878
24879 cat >conftest.$ac_ext <<_ACEOF
24880 /* confdefs.h. */
24881 _ACEOF
24882 cat confdefs.h >>conftest.$ac_ext
24883 cat >>conftest.$ac_ext <<_ACEOF
24884 /* end confdefs.h. */
24885
24886 int
24887 main ()
24888 {
24889
24890 #if _SGI_COMPILER_VERSION >= 744
24891 chock me: mipsPro is 7.4.4 or later
24892 #endif
24893
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 rm -f conftest.$ac_objext
24899 if { (ac_try="$ac_compile"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24903 esac
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_compile") 2>conftest.er1
24906 ac_status=$?
24907 grep -v '^ *+' conftest.er1 >conftest.err
24908 rm -f conftest.er1
24909 cat conftest.err >&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); } && {
24912 test -z "$ac_cxx_werror_flag" ||
24913 test ! -s conftest.err
24914 } && test -s conftest.$ac_objext; then
24915 wx_cv_prog_sgicxx744=no
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 wx_cv_prog_sgicxx744=yes
24921
24922 fi
24923
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925 ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930
24931
24932
24933 fi
24934 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24935 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24936
24937 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24938 CXXFLAGS="-woff 3970 $CXXFLAGS"
24939 fi
24940 fi
24941
24942 if test "x$HPCC" = "xyes"; then
24943 CFLAGS="+W 2011,2450 $CFLAGS"
24944 fi
24945 if test "x$HPCXX" = "xyes"; then
24946 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24947 fi
24948
24949 if test "x$COMPAQCXX" = "xyes"; then
24950 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24951 fi
24952
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958
24959
24960 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24961 if test "$wxUSE_UNICODE" = "yes"; then
24962 std_string="std::wstring"
24963 char_type="wchar_t"
24964 else
24965 std_string="std::string"
24966 char_type="char"
24967 fi
24968
24969 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24970 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24971 if test "${wx_cv_class_stdstring+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 else
24974
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981 #include <string>
24982 int
24983 main ()
24984 {
24985 $std_string foo;
24986 ;
24987 return 0;
24988 }
24989 _ACEOF
24990 rm -f conftest.$ac_objext
24991 if { (ac_try="$ac_compile"
24992 case "(($ac_try" in
24993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24994 *) ac_try_echo=$ac_try;;
24995 esac
24996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24997 (eval "$ac_compile") 2>conftest.er1
24998 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1
25001 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && {
25004 test -z "$ac_cxx_werror_flag" ||
25005 test ! -s conftest.err
25006 } && test -s conftest.$ac_objext; then
25007 wx_cv_class_stdstring=yes
25008 else
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 wx_cv_class_stdstring=no
25013
25014 fi
25015
25016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25017
25018
25019 fi
25020 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25021 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25022
25023 if test "$wx_cv_class_stdstring" = yes; then
25024 if test "$wxUSE_UNICODE" = "yes"; then
25025 cat >>confdefs.h <<\_ACEOF
25026 #define HAVE_STD_WSTRING 1
25027 _ACEOF
25028
25029 fi
25030 else
25031 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25032 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25033 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043
25044 #ifdef HAVE_WCHAR_H
25045 # ifdef __CYGWIN__
25046 # include <stddef.h>
25047 # endif
25048 # include <wchar.h>
25049 #endif
25050 #ifdef HAVE_STDLIB_H
25051 # include <stdlib.h>
25052 #endif
25053 #include <stdio.h>
25054 #include <string>
25055
25056 int
25057 main ()
25058 {
25059 std::basic_string<$char_type> foo;
25060 const $char_type* dummy = foo.c_str();
25061 ;
25062 return 0;
25063 }
25064 _ACEOF
25065 rm -f conftest.$ac_objext
25066 if { (ac_try="$ac_compile"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25070 esac
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_compile") 2>conftest.er1
25073 ac_status=$?
25074 grep -v '^ *+' conftest.er1 >conftest.err
25075 rm -f conftest.er1
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } && {
25079 test -z "$ac_cxx_werror_flag" ||
25080 test ! -s conftest.err
25081 } && test -s conftest.$ac_objext; then
25082 wx_cv_class_stdbasicstring=yes
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 wx_cv_class_stdbasicstring=no
25088
25089 fi
25090
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092
25093
25094 fi
25095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25096 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25097
25098 if test "$wx_cv_class_stdbasicstring" != yes; then
25099 if test "$wxUSE_STL" = "yes"; then
25100 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25101 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25102 { (exit 1); exit 1; }; }
25103 elif test "$wxUSE_STD_STRING" = "yes"; then
25104 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25105 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25106 { (exit 1); exit 1; }; }
25107 else
25108 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25109 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25110 wxUSE_STD_STRING=no
25111 fi
25112 fi
25113 fi
25114 fi
25115
25116 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25117 { echo "$as_me:$LINENO: checking for std::istream" >&5
25118 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25119 if test "${ac_cv_type_std__istream+set}" = set; then
25120 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 else
25122 cat >conftest.$ac_ext <<_ACEOF
25123 /* confdefs.h. */
25124 _ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 #include <iostream>
25129
25130 typedef std::istream ac__type_new_;
25131 int
25132 main ()
25133 {
25134 if ((ac__type_new_ *) 0)
25135 return 0;
25136 if (sizeof (ac__type_new_))
25137 return 0;
25138 ;
25139 return 0;
25140 }
25141 _ACEOF
25142 rm -f conftest.$ac_objext
25143 if { (ac_try="$ac_compile"
25144 case "(($ac_try" in
25145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25146 *) ac_try_echo=$ac_try;;
25147 esac
25148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25149 (eval "$ac_compile") 2>conftest.er1
25150 ac_status=$?
25151 grep -v '^ *+' conftest.er1 >conftest.err
25152 rm -f conftest.er1
25153 cat conftest.err >&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); } && {
25156 test -z "$ac_cxx_werror_flag" ||
25157 test ! -s conftest.err
25158 } && test -s conftest.$ac_objext; then
25159 ac_cv_type_std__istream=yes
25160 else
25161 echo "$as_me: failed program was:" >&5
25162 sed 's/^/| /' conftest.$ac_ext >&5
25163
25164 ac_cv_type_std__istream=no
25165 fi
25166
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 fi
25169 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25170 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25171 if test $ac_cv_type_std__istream = yes; then
25172
25173 cat >>confdefs.h <<_ACEOF
25174 #define HAVE_STD__ISTREAM 1
25175 _ACEOF
25176
25177
25178 else
25179 wxUSE_STD_IOSTREAM=no
25180 fi
25181 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25182 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25183 if test "${ac_cv_type_std__ostream+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25186 cat >conftest.$ac_ext <<_ACEOF
25187 /* confdefs.h. */
25188 _ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192 #include <iostream>
25193
25194 typedef std::ostream ac__type_new_;
25195 int
25196 main ()
25197 {
25198 if ((ac__type_new_ *) 0)
25199 return 0;
25200 if (sizeof (ac__type_new_))
25201 return 0;
25202 ;
25203 return 0;
25204 }
25205 _ACEOF
25206 rm -f conftest.$ac_objext
25207 if { (ac_try="$ac_compile"
25208 case "(($ac_try" in
25209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25210 *) ac_try_echo=$ac_try;;
25211 esac
25212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25213 (eval "$ac_compile") 2>conftest.er1
25214 ac_status=$?
25215 grep -v '^ *+' conftest.er1 >conftest.err
25216 rm -f conftest.er1
25217 cat conftest.err >&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } && {
25220 test -z "$ac_cxx_werror_flag" ||
25221 test ! -s conftest.err
25222 } && test -s conftest.$ac_objext; then
25223 ac_cv_type_std__ostream=yes
25224 else
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25227
25228 ac_cv_type_std__ostream=no
25229 fi
25230
25231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25232 fi
25233 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25234 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25235 if test $ac_cv_type_std__ostream = yes; then
25236
25237 cat >>confdefs.h <<_ACEOF
25238 #define HAVE_STD__OSTREAM 1
25239 _ACEOF
25240
25241
25242 else
25243 wxUSE_STD_IOSTREAM=no
25244 fi
25245
25246
25247 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25248 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25249 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25250 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25251 { (exit 1); exit 1; }; }
25252 else
25253 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25254 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25255 fi
25256 fi
25257 fi
25258
25259 if test "$wxUSE_STL" = "yes"; then
25260 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25261 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25262 if test "${wx_cv_lib_stl+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271 #include <string>
25272 #include <functional>
25273 #include <algorithm>
25274 #include <vector>
25275 #include <list>
25276 int
25277 main ()
25278 {
25279 std::vector<int> moo;
25280 std::list<int> foo;
25281 std::vector<int>::iterator it =
25282 std::find_if(moo.begin(), moo.end(),
25283 std::bind2nd(std::less<int>(), 3));
25284 ;
25285 return 0;
25286 }
25287 _ACEOF
25288 rm -f conftest.$ac_objext
25289 if { (ac_try="$ac_compile"
25290 case "(($ac_try" in
25291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25292 *) ac_try_echo=$ac_try;;
25293 esac
25294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25295 (eval "$ac_compile") 2>conftest.er1
25296 ac_status=$?
25297 grep -v '^ *+' conftest.er1 >conftest.err
25298 rm -f conftest.er1
25299 cat conftest.err >&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); } && {
25302 test -z "$ac_cxx_werror_flag" ||
25303 test ! -s conftest.err
25304 } && test -s conftest.$ac_objext; then
25305 wx_cv_lib_stl=yes
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310 wx_cv_lib_stl=no
25311
25312 fi
25313
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315
25316 fi
25317 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25318 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25319
25320 if test "$wx_cv_lib_stl" != yes; then
25321 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25322 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25323 { (exit 1); exit 1; }; }
25324 fi
25325
25326 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25327 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25328 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25331 cat >conftest.$ac_ext <<_ACEOF
25332 /* confdefs.h. */
25333 _ACEOF
25334 cat confdefs.h >>conftest.$ac_ext
25335 cat >>conftest.$ac_ext <<_ACEOF
25336 /* end confdefs.h. */
25337 #include <string>
25338 int
25339 main ()
25340 {
25341 std::string foo, bar;
25342 foo.compare(bar);
25343 foo.compare(1, 1, bar);
25344 foo.compare(1, 1, bar, 1, 1);
25345 foo.compare("");
25346 foo.compare(1, 1, "");
25347 foo.compare(1, 1, "", 2);
25348 ;
25349 return 0;
25350 }
25351 _ACEOF
25352 rm -f conftest.$ac_objext
25353 if { (ac_try="$ac_compile"
25354 case "(($ac_try" in
25355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25356 *) ac_try_echo=$ac_try;;
25357 esac
25358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25359 (eval "$ac_compile") 2>conftest.er1
25360 ac_status=$?
25361 grep -v '^ *+' conftest.er1 >conftest.err
25362 rm -f conftest.er1
25363 cat conftest.err >&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); } && {
25366 test -z "$ac_cxx_werror_flag" ||
25367 test ! -s conftest.err
25368 } && test -s conftest.$ac_objext; then
25369 wx_cv_func_stdstring_compare=yes
25370 else
25371 echo "$as_me: failed program was:" >&5
25372 sed 's/^/| /' conftest.$ac_ext >&5
25373
25374 wx_cv_func_stdstring_compare=no
25375
25376 fi
25377
25378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25379
25380 fi
25381 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25382 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25383
25384 if test "$wx_cv_func_stdstring_compare" = yes; then
25385 cat >>confdefs.h <<\_ACEOF
25386 #define HAVE_STD_STRING_COMPARE 1
25387 _ACEOF
25388
25389 fi
25390
25391 if test "$wx_cv_class_gnuhashmapset" = yes; then
25392 cat >>confdefs.h <<\_ACEOF
25393 #define HAVE_EXT_HASH_MAP 1
25394 _ACEOF
25395
25396 cat >>confdefs.h <<\_ACEOF
25397 #define HAVE_GNU_CXX_HASH_MAP 1
25398 _ACEOF
25399
25400 fi
25401
25402 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25403 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25404 if test "${ac_cv_header_unordered_map+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 else
25407 cat >conftest.$ac_ext <<_ACEOF
25408 /* confdefs.h. */
25409 _ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413
25414
25415
25416 #include <unordered_map>
25417 _ACEOF
25418 rm -f conftest.$ac_objext
25419 if { (ac_try="$ac_compile"
25420 case "(($ac_try" in
25421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25422 *) ac_try_echo=$ac_try;;
25423 esac
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_compile") 2>conftest.er1
25426 ac_status=$?
25427 grep -v '^ *+' conftest.er1 >conftest.err
25428 rm -f conftest.er1
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && {
25432 test -z "$ac_cxx_werror_flag" ||
25433 test ! -s conftest.err
25434 } && test -s conftest.$ac_objext; then
25435 ac_cv_header_unordered_map=yes
25436 else
25437 echo "$as_me: failed program was:" >&5
25438 sed 's/^/| /' conftest.$ac_ext >&5
25439
25440 ac_cv_header_unordered_map=no
25441 fi
25442
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444 fi
25445 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25446 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25447 if test $ac_cv_header_unordered_map = yes; then
25448 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25449 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25450 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25451 echo $ECHO_N "(cached) $ECHO_C" >&6
25452 else
25453 cat >conftest.$ac_ext <<_ACEOF
25454 /* confdefs.h. */
25455 _ACEOF
25456 cat confdefs.h >>conftest.$ac_ext
25457 cat >>conftest.$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <unordered_map>
25460 #include <unordered_set>
25461 int
25462 main ()
25463 {
25464 std::unordered_map<double*, char*> test1;
25465 std::unordered_set<char*> test2;
25466 ;
25467 return 0;
25468 }
25469 _ACEOF
25470 rm -f conftest.$ac_objext
25471 if { (ac_try="$ac_compile"
25472 case "(($ac_try" in
25473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25474 *) ac_try_echo=$ac_try;;
25475 esac
25476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25477 (eval "$ac_compile") 2>conftest.er1
25478 ac_status=$?
25479 grep -v '^ *+' conftest.er1 >conftest.err
25480 rm -f conftest.er1
25481 cat conftest.err >&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); } && {
25484 test -z "$ac_cxx_werror_flag" ||
25485 test ! -s conftest.err
25486 } && test -s conftest.$ac_objext; then
25487 wx_cv_class_stdunorderedmapset=yes
25488 else
25489 echo "$as_me: failed program was:" >&5
25490 sed 's/^/| /' conftest.$ac_ext >&5
25491
25492 wx_cv_class_stdunorderedmapset=no
25493 fi
25494
25495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25496
25497
25498 fi
25499 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25500 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25501 fi
25502
25503
25504
25505 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25506 cat >>confdefs.h <<\_ACEOF
25507 #define HAVE_STD_UNORDERED_MAP 1
25508 _ACEOF
25509
25510 cat >>confdefs.h <<\_ACEOF
25511 #define HAVE_STD_UNORDERED_SET 1
25512 _ACEOF
25513
25514 else
25515 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25516 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25517 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 else
25520 cat >conftest.$ac_ext <<_ACEOF
25521 /* confdefs.h. */
25522 _ACEOF
25523 cat confdefs.h >>conftest.$ac_ext
25524 cat >>conftest.$ac_ext <<_ACEOF
25525 /* end confdefs.h. */
25526
25527
25528
25529 #include <tr1/unordered_map>
25530 _ACEOF
25531 rm -f conftest.$ac_objext
25532 if { (ac_try="$ac_compile"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25536 esac
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_compile") 2>conftest.er1
25539 ac_status=$?
25540 grep -v '^ *+' conftest.er1 >conftest.err
25541 rm -f conftest.er1
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } && {
25545 test -z "$ac_cxx_werror_flag" ||
25546 test ! -s conftest.err
25547 } && test -s conftest.$ac_objext; then
25548 ac_cv_header_tr1_unordered_map=yes
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 ac_cv_header_tr1_unordered_map=no
25554 fi
25555
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 fi
25558 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25559 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25560 if test $ac_cv_header_tr1_unordered_map = yes; then
25561 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25562 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25563 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 else
25566 cat >conftest.$ac_ext <<_ACEOF
25567 /* confdefs.h. */
25568 _ACEOF
25569 cat confdefs.h >>conftest.$ac_ext
25570 cat >>conftest.$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25572 #include <tr1/unordered_map>
25573 #include <tr1/unordered_set>
25574 int
25575 main ()
25576 {
25577 std::tr1::unordered_map<double*, char*> test1;
25578 std::tr1::unordered_set<char*> test2;
25579 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25580 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25581 #endif
25582 ;
25583 return 0;
25584 }
25585 _ACEOF
25586 rm -f conftest.$ac_objext
25587 if { (ac_try="$ac_compile"
25588 case "(($ac_try" in
25589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25591 esac
25592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25593 (eval "$ac_compile") 2>conftest.er1
25594 ac_status=$?
25595 grep -v '^ *+' conftest.er1 >conftest.err
25596 rm -f conftest.er1
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } && {
25600 test -z "$ac_cxx_werror_flag" ||
25601 test ! -s conftest.err
25602 } && test -s conftest.$ac_objext; then
25603 wx_cv_class_tr1unorderedmapset=yes
25604 else
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25607
25608 wx_cv_class_tr1unorderedmapset=no
25609 fi
25610
25611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25612
25613
25614 fi
25615 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25616 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25617 fi
25618
25619
25620
25621 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25622 cat >>confdefs.h <<\_ACEOF
25623 #define HAVE_TR1_UNORDERED_MAP 1
25624 _ACEOF
25625
25626 cat >>confdefs.h <<\_ACEOF
25627 #define HAVE_TR1_UNORDERED_SET 1
25628 _ACEOF
25629
25630 else
25631 { echo "$as_me:$LINENO: checking for hash_map" >&5
25632 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25633 if test "${ac_cv_header_hash_map+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642
25643
25644
25645 #include <hash_map>
25646 _ACEOF
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25652 esac
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } && {
25661 test -z "$ac_cxx_werror_flag" ||
25662 test ! -s conftest.err
25663 } && test -s conftest.$ac_objext; then
25664 ac_cv_header_hash_map=yes
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 ac_cv_header_hash_map=no
25670 fi
25671
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 fi
25674 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25675 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25676 if test $ac_cv_header_hash_map = yes; then
25677 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25678 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25679 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 else
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <hash_map>
25689 #include <hash_set>
25690 int
25691 main ()
25692 {
25693 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25694 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 rm -f conftest.$ac_objext
25700 if { (ac_try="$ac_compile"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_compile") 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest.$ac_objext; then
25716 wx_cv_class_stdhashmapset=yes
25717 else
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 wx_cv_class_stdhashmapset=no
25722 fi
25723
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725
25726
25727 fi
25728 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25729 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25730 fi
25731
25732
25733
25734 if test "$wx_cv_class_stdhashmapset" = yes; then
25735 cat >>confdefs.h <<\_ACEOF
25736 #define HAVE_HASH_MAP 1
25737 _ACEOF
25738
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_STD_HASH_MAP 1
25741 _ACEOF
25742
25743 fi
25744
25745 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25746 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25747 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750 cat >conftest.$ac_ext <<_ACEOF
25751 /* confdefs.h. */
25752 _ACEOF
25753 cat confdefs.h >>conftest.$ac_ext
25754 cat >>conftest.$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25756
25757
25758
25759 #include <ext/hash_map>
25760 _ACEOF
25761 rm -f conftest.$ac_objext
25762 if { (ac_try="$ac_compile"
25763 case "(($ac_try" in
25764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25765 *) ac_try_echo=$ac_try;;
25766 esac
25767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25768 (eval "$ac_compile") 2>conftest.er1
25769 ac_status=$?
25770 grep -v '^ *+' conftest.er1 >conftest.err
25771 rm -f conftest.er1
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } && {
25775 test -z "$ac_cxx_werror_flag" ||
25776 test ! -s conftest.err
25777 } && test -s conftest.$ac_objext; then
25778 ac_cv_header_ext_hash_map=yes
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783 ac_cv_header_ext_hash_map=no
25784 fi
25785
25786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25787 fi
25788 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25789 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25790 if test $ac_cv_header_ext_hash_map = yes; then
25791 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25792 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25793 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 #include <ext/hash_map>
25803 #include <ext/hash_set>
25804 int
25805 main ()
25806 {
25807 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25808 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25809 ;
25810 return 0;
25811 }
25812 _ACEOF
25813 rm -f conftest.$ac_objext
25814 if { (ac_try="$ac_compile"
25815 case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25818 esac
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_compile") 2>conftest.er1
25821 ac_status=$?
25822 grep -v '^ *+' conftest.er1 >conftest.err
25823 rm -f conftest.er1
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && {
25827 test -z "$ac_cxx_werror_flag" ||
25828 test ! -s conftest.err
25829 } && test -s conftest.$ac_objext; then
25830 wx_cv_class_gnuhashmapset=yes
25831 else
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25834
25835 wx_cv_class_gnuhashmapset=no
25836 fi
25837
25838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839
25840
25841 fi
25842 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25843 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25844 fi
25845
25846
25847
25848 fi
25849 fi
25850 fi
25851
25852 ac_ext=cpp
25853 ac_cpp='$CXXCPP $CPPFLAGS'
25854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25857 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25858 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25859 if test -z "$CXXCPP"; then
25860 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25861 echo $ECHO_N "(cached) $ECHO_C" >&6
25862 else
25863 # Double quotes because CXXCPP needs to be expanded
25864 for CXXCPP in "$CXX -E" "/lib/cpp"
25865 do
25866 ac_preproc_ok=false
25867 for ac_cxx_preproc_warn_flag in '' yes
25868 do
25869 # Use a header file that comes with gcc, so configuring glibc
25870 # with a fresh cross-compiler works.
25871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 # <limits.h> exists even on freestanding compilers.
25873 # On the NeXT, cc -E runs the code through the compiler's parser,
25874 # not just through cpp. "Syntax error" is here to catch this case.
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 #ifdef __STDC__
25882 # include <limits.h>
25883 #else
25884 # include <assert.h>
25885 #endif
25886 Syntax error
25887 _ACEOF
25888 if { (ac_try="$ac_cpp conftest.$ac_ext"
25889 case "(($ac_try" in
25890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25891 *) ac_try_echo=$ac_try;;
25892 esac
25893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25895 ac_status=$?
25896 grep -v '^ *+' conftest.er1 >conftest.err
25897 rm -f conftest.er1
25898 cat conftest.err >&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); } >/dev/null && {
25901 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25902 test ! -s conftest.err
25903 }; then
25904 :
25905 else
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.$ac_ext >&5
25908
25909 # Broken: fails on valid input.
25910 continue
25911 fi
25912
25913 rm -f conftest.err conftest.$ac_ext
25914
25915 # OK, works on sane cases. Now check whether nonexistent headers
25916 # can be detected and how.
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923 #include <ac_nonexistent.h>
25924 _ACEOF
25925 if { (ac_try="$ac_cpp conftest.$ac_ext"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25929 esac
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25932 ac_status=$?
25933 grep -v '^ *+' conftest.er1 >conftest.err
25934 rm -f conftest.er1
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } >/dev/null && {
25938 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25939 test ! -s conftest.err
25940 }; then
25941 # Broken: success on invalid input.
25942 continue
25943 else
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.$ac_ext >&5
25946
25947 # Passes both tests.
25948 ac_preproc_ok=:
25949 break
25950 fi
25951
25952 rm -f conftest.err conftest.$ac_ext
25953
25954 done
25955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25956 rm -f conftest.err conftest.$ac_ext
25957 if $ac_preproc_ok; then
25958 break
25959 fi
25960
25961 done
25962 ac_cv_prog_CXXCPP=$CXXCPP
25963
25964 fi
25965 CXXCPP=$ac_cv_prog_CXXCPP
25966 else
25967 ac_cv_prog_CXXCPP=$CXXCPP
25968 fi
25969 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25970 echo "${ECHO_T}$CXXCPP" >&6; }
25971 ac_preproc_ok=false
25972 for ac_cxx_preproc_warn_flag in '' yes
25973 do
25974 # Use a header file that comes with gcc, so configuring glibc
25975 # with a fresh cross-compiler works.
25976 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25977 # <limits.h> exists even on freestanding compilers.
25978 # On the NeXT, cc -E runs the code through the compiler's parser,
25979 # not just through cpp. "Syntax error" is here to catch this case.
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #ifdef __STDC__
25987 # include <limits.h>
25988 #else
25989 # include <assert.h>
25990 #endif
25991 Syntax error
25992 _ACEOF
25993 if { (ac_try="$ac_cpp conftest.$ac_ext"
25994 case "(($ac_try" in
25995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25996 *) ac_try_echo=$ac_try;;
25997 esac
25998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26000 ac_status=$?
26001 grep -v '^ *+' conftest.er1 >conftest.err
26002 rm -f conftest.er1
26003 cat conftest.err >&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } >/dev/null && {
26006 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26007 test ! -s conftest.err
26008 }; then
26009 :
26010 else
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26013
26014 # Broken: fails on valid input.
26015 continue
26016 fi
26017
26018 rm -f conftest.err conftest.$ac_ext
26019
26020 # OK, works on sane cases. Now check whether nonexistent headers
26021 # can be detected and how.
26022 cat >conftest.$ac_ext <<_ACEOF
26023 /* confdefs.h. */
26024 _ACEOF
26025 cat confdefs.h >>conftest.$ac_ext
26026 cat >>conftest.$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 #include <ac_nonexistent.h>
26029 _ACEOF
26030 if { (ac_try="$ac_cpp conftest.$ac_ext"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } >/dev/null && {
26043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26044 test ! -s conftest.err
26045 }; then
26046 # Broken: success on invalid input.
26047 continue
26048 else
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.$ac_ext >&5
26051
26052 # Passes both tests.
26053 ac_preproc_ok=:
26054 break
26055 fi
26056
26057 rm -f conftest.err conftest.$ac_ext
26058
26059 done
26060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26061 rm -f conftest.err conftest.$ac_ext
26062 if $ac_preproc_ok; then
26063 :
26064 else
26065 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26066 See \`config.log' for more details." >&5
26067 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26068 See \`config.log' for more details." >&2;}
26069 { (exit 1); exit 1; }; }
26070 fi
26071
26072 ac_ext=cpp
26073 ac_cpp='$CXXCPP $CPPFLAGS'
26074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26077
26078
26079
26080
26081 for ac_header in type_traits tr1/type_traits
26082 do
26083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26089 fi
26090 ac_res=`eval echo '${'$as_ac_Header'}'`
26091 { echo "$as_me:$LINENO: result: $ac_res" >&5
26092 echo "${ECHO_T}$ac_res" >&6; }
26093 else
26094 # Is the header compilable?
26095 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26097 cat >conftest.$ac_ext <<_ACEOF
26098 /* confdefs.h. */
26099 _ACEOF
26100 cat confdefs.h >>conftest.$ac_ext
26101 cat >>conftest.$ac_ext <<_ACEOF
26102 /* end confdefs.h. */
26103 $ac_includes_default
26104 #include <$ac_header>
26105 _ACEOF
26106 rm -f conftest.$ac_objext
26107 if { (ac_try="$ac_compile"
26108 case "(($ac_try" in
26109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26110 *) ac_try_echo=$ac_try;;
26111 esac
26112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26113 (eval "$ac_compile") 2>conftest.er1
26114 ac_status=$?
26115 grep -v '^ *+' conftest.er1 >conftest.err
26116 rm -f conftest.er1
26117 cat conftest.err >&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); } && {
26120 test -z "$ac_cxx_werror_flag" ||
26121 test ! -s conftest.err
26122 } && test -s conftest.$ac_objext; then
26123 ac_header_compiler=yes
26124 else
26125 echo "$as_me: failed program was:" >&5
26126 sed 's/^/| /' conftest.$ac_ext >&5
26127
26128 ac_header_compiler=no
26129 fi
26130
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26133 echo "${ECHO_T}$ac_header_compiler" >&6; }
26134
26135 # Is the header present?
26136 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26138 cat >conftest.$ac_ext <<_ACEOF
26139 /* confdefs.h. */
26140 _ACEOF
26141 cat confdefs.h >>conftest.$ac_ext
26142 cat >>conftest.$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26144 #include <$ac_header>
26145 _ACEOF
26146 if { (ac_try="$ac_cpp conftest.$ac_ext"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26150 esac
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26153 ac_status=$?
26154 grep -v '^ *+' conftest.er1 >conftest.err
26155 rm -f conftest.er1
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } >/dev/null && {
26159 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26160 test ! -s conftest.err
26161 }; then
26162 ac_header_preproc=yes
26163 else
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.$ac_ext >&5
26166
26167 ac_header_preproc=no
26168 fi
26169
26170 rm -f conftest.err conftest.$ac_ext
26171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26172 echo "${ECHO_T}$ac_header_preproc" >&6; }
26173
26174 # So? What about this header?
26175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26176 yes:no: )
26177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26181 ac_header_preproc=yes
26182 ;;
26183 no:yes:* )
26184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26196 ( cat <<\_ASBOX
26197 ## ----------------------------------------- ##
26198 ## Report this to wx-dev@lists.wxwidgets.org ##
26199 ## ----------------------------------------- ##
26200 _ASBOX
26201 ) | sed "s/^/$as_me: WARNING: /" >&2
26202 ;;
26203 esac
26204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 else
26209 eval "$as_ac_Header=\$ac_header_preproc"
26210 fi
26211 ac_res=`eval echo '${'$as_ac_Header'}'`
26212 { echo "$as_me:$LINENO: result: $ac_res" >&5
26213 echo "${ECHO_T}$ac_res" >&6; }
26214
26215 fi
26216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26217 cat >>confdefs.h <<_ACEOF
26218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26219 _ACEOF
26220
26221 fi
26222
26223 done
26224
26225
26226
26227
26228 if test -n "$GCC"; then
26229 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26230 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26231 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 else
26234
26235 cat >conftest.$ac_ext <<_ACEOF
26236 /* confdefs.h. */
26237 _ACEOF
26238 cat confdefs.h >>conftest.$ac_ext
26239 cat >>conftest.$ac_ext <<_ACEOF
26240 /* end confdefs.h. */
26241
26242 int
26243 main ()
26244 {
26245
26246 unsigned int value=0;
26247 /* wxAtomicInc doesn't use return value here */
26248 __sync_fetch_and_add(&value, 2);
26249 __sync_sub_and_fetch(&value, 1);
26250 /* but wxAtomicDec does, so mimic that: */
26251 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26252
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 rm -f conftest.$ac_objext conftest$ac_exeext
26258 if { (ac_try="$ac_link"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26262 esac
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_link") 2>conftest.er1
26265 ac_status=$?
26266 grep -v '^ *+' conftest.er1 >conftest.err
26267 rm -f conftest.er1
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_cxx_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest$ac_exeext &&
26274 $as_test_x conftest$ac_exeext; then
26275 wx_cv_cc_gcc_atomic_builtins=yes
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 wx_cv_cc_gcc_atomic_builtins=no
26281 fi
26282
26283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26284 conftest$ac_exeext conftest.$ac_ext
26285
26286 fi
26287
26288 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26289 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26290 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26291 cat >>confdefs.h <<\_ACEOF
26292 #define HAVE_GCC_ATOMIC_BUILTINS 1
26293 _ACEOF
26294
26295 fi
26296 fi
26297
26298
26299 ac_ext=c
26300 ac_cpp='$CPP $CPPFLAGS'
26301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26304
26305
26306
26307 SEARCH_INCLUDE="\
26308 /usr/local/include \
26309 /usr/local/X11/include \
26310 /usr/local/include/X11 \
26311 /usr/local/X11R7/include \
26312 /usr/local/X11R6/include \
26313 /usr/local/include/X11R7 \
26314 /usr/local/include/X11R6 \
26315 \
26316 /usr/Motif-2.1/include \
26317 /usr/Motif-1.2/include \
26318 /usr/include/Motif1.2 \
26319 \
26320 /usr/dt/include \
26321 /usr/openwin/include \
26322 \
26323 /usr/include/Xm \
26324 \
26325 /usr/X11R7/include \
26326 /usr/X11R6/include \
26327 /usr/X11R6.4/include \
26328 \
26329 /usr/include/X11R7 \
26330 /usr/include/X11R6 \
26331 \
26332 /usr/X11/include \
26333 /usr/include/X11 \
26334 \
26335 /usr/XFree86/include/X11 \
26336 /usr/pkg/include \
26337 \
26338 /usr/local/X1R5/include \
26339 /usr/local/include/X11R5 \
26340 /usr/X11R5/include \
26341 /usr/include/X11R5 \
26342 \
26343 /usr/local/X11R4/include \
26344 /usr/local/include/X11R4 \
26345 /usr/X11R4/include \
26346 /usr/include/X11R4 \
26347 \
26348 /usr/openwin/share/include"
26349
26350 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26351 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26352
26353 case "${host}" in
26354 *-*-irix6* )
26355 if test "${wx_cv_std_libpath+set}" = set; then
26356 echo $ECHO_N "(cached) $ECHO_C" >&6
26357 else
26358
26359 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26360 for e in a so sl dylib dll.a; do
26361 libc="$d/libc.$e"
26362 if test -f $libc; then
26363 save_LIBS="$LIBS"
26364 LIBS="$libc"
26365 cat >conftest.$ac_ext <<_ACEOF
26366 int main() { return 0; }
26367 _ACEOF
26368 rm -f conftest.$ac_objext conftest$ac_exeext
26369 if { (ac_try="$ac_link"
26370 case "(($ac_try" in
26371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26372 *) ac_try_echo=$ac_try;;
26373 esac
26374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26375 (eval "$ac_link") 2>conftest.er1
26376 ac_status=$?
26377 grep -v '^ *+' conftest.er1 >conftest.err
26378 rm -f conftest.er1
26379 cat conftest.err >&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } && {
26382 test -z "$ac_c_werror_flag" ||
26383 test ! -s conftest.err
26384 } && test -s conftest$ac_exeext &&
26385 $as_test_x conftest$ac_exeext; then
26386 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26387 else
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26390
26391
26392 fi
26393
26394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26395 conftest$ac_exeext conftest.$ac_ext
26396 LIBS="$save_LIBS"
26397 if test "x$wx_cv_std_libpath" != "x"; then
26398 break 2
26399 fi
26400 fi
26401 done
26402 done
26403 if test "x$wx_cv_std_libpath" = "x"; then
26404 wx_cv_std_libpath="lib"
26405 fi
26406
26407
26408 fi
26409
26410 ;;
26411
26412 *-*-solaris2* )
26413 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26414 wx_cv_std_libpath="lib/64"
26415 else
26416 wx_cv_std_libpath="lib"
26417 fi
26418 ;;
26419
26420 *-*-linux* )
26421 if test "$ac_cv_sizeof_void_p" = 8 -a \
26422 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26423 wx_cv_std_libpath="lib64"
26424 else
26425 wx_cv_std_libpath="lib"
26426 fi
26427 ;;
26428
26429 *)
26430 wx_cv_std_libpath="lib";
26431 ;;
26432 esac
26433
26434 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26435 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26436
26437 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26438
26439 if test "$build" != "$host" -a "$GCC" = yes; then
26440 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26441 cross_root=`dirname $cross_root`
26442 cross_root=`dirname $cross_root`
26443
26444 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26445 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26446 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26447
26448 if test -z "$PKG_CONFIG_PATH"; then
26449 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26450 export PKG_CONFIG_PATH
26451 fi
26452
26453 if test -z "$x_includes" -o "$x_includes" = NONE; then
26454
26455 ac_find_includes=
26456 for ac_dir in $SEARCH_INCLUDE /usr/include;
26457 do
26458 if test -f "$ac_dir/X11/Intrinsic.h"; then
26459 ac_find_includes=$ac_dir
26460 break
26461 fi
26462 done
26463
26464 x_includes=$ac_find_includes
26465 fi
26466 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26467
26468 ac_find_libraries=
26469 for ac_dir in $SEARCH_LIB;
26470 do
26471 for ac_extension in a so sl dylib dll.a; do
26472 if test -f "$ac_dir/libXt.$ac_extension"; then
26473 ac_find_libraries=$ac_dir
26474 break 2
26475 fi
26476 done
26477 done
26478
26479 x_libraries=$ac_find_libraries
26480 fi
26481 fi
26482 fi
26483
26484
26485 cat >confcache <<\_ACEOF
26486 # This file is a shell script that caches the results of configure
26487 # tests run on this system so they can be shared between configure
26488 # scripts and configure runs, see configure's option --config-cache.
26489 # It is not useful on other systems. If it contains results you don't
26490 # want to keep, you may remove or edit it.
26491 #
26492 # config.status only pays attention to the cache file if you give it
26493 # the --recheck option to rerun configure.
26494 #
26495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26497 # following values.
26498
26499 _ACEOF
26500
26501 # The following way of writing the cache mishandles newlines in values,
26502 # but we know of no workaround that is simple, portable, and efficient.
26503 # So, we kill variables containing newlines.
26504 # Ultrix sh set writes to stderr and can't be redirected directly,
26505 # and sets the high bit in the cache file unless we assign to the vars.
26506 (
26507 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26508 eval ac_val=\$$ac_var
26509 case $ac_val in #(
26510 *${as_nl}*)
26511 case $ac_var in #(
26512 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26513 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26514 esac
26515 case $ac_var in #(
26516 _ | IFS | as_nl) ;; #(
26517 *) $as_unset $ac_var ;;
26518 esac ;;
26519 esac
26520 done
26521
26522 (set) 2>&1 |
26523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26524 *${as_nl}ac_space=\ *)
26525 # `set' does not quote correctly, so add quotes (double-quote
26526 # substitution turns \\\\ into \\, and sed turns \\ into \).
26527 sed -n \
26528 "s/'/'\\\\''/g;
26529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26530 ;; #(
26531 *)
26532 # `set' quotes correctly as required by POSIX, so do not add quotes.
26533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26534 ;;
26535 esac |
26536 sort
26537 ) |
26538 sed '
26539 /^ac_cv_env_/b end
26540 t clear
26541 :clear
26542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26543 t end
26544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26545 :end' >>confcache
26546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26547 if test -w "$cache_file"; then
26548 test "x$cache_file" != "x/dev/null" &&
26549 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26550 echo "$as_me: updating cache $cache_file" >&6;}
26551 cat confcache >$cache_file
26552 else
26553 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26554 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26555 fi
26556 fi
26557 rm -f confcache
26558
26559 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26560 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26561 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26562 if test "${wx_cv_lib_glibc21+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26564 else
26565
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 #include <features.h>
26573 int
26574 main ()
26575 {
26576
26577 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26578 not glibc 2.1
26579 #endif
26580
26581 ;
26582 return 0;
26583 }
26584 _ACEOF
26585 rm -f conftest.$ac_objext
26586 if { (ac_try="$ac_compile"
26587 case "(($ac_try" in
26588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26589 *) ac_try_echo=$ac_try;;
26590 esac
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_compile") 2>conftest.er1
26593 ac_status=$?
26594 grep -v '^ *+' conftest.er1 >conftest.err
26595 rm -f conftest.er1
26596 cat conftest.err >&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } && {
26599 test -z "$ac_c_werror_flag" ||
26600 test ! -s conftest.err
26601 } && test -s conftest.$ac_objext; then
26602
26603 wx_cv_lib_glibc21=yes
26604
26605 else
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26608
26609
26610 wx_cv_lib_glibc21=no
26611
26612
26613 fi
26614
26615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26616
26617 fi
26618 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26619 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26620 if test "$wx_cv_lib_glibc21" = "yes"; then
26621 cat >>confdefs.h <<\_ACEOF
26622 #define wxHAVE_GLIBC2 1
26623 _ACEOF
26624
26625 fi
26626 fi
26627
26628 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26629 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26630 cat >>confdefs.h <<\_ACEOF
26631 #define _GNU_SOURCE 1
26632 _ACEOF
26633
26634 fi
26635 fi
26636
26637 have_cos=0
26638 have_floor=0
26639
26640 for ac_func in cos
26641 do
26642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 else
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26656 #define $ac_func innocuous_$ac_func
26657
26658 /* System header to define __stub macros and hopefully few prototypes,
26659 which can conflict with char $ac_func (); below.
26660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26661 <limits.h> exists even on freestanding compilers. */
26662
26663 #ifdef __STDC__
26664 # include <limits.h>
26665 #else
26666 # include <assert.h>
26667 #endif
26668
26669 #undef $ac_func
26670
26671 /* Override any GCC internal prototype to avoid an error.
26672 Use char because int might match the return type of a GCC
26673 builtin and then its argument prototype would still apply. */
26674 #ifdef __cplusplus
26675 extern "C"
26676 #endif
26677 char $ac_func ();
26678 /* The GNU C library defines this for functions which it implements
26679 to always fail with ENOSYS. Some functions are actually named
26680 something starting with __ and the normal name is an alias. */
26681 #if defined __stub_$ac_func || defined __stub___$ac_func
26682 choke me
26683 #endif
26684
26685 int
26686 main ()
26687 {
26688 return $ac_func ();
26689 ;
26690 return 0;
26691 }
26692 _ACEOF
26693 rm -f conftest.$ac_objext conftest$ac_exeext
26694 if { (ac_try="$ac_link"
26695 case "(($ac_try" in
26696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26697 *) ac_try_echo=$ac_try;;
26698 esac
26699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26700 (eval "$ac_link") 2>conftest.er1
26701 ac_status=$?
26702 grep -v '^ *+' conftest.er1 >conftest.err
26703 rm -f conftest.er1
26704 cat conftest.err >&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); } && {
26707 test -z "$ac_c_werror_flag" ||
26708 test ! -s conftest.err
26709 } && test -s conftest$ac_exeext &&
26710 $as_test_x conftest$ac_exeext; then
26711 eval "$as_ac_var=yes"
26712 else
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26715
26716 eval "$as_ac_var=no"
26717 fi
26718
26719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26720 conftest$ac_exeext conftest.$ac_ext
26721 fi
26722 ac_res=`eval echo '${'$as_ac_var'}'`
26723 { echo "$as_me:$LINENO: result: $ac_res" >&5
26724 echo "${ECHO_T}$ac_res" >&6; }
26725 if test `eval echo '${'$as_ac_var'}'` = yes; then
26726 cat >>confdefs.h <<_ACEOF
26727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26728 _ACEOF
26729 have_cos=1
26730 fi
26731 done
26732
26733
26734 for ac_func in floor
26735 do
26736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 else
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h. */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26750 #define $ac_func innocuous_$ac_func
26751
26752 /* System header to define __stub macros and hopefully few prototypes,
26753 which can conflict with char $ac_func (); below.
26754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26755 <limits.h> exists even on freestanding compilers. */
26756
26757 #ifdef __STDC__
26758 # include <limits.h>
26759 #else
26760 # include <assert.h>
26761 #endif
26762
26763 #undef $ac_func
26764
26765 /* Override any GCC internal prototype to avoid an error.
26766 Use char because int might match the return type of a GCC
26767 builtin and then its argument prototype would still apply. */
26768 #ifdef __cplusplus
26769 extern "C"
26770 #endif
26771 char $ac_func ();
26772 /* The GNU C library defines this for functions which it implements
26773 to always fail with ENOSYS. Some functions are actually named
26774 something starting with __ and the normal name is an alias. */
26775 #if defined __stub_$ac_func || defined __stub___$ac_func
26776 choke me
26777 #endif
26778
26779 int
26780 main ()
26781 {
26782 return $ac_func ();
26783 ;
26784 return 0;
26785 }
26786 _ACEOF
26787 rm -f conftest.$ac_objext conftest$ac_exeext
26788 if { (ac_try="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26792 esac
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_link") 2>conftest.er1
26795 ac_status=$?
26796 grep -v '^ *+' conftest.er1 >conftest.err
26797 rm -f conftest.er1
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest$ac_exeext &&
26804 $as_test_x conftest$ac_exeext; then
26805 eval "$as_ac_var=yes"
26806 else
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 eval "$as_ac_var=no"
26811 fi
26812
26813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26814 conftest$ac_exeext conftest.$ac_ext
26815 fi
26816 ac_res=`eval echo '${'$as_ac_var'}'`
26817 { echo "$as_me:$LINENO: result: $ac_res" >&5
26818 echo "${ECHO_T}$ac_res" >&6; }
26819 if test `eval echo '${'$as_ac_var'}'` = yes; then
26820 cat >>confdefs.h <<_ACEOF
26821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26822 _ACEOF
26823 have_floor=1
26824 fi
26825 done
26826
26827 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26828 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26829 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26830 { echo "$as_me:$LINENO: result: yes" >&5
26831 echo "${ECHO_T}yes" >&6; }
26832 else
26833 { echo "$as_me:$LINENO: result: no" >&5
26834 echo "${ECHO_T}no" >&6; }
26835 LIBS="$LIBS -lm"
26836 # use different functions to avoid configure caching
26837 have_sin=0
26838 have_ceil=0
26839
26840 for ac_func in sin
26841 do
26842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26848 cat >conftest.$ac_ext <<_ACEOF
26849 /* confdefs.h. */
26850 _ACEOF
26851 cat confdefs.h >>conftest.$ac_ext
26852 cat >>conftest.$ac_ext <<_ACEOF
26853 /* end confdefs.h. */
26854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26856 #define $ac_func innocuous_$ac_func
26857
26858 /* System header to define __stub macros and hopefully few prototypes,
26859 which can conflict with char $ac_func (); below.
26860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26861 <limits.h> exists even on freestanding compilers. */
26862
26863 #ifdef __STDC__
26864 # include <limits.h>
26865 #else
26866 # include <assert.h>
26867 #endif
26868
26869 #undef $ac_func
26870
26871 /* Override any GCC internal prototype to avoid an error.
26872 Use char because int might match the return type of a GCC
26873 builtin and then its argument prototype would still apply. */
26874 #ifdef __cplusplus
26875 extern "C"
26876 #endif
26877 char $ac_func ();
26878 /* The GNU C library defines this for functions which it implements
26879 to always fail with ENOSYS. Some functions are actually named
26880 something starting with __ and the normal name is an alias. */
26881 #if defined __stub_$ac_func || defined __stub___$ac_func
26882 choke me
26883 #endif
26884
26885 int
26886 main ()
26887 {
26888 return $ac_func ();
26889 ;
26890 return 0;
26891 }
26892 _ACEOF
26893 rm -f conftest.$ac_objext conftest$ac_exeext
26894 if { (ac_try="$ac_link"
26895 case "(($ac_try" in
26896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26898 esac
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_link") 2>conftest.er1
26901 ac_status=$?
26902 grep -v '^ *+' conftest.er1 >conftest.err
26903 rm -f conftest.er1
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } && {
26907 test -z "$ac_c_werror_flag" ||
26908 test ! -s conftest.err
26909 } && test -s conftest$ac_exeext &&
26910 $as_test_x conftest$ac_exeext; then
26911 eval "$as_ac_var=yes"
26912 else
26913 echo "$as_me: failed program was:" >&5
26914 sed 's/^/| /' conftest.$ac_ext >&5
26915
26916 eval "$as_ac_var=no"
26917 fi
26918
26919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26920 conftest$ac_exeext conftest.$ac_ext
26921 fi
26922 ac_res=`eval echo '${'$as_ac_var'}'`
26923 { echo "$as_me:$LINENO: result: $ac_res" >&5
26924 echo "${ECHO_T}$ac_res" >&6; }
26925 if test `eval echo '${'$as_ac_var'}'` = yes; then
26926 cat >>confdefs.h <<_ACEOF
26927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26928 _ACEOF
26929 have_sin=1
26930 fi
26931 done
26932
26933
26934 for ac_func in ceil
26935 do
26936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26941 else
26942 cat >conftest.$ac_ext <<_ACEOF
26943 /* confdefs.h. */
26944 _ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26950 #define $ac_func innocuous_$ac_func
26951
26952 /* System header to define __stub macros and hopefully few prototypes,
26953 which can conflict with char $ac_func (); below.
26954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26955 <limits.h> exists even on freestanding compilers. */
26956
26957 #ifdef __STDC__
26958 # include <limits.h>
26959 #else
26960 # include <assert.h>
26961 #endif
26962
26963 #undef $ac_func
26964
26965 /* Override any GCC internal prototype to avoid an error.
26966 Use char because int might match the return type of a GCC
26967 builtin and then its argument prototype would still apply. */
26968 #ifdef __cplusplus
26969 extern "C"
26970 #endif
26971 char $ac_func ();
26972 /* The GNU C library defines this for functions which it implements
26973 to always fail with ENOSYS. Some functions are actually named
26974 something starting with __ and the normal name is an alias. */
26975 #if defined __stub_$ac_func || defined __stub___$ac_func
26976 choke me
26977 #endif
26978
26979 int
26980 main ()
26981 {
26982 return $ac_func ();
26983 ;
26984 return 0;
26985 }
26986 _ACEOF
26987 rm -f conftest.$ac_objext conftest$ac_exeext
26988 if { (ac_try="$ac_link"
26989 case "(($ac_try" in
26990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26991 *) ac_try_echo=$ac_try;;
26992 esac
26993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26994 (eval "$ac_link") 2>conftest.er1
26995 ac_status=$?
26996 grep -v '^ *+' conftest.er1 >conftest.err
26997 rm -f conftest.er1
26998 cat conftest.err >&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } && {
27001 test -z "$ac_c_werror_flag" ||
27002 test ! -s conftest.err
27003 } && test -s conftest$ac_exeext &&
27004 $as_test_x conftest$ac_exeext; then
27005 eval "$as_ac_var=yes"
27006 else
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27009
27010 eval "$as_ac_var=no"
27011 fi
27012
27013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27014 conftest$ac_exeext conftest.$ac_ext
27015 fi
27016 ac_res=`eval echo '${'$as_ac_var'}'`
27017 { echo "$as_me:$LINENO: result: $ac_res" >&5
27018 echo "${ECHO_T}$ac_res" >&6; }
27019 if test `eval echo '${'$as_ac_var'}'` = yes; then
27020 cat >>confdefs.h <<_ACEOF
27021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27022 _ACEOF
27023 have_ceil=1
27024 fi
27025 done
27026
27027 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27028 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27029 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27030 { echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6; }
27032 else
27033 { echo "$as_me:$LINENO: result: no" >&5
27034 echo "${ECHO_T}no" >&6; }
27035 # not sure we should warn the user, crash, etc.
27036 fi
27037 fi
27038
27039 ac_ext=cpp
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27044
27045 if test "wxUSE_UNICODE" = "yes"; then
27046
27047 for wx_func in wcstoull
27048 do
27049 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27050 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27051 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 else
27054
27055 cat >conftest.$ac_ext <<_ACEOF
27056
27057 /* confdefs.h. */
27058 _ACEOF
27059 cat confdefs.h >>conftest.$ac_ext
27060 cat >>conftest.$ac_ext <<_ACEOF
27061 /* end confdefs.h. */
27062
27063
27064 $ac_includes_default
27065
27066 int
27067 main ()
27068 {
27069
27070 #ifndef $wx_func
27071 &$wx_func;
27072 #endif
27073
27074
27075 ;
27076 return 0;
27077 }
27078
27079 _ACEOF
27080 rm -f conftest.$ac_objext conftest$ac_exeext
27081 if { (ac_try="$ac_link"
27082 case "(($ac_try" in
27083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27084 *) ac_try_echo=$ac_try;;
27085 esac
27086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27087 (eval "$ac_link") 2>conftest.er1
27088 ac_status=$?
27089 grep -v '^ *+' conftest.er1 >conftest.err
27090 rm -f conftest.er1
27091 cat conftest.err >&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } && {
27094 test -z "$ac_cxx_werror_flag" ||
27095 test ! -s conftest.err
27096 } && test -s conftest$ac_exeext &&
27097 $as_test_x conftest$ac_exeext; then
27098 eval wx_cv_func_$wx_func=yes
27099 else
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27102
27103 eval wx_cv_func_$wx_func=no
27104 fi
27105
27106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27107 conftest$ac_exeext conftest.$ac_ext
27108
27109 fi
27110 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27111 { echo "$as_me:$LINENO: result: $ac_res" >&5
27112 echo "${ECHO_T}$ac_res" >&6; }
27113
27114 if eval test \$wx_cv_func_$wx_func = yes
27115 then
27116 cat >>confdefs.h <<_ACEOF
27117 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27118 _ACEOF
27119
27120
27121 else
27122 :
27123
27124 fi
27125 done
27126
27127 else
27128
27129 for wx_func in strtoull
27130 do
27131 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27132 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27133 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27135 else
27136
27137 cat >conftest.$ac_ext <<_ACEOF
27138
27139 /* confdefs.h. */
27140 _ACEOF
27141 cat confdefs.h >>conftest.$ac_ext
27142 cat >>conftest.$ac_ext <<_ACEOF
27143 /* end confdefs.h. */
27144
27145
27146 $ac_includes_default
27147
27148 int
27149 main ()
27150 {
27151
27152 #ifndef $wx_func
27153 &$wx_func;
27154 #endif
27155
27156
27157 ;
27158 return 0;
27159 }
27160
27161 _ACEOF
27162 rm -f conftest.$ac_objext conftest$ac_exeext
27163 if { (ac_try="$ac_link"
27164 case "(($ac_try" in
27165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27166 *) ac_try_echo=$ac_try;;
27167 esac
27168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27169 (eval "$ac_link") 2>conftest.er1
27170 ac_status=$?
27171 grep -v '^ *+' conftest.er1 >conftest.err
27172 rm -f conftest.er1
27173 cat conftest.err >&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); } && {
27176 test -z "$ac_cxx_werror_flag" ||
27177 test ! -s conftest.err
27178 } && test -s conftest$ac_exeext &&
27179 $as_test_x conftest$ac_exeext; then
27180 eval wx_cv_func_$wx_func=yes
27181 else
27182 echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27184
27185 eval wx_cv_func_$wx_func=no
27186 fi
27187
27188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27189 conftest$ac_exeext conftest.$ac_ext
27190
27191 fi
27192 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27193 { echo "$as_me:$LINENO: result: $ac_res" >&5
27194 echo "${ECHO_T}$ac_res" >&6; }
27195
27196 if eval test \$wx_cv_func_$wx_func = yes
27197 then
27198 cat >>confdefs.h <<_ACEOF
27199 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27200 _ACEOF
27201
27202
27203 else
27204 :
27205
27206 fi
27207 done
27208
27209 fi
27210 ac_ext=c
27211 ac_cpp='$CPP $CPPFLAGS'
27212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215
27216
27217
27218
27219 if test "$wxUSE_REGEX" != "no"; then
27220 cat >>confdefs.h <<\_ACEOF
27221 #define wxUSE_REGEX 1
27222 _ACEOF
27223
27224
27225 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27226 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27227 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27228 wxUSE_REGEX=builtin
27229 fi
27230
27231 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27232 { echo "$as_me:$LINENO: checking for regex.h" >&5
27233 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27234 if test "${ac_cv_header_regex_h+set}" = set; then
27235 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 else
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
27244
27245 #include <regex.h>
27246 _ACEOF
27247 rm -f conftest.$ac_objext
27248 if { (ac_try="$ac_compile"
27249 case "(($ac_try" in
27250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27251 *) ac_try_echo=$ac_try;;
27252 esac
27253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27254 (eval "$ac_compile") 2>conftest.er1
27255 ac_status=$?
27256 grep -v '^ *+' conftest.er1 >conftest.err
27257 rm -f conftest.er1
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); } && {
27261 test -z "$ac_c_werror_flag" ||
27262 test ! -s conftest.err
27263 } && test -s conftest.$ac_objext; then
27264 ac_cv_header_regex_h=yes
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 ac_cv_header_regex_h=no
27270 fi
27271
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 fi
27274 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27275 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27276 if test $ac_cv_header_regex_h = yes; then
27277
27278
27279 for ac_func in regcomp re_search
27280 do
27281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287 cat >conftest.$ac_ext <<_ACEOF
27288 /* confdefs.h. */
27289 _ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27295 #define $ac_func innocuous_$ac_func
27296
27297 /* System header to define __stub macros and hopefully few prototypes,
27298 which can conflict with char $ac_func (); below.
27299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27300 <limits.h> exists even on freestanding compilers. */
27301
27302 #ifdef __STDC__
27303 # include <limits.h>
27304 #else
27305 # include <assert.h>
27306 #endif
27307
27308 #undef $ac_func
27309
27310 /* Override any GCC internal prototype to avoid an error.
27311 Use char because int might match the return type of a GCC
27312 builtin and then its argument prototype would still apply. */
27313 #ifdef __cplusplus
27314 extern "C"
27315 #endif
27316 char $ac_func ();
27317 /* The GNU C library defines this for functions which it implements
27318 to always fail with ENOSYS. Some functions are actually named
27319 something starting with __ and the normal name is an alias. */
27320 #if defined __stub_$ac_func || defined __stub___$ac_func
27321 choke me
27322 #endif
27323
27324 int
27325 main ()
27326 {
27327 return $ac_func ();
27328 ;
27329 return 0;
27330 }
27331 _ACEOF
27332 rm -f conftest.$ac_objext conftest$ac_exeext
27333 if { (ac_try="$ac_link"
27334 case "(($ac_try" in
27335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27336 *) ac_try_echo=$ac_try;;
27337 esac
27338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27339 (eval "$ac_link") 2>conftest.er1
27340 ac_status=$?
27341 grep -v '^ *+' conftest.er1 >conftest.err
27342 rm -f conftest.er1
27343 cat conftest.err >&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } && {
27346 test -z "$ac_c_werror_flag" ||
27347 test ! -s conftest.err
27348 } && test -s conftest$ac_exeext &&
27349 $as_test_x conftest$ac_exeext; then
27350 eval "$as_ac_var=yes"
27351 else
27352 echo "$as_me: failed program was:" >&5
27353 sed 's/^/| /' conftest.$ac_ext >&5
27354
27355 eval "$as_ac_var=no"
27356 fi
27357
27358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27359 conftest$ac_exeext conftest.$ac_ext
27360 fi
27361 ac_res=`eval echo '${'$as_ac_var'}'`
27362 { echo "$as_me:$LINENO: result: $ac_res" >&5
27363 echo "${ECHO_T}$ac_res" >&6; }
27364 if test `eval echo '${'$as_ac_var'}'` = yes; then
27365 cat >>confdefs.h <<_ACEOF
27366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27367 _ACEOF
27368
27369 fi
27370 done
27371
27372 fi
27373
27374
27375
27376 if test "x$ac_cv_func_regcomp" != "xyes"; then
27377 if test "$wxUSE_REGEX" = "sys" ; then
27378 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27379 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27380 { (exit 1); exit 1; }; }
27381 else
27382 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27383 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27384 wxUSE_REGEX=builtin
27385 fi
27386 else
27387 wxUSE_REGEX=sys
27388 cat >>confdefs.h <<\_ACEOF
27389 #define WX_NO_REGEX_ADVANCED 1
27390 _ACEOF
27391
27392 fi
27393 fi
27394 fi
27395
27396
27397 ZLIB_LINK=
27398 if test "$wxUSE_ZLIB" != "no" ; then
27399 cat >>confdefs.h <<\_ACEOF
27400 #define wxUSE_ZLIB 1
27401 _ACEOF
27402
27403
27404 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27405 if test "$USE_DARWIN" = 1; then
27406 system_zlib_h_ok="yes"
27407 else
27408 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27409 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27410 if test "${ac_cv_header_zlib_h+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 else
27413 if test "$cross_compiling" = yes; then
27414 unset ac_cv_header_zlib_h
27415
27416 else
27417 cat >conftest.$ac_ext <<_ACEOF
27418 /* confdefs.h. */
27419 _ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423
27424 #include <zlib.h>
27425 #include <stdio.h>
27426
27427 int main()
27428 {
27429 FILE *f=fopen("conftestval", "w");
27430 if (!f) exit(1);
27431 fprintf(f, "%s",
27432 ZLIB_VERSION[0] == '1' &&
27433 (ZLIB_VERSION[2] > '1' ||
27434 (ZLIB_VERSION[2] == '1' &&
27435 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27436 exit(0);
27437 }
27438
27439 _ACEOF
27440 rm -f conftest$ac_exeext
27441 if { (ac_try="$ac_link"
27442 case "(($ac_try" in
27443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27444 *) ac_try_echo=$ac_try;;
27445 esac
27446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27447 (eval "$ac_link") 2>&5
27448 ac_status=$?
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27451 { (case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27454 esac
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_try") 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 ac_cv_header_zlib_h=`cat conftestval`
27461 else
27462 echo "$as_me: program exited with status $ac_status" >&5
27463 echo "$as_me: failed program was:" >&5
27464 sed 's/^/| /' conftest.$ac_ext >&5
27465
27466 ( exit $ac_status )
27467 ac_cv_header_zlib_h=no
27468 fi
27469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27470 fi
27471
27472
27473
27474 fi
27475 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27476 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27477 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27478 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27479 if test "${ac_cv_header_zlib_h+set}" = set; then
27480 echo $ECHO_N "(cached) $ECHO_C" >&6
27481 else
27482 cat >conftest.$ac_ext <<_ACEOF
27483 /* confdefs.h. */
27484 _ACEOF
27485 cat confdefs.h >>conftest.$ac_ext
27486 cat >>conftest.$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27488
27489
27490 #include <zlib.h>
27491 _ACEOF
27492 rm -f conftest.$ac_objext
27493 if { (ac_try="$ac_compile"
27494 case "(($ac_try" in
27495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27496 *) ac_try_echo=$ac_try;;
27497 esac
27498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27499 (eval "$ac_compile") 2>conftest.er1
27500 ac_status=$?
27501 grep -v '^ *+' conftest.er1 >conftest.err
27502 rm -f conftest.er1
27503 cat conftest.err >&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && {
27506 test -z "$ac_c_werror_flag" ||
27507 test ! -s conftest.err
27508 } && test -s conftest.$ac_objext; then
27509 ac_cv_header_zlib_h=yes
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 ac_cv_header_zlib_h=no
27515 fi
27516
27517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27518 fi
27519 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27520 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27521
27522
27523
27524 system_zlib_h_ok=$ac_cv_header_zlib_h
27525 fi
27526
27527 if test "$system_zlib_h_ok" = "yes"; then
27528 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27529 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27530 if test "${ac_cv_lib_z_deflate+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 else
27533 ac_check_lib_save_LIBS=$LIBS
27534 LIBS="-lz $LIBS"
27535 cat >conftest.$ac_ext <<_ACEOF
27536 /* confdefs.h. */
27537 _ACEOF
27538 cat confdefs.h >>conftest.$ac_ext
27539 cat >>conftest.$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27541
27542 /* Override any GCC internal prototype to avoid an error.
27543 Use char because int might match the return type of a GCC
27544 builtin and then its argument prototype would still apply. */
27545 #ifdef __cplusplus
27546 extern "C"
27547 #endif
27548 char deflate ();
27549 int
27550 main ()
27551 {
27552 return deflate ();
27553 ;
27554 return 0;
27555 }
27556 _ACEOF
27557 rm -f conftest.$ac_objext conftest$ac_exeext
27558 if { (ac_try="$ac_link"
27559 case "(($ac_try" in
27560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27561 *) ac_try_echo=$ac_try;;
27562 esac
27563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27564 (eval "$ac_link") 2>conftest.er1
27565 ac_status=$?
27566 grep -v '^ *+' conftest.er1 >conftest.err
27567 rm -f conftest.er1
27568 cat conftest.err >&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && {
27571 test -z "$ac_c_werror_flag" ||
27572 test ! -s conftest.err
27573 } && test -s conftest$ac_exeext &&
27574 $as_test_x conftest$ac_exeext; then
27575 ac_cv_lib_z_deflate=yes
27576 else
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.$ac_ext >&5
27579
27580 ac_cv_lib_z_deflate=no
27581 fi
27582
27583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27584 conftest$ac_exeext conftest.$ac_ext
27585 LIBS=$ac_check_lib_save_LIBS
27586 fi
27587 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27588 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27589 if test $ac_cv_lib_z_deflate = yes; then
27590 ZLIB_LINK=" -lz"
27591 fi
27592
27593 fi
27594
27595 if test "x$ZLIB_LINK" = "x" ; then
27596 if test "$wxUSE_ZLIB" = "sys" ; then
27597 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27598 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27599 { (exit 1); exit 1; }; }
27600 else
27601 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27602 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27603 wxUSE_ZLIB=builtin
27604 fi
27605 else
27606 wxUSE_ZLIB=sys
27607 fi
27608 fi
27609 fi
27610
27611
27612 PNG_LINK=
27613 if test "$wxUSE_LIBPNG" != "no" ; then
27614 cat >>confdefs.h <<\_ACEOF
27615 #define wxUSE_LIBPNG 1
27616 _ACEOF
27617
27618
27619 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27620 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27621 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27622 wxUSE_LIBPNG=sys
27623 fi
27624
27625 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27626 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27627 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27628 wxUSE_LIBPNG=builtin
27629 fi
27630
27631 if test "$wxUSE_MGL" != 1 ; then
27632 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27633 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27634 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27635 if test "${ac_cv_header_png_h+set}" = set; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27637 else
27638 if test "$cross_compiling" = yes; then
27639 unset ac_cv_header_png_h
27640
27641 else
27642 cat >conftest.$ac_ext <<_ACEOF
27643 /* confdefs.h. */
27644 _ACEOF
27645 cat confdefs.h >>conftest.$ac_ext
27646 cat >>conftest.$ac_ext <<_ACEOF
27647 /* end confdefs.h. */
27648
27649 #include <png.h>
27650 #include <stdio.h>
27651
27652 int main()
27653 {
27654 FILE *f=fopen("conftestval", "w");
27655 if (!f) exit(1);
27656 fprintf(f, "%s",
27657 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27658 exit(0);
27659 }
27660
27661 _ACEOF
27662 rm -f conftest$ac_exeext
27663 if { (ac_try="$ac_link"
27664 case "(($ac_try" in
27665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27666 *) ac_try_echo=$ac_try;;
27667 esac
27668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27669 (eval "$ac_link") 2>&5
27670 ac_status=$?
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27673 { (case "(($ac_try" in
27674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27675 *) ac_try_echo=$ac_try;;
27676 esac
27677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27678 (eval "$ac_try") 2>&5
27679 ac_status=$?
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; }; then
27682 ac_cv_header_png_h=`cat conftestval`
27683 else
27684 echo "$as_me: program exited with status $ac_status" >&5
27685 echo "$as_me: failed program was:" >&5
27686 sed 's/^/| /' conftest.$ac_ext >&5
27687
27688 ( exit $ac_status )
27689 ac_cv_header_png_h=no
27690 fi
27691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27692 fi
27693
27694
27695
27696 fi
27697 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27698 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27699 { echo "$as_me:$LINENO: checking for png.h" >&5
27700 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27701 if test "${ac_cv_header_png_h+set}" = set; then
27702 echo $ECHO_N "(cached) $ECHO_C" >&6
27703 else
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h. */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27710
27711
27712 #include <png.h>
27713 _ACEOF
27714 rm -f conftest.$ac_objext
27715 if { (ac_try="$ac_compile"
27716 case "(($ac_try" in
27717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27718 *) ac_try_echo=$ac_try;;
27719 esac
27720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27721 (eval "$ac_compile") 2>conftest.er1
27722 ac_status=$?
27723 grep -v '^ *+' conftest.er1 >conftest.err
27724 rm -f conftest.er1
27725 cat conftest.err >&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } && {
27728 test -z "$ac_c_werror_flag" ||
27729 test ! -s conftest.err
27730 } && test -s conftest.$ac_objext; then
27731 ac_cv_header_png_h=yes
27732 else
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.$ac_ext >&5
27735
27736 ac_cv_header_png_h=no
27737 fi
27738
27739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27740 fi
27741 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27742 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27743
27744
27745
27746 if test "$ac_cv_header_png_h" = "yes"; then
27747 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27748 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27749 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 else
27752 ac_check_lib_save_LIBS=$LIBS
27753 LIBS="-lpng -lz -lm $LIBS"
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760
27761 /* Override any GCC internal prototype to avoid an error.
27762 Use char because int might match the return type of a GCC
27763 builtin and then its argument prototype would still apply. */
27764 #ifdef __cplusplus
27765 extern "C"
27766 #endif
27767 char png_sig_cmp ();
27768 int
27769 main ()
27770 {
27771 return png_sig_cmp ();
27772 ;
27773 return 0;
27774 }
27775 _ACEOF
27776 rm -f conftest.$ac_objext conftest$ac_exeext
27777 if { (ac_try="$ac_link"
27778 case "(($ac_try" in
27779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27780 *) ac_try_echo=$ac_try;;
27781 esac
27782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27783 (eval "$ac_link") 2>conftest.er1
27784 ac_status=$?
27785 grep -v '^ *+' conftest.er1 >conftest.err
27786 rm -f conftest.er1
27787 cat conftest.err >&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); } && {
27790 test -z "$ac_c_werror_flag" ||
27791 test ! -s conftest.err
27792 } && test -s conftest$ac_exeext &&
27793 $as_test_x conftest$ac_exeext; then
27794 ac_cv_lib_png_png_sig_cmp=yes
27795 else
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27798
27799 ac_cv_lib_png_png_sig_cmp=no
27800 fi
27801
27802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27803 conftest$ac_exeext conftest.$ac_ext
27804 LIBS=$ac_check_lib_save_LIBS
27805 fi
27806 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27807 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27808 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27809 PNG_LINK=" -lpng -lz"
27810 fi
27811
27812 fi
27813
27814 if test "x$PNG_LINK" = "x" ; then
27815 if test "$wxUSE_LIBPNG" = "sys" ; then
27816 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27817 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27818 { (exit 1); exit 1; }; }
27819 else
27820 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27821 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27822 wxUSE_LIBPNG=builtin
27823 fi
27824 else
27825 wxUSE_LIBPNG=sys
27826 fi
27827 fi
27828 fi
27829 fi
27830
27831
27832 JPEG_LINK=
27833 if test "$wxUSE_LIBJPEG" != "no" ; then
27834 cat >>confdefs.h <<\_ACEOF
27835 #define wxUSE_LIBJPEG 1
27836 _ACEOF
27837
27838
27839 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27840 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27841 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27842 wxUSE_LIBJPEG=sys
27843 fi
27844
27845 if test "$wxUSE_MGL" != 1 ; then
27846 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27847 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27848 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27849 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27850 echo $ECHO_N "(cached) $ECHO_C" >&6
27851 else
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858
27859 #undef HAVE_STDLIB_H
27860 #include <stdio.h>
27861 #include <jpeglib.h>
27862
27863 int
27864 main ()
27865 {
27866
27867
27868 ;
27869 return 0;
27870 }
27871 _ACEOF
27872 rm -f conftest.$ac_objext
27873 if { (ac_try="$ac_compile"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27877 esac
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_compile") 2>conftest.er1
27880 ac_status=$?
27881 grep -v '^ *+' conftest.er1 >conftest.err
27882 rm -f conftest.er1
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_c_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest.$ac_objext; then
27889 ac_cv_header_jpeglib_h=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ac_cv_header_jpeglib_h=no
27895
27896 fi
27897
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899
27900 fi
27901
27902 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27903 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27904
27905 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27906 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27907 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27908 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27909 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 else
27911 ac_check_lib_save_LIBS=$LIBS
27912 LIBS="-ljpeg $LIBS"
27913 cat >conftest.$ac_ext <<_ACEOF
27914 /* confdefs.h. */
27915 _ACEOF
27916 cat confdefs.h >>conftest.$ac_ext
27917 cat >>conftest.$ac_ext <<_ACEOF
27918 /* end confdefs.h. */
27919
27920 /* Override any GCC internal prototype to avoid an error.
27921 Use char because int might match the return type of a GCC
27922 builtin and then its argument prototype would still apply. */
27923 #ifdef __cplusplus
27924 extern "C"
27925 #endif
27926 char jpeg_read_header ();
27927 int
27928 main ()
27929 {
27930 return jpeg_read_header ();
27931 ;
27932 return 0;
27933 }
27934 _ACEOF
27935 rm -f conftest.$ac_objext conftest$ac_exeext
27936 if { (ac_try="$ac_link"
27937 case "(($ac_try" in
27938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27939 *) ac_try_echo=$ac_try;;
27940 esac
27941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27942 (eval "$ac_link") 2>conftest.er1
27943 ac_status=$?
27944 grep -v '^ *+' conftest.er1 >conftest.err
27945 rm -f conftest.er1
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } && {
27949 test -z "$ac_c_werror_flag" ||
27950 test ! -s conftest.err
27951 } && test -s conftest$ac_exeext &&
27952 $as_test_x conftest$ac_exeext; then
27953 ac_cv_lib_jpeg_jpeg_read_header=yes
27954 else
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27957
27958 ac_cv_lib_jpeg_jpeg_read_header=no
27959 fi
27960
27961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27962 conftest$ac_exeext conftest.$ac_ext
27963 LIBS=$ac_check_lib_save_LIBS
27964 fi
27965 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27966 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27967 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27968 JPEG_LINK=" -ljpeg"
27969 fi
27970
27971 fi
27972
27973 if test "x$JPEG_LINK" = "x" ; then
27974 if test "$wxUSE_LIBJPEG" = "sys" ; then
27975 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27976 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27977 { (exit 1); exit 1; }; }
27978 else
27979 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27980 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27981 wxUSE_LIBJPEG=builtin
27982 fi
27983 else
27984 wxUSE_LIBJPEG=sys
27985
27986 if test "$wxUSE_MSW" = 1; then
27987 { echo "$as_me:$LINENO: checking for boolean" >&5
27988 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27989 if test "${ac_cv_type_boolean+set}" = set; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992 cat >conftest.$ac_ext <<_ACEOF
27993 /* confdefs.h. */
27994 _ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998 #include <windows.h>
27999
28000 typedef boolean ac__type_new_;
28001 int
28002 main ()
28003 {
28004 if ((ac__type_new_ *) 0)
28005 return 0;
28006 if (sizeof (ac__type_new_))
28007 return 0;
28008 ;
28009 return 0;
28010 }
28011 _ACEOF
28012 rm -f conftest.$ac_objext
28013 if { (ac_try="$ac_compile"
28014 case "(($ac_try" in
28015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28016 *) ac_try_echo=$ac_try;;
28017 esac
28018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28019 (eval "$ac_compile") 2>conftest.er1
28020 ac_status=$?
28021 grep -v '^ *+' conftest.er1 >conftest.err
28022 rm -f conftest.er1
28023 cat conftest.err >&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } && {
28026 test -z "$ac_c_werror_flag" ||
28027 test ! -s conftest.err
28028 } && test -s conftest.$ac_objext; then
28029 ac_cv_type_boolean=yes
28030 else
28031 echo "$as_me: failed program was:" >&5
28032 sed 's/^/| /' conftest.$ac_ext >&5
28033
28034 ac_cv_type_boolean=no
28035 fi
28036
28037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28038 fi
28039 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28040 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28041 if test $ac_cv_type_boolean = yes; then
28042
28043 cat >>confdefs.h <<_ACEOF
28044 #define HAVE_BOOLEAN 1
28045 _ACEOF
28046
28047
28048 { echo "$as_me:$LINENO: checking for boolean" >&5
28049 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28050 if test "${ac_cv_type_boolean+set}" = set; then
28051 echo $ECHO_N "(cached) $ECHO_C" >&6
28052 else
28053 cat >conftest.$ac_ext <<_ACEOF
28054 /* confdefs.h. */
28055 _ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059
28060 #undef HAVE_BOOLEAN
28061 #include <stdio.h>
28062 #include <jpeglib.h>
28063
28064
28065 typedef boolean ac__type_new_;
28066 int
28067 main ()
28068 {
28069 if ((ac__type_new_ *) 0)
28070 return 0;
28071 if (sizeof (ac__type_new_))
28072 return 0;
28073 ;
28074 return 0;
28075 }
28076 _ACEOF
28077 rm -f conftest.$ac_objext
28078 if { (ac_try="$ac_compile"
28079 case "(($ac_try" in
28080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28081 *) ac_try_echo=$ac_try;;
28082 esac
28083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28084 (eval "$ac_compile") 2>conftest.er1
28085 ac_status=$?
28086 grep -v '^ *+' conftest.er1 >conftest.err
28087 rm -f conftest.er1
28088 cat conftest.err >&5
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); } && {
28091 test -z "$ac_c_werror_flag" ||
28092 test ! -s conftest.err
28093 } && test -s conftest.$ac_objext; then
28094 ac_cv_type_boolean=yes
28095 else
28096 echo "$as_me: failed program was:" >&5
28097 sed 's/^/| /' conftest.$ac_ext >&5
28098
28099 ac_cv_type_boolean=no
28100 fi
28101
28102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28103 fi
28104 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28105 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28106
28107 # The cast to long int works around a bug in the HP C Compiler
28108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28110 # This bug is HP SR number 8606223364.
28111 { echo "$as_me:$LINENO: checking size of boolean" >&5
28112 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28113 if test "${ac_cv_sizeof_boolean+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28115 else
28116 if test "$cross_compiling" = yes; then
28117 # Depending upon the size, compute the lo and hi bounds.
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124
28125 #undef HAVE_BOOLEAN
28126 #include <stdio.h>
28127 #include <jpeglib.h>
28128
28129
28130 typedef boolean ac__type_sizeof_;
28131 int
28132 main ()
28133 {
28134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28135 test_array [0] = 0
28136
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 rm -f conftest.$ac_objext
28142 if { (ac_try="$ac_compile"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_compile") 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest.$ac_objext; then
28158 ac_lo=0 ac_mid=0
28159 while :; do
28160 cat >conftest.$ac_ext <<_ACEOF
28161 /* confdefs.h. */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28166
28167 #undef HAVE_BOOLEAN
28168 #include <stdio.h>
28169 #include <jpeglib.h>
28170
28171
28172 typedef boolean ac__type_sizeof_;
28173 int
28174 main ()
28175 {
28176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28177 test_array [0] = 0
28178
28179 ;
28180 return 0;
28181 }
28182 _ACEOF
28183 rm -f conftest.$ac_objext
28184 if { (ac_try="$ac_compile"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188 esac
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_compile") 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest.$ac_objext; then
28200 ac_hi=$ac_mid; break
28201 else
28202 echo "$as_me: failed program was:" >&5
28203 sed 's/^/| /' conftest.$ac_ext >&5
28204
28205 ac_lo=`expr $ac_mid + 1`
28206 if test $ac_lo -le $ac_mid; then
28207 ac_lo= ac_hi=
28208 break
28209 fi
28210 ac_mid=`expr 2 '*' $ac_mid + 1`
28211 fi
28212
28213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28214 done
28215 else
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28218
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 #undef HAVE_BOOLEAN
28227 #include <stdio.h>
28228 #include <jpeglib.h>
28229
28230
28231 typedef boolean ac__type_sizeof_;
28232 int
28233 main ()
28234 {
28235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28236 test_array [0] = 0
28237
28238 ;
28239 return 0;
28240 }
28241 _ACEOF
28242 rm -f conftest.$ac_objext
28243 if { (ac_try="$ac_compile"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_compile") 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest.$ac_objext; then
28259 ac_hi=-1 ac_mid=-1
28260 while :; do
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267
28268 #undef HAVE_BOOLEAN
28269 #include <stdio.h>
28270 #include <jpeglib.h>
28271
28272
28273 typedef boolean ac__type_sizeof_;
28274 int
28275 main ()
28276 {
28277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28278 test_array [0] = 0
28279
28280 ;
28281 return 0;
28282 }
28283 _ACEOF
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28289 esac
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28292 ac_status=$?
28293 grep -v '^ *+' conftest.er1 >conftest.err
28294 rm -f conftest.er1
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 ac_lo=$ac_mid; break
28302 else
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28305
28306 ac_hi=`expr '(' $ac_mid ')' - 1`
28307 if test $ac_mid -le $ac_hi; then
28308 ac_lo= ac_hi=
28309 break
28310 fi
28311 ac_mid=`expr 2 '*' $ac_mid`
28312 fi
28313
28314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28315 done
28316 else
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28319
28320 ac_lo= ac_hi=
28321 fi
28322
28323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28324 fi
28325
28326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28327 # Binary search between lo and hi bounds.
28328 while test "x$ac_lo" != "x$ac_hi"; do
28329 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336
28337 #undef HAVE_BOOLEAN
28338 #include <stdio.h>
28339 #include <jpeglib.h>
28340
28341
28342 typedef boolean ac__type_sizeof_;
28343 int
28344 main ()
28345 {
28346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28347 test_array [0] = 0
28348
28349 ;
28350 return 0;
28351 }
28352 _ACEOF
28353 rm -f conftest.$ac_objext
28354 if { (ac_try="$ac_compile"
28355 case "(($ac_try" in
28356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28357 *) ac_try_echo=$ac_try;;
28358 esac
28359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28360 (eval "$ac_compile") 2>conftest.er1
28361 ac_status=$?
28362 grep -v '^ *+' conftest.er1 >conftest.err
28363 rm -f conftest.er1
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } && {
28367 test -z "$ac_c_werror_flag" ||
28368 test ! -s conftest.err
28369 } && test -s conftest.$ac_objext; then
28370 ac_hi=$ac_mid
28371 else
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28374
28375 ac_lo=`expr '(' $ac_mid ')' + 1`
28376 fi
28377
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28379 done
28380 case $ac_lo in
28381 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28382 '') if test "$ac_cv_type_boolean" = yes; then
28383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28384 See \`config.log' for more details." >&5
28385 echo "$as_me: error: cannot compute sizeof (boolean)
28386 See \`config.log' for more details." >&2;}
28387 { (exit 77); exit 77; }; }
28388 else
28389 ac_cv_sizeof_boolean=0
28390 fi ;;
28391 esac
28392 else
28393 cat >conftest.$ac_ext <<_ACEOF
28394 /* confdefs.h. */
28395 _ACEOF
28396 cat confdefs.h >>conftest.$ac_ext
28397 cat >>conftest.$ac_ext <<_ACEOF
28398 /* end confdefs.h. */
28399
28400 #undef HAVE_BOOLEAN
28401 #include <stdio.h>
28402 #include <jpeglib.h>
28403
28404
28405 typedef boolean ac__type_sizeof_;
28406 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28407 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28408 #include <stdio.h>
28409 #include <stdlib.h>
28410 int
28411 main ()
28412 {
28413
28414 FILE *f = fopen ("conftest.val", "w");
28415 if (! f)
28416 return 1;
28417 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28418 {
28419 long int i = longval ();
28420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28421 return 1;
28422 fprintf (f, "%ld\n", i);
28423 }
28424 else
28425 {
28426 unsigned long int i = ulongval ();
28427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28428 return 1;
28429 fprintf (f, "%lu\n", i);
28430 }
28431 return ferror (f) || fclose (f) != 0;
28432
28433 ;
28434 return 0;
28435 }
28436 _ACEOF
28437 rm -f conftest$ac_exeext
28438 if { (ac_try="$ac_link"
28439 case "(($ac_try" in
28440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28441 *) ac_try_echo=$ac_try;;
28442 esac
28443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28444 (eval "$ac_link") 2>&5
28445 ac_status=$?
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28448 { (case "(($ac_try" in
28449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28450 *) ac_try_echo=$ac_try;;
28451 esac
28452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28453 (eval "$ac_try") 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_sizeof_boolean=`cat conftest.val`
28458 else
28459 echo "$as_me: program exited with status $ac_status" >&5
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28462
28463 ( exit $ac_status )
28464 if test "$ac_cv_type_boolean" = yes; then
28465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28466 See \`config.log' for more details." >&5
28467 echo "$as_me: error: cannot compute sizeof (boolean)
28468 See \`config.log' for more details." >&2;}
28469 { (exit 77); exit 77; }; }
28470 else
28471 ac_cv_sizeof_boolean=0
28472 fi
28473 fi
28474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28475 fi
28476 rm -f conftest.val
28477 fi
28478 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28479 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28480
28481
28482
28483 cat >>confdefs.h <<_ACEOF
28484 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28485 _ACEOF
28486
28487
28488 cat >>confdefs.h <<_ACEOF
28489 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28490 _ACEOF
28491
28492
28493 fi
28494
28495 fi
28496 fi
28497 fi
28498 fi
28499 fi
28500
28501
28502 TIFF_LINK=
28503 TIFF_PREREQ_LINKS=-lm
28504 if test "$wxUSE_LIBTIFF" != "no" ; then
28505 cat >>confdefs.h <<\_ACEOF
28506 #define wxUSE_LIBTIFF 1
28507 _ACEOF
28508
28509
28510 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28511 if test "$wxUSE_LIBJPEG" = "sys"; then
28512 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28513 fi
28514 if test "$wxUSE_ZLIB" = "sys"; then
28515 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28516 fi
28517 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28518 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28519 if test "${ac_cv_header_tiffio_h+set}" = set; then
28520 echo $ECHO_N "(cached) $ECHO_C" >&6
28521 else
28522 cat >conftest.$ac_ext <<_ACEOF
28523 /* confdefs.h. */
28524 _ACEOF
28525 cat confdefs.h >>conftest.$ac_ext
28526 cat >>conftest.$ac_ext <<_ACEOF
28527 /* end confdefs.h. */
28528
28529
28530
28531 #include <tiffio.h>
28532 _ACEOF
28533 rm -f conftest.$ac_objext
28534 if { (ac_try="$ac_compile"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28537 *) ac_try_echo=$ac_try;;
28538 esac
28539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_compile") 2>conftest.er1
28541 ac_status=$?
28542 grep -v '^ *+' conftest.er1 >conftest.err
28543 rm -f conftest.er1
28544 cat conftest.err >&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } && {
28547 test -z "$ac_c_werror_flag" ||
28548 test ! -s conftest.err
28549 } && test -s conftest.$ac_objext; then
28550 ac_cv_header_tiffio_h=yes
28551 else
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.$ac_ext >&5
28554
28555 ac_cv_header_tiffio_h=no
28556 fi
28557
28558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28559 fi
28560 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28561 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28562 if test $ac_cv_header_tiffio_h = yes; then
28563
28564 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28565 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28566 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 else
28569 ac_check_lib_save_LIBS=$LIBS
28570 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577
28578 /* Override any GCC internal prototype to avoid an error.
28579 Use char because int might match the return type of a GCC
28580 builtin and then its argument prototype would still apply. */
28581 #ifdef __cplusplus
28582 extern "C"
28583 #endif
28584 char TIFFError ();
28585 int
28586 main ()
28587 {
28588 return TIFFError ();
28589 ;
28590 return 0;
28591 }
28592 _ACEOF
28593 rm -f conftest.$ac_objext conftest$ac_exeext
28594 if { (ac_try="$ac_link"
28595 case "(($ac_try" in
28596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28597 *) ac_try_echo=$ac_try;;
28598 esac
28599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28600 (eval "$ac_link") 2>conftest.er1
28601 ac_status=$?
28602 grep -v '^ *+' conftest.er1 >conftest.err
28603 rm -f conftest.er1
28604 cat conftest.err >&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } && {
28607 test -z "$ac_c_werror_flag" ||
28608 test ! -s conftest.err
28609 } && test -s conftest$ac_exeext &&
28610 $as_test_x conftest$ac_exeext; then
28611 ac_cv_lib_tiff_TIFFError=yes
28612 else
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 ac_cv_lib_tiff_TIFFError=no
28617 fi
28618
28619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28620 conftest$ac_exeext conftest.$ac_ext
28621 LIBS=$ac_check_lib_save_LIBS
28622 fi
28623 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28624 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28625 if test $ac_cv_lib_tiff_TIFFError = yes; then
28626 TIFF_LINK=" -ltiff"
28627 fi
28628
28629
28630 fi
28631
28632
28633
28634 if test "x$TIFF_LINK" = "x" ; then
28635 if test "$wxUSE_LIBTIFF" = "sys" ; then
28636 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28637 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28638 { (exit 1); exit 1; }; }
28639 else
28640 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28641 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28642 wxUSE_LIBTIFF=builtin
28643 fi
28644 else
28645 wxUSE_LIBTIFF=sys
28646 fi
28647 fi
28648 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28649 if test "$wxUSE_LIBJPEG" = "no"; then
28650 ac_configure_args="$ac_configure_args --disable-jpeg"
28651 fi
28652 subdirs="$subdirs src/tiff"
28653
28654 fi
28655 fi
28656
28657
28658 if test "$wxUSE_WCHAR_T" != "yes"; then
28659 if test "$wxUSE_EXPAT" != "no"; then
28660 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28661 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28662 wxUSE_EXPAT=no
28663 fi
28664 if test "$wxUSE_XML" != "no"; then
28665 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28666 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28667 wxUSE_XML=no
28668 fi
28669 fi
28670
28671 if test "$wxUSE_EXPAT" != "no"; then
28672 wxUSE_XML=yes
28673 cat >>confdefs.h <<\_ACEOF
28674 #define wxUSE_EXPAT 1
28675 _ACEOF
28676
28677 cat >>confdefs.h <<\_ACEOF
28678 #define wxUSE_XML 1
28679 _ACEOF
28680
28681
28682 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28683 { echo "$as_me:$LINENO: checking for expat.h" >&5
28684 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28685 if test "${ac_cv_header_expat_h+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 else
28688 cat >conftest.$ac_ext <<_ACEOF
28689 /* confdefs.h. */
28690 _ACEOF
28691 cat confdefs.h >>conftest.$ac_ext
28692 cat >>conftest.$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28694
28695
28696 #include <expat.h>
28697 _ACEOF
28698 rm -f conftest.$ac_objext
28699 if { (ac_try="$ac_compile"
28700 case "(($ac_try" in
28701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28702 *) ac_try_echo=$ac_try;;
28703 esac
28704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28705 (eval "$ac_compile") 2>conftest.er1
28706 ac_status=$?
28707 grep -v '^ *+' conftest.er1 >conftest.err
28708 rm -f conftest.er1
28709 cat conftest.err >&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } && {
28712 test -z "$ac_c_werror_flag" ||
28713 test ! -s conftest.err
28714 } && test -s conftest.$ac_objext; then
28715 ac_cv_header_expat_h=yes
28716 else
28717 echo "$as_me: failed program was:" >&5
28718 sed 's/^/| /' conftest.$ac_ext >&5
28719
28720 ac_cv_header_expat_h=no
28721 fi
28722
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 fi
28725 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28726 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28727 if test $ac_cv_header_expat_h = yes; then
28728 found_expat_h=1
28729 fi
28730
28731
28732 if test "x$found_expat_h" = "x1"; then
28733 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28734 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28735 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 else
28738
28739 ac_ext=cpp
28740 ac_cpp='$CXXCPP $CPPFLAGS'
28741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28744
28745 cat >conftest.$ac_ext <<_ACEOF
28746 /* confdefs.h. */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h. */
28751 #include <expat.h>
28752 int
28753 main ()
28754 {
28755
28756 ;
28757 return 0;
28758 }
28759 _ACEOF
28760 rm -f conftest.$ac_objext
28761 if { (ac_try="$ac_compile"
28762 case "(($ac_try" in
28763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28764 *) ac_try_echo=$ac_try;;
28765 esac
28766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28767 (eval "$ac_compile") 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } && {
28774 test -z "$ac_cxx_werror_flag" ||
28775 test ! -s conftest.err
28776 } && test -s conftest.$ac_objext; then
28777 wx_cv_expat_is_not_broken=yes
28778 else
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28781
28782 wx_cv_expat_is_not_broken=no
28783
28784 fi
28785
28786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28787 ac_ext=c
28788 ac_cpp='$CPP $CPPFLAGS'
28789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792
28793
28794
28795 fi
28796 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28797 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28798 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28799 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28800 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28801 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28802 echo $ECHO_N "(cached) $ECHO_C" >&6
28803 else
28804 ac_check_lib_save_LIBS=$LIBS
28805 LIBS="-lexpat $LIBS"
28806 cat >conftest.$ac_ext <<_ACEOF
28807 /* confdefs.h. */
28808 _ACEOF
28809 cat confdefs.h >>conftest.$ac_ext
28810 cat >>conftest.$ac_ext <<_ACEOF
28811 /* end confdefs.h. */
28812
28813 /* Override any GCC internal prototype to avoid an error.
28814 Use char because int might match the return type of a GCC
28815 builtin and then its argument prototype would still apply. */
28816 #ifdef __cplusplus
28817 extern "C"
28818 #endif
28819 char XML_ParserCreate ();
28820 int
28821 main ()
28822 {
28823 return XML_ParserCreate ();
28824 ;
28825 return 0;
28826 }
28827 _ACEOF
28828 rm -f conftest.$ac_objext conftest$ac_exeext
28829 if { (ac_try="$ac_link"
28830 case "(($ac_try" in
28831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28832 *) ac_try_echo=$ac_try;;
28833 esac
28834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28835 (eval "$ac_link") 2>conftest.er1
28836 ac_status=$?
28837 grep -v '^ *+' conftest.er1 >conftest.err
28838 rm -f conftest.er1
28839 cat conftest.err >&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } && {
28842 test -z "$ac_c_werror_flag" ||
28843 test ! -s conftest.err
28844 } && test -s conftest$ac_exeext &&
28845 $as_test_x conftest$ac_exeext; then
28846 ac_cv_lib_expat_XML_ParserCreate=yes
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 ac_cv_lib_expat_XML_ParserCreate=no
28852 fi
28853
28854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28855 conftest$ac_exeext conftest.$ac_ext
28856 LIBS=$ac_check_lib_save_LIBS
28857 fi
28858 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28859 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28860 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28861 EXPAT_LINK=" -lexpat"
28862 fi
28863
28864 fi
28865 fi
28866 if test "x$EXPAT_LINK" = "x" ; then
28867 if test "$wxUSE_EXPAT" = "sys" ; then
28868 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28869 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28870 { (exit 1); exit 1; }; }
28871 else
28872 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28873 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28874 wxUSE_EXPAT=builtin
28875 fi
28876 else
28877 wxUSE_EXPAT=sys
28878 fi
28879 fi
28880 if test "$wxUSE_EXPAT" = "builtin" ; then
28881 subdirs="$subdirs src/expat"
28882
28883 fi
28884 fi
28885
28886
28887
28888 if test "$wxUSE_LIBMSPACK" != "no"; then
28889 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28890 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28891 if test "${ac_cv_header_mspack_h+set}" = set; then
28892 echo $ECHO_N "(cached) $ECHO_C" >&6
28893 else
28894 cat >conftest.$ac_ext <<_ACEOF
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900
28901
28902 #include <mspack.h>
28903 _ACEOF
28904 rm -f conftest.$ac_objext
28905 if { (ac_try="$ac_compile"
28906 case "(($ac_try" in
28907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28908 *) ac_try_echo=$ac_try;;
28909 esac
28910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28911 (eval "$ac_compile") 2>conftest.er1
28912 ac_status=$?
28913 grep -v '^ *+' conftest.er1 >conftest.err
28914 rm -f conftest.er1
28915 cat conftest.err >&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } && {
28918 test -z "$ac_c_werror_flag" ||
28919 test ! -s conftest.err
28920 } && test -s conftest.$ac_objext; then
28921 ac_cv_header_mspack_h=yes
28922 else
28923 echo "$as_me: failed program was:" >&5
28924 sed 's/^/| /' conftest.$ac_ext >&5
28925
28926 ac_cv_header_mspack_h=no
28927 fi
28928
28929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28930 fi
28931 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28932 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28933 if test $ac_cv_header_mspack_h = yes; then
28934 found_mspack_h=1
28935 fi
28936
28937
28938 if test "x$found_mspack_h" = "x1"; then
28939 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28940 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28941 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944 ac_check_lib_save_LIBS=$LIBS
28945 LIBS="-lmspack $LIBS"
28946 cat >conftest.$ac_ext <<_ACEOF
28947 /* confdefs.h. */
28948 _ACEOF
28949 cat confdefs.h >>conftest.$ac_ext
28950 cat >>conftest.$ac_ext <<_ACEOF
28951 /* end confdefs.h. */
28952
28953 /* Override any GCC internal prototype to avoid an error.
28954 Use char because int might match the return type of a GCC
28955 builtin and then its argument prototype would still apply. */
28956 #ifdef __cplusplus
28957 extern "C"
28958 #endif
28959 char mspack_create_chm_decompressor ();
28960 int
28961 main ()
28962 {
28963 return mspack_create_chm_decompressor ();
28964 ;
28965 return 0;
28966 }
28967 _ACEOF
28968 rm -f conftest.$ac_objext conftest$ac_exeext
28969 if { (ac_try="$ac_link"
28970 case "(($ac_try" in
28971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28972 *) ac_try_echo=$ac_try;;
28973 esac
28974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28975 (eval "$ac_link") 2>conftest.er1
28976 ac_status=$?
28977 grep -v '^ *+' conftest.er1 >conftest.err
28978 rm -f conftest.er1
28979 cat conftest.err >&5
28980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28981 (exit $ac_status); } && {
28982 test -z "$ac_c_werror_flag" ||
28983 test ! -s conftest.err
28984 } && test -s conftest$ac_exeext &&
28985 $as_test_x conftest$ac_exeext; then
28986 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28990
28991 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28992 fi
28993
28994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28995 conftest$ac_exeext conftest.$ac_ext
28996 LIBS=$ac_check_lib_save_LIBS
28997 fi
28998 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28999 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29000 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29001 MSPACK_LINK=" -lmspack"
29002 fi
29003
29004 fi
29005 if test "x$MSPACK_LINK" = "x" ; then
29006 wxUSE_LIBMSPACK=no
29007 fi
29008 fi
29009
29010 if test "$wxUSE_LIBMSPACK" != "no"; then
29011 cat >>confdefs.h <<\_ACEOF
29012 #define wxUSE_LIBMSPACK 1
29013 _ACEOF
29014
29015 fi
29016
29017
29018
29019 AFMINSTALL=
29020 WIN32INSTALL=
29021
29022 TOOLKIT=
29023 TOOLKIT_INCLUDE=
29024 WIDGET_SET=
29025
29026 if test "$USE_WIN32" = 1 ; then
29027
29028 for ac_header in w32api.h
29029 do
29030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29031 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29036 cat >conftest.$ac_ext <<_ACEOF
29037 /* confdefs.h. */
29038 _ACEOF
29039 cat confdefs.h >>conftest.$ac_ext
29040 cat >>conftest.$ac_ext <<_ACEOF
29041 /* end confdefs.h. */
29042
29043
29044 #include <$ac_header>
29045 _ACEOF
29046 rm -f conftest.$ac_objext
29047 if { (ac_try="$ac_compile"
29048 case "(($ac_try" in
29049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29050 *) ac_try_echo=$ac_try;;
29051 esac
29052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29053 (eval "$ac_compile") 2>conftest.er1
29054 ac_status=$?
29055 grep -v '^ *+' conftest.er1 >conftest.err
29056 rm -f conftest.er1
29057 cat conftest.err >&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } && {
29060 test -z "$ac_c_werror_flag" ||
29061 test ! -s conftest.err
29062 } && test -s conftest.$ac_objext; then
29063 eval "$as_ac_Header=yes"
29064 else
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.$ac_ext >&5
29067
29068 eval "$as_ac_Header=no"
29069 fi
29070
29071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29072 fi
29073 ac_res=`eval echo '${'$as_ac_Header'}'`
29074 { echo "$as_me:$LINENO: result: $ac_res" >&5
29075 echo "${ECHO_T}$ac_res" >&6; }
29076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29077 cat >>confdefs.h <<_ACEOF
29078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29079 _ACEOF
29080
29081 fi
29082
29083 done
29084
29085 { echo "$as_me:$LINENO: checking for windows.h" >&5
29086 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29087 if test "${ac_cv_header_windows_h+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h. */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29096
29097
29098 #include <windows.h>
29099 _ACEOF
29100 rm -f conftest.$ac_objext
29101 if { (ac_try="$ac_compile"
29102 case "(($ac_try" in
29103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29104 *) ac_try_echo=$ac_try;;
29105 esac
29106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29107 (eval "$ac_compile") 2>conftest.er1
29108 ac_status=$?
29109 grep -v '^ *+' conftest.er1 >conftest.err
29110 rm -f conftest.er1
29111 cat conftest.err >&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); } && {
29114 test -z "$ac_c_werror_flag" ||
29115 test ! -s conftest.err
29116 } && test -s conftest.$ac_objext; then
29117 ac_cv_header_windows_h=yes
29118 else
29119 echo "$as_me: failed program was:" >&5
29120 sed 's/^/| /' conftest.$ac_ext >&5
29121
29122 ac_cv_header_windows_h=no
29123 fi
29124
29125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29126 fi
29127 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29128 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29129 if test $ac_cv_header_windows_h = yes; then
29130 :
29131 else
29132
29133 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29134 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29135 { (exit 1); exit 1; }; }
29136
29137 fi
29138
29139
29140
29141 case "${host}" in
29142 x86_64-*-mingw32* )
29143 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29144
29145 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29146 ;;
29147 * )
29148 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29149 ;;
29150 esac
29151 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29152 LIBS="$LIBS -loleacc"
29153 fi
29154
29155 case "${host}" in
29156 *-*-cygwin* )
29157 LIBS="$LIBS -lkernel32 -luser32"
29158 esac
29159
29160 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29161 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29162
29163 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29164
29165 WIN32INSTALL=win32install
29166
29167 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29168 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29169 if test "${ac_cv_header_pbt_h+set}" = set; then
29170 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 else
29172 cat >conftest.$ac_ext <<_ACEOF
29173 /* confdefs.h. */
29174 _ACEOF
29175 cat confdefs.h >>conftest.$ac_ext
29176 cat >>conftest.$ac_ext <<_ACEOF
29177 /* end confdefs.h. */
29178
29179
29180 #include <pbt.h>
29181 _ACEOF
29182 rm -f conftest.$ac_objext
29183 if { (ac_try="$ac_compile"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29187 esac
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_compile") 2>conftest.er1
29190 ac_status=$?
29191 grep -v '^ *+' conftest.er1 >conftest.err
29192 rm -f conftest.er1
29193 cat conftest.err >&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } && {
29196 test -z "$ac_c_werror_flag" ||
29197 test ! -s conftest.err
29198 } && test -s conftest.$ac_objext; then
29199 ac_cv_header_pbt_h=yes
29200 else
29201 echo "$as_me: failed program was:" >&5
29202 sed 's/^/| /' conftest.$ac_ext >&5
29203
29204 ac_cv_header_pbt_h=no
29205 fi
29206
29207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29208 fi
29209 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29210 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29211 if test $ac_cv_header_pbt_h = yes; then
29212 :
29213 else
29214 cat >>confdefs.h <<\_ACEOF
29215 #define NEED_PBT_H 1
29216 _ACEOF
29217
29218 fi
29219
29220
29221 fi
29222
29223 if test "$wxUSE_GUI" = "yes"; then
29224 USE_GUI=1
29225
29226 GUI_TK_LIBRARY=
29227
29228 WXGTK12=
29229 WXGTK127=
29230 WXGTK2=
29231 WXGPE=
29232
29233 if test "$wxUSE_OLD_COCOA" = 1 ; then
29234 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29235 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29236 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29237 wxUSE_PRINTING_ARCHITECTURE=no
29238 fi
29239 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29240 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29241 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29242 wxUSE_DRAG_AND_DROP=no
29243 fi
29244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29245 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29246 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29247 wxUSE_DRAGIMAGE=no
29248 fi
29249 fi
29250
29251 if test "$wxUSE_MSW" = 1 ; then
29252 TOOLKIT=MSW
29253 GUIDIST=MSW_DIST
29254
29255 case "${host}" in
29256 *-*-mingw32* )
29257 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29258 esac
29259 fi
29260
29261 if test "$wxUSE_GTK" = 1; then
29262 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29263 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29264
29265 gtk_version_cached=1
29266 if test "${wx_cv_lib_gtk+set}" = set; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269
29270 gtk_version_cached=0
29271 { echo "$as_me:$LINENO: result: " >&5
29272 echo "${ECHO_T}" >&6; }
29273
29274 GTK_MODULES=
29275 if test "$wxUSE_THREADS" = "yes"; then
29276 GTK_MODULES=gthread
29277 fi
29278
29279 wx_cv_lib_gtk=
29280 if test "x$wxGTK_VERSION" != "x1"
29281 then
29282 case "${host}" in
29283 *-*-solaris2* )
29284 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29285 enable_gtktest=no
29286 fi
29287 esac
29288
29289 # Check whether --enable-gtktest was given.
29290 if test "${enable_gtktest+set}" = set; then
29291 enableval=$enable_gtktest;
29292 else
29293 enable_gtktest=yes
29294 fi
29295
29296
29297 pkg_config_args=gtk+-2.0
29298 for module in . $GTK_MODULES
29299 do
29300 case "$module" in
29301 gthread)
29302 pkg_config_args="$pkg_config_args gthread-2.0"
29303 ;;
29304 esac
29305 done
29306
29307 no_gtk=""
29308
29309 # Extract the first word of "pkg-config", so it can be a program name with args.
29310 set dummy pkg-config; ac_word=$2
29311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29313 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316 case $PKG_CONFIG in
29317 [\\/]* | ?:[\\/]*)
29318 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29319 ;;
29320 *)
29321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29322 for as_dir in $PATH
29323 do
29324 IFS=$as_save_IFS
29325 test -z "$as_dir" && as_dir=.
29326 for ac_exec_ext in '' $ac_executable_extensions; do
29327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29328 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29330 break 2
29331 fi
29332 done
29333 done
29334 IFS=$as_save_IFS
29335
29336 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29337 ;;
29338 esac
29339 fi
29340 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29341 if test -n "$PKG_CONFIG"; then
29342 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29343 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29344 else
29345 { echo "$as_me:$LINENO: result: no" >&5
29346 echo "${ECHO_T}no" >&6; }
29347 fi
29348
29349
29350
29351 if test x$PKG_CONFIG != xno ; then
29352 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29353 :
29354 else
29355 echo "*** pkg-config too old; version 0.7 or better required."
29356 no_gtk=yes
29357 PKG_CONFIG=no
29358 fi
29359 else
29360 no_gtk=yes
29361 fi
29362
29363 min_gtk_version=2.4.0
29364 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29365 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29366
29367 if test x$PKG_CONFIG != xno ; then
29368 ## don't try to run the test against uninstalled libtool libs
29369 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29370 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29371 enable_gtktest=no
29372 fi
29373
29374 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29375 :
29376 else
29377 no_gtk=yes
29378 fi
29379 fi
29380
29381 if test x"$no_gtk" = x ; then
29382 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29383 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29384 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29386 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29387 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29388 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29390 if test "x$enable_gtktest" = "xyes" ; then
29391 ac_save_CFLAGS="$CFLAGS"
29392 ac_save_LIBS="$LIBS"
29393 CFLAGS="$CFLAGS $GTK_CFLAGS"
29394 LIBS="$GTK_LIBS $LIBS"
29395 rm -f conf.gtktest
29396 if test "$cross_compiling" = yes; then
29397 echo $ac_n "cross compiling; assumed OK... $ac_c"
29398 else
29399 cat >conftest.$ac_ext <<_ACEOF
29400 /* confdefs.h. */
29401 _ACEOF
29402 cat confdefs.h >>conftest.$ac_ext
29403 cat >>conftest.$ac_ext <<_ACEOF
29404 /* end confdefs.h. */
29405
29406 #include <gtk/gtk.h>
29407 #include <stdio.h>
29408 #include <stdlib.h>
29409
29410 int
29411 main ()
29412 {
29413 int major, minor, micro;
29414 char *tmp_version;
29415
29416 system ("touch conf.gtktest");
29417
29418 /* HP/UX 9 (%@#!) writes to sscanf strings */
29419 tmp_version = g_strdup("$min_gtk_version");
29420 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29421 printf("%s, bad version string\n", "$min_gtk_version");
29422 exit(1);
29423 }
29424
29425 if ((gtk_major_version != $gtk_config_major_version) ||
29426 (gtk_minor_version != $gtk_config_minor_version) ||
29427 (gtk_micro_version != $gtk_config_micro_version))
29428 {
29429 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29430 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29431 gtk_major_version, gtk_minor_version, gtk_micro_version);
29432 printf ("*** was found! If pkg-config was correct, then it is best\n");
29433 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29434 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29435 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29436 printf("*** required on your system.\n");
29437 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29438 printf("*** to point to the correct configuration files\n");
29439 }
29440 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29441 (gtk_minor_version != GTK_MINOR_VERSION) ||
29442 (gtk_micro_version != GTK_MICRO_VERSION))
29443 {
29444 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29445 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29446 printf("*** library (version %d.%d.%d)\n",
29447 gtk_major_version, gtk_minor_version, gtk_micro_version);
29448 }
29449 else
29450 {
29451 if ((gtk_major_version > major) ||
29452 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29453 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29454 {
29455 return 0;
29456 }
29457 else
29458 {
29459 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29460 gtk_major_version, gtk_minor_version, gtk_micro_version);
29461 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29462 major, minor, micro);
29463 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29464 printf("***\n");
29465 printf("*** If you have already installed a sufficiently new version, this error\n");
29466 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29467 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29468 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29469 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29470 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29471 printf("*** so that the correct libraries are found at run-time))\n");
29472 }
29473 }
29474 return 1;
29475 }
29476
29477 _ACEOF
29478 rm -f conftest$ac_exeext
29479 if { (ac_try="$ac_link"
29480 case "(($ac_try" in
29481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29482 *) ac_try_echo=$ac_try;;
29483 esac
29484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29485 (eval "$ac_link") 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29489 { (case "(($ac_try" in
29490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29491 *) ac_try_echo=$ac_try;;
29492 esac
29493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29494 (eval "$ac_try") 2>&5
29495 ac_status=$?
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; }; then
29498 :
29499 else
29500 echo "$as_me: program exited with status $ac_status" >&5
29501 echo "$as_me: failed program was:" >&5
29502 sed 's/^/| /' conftest.$ac_ext >&5
29503
29504 ( exit $ac_status )
29505 no_gtk=yes
29506 fi
29507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29508 fi
29509
29510
29511 CFLAGS="$ac_save_CFLAGS"
29512 LIBS="$ac_save_LIBS"
29513 fi
29514 fi
29515 if test "x$no_gtk" = x ; then
29516 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29517 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29518 wx_cv_lib_gtk=2.0
29519 else
29520 { echo "$as_me:$LINENO: result: no" >&5
29521 echo "${ECHO_T}no" >&6; }
29522 if test "$PKG_CONFIG" = "no" ; then
29523 echo "*** A new enough version of pkg-config was not found."
29524 echo "*** See http://pkgconfig.sourceforge.net"
29525 else
29526 if test -f conf.gtktest ; then
29527 :
29528 else
29529 echo "*** Could not run GTK+ test program, checking why..."
29530 ac_save_CFLAGS="$CFLAGS"
29531 ac_save_LIBS="$LIBS"
29532 CFLAGS="$CFLAGS $GTK_CFLAGS"
29533 LIBS="$LIBS $GTK_LIBS"
29534 cat >conftest.$ac_ext <<_ACEOF
29535 /* confdefs.h. */
29536 _ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29540
29541 #include <gtk/gtk.h>
29542 #include <stdio.h>
29543
29544 int
29545 main ()
29546 {
29547 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29548 ;
29549 return 0;
29550 }
29551 _ACEOF
29552 rm -f conftest.$ac_objext conftest$ac_exeext
29553 if { (ac_try="$ac_link"
29554 case "(($ac_try" in
29555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29556 *) ac_try_echo=$ac_try;;
29557 esac
29558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29559 (eval "$ac_link") 2>conftest.er1
29560 ac_status=$?
29561 grep -v '^ *+' conftest.er1 >conftest.err
29562 rm -f conftest.er1
29563 cat conftest.err >&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); } && {
29566 test -z "$ac_c_werror_flag" ||
29567 test ! -s conftest.err
29568 } && test -s conftest$ac_exeext &&
29569 $as_test_x conftest$ac_exeext; then
29570 echo "*** The test program compiled, but did not run. This usually means"
29571 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29572 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29573 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29574 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29575 echo "*** is required on your system"
29576 echo "***"
29577 echo "*** If you have an old version installed, it is best to remove it, although"
29578 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29579 else
29580 echo "$as_me: failed program was:" >&5
29581 sed 's/^/| /' conftest.$ac_ext >&5
29582
29583 echo "*** The test program failed to compile or link. See the file config.log for the"
29584 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29585 fi
29586
29587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29588 conftest$ac_exeext conftest.$ac_ext
29589 CFLAGS="$ac_save_CFLAGS"
29590 LIBS="$ac_save_LIBS"
29591 fi
29592 fi
29593 GTK_CFLAGS=""
29594 GTK_LIBS=""
29595 :
29596 fi
29597
29598
29599 rm -f conf.gtktest
29600
29601
29602 case "${host}" in
29603 *-*-solaris2* )
29604 if test "$wxUSE_SHARED" != "yes"; then
29605 GTK_LIBS="$GTK_LIBS -lX11"
29606 fi
29607 esac
29608 fi
29609
29610 if test -z "$wx_cv_lib_gtk"; then
29611 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29612
29613 # Check whether --with-gtk-prefix was given.
29614 if test "${with_gtk_prefix+set}" = set; then
29615 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29616 else
29617 gtk_config_prefix=""
29618 fi
29619
29620
29621 # Check whether --with-gtk-exec-prefix was given.
29622 if test "${with_gtk_exec_prefix+set}" = set; then
29623 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29624 else
29625 gtk_config_exec_prefix=""
29626 fi
29627
29628 # Check whether --enable-gtktest was given.
29629 if test "${enable_gtktest+set}" = set; then
29630 enableval=$enable_gtktest;
29631 else
29632 enable_gtktest=yes
29633 fi
29634
29635
29636 for module in . $GTK_MODULES
29637 do
29638 case "$module" in
29639 gthread)
29640 gtk_config_args="$gtk_config_args gthread"
29641 ;;
29642 esac
29643 done
29644
29645 if test x$gtk_config_exec_prefix != x ; then
29646 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29647 if test x${GTK_CONFIG+set} != xset ; then
29648 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29649 fi
29650 fi
29651 if test x$gtk_config_prefix != x ; then
29652 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29653 if test x${GTK_CONFIG+set} != xset ; then
29654 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29655 fi
29656 fi
29657
29658 # Extract the first word of "gtk-config", so it can be a program name with args.
29659 set dummy gtk-config; ac_word=$2
29660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29662 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29664 else
29665 case $GTK_CONFIG in
29666 [\\/]* | ?:[\\/]*)
29667 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29668 ;;
29669 *)
29670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29671 for as_dir in $PATH
29672 do
29673 IFS=$as_save_IFS
29674 test -z "$as_dir" && as_dir=.
29675 for ac_exec_ext in '' $ac_executable_extensions; do
29676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29677 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29679 break 2
29680 fi
29681 done
29682 done
29683 IFS=$as_save_IFS
29684
29685 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29686 ;;
29687 esac
29688 fi
29689 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29690 if test -n "$GTK_CONFIG"; then
29691 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29692 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29693 else
29694 { echo "$as_me:$LINENO: result: no" >&5
29695 echo "${ECHO_T}no" >&6; }
29696 fi
29697
29698
29699 min_gtk_version=1.2.7
29700 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29701 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29702 no_gtk=""
29703 if test "$GTK_CONFIG" = "no" ; then
29704 no_gtk=yes
29705 else
29706 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29707 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29708 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29710 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29712 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29714 if test "x$enable_gtktest" = "xyes" ; then
29715 ac_save_CFLAGS="$CFLAGS"
29716 ac_save_LIBS="$LIBS"
29717 CFLAGS="$CFLAGS $GTK_CFLAGS"
29718 LIBS="$GTK_LIBS $LIBS"
29719 rm -f conf.gtktest
29720 if test "$cross_compiling" = yes; then
29721 echo $ac_n "cross compiling; assumed OK... $ac_c"
29722 else
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729
29730 #include <gtk/gtk.h>
29731 #include <stdio.h>
29732 #include <stdlib.h>
29733
29734 int
29735 main ()
29736 {
29737 int major, minor, micro;
29738 char *tmp_version;
29739
29740 system ("touch conf.gtktest");
29741
29742 /* HP/UX 9 (%@#!) writes to sscanf strings */
29743 tmp_version = g_strdup("$min_gtk_version");
29744 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29745 printf("%s, bad version string\n", "$min_gtk_version");
29746 exit(1);
29747 }
29748
29749 if ((gtk_major_version != $gtk_config_major_version) ||
29750 (gtk_minor_version != $gtk_config_minor_version) ||
29751 (gtk_micro_version != $gtk_config_micro_version))
29752 {
29753 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29754 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29755 gtk_major_version, gtk_minor_version, gtk_micro_version);
29756 printf ("*** was found! If gtk-config was correct, then it is best\n");
29757 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29758 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29759 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29760 printf("*** required on your system.\n");
29761 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29762 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29763 printf("*** before re-running configure\n");
29764 }
29765 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29766 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29767 (gtk_minor_version != GTK_MINOR_VERSION) ||
29768 (gtk_micro_version != GTK_MICRO_VERSION))
29769 {
29770 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29771 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29772 printf("*** library (version %d.%d.%d)\n",
29773 gtk_major_version, gtk_minor_version, gtk_micro_version);
29774 }
29775 #endif /* defined (GTK_MAJOR_VERSION) ... */
29776 else
29777 {
29778 if ((gtk_major_version > major) ||
29779 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29780 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29781 {
29782 return 0;
29783 }
29784 else
29785 {
29786 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29787 gtk_major_version, gtk_minor_version, gtk_micro_version);
29788 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29789 major, minor, micro);
29790 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29791 printf("***\n");
29792 printf("*** If you have already installed a sufficiently new version, this error\n");
29793 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29794 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29795 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29796 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29797 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29798 printf("*** so that the correct libraries are found at run-time))\n");
29799 }
29800 }
29801 return 1;
29802 }
29803
29804 _ACEOF
29805 rm -f conftest$ac_exeext
29806 if { (ac_try="$ac_link"
29807 case "(($ac_try" in
29808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29809 *) ac_try_echo=$ac_try;;
29810 esac
29811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29812 (eval "$ac_link") 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29816 { (case "(($ac_try" in
29817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29818 *) ac_try_echo=$ac_try;;
29819 esac
29820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29821 (eval "$ac_try") 2>&5
29822 ac_status=$?
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); }; }; then
29825 :
29826 else
29827 echo "$as_me: program exited with status $ac_status" >&5
29828 echo "$as_me: failed program was:" >&5
29829 sed 's/^/| /' conftest.$ac_ext >&5
29830
29831 ( exit $ac_status )
29832 no_gtk=yes
29833 fi
29834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29835 fi
29836
29837
29838 CFLAGS="$ac_save_CFLAGS"
29839 LIBS="$ac_save_LIBS"
29840 fi
29841 fi
29842 if test "x$no_gtk" = x ; then
29843 { echo "$as_me:$LINENO: result: yes" >&5
29844 echo "${ECHO_T}yes" >&6; }
29845 wx_cv_lib_gtk=1.2.7
29846 else
29847 { echo "$as_me:$LINENO: result: no" >&5
29848 echo "${ECHO_T}no" >&6; }
29849 if test "$GTK_CONFIG" = "no" ; then
29850 echo "*** The gtk-config script installed by GTK could not be found"
29851 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29852 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29853 echo "*** full path to gtk-config."
29854 else
29855 if test -f conf.gtktest ; then
29856 :
29857 else
29858 echo "*** Could not run GTK test program, checking why..."
29859 CFLAGS="$CFLAGS $GTK_CFLAGS"
29860 LIBS="$LIBS $GTK_LIBS"
29861 cat >conftest.$ac_ext <<_ACEOF
29862 /* confdefs.h. */
29863 _ACEOF
29864 cat confdefs.h >>conftest.$ac_ext
29865 cat >>conftest.$ac_ext <<_ACEOF
29866 /* end confdefs.h. */
29867
29868 #include <gtk/gtk.h>
29869 #include <stdio.h>
29870
29871 int
29872 main ()
29873 {
29874 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29875 ;
29876 return 0;
29877 }
29878 _ACEOF
29879 rm -f conftest.$ac_objext conftest$ac_exeext
29880 if { (ac_try="$ac_link"
29881 case "(($ac_try" in
29882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29883 *) ac_try_echo=$ac_try;;
29884 esac
29885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29886 (eval "$ac_link") 2>conftest.er1
29887 ac_status=$?
29888 grep -v '^ *+' conftest.er1 >conftest.err
29889 rm -f conftest.er1
29890 cat conftest.err >&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); } && {
29893 test -z "$ac_c_werror_flag" ||
29894 test ! -s conftest.err
29895 } && test -s conftest$ac_exeext &&
29896 $as_test_x conftest$ac_exeext; then
29897 echo "*** The test program compiled, but did not run. This usually means"
29898 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29899 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29900 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29901 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29902 echo "*** is required on your system"
29903 echo "***"
29904 echo "*** If you have an old version installed, it is best to remove it, although"
29905 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29906 echo "***"
29907 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29908 echo "*** came with the system with the command"
29909 echo "***"
29910 echo "*** rpm --erase --nodeps gtk gtk-devel"
29911 else
29912 echo "$as_me: failed program was:" >&5
29913 sed 's/^/| /' conftest.$ac_ext >&5
29914
29915 echo "*** The test program failed to compile or link. See the file config.log for the"
29916 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29917 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29918 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29919 fi
29920
29921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29922 conftest$ac_exeext conftest.$ac_ext
29923 CFLAGS="$ac_save_CFLAGS"
29924 LIBS="$ac_save_LIBS"
29925 fi
29926 fi
29927 GTK_CFLAGS=""
29928 GTK_LIBS=""
29929 :
29930 fi
29931
29932
29933 rm -f conf.gtktest
29934
29935
29936 if test -z "$wx_cv_lib_gtk"; then
29937
29938 # Check whether --with-gtk-prefix was given.
29939 if test "${with_gtk_prefix+set}" = set; then
29940 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29941 else
29942 gtk_config_prefix=""
29943 fi
29944
29945
29946 # Check whether --with-gtk-exec-prefix was given.
29947 if test "${with_gtk_exec_prefix+set}" = set; then
29948 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29949 else
29950 gtk_config_exec_prefix=""
29951 fi
29952
29953 # Check whether --enable-gtktest was given.
29954 if test "${enable_gtktest+set}" = set; then
29955 enableval=$enable_gtktest;
29956 else
29957 enable_gtktest=yes
29958 fi
29959
29960
29961 for module in . $GTK_MODULES
29962 do
29963 case "$module" in
29964 gthread)
29965 gtk_config_args="$gtk_config_args gthread"
29966 ;;
29967 esac
29968 done
29969
29970 if test x$gtk_config_exec_prefix != x ; then
29971 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29972 if test x${GTK_CONFIG+set} != xset ; then
29973 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29974 fi
29975 fi
29976 if test x$gtk_config_prefix != x ; then
29977 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29978 if test x${GTK_CONFIG+set} != xset ; then
29979 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29980 fi
29981 fi
29982
29983 # Extract the first word of "gtk-config", so it can be a program name with args.
29984 set dummy gtk-config; ac_word=$2
29985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29987 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29988 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 else
29990 case $GTK_CONFIG in
29991 [\\/]* | ?:[\\/]*)
29992 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29993 ;;
29994 *)
29995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29996 for as_dir in $PATH
29997 do
29998 IFS=$as_save_IFS
29999 test -z "$as_dir" && as_dir=.
30000 for ac_exec_ext in '' $ac_executable_extensions; do
30001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30002 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30004 break 2
30005 fi
30006 done
30007 done
30008 IFS=$as_save_IFS
30009
30010 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30011 ;;
30012 esac
30013 fi
30014 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30015 if test -n "$GTK_CONFIG"; then
30016 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30017 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30018 else
30019 { echo "$as_me:$LINENO: result: no" >&5
30020 echo "${ECHO_T}no" >&6; }
30021 fi
30022
30023
30024 min_gtk_version=1.2.3
30025 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30026 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30027 no_gtk=""
30028 if test "$GTK_CONFIG" = "no" ; then
30029 no_gtk=yes
30030 else
30031 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30032 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30033 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30035 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30037 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30039 if test "x$enable_gtktest" = "xyes" ; then
30040 ac_save_CFLAGS="$CFLAGS"
30041 ac_save_LIBS="$LIBS"
30042 CFLAGS="$CFLAGS $GTK_CFLAGS"
30043 LIBS="$GTK_LIBS $LIBS"
30044 rm -f conf.gtktest
30045 if test "$cross_compiling" = yes; then
30046 echo $ac_n "cross compiling; assumed OK... $ac_c"
30047 else
30048 cat >conftest.$ac_ext <<_ACEOF
30049 /* confdefs.h. */
30050 _ACEOF
30051 cat confdefs.h >>conftest.$ac_ext
30052 cat >>conftest.$ac_ext <<_ACEOF
30053 /* end confdefs.h. */
30054
30055 #include <gtk/gtk.h>
30056 #include <stdio.h>
30057 #include <stdlib.h>
30058
30059 int
30060 main ()
30061 {
30062 int major, minor, micro;
30063 char *tmp_version;
30064
30065 system ("touch conf.gtktest");
30066
30067 /* HP/UX 9 (%@#!) writes to sscanf strings */
30068 tmp_version = g_strdup("$min_gtk_version");
30069 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30070 printf("%s, bad version string\n", "$min_gtk_version");
30071 exit(1);
30072 }
30073
30074 if ((gtk_major_version != $gtk_config_major_version) ||
30075 (gtk_minor_version != $gtk_config_minor_version) ||
30076 (gtk_micro_version != $gtk_config_micro_version))
30077 {
30078 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30079 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30080 gtk_major_version, gtk_minor_version, gtk_micro_version);
30081 printf ("*** was found! If gtk-config was correct, then it is best\n");
30082 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30083 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30084 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30085 printf("*** required on your system.\n");
30086 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30087 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30088 printf("*** before re-running configure\n");
30089 }
30090 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30091 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30092 (gtk_minor_version != GTK_MINOR_VERSION) ||
30093 (gtk_micro_version != GTK_MICRO_VERSION))
30094 {
30095 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30096 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30097 printf("*** library (version %d.%d.%d)\n",
30098 gtk_major_version, gtk_minor_version, gtk_micro_version);
30099 }
30100 #endif /* defined (GTK_MAJOR_VERSION) ... */
30101 else
30102 {
30103 if ((gtk_major_version > major) ||
30104 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30105 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30106 {
30107 return 0;
30108 }
30109 else
30110 {
30111 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30112 gtk_major_version, gtk_minor_version, gtk_micro_version);
30113 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30114 major, minor, micro);
30115 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30116 printf("***\n");
30117 printf("*** If you have already installed a sufficiently new version, this error\n");
30118 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30119 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30120 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30121 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30122 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30123 printf("*** so that the correct libraries are found at run-time))\n");
30124 }
30125 }
30126 return 1;
30127 }
30128
30129 _ACEOF
30130 rm -f conftest$ac_exeext
30131 if { (ac_try="$ac_link"
30132 case "(($ac_try" in
30133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30134 *) ac_try_echo=$ac_try;;
30135 esac
30136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30137 (eval "$ac_link") 2>&5
30138 ac_status=$?
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30141 { (case "(($ac_try" in
30142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30143 *) ac_try_echo=$ac_try;;
30144 esac
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_try") 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30150 :
30151 else
30152 echo "$as_me: program exited with status $ac_status" >&5
30153 echo "$as_me: failed program was:" >&5
30154 sed 's/^/| /' conftest.$ac_ext >&5
30155
30156 ( exit $ac_status )
30157 no_gtk=yes
30158 fi
30159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30160 fi
30161
30162
30163 CFLAGS="$ac_save_CFLAGS"
30164 LIBS="$ac_save_LIBS"
30165 fi
30166 fi
30167 if test "x$no_gtk" = x ; then
30168 { echo "$as_me:$LINENO: result: yes" >&5
30169 echo "${ECHO_T}yes" >&6; }
30170 wx_cv_lib_gtk=1.2.3
30171 else
30172 { echo "$as_me:$LINENO: result: no" >&5
30173 echo "${ECHO_T}no" >&6; }
30174 if test "$GTK_CONFIG" = "no" ; then
30175 echo "*** The gtk-config script installed by GTK could not be found"
30176 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30177 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30178 echo "*** full path to gtk-config."
30179 else
30180 if test -f conf.gtktest ; then
30181 :
30182 else
30183 echo "*** Could not run GTK test program, checking why..."
30184 CFLAGS="$CFLAGS $GTK_CFLAGS"
30185 LIBS="$LIBS $GTK_LIBS"
30186 cat >conftest.$ac_ext <<_ACEOF
30187 /* confdefs.h. */
30188 _ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30192
30193 #include <gtk/gtk.h>
30194 #include <stdio.h>
30195
30196 int
30197 main ()
30198 {
30199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30200 ;
30201 return 0;
30202 }
30203 _ACEOF
30204 rm -f conftest.$ac_objext conftest$ac_exeext
30205 if { (ac_try="$ac_link"
30206 case "(($ac_try" in
30207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30208 *) ac_try_echo=$ac_try;;
30209 esac
30210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30211 (eval "$ac_link") 2>conftest.er1
30212 ac_status=$?
30213 grep -v '^ *+' conftest.er1 >conftest.err
30214 rm -f conftest.er1
30215 cat conftest.err >&5
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); } && {
30218 test -z "$ac_c_werror_flag" ||
30219 test ! -s conftest.err
30220 } && test -s conftest$ac_exeext &&
30221 $as_test_x conftest$ac_exeext; then
30222 echo "*** The test program compiled, but did not run. This usually means"
30223 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30224 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30226 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30227 echo "*** is required on your system"
30228 echo "***"
30229 echo "*** If you have an old version installed, it is best to remove it, although"
30230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30231 echo "***"
30232 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30233 echo "*** came with the system with the command"
30234 echo "***"
30235 echo "*** rpm --erase --nodeps gtk gtk-devel"
30236 else
30237 echo "$as_me: failed program was:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30239
30240 echo "*** The test program failed to compile or link. See the file config.log for the"
30241 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30242 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30243 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30244 fi
30245
30246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30247 conftest$ac_exeext conftest.$ac_ext
30248 CFLAGS="$ac_save_CFLAGS"
30249 LIBS="$ac_save_LIBS"
30250 fi
30251 fi
30252 GTK_CFLAGS=""
30253 GTK_LIBS=""
30254 :
30255 fi
30256
30257
30258 rm -f conf.gtktest
30259
30260 fi
30261 fi
30262 fi
30263
30264 if test -z "$wx_cv_lib_gtk"; then
30265 wx_cv_lib_gtk=none
30266 else
30267 wx_cv_cflags_gtk=$GTK_CFLAGS
30268 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30269 fi
30270
30271
30272 fi
30273
30274
30275 if test "$gtk_version_cached" = 1; then
30276 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30277 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30278 fi
30279
30280 case "$wx_cv_lib_gtk" in
30281 2.0) WXGTK2=1
30282 TOOLKIT_VERSION=2
30283 ;;
30284 1.2.7) WXGTK127=1
30285 WXGTK12=1
30286 ;;
30287 1.2.3) WXGTK12=1
30288 ;;
30289 *) { { echo "$as_me:$LINENO: error:
30290 The development files for GTK+ were not found. For GTK+ 2, please
30291 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30292 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30293 and that the version is 1.2.3 or above. Also check that the
30294 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30295 --libs' are in the LD_LIBRARY_PATH or equivalent.
30296 " >&5
30297 echo "$as_me: error:
30298 The development files for GTK+ were not found. For GTK+ 2, please
30299 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30300 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30301 and that the version is 1.2.3 or above. Also check that the
30302 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30303 --libs' are in the LD_LIBRARY_PATH or equivalent.
30304 " >&2;}
30305 { (exit 1); exit 1; }; }
30306 ;;
30307 esac
30308
30309 if test "$WXGTK2" = 1; then
30310 save_CFLAGS="$CFLAGS"
30311 save_LIBS="$LIBS"
30312 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30313 LIBS="$LIBS $wx_cv_libs_gtk"
30314
30315 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30316 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323
30324 #include <gtk/gtk.h>
30325
30326 int
30327 main ()
30328 {
30329
30330 #if !GTK_CHECK_VERSION(2,18,0)
30331 Not GTK+ 2.18
30332 #endif
30333
30334 ;
30335 return 0;
30336 }
30337 _ACEOF
30338 rm -f conftest.$ac_objext
30339 if { (ac_try="$ac_compile"
30340 case "(($ac_try" in
30341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30343 esac
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_compile") 2>conftest.er1
30346 ac_status=$?
30347 grep -v '^ *+' conftest.er1 >conftest.err
30348 rm -f conftest.er1
30349 cat conftest.err >&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && {
30352 test -z "$ac_c_werror_flag" ||
30353 test ! -s conftest.err
30354 } && test -s conftest.$ac_objext; then
30355
30356 cat >>confdefs.h <<\_ACEOF
30357 #define __WXGTK218__ 1
30358 _ACEOF
30359
30360 cat >>confdefs.h <<\_ACEOF
30361 #define __WXGTK210__ 1
30362 _ACEOF
30363
30364 cat >>confdefs.h <<\_ACEOF
30365 #define __WXGTK26__ 1
30366 _ACEOF
30367
30368 { echo "$as_me:$LINENO: result: yes" >&5
30369 echo "${ECHO_T}yes" >&6; }
30370 ac_wxgtk218=1
30371
30372 else
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.$ac_ext >&5
30375
30376
30377 { echo "$as_me:$LINENO: result: no" >&5
30378 echo "${ECHO_T}no" >&6; }
30379 ac_wxgtk218=0
30380
30381 fi
30382
30383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30384
30385 if test "$ac_wxgtk218" = 0; then
30386 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30387 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30388 cat >conftest.$ac_ext <<_ACEOF
30389 /* confdefs.h. */
30390 _ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30394
30395 #include <gtk/gtk.h>
30396
30397 int
30398 main ()
30399 {
30400
30401 #if !GTK_CHECK_VERSION(2,10,0)
30402 Not GTK+ 2.10
30403 #endif
30404
30405 ;
30406 return 0;
30407 }
30408 _ACEOF
30409 rm -f conftest.$ac_objext
30410 if { (ac_try="$ac_compile"
30411 case "(($ac_try" in
30412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30413 *) ac_try_echo=$ac_try;;
30414 esac
30415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30416 (eval "$ac_compile") 2>conftest.er1
30417 ac_status=$?
30418 grep -v '^ *+' conftest.er1 >conftest.err
30419 rm -f conftest.er1
30420 cat conftest.err >&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } && {
30423 test -z "$ac_c_werror_flag" ||
30424 test ! -s conftest.err
30425 } && test -s conftest.$ac_objext; then
30426
30427 cat >>confdefs.h <<\_ACEOF
30428 #define __WXGTK210__ 1
30429 _ACEOF
30430
30431 cat >>confdefs.h <<\_ACEOF
30432 #define __WXGTK26__ 1
30433 _ACEOF
30434
30435 { echo "$as_me:$LINENO: result: yes" >&5
30436 echo "${ECHO_T}yes" >&6; }
30437 ac_wxgtk210=1
30438
30439 else
30440 echo "$as_me: failed program was:" >&5
30441 sed 's/^/| /' conftest.$ac_ext >&5
30442
30443
30444 { echo "$as_me:$LINENO: result: no" >&5
30445 echo "${ECHO_T}no" >&6; }
30446 ac_wxgtk210=0
30447
30448 fi
30449
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451
30452 if test "$ac_wxgtk210" = 0; then
30453 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30454 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461
30462 #include <gtk/gtk.h>
30463
30464 int
30465 main ()
30466 {
30467
30468 #if !GTK_CHECK_VERSION(2,6,0)
30469 Not GTK+ 2.6
30470 #endif
30471
30472 ;
30473 return 0;
30474 }
30475 _ACEOF
30476 rm -f conftest.$ac_objext
30477 if { (ac_try="$ac_compile"
30478 case "(($ac_try" in
30479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30480 *) ac_try_echo=$ac_try;;
30481 esac
30482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30483 (eval "$ac_compile") 2>conftest.er1
30484 ac_status=$?
30485 grep -v '^ *+' conftest.er1 >conftest.err
30486 rm -f conftest.er1
30487 cat conftest.err >&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); } && {
30490 test -z "$ac_c_werror_flag" ||
30491 test ! -s conftest.err
30492 } && test -s conftest.$ac_objext; then
30493
30494 cat >>confdefs.h <<\_ACEOF
30495 #define __WXGTK26__ 1
30496 _ACEOF
30497
30498 { echo "$as_me:$LINENO: result: yes" >&5
30499 echo "${ECHO_T}yes" >&6; }
30500 ac_wxgtk26=1
30501
30502 else
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506
30507 { echo "$as_me:$LINENO: result: no" >&5
30508 echo "${ECHO_T}no" >&6; }
30509 ac_wxgtk26=0
30510
30511 fi
30512
30513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30514 fi
30515 fi
30516
30517 CFLAGS="$save_CFLAGS"
30518 LIBS="$save_LIBS"
30519 else
30520 if test "$wxUSE_UNICODE" = "yes"; then
30521 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30522 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30523 wxUSE_UNICODE=no
30524 fi
30525
30526 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30527 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30528 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30529 echo $ECHO_N "(cached) $ECHO_C" >&6
30530 else
30531 ac_check_lib_save_LIBS=$LIBS
30532 LIBS="-lgdk $LIBS"
30533 cat >conftest.$ac_ext <<_ACEOF
30534 /* confdefs.h. */
30535 _ACEOF
30536 cat confdefs.h >>conftest.$ac_ext
30537 cat >>conftest.$ac_ext <<_ACEOF
30538 /* end confdefs.h. */
30539
30540 /* Override any GCC internal prototype to avoid an error.
30541 Use char because int might match the return type of a GCC
30542 builtin and then its argument prototype would still apply. */
30543 #ifdef __cplusplus
30544 extern "C"
30545 #endif
30546 char gdk_im_open ();
30547 int
30548 main ()
30549 {
30550 return gdk_im_open ();
30551 ;
30552 return 0;
30553 }
30554 _ACEOF
30555 rm -f conftest.$ac_objext conftest$ac_exeext
30556 if { (ac_try="$ac_link"
30557 case "(($ac_try" in
30558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30559 *) ac_try_echo=$ac_try;;
30560 esac
30561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30562 (eval "$ac_link") 2>conftest.er1
30563 ac_status=$?
30564 grep -v '^ *+' conftest.er1 >conftest.err
30565 rm -f conftest.er1
30566 cat conftest.err >&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); } && {
30569 test -z "$ac_c_werror_flag" ||
30570 test ! -s conftest.err
30571 } && test -s conftest$ac_exeext &&
30572 $as_test_x conftest$ac_exeext; then
30573 ac_cv_lib_gdk_gdk_im_open=yes
30574 else
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30577
30578 ac_cv_lib_gdk_gdk_im_open=no
30579 fi
30580
30581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30582 conftest$ac_exeext conftest.$ac_ext
30583 LIBS=$ac_check_lib_save_LIBS
30584 fi
30585 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30586 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30587 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30588 cat >>confdefs.h <<\_ACEOF
30589 #define HAVE_XIM 1
30590 _ACEOF
30591
30592 fi
30593
30594
30595 if test "$USE_DARWIN" != 1; then
30596
30597 for ac_func in poll
30598 do
30599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30603 echo $ECHO_N "(cached) $ECHO_C" >&6
30604 else
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30613 #define $ac_func innocuous_$ac_func
30614
30615 /* System header to define __stub macros and hopefully few prototypes,
30616 which can conflict with char $ac_func (); below.
30617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618 <limits.h> exists even on freestanding compilers. */
30619
30620 #ifdef __STDC__
30621 # include <limits.h>
30622 #else
30623 # include <assert.h>
30624 #endif
30625
30626 #undef $ac_func
30627
30628 /* Override any GCC internal prototype to avoid an error.
30629 Use char because int might match the return type of a GCC
30630 builtin and then its argument prototype would still apply. */
30631 #ifdef __cplusplus
30632 extern "C"
30633 #endif
30634 char $ac_func ();
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined __stub_$ac_func || defined __stub___$ac_func
30639 choke me
30640 #endif
30641
30642 int
30643 main ()
30644 {
30645 return $ac_func ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30655 esac
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 eval "$as_ac_var=yes"
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673 eval "$as_ac_var=no"
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 ac_res=`eval echo '${'$as_ac_var'}'`
30680 { echo "$as_me:$LINENO: result: $ac_res" >&5
30681 echo "${ECHO_T}$ac_res" >&6; }
30682 if test `eval echo '${'$as_ac_var'}'` = yes; then
30683 cat >>confdefs.h <<_ACEOF
30684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30685 _ACEOF
30686
30687 fi
30688 done
30689
30690 fi
30691 fi
30692
30693 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30694 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30695
30696 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30697
30698 AFMINSTALL=afminstall
30699 TOOLKIT=GTK
30700 GUIDIST=GTK_DIST
30701
30702 if test "$wxUSE_GPE" = "yes"; then
30703 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30704 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30705
30706 ac_find_libraries=
30707 for ac_dir in $SEARCH_LIB;
30708 do
30709 for ac_extension in a so sl dylib dll.a; do
30710 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30711 ac_find_libraries=$ac_dir
30712 break 2
30713 fi
30714 done
30715 done
30716
30717 if test "$ac_find_libraries" != "" ; then
30718
30719 if test "$ac_find_libraries" = "default location"; then
30720 ac_path_to_link=""
30721 else
30722 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30723 result=$?
30724 if test $result = 0; then
30725 ac_path_to_link=""
30726 else
30727 ac_path_to_link=" -L$ac_find_libraries"
30728 fi
30729 fi
30730
30731 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30732 WXGPE=1
30733 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30734 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30735 else
30736 { echo "$as_me:$LINENO: result: not found" >&5
30737 echo "${ECHO_T}not found" >&6; }
30738 fi
30739
30740 fi
30741 fi
30742
30743 if test "$wxUSE_MGL" = 1; then
30744 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30745 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30746 if test "x$MGL_ROOT" = x ; then
30747 { echo "$as_me:$LINENO: result: not found" >&5
30748 echo "${ECHO_T}not found" >&6; }
30749 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30750 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30751 { (exit 1); exit 1; }; }
30752 else
30753 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30754 echo "${ECHO_T}$MGL_ROOT" >&6; }
30755 fi
30756
30757 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30758 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30759 case "${host}" in
30760 *-*-linux* )
30761 if test "x$wxUSE_SHARED" = xyes ; then
30762 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30763 else
30764 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30765 fi
30766 ;;
30767 *-pc-msdosdjgpp )
30768 mgl_os_candidates="dos32/dj2"
30769 ;;
30770 *)
30771 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30772 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30773 { (exit 1); exit 1; }; }
30774 esac
30775
30776 mgl_lib_type=""
30777 mgl_os=""
30778
30779 for mgl_os_i in $mgl_os_candidates ; do
30780 if test "x$mgl_os" = x ; then
30781 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30782 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30783 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30784 mgl_lib_type=debug
30785 mgl_os=$mgl_os_i
30786 fi
30787 fi
30788 if test "x$mgl_lib_type" = x ; then
30789 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30790 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30791 mgl_lib_type=release
30792 mgl_os=$mgl_os_i
30793 fi
30794 fi
30795 fi
30796 done
30797
30798 if test "x$mgl_os" = x ; then
30799 { echo "$as_me:$LINENO: result: not found" >&5
30800 echo "${ECHO_T}not found" >&6; }
30801 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30802 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30803 { (exit 1); exit 1; }; }
30804 fi
30805 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30806 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30807
30808 wxUSE_UNIVERSAL="yes"
30809
30810 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30811 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30812
30813 AFMINSTALL=afminstall
30814 TOOLKIT=MGL
30815 GUIDIST=MGL_DIST
30816 fi
30817
30818 if test "$wxUSE_DFB" = 1; then
30819
30820
30821 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30822 if test -n "$ac_tool_prefix"; then
30823 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30824 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30827 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 else
30830 case $PKG_CONFIG in
30831 [\\/]* | ?:[\\/]*)
30832 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30833 ;;
30834 *)
30835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30836 for as_dir in $PATH
30837 do
30838 IFS=$as_save_IFS
30839 test -z "$as_dir" && as_dir=.
30840 for ac_exec_ext in '' $ac_executable_extensions; do
30841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30842 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30844 break 2
30845 fi
30846 done
30847 done
30848 IFS=$as_save_IFS
30849
30850 ;;
30851 esac
30852 fi
30853 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30854 if test -n "$PKG_CONFIG"; then
30855 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30856 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30857 else
30858 { echo "$as_me:$LINENO: result: no" >&5
30859 echo "${ECHO_T}no" >&6; }
30860 fi
30861
30862
30863 fi
30864 if test -z "$ac_cv_path_PKG_CONFIG"; then
30865 ac_pt_PKG_CONFIG=$PKG_CONFIG
30866 # Extract the first word of "pkg-config", so it can be a program name with args.
30867 set dummy pkg-config; ac_word=$2
30868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30870 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 else
30873 case $ac_pt_PKG_CONFIG in
30874 [\\/]* | ?:[\\/]*)
30875 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30876 ;;
30877 *)
30878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30879 for as_dir in $PATH
30880 do
30881 IFS=$as_save_IFS
30882 test -z "$as_dir" && as_dir=.
30883 for ac_exec_ext in '' $ac_executable_extensions; do
30884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30885 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30887 break 2
30888 fi
30889 done
30890 done
30891 IFS=$as_save_IFS
30892
30893 ;;
30894 esac
30895 fi
30896 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30897 if test -n "$ac_pt_PKG_CONFIG"; then
30898 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30899 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30900 else
30901 { echo "$as_me:$LINENO: result: no" >&5
30902 echo "${ECHO_T}no" >&6; }
30903 fi
30904
30905 if test "x$ac_pt_PKG_CONFIG" = x; then
30906 PKG_CONFIG=""
30907 else
30908 case $cross_compiling:$ac_tool_warned in
30909 yes:)
30910 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30911 whose name does not start with the host triplet. If you think this
30912 configuration is useful to you, please write to autoconf@gnu.org." >&5
30913 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30914 whose name does not start with the host triplet. If you think this
30915 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30916 ac_tool_warned=yes ;;
30917 esac
30918 PKG_CONFIG=$ac_pt_PKG_CONFIG
30919 fi
30920 else
30921 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30922 fi
30923
30924 fi
30925 if test -n "$PKG_CONFIG"; then
30926 _pkg_min_version=0.9.0
30927 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30928 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30929 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30930 { echo "$as_me:$LINENO: result: yes" >&5
30931 echo "${ECHO_T}yes" >&6; }
30932 else
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 PKG_CONFIG=""
30936 fi
30937
30938 fi
30939
30940
30941 pkg_failed=no
30942 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30943 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30944
30945 if test -n "$PKG_CONFIG"; then
30946 if test -n "$DIRECTFB_CFLAGS"; then
30947 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30948 else
30949 if test -n "$PKG_CONFIG" && \
30950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30951 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30952 ac_status=$?
30953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954 (exit $ac_status); }; then
30955 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30956 else
30957 pkg_failed=yes
30958 fi
30959 fi
30960 else
30961 pkg_failed=untried
30962 fi
30963 if test -n "$PKG_CONFIG"; then
30964 if test -n "$DIRECTFB_LIBS"; then
30965 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30966 else
30967 if test -n "$PKG_CONFIG" && \
30968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30969 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30970 ac_status=$?
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); }; then
30973 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30974 else
30975 pkg_failed=yes
30976 fi
30977 fi
30978 else
30979 pkg_failed=untried
30980 fi
30981
30982
30983
30984 if test $pkg_failed = yes; then
30985
30986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30987 _pkg_short_errors_supported=yes
30988 else
30989 _pkg_short_errors_supported=no
30990 fi
30991 if test $_pkg_short_errors_supported = yes; then
30992 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30993 else
30994 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30995 fi
30996 # Put the nasty error message in config.log where it belongs
30997 echo "$DIRECTFB_PKG_ERRORS" >&5
30998
30999
31000 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31001 echo "$as_me: error: DirectFB not found." >&2;}
31002 { (exit 1); exit 1; }; }
31003
31004
31005 elif test $pkg_failed = untried; then
31006
31007 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31008 echo "$as_me: error: DirectFB not found." >&2;}
31009 { (exit 1); exit 1; }; }
31010
31011
31012 else
31013 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31014 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31015 { echo "$as_me:$LINENO: result: yes" >&5
31016 echo "${ECHO_T}yes" >&6; }
31017
31018 wxUSE_UNIVERSAL="yes"
31019 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31020 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31021 TOOLKIT=DFB
31022 GUIDIST=DFB_DIST
31023
31024 fi
31025 fi
31026
31027 if test "$wxUSE_MICROWIN" = 1; then
31028 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31029 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31030 if test "x$MICROWINDOWS" = x ; then
31031 { echo "$as_me:$LINENO: result: not found" >&5
31032 echo "${ECHO_T}not found" >&6; }
31033 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31034 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31035 { (exit 1); exit 1; }; }
31036 else
31037 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31038 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31039 fi
31040
31041 if test -f $MICROWINDOWS/lib/libmwin.a; then
31042 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31043 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31044 else
31045 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31046 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31047 { (exit 1); exit 1; }; }
31048 fi
31049
31050 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31051 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31052
31053 wxUSE_UNIVERSAL="yes"
31054
31055 AFMINSTALL=afminstall
31056 TOOLKIT=MICROWIN
31057 GUIDIST=MICROWIN_DIST
31058
31059 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31060 fi
31061
31062 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31063 { echo "$as_me:$LINENO: checking for X" >&5
31064 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31065
31066
31067 # Check whether --with-x was given.
31068 if test "${with_x+set}" = set; then
31069 withval=$with_x;
31070 fi
31071
31072 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31073 if test "x$with_x" = xno; then
31074 # The user explicitly disabled X.
31075 have_x=disabled
31076 else
31077 case $x_includes,$x_libraries in #(
31078 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31079 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31080 { (exit 1); exit 1; }; };; #(
31081 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 else
31084 # One or both of the vars are not set, and there is no cached value.
31085 ac_x_includes=no ac_x_libraries=no
31086 rm -f -r conftest.dir
31087 if mkdir conftest.dir; then
31088 cd conftest.dir
31089 cat >Imakefile <<'_ACEOF'
31090 incroot:
31091 @echo incroot='${INCROOT}'
31092 usrlibdir:
31093 @echo usrlibdir='${USRLIBDIR}'
31094 libdir:
31095 @echo libdir='${LIBDIR}'
31096 _ACEOF
31097 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31099 for ac_var in incroot usrlibdir libdir; do
31100 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31101 done
31102 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31103 for ac_extension in a so sl dylib la dll; do
31104 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31105 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31106 ac_im_usrlibdir=$ac_im_libdir; break
31107 fi
31108 done
31109 # Screen out bogus values from the imake configuration. They are
31110 # bogus both because they are the default anyway, and because
31111 # using them would break gcc on systems where it needs fixed includes.
31112 case $ac_im_incroot in
31113 /usr/include) ac_x_includes= ;;
31114 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31115 esac
31116 case $ac_im_usrlibdir in
31117 /usr/lib | /lib) ;;
31118 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31119 esac
31120 fi
31121 cd ..
31122 rm -f -r conftest.dir
31123 fi
31124
31125 # Standard set of common directories for X headers.
31126 # Check X11 before X11Rn because it is often a symlink to the current release.
31127 ac_x_header_dirs='
31128 /usr/X11/include
31129 /usr/X11R6/include
31130 /usr/X11R5/include
31131 /usr/X11R4/include
31132
31133 /usr/include/X11
31134 /usr/include/X11R6
31135 /usr/include/X11R5
31136 /usr/include/X11R4
31137
31138 /usr/local/X11/include
31139 /usr/local/X11R6/include
31140 /usr/local/X11R5/include
31141 /usr/local/X11R4/include
31142
31143 /usr/local/include/X11
31144 /usr/local/include/X11R6
31145 /usr/local/include/X11R5
31146 /usr/local/include/X11R4
31147
31148 /usr/X386/include
31149 /usr/x386/include
31150 /usr/XFree86/include/X11
31151
31152 /usr/include
31153 /usr/local/include
31154 /usr/unsupported/include
31155 /usr/athena/include
31156 /usr/local/x11r5/include
31157 /usr/lpp/Xamples/include
31158
31159 /usr/openwin/include
31160 /usr/openwin/share/include'
31161
31162 if test "$ac_x_includes" = no; then
31163 # Guess where to find include files, by looking for Xlib.h.
31164 # First, try using that file with no special directory specified.
31165 cat >conftest.$ac_ext <<_ACEOF
31166 /* confdefs.h. */
31167 _ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 #include <X11/Xlib.h>
31172 _ACEOF
31173 if { (ac_try="$ac_cpp conftest.$ac_ext"
31174 case "(($ac_try" in
31175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31176 *) ac_try_echo=$ac_try;;
31177 esac
31178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31180 ac_status=$?
31181 grep -v '^ *+' conftest.er1 >conftest.err
31182 rm -f conftest.er1
31183 cat conftest.err >&5
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } >/dev/null && {
31186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31187 test ! -s conftest.err
31188 }; then
31189 # We can compile using X headers with no special include directory.
31190 ac_x_includes=
31191 else
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.$ac_ext >&5
31194
31195 for ac_dir in $ac_x_header_dirs; do
31196 if test -r "$ac_dir/X11/Xlib.h"; then
31197 ac_x_includes=$ac_dir
31198 break
31199 fi
31200 done
31201 fi
31202
31203 rm -f conftest.err conftest.$ac_ext
31204 fi # $ac_x_includes = no
31205
31206 if test "$ac_x_libraries" = no; then
31207 # Check for the libraries.
31208 # See if we find them without any special options.
31209 # Don't add to $LIBS permanently.
31210 ac_save_LIBS=$LIBS
31211 LIBS="-lX11 $LIBS"
31212 cat >conftest.$ac_ext <<_ACEOF
31213 /* confdefs.h. */
31214 _ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h. */
31218 #include <X11/Xlib.h>
31219 int
31220 main ()
31221 {
31222 XrmInitialize ()
31223 ;
31224 return 0;
31225 }
31226 _ACEOF
31227 rm -f conftest.$ac_objext conftest$ac_exeext
31228 if { (ac_try="$ac_link"
31229 case "(($ac_try" in
31230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31231 *) ac_try_echo=$ac_try;;
31232 esac
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_link") 2>conftest.er1
31235 ac_status=$?
31236 grep -v '^ *+' conftest.er1 >conftest.err
31237 rm -f conftest.er1
31238 cat conftest.err >&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } && {
31241 test -z "$ac_c_werror_flag" ||
31242 test ! -s conftest.err
31243 } && test -s conftest$ac_exeext &&
31244 $as_test_x conftest$ac_exeext; then
31245 LIBS=$ac_save_LIBS
31246 # We can link X programs with no special library path.
31247 ac_x_libraries=
31248 else
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31251
31252 LIBS=$ac_save_LIBS
31253 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31254 do
31255 # Don't even attempt the hair of trying to link an X program!
31256 for ac_extension in a so sl dylib la dll; do
31257 if test -r "$ac_dir/libX11.$ac_extension"; then
31258 ac_x_libraries=$ac_dir
31259 break 2
31260 fi
31261 done
31262 done
31263 fi
31264
31265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31266 conftest$ac_exeext conftest.$ac_ext
31267 fi # $ac_x_libraries = no
31268
31269 case $ac_x_includes,$ac_x_libraries in #(
31270 no,* | *,no | *\'*)
31271 # Didn't find X, or a directory has "'" in its name.
31272 ac_cv_have_x="have_x=no";; #(
31273 *)
31274 # Record where we found X for the cache.
31275 ac_cv_have_x="have_x=yes\
31276 ac_x_includes='$ac_x_includes'\
31277 ac_x_libraries='$ac_x_libraries'"
31278 esac
31279 fi
31280 ;; #(
31281 *) have_x=yes;;
31282 esac
31283 eval "$ac_cv_have_x"
31284 fi # $with_x != no
31285
31286 if test "$have_x" != yes; then
31287 { echo "$as_me:$LINENO: result: $have_x" >&5
31288 echo "${ECHO_T}$have_x" >&6; }
31289 no_x=yes
31290 else
31291 # If each of the values was on the command line, it overrides each guess.
31292 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31293 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31294 # Update the cache value to reflect the command line values.
31295 ac_cv_have_x="have_x=yes\
31296 ac_x_includes='$x_includes'\
31297 ac_x_libraries='$x_libraries'"
31298 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31299 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31300 fi
31301
31302 if test "$no_x" = yes; then
31303 # Not all programs may use this symbol, but it does not hurt to define it.
31304
31305 cat >>confdefs.h <<\_ACEOF
31306 #define X_DISPLAY_MISSING 1
31307 _ACEOF
31308
31309 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31310 else
31311 if test -n "$x_includes"; then
31312 X_CFLAGS="$X_CFLAGS -I$x_includes"
31313 fi
31314
31315 # It would also be nice to do this for all -L options, not just this one.
31316 if test -n "$x_libraries"; then
31317 X_LIBS="$X_LIBS -L$x_libraries"
31318 # For Solaris; some versions of Sun CC require a space after -R and
31319 # others require no space. Words are not sufficient . . . .
31320 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31321 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31322 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31323 ac_xsave_c_werror_flag=$ac_c_werror_flag
31324 ac_c_werror_flag=yes
31325 cat >conftest.$ac_ext <<_ACEOF
31326 /* confdefs.h. */
31327 _ACEOF
31328 cat confdefs.h >>conftest.$ac_ext
31329 cat >>conftest.$ac_ext <<_ACEOF
31330 /* end confdefs.h. */
31331
31332 int
31333 main ()
31334 {
31335
31336 ;
31337 return 0;
31338 }
31339 _ACEOF
31340 rm -f conftest.$ac_objext conftest$ac_exeext
31341 if { (ac_try="$ac_link"
31342 case "(($ac_try" in
31343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31344 *) ac_try_echo=$ac_try;;
31345 esac
31346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31347 (eval "$ac_link") 2>conftest.er1
31348 ac_status=$?
31349 grep -v '^ *+' conftest.er1 >conftest.err
31350 rm -f conftest.er1
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } && {
31354 test -z "$ac_c_werror_flag" ||
31355 test ! -s conftest.err
31356 } && test -s conftest$ac_exeext &&
31357 $as_test_x conftest$ac_exeext; then
31358 { echo "$as_me:$LINENO: result: no" >&5
31359 echo "${ECHO_T}no" >&6; }
31360 X_LIBS="$X_LIBS -R$x_libraries"
31361 else
31362 echo "$as_me: failed program was:" >&5
31363 sed 's/^/| /' conftest.$ac_ext >&5
31364
31365 LIBS="$ac_xsave_LIBS -R $x_libraries"
31366 cat >conftest.$ac_ext <<_ACEOF
31367 /* confdefs.h. */
31368 _ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372
31373 int
31374 main ()
31375 {
31376
31377 ;
31378 return 0;
31379 }
31380 _ACEOF
31381 rm -f conftest.$ac_objext conftest$ac_exeext
31382 if { (ac_try="$ac_link"
31383 case "(($ac_try" in
31384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31385 *) ac_try_echo=$ac_try;;
31386 esac
31387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31388 (eval "$ac_link") 2>conftest.er1
31389 ac_status=$?
31390 grep -v '^ *+' conftest.er1 >conftest.err
31391 rm -f conftest.er1
31392 cat conftest.err >&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); } && {
31395 test -z "$ac_c_werror_flag" ||
31396 test ! -s conftest.err
31397 } && test -s conftest$ac_exeext &&
31398 $as_test_x conftest$ac_exeext; then
31399 { echo "$as_me:$LINENO: result: yes" >&5
31400 echo "${ECHO_T}yes" >&6; }
31401 X_LIBS="$X_LIBS -R $x_libraries"
31402 else
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.$ac_ext >&5
31405
31406 { echo "$as_me:$LINENO: result: neither works" >&5
31407 echo "${ECHO_T}neither works" >&6; }
31408 fi
31409
31410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31411 conftest$ac_exeext conftest.$ac_ext
31412 fi
31413
31414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31415 conftest$ac_exeext conftest.$ac_ext
31416 ac_c_werror_flag=$ac_xsave_c_werror_flag
31417 LIBS=$ac_xsave_LIBS
31418 fi
31419
31420 # Check for system-dependent libraries X programs must link with.
31421 # Do this before checking for the system-independent R6 libraries
31422 # (-lICE), since we may need -lsocket or whatever for X linking.
31423
31424 if test "$ISC" = yes; then
31425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31426 else
31427 # Martyn Johnson says this is needed for Ultrix, if the X
31428 # libraries were built with DECnet support. And Karl Berry says
31429 # the Alpha needs dnet_stub (dnet does not exist).
31430 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31431 cat >conftest.$ac_ext <<_ACEOF
31432 /* confdefs.h. */
31433 _ACEOF
31434 cat confdefs.h >>conftest.$ac_ext
31435 cat >>conftest.$ac_ext <<_ACEOF
31436 /* end confdefs.h. */
31437
31438 /* Override any GCC internal prototype to avoid an error.
31439 Use char because int might match the return type of a GCC
31440 builtin and then its argument prototype would still apply. */
31441 #ifdef __cplusplus
31442 extern "C"
31443 #endif
31444 char XOpenDisplay ();
31445 int
31446 main ()
31447 {
31448 return XOpenDisplay ();
31449 ;
31450 return 0;
31451 }
31452 _ACEOF
31453 rm -f conftest.$ac_objext conftest$ac_exeext
31454 if { (ac_try="$ac_link"
31455 case "(($ac_try" in
31456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31457 *) ac_try_echo=$ac_try;;
31458 esac
31459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31460 (eval "$ac_link") 2>conftest.er1
31461 ac_status=$?
31462 grep -v '^ *+' conftest.er1 >conftest.err
31463 rm -f conftest.er1
31464 cat conftest.err >&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } && {
31467 test -z "$ac_c_werror_flag" ||
31468 test ! -s conftest.err
31469 } && test -s conftest$ac_exeext &&
31470 $as_test_x conftest$ac_exeext; then
31471 :
31472 else
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.$ac_ext >&5
31475
31476 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31477 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31478 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31479 echo $ECHO_N "(cached) $ECHO_C" >&6
31480 else
31481 ac_check_lib_save_LIBS=$LIBS
31482 LIBS="-ldnet $LIBS"
31483 cat >conftest.$ac_ext <<_ACEOF
31484 /* confdefs.h. */
31485 _ACEOF
31486 cat confdefs.h >>conftest.$ac_ext
31487 cat >>conftest.$ac_ext <<_ACEOF
31488 /* end confdefs.h. */
31489
31490 /* Override any GCC internal prototype to avoid an error.
31491 Use char because int might match the return type of a GCC
31492 builtin and then its argument prototype would still apply. */
31493 #ifdef __cplusplus
31494 extern "C"
31495 #endif
31496 char dnet_ntoa ();
31497 int
31498 main ()
31499 {
31500 return dnet_ntoa ();
31501 ;
31502 return 0;
31503 }
31504 _ACEOF
31505 rm -f conftest.$ac_objext conftest$ac_exeext
31506 if { (ac_try="$ac_link"
31507 case "(($ac_try" in
31508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31509 *) ac_try_echo=$ac_try;;
31510 esac
31511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31512 (eval "$ac_link") 2>conftest.er1
31513 ac_status=$?
31514 grep -v '^ *+' conftest.er1 >conftest.err
31515 rm -f conftest.er1
31516 cat conftest.err >&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); } && {
31519 test -z "$ac_c_werror_flag" ||
31520 test ! -s conftest.err
31521 } && test -s conftest$ac_exeext &&
31522 $as_test_x conftest$ac_exeext; then
31523 ac_cv_lib_dnet_dnet_ntoa=yes
31524 else
31525 echo "$as_me: failed program was:" >&5
31526 sed 's/^/| /' conftest.$ac_ext >&5
31527
31528 ac_cv_lib_dnet_dnet_ntoa=no
31529 fi
31530
31531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31532 conftest$ac_exeext conftest.$ac_ext
31533 LIBS=$ac_check_lib_save_LIBS
31534 fi
31535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31536 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31537 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31538 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31539 fi
31540
31541 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31542 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31543 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31544 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547 ac_check_lib_save_LIBS=$LIBS
31548 LIBS="-ldnet_stub $LIBS"
31549 cat >conftest.$ac_ext <<_ACEOF
31550 /* confdefs.h. */
31551 _ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31555
31556 /* Override any GCC internal prototype to avoid an error.
31557 Use char because int might match the return type of a GCC
31558 builtin and then its argument prototype would still apply. */
31559 #ifdef __cplusplus
31560 extern "C"
31561 #endif
31562 char dnet_ntoa ();
31563 int
31564 main ()
31565 {
31566 return dnet_ntoa ();
31567 ;
31568 return 0;
31569 }
31570 _ACEOF
31571 rm -f conftest.$ac_objext conftest$ac_exeext
31572 if { (ac_try="$ac_link"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31575 *) ac_try_echo=$ac_try;;
31576 esac
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_link") 2>conftest.er1
31579 ac_status=$?
31580 grep -v '^ *+' conftest.er1 >conftest.err
31581 rm -f conftest.er1
31582 cat conftest.err >&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } && {
31585 test -z "$ac_c_werror_flag" ||
31586 test ! -s conftest.err
31587 } && test -s conftest$ac_exeext &&
31588 $as_test_x conftest$ac_exeext; then
31589 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31590 else
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.$ac_ext >&5
31593
31594 ac_cv_lib_dnet_stub_dnet_ntoa=no
31595 fi
31596
31597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31598 conftest$ac_exeext conftest.$ac_ext
31599 LIBS=$ac_check_lib_save_LIBS
31600 fi
31601 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31602 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31603 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31604 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31605 fi
31606
31607 fi
31608 fi
31609
31610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31611 conftest$ac_exeext conftest.$ac_ext
31612 LIBS="$ac_xsave_LIBS"
31613
31614 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31615 # to get the SysV transport functions.
31616 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31617 # needs -lnsl.
31618 # The nsl library prevents programs from opening the X display
31619 # on Irix 5.2, according to T.E. Dickey.
31620 # The functions gethostbyname, getservbyname, and inet_addr are
31621 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31622 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31623 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31624 if test "${ac_cv_func_gethostbyname+set}" = set; then
31625 echo $ECHO_N "(cached) $ECHO_C" >&6
31626 else
31627 cat >conftest.$ac_ext <<_ACEOF
31628 /* confdefs.h. */
31629 _ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31633 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31635 #define gethostbyname innocuous_gethostbyname
31636
31637 /* System header to define __stub macros and hopefully few prototypes,
31638 which can conflict with char gethostbyname (); below.
31639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31640 <limits.h> exists even on freestanding compilers. */
31641
31642 #ifdef __STDC__
31643 # include <limits.h>
31644 #else
31645 # include <assert.h>
31646 #endif
31647
31648 #undef gethostbyname
31649
31650 /* Override any GCC internal prototype to avoid an error.
31651 Use char because int might match the return type of a GCC
31652 builtin and then its argument prototype would still apply. */
31653 #ifdef __cplusplus
31654 extern "C"
31655 #endif
31656 char gethostbyname ();
31657 /* The GNU C library defines this for functions which it implements
31658 to always fail with ENOSYS. Some functions are actually named
31659 something starting with __ and the normal name is an alias. */
31660 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31661 choke me
31662 #endif
31663
31664 int
31665 main ()
31666 {
31667 return gethostbyname ();
31668 ;
31669 return 0;
31670 }
31671 _ACEOF
31672 rm -f conftest.$ac_objext conftest$ac_exeext
31673 if { (ac_try="$ac_link"
31674 case "(($ac_try" in
31675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31676 *) ac_try_echo=$ac_try;;
31677 esac
31678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31679 (eval "$ac_link") 2>conftest.er1
31680 ac_status=$?
31681 grep -v '^ *+' conftest.er1 >conftest.err
31682 rm -f conftest.er1
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } && {
31686 test -z "$ac_c_werror_flag" ||
31687 test ! -s conftest.err
31688 } && test -s conftest$ac_exeext &&
31689 $as_test_x conftest$ac_exeext; then
31690 ac_cv_func_gethostbyname=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695 ac_cv_func_gethostbyname=no
31696 fi
31697
31698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31699 conftest$ac_exeext conftest.$ac_ext
31700 fi
31701 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31702 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31703
31704 if test $ac_cv_func_gethostbyname = no; then
31705 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31706 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31707 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 else
31710 ac_check_lib_save_LIBS=$LIBS
31711 LIBS="-lnsl $LIBS"
31712 cat >conftest.$ac_ext <<_ACEOF
31713 /* confdefs.h. */
31714 _ACEOF
31715 cat confdefs.h >>conftest.$ac_ext
31716 cat >>conftest.$ac_ext <<_ACEOF
31717 /* end confdefs.h. */
31718
31719 /* Override any GCC internal prototype to avoid an error.
31720 Use char because int might match the return type of a GCC
31721 builtin and then its argument prototype would still apply. */
31722 #ifdef __cplusplus
31723 extern "C"
31724 #endif
31725 char gethostbyname ();
31726 int
31727 main ()
31728 {
31729 return gethostbyname ();
31730 ;
31731 return 0;
31732 }
31733 _ACEOF
31734 rm -f conftest.$ac_objext conftest$ac_exeext
31735 if { (ac_try="$ac_link"
31736 case "(($ac_try" in
31737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31738 *) ac_try_echo=$ac_try;;
31739 esac
31740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31741 (eval "$ac_link") 2>conftest.er1
31742 ac_status=$?
31743 grep -v '^ *+' conftest.er1 >conftest.err
31744 rm -f conftest.er1
31745 cat conftest.err >&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } && {
31748 test -z "$ac_c_werror_flag" ||
31749 test ! -s conftest.err
31750 } && test -s conftest$ac_exeext &&
31751 $as_test_x conftest$ac_exeext; then
31752 ac_cv_lib_nsl_gethostbyname=yes
31753 else
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31756
31757 ac_cv_lib_nsl_gethostbyname=no
31758 fi
31759
31760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31761 conftest$ac_exeext conftest.$ac_ext
31762 LIBS=$ac_check_lib_save_LIBS
31763 fi
31764 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31765 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31766 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31768 fi
31769
31770 if test $ac_cv_lib_nsl_gethostbyname = no; then
31771 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31772 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31773 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 else
31776 ac_check_lib_save_LIBS=$LIBS
31777 LIBS="-lbsd $LIBS"
31778 cat >conftest.$ac_ext <<_ACEOF
31779 /* confdefs.h. */
31780 _ACEOF
31781 cat confdefs.h >>conftest.$ac_ext
31782 cat >>conftest.$ac_ext <<_ACEOF
31783 /* end confdefs.h. */
31784
31785 /* Override any GCC internal prototype to avoid an error.
31786 Use char because int might match the return type of a GCC
31787 builtin and then its argument prototype would still apply. */
31788 #ifdef __cplusplus
31789 extern "C"
31790 #endif
31791 char gethostbyname ();
31792 int
31793 main ()
31794 {
31795 return gethostbyname ();
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext conftest$ac_exeext
31801 if { (ac_try="$ac_link"
31802 case "(($ac_try" in
31803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31804 *) ac_try_echo=$ac_try;;
31805 esac
31806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31807 (eval "$ac_link") 2>conftest.er1
31808 ac_status=$?
31809 grep -v '^ *+' conftest.er1 >conftest.err
31810 rm -f conftest.er1
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } && {
31814 test -z "$ac_c_werror_flag" ||
31815 test ! -s conftest.err
31816 } && test -s conftest$ac_exeext &&
31817 $as_test_x conftest$ac_exeext; then
31818 ac_cv_lib_bsd_gethostbyname=yes
31819 else
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823 ac_cv_lib_bsd_gethostbyname=no
31824 fi
31825
31826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31827 conftest$ac_exeext conftest.$ac_ext
31828 LIBS=$ac_check_lib_save_LIBS
31829 fi
31830 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31831 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31832 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31834 fi
31835
31836 fi
31837 fi
31838
31839 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31840 # socket/setsockopt and other routines are undefined under SCO ODT
31841 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31842 # on later versions), says Simon Leinen: it contains gethostby*
31843 # variants that don't use the name server (or something). -lsocket
31844 # must be given before -lnsl if both are needed. We assume that
31845 # if connect needs -lnsl, so does gethostbyname.
31846 { echo "$as_me:$LINENO: checking for connect" >&5
31847 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31848 if test "${ac_cv_func_connect+set}" = set; then
31849 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 else
31851 cat >conftest.$ac_ext <<_ACEOF
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31859 #define connect innocuous_connect
31860
31861 /* System header to define __stub macros and hopefully few prototypes,
31862 which can conflict with char connect (); below.
31863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31864 <limits.h> exists even on freestanding compilers. */
31865
31866 #ifdef __STDC__
31867 # include <limits.h>
31868 #else
31869 # include <assert.h>
31870 #endif
31871
31872 #undef connect
31873
31874 /* Override any GCC internal prototype to avoid an error.
31875 Use char because int might match the return type of a GCC
31876 builtin and then its argument prototype would still apply. */
31877 #ifdef __cplusplus
31878 extern "C"
31879 #endif
31880 char connect ();
31881 /* The GNU C library defines this for functions which it implements
31882 to always fail with ENOSYS. Some functions are actually named
31883 something starting with __ and the normal name is an alias. */
31884 #if defined __stub_connect || defined __stub___connect
31885 choke me
31886 #endif
31887
31888 int
31889 main ()
31890 {
31891 return connect ();
31892 ;
31893 return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (ac_try="$ac_link"
31898 case "(($ac_try" in
31899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31901 esac
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_link") 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest$ac_exeext &&
31913 $as_test_x conftest$ac_exeext; then
31914 ac_cv_func_connect=yes
31915 else
31916 echo "$as_me: failed program was:" >&5
31917 sed 's/^/| /' conftest.$ac_ext >&5
31918
31919 ac_cv_func_connect=no
31920 fi
31921
31922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31923 conftest$ac_exeext conftest.$ac_ext
31924 fi
31925 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31926 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31927
31928 if test $ac_cv_func_connect = no; then
31929 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31930 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31931 if test "${ac_cv_lib_socket_connect+set}" = set; then
31932 echo $ECHO_N "(cached) $ECHO_C" >&6
31933 else
31934 ac_check_lib_save_LIBS=$LIBS
31935 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31936 cat >conftest.$ac_ext <<_ACEOF
31937 /* confdefs.h. */
31938 _ACEOF
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31942
31943 /* Override any GCC internal prototype to avoid an error.
31944 Use char because int might match the return type of a GCC
31945 builtin and then its argument prototype would still apply. */
31946 #ifdef __cplusplus
31947 extern "C"
31948 #endif
31949 char connect ();
31950 int
31951 main ()
31952 {
31953 return connect ();
31954 ;
31955 return 0;
31956 }
31957 _ACEOF
31958 rm -f conftest.$ac_objext conftest$ac_exeext
31959 if { (ac_try="$ac_link"
31960 case "(($ac_try" in
31961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31962 *) ac_try_echo=$ac_try;;
31963 esac
31964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31965 (eval "$ac_link") 2>conftest.er1
31966 ac_status=$?
31967 grep -v '^ *+' conftest.er1 >conftest.err
31968 rm -f conftest.er1
31969 cat conftest.err >&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } && {
31972 test -z "$ac_c_werror_flag" ||
31973 test ! -s conftest.err
31974 } && test -s conftest$ac_exeext &&
31975 $as_test_x conftest$ac_exeext; then
31976 ac_cv_lib_socket_connect=yes
31977 else
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31980
31981 ac_cv_lib_socket_connect=no
31982 fi
31983
31984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31985 conftest$ac_exeext conftest.$ac_ext
31986 LIBS=$ac_check_lib_save_LIBS
31987 fi
31988 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31989 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31990 if test $ac_cv_lib_socket_connect = yes; then
31991 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31992 fi
31993
31994 fi
31995
31996 # Guillermo Gomez says -lposix is necessary on A/UX.
31997 { echo "$as_me:$LINENO: checking for remove" >&5
31998 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31999 if test "${ac_cv_func_remove+set}" = set; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 else
32002 cat >conftest.$ac_ext <<_ACEOF
32003 /* confdefs.h. */
32004 _ACEOF
32005 cat confdefs.h >>conftest.$ac_ext
32006 cat >>conftest.$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32008 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32010 #define remove innocuous_remove
32011
32012 /* System header to define __stub macros and hopefully few prototypes,
32013 which can conflict with char remove (); below.
32014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32015 <limits.h> exists even on freestanding compilers. */
32016
32017 #ifdef __STDC__
32018 # include <limits.h>
32019 #else
32020 # include <assert.h>
32021 #endif
32022
32023 #undef remove
32024
32025 /* Override any GCC internal prototype to avoid an error.
32026 Use char because int might match the return type of a GCC
32027 builtin and then its argument prototype would still apply. */
32028 #ifdef __cplusplus
32029 extern "C"
32030 #endif
32031 char remove ();
32032 /* The GNU C library defines this for functions which it implements
32033 to always fail with ENOSYS. Some functions are actually named
32034 something starting with __ and the normal name is an alias. */
32035 #if defined __stub_remove || defined __stub___remove
32036 choke me
32037 #endif
32038
32039 int
32040 main ()
32041 {
32042 return remove ();
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext conftest$ac_exeext
32048 if { (ac_try="$ac_link"
32049 case "(($ac_try" in
32050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32052 esac
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_link") 2>conftest.er1
32055 ac_status=$?
32056 grep -v '^ *+' conftest.er1 >conftest.err
32057 rm -f conftest.er1
32058 cat conftest.err >&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } && {
32061 test -z "$ac_c_werror_flag" ||
32062 test ! -s conftest.err
32063 } && test -s conftest$ac_exeext &&
32064 $as_test_x conftest$ac_exeext; then
32065 ac_cv_func_remove=yes
32066 else
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.$ac_ext >&5
32069
32070 ac_cv_func_remove=no
32071 fi
32072
32073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32074 conftest$ac_exeext conftest.$ac_ext
32075 fi
32076 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32077 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32078
32079 if test $ac_cv_func_remove = no; then
32080 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32081 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32082 if test "${ac_cv_lib_posix_remove+set}" = set; then
32083 echo $ECHO_N "(cached) $ECHO_C" >&6
32084 else
32085 ac_check_lib_save_LIBS=$LIBS
32086 LIBS="-lposix $LIBS"
32087 cat >conftest.$ac_ext <<_ACEOF
32088 /* confdefs.h. */
32089 _ACEOF
32090 cat confdefs.h >>conftest.$ac_ext
32091 cat >>conftest.$ac_ext <<_ACEOF
32092 /* end confdefs.h. */
32093
32094 /* Override any GCC internal prototype to avoid an error.
32095 Use char because int might match the return type of a GCC
32096 builtin and then its argument prototype would still apply. */
32097 #ifdef __cplusplus
32098 extern "C"
32099 #endif
32100 char remove ();
32101 int
32102 main ()
32103 {
32104 return remove ();
32105 ;
32106 return 0;
32107 }
32108 _ACEOF
32109 rm -f conftest.$ac_objext conftest$ac_exeext
32110 if { (ac_try="$ac_link"
32111 case "(($ac_try" in
32112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32113 *) ac_try_echo=$ac_try;;
32114 esac
32115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32116 (eval "$ac_link") 2>conftest.er1
32117 ac_status=$?
32118 grep -v '^ *+' conftest.er1 >conftest.err
32119 rm -f conftest.er1
32120 cat conftest.err >&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } && {
32123 test -z "$ac_c_werror_flag" ||
32124 test ! -s conftest.err
32125 } && test -s conftest$ac_exeext &&
32126 $as_test_x conftest$ac_exeext; then
32127 ac_cv_lib_posix_remove=yes
32128 else
32129 echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32131
32132 ac_cv_lib_posix_remove=no
32133 fi
32134
32135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32136 conftest$ac_exeext conftest.$ac_ext
32137 LIBS=$ac_check_lib_save_LIBS
32138 fi
32139 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32140 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32141 if test $ac_cv_lib_posix_remove = yes; then
32142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32143 fi
32144
32145 fi
32146
32147 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32148 { echo "$as_me:$LINENO: checking for shmat" >&5
32149 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32150 if test "${ac_cv_func_shmat+set}" = set; then
32151 echo $ECHO_N "(cached) $ECHO_C" >&6
32152 else
32153 cat >conftest.$ac_ext <<_ACEOF
32154 /* confdefs.h. */
32155 _ACEOF
32156 cat confdefs.h >>conftest.$ac_ext
32157 cat >>conftest.$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32159 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32161 #define shmat innocuous_shmat
32162
32163 /* System header to define __stub macros and hopefully few prototypes,
32164 which can conflict with char shmat (); below.
32165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32166 <limits.h> exists even on freestanding compilers. */
32167
32168 #ifdef __STDC__
32169 # include <limits.h>
32170 #else
32171 # include <assert.h>
32172 #endif
32173
32174 #undef shmat
32175
32176 /* Override any GCC internal prototype to avoid an error.
32177 Use char because int might match the return type of a GCC
32178 builtin and then its argument prototype would still apply. */
32179 #ifdef __cplusplus
32180 extern "C"
32181 #endif
32182 char shmat ();
32183 /* The GNU C library defines this for functions which it implements
32184 to always fail with ENOSYS. Some functions are actually named
32185 something starting with __ and the normal name is an alias. */
32186 #if defined __stub_shmat || defined __stub___shmat
32187 choke me
32188 #endif
32189
32190 int
32191 main ()
32192 {
32193 return shmat ();
32194 ;
32195 return 0;
32196 }
32197 _ACEOF
32198 rm -f conftest.$ac_objext conftest$ac_exeext
32199 if { (ac_try="$ac_link"
32200 case "(($ac_try" in
32201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32202 *) ac_try_echo=$ac_try;;
32203 esac
32204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205 (eval "$ac_link") 2>conftest.er1
32206 ac_status=$?
32207 grep -v '^ *+' conftest.er1 >conftest.err
32208 rm -f conftest.er1
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } && {
32212 test -z "$ac_c_werror_flag" ||
32213 test ! -s conftest.err
32214 } && test -s conftest$ac_exeext &&
32215 $as_test_x conftest$ac_exeext; then
32216 ac_cv_func_shmat=yes
32217 else
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.$ac_ext >&5
32220
32221 ac_cv_func_shmat=no
32222 fi
32223
32224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32225 conftest$ac_exeext conftest.$ac_ext
32226 fi
32227 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32228 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32229
32230 if test $ac_cv_func_shmat = no; then
32231 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32232 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32233 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 else
32236 ac_check_lib_save_LIBS=$LIBS
32237 LIBS="-lipc $LIBS"
32238 cat >conftest.$ac_ext <<_ACEOF
32239 /* confdefs.h. */
32240 _ACEOF
32241 cat confdefs.h >>conftest.$ac_ext
32242 cat >>conftest.$ac_ext <<_ACEOF
32243 /* end confdefs.h. */
32244
32245 /* Override any GCC internal prototype to avoid an error.
32246 Use char because int might match the return type of a GCC
32247 builtin and then its argument prototype would still apply. */
32248 #ifdef __cplusplus
32249 extern "C"
32250 #endif
32251 char shmat ();
32252 int
32253 main ()
32254 {
32255 return shmat ();
32256 ;
32257 return 0;
32258 }
32259 _ACEOF
32260 rm -f conftest.$ac_objext conftest$ac_exeext
32261 if { (ac_try="$ac_link"
32262 case "(($ac_try" in
32263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32264 *) ac_try_echo=$ac_try;;
32265 esac
32266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32267 (eval "$ac_link") 2>conftest.er1
32268 ac_status=$?
32269 grep -v '^ *+' conftest.er1 >conftest.err
32270 rm -f conftest.er1
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } && {
32274 test -z "$ac_c_werror_flag" ||
32275 test ! -s conftest.err
32276 } && test -s conftest$ac_exeext &&
32277 $as_test_x conftest$ac_exeext; then
32278 ac_cv_lib_ipc_shmat=yes
32279 else
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 ac_cv_lib_ipc_shmat=no
32284 fi
32285
32286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32287 conftest$ac_exeext conftest.$ac_ext
32288 LIBS=$ac_check_lib_save_LIBS
32289 fi
32290 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32291 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32292 if test $ac_cv_lib_ipc_shmat = yes; then
32293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32294 fi
32295
32296 fi
32297 fi
32298
32299 # Check for libraries that X11R6 Xt/Xaw programs need.
32300 ac_save_LDFLAGS=$LDFLAGS
32301 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32302 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32303 # check for ICE first), but we must link in the order -lSM -lICE or
32304 # we get undefined symbols. So assume we have SM if we have ICE.
32305 # These have to be linked with before -lX11, unlike the other
32306 # libraries we check for below, so use a different variable.
32307 # John Interrante, Karl Berry
32308 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32309 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32310 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32311 echo $ECHO_N "(cached) $ECHO_C" >&6
32312 else
32313 ac_check_lib_save_LIBS=$LIBS
32314 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32315 cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h. */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32321
32322 /* Override any GCC internal prototype to avoid an error.
32323 Use char because int might match the return type of a GCC
32324 builtin and then its argument prototype would still apply. */
32325 #ifdef __cplusplus
32326 extern "C"
32327 #endif
32328 char IceConnectionNumber ();
32329 int
32330 main ()
32331 {
32332 return IceConnectionNumber ();
32333 ;
32334 return 0;
32335 }
32336 _ACEOF
32337 rm -f conftest.$ac_objext conftest$ac_exeext
32338 if { (ac_try="$ac_link"
32339 case "(($ac_try" in
32340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32341 *) ac_try_echo=$ac_try;;
32342 esac
32343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32344 (eval "$ac_link") 2>conftest.er1
32345 ac_status=$?
32346 grep -v '^ *+' conftest.er1 >conftest.err
32347 rm -f conftest.er1
32348 cat conftest.err >&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } && {
32351 test -z "$ac_c_werror_flag" ||
32352 test ! -s conftest.err
32353 } && test -s conftest$ac_exeext &&
32354 $as_test_x conftest$ac_exeext; then
32355 ac_cv_lib_ICE_IceConnectionNumber=yes
32356 else
32357 echo "$as_me: failed program was:" >&5
32358 sed 's/^/| /' conftest.$ac_ext >&5
32359
32360 ac_cv_lib_ICE_IceConnectionNumber=no
32361 fi
32362
32363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32364 conftest$ac_exeext conftest.$ac_ext
32365 LIBS=$ac_check_lib_save_LIBS
32366 fi
32367 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32368 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32369 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32370 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32371 fi
32372
32373 LDFLAGS=$ac_save_LDFLAGS
32374
32375 fi
32376
32377
32378 if test "$no_x" = "yes"; then
32379 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32380 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32381 { (exit 1); exit 1; }; }
32382 fi
32383
32384 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32385 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32386 AFMINSTALL=afminstall
32387 COMPILED_X_PROGRAM=0
32388
32389 fi
32390
32391 if test "$wxUSE_X11" = 1; then
32392 if test "$wxUSE_NANOX" = "yes"; then
32393 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32394 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32395 if test "x$MICROWIN" = x ; then
32396 { echo "$as_me:$LINENO: result: not found" >&5
32397 echo "${ECHO_T}not found" >&6; }
32398 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32399 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32400 { (exit 1); exit 1; }; }
32401 else
32402 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32403 echo "${ECHO_T}$MICROWIN" >&6; }
32404 cat >>confdefs.h <<\_ACEOF
32405 #define wxUSE_NANOX 1
32406 _ACEOF
32407
32408 fi
32409 fi
32410
32411 if test "$wxUSE_UNICODE" = "yes"; then
32412
32413
32414 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32415 if test -n "$ac_tool_prefix"; then
32416 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32417 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32420 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423 case $PKG_CONFIG in
32424 [\\/]* | ?:[\\/]*)
32425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32426 ;;
32427 *)
32428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32429 for as_dir in $PATH
32430 do
32431 IFS=$as_save_IFS
32432 test -z "$as_dir" && as_dir=.
32433 for ac_exec_ext in '' $ac_executable_extensions; do
32434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32437 break 2
32438 fi
32439 done
32440 done
32441 IFS=$as_save_IFS
32442
32443 ;;
32444 esac
32445 fi
32446 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32447 if test -n "$PKG_CONFIG"; then
32448 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32449 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32450 else
32451 { echo "$as_me:$LINENO: result: no" >&5
32452 echo "${ECHO_T}no" >&6; }
32453 fi
32454
32455
32456 fi
32457 if test -z "$ac_cv_path_PKG_CONFIG"; then
32458 ac_pt_PKG_CONFIG=$PKG_CONFIG
32459 # Extract the first word of "pkg-config", so it can be a program name with args.
32460 set dummy pkg-config; ac_word=$2
32461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32463 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32464 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 else
32466 case $ac_pt_PKG_CONFIG in
32467 [\\/]* | ?:[\\/]*)
32468 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32469 ;;
32470 *)
32471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32472 for as_dir in $PATH
32473 do
32474 IFS=$as_save_IFS
32475 test -z "$as_dir" && as_dir=.
32476 for ac_exec_ext in '' $ac_executable_extensions; do
32477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32478 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32480 break 2
32481 fi
32482 done
32483 done
32484 IFS=$as_save_IFS
32485
32486 ;;
32487 esac
32488 fi
32489 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32490 if test -n "$ac_pt_PKG_CONFIG"; then
32491 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32492 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32493 else
32494 { echo "$as_me:$LINENO: result: no" >&5
32495 echo "${ECHO_T}no" >&6; }
32496 fi
32497
32498 if test "x$ac_pt_PKG_CONFIG" = x; then
32499 PKG_CONFIG=""
32500 else
32501 case $cross_compiling:$ac_tool_warned in
32502 yes:)
32503 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32504 whose name does not start with the host triplet. If you think this
32505 configuration is useful to you, please write to autoconf@gnu.org." >&5
32506 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32507 whose name does not start with the host triplet. If you think this
32508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32509 ac_tool_warned=yes ;;
32510 esac
32511 PKG_CONFIG=$ac_pt_PKG_CONFIG
32512 fi
32513 else
32514 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32515 fi
32516
32517 fi
32518 if test -n "$PKG_CONFIG"; then
32519 _pkg_min_version=0.9.0
32520 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32521 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32522 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32523 { echo "$as_me:$LINENO: result: yes" >&5
32524 echo "${ECHO_T}yes" >&6; }
32525 else
32526 { echo "$as_me:$LINENO: result: no" >&5
32527 echo "${ECHO_T}no" >&6; }
32528 PKG_CONFIG=""
32529 fi
32530
32531 fi
32532
32533
32534 pkg_failed=no
32535 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32536 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32537
32538 if test -n "$PKG_CONFIG"; then
32539 if test -n "$PANGOX_CFLAGS"; then
32540 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32541 else
32542 if test -n "$PKG_CONFIG" && \
32543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32544 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32545 ac_status=$?
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; then
32548 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32549 else
32550 pkg_failed=yes
32551 fi
32552 fi
32553 else
32554 pkg_failed=untried
32555 fi
32556 if test -n "$PKG_CONFIG"; then
32557 if test -n "$PANGOX_LIBS"; then
32558 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32559 else
32560 if test -n "$PKG_CONFIG" && \
32561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32562 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; then
32566 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32567 else
32568 pkg_failed=yes
32569 fi
32570 fi
32571 else
32572 pkg_failed=untried
32573 fi
32574
32575
32576
32577 if test $pkg_failed = yes; then
32578
32579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32580 _pkg_short_errors_supported=yes
32581 else
32582 _pkg_short_errors_supported=no
32583 fi
32584 if test $_pkg_short_errors_supported = yes; then
32585 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32586 else
32587 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32588 fi
32589 # Put the nasty error message in config.log where it belongs
32590 echo "$PANGOX_PKG_ERRORS" >&5
32591
32592
32593 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32594 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32595 { (exit 1); exit 1; }; }
32596
32597
32598 elif test $pkg_failed = untried; then
32599
32600 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32601 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32602 { (exit 1); exit 1; }; }
32603
32604
32605 else
32606 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32607 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32608 { echo "$as_me:$LINENO: result: yes" >&5
32609 echo "${ECHO_T}yes" >&6; }
32610
32611 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32612 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32613 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32614
32615 fi
32616
32617 pkg_failed=no
32618 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32619 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32620
32621 if test -n "$PKG_CONFIG"; then
32622 if test -n "$PANGOFT2_CFLAGS"; then
32623 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32624 else
32625 if test -n "$PKG_CONFIG" && \
32626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32627 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32628 ac_status=$?
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; then
32631 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32632 else
32633 pkg_failed=yes
32634 fi
32635 fi
32636 else
32637 pkg_failed=untried
32638 fi
32639 if test -n "$PKG_CONFIG"; then
32640 if test -n "$PANGOFT2_LIBS"; then
32641 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32642 else
32643 if test -n "$PKG_CONFIG" && \
32644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32645 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32646 ac_status=$?
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; then
32649 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32650 else
32651 pkg_failed=yes
32652 fi
32653 fi
32654 else
32655 pkg_failed=untried
32656 fi
32657
32658
32659
32660 if test $pkg_failed = yes; then
32661
32662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32663 _pkg_short_errors_supported=yes
32664 else
32665 _pkg_short_errors_supported=no
32666 fi
32667 if test $_pkg_short_errors_supported = yes; then
32668 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32669 else
32670 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32671 fi
32672 # Put the nasty error message in config.log where it belongs
32673 echo "$PANGOFT2_PKG_ERRORS" >&5
32674
32675
32676 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32677 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32678 wxUSE_PRINTING_ARCHITECTURE="no"
32679
32680
32681 elif test $pkg_failed = untried; then
32682
32683 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32684 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32685 wxUSE_PRINTING_ARCHITECTURE="no"
32686
32687
32688 else
32689 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32690 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32691 { echo "$as_me:$LINENO: result: yes" >&5
32692 echo "${ECHO_T}yes" >&6; }
32693
32694 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32695 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32697
32698 fi
32699
32700 pkg_failed=no
32701 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32702 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32703
32704 if test -n "$PKG_CONFIG"; then
32705 if test -n "$PANGOXFT_CFLAGS"; then
32706 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32707 else
32708 if test -n "$PKG_CONFIG" && \
32709 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32710 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32711 ac_status=$?
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; then
32714 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32715 else
32716 pkg_failed=yes
32717 fi
32718 fi
32719 else
32720 pkg_failed=untried
32721 fi
32722 if test -n "$PKG_CONFIG"; then
32723 if test -n "$PANGOXFT_LIBS"; then
32724 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32725 else
32726 if test -n "$PKG_CONFIG" && \
32727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32728 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32729 ac_status=$?
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; then
32732 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32733 else
32734 pkg_failed=yes
32735 fi
32736 fi
32737 else
32738 pkg_failed=untried
32739 fi
32740
32741
32742
32743 if test $pkg_failed = yes; then
32744
32745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32746 _pkg_short_errors_supported=yes
32747 else
32748 _pkg_short_errors_supported=no
32749 fi
32750 if test $_pkg_short_errors_supported = yes; then
32751 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32752 else
32753 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32754 fi
32755 # Put the nasty error message in config.log where it belongs
32756 echo "$PANGOXFT_PKG_ERRORS" >&5
32757
32758
32759 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32760 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32761
32762
32763 elif test $pkg_failed = untried; then
32764
32765 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32766 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32767
32768
32769 else
32770 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32771 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32772 { echo "$as_me:$LINENO: result: yes" >&5
32773 echo "${ECHO_T}yes" >&6; }
32774
32775 cat >>confdefs.h <<\_ACEOF
32776 #define HAVE_PANGO_XFT 1
32777 _ACEOF
32778
32779 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32780 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32781 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32782
32783 fi
32784 save_LIBS="$LIBS"
32785 LIBS="$LIBS $PANGOX_LIBS"
32786
32787 for ac_func in pango_font_family_is_monospace
32788 do
32789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 else
32795 cat >conftest.$ac_ext <<_ACEOF
32796 /* confdefs.h. */
32797 _ACEOF
32798 cat confdefs.h >>conftest.$ac_ext
32799 cat >>conftest.$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32803 #define $ac_func innocuous_$ac_func
32804
32805 /* System header to define __stub macros and hopefully few prototypes,
32806 which can conflict with char $ac_func (); below.
32807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32808 <limits.h> exists even on freestanding compilers. */
32809
32810 #ifdef __STDC__
32811 # include <limits.h>
32812 #else
32813 # include <assert.h>
32814 #endif
32815
32816 #undef $ac_func
32817
32818 /* Override any GCC internal prototype to avoid an error.
32819 Use char because int might match the return type of a GCC
32820 builtin and then its argument prototype would still apply. */
32821 #ifdef __cplusplus
32822 extern "C"
32823 #endif
32824 char $ac_func ();
32825 /* The GNU C library defines this for functions which it implements
32826 to always fail with ENOSYS. Some functions are actually named
32827 something starting with __ and the normal name is an alias. */
32828 #if defined __stub_$ac_func || defined __stub___$ac_func
32829 choke me
32830 #endif
32831
32832 int
32833 main ()
32834 {
32835 return $ac_func ();
32836 ;
32837 return 0;
32838 }
32839 _ACEOF
32840 rm -f conftest.$ac_objext conftest$ac_exeext
32841 if { (ac_try="$ac_link"
32842 case "(($ac_try" in
32843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32844 *) ac_try_echo=$ac_try;;
32845 esac
32846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32847 (eval "$ac_link") 2>conftest.er1
32848 ac_status=$?
32849 grep -v '^ *+' conftest.er1 >conftest.err
32850 rm -f conftest.er1
32851 cat conftest.err >&5
32852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32853 (exit $ac_status); } && {
32854 test -z "$ac_c_werror_flag" ||
32855 test ! -s conftest.err
32856 } && test -s conftest$ac_exeext &&
32857 $as_test_x conftest$ac_exeext; then
32858 eval "$as_ac_var=yes"
32859 else
32860 echo "$as_me: failed program was:" >&5
32861 sed 's/^/| /' conftest.$ac_ext >&5
32862
32863 eval "$as_ac_var=no"
32864 fi
32865
32866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32867 conftest$ac_exeext conftest.$ac_ext
32868 fi
32869 ac_res=`eval echo '${'$as_ac_var'}'`
32870 { echo "$as_me:$LINENO: result: $ac_res" >&5
32871 echo "${ECHO_T}$ac_res" >&6; }
32872 if test `eval echo '${'$as_ac_var'}'` = yes; then
32873 cat >>confdefs.h <<_ACEOF
32874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32875 _ACEOF
32876
32877 fi
32878 done
32879
32880 LIBS="$save_LIBS"
32881 fi
32882
32883 wxUSE_UNIVERSAL="yes"
32884
32885 if test "$wxUSE_NANOX" = "yes"; then
32886 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32887 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"
32888 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32889 else
32890 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32891 fi
32892
32893 TOOLKIT=X11
32894 GUIDIST=X11_DIST
32895 fi
32896
32897 if test "$wxUSE_MOTIF" = 1; then
32898 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32899 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32900
32901 ac_find_includes=
32902 for ac_dir in $SEARCH_INCLUDE /usr/include;
32903 do
32904 if test -f "$ac_dir/Xm/Xm.h"; then
32905 ac_find_includes=$ac_dir
32906 break
32907 fi
32908 done
32909
32910 if test "$ac_find_includes" != "" ; then
32911 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32912 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32913
32914 if test "x$ac_find_includes" = "x/usr/include"; then
32915 ac_path_to_include=""
32916 else
32917 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32918 result=$?
32919 if test $result = 0; then
32920 ac_path_to_include=""
32921 else
32922 ac_path_to_include=" -I$ac_find_includes"
32923 fi
32924 fi
32925
32926 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32927 else
32928 save_CFLAGS=$CFLAGS
32929 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32930
32931 cat >conftest.$ac_ext <<_ACEOF
32932 /* confdefs.h. */
32933 _ACEOF
32934 cat confdefs.h >>conftest.$ac_ext
32935 cat >>conftest.$ac_ext <<_ACEOF
32936 /* end confdefs.h. */
32937
32938 #include <Xm/Xm.h>
32939
32940 int
32941 main ()
32942 {
32943
32944 int version;
32945 version = xmUseVersion;
32946
32947 ;
32948 return 0;
32949 }
32950 _ACEOF
32951 rm -f conftest.$ac_objext
32952 if { (ac_try="$ac_compile"
32953 case "(($ac_try" in
32954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32955 *) ac_try_echo=$ac_try;;
32956 esac
32957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32958 (eval "$ac_compile") 2>conftest.er1
32959 ac_status=$?
32960 grep -v '^ *+' conftest.er1 >conftest.err
32961 rm -f conftest.er1
32962 cat conftest.err >&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); } && {
32965 test -z "$ac_c_werror_flag" ||
32966 test ! -s conftest.err
32967 } && test -s conftest.$ac_objext; then
32968
32969 { echo "$as_me:$LINENO: result: found in default search path" >&5
32970 echo "${ECHO_T}found in default search path" >&6; }
32971 COMPILED_X_PROGRAM=1
32972
32973 else
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.$ac_ext >&5
32976
32977
32978 { echo "$as_me:$LINENO: result: no" >&5
32979 echo "${ECHO_T}no" >&6; }
32980 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32981 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32982 { (exit 1); exit 1; }; }
32983
32984
32985 fi
32986
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988
32989 CFLAGS=$save_CFLAGS
32990 fi
32991
32992
32993 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32994 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32995
32996 ac_find_libraries=
32997 for ac_dir in $SEARCH_LIB;
32998 do
32999 for ac_extension in a so sl dylib dll.a; do
33000 if test -f "$ac_dir/libXm.$ac_extension"; then
33001 ac_find_libraries=$ac_dir
33002 break 2
33003 fi
33004 done
33005 done
33006
33007
33008 if test "x$ac_find_libraries" != "x" ; then
33009 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33010 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33011
33012
33013 if test "$ac_find_libraries" = "default location"; then
33014 ac_path_to_link=""
33015 else
33016 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33017 result=$?
33018 if test $result = 0; then
33019 ac_path_to_link=""
33020 else
33021 ac_path_to_link=" -L$ac_find_libraries"
33022 fi
33023 fi
33024
33025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33026 else
33027 save_CFLAGS=$CFLAGS
33028 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33029 save_LIBS="$LIBS"
33030 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33031
33032 cat >conftest.$ac_ext <<_ACEOF
33033 /* confdefs.h. */
33034 _ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038
33039 #include <Xm/Xm.h>
33040
33041 int
33042 main ()
33043 {
33044
33045 int version;
33046 version = xmUseVersion;
33047
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33057 esac
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070
33071 { echo "$as_me:$LINENO: result: found in default search path" >&5
33072 echo "${ECHO_T}found in default search path" >&6; }
33073 COMPILED_X_PROGRAM=1
33074
33075 else
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.$ac_ext >&5
33078
33079
33080 { echo "$as_me:$LINENO: result: no" >&5
33081 echo "${ECHO_T}no" >&6; }
33082 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33083 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33084 { (exit 1); exit 1; }; }
33085
33086
33087 fi
33088
33089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33090 conftest$ac_exeext conftest.$ac_ext
33091
33092 CFLAGS=$save_CFLAGS
33093 LIBS="$save_LIBS"
33094 fi
33095
33096 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33097 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33098 libp_link=""
33099 libsm_ice_link=""
33100 libs_found=0
33101 for libp in "" " -lXp"; do
33102 if test "$libs_found" = 0; then
33103 for libsm_ice in "" " -lSM -lICE"; do
33104 if test "$libs_found" = 0; then
33105 save_LIBS="$LIBS"
33106 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33107 save_CFLAGS=$CFLAGS
33108 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33109
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116
33117 #include <Xm/Xm.h>
33118 #include <Xm/List.h>
33119
33120 int
33121 main ()
33122 {
33123
33124 XmString string = NULL;
33125 Widget w = NULL;
33126 int position = 0;
33127 XmListAddItem(w, string, position);
33128
33129 ;
33130 return 0;
33131 }
33132 _ACEOF
33133 rm -f conftest.$ac_objext conftest$ac_exeext
33134 if { (ac_try="$ac_link"
33135 case "(($ac_try" in
33136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33137 *) ac_try_echo=$ac_try;;
33138 esac
33139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33140 (eval "$ac_link") 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } && {
33147 test -z "$ac_c_werror_flag" ||
33148 test ! -s conftest.err
33149 } && test -s conftest$ac_exeext &&
33150 $as_test_x conftest$ac_exeext; then
33151
33152 libp_link="$libp"
33153 libsm_ice_link="$libsm_ice"
33154 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33155 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33156 libs_found=1
33157
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162
33163
33164 fi
33165
33166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33167 conftest$ac_exeext conftest.$ac_ext
33168
33169 LIBS="$save_LIBS"
33170 CFLAGS=$save_CFLAGS
33171 fi
33172 done
33173 fi
33174 done
33175
33176 if test "$libs_found" = 0; then
33177 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33178 echo "${ECHO_T}can't find the right libraries" >&6; }
33179 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33180 echo "$as_me: error: can't link a simple motif program" >&2;}
33181 { (exit 1); exit 1; }; }
33182 fi
33183
33184 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33185 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33186 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 else
33189 ac_check_lib_save_LIBS=$LIBS
33190 LIBS="-lSgm $LIBS"
33191 cat >conftest.$ac_ext <<_ACEOF
33192 /* confdefs.h. */
33193 _ACEOF
33194 cat confdefs.h >>conftest.$ac_ext
33195 cat >>conftest.$ac_ext <<_ACEOF
33196 /* end confdefs.h. */
33197
33198 /* Override any GCC internal prototype to avoid an error.
33199 Use char because int might match the return type of a GCC
33200 builtin and then its argument prototype would still apply. */
33201 #ifdef __cplusplus
33202 extern "C"
33203 #endif
33204 char SgCreateList ();
33205 int
33206 main ()
33207 {
33208 return SgCreateList ();
33209 ;
33210 return 0;
33211 }
33212 _ACEOF
33213 rm -f conftest.$ac_objext conftest$ac_exeext
33214 if { (ac_try="$ac_link"
33215 case "(($ac_try" in
33216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33217 *) ac_try_echo=$ac_try;;
33218 esac
33219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33220 (eval "$ac_link") 2>conftest.er1
33221 ac_status=$?
33222 grep -v '^ *+' conftest.er1 >conftest.err
33223 rm -f conftest.er1
33224 cat conftest.err >&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } && {
33227 test -z "$ac_c_werror_flag" ||
33228 test ! -s conftest.err
33229 } && test -s conftest$ac_exeext &&
33230 $as_test_x conftest$ac_exeext; then
33231 ac_cv_lib_Sgm_SgCreateList=yes
33232 else
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.$ac_ext >&5
33235
33236 ac_cv_lib_Sgm_SgCreateList=no
33237 fi
33238
33239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33240 conftest$ac_exeext conftest.$ac_ext
33241 LIBS=$ac_check_lib_save_LIBS
33242 fi
33243 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33244 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33245 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33246 libsgm_link=" -lSgm"
33247 fi
33248
33249
33250 save_CFLAGS=$CFLAGS
33251 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33252
33253 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33254 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33255 if test "${wx_cv_lib_motif2+set}" = set; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33257 else
33258 cat >conftest.$ac_ext <<_ACEOF
33259 /* confdefs.h. */
33260 _ACEOF
33261 cat confdefs.h >>conftest.$ac_ext
33262 cat >>conftest.$ac_ext <<_ACEOF
33263 /* end confdefs.h. */
33264
33265 #include <Xm/Xm.h>
33266
33267 int
33268 main ()
33269 {
33270
33271 #if XmVersion < 2000
33272 Not Motif 2
33273 #endif
33274
33275 ;
33276 return 0;
33277 }
33278 _ACEOF
33279 rm -f conftest.$ac_objext
33280 if { (ac_try="$ac_compile"
33281 case "(($ac_try" in
33282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33283 *) ac_try_echo=$ac_try;;
33284 esac
33285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33286 (eval "$ac_compile") 2>conftest.er1
33287 ac_status=$?
33288 grep -v '^ *+' conftest.er1 >conftest.err
33289 rm -f conftest.er1
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } && {
33293 test -z "$ac_c_werror_flag" ||
33294 test ! -s conftest.err
33295 } && test -s conftest.$ac_objext; then
33296 wx_cv_lib_motif2="yes"
33297 else
33298 echo "$as_me: failed program was:" >&5
33299 sed 's/^/| /' conftest.$ac_ext >&5
33300
33301 wx_cv_lib_motif2="no"
33302 fi
33303
33304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33305 fi
33306 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33307 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33308 if test "$wx_cv_lib_motif2" = "yes"; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define __WXMOTIF20__ 1
33311 _ACEOF
33312
33313 else
33314 cat >>confdefs.h <<\_ACEOF
33315 #define __WXMOTIF20__ 0
33316 _ACEOF
33317
33318 fi
33319
33320 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33321 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33322 if test "${wx_cv_lib_lesstif+set}" = set; then
33323 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 else
33325 cat >conftest.$ac_ext <<_ACEOF
33326 /* confdefs.h. */
33327 _ACEOF
33328 cat confdefs.h >>conftest.$ac_ext
33329 cat >>conftest.$ac_ext <<_ACEOF
33330 /* end confdefs.h. */
33331
33332 #include <Xm/Xm.h>
33333
33334 int
33335 main ()
33336 {
33337
33338 #if !defined(LesstifVersion) || LesstifVersion <= 0
33339 Not Lesstif
33340 #endif
33341
33342 ;
33343 return 0;
33344 }
33345 _ACEOF
33346 rm -f conftest.$ac_objext
33347 if { (ac_try="$ac_compile"
33348 case "(($ac_try" in
33349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33351 esac
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_compile") 2>conftest.er1
33354 ac_status=$?
33355 grep -v '^ *+' conftest.er1 >conftest.err
33356 rm -f conftest.er1
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest.$ac_objext; then
33363 wx_cv_lib_lesstif="yes"
33364 else
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.$ac_ext >&5
33367
33368 wx_cv_lib_lesstif="no"
33369 fi
33370
33371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33372
33373 fi
33374 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33375 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33376 if test "$wx_cv_lib_lesstif" = "yes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378 #define __WXLESSTIF__ 1
33379 _ACEOF
33380
33381 else
33382 cat >>confdefs.h <<\_ACEOF
33383 #define __WXLESSTIF__ 0
33384 _ACEOF
33385
33386 fi
33387
33388 CFLAGS=$save_CFLAGS
33389
33390 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33391 TOOLKIT=MOTIF
33392 GUIDIST=MOTIF_DIST
33393 fi
33394
33395 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33396 if test "$wxUSE_LIBXPM" = "sys"; then
33397 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33398 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33399
33400 ac_find_libraries=
33401 for ac_dir in $SEARCH_LIB;
33402 do
33403 for ac_extension in a so sl dylib dll.a; do
33404 if test -f "$ac_dir/libXpm.$ac_extension"; then
33405 ac_find_libraries=$ac_dir
33406 break 2
33407 fi
33408 done
33409 done
33410
33411 if test "$ac_find_libraries" != "" ; then
33412
33413 if test "$ac_find_libraries" = "default location"; then
33414 ac_path_to_link=""
33415 else
33416 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33417 result=$?
33418 if test $result = 0; then
33419 ac_path_to_link=""
33420 else
33421 ac_path_to_link=" -L$ac_find_libraries"
33422 fi
33423 fi
33424
33425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33426 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33427 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33428
33429 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33430 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33431 if test "${wx_cv_x11_xpm_h+set}" = set; then
33432 echo $ECHO_N "(cached) $ECHO_C" >&6
33433 else
33434
33435 save_CFLAGS=$CFLAGS
33436 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33437
33438 cat >conftest.$ac_ext <<_ACEOF
33439 /* confdefs.h. */
33440 _ACEOF
33441 cat confdefs.h >>conftest.$ac_ext
33442 cat >>conftest.$ac_ext <<_ACEOF
33443 /* end confdefs.h. */
33444
33445 #include <X11/xpm.h>
33446
33447 int
33448 main ()
33449 {
33450
33451 int version;
33452 version = XpmLibraryVersion();
33453
33454 ;
33455 return 0;
33456 }
33457 _ACEOF
33458 rm -f conftest.$ac_objext
33459 if { (ac_try="$ac_compile"
33460 case "(($ac_try" in
33461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33462 *) ac_try_echo=$ac_try;;
33463 esac
33464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33465 (eval "$ac_compile") 2>conftest.er1
33466 ac_status=$?
33467 grep -v '^ *+' conftest.er1 >conftest.err
33468 rm -f conftest.er1
33469 cat conftest.err >&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); } && {
33472 test -z "$ac_c_werror_flag" ||
33473 test ! -s conftest.err
33474 } && test -s conftest.$ac_objext; then
33475 wx_cv_x11_xpm_h=yes
33476 else
33477 echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.$ac_ext >&5
33479
33480 wx_cv_x11_xpm_h=no
33481
33482 fi
33483
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485
33486 CFLAGS=$save_CFLAGS
33487
33488
33489 fi
33490 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33491 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33492
33493 if test $wx_cv_x11_xpm_h = "yes"; then
33494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33495 cat >>confdefs.h <<\_ACEOF
33496 #define wxHAVE_LIB_XPM 1
33497 _ACEOF
33498
33499 else
33500 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33501 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33502 fi
33503 fi
33504
33505 fi
33506
33507 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33508 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33509 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33510 echo $ECHO_N "(cached) $ECHO_C" >&6
33511 else
33512 ac_check_lib_save_LIBS=$LIBS
33513 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33514 cat >conftest.$ac_ext <<_ACEOF
33515 /* confdefs.h. */
33516 _ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520
33521 /* Override any GCC internal prototype to avoid an error.
33522 Use char because int might match the return type of a GCC
33523 builtin and then its argument prototype would still apply. */
33524 #ifdef __cplusplus
33525 extern "C"
33526 #endif
33527 char XShapeQueryExtension ();
33528 int
33529 main ()
33530 {
33531 return XShapeQueryExtension ();
33532 ;
33533 return 0;
33534 }
33535 _ACEOF
33536 rm -f conftest.$ac_objext conftest$ac_exeext
33537 if { (ac_try="$ac_link"
33538 case "(($ac_try" in
33539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33540 *) ac_try_echo=$ac_try;;
33541 esac
33542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33543 (eval "$ac_link") 2>conftest.er1
33544 ac_status=$?
33545 grep -v '^ *+' conftest.er1 >conftest.err
33546 rm -f conftest.er1
33547 cat conftest.err >&5
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); } && {
33550 test -z "$ac_c_werror_flag" ||
33551 test ! -s conftest.err
33552 } && test -s conftest$ac_exeext &&
33553 $as_test_x conftest$ac_exeext; then
33554 ac_cv_lib_Xext_XShapeQueryExtension=yes
33555 else
33556 echo "$as_me: failed program was:" >&5
33557 sed 's/^/| /' conftest.$ac_ext >&5
33558
33559 ac_cv_lib_Xext_XShapeQueryExtension=no
33560 fi
33561
33562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33563 conftest$ac_exeext conftest.$ac_ext
33564 LIBS=$ac_check_lib_save_LIBS
33565 fi
33566 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33567 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33568 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33569
33570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33571 wxHAVE_XEXT_LIB=1
33572
33573 fi
33574
33575
33576 if test "$wxHAVE_XEXT_LIB" = 1; then
33577 save_CFLAGS="$CFLAGS"
33578 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33579
33580 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33581 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33582 cat >conftest.$ac_ext <<_ACEOF
33583 /* confdefs.h. */
33584 _ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588
33589 #include <X11/Xlib.h>
33590 #include <X11/extensions/shape.h>
33591
33592 int
33593 main ()
33594 {
33595
33596 int dummy1, dummy2;
33597 XShapeQueryExtension((Display*)NULL,
33598 (int*)NULL, (int*)NULL);
33599
33600 ;
33601 return 0;
33602 }
33603 _ACEOF
33604 rm -f conftest.$ac_objext
33605 if { (ac_try="$ac_compile"
33606 case "(($ac_try" in
33607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33608 *) ac_try_echo=$ac_try;;
33609 esac
33610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33611 (eval "$ac_compile") 2>conftest.er1
33612 ac_status=$?
33613 grep -v '^ *+' conftest.er1 >conftest.err
33614 rm -f conftest.er1
33615 cat conftest.err >&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } && {
33618 test -z "$ac_c_werror_flag" ||
33619 test ! -s conftest.err
33620 } && test -s conftest.$ac_objext; then
33621
33622 cat >>confdefs.h <<\_ACEOF
33623 #define HAVE_XSHAPE 1
33624 _ACEOF
33625
33626 { echo "$as_me:$LINENO: result: found" >&5
33627 echo "${ECHO_T}found" >&6; }
33628
33629 else
33630 echo "$as_me: failed program was:" >&5
33631 sed 's/^/| /' conftest.$ac_ext >&5
33632
33633
33634 { echo "$as_me:$LINENO: result: not found" >&5
33635 echo "${ECHO_T}not found" >&6; }
33636
33637 fi
33638
33639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33640 CFLAGS="$save_CFLAGS"
33641
33642 fi
33643 fi
33644
33645 if test "$wxUSE_OSX_CARBON" = 1; then
33646 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33647 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33648 if test "$GCC" = yes; then
33649 { echo "$as_me:$LINENO: result: gcc" >&5
33650 echo "${ECHO_T}gcc" >&6; }
33651 CPPFLAGS_PASCAL="-fpascal-strings"
33652 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33653 { echo "$as_me:$LINENO: result: xlc" >&5
33654 echo "${ECHO_T}xlc" >&6; }
33655 CPPFLAGS_PASCAL="-qmacpstr"
33656 else
33657 { echo "$as_me:$LINENO: result: none" >&5
33658 echo "${ECHO_T}none" >&6; }
33659 fi
33660
33661 if test "x$wxUSE_UNIX" = "xyes"; then
33662 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33663 else
33664 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33665 fi
33666
33667 TOOLKIT=OSX_CARBON
33668 GUIDIST=OSX_CARBON_DIST
33669 WXBASEPORT="_carbon"
33670
33671 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33672 fi
33673
33674 if test "$wxUSE_OSX_COCOA" = 1; then
33675 TOOLKIT=OSX_COCOA
33676 GUIDIST=OSX_COCOA_DIST
33677
33678 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33679 fi
33680
33681 if test "$wxUSE_OSX_IPHONE" = 1; then
33682 TOOLKIT=OSX_IPHONE
33683 fi
33684
33685 if test "$wxUSE_OLD_COCOA" = 1; then
33686 TOOLKIT=COCOA
33687 GUIDIST=COCOA_DIST
33688 fi
33689
33690 if test "$wxUSE_PM" = 1; then
33691 TOOLKIT=PM
33692 GUIDIST=PM_DIST
33693 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33694 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33695 if test "${wx_cv_spbcdata+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 else
33698
33699 cat >conftest.$ac_ext <<_ACEOF
33700 /* confdefs.h. */
33701 _ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705
33706 #define INCL_PM
33707 #include <os2.h>
33708
33709 int
33710 main ()
33711 {
33712
33713 SPBCDATA test;
33714
33715 ;
33716 return 0;
33717 }
33718 _ACEOF
33719 rm -f conftest.$ac_objext
33720 if { (ac_try="$ac_compile"
33721 case "(($ac_try" in
33722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33723 *) ac_try_echo=$ac_try;;
33724 esac
33725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33726 (eval "$ac_compile") 2>conftest.er1
33727 ac_status=$?
33728 grep -v '^ *+' conftest.er1 >conftest.err
33729 rm -f conftest.er1
33730 cat conftest.err >&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); } && {
33733 test -z "$ac_c_werror_flag" ||
33734 test ! -s conftest.err
33735 } && test -s conftest.$ac_objext; then
33736 wx_cv_spbcdata=yes
33737 else
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33740
33741 wx_cv_spbcdata=no
33742
33743 fi
33744
33745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33746
33747
33748 fi
33749 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33750 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33751
33752 if test $wx_cv_spbcdata = "yes"; then
33753 cat >>confdefs.h <<\_ACEOF
33754 #define HAVE_SPBCDATA 1
33755 _ACEOF
33756
33757 fi
33758 fi
33759
33760 if test "$TOOLKIT" = "PM" ; then
33761 TOOLKIT_DIR="os2"
33762 else
33763 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33764 fi
33765
33766 if test "$wxUSE_UNIVERSAL" = "yes"; then
33767 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33768 WIDGET_SET=univ
33769 fi
33770
33771 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33772 DISTDIR="wx\$(TOOLKIT)"
33773 else
33774 USE_GUI=0
33775
33776 TOOLKIT_DIR="base"
33777
33778 if test "$USE_WIN32" = 1 ; then
33779 TOOLKIT="MSW"
33780 fi
33781
33782 GUIDIST="BASE_DIST"
33783 DISTDIR="wxBase"
33784 fi
33785
33786
33787
33788 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33789 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33790 wxUSE_UNICODE_UTF8=yes
33791 elif test "$USE_OS2" = 1 ; then
33792 wxUSE_UNICODE_UTF8=yes
33793 else
33794 wxUSE_UNICODE_UTF8=no
33795 fi
33796 fi
33797
33798
33799 if test "$wxUSE_GUI" = "yes"; then
33800 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33801
33802 for ac_header in X11/Xlib.h
33803 do
33804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33808 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 else
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816
33817
33818 #include <$ac_header>
33819 _ACEOF
33820 rm -f conftest.$ac_objext
33821 if { (ac_try="$ac_compile"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33825 esac
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_compile") 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest.$ac_objext; then
33837 eval "$as_ac_Header=yes"
33838 else
33839 echo "$as_me: failed program was:" >&5
33840 sed 's/^/| /' conftest.$ac_ext >&5
33841
33842 eval "$as_ac_Header=no"
33843 fi
33844
33845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33846 fi
33847 ac_res=`eval echo '${'$as_ac_Header'}'`
33848 { echo "$as_me:$LINENO: result: $ac_res" >&5
33849 echo "${ECHO_T}$ac_res" >&6; }
33850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33851 cat >>confdefs.h <<_ACEOF
33852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33853 _ACEOF
33854
33855 fi
33856
33857 done
33858
33859
33860 for ac_header in X11/XKBlib.h
33861 do
33862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33866 echo $ECHO_N "(cached) $ECHO_C" >&6
33867 else
33868 cat >conftest.$ac_ext <<_ACEOF
33869 /* confdefs.h. */
33870 _ACEOF
33871 cat confdefs.h >>conftest.$ac_ext
33872 cat >>conftest.$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33874
33875 #if HAVE_X11_XLIB_H
33876 #include <X11/Xlib.h>
33877 #endif
33878
33879
33880 #include <$ac_header>
33881 _ACEOF
33882 rm -f conftest.$ac_objext
33883 if { (ac_try="$ac_compile"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33887 esac
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_compile") 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest.$ac_objext; then
33899 eval "$as_ac_Header=yes"
33900 else
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33903
33904 eval "$as_ac_Header=no"
33905 fi
33906
33907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33908 fi
33909 ac_res=`eval echo '${'$as_ac_Header'}'`
33910 { echo "$as_me:$LINENO: result: $ac_res" >&5
33911 echo "${ECHO_T}$ac_res" >&6; }
33912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33913 cat >>confdefs.h <<_ACEOF
33914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33915 _ACEOF
33916
33917 fi
33918
33919 done
33920
33921 fi
33922 fi
33923
33924
33925
33926 USE_XINERAMA=0
33927 if test "$wxUSE_DISPLAY" = "yes"; then
33928 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33929 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33930 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33931
33932 ac_find_libraries=
33933 for ac_dir in $SEARCH_LIB;
33934 do
33935 for ac_extension in a so sl dylib dll.a; do
33936 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33937 ac_find_libraries=$ac_dir
33938 break 2
33939 fi
33940 done
33941 done
33942
33943 if test "$ac_find_libraries" != "" ; then
33944
33945 if test "$ac_find_libraries" = "default location"; then
33946 ac_path_to_link=""
33947 else
33948 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33949 result=$?
33950 if test $result = 0; then
33951 ac_path_to_link=""
33952 else
33953 ac_path_to_link=" -L$ac_find_libraries"
33954 fi
33955 fi
33956
33957 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33958 LDFLAGS="$LDFLAGS $ac_path_to_link"
33959 fi
33960 USE_XINERAMA=1
33961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33962 { echo "$as_me:$LINENO: result: yes" >&5
33963 echo "${ECHO_T}yes" >&6; }
33964 else
33965 { echo "$as_me:$LINENO: result: no" >&5
33966 echo "${ECHO_T}no" >&6; }
33967 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33968 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33969 wxUSE_DISPLAY="no"
33970 fi
33971 elif test "$wxUSE_MSW" = 1; then
33972 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33973 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33974 if test "${ac_cv_header_ddraw_h+set}" = set; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 #include <windows.h>
33984
33985 #include <ddraw.h>
33986 _ACEOF
33987 rm -f conftest.$ac_objext
33988 if { (ac_try="$ac_compile"
33989 case "(($ac_try" in
33990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33991 *) ac_try_echo=$ac_try;;
33992 esac
33993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33994 (eval "$ac_compile") 2>conftest.er1
33995 ac_status=$?
33996 grep -v '^ *+' conftest.er1 >conftest.err
33997 rm -f conftest.er1
33998 cat conftest.err >&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } && {
34001 test -z "$ac_c_werror_flag" ||
34002 test ! -s conftest.err
34003 } && test -s conftest.$ac_objext; then
34004 ac_cv_header_ddraw_h=yes
34005 else
34006 echo "$as_me: failed program was:" >&5
34007 sed 's/^/| /' conftest.$ac_ext >&5
34008
34009 ac_cv_header_ddraw_h=no
34010 fi
34011
34012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34013 fi
34014 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34015 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34016
34017
34018 fi
34019 fi
34020
34021 if test "$wxUSE_DISPLAY" = "yes"; then
34022 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34023 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34024 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34025
34026 ac_find_libraries=
34027 for ac_dir in $SEARCH_LIB;
34028 do
34029 for ac_extension in a so sl dylib dll.a; do
34030 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34031 ac_find_libraries=$ac_dir
34032 break 2
34033 fi
34034 done
34035 done
34036
34037 if test "$ac_find_libraries" != "" ; then
34038 { echo "$as_me:$LINENO: result: yes" >&5
34039 echo "${ECHO_T}yes" >&6; }
34040
34041 for ac_header in X11/extensions/xf86vmode.h
34042 do
34043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34044 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 else
34049 cat >conftest.$ac_ext <<_ACEOF
34050 /* confdefs.h. */
34051 _ACEOF
34052 cat confdefs.h >>conftest.$ac_ext
34053 cat >>conftest.$ac_ext <<_ACEOF
34054 /* end confdefs.h. */
34055
34056 #if HAVE_X11_XLIB_H
34057 #include <X11/Xlib.h>
34058 #endif
34059
34060
34061 #include <$ac_header>
34062 _ACEOF
34063 rm -f conftest.$ac_objext
34064 if { (ac_try="$ac_compile"
34065 case "(($ac_try" in
34066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34067 *) ac_try_echo=$ac_try;;
34068 esac
34069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34070 (eval "$ac_compile") 2>conftest.er1
34071 ac_status=$?
34072 grep -v '^ *+' conftest.er1 >conftest.err
34073 rm -f conftest.er1
34074 cat conftest.err >&5
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); } && {
34077 test -z "$ac_c_werror_flag" ||
34078 test ! -s conftest.err
34079 } && test -s conftest.$ac_objext; then
34080 eval "$as_ac_Header=yes"
34081 else
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.$ac_ext >&5
34084
34085 eval "$as_ac_Header=no"
34086 fi
34087
34088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34089 fi
34090 ac_res=`eval echo '${'$as_ac_Header'}'`
34091 { echo "$as_me:$LINENO: result: $ac_res" >&5
34092 echo "${ECHO_T}$ac_res" >&6; }
34093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34094 cat >>confdefs.h <<_ACEOF
34095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34096 _ACEOF
34097
34098 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34099
34100 fi
34101
34102 done
34103
34104 else
34105 { echo "$as_me:$LINENO: result: no" >&5
34106 echo "${ECHO_T}no" >&6; }
34107 fi
34108 fi
34109 fi
34110
34111 if test "$wxUSE_DETECT_SM" = "yes"; then
34112 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34113 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34114 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34115
34116 ac_find_libraries=
34117 for ac_dir in $SEARCH_LIB;
34118 do
34119 for ac_extension in a so sl dylib dll.a; do
34120 if test -f "$ac_dir/libSM.$ac_extension"; then
34121 ac_find_libraries=$ac_dir
34122 break 2
34123 fi
34124 done
34125 done
34126
34127 if test "$ac_find_libraries" != "" ; then
34128
34129 if test "$ac_find_libraries" = "default location"; then
34130 ac_path_to_link=""
34131 else
34132 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34133 result=$?
34134 if test $result = 0; then
34135 ac_path_to_link=""
34136 else
34137 ac_path_to_link=" -L$ac_find_libraries"
34138 fi
34139 fi
34140
34141 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34142 LDFLAGS="$LDFLAGS $ac_path_to_link"
34143 fi
34144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34145 { echo "$as_me:$LINENO: result: yes" >&5
34146 echo "${ECHO_T}yes" >&6; }
34147 else
34148 { echo "$as_me:$LINENO: result: no" >&5
34149 echo "${ECHO_T}no" >&6; }
34150 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34151 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34152 wxUSE_DETECT_SM="no"
34153 fi
34154 else
34155 wxUSE_DETECT_SM="no"
34156 fi
34157 fi
34158
34159
34160
34161 USE_OPENGL=0
34162 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34163
34164
34165 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34166 OPENGL_LIBS="-framework OpenGL -framework AGL"
34167 elif test "$wxUSE_MSW" = 1; then
34168 OPENGL_LIBS="-lopengl32 -lglu32"
34169 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34170
34171 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34172 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34173
34174 ac_find_includes=
34175 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34176 do
34177 if test -f "$ac_dir/GL/gl.h"; then
34178 ac_find_includes=$ac_dir
34179 break
34180 fi
34181 done
34182
34183 if test "$ac_find_includes" != "" ; then
34184 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34185 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34186
34187 if test "x$ac_find_includes" = "x/usr/include"; then
34188 ac_path_to_include=""
34189 else
34190 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34191 result=$?
34192 if test $result = 0; then
34193 ac_path_to_include=""
34194 else
34195 ac_path_to_include=" -I$ac_find_includes"
34196 fi
34197 fi
34198
34199 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34200 else
34201 { echo "$as_me:$LINENO: result: not found" >&5
34202 echo "${ECHO_T}not found" >&6; }
34203 fi
34204
34205 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34206 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34207 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210 cat >conftest.$ac_ext <<_ACEOF
34211 /* confdefs.h. */
34212 _ACEOF
34213 cat confdefs.h >>conftest.$ac_ext
34214 cat >>conftest.$ac_ext <<_ACEOF
34215 /* end confdefs.h. */
34216
34217
34218 #include <GL/gl.h>
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (ac_try="$ac_compile"
34222 case "(($ac_try" in
34223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34224 *) ac_try_echo=$ac_try;;
34225 esac
34226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34227 (eval "$ac_compile") 2>conftest.er1
34228 ac_status=$?
34229 grep -v '^ *+' conftest.er1 >conftest.err
34230 rm -f conftest.er1
34231 cat conftest.err >&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); } && {
34234 test -z "$ac_c_werror_flag" ||
34235 test ! -s conftest.err
34236 } && test -s conftest.$ac_objext; then
34237 ac_cv_header_GL_gl_h=yes
34238 else
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.$ac_ext >&5
34241
34242 ac_cv_header_GL_gl_h=no
34243 fi
34244
34245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34246 fi
34247 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34248 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34249 if test $ac_cv_header_GL_gl_h = yes; then
34250
34251 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34252 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34253 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262
34263
34264 #include <GL/glu.h>
34265 _ACEOF
34266 rm -f conftest.$ac_objext
34267 if { (ac_try="$ac_compile"
34268 case "(($ac_try" in
34269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34270 *) ac_try_echo=$ac_try;;
34271 esac
34272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34273 (eval "$ac_compile") 2>conftest.er1
34274 ac_status=$?
34275 grep -v '^ *+' conftest.er1 >conftest.err
34276 rm -f conftest.er1
34277 cat conftest.err >&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } && {
34280 test -z "$ac_c_werror_flag" ||
34281 test ! -s conftest.err
34282 } && test -s conftest.$ac_objext; then
34283 ac_cv_header_GL_glu_h=yes
34284 else
34285 echo "$as_me: failed program was:" >&5
34286 sed 's/^/| /' conftest.$ac_ext >&5
34287
34288 ac_cv_header_GL_glu_h=no
34289 fi
34290
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34292 fi
34293 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34294 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34295 if test $ac_cv_header_GL_glu_h = yes; then
34296
34297 found_gl=0
34298
34299 { echo "$as_me:$LINENO: checking for -lGL" >&5
34300 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34301
34302 ac_find_libraries=
34303 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34304 do
34305 for ac_extension in a so sl dylib dll.a; do
34306 if test -f "$ac_dir/libGL.$ac_extension"; then
34307 ac_find_libraries=$ac_dir
34308 break 2
34309 fi
34310 done
34311 done
34312
34313 if test "$ac_find_libraries" != "" ; then
34314 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34315 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34316
34317
34318 if test "$ac_find_libraries" = "default location"; then
34319 ac_path_to_link=""
34320 else
34321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34322 result=$?
34323 if test $result = 0; then
34324 ac_path_to_link=""
34325 else
34326 ac_path_to_link=" -L$ac_find_libraries"
34327 fi
34328 fi
34329
34330 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34331 LDFLAGS_GL="$ac_path_to_link"
34332 fi
34333
34334 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34335 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34336
34337 ac_find_libraries=
34338 for ac_dir in $SEARCH_LIB;
34339 do
34340 for ac_extension in a so sl dylib dll.a; do
34341 if test -f "$ac_dir/libGLU.$ac_extension"; then
34342 ac_find_libraries=$ac_dir
34343 break 2
34344 fi
34345 done
34346 done
34347
34348 if test "$ac_find_libraries" != "" ; then
34349
34350 if test "$ac_find_libraries" = "default location"; then
34351 ac_path_to_link=""
34352 else
34353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34354 result=$?
34355 if test $result = 0; then
34356 ac_path_to_link=""
34357 else
34358 ac_path_to_link=" -L$ac_find_libraries"
34359 fi
34360 fi
34361
34362 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34363 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34364 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34365 fi
34366
34367 found_gl=1
34368 OPENGL_LIBS="-lGL -lGLU"
34369 { echo "$as_me:$LINENO: result: yes" >&5
34370 echo "${ECHO_T}yes" >&6; }
34371 else
34372 { echo "$as_me:$LINENO: result: no" >&5
34373 echo "${ECHO_T}no" >&6; }
34374 fi
34375 else
34376 { echo "$as_me:$LINENO: result: no" >&5
34377 echo "${ECHO_T}no" >&6; }
34378 fi
34379
34380 if test "$found_gl" != 1; then
34381 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34382 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34383
34384 ac_find_libraries=
34385 for ac_dir in $SEARCH_LIB;
34386 do
34387 for ac_extension in a so sl dylib dll.a; do
34388 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34389 ac_find_libraries=$ac_dir
34390 break 2
34391 fi
34392 done
34393 done
34394
34395 if test "$ac_find_libraries" != "" ; then
34396
34397 if test "$ac_find_libraries" = "default location"; then
34398 ac_path_to_link=""
34399 else
34400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34401 result=$?
34402 if test $result = 0; then
34403 ac_path_to_link=""
34404 else
34405 ac_path_to_link=" -L$ac_find_libraries"
34406 fi
34407 fi
34408
34409 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34410 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34411 { echo "$as_me:$LINENO: result: yes" >&5
34412 echo "${ECHO_T}yes" >&6; }
34413 else
34414 { echo "$as_me:$LINENO: result: no" >&5
34415 echo "${ECHO_T}no" >&6; }
34416 fi
34417 fi
34418
34419 fi
34420
34421
34422
34423 fi
34424
34425
34426
34427 if test "x$OPENGL_LIBS" = "x"; then
34428 if test "$wxUSE_OPENGL" = "yes"; then
34429 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34430 echo "$as_me: error: OpenGL libraries not available" >&2;}
34431 { (exit 1); exit 1; }; }
34432 else
34433 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34434 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34435 wxUSE_OPENGL=no
34436 USE_OPENGL=0
34437 fi
34438 fi
34439 else
34440 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34441 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34442 wxUSE_OPENGL="no"
34443 fi
34444
34445 if test "$wxUSE_OPENGL" = "auto"; then
34446 wxUSE_OPENGL=yes
34447 fi
34448
34449 if test "$wxUSE_OPENGL" = "yes"; then
34450 USE_OPENGL=1
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxUSE_OPENGL 1
34453 _ACEOF
34454
34455 cat >>confdefs.h <<\_ACEOF
34456 #define wxUSE_GLCANVAS 1
34457 _ACEOF
34458
34459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34460 fi
34461 fi
34462
34463
34464 if test -n "$TOOLKIT" ; then
34465 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34466 fi
34467
34468
34469
34470 if test "$wxUSE_SHARED" = "yes"; then
34471 case "${host}" in
34472 *-pc-msdosdjgpp )
34473 wxUSE_SHARED=no
34474 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34475 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34476 ;;
34477 esac
34478 fi
34479
34480 if test "$wxUSE_SHARED" = "yes"; then
34481
34482
34483 case "${host}" in
34484 *-*-cygwin* | *-*-mingw* )
34485 wx_cv_version_script=no
34486 ;;
34487
34488 *)
34489 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34490 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34491 if test "${wx_cv_version_script+set}" = set; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 else
34494
34495 echo "VER_1 { *; };" >conftest.sym
34496 echo "int main() { return 0; }" >conftest.cpp
34497
34498 if { ac_try='
34499 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34500 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34502 (eval $ac_try) 2>&5
34503 ac_status=$?
34504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34505 (exit $ac_status); }; } ; then
34506 if test -s conftest.stderr ; then
34507 wx_cv_version_script=no
34508 else
34509 wx_cv_version_script=yes
34510 fi
34511 else
34512 wx_cv_version_script=no
34513 fi
34514
34515 if test $wx_cv_version_script = yes
34516 then
34517 echo "struct B { virtual ~B() { } }; \
34518 struct D : public B { }; \
34519 void F() { D d; }" > conftest.cpp
34520
34521 if { ac_try='
34522 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34523 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; } &&
34529 { ac_try='
34530 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34531 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }
34537 then
34538 if { ac_try='
34539 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34540 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34542 (eval $ac_try) 2>&5
34543 ac_status=$?
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); }; }
34546 then
34547 wx_cv_version_script=yes
34548 else
34549 wx_cv_version_script=no
34550 fi
34551 fi
34552 fi
34553
34554 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34555 rm -f conftest1.output conftest2.output conftest3.output
34556
34557 fi
34558 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34559 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34560
34561 if test $wx_cv_version_script = yes ; then
34562 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34563 fi
34564 ;;
34565 esac
34566
34567
34568 if test "$wxUSE_VISIBILITY" != "no"; then
34569
34570
34571 if test -n "$GCC"; then
34572 CFLAGS_VISIBILITY="-fvisibility=hidden"
34573 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34574 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34575 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34576 if test "${wx_cv_cc_visibility+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 else
34579
34580 wx_save_CXXFLAGS="$CXXFLAGS"
34581 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34582 ac_ext=cpp
34583 ac_cpp='$CXXCPP $CPPFLAGS'
34584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34587
34588 cat >conftest.$ac_ext <<_ACEOF
34589 /* confdefs.h. */
34590 _ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594
34595 /* we need gcc >= 4.0, older versions with visibility support
34596 didn't have class visibility: */
34597 #if defined(__GNUC__) && __GNUC__ < 4
34598 error this gcc is too old;
34599 #endif
34600
34601 /* visibility only makes sense for ELF shared libs: */
34602 #if !defined(__ELF__) && !defined(__APPLE__)
34603 error this platform has no visibility;
34604 #endif
34605
34606 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34607 extern __attribute__((__visibility__("default"))) int exportedvar;
34608 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34609 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34610 class __attribute__((__visibility__("default"))) Foo {
34611 Foo() {}
34612 };
34613
34614 int
34615 main ()
34616 {
34617
34618 ;
34619 return 0;
34620 }
34621 _ACEOF
34622 rm -f conftest.$ac_objext
34623 if { (ac_try="$ac_compile"
34624 case "(($ac_try" in
34625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34626 *) ac_try_echo=$ac_try;;
34627 esac
34628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34629 (eval "$ac_compile") 2>conftest.er1
34630 ac_status=$?
34631 grep -v '^ *+' conftest.er1 >conftest.err
34632 rm -f conftest.er1
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } && {
34636 test -z "$ac_cxx_werror_flag" ||
34637 test ! -s conftest.err
34638 } && test -s conftest.$ac_objext; then
34639 wx_cv_cc_visibility=yes
34640 else
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34643
34644 wx_cv_cc_visibility=no
34645 fi
34646
34647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34648 ac_ext=c
34649 ac_cpp='$CPP $CPPFLAGS'
34650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34653
34654 CXXFLAGS="$wx_save_CXXFLAGS"
34655 fi
34656
34657 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34658 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34659 if test $wx_cv_cc_visibility = yes; then
34660 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34661 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34662 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34663 echo $ECHO_N "(cached) $ECHO_C" >&6
34664 else
34665
34666 wx_save_CXXFLAGS="$CXXFLAGS"
34667 wx_save_LDFLAGS="$LDFLAGS"
34668 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34669 LDFLAGS="$LDFLAGS -shared -fPIC"
34670 ac_ext=cpp
34671 ac_cpp='$CXXCPP $CPPFLAGS'
34672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34675
34676 cat >conftest.$ac_ext <<_ACEOF
34677 /* confdefs.h. */
34678 _ACEOF
34679 cat confdefs.h >>conftest.$ac_ext
34680 cat >>conftest.$ac_ext <<_ACEOF
34681 /* end confdefs.h. */
34682
34683 #include <string>
34684
34685 int
34686 main ()
34687 {
34688
34689 std::string s("hello");
34690 return s.length();
34691
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext conftest$ac_exeext
34697 if { (ac_try="$ac_link"
34698 case "(($ac_try" in
34699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34700 *) ac_try_echo=$ac_try;;
34701 esac
34702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34703 (eval "$ac_link") 2>conftest.er1
34704 ac_status=$?
34705 grep -v '^ *+' conftest.er1 >conftest.err
34706 rm -f conftest.er1
34707 cat conftest.err >&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } && {
34710 test -z "$ac_cxx_werror_flag" ||
34711 test ! -s conftest.err
34712 } && test -s conftest$ac_exeext &&
34713 $as_test_x conftest$ac_exeext; then
34714 wx_cv_cc_broken_libstdcxx_visibility=no
34715 else
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34718
34719 wx_cv_cc_broken_libstdcxx_visibility=yes
34720 fi
34721
34722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34723 conftest$ac_exeext conftest.$ac_ext
34724 ac_ext=c
34725 ac_cpp='$CPP $CPPFLAGS'
34726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34729
34730 CXXFLAGS="$wx_save_CXXFLAGS"
34731 LDFLAGS="$wx_save_LDFLAGS"
34732 fi
34733
34734 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34735 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34736
34737 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34738 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34739 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34740 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 else
34743
34744 ac_ext=cpp
34745 ac_cpp='$CXXCPP $CPPFLAGS'
34746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34749
34750 cat >conftest.$ac_ext <<_ACEOF
34751 /* confdefs.h. */
34752 _ACEOF
34753 cat confdefs.h >>conftest.$ac_ext
34754 cat >>conftest.$ac_ext <<_ACEOF
34755 /* end confdefs.h. */
34756
34757 #pragma GCC visibility push(default)
34758 #include <string>
34759 #pragma GCC visibility pop
34760
34761 int
34762 main ()
34763 {
34764
34765 std::string s("hello");
34766 return s.length();
34767
34768 ;
34769 return 0;
34770 }
34771 _ACEOF
34772 rm -f conftest.$ac_objext conftest$ac_exeext
34773 if { (ac_try="$ac_link"
34774 case "(($ac_try" in
34775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34776 *) ac_try_echo=$ac_try;;
34777 esac
34778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34779 (eval "$ac_link") 2>conftest.er1
34780 ac_status=$?
34781 grep -v '^ *+' conftest.er1 >conftest.err
34782 rm -f conftest.er1
34783 cat conftest.err >&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } && {
34786 test -z "$ac_cxx_werror_flag" ||
34787 test ! -s conftest.err
34788 } && test -s conftest$ac_exeext &&
34789 $as_test_x conftest$ac_exeext; then
34790 wx_cv_cc_visibility_workaround=no
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795 wx_cv_cc_visibility_workaround=yes
34796 fi
34797
34798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34799 conftest$ac_exeext conftest.$ac_ext
34800 ac_ext=c
34801 ac_cpp='$CPP $CPPFLAGS'
34802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34805
34806
34807 fi
34808
34809 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34810 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34811
34812 if test $wx_cv_cc_visibility_workaround = no; then
34813 wx_cv_cc_visibility=no
34814 fi
34815 fi
34816 fi
34817
34818 if test $wx_cv_cc_visibility = yes; then
34819 cat >>confdefs.h <<\_ACEOF
34820 #define HAVE_VISIBILITY 1
34821 _ACEOF
34822
34823 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34824 cat >>confdefs.h <<\_ACEOF
34825 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34826 _ACEOF
34827
34828 fi
34829 else
34830 CFLAGS_VISIBILITY=""
34831 CXXFLAGS_VISIBILITY=""
34832 fi
34833
34834
34835 fi
34836
34837 fi
34838
34839 if test "x$SUNCXX" = xyes; then
34840 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34841 WXCONFIG_RPATH="-R\$libdir"
34842 else
34843 case "${host}" in
34844 *-*-linux* | *-*-gnu* )
34845 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34846 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34847 ;;
34848
34849 *-*-solaris2* )
34850
34851 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34852
34853 saveLdflags="$LDFLAGS"
34854 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34855 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34856 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h. */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863
34864 int
34865 main ()
34866 {
34867
34868 ;
34869 return 0;
34870 }
34871 _ACEOF
34872 rm -f conftest.$ac_objext conftest$ac_exeext
34873 if { (ac_try="$ac_link"
34874 case "(($ac_try" in
34875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34876 *) ac_try_echo=$ac_try;;
34877 esac
34878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34879 (eval "$ac_link") 2>conftest.er1
34880 ac_status=$?
34881 grep -v '^ *+' conftest.er1 >conftest.err
34882 rm -f conftest.er1
34883 cat conftest.err >&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } && {
34886 test -z "$ac_c_werror_flag" ||
34887 test ! -s conftest.err
34888 } && test -s conftest$ac_exeext &&
34889 $as_test_x conftest$ac_exeext; then
34890
34891 { echo "$as_me:$LINENO: result: yes" >&5
34892 echo "${ECHO_T}yes" >&6; }
34893 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34894 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34895
34896 else
34897 echo "$as_me: failed program was:" >&5
34898 sed 's/^/| /' conftest.$ac_ext >&5
34899
34900
34901 { echo "$as_me:$LINENO: result: no" >&5
34902 echo "${ECHO_T}no" >&6; }
34903 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34904 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34905 LDFLAGS="$saveLdflags -Wl,-R,/"
34906 cat >conftest.$ac_ext <<_ACEOF
34907 /* confdefs.h. */
34908 _ACEOF
34909 cat confdefs.h >>conftest.$ac_ext
34910 cat >>conftest.$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34912
34913 int
34914 main ()
34915 {
34916
34917 ;
34918 return 0;
34919 }
34920 _ACEOF
34921 rm -f conftest.$ac_objext conftest$ac_exeext
34922 if { (ac_try="$ac_link"
34923 case "(($ac_try" in
34924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34925 *) ac_try_echo=$ac_try;;
34926 esac
34927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34928 (eval "$ac_link") 2>conftest.er1
34929 ac_status=$?
34930 grep -v '^ *+' conftest.er1 >conftest.err
34931 rm -f conftest.er1
34932 cat conftest.err >&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } && {
34935 test -z "$ac_c_werror_flag" ||
34936 test ! -s conftest.err
34937 } && test -s conftest$ac_exeext &&
34938 $as_test_x conftest$ac_exeext; then
34939
34940 { echo "$as_me:$LINENO: result: yes" >&5
34941 echo "${ECHO_T}yes" >&6; }
34942 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34943 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34944
34945 else
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34948
34949
34950 { echo "$as_me:$LINENO: result: no" >&5
34951 echo "${ECHO_T}no" >&6; }
34952
34953 fi
34954
34955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34956 conftest$ac_exeext conftest.$ac_ext
34957
34958 fi
34959
34960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34961 conftest$ac_exeext conftest.$ac_ext
34962 LDFLAGS="$saveLdflags"
34963 ;;
34964
34965 *-*-darwin* )
34966 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34967 if test "$install_name_tool" -a -x "$install_name_tool"; then
34968 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34969 cat <<EOF >change-install-names
34970 #!/bin/sh
34971 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34972 for i in \${libnames} ; do
34973 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34974 for dep in \${libnames} ; do
34975 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34976 done
34977 done
34978 EOF
34979 chmod +x change-install-names
34980 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34981 fi
34982
34983 HEADER_PAD_OPTION="-headerpad_max_install_names"
34984 ;;
34985
34986 *-*-cygwin* | *-*-mingw32* )
34987 ;;
34988
34989 *-*-hpux* )
34990 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34991 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34992 ;;
34993
34994 esac
34995 fi
34996
34997 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34998
34999 if test $wxUSE_RPATH = "no"; then
35000 SAMPLES_RPATH_FLAG=''
35001 DYLIB_PATH_POSTLINK=''
35002 WXCONFIG_RPATH=''
35003 fi
35004
35005 SHARED=1
35006
35007 else
35008
35009 config_linkage_component="-static"
35010 SHARED=0
35011
35012 fi
35013
35014
35015 UNICODE=0
35016 lib_unicode_suffix=
35017 WX_CHARTYPE="ansi"
35018 if test "$wxUSE_UNICODE" = "yes"; then
35019 lib_unicode_suffix=u
35020 WX_CHARTYPE="unicode"
35021 UNICODE=1
35022 fi
35023
35024 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35025 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35026
35027 DEBUG_INFO=0
35028 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35029 DEBUG_INFO=1
35030 fi
35031
35032 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35033
35034 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35035
35036 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35037
35038
35039 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35040 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35041 else
35042 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35043 fi
35044 if test "${TOOLKIT_DIR}" = "os2"; then
35045 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35046 else
35047 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35048 fi
35049
35050
35051
35052 if test "$wxUSE_OLD_COCOA" = 1; then
35053
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35059
35060 ac_ext=m
35061
35062 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35063 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35064 cat >conftest.$ac_ext <<_ACEOF
35065 /* confdefs.h. */
35066 _ACEOF
35067 cat confdefs.h >>conftest.$ac_ext
35068 cat >>conftest.$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070 #include <AppKit/NSEvent.h>
35071 #include <CoreFoundation/CoreFoundation.h>
35072
35073 int
35074 main ()
35075 {
35076
35077 ;
35078 return 0;
35079 }
35080 _ACEOF
35081 rm -f conftest.$ac_objext
35082 if { (ac_try="$ac_compile"
35083 case "(($ac_try" in
35084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35085 *) ac_try_echo=$ac_try;;
35086 esac
35087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35088 (eval "$ac_compile") 2>conftest.er1
35089 ac_status=$?
35090 grep -v '^ *+' conftest.er1 >conftest.err
35091 rm -f conftest.er1
35092 cat conftest.err >&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); } && {
35095 test -z "$ac_c_werror_flag" ||
35096 test ! -s conftest.err
35097 } && test -s conftest.$ac_objext; then
35098 { echo "$as_me:$LINENO: result: no" >&5
35099 echo "${ECHO_T}no" >&6; }
35100 else
35101 echo "$as_me: failed program was:" >&5
35102 sed 's/^/| /' conftest.$ac_ext >&5
35103
35104 { echo "$as_me:$LINENO: result: yes" >&5
35105 echo "${ECHO_T}yes" >&6; }
35106 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35107 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35108 cat >conftest.$ac_ext <<_ACEOF
35109 /* confdefs.h. */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 #define __Point__ 1
35115 #include <AppKit/NSEvent.h>
35116 #include <CoreFoundation/CoreFoundation.h>
35117
35118 int
35119 main ()
35120 {
35121
35122 ;
35123 return 0;
35124 }
35125 _ACEOF
35126 rm -f conftest.$ac_objext
35127 if { (ac_try="$ac_compile"
35128 case "(($ac_try" in
35129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35130 *) ac_try_echo=$ac_try;;
35131 esac
35132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35133 (eval "$ac_compile") 2>conftest.er1
35134 ac_status=$?
35135 grep -v '^ *+' conftest.er1 >conftest.err
35136 rm -f conftest.er1
35137 cat conftest.err >&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); } && {
35140 test -z "$ac_c_werror_flag" ||
35141 test ! -s conftest.err
35142 } && test -s conftest.$ac_objext; then
35143 { echo "$as_me:$LINENO: result: yes" >&5
35144 echo "${ECHO_T}yes" >&6; }
35145 cat >>confdefs.h <<\_ACEOF
35146 #define __Point__ 1
35147 _ACEOF
35148
35149
35150 else
35151 echo "$as_me: failed program was:" >&5
35152 sed 's/^/| /' conftest.$ac_ext >&5
35153
35154 { { echo "$as_me:$LINENO: error: no
35155 See \`config.log' for more details." >&5
35156 echo "$as_me: error: no
35157 See \`config.log' for more details." >&2;}
35158 { (exit 1); exit 1; }; }
35159
35160 fi
35161
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163
35164 fi
35165
35166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35167 ac_ext=c
35168 ac_cpp='$CPP $CPPFLAGS'
35169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35172
35173 fi
35174
35175
35176 { echo "$as_me:$LINENO: checking for mode_t" >&5
35177 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35178 if test "${ac_cv_type_mode_t+set}" = set; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35180 else
35181 cat >conftest.$ac_ext <<_ACEOF
35182 /* confdefs.h. */
35183 _ACEOF
35184 cat confdefs.h >>conftest.$ac_ext
35185 cat >>conftest.$ac_ext <<_ACEOF
35186 /* end confdefs.h. */
35187 $ac_includes_default
35188 typedef mode_t ac__type_new_;
35189 int
35190 main ()
35191 {
35192 if ((ac__type_new_ *) 0)
35193 return 0;
35194 if (sizeof (ac__type_new_))
35195 return 0;
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 rm -f conftest.$ac_objext
35201 if { (ac_try="$ac_compile"
35202 case "(($ac_try" in
35203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35204 *) ac_try_echo=$ac_try;;
35205 esac
35206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35207 (eval "$ac_compile") 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } && {
35214 test -z "$ac_c_werror_flag" ||
35215 test ! -s conftest.err
35216 } && test -s conftest.$ac_objext; then
35217 ac_cv_type_mode_t=yes
35218 else
35219 echo "$as_me: failed program was:" >&5
35220 sed 's/^/| /' conftest.$ac_ext >&5
35221
35222 ac_cv_type_mode_t=no
35223 fi
35224
35225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35226 fi
35227 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35228 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35229 if test $ac_cv_type_mode_t = yes; then
35230 :
35231 else
35232
35233 cat >>confdefs.h <<_ACEOF
35234 #define mode_t int
35235 _ACEOF
35236
35237 fi
35238
35239 { echo "$as_me:$LINENO: checking for off_t" >&5
35240 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35241 if test "${ac_cv_type_off_t+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 else
35244 cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h. */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 $ac_includes_default
35251 typedef off_t ac__type_new_;
35252 int
35253 main ()
35254 {
35255 if ((ac__type_new_ *) 0)
35256 return 0;
35257 if (sizeof (ac__type_new_))
35258 return 0;
35259 ;
35260 return 0;
35261 }
35262 _ACEOF
35263 rm -f conftest.$ac_objext
35264 if { (ac_try="$ac_compile"
35265 case "(($ac_try" in
35266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35267 *) ac_try_echo=$ac_try;;
35268 esac
35269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35270 (eval "$ac_compile") 2>conftest.er1
35271 ac_status=$?
35272 grep -v '^ *+' conftest.er1 >conftest.err
35273 rm -f conftest.er1
35274 cat conftest.err >&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } && {
35277 test -z "$ac_c_werror_flag" ||
35278 test ! -s conftest.err
35279 } && test -s conftest.$ac_objext; then
35280 ac_cv_type_off_t=yes
35281 else
35282 echo "$as_me: failed program was:" >&5
35283 sed 's/^/| /' conftest.$ac_ext >&5
35284
35285 ac_cv_type_off_t=no
35286 fi
35287
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289 fi
35290 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35291 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35292 if test $ac_cv_type_off_t = yes; then
35293 :
35294 else
35295
35296 cat >>confdefs.h <<_ACEOF
35297 #define off_t long int
35298 _ACEOF
35299
35300 fi
35301
35302 { echo "$as_me:$LINENO: checking for pid_t" >&5
35303 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35304 if test "${ac_cv_type_pid_t+set}" = set; then
35305 echo $ECHO_N "(cached) $ECHO_C" >&6
35306 else
35307 cat >conftest.$ac_ext <<_ACEOF
35308 /* confdefs.h. */
35309 _ACEOF
35310 cat confdefs.h >>conftest.$ac_ext
35311 cat >>conftest.$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35313 $ac_includes_default
35314 typedef pid_t ac__type_new_;
35315 int
35316 main ()
35317 {
35318 if ((ac__type_new_ *) 0)
35319 return 0;
35320 if (sizeof (ac__type_new_))
35321 return 0;
35322 ;
35323 return 0;
35324 }
35325 _ACEOF
35326 rm -f conftest.$ac_objext
35327 if { (ac_try="$ac_compile"
35328 case "(($ac_try" in
35329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35330 *) ac_try_echo=$ac_try;;
35331 esac
35332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35333 (eval "$ac_compile") 2>conftest.er1
35334 ac_status=$?
35335 grep -v '^ *+' conftest.er1 >conftest.err
35336 rm -f conftest.er1
35337 cat conftest.err >&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } && {
35340 test -z "$ac_c_werror_flag" ||
35341 test ! -s conftest.err
35342 } && test -s conftest.$ac_objext; then
35343 ac_cv_type_pid_t=yes
35344 else
35345 echo "$as_me: failed program was:" >&5
35346 sed 's/^/| /' conftest.$ac_ext >&5
35347
35348 ac_cv_type_pid_t=no
35349 fi
35350
35351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35352 fi
35353 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35354 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35355 if test $ac_cv_type_pid_t = yes; then
35356 :
35357 else
35358
35359 cat >>confdefs.h <<_ACEOF
35360 #define pid_t int
35361 _ACEOF
35362
35363 fi
35364
35365 { echo "$as_me:$LINENO: checking for size_t" >&5
35366 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35367 if test "${ac_cv_type_size_t+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 else
35370 cat >conftest.$ac_ext <<_ACEOF
35371 /* confdefs.h. */
35372 _ACEOF
35373 cat confdefs.h >>conftest.$ac_ext
35374 cat >>conftest.$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376 $ac_includes_default
35377 typedef size_t ac__type_new_;
35378 int
35379 main ()
35380 {
35381 if ((ac__type_new_ *) 0)
35382 return 0;
35383 if (sizeof (ac__type_new_))
35384 return 0;
35385 ;
35386 return 0;
35387 }
35388 _ACEOF
35389 rm -f conftest.$ac_objext
35390 if { (ac_try="$ac_compile"
35391 case "(($ac_try" in
35392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35393 *) ac_try_echo=$ac_try;;
35394 esac
35395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35396 (eval "$ac_compile") 2>conftest.er1
35397 ac_status=$?
35398 grep -v '^ *+' conftest.er1 >conftest.err
35399 rm -f conftest.er1
35400 cat conftest.err >&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); } && {
35403 test -z "$ac_c_werror_flag" ||
35404 test ! -s conftest.err
35405 } && test -s conftest.$ac_objext; then
35406 ac_cv_type_size_t=yes
35407 else
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35410
35411 ac_cv_type_size_t=no
35412 fi
35413
35414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35415 fi
35416 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35417 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35418 if test $ac_cv_type_size_t = yes; then
35419 :
35420 else
35421
35422 cat >>confdefs.h <<_ACEOF
35423 #define size_t unsigned int
35424 _ACEOF
35425
35426 fi
35427
35428
35429 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35430 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35431 if test "${ac_cv_type_ssize_t+set}" = set; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35434 cat >conftest.$ac_ext <<_ACEOF
35435 /* confdefs.h. */
35436 _ACEOF
35437 cat confdefs.h >>conftest.$ac_ext
35438 cat >>conftest.$ac_ext <<_ACEOF
35439 /* end confdefs.h. */
35440 $ac_includes_default
35441 typedef ssize_t ac__type_new_;
35442 int
35443 main ()
35444 {
35445 if ((ac__type_new_ *) 0)
35446 return 0;
35447 if (sizeof (ac__type_new_))
35448 return 0;
35449 ;
35450 return 0;
35451 }
35452 _ACEOF
35453 rm -f conftest.$ac_objext
35454 if { (ac_try="$ac_compile"
35455 case "(($ac_try" in
35456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35457 *) ac_try_echo=$ac_try;;
35458 esac
35459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35460 (eval "$ac_compile") 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } && {
35467 test -z "$ac_c_werror_flag" ||
35468 test ! -s conftest.err
35469 } && test -s conftest.$ac_objext; then
35470 ac_cv_type_ssize_t=yes
35471 else
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35474
35475 ac_cv_type_ssize_t=no
35476 fi
35477
35478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35479 fi
35480 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35481 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35482 if test $ac_cv_type_ssize_t = yes; then
35483
35484 cat >>confdefs.h <<_ACEOF
35485 #define HAVE_SSIZE_T 1
35486 _ACEOF
35487
35488
35489 fi
35490
35491
35492 ac_ext=cpp
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35498 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35499 if test "${wx_cv_size_t_is_uint+set}" = set; then
35500 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 else
35502
35503 cat >conftest.$ac_ext <<_ACEOF
35504 /* confdefs.h. */
35505 _ACEOF
35506 cat confdefs.h >>conftest.$ac_ext
35507 cat >>conftest.$ac_ext <<_ACEOF
35508 /* end confdefs.h. */
35509 #include <stddef.h>
35510 int
35511 main ()
35512 {
35513
35514 return 0; }
35515
35516 struct Foo { void foo(size_t); void foo(unsigned int); };
35517
35518 int bar() {
35519
35520 ;
35521 return 0;
35522 }
35523 _ACEOF
35524 rm -f conftest.$ac_objext
35525 if { (ac_try="$ac_compile"
35526 case "(($ac_try" in
35527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35528 *) ac_try_echo=$ac_try;;
35529 esac
35530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35531 (eval "$ac_compile") 2>conftest.er1
35532 ac_status=$?
35533 grep -v '^ *+' conftest.er1 >conftest.err
35534 rm -f conftest.er1
35535 cat conftest.err >&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); } && {
35538 test -z "$ac_cxx_werror_flag" ||
35539 test ! -s conftest.err
35540 } && test -s conftest.$ac_objext; then
35541 wx_cv_size_t_is_uint=no
35542 else
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.$ac_ext >&5
35545
35546 wx_cv_size_t_is_uint=yes
35547
35548 fi
35549
35550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35551
35552
35553 fi
35554 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35555 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35556
35557 if test "$wx_cv_size_t_is_uint" = "yes"; then
35558 cat >>confdefs.h <<\_ACEOF
35559 #define wxSIZE_T_IS_UINT 1
35560 _ACEOF
35561
35562 else
35563 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35564 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35565 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35566 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 else
35568 cat >conftest.$ac_ext <<_ACEOF
35569 /* confdefs.h. */
35570 _ACEOF
35571 cat confdefs.h >>conftest.$ac_ext
35572 cat >>conftest.$ac_ext <<_ACEOF
35573 /* end confdefs.h. */
35574 #include <stddef.h>
35575 int
35576 main ()
35577 {
35578
35579 return 0; }
35580
35581 struct Foo { void foo(size_t); void foo(unsigned long); };
35582
35583 int bar() {
35584
35585 ;
35586 return 0;
35587 }
35588 _ACEOF
35589 rm -f conftest.$ac_objext
35590 if { (ac_try="$ac_compile"
35591 case "(($ac_try" in
35592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35593 *) ac_try_echo=$ac_try;;
35594 esac
35595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35596 (eval "$ac_compile") 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } && {
35603 test -z "$ac_cxx_werror_flag" ||
35604 test ! -s conftest.err
35605 } && test -s conftest.$ac_objext; then
35606 wx_cv_size_t_is_ulong=no
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 wx_cv_size_t_is_ulong=yes
35612
35613 fi
35614
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616
35617 fi
35618 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35619 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35620
35621 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35622 cat >>confdefs.h <<\_ACEOF
35623 #define wxSIZE_T_IS_ULONG 1
35624 _ACEOF
35625
35626 fi
35627 fi
35628
35629 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35630 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35631 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 else
35634 cat >conftest.$ac_ext <<_ACEOF
35635 /* confdefs.h. */
35636 _ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 #include <wchar.h>
35641 int
35642 main ()
35643 {
35644
35645 return 0; }
35646
35647 struct Foo { void foo(wchar_t);
35648 void foo(unsigned short);
35649 void foo(unsigned int);
35650 void foo(unsigned long); };
35651
35652 int bar() {
35653
35654 ;
35655 return 0;
35656 }
35657 _ACEOF
35658 rm -f conftest.$ac_objext
35659 if { (ac_try="$ac_compile"
35660 case "(($ac_try" in
35661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35662 *) ac_try_echo=$ac_try;;
35663 esac
35664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35665 (eval "$ac_compile") 2>conftest.er1
35666 ac_status=$?
35667 grep -v '^ *+' conftest.er1 >conftest.err
35668 rm -f conftest.er1
35669 cat conftest.err >&5
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); } && {
35672 test -z "$ac_cxx_werror_flag" ||
35673 test ! -s conftest.err
35674 } && test -s conftest.$ac_objext; then
35675 wx_cv_wchar_t_is_separate_type=yes
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 wx_cv_wchar_t_is_separate_type=no
35681
35682 fi
35683
35684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35685
35686 fi
35687 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35688 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35689
35690 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35691 cat >>confdefs.h <<\_ACEOF
35692 #define wxWCHAR_T_IS_REAL_TYPE 1
35693 _ACEOF
35694
35695 else
35696 cat >>confdefs.h <<\_ACEOF
35697 #define wxWCHAR_T_IS_REAL_TYPE 0
35698 _ACEOF
35699
35700 fi
35701
35702 ac_ext=c
35703 ac_cpp='$CPP $CPPFLAGS'
35704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35707
35708
35709 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35710 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35711 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35713 else
35714
35715 cat >conftest.$ac_ext <<_ACEOF
35716 /* confdefs.h. */
35717 _ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721 #include <pwd.h>
35722 int
35723 main ()
35724 {
35725
35726 char *p;
35727 struct passwd *pw;
35728 p = pw->pw_gecos;
35729
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 rm -f conftest.$ac_objext
35735 if { (ac_try="$ac_compile"
35736 case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35739 esac
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_compile") 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } && {
35748 test -z "$ac_c_werror_flag" ||
35749 test ! -s conftest.err
35750 } && test -s conftest.$ac_objext; then
35751
35752 wx_cv_struct_pw_gecos=yes
35753
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758
35759 wx_cv_struct_pw_gecos=no
35760
35761
35762 fi
35763
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35765
35766
35767 fi
35768 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35769 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35770
35771 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35772 cat >>confdefs.h <<\_ACEOF
35773 #define HAVE_PW_GECOS 1
35774 _ACEOF
35775
35776 fi
35777
35778
35779 if test "$wxUSE_WCHAR_T" = "yes"; then
35780 cat >>confdefs.h <<\_ACEOF
35781 #define wxUSE_WCHAR_T 1
35782 _ACEOF
35783
35784
35785 WCSLEN_FOUND=0
35786 WCHAR_LINK=
35787
35788 for ac_func in wcslen
35789 do
35790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35795 else
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35804 #define $ac_func innocuous_$ac_func
35805
35806 /* System header to define __stub macros and hopefully few prototypes,
35807 which can conflict with char $ac_func (); below.
35808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35809 <limits.h> exists even on freestanding compilers. */
35810
35811 #ifdef __STDC__
35812 # include <limits.h>
35813 #else
35814 # include <assert.h>
35815 #endif
35816
35817 #undef $ac_func
35818
35819 /* Override any GCC internal prototype to avoid an error.
35820 Use char because int might match the return type of a GCC
35821 builtin and then its argument prototype would still apply. */
35822 #ifdef __cplusplus
35823 extern "C"
35824 #endif
35825 char $ac_func ();
35826 /* The GNU C library defines this for functions which it implements
35827 to always fail with ENOSYS. Some functions are actually named
35828 something starting with __ and the normal name is an alias. */
35829 #if defined __stub_$ac_func || defined __stub___$ac_func
35830 choke me
35831 #endif
35832
35833 int
35834 main ()
35835 {
35836 return $ac_func ();
35837 ;
35838 return 0;
35839 }
35840 _ACEOF
35841 rm -f conftest.$ac_objext conftest$ac_exeext
35842 if { (ac_try="$ac_link"
35843 case "(($ac_try" in
35844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35845 *) ac_try_echo=$ac_try;;
35846 esac
35847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35848 (eval "$ac_link") 2>conftest.er1
35849 ac_status=$?
35850 grep -v '^ *+' conftest.er1 >conftest.err
35851 rm -f conftest.er1
35852 cat conftest.err >&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } && {
35855 test -z "$ac_c_werror_flag" ||
35856 test ! -s conftest.err
35857 } && test -s conftest$ac_exeext &&
35858 $as_test_x conftest$ac_exeext; then
35859 eval "$as_ac_var=yes"
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 eval "$as_ac_var=no"
35865 fi
35866
35867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35868 conftest$ac_exeext conftest.$ac_ext
35869 fi
35870 ac_res=`eval echo '${'$as_ac_var'}'`
35871 { echo "$as_me:$LINENO: result: $ac_res" >&5
35872 echo "${ECHO_T}$ac_res" >&6; }
35873 if test `eval echo '${'$as_ac_var'}'` = yes; then
35874 cat >>confdefs.h <<_ACEOF
35875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35876 _ACEOF
35877 WCSLEN_FOUND=1
35878 fi
35879 done
35880
35881
35882 if test "$WCSLEN_FOUND" = 0; then
35883 if test "$TOOLKIT" = "MSW"; then
35884 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35885 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35886 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35887 echo $ECHO_N "(cached) $ECHO_C" >&6
35888 else
35889 ac_check_lib_save_LIBS=$LIBS
35890 LIBS="-lmsvcrt $LIBS"
35891 cat >conftest.$ac_ext <<_ACEOF
35892 /* confdefs.h. */
35893 _ACEOF
35894 cat confdefs.h >>conftest.$ac_ext
35895 cat >>conftest.$ac_ext <<_ACEOF
35896 /* end confdefs.h. */
35897
35898 /* Override any GCC internal prototype to avoid an error.
35899 Use char because int might match the return type of a GCC
35900 builtin and then its argument prototype would still apply. */
35901 #ifdef __cplusplus
35902 extern "C"
35903 #endif
35904 char wcslen ();
35905 int
35906 main ()
35907 {
35908 return wcslen ();
35909 ;
35910 return 0;
35911 }
35912 _ACEOF
35913 rm -f conftest.$ac_objext conftest$ac_exeext
35914 if { (ac_try="$ac_link"
35915 case "(($ac_try" in
35916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35917 *) ac_try_echo=$ac_try;;
35918 esac
35919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35920 (eval "$ac_link") 2>conftest.er1
35921 ac_status=$?
35922 grep -v '^ *+' conftest.er1 >conftest.err
35923 rm -f conftest.er1
35924 cat conftest.err >&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } && {
35927 test -z "$ac_c_werror_flag" ||
35928 test ! -s conftest.err
35929 } && test -s conftest$ac_exeext &&
35930 $as_test_x conftest$ac_exeext; then
35931 ac_cv_lib_msvcrt_wcslen=yes
35932 else
35933 echo "$as_me: failed program was:" >&5
35934 sed 's/^/| /' conftest.$ac_ext >&5
35935
35936 ac_cv_lib_msvcrt_wcslen=no
35937 fi
35938
35939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35940 conftest$ac_exeext conftest.$ac_ext
35941 LIBS=$ac_check_lib_save_LIBS
35942 fi
35943 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35944 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35945 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35946 WCHAR_OK=1
35947 fi
35948
35949 else
35950 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35951 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35952 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 else
35955 ac_check_lib_save_LIBS=$LIBS
35956 LIBS="-lw $LIBS"
35957 cat >conftest.$ac_ext <<_ACEOF
35958 /* confdefs.h. */
35959 _ACEOF
35960 cat confdefs.h >>conftest.$ac_ext
35961 cat >>conftest.$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35963
35964 /* Override any GCC internal prototype to avoid an error.
35965 Use char because int might match the return type of a GCC
35966 builtin and then its argument prototype would still apply. */
35967 #ifdef __cplusplus
35968 extern "C"
35969 #endif
35970 char wcslen ();
35971 int
35972 main ()
35973 {
35974 return wcslen ();
35975 ;
35976 return 0;
35977 }
35978 _ACEOF
35979 rm -f conftest.$ac_objext conftest$ac_exeext
35980 if { (ac_try="$ac_link"
35981 case "(($ac_try" in
35982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35983 *) ac_try_echo=$ac_try;;
35984 esac
35985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35986 (eval "$ac_link") 2>conftest.er1
35987 ac_status=$?
35988 grep -v '^ *+' conftest.er1 >conftest.err
35989 rm -f conftest.er1
35990 cat conftest.err >&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); } && {
35993 test -z "$ac_c_werror_flag" ||
35994 test ! -s conftest.err
35995 } && test -s conftest$ac_exeext &&
35996 $as_test_x conftest$ac_exeext; then
35997 ac_cv_lib_w_wcslen=yes
35998 else
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.$ac_ext >&5
36001
36002 ac_cv_lib_w_wcslen=no
36003 fi
36004
36005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36006 conftest$ac_exeext conftest.$ac_ext
36007 LIBS=$ac_check_lib_save_LIBS
36008 fi
36009 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36010 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36011 if test $ac_cv_lib_w_wcslen = yes; then
36012
36013 WCHAR_LINK=" -lw"
36014 WCSLEN_FOUND=1
36015
36016 fi
36017
36018 fi
36019 fi
36020
36021 if test "$WCSLEN_FOUND" = 1; then
36022 cat >>confdefs.h <<\_ACEOF
36023 #define HAVE_WCSLEN 1
36024 _ACEOF
36025
36026 fi
36027
36028
36029
36030
36031
36032
36033 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36034 do
36035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36036 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36039 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 else
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36049 #define $ac_func innocuous_$ac_func
36050
36051 /* System header to define __stub macros and hopefully few prototypes,
36052 which can conflict with char $ac_func (); below.
36053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36054 <limits.h> exists even on freestanding compilers. */
36055
36056 #ifdef __STDC__
36057 # include <limits.h>
36058 #else
36059 # include <assert.h>
36060 #endif
36061
36062 #undef $ac_func
36063
36064 /* Override any GCC internal prototype to avoid an error.
36065 Use char because int might match the return type of a GCC
36066 builtin and then its argument prototype would still apply. */
36067 #ifdef __cplusplus
36068 extern "C"
36069 #endif
36070 char $ac_func ();
36071 /* The GNU C library defines this for functions which it implements
36072 to always fail with ENOSYS. Some functions are actually named
36073 something starting with __ and the normal name is an alias. */
36074 #if defined __stub_$ac_func || defined __stub___$ac_func
36075 choke me
36076 #endif
36077
36078 int
36079 main ()
36080 {
36081 return $ac_func ();
36082 ;
36083 return 0;
36084 }
36085 _ACEOF
36086 rm -f conftest.$ac_objext conftest$ac_exeext
36087 if { (ac_try="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36091 esac
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_c_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 eval "$as_ac_var=yes"
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109 eval "$as_ac_var=no"
36110 fi
36111
36112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36113 conftest$ac_exeext conftest.$ac_ext
36114 fi
36115 ac_res=`eval echo '${'$as_ac_var'}'`
36116 { echo "$as_me:$LINENO: result: $ac_res" >&5
36117 echo "${ECHO_T}$ac_res" >&6; }
36118 if test `eval echo '${'$as_ac_var'}'` = yes; then
36119 cat >>confdefs.h <<_ACEOF
36120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36121 _ACEOF
36122
36123 fi
36124 done
36125
36126
36127 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36128 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36129 fi
36130
36131 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36132 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36133 if test "${ac_cv_type_mbstate_t+set}" = set; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 #include <wchar.h>
36143
36144 typedef mbstate_t ac__type_new_;
36145 int
36146 main ()
36147 {
36148 if ((ac__type_new_ *) 0)
36149 return 0;
36150 if (sizeof (ac__type_new_))
36151 return 0;
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext
36157 if { (ac_try="$ac_compile"
36158 case "(($ac_try" in
36159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36160 *) ac_try_echo=$ac_try;;
36161 esac
36162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36163 (eval "$ac_compile") 2>conftest.er1
36164 ac_status=$?
36165 grep -v '^ *+' conftest.er1 >conftest.err
36166 rm -f conftest.er1
36167 cat conftest.err >&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); } && {
36170 test -z "$ac_c_werror_flag" ||
36171 test ! -s conftest.err
36172 } && test -s conftest.$ac_objext; then
36173 ac_cv_type_mbstate_t=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 ac_cv_type_mbstate_t=no
36179 fi
36180
36181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182 fi
36183 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36184 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36185 if test $ac_cv_type_mbstate_t = yes; then
36186
36187 cat >>confdefs.h <<_ACEOF
36188 #define HAVE_MBSTATE_T 1
36189 _ACEOF
36190
36191
36192 for ac_func in wcsrtombs
36193 do
36194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36198 echo $ECHO_N "(cached) $ECHO_C" >&6
36199 else
36200 cat >conftest.$ac_ext <<_ACEOF
36201 /* confdefs.h. */
36202 _ACEOF
36203 cat confdefs.h >>conftest.$ac_ext
36204 cat >>conftest.$ac_ext <<_ACEOF
36205 /* end confdefs.h. */
36206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36208 #define $ac_func innocuous_$ac_func
36209
36210 /* System header to define __stub macros and hopefully few prototypes,
36211 which can conflict with char $ac_func (); below.
36212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36213 <limits.h> exists even on freestanding compilers. */
36214
36215 #ifdef __STDC__
36216 # include <limits.h>
36217 #else
36218 # include <assert.h>
36219 #endif
36220
36221 #undef $ac_func
36222
36223 /* Override any GCC internal prototype to avoid an error.
36224 Use char because int might match the return type of a GCC
36225 builtin and then its argument prototype would still apply. */
36226 #ifdef __cplusplus
36227 extern "C"
36228 #endif
36229 char $ac_func ();
36230 /* The GNU C library defines this for functions which it implements
36231 to always fail with ENOSYS. Some functions are actually named
36232 something starting with __ and the normal name is an alias. */
36233 #if defined __stub_$ac_func || defined __stub___$ac_func
36234 choke me
36235 #endif
36236
36237 int
36238 main ()
36239 {
36240 return $ac_func ();
36241 ;
36242 return 0;
36243 }
36244 _ACEOF
36245 rm -f conftest.$ac_objext conftest$ac_exeext
36246 if { (ac_try="$ac_link"
36247 case "(($ac_try" in
36248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36249 *) ac_try_echo=$ac_try;;
36250 esac
36251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36252 (eval "$ac_link") 2>conftest.er1
36253 ac_status=$?
36254 grep -v '^ *+' conftest.er1 >conftest.err
36255 rm -f conftest.er1
36256 cat conftest.err >&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); } && {
36259 test -z "$ac_c_werror_flag" ||
36260 test ! -s conftest.err
36261 } && test -s conftest$ac_exeext &&
36262 $as_test_x conftest$ac_exeext; then
36263 eval "$as_ac_var=yes"
36264 else
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36267
36268 eval "$as_ac_var=no"
36269 fi
36270
36271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36272 conftest$ac_exeext conftest.$ac_ext
36273 fi
36274 ac_res=`eval echo '${'$as_ac_var'}'`
36275 { echo "$as_me:$LINENO: result: $ac_res" >&5
36276 echo "${ECHO_T}$ac_res" >&6; }
36277 if test `eval echo '${'$as_ac_var'}'` = yes; then
36278 cat >>confdefs.h <<_ACEOF
36279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285 fi
36286
36287 else
36288 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36289 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36290 fi
36291
36292
36293
36294
36295 for ac_func in snprintf vsnprintf vsscanf
36296 do
36297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 else
36303 cat >conftest.$ac_ext <<_ACEOF
36304 /* confdefs.h. */
36305 _ACEOF
36306 cat confdefs.h >>conftest.$ac_ext
36307 cat >>conftest.$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36311 #define $ac_func innocuous_$ac_func
36312
36313 /* System header to define __stub macros and hopefully few prototypes,
36314 which can conflict with char $ac_func (); below.
36315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36316 <limits.h> exists even on freestanding compilers. */
36317
36318 #ifdef __STDC__
36319 # include <limits.h>
36320 #else
36321 # include <assert.h>
36322 #endif
36323
36324 #undef $ac_func
36325
36326 /* Override any GCC internal prototype to avoid an error.
36327 Use char because int might match the return type of a GCC
36328 builtin and then its argument prototype would still apply. */
36329 #ifdef __cplusplus
36330 extern "C"
36331 #endif
36332 char $ac_func ();
36333 /* The GNU C library defines this for functions which it implements
36334 to always fail with ENOSYS. Some functions are actually named
36335 something starting with __ and the normal name is an alias. */
36336 #if defined __stub_$ac_func || defined __stub___$ac_func
36337 choke me
36338 #endif
36339
36340 int
36341 main ()
36342 {
36343 return $ac_func ();
36344 ;
36345 return 0;
36346 }
36347 _ACEOF
36348 rm -f conftest.$ac_objext conftest$ac_exeext
36349 if { (ac_try="$ac_link"
36350 case "(($ac_try" in
36351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36352 *) ac_try_echo=$ac_try;;
36353 esac
36354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36355 (eval "$ac_link") 2>conftest.er1
36356 ac_status=$?
36357 grep -v '^ *+' conftest.er1 >conftest.err
36358 rm -f conftest.er1
36359 cat conftest.err >&5
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); } && {
36362 test -z "$ac_c_werror_flag" ||
36363 test ! -s conftest.err
36364 } && test -s conftest$ac_exeext &&
36365 $as_test_x conftest$ac_exeext; then
36366 eval "$as_ac_var=yes"
36367 else
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36370
36371 eval "$as_ac_var=no"
36372 fi
36373
36374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36375 conftest$ac_exeext conftest.$ac_ext
36376 fi
36377 ac_res=`eval echo '${'$as_ac_var'}'`
36378 { echo "$as_me:$LINENO: result: $ac_res" >&5
36379 echo "${ECHO_T}$ac_res" >&6; }
36380 if test `eval echo '${'$as_ac_var'}'` = yes; then
36381 cat >>confdefs.h <<_ACEOF
36382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36383 _ACEOF
36384
36385 fi
36386 done
36387
36388
36389 ac_ext=cpp
36390 ac_cpp='$CXXCPP $CPPFLAGS'
36391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394
36395 if test "$ac_cv_func_vsnprintf" = "yes"; then
36396 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36397 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36398 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 else
36401
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408
36409 #include <stdio.h>
36410 #include <stdarg.h>
36411 #ifdef __MSL__
36412 #if __MSL__ >= 0x6000
36413 namespace std {}
36414 using namespace std;
36415 #endif
36416 #endif
36417
36418 int
36419 main ()
36420 {
36421
36422 char *buf;
36423 va_list ap;
36424 vsnprintf(buf, 10u, "%s", ap);
36425
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36434 *) ac_try_echo=$ac_try;;
36435 esac
36436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36438 ac_status=$?
36439 grep -v '^ *+' conftest.er1 >conftest.err
36440 rm -f conftest.er1
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_cxx_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.$ac_objext; then
36447 wx_cv_func_vsnprintf_decl=yes
36448 else
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36451
36452 wx_cv_func_vsnprintf_decl=no
36453
36454 fi
36455
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457
36458
36459 fi
36460 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36461 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36462
36463 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define HAVE_VSNPRINTF_DECL 1
36466 _ACEOF
36467
36468
36469 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36470 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36471 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36472 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36474
36475 cat >conftest.$ac_ext <<_ACEOF
36476 /* confdefs.h. */
36477 _ACEOF
36478 cat confdefs.h >>conftest.$ac_ext
36479 cat >>conftest.$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36481
36482 #include <stdio.h>
36483 #include <stdarg.h>
36484 #ifdef __MSL__
36485 #if __MSL__ >= 0x6000
36486 namespace std {}
36487 using namespace std;
36488 #endif
36489 #endif
36490
36491 int
36492 main ()
36493 {
36494
36495 char *buf;
36496 va_list ap;
36497 const char *fmt = "%s";
36498 vsnprintf(buf, 10u, fmt, ap);
36499
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext
36505 if { (ac_try="$ac_compile"
36506 case "(($ac_try" in
36507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36508 *) ac_try_echo=$ac_try;;
36509 esac
36510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36511 (eval "$ac_compile") 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } && {
36518 test -z "$ac_cxx_werror_flag" ||
36519 test ! -s conftest.err
36520 } && test -s conftest.$ac_objext; then
36521 wx_cv_func_broken_vsnprintf_decl=no
36522 else
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36525
36526 wx_cv_func_broken_vsnprintf_decl=yes
36527
36528 fi
36529
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531
36532
36533 fi
36534 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36535 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36536
36537 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36538 cat >>confdefs.h <<\_ACEOF
36539 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36540 _ACEOF
36541
36542 fi
36543 fi
36544 fi
36545
36546 if test "$ac_cv_func_snprintf" = "yes"; then
36547 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36548 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36549 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 else
36552
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559
36560 #include <stdio.h>
36561 #include <stdarg.h>
36562 #ifdef __MSL__
36563 #if __MSL__ >= 0x6000
36564 namespace std {}
36565 using namespace std;
36566 #endif
36567 #endif
36568
36569 int
36570 main ()
36571 {
36572
36573 char *buf;
36574 snprintf(buf, 10u, "%s", "wx");
36575
36576 ;
36577 return 0;
36578 }
36579 _ACEOF
36580 rm -f conftest.$ac_objext
36581 if { (ac_try="$ac_compile"
36582 case "(($ac_try" in
36583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36585 esac
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_compile") 2>conftest.er1
36588 ac_status=$?
36589 grep -v '^ *+' conftest.er1 >conftest.err
36590 rm -f conftest.er1
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_cxx_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest.$ac_objext; then
36597 wx_cv_func_snprintf_decl=yes
36598 else
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36601
36602 wx_cv_func_snprintf_decl=no
36603
36604 fi
36605
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607
36608
36609 fi
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36611 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36612
36613 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615 #define HAVE_SNPRINTF_DECL 1
36616 _ACEOF
36617
36618 fi
36619
36620 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36621
36622 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36623 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36624 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36625 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 else
36627
36628 if test "$cross_compiling" = yes; then
36629
36630 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36631 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36632 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36633 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36634 wx_cv_func_snprintf_pos_params=no
36635
36636
36637 else
36638 cat >conftest.$ac_ext <<_ACEOF
36639 /* confdefs.h. */
36640 _ACEOF
36641 cat confdefs.h >>conftest.$ac_ext
36642 cat >>conftest.$ac_ext <<_ACEOF
36643 /* end confdefs.h. */
36644
36645 #include <stdio.h>
36646
36647 int main (void)
36648 {
36649 char buffer[128];
36650 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36651 if (strcmp ("2 3 1", buffer) == 0)
36652 exit (0);
36653 exit (1);
36654 }
36655
36656 _ACEOF
36657 rm -f conftest$ac_exeext
36658 if { (ac_try="$ac_link"
36659 case "(($ac_try" in
36660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36661 *) ac_try_echo=$ac_try;;
36662 esac
36663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36664 (eval "$ac_link") 2>&5
36665 ac_status=$?
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36668 { (case "(($ac_try" in
36669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36670 *) ac_try_echo=$ac_try;;
36671 esac
36672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36673 (eval "$ac_try") 2>&5
36674 ac_status=$?
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); }; }; then
36677 wx_cv_func_snprintf_pos_params=no
36678 else
36679 echo "$as_me: program exited with status $ac_status" >&5
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.$ac_ext >&5
36682
36683 ( exit $ac_status )
36684 wx_cv_func_snprintf_pos_params=yes
36685 fi
36686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36687 fi
36688
36689
36690
36691
36692 fi
36693 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36694 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36695
36696 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36697 cat >>confdefs.h <<\_ACEOF
36698 #define HAVE_UNIX98_PRINTF 1
36699 _ACEOF
36700
36701 fi
36702 fi
36703 fi
36704
36705 if test "$ac_cv_func_vsscanf" = "yes"; then
36706 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36707 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36708 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 else
36711
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718
36719 #include <stdio.h>
36720 #include <stdarg.h>
36721 #ifdef __MSL__
36722 #if __MSL__ >= 0x6000
36723 namespace std {}
36724 using namespace std;
36725 #endif
36726 #endif
36727
36728 int
36729 main ()
36730 {
36731
36732 char *buf;
36733 va_list args;
36734 vsscanf(buf, "%s", args);
36735
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 rm -f conftest.$ac_objext
36741 if { (ac_try="$ac_compile"
36742 case "(($ac_try" in
36743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36744 *) ac_try_echo=$ac_try;;
36745 esac
36746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36747 (eval "$ac_compile") 2>conftest.er1
36748 ac_status=$?
36749 grep -v '^ *+' conftest.er1 >conftest.err
36750 rm -f conftest.er1
36751 cat conftest.err >&5
36752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36753 (exit $ac_status); } && {
36754 test -z "$ac_cxx_werror_flag" ||
36755 test ! -s conftest.err
36756 } && test -s conftest.$ac_objext; then
36757 wx_cv_func_vsscanf_decl=yes
36758 else
36759 echo "$as_me: failed program was:" >&5
36760 sed 's/^/| /' conftest.$ac_ext >&5
36761
36762 wx_cv_func_vsscanf_decl=no
36763
36764 fi
36765
36766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36767
36768
36769 fi
36770 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36771 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36772
36773 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36774 cat >>confdefs.h <<\_ACEOF
36775 #define HAVE_VSSCANF_DECL 1
36776 _ACEOF
36777
36778 fi
36779 fi
36780 ac_ext=c
36781 ac_cpp='$CPP $CPPFLAGS'
36782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36785
36786
36787 if test "$wxUSE_UNICODE" = yes; then
36788
36789 wchar_headers="#include <stdio.h>
36790 #include <wchar.h>"
36791 case "${host}" in
36792 *-*-solaris2* )
36793
36794 for ac_header in widec.h
36795 do
36796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36800 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 else
36802 cat >conftest.$ac_ext <<_ACEOF
36803 /* confdefs.h. */
36804 _ACEOF
36805 cat confdefs.h >>conftest.$ac_ext
36806 cat >>conftest.$ac_ext <<_ACEOF
36807 /* end confdefs.h. */
36808 $ac_includes_default
36809
36810 #include <$ac_header>
36811 _ACEOF
36812 rm -f conftest.$ac_objext
36813 if { (ac_try="$ac_compile"
36814 case "(($ac_try" in
36815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36816 *) ac_try_echo=$ac_try;;
36817 esac
36818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36819 (eval "$ac_compile") 2>conftest.er1
36820 ac_status=$?
36821 grep -v '^ *+' conftest.er1 >conftest.err
36822 rm -f conftest.er1
36823 cat conftest.err >&5
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); } && {
36826 test -z "$ac_c_werror_flag" ||
36827 test ! -s conftest.err
36828 } && test -s conftest.$ac_objext; then
36829 eval "$as_ac_Header=yes"
36830 else
36831 echo "$as_me: failed program was:" >&5
36832 sed 's/^/| /' conftest.$ac_ext >&5
36833
36834 eval "$as_ac_Header=no"
36835 fi
36836
36837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36838 fi
36839 ac_res=`eval echo '${'$as_ac_Header'}'`
36840 { echo "$as_me:$LINENO: result: $ac_res" >&5
36841 echo "${ECHO_T}$ac_res" >&6; }
36842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36843 cat >>confdefs.h <<_ACEOF
36844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36845 _ACEOF
36846
36847 fi
36848
36849 done
36850
36851 if test "$ac_cv_header_widec_h" = "yes"; then
36852 wchar_headers="$wchar_headers
36853 #include <widec.h>"
36854 fi
36855 esac
36856
36857
36858 for wx_func in putws fputws wprintf vswprintf vswscanf
36859 do
36860 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36861 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36862 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36863 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 else
36865
36866 cat >conftest.$ac_ext <<_ACEOF
36867
36868 /* confdefs.h. */
36869 _ACEOF
36870 cat confdefs.h >>conftest.$ac_ext
36871 cat >>conftest.$ac_ext <<_ACEOF
36872 /* end confdefs.h. */
36873
36874 $wchar_headers
36875 $ac_includes_default
36876
36877 int
36878 main ()
36879 {
36880
36881 #ifndef $wx_func
36882 &$wx_func;
36883 #endif
36884
36885
36886 ;
36887 return 0;
36888 }
36889
36890 _ACEOF
36891 rm -f conftest.$ac_objext conftest$ac_exeext
36892 if { (ac_try="$ac_link"
36893 case "(($ac_try" in
36894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36895 *) ac_try_echo=$ac_try;;
36896 esac
36897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36898 (eval "$ac_link") 2>conftest.er1
36899 ac_status=$?
36900 grep -v '^ *+' conftest.er1 >conftest.err
36901 rm -f conftest.er1
36902 cat conftest.err >&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); } && {
36905 test -z "$ac_c_werror_flag" ||
36906 test ! -s conftest.err
36907 } && test -s conftest$ac_exeext &&
36908 $as_test_x conftest$ac_exeext; then
36909 eval wx_cv_func_$wx_func=yes
36910 else
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36913
36914 eval wx_cv_func_$wx_func=no
36915 fi
36916
36917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36918 conftest$ac_exeext conftest.$ac_ext
36919
36920 fi
36921 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36922 { echo "$as_me:$LINENO: result: $ac_res" >&5
36923 echo "${ECHO_T}$ac_res" >&6; }
36924
36925 if eval test \$wx_cv_func_$wx_func = yes
36926 then
36927 cat >>confdefs.h <<_ACEOF
36928 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36929 _ACEOF
36930
36931
36932 else
36933 :
36934
36935 fi
36936 done
36937
36938
36939 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36940 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36941 cat >conftest.$ac_ext <<_ACEOF
36942 /* confdefs.h. */
36943 _ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947 #include <wchar.h>
36948 int
36949 main ()
36950 {
36951 &_vsnwprintf;
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 rm -f conftest.$ac_objext
36957 if { (ac_try="$ac_compile"
36958 case "(($ac_try" in
36959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36960 *) ac_try_echo=$ac_try;;
36961 esac
36962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36963 (eval "$ac_compile") 2>conftest.er1
36964 ac_status=$?
36965 grep -v '^ *+' conftest.er1 >conftest.err
36966 rm -f conftest.er1
36967 cat conftest.err >&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } && {
36970 test -z "$ac_c_werror_flag" ||
36971 test ! -s conftest.err
36972 } && test -s conftest.$ac_objext; then
36973 { echo "$as_me:$LINENO: result: yes" >&5
36974 echo "${ECHO_T}yes" >&6; }
36975 cat >>confdefs.h <<\_ACEOF
36976 #define HAVE__VSNWPRINTF 1
36977 _ACEOF
36978
36979 else
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.$ac_ext >&5
36982
36983 { echo "$as_me:$LINENO: result: no" >&5
36984 echo "${ECHO_T}no" >&6; }
36985 fi
36986
36987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36988 fi
36989
36990 if test "$wxUSE_FILE" = "yes"; then
36991
36992 for wx_func in fsync
36993 do
36994 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36995 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36996 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 else
36999
37000 cat >conftest.$ac_ext <<_ACEOF
37001
37002 /* confdefs.h. */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007
37008
37009 $ac_includes_default
37010
37011 int
37012 main ()
37013 {
37014
37015 #ifndef $wx_func
37016 &$wx_func;
37017 #endif
37018
37019
37020 ;
37021 return 0;
37022 }
37023
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (ac_try="$ac_link"
37027 case "(($ac_try" in
37028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37029 *) ac_try_echo=$ac_try;;
37030 esac
37031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37032 (eval "$ac_link") 2>conftest.er1
37033 ac_status=$?
37034 grep -v '^ *+' conftest.er1 >conftest.err
37035 rm -f conftest.er1
37036 cat conftest.err >&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } && {
37039 test -z "$ac_c_werror_flag" ||
37040 test ! -s conftest.err
37041 } && test -s conftest$ac_exeext &&
37042 $as_test_x conftest$ac_exeext; then
37043 eval wx_cv_func_$wx_func=yes
37044 else
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.$ac_ext >&5
37047
37048 eval wx_cv_func_$wx_func=no
37049 fi
37050
37051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37052 conftest$ac_exeext conftest.$ac_ext
37053
37054 fi
37055 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37056 { echo "$as_me:$LINENO: result: $ac_res" >&5
37057 echo "${ECHO_T}$ac_res" >&6; }
37058
37059 if eval test \$wx_cv_func_$wx_func = yes
37060 then
37061 cat >>confdefs.h <<_ACEOF
37062 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37063 _ACEOF
37064
37065
37066 else
37067 :
37068
37069 fi
37070 done
37071
37072 fi
37073
37074 ac_ext=cpp
37075 ac_cpp='$CXXCPP $CPPFLAGS'
37076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37079
37080
37081 for wx_func in round
37082 do
37083 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37084 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37085 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37086 echo $ECHO_N "(cached) $ECHO_C" >&6
37087 else
37088
37089 cat >conftest.$ac_ext <<_ACEOF
37090
37091 /* confdefs.h. */
37092 _ACEOF
37093 cat confdefs.h >>conftest.$ac_ext
37094 cat >>conftest.$ac_ext <<_ACEOF
37095 /* end confdefs.h. */
37096
37097 #include <math.h>
37098 $ac_includes_default
37099
37100 int
37101 main ()
37102 {
37103
37104 #ifndef $wx_func
37105 &$wx_func;
37106 #endif
37107
37108
37109 ;
37110 return 0;
37111 }
37112
37113 _ACEOF
37114 rm -f conftest.$ac_objext conftest$ac_exeext
37115 if { (ac_try="$ac_link"
37116 case "(($ac_try" in
37117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37118 *) ac_try_echo=$ac_try;;
37119 esac
37120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37121 (eval "$ac_link") 2>conftest.er1
37122 ac_status=$?
37123 grep -v '^ *+' conftest.er1 >conftest.err
37124 rm -f conftest.er1
37125 cat conftest.err >&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); } && {
37128 test -z "$ac_cxx_werror_flag" ||
37129 test ! -s conftest.err
37130 } && test -s conftest$ac_exeext &&
37131 $as_test_x conftest$ac_exeext; then
37132 eval wx_cv_func_$wx_func=yes
37133 else
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37136
37137 eval wx_cv_func_$wx_func=no
37138 fi
37139
37140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37141 conftest$ac_exeext conftest.$ac_ext
37142
37143 fi
37144 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37145 { echo "$as_me:$LINENO: result: $ac_res" >&5
37146 echo "${ECHO_T}$ac_res" >&6; }
37147
37148 if eval test \$wx_cv_func_$wx_func = yes
37149 then
37150 cat >>confdefs.h <<_ACEOF
37151 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37152 _ACEOF
37153
37154
37155 else
37156 :
37157
37158 fi
37159 done
37160
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37166
37167
37168 if test "$TOOLKIT" != "MSW"; then
37169
37170 if test "$wxUSE_LIBICONV" != "no" ; then
37171
37172
37173
37174 # Check whether --with-libiconv-prefix was given.
37175 if test "${with_libiconv_prefix+set}" = set; then
37176 withval=$with_libiconv_prefix;
37177 for dir in `echo "$withval" | tr : ' '`; do
37178 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37179 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37180 done
37181
37182 fi
37183
37184
37185 { echo "$as_me:$LINENO: checking for iconv" >&5
37186 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37187 if test "${am_cv_func_iconv+set}" = set; then
37188 echo $ECHO_N "(cached) $ECHO_C" >&6
37189 else
37190
37191 am_cv_func_iconv="no, consider installing GNU libiconv"
37192 am_cv_lib_iconv=no
37193 cat >conftest.$ac_ext <<_ACEOF
37194 /* confdefs.h. */
37195 _ACEOF
37196 cat confdefs.h >>conftest.$ac_ext
37197 cat >>conftest.$ac_ext <<_ACEOF
37198 /* end confdefs.h. */
37199 #include <stdlib.h>
37200 #include <iconv.h>
37201 int
37202 main ()
37203 {
37204 iconv_t cd = iconv_open("","");
37205 iconv(cd,NULL,NULL,NULL,NULL);
37206 iconv_close(cd);
37207 ;
37208 return 0;
37209 }
37210 _ACEOF
37211 rm -f conftest.$ac_objext conftest$ac_exeext
37212 if { (ac_try="$ac_link"
37213 case "(($ac_try" in
37214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37215 *) ac_try_echo=$ac_try;;
37216 esac
37217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37218 (eval "$ac_link") 2>conftest.er1
37219 ac_status=$?
37220 grep -v '^ *+' conftest.er1 >conftest.err
37221 rm -f conftest.er1
37222 cat conftest.err >&5
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); } && {
37225 test -z "$ac_c_werror_flag" ||
37226 test ! -s conftest.err
37227 } && test -s conftest$ac_exeext &&
37228 $as_test_x conftest$ac_exeext; then
37229 am_cv_func_iconv=yes
37230 else
37231 echo "$as_me: failed program was:" >&5
37232 sed 's/^/| /' conftest.$ac_ext >&5
37233
37234
37235 fi
37236
37237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37238 conftest$ac_exeext conftest.$ac_ext
37239 if test "$am_cv_func_iconv" != yes; then
37240 am_save_LIBS="$LIBS"
37241 LIBS="$LIBS -liconv"
37242 cat >conftest.$ac_ext <<_ACEOF
37243 /* confdefs.h. */
37244 _ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 #include <stdlib.h>
37249 #include <iconv.h>
37250 int
37251 main ()
37252 {
37253 iconv_t cd = iconv_open("","");
37254 iconv(cd,NULL,NULL,NULL,NULL);
37255 iconv_close(cd);
37256 ;
37257 return 0;
37258 }
37259 _ACEOF
37260 rm -f conftest.$ac_objext conftest$ac_exeext
37261 if { (ac_try="$ac_link"
37262 case "(($ac_try" in
37263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37264 *) ac_try_echo=$ac_try;;
37265 esac
37266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37267 (eval "$ac_link") 2>conftest.er1
37268 ac_status=$?
37269 grep -v '^ *+' conftest.er1 >conftest.err
37270 rm -f conftest.er1
37271 cat conftest.err >&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); } && {
37274 test -z "$ac_c_werror_flag" ||
37275 test ! -s conftest.err
37276 } && test -s conftest$ac_exeext &&
37277 $as_test_x conftest$ac_exeext; then
37278 am_cv_lib_iconv=yes
37279 am_cv_func_iconv=yes
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284
37285 fi
37286
37287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37288 conftest$ac_exeext conftest.$ac_ext
37289 LIBS="$am_save_LIBS"
37290 fi
37291
37292 fi
37293 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37294 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37295 if test "$am_cv_func_iconv" = yes; then
37296
37297 cat >>confdefs.h <<\_ACEOF
37298 #define HAVE_ICONV 1
37299 _ACEOF
37300
37301 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37302 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37303 if test "${wx_cv_func_iconv_const+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 else
37306 cat >conftest.$ac_ext <<_ACEOF
37307 /* confdefs.h. */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312
37313 #include <stdlib.h>
37314 #include <iconv.h>
37315 extern
37316 #ifdef __cplusplus
37317 "C"
37318 #endif
37319 #if defined(__STDC__) || defined(__cplusplus)
37320 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37321 #else
37322 size_t iconv();
37323 #endif
37324
37325 int
37326 main ()
37327 {
37328
37329 ;
37330 return 0;
37331 }
37332 _ACEOF
37333 rm -f conftest.$ac_objext
37334 if { (ac_try="$ac_compile"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37338 esac
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_compile") 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest.$ac_objext; then
37350 wx_cv_func_iconv_const="no"
37351 else
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.$ac_ext >&5
37354
37355 wx_cv_func_iconv_const="yes"
37356
37357 fi
37358
37359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37360
37361 fi
37362 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37363 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37364
37365 iconv_const=
37366 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37367 iconv_const="const"
37368 fi
37369
37370
37371 cat >>confdefs.h <<_ACEOF
37372 #define ICONV_CONST $iconv_const
37373 _ACEOF
37374
37375 fi
37376 LIBICONV=
37377 if test "$am_cv_lib_iconv" = yes; then
37378 LIBICONV="-liconv"
37379 fi
37380
37381
37382 LIBS="$LIBICONV $LIBS"
37383 fi
37384
37385 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37386
37387 for ac_func in sigaction
37388 do
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395 cat >conftest.$ac_ext <<_ACEOF
37396 /* confdefs.h. */
37397 _ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37403 #define $ac_func innocuous_$ac_func
37404
37405 /* System header to define __stub macros and hopefully few prototypes,
37406 which can conflict with char $ac_func (); below.
37407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37408 <limits.h> exists even on freestanding compilers. */
37409
37410 #ifdef __STDC__
37411 # include <limits.h>
37412 #else
37413 # include <assert.h>
37414 #endif
37415
37416 #undef $ac_func
37417
37418 /* Override any GCC internal prototype to avoid an error.
37419 Use char because int might match the return type of a GCC
37420 builtin and then its argument prototype would still apply. */
37421 #ifdef __cplusplus
37422 extern "C"
37423 #endif
37424 char $ac_func ();
37425 /* The GNU C library defines this for functions which it implements
37426 to always fail with ENOSYS. Some functions are actually named
37427 something starting with __ and the normal name is an alias. */
37428 #if defined __stub_$ac_func || defined __stub___$ac_func
37429 choke me
37430 #endif
37431
37432 int
37433 main ()
37434 {
37435 return $ac_func ();
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext conftest$ac_exeext
37441 if { (ac_try="$ac_link"
37442 case "(($ac_try" in
37443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37444 *) ac_try_echo=$ac_try;;
37445 esac
37446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37447 (eval "$ac_link") 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } && {
37454 test -z "$ac_c_werror_flag" ||
37455 test ! -s conftest.err
37456 } && test -s conftest$ac_exeext &&
37457 $as_test_x conftest$ac_exeext; then
37458 eval "$as_ac_var=yes"
37459 else
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.$ac_ext >&5
37462
37463 eval "$as_ac_var=no"
37464 fi
37465
37466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37467 conftest$ac_exeext conftest.$ac_ext
37468 fi
37469 ac_res=`eval echo '${'$as_ac_var'}'`
37470 { echo "$as_me:$LINENO: result: $ac_res" >&5
37471 echo "${ECHO_T}$ac_res" >&6; }
37472 if test `eval echo '${'$as_ac_var'}'` = yes; then
37473 cat >>confdefs.h <<_ACEOF
37474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37475 _ACEOF
37476
37477 fi
37478 done
37479
37480
37481 if test "$ac_cv_func_sigaction" = "no"; then
37482 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37483 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37484 wxUSE_ON_FATAL_EXCEPTION=no
37485 fi
37486
37487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37488 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37489 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37490 if test "${wx_cv_type_sa_handler+set}" = set; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 else
37493
37494 ac_ext=cpp
37495 ac_cpp='$CXXCPP $CPPFLAGS'
37496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37499
37500 cat >conftest.$ac_ext <<_ACEOF
37501 /* confdefs.h. */
37502 _ACEOF
37503 cat confdefs.h >>conftest.$ac_ext
37504 cat >>conftest.$ac_ext <<_ACEOF
37505 /* end confdefs.h. */
37506 #include <signal.h>
37507 int
37508 main ()
37509 {
37510
37511 extern void testSigHandler(int);
37512
37513 struct sigaction sa;
37514 sa.sa_handler = testSigHandler;
37515
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext
37521 if { (ac_try="$ac_compile"
37522 case "(($ac_try" in
37523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37524 *) ac_try_echo=$ac_try;;
37525 esac
37526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37527 (eval "$ac_compile") 2>conftest.er1
37528 ac_status=$?
37529 grep -v '^ *+' conftest.er1 >conftest.err
37530 rm -f conftest.er1
37531 cat conftest.err >&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); } && {
37534 test -z "$ac_cxx_werror_flag" ||
37535 test ! -s conftest.err
37536 } && test -s conftest.$ac_objext; then
37537
37538 wx_cv_type_sa_handler=int
37539
37540 else
37541 echo "$as_me: failed program was:" >&5
37542 sed 's/^/| /' conftest.$ac_ext >&5
37543
37544
37545 wx_cv_type_sa_handler=void
37546
37547 fi
37548
37549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37550 ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37555
37556
37557 fi
37558 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37559 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37560
37561 cat >>confdefs.h <<_ACEOF
37562 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37563 _ACEOF
37564
37565 fi
37566 fi
37567
37568 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37569 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37570 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37571 if test "${wx_cv_func_backtrace+set}" = set; then
37572 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 else
37574
37575 ac_ext=cpp
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37580
37581 cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h. */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h. */
37587 #include <execinfo.h>
37588 int
37589 main ()
37590 {
37591
37592 void *trace[1];
37593 char **messages;
37594
37595 backtrace(trace, 1);
37596 messages = backtrace_symbols(trace, 1);
37597
37598 ;
37599 return 0;
37600 }
37601 _ACEOF
37602 rm -f conftest.$ac_objext
37603 if { (ac_try="$ac_compile"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37606 *) ac_try_echo=$ac_try;;
37607 esac
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_compile") 2>conftest.er1
37610 ac_status=$?
37611 grep -v '^ *+' conftest.er1 >conftest.err
37612 rm -f conftest.er1
37613 cat conftest.err >&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_cxx_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest.$ac_objext; then
37619 wx_cv_func_backtrace=yes
37620 else
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.$ac_ext >&5
37623
37624 wx_cv_func_backtrace=no
37625
37626 fi
37627
37628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37629 ac_ext=c
37630 ac_cpp='$CPP $CPPFLAGS'
37631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37634
37635
37636
37637 fi
37638 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37639 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37640
37641
37642 if test "$wx_cv_func_backtrace" = "no"; then
37643 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37644 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37645 wxUSE_STACKWALKER=no
37646 else
37647 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37648 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37649 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652
37653 ac_ext=cpp
37654 ac_cpp='$CXXCPP $CPPFLAGS'
37655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37658
37659 cat >conftest.$ac_ext <<_ACEOF
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665 #include <cxxabi.h>
37666 int
37667 main ()
37668 {
37669
37670 int rc;
37671 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37672
37673 ;
37674 return 0;
37675 }
37676 _ACEOF
37677 rm -f conftest.$ac_objext conftest$ac_exeext
37678 if { (ac_try="$ac_link"
37679 case "(($ac_try" in
37680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37681 *) ac_try_echo=$ac_try;;
37682 esac
37683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37684 (eval "$ac_link") 2>conftest.er1
37685 ac_status=$?
37686 grep -v '^ *+' conftest.er1 >conftest.err
37687 rm -f conftest.er1
37688 cat conftest.err >&5
37689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37690 (exit $ac_status); } && {
37691 test -z "$ac_cxx_werror_flag" ||
37692 test ! -s conftest.err
37693 } && test -s conftest$ac_exeext &&
37694 $as_test_x conftest$ac_exeext; then
37695 wx_cv_func_cxa_demangle=yes
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37699
37700 wx_cv_func_cxa_demangle=no
37701
37702 fi
37703
37704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37705 conftest$ac_exeext conftest.$ac_ext
37706 ac_ext=c
37707 ac_cpp='$CPP $CPPFLAGS'
37708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37711
37712
37713
37714 fi
37715 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37716 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37717
37718 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37719 cat >>confdefs.h <<\_ACEOF
37720 #define HAVE_CXA_DEMANGLE 1
37721 _ACEOF
37722
37723 fi
37724 fi
37725 fi
37726
37727 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37728 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37729 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37730 wxUSE_STACKWALKER=no
37731 fi
37732
37733
37734
37735
37736 for ac_func in mkstemp mktemp
37737 do
37738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744 cat >conftest.$ac_ext <<_ACEOF
37745 /* confdefs.h. */
37746 _ACEOF
37747 cat confdefs.h >>conftest.$ac_ext
37748 cat >>conftest.$ac_ext <<_ACEOF
37749 /* end confdefs.h. */
37750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37752 #define $ac_func innocuous_$ac_func
37753
37754 /* System header to define __stub macros and hopefully few prototypes,
37755 which can conflict with char $ac_func (); below.
37756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37757 <limits.h> exists even on freestanding compilers. */
37758
37759 #ifdef __STDC__
37760 # include <limits.h>
37761 #else
37762 # include <assert.h>
37763 #endif
37764
37765 #undef $ac_func
37766
37767 /* Override any GCC internal prototype to avoid an error.
37768 Use char because int might match the return type of a GCC
37769 builtin and then its argument prototype would still apply. */
37770 #ifdef __cplusplus
37771 extern "C"
37772 #endif
37773 char $ac_func ();
37774 /* The GNU C library defines this for functions which it implements
37775 to always fail with ENOSYS. Some functions are actually named
37776 something starting with __ and the normal name is an alias. */
37777 #if defined __stub_$ac_func || defined __stub___$ac_func
37778 choke me
37779 #endif
37780
37781 int
37782 main ()
37783 {
37784 return $ac_func ();
37785 ;
37786 return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (ac_try="$ac_link"
37791 case "(($ac_try" in
37792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37793 *) ac_try_echo=$ac_try;;
37794 esac
37795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37796 (eval "$ac_link") 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } && {
37803 test -z "$ac_c_werror_flag" ||
37804 test ! -s conftest.err
37805 } && test -s conftest$ac_exeext &&
37806 $as_test_x conftest$ac_exeext; then
37807 eval "$as_ac_var=yes"
37808 else
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.$ac_ext >&5
37811
37812 eval "$as_ac_var=no"
37813 fi
37814
37815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37816 conftest$ac_exeext conftest.$ac_ext
37817 fi
37818 ac_res=`eval echo '${'$as_ac_var'}'`
37819 { echo "$as_me:$LINENO: result: $ac_res" >&5
37820 echo "${ECHO_T}$ac_res" >&6; }
37821 if test `eval echo '${'$as_ac_var'}'` = yes; then
37822 cat >>confdefs.h <<_ACEOF
37823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37824 _ACEOF
37825 break
37826 fi
37827 done
37828
37829
37830 { echo "$as_me:$LINENO: checking for statfs" >&5
37831 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37832 if test "${wx_cv_func_statfs+set}" = set; then
37833 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 else
37835 cat >conftest.$ac_ext <<_ACEOF
37836 /* confdefs.h. */
37837 _ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37841
37842 #if defined(__BSD__)
37843 #include <sys/param.h>
37844 #include <sys/mount.h>
37845 #else
37846 #include <sys/vfs.h>
37847 #endif
37848
37849 int
37850 main ()
37851 {
37852
37853 long l;
37854 struct statfs fs;
37855 statfs("/", &fs);
37856 l = fs.f_bsize;
37857 l += fs.f_blocks;
37858 l += fs.f_bavail;
37859
37860 ;
37861 return 0;
37862 }
37863 _ACEOF
37864 rm -f conftest.$ac_objext
37865 if { (ac_try="$ac_compile"
37866 case "(($ac_try" in
37867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37868 *) ac_try_echo=$ac_try;;
37869 esac
37870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37871 (eval "$ac_compile") 2>conftest.er1
37872 ac_status=$?
37873 grep -v '^ *+' conftest.er1 >conftest.err
37874 rm -f conftest.er1
37875 cat conftest.err >&5
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); } && {
37878 test -z "$ac_c_werror_flag" ||
37879 test ! -s conftest.err
37880 } && test -s conftest.$ac_objext; then
37881 wx_cv_func_statfs=yes
37882 else
37883 echo "$as_me: failed program was:" >&5
37884 sed 's/^/| /' conftest.$ac_ext >&5
37885
37886 wx_cv_func_statfs=no
37887
37888 fi
37889
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891
37892 fi
37893 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37894 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37895
37896 if test "$wx_cv_func_statfs" = "yes"; then
37897 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37898 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37899 if test "${wx_cv_func_statfs_decl+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37907
37908 cat >conftest.$ac_ext <<_ACEOF
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914
37915 #if defined(__BSD__)
37916 #include <sys/param.h>
37917 #include <sys/mount.h>
37918 #else
37919 #include <sys/vfs.h>
37920 #endif
37921
37922 int
37923 main ()
37924 {
37925
37926 struct statfs fs;
37927 statfs("", &fs);
37928
37929 ;
37930 return 0;
37931 }
37932 _ACEOF
37933 rm -f conftest.$ac_objext
37934 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
37948 test ! -s conftest.err
37949 } && test -s conftest.$ac_objext; then
37950 wx_cv_func_statfs_decl=yes
37951 else
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37954
37955 wx_cv_func_statfs_decl=no
37956
37957 fi
37958
37959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37960 ac_ext=c
37961 ac_cpp='$CPP $CPPFLAGS'
37962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37965
37966
37967 fi
37968 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37969 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37970
37971 if test "$wx_cv_func_statfs_decl" = "yes"; then
37972 cat >>confdefs.h <<\_ACEOF
37973 #define HAVE_STATFS_DECL 1
37974 _ACEOF
37975
37976 fi
37977
37978 wx_cv_type_statvfs_t="struct statfs"
37979 cat >>confdefs.h <<\_ACEOF
37980 #define HAVE_STATFS 1
37981 _ACEOF
37982
37983 else
37984 { echo "$as_me:$LINENO: checking for statvfs" >&5
37985 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37986 if test "${wx_cv_func_statvfs+set}" = set; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989 cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h. */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995
37996 #include <stddef.h>
37997 #include <sys/statvfs.h>
37998
37999 int
38000 main ()
38001 {
38002
38003 statvfs("/", NULL);
38004
38005 ;
38006 return 0;
38007 }
38008 _ACEOF
38009 rm -f conftest.$ac_objext
38010 if { (ac_try="$ac_compile"
38011 case "(($ac_try" in
38012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38013 *) ac_try_echo=$ac_try;;
38014 esac
38015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38016 (eval "$ac_compile") 2>conftest.er1
38017 ac_status=$?
38018 grep -v '^ *+' conftest.er1 >conftest.err
38019 rm -f conftest.er1
38020 cat conftest.err >&5
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); } && {
38023 test -z "$ac_c_werror_flag" ||
38024 test ! -s conftest.err
38025 } && test -s conftest.$ac_objext; then
38026 wx_cv_func_statvfs=yes
38027 else
38028 echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38030
38031 wx_cv_func_statvfs=no
38032
38033 fi
38034
38035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38036
38037 fi
38038 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38039 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38040
38041 if test "$wx_cv_func_statvfs" = "yes"; then
38042 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38043 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38044 if test "${wx_cv_type_statvfs_t+set}" = set; then
38045 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 else
38047 ac_ext=cpp
38048 ac_cpp='$CXXCPP $CPPFLAGS'
38049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38052
38053 cat >conftest.$ac_ext <<_ACEOF
38054 /* confdefs.h. */
38055 _ACEOF
38056 cat confdefs.h >>conftest.$ac_ext
38057 cat >>conftest.$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38059
38060 #include <sys/statvfs.h>
38061
38062 int
38063 main ()
38064 {
38065
38066 long l;
38067 statvfs_t fs;
38068 statvfs("/", &fs);
38069 l = fs.f_bsize;
38070 l += fs.f_blocks;
38071 l += fs.f_bavail;
38072
38073 ;
38074 return 0;
38075 }
38076 _ACEOF
38077 rm -f conftest.$ac_objext
38078 if { (ac_try="$ac_compile"
38079 case "(($ac_try" in
38080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38081 *) ac_try_echo=$ac_try;;
38082 esac
38083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38084 (eval "$ac_compile") 2>conftest.er1
38085 ac_status=$?
38086 grep -v '^ *+' conftest.er1 >conftest.err
38087 rm -f conftest.er1
38088 cat conftest.err >&5
38089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38090 (exit $ac_status); } && {
38091 test -z "$ac_cxx_werror_flag" ||
38092 test ! -s conftest.err
38093 } && test -s conftest.$ac_objext; then
38094 wx_cv_type_statvfs_t=statvfs_t
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38098
38099
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h. */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106
38107 #include <sys/statvfs.h>
38108
38109 int
38110 main ()
38111 {
38112
38113 long l;
38114 struct statvfs fs;
38115 statvfs("/", &fs);
38116 l = fs.f_bsize;
38117 l += fs.f_blocks;
38118 l += fs.f_bavail;
38119
38120 ;
38121 return 0;
38122 }
38123 _ACEOF
38124 rm -f conftest.$ac_objext
38125 if { (ac_try="$ac_compile"
38126 case "(($ac_try" in
38127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38128 *) ac_try_echo=$ac_try;;
38129 esac
38130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38131 (eval "$ac_compile") 2>conftest.er1
38132 ac_status=$?
38133 grep -v '^ *+' conftest.er1 >conftest.err
38134 rm -f conftest.er1
38135 cat conftest.err >&5
38136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38137 (exit $ac_status); } && {
38138 test -z "$ac_cxx_werror_flag" ||
38139 test ! -s conftest.err
38140 } && test -s conftest.$ac_objext; then
38141 wx_cv_type_statvfs_t="struct statvfs"
38142 else
38143 echo "$as_me: failed program was:" >&5
38144 sed 's/^/| /' conftest.$ac_ext >&5
38145
38146 wx_cv_type_statvfs_t="unknown"
38147
38148 fi
38149
38150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38151
38152
38153 fi
38154
38155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38156 ac_ext=c
38157 ac_cpp='$CPP $CPPFLAGS'
38158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38161
38162
38163 fi
38164 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38165 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38166
38167 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38168 cat >>confdefs.h <<\_ACEOF
38169 #define HAVE_STATVFS 1
38170 _ACEOF
38171
38172 fi
38173 else
38174 wx_cv_type_statvfs_t="unknown"
38175 fi
38176 fi
38177
38178 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38179 cat >>confdefs.h <<_ACEOF
38180 #define WX_STATFS_T $wx_cv_type_statvfs_t
38181 _ACEOF
38182
38183 else
38184 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38185 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38186 fi
38187
38188 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38189
38190
38191 for ac_func in fcntl flock
38192 do
38193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38196 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38197 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 else
38199 cat >conftest.$ac_ext <<_ACEOF
38200 /* confdefs.h. */
38201 _ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38207 #define $ac_func innocuous_$ac_func
38208
38209 /* System header to define __stub macros and hopefully few prototypes,
38210 which can conflict with char $ac_func (); below.
38211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38212 <limits.h> exists even on freestanding compilers. */
38213
38214 #ifdef __STDC__
38215 # include <limits.h>
38216 #else
38217 # include <assert.h>
38218 #endif
38219
38220 #undef $ac_func
38221
38222 /* Override any GCC internal prototype to avoid an error.
38223 Use char because int might match the return type of a GCC
38224 builtin and then its argument prototype would still apply. */
38225 #ifdef __cplusplus
38226 extern "C"
38227 #endif
38228 char $ac_func ();
38229 /* The GNU C library defines this for functions which it implements
38230 to always fail with ENOSYS. Some functions are actually named
38231 something starting with __ and the normal name is an alias. */
38232 #if defined __stub_$ac_func || defined __stub___$ac_func
38233 choke me
38234 #endif
38235
38236 int
38237 main ()
38238 {
38239 return $ac_func ();
38240 ;
38241 return 0;
38242 }
38243 _ACEOF
38244 rm -f conftest.$ac_objext conftest$ac_exeext
38245 if { (ac_try="$ac_link"
38246 case "(($ac_try" in
38247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38248 *) ac_try_echo=$ac_try;;
38249 esac
38250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38251 (eval "$ac_link") 2>conftest.er1
38252 ac_status=$?
38253 grep -v '^ *+' conftest.er1 >conftest.err
38254 rm -f conftest.er1
38255 cat conftest.err >&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); } && {
38258 test -z "$ac_c_werror_flag" ||
38259 test ! -s conftest.err
38260 } && test -s conftest$ac_exeext &&
38261 $as_test_x conftest$ac_exeext; then
38262 eval "$as_ac_var=yes"
38263 else
38264 echo "$as_me: failed program was:" >&5
38265 sed 's/^/| /' conftest.$ac_ext >&5
38266
38267 eval "$as_ac_var=no"
38268 fi
38269
38270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38271 conftest$ac_exeext conftest.$ac_ext
38272 fi
38273 ac_res=`eval echo '${'$as_ac_var'}'`
38274 { echo "$as_me:$LINENO: result: $ac_res" >&5
38275 echo "${ECHO_T}$ac_res" >&6; }
38276 if test `eval echo '${'$as_ac_var'}'` = yes; then
38277 cat >>confdefs.h <<_ACEOF
38278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38279 _ACEOF
38280 break
38281 fi
38282 done
38283
38284
38285 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38286 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38287 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38288 wxUSE_SNGLINST_CHECKER=no
38289 fi
38290 fi
38291
38292
38293
38294 for ac_func in setenv putenv
38295 do
38296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38300 echo $ECHO_N "(cached) $ECHO_C" >&6
38301 else
38302 cat >conftest.$ac_ext <<_ACEOF
38303 /* confdefs.h. */
38304 _ACEOF
38305 cat confdefs.h >>conftest.$ac_ext
38306 cat >>conftest.$ac_ext <<_ACEOF
38307 /* end confdefs.h. */
38308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38310 #define $ac_func innocuous_$ac_func
38311
38312 /* System header to define __stub macros and hopefully few prototypes,
38313 which can conflict with char $ac_func (); below.
38314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38315 <limits.h> exists even on freestanding compilers. */
38316
38317 #ifdef __STDC__
38318 # include <limits.h>
38319 #else
38320 # include <assert.h>
38321 #endif
38322
38323 #undef $ac_func
38324
38325 /* Override any GCC internal prototype to avoid an error.
38326 Use char because int might match the return type of a GCC
38327 builtin and then its argument prototype would still apply. */
38328 #ifdef __cplusplus
38329 extern "C"
38330 #endif
38331 char $ac_func ();
38332 /* The GNU C library defines this for functions which it implements
38333 to always fail with ENOSYS. Some functions are actually named
38334 something starting with __ and the normal name is an alias. */
38335 #if defined __stub_$ac_func || defined __stub___$ac_func
38336 choke me
38337 #endif
38338
38339 int
38340 main ()
38341 {
38342 return $ac_func ();
38343 ;
38344 return 0;
38345 }
38346 _ACEOF
38347 rm -f conftest.$ac_objext conftest$ac_exeext
38348 if { (ac_try="$ac_link"
38349 case "(($ac_try" in
38350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38351 *) ac_try_echo=$ac_try;;
38352 esac
38353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38354 (eval "$ac_link") 2>conftest.er1
38355 ac_status=$?
38356 grep -v '^ *+' conftest.er1 >conftest.err
38357 rm -f conftest.er1
38358 cat conftest.err >&5
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); } && {
38361 test -z "$ac_c_werror_flag" ||
38362 test ! -s conftest.err
38363 } && test -s conftest$ac_exeext &&
38364 $as_test_x conftest$ac_exeext; then
38365 eval "$as_ac_var=yes"
38366 else
38367 echo "$as_me: failed program was:" >&5
38368 sed 's/^/| /' conftest.$ac_ext >&5
38369
38370 eval "$as_ac_var=no"
38371 fi
38372
38373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38374 conftest$ac_exeext conftest.$ac_ext
38375 fi
38376 ac_res=`eval echo '${'$as_ac_var'}'`
38377 { echo "$as_me:$LINENO: result: $ac_res" >&5
38378 echo "${ECHO_T}$ac_res" >&6; }
38379 if test `eval echo '${'$as_ac_var'}'` = yes; then
38380 cat >>confdefs.h <<_ACEOF
38381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38382 _ACEOF
38383 break
38384 fi
38385 done
38386
38387 if test "$ac_cv_func_setenv" = "yes"; then
38388
38389 for ac_func in unsetenv
38390 do
38391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38395 echo $ECHO_N "(cached) $ECHO_C" >&6
38396 else
38397 cat >conftest.$ac_ext <<_ACEOF
38398 /* confdefs.h. */
38399 _ACEOF
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38405 #define $ac_func innocuous_$ac_func
38406
38407 /* System header to define __stub macros and hopefully few prototypes,
38408 which can conflict with char $ac_func (); below.
38409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38410 <limits.h> exists even on freestanding compilers. */
38411
38412 #ifdef __STDC__
38413 # include <limits.h>
38414 #else
38415 # include <assert.h>
38416 #endif
38417
38418 #undef $ac_func
38419
38420 /* Override any GCC internal prototype to avoid an error.
38421 Use char because int might match the return type of a GCC
38422 builtin and then its argument prototype would still apply. */
38423 #ifdef __cplusplus
38424 extern "C"
38425 #endif
38426 char $ac_func ();
38427 /* The GNU C library defines this for functions which it implements
38428 to always fail with ENOSYS. Some functions are actually named
38429 something starting with __ and the normal name is an alias. */
38430 #if defined __stub_$ac_func || defined __stub___$ac_func
38431 choke me
38432 #endif
38433
38434 int
38435 main ()
38436 {
38437 return $ac_func ();
38438 ;
38439 return 0;
38440 }
38441 _ACEOF
38442 rm -f conftest.$ac_objext conftest$ac_exeext
38443 if { (ac_try="$ac_link"
38444 case "(($ac_try" in
38445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38446 *) ac_try_echo=$ac_try;;
38447 esac
38448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38449 (eval "$ac_link") 2>conftest.er1
38450 ac_status=$?
38451 grep -v '^ *+' conftest.er1 >conftest.err
38452 rm -f conftest.er1
38453 cat conftest.err >&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); } && {
38456 test -z "$ac_c_werror_flag" ||
38457 test ! -s conftest.err
38458 } && test -s conftest$ac_exeext &&
38459 $as_test_x conftest$ac_exeext; then
38460 eval "$as_ac_var=yes"
38461 else
38462 echo "$as_me: failed program was:" >&5
38463 sed 's/^/| /' conftest.$ac_ext >&5
38464
38465 eval "$as_ac_var=no"
38466 fi
38467
38468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38469 conftest$ac_exeext conftest.$ac_ext
38470 fi
38471 ac_res=`eval echo '${'$as_ac_var'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474 if test `eval echo '${'$as_ac_var'}'` = yes; then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38477 _ACEOF
38478
38479 fi
38480 done
38481
38482 fi
38483
38484 HAVE_SOME_SLEEP_FUNC=0
38485 if test "$USE_BEOS" = 1; then
38486 cat >>confdefs.h <<\_ACEOF
38487 #define HAVE_SLEEP 1
38488 _ACEOF
38489
38490 HAVE_SOME_SLEEP_FUNC=1
38491 fi
38492
38493 if test "$USE_DARWIN" = 1; then
38494 cat >>confdefs.h <<\_ACEOF
38495 #define HAVE_USLEEP 1
38496 _ACEOF
38497
38498 HAVE_SOME_SLEEP_FUNC=1
38499 fi
38500
38501 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38502 POSIX4_LINK=
38503
38504 for ac_func in nanosleep
38505 do
38506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38520 #define $ac_func innocuous_$ac_func
38521
38522 /* System header to define __stub macros and hopefully few prototypes,
38523 which can conflict with char $ac_func (); below.
38524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38525 <limits.h> exists even on freestanding compilers. */
38526
38527 #ifdef __STDC__
38528 # include <limits.h>
38529 #else
38530 # include <assert.h>
38531 #endif
38532
38533 #undef $ac_func
38534
38535 /* Override any GCC internal prototype to avoid an error.
38536 Use char because int might match the return type of a GCC
38537 builtin and then its argument prototype would still apply. */
38538 #ifdef __cplusplus
38539 extern "C"
38540 #endif
38541 char $ac_func ();
38542 /* The GNU C library defines this for functions which it implements
38543 to always fail with ENOSYS. Some functions are actually named
38544 something starting with __ and the normal name is an alias. */
38545 #if defined __stub_$ac_func || defined __stub___$ac_func
38546 choke me
38547 #endif
38548
38549 int
38550 main ()
38551 {
38552 return $ac_func ();
38553 ;
38554 return 0;
38555 }
38556 _ACEOF
38557 rm -f conftest.$ac_objext conftest$ac_exeext
38558 if { (ac_try="$ac_link"
38559 case "(($ac_try" in
38560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38561 *) ac_try_echo=$ac_try;;
38562 esac
38563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38564 (eval "$ac_link") 2>conftest.er1
38565 ac_status=$?
38566 grep -v '^ *+' conftest.er1 >conftest.err
38567 rm -f conftest.er1
38568 cat conftest.err >&5
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); } && {
38571 test -z "$ac_c_werror_flag" ||
38572 test ! -s conftest.err
38573 } && test -s conftest$ac_exeext &&
38574 $as_test_x conftest$ac_exeext; then
38575 eval "$as_ac_var=yes"
38576 else
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.$ac_ext >&5
38579
38580 eval "$as_ac_var=no"
38581 fi
38582
38583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38584 conftest$ac_exeext conftest.$ac_ext
38585 fi
38586 ac_res=`eval echo '${'$as_ac_var'}'`
38587 { echo "$as_me:$LINENO: result: $ac_res" >&5
38588 echo "${ECHO_T}$ac_res" >&6; }
38589 if test `eval echo '${'$as_ac_var'}'` = yes; then
38590 cat >>confdefs.h <<_ACEOF
38591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38592 _ACEOF
38593 cat >>confdefs.h <<\_ACEOF
38594 #define HAVE_NANOSLEEP 1
38595 _ACEOF
38596
38597 else
38598
38599 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38600 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38601 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38602 echo $ECHO_N "(cached) $ECHO_C" >&6
38603 else
38604 ac_check_lib_save_LIBS=$LIBS
38605 LIBS="-lposix4 $LIBS"
38606 cat >conftest.$ac_ext <<_ACEOF
38607 /* confdefs.h. */
38608 _ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38612
38613 /* Override any GCC internal prototype to avoid an error.
38614 Use char because int might match the return type of a GCC
38615 builtin and then its argument prototype would still apply. */
38616 #ifdef __cplusplus
38617 extern "C"
38618 #endif
38619 char nanosleep ();
38620 int
38621 main ()
38622 {
38623 return nanosleep ();
38624 ;
38625 return 0;
38626 }
38627 _ACEOF
38628 rm -f conftest.$ac_objext conftest$ac_exeext
38629 if { (ac_try="$ac_link"
38630 case "(($ac_try" in
38631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38632 *) ac_try_echo=$ac_try;;
38633 esac
38634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38635 (eval "$ac_link") 2>conftest.er1
38636 ac_status=$?
38637 grep -v '^ *+' conftest.er1 >conftest.err
38638 rm -f conftest.er1
38639 cat conftest.err >&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); } && {
38642 test -z "$ac_c_werror_flag" ||
38643 test ! -s conftest.err
38644 } && test -s conftest$ac_exeext &&
38645 $as_test_x conftest$ac_exeext; then
38646 ac_cv_lib_posix4_nanosleep=yes
38647 else
38648 echo "$as_me: failed program was:" >&5
38649 sed 's/^/| /' conftest.$ac_ext >&5
38650
38651 ac_cv_lib_posix4_nanosleep=no
38652 fi
38653
38654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38655 conftest$ac_exeext conftest.$ac_ext
38656 LIBS=$ac_check_lib_save_LIBS
38657 fi
38658 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38659 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38660 if test $ac_cv_lib_posix4_nanosleep = yes; then
38661
38662 cat >>confdefs.h <<\_ACEOF
38663 #define HAVE_NANOSLEEP 1
38664 _ACEOF
38665
38666 POSIX4_LINK=" -lposix4"
38667
38668 else
38669
38670
38671 for wx_func in usleep
38672 do
38673 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38674 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38675 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38676 echo $ECHO_N "(cached) $ECHO_C" >&6
38677 else
38678
38679 cat >conftest.$ac_ext <<_ACEOF
38680
38681 /* confdefs.h. */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38686
38687
38688 $ac_includes_default
38689
38690 int
38691 main ()
38692 {
38693
38694 #ifndef $wx_func
38695 &$wx_func;
38696 #endif
38697
38698
38699 ;
38700 return 0;
38701 }
38702
38703 _ACEOF
38704 rm -f conftest.$ac_objext conftest$ac_exeext
38705 if { (ac_try="$ac_link"
38706 case "(($ac_try" in
38707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38708 *) ac_try_echo=$ac_try;;
38709 esac
38710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38711 (eval "$ac_link") 2>conftest.er1
38712 ac_status=$?
38713 grep -v '^ *+' conftest.er1 >conftest.err
38714 rm -f conftest.er1
38715 cat conftest.err >&5
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); } && {
38718 test -z "$ac_c_werror_flag" ||
38719 test ! -s conftest.err
38720 } && test -s conftest$ac_exeext &&
38721 $as_test_x conftest$ac_exeext; then
38722 eval wx_cv_func_$wx_func=yes
38723 else
38724 echo "$as_me: failed program was:" >&5
38725 sed 's/^/| /' conftest.$ac_ext >&5
38726
38727 eval wx_cv_func_$wx_func=no
38728 fi
38729
38730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38731 conftest$ac_exeext conftest.$ac_ext
38732
38733 fi
38734 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38735 { echo "$as_me:$LINENO: result: $ac_res" >&5
38736 echo "${ECHO_T}$ac_res" >&6; }
38737
38738 if eval test \$wx_cv_func_$wx_func = yes
38739 then
38740 cat >>confdefs.h <<_ACEOF
38741 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38742 _ACEOF
38743
38744
38745 else
38746 :
38747 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38748 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38749
38750 fi
38751 done
38752
38753
38754
38755 fi
38756
38757
38758
38759 fi
38760 done
38761
38762 fi
38763
38764
38765 for wx_func in uname
38766 do
38767 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38768 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38769 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38771 else
38772
38773 cat >conftest.$ac_ext <<_ACEOF
38774
38775 /* confdefs.h. */
38776 _ACEOF
38777 cat confdefs.h >>conftest.$ac_ext
38778 cat >>conftest.$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38780
38781 #include <sys/utsname.h>
38782 $ac_includes_default
38783
38784 int
38785 main ()
38786 {
38787
38788 #ifndef $wx_func
38789 &$wx_func;
38790 #endif
38791
38792
38793 ;
38794 return 0;
38795 }
38796
38797 _ACEOF
38798 rm -f conftest.$ac_objext conftest$ac_exeext
38799 if { (ac_try="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38802 *) ac_try_echo=$ac_try;;
38803 esac
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38806 ac_status=$?
38807 grep -v '^ *+' conftest.er1 >conftest.err
38808 rm -f conftest.er1
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest$ac_exeext &&
38815 $as_test_x conftest$ac_exeext; then
38816 eval wx_cv_func_$wx_func=yes
38817 else
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38820
38821 eval wx_cv_func_$wx_func=no
38822 fi
38823
38824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38825 conftest$ac_exeext conftest.$ac_ext
38826
38827 fi
38828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38829 { echo "$as_me:$LINENO: result: $ac_res" >&5
38830 echo "${ECHO_T}$ac_res" >&6; }
38831
38832 if eval test \$wx_cv_func_$wx_func = yes
38833 then
38834 cat >>confdefs.h <<_ACEOF
38835 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38836 _ACEOF
38837
38838
38839 else
38840 :
38841
38842 fi
38843 done
38844
38845 if test "$wx_cv_func_uname" != yes; then
38846
38847 for wx_func in gethostname
38848 do
38849 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38850 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38851 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38852 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 else
38854
38855 cat >conftest.$ac_ext <<_ACEOF
38856
38857 /* confdefs.h. */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38862
38863
38864 $ac_includes_default
38865
38866 int
38867 main ()
38868 {
38869
38870 #ifndef $wx_func
38871 &$wx_func;
38872 #endif
38873
38874
38875 ;
38876 return 0;
38877 }
38878
38879 _ACEOF
38880 rm -f conftest.$ac_objext conftest$ac_exeext
38881 if { (ac_try="$ac_link"
38882 case "(($ac_try" in
38883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38884 *) ac_try_echo=$ac_try;;
38885 esac
38886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38887 (eval "$ac_link") 2>conftest.er1
38888 ac_status=$?
38889 grep -v '^ *+' conftest.er1 >conftest.err
38890 rm -f conftest.er1
38891 cat conftest.err >&5
38892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38893 (exit $ac_status); } && {
38894 test -z "$ac_c_werror_flag" ||
38895 test ! -s conftest.err
38896 } && test -s conftest$ac_exeext &&
38897 $as_test_x conftest$ac_exeext; then
38898 eval wx_cv_func_$wx_func=yes
38899 else
38900 echo "$as_me: failed program was:" >&5
38901 sed 's/^/| /' conftest.$ac_ext >&5
38902
38903 eval wx_cv_func_$wx_func=no
38904 fi
38905
38906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38907 conftest$ac_exeext conftest.$ac_ext
38908
38909 fi
38910 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38911 { echo "$as_me:$LINENO: result: $ac_res" >&5
38912 echo "${ECHO_T}$ac_res" >&6; }
38913
38914 if eval test \$wx_cv_func_$wx_func = yes
38915 then
38916 cat >>confdefs.h <<_ACEOF
38917 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38918 _ACEOF
38919
38920
38921 else
38922 :
38923
38924 fi
38925 done
38926
38927 fi
38928
38929
38930 for wx_func in strtok_r
38931 do
38932 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38933 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38934 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38936 else
38937
38938 cat >conftest.$ac_ext <<_ACEOF
38939
38940 /* confdefs.h. */
38941 _ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945
38946 #define _REENTRANT
38947 $ac_includes_default
38948
38949 int
38950 main ()
38951 {
38952
38953 #ifndef $wx_func
38954 &$wx_func;
38955 #endif
38956
38957
38958 ;
38959 return 0;
38960 }
38961
38962 _ACEOF
38963 rm -f conftest.$ac_objext conftest$ac_exeext
38964 if { (ac_try="$ac_link"
38965 case "(($ac_try" in
38966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38967 *) ac_try_echo=$ac_try;;
38968 esac
38969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38970 (eval "$ac_link") 2>conftest.er1
38971 ac_status=$?
38972 grep -v '^ *+' conftest.er1 >conftest.err
38973 rm -f conftest.er1
38974 cat conftest.err >&5
38975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38976 (exit $ac_status); } && {
38977 test -z "$ac_c_werror_flag" ||
38978 test ! -s conftest.err
38979 } && test -s conftest$ac_exeext &&
38980 $as_test_x conftest$ac_exeext; then
38981 eval wx_cv_func_$wx_func=yes
38982 else
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38985
38986 eval wx_cv_func_$wx_func=no
38987 fi
38988
38989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38990 conftest$ac_exeext conftest.$ac_ext
38991
38992 fi
38993 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38994 { echo "$as_me:$LINENO: result: $ac_res" >&5
38995 echo "${ECHO_T}$ac_res" >&6; }
38996
38997 if eval test \$wx_cv_func_$wx_func = yes
38998 then
38999 cat >>confdefs.h <<_ACEOF
39000 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39001 _ACEOF
39002
39003
39004 else
39005 :
39006
39007 fi
39008 done
39009
39010
39011 INET_LINK=
39012
39013 for ac_func in inet_addr
39014 do
39015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39029 #define $ac_func innocuous_$ac_func
39030
39031 /* System header to define __stub macros and hopefully few prototypes,
39032 which can conflict with char $ac_func (); below.
39033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39034 <limits.h> exists even on freestanding compilers. */
39035
39036 #ifdef __STDC__
39037 # include <limits.h>
39038 #else
39039 # include <assert.h>
39040 #endif
39041
39042 #undef $ac_func
39043
39044 /* Override any GCC internal prototype to avoid an error.
39045 Use char because int might match the return type of a GCC
39046 builtin and then its argument prototype would still apply. */
39047 #ifdef __cplusplus
39048 extern "C"
39049 #endif
39050 char $ac_func ();
39051 /* The GNU C library defines this for functions which it implements
39052 to always fail with ENOSYS. Some functions are actually named
39053 something starting with __ and the normal name is an alias. */
39054 #if defined __stub_$ac_func || defined __stub___$ac_func
39055 choke me
39056 #endif
39057
39058 int
39059 main ()
39060 {
39061 return $ac_func ();
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 rm -f conftest.$ac_objext conftest$ac_exeext
39067 if { (ac_try="$ac_link"
39068 case "(($ac_try" in
39069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39070 *) ac_try_echo=$ac_try;;
39071 esac
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_link") 2>conftest.er1
39074 ac_status=$?
39075 grep -v '^ *+' conftest.er1 >conftest.err
39076 rm -f conftest.er1
39077 cat conftest.err >&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest$ac_exeext &&
39083 $as_test_x conftest$ac_exeext; then
39084 eval "$as_ac_var=yes"
39085 else
39086 echo "$as_me: failed program was:" >&5
39087 sed 's/^/| /' conftest.$ac_ext >&5
39088
39089 eval "$as_ac_var=no"
39090 fi
39091
39092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39093 conftest$ac_exeext conftest.$ac_ext
39094 fi
39095 ac_res=`eval echo '${'$as_ac_var'}'`
39096 { echo "$as_me:$LINENO: result: $ac_res" >&5
39097 echo "${ECHO_T}$ac_res" >&6; }
39098 if test `eval echo '${'$as_ac_var'}'` = yes; then
39099 cat >>confdefs.h <<_ACEOF
39100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39101 _ACEOF
39102 cat >>confdefs.h <<\_ACEOF
39103 #define HAVE_INET_ADDR 1
39104 _ACEOF
39105
39106 else
39107
39108 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39109 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39110 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39111 echo $ECHO_N "(cached) $ECHO_C" >&6
39112 else
39113 ac_check_lib_save_LIBS=$LIBS
39114 LIBS="-lnsl $LIBS"
39115 cat >conftest.$ac_ext <<_ACEOF
39116 /* confdefs.h. */
39117 _ACEOF
39118 cat confdefs.h >>conftest.$ac_ext
39119 cat >>conftest.$ac_ext <<_ACEOF
39120 /* end confdefs.h. */
39121
39122 /* Override any GCC internal prototype to avoid an error.
39123 Use char because int might match the return type of a GCC
39124 builtin and then its argument prototype would still apply. */
39125 #ifdef __cplusplus
39126 extern "C"
39127 #endif
39128 char inet_addr ();
39129 int
39130 main ()
39131 {
39132 return inet_addr ();
39133 ;
39134 return 0;
39135 }
39136 _ACEOF
39137 rm -f conftest.$ac_objext conftest$ac_exeext
39138 if { (ac_try="$ac_link"
39139 case "(($ac_try" in
39140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39141 *) ac_try_echo=$ac_try;;
39142 esac
39143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39144 (eval "$ac_link") 2>conftest.er1
39145 ac_status=$?
39146 grep -v '^ *+' conftest.er1 >conftest.err
39147 rm -f conftest.er1
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } && {
39151 test -z "$ac_c_werror_flag" ||
39152 test ! -s conftest.err
39153 } && test -s conftest$ac_exeext &&
39154 $as_test_x conftest$ac_exeext; then
39155 ac_cv_lib_nsl_inet_addr=yes
39156 else
39157 echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39159
39160 ac_cv_lib_nsl_inet_addr=no
39161 fi
39162
39163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39164 conftest$ac_exeext conftest.$ac_ext
39165 LIBS=$ac_check_lib_save_LIBS
39166 fi
39167 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39168 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39169 if test $ac_cv_lib_nsl_inet_addr = yes; then
39170 INET_LINK="nsl"
39171 else
39172
39173 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39174 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39175 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39176 echo $ECHO_N "(cached) $ECHO_C" >&6
39177 else
39178 ac_check_lib_save_LIBS=$LIBS
39179 LIBS="-lresolv $LIBS"
39180 cat >conftest.$ac_ext <<_ACEOF
39181 /* confdefs.h. */
39182 _ACEOF
39183 cat confdefs.h >>conftest.$ac_ext
39184 cat >>conftest.$ac_ext <<_ACEOF
39185 /* end confdefs.h. */
39186
39187 /* Override any GCC internal prototype to avoid an error.
39188 Use char because int might match the return type of a GCC
39189 builtin and then its argument prototype would still apply. */
39190 #ifdef __cplusplus
39191 extern "C"
39192 #endif
39193 char inet_addr ();
39194 int
39195 main ()
39196 {
39197 return inet_addr ();
39198 ;
39199 return 0;
39200 }
39201 _ACEOF
39202 rm -f conftest.$ac_objext conftest$ac_exeext
39203 if { (ac_try="$ac_link"
39204 case "(($ac_try" in
39205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39206 *) ac_try_echo=$ac_try;;
39207 esac
39208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39209 (eval "$ac_link") 2>conftest.er1
39210 ac_status=$?
39211 grep -v '^ *+' conftest.er1 >conftest.err
39212 rm -f conftest.er1
39213 cat conftest.err >&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } && {
39216 test -z "$ac_c_werror_flag" ||
39217 test ! -s conftest.err
39218 } && test -s conftest$ac_exeext &&
39219 $as_test_x conftest$ac_exeext; then
39220 ac_cv_lib_resolv_inet_addr=yes
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39224
39225 ac_cv_lib_resolv_inet_addr=no
39226 fi
39227
39228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39229 conftest$ac_exeext conftest.$ac_ext
39230 LIBS=$ac_check_lib_save_LIBS
39231 fi
39232 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39233 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39234 if test $ac_cv_lib_resolv_inet_addr = yes; then
39235 INET_LINK="resolv"
39236 else
39237
39238 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39239 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39240 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39241 echo $ECHO_N "(cached) $ECHO_C" >&6
39242 else
39243 ac_check_lib_save_LIBS=$LIBS
39244 LIBS="-lsocket $LIBS"
39245 cat >conftest.$ac_ext <<_ACEOF
39246 /* confdefs.h. */
39247 _ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251
39252 /* Override any GCC internal prototype to avoid an error.
39253 Use char because int might match the return type of a GCC
39254 builtin and then its argument prototype would still apply. */
39255 #ifdef __cplusplus
39256 extern "C"
39257 #endif
39258 char inet_addr ();
39259 int
39260 main ()
39261 {
39262 return inet_addr ();
39263 ;
39264 return 0;
39265 }
39266 _ACEOF
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (ac_try="$ac_link"
39269 case "(($ac_try" in
39270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39271 *) ac_try_echo=$ac_try;;
39272 esac
39273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39274 (eval "$ac_link") 2>conftest.er1
39275 ac_status=$?
39276 grep -v '^ *+' conftest.er1 >conftest.err
39277 rm -f conftest.er1
39278 cat conftest.err >&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } && {
39281 test -z "$ac_c_werror_flag" ||
39282 test ! -s conftest.err
39283 } && test -s conftest$ac_exeext &&
39284 $as_test_x conftest$ac_exeext; then
39285 ac_cv_lib_socket_inet_addr=yes
39286 else
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39289
39290 ac_cv_lib_socket_inet_addr=no
39291 fi
39292
39293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39294 conftest$ac_exeext conftest.$ac_ext
39295 LIBS=$ac_check_lib_save_LIBS
39296 fi
39297 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39298 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39299 if test $ac_cv_lib_socket_inet_addr = yes; then
39300 INET_LINK="socket"
39301
39302 fi
39303
39304
39305
39306 fi
39307
39308
39309
39310 fi
39311
39312
39313
39314 fi
39315 done
39316
39317
39318
39319 for ac_func in inet_aton
39320 do
39321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39322 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39324 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39327 cat >conftest.$ac_ext <<_ACEOF
39328 /* confdefs.h. */
39329 _ACEOF
39330 cat confdefs.h >>conftest.$ac_ext
39331 cat >>conftest.$ac_ext <<_ACEOF
39332 /* end confdefs.h. */
39333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39335 #define $ac_func innocuous_$ac_func
39336
39337 /* System header to define __stub macros and hopefully few prototypes,
39338 which can conflict with char $ac_func (); below.
39339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39340 <limits.h> exists even on freestanding compilers. */
39341
39342 #ifdef __STDC__
39343 # include <limits.h>
39344 #else
39345 # include <assert.h>
39346 #endif
39347
39348 #undef $ac_func
39349
39350 /* Override any GCC internal prototype to avoid an error.
39351 Use char because int might match the return type of a GCC
39352 builtin and then its argument prototype would still apply. */
39353 #ifdef __cplusplus
39354 extern "C"
39355 #endif
39356 char $ac_func ();
39357 /* The GNU C library defines this for functions which it implements
39358 to always fail with ENOSYS. Some functions are actually named
39359 something starting with __ and the normal name is an alias. */
39360 #if defined __stub_$ac_func || defined __stub___$ac_func
39361 choke me
39362 #endif
39363
39364 int
39365 main ()
39366 {
39367 return $ac_func ();
39368 ;
39369 return 0;
39370 }
39371 _ACEOF
39372 rm -f conftest.$ac_objext conftest$ac_exeext
39373 if { (ac_try="$ac_link"
39374 case "(($ac_try" in
39375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39376 *) ac_try_echo=$ac_try;;
39377 esac
39378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39379 (eval "$ac_link") 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } && {
39386 test -z "$ac_c_werror_flag" ||
39387 test ! -s conftest.err
39388 } && test -s conftest$ac_exeext &&
39389 $as_test_x conftest$ac_exeext; then
39390 eval "$as_ac_var=yes"
39391 else
39392 echo "$as_me: failed program was:" >&5
39393 sed 's/^/| /' conftest.$ac_ext >&5
39394
39395 eval "$as_ac_var=no"
39396 fi
39397
39398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39399 conftest$ac_exeext conftest.$ac_ext
39400 fi
39401 ac_res=`eval echo '${'$as_ac_var'}'`
39402 { echo "$as_me:$LINENO: result: $ac_res" >&5
39403 echo "${ECHO_T}$ac_res" >&6; }
39404 if test `eval echo '${'$as_ac_var'}'` = yes; then
39405 cat >>confdefs.h <<_ACEOF
39406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39407 _ACEOF
39408 cat >>confdefs.h <<\_ACEOF
39409 #define HAVE_INET_ATON 1
39410 _ACEOF
39411
39412 else
39413
39414 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39415 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39416 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39417 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39418 echo $ECHO_N "(cached) $ECHO_C" >&6
39419 else
39420 ac_check_lib_save_LIBS=$LIBS
39421 LIBS="-l$INET_LINK $LIBS"
39422 cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h. */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428
39429 /* Override any GCC internal prototype to avoid an error.
39430 Use char because int might match the return type of a GCC
39431 builtin and then its argument prototype would still apply. */
39432 #ifdef __cplusplus
39433 extern "C"
39434 #endif
39435 char inet_aton ();
39436 int
39437 main ()
39438 {
39439 return inet_aton ();
39440 ;
39441 return 0;
39442 }
39443 _ACEOF
39444 rm -f conftest.$ac_objext conftest$ac_exeext
39445 if { (ac_try="$ac_link"
39446 case "(($ac_try" in
39447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39448 *) ac_try_echo=$ac_try;;
39449 esac
39450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39451 (eval "$ac_link") 2>conftest.er1
39452 ac_status=$?
39453 grep -v '^ *+' conftest.er1 >conftest.err
39454 rm -f conftest.er1
39455 cat conftest.err >&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); } && {
39458 test -z "$ac_c_werror_flag" ||
39459 test ! -s conftest.err
39460 } && test -s conftest$ac_exeext &&
39461 $as_test_x conftest$ac_exeext; then
39462 eval "$as_ac_Lib=yes"
39463 else
39464 echo "$as_me: failed program was:" >&5
39465 sed 's/^/| /' conftest.$ac_ext >&5
39466
39467 eval "$as_ac_Lib=no"
39468 fi
39469
39470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39471 conftest$ac_exeext conftest.$ac_ext
39472 LIBS=$ac_check_lib_save_LIBS
39473 fi
39474 ac_res=`eval echo '${'$as_ac_Lib'}'`
39475 { echo "$as_me:$LINENO: result: $ac_res" >&5
39476 echo "${ECHO_T}$ac_res" >&6; }
39477 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39478 cat >>confdefs.h <<\_ACEOF
39479 #define HAVE_INET_ATON 1
39480 _ACEOF
39481
39482 fi
39483
39484
39485 fi
39486 done
39487
39488
39489 if test "x$INET_LINK" != "x"; then
39490 cat >>confdefs.h <<\_ACEOF
39491 #define HAVE_INET_ADDR 1
39492 _ACEOF
39493
39494 INET_LINK=" -l$INET_LINK"
39495 fi
39496
39497
39498 for wx_func in fdopen
39499 do
39500 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39502 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39503 echo $ECHO_N "(cached) $ECHO_C" >&6
39504 else
39505
39506 cat >conftest.$ac_ext <<_ACEOF
39507
39508 /* confdefs.h. */
39509 _ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513
39514
39515 $ac_includes_default
39516
39517 int
39518 main ()
39519 {
39520
39521 #ifndef $wx_func
39522 &$wx_func;
39523 #endif
39524
39525
39526 ;
39527 return 0;
39528 }
39529
39530 _ACEOF
39531 rm -f conftest.$ac_objext conftest$ac_exeext
39532 if { (ac_try="$ac_link"
39533 case "(($ac_try" in
39534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39535 *) ac_try_echo=$ac_try;;
39536 esac
39537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39538 (eval "$ac_link") 2>conftest.er1
39539 ac_status=$?
39540 grep -v '^ *+' conftest.er1 >conftest.err
39541 rm -f conftest.er1
39542 cat conftest.err >&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); } && {
39545 test -z "$ac_c_werror_flag" ||
39546 test ! -s conftest.err
39547 } && test -s conftest$ac_exeext &&
39548 $as_test_x conftest$ac_exeext; then
39549 eval wx_cv_func_$wx_func=yes
39550 else
39551 echo "$as_me: failed program was:" >&5
39552 sed 's/^/| /' conftest.$ac_ext >&5
39553
39554 eval wx_cv_func_$wx_func=no
39555 fi
39556
39557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39558 conftest$ac_exeext conftest.$ac_ext
39559
39560 fi
39561 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39562 { echo "$as_me:$LINENO: result: $ac_res" >&5
39563 echo "${ECHO_T}$ac_res" >&6; }
39564
39565 if eval test \$wx_cv_func_$wx_func = yes
39566 then
39567 cat >>confdefs.h <<_ACEOF
39568 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39569 _ACEOF
39570
39571
39572 else
39573 :
39574
39575 fi
39576 done
39577
39578
39579 if test "$wxUSE_TARSTREAM" = "yes"; then
39580
39581 for wx_func in sysconf
39582 do
39583 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39584 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39585 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39586 echo $ECHO_N "(cached) $ECHO_C" >&6
39587 else
39588
39589 cat >conftest.$ac_ext <<_ACEOF
39590
39591 /* confdefs.h. */
39592 _ACEOF
39593 cat confdefs.h >>conftest.$ac_ext
39594 cat >>conftest.$ac_ext <<_ACEOF
39595 /* end confdefs.h. */
39596
39597
39598 $ac_includes_default
39599
39600 int
39601 main ()
39602 {
39603
39604 #ifndef $wx_func
39605 &$wx_func;
39606 #endif
39607
39608
39609 ;
39610 return 0;
39611 }
39612
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (ac_try="$ac_link"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39618 *) ac_try_echo=$ac_try;;
39619 esac
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_link") 2>conftest.er1
39622 ac_status=$?
39623 grep -v '^ *+' conftest.er1 >conftest.err
39624 rm -f conftest.er1
39625 cat conftest.err >&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest$ac_exeext &&
39631 $as_test_x conftest$ac_exeext; then
39632 eval wx_cv_func_$wx_func=yes
39633 else
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39636
39637 eval wx_cv_func_$wx_func=no
39638 fi
39639
39640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39641 conftest$ac_exeext conftest.$ac_ext
39642
39643 fi
39644 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39645 { echo "$as_me:$LINENO: result: $ac_res" >&5
39646 echo "${ECHO_T}$ac_res" >&6; }
39647
39648 if eval test \$wx_cv_func_$wx_func = yes
39649 then
39650 cat >>confdefs.h <<_ACEOF
39651 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39652 _ACEOF
39653
39654
39655 else
39656 :
39657
39658 fi
39659 done
39660
39661
39662
39663 for wx_func in getpwuid_r
39664 do
39665 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39666 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39667 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39669 else
39670
39671 cat >conftest.$ac_ext <<_ACEOF
39672
39673 /* confdefs.h. */
39674 _ACEOF
39675 cat confdefs.h >>conftest.$ac_ext
39676 cat >>conftest.$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39678
39679
39680 #define _REENTRANT
39681 #include <pwd.h>
39682
39683 $ac_includes_default
39684
39685 int
39686 main ()
39687 {
39688
39689 #ifndef $wx_func
39690 &$wx_func;
39691 #endif
39692
39693 struct passwd pw, *ppw;
39694 char buf[1024];
39695 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39696
39697
39698 ;
39699 return 0;
39700 }
39701
39702 _ACEOF
39703 rm -f conftest.$ac_objext conftest$ac_exeext
39704 if { (ac_try="$ac_link"
39705 case "(($ac_try" in
39706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39707 *) ac_try_echo=$ac_try;;
39708 esac
39709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39710 (eval "$ac_link") 2>conftest.er1
39711 ac_status=$?
39712 grep -v '^ *+' conftest.er1 >conftest.err
39713 rm -f conftest.er1
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } && {
39717 test -z "$ac_c_werror_flag" ||
39718 test ! -s conftest.err
39719 } && test -s conftest$ac_exeext &&
39720 $as_test_x conftest$ac_exeext; then
39721 eval wx_cv_func_$wx_func=yes
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726 eval wx_cv_func_$wx_func=no
39727 fi
39728
39729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39730 conftest$ac_exeext conftest.$ac_ext
39731
39732 fi
39733 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39734 { echo "$as_me:$LINENO: result: $ac_res" >&5
39735 echo "${ECHO_T}$ac_res" >&6; }
39736
39737 if eval test \$wx_cv_func_$wx_func = yes
39738 then
39739 cat >>confdefs.h <<_ACEOF
39740 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39741 _ACEOF
39742
39743
39744 else
39745 :
39746
39747 fi
39748 done
39749
39750
39751
39752 for wx_func in getgrgid_r
39753 do
39754 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39755 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39756 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39757 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 else
39759
39760 cat >conftest.$ac_ext <<_ACEOF
39761
39762 /* confdefs.h. */
39763 _ACEOF
39764 cat confdefs.h >>conftest.$ac_ext
39765 cat >>conftest.$ac_ext <<_ACEOF
39766 /* end confdefs.h. */
39767
39768
39769 #define _REENTRANT
39770 #include <grp.h>
39771
39772 $ac_includes_default
39773
39774 int
39775 main ()
39776 {
39777
39778 #ifndef $wx_func
39779 &$wx_func;
39780 #endif
39781
39782 struct group grp, *pgrp;
39783 char buf[1024];
39784 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39785
39786
39787 ;
39788 return 0;
39789 }
39790
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (ac_try="$ac_link"
39794 case "(($ac_try" in
39795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39796 *) ac_try_echo=$ac_try;;
39797 esac
39798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39799 (eval "$ac_link") 2>conftest.er1
39800 ac_status=$?
39801 grep -v '^ *+' conftest.er1 >conftest.err
39802 rm -f conftest.er1
39803 cat conftest.err >&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } && {
39806 test -z "$ac_c_werror_flag" ||
39807 test ! -s conftest.err
39808 } && test -s conftest$ac_exeext &&
39809 $as_test_x conftest$ac_exeext; then
39810 eval wx_cv_func_$wx_func=yes
39811 else
39812 echo "$as_me: failed program was:" >&5
39813 sed 's/^/| /' conftest.$ac_ext >&5
39814
39815 eval wx_cv_func_$wx_func=no
39816 fi
39817
39818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39819 conftest$ac_exeext conftest.$ac_ext
39820
39821 fi
39822 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39823 { echo "$as_me:$LINENO: result: $ac_res" >&5
39824 echo "${ECHO_T}$ac_res" >&6; }
39825
39826 if eval test \$wx_cv_func_$wx_func = yes
39827 then
39828 cat >>confdefs.h <<_ACEOF
39829 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39830 _ACEOF
39831
39832
39833 else
39834 :
39835
39836 fi
39837 done
39838
39839 fi
39840
39841 fi
39842
39843
39844
39845 cat >confcache <<\_ACEOF
39846 # This file is a shell script that caches the results of configure
39847 # tests run on this system so they can be shared between configure
39848 # scripts and configure runs, see configure's option --config-cache.
39849 # It is not useful on other systems. If it contains results you don't
39850 # want to keep, you may remove or edit it.
39851 #
39852 # config.status only pays attention to the cache file if you give it
39853 # the --recheck option to rerun configure.
39854 #
39855 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39856 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39857 # following values.
39858
39859 _ACEOF
39860
39861 # The following way of writing the cache mishandles newlines in values,
39862 # but we know of no workaround that is simple, portable, and efficient.
39863 # So, we kill variables containing newlines.
39864 # Ultrix sh set writes to stderr and can't be redirected directly,
39865 # and sets the high bit in the cache file unless we assign to the vars.
39866 (
39867 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39868 eval ac_val=\$$ac_var
39869 case $ac_val in #(
39870 *${as_nl}*)
39871 case $ac_var in #(
39872 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39873 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39874 esac
39875 case $ac_var in #(
39876 _ | IFS | as_nl) ;; #(
39877 *) $as_unset $ac_var ;;
39878 esac ;;
39879 esac
39880 done
39881
39882 (set) 2>&1 |
39883 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39884 *${as_nl}ac_space=\ *)
39885 # `set' does not quote correctly, so add quotes (double-quote
39886 # substitution turns \\\\ into \\, and sed turns \\ into \).
39887 sed -n \
39888 "s/'/'\\\\''/g;
39889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39890 ;; #(
39891 *)
39892 # `set' quotes correctly as required by POSIX, so do not add quotes.
39893 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39894 ;;
39895 esac |
39896 sort
39897 ) |
39898 sed '
39899 /^ac_cv_env_/b end
39900 t clear
39901 :clear
39902 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39903 t end
39904 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39905 :end' >>confcache
39906 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39907 if test -w "$cache_file"; then
39908 test "x$cache_file" != "x/dev/null" &&
39909 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39910 echo "$as_me: updating cache $cache_file" >&6;}
39911 cat confcache >$cache_file
39912 else
39913 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39914 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39915 fi
39916 fi
39917 rm -f confcache
39918
39919
39920 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39921
39922
39923 THREADS_LINK=
39924 THREADS_CFLAGS=
39925
39926 if test "$wxUSE_THREADS" = "yes" ; then
39927 if test "$USE_BEOS" = 1; then
39928 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39929 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39930 wxUSE_THREADS="no"
39931 fi
39932 fi
39933
39934 if test "$wxUSE_THREADS" = "yes" ; then
39935
39936
39937 THREAD_OPTS="-pthread"
39938 if test "x$SUNCXX" = xyes; then
39939 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39940 fi
39941
39942 case "${host}" in
39943 *-*-solaris2* | *-*-sunos4* )
39944 if test "x$GCC" = "xyes"; then
39945 THREAD_OPTS="-pthreads $THREAD_OPTS"
39946 fi
39947 ;;
39948 *-*-freebsd*)
39949 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39950 ;;
39951 *-*-darwin* | *-*-cygwin* )
39952 THREAD_OPTS=""
39953 ;;
39954 *-*-aix*)
39955 THREAD_OPTS="pthreads"
39956 ;;
39957 *-hp-hpux* )
39958 if test "x$GCC" = "xyes"; then
39959 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39960 THREAD_OPTS=""
39961 else
39962 THREAD_OPTS="-mt"
39963 fi
39964 ;;
39965
39966 *-*-irix* )
39967 if test "x$GCC" = "xyes"; then
39968 THREAD_OPTS=""
39969 fi
39970 ;;
39971
39972 *-*-qnx*)
39973 THREAD_OPTS=""
39974 ;;
39975
39976 *-*-*UnixWare*)
39977 if test "x$GCC" != "xyes"; then
39978 THREAD_OPTS="-Ethread"
39979 fi
39980 ;;
39981 esac
39982
39983 case "${host}" in
39984 *-*-qnx*)
39985 THREAD_OPTS="none pthread"
39986 ;;
39987
39988 *)
39989 THREAD_OPTS="$THREAD_OPTS pthread none"
39990 ;;
39991 esac
39992
39993 THREADS_OK=no
39994 for flag in $THREAD_OPTS; do
39995 case $flag in
39996 none)
39997 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39998 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39999 ;;
40000
40001 -*)
40002 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40003 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40004 THREADS_CFLAGS="$flag"
40005 ;;
40006
40007 *)
40008 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40009 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40010 THREADS_LINK="-l$flag"
40011 ;;
40012 esac
40013
40014 save_LIBS="$LIBS"
40015 save_CFLAGS="$CFLAGS"
40016 LIBS="$THREADS_LINK $LIBS"
40017 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40018
40019 cat >conftest.$ac_ext <<_ACEOF
40020 /* confdefs.h. */
40021 _ACEOF
40022 cat confdefs.h >>conftest.$ac_ext
40023 cat >>conftest.$ac_ext <<_ACEOF
40024 /* end confdefs.h. */
40025 #include <pthread.h>
40026 int
40027 main ()
40028 {
40029 pthread_create(0,0,0,0);
40030 ;
40031 return 0;
40032 }
40033 _ACEOF
40034 rm -f conftest.$ac_objext conftest$ac_exeext
40035 if { (ac_try="$ac_link"
40036 case "(($ac_try" in
40037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40038 *) ac_try_echo=$ac_try;;
40039 esac
40040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40041 (eval "$ac_link") 2>conftest.er1
40042 ac_status=$?
40043 grep -v '^ *+' conftest.er1 >conftest.err
40044 rm -f conftest.er1
40045 cat conftest.err >&5
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } && {
40048 test -z "$ac_c_werror_flag" ||
40049 test ! -s conftest.err
40050 } && test -s conftest$ac_exeext &&
40051 $as_test_x conftest$ac_exeext; then
40052 THREADS_OK=yes
40053 else
40054 echo "$as_me: failed program was:" >&5
40055 sed 's/^/| /' conftest.$ac_ext >&5
40056
40057
40058 fi
40059
40060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40061 conftest$ac_exeext conftest.$ac_ext
40062
40063 LIBS="$save_LIBS"
40064 CFLAGS="$save_CFLAGS"
40065
40066 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40067 echo "${ECHO_T}$THREADS_OK" >&6; }
40068 if test "x$THREADS_OK" = "xyes"; then
40069 break;
40070 fi
40071
40072 THREADS_LINK=""
40073 THREADS_CFLAGS=""
40074 done
40075
40076 if test "x$THREADS_OK" != "xyes"; then
40077 wxUSE_THREADS=no
40078 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40079 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40080 else
40081 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40082 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40083 LIBS="$THREADS_LINK $LIBS"
40084
40085 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40086 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40087 flag=no
40088 case "${host}" in
40089 *-aix*)
40090 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40091 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40092 flag="-D_THREAD_SAFE"
40093 ;;
40094 *-freebsd*)
40095 flag="-D_THREAD_SAFE"
40096 ;;
40097 *-hp-hpux* )
40098 flag="-D_REENTRANT"
40099 if test "x$GCC" != "xyes"; then
40100 flag="$flag -D_RWSTD_MULTI_THREAD"
40101 fi
40102 ;;
40103 *solaris* | alpha*-osf*)
40104 flag="-D_REENTRANT"
40105 ;;
40106 esac
40107 { echo "$as_me:$LINENO: result: ${flag}" >&5
40108 echo "${ECHO_T}${flag}" >&6; }
40109 if test "x$flag" != xno; then
40110 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40111 fi
40112
40113 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40114 fi
40115 fi
40116
40117 if test "$wxUSE_THREADS" = "yes" ; then
40118
40119 for ac_func in thr_setconcurrency
40120 do
40121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40125 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 else
40127 cat >conftest.$ac_ext <<_ACEOF
40128 /* confdefs.h. */
40129 _ACEOF
40130 cat confdefs.h >>conftest.$ac_ext
40131 cat >>conftest.$ac_ext <<_ACEOF
40132 /* end confdefs.h. */
40133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40135 #define $ac_func innocuous_$ac_func
40136
40137 /* System header to define __stub macros and hopefully few prototypes,
40138 which can conflict with char $ac_func (); below.
40139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40140 <limits.h> exists even on freestanding compilers. */
40141
40142 #ifdef __STDC__
40143 # include <limits.h>
40144 #else
40145 # include <assert.h>
40146 #endif
40147
40148 #undef $ac_func
40149
40150 /* Override any GCC internal prototype to avoid an error.
40151 Use char because int might match the return type of a GCC
40152 builtin and then its argument prototype would still apply. */
40153 #ifdef __cplusplus
40154 extern "C"
40155 #endif
40156 char $ac_func ();
40157 /* The GNU C library defines this for functions which it implements
40158 to always fail with ENOSYS. Some functions are actually named
40159 something starting with __ and the normal name is an alias. */
40160 #if defined __stub_$ac_func || defined __stub___$ac_func
40161 choke me
40162 #endif
40163
40164 int
40165 main ()
40166 {
40167 return $ac_func ();
40168 ;
40169 return 0;
40170 }
40171 _ACEOF
40172 rm -f conftest.$ac_objext conftest$ac_exeext
40173 if { (ac_try="$ac_link"
40174 case "(($ac_try" in
40175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40176 *) ac_try_echo=$ac_try;;
40177 esac
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_link") 2>conftest.er1
40180 ac_status=$?
40181 grep -v '^ *+' conftest.er1 >conftest.err
40182 rm -f conftest.er1
40183 cat conftest.err >&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest$ac_exeext &&
40189 $as_test_x conftest$ac_exeext; then
40190 eval "$as_ac_var=yes"
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195 eval "$as_ac_var=no"
40196 fi
40197
40198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40199 conftest$ac_exeext conftest.$ac_ext
40200 fi
40201 ac_res=`eval echo '${'$as_ac_var'}'`
40202 { echo "$as_me:$LINENO: result: $ac_res" >&5
40203 echo "${ECHO_T}$ac_res" >&6; }
40204 if test `eval echo '${'$as_ac_var'}'` = yes; then
40205 cat >>confdefs.h <<_ACEOF
40206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40207 _ACEOF
40208
40209 fi
40210 done
40211
40212
40213 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40214 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40215 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218
40219 ac_ext=cpp
40220 ac_cpp='$CXXCPP $CPPFLAGS'
40221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224
40225 cat >conftest.$ac_ext <<_ACEOF
40226 /* confdefs.h. */
40227 _ACEOF
40228 cat confdefs.h >>conftest.$ac_ext
40229 cat >>conftest.$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40231 #include <pthread.h>
40232 void ThreadCleanupFunc(void *p);
40233
40234 int
40235 main ()
40236 {
40237
40238 void *p;
40239 pthread_cleanup_push(ThreadCleanupFunc, p);
40240 pthread_cleanup_pop(0);
40241
40242 ;
40243 return 0;
40244 }
40245 _ACEOF
40246 rm -f conftest.$ac_objext
40247 if { (ac_try="$ac_compile"
40248 case "(($ac_try" in
40249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40250 *) ac_try_echo=$ac_try;;
40251 esac
40252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40253 (eval "$ac_compile") 2>conftest.er1
40254 ac_status=$?
40255 grep -v '^ *+' conftest.er1 >conftest.err
40256 rm -f conftest.er1
40257 cat conftest.err >&5
40258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40259 (exit $ac_status); } && {
40260 test -z "$ac_cxx_werror_flag" ||
40261 test ! -s conftest.err
40262 } && test -s conftest.$ac_objext; then
40263
40264 wx_cv_func_pthread_cleanup=yes
40265
40266 else
40267 echo "$as_me: failed program was:" >&5
40268 sed 's/^/| /' conftest.$ac_ext >&5
40269
40270
40271 wx_cv_func_pthread_cleanup=no
40272
40273
40274 fi
40275
40276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40277 ac_ext=c
40278 ac_cpp='$CPP $CPPFLAGS'
40279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40282
40283
40284 fi
40285 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40286 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40287 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40288 cat >>confdefs.h <<\_ACEOF
40289 #define wxHAVE_PTHREAD_CLEANUP 1
40290 _ACEOF
40291
40292 fi
40293
40294
40295 for ac_header in sched.h
40296 do
40297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40298 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40301 echo $ECHO_N "(cached) $ECHO_C" >&6
40302 else
40303 cat >conftest.$ac_ext <<_ACEOF
40304 /* confdefs.h. */
40305 _ACEOF
40306 cat confdefs.h >>conftest.$ac_ext
40307 cat >>conftest.$ac_ext <<_ACEOF
40308 /* end confdefs.h. */
40309 $ac_includes_default
40310
40311 #include <$ac_header>
40312 _ACEOF
40313 rm -f conftest.$ac_objext
40314 if { (ac_try="$ac_compile"
40315 case "(($ac_try" in
40316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40317 *) ac_try_echo=$ac_try;;
40318 esac
40319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40320 (eval "$ac_compile") 2>conftest.er1
40321 ac_status=$?
40322 grep -v '^ *+' conftest.er1 >conftest.err
40323 rm -f conftest.er1
40324 cat conftest.err >&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); } && {
40327 test -z "$ac_c_werror_flag" ||
40328 test ! -s conftest.err
40329 } && test -s conftest.$ac_objext; then
40330 eval "$as_ac_Header=yes"
40331 else
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.$ac_ext >&5
40334
40335 eval "$as_ac_Header=no"
40336 fi
40337
40338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40339 fi
40340 ac_res=`eval echo '${'$as_ac_Header'}'`
40341 { echo "$as_me:$LINENO: result: $ac_res" >&5
40342 echo "${ECHO_T}$ac_res" >&6; }
40343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40344 cat >>confdefs.h <<_ACEOF
40345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40346 _ACEOF
40347
40348 fi
40349
40350 done
40351
40352 if test "$ac_cv_header_sched_h" = "yes"; then
40353 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40354 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40355 if test "${ac_cv_func_sched_yield+set}" = set; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40357 else
40358 cat >conftest.$ac_ext <<_ACEOF
40359 /* confdefs.h. */
40360 _ACEOF
40361 cat confdefs.h >>conftest.$ac_ext
40362 cat >>conftest.$ac_ext <<_ACEOF
40363 /* end confdefs.h. */
40364 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40366 #define sched_yield innocuous_sched_yield
40367
40368 /* System header to define __stub macros and hopefully few prototypes,
40369 which can conflict with char sched_yield (); below.
40370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40371 <limits.h> exists even on freestanding compilers. */
40372
40373 #ifdef __STDC__
40374 # include <limits.h>
40375 #else
40376 # include <assert.h>
40377 #endif
40378
40379 #undef sched_yield
40380
40381 /* Override any GCC internal prototype to avoid an error.
40382 Use char because int might match the return type of a GCC
40383 builtin and then its argument prototype would still apply. */
40384 #ifdef __cplusplus
40385 extern "C"
40386 #endif
40387 char sched_yield ();
40388 /* The GNU C library defines this for functions which it implements
40389 to always fail with ENOSYS. Some functions are actually named
40390 something starting with __ and the normal name is an alias. */
40391 #if defined __stub_sched_yield || defined __stub___sched_yield
40392 choke me
40393 #endif
40394
40395 int
40396 main ()
40397 {
40398 return sched_yield ();
40399 ;
40400 return 0;
40401 }
40402 _ACEOF
40403 rm -f conftest.$ac_objext conftest$ac_exeext
40404 if { (ac_try="$ac_link"
40405 case "(($ac_try" in
40406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40407 *) ac_try_echo=$ac_try;;
40408 esac
40409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40410 (eval "$ac_link") 2>conftest.er1
40411 ac_status=$?
40412 grep -v '^ *+' conftest.er1 >conftest.err
40413 rm -f conftest.er1
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } && {
40417 test -z "$ac_c_werror_flag" ||
40418 test ! -s conftest.err
40419 } && test -s conftest$ac_exeext &&
40420 $as_test_x conftest$ac_exeext; then
40421 ac_cv_func_sched_yield=yes
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 ac_cv_func_sched_yield=no
40427 fi
40428
40429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40430 conftest$ac_exeext conftest.$ac_ext
40431 fi
40432 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40433 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40434 if test $ac_cv_func_sched_yield = yes; then
40435 cat >>confdefs.h <<\_ACEOF
40436 #define HAVE_SCHED_YIELD 1
40437 _ACEOF
40438
40439 else
40440
40441 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40442 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40443 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40444 echo $ECHO_N "(cached) $ECHO_C" >&6
40445 else
40446 ac_check_lib_save_LIBS=$LIBS
40447 LIBS="-lposix4 $LIBS"
40448 cat >conftest.$ac_ext <<_ACEOF
40449 /* confdefs.h. */
40450 _ACEOF
40451 cat confdefs.h >>conftest.$ac_ext
40452 cat >>conftest.$ac_ext <<_ACEOF
40453 /* end confdefs.h. */
40454
40455 /* Override any GCC internal prototype to avoid an error.
40456 Use char because int might match the return type of a GCC
40457 builtin and then its argument prototype would still apply. */
40458 #ifdef __cplusplus
40459 extern "C"
40460 #endif
40461 char sched_yield ();
40462 int
40463 main ()
40464 {
40465 return sched_yield ();
40466 ;
40467 return 0;
40468 }
40469 _ACEOF
40470 rm -f conftest.$ac_objext conftest$ac_exeext
40471 if { (ac_try="$ac_link"
40472 case "(($ac_try" in
40473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40474 *) ac_try_echo=$ac_try;;
40475 esac
40476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40477 (eval "$ac_link") 2>conftest.er1
40478 ac_status=$?
40479 grep -v '^ *+' conftest.er1 >conftest.err
40480 rm -f conftest.er1
40481 cat conftest.err >&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); } && {
40484 test -z "$ac_c_werror_flag" ||
40485 test ! -s conftest.err
40486 } && test -s conftest$ac_exeext &&
40487 $as_test_x conftest$ac_exeext; then
40488 ac_cv_lib_posix4_sched_yield=yes
40489 else
40490 echo "$as_me: failed program was:" >&5
40491 sed 's/^/| /' conftest.$ac_ext >&5
40492
40493 ac_cv_lib_posix4_sched_yield=no
40494 fi
40495
40496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40497 conftest$ac_exeext conftest.$ac_ext
40498 LIBS=$ac_check_lib_save_LIBS
40499 fi
40500 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40501 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40502 if test $ac_cv_lib_posix4_sched_yield = yes; then
40503 cat >>confdefs.h <<\_ACEOF
40504 #define HAVE_SCHED_YIELD 1
40505 _ACEOF
40506 POSIX4_LINK=" -lposix4"
40507 else
40508 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40509 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40510
40511 fi
40512
40513
40514
40515 fi
40516
40517 fi
40518
40519 HAVE_PRIOR_FUNCS=0
40520 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40521 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40522 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40523 echo $ECHO_N "(cached) $ECHO_C" >&6
40524 else
40525 cat >conftest.$ac_ext <<_ACEOF
40526 /* confdefs.h. */
40527 _ACEOF
40528 cat confdefs.h >>conftest.$ac_ext
40529 cat >>conftest.$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40531 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40533 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40534
40535 /* System header to define __stub macros and hopefully few prototypes,
40536 which can conflict with char pthread_attr_getschedpolicy (); below.
40537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40538 <limits.h> exists even on freestanding compilers. */
40539
40540 #ifdef __STDC__
40541 # include <limits.h>
40542 #else
40543 # include <assert.h>
40544 #endif
40545
40546 #undef pthread_attr_getschedpolicy
40547
40548 /* Override any GCC internal prototype to avoid an error.
40549 Use char because int might match the return type of a GCC
40550 builtin and then its argument prototype would still apply. */
40551 #ifdef __cplusplus
40552 extern "C"
40553 #endif
40554 char pthread_attr_getschedpolicy ();
40555 /* The GNU C library defines this for functions which it implements
40556 to always fail with ENOSYS. Some functions are actually named
40557 something starting with __ and the normal name is an alias. */
40558 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40559 choke me
40560 #endif
40561
40562 int
40563 main ()
40564 {
40565 return pthread_attr_getschedpolicy ();
40566 ;
40567 return 0;
40568 }
40569 _ACEOF
40570 rm -f conftest.$ac_objext conftest$ac_exeext
40571 if { (ac_try="$ac_link"
40572 case "(($ac_try" in
40573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40574 *) ac_try_echo=$ac_try;;
40575 esac
40576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40577 (eval "$ac_link") 2>conftest.er1
40578 ac_status=$?
40579 grep -v '^ *+' conftest.er1 >conftest.err
40580 rm -f conftest.er1
40581 cat conftest.err >&5
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); } && {
40584 test -z "$ac_c_werror_flag" ||
40585 test ! -s conftest.err
40586 } && test -s conftest$ac_exeext &&
40587 $as_test_x conftest$ac_exeext; then
40588 ac_cv_func_pthread_attr_getschedpolicy=yes
40589 else
40590 echo "$as_me: failed program was:" >&5
40591 sed 's/^/| /' conftest.$ac_ext >&5
40592
40593 ac_cv_func_pthread_attr_getschedpolicy=no
40594 fi
40595
40596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40597 conftest$ac_exeext conftest.$ac_ext
40598 fi
40599 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40600 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40601 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40602 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40603 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40604 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 else
40607 cat >conftest.$ac_ext <<_ACEOF
40608 /* confdefs.h. */
40609 _ACEOF
40610 cat confdefs.h >>conftest.$ac_ext
40611 cat >>conftest.$ac_ext <<_ACEOF
40612 /* end confdefs.h. */
40613 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40615 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40616
40617 /* System header to define __stub macros and hopefully few prototypes,
40618 which can conflict with char pthread_attr_setschedparam (); below.
40619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40620 <limits.h> exists even on freestanding compilers. */
40621
40622 #ifdef __STDC__
40623 # include <limits.h>
40624 #else
40625 # include <assert.h>
40626 #endif
40627
40628 #undef pthread_attr_setschedparam
40629
40630 /* Override any GCC internal prototype to avoid an error.
40631 Use char because int might match the return type of a GCC
40632 builtin and then its argument prototype would still apply. */
40633 #ifdef __cplusplus
40634 extern "C"
40635 #endif
40636 char pthread_attr_setschedparam ();
40637 /* The GNU C library defines this for functions which it implements
40638 to always fail with ENOSYS. Some functions are actually named
40639 something starting with __ and the normal name is an alias. */
40640 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40641 choke me
40642 #endif
40643
40644 int
40645 main ()
40646 {
40647 return pthread_attr_setschedparam ();
40648 ;
40649 return 0;
40650 }
40651 _ACEOF
40652 rm -f conftest.$ac_objext conftest$ac_exeext
40653 if { (ac_try="$ac_link"
40654 case "(($ac_try" in
40655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40656 *) ac_try_echo=$ac_try;;
40657 esac
40658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40659 (eval "$ac_link") 2>conftest.er1
40660 ac_status=$?
40661 grep -v '^ *+' conftest.er1 >conftest.err
40662 rm -f conftest.er1
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } && {
40666 test -z "$ac_c_werror_flag" ||
40667 test ! -s conftest.err
40668 } && test -s conftest$ac_exeext &&
40669 $as_test_x conftest$ac_exeext; then
40670 ac_cv_func_pthread_attr_setschedparam=yes
40671 else
40672 echo "$as_me: failed program was:" >&5
40673 sed 's/^/| /' conftest.$ac_ext >&5
40674
40675 ac_cv_func_pthread_attr_setschedparam=no
40676 fi
40677
40678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40679 conftest$ac_exeext conftest.$ac_ext
40680 fi
40681 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40682 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40683 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40684 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40685 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40686 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40687 echo $ECHO_N "(cached) $ECHO_C" >&6
40688 else
40689 cat >conftest.$ac_ext <<_ACEOF
40690 /* confdefs.h. */
40691 _ACEOF
40692 cat confdefs.h >>conftest.$ac_ext
40693 cat >>conftest.$ac_ext <<_ACEOF
40694 /* end confdefs.h. */
40695 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40697 #define sched_get_priority_max innocuous_sched_get_priority_max
40698
40699 /* System header to define __stub macros and hopefully few prototypes,
40700 which can conflict with char sched_get_priority_max (); below.
40701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40702 <limits.h> exists even on freestanding compilers. */
40703
40704 #ifdef __STDC__
40705 # include <limits.h>
40706 #else
40707 # include <assert.h>
40708 #endif
40709
40710 #undef sched_get_priority_max
40711
40712 /* Override any GCC internal prototype to avoid an error.
40713 Use char because int might match the return type of a GCC
40714 builtin and then its argument prototype would still apply. */
40715 #ifdef __cplusplus
40716 extern "C"
40717 #endif
40718 char sched_get_priority_max ();
40719 /* The GNU C library defines this for functions which it implements
40720 to always fail with ENOSYS. Some functions are actually named
40721 something starting with __ and the normal name is an alias. */
40722 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40723 choke me
40724 #endif
40725
40726 int
40727 main ()
40728 {
40729 return sched_get_priority_max ();
40730 ;
40731 return 0;
40732 }
40733 _ACEOF
40734 rm -f conftest.$ac_objext conftest$ac_exeext
40735 if { (ac_try="$ac_link"
40736 case "(($ac_try" in
40737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40738 *) ac_try_echo=$ac_try;;
40739 esac
40740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40741 (eval "$ac_link") 2>conftest.er1
40742 ac_status=$?
40743 grep -v '^ *+' conftest.er1 >conftest.err
40744 rm -f conftest.er1
40745 cat conftest.err >&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); } && {
40748 test -z "$ac_c_werror_flag" ||
40749 test ! -s conftest.err
40750 } && test -s conftest$ac_exeext &&
40751 $as_test_x conftest$ac_exeext; then
40752 ac_cv_func_sched_get_priority_max=yes
40753 else
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40756
40757 ac_cv_func_sched_get_priority_max=no
40758 fi
40759
40760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40761 conftest$ac_exeext conftest.$ac_ext
40762 fi
40763 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40764 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40765 if test $ac_cv_func_sched_get_priority_max = yes; then
40766 HAVE_PRIOR_FUNCS=1
40767 else
40768 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40769 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40770 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 else
40773 ac_check_lib_save_LIBS=$LIBS
40774 LIBS="-lposix4 $LIBS"
40775 cat >conftest.$ac_ext <<_ACEOF
40776 /* confdefs.h. */
40777 _ACEOF
40778 cat confdefs.h >>conftest.$ac_ext
40779 cat >>conftest.$ac_ext <<_ACEOF
40780 /* end confdefs.h. */
40781
40782 /* Override any GCC internal prototype to avoid an error.
40783 Use char because int might match the return type of a GCC
40784 builtin and then its argument prototype would still apply. */
40785 #ifdef __cplusplus
40786 extern "C"
40787 #endif
40788 char sched_get_priority_max ();
40789 int
40790 main ()
40791 {
40792 return sched_get_priority_max ();
40793 ;
40794 return 0;
40795 }
40796 _ACEOF
40797 rm -f conftest.$ac_objext conftest$ac_exeext
40798 if { (ac_try="$ac_link"
40799 case "(($ac_try" in
40800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40801 *) ac_try_echo=$ac_try;;
40802 esac
40803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40804 (eval "$ac_link") 2>conftest.er1
40805 ac_status=$?
40806 grep -v '^ *+' conftest.er1 >conftest.err
40807 rm -f conftest.er1
40808 cat conftest.err >&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && {
40811 test -z "$ac_c_werror_flag" ||
40812 test ! -s conftest.err
40813 } && test -s conftest$ac_exeext &&
40814 $as_test_x conftest$ac_exeext; then
40815 ac_cv_lib_posix4_sched_get_priority_max=yes
40816 else
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820 ac_cv_lib_posix4_sched_get_priority_max=no
40821 fi
40822
40823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40824 conftest$ac_exeext conftest.$ac_ext
40825 LIBS=$ac_check_lib_save_LIBS
40826 fi
40827 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40828 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40829 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40830
40831 HAVE_PRIOR_FUNCS=1
40832 POSIX4_LINK=" -lposix4"
40833
40834 fi
40835
40836
40837 fi
40838
40839
40840 fi
40841
40842
40843 fi
40844
40845
40846 if test "$HAVE_PRIOR_FUNCS" = 1; then
40847 cat >>confdefs.h <<\_ACEOF
40848 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40849 _ACEOF
40850
40851 else
40852 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40853 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40854 fi
40855
40856 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40857 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40858 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40859 echo $ECHO_N "(cached) $ECHO_C" >&6
40860 else
40861 cat >conftest.$ac_ext <<_ACEOF
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define pthread_cancel innocuous_pthread_cancel
40870
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char pthread_cancel (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40875
40876 #ifdef __STDC__
40877 # include <limits.h>
40878 #else
40879 # include <assert.h>
40880 #endif
40881
40882 #undef pthread_cancel
40883
40884 /* Override any GCC internal prototype to avoid an error.
40885 Use char because int might match the return type of a GCC
40886 builtin and then its argument prototype would still apply. */
40887 #ifdef __cplusplus
40888 extern "C"
40889 #endif
40890 char pthread_cancel ();
40891 /* The GNU C library defines this for functions which it implements
40892 to always fail with ENOSYS. Some functions are actually named
40893 something starting with __ and the normal name is an alias. */
40894 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40895 choke me
40896 #endif
40897
40898 int
40899 main ()
40900 {
40901 return pthread_cancel ();
40902 ;
40903 return 0;
40904 }
40905 _ACEOF
40906 rm -f conftest.$ac_objext conftest$ac_exeext
40907 if { (ac_try="$ac_link"
40908 case "(($ac_try" in
40909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40910 *) ac_try_echo=$ac_try;;
40911 esac
40912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40913 (eval "$ac_link") 2>conftest.er1
40914 ac_status=$?
40915 grep -v '^ *+' conftest.er1 >conftest.err
40916 rm -f conftest.er1
40917 cat conftest.err >&5
40918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40919 (exit $ac_status); } && {
40920 test -z "$ac_c_werror_flag" ||
40921 test ! -s conftest.err
40922 } && test -s conftest$ac_exeext &&
40923 $as_test_x conftest$ac_exeext; then
40924 ac_cv_func_pthread_cancel=yes
40925 else
40926 echo "$as_me: failed program was:" >&5
40927 sed 's/^/| /' conftest.$ac_ext >&5
40928
40929 ac_cv_func_pthread_cancel=no
40930 fi
40931
40932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40933 conftest$ac_exeext conftest.$ac_ext
40934 fi
40935 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40936 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40937 if test $ac_cv_func_pthread_cancel = yes; then
40938 cat >>confdefs.h <<\_ACEOF
40939 #define HAVE_PTHREAD_CANCEL 1
40940 _ACEOF
40941
40942 else
40943 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40944 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40945 fi
40946
40947
40948 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40949 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40950 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40951 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 else
40953 cat >conftest.$ac_ext <<_ACEOF
40954 /* confdefs.h. */
40955 _ACEOF
40956 cat confdefs.h >>conftest.$ac_ext
40957 cat >>conftest.$ac_ext <<_ACEOF
40958 /* end confdefs.h. */
40959 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40961 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40962
40963 /* System header to define __stub macros and hopefully few prototypes,
40964 which can conflict with char pthread_mutex_timedlock (); below.
40965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40966 <limits.h> exists even on freestanding compilers. */
40967
40968 #ifdef __STDC__
40969 # include <limits.h>
40970 #else
40971 # include <assert.h>
40972 #endif
40973
40974 #undef pthread_mutex_timedlock
40975
40976 /* Override any GCC internal prototype to avoid an error.
40977 Use char because int might match the return type of a GCC
40978 builtin and then its argument prototype would still apply. */
40979 #ifdef __cplusplus
40980 extern "C"
40981 #endif
40982 char pthread_mutex_timedlock ();
40983 /* The GNU C library defines this for functions which it implements
40984 to always fail with ENOSYS. Some functions are actually named
40985 something starting with __ and the normal name is an alias. */
40986 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40987 choke me
40988 #endif
40989
40990 int
40991 main ()
40992 {
40993 return pthread_mutex_timedlock ();
40994 ;
40995 return 0;
40996 }
40997 _ACEOF
40998 rm -f conftest.$ac_objext conftest$ac_exeext
40999 if { (ac_try="$ac_link"
41000 case "(($ac_try" in
41001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41002 *) ac_try_echo=$ac_try;;
41003 esac
41004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41005 (eval "$ac_link") 2>conftest.er1
41006 ac_status=$?
41007 grep -v '^ *+' conftest.er1 >conftest.err
41008 rm -f conftest.er1
41009 cat conftest.err >&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); } && {
41012 test -z "$ac_c_werror_flag" ||
41013 test ! -s conftest.err
41014 } && test -s conftest$ac_exeext &&
41015 $as_test_x conftest$ac_exeext; then
41016 ac_cv_func_pthread_mutex_timedlock=yes
41017 else
41018 echo "$as_me: failed program was:" >&5
41019 sed 's/^/| /' conftest.$ac_ext >&5
41020
41021 ac_cv_func_pthread_mutex_timedlock=no
41022 fi
41023
41024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41025 conftest$ac_exeext conftest.$ac_ext
41026 fi
41027 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41028 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41029 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41030 cat >>confdefs.h <<\_ACEOF
41031 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41032 _ACEOF
41033
41034 else
41035 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41036 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41037 fi
41038
41039
41040 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41041 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41042 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41043 echo $ECHO_N "(cached) $ECHO_C" >&6
41044 else
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41053 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41054
41055 /* System header to define __stub macros and hopefully few prototypes,
41056 which can conflict with char pthread_attr_setstacksize (); below.
41057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41058 <limits.h> exists even on freestanding compilers. */
41059
41060 #ifdef __STDC__
41061 # include <limits.h>
41062 #else
41063 # include <assert.h>
41064 #endif
41065
41066 #undef pthread_attr_setstacksize
41067
41068 /* Override any GCC internal prototype to avoid an error.
41069 Use char because int might match the return type of a GCC
41070 builtin and then its argument prototype would still apply. */
41071 #ifdef __cplusplus
41072 extern "C"
41073 #endif
41074 char pthread_attr_setstacksize ();
41075 /* The GNU C library defines this for functions which it implements
41076 to always fail with ENOSYS. Some functions are actually named
41077 something starting with __ and the normal name is an alias. */
41078 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41079 choke me
41080 #endif
41081
41082 int
41083 main ()
41084 {
41085 return pthread_attr_setstacksize ();
41086 ;
41087 return 0;
41088 }
41089 _ACEOF
41090 rm -f conftest.$ac_objext conftest$ac_exeext
41091 if { (ac_try="$ac_link"
41092 case "(($ac_try" in
41093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41094 *) ac_try_echo=$ac_try;;
41095 esac
41096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41097 (eval "$ac_link") 2>conftest.er1
41098 ac_status=$?
41099 grep -v '^ *+' conftest.er1 >conftest.err
41100 rm -f conftest.er1
41101 cat conftest.err >&5
41102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41103 (exit $ac_status); } && {
41104 test -z "$ac_c_werror_flag" ||
41105 test ! -s conftest.err
41106 } && test -s conftest$ac_exeext &&
41107 $as_test_x conftest$ac_exeext; then
41108 ac_cv_func_pthread_attr_setstacksize=yes
41109 else
41110 echo "$as_me: failed program was:" >&5
41111 sed 's/^/| /' conftest.$ac_ext >&5
41112
41113 ac_cv_func_pthread_attr_setstacksize=no
41114 fi
41115
41116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41117 conftest$ac_exeext conftest.$ac_ext
41118 fi
41119 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41120 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41121 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41122 cat >>confdefs.h <<\_ACEOF
41123 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41124 _ACEOF
41125
41126 fi
41127
41128
41129
41130 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41131 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41132 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41133 echo $ECHO_N "(cached) $ECHO_C" >&6
41134 else
41135
41136 cat >conftest.$ac_ext <<_ACEOF
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 #include <pthread.h>
41143 int
41144 main ()
41145 {
41146
41147 pthread_mutexattr_t attr;
41148 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41149
41150 ;
41151 return 0;
41152 }
41153 _ACEOF
41154 rm -f conftest.$ac_objext
41155 if { (ac_try="$ac_compile"
41156 case "(($ac_try" in
41157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41158 *) ac_try_echo=$ac_try;;
41159 esac
41160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41161 (eval "$ac_compile") 2>conftest.er1
41162 ac_status=$?
41163 grep -v '^ *+' conftest.er1 >conftest.err
41164 rm -f conftest.er1
41165 cat conftest.err >&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } && {
41168 test -z "$ac_c_werror_flag" ||
41169 test ! -s conftest.err
41170 } && test -s conftest.$ac_objext; then
41171 wx_cv_type_pthread_mutexattr_t=yes
41172 else
41173 echo "$as_me: failed program was:" >&5
41174 sed 's/^/| /' conftest.$ac_ext >&5
41175
41176 wx_cv_type_pthread_mutexattr_t=no
41177
41178 fi
41179
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181
41182 fi
41183 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41184 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41185
41186 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41187 cat >>confdefs.h <<\_ACEOF
41188 #define HAVE_PTHREAD_MUTEXATTR_T 1
41189 _ACEOF
41190
41191
41192 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41193 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41194 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41195 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 else
41197
41198 cat >conftest.$ac_ext <<_ACEOF
41199 /* confdefs.h. */
41200 _ACEOF
41201 cat confdefs.h >>conftest.$ac_ext
41202 cat >>conftest.$ac_ext <<_ACEOF
41203 /* end confdefs.h. */
41204 #include <pthread.h>
41205 int
41206 main ()
41207 {
41208
41209 pthread_mutexattr_t attr;
41210 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41211
41212 ;
41213 return 0;
41214 }
41215 _ACEOF
41216 rm -f conftest.$ac_objext
41217 if { (ac_try="$ac_compile"
41218 case "(($ac_try" in
41219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41220 *) ac_try_echo=$ac_try;;
41221 esac
41222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41223 (eval "$ac_compile") 2>conftest.er1
41224 ac_status=$?
41225 grep -v '^ *+' conftest.er1 >conftest.err
41226 rm -f conftest.er1
41227 cat conftest.err >&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); } && {
41230 test -z "$ac_c_werror_flag" ||
41231 test ! -s conftest.err
41232 } && test -s conftest.$ac_objext; then
41233 wx_cv_func_pthread_mutexattr_settype_decl=yes
41234 else
41235 echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238 wx_cv_func_pthread_mutexattr_settype_decl=no
41239
41240 fi
41241
41242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41243
41244 fi
41245 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41246 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41247 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41248 cat >>confdefs.h <<\_ACEOF
41249 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41250 _ACEOF
41251
41252 fi
41253 else
41254 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41255 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41256 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 else
41259
41260 cat >conftest.$ac_ext <<_ACEOF
41261 /* confdefs.h. */
41262 _ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h. */
41266 #include <pthread.h>
41267 int
41268 main ()
41269 {
41270
41271 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41272
41273 ;
41274 return 0;
41275 }
41276 _ACEOF
41277 rm -f conftest.$ac_objext
41278 if { (ac_try="$ac_compile"
41279 case "(($ac_try" in
41280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41281 *) ac_try_echo=$ac_try;;
41282 esac
41283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41284 (eval "$ac_compile") 2>conftest.er1
41285 ac_status=$?
41286 grep -v '^ *+' conftest.er1 >conftest.err
41287 rm -f conftest.er1
41288 cat conftest.err >&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); } && {
41291 test -z "$ac_c_werror_flag" ||
41292 test ! -s conftest.err
41293 } && test -s conftest.$ac_objext; then
41294
41295 wx_cv_type_pthread_rec_mutex_init=yes
41296
41297 else
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41300
41301
41302 wx_cv_type_pthread_rec_mutex_init=no
41303
41304
41305 fi
41306
41307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41308
41309 fi
41310 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41311 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41312 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41313 cat >>confdefs.h <<\_ACEOF
41314 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41315 _ACEOF
41316
41317 else
41318 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41319 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41320 fi
41321 fi
41322
41323 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41324 if test "$USE_NETBSD" = 1; then
41325 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41326 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41327 wxUSE_COMPILER_TLS=no
41328 else
41329 wxUSE_COMPILER_TLS=yes
41330 fi
41331 fi
41332
41333 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41334 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41335 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41336 if test "${wx_cv_cc___thread+set}" = set; then
41337 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 else
41339
41340 cat >conftest.$ac_ext <<_ACEOF
41341 /* confdefs.h. */
41342 _ACEOF
41343 cat confdefs.h >>conftest.$ac_ext
41344 cat >>conftest.$ac_ext <<_ACEOF
41345 /* end confdefs.h. */
41346 #include <pthread.h>
41347 int
41348 main ()
41349 {
41350
41351 static __thread int n = 0;
41352 static __thread int *p = 0;
41353
41354 ;
41355 return 0;
41356 }
41357 _ACEOF
41358 rm -f conftest.$ac_objext
41359 if { (ac_try="$ac_compile"
41360 case "(($ac_try" in
41361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41362 *) ac_try_echo=$ac_try;;
41363 esac
41364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41365 (eval "$ac_compile") 2>conftest.er1
41366 ac_status=$?
41367 grep -v '^ *+' conftest.er1 >conftest.err
41368 rm -f conftest.er1
41369 cat conftest.err >&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } && {
41372 test -z "$ac_c_werror_flag" ||
41373 test ! -s conftest.err
41374 } && test -s conftest.$ac_objext; then
41375 wx_cv_cc___thread=yes
41376 else
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41379
41380 wx_cv_cc___thread=no
41381
41382 fi
41383
41384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41385
41386
41387 fi
41388 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41389 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41390
41391 if test "$wx_cv_cc___thread" = "yes"; then
41392
41393 GXX_VERSION=""
41394
41395
41396
41397 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41398 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41399
41400 if test "x$GCC" = "xyes" ; then
41401
41402 if test -z "" ; then
41403
41404 ax_gcc_option_test="int main()
41405 {
41406 return 0;
41407 }"
41408
41409 else
41410
41411 ax_gcc_option_test=""
41412
41413 fi
41414
41415
41416 # Dump the test program to file
41417 cat <<EOF > conftest.c
41418 $ax_gcc_option_test
41419 EOF
41420
41421 # Dump back the file to the log, useful for debugging purposes
41422 { ac_try='cat conftest.c 1>&5'
41423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424 (eval $ac_try) 2>&5
41425 ac_status=$?
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); }; }
41428
41429 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41431 (eval $ac_try) 2>&5
41432 ac_status=$?
41433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41434 (exit $ac_status); }; } ; then
41435
41436 { echo "$as_me:$LINENO: result: yes" >&5
41437 echo "${ECHO_T}yes" >&6; }
41438
41439 ax_gcc_version_option=yes
41440
41441
41442 else
41443
41444 { echo "$as_me:$LINENO: result: no" >&5
41445 echo "${ECHO_T}no" >&6; }
41446
41447 ax_gcc_version_option=no
41448
41449
41450 fi
41451
41452
41453 else
41454
41455 { echo "$as_me:$LINENO: result: no gcc available" >&5
41456 echo "${ECHO_T}no gcc available" >&6; }
41457
41458 fi
41459
41460
41461 if test "x$GXX" = "xyes"; then
41462
41463 if test "x$ax_gxx_version_option" != "no"; then
41464
41465 { echo "$as_me:$LINENO: checking gxx version" >&5
41466 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41467 if test "${ax_cv_gxx_version+set}" = set; then
41468 echo $ECHO_N "(cached) $ECHO_C" >&6
41469 else
41470
41471 ax_cv_gxx_version="`$CXX -dumpversion`"
41472 if test "x$ax_cv_gxx_version" = "x"; then
41473
41474 ax_cv_gxx_version=""
41475
41476 fi
41477
41478
41479 fi
41480 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41481 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41482 GXX_VERSION=$ax_cv_gxx_version
41483
41484 fi
41485
41486
41487 fi
41488
41489
41490
41491 if test -n "$ax_cv_gxx_version"; then
41492 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41493 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41494 case "$ax_cv_gxx_version" in
41495 1.* | 2.* | 3.* )
41496 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41497 echo "${ECHO_T}no, it's broken" >&6; }
41498 wx_cv_cc___thread=no
41499 ;;
41500 *)
41501 { echo "$as_me:$LINENO: result: yes, it works" >&5
41502 echo "${ECHO_T}yes, it works" >&6; }
41503 ;;
41504 esac
41505 fi
41506 fi
41507
41508 if test "$wx_cv_cc___thread" = "yes"; then
41509 cat >>confdefs.h <<\_ACEOF
41510 #define HAVE___THREAD_KEYWORD 1
41511 _ACEOF
41512
41513 fi
41514 fi
41515 fi
41516
41517 else
41518 if test "$wxUSE_THREADS" = "yes" ; then
41519 case "${host}" in
41520 x86_64-*-mingw32* )
41521 ;;
41522 *-*-mingw32* )
41523 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41524 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41525 if test "${wx_cv_cflags_mthread+set}" = set; then
41526 echo $ECHO_N "(cached) $ECHO_C" >&6
41527 else
41528
41529 CFLAGS_OLD="$CFLAGS"
41530 CFLAGS="-mthreads $CFLAGS"
41531 cat >conftest.$ac_ext <<_ACEOF
41532 /* confdefs.h. */
41533 _ACEOF
41534 cat confdefs.h >>conftest.$ac_ext
41535 cat >>conftest.$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41537
41538 int
41539 main ()
41540 {
41541
41542 ;
41543 return 0;
41544 }
41545 _ACEOF
41546 rm -f conftest.$ac_objext
41547 if { (ac_try="$ac_compile"
41548 case "(($ac_try" in
41549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41550 *) ac_try_echo=$ac_try;;
41551 esac
41552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41553 (eval "$ac_compile") 2>conftest.er1
41554 ac_status=$?
41555 grep -v '^ *+' conftest.er1 >conftest.err
41556 rm -f conftest.er1
41557 cat conftest.err >&5
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); } && {
41560 test -z "$ac_c_werror_flag" ||
41561 test ! -s conftest.err
41562 } && test -s conftest.$ac_objext; then
41563 wx_cv_cflags_mthread=yes
41564 else
41565 echo "$as_me: failed program was:" >&5
41566 sed 's/^/| /' conftest.$ac_ext >&5
41567
41568 wx_cv_cflags_mthread=no
41569
41570 fi
41571
41572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573
41574
41575 fi
41576 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41577 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41578
41579 if test "$wx_cv_cflags_mthread" = "yes"; then
41580 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41581 LDFLAGS="$LDFLAGS -mthreads"
41582 else
41583 CFLAGS="$CFLAGS_OLD"
41584 fi
41585 ;;
41586 *-pc-os2*emx )
41587 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41588 LDFLAGS="$LDFLAGS -Zmt"
41589 ;;
41590 esac
41591 fi
41592 fi
41593
41594 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41595 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41596 if test "${ac_cv_func_localtime_r+set}" = set; then
41597 echo $ECHO_N "(cached) $ECHO_C" >&6
41598 else
41599 cat >conftest.$ac_ext <<_ACEOF
41600 /* confdefs.h. */
41601 _ACEOF
41602 cat confdefs.h >>conftest.$ac_ext
41603 cat >>conftest.$ac_ext <<_ACEOF
41604 /* end confdefs.h. */
41605 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41607 #define localtime_r innocuous_localtime_r
41608
41609 /* System header to define __stub macros and hopefully few prototypes,
41610 which can conflict with char localtime_r (); below.
41611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41612 <limits.h> exists even on freestanding compilers. */
41613
41614 #ifdef __STDC__
41615 # include <limits.h>
41616 #else
41617 # include <assert.h>
41618 #endif
41619
41620 #undef localtime_r
41621
41622 /* Override any GCC internal prototype to avoid an error.
41623 Use char because int might match the return type of a GCC
41624 builtin and then its argument prototype would still apply. */
41625 #ifdef __cplusplus
41626 extern "C"
41627 #endif
41628 char localtime_r ();
41629 /* The GNU C library defines this for functions which it implements
41630 to always fail with ENOSYS. Some functions are actually named
41631 something starting with __ and the normal name is an alias. */
41632 #if defined __stub_localtime_r || defined __stub___localtime_r
41633 choke me
41634 #endif
41635
41636 int
41637 main ()
41638 {
41639 return localtime_r ();
41640 ;
41641 return 0;
41642 }
41643 _ACEOF
41644 rm -f conftest.$ac_objext conftest$ac_exeext
41645 if { (ac_try="$ac_link"
41646 case "(($ac_try" in
41647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41648 *) ac_try_echo=$ac_try;;
41649 esac
41650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41651 (eval "$ac_link") 2>conftest.er1
41652 ac_status=$?
41653 grep -v '^ *+' conftest.er1 >conftest.err
41654 rm -f conftest.er1
41655 cat conftest.err >&5
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); } && {
41658 test -z "$ac_c_werror_flag" ||
41659 test ! -s conftest.err
41660 } && test -s conftest$ac_exeext &&
41661 $as_test_x conftest$ac_exeext; then
41662 ac_cv_func_localtime_r=yes
41663 else
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41666
41667 ac_cv_func_localtime_r=no
41668 fi
41669
41670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41671 conftest$ac_exeext conftest.$ac_ext
41672 fi
41673 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41674 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41675 if test $ac_cv_func_localtime_r = yes; then
41676 cat >>confdefs.h <<\_ACEOF
41677 #define HAVE_LOCALTIME_R 1
41678 _ACEOF
41679
41680 fi
41681
41682 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41683 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41684 if test "${ac_cv_func_gmtime_r+set}" = set; then
41685 echo $ECHO_N "(cached) $ECHO_C" >&6
41686 else
41687 cat >conftest.$ac_ext <<_ACEOF
41688 /* confdefs.h. */
41689 _ACEOF
41690 cat confdefs.h >>conftest.$ac_ext
41691 cat >>conftest.$ac_ext <<_ACEOF
41692 /* end confdefs.h. */
41693 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41695 #define gmtime_r innocuous_gmtime_r
41696
41697 /* System header to define __stub macros and hopefully few prototypes,
41698 which can conflict with char gmtime_r (); below.
41699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41700 <limits.h> exists even on freestanding compilers. */
41701
41702 #ifdef __STDC__
41703 # include <limits.h>
41704 #else
41705 # include <assert.h>
41706 #endif
41707
41708 #undef gmtime_r
41709
41710 /* Override any GCC internal prototype to avoid an error.
41711 Use char because int might match the return type of a GCC
41712 builtin and then its argument prototype would still apply. */
41713 #ifdef __cplusplus
41714 extern "C"
41715 #endif
41716 char gmtime_r ();
41717 /* The GNU C library defines this for functions which it implements
41718 to always fail with ENOSYS. Some functions are actually named
41719 something starting with __ and the normal name is an alias. */
41720 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41721 choke me
41722 #endif
41723
41724 int
41725 main ()
41726 {
41727 return gmtime_r ();
41728 ;
41729 return 0;
41730 }
41731 _ACEOF
41732 rm -f conftest.$ac_objext conftest$ac_exeext
41733 if { (ac_try="$ac_link"
41734 case "(($ac_try" in
41735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41736 *) ac_try_echo=$ac_try;;
41737 esac
41738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41739 (eval "$ac_link") 2>conftest.er1
41740 ac_status=$?
41741 grep -v '^ *+' conftest.er1 >conftest.err
41742 rm -f conftest.er1
41743 cat conftest.err >&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } && {
41746 test -z "$ac_c_werror_flag" ||
41747 test ! -s conftest.err
41748 } && test -s conftest$ac_exeext &&
41749 $as_test_x conftest$ac_exeext; then
41750 ac_cv_func_gmtime_r=yes
41751 else
41752 echo "$as_me: failed program was:" >&5
41753 sed 's/^/| /' conftest.$ac_ext >&5
41754
41755 ac_cv_func_gmtime_r=no
41756 fi
41757
41758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41759 conftest$ac_exeext conftest.$ac_ext
41760 fi
41761 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41762 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41763 if test $ac_cv_func_gmtime_r = yes; then
41764 cat >>confdefs.h <<\_ACEOF
41765 #define HAVE_GMTIME_R 1
41766 _ACEOF
41767
41768 fi
41769
41770
41771
41772
41773 ac_ext=c
41774 ac_cpp='$CPP $CPPFLAGS'
41775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778
41779 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41780 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41781
41782 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41783 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 else
41785
41786
41787 ################################################################
41788
41789 ac_cv_func_which_gethostbyname_r=unknown
41790
41791 #
41792 # ONE ARGUMENT (sanity check)
41793 #
41794
41795 # This should fail, as there is no variant of gethostbyname_r() that takes
41796 # a single argument. If it actually compiles, then we can assume that
41797 # netdb.h is not declaring the function, and the compiler is thereby
41798 # assuming an implicit prototype. In which case, we're out of luck.
41799 #
41800 cat >conftest.$ac_ext <<_ACEOF
41801 /* confdefs.h. */
41802 _ACEOF
41803 cat confdefs.h >>conftest.$ac_ext
41804 cat >>conftest.$ac_ext <<_ACEOF
41805 /* end confdefs.h. */
41806 #include <netdb.h>
41807 int
41808 main ()
41809 {
41810
41811 char *name = "www.gnu.org";
41812 (void)gethostbyname_r(name) /* ; */
41813
41814 ;
41815 return 0;
41816 }
41817 _ACEOF
41818 rm -f conftest.$ac_objext
41819 if { (ac_try="$ac_compile"
41820 case "(($ac_try" in
41821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41822 *) ac_try_echo=$ac_try;;
41823 esac
41824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41825 (eval "$ac_compile") 2>conftest.er1
41826 ac_status=$?
41827 grep -v '^ *+' conftest.er1 >conftest.err
41828 rm -f conftest.er1
41829 cat conftest.err >&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); } && {
41832 test -z "$ac_c_werror_flag" ||
41833 test ! -s conftest.err
41834 } && test -s conftest.$ac_objext; then
41835 ac_cv_func_which_gethostbyname_r=no
41836 else
41837 echo "$as_me: failed program was:" >&5
41838 sed 's/^/| /' conftest.$ac_ext >&5
41839
41840
41841 fi
41842
41843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41844
41845 #
41846 # SIX ARGUMENTS
41847 # (e.g. Linux)
41848 #
41849
41850 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41851
41852 cat >conftest.$ac_ext <<_ACEOF
41853 /* confdefs.h. */
41854 _ACEOF
41855 cat confdefs.h >>conftest.$ac_ext
41856 cat >>conftest.$ac_ext <<_ACEOF
41857 /* end confdefs.h. */
41858 #include <netdb.h>
41859 int
41860 main ()
41861 {
41862
41863 char *name = "www.gnu.org";
41864 struct hostent ret, *retp;
41865 char buf[1024];
41866 int buflen = 1024;
41867 int my_h_errno;
41868 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41869
41870 ;
41871 return 0;
41872 }
41873 _ACEOF
41874 rm -f conftest.$ac_objext
41875 if { (ac_try="$ac_compile"
41876 case "(($ac_try" in
41877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41878 *) ac_try_echo=$ac_try;;
41879 esac
41880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41881 (eval "$ac_compile") 2>conftest.er1
41882 ac_status=$?
41883 grep -v '^ *+' conftest.er1 >conftest.err
41884 rm -f conftest.er1
41885 cat conftest.err >&5
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } && {
41888 test -z "$ac_c_werror_flag" ||
41889 test ! -s conftest.err
41890 } && test -s conftest.$ac_objext; then
41891 ac_cv_func_which_gethostbyname_r=six
41892 else
41893 echo "$as_me: failed program was:" >&5
41894 sed 's/^/| /' conftest.$ac_ext >&5
41895
41896
41897 fi
41898
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900
41901 fi
41902
41903 #
41904 # FIVE ARGUMENTS
41905 # (e.g. Solaris)
41906 #
41907
41908 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41909
41910 cat >conftest.$ac_ext <<_ACEOF
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916 #include <netdb.h>
41917 int
41918 main ()
41919 {
41920
41921 char *name = "www.gnu.org";
41922 struct hostent ret;
41923 char buf[1024];
41924 int buflen = 1024;
41925 int my_h_errno;
41926 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41927
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 rm -f conftest.$ac_objext
41933 if { (ac_try="$ac_compile"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41937 esac
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_compile") 2>conftest.er1
41940 ac_status=$?
41941 grep -v '^ *+' conftest.er1 >conftest.err
41942 rm -f conftest.er1
41943 cat conftest.err >&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest.$ac_objext; then
41949 ac_cv_func_which_gethostbyname_r=five
41950 else
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41953
41954
41955 fi
41956
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958
41959 fi
41960
41961 #
41962 # THREE ARGUMENTS
41963 # (e.g. AIX, HP-UX, Tru64)
41964 #
41965
41966 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41967
41968 cat >conftest.$ac_ext <<_ACEOF
41969 /* confdefs.h. */
41970 _ACEOF
41971 cat confdefs.h >>conftest.$ac_ext
41972 cat >>conftest.$ac_ext <<_ACEOF
41973 /* end confdefs.h. */
41974 #include <netdb.h>
41975 int
41976 main ()
41977 {
41978
41979 char *name = "www.gnu.org";
41980 struct hostent ret;
41981 struct hostent_data data;
41982 (void)gethostbyname_r(name, &ret, &data) /* ; */
41983
41984 ;
41985 return 0;
41986 }
41987 _ACEOF
41988 rm -f conftest.$ac_objext
41989 if { (ac_try="$ac_compile"
41990 case "(($ac_try" in
41991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41992 *) ac_try_echo=$ac_try;;
41993 esac
41994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41995 (eval "$ac_compile") 2>conftest.er1
41996 ac_status=$?
41997 grep -v '^ *+' conftest.er1 >conftest.err
41998 rm -f conftest.er1
41999 cat conftest.err >&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } && {
42002 test -z "$ac_c_werror_flag" ||
42003 test ! -s conftest.err
42004 } && test -s conftest.$ac_objext; then
42005 ac_cv_func_which_gethostbyname_r=three
42006 else
42007 echo "$as_me: failed program was:" >&5
42008 sed 's/^/| /' conftest.$ac_ext >&5
42009
42010
42011 fi
42012
42013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42014
42015 fi
42016
42017 ################################################################
42018
42019
42020 fi
42021
42022 case "$ac_cv_func_which_gethostbyname_r" in
42023 three)
42024 { echo "$as_me:$LINENO: result: three" >&5
42025 echo "${ECHO_T}three" >&6; }
42026 cat >>confdefs.h <<\_ACEOF
42027 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42028 _ACEOF
42029
42030 ;;
42031
42032 five)
42033 { echo "$as_me:$LINENO: result: five" >&5
42034 echo "${ECHO_T}five" >&6; }
42035 cat >>confdefs.h <<\_ACEOF
42036 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42037 _ACEOF
42038
42039 ;;
42040
42041 six)
42042 { echo "$as_me:$LINENO: result: six" >&5
42043 echo "${ECHO_T}six" >&6; }
42044 cat >>confdefs.h <<\_ACEOF
42045 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42046 _ACEOF
42047
42048 ;;
42049
42050 no)
42051 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42052 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42053 ;;
42054
42055 unknown)
42056 { echo "$as_me:$LINENO: result: can't tell" >&5
42057 echo "${ECHO_T}can't tell" >&6; }
42058 ;;
42059
42060 *)
42061 { { echo "$as_me:$LINENO: error: internal error" >&5
42062 echo "$as_me: error: internal error" >&2;}
42063 { (exit 1); exit 1; }; }
42064 ;;
42065 esac
42066
42067 ac_ext=c
42068 ac_cpp='$CPP $CPPFLAGS'
42069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42072
42073
42074
42075 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42076 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42077 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42078 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42079 if test "${ac_cv_func_gethostbyname+set}" = set; then
42080 echo $ECHO_N "(cached) $ECHO_C" >&6
42081 else
42082 cat >conftest.$ac_ext <<_ACEOF
42083 /* confdefs.h. */
42084 _ACEOF
42085 cat confdefs.h >>conftest.$ac_ext
42086 cat >>conftest.$ac_ext <<_ACEOF
42087 /* end confdefs.h. */
42088 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42090 #define gethostbyname innocuous_gethostbyname
42091
42092 /* System header to define __stub macros and hopefully few prototypes,
42093 which can conflict with char gethostbyname (); below.
42094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42095 <limits.h> exists even on freestanding compilers. */
42096
42097 #ifdef __STDC__
42098 # include <limits.h>
42099 #else
42100 # include <assert.h>
42101 #endif
42102
42103 #undef gethostbyname
42104
42105 /* Override any GCC internal prototype to avoid an error.
42106 Use char because int might match the return type of a GCC
42107 builtin and then its argument prototype would still apply. */
42108 #ifdef __cplusplus
42109 extern "C"
42110 #endif
42111 char gethostbyname ();
42112 /* The GNU C library defines this for functions which it implements
42113 to always fail with ENOSYS. Some functions are actually named
42114 something starting with __ and the normal name is an alias. */
42115 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42116 choke me
42117 #endif
42118
42119 int
42120 main ()
42121 {
42122 return gethostbyname ();
42123 ;
42124 return 0;
42125 }
42126 _ACEOF
42127 rm -f conftest.$ac_objext conftest$ac_exeext
42128 if { (ac_try="$ac_link"
42129 case "(($ac_try" in
42130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42131 *) ac_try_echo=$ac_try;;
42132 esac
42133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42134 (eval "$ac_link") 2>conftest.er1
42135 ac_status=$?
42136 grep -v '^ *+' conftest.er1 >conftest.err
42137 rm -f conftest.er1
42138 cat conftest.err >&5
42139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140 (exit $ac_status); } && {
42141 test -z "$ac_c_werror_flag" ||
42142 test ! -s conftest.err
42143 } && test -s conftest$ac_exeext &&
42144 $as_test_x conftest$ac_exeext; then
42145 ac_cv_func_gethostbyname=yes
42146 else
42147 echo "$as_me: failed program was:" >&5
42148 sed 's/^/| /' conftest.$ac_ext >&5
42149
42150 ac_cv_func_gethostbyname=no
42151 fi
42152
42153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42154 conftest$ac_exeext conftest.$ac_ext
42155 fi
42156 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42157 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42158 if test $ac_cv_func_gethostbyname = yes; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define HAVE_GETHOSTBYNAME 1
42161 _ACEOF
42162
42163 fi
42164
42165 fi
42166
42167 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42168 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42169 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 else
42172
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178
42179
42180 cat >conftest.$ac_ext <<_ACEOF
42181 /* confdefs.h. */
42182 _ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186 #include <netdb.h>
42187 int
42188 main ()
42189 {
42190
42191 char *name;
42192 char *proto;
42193 struct servent *se, *res;
42194 char buffer[2048];
42195 int buflen = 2048;
42196 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42197
42198 ;
42199 return 0;
42200 }
42201 _ACEOF
42202 rm -f conftest.$ac_objext
42203 if { (ac_try="$ac_compile"
42204 case "(($ac_try" in
42205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42206 *) ac_try_echo=$ac_try;;
42207 esac
42208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42209 (eval "$ac_compile") 2>conftest.er1
42210 ac_status=$?
42211 grep -v '^ *+' conftest.er1 >conftest.err
42212 rm -f conftest.er1
42213 cat conftest.err >&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); } && {
42216 test -z "$ac_cxx_werror_flag" ||
42217 test ! -s conftest.err
42218 } && test -s conftest.$ac_objext; then
42219 ac_cv_func_which_getservbyname_r=six
42220 else
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.$ac_ext >&5
42223
42224
42225 cat >conftest.$ac_ext <<_ACEOF
42226 /* confdefs.h. */
42227 _ACEOF
42228 cat confdefs.h >>conftest.$ac_ext
42229 cat >>conftest.$ac_ext <<_ACEOF
42230 /* end confdefs.h. */
42231 #include <netdb.h>
42232 int
42233 main ()
42234 {
42235
42236 char *name;
42237 char *proto;
42238 struct servent *se;
42239 char buffer[2048];
42240 int buflen = 2048;
42241 (void) getservbyname_r(name, proto, se, buffer, buflen)
42242
42243 ;
42244 return 0;
42245 }
42246 _ACEOF
42247 rm -f conftest.$ac_objext
42248 if { (ac_try="$ac_compile"
42249 case "(($ac_try" in
42250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42251 *) ac_try_echo=$ac_try;;
42252 esac
42253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42254 (eval "$ac_compile") 2>conftest.er1
42255 ac_status=$?
42256 grep -v '^ *+' conftest.er1 >conftest.err
42257 rm -f conftest.er1
42258 cat conftest.err >&5
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); } && {
42261 test -z "$ac_cxx_werror_flag" ||
42262 test ! -s conftest.err
42263 } && test -s conftest.$ac_objext; then
42264 ac_cv_func_which_getservbyname_r=five
42265 else
42266 echo "$as_me: failed program was:" >&5
42267 sed 's/^/| /' conftest.$ac_ext >&5
42268
42269
42270 cat >conftest.$ac_ext <<_ACEOF
42271 /* confdefs.h. */
42272 _ACEOF
42273 cat confdefs.h >>conftest.$ac_ext
42274 cat >>conftest.$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42276 #include <netdb.h>
42277 int
42278 main ()
42279 {
42280
42281 char *name;
42282 char *proto;
42283 struct servent *se;
42284 struct servent_data data;
42285 (void) getservbyname_r(name, proto, se, &data);
42286
42287 ;
42288 return 0;
42289 }
42290 _ACEOF
42291 rm -f conftest.$ac_objext
42292 if { (ac_try="$ac_compile"
42293 case "(($ac_try" in
42294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42295 *) ac_try_echo=$ac_try;;
42296 esac
42297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42298 (eval "$ac_compile") 2>conftest.er1
42299 ac_status=$?
42300 grep -v '^ *+' conftest.er1 >conftest.err
42301 rm -f conftest.er1
42302 cat conftest.err >&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); } && {
42305 test -z "$ac_cxx_werror_flag" ||
42306 test ! -s conftest.err
42307 } && test -s conftest.$ac_objext; then
42308 ac_cv_func_which_getservbyname_r=four
42309 else
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.$ac_ext >&5
42312
42313 ac_cv_func_which_getservbyname_r=no
42314
42315 fi
42316
42317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42318
42319
42320 fi
42321
42322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42323
42324
42325 fi
42326
42327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328 ac_ext=c
42329 ac_cpp='$CPP $CPPFLAGS'
42330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42333
42334
42335
42336 fi
42337 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42338 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42339
42340 if test $ac_cv_func_which_getservbyname_r = six; then
42341 cat >>confdefs.h <<\_ACEOF
42342 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42343 _ACEOF
42344
42345 elif test $ac_cv_func_which_getservbyname_r = five; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42348 _ACEOF
42349
42350 elif test $ac_cv_func_which_getservbyname_r = four; then
42351 cat >>confdefs.h <<\_ACEOF
42352 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42353 _ACEOF
42354
42355 fi
42356
42357
42358 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42359 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42360
42361 for ac_func in getservbyname
42362 do
42363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42364 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42367 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 else
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42377 #define $ac_func innocuous_$ac_func
42378
42379 /* System header to define __stub macros and hopefully few prototypes,
42380 which can conflict with char $ac_func (); below.
42381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42382 <limits.h> exists even on freestanding compilers. */
42383
42384 #ifdef __STDC__
42385 # include <limits.h>
42386 #else
42387 # include <assert.h>
42388 #endif
42389
42390 #undef $ac_func
42391
42392 /* Override any GCC internal prototype to avoid an error.
42393 Use char because int might match the return type of a GCC
42394 builtin and then its argument prototype would still apply. */
42395 #ifdef __cplusplus
42396 extern "C"
42397 #endif
42398 char $ac_func ();
42399 /* The GNU C library defines this for functions which it implements
42400 to always fail with ENOSYS. Some functions are actually named
42401 something starting with __ and the normal name is an alias. */
42402 #if defined __stub_$ac_func || defined __stub___$ac_func
42403 choke me
42404 #endif
42405
42406 int
42407 main ()
42408 {
42409 return $ac_func ();
42410 ;
42411 return 0;
42412 }
42413 _ACEOF
42414 rm -f conftest.$ac_objext conftest$ac_exeext
42415 if { (ac_try="$ac_link"
42416 case "(($ac_try" in
42417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42418 *) ac_try_echo=$ac_try;;
42419 esac
42420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42421 (eval "$ac_link") 2>conftest.er1
42422 ac_status=$?
42423 grep -v '^ *+' conftest.er1 >conftest.err
42424 rm -f conftest.er1
42425 cat conftest.err >&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); } && {
42428 test -z "$ac_c_werror_flag" ||
42429 test ! -s conftest.err
42430 } && test -s conftest$ac_exeext &&
42431 $as_test_x conftest$ac_exeext; then
42432 eval "$as_ac_var=yes"
42433 else
42434 echo "$as_me: failed program was:" >&5
42435 sed 's/^/| /' conftest.$ac_ext >&5
42436
42437 eval "$as_ac_var=no"
42438 fi
42439
42440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42441 conftest$ac_exeext conftest.$ac_ext
42442 fi
42443 ac_res=`eval echo '${'$as_ac_var'}'`
42444 { echo "$as_me:$LINENO: result: $ac_res" >&5
42445 echo "${ECHO_T}$ac_res" >&6; }
42446 if test `eval echo '${'$as_ac_var'}'` = yes; then
42447 cat >>confdefs.h <<_ACEOF
42448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42449 _ACEOF
42450 cat >>confdefs.h <<\_ACEOF
42451 #define HAVE_GETSERVBYNAME 1
42452 _ACEOF
42453
42454 fi
42455 done
42456
42457 fi
42458
42459 if test "$wxUSE_THREADS" = "yes"; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define wxUSE_THREADS 1
42462 _ACEOF
42463
42464
42465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42466 else
42467 if test "$wx_cv_func_strtok_r" = "yes"; then
42468 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42469 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42470 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42471 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42472 { echo "$as_me:$LINENO: result: yes" >&5
42473 echo "${ECHO_T}yes" >&6; }
42474 else
42475 { echo "$as_me:$LINENO: result: no" >&5
42476 echo "${ECHO_T}no" >&6; }
42477 fi
42478 fi
42479 fi
42480
42481 if test "$WXGTK2" = 1 ; then
42482 cat >>confdefs.h <<_ACEOF
42483 #define __WXGTK20__ $WXGTK2
42484 _ACEOF
42485
42486 WXGTK12=1
42487 fi
42488
42489 if test "$WXGTK12" = 1 ; then
42490 cat >>confdefs.h <<_ACEOF
42491 #define __WXGTK12__ $WXGTK12
42492 _ACEOF
42493
42494 fi
42495
42496 if test "$WXGTK127" = 1 ; then
42497 cat >>confdefs.h <<_ACEOF
42498 #define __WXGTK127__ $WXGTK127
42499 _ACEOF
42500
42501 fi
42502
42503 if test "$WXGPE" = 1 ; then
42504 cat >>confdefs.h <<_ACEOF
42505 #define __WXGPE__ $WXGPE
42506 _ACEOF
42507
42508 fi
42509
42510 DEBUG_CFLAGS=
42511 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42512 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42513 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42514 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42515 DEBUG_CFLAGS="-g"
42516 fi
42517
42518 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42519 wxUSE_DEBUG_INFO=yes
42520 if test "$GCC" = yes; then
42521 DEBUG_CFLAGS="-ggdb"
42522 fi
42523 fi
42524
42525 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42526 if test "$wxUSE_GTK" = 1 ; then
42527 if test "x$wxGTK_VERSION" = "x1" ; then
42528 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42529 fi
42530 fi
42531 fi
42532
42533 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_MEMORY_TRACING 1
42536 _ACEOF
42537
42538 cat >>confdefs.h <<\_ACEOF
42539 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42540 _ACEOF
42541
42542 cat >>confdefs.h <<\_ACEOF
42543 #define wxUSE_DEBUG_NEW_ALWAYS 1
42544 _ACEOF
42545
42546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42547 fi
42548
42549 if test "$wxUSE_DMALLOC" = "yes" ; then
42550 DMALLOC_LIBS="-ldmallocthcxx"
42551 fi
42552
42553 PROFILE_FLAGS=
42554 if test "$wxUSE_PROFILE" = "yes" ; then
42555 PROFILE_FLAGS=" -pg"
42556 fi
42557
42558 if test "$GCC" = "yes" ; then
42559 if test "$wxUSE_NO_RTTI" = "yes" ; then
42560 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42561 fi
42562 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42563 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42564 fi
42565 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42566 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42567 fi
42568
42569 case "${host}" in
42570 powerpc*-*-aix* )
42571 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42572 ;;
42573 *-hppa* )
42574 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42575 ;;
42576 esac
42577 fi
42578
42579 OPTIMISE_CFLAGS=
42580 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42581 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42582 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42583 else
42584 if test "$wxUSE_OPTIMISE" = "no" ; then
42585 if test "$GCC" = yes ; then
42586 OPTIMISE_CFLAGS="-O0"
42587 fi
42588 else
42589 if test "$GCC" = yes ; then
42590 case "${host}" in
42591 *-pc-os2_emx | *-pc-os2-emx )
42592 OPTIMISE_CFLAGS="-O2"
42593 ;;
42594 *)
42595 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42596 ;;
42597 esac
42598 else
42599 OPTIMISE_CFLAGS="-O"
42600 fi
42601 fi
42602 fi
42603
42604
42605 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42606 cat >>confdefs.h <<\_ACEOF
42607 #define WXWIN_COMPATIBILITY_2_6 1
42608 _ACEOF
42609
42610
42611 WXWIN_COMPATIBILITY_2_8="yes"
42612 fi
42613
42614 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define WXWIN_COMPATIBILITY_2_8 1
42617 _ACEOF
42618
42619 fi
42620
42621
42622 if test "$wxUSE_GUI" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_GUI 1
42625 _ACEOF
42626
42627
42628 fi
42629
42630
42631 if test "$wxUSE_UNIX" = "yes"; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_UNIX 1
42634 _ACEOF
42635
42636 fi
42637
42638
42639 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42640
42641 HAVE_DL_FUNCS=0
42642 HAVE_SHL_FUNCS=0
42643 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42644 if test "$USE_DOS" = 1; then
42645 HAVE_DL_FUNCS=0
42646 else
42647
42648 for ac_func in dlopen
42649 do
42650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42654 echo $ECHO_N "(cached) $ECHO_C" >&6
42655 else
42656 cat >conftest.$ac_ext <<_ACEOF
42657 /* confdefs.h. */
42658 _ACEOF
42659 cat confdefs.h >>conftest.$ac_ext
42660 cat >>conftest.$ac_ext <<_ACEOF
42661 /* end confdefs.h. */
42662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42664 #define $ac_func innocuous_$ac_func
42665
42666 /* System header to define __stub macros and hopefully few prototypes,
42667 which can conflict with char $ac_func (); below.
42668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42669 <limits.h> exists even on freestanding compilers. */
42670
42671 #ifdef __STDC__
42672 # include <limits.h>
42673 #else
42674 # include <assert.h>
42675 #endif
42676
42677 #undef $ac_func
42678
42679 /* Override any GCC internal prototype to avoid an error.
42680 Use char because int might match the return type of a GCC
42681 builtin and then its argument prototype would still apply. */
42682 #ifdef __cplusplus
42683 extern "C"
42684 #endif
42685 char $ac_func ();
42686 /* The GNU C library defines this for functions which it implements
42687 to always fail with ENOSYS. Some functions are actually named
42688 something starting with __ and the normal name is an alias. */
42689 #if defined __stub_$ac_func || defined __stub___$ac_func
42690 choke me
42691 #endif
42692
42693 int
42694 main ()
42695 {
42696 return $ac_func ();
42697 ;
42698 return 0;
42699 }
42700 _ACEOF
42701 rm -f conftest.$ac_objext conftest$ac_exeext
42702 if { (ac_try="$ac_link"
42703 case "(($ac_try" in
42704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42705 *) ac_try_echo=$ac_try;;
42706 esac
42707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42708 (eval "$ac_link") 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } && {
42715 test -z "$ac_c_werror_flag" ||
42716 test ! -s conftest.err
42717 } && test -s conftest$ac_exeext &&
42718 $as_test_x conftest$ac_exeext; then
42719 eval "$as_ac_var=yes"
42720 else
42721 echo "$as_me: failed program was:" >&5
42722 sed 's/^/| /' conftest.$ac_ext >&5
42723
42724 eval "$as_ac_var=no"
42725 fi
42726
42727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42728 conftest$ac_exeext conftest.$ac_ext
42729 fi
42730 ac_res=`eval echo '${'$as_ac_var'}'`
42731 { echo "$as_me:$LINENO: result: $ac_res" >&5
42732 echo "${ECHO_T}$ac_res" >&6; }
42733 if test `eval echo '${'$as_ac_var'}'` = yes; then
42734 cat >>confdefs.h <<_ACEOF
42735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42736 _ACEOF
42737
42738 cat >>confdefs.h <<\_ACEOF
42739 #define HAVE_DLOPEN 1
42740 _ACEOF
42741
42742 HAVE_DL_FUNCS=1
42743
42744 else
42745
42746 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42747 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42748 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42749 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 else
42751 ac_check_lib_save_LIBS=$LIBS
42752 LIBS="-ldl $LIBS"
42753 cat >conftest.$ac_ext <<_ACEOF
42754 /* confdefs.h. */
42755 _ACEOF
42756 cat confdefs.h >>conftest.$ac_ext
42757 cat >>conftest.$ac_ext <<_ACEOF
42758 /* end confdefs.h. */
42759
42760 /* Override any GCC internal prototype to avoid an error.
42761 Use char because int might match the return type of a GCC
42762 builtin and then its argument prototype would still apply. */
42763 #ifdef __cplusplus
42764 extern "C"
42765 #endif
42766 char dlopen ();
42767 int
42768 main ()
42769 {
42770 return dlopen ();
42771 ;
42772 return 0;
42773 }
42774 _ACEOF
42775 rm -f conftest.$ac_objext conftest$ac_exeext
42776 if { (ac_try="$ac_link"
42777 case "(($ac_try" in
42778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42779 *) ac_try_echo=$ac_try;;
42780 esac
42781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42782 (eval "$ac_link") 2>conftest.er1
42783 ac_status=$?
42784 grep -v '^ *+' conftest.er1 >conftest.err
42785 rm -f conftest.er1
42786 cat conftest.err >&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); } && {
42789 test -z "$ac_c_werror_flag" ||
42790 test ! -s conftest.err
42791 } && test -s conftest$ac_exeext &&
42792 $as_test_x conftest$ac_exeext; then
42793 ac_cv_lib_dl_dlopen=yes
42794 else
42795 echo "$as_me: failed program was:" >&5
42796 sed 's/^/| /' conftest.$ac_ext >&5
42797
42798 ac_cv_lib_dl_dlopen=no
42799 fi
42800
42801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42802 conftest$ac_exeext conftest.$ac_ext
42803 LIBS=$ac_check_lib_save_LIBS
42804 fi
42805 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42806 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42807 if test $ac_cv_lib_dl_dlopen = yes; then
42808
42809 cat >>confdefs.h <<\_ACEOF
42810 #define HAVE_DLOPEN 1
42811 _ACEOF
42812
42813 HAVE_DL_FUNCS=1
42814 DL_LINK=" -ldl$DL_LINK"
42815
42816 else
42817
42818
42819 for ac_func in shl_load
42820 do
42821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42825 echo $ECHO_N "(cached) $ECHO_C" >&6
42826 else
42827 cat >conftest.$ac_ext <<_ACEOF
42828 /* confdefs.h. */
42829 _ACEOF
42830 cat confdefs.h >>conftest.$ac_ext
42831 cat >>conftest.$ac_ext <<_ACEOF
42832 /* end confdefs.h. */
42833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42835 #define $ac_func innocuous_$ac_func
42836
42837 /* System header to define __stub macros and hopefully few prototypes,
42838 which can conflict with char $ac_func (); below.
42839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42840 <limits.h> exists even on freestanding compilers. */
42841
42842 #ifdef __STDC__
42843 # include <limits.h>
42844 #else
42845 # include <assert.h>
42846 #endif
42847
42848 #undef $ac_func
42849
42850 /* Override any GCC internal prototype to avoid an error.
42851 Use char because int might match the return type of a GCC
42852 builtin and then its argument prototype would still apply. */
42853 #ifdef __cplusplus
42854 extern "C"
42855 #endif
42856 char $ac_func ();
42857 /* The GNU C library defines this for functions which it implements
42858 to always fail with ENOSYS. Some functions are actually named
42859 something starting with __ and the normal name is an alias. */
42860 #if defined __stub_$ac_func || defined __stub___$ac_func
42861 choke me
42862 #endif
42863
42864 int
42865 main ()
42866 {
42867 return $ac_func ();
42868 ;
42869 return 0;
42870 }
42871 _ACEOF
42872 rm -f conftest.$ac_objext conftest$ac_exeext
42873 if { (ac_try="$ac_link"
42874 case "(($ac_try" in
42875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42876 *) ac_try_echo=$ac_try;;
42877 esac
42878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42879 (eval "$ac_link") 2>conftest.er1
42880 ac_status=$?
42881 grep -v '^ *+' conftest.er1 >conftest.err
42882 rm -f conftest.er1
42883 cat conftest.err >&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); } && {
42886 test -z "$ac_c_werror_flag" ||
42887 test ! -s conftest.err
42888 } && test -s conftest$ac_exeext &&
42889 $as_test_x conftest$ac_exeext; then
42890 eval "$as_ac_var=yes"
42891 else
42892 echo "$as_me: failed program was:" >&5
42893 sed 's/^/| /' conftest.$ac_ext >&5
42894
42895 eval "$as_ac_var=no"
42896 fi
42897
42898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42899 conftest$ac_exeext conftest.$ac_ext
42900 fi
42901 ac_res=`eval echo '${'$as_ac_var'}'`
42902 { echo "$as_me:$LINENO: result: $ac_res" >&5
42903 echo "${ECHO_T}$ac_res" >&6; }
42904 if test `eval echo '${'$as_ac_var'}'` = yes; then
42905 cat >>confdefs.h <<_ACEOF
42906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42907 _ACEOF
42908
42909 cat >>confdefs.h <<\_ACEOF
42910 #define HAVE_SHL_LOAD 1
42911 _ACEOF
42912
42913 HAVE_SHL_FUNCS=1
42914
42915 else
42916
42917 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42918 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42919 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42920 echo $ECHO_N "(cached) $ECHO_C" >&6
42921 else
42922 ac_check_lib_save_LIBS=$LIBS
42923 LIBS="-lshl_load $LIBS"
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h. */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930
42931 /* Override any GCC internal prototype to avoid an error.
42932 Use char because int might match the return type of a GCC
42933 builtin and then its argument prototype would still apply. */
42934 #ifdef __cplusplus
42935 extern "C"
42936 #endif
42937 char dld ();
42938 int
42939 main ()
42940 {
42941 return dld ();
42942 ;
42943 return 0;
42944 }
42945 _ACEOF
42946 rm -f conftest.$ac_objext conftest$ac_exeext
42947 if { (ac_try="$ac_link"
42948 case "(($ac_try" in
42949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42951 esac
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_link") 2>conftest.er1
42954 ac_status=$?
42955 grep -v '^ *+' conftest.er1 >conftest.err
42956 rm -f conftest.er1
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } && {
42960 test -z "$ac_c_werror_flag" ||
42961 test ! -s conftest.err
42962 } && test -s conftest$ac_exeext &&
42963 $as_test_x conftest$ac_exeext; then
42964 ac_cv_lib_shl_load_dld=yes
42965 else
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42968
42969 ac_cv_lib_shl_load_dld=no
42970 fi
42971
42972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42973 conftest$ac_exeext conftest.$ac_ext
42974 LIBS=$ac_check_lib_save_LIBS
42975 fi
42976 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42977 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42978 if test $ac_cv_lib_shl_load_dld = yes; then
42979
42980 HAVE_SHL_FUNCS=1
42981 DL_LINK=" -ldld$DL_LINK"
42982
42983 fi
42984
42985
42986 fi
42987 done
42988
42989
42990 fi
42991
42992
42993 fi
42994 done
42995
42996
42997 if test "$HAVE_DL_FUNCS" = 1; then
42998
42999 for ac_func in dlerror
43000 do
43001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43005 echo $ECHO_N "(cached) $ECHO_C" >&6
43006 else
43007 cat >conftest.$ac_ext <<_ACEOF
43008 /* confdefs.h. */
43009 _ACEOF
43010 cat confdefs.h >>conftest.$ac_ext
43011 cat >>conftest.$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43015 #define $ac_func innocuous_$ac_func
43016
43017 /* System header to define __stub macros and hopefully few prototypes,
43018 which can conflict with char $ac_func (); below.
43019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43020 <limits.h> exists even on freestanding compilers. */
43021
43022 #ifdef __STDC__
43023 # include <limits.h>
43024 #else
43025 # include <assert.h>
43026 #endif
43027
43028 #undef $ac_func
43029
43030 /* Override any GCC internal prototype to avoid an error.
43031 Use char because int might match the return type of a GCC
43032 builtin and then its argument prototype would still apply. */
43033 #ifdef __cplusplus
43034 extern "C"
43035 #endif
43036 char $ac_func ();
43037 /* The GNU C library defines this for functions which it implements
43038 to always fail with ENOSYS. Some functions are actually named
43039 something starting with __ and the normal name is an alias. */
43040 #if defined __stub_$ac_func || defined __stub___$ac_func
43041 choke me
43042 #endif
43043
43044 int
43045 main ()
43046 {
43047 return $ac_func ();
43048 ;
43049 return 0;
43050 }
43051 _ACEOF
43052 rm -f conftest.$ac_objext conftest$ac_exeext
43053 if { (ac_try="$ac_link"
43054 case "(($ac_try" in
43055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43056 *) ac_try_echo=$ac_try;;
43057 esac
43058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43059 (eval "$ac_link") 2>conftest.er1
43060 ac_status=$?
43061 grep -v '^ *+' conftest.er1 >conftest.err
43062 rm -f conftest.er1
43063 cat conftest.err >&5
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); } && {
43066 test -z "$ac_c_werror_flag" ||
43067 test ! -s conftest.err
43068 } && test -s conftest$ac_exeext &&
43069 $as_test_x conftest$ac_exeext; then
43070 eval "$as_ac_var=yes"
43071 else
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.$ac_ext >&5
43074
43075 eval "$as_ac_var=no"
43076 fi
43077
43078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43079 conftest$ac_exeext conftest.$ac_ext
43080 fi
43081 ac_res=`eval echo '${'$as_ac_var'}'`
43082 { echo "$as_me:$LINENO: result: $ac_res" >&5
43083 echo "${ECHO_T}$ac_res" >&6; }
43084 if test `eval echo '${'$as_ac_var'}'` = yes; then
43085 cat >>confdefs.h <<_ACEOF
43086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43087 _ACEOF
43088 cat >>confdefs.h <<\_ACEOF
43089 #define HAVE_DLERROR 1
43090 _ACEOF
43091
43092 else
43093
43094 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43095 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43096 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43097 echo $ECHO_N "(cached) $ECHO_C" >&6
43098 else
43099 ac_check_lib_save_LIBS=$LIBS
43100 LIBS="-ldl $LIBS"
43101 cat >conftest.$ac_ext <<_ACEOF
43102 /* confdefs.h. */
43103 _ACEOF
43104 cat confdefs.h >>conftest.$ac_ext
43105 cat >>conftest.$ac_ext <<_ACEOF
43106 /* end confdefs.h. */
43107
43108 /* Override any GCC internal prototype to avoid an error.
43109 Use char because int might match the return type of a GCC
43110 builtin and then its argument prototype would still apply. */
43111 #ifdef __cplusplus
43112 extern "C"
43113 #endif
43114 char dlerror ();
43115 int
43116 main ()
43117 {
43118 return dlerror ();
43119 ;
43120 return 0;
43121 }
43122 _ACEOF
43123 rm -f conftest.$ac_objext conftest$ac_exeext
43124 if { (ac_try="$ac_link"
43125 case "(($ac_try" in
43126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43127 *) ac_try_echo=$ac_try;;
43128 esac
43129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43130 (eval "$ac_link") 2>conftest.er1
43131 ac_status=$?
43132 grep -v '^ *+' conftest.er1 >conftest.err
43133 rm -f conftest.er1
43134 cat conftest.err >&5
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); } && {
43137 test -z "$ac_c_werror_flag" ||
43138 test ! -s conftest.err
43139 } && test -s conftest$ac_exeext &&
43140 $as_test_x conftest$ac_exeext; then
43141 ac_cv_lib_dl_dlerror=yes
43142 else
43143 echo "$as_me: failed program was:" >&5
43144 sed 's/^/| /' conftest.$ac_ext >&5
43145
43146 ac_cv_lib_dl_dlerror=no
43147 fi
43148
43149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43150 conftest$ac_exeext conftest.$ac_ext
43151 LIBS=$ac_check_lib_save_LIBS
43152 fi
43153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43154 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43155 if test $ac_cv_lib_dl_dlerror = yes; then
43156 cat >>confdefs.h <<\_ACEOF
43157 #define HAVE_DLERROR 1
43158 _ACEOF
43159
43160 fi
43161
43162
43163
43164 fi
43165 done
43166
43167 fi
43168 fi
43169
43170 if test "$USE_DARWIN" = 1; then
43171 HAVE_DL_FUNCS=1
43172 fi
43173
43174 if test "$HAVE_DL_FUNCS" = 0; then
43175 if test "$HAVE_SHL_FUNCS" = 0; then
43176 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43177 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43178 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43179 wxUSE_DYNAMIC_LOADER=no
43180 wxUSE_DYNLIB_CLASS=no
43181 else
43182 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43183 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43184 fi
43185 fi
43186 fi
43187 fi
43188 fi
43189
43190 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_DYNAMIC_LOADER 1
43193 _ACEOF
43194
43195 fi
43196 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_DYNLIB_CLASS 1
43199 _ACEOF
43200
43201 fi
43202
43203
43204
43205 if test "$wxUSE_PLUGINS" = "yes" ; then
43206 if test "$wxUSE_SHARED" = "no" ; then
43207 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43208 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43209 wxUSE_PLUGINS=no
43210 fi
43211 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43212 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43213 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43214 wxUSE_PLUGINS=no
43215 fi
43216 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43217 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43218 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43219 wxUSE_PLUGINS=no
43220 fi
43221 if test "$wxUSE_PLUGINS" = "yes" ; then
43222 cat >>confdefs.h <<\_ACEOF
43223 #define wxUSE_PLUGINS 1
43224 _ACEOF
43225
43226 fi
43227 fi
43228
43229
43230 if test "$wxUSE_FSWATCHER" = "yes"; then
43231 if test "$wxUSE_MSW" != "1"; then
43232 if test "$wxUSE_UNIX" = "yes"; then
43233
43234 for ac_header in sys/inotify.h
43235 do
43236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43240 echo $ECHO_N "(cached) $ECHO_C" >&6
43241 else
43242 cat >conftest.$ac_ext <<_ACEOF
43243 /* confdefs.h. */
43244 _ACEOF
43245 cat confdefs.h >>conftest.$ac_ext
43246 cat >>conftest.$ac_ext <<_ACEOF
43247 /* end confdefs.h. */
43248 $ac_includes_default
43249
43250 #include <$ac_header>
43251 _ACEOF
43252 rm -f conftest.$ac_objext
43253 if { (ac_try="$ac_compile"
43254 case "(($ac_try" in
43255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43256 *) ac_try_echo=$ac_try;;
43257 esac
43258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43259 (eval "$ac_compile") 2>conftest.er1
43260 ac_status=$?
43261 grep -v '^ *+' conftest.er1 >conftest.err
43262 rm -f conftest.er1
43263 cat conftest.err >&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } && {
43266 test -z "$ac_c_werror_flag" ||
43267 test ! -s conftest.err
43268 } && test -s conftest.$ac_objext; then
43269 eval "$as_ac_Header=yes"
43270 else
43271 echo "$as_me: failed program was:" >&5
43272 sed 's/^/| /' conftest.$ac_ext >&5
43273
43274 eval "$as_ac_Header=no"
43275 fi
43276
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278 fi
43279 ac_res=`eval echo '${'$as_ac_Header'}'`
43280 { echo "$as_me:$LINENO: result: $ac_res" >&5
43281 echo "${ECHO_T}$ac_res" >&6; }
43282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43283 cat >>confdefs.h <<_ACEOF
43284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43285 _ACEOF
43286
43287 fi
43288
43289 done
43290
43291 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43292 cat >>confdefs.h <<\_ACEOF
43293 #define wxHAS_INOTIFY 1
43294 _ACEOF
43295
43296 else
43297
43298 for ac_header in sys/event.h
43299 do
43300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43304 echo $ECHO_N "(cached) $ECHO_C" >&6
43305 else
43306 cat >conftest.$ac_ext <<_ACEOF
43307 /* confdefs.h. */
43308 _ACEOF
43309 cat confdefs.h >>conftest.$ac_ext
43310 cat >>conftest.$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43312 $ac_includes_default
43313
43314 #include <$ac_header>
43315 _ACEOF
43316 rm -f conftest.$ac_objext
43317 if { (ac_try="$ac_compile"
43318 case "(($ac_try" in
43319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43320 *) ac_try_echo=$ac_try;;
43321 esac
43322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43323 (eval "$ac_compile") 2>conftest.er1
43324 ac_status=$?
43325 grep -v '^ *+' conftest.er1 >conftest.err
43326 rm -f conftest.er1
43327 cat conftest.err >&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); } && {
43330 test -z "$ac_c_werror_flag" ||
43331 test ! -s conftest.err
43332 } && test -s conftest.$ac_objext; then
43333 eval "$as_ac_Header=yes"
43334 else
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.$ac_ext >&5
43337
43338 eval "$as_ac_Header=no"
43339 fi
43340
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 fi
43343 ac_res=`eval echo '${'$as_ac_Header'}'`
43344 { echo "$as_me:$LINENO: result: $ac_res" >&5
43345 echo "${ECHO_T}$ac_res" >&6; }
43346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43347 cat >>confdefs.h <<_ACEOF
43348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43349 _ACEOF
43350
43351 fi
43352
43353 done
43354
43355 if test "$ac_cv_header_sys_event_h" = "yes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxHAS_KQUEUE 1
43358 _ACEOF
43359
43360 else
43361 wxUSE_FSWATCHER=no
43362 fi
43363 fi
43364 else
43365 wxUSE_FSWATCHER=no
43366 fi
43367 fi
43368
43369 if test "$wxUSE_FSWATCHER" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_FSWATCHER 1
43372 _ACEOF
43373
43374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43375 else
43376 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43377 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43378 fi
43379 fi
43380
43381
43382 if test "$wxUSE_STL" = "yes"; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_STL 1
43385 _ACEOF
43386
43387 fi
43388
43389 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43390 cat >>confdefs.h <<\_ACEOF
43391 #define wxUSE_EXTENDED_RTTI 1
43392 _ACEOF
43393
43394 fi
43395
43396 if test "$wxUSE_ANY" = "yes"; then
43397 cat >>confdefs.h <<\_ACEOF
43398 #define wxUSE_ANY 1
43399 _ACEOF
43400
43401 fi
43402
43403 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43404 cat >>confdefs.h <<\_ACEOF
43405 #define wxUSE_APPLE_IEEE 1
43406 _ACEOF
43407
43408 fi
43409
43410 if test "$wxUSE_TIMER" = "yes"; then
43411 cat >>confdefs.h <<\_ACEOF
43412 #define wxUSE_TIMER 1
43413 _ACEOF
43414
43415 fi
43416
43417 if test "$USE_UNIX" = 1 ; then
43418 if test "$wxUSE_MGL" != 1; then
43419 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43420 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43421 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43422 echo $ECHO_N "(cached) $ECHO_C" >&6
43423 else
43424
43425 cat >conftest.$ac_ext <<_ACEOF
43426 /* confdefs.h. */
43427 _ACEOF
43428 cat confdefs.h >>conftest.$ac_ext
43429 cat >>conftest.$ac_ext <<_ACEOF
43430 /* end confdefs.h. */
43431
43432 #include <sys/ioctl.h>
43433 #include <sys/soundcard.h>
43434
43435 int
43436 main ()
43437 {
43438
43439 ioctl(0, SNDCTL_DSP_SPEED, 0);
43440
43441 ;
43442 return 0;
43443 }
43444 _ACEOF
43445 rm -f conftest.$ac_objext conftest$ac_exeext
43446 if { (ac_try="$ac_link"
43447 case "(($ac_try" in
43448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43449 *) ac_try_echo=$ac_try;;
43450 esac
43451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43452 (eval "$ac_link") 2>conftest.er1
43453 ac_status=$?
43454 grep -v '^ *+' conftest.er1 >conftest.err
43455 rm -f conftest.er1
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } && {
43459 test -z "$ac_c_werror_flag" ||
43460 test ! -s conftest.err
43461 } && test -s conftest$ac_exeext &&
43462 $as_test_x conftest$ac_exeext; then
43463 ac_cv_header_sys_soundcard=yes
43464 else
43465 echo "$as_me: failed program was:" >&5
43466 sed 's/^/| /' conftest.$ac_ext >&5
43467
43468
43469 saveLibs="$LIBS"
43470 LIBS="$saveLibs -lossaudio"
43471 cat >conftest.$ac_ext <<_ACEOF
43472 /* confdefs.h. */
43473 _ACEOF
43474 cat confdefs.h >>conftest.$ac_ext
43475 cat >>conftest.$ac_ext <<_ACEOF
43476 /* end confdefs.h. */
43477
43478 #include <sys/ioctl.h>
43479 #include <sys/soundcard.h>
43480
43481 int
43482 main ()
43483 {
43484
43485 ioctl(0, SNDCTL_DSP_SPEED, 0);
43486
43487 ;
43488 return 0;
43489 }
43490 _ACEOF
43491 rm -f conftest.$ac_objext conftest$ac_exeext
43492 if { (ac_try="$ac_link"
43493 case "(($ac_try" in
43494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43495 *) ac_try_echo=$ac_try;;
43496 esac
43497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43498 (eval "$ac_link") 2>conftest.er1
43499 ac_status=$?
43500 grep -v '^ *+' conftest.er1 >conftest.err
43501 rm -f conftest.er1
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } && {
43505 test -z "$ac_c_werror_flag" ||
43506 test ! -s conftest.err
43507 } && test -s conftest$ac_exeext &&
43508 $as_test_x conftest$ac_exeext; then
43509 ac_cv_header_sys_soundcard=yes
43510 else
43511 echo "$as_me: failed program was:" >&5
43512 sed 's/^/| /' conftest.$ac_ext >&5
43513
43514
43515 LIBS="$saveLibs"
43516 ac_cv_header_sys_soundcard=no
43517
43518
43519 fi
43520
43521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43522 conftest$ac_exeext conftest.$ac_ext
43523
43524
43525 fi
43526
43527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43528 conftest$ac_exeext conftest.$ac_ext
43529
43530 fi
43531 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43532 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43533 fi
43534
43535 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43536 cat >>confdefs.h <<\_ACEOF
43537 #define HAVE_SYS_SOUNDCARD_H 1
43538 _ACEOF
43539
43540 fi
43541 fi
43542
43543 WITH_PLUGIN_SDL=0
43544 if test "$wxUSE_SOUND" = "yes"; then
43545 if test "$USE_UNIX" = 1 ; then
43546 if test "$wxUSE_LIBSDL" != "no"; then
43547
43548 # Check whether --with-sdl-prefix was given.
43549 if test "${with_sdl_prefix+set}" = set; then
43550 withval=$with_sdl_prefix; sdl_prefix="$withval"
43551 else
43552 sdl_prefix=""
43553 fi
43554
43555
43556 # Check whether --with-sdl-exec-prefix was given.
43557 if test "${with_sdl_exec_prefix+set}" = set; then
43558 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43559 else
43560 sdl_exec_prefix=""
43561 fi
43562
43563 # Check whether --enable-sdltest was given.
43564 if test "${enable_sdltest+set}" = set; then
43565 enableval=$enable_sdltest;
43566 else
43567 enable_sdltest=yes
43568 fi
43569
43570
43571 if test x$sdl_exec_prefix != x ; then
43572 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43573 if test x${SDL_CONFIG+set} != xset ; then
43574 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43575 fi
43576 fi
43577 if test x$sdl_prefix != x ; then
43578 sdl_args="$sdl_args --prefix=$sdl_prefix"
43579 if test x${SDL_CONFIG+set} != xset ; then
43580 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43581 fi
43582 fi
43583
43584 if test "x$prefix" != xNONE; then
43585 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43586 fi
43587 # Extract the first word of "sdl-config", so it can be a program name with args.
43588 set dummy sdl-config; ac_word=$2
43589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43591 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43592 echo $ECHO_N "(cached) $ECHO_C" >&6
43593 else
43594 case $SDL_CONFIG in
43595 [\\/]* | ?:[\\/]*)
43596 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43597 ;;
43598 *)
43599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43600 for as_dir in $PATH
43601 do
43602 IFS=$as_save_IFS
43603 test -z "$as_dir" && as_dir=.
43604 for ac_exec_ext in '' $ac_executable_extensions; do
43605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43606 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43608 break 2
43609 fi
43610 done
43611 done
43612 IFS=$as_save_IFS
43613
43614 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43615 ;;
43616 esac
43617 fi
43618 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43619 if test -n "$SDL_CONFIG"; then
43620 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43621 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43622 else
43623 { echo "$as_me:$LINENO: result: no" >&5
43624 echo "${ECHO_T}no" >&6; }
43625 fi
43626
43627
43628 min_sdl_version=1.2.0
43629 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43630 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43631 no_sdl=""
43632 if test "$SDL_CONFIG" = "no" ; then
43633 no_sdl=yes
43634 else
43635 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43636 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43637
43638 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43640 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43642 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43644 if test "x$enable_sdltest" = "xyes" ; then
43645 ac_save_CFLAGS="$CFLAGS"
43646 ac_save_CXXFLAGS="$CXXFLAGS"
43647 ac_save_LIBS="$LIBS"
43648 CFLAGS="$CFLAGS $SDL_CFLAGS"
43649 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43650 LIBS="$LIBS $SDL_LIBS"
43651 rm -f conf.sdltest
43652 if test "$cross_compiling" = yes; then
43653 echo $ac_n "cross compiling; assumed OK... $ac_c"
43654 else
43655 cat >conftest.$ac_ext <<_ACEOF
43656 /* confdefs.h. */
43657 _ACEOF
43658 cat confdefs.h >>conftest.$ac_ext
43659 cat >>conftest.$ac_ext <<_ACEOF
43660 /* end confdefs.h. */
43661
43662 #include <stdio.h>
43663 #include <stdlib.h>
43664 #include <string.h>
43665 #include "SDL.h"
43666
43667 char*
43668 my_strdup (char *str)
43669 {
43670 char *new_str;
43671
43672 if (str)
43673 {
43674 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43675 strcpy (new_str, str);
43676 }
43677 else
43678 new_str = NULL;
43679
43680 return new_str;
43681 }
43682
43683 int main (int argc, char *argv[])
43684 {
43685 int major, minor, micro;
43686 char *tmp_version;
43687
43688 /* This hangs on some systems (?)
43689 system ("touch conf.sdltest");
43690 */
43691 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43692
43693 /* HP/UX 9 (%@#!) writes to sscanf strings */
43694 tmp_version = my_strdup("$min_sdl_version");
43695 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43696 printf("%s, bad version string\n", "$min_sdl_version");
43697 exit(1);
43698 }
43699
43700 if (($sdl_major_version > major) ||
43701 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43702 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43703 {
43704 return 0;
43705 }
43706 else
43707 {
43708 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43709 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43710 printf("*** best to upgrade to the required version.\n");
43711 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43712 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43713 printf("*** config.cache before re-running configure\n");
43714 return 1;
43715 }
43716 }
43717
43718
43719 _ACEOF
43720 rm -f 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>&5
43728 ac_status=$?
43729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43731 { (case "(($ac_try" in
43732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43733 *) ac_try_echo=$ac_try;;
43734 esac
43735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43736 (eval "$ac_try") 2>&5
43737 ac_status=$?
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; }; then
43740 :
43741 else
43742 echo "$as_me: program exited with status $ac_status" >&5
43743 echo "$as_me: failed program was:" >&5
43744 sed 's/^/| /' conftest.$ac_ext >&5
43745
43746 ( exit $ac_status )
43747 no_sdl=yes
43748 fi
43749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43750 fi
43751
43752
43753 CFLAGS="$ac_save_CFLAGS"
43754 CXXFLAGS="$ac_save_CXXFLAGS"
43755 LIBS="$ac_save_LIBS"
43756 fi
43757 fi
43758 if test "x$no_sdl" = x ; then
43759 { echo "$as_me:$LINENO: result: yes" >&5
43760 echo "${ECHO_T}yes" >&6; }
43761
43762 EXTRALIBS_SDL="$SDL_LIBS"
43763 CFLAGS="$SDL_CFLAGS $CFLAGS"
43764 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43765 cat >>confdefs.h <<\_ACEOF
43766 #define wxUSE_LIBSDL 1
43767 _ACEOF
43768
43769
43770 else
43771 { echo "$as_me:$LINENO: result: no" >&5
43772 echo "${ECHO_T}no" >&6; }
43773 if test "$SDL_CONFIG" = "no" ; then
43774 echo "*** The sdl-config script installed by SDL could not be found"
43775 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43776 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43777 echo "*** full path to sdl-config."
43778 else
43779 if test -f conf.sdltest ; then
43780 :
43781 else
43782 echo "*** Could not run SDL test program, checking why..."
43783 CFLAGS="$CFLAGS $SDL_CFLAGS"
43784 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43785 LIBS="$LIBS $SDL_LIBS"
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 <stdio.h>
43794 #include "SDL.h"
43795
43796 int main(int argc, char *argv[])
43797 { return 0; }
43798 #undef main
43799 #define main K_and_R_C_main
43800
43801 int
43802 main ()
43803 {
43804 return 0;
43805 ;
43806 return 0;
43807 }
43808 _ACEOF
43809 rm -f conftest.$ac_objext conftest$ac_exeext
43810 if { (ac_try="$ac_link"
43811 case "(($ac_try" in
43812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43813 *) ac_try_echo=$ac_try;;
43814 esac
43815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43816 (eval "$ac_link") 2>conftest.er1
43817 ac_status=$?
43818 grep -v '^ *+' conftest.er1 >conftest.err
43819 rm -f conftest.er1
43820 cat conftest.err >&5
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); } && {
43823 test -z "$ac_c_werror_flag" ||
43824 test ! -s conftest.err
43825 } && test -s conftest$ac_exeext &&
43826 $as_test_x conftest$ac_exeext; then
43827 echo "*** The test program compiled, but did not run. This usually means"
43828 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43829 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43830 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43831 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43832 echo "*** is required on your system"
43833 echo "***"
43834 echo "*** If you have an old version installed, it is best to remove it, although"
43835 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43836 else
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.$ac_ext >&5
43839
43840 echo "*** The test program failed to compile or link. See the file config.log for the"
43841 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43842 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43843 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43844 fi
43845
43846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43847 conftest$ac_exeext conftest.$ac_ext
43848 CFLAGS="$ac_save_CFLAGS"
43849 CXXFLAGS="$ac_save_CXXFLAGS"
43850 LIBS="$ac_save_LIBS"
43851 fi
43852 fi
43853 SDL_CFLAGS=""
43854 SDL_LIBS=""
43855 wxUSE_LIBSDL="no"
43856 fi
43857
43858
43859 rm -f conf.sdltest
43860
43861 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43862 WITH_PLUGIN_SDL=1
43863 fi
43864 fi
43865 else
43866 if test "$wxUSE_MGL" = 1; then
43867 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43868 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43869 wxUSE_SOUND="no"
43870 fi
43871 fi
43872 fi
43873
43874 if test "$wxUSE_SOUND" = "yes"; then
43875 cat >>confdefs.h <<\_ACEOF
43876 #define wxUSE_SOUND 1
43877 _ACEOF
43878
43879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43880 fi
43881
43882 if test "$WXGTK2" = 1; then
43883
43884
43885 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43886 if test -n "$ac_tool_prefix"; then
43887 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43888 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43891 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43892 echo $ECHO_N "(cached) $ECHO_C" >&6
43893 else
43894 case $PKG_CONFIG in
43895 [\\/]* | ?:[\\/]*)
43896 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43897 ;;
43898 *)
43899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43900 for as_dir in $PATH
43901 do
43902 IFS=$as_save_IFS
43903 test -z "$as_dir" && as_dir=.
43904 for ac_exec_ext in '' $ac_executable_extensions; do
43905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43906 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43908 break 2
43909 fi
43910 done
43911 done
43912 IFS=$as_save_IFS
43913
43914 ;;
43915 esac
43916 fi
43917 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43918 if test -n "$PKG_CONFIG"; then
43919 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43920 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43921 else
43922 { echo "$as_me:$LINENO: result: no" >&5
43923 echo "${ECHO_T}no" >&6; }
43924 fi
43925
43926
43927 fi
43928 if test -z "$ac_cv_path_PKG_CONFIG"; then
43929 ac_pt_PKG_CONFIG=$PKG_CONFIG
43930 # Extract the first word of "pkg-config", so it can be a program name with args.
43931 set dummy pkg-config; ac_word=$2
43932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43934 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43935 echo $ECHO_N "(cached) $ECHO_C" >&6
43936 else
43937 case $ac_pt_PKG_CONFIG in
43938 [\\/]* | ?:[\\/]*)
43939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43940 ;;
43941 *)
43942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43943 for as_dir in $PATH
43944 do
43945 IFS=$as_save_IFS
43946 test -z "$as_dir" && as_dir=.
43947 for ac_exec_ext in '' $ac_executable_extensions; do
43948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43949 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43951 break 2
43952 fi
43953 done
43954 done
43955 IFS=$as_save_IFS
43956
43957 ;;
43958 esac
43959 fi
43960 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43961 if test -n "$ac_pt_PKG_CONFIG"; then
43962 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43963 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43964 else
43965 { echo "$as_me:$LINENO: result: no" >&5
43966 echo "${ECHO_T}no" >&6; }
43967 fi
43968
43969 if test "x$ac_pt_PKG_CONFIG" = x; then
43970 PKG_CONFIG=""
43971 else
43972 case $cross_compiling:$ac_tool_warned in
43973 yes:)
43974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43975 whose name does not start with the host triplet. If you think this
43976 configuration is useful to you, please write to autoconf@gnu.org." >&5
43977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43978 whose name does not start with the host triplet. If you think this
43979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43980 ac_tool_warned=yes ;;
43981 esac
43982 PKG_CONFIG=$ac_pt_PKG_CONFIG
43983 fi
43984 else
43985 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43986 fi
43987
43988 fi
43989 if test -n "$PKG_CONFIG"; then
43990 _pkg_min_version=0.9.0
43991 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43992 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43993 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43994 { echo "$as_me:$LINENO: result: yes" >&5
43995 echo "${ECHO_T}yes" >&6; }
43996 else
43997 { echo "$as_me:$LINENO: result: no" >&5
43998 echo "${ECHO_T}no" >&6; }
43999 PKG_CONFIG=""
44000 fi
44001
44002 fi
44003
44004 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44005
44006 if test "$wxUSE_GTKPRINT" = "yes" ; then
44007
44008
44009 pkg_failed=no
44010 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44011 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44012
44013 if test -n "$PKG_CONFIG"; then
44014 if test -n "$GTKPRINT_CFLAGS"; then
44015 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44016 else
44017 if test -n "$PKG_CONFIG" && \
44018 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44019 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44020 ac_status=$?
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); }; then
44023 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44024 else
44025 pkg_failed=yes
44026 fi
44027 fi
44028 else
44029 pkg_failed=untried
44030 fi
44031 if test -n "$PKG_CONFIG"; then
44032 if test -n "$GTKPRINT_LIBS"; then
44033 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44034 else
44035 if test -n "$PKG_CONFIG" && \
44036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44037 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44038 ac_status=$?
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; then
44041 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44042 else
44043 pkg_failed=yes
44044 fi
44045 fi
44046 else
44047 pkg_failed=untried
44048 fi
44049
44050
44051
44052 if test $pkg_failed = yes; then
44053
44054 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44055 _pkg_short_errors_supported=yes
44056 else
44057 _pkg_short_errors_supported=no
44058 fi
44059 if test $_pkg_short_errors_supported = yes; then
44060 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44061 else
44062 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44063 fi
44064 # Put the nasty error message in config.log where it belongs
44065 echo "$GTKPRINT_PKG_ERRORS" >&5
44066
44067
44068 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44069 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44070 wxUSE_GTKPRINT="no"
44071
44072
44073 elif test $pkg_failed = untried; then
44074
44075 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44076 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44077 wxUSE_GTKPRINT="no"
44078
44079
44080 else
44081 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44082 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44083 { echo "$as_me:$LINENO: result: yes" >&5
44084 echo "${ECHO_T}yes" >&6; }
44085
44086 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44087 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_GTKPRINT 1
44090 _ACEOF
44091
44092
44093 fi
44094 fi
44095
44096 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44097
44098
44099 pkg_failed=no
44100 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44101 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44102
44103 if test -n "$PKG_CONFIG"; then
44104 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44105 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44106 else
44107 if test -n "$PKG_CONFIG" && \
44108 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44109 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44110 ac_status=$?
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; then
44113 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44114 else
44115 pkg_failed=yes
44116 fi
44117 fi
44118 else
44119 pkg_failed=untried
44120 fi
44121 if test -n "$PKG_CONFIG"; then
44122 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44123 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44124 else
44125 if test -n "$PKG_CONFIG" && \
44126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44127 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44128 ac_status=$?
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; then
44131 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44132 else
44133 pkg_failed=yes
44134 fi
44135 fi
44136 else
44137 pkg_failed=untried
44138 fi
44139
44140
44141
44142 if test $pkg_failed = yes; then
44143
44144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44145 _pkg_short_errors_supported=yes
44146 else
44147 _pkg_short_errors_supported=no
44148 fi
44149 if test $_pkg_short_errors_supported = yes; then
44150 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44151 else
44152 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44153 fi
44154 # Put the nasty error message in config.log where it belongs
44155 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44156
44157
44158 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44159 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44160 wxUSE_LIBGNOMEPRINT="no"
44161
44162
44163 elif test $pkg_failed = untried; then
44164
44165 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44166 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44167 wxUSE_LIBGNOMEPRINT="no"
44168
44169
44170 else
44171 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44172 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44173 { echo "$as_me:$LINENO: result: yes" >&5
44174 echo "${ECHO_T}yes" >&6; }
44175
44176 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44177 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_LIBGNOMEPRINT 1
44180 _ACEOF
44181
44182
44183 fi
44184 fi
44185 fi
44186
44187 if test "$wxUSE_MIMETYPE" = "yes" ; then
44188 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44189
44190
44191 pkg_failed=no
44192 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44193 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44194
44195 if test -n "$PKG_CONFIG"; then
44196 if test -n "$GNOMEVFS_CFLAGS"; then
44197 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44198 else
44199 if test -n "$PKG_CONFIG" && \
44200 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44201 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44202 ac_status=$?
44203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204 (exit $ac_status); }; then
44205 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44206 else
44207 pkg_failed=yes
44208 fi
44209 fi
44210 else
44211 pkg_failed=untried
44212 fi
44213 if test -n "$PKG_CONFIG"; then
44214 if test -n "$GNOMEVFS_LIBS"; then
44215 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44216 else
44217 if test -n "$PKG_CONFIG" && \
44218 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44219 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44220 ac_status=$?
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); }; then
44223 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44224 else
44225 pkg_failed=yes
44226 fi
44227 fi
44228 else
44229 pkg_failed=untried
44230 fi
44231
44232
44233
44234 if test $pkg_failed = yes; then
44235
44236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44237 _pkg_short_errors_supported=yes
44238 else
44239 _pkg_short_errors_supported=no
44240 fi
44241 if test $_pkg_short_errors_supported = yes; then
44242 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44243 else
44244 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44245 fi
44246 # Put the nasty error message in config.log where it belongs
44247 echo "$GNOMEVFS_PKG_ERRORS" >&5
44248
44249
44250 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44251 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44252 wxUSE_LIBGNOMEVFS="no"
44253
44254
44255 elif test $pkg_failed = untried; then
44256
44257 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44258 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44259 wxUSE_LIBGNOMEVFS="no"
44260
44261
44262 else
44263 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44264 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44265 { echo "$as_me:$LINENO: result: yes" >&5
44266 echo "${ECHO_T}yes" >&6; }
44267
44268 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44269 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_LIBGNOMEVFS 1
44272 _ACEOF
44273
44274
44275 fi
44276 fi
44277 fi
44278
44279 if test "$wxUSE_LIBHILDON" = "yes" ; then
44280
44281 pkg_failed=no
44282 { echo "$as_me:$LINENO: checking for HILDON" >&5
44283 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44284
44285 if test -n "$PKG_CONFIG"; then
44286 if test -n "$HILDON_CFLAGS"; then
44287 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44288 else
44289 if test -n "$PKG_CONFIG" && \
44290 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44291 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; then
44295 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44296 else
44297 pkg_failed=yes
44298 fi
44299 fi
44300 else
44301 pkg_failed=untried
44302 fi
44303 if test -n "$PKG_CONFIG"; then
44304 if test -n "$HILDON_LIBS"; then
44305 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44306 else
44307 if test -n "$PKG_CONFIG" && \
44308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44309 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44310 ac_status=$?
44311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44312 (exit $ac_status); }; then
44313 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44314 else
44315 pkg_failed=yes
44316 fi
44317 fi
44318 else
44319 pkg_failed=untried
44320 fi
44321
44322
44323
44324 if test $pkg_failed = yes; then
44325
44326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44327 _pkg_short_errors_supported=yes
44328 else
44329 _pkg_short_errors_supported=no
44330 fi
44331 if test $_pkg_short_errors_supported = yes; then
44332 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44333 else
44334 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44335 fi
44336 # Put the nasty error message in config.log where it belongs
44337 echo "$HILDON_PKG_ERRORS" >&5
44338
44339
44340 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44341 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44342 wxUSE_LIBHILDON="no"
44343 ac_hildon_lgpl=0
44344
44345
44346 elif test $pkg_failed = untried; then
44347
44348 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44349 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44350 wxUSE_LIBHILDON="no"
44351 ac_hildon_lgpl=0
44352
44353
44354 else
44355 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44356 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44357 { echo "$as_me:$LINENO: result: yes" >&5
44358 echo "${ECHO_T}yes" >&6; }
44359
44360 EXTRALIBS_HILDON="$HILDON_LIBS"
44361 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44362 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_LIBHILDON 1
44365 _ACEOF
44366
44367 ac_hildon_lgpl=1
44368
44369 fi
44370
44371 if test "$ac_hildon_lgpl" = 0 ; then
44372
44373 pkg_failed=no
44374 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44375 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44376
44377 if test -n "$PKG_CONFIG"; then
44378 if test -n "$HILDON2_CFLAGS"; then
44379 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44380 else
44381 if test -n "$PKG_CONFIG" && \
44382 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44383 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44384 ac_status=$?
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; then
44387 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44388 else
44389 pkg_failed=yes
44390 fi
44391 fi
44392 else
44393 pkg_failed=untried
44394 fi
44395 if test -n "$PKG_CONFIG"; then
44396 if test -n "$HILDON2_LIBS"; then
44397 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44398 else
44399 if test -n "$PKG_CONFIG" && \
44400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44401 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44402 ac_status=$?
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; then
44405 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44406 else
44407 pkg_failed=yes
44408 fi
44409 fi
44410 else
44411 pkg_failed=untried
44412 fi
44413
44414
44415
44416 if test $pkg_failed = yes; then
44417
44418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44419 _pkg_short_errors_supported=yes
44420 else
44421 _pkg_short_errors_supported=no
44422 fi
44423 if test $_pkg_short_errors_supported = yes; then
44424 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44425 else
44426 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44427 fi
44428 # Put the nasty error message in config.log where it belongs
44429 echo "$HILDON2_PKG_ERRORS" >&5
44430
44431
44432 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44433 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44434 wxUSE_LIBHILDON2="no"
44435
44436
44437 elif test $pkg_failed = untried; then
44438
44439 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44440 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44441 wxUSE_LIBHILDON2="no"
44442
44443
44444 else
44445 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44446 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44447 { echo "$as_me:$LINENO: result: yes" >&5
44448 echo "${ECHO_T}yes" >&6; }
44449
44450 EXTRALIBS_HILDON="$HILDON2_LIBS"
44451 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44452 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_LIBHILDON2 1
44455 _ACEOF
44456
44457
44458 fi
44459 fi
44460 fi
44461 fi
44462
44463 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44464 cat >>confdefs.h <<\_ACEOF
44465 #define wxUSE_CMDLINE_PARSER 1
44466 _ACEOF
44467
44468 fi
44469
44470 if test "$wxUSE_STOPWATCH" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_STOPWATCH 1
44473 _ACEOF
44474
44475 fi
44476
44477 if test "$wxUSE_DATETIME" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_DATETIME 1
44480 _ACEOF
44481
44482 fi
44483
44484 if test "$wxUSE_FILE" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_FILE 1
44487 _ACEOF
44488
44489 fi
44490
44491 if test "$wxUSE_FFILE" = "yes"; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_FFILE 1
44494 _ACEOF
44495
44496 fi
44497
44498 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44499 if test "$wxUSE_STREAMS" != yes; then
44500 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44501 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44502 wxUSE_ARCHIVE_STREAMS=no
44503 else
44504 cat >>confdefs.h <<\_ACEOF
44505 #define wxUSE_ARCHIVE_STREAMS 1
44506 _ACEOF
44507
44508 fi
44509 fi
44510
44511 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44512 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44513 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44514 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44515 elif test "$wxUSE_ZLIB" = "no"; then
44516 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44517 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44518 else
44519 cat >>confdefs.h <<\_ACEOF
44520 #define wxUSE_ZIPSTREAM 1
44521 _ACEOF
44522
44523 fi
44524 fi
44525
44526 if test "$wxUSE_TARSTREAM" = "yes"; then
44527 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44528 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44529 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44530 else
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_TARSTREAM 1
44533 _ACEOF
44534
44535 fi
44536 fi
44537
44538 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_FILE_HISTORY 1
44541 _ACEOF
44542
44543 fi
44544
44545 if test "$wxUSE_FILESYSTEM" = "yes"; then
44546 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44547 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44548 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44549 wxUSE_FILESYSTEM=no
44550 else
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_FILESYSTEM 1
44553 _ACEOF
44554
44555 fi
44556 fi
44557
44558 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44559 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44560 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44561 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44562 else
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_FS_ARCHIVE 1
44565 _ACEOF
44566
44567 fi
44568 fi
44569
44570 if test "$wxUSE_FS_ZIP" = "yes"; then
44571 if test "$wxUSE_FS_ARCHIVE" != yes; then
44572 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44573 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44574 else
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_FS_ZIP 1
44577 _ACEOF
44578
44579 fi
44580 fi
44581
44582 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44583 if test "$USE_UNIX" != 1; then
44584 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44585 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44586 wxUSE_ON_FATAL_EXCEPTION=no
44587 else
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_ON_FATAL_EXCEPTION 1
44590 _ACEOF
44591
44592 fi
44593 fi
44594
44595 if test "$wxUSE_STACKWALKER" = "yes"; then
44596 cat >>confdefs.h <<\_ACEOF
44597 #define wxUSE_STACKWALKER 1
44598 _ACEOF
44599
44600 fi
44601
44602 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44603 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44604 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44605 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44606 wxUSE_DEBUGREPORT=no
44607 else
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_DEBUGREPORT 1
44610 _ACEOF
44611
44612 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44614 fi
44615 fi
44616 fi
44617
44618 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_SNGLINST_CHECKER 1
44621 _ACEOF
44622
44623 fi
44624
44625 if test "$wxUSE_BUSYINFO" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_BUSYINFO 1
44628 _ACEOF
44629
44630 fi
44631
44632 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_STD_IOSTREAM 1
44635 _ACEOF
44636
44637 fi
44638
44639 if test "$wxUSE_STD_STRING" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_STD_STRING 1
44642 _ACEOF
44643
44644 fi
44645
44646 if test "$wxUSE_STDPATHS" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_STDPATHS 1
44649 _ACEOF
44650
44651 fi
44652
44653 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define wxUSE_TEXTBUFFER 1
44656 _ACEOF
44657
44658 fi
44659
44660 if test "$wxUSE_TEXTFILE" = "yes"; then
44661 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44662 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44663 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44664 else
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_TEXTFILE 1
44667 _ACEOF
44668
44669 fi
44670 fi
44671
44672 if test "$wxUSE_CONFIG" = "yes" ; then
44673 if test "$wxUSE_TEXTFILE" != "yes"; then
44674 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44675 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44676 else
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_CONFIG 1
44679 _ACEOF
44680
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_CONFIG_NATIVE 1
44683 _ACEOF
44684
44685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44686 fi
44687 fi
44688
44689 if test "$wxUSE_INTL" = "yes" ; then
44690 if test "$wxUSE_FILE" != "yes"; then
44691 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44692 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44693 else
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_INTL 1
44696 _ACEOF
44697
44698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44699 GUIDIST="$GUIDIST INTL_DIST"
44700 fi
44701 fi
44702
44703 if test "$wxUSE_XLOCALE" = "yes" ; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_XLOCALE 1
44706 _ACEOF
44707
44708 { echo "$as_me:$LINENO: checking for locale_t" >&5
44709 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44710 if test "${ac_cv_type_locale_t+set}" = set; then
44711 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 else
44713 cat >conftest.$ac_ext <<_ACEOF
44714 /* confdefs.h. */
44715 _ACEOF
44716 cat confdefs.h >>conftest.$ac_ext
44717 cat >>conftest.$ac_ext <<_ACEOF
44718 /* end confdefs.h. */
44719 #include <xlocale.h>
44720 #include <locale.h>
44721
44722 typedef locale_t ac__type_new_;
44723 int
44724 main ()
44725 {
44726 if ((ac__type_new_ *) 0)
44727 return 0;
44728 if (sizeof (ac__type_new_))
44729 return 0;
44730 ;
44731 return 0;
44732 }
44733 _ACEOF
44734 rm -f conftest.$ac_objext
44735 if { (ac_try="$ac_compile"
44736 case "(($ac_try" in
44737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44738 *) ac_try_echo=$ac_try;;
44739 esac
44740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44741 (eval "$ac_compile") 2>conftest.er1
44742 ac_status=$?
44743 grep -v '^ *+' conftest.er1 >conftest.err
44744 rm -f conftest.er1
44745 cat conftest.err >&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); } && {
44748 test -z "$ac_c_werror_flag" ||
44749 test ! -s conftest.err
44750 } && test -s conftest.$ac_objext; then
44751 ac_cv_type_locale_t=yes
44752 else
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44755
44756 ac_cv_type_locale_t=no
44757 fi
44758
44759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44760 fi
44761 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44762 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44763 if test $ac_cv_type_locale_t = yes; then
44764
44765 cat >>confdefs.h <<_ACEOF
44766 #define HAVE_LOCALE_T 1
44767 _ACEOF
44768
44769
44770 fi
44771
44772 fi
44773
44774 if test "$wxUSE_LOG" = "yes"; then
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_LOG 1
44777 _ACEOF
44778
44779
44780 if test "$wxUSE_LOGGUI" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_LOGGUI 1
44783 _ACEOF
44784
44785 fi
44786
44787 if test "$wxUSE_LOGWINDOW" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_LOGWINDOW 1
44790 _ACEOF
44791
44792 fi
44793
44794 if test "$wxUSE_LOGDIALOG" = "yes"; then
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_LOG_DIALOG 1
44797 _ACEOF
44798
44799 fi
44800
44801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44802 fi
44803
44804 if test "$wxUSE_LONGLONG" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_LONGLONG 1
44807 _ACEOF
44808
44809 fi
44810
44811 if test "$wxUSE_GEOMETRY" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_GEOMETRY 1
44814 _ACEOF
44815
44816 fi
44817
44818 if test "$wxUSE_BASE64" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_BASE64 1
44821 _ACEOF
44822
44823 fi
44824
44825 if test "$wxUSE_STREAMS" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_STREAMS 1
44828 _ACEOF
44829
44830 fi
44831
44832 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_PRINTF_POS_PARAMS 1
44835 _ACEOF
44836
44837 fi
44838
44839 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_OBJC_UNIQUIFYING 1
44842 _ACEOF
44843
44844 fi
44845
44846
44847 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_CONSOLE_EVENTLOOP 1
44850 _ACEOF
44851
44852
44853 if test "$wxUSE_UNIX" = "yes"; then
44854 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_SELECT_DISPATCHER 1
44857 _ACEOF
44858
44859 fi
44860
44861 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44862
44863 for ac_header in sys/epoll.h
44864 do
44865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44869 echo $ECHO_N "(cached) $ECHO_C" >&6
44870 else
44871 cat >conftest.$ac_ext <<_ACEOF
44872 /* confdefs.h. */
44873 _ACEOF
44874 cat confdefs.h >>conftest.$ac_ext
44875 cat >>conftest.$ac_ext <<_ACEOF
44876 /* end confdefs.h. */
44877 $ac_includes_default
44878
44879 #include <$ac_header>
44880 _ACEOF
44881 rm -f conftest.$ac_objext
44882 if { (ac_try="$ac_compile"
44883 case "(($ac_try" in
44884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44885 *) ac_try_echo=$ac_try;;
44886 esac
44887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44888 (eval "$ac_compile") 2>conftest.er1
44889 ac_status=$?
44890 grep -v '^ *+' conftest.er1 >conftest.err
44891 rm -f conftest.er1
44892 cat conftest.err >&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); } && {
44895 test -z "$ac_c_werror_flag" ||
44896 test ! -s conftest.err
44897 } && test -s conftest.$ac_objext; then
44898 eval "$as_ac_Header=yes"
44899 else
44900 echo "$as_me: failed program was:" >&5
44901 sed 's/^/| /' conftest.$ac_ext >&5
44902
44903 eval "$as_ac_Header=no"
44904 fi
44905
44906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44907 fi
44908 ac_res=`eval echo '${'$as_ac_Header'}'`
44909 { echo "$as_me:$LINENO: result: $ac_res" >&5
44910 echo "${ECHO_T}$ac_res" >&6; }
44911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44912 cat >>confdefs.h <<_ACEOF
44913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44914 _ACEOF
44915
44916 fi
44917
44918 done
44919
44920 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_EPOLL_DISPATCHER 1
44923 _ACEOF
44924
44925 else
44926 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44927 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44928 fi
44929 fi
44930 fi
44931 fi
44932
44933
44934
44935
44936 for ac_func in gettimeofday ftime
44937 do
44938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44942 echo $ECHO_N "(cached) $ECHO_C" >&6
44943 else
44944 cat >conftest.$ac_ext <<_ACEOF
44945 /* confdefs.h. */
44946 _ACEOF
44947 cat confdefs.h >>conftest.$ac_ext
44948 cat >>conftest.$ac_ext <<_ACEOF
44949 /* end confdefs.h. */
44950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44952 #define $ac_func innocuous_$ac_func
44953
44954 /* System header to define __stub macros and hopefully few prototypes,
44955 which can conflict with char $ac_func (); below.
44956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44957 <limits.h> exists even on freestanding compilers. */
44958
44959 #ifdef __STDC__
44960 # include <limits.h>
44961 #else
44962 # include <assert.h>
44963 #endif
44964
44965 #undef $ac_func
44966
44967 /* Override any GCC internal prototype to avoid an error.
44968 Use char because int might match the return type of a GCC
44969 builtin and then its argument prototype would still apply. */
44970 #ifdef __cplusplus
44971 extern "C"
44972 #endif
44973 char $ac_func ();
44974 /* The GNU C library defines this for functions which it implements
44975 to always fail with ENOSYS. Some functions are actually named
44976 something starting with __ and the normal name is an alias. */
44977 #if defined __stub_$ac_func || defined __stub___$ac_func
44978 choke me
44979 #endif
44980
44981 int
44982 main ()
44983 {
44984 return $ac_func ();
44985 ;
44986 return 0;
44987 }
44988 _ACEOF
44989 rm -f conftest.$ac_objext conftest$ac_exeext
44990 if { (ac_try="$ac_link"
44991 case "(($ac_try" in
44992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44993 *) ac_try_echo=$ac_try;;
44994 esac
44995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44996 (eval "$ac_link") 2>conftest.er1
44997 ac_status=$?
44998 grep -v '^ *+' conftest.er1 >conftest.err
44999 rm -f conftest.er1
45000 cat conftest.err >&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); } && {
45003 test -z "$ac_c_werror_flag" ||
45004 test ! -s conftest.err
45005 } && test -s conftest$ac_exeext &&
45006 $as_test_x conftest$ac_exeext; then
45007 eval "$as_ac_var=yes"
45008 else
45009 echo "$as_me: failed program was:" >&5
45010 sed 's/^/| /' conftest.$ac_ext >&5
45011
45012 eval "$as_ac_var=no"
45013 fi
45014
45015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45016 conftest$ac_exeext conftest.$ac_ext
45017 fi
45018 ac_res=`eval echo '${'$as_ac_var'}'`
45019 { echo "$as_me:$LINENO: result: $ac_res" >&5
45020 echo "${ECHO_T}$ac_res" >&6; }
45021 if test `eval echo '${'$as_ac_var'}'` = yes; then
45022 cat >>confdefs.h <<_ACEOF
45023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45024 _ACEOF
45025 break
45026 fi
45027 done
45028
45029
45030 if test "$ac_cv_func_gettimeofday" = "yes"; then
45031 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45032 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45033 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45034 echo $ECHO_N "(cached) $ECHO_C" >&6
45035 else
45036
45037 cat >conftest.$ac_ext <<_ACEOF
45038 /* confdefs.h. */
45039 _ACEOF
45040 cat confdefs.h >>conftest.$ac_ext
45041 cat >>conftest.$ac_ext <<_ACEOF
45042 /* end confdefs.h. */
45043
45044 #include <sys/time.h>
45045 #include <unistd.h>
45046
45047 int
45048 main ()
45049 {
45050
45051 struct timeval tv;
45052 gettimeofday(&tv, NULL);
45053
45054 ;
45055 return 0;
45056 }
45057 _ACEOF
45058 rm -f conftest.$ac_objext
45059 if { (ac_try="$ac_compile"
45060 case "(($ac_try" in
45061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45062 *) ac_try_echo=$ac_try;;
45063 esac
45064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45065 (eval "$ac_compile") 2>conftest.er1
45066 ac_status=$?
45067 grep -v '^ *+' conftest.er1 >conftest.err
45068 rm -f conftest.er1
45069 cat conftest.err >&5
45070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071 (exit $ac_status); } && {
45072 test -z "$ac_c_werror_flag" ||
45073 test ! -s conftest.err
45074 } && test -s conftest.$ac_objext; then
45075 wx_cv_func_gettimeofday_has_2_args=yes
45076 else
45077 echo "$as_me: failed program was:" >&5
45078 sed 's/^/| /' conftest.$ac_ext >&5
45079
45080 cat >conftest.$ac_ext <<_ACEOF
45081 /* confdefs.h. */
45082 _ACEOF
45083 cat confdefs.h >>conftest.$ac_ext
45084 cat >>conftest.$ac_ext <<_ACEOF
45085 /* end confdefs.h. */
45086
45087 #include <sys/time.h>
45088 #include <unistd.h>
45089
45090 int
45091 main ()
45092 {
45093
45094 struct timeval tv;
45095 gettimeofday(&tv);
45096
45097 ;
45098 return 0;
45099 }
45100 _ACEOF
45101 rm -f conftest.$ac_objext
45102 if { (ac_try="$ac_compile"
45103 case "(($ac_try" in
45104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45105 *) ac_try_echo=$ac_try;;
45106 esac
45107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45108 (eval "$ac_compile") 2>conftest.er1
45109 ac_status=$?
45110 grep -v '^ *+' conftest.er1 >conftest.err
45111 rm -f conftest.er1
45112 cat conftest.err >&5
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); } && {
45115 test -z "$ac_c_werror_flag" ||
45116 test ! -s conftest.err
45117 } && test -s conftest.$ac_objext; then
45118 wx_cv_func_gettimeofday_has_2_args=no
45119 else
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45122
45123
45124 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45125 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45126 wx_cv_func_gettimeofday_has_2_args=unknown
45127
45128
45129 fi
45130
45131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45132
45133 fi
45134
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136
45137 fi
45138 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45139 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45140
45141 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define WX_GETTIMEOFDAY_NO_TZ 1
45144 _ACEOF
45145
45146 fi
45147 fi
45148
45149 if test "$wxUSE_DATETIME" = "yes"; then
45150 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45151 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45152 if test "${wx_cv_var_timezone+set}" = set; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 else
45155
45156 ac_ext=cpp
45157 ac_cpp='$CXXCPP $CPPFLAGS'
45158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45161
45162 cat >conftest.$ac_ext <<_ACEOF
45163 /* confdefs.h. */
45164 _ACEOF
45165 cat confdefs.h >>conftest.$ac_ext
45166 cat >>conftest.$ac_ext <<_ACEOF
45167 /* end confdefs.h. */
45168
45169 #include <time.h>
45170
45171 int
45172 main ()
45173 {
45174
45175 int tz;
45176 tz = timezone;
45177
45178 ;
45179 return 0;
45180 }
45181 _ACEOF
45182 rm -f conftest.$ac_objext
45183 if { (ac_try="$ac_compile"
45184 case "(($ac_try" in
45185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45186 *) ac_try_echo=$ac_try;;
45187 esac
45188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45189 (eval "$ac_compile") 2>conftest.er1
45190 ac_status=$?
45191 grep -v '^ *+' conftest.er1 >conftest.err
45192 rm -f conftest.er1
45193 cat conftest.err >&5
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); } && {
45196 test -z "$ac_cxx_werror_flag" ||
45197 test ! -s conftest.err
45198 } && test -s conftest.$ac_objext; then
45199
45200 wx_cv_var_timezone=timezone
45201
45202 else
45203 echo "$as_me: failed program was:" >&5
45204 sed 's/^/| /' conftest.$ac_ext >&5
45205
45206
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213
45214 #include <time.h>
45215
45216 int
45217 main ()
45218 {
45219
45220 int tz;
45221 tz = _timezone;
45222
45223 ;
45224 return 0;
45225 }
45226 _ACEOF
45227 rm -f conftest.$ac_objext
45228 if { (ac_try="$ac_compile"
45229 case "(($ac_try" in
45230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45231 *) ac_try_echo=$ac_try;;
45232 esac
45233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45234 (eval "$ac_compile") 2>conftest.er1
45235 ac_status=$?
45236 grep -v '^ *+' conftest.er1 >conftest.err
45237 rm -f conftest.er1
45238 cat conftest.err >&5
45239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240 (exit $ac_status); } && {
45241 test -z "$ac_cxx_werror_flag" ||
45242 test ! -s conftest.err
45243 } && test -s conftest.$ac_objext; then
45244
45245 wx_cv_var_timezone=_timezone
45246
45247 else
45248 echo "$as_me: failed program was:" >&5
45249 sed 's/^/| /' conftest.$ac_ext >&5
45250
45251
45252 cat >conftest.$ac_ext <<_ACEOF
45253 /* confdefs.h. */
45254 _ACEOF
45255 cat confdefs.h >>conftest.$ac_ext
45256 cat >>conftest.$ac_ext <<_ACEOF
45257 /* end confdefs.h. */
45258
45259 #include <time.h>
45260
45261 int
45262 main ()
45263 {
45264
45265 int tz;
45266 tz = __timezone;
45267
45268 ;
45269 return 0;
45270 }
45271 _ACEOF
45272 rm -f conftest.$ac_objext
45273 if { (ac_try="$ac_compile"
45274 case "(($ac_try" in
45275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45276 *) ac_try_echo=$ac_try;;
45277 esac
45278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45279 (eval "$ac_compile") 2>conftest.er1
45280 ac_status=$?
45281 grep -v '^ *+' conftest.er1 >conftest.err
45282 rm -f conftest.er1
45283 cat conftest.err >&5
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); } && {
45286 test -z "$ac_cxx_werror_flag" ||
45287 test ! -s conftest.err
45288 } && test -s conftest.$ac_objext; then
45289
45290 wx_cv_var_timezone=__timezone
45291
45292 else
45293 echo "$as_me: failed program was:" >&5
45294 sed 's/^/| /' conftest.$ac_ext >&5
45295
45296
45297 if test "$USE_DOS" = 0 ; then
45298 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45299 echo "$as_me: WARNING: no timezone variable" >&2;}
45300 fi
45301
45302
45303 fi
45304
45305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45306
45307
45308 fi
45309
45310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311
45312
45313 fi
45314
45315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45316 ac_ext=c
45317 ac_cpp='$CPP $CPPFLAGS'
45318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45321
45322
45323
45324 fi
45325 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45326 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45327
45328 if test "x$wx_cv_var_timezone" != x ; then
45329 cat >>confdefs.h <<_ACEOF
45330 #define WX_TIMEZONE $wx_cv_var_timezone
45331 _ACEOF
45332
45333 fi
45334
45335
45336 for ac_func in localtime
45337 do
45338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45342 echo $ECHO_N "(cached) $ECHO_C" >&6
45343 else
45344 cat >conftest.$ac_ext <<_ACEOF
45345 /* confdefs.h. */
45346 _ACEOF
45347 cat confdefs.h >>conftest.$ac_ext
45348 cat >>conftest.$ac_ext <<_ACEOF
45349 /* end confdefs.h. */
45350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45352 #define $ac_func innocuous_$ac_func
45353
45354 /* System header to define __stub macros and hopefully few prototypes,
45355 which can conflict with char $ac_func (); below.
45356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45357 <limits.h> exists even on freestanding compilers. */
45358
45359 #ifdef __STDC__
45360 # include <limits.h>
45361 #else
45362 # include <assert.h>
45363 #endif
45364
45365 #undef $ac_func
45366
45367 /* Override any GCC internal prototype to avoid an error.
45368 Use char because int might match the return type of a GCC
45369 builtin and then its argument prototype would still apply. */
45370 #ifdef __cplusplus
45371 extern "C"
45372 #endif
45373 char $ac_func ();
45374 /* The GNU C library defines this for functions which it implements
45375 to always fail with ENOSYS. Some functions are actually named
45376 something starting with __ and the normal name is an alias. */
45377 #if defined __stub_$ac_func || defined __stub___$ac_func
45378 choke me
45379 #endif
45380
45381 int
45382 main ()
45383 {
45384 return $ac_func ();
45385 ;
45386 return 0;
45387 }
45388 _ACEOF
45389 rm -f conftest.$ac_objext conftest$ac_exeext
45390 if { (ac_try="$ac_link"
45391 case "(($ac_try" in
45392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45393 *) ac_try_echo=$ac_try;;
45394 esac
45395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45396 (eval "$ac_link") 2>conftest.er1
45397 ac_status=$?
45398 grep -v '^ *+' conftest.er1 >conftest.err
45399 rm -f conftest.er1
45400 cat conftest.err >&5
45401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45402 (exit $ac_status); } && {
45403 test -z "$ac_c_werror_flag" ||
45404 test ! -s conftest.err
45405 } && test -s conftest$ac_exeext &&
45406 $as_test_x conftest$ac_exeext; then
45407 eval "$as_ac_var=yes"
45408 else
45409 echo "$as_me: failed program was:" >&5
45410 sed 's/^/| /' conftest.$ac_ext >&5
45411
45412 eval "$as_ac_var=no"
45413 fi
45414
45415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45416 conftest$ac_exeext conftest.$ac_ext
45417 fi
45418 ac_res=`eval echo '${'$as_ac_var'}'`
45419 { echo "$as_me:$LINENO: result: $ac_res" >&5
45420 echo "${ECHO_T}$ac_res" >&6; }
45421 if test `eval echo '${'$as_ac_var'}'` = yes; then
45422 cat >>confdefs.h <<_ACEOF
45423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45424 _ACEOF
45425
45426 fi
45427 done
45428
45429
45430 if test "$ac_cv_func_localtime" = "yes"; then
45431 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45432 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45433 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45434 echo $ECHO_N "(cached) $ECHO_C" >&6
45435 else
45436
45437 cat >conftest.$ac_ext <<_ACEOF
45438 /* confdefs.h. */
45439 _ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h. */
45443
45444 #include <time.h>
45445
45446 int
45447 main ()
45448 {
45449
45450 struct tm tm;
45451 tm.tm_gmtoff++;
45452
45453 ;
45454 return 0;
45455 }
45456 _ACEOF
45457 rm -f conftest.$ac_objext
45458 if { (ac_try="$ac_compile"
45459 case "(($ac_try" in
45460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45461 *) ac_try_echo=$ac_try;;
45462 esac
45463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45464 (eval "$ac_compile") 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } && {
45471 test -z "$ac_c_werror_flag" ||
45472 test ! -s conftest.err
45473 } && test -s conftest.$ac_objext; then
45474
45475 wx_cv_struct_tm_has_gmtoff=yes
45476
45477 else
45478 echo "$as_me: failed program was:" >&5
45479 sed 's/^/| /' conftest.$ac_ext >&5
45480
45481 wx_cv_struct_tm_has_gmtoff=no
45482
45483 fi
45484
45485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45486
45487 fi
45488 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45489 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45490 fi
45491
45492 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define WX_GMTOFF_IN_TM 1
45495 _ACEOF
45496
45497 fi
45498
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45500 fi
45501
45502
45503 if test "$wxUSE_SOCKETS" = "yes"; then
45504 if test "$wxUSE_MGL" = 1; then
45505 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45506 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45507 wxUSE_SOCKETS="no"
45508 fi
45509 fi
45510
45511 if test "$wxUSE_SOCKETS" = "yes"; then
45512 if test "$TOOLKIT" != "MSW"; then
45513 { echo "$as_me:$LINENO: checking for socket" >&5
45514 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45515 if test "${ac_cv_func_socket+set}" = set; then
45516 echo $ECHO_N "(cached) $ECHO_C" >&6
45517 else
45518 cat >conftest.$ac_ext <<_ACEOF
45519 /* confdefs.h. */
45520 _ACEOF
45521 cat confdefs.h >>conftest.$ac_ext
45522 cat >>conftest.$ac_ext <<_ACEOF
45523 /* end confdefs.h. */
45524 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45526 #define socket innocuous_socket
45527
45528 /* System header to define __stub macros and hopefully few prototypes,
45529 which can conflict with char socket (); below.
45530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45531 <limits.h> exists even on freestanding compilers. */
45532
45533 #ifdef __STDC__
45534 # include <limits.h>
45535 #else
45536 # include <assert.h>
45537 #endif
45538
45539 #undef socket
45540
45541 /* Override any GCC internal prototype to avoid an error.
45542 Use char because int might match the return type of a GCC
45543 builtin and then its argument prototype would still apply. */
45544 #ifdef __cplusplus
45545 extern "C"
45546 #endif
45547 char socket ();
45548 /* The GNU C library defines this for functions which it implements
45549 to always fail with ENOSYS. Some functions are actually named
45550 something starting with __ and the normal name is an alias. */
45551 #if defined __stub_socket || defined __stub___socket
45552 choke me
45553 #endif
45554
45555 int
45556 main ()
45557 {
45558 return socket ();
45559 ;
45560 return 0;
45561 }
45562 _ACEOF
45563 rm -f conftest.$ac_objext conftest$ac_exeext
45564 if { (ac_try="$ac_link"
45565 case "(($ac_try" in
45566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45567 *) ac_try_echo=$ac_try;;
45568 esac
45569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45570 (eval "$ac_link") 2>conftest.er1
45571 ac_status=$?
45572 grep -v '^ *+' conftest.er1 >conftest.err
45573 rm -f conftest.er1
45574 cat conftest.err >&5
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); } && {
45577 test -z "$ac_c_werror_flag" ||
45578 test ! -s conftest.err
45579 } && test -s conftest$ac_exeext &&
45580 $as_test_x conftest$ac_exeext; then
45581 ac_cv_func_socket=yes
45582 else
45583 echo "$as_me: failed program was:" >&5
45584 sed 's/^/| /' conftest.$ac_ext >&5
45585
45586 ac_cv_func_socket=no
45587 fi
45588
45589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45590 conftest$ac_exeext conftest.$ac_ext
45591 fi
45592 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45593 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45594 if test $ac_cv_func_socket = yes; then
45595 :
45596 else
45597
45598 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45599 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45600 if test "${ac_cv_lib_socket_socket+set}" = set; then
45601 echo $ECHO_N "(cached) $ECHO_C" >&6
45602 else
45603 ac_check_lib_save_LIBS=$LIBS
45604 LIBS="-lsocket $LIBS"
45605 cat >conftest.$ac_ext <<_ACEOF
45606 /* confdefs.h. */
45607 _ACEOF
45608 cat confdefs.h >>conftest.$ac_ext
45609 cat >>conftest.$ac_ext <<_ACEOF
45610 /* end confdefs.h. */
45611
45612 /* Override any GCC internal prototype to avoid an error.
45613 Use char because int might match the return type of a GCC
45614 builtin and then its argument prototype would still apply. */
45615 #ifdef __cplusplus
45616 extern "C"
45617 #endif
45618 char socket ();
45619 int
45620 main ()
45621 {
45622 return socket ();
45623 ;
45624 return 0;
45625 }
45626 _ACEOF
45627 rm -f conftest.$ac_objext conftest$ac_exeext
45628 if { (ac_try="$ac_link"
45629 case "(($ac_try" in
45630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45631 *) ac_try_echo=$ac_try;;
45632 esac
45633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45634 (eval "$ac_link") 2>conftest.er1
45635 ac_status=$?
45636 grep -v '^ *+' conftest.er1 >conftest.err
45637 rm -f conftest.er1
45638 cat conftest.err >&5
45639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45640 (exit $ac_status); } && {
45641 test -z "$ac_c_werror_flag" ||
45642 test ! -s conftest.err
45643 } && test -s conftest$ac_exeext &&
45644 $as_test_x conftest$ac_exeext; then
45645 ac_cv_lib_socket_socket=yes
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45649
45650 ac_cv_lib_socket_socket=no
45651 fi
45652
45653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45654 conftest$ac_exeext conftest.$ac_ext
45655 LIBS=$ac_check_lib_save_LIBS
45656 fi
45657 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45658 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45659 if test $ac_cv_lib_socket_socket = yes; then
45660 if test "$INET_LINK" != " -lsocket"; then
45661 INET_LINK="$INET_LINK -lsocket"
45662 fi
45663 else
45664
45665 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45666 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45667 wxUSE_SOCKETS=no
45668
45669
45670 fi
45671
45672
45673
45674 fi
45675
45676 fi
45677 fi
45678
45679 if test "$wxUSE_SOCKETS" = "yes" ; then
45680 if test "$TOOLKIT" != "MSW"; then
45681 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45682 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45683 if test "${wx_cv_type_getsockname3+set}" = set; then
45684 echo $ECHO_N "(cached) $ECHO_C" >&6
45685 else
45686
45687 ac_ext=cpp
45688 ac_cpp='$CXXCPP $CPPFLAGS'
45689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45692
45693 cat >conftest.$ac_ext <<_ACEOF
45694 /* confdefs.h. */
45695 _ACEOF
45696 cat confdefs.h >>conftest.$ac_ext
45697 cat >>conftest.$ac_ext <<_ACEOF
45698 /* end confdefs.h. */
45699
45700 #include <sys/types.h>
45701 #include <sys/socket.h>
45702
45703 int
45704 main ()
45705 {
45706
45707 socklen_t len;
45708 getsockname(0, 0, &len);
45709
45710 ;
45711 return 0;
45712 }
45713 _ACEOF
45714 rm -f conftest.$ac_objext
45715 if { (ac_try="$ac_compile"
45716 case "(($ac_try" in
45717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45718 *) ac_try_echo=$ac_try;;
45719 esac
45720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45721 (eval "$ac_compile") 2>conftest.er1
45722 ac_status=$?
45723 grep -v '^ *+' conftest.er1 >conftest.err
45724 rm -f conftest.er1
45725 cat conftest.err >&5
45726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45727 (exit $ac_status); } && {
45728 test -z "$ac_cxx_werror_flag" ||
45729 test ! -s conftest.err
45730 } && test -s conftest.$ac_objext; then
45731 wx_cv_type_getsockname3=socklen_t
45732 else
45733 echo "$as_me: failed program was:" >&5
45734 sed 's/^/| /' conftest.$ac_ext >&5
45735
45736
45737 CFLAGS_OLD="$CFLAGS"
45738 if test "$GCC" = yes ; then
45739 CFLAGS="-Werror $CFLAGS"
45740 fi
45741
45742 cat >conftest.$ac_ext <<_ACEOF
45743 /* confdefs.h. */
45744 _ACEOF
45745 cat confdefs.h >>conftest.$ac_ext
45746 cat >>conftest.$ac_ext <<_ACEOF
45747 /* end confdefs.h. */
45748
45749 #include <sys/types.h>
45750 #include <sys/socket.h>
45751
45752 int
45753 main ()
45754 {
45755
45756 size_t len;
45757 getsockname(0, 0, &len);
45758
45759 ;
45760 return 0;
45761 }
45762 _ACEOF
45763 rm -f conftest.$ac_objext
45764 if { (ac_try="$ac_compile"
45765 case "(($ac_try" in
45766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45767 *) ac_try_echo=$ac_try;;
45768 esac
45769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45770 (eval "$ac_compile") 2>conftest.er1
45771 ac_status=$?
45772 grep -v '^ *+' conftest.er1 >conftest.err
45773 rm -f conftest.er1
45774 cat conftest.err >&5
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); } && {
45777 test -z "$ac_cxx_werror_flag" ||
45778 test ! -s conftest.err
45779 } && test -s conftest.$ac_objext; then
45780 wx_cv_type_getsockname3=size_t
45781 else
45782 echo "$as_me: failed program was:" >&5
45783 sed 's/^/| /' conftest.$ac_ext >&5
45784
45785 cat >conftest.$ac_ext <<_ACEOF
45786 /* confdefs.h. */
45787 _ACEOF
45788 cat confdefs.h >>conftest.$ac_ext
45789 cat >>conftest.$ac_ext <<_ACEOF
45790 /* end confdefs.h. */
45791
45792 #include <sys/types.h>
45793 #include <sys/socket.h>
45794
45795 int
45796 main ()
45797 {
45798
45799 int len;
45800 getsockname(0, 0, &len);
45801
45802 ;
45803 return 0;
45804 }
45805 _ACEOF
45806 rm -f conftest.$ac_objext
45807 if { (ac_try="$ac_compile"
45808 case "(($ac_try" in
45809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45810 *) ac_try_echo=$ac_try;;
45811 esac
45812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45813 (eval "$ac_compile") 2>conftest.er1
45814 ac_status=$?
45815 grep -v '^ *+' conftest.er1 >conftest.err
45816 rm -f conftest.er1
45817 cat conftest.err >&5
45818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45819 (exit $ac_status); } && {
45820 test -z "$ac_cxx_werror_flag" ||
45821 test ! -s conftest.err
45822 } && test -s conftest.$ac_objext; then
45823 wx_cv_type_getsockname3=int
45824 else
45825 echo "$as_me: failed program was:" >&5
45826 sed 's/^/| /' conftest.$ac_ext >&5
45827
45828 wx_cv_type_getsockname3=unknown
45829
45830 fi
45831
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833
45834 fi
45835
45836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45837
45838 CFLAGS="$CFLAGS_OLD"
45839
45840
45841 fi
45842
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45849
45850
45851 fi
45852 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45853 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45854
45855 if test "$wx_cv_type_getsockname3" = "unknown"; then
45856 wxUSE_SOCKETS=no
45857 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45858 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45859 else
45860 cat >>confdefs.h <<_ACEOF
45861 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45862 _ACEOF
45863
45864 fi
45865 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45866 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45867 if test "${wx_cv_type_getsockopt5+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 else
45870
45871 ac_ext=cpp
45872 ac_cpp='$CXXCPP $CPPFLAGS'
45873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45876
45877 cat >conftest.$ac_ext <<_ACEOF
45878 /* confdefs.h. */
45879 _ACEOF
45880 cat confdefs.h >>conftest.$ac_ext
45881 cat >>conftest.$ac_ext <<_ACEOF
45882 /* end confdefs.h. */
45883
45884 #include <sys/types.h>
45885 #include <sys/socket.h>
45886
45887 int
45888 main ()
45889 {
45890
45891 socklen_t len;
45892 getsockopt(0, 0, 0, 0, &len);
45893
45894 ;
45895 return 0;
45896 }
45897 _ACEOF
45898 rm -f conftest.$ac_objext
45899 if { (ac_try="$ac_compile"
45900 case "(($ac_try" in
45901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45902 *) ac_try_echo=$ac_try;;
45903 esac
45904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45905 (eval "$ac_compile") 2>conftest.er1
45906 ac_status=$?
45907 grep -v '^ *+' conftest.er1 >conftest.err
45908 rm -f conftest.er1
45909 cat conftest.err >&5
45910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45911 (exit $ac_status); } && {
45912 test -z "$ac_cxx_werror_flag" ||
45913 test ! -s conftest.err
45914 } && test -s conftest.$ac_objext; then
45915 wx_cv_type_getsockopt5=socklen_t
45916 else
45917 echo "$as_me: failed program was:" >&5
45918 sed 's/^/| /' conftest.$ac_ext >&5
45919
45920
45921 cat >conftest.$ac_ext <<_ACEOF
45922 /* confdefs.h. */
45923 _ACEOF
45924 cat confdefs.h >>conftest.$ac_ext
45925 cat >>conftest.$ac_ext <<_ACEOF
45926 /* end confdefs.h. */
45927
45928 #include <sys/types.h>
45929 #include <sys/socket.h>
45930
45931 int
45932 main ()
45933 {
45934
45935 size_t len;
45936 getsockopt(0, 0, 0, 0, &len);
45937
45938 ;
45939 return 0;
45940 }
45941 _ACEOF
45942 rm -f conftest.$ac_objext
45943 if { (ac_try="$ac_compile"
45944 case "(($ac_try" in
45945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45946 *) ac_try_echo=$ac_try;;
45947 esac
45948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45949 (eval "$ac_compile") 2>conftest.er1
45950 ac_status=$?
45951 grep -v '^ *+' conftest.er1 >conftest.err
45952 rm -f conftest.er1
45953 cat conftest.err >&5
45954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955 (exit $ac_status); } && {
45956 test -z "$ac_cxx_werror_flag" ||
45957 test ! -s conftest.err
45958 } && test -s conftest.$ac_objext; then
45959 wx_cv_type_getsockopt5=size_t
45960 else
45961 echo "$as_me: failed program was:" >&5
45962 sed 's/^/| /' conftest.$ac_ext >&5
45963
45964 cat >conftest.$ac_ext <<_ACEOF
45965 /* confdefs.h. */
45966 _ACEOF
45967 cat confdefs.h >>conftest.$ac_ext
45968 cat >>conftest.$ac_ext <<_ACEOF
45969 /* end confdefs.h. */
45970
45971 #include <sys/types.h>
45972 #include <sys/socket.h>
45973
45974 int
45975 main ()
45976 {
45977
45978 int len;
45979 getsockopt(0, 0, 0, 0, &len);
45980
45981 ;
45982 return 0;
45983 }
45984 _ACEOF
45985 rm -f conftest.$ac_objext
45986 if { (ac_try="$ac_compile"
45987 case "(($ac_try" in
45988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45989 *) ac_try_echo=$ac_try;;
45990 esac
45991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45992 (eval "$ac_compile") 2>conftest.er1
45993 ac_status=$?
45994 grep -v '^ *+' conftest.er1 >conftest.err
45995 rm -f conftest.er1
45996 cat conftest.err >&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); } && {
45999 test -z "$ac_cxx_werror_flag" ||
46000 test ! -s conftest.err
46001 } && test -s conftest.$ac_objext; then
46002 wx_cv_type_getsockopt5=int
46003 else
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46006
46007 wx_cv_type_getsockopt5=unknown
46008
46009 fi
46010
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012
46013 fi
46014
46015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46016
46017
46018 fi
46019
46020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026
46027
46028 fi
46029 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46030 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46031
46032 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46033 wxUSE_SOCKETS=no
46034 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46035 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46036 else
46037 cat >>confdefs.h <<_ACEOF
46038 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46039 _ACEOF
46040
46041 fi
46042 fi
46043 fi
46044
46045 if test "$wxUSE_SOCKETS" = "yes" ; then
46046 if test "$wxUSE_IPV6" = "yes"; then
46047 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46048 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46049 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052
46053 cat >conftest.$ac_ext <<_ACEOF
46054 /* confdefs.h. */
46055 _ACEOF
46056 cat confdefs.h >>conftest.$ac_ext
46057 cat >>conftest.$ac_ext <<_ACEOF
46058 /* end confdefs.h. */
46059
46060 #include <sys/types.h>
46061 #include <sys/socket.h>
46062 #include <netinet/in.h>
46063
46064 int
46065 main ()
46066 {
46067
46068 struct sockaddr_in6 sa6;
46069
46070 ;
46071 return 0;
46072 }
46073 _ACEOF
46074 rm -f conftest.$ac_objext
46075 if { (ac_try="$ac_compile"
46076 case "(($ac_try" in
46077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46078 *) ac_try_echo=$ac_try;;
46079 esac
46080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46081 (eval "$ac_compile") 2>conftest.er1
46082 ac_status=$?
46083 grep -v '^ *+' conftest.er1 >conftest.err
46084 rm -f conftest.er1
46085 cat conftest.err >&5
46086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46087 (exit $ac_status); } && {
46088 test -z "$ac_c_werror_flag" ||
46089 test ! -s conftest.err
46090 } && test -s conftest.$ac_objext; then
46091 wx_cv_type_sockaddr_in6=yes
46092 else
46093 echo "$as_me: failed program was:" >&5
46094 sed 's/^/| /' conftest.$ac_ext >&5
46095
46096 wx_cv_type_sockaddr_in6=no
46097
46098 fi
46099
46100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46101
46102
46103 fi
46104 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46105 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46106
46107 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46108 cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_IPV6 1
46110 _ACEOF
46111
46112 else
46113 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46114 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46115 fi
46116 fi
46117
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_SOCKETS 1
46120 _ACEOF
46121
46122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46123 fi
46124
46125 if test "$wxUSE_PROTOCOL" = "yes"; then
46126 if test "$wxUSE_SOCKETS" != "yes"; then
46127 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46128 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46129 wxUSE_PROTOCOL=no
46130 fi
46131 fi
46132
46133 if test "$wxUSE_PROTOCOL" = "yes"; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_PROTOCOL 1
46136 _ACEOF
46137
46138
46139 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_PROTOCOL_HTTP 1
46142 _ACEOF
46143
46144 fi
46145 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_PROTOCOL_FTP 1
46148 _ACEOF
46149
46150 fi
46151 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_PROTOCOL_FILE 1
46154 _ACEOF
46155
46156 fi
46157 else
46158 if test "$wxUSE_FS_INET" = "yes"; then
46159 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46160 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46161 wxUSE_FS_INET="no"
46162 fi
46163 fi
46164
46165 if test "$wxUSE_URL" = "yes"; then
46166 if test "$wxUSE_PROTOCOL" != "yes"; then
46167 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46168 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46169 wxUSE_URL=no
46170 fi
46171 if test "$wxUSE_URL" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_URL 1
46174 _ACEOF
46175
46176 fi
46177 fi
46178
46179 if test "$wxUSE_VARIANT" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_VARIANT 1
46182 _ACEOF
46183
46184 fi
46185
46186 if test "$wxUSE_FS_INET" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_FS_INET 1
46189 _ACEOF
46190
46191 fi
46192
46193
46194 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46195 wxUSE_JOYSTICK=no
46196
46197 if test "$TOOLKIT" = "MSW"; then
46198 wxUSE_JOYSTICK=yes
46199
46200 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46201 if test "$USE_DARWIN" = 1; then
46202 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46203 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46204 ac_ext=cpp
46205 ac_cpp='$CXXCPP $CPPFLAGS'
46206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46209
46210 cat >conftest.$ac_ext <<_ACEOF
46211 /* confdefs.h. */
46212 _ACEOF
46213 cat confdefs.h >>conftest.$ac_ext
46214 cat >>conftest.$ac_ext <<_ACEOF
46215 /* end confdefs.h. */
46216 #include <IOKit/hid/IOHIDLib.h>
46217 int
46218 main ()
46219 {
46220 IOHIDQueueInterface *qi = NULL;
46221 IOHIDCallbackFunction cb = NULL;
46222 qi->setEventCallout(NULL, cb, NULL, NULL);
46223 ;
46224 return 0;
46225 }
46226 _ACEOF
46227 rm -f conftest.$ac_objext
46228 if { (ac_try="$ac_compile"
46229 case "(($ac_try" in
46230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46231 *) ac_try_echo=$ac_try;;
46232 esac
46233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46234 (eval "$ac_compile") 2>conftest.er1
46235 ac_status=$?
46236 grep -v '^ *+' conftest.er1 >conftest.err
46237 rm -f conftest.er1
46238 cat conftest.err >&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } && {
46241 test -z "$ac_cxx_werror_flag" ||
46242 test ! -s conftest.err
46243 } && test -s conftest.$ac_objext; then
46244 wxUSE_JOYSTICK=yes
46245
46246 else
46247 echo "$as_me: failed program was:" >&5
46248 sed 's/^/| /' conftest.$ac_ext >&5
46249
46250
46251 fi
46252
46253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46254 ac_ext=c
46255 ac_cpp='$CPP $CPPFLAGS'
46256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46259
46260 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46261 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46262 fi
46263
46264 else
46265 if test "$wxUSE_MGL" != 1; then
46266
46267 for ac_header in linux/joystick.h
46268 do
46269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46273 echo $ECHO_N "(cached) $ECHO_C" >&6
46274 else
46275 cat >conftest.$ac_ext <<_ACEOF
46276 /* confdefs.h. */
46277 _ACEOF
46278 cat confdefs.h >>conftest.$ac_ext
46279 cat >>conftest.$ac_ext <<_ACEOF
46280 /* end confdefs.h. */
46281 $ac_includes_default
46282
46283 #include <$ac_header>
46284 _ACEOF
46285 rm -f conftest.$ac_objext
46286 if { (ac_try="$ac_compile"
46287 case "(($ac_try" in
46288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46289 *) ac_try_echo=$ac_try;;
46290 esac
46291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46292 (eval "$ac_compile") 2>conftest.er1
46293 ac_status=$?
46294 grep -v '^ *+' conftest.er1 >conftest.err
46295 rm -f conftest.er1
46296 cat conftest.err >&5
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); } && {
46299 test -z "$ac_c_werror_flag" ||
46300 test ! -s conftest.err
46301 } && test -s conftest.$ac_objext; then
46302 eval "$as_ac_Header=yes"
46303 else
46304 echo "$as_me: failed program was:" >&5
46305 sed 's/^/| /' conftest.$ac_ext >&5
46306
46307 eval "$as_ac_Header=no"
46308 fi
46309
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 fi
46312 ac_res=`eval echo '${'$as_ac_Header'}'`
46313 { echo "$as_me:$LINENO: result: $ac_res" >&5
46314 echo "${ECHO_T}$ac_res" >&6; }
46315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46316 cat >>confdefs.h <<_ACEOF
46317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46318 _ACEOF
46319 wxUSE_JOYSTICK=yes
46320 fi
46321
46322 done
46323
46324 fi
46325 fi
46326
46327 if test "$wxUSE_JOYSTICK" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_JOYSTICK 1
46330 _ACEOF
46331
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46333 else
46334 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46335 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46336 fi
46337 fi
46338
46339
46340
46341 if test "$wxUSE_FONTENUM" = "yes" ; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_FONTENUM 1
46344 _ACEOF
46345
46346 fi
46347
46348 if test "$wxUSE_FONTMAP" = "yes" ; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_FONTMAP 1
46351 _ACEOF
46352
46353 fi
46354
46355 if test "$wxUSE_UNICODE" = "yes" ; then
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_UNICODE 1
46358 _ACEOF
46359
46360
46361 if test "$USE_WIN32" != 1; then
46362 wxUSE_UNICODE_MSLU=no
46363 fi
46364
46365 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46366 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46367 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46368 if test "${ac_cv_lib_unicows_main+set}" = set; then
46369 echo $ECHO_N "(cached) $ECHO_C" >&6
46370 else
46371 ac_check_lib_save_LIBS=$LIBS
46372 LIBS="-lunicows $LIBS"
46373 cat >conftest.$ac_ext <<_ACEOF
46374 /* confdefs.h. */
46375 _ACEOF
46376 cat confdefs.h >>conftest.$ac_ext
46377 cat >>conftest.$ac_ext <<_ACEOF
46378 /* end confdefs.h. */
46379
46380
46381 int
46382 main ()
46383 {
46384 return main ();
46385 ;
46386 return 0;
46387 }
46388 _ACEOF
46389 rm -f conftest.$ac_objext conftest$ac_exeext
46390 if { (ac_try="$ac_link"
46391 case "(($ac_try" in
46392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46393 *) ac_try_echo=$ac_try;;
46394 esac
46395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46396 (eval "$ac_link") 2>conftest.er1
46397 ac_status=$?
46398 grep -v '^ *+' conftest.er1 >conftest.err
46399 rm -f conftest.er1
46400 cat conftest.err >&5
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); } && {
46403 test -z "$ac_c_werror_flag" ||
46404 test ! -s conftest.err
46405 } && test -s conftest$ac_exeext &&
46406 $as_test_x conftest$ac_exeext; then
46407 ac_cv_lib_unicows_main=yes
46408 else
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.$ac_ext >&5
46411
46412 ac_cv_lib_unicows_main=no
46413 fi
46414
46415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46416 conftest$ac_exeext conftest.$ac_ext
46417 LIBS=$ac_check_lib_save_LIBS
46418 fi
46419 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46420 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46421 if test $ac_cv_lib_unicows_main = yes; then
46422
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_UNICODE_MSLU 1
46425 _ACEOF
46426
46427
46428 else
46429
46430 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46431 Applications will only run on Windows NT/2000/XP!" >&5
46432 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46433 Applications will only run on Windows NT/2000/XP!" >&2;}
46434 wxUSE_UNICODE_MSLU=no
46435
46436 fi
46437
46438 fi
46439 fi
46440
46441 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_UNICODE_UTF8 1
46444 _ACEOF
46445
46446
46447 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_UTF8_LOCALE_ONLY 1
46450 _ACEOF
46451
46452 fi
46453 fi
46454
46455
46456 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_CONSTRAINTS 1
46459 _ACEOF
46460
46461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46462 fi
46463
46464 if test "$wxUSE_MDI" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_MDI 1
46467 _ACEOF
46468
46469
46470 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_MDI_ARCHITECTURE 1
46473 _ACEOF
46474
46475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46476 fi
46477 fi
46478
46479 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46482 _ACEOF
46483
46484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46485 fi
46486
46487 if test "$wxUSE_HELP" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_HELP 1
46490 _ACEOF
46491
46492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46493
46494 if test "$wxUSE_MSW" = 1; then
46495 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_MS_HTML_HELP 1
46498 _ACEOF
46499
46500 fi
46501 fi
46502
46503 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46504 if test "$wxUSE_HTML" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_WXHTML_HELP 1
46507 _ACEOF
46508
46509 else
46510 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46511 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46512 wxUSE_WXHTML_HELP=no
46513 fi
46514 fi
46515 fi
46516
46517 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_PRINTING_ARCHITECTURE 1
46520 _ACEOF
46521
46522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46523 fi
46524
46525 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_POSTSCRIPT 1
46528 _ACEOF
46529
46530 fi
46531
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46534 _ACEOF
46535
46536
46537 if test "$wxUSE_SVG" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_SVG 1
46540 _ACEOF
46541
46542 fi
46543
46544
46545 if test "$wxUSE_METAFILE" = "yes"; then
46546 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46547 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46548 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46549 wxUSE_METAFILE=no
46550 fi
46551 fi
46552
46553
46554 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46555 -o "$wxUSE_CLIPBOARD" = "yes" \
46556 -o "$wxUSE_OLE" = "yes" \
46557 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46558 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46559 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46560 if test "${ac_cv_header_ole2_h+set}" = set; then
46561 echo $ECHO_N "(cached) $ECHO_C" >&6
46562 else
46563 cat >conftest.$ac_ext <<_ACEOF
46564 /* confdefs.h. */
46565 _ACEOF
46566 cat confdefs.h >>conftest.$ac_ext
46567 cat >>conftest.$ac_ext <<_ACEOF
46568 /* end confdefs.h. */
46569
46570
46571 #include <ole2.h>
46572 _ACEOF
46573 rm -f conftest.$ac_objext
46574 if { (ac_try="$ac_compile"
46575 case "(($ac_try" in
46576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46577 *) ac_try_echo=$ac_try;;
46578 esac
46579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46580 (eval "$ac_compile") 2>conftest.er1
46581 ac_status=$?
46582 grep -v '^ *+' conftest.er1 >conftest.err
46583 rm -f conftest.er1
46584 cat conftest.err >&5
46585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46586 (exit $ac_status); } && {
46587 test -z "$ac_c_werror_flag" ||
46588 test ! -s conftest.err
46589 } && test -s conftest.$ac_objext; then
46590 ac_cv_header_ole2_h=yes
46591 else
46592 echo "$as_me: failed program was:" >&5
46593 sed 's/^/| /' conftest.$ac_ext >&5
46594
46595 ac_cv_header_ole2_h=no
46596 fi
46597
46598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46599 fi
46600 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46601 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46602
46603
46604
46605 if test "$ac_cv_header_ole2_h" = "yes" ; then
46606 if test "$GCC" = yes ; then
46607 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46608 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46609 cat >conftest.$ac_ext <<_ACEOF
46610 /* confdefs.h. */
46611 _ACEOF
46612 cat confdefs.h >>conftest.$ac_ext
46613 cat >>conftest.$ac_ext <<_ACEOF
46614 /* end confdefs.h. */
46615 #include <windows.h>
46616 #include <ole2.h>
46617 int
46618 main ()
46619 {
46620
46621 ;
46622 return 0;
46623 }
46624 _ACEOF
46625 rm -f conftest.$ac_objext
46626 if { (ac_try="$ac_compile"
46627 case "(($ac_try" in
46628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46629 *) ac_try_echo=$ac_try;;
46630 esac
46631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46632 (eval "$ac_compile") 2>conftest.er1
46633 ac_status=$?
46634 grep -v '^ *+' conftest.er1 >conftest.err
46635 rm -f conftest.er1
46636 cat conftest.err >&5
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); } && {
46639 test -z "$ac_c_werror_flag" ||
46640 test ! -s conftest.err
46641 } && test -s conftest.$ac_objext; then
46642 { echo "$as_me:$LINENO: result: no" >&5
46643 echo "${ECHO_T}no" >&6; }
46644 else
46645 echo "$as_me: failed program was:" >&5
46646 sed 's/^/| /' conftest.$ac_ext >&5
46647
46648 { echo "$as_me:$LINENO: result: yes" >&5
46649 echo "${ECHO_T}yes" >&6; }
46650 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46651 fi
46652
46653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46654 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46655 if test "$wxUSE_OLE" = "yes" ; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_OLE 1
46658 _ACEOF
46659
46660 cat >>confdefs.h <<\_ACEOF
46661 #define wxUSE_OLE_AUTOMATION 1
46662 _ACEOF
46663
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_ACTIVEX 1
46666 _ACEOF
46667
46668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46669 fi
46670 fi
46671
46672 if test "$wxUSE_DATAOBJ" = "yes" ; then
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_DATAOBJ 1
46675 _ACEOF
46676
46677 fi
46678 else
46679 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46680 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46681
46682 wxUSE_CLIPBOARD=no
46683 wxUSE_DRAG_AND_DROP=no
46684 wxUSE_DATAOBJ=no
46685 wxUSE_OLE=no
46686 fi
46687
46688 if test "$wxUSE_METAFILE" = "yes"; then
46689 cat >>confdefs.h <<\_ACEOF
46690 #define wxUSE_METAFILE 1
46691 _ACEOF
46692
46693
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_ENH_METAFILE 1
46696 _ACEOF
46697
46698 fi
46699 fi
46700
46701 if test "$wxUSE_IPC" = "yes"; then
46702 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46703 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46704 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46705 wxUSE_IPC=no
46706 fi
46707
46708 if test "$wxUSE_IPC" = "yes"; then
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_IPC 1
46711 _ACEOF
46712
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46714 fi
46715 fi
46716
46717 if test "$wxUSE_DATAOBJ" = "yes"; then
46718 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46719 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46720 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46721 wxUSE_DATAOBJ=no
46722 else
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_DATAOBJ 1
46725 _ACEOF
46726
46727 fi
46728 else
46729 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46730 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46731 wxUSE_CLIPBOARD=no
46732 wxUSE_DRAG_AND_DROP=no
46733 fi
46734
46735 if test "$wxUSE_CLIPBOARD" = "yes"; then
46736 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46737 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46738 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46739 wxUSE_CLIPBOARD=no
46740 fi
46741
46742 if test "$wxUSE_CLIPBOARD" = "yes"; then
46743 cat >>confdefs.h <<\_ACEOF
46744 #define wxUSE_CLIPBOARD 1
46745 _ACEOF
46746
46747 fi
46748 fi
46749
46750 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46751 if test "$wxUSE_GTK" = 1; then
46752 if test "$WXGTK12" != 1; then
46753 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46754 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46755 wxUSE_DRAG_AND_DROP=no
46756 fi
46757 fi
46758
46759 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46760 "$wxUSE_DFB" = 1; then
46761 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46762 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46763 wxUSE_DRAG_AND_DROP=no
46764 fi
46765
46766 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_DRAG_AND_DROP 1
46769 _ACEOF
46770
46771 fi
46772
46773 fi
46774
46775 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46777 fi
46778
46779 if test "$wxUSE_CLIPBOARD" = "yes"; then
46780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46781 fi
46782
46783 if test "$wxUSE_SPLINES" = "yes" ; then
46784 cat >>confdefs.h <<\_ACEOF
46785 #define wxUSE_SPLINES 1
46786 _ACEOF
46787
46788 fi
46789
46790 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_MOUSEWHEEL 1
46793 _ACEOF
46794
46795 fi
46796
46797 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define wxUSE_UIACTIONSIMULATOR 1
46800 _ACEOF
46801
46802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46803 fi
46804
46805
46806 USES_CONTROLS=0
46807 if test "$wxUSE_CONTROLS" = "yes"; then
46808 USES_CONTROLS=1
46809 fi
46810
46811 if test "$wxUSE_ACCEL" = "yes"; then
46812 cat >>confdefs.h <<\_ACEOF
46813 #define wxUSE_ACCEL 1
46814 _ACEOF
46815
46816 USES_CONTROLS=1
46817 fi
46818
46819 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_ANIMATIONCTRL 1
46822 _ACEOF
46823
46824 USES_CONTROLS=1
46825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46826 fi
46827
46828 if test "$wxUSE_BUTTON" = "yes"; then
46829 cat >>confdefs.h <<\_ACEOF
46830 #define wxUSE_BUTTON 1
46831 _ACEOF
46832
46833 USES_CONTROLS=1
46834 fi
46835
46836 if test "$wxUSE_BMPBUTTON" = "yes"; then
46837 cat >>confdefs.h <<\_ACEOF
46838 #define wxUSE_BMPBUTTON 1
46839 _ACEOF
46840
46841 USES_CONTROLS=1
46842 fi
46843
46844 if test "$wxUSE_CALCTRL" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_CALENDARCTRL 1
46847 _ACEOF
46848
46849 USES_CONTROLS=1
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46851 fi
46852
46853 if test "$wxUSE_CARET" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_CARET 1
46856 _ACEOF
46857
46858 USES_CONTROLS=1
46859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46860 fi
46861
46862 if test "$wxUSE_COLLPANE" = "yes"; then
46863 cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_COLLPANE 1
46865 _ACEOF
46866
46867 USES_CONTROLS=1
46868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46869 fi
46870
46871 if test "$wxUSE_COMBOBOX" = "yes"; then
46872 cat >>confdefs.h <<\_ACEOF
46873 #define wxUSE_COMBOBOX 1
46874 _ACEOF
46875
46876 USES_CONTROLS=1
46877 fi
46878
46879 if test "$wxUSE_COMBOCTRL" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_COMBOCTRL 1
46882 _ACEOF
46883
46884 USES_CONTROLS=1
46885 fi
46886
46887 if test "$wxUSE_CHOICE" = "yes"; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_CHOICE 1
46890 _ACEOF
46891
46892 USES_CONTROLS=1
46893 fi
46894
46895 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_CHOICEBOOK 1
46898 _ACEOF
46899
46900 USES_CONTROLS=1
46901 fi
46902
46903 if test "$wxUSE_CHECKBOX" = "yes"; then
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_CHECKBOX 1
46906 _ACEOF
46907
46908 USES_CONTROLS=1
46909 fi
46910
46911 if test "$wxUSE_CHECKLST" = "yes"; then
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_CHECKLISTBOX 1
46914 _ACEOF
46915
46916 USES_CONTROLS=1
46917 fi
46918
46919 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_COLOURPICKERCTRL 1
46922 _ACEOF
46923
46924 USES_CONTROLS=1
46925 fi
46926
46927 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_DATEPICKCTRL 1
46930 _ACEOF
46931
46932 USES_CONTROLS=1
46933 fi
46934
46935 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_DIRPICKERCTRL 1
46938 _ACEOF
46939
46940 USES_CONTROLS=1
46941 fi
46942
46943 if test "$wxUSE_FILECTRL" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_FILECTRL 1
46946 _ACEOF
46947
46948 USES_CONTROLS=1
46949 fi
46950
46951 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_FILEPICKERCTRL 1
46954 _ACEOF
46955
46956 USES_CONTROLS=1
46957 fi
46958
46959 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_FONTPICKERCTRL 1
46962 _ACEOF
46963
46964 USES_CONTROLS=1
46965 fi
46966
46967 if test "$wxUSE_DISPLAY" = "yes"; then
46968 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46969 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46970 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46971 wxUSE_DISPLAY=no
46972 else
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_DISPLAY 1
46975 _ACEOF
46976
46977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46978 fi
46979 fi
46980
46981 if test "$wxUSE_DETECT_SM" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_DETECT_SM 1
46984 _ACEOF
46985
46986 fi
46987
46988 if test "$wxUSE_GAUGE" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_GAUGE 1
46991 _ACEOF
46992
46993 USES_CONTROLS=1
46994 fi
46995
46996 if test "$wxUSE_GRID" = "yes"; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_GRID 1
46999 _ACEOF
47000
47001 USES_CONTROLS=1
47002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47003 fi
47004
47005 if test "$wxUSE_HEADERCTRL" = "yes"; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_HEADERCTRL 1
47008 _ACEOF
47009
47010 USES_CONTROLS=1
47011 fi
47012
47013 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_HYPERLINKCTRL 1
47016 _ACEOF
47017
47018 USES_CONTROLS=1
47019 fi
47020
47021 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47022 cat >>confdefs.h <<\_ACEOF
47023 #define wxUSE_BITMAPCOMBOBOX 1
47024 _ACEOF
47025
47026 USES_CONTROLS=1
47027 fi
47028
47029 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_DATAVIEWCTRL 1
47032 _ACEOF
47033
47034 USES_CONTROLS=1
47035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47036 fi
47037
47038 if test "$wxUSE_IMAGLIST" = "yes"; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_IMAGLIST 1
47041 _ACEOF
47042
47043 fi
47044
47045 if test "$wxUSE_INFOBAR" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_INFOBAR 1
47048 _ACEOF
47049
47050 fi
47051
47052 if test "$wxUSE_LISTBOOK" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_LISTBOOK 1
47055 _ACEOF
47056
47057 USES_CONTROLS=1
47058 fi
47059
47060 if test "$wxUSE_LISTBOX" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_LISTBOX 1
47063 _ACEOF
47064
47065 USES_CONTROLS=1
47066 fi
47067
47068 if test "$wxUSE_LISTCTRL" = "yes"; then
47069 if test "$wxUSE_IMAGLIST" = "yes"; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_LISTCTRL 1
47072 _ACEOF
47073
47074 USES_CONTROLS=1
47075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47076 else
47077 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47078 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47079 fi
47080 fi
47081
47082 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_EDITABLELISTBOX 1
47085 _ACEOF
47086
47087 USES_CONTROLS=1
47088 fi
47089
47090 if test "$wxUSE_NOTEBOOK" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_NOTEBOOK 1
47093 _ACEOF
47094
47095 USES_CONTROLS=1
47096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47097 fi
47098
47099 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_NOTIFICATION_MESSAGE 1
47102 _ACEOF
47103
47104 fi
47105
47106 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_ODCOMBOBOX 1
47109 _ACEOF
47110
47111 USES_CONTROLS=1
47112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47113 fi
47114
47115 if test "$wxUSE_RADIOBOX" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_RADIOBOX 1
47118 _ACEOF
47119
47120 USES_CONTROLS=1
47121 fi
47122
47123 if test "$wxUSE_RADIOBTN" = "yes"; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_RADIOBTN 1
47126 _ACEOF
47127
47128 USES_CONTROLS=1
47129 fi
47130
47131 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_REARRANGECTRL 1
47134 _ACEOF
47135
47136 fi
47137
47138 if test "$wxUSE_SASH" = "yes"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_SASH 1
47141 _ACEOF
47142
47143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47144 fi
47145
47146 if test "$wxUSE_SCROLLBAR" = "yes"; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_SCROLLBAR 1
47149 _ACEOF
47150
47151 USES_CONTROLS=1
47152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47153 fi
47154
47155 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47156 cat >>confdefs.h <<\_ACEOF
47157 #define wxUSE_SEARCHCTRL 1
47158 _ACEOF
47159
47160 USES_CONTROLS=1
47161 fi
47162
47163 if test "$wxUSE_SLIDER" = "yes"; then
47164 cat >>confdefs.h <<\_ACEOF
47165 #define wxUSE_SLIDER 1
47166 _ACEOF
47167
47168 USES_CONTROLS=1
47169 fi
47170
47171 if test "$wxUSE_SPINBTN" = "yes"; then
47172 cat >>confdefs.h <<\_ACEOF
47173 #define wxUSE_SPINBTN 1
47174 _ACEOF
47175
47176 USES_CONTROLS=1
47177 fi
47178
47179 if test "$wxUSE_SPINCTRL" = "yes"; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_SPINCTRL 1
47182 _ACEOF
47183
47184 USES_CONTROLS=1
47185 fi
47186
47187 if test "$wxUSE_SPLITTER" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_SPLITTER 1
47190 _ACEOF
47191
47192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47193 fi
47194
47195 if test "$wxUSE_STATBMP" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_STATBMP 1
47198 _ACEOF
47199
47200 USES_CONTROLS=1
47201 fi
47202
47203 if test "$wxUSE_STATBOX" = "yes"; then
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_STATBOX 1
47206 _ACEOF
47207
47208 USES_CONTROLS=1
47209 fi
47210
47211 if test "$wxUSE_STATTEXT" = "yes"; then
47212 cat >>confdefs.h <<\_ACEOF
47213 #define wxUSE_STATTEXT 1
47214 _ACEOF
47215
47216 USES_CONTROLS=1
47217 fi
47218
47219 if test "$wxUSE_STATLINE" = "yes"; then
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_STATLINE 1
47222 _ACEOF
47223
47224 USES_CONTROLS=1
47225 fi
47226
47227 if test "$wxUSE_STATUSBAR" = "yes"; then
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_NATIVE_STATUSBAR 1
47230 _ACEOF
47231
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_STATUSBAR 1
47234 _ACEOF
47235
47236 USES_CONTROLS=1
47237
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47239 fi
47240
47241 if test "$wxUSE_TEXTCTRL" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_TEXTCTRL 1
47244 _ACEOF
47245
47246 USES_CONTROLS=1
47247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47248
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_RICHEDIT 1
47251 _ACEOF
47252
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_RICHEDIT2 1
47255 _ACEOF
47256
47257 fi
47258
47259 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47260 if test "$wxUSE_OLD_COCOA" = 1 ; then
47261 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47262 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47263 wxUSE_TOGGLEBTN=no
47264 fi
47265
47266 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_TOGGLEBTN 1
47269 _ACEOF
47270
47271 USES_CONTROLS=1
47272 fi
47273 fi
47274
47275 if test "$wxUSE_TOOLBAR" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_TOOLBAR 1
47278 _ACEOF
47279
47280 USES_CONTROLS=1
47281
47282 if test "$wxUSE_UNIVERSAL" = "yes"; then
47283 wxUSE_TOOLBAR_NATIVE="no"
47284 else
47285 wxUSE_TOOLBAR_NATIVE="yes"
47286 cat >>confdefs.h <<\_ACEOF
47287 #define wxUSE_TOOLBAR_NATIVE 1
47288 _ACEOF
47289
47290 fi
47291
47292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47293 fi
47294
47295 if test "$wxUSE_TOOLTIPS" = "yes"; then
47296 if test "$wxUSE_MOTIF" = 1; then
47297 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47298 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47299 else
47300 if test "$wxUSE_UNIVERSAL" = "yes"; then
47301 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47302 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47303 else
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_TOOLTIPS 1
47306 _ACEOF
47307
47308 fi
47309 fi
47310 fi
47311
47312 if test "$wxUSE_TREEBOOK" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_TREEBOOK 1
47315 _ACEOF
47316
47317 USES_CONTROLS=1
47318 fi
47319
47320 if test "$wxUSE_TOOLBOOK" = "yes"; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_TOOLBOOK 1
47323 _ACEOF
47324
47325 USES_CONTROLS=1
47326 fi
47327
47328 if test "$wxUSE_TREECTRL" = "yes"; then
47329 if test "$wxUSE_IMAGLIST" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_TREECTRL 1
47332 _ACEOF
47333
47334 USES_CONTROLS=1
47335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47336 else
47337 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47338 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47339 fi
47340 fi
47341
47342 if test "$wxUSE_POPUPWIN" = "yes"; then
47343 if test "$wxUSE_OLD_COCOA" = 1 ; then
47344 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47345 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47346 else
47347 if test "$wxUSE_PM" = 1; then
47348 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47349 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47350 else
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_POPUPWIN 1
47353 _ACEOF
47354
47355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47356
47357 USES_CONTROLS=1
47358 fi
47359 fi
47360 fi
47361
47362 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47364 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47365 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47366 else
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_DIALUP_MANAGER 1
47369 _ACEOF
47370
47371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47372 fi
47373 fi
47374
47375 if test "$wxUSE_TIPWINDOW" = "yes"; then
47376 if test "$wxUSE_PM" = 1; then
47377 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47378 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47379 else
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_TIPWINDOW 1
47382 _ACEOF
47383
47384 fi
47385 fi
47386
47387 if test "$USES_CONTROLS" = 1; then
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_CONTROLS 1
47390 _ACEOF
47391
47392 fi
47393
47394
47395 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_ACCESSIBILITY 1
47398 _ACEOF
47399
47400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47401 fi
47402
47403 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_DRAGIMAGE 1
47406 _ACEOF
47407
47408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47409 fi
47410
47411 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47412 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47413 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47414 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47415 else
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_EXCEPTIONS 1
47418 _ACEOF
47419
47420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47421 fi
47422 fi
47423
47424 USE_HTML=0
47425 if test "$wxUSE_HTML" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_HTML 1
47428 _ACEOF
47429
47430 USE_HTML=1
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47432 fi
47433 if test "$wxUSE_WEBKIT" = "yes"; then
47434 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47435 old_CPPFLAGS="$CPPFLAGS"
47436 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47437 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47438 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47439 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47440 echo $ECHO_N "(cached) $ECHO_C" >&6
47441 else
47442 cat >conftest.$ac_ext <<_ACEOF
47443 /* confdefs.h. */
47444 _ACEOF
47445 cat confdefs.h >>conftest.$ac_ext
47446 cat >>conftest.$ac_ext <<_ACEOF
47447 /* end confdefs.h. */
47448
47449 #include <Carbon/Carbon.h>
47450 #include <WebKit/WebKit.h>
47451
47452
47453 #include <WebKit/HIWebView.h>
47454 _ACEOF
47455 rm -f conftest.$ac_objext
47456 if { (ac_try="$ac_compile"
47457 case "(($ac_try" in
47458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47459 *) ac_try_echo=$ac_try;;
47460 esac
47461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47462 (eval "$ac_compile") 2>conftest.er1
47463 ac_status=$?
47464 grep -v '^ *+' conftest.er1 >conftest.err
47465 rm -f conftest.er1
47466 cat conftest.err >&5
47467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468 (exit $ac_status); } && {
47469 test -z "$ac_c_werror_flag" ||
47470 test ! -s conftest.err
47471 } && test -s conftest.$ac_objext; then
47472 ac_cv_header_WebKit_HIWebView_h=yes
47473 else
47474 echo "$as_me: failed program was:" >&5
47475 sed 's/^/| /' conftest.$ac_ext >&5
47476
47477 ac_cv_header_WebKit_HIWebView_h=no
47478 fi
47479
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 fi
47482 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47483 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47484 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47485
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_WEBKIT 1
47488 _ACEOF
47489
47490 WEBKIT_LINK="-framework WebKit"
47491
47492 else
47493
47494 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47495 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47496 wxUSE_WEBKIT=no
47497
47498 fi
47499
47500
47501 CPPFLAGS="$old_CPPFLAGS"
47502 elif test "$wxUSE_OLD_COCOA" = 1; then
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_WEBKIT 1
47505 _ACEOF
47506
47507 else
47508 wxUSE_WEBKIT=no
47509 fi
47510 if test "$wxUSE_WEBKIT" = "yes"; then
47511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47512 fi
47513 fi
47514
47515 USE_XRC=0
47516 if test "$wxUSE_XRC" = "yes"; then
47517 if test "$wxUSE_XML" != "yes"; then
47518 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47519 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47520 wxUSE_XRC=no
47521 else
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_XRC 1
47524 _ACEOF
47525
47526 USE_XRC=1
47527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47528 fi
47529 fi
47530
47531 USE_AUI=0
47532 if test "$wxUSE_AUI" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_AUI 1
47535 _ACEOF
47536
47537 USE_AUI=1
47538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47539 fi
47540
47541 USE_PROPGRID=0
47542 if test "$wxUSE_PROPGRID" = "yes"; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_PROPGRID 1
47545 _ACEOF
47546
47547 USE_PROPGRID=1
47548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47549 fi
47550
47551 USE_RIBBON=0
47552 if test "$wxUSE_RIBBON" = "yes"; then
47553 cat >>confdefs.h <<\_ACEOF
47554 #define wxUSE_RIBBON 1
47555 _ACEOF
47556
47557 USE_RIBBON=1
47558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47559 fi
47560
47561 USE_STC=0
47562 if test "$wxUSE_STC" = "yes"; then
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_STC 1
47565 _ACEOF
47566
47567 USE_STC=1
47568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47569
47570 # Extract the first word of "python", so it can be a program name with args.
47571 set dummy python; ac_word=$2
47572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47574 if test "${ac_cv_path_PYTHON+set}" = set; then
47575 echo $ECHO_N "(cached) $ECHO_C" >&6
47576 else
47577 case $PYTHON in
47578 [\\/]* | ?:[\\/]*)
47579 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47580 ;;
47581 *)
47582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47583 for as_dir in $PATH
47584 do
47585 IFS=$as_save_IFS
47586 test -z "$as_dir" && as_dir=.
47587 for ac_exec_ext in '' $ac_executable_extensions; do
47588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47589 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47591 break 2
47592 fi
47593 done
47594 done
47595 IFS=$as_save_IFS
47596
47597 ;;
47598 esac
47599 fi
47600 PYTHON=$ac_cv_path_PYTHON
47601 if test -n "$PYTHON"; then
47602 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47603 echo "${ECHO_T}$PYTHON" >&6; }
47604 else
47605 { echo "$as_me:$LINENO: result: no" >&5
47606 echo "${ECHO_T}no" >&6; }
47607 fi
47608
47609
47610 if test "x$PYTHON" = "x"; then
47611 COND_PYTHON="#"
47612 fi
47613
47614 fi
47615
47616 if test "$wxUSE_MENUS" = "yes"; then
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_MENUS 1
47619 _ACEOF
47620
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47622 fi
47623
47624 if test "$wxUSE_METAFILE" = "yes"; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_METAFILE 1
47627 _ACEOF
47628
47629 fi
47630
47631 if test "$wxUSE_MIMETYPE" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_MIMETYPE 1
47634 _ACEOF
47635
47636 fi
47637
47638 if test "$wxUSE_MINIFRAME" = "yes"; then
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_MINIFRAME 1
47641 _ACEOF
47642
47643 fi
47644
47645 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_SYSTEM_OPTIONS 1
47648 _ACEOF
47649
47650 fi
47651
47652 if test "$wxUSE_TASKBARICON" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_TASKBARICON 1
47655 _ACEOF
47656
47657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47658 fi
47659
47660
47661 if test "$wxUSE_VALIDATORS" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_VALIDATORS 1
47664 _ACEOF
47665
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47667 fi
47668
47669 if test "$wxUSE_PALETTE" = "yes" ; then
47670 if test "$wxUSE_DFB" = 1; then
47671 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47672 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47673 wxUSE_PALETTE=no
47674 else
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_PALETTE 1
47677 _ACEOF
47678
47679 fi
47680 fi
47681
47682 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47683 LIBS=" -lunicows $LIBS"
47684 fi
47685
47686 USE_RICHTEXT=0
47687 if test "$wxUSE_RICHTEXT" = "yes"; then
47688 cat >>confdefs.h <<\_ACEOF
47689 #define wxUSE_RICHTEXT 1
47690 _ACEOF
47691
47692 USE_RICHTEXT=1
47693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47694 fi
47695
47696
47697 if test "$wxUSE_IMAGE" = "yes" ; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_IMAGE 1
47700 _ACEOF
47701
47702
47703 if test "$wxUSE_GIF" = "yes" ; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_GIF 1
47706 _ACEOF
47707
47708 fi
47709
47710 if test "$wxUSE_PCX" = "yes" ; then
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_PCX 1
47713 _ACEOF
47714
47715 fi
47716
47717 if test "$wxUSE_TGA" = "yes" ; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_TGA 1
47720 _ACEOF
47721
47722 fi
47723
47724 if test "$wxUSE_IFF" = "yes" ; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_IFF 1
47727 _ACEOF
47728
47729 fi
47730
47731 if test "$wxUSE_PNM" = "yes" ; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_PNM 1
47734 _ACEOF
47735
47736 fi
47737
47738 if test "$wxUSE_XPM" = "yes" ; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_XPM 1
47741 _ACEOF
47742
47743 fi
47744
47745 if test "$wxUSE_ICO_CUR" = "yes" ; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_ICO_CUR 1
47748 _ACEOF
47749
47750 fi
47751 fi
47752
47753
47754 if test "$wxUSE_ABOUTDLG" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_ABOUTDLG 1
47757 _ACEOF
47758
47759 fi
47760
47761 if test "$wxUSE_CHOICEDLG" = "yes"; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CHOICEDLG 1
47764 _ACEOF
47765
47766 fi
47767
47768 if test "$wxUSE_COLOURDLG" = "yes"; then
47769 cat >>confdefs.h <<\_ACEOF
47770 #define wxUSE_COLOURDLG 1
47771 _ACEOF
47772
47773 fi
47774
47775 if test "$wxUSE_FILEDLG" = "yes"; then
47776 cat >>confdefs.h <<\_ACEOF
47777 #define wxUSE_FILEDLG 1
47778 _ACEOF
47779
47780 fi
47781
47782 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_FINDREPLDLG 1
47785 _ACEOF
47786
47787 fi
47788
47789 if test "$wxUSE_FONTDLG" = "yes"; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_FONTDLG 1
47792 _ACEOF
47793
47794 fi
47795
47796 if test "$wxUSE_DIRDLG" = "yes"; then
47797 if test "$wxUSE_TREECTRL" != "yes"; then
47798 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47799 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47800 else
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_DIRDLG 1
47803 _ACEOF
47804
47805 fi
47806 fi
47807
47808 if test "$wxUSE_MSGDLG" = "yes"; then
47809 cat >>confdefs.h <<\_ACEOF
47810 #define wxUSE_MSGDLG 1
47811 _ACEOF
47812
47813 fi
47814
47815 if test "$wxUSE_NUMBERDLG" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_NUMBERDLG 1
47818 _ACEOF
47819
47820 fi
47821
47822 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_PROGRESSDLG 1
47825 _ACEOF
47826
47827 fi
47828
47829 if test "$wxUSE_SPLASH" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_SPLASH 1
47832 _ACEOF
47833
47834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47835 fi
47836
47837 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_STARTUP_TIPS 1
47840 _ACEOF
47841
47842 fi
47843
47844 if test "$wxUSE_TEXTDLG" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_TEXTDLG 1
47847 _ACEOF
47848
47849 fi
47850
47851 if test "$wxUSE_WIZARDDLG" = "yes"; then
47852 cat >>confdefs.h <<\_ACEOF
47853 #define wxUSE_WIZARDDLG 1
47854 _ACEOF
47855
47856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47857 fi
47858
47859
47860 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47861 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47862 cat >>confdefs.h <<\_ACEOF
47863 #define wxUSE_OWNER_DRAWN 1
47864 _ACEOF
47865
47866 fi
47867 fi
47868
47869
47870 if test "$wxUSE_MSW" = 1 ; then
47871
47872 if test "$wxUSE_DC_CACHEING" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_DC_CACHEING 1
47875 _ACEOF
47876
47877 fi
47878
47879 if test "$wxUSE_DIB" = "yes"; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_WXDIB 1
47882 _ACEOF
47883
47884 fi
47885
47886 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47889 _ACEOF
47890
47891 fi
47892
47893 if test "$wxUSE_UXTHEME" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_UXTHEME 1
47896 _ACEOF
47897
47898 fi
47899
47900 fi
47901
47902 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_AUTOID_MANAGEMENT 1
47905 _ACEOF
47906
47907 fi
47908
47909 if test "$USE_WIN32" = 1 ; then
47910 if test "$wxUSE_INICONF" = "yes"; then
47911 cat >>confdefs.h <<\_ACEOF
47912 #define wxUSE_INICONF 1
47913 _ACEOF
47914
47915 fi
47916
47917 if test "$wxUSE_REGKEY" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_REGKEY 1
47920 _ACEOF
47921
47922 fi
47923 fi
47924
47925
47926 if test "$wxUSE_MAC" = 1; then
47927 wxUSE_GRAPHICS_CONTEXT="yes"
47928 fi
47929
47930 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47931 wx_has_graphics=0
47932 if test "$wxUSE_MSW" = 1; then
47933 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47934 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47935 if test "${wx_cv_lib_gdiplus+set}" = set; then
47936 echo $ECHO_N "(cached) $ECHO_C" >&6
47937 else
47938
47939 ac_ext=cpp
47940 ac_cpp='$CXXCPP $CPPFLAGS'
47941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47944
47945 cat >conftest.$ac_ext <<_ACEOF
47946 /* confdefs.h. */
47947 _ACEOF
47948 cat confdefs.h >>conftest.$ac_ext
47949 cat >>conftest.$ac_ext <<_ACEOF
47950 /* end confdefs.h. */
47951 #include <windows.h>
47952 #include <gdiplus.h>
47953 int
47954 main ()
47955 {
47956
47957 using namespace Gdiplus;
47958
47959 ;
47960 return 0;
47961 }
47962 _ACEOF
47963 rm -f conftest.$ac_objext
47964 if { (ac_try="$ac_compile"
47965 case "(($ac_try" in
47966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47967 *) ac_try_echo=$ac_try;;
47968 esac
47969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47970 (eval "$ac_compile") 2>conftest.er1
47971 ac_status=$?
47972 grep -v '^ *+' conftest.er1 >conftest.err
47973 rm -f conftest.er1
47974 cat conftest.err >&5
47975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976 (exit $ac_status); } && {
47977 test -z "$ac_cxx_werror_flag" ||
47978 test ! -s conftest.err
47979 } && test -s conftest.$ac_objext; then
47980 wx_cv_lib_gdiplus=yes
47981 else
47982 echo "$as_me: failed program was:" >&5
47983 sed 's/^/| /' conftest.$ac_ext >&5
47984
47985 wx_cv_lib_gdiplus=no
47986
47987 fi
47988
47989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47995
47996
47997
47998 fi
47999 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48000 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48001 if test "$wx_cv_lib_gdiplus" = "yes"; then
48002 wx_has_graphics=1
48003 fi
48004 elif test "$wxUSE_GTK" = 1; then
48005
48006 pkg_failed=no
48007 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48008 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48009
48010 if test -n "$PKG_CONFIG"; then
48011 if test -n "$CAIRO_CFLAGS"; then
48012 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48013 else
48014 if test -n "$PKG_CONFIG" && \
48015 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48016 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48017 ac_status=$?
48018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48019 (exit $ac_status); }; then
48020 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48021 else
48022 pkg_failed=yes
48023 fi
48024 fi
48025 else
48026 pkg_failed=untried
48027 fi
48028 if test -n "$PKG_CONFIG"; then
48029 if test -n "$CAIRO_LIBS"; then
48030 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48031 else
48032 if test -n "$PKG_CONFIG" && \
48033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48034 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48035 ac_status=$?
48036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48037 (exit $ac_status); }; then
48038 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48039 else
48040 pkg_failed=yes
48041 fi
48042 fi
48043 else
48044 pkg_failed=untried
48045 fi
48046
48047
48048
48049 if test $pkg_failed = yes; then
48050
48051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48052 _pkg_short_errors_supported=yes
48053 else
48054 _pkg_short_errors_supported=no
48055 fi
48056 if test $_pkg_short_errors_supported = yes; then
48057 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48058 else
48059 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48060 fi
48061 # Put the nasty error message in config.log where it belongs
48062 echo "$CAIRO_PKG_ERRORS" >&5
48063
48064 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48065 echo "$as_me: WARNING: Cairo library not found" >&2;}
48066
48067 elif test $pkg_failed = untried; then
48068 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48069 echo "$as_me: WARNING: Cairo library not found" >&2;}
48070
48071 else
48072 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48073 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48074 { echo "$as_me:$LINENO: result: yes" >&5
48075 echo "${ECHO_T}yes" >&6; }
48076 wx_has_graphics=1
48077 fi
48078 else
48079 wx_has_graphics=1
48080 fi
48081
48082 if test "$wx_has_graphics" = 1; then
48083 cat >>confdefs.h <<\_ACEOF
48084 #define wxUSE_GRAPHICS_CONTEXT 1
48085 _ACEOF
48086
48087 else
48088 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48089 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48090 fi
48091 fi
48092
48093
48094 USE_MEDIA=0
48095
48096 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48097 USE_MEDIA=1
48098
48099 if test "$wxUSE_GTK" = 1; then
48100 wxUSE_GSTREAMER="no"
48101
48102 GST_VERSION_MAJOR=0
48103 GST_VERSION_MINOR=10
48104 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48105
48106 if test "$wxUSE_GSTREAMER8" = "no"; then
48107
48108 pkg_failed=no
48109 { echo "$as_me:$LINENO: checking for GST" >&5
48110 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48111
48112 if test -n "$PKG_CONFIG"; then
48113 if test -n "$GST_CFLAGS"; then
48114 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48115 else
48116 if test -n "$PKG_CONFIG" && \
48117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48118 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48119 ac_status=$?
48120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48121 (exit $ac_status); }; then
48122 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48123 else
48124 pkg_failed=yes
48125 fi
48126 fi
48127 else
48128 pkg_failed=untried
48129 fi
48130 if test -n "$PKG_CONFIG"; then
48131 if test -n "$GST_LIBS"; then
48132 pkg_cv_GST_LIBS="$GST_LIBS"
48133 else
48134 if test -n "$PKG_CONFIG" && \
48135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48137 ac_status=$?
48138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48139 (exit $ac_status); }; then
48140 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48141 else
48142 pkg_failed=yes
48143 fi
48144 fi
48145 else
48146 pkg_failed=untried
48147 fi
48148
48149
48150
48151 if test $pkg_failed = yes; then
48152
48153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48154 _pkg_short_errors_supported=yes
48155 else
48156 _pkg_short_errors_supported=no
48157 fi
48158 if test $_pkg_short_errors_supported = yes; then
48159 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48160 else
48161 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48162 fi
48163 # Put the nasty error message in config.log where it belongs
48164 echo "$GST_PKG_ERRORS" >&5
48165
48166
48167 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48168 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48169 GST_VERSION_MINOR=8
48170
48171
48172 elif test $pkg_failed = untried; then
48173
48174 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48175 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48176 GST_VERSION_MINOR=8
48177
48178
48179 else
48180 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48181 GST_LIBS=$pkg_cv_GST_LIBS
48182 { echo "$as_me:$LINENO: result: yes" >&5
48183 echo "${ECHO_T}yes" >&6; }
48184
48185 wxUSE_GSTREAMER="yes"
48186 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48187
48188 fi
48189 else
48190 GST_VERSION_MINOR=8
48191 fi
48192
48193 if test $GST_VERSION_MINOR = "8"; then
48194 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48195
48196 pkg_failed=no
48197 { echo "$as_me:$LINENO: checking for GST" >&5
48198 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48199
48200 if test -n "$PKG_CONFIG"; then
48201 if test -n "$GST_CFLAGS"; then
48202 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48203 else
48204 if test -n "$PKG_CONFIG" && \
48205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48206 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48207 ac_status=$?
48208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48209 (exit $ac_status); }; then
48210 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48211 else
48212 pkg_failed=yes
48213 fi
48214 fi
48215 else
48216 pkg_failed=untried
48217 fi
48218 if test -n "$PKG_CONFIG"; then
48219 if test -n "$GST_LIBS"; then
48220 pkg_cv_GST_LIBS="$GST_LIBS"
48221 else
48222 if test -n "$PKG_CONFIG" && \
48223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48224 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; then
48228 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48229 else
48230 pkg_failed=yes
48231 fi
48232 fi
48233 else
48234 pkg_failed=untried
48235 fi
48236
48237
48238
48239 if test $pkg_failed = yes; then
48240
48241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48242 _pkg_short_errors_supported=yes
48243 else
48244 _pkg_short_errors_supported=no
48245 fi
48246 if test $_pkg_short_errors_supported = yes; then
48247 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48248 else
48249 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48250 fi
48251 # Put the nasty error message in config.log where it belongs
48252 echo "$GST_PKG_ERRORS" >&5
48253
48254
48255 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48256 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48257
48258 elif test $pkg_failed = untried; then
48259
48260 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48261 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48262
48263 else
48264 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48265 GST_LIBS=$pkg_cv_GST_LIBS
48266 { echo "$as_me:$LINENO: result: yes" >&5
48267 echo "${ECHO_T}yes" >&6; }
48268 wxUSE_GSTREAMER="yes"
48269 fi
48270 fi
48271
48272
48273 if test "$wxUSE_GSTREAMER" = "yes"; then
48274 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48275 EXTRALIBS_MEDIA="$GST_LIBS"
48276
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_GSTREAMER 1
48279 _ACEOF
48280
48281 else
48282 USE_MEDIA=0
48283 fi
48284 fi
48285
48286 if test $USE_MEDIA = 1; then
48287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_MEDIACTRL 1
48290 _ACEOF
48291
48292 else
48293 if test "$wxUSE_MEDIACTRL" = "yes"; then
48294 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48295 echo "$as_me: error: GStreamer not available" >&2;}
48296 { (exit 1); exit 1; }; }
48297 else
48298 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48299 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48300 fi
48301 fi
48302 fi
48303
48304
48305 if test "$cross_compiling" != "no"; then
48306 OSINFO="\"$host\""
48307 else
48308 OSINFO=`uname -s -r -m`
48309 OSINFO="\"$OSINFO\""
48310 fi
48311
48312 cat >>confdefs.h <<_ACEOF
48313 #define WXWIN_OS_DESCRIPTION $OSINFO
48314 _ACEOF
48315
48316
48317
48318 if test "x$prefix" != "xNONE"; then
48319 wxPREFIX=$prefix
48320 else
48321 wxPREFIX=$ac_default_prefix
48322 fi
48323
48324 cat >>confdefs.h <<_ACEOF
48325 #define wxINSTALL_PREFIX "$wxPREFIX"
48326 _ACEOF
48327
48328
48329
48330
48331 STD_BASE_LIBS="base"
48332 STD_GUI_LIBS=""
48333 BUILT_WX_LIBS="base"
48334 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48335
48336 if test "$wxUSE_SOCKETS" = "yes" ; then
48337 STD_BASE_LIBS="net $STD_BASE_LIBS"
48338 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48339 fi
48340 if test "$wxUSE_XML" = "yes" ; then
48341 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48342 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48343 fi
48344
48345 if test "$wxUSE_GUI" = "yes"; then
48346 STD_GUI_LIBS="adv core"
48347 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48348
48349 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48350 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48351 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48352 fi
48353 if test "$wxUSE_HTML" = "yes" ; then
48354 STD_GUI_LIBS="html $STD_GUI_LIBS"
48355 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48356 fi
48357 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48358 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48359 fi
48360 if test "$wxUSE_OPENGL" = "yes" ; then
48361 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48362 fi
48363 if test "$wxUSE_AUI" = "yes" ; then
48364 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48365 fi
48366 if test "$wxUSE_PROPGRID" = "yes" ; then
48367 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48368 fi
48369 if test "$wxUSE_RIBBON" = "yes" ; then
48370 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48371 fi
48372 if test "$wxUSE_RICHTEXT" = "yes" ; then
48373 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48374 fi
48375 if test "$wxUSE_STC" = "yes" ; then
48376 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48377 fi
48378 if test "$wxUSE_XRC" = "yes" ; then
48379 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48380 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48381 fi
48382 fi
48383
48384
48385
48386
48387
48388
48389
48390 EXTRA_FRAMEWORKS=
48391 if test "$wxUSE_MAC" = 1 ; then
48392 if test "$USE_DARWIN" = 1; then
48393 if test "$wxUSE_OSX_IPHONE" = 1; then
48394 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48395 else
48396 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48397 fi
48398 fi
48399 fi
48400 if test "$wxUSE_OLD_COCOA" = 1 ; then
48401 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48402 if test "$wxUSE_MEDIACTRL" = "yes"; then
48403 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48404 fi
48405 fi
48406 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48407 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48408 fi
48409
48410 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48411 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48412
48413 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48414
48415 if test "$wxUSE_GUI" = "yes"; then
48416
48417
48418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48419 erase event exec font image minimal render \
48420 shaped svg taborder vscroll widgets wrapsizer"
48421
48422 if test "$wxUSE_MONOLITHIC" != "yes"; then
48423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48424 fi
48425 if test "$TOOLKIT" = "MSW"; then
48426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48427 if test "$wxUSE_UNIVERSAL" != "yes"; then
48428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48429 fi
48430 fi
48431 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48433 fi
48434 else
48435 SAMPLES_SUBDIRS="console"
48436 if test "$wxUSE_SOCKETS" = "yes" ; then
48437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48438 fi
48439 if test "$wxUSE_IPC" = "yes" ; then
48440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48441 fi
48442 fi
48443
48444
48445 if test "x$INTELCC" = "xyes" ; then
48446 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48447 elif test "$GCC" = yes ; then
48448 CWARNINGS="-Wall -Wundef"
48449 fi
48450
48451 if test "x$INTELCXX" = "xyes" ; then
48452 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48453 elif test "$GXX" = yes ; then
48454 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48455 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48456 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48457 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48459 else
48460 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48461
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467
48468 ac_save_CXXFLAGS="$CXXFLAGS"
48469 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48470 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48471 cat >conftest.$ac_ext <<_ACEOF
48472 /* confdefs.h. */
48473 _ACEOF
48474 cat confdefs.h >>conftest.$ac_ext
48475 cat >>conftest.$ac_ext <<_ACEOF
48476 /* end confdefs.h. */
48477
48478 int
48479 main ()
48480 {
48481 return 0;
48482 ;
48483 return 0;
48484 }
48485 _ACEOF
48486 rm -f conftest.$ac_objext
48487 if { (ac_try="$ac_compile"
48488 case "(($ac_try" in
48489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48490 *) ac_try_echo=$ac_try;;
48491 esac
48492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48493 (eval "$ac_compile") 2>conftest.er1
48494 ac_status=$?
48495 grep -v '^ *+' conftest.er1 >conftest.err
48496 rm -f conftest.er1
48497 cat conftest.err >&5
48498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48499 (exit $ac_status); } && {
48500 test -z "$ac_cxx_werror_flag" ||
48501 test ! -s conftest.err
48502 } && test -s conftest.$ac_objext; then
48503 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48504 else
48505 echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48507
48508
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 done
48513 CXXFLAGS="$ac_save_CXXFLAGS"
48514 ac_ext=c
48515 ac_cpp='$CPP $CPPFLAGS'
48516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48519
48520
48521 fi
48522 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48523 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48524 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48525 .ok|.ok,*) ;;
48526 .|.no|.no,*) ;;
48527 *)
48528 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48529 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48530 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }
48534 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48535 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48536 ac_status=$?
48537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48538 (exit $ac_status); }
48539 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48540 fi
48541 ;;
48542 esac
48543
48544
48545 if test "$wxUSE_MAC" = 1 ; then
48546 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48547 fi
48548 fi
48549
48550
48551 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48552 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48553
48554
48555 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48556 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48557 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48558 $CPPFLAGS `
48559
48560 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48561 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48562 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48563 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48564 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48565
48566 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48567
48568
48569 if test "x$MWCC" = "xyes"; then
48570
48571 CC="$CC -cwd source -I-"
48572 CXX="$CXX -cwd source -I-"
48573 fi
48574
48575
48576 LIBS=`echo $LIBS`
48577 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48578 EXTRALIBS_XML="$EXPAT_LINK"
48579 EXTRALIBS_HTML="$MSPACK_LINK"
48580 EXTRALIBS_MEDIA="$GST_LIBS"
48581 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48582 if test "$wxUSE_GUI" = "yes"; then
48583 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48584 fi
48585 if test "$wxUSE_OPENGL" = "yes"; then
48586 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48587 fi
48588
48589 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48590
48591 WXCONFIG_LIBS="$LIBS"
48592
48593 if test "$wxUSE_REGEX" = "builtin" ; then
48594 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48595 fi
48596 if test "$wxUSE_EXPAT" = "builtin" ; then
48597 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48598 fi
48599 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48600 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48601 fi
48602 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48603 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48604 fi
48605 if test "$wxUSE_LIBPNG" = "builtin" ; then
48606 wxconfig_3rdparty="png $wxconfig_3rdparty"
48607 fi
48608 if test "$wxUSE_ZLIB" = "builtin" ; then
48609 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48610 fi
48611
48612 for i in $wxconfig_3rdparty ; do
48613 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48614 done
48615
48616
48617 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48618 WXUNIV=1
48619
48620 case "$wxUNIV_THEMES" in
48621 ''|all)
48622 cat >>confdefs.h <<\_ACEOF
48623 #define wxUSE_ALL_THEMES 1
48624 _ACEOF
48625
48626 ;;
48627
48628 *)
48629 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48630 cat >>confdefs.h <<_ACEOF
48631 #define wxUSE_THEME_$t 1
48632 _ACEOF
48633
48634 done
48635 esac
48636 else
48637 WXUNIV=0
48638 fi
48639
48640
48641
48642
48643
48644
48645
48646
48647 if test $wxUSE_MONOLITHIC = "yes" ; then
48648 MONOLITHIC=1
48649 else
48650 MONOLITHIC=0
48651 fi
48652
48653 if test $wxUSE_PLUGINS = "yes" ; then
48654 USE_PLUGINS=1
48655 else
48656 USE_PLUGINS=0
48657 fi
48658
48659 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48660 USE_QA=1
48661 else
48662 USE_QA=0
48663 fi
48664
48665 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48666 OFFICIAL_BUILD=1
48667 else
48668 OFFICIAL_BUILD=0
48669 fi
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708 case "$TOOLKIT" in
48709 GTK)
48710 TOOLKIT_DESC="GTK+"
48711 if test "$WXGTK2" = 1; then
48712 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48713 if test "$wxUSE_GTKPRINT" = "yes" ; then
48714 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48715 fi
48716 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48717 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48718 fi
48719 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48720 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48721 fi
48722 if test "$wxUSE_LIBHILDON" = "yes"; then
48723 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48724 fi
48725 if test "$wxUSE_LIBHILDON2" = "yes"; then
48726 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48727 fi
48728
48729 if test "$TOOLKIT_EXTRA" != ""; then
48730 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48731 fi
48732 fi
48733 ;;
48734
48735 ?*)
48736 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48737 ;;
48738
48739 *)
48740 TOOLKIT_DESC="base only"
48741 ;;
48742 esac
48743
48744 if test "$wxUSE_WINE" = "yes"; then
48745 BAKEFILE_FORCE_PLATFORM=win32
48746 fi
48747
48748 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48749 then
48750 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48751 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48752 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48753 echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48755
48756 echo '#include <stdio.h>
48757 const wchar_t test_var[] = L"awidetest";' > conftest.h
48758
48759 echo '#include "conftest.h"
48760 int main()
48761 {
48762 printf("%ls", test_var);
48763 return 0;
48764 }' > conftest.cpp
48765
48766 wx_cv_gcc_pch_bug="pch not supported"
48767
48768 if $CXX conftest.h >/dev/null 2>&1
48769 then
48770 wx_cv_gcc_pch_bug=
48771
48772 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48773 then
48774 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48775 grep awidetest >/dev/null
48776 then
48777 wx_cv_gcc_pch_bug=no
48778 else
48779 wx_cv_gcc_pch_bug=yes
48780 fi
48781 fi
48782 fi
48783
48784 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48785
48786 fi
48787 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48788 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48789
48790 if test "$wx_cv_gcc_pch_bug" = yes; then
48791 bk_use_pch=no
48792 fi
48793 fi
48794
48795
48796
48797
48798
48799
48800
48801 if test "x$BAKEFILE_HOST" = "x"; then
48802 if test "x${host}" = "x" ; then
48803 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48804 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48805 { (exit 1); exit 1; }; }
48806 fi
48807
48808 BAKEFILE_HOST="${host}"
48809 fi
48810
48811 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48812
48813 if test -n "$ac_tool_prefix"; then
48814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48818 if test "${ac_cv_prog_RANLIB+set}" = set; then
48819 echo $ECHO_N "(cached) $ECHO_C" >&6
48820 else
48821 if test -n "$RANLIB"; then
48822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48823 else
48824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48825 for as_dir in $PATH
48826 do
48827 IFS=$as_save_IFS
48828 test -z "$as_dir" && as_dir=.
48829 for ac_exec_ext in '' $ac_executable_extensions; do
48830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48833 break 2
48834 fi
48835 done
48836 done
48837 IFS=$as_save_IFS
48838
48839 fi
48840 fi
48841 RANLIB=$ac_cv_prog_RANLIB
48842 if test -n "$RANLIB"; then
48843 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48844 echo "${ECHO_T}$RANLIB" >&6; }
48845 else
48846 { echo "$as_me:$LINENO: result: no" >&5
48847 echo "${ECHO_T}no" >&6; }
48848 fi
48849
48850
48851 fi
48852 if test -z "$ac_cv_prog_RANLIB"; then
48853 ac_ct_RANLIB=$RANLIB
48854 # Extract the first word of "ranlib", so it can be a program name with args.
48855 set dummy ranlib; ac_word=$2
48856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48858 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48859 echo $ECHO_N "(cached) $ECHO_C" >&6
48860 else
48861 if test -n "$ac_ct_RANLIB"; then
48862 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48863 else
48864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48865 for as_dir in $PATH
48866 do
48867 IFS=$as_save_IFS
48868 test -z "$as_dir" && as_dir=.
48869 for ac_exec_ext in '' $ac_executable_extensions; do
48870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48871 ac_cv_prog_ac_ct_RANLIB="ranlib"
48872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48873 break 2
48874 fi
48875 done
48876 done
48877 IFS=$as_save_IFS
48878
48879 fi
48880 fi
48881 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48882 if test -n "$ac_ct_RANLIB"; then
48883 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48884 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48885 else
48886 { echo "$as_me:$LINENO: result: no" >&5
48887 echo "${ECHO_T}no" >&6; }
48888 fi
48889
48890 if test "x$ac_ct_RANLIB" = x; then
48891 RANLIB=":"
48892 else
48893 case $cross_compiling:$ac_tool_warned in
48894 yes:)
48895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48896 whose name does not start with the host triplet. If you think this
48897 configuration is useful to you, please write to autoconf@gnu.org." >&5
48898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48899 whose name does not start with the host triplet. If you think this
48900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48901 ac_tool_warned=yes ;;
48902 esac
48903 RANLIB=$ac_ct_RANLIB
48904 fi
48905 else
48906 RANLIB="$ac_cv_prog_RANLIB"
48907 fi
48908
48909 # Find a good install program. We prefer a C program (faster),
48910 # so one script is as good as another. But avoid the broken or
48911 # incompatible versions:
48912 # SysV /etc/install, /usr/sbin/install
48913 # SunOS /usr/etc/install
48914 # IRIX /sbin/install
48915 # AIX /bin/install
48916 # AmigaOS /C/install, which installs bootblocks on floppy discs
48917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48920 # OS/2's system install, which has a completely different semantic
48921 # ./install, which can be erroneously created by make from ./install.sh.
48922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48924 if test -z "$INSTALL"; then
48925 if test "${ac_cv_path_install+set}" = set; then
48926 echo $ECHO_N "(cached) $ECHO_C" >&6
48927 else
48928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48929 for as_dir in $PATH
48930 do
48931 IFS=$as_save_IFS
48932 test -z "$as_dir" && as_dir=.
48933 # Account for people who put trailing slashes in PATH elements.
48934 case $as_dir/ in
48935 ./ | .// | /cC/* | \
48936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48938 /usr/ucb/* ) ;;
48939 *)
48940 # OSF1 and SCO ODT 3.0 have their own names for install.
48941 # Don't use installbsd from OSF since it installs stuff as root
48942 # by default.
48943 for ac_prog in ginstall scoinst install; do
48944 for ac_exec_ext in '' $ac_executable_extensions; do
48945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48946 if test $ac_prog = install &&
48947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48948 # AIX install. It has an incompatible calling convention.
48949 :
48950 elif test $ac_prog = install &&
48951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48952 # program-specific install script used by HP pwplus--don't use.
48953 :
48954 else
48955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48956 break 3
48957 fi
48958 fi
48959 done
48960 done
48961 ;;
48962 esac
48963 done
48964 IFS=$as_save_IFS
48965
48966
48967 fi
48968 if test "${ac_cv_path_install+set}" = set; then
48969 INSTALL=$ac_cv_path_install
48970 else
48971 # As a last resort, use the slow shell script. Don't cache a
48972 # value for INSTALL within a source directory, because that will
48973 # break other packages using the cache if that directory is
48974 # removed, or if the value is a relative name.
48975 INSTALL=$ac_install_sh
48976 fi
48977 fi
48978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48979 echo "${ECHO_T}$INSTALL" >&6; }
48980
48981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48982 # It thinks the first close brace ends the variable substitution.
48983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48984
48985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48986
48987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48988
48989 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48990 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48991 LN_S=$as_ln_s
48992 if test "$LN_S" = "ln -s"; then
48993 { echo "$as_me:$LINENO: result: yes" >&5
48994 echo "${ECHO_T}yes" >&6; }
48995 else
48996 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48997 echo "${ECHO_T}no, using $LN_S" >&6; }
48998 fi
48999
49000
49001 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49002 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49003 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49004 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49005 echo $ECHO_N "(cached) $ECHO_C" >&6
49006 else
49007 cat >conftest.make <<\_ACEOF
49008 SHELL = /bin/sh
49009 all:
49010 @echo '@@@%%%=$(MAKE)=@@@%%%'
49011 _ACEOF
49012 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49013 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49014 *@@@%%%=?*=@@@%%%*)
49015 eval ac_cv_prog_make_${ac_make}_set=yes;;
49016 *)
49017 eval ac_cv_prog_make_${ac_make}_set=no;;
49018 esac
49019 rm -f conftest.make
49020 fi
49021 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49022 { echo "$as_me:$LINENO: result: yes" >&5
49023 echo "${ECHO_T}yes" >&6; }
49024 SET_MAKE=
49025 else
49026 { echo "$as_me:$LINENO: result: no" >&5
49027 echo "${ECHO_T}no" >&6; }
49028 SET_MAKE="MAKE=${MAKE-make}"
49029 fi
49030
49031
49032
49033 if test "x$SUNCXX" = "xyes"; then
49034 AR=$CXX
49035 AROPTIONS="-xar -o"
49036
49037 elif test "x$SGICC" = "xyes"; then
49038 AR=$CXX
49039 AROPTIONS="-ar -o"
49040
49041 else
49042 if test -n "$ac_tool_prefix"; then
49043 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49044 set dummy ${ac_tool_prefix}ar; ac_word=$2
49045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49047 if test "${ac_cv_prog_AR+set}" = set; then
49048 echo $ECHO_N "(cached) $ECHO_C" >&6
49049 else
49050 if test -n "$AR"; then
49051 ac_cv_prog_AR="$AR" # Let the user override the test.
49052 else
49053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49054 for as_dir in $PATH
49055 do
49056 IFS=$as_save_IFS
49057 test -z "$as_dir" && as_dir=.
49058 for ac_exec_ext in '' $ac_executable_extensions; do
49059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49060 ac_cv_prog_AR="${ac_tool_prefix}ar"
49061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49062 break 2
49063 fi
49064 done
49065 done
49066 IFS=$as_save_IFS
49067
49068 fi
49069 fi
49070 AR=$ac_cv_prog_AR
49071 if test -n "$AR"; then
49072 { echo "$as_me:$LINENO: result: $AR" >&5
49073 echo "${ECHO_T}$AR" >&6; }
49074 else
49075 { echo "$as_me:$LINENO: result: no" >&5
49076 echo "${ECHO_T}no" >&6; }
49077 fi
49078
49079
49080 fi
49081 if test -z "$ac_cv_prog_AR"; then
49082 ac_ct_AR=$AR
49083 # Extract the first word of "ar", so it can be a program name with args.
49084 set dummy ar; ac_word=$2
49085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49087 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49088 echo $ECHO_N "(cached) $ECHO_C" >&6
49089 else
49090 if test -n "$ac_ct_AR"; then
49091 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49092 else
49093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49094 for as_dir in $PATH
49095 do
49096 IFS=$as_save_IFS
49097 test -z "$as_dir" && as_dir=.
49098 for ac_exec_ext in '' $ac_executable_extensions; do
49099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49100 ac_cv_prog_ac_ct_AR="ar"
49101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49102 break 2
49103 fi
49104 done
49105 done
49106 IFS=$as_save_IFS
49107
49108 fi
49109 fi
49110 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49111 if test -n "$ac_ct_AR"; then
49112 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49113 echo "${ECHO_T}$ac_ct_AR" >&6; }
49114 else
49115 { echo "$as_me:$LINENO: result: no" >&5
49116 echo "${ECHO_T}no" >&6; }
49117 fi
49118
49119 if test "x$ac_ct_AR" = x; then
49120 AR="ar"
49121 else
49122 case $cross_compiling:$ac_tool_warned in
49123 yes:)
49124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49125 whose name does not start with the host triplet. If you think this
49126 configuration is useful to you, please write to autoconf@gnu.org." >&5
49127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49128 whose name does not start with the host triplet. If you think this
49129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49130 ac_tool_warned=yes ;;
49131 esac
49132 AR=$ac_ct_AR
49133 fi
49134 else
49135 AR="$ac_cv_prog_AR"
49136 fi
49137
49138 AROPTIONS=rcu
49139 fi
49140
49141
49142 if test -n "$ac_tool_prefix"; then
49143 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49144 set dummy ${ac_tool_prefix}strip; ac_word=$2
49145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49147 if test "${ac_cv_prog_STRIP+set}" = set; then
49148 echo $ECHO_N "(cached) $ECHO_C" >&6
49149 else
49150 if test -n "$STRIP"; then
49151 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49152 else
49153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49154 for as_dir in $PATH
49155 do
49156 IFS=$as_save_IFS
49157 test -z "$as_dir" && as_dir=.
49158 for ac_exec_ext in '' $ac_executable_extensions; do
49159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49160 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49162 break 2
49163 fi
49164 done
49165 done
49166 IFS=$as_save_IFS
49167
49168 fi
49169 fi
49170 STRIP=$ac_cv_prog_STRIP
49171 if test -n "$STRIP"; then
49172 { echo "$as_me:$LINENO: result: $STRIP" >&5
49173 echo "${ECHO_T}$STRIP" >&6; }
49174 else
49175 { echo "$as_me:$LINENO: result: no" >&5
49176 echo "${ECHO_T}no" >&6; }
49177 fi
49178
49179
49180 fi
49181 if test -z "$ac_cv_prog_STRIP"; then
49182 ac_ct_STRIP=$STRIP
49183 # Extract the first word of "strip", so it can be a program name with args.
49184 set dummy strip; ac_word=$2
49185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49187 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49188 echo $ECHO_N "(cached) $ECHO_C" >&6
49189 else
49190 if test -n "$ac_ct_STRIP"; then
49191 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49192 else
49193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49194 for as_dir in $PATH
49195 do
49196 IFS=$as_save_IFS
49197 test -z "$as_dir" && as_dir=.
49198 for ac_exec_ext in '' $ac_executable_extensions; do
49199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49200 ac_cv_prog_ac_ct_STRIP="strip"
49201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49202 break 2
49203 fi
49204 done
49205 done
49206 IFS=$as_save_IFS
49207
49208 fi
49209 fi
49210 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49211 if test -n "$ac_ct_STRIP"; then
49212 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49213 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49214 else
49215 { echo "$as_me:$LINENO: result: no" >&5
49216 echo "${ECHO_T}no" >&6; }
49217 fi
49218
49219 if test "x$ac_ct_STRIP" = x; then
49220 STRIP=":"
49221 else
49222 case $cross_compiling:$ac_tool_warned in
49223 yes:)
49224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49225 whose name does not start with the host triplet. If you think this
49226 configuration is useful to you, please write to autoconf@gnu.org." >&5
49227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49228 whose name does not start with the host triplet. If you think this
49229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49230 ac_tool_warned=yes ;;
49231 esac
49232 STRIP=$ac_ct_STRIP
49233 fi
49234 else
49235 STRIP="$ac_cv_prog_STRIP"
49236 fi
49237
49238 if test -n "$ac_tool_prefix"; then
49239 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49240 set dummy ${ac_tool_prefix}nm; ac_word=$2
49241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49243 if test "${ac_cv_prog_NM+set}" = set; then
49244 echo $ECHO_N "(cached) $ECHO_C" >&6
49245 else
49246 if test -n "$NM"; then
49247 ac_cv_prog_NM="$NM" # Let the user override the test.
49248 else
49249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49250 for as_dir in $PATH
49251 do
49252 IFS=$as_save_IFS
49253 test -z "$as_dir" && as_dir=.
49254 for ac_exec_ext in '' $ac_executable_extensions; do
49255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49256 ac_cv_prog_NM="${ac_tool_prefix}nm"
49257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49258 break 2
49259 fi
49260 done
49261 done
49262 IFS=$as_save_IFS
49263
49264 fi
49265 fi
49266 NM=$ac_cv_prog_NM
49267 if test -n "$NM"; then
49268 { echo "$as_me:$LINENO: result: $NM" >&5
49269 echo "${ECHO_T}$NM" >&6; }
49270 else
49271 { echo "$as_me:$LINENO: result: no" >&5
49272 echo "${ECHO_T}no" >&6; }
49273 fi
49274
49275
49276 fi
49277 if test -z "$ac_cv_prog_NM"; then
49278 ac_ct_NM=$NM
49279 # Extract the first word of "nm", so it can be a program name with args.
49280 set dummy nm; ac_word=$2
49281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49283 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49284 echo $ECHO_N "(cached) $ECHO_C" >&6
49285 else
49286 if test -n "$ac_ct_NM"; then
49287 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49288 else
49289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49290 for as_dir in $PATH
49291 do
49292 IFS=$as_save_IFS
49293 test -z "$as_dir" && as_dir=.
49294 for ac_exec_ext in '' $ac_executable_extensions; do
49295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49296 ac_cv_prog_ac_ct_NM="nm"
49297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49298 break 2
49299 fi
49300 done
49301 done
49302 IFS=$as_save_IFS
49303
49304 fi
49305 fi
49306 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49307 if test -n "$ac_ct_NM"; then
49308 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49309 echo "${ECHO_T}$ac_ct_NM" >&6; }
49310 else
49311 { echo "$as_me:$LINENO: result: no" >&5
49312 echo "${ECHO_T}no" >&6; }
49313 fi
49314
49315 if test "x$ac_ct_NM" = x; then
49316 NM=":"
49317 else
49318 case $cross_compiling:$ac_tool_warned in
49319 yes:)
49320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49321 whose name does not start with the host triplet. If you think this
49322 configuration is useful to you, please write to autoconf@gnu.org." >&5
49323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49324 whose name does not start with the host triplet. If you think this
49325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49326 ac_tool_warned=yes ;;
49327 esac
49328 NM=$ac_ct_NM
49329 fi
49330 else
49331 NM="$ac_cv_prog_NM"
49332 fi
49333
49334
49335 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49336 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49337 INSTALL_TEST_DIR=acbftest$$
49338 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49339 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49340 rmdir $INSTALL_TEST_DIR
49341 INSTALL_DIR='$(INSTALL) -d'
49342 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49343 echo "${ECHO_T}$INSTALL -d" >&6; }
49344 else
49345 INSTALL_DIR="mkdir -p"
49346 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49347 echo "${ECHO_T}mkdir -p" >&6; }
49348 fi
49349
49350
49351 LDFLAGS_GUI=
49352 case ${BAKEFILE_HOST} in
49353 *-*-cygwin* | *-*-mingw32* )
49354 LDFLAGS_GUI="-mwindows"
49355 esac
49356
49357
49358 fi
49359
49360 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49361 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49362 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49363 echo $ECHO_N "(cached) $ECHO_C" >&6
49364 else
49365
49366 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49367 egrep -s GNU > /dev/null); then
49368 bakefile_cv_prog_makeisgnu="yes"
49369 else
49370 bakefile_cv_prog_makeisgnu="no"
49371 fi
49372
49373 fi
49374 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49375 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49376
49377 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49378 IF_GNU_MAKE=""
49379 else
49380 IF_GNU_MAKE="#"
49381 fi
49382
49383
49384
49385 PLATFORM_UNIX=0
49386 PLATFORM_WIN32=0
49387 PLATFORM_MSDOS=0
49388 PLATFORM_MAC=0
49389 PLATFORM_MACOS=0
49390 PLATFORM_MACOSX=0
49391 PLATFORM_OS2=0
49392 PLATFORM_BEOS=0
49393
49394 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49395 case "${BAKEFILE_HOST}" in
49396 *-*-mingw32* )
49397 PLATFORM_WIN32=1
49398 ;;
49399 *-pc-msdosdjgpp )
49400 PLATFORM_MSDOS=1
49401 ;;
49402 *-pc-os2_emx | *-pc-os2-emx )
49403 PLATFORM_OS2=1
49404 ;;
49405 *-*-darwin* )
49406 PLATFORM_MAC=1
49407 PLATFORM_MACOSX=1
49408 ;;
49409 *-*-beos* )
49410 PLATFORM_BEOS=1
49411 ;;
49412 powerpc-apple-macos* )
49413 PLATFORM_MAC=1
49414 PLATFORM_MACOS=1
49415 ;;
49416 * )
49417 PLATFORM_UNIX=1
49418 ;;
49419 esac
49420 else
49421 case "$BAKEFILE_FORCE_PLATFORM" in
49422 win32 )
49423 PLATFORM_WIN32=1
49424 ;;
49425 msdos )
49426 PLATFORM_MSDOS=1
49427 ;;
49428 os2 )
49429 PLATFORM_OS2=1
49430 ;;
49431 darwin )
49432 PLATFORM_MAC=1
49433 PLATFORM_MACOSX=1
49434 ;;
49435 unix )
49436 PLATFORM_UNIX=1
49437 ;;
49438 beos )
49439 PLATFORM_BEOS=1
49440 ;;
49441 * )
49442 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49443 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49444 { (exit 1); exit 1; }; }
49445 ;;
49446 esac
49447 fi
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459 # Check whether --enable-omf was given.
49460 if test "${enable_omf+set}" = set; then
49461 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49462 fi
49463
49464
49465 case "${BAKEFILE_HOST}" in
49466 *-*-darwin* )
49467 if test "x$GCC" = "xyes"; then
49468 CFLAGS="$CFLAGS -fno-common"
49469 CXXFLAGS="$CXXFLAGS -fno-common"
49470 fi
49471 if test "x$XLCC" = "xyes"; then
49472 CFLAGS="$CFLAGS -qnocommon"
49473 CXXFLAGS="$CXXFLAGS -qnocommon"
49474 fi
49475 ;;
49476
49477 *-pc-os2_emx | *-pc-os2-emx )
49478 if test "x$bk_os2_use_omf" = "xyes" ; then
49479 AR=emxomfar
49480 RANLIB=:
49481 LDFLAGS="-Zomf $LDFLAGS"
49482 CFLAGS="-Zomf $CFLAGS"
49483 CXXFLAGS="-Zomf $CXXFLAGS"
49484 OS2_LIBEXT="lib"
49485 else
49486 OS2_LIBEXT="a"
49487 fi
49488 ;;
49489
49490 i*86-*-beos* )
49491 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49492 ;;
49493 esac
49494
49495
49496 SO_SUFFIX="so"
49497 SO_SUFFIX_MODULE="so"
49498 EXEEXT=""
49499 LIBPREFIX="lib"
49500 LIBEXT=".a"
49501 DLLPREFIX="lib"
49502 DLLPREFIX_MODULE=""
49503 DLLIMP_SUFFIX=""
49504 dlldir="$libdir"
49505
49506 case "${BAKEFILE_HOST}" in
49507 ia64-hp-hpux* )
49508 ;;
49509 *-hp-hpux* )
49510 SO_SUFFIX="sl"
49511 SO_SUFFIX_MODULE="sl"
49512 ;;
49513 *-*-aix* )
49514 SO_SUFFIX="a"
49515 SO_SUFFIX_MODULE="a"
49516 ;;
49517 *-*-cygwin* )
49518 SO_SUFFIX="dll"
49519 SO_SUFFIX_MODULE="dll"
49520 DLLIMP_SUFFIX="dll.a"
49521 EXEEXT=".exe"
49522 DLLPREFIX="cyg"
49523 dlldir="$bindir"
49524 ;;
49525 *-*-mingw32* )
49526 SO_SUFFIX="dll"
49527 SO_SUFFIX_MODULE="dll"
49528 DLLIMP_SUFFIX="dll.a"
49529 EXEEXT=".exe"
49530 DLLPREFIX=""
49531 dlldir="$bindir"
49532 ;;
49533 *-pc-msdosdjgpp )
49534 EXEEXT=".exe"
49535 DLLPREFIX=""
49536 dlldir="$bindir"
49537 ;;
49538 *-pc-os2_emx | *-pc-os2-emx )
49539 SO_SUFFIX="dll"
49540 SO_SUFFIX_MODULE="dll"
49541 DLLIMP_SUFFIX=$OS2_LIBEXT
49542 EXEEXT=".exe"
49543 DLLPREFIX=""
49544 LIBPREFIX=""
49545 LIBEXT=".$OS2_LIBEXT"
49546 dlldir="$bindir"
49547 ;;
49548 *-*-darwin* )
49549 SO_SUFFIX="dylib"
49550 SO_SUFFIX_MODULE="bundle"
49551 ;;
49552 esac
49553
49554 if test "x$DLLIMP_SUFFIX" = "x" ; then
49555 DLLIMP_SUFFIX="$SO_SUFFIX"
49556 fi
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569 PIC_FLAG=""
49570 if test "x$GCC" = "xyes"; then
49571 PIC_FLAG="-fPIC"
49572 fi
49573
49574 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49575 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49576 WINDOWS_IMPLIB=0
49577
49578 case "${BAKEFILE_HOST}" in
49579 *-hp-hpux* )
49580 if test "x$GCC" != "xyes"; then
49581 LDFLAGS="$LDFLAGS -L/usr/lib"
49582
49583 SHARED_LD_CC="${CC} -b -o"
49584 SHARED_LD_CXX="${CXX} -b -o"
49585 PIC_FLAG="+Z"
49586 fi
49587 ;;
49588
49589 *-*-linux* )
49590 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49591 PIC_FLAG="-KPIC"
49592 elif test "x$SUNCXX" = "xyes"; then
49593 SHARED_LD_CC="${CC} -G -o"
49594 SHARED_LD_CXX="${CXX} -G -o"
49595 PIC_FLAG="-KPIC"
49596 fi
49597 ;;
49598
49599 *-*-solaris2* )
49600 if test "x$SUNCXX" = xyes ; then
49601 SHARED_LD_CC="${CC} -G -o"
49602 SHARED_LD_CXX="${CXX} -G -o"
49603 PIC_FLAG="-KPIC"
49604 fi
49605 ;;
49606
49607 *-*-darwin* )
49608
49609 D='$'
49610 cat <<EOF >shared-ld-sh
49611 #!/bin/sh
49612 #-----------------------------------------------------------------------------
49613 #-- Name: distrib/mac/shared-ld-sh
49614 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49615 #-- Author: Gilles Depeyrot
49616 #-- Copyright: (c) 2002 Gilles Depeyrot
49617 #-- Licence: any use permitted
49618 #-----------------------------------------------------------------------------
49619
49620 verbose=0
49621 args=""
49622 objects=""
49623 linking_flag="-dynamiclib"
49624 ldargs="-r -keep_private_externs -nostdlib"
49625
49626 if test "x${D}CXX" = "x"; then
49627 CXX="c++"
49628 fi
49629
49630 while test ${D}# -gt 0; do
49631 case ${D}1 in
49632
49633 -v)
49634 verbose=1
49635 ;;
49636
49637 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49638 # collect these options and values
49639 args="${D}{args} ${D}1 ${D}2"
49640 shift
49641 ;;
49642
49643 -arch|-isysroot)
49644 # collect these options and values
49645 ldargs="${D}{ldargs} ${D}1 ${D}2"
49646 shift
49647 ;;
49648
49649 -s|-Wl,*)
49650 # collect these load args
49651 ldargs="${D}{ldargs} ${D}1"
49652 ;;
49653
49654 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49655 # collect these options
49656 args="${D}{args} ${D}1"
49657 ;;
49658
49659 -dynamiclib|-bundle)
49660 linking_flag="${D}1"
49661 ;;
49662
49663 -*)
49664 echo "shared-ld: unhandled option '${D}1'"
49665 exit 1
49666 ;;
49667
49668 *.o | *.a | *.dylib)
49669 # collect object files
49670 objects="${D}{objects} ${D}1"
49671 ;;
49672
49673 *)
49674 echo "shared-ld: unhandled argument '${D}1'"
49675 exit 1
49676 ;;
49677
49678 esac
49679 shift
49680 done
49681
49682 status=0
49683
49684 #
49685 # Link one module containing all the others
49686 #
49687 if test ${D}{verbose} = 1; then
49688 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49689 fi
49690 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49691 status=${D}?
49692
49693 #
49694 # Link the shared library from the single module created, but only if the
49695 # previous command didn't fail:
49696 #
49697 if test ${D}{status} = 0; then
49698 if test ${D}{verbose} = 1; then
49699 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49700 fi
49701 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49702 status=${D}?
49703 fi
49704
49705 #
49706 # Remove intermediate module
49707 #
49708 rm -f master.${D}${D}.o
49709
49710 exit ${D}status
49711 EOF
49712
49713 chmod +x shared-ld-sh
49714
49715 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49716 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49717
49718
49719 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49720 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49721 if test "${bakefile_cv_gcc31+set}" = set; then
49722 echo $ECHO_N "(cached) $ECHO_C" >&6
49723 else
49724
49725 cat >conftest.$ac_ext <<_ACEOF
49726 /* confdefs.h. */
49727 _ACEOF
49728 cat confdefs.h >>conftest.$ac_ext
49729 cat >>conftest.$ac_ext <<_ACEOF
49730 /* end confdefs.h. */
49731
49732 int
49733 main ()
49734 {
49735
49736 #if (__GNUC__ < 3) || \
49737 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49738 This is old gcc
49739 #endif
49740
49741 ;
49742 return 0;
49743 }
49744 _ACEOF
49745 rm -f conftest.$ac_objext
49746 if { (ac_try="$ac_compile"
49747 case "(($ac_try" in
49748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49749 *) ac_try_echo=$ac_try;;
49750 esac
49751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49752 (eval "$ac_compile") 2>conftest.er1
49753 ac_status=$?
49754 grep -v '^ *+' conftest.er1 >conftest.err
49755 rm -f conftest.er1
49756 cat conftest.err >&5
49757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49758 (exit $ac_status); } && {
49759 test -z "$ac_c_werror_flag" ||
49760 test ! -s conftest.err
49761 } && test -s conftest.$ac_objext; then
49762
49763 bakefile_cv_gcc31=yes
49764
49765 else
49766 echo "$as_me: failed program was:" >&5
49767 sed 's/^/| /' conftest.$ac_ext >&5
49768
49769
49770 bakefile_cv_gcc31=no
49771
49772
49773 fi
49774
49775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49776
49777 fi
49778 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49779 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49780 if test "$bakefile_cv_gcc31" = "no"; then
49781 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49782 SHARED_LD_CXX="$SHARED_LD_CC"
49783 else
49784 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49785 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49786 fi
49787
49788 if test "x$GCC" == "xyes"; then
49789 PIC_FLAG="-dynamic -fPIC"
49790 fi
49791 if test "x$XLCC" = "xyes"; then
49792 PIC_FLAG="-dynamic -DPIC"
49793 fi
49794 ;;
49795
49796 *-*-aix* )
49797 if test "x$GCC" = "xyes"; then
49798 PIC_FLAG=""
49799
49800 case "${BAKEFILE_HOST}" in
49801 *-*-aix5* )
49802 LD_EXPFULL="-Wl,-bexpfull"
49803 ;;
49804 esac
49805
49806 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49807 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49808 else
49809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49810 set dummy makeC++SharedLib; ac_word=$2
49811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49814 echo $ECHO_N "(cached) $ECHO_C" >&6
49815 else
49816 if test -n "$AIX_CXX_LD"; then
49817 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49818 else
49819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49820 for as_dir in $PATH
49821 do
49822 IFS=$as_save_IFS
49823 test -z "$as_dir" && as_dir=.
49824 for ac_exec_ext in '' $ac_executable_extensions; do
49825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49826 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49828 break 2
49829 fi
49830 done
49831 done
49832 IFS=$as_save_IFS
49833
49834 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49835 fi
49836 fi
49837 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49838 if test -n "$AIX_CXX_LD"; then
49839 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49840 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49841 else
49842 { echo "$as_me:$LINENO: result: no" >&5
49843 echo "${ECHO_T}no" >&6; }
49844 fi
49845
49846
49847 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49848 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49849 fi
49850 ;;
49851
49852 *-*-beos* )
49853 SHARED_LD_CC="${LD} -nostart -o"
49854 SHARED_LD_CXX="${LD} -nostart -o"
49855 ;;
49856
49857 *-*-irix* )
49858 if test "x$GCC" != "xyes"; then
49859 PIC_FLAG="-KPIC"
49860 fi
49861 ;;
49862
49863 *-*-cygwin* | *-*-mingw32* )
49864 PIC_FLAG=""
49865 SHARED_LD_CC="\$(CC) -shared -o"
49866 SHARED_LD_CXX="\$(CXX) -shared -o"
49867 WINDOWS_IMPLIB=1
49868 ;;
49869
49870 *-pc-os2_emx | *-pc-os2-emx )
49871 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49872 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49873 PIC_FLAG=""
49874
49875 D='$'
49876 cat <<EOF >dllar.sh
49877 #!/bin/sh
49878 #
49879 # dllar - a tool to build both a .dll and an .a file
49880 # from a set of object (.o) files for EMX/OS2.
49881 #
49882 # Written by Andrew Zabolotny, bit@freya.etu.ru
49883 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49884 #
49885 # This script will accept a set of files on the command line.
49886 # All the public symbols from the .o files will be exported into
49887 # a .DEF file, then linker will be run (through gcc) against them to
49888 # build a shared library consisting of all given .o files. All libraries
49889 # (.a) will be first decompressed into component .o files then act as
49890 # described above. You can optionally give a description (-d "description")
49891 # which will be put into .DLL. To see the list of accepted options (as well
49892 # as command-line format) simply run this program without options. The .DLL
49893 # is built to be imported by name (there is no guarantee that new versions
49894 # of the library you build will have same ordinals for same symbols).
49895 #
49896 # dllar is free software; you can redistribute it and/or modify
49897 # it under the terms of the GNU General Public License as published by
49898 # the Free Software Foundation; either version 2, or (at your option)
49899 # any later version.
49900 #
49901 # dllar is distributed in the hope that it will be useful,
49902 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49903 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49904 # GNU General Public License for more details.
49905 #
49906 # You should have received a copy of the GNU General Public License
49907 # along with dllar; see the file COPYING. If not, write to the Free
49908 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49909 # 02111-1307, USA.
49910
49911 # To successfuly run this program you will need:
49912 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49913 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49914 # - gcc
49915 # (used to build the .dll)
49916 # - emxexp
49917 # (used to create .def file from .o files)
49918 # - emximp
49919 # (used to create .a file from .def file)
49920 # - GNU text utilites (cat, sort, uniq)
49921 # used to process emxexp output
49922 # - GNU file utilities (mv, rm)
49923 # - GNU sed
49924 # - lxlite (optional, see flag below)
49925 # (used for general .dll cleanup)
49926 #
49927
49928 flag_USE_LXLITE=1;
49929
49930 #
49931 # helper functions
49932 # basnam, variant of basename, which does _not_ remove the path, _iff_
49933 # second argument (suffix to remove) is given
49934 basnam(){
49935 case ${D}# in
49936 1)
49937 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49938 ;;
49939 2)
49940 echo ${D}1 | sed 's/'${D}2'${D}//'
49941 ;;
49942 *)
49943 echo "error in basnam ${D}*"
49944 exit 8
49945 ;;
49946 esac
49947 }
49948
49949 # Cleanup temporary files and output
49950 CleanUp() {
49951 cd ${D}curDir
49952 for i in ${D}inputFiles ; do
49953 case ${D}i in
49954 *!)
49955 rm -rf \`basnam ${D}i !\`
49956 ;;
49957 *)
49958 ;;
49959 esac
49960 done
49961
49962 # Kill result in case of failure as there is just to many stupid make/nmake
49963 # things out there which doesn't do this.
49964 if [ ${D}# -eq 0 ]; then
49965 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49966 fi
49967 }
49968
49969 # Print usage and exit script with rc=1.
49970 PrintHelp() {
49971 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49972 echo ' [-name-mangler-script script.sh]'
49973 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49974 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49975 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49976 echo ' [*.o] [*.a]'
49977 echo '*> "output_file" should have no extension.'
49978 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49979 echo ' The import library name is derived from this and is set to "name".a,'
49980 echo ' unless overridden by -import'
49981 echo '*> "importlib_name" should have no extension.'
49982 echo ' If it has the .o, or .a extension, it is automatically removed.'
49983 echo ' This name is used as the import library name and may be longer and'
49984 echo ' more descriptive than the DLL name which has to follow the old '
49985 echo ' 8.3 convention of FAT.'
49986 echo '*> "script.sh may be given to override the output_file name by a'
49987 echo ' different name. It is mainly useful if the regular make process'
49988 echo ' of some package does not take into account OS/2 restriction of'
49989 echo ' DLL name lengths. It takes the importlib name as input and is'
49990 echo ' supposed to procude a shorter name as output. The script should'
49991 echo ' expect to get importlib_name without extension and should produce'
49992 echo ' a (max.) 8 letter name without extension.'
49993 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49994 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49995 echo ' These flags will be put at the start of GCC command line.'
49996 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49997 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49998 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49999 echo ' If the last character of a symbol is "*", all symbols beginning'
50000 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50001 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50002 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50003 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50004 echo ' C runtime DLLs.'
50005 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50006 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50007 echo ' unchanged to GCC at the end of command line.'
50008 echo '*> If you create a DLL from a library and you do not specify -o,'
50009 echo ' the basename for DLL and import library will be set to library name,'
50010 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50011 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50012 echo ' library will be renamed into gcc_s.a.'
50013 echo '--------'
50014 echo 'Example:'
50015 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50016 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50017 CleanUp
50018 exit 1
50019 }
50020
50021 # Execute a command.
50022 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50023 # @Uses Whatever CleanUp() uses.
50024 doCommand() {
50025 echo "${D}*"
50026 eval ${D}*
50027 rcCmd=${D}?
50028
50029 if [ ${D}rcCmd -ne 0 ]; then
50030 echo "command failed, exit code="${D}rcCmd
50031 CleanUp
50032 exit ${D}rcCmd
50033 fi
50034 }
50035
50036 # main routine
50037 # setup globals
50038 cmdLine=${D}*
50039 outFile=""
50040 outimpFile=""
50041 inputFiles=""
50042 renameScript=""
50043 description=""
50044 CC=gcc.exe
50045 CFLAGS="-s -Zcrtdll"
50046 EXTRA_CFLAGS=""
50047 EXPORT_BY_ORDINALS=0
50048 exclude_symbols=""
50049 library_flags=""
50050 curDir=\`pwd\`
50051 curDirS=curDir
50052 case ${D}curDirS in
50053 */)
50054 ;;
50055 *)
50056 curDirS=${D}{curDirS}"/"
50057 ;;
50058 esac
50059 # Parse commandline
50060 libsToLink=0
50061 omfLinking=0
50062 while [ ${D}1 ]; do
50063 case ${D}1 in
50064 -ord*)
50065 EXPORT_BY_ORDINALS=1;
50066 ;;
50067 -o*)
50068 shift
50069 outFile=${D}1
50070 ;;
50071 -i*)
50072 shift
50073 outimpFile=${D}1
50074 ;;
50075 -name-mangler-script)
50076 shift
50077 renameScript=${D}1
50078 ;;
50079 -d*)
50080 shift
50081 description=${D}1
50082 ;;
50083 -f*)
50084 shift
50085 CFLAGS=${D}1
50086 ;;
50087 -c*)
50088 shift
50089 CC=${D}1
50090 ;;
50091 -h*)
50092 PrintHelp
50093 ;;
50094 -ex*)
50095 shift
50096 exclude_symbols=${D}{exclude_symbols}${D}1" "
50097 ;;
50098 -libf*)
50099 shift
50100 library_flags=${D}{library_flags}${D}1" "
50101 ;;
50102 -nocrt*)
50103 CFLAGS="-s"
50104 ;;
50105 -nolxl*)
50106 flag_USE_LXLITE=0
50107 ;;
50108 -* | /*)
50109 case ${D}1 in
50110 -L* | -l*)
50111 libsToLink=1
50112 ;;
50113 -Zomf)
50114 omfLinking=1
50115 ;;
50116 *)
50117 ;;
50118 esac
50119 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50120 ;;
50121 *.dll)
50122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50123 if [ ${D}omfLinking -eq 1 ]; then
50124 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50125 else
50126 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50127 fi
50128 ;;
50129 *)
50130 found=0;
50131 if [ ${D}libsToLink -ne 0 ]; then
50132 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50133 else
50134 for file in ${D}1 ; do
50135 if [ -f ${D}file ]; then
50136 inputFiles="${D}{inputFiles} ${D}file"
50137 found=1
50138 fi
50139 done
50140 if [ ${D}found -eq 0 ]; then
50141 echo "ERROR: No file(s) found: "${D}1
50142 exit 8
50143 fi
50144 fi
50145 ;;
50146 esac
50147 shift
50148 done # iterate cmdline words
50149
50150 #
50151 if [ -z "${D}inputFiles" ]; then
50152 echo "dllar: no input files"
50153 PrintHelp
50154 fi
50155
50156 # Now extract all .o files from .a files
50157 newInputFiles=""
50158 for file in ${D}inputFiles ; do
50159 case ${D}file in
50160 *.a | *.lib)
50161 case ${D}file in
50162 *.a)
50163 suffix=".a"
50164 AR="ar"
50165 ;;
50166 *.lib)
50167 suffix=".lib"
50168 AR="emxomfar"
50169 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50170 ;;
50171 *)
50172 ;;
50173 esac
50174 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50175 mkdir ${D}dirname
50176 if [ ${D}? -ne 0 ]; then
50177 echo "Failed to create subdirectory ./${D}dirname"
50178 CleanUp
50179 exit 8;
50180 fi
50181 # Append '!' to indicate archive
50182 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50183 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50184 cd ${D}curDir
50185 found=0;
50186 for subfile in ${D}dirname/*.o* ; do
50187 if [ -f ${D}subfile ]; then
50188 found=1
50189 if [ -s ${D}subfile ]; then
50190 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50191 newInputFiles="${D}newInputFiles ${D}subfile"
50192 fi
50193 fi
50194 done
50195 if [ ${D}found -eq 0 ]; then
50196 echo "WARNING: there are no files in archive \\'${D}file\\'"
50197 fi
50198 ;;
50199 *)
50200 newInputFiles="${D}{newInputFiles} ${D}file"
50201 ;;
50202 esac
50203 done
50204 inputFiles="${D}newInputFiles"
50205
50206 # Output filename(s).
50207 do_backup=0;
50208 if [ -z ${D}outFile ]; then
50209 do_backup=1;
50210 set outFile ${D}inputFiles; outFile=${D}2
50211 fi
50212
50213 # If it is an archive, remove the '!' and the '_%' suffixes
50214 case ${D}outFile in
50215 *_%!)
50216 outFile=\`basnam ${D}outFile _%!\`
50217 ;;
50218 *)
50219 ;;
50220 esac
50221 case ${D}outFile in
50222 *.dll)
50223 outFile=\`basnam ${D}outFile .dll\`
50224 ;;
50225 *.DLL)
50226 outFile=\`basnam ${D}outFile .DLL\`
50227 ;;
50228 *.o)
50229 outFile=\`basnam ${D}outFile .o\`
50230 ;;
50231 *.obj)
50232 outFile=\`basnam ${D}outFile .obj\`
50233 ;;
50234 *.a)
50235 outFile=\`basnam ${D}outFile .a\`
50236 ;;
50237 *.lib)
50238 outFile=\`basnam ${D}outFile .lib\`
50239 ;;
50240 *)
50241 ;;
50242 esac
50243 case ${D}outimpFile in
50244 *.a)
50245 outimpFile=\`basnam ${D}outimpFile .a\`
50246 ;;
50247 *.lib)
50248 outimpFile=\`basnam ${D}outimpFile .lib\`
50249 ;;
50250 *)
50251 ;;
50252 esac
50253 if [ -z ${D}outimpFile ]; then
50254 outimpFile=${D}outFile
50255 fi
50256 defFile="${D}{outFile}.def"
50257 arcFile="${D}{outimpFile}.a"
50258 arcFile2="${D}{outimpFile}.lib"
50259
50260 #create ${D}dllFile as something matching 8.3 restrictions,
50261 if [ -z ${D}renameScript ] ; then
50262 dllFile="${D}outFile"
50263 else
50264 dllFile=\`${D}renameScript ${D}outimpFile\`
50265 fi
50266
50267 if [ ${D}do_backup -ne 0 ] ; then
50268 if [ -f ${D}arcFile ] ; then
50269 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50270 fi
50271 if [ -f ${D}arcFile2 ] ; then
50272 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50273 fi
50274 fi
50275
50276 # Extract public symbols from all the object files.
50277 tmpdefFile=${D}{defFile}_%
50278 rm -f ${D}tmpdefFile
50279 for file in ${D}inputFiles ; do
50280 case ${D}file in
50281 *!)
50282 ;;
50283 *)
50284 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50285 ;;
50286 esac
50287 done
50288
50289 # Create the def file.
50290 rm -f ${D}defFile
50291 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50292 dllFile="${D}{dllFile}.dll"
50293 if [ ! -z ${D}description ]; then
50294 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50295 fi
50296 echo "EXPORTS" >> ${D}defFile
50297
50298 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50299 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50300
50301 # Checks if the export is ok or not.
50302 for word in ${D}exclude_symbols; do
50303 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50304 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50305 done
50306
50307
50308 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50309 sed "=" < ${D}tmpdefFile | \\
50310 sed '
50311 N
50312 : loop
50313 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50314 t loop
50315 ' > ${D}{tmpdefFile}%
50316 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50317 else
50318 rm -f ${D}{tmpdefFile}%
50319 fi
50320 cat ${D}tmpdefFile >> ${D}defFile
50321 rm -f ${D}tmpdefFile
50322
50323 # Do linking, create implib, and apply lxlite.
50324 gccCmdl="";
50325 for file in ${D}inputFiles ; do
50326 case ${D}file in
50327 *!)
50328 ;;
50329 *)
50330 gccCmdl="${D}gccCmdl ${D}file"
50331 ;;
50332 esac
50333 done
50334 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50335 touch "${D}{outFile}.dll"
50336
50337 doCommand "emximp -o ${D}arcFile ${D}defFile"
50338 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50339 add_flags="";
50340 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50341 add_flags="-ynd"
50342 fi
50343 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50344 fi
50345 doCommand "emxomf -s -l ${D}arcFile"
50346
50347 # Successful exit.
50348 CleanUp 1
50349 exit 0
50350 EOF
50351
50352 chmod +x dllar.sh
50353 ;;
50354
50355 powerpc-apple-macos* | \
50356 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50357 *-*-mirbsd* | \
50358 *-*-sunos4* | \
50359 *-*-osf* | \
50360 *-*-dgux5* | \
50361 *-*-sysv5* | \
50362 *-pc-msdosdjgpp )
50363 ;;
50364
50365 *)
50366 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50367 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50368 { (exit 1); exit 1; }; }
50369 esac
50370
50371 if test "x$PIC_FLAG" != "x" ; then
50372 PIC_FLAG="$PIC_FLAG -DPIC"
50373 fi
50374
50375 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50376 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50377 fi
50378 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50379 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50380 fi
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390 USE_SOVERSION=0
50391 USE_SOVERLINUX=0
50392 USE_SOVERSOLARIS=0
50393 USE_SOVERCYGWIN=0
50394 USE_SOTWOSYMLINKS=0
50395 USE_MACVERSION=0
50396 SONAME_FLAG=
50397
50398 case "${BAKEFILE_HOST}" in
50399 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50400 *-*-k*bsd*-gnu | *-*-mirbsd* )
50401 if test "x$SUNCXX" = "xyes"; then
50402 SONAME_FLAG="-h "
50403 else
50404 SONAME_FLAG="-Wl,-soname,"
50405 fi
50406 USE_SOVERSION=1
50407 USE_SOVERLINUX=1
50408 USE_SOTWOSYMLINKS=1
50409 ;;
50410
50411 *-*-solaris2* )
50412 SONAME_FLAG="-h "
50413 USE_SOVERSION=1
50414 USE_SOVERSOLARIS=1
50415 ;;
50416
50417 *-*-darwin* )
50418 USE_MACVERSION=1
50419 USE_SOVERSION=1
50420 USE_SOTWOSYMLINKS=1
50421 ;;
50422
50423 *-*-cygwin* )
50424 USE_SOVERSION=1
50425 USE_SOVERCYGWIN=1
50426 ;;
50427 esac
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438 # Check whether --enable-dependency-tracking was given.
50439 if test "${enable_dependency_tracking+set}" = set; then
50440 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50441 fi
50442
50443
50444 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50445 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50446
50447 BK_DEPS=""
50448 if test "x$bk_use_trackdeps" = "xno" ; then
50449 DEPS_TRACKING=0
50450 { echo "$as_me:$LINENO: result: disabled" >&5
50451 echo "${ECHO_T}disabled" >&6; }
50452 else
50453 DEPS_TRACKING=1
50454
50455 if test "x$GCC" = "xyes"; then
50456 DEPSMODE=gcc
50457 case "${BAKEFILE_HOST}" in
50458 *-*-darwin* )
50459 DEPSFLAG="-no-cpp-precomp -MMD"
50460 ;;
50461 * )
50462 DEPSFLAG="-MMD"
50463 ;;
50464 esac
50465 { echo "$as_me:$LINENO: result: gcc" >&5
50466 echo "${ECHO_T}gcc" >&6; }
50467 elif test "x$MWCC" = "xyes"; then
50468 DEPSMODE=mwcc
50469 DEPSFLAG="-MM"
50470 { echo "$as_me:$LINENO: result: mwcc" >&5
50471 echo "${ECHO_T}mwcc" >&6; }
50472 elif test "x$SUNCC" = "xyes"; then
50473 DEPSMODE=unixcc
50474 DEPSFLAG="-xM1"
50475 { echo "$as_me:$LINENO: result: Sun cc" >&5
50476 echo "${ECHO_T}Sun cc" >&6; }
50477 elif test "x$SGICC" = "xyes"; then
50478 DEPSMODE=unixcc
50479 DEPSFLAG="-M"
50480 { echo "$as_me:$LINENO: result: SGI cc" >&5
50481 echo "${ECHO_T}SGI cc" >&6; }
50482 elif test "x$HPCC" = "xyes"; then
50483 DEPSMODE=unixcc
50484 DEPSFLAG="+make"
50485 { echo "$as_me:$LINENO: result: HP cc" >&5
50486 echo "${ECHO_T}HP cc" >&6; }
50487 elif test "x$COMPAQCC" = "xyes"; then
50488 DEPSMODE=gcc
50489 DEPSFLAG="-MD"
50490 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50491 echo "${ECHO_T}Compaq cc" >&6; }
50492 else
50493 DEPS_TRACKING=0
50494 { echo "$as_me:$LINENO: result: none" >&5
50495 echo "${ECHO_T}none" >&6; }
50496 fi
50497
50498 if test $DEPS_TRACKING = 1 ; then
50499
50500 D='$'
50501 cat <<EOF >bk-deps
50502 #!/bin/sh
50503
50504 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50505 # script. It is used to track C/C++ files dependencies in portable way.
50506 #
50507 # Permission is given to use this file in any way.
50508
50509 DEPSMODE=${DEPSMODE}
50510 DEPSFLAG="${DEPSFLAG}"
50511 DEPSDIRBASE=.deps
50512
50513 if test ${D}DEPSMODE = gcc ; then
50514 ${D}* ${D}{DEPSFLAG}
50515 status=${D}?
50516
50517 # determine location of created files:
50518 while test ${D}# -gt 0; do
50519 case "${D}1" in
50520 -o )
50521 shift
50522 objfile=${D}1
50523 ;;
50524 -* )
50525 ;;
50526 * )
50527 srcfile=${D}1
50528 ;;
50529 esac
50530 shift
50531 done
50532 objfilebase=\`basename ${D}objfile\`
50533 builddir=\`dirname ${D}objfile\`
50534 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50535 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50536 depsdir=${D}builddir/${D}DEPSDIRBASE
50537 mkdir -p ${D}depsdir
50538
50539 # if the compiler failed, we're done:
50540 if test ${D}{status} != 0 ; then
50541 rm -f ${D}depfile
50542 exit ${D}{status}
50543 fi
50544
50545 # move created file to the location we want it in:
50546 if test -f ${D}depfile ; then
50547 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50548 rm -f ${D}depfile
50549 else
50550 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50551 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50552 if test ! -f ${D}depfile ; then
50553 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50554 depfile="${D}objfile.d"
50555 fi
50556 if test -f ${D}depfile ; then
50557 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50558 rm -f ${D}depfile
50559 fi
50560 fi
50561 exit 0
50562
50563 elif test ${D}DEPSMODE = mwcc ; then
50564 ${D}* || exit ${D}?
50565 # Run mwcc again with -MM and redirect into the dep file we want
50566 # NOTE: We can't use shift here because we need ${D}* to be valid
50567 prevarg=
50568 for arg in ${D}* ; do
50569 if test "${D}prevarg" = "-o"; then
50570 objfile=${D}arg
50571 else
50572 case "${D}arg" in
50573 -* )
50574 ;;
50575 * )
50576 srcfile=${D}arg
50577 ;;
50578 esac
50579 fi
50580 prevarg="${D}arg"
50581 done
50582
50583 objfilebase=\`basename ${D}objfile\`
50584 builddir=\`dirname ${D}objfile\`
50585 depsdir=${D}builddir/${D}DEPSDIRBASE
50586 mkdir -p ${D}depsdir
50587
50588 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50589 exit 0
50590
50591 elif test ${D}DEPSMODE = unixcc; then
50592 ${D}* || exit ${D}?
50593 # Run compiler again with deps flag and redirect into the dep file.
50594 # It doesn't work if the '-o FILE' option is used, but without it the
50595 # dependency file will contain the wrong name for the object. So it is
50596 # removed from the command line, and the dep file is fixed with sed.
50597 cmd=""
50598 while test ${D}# -gt 0; do
50599 case "${D}1" in
50600 -o )
50601 shift
50602 objfile=${D}1
50603 ;;
50604 * )
50605 eval arg${D}#=\\${D}1
50606 cmd="${D}cmd \\${D}arg${D}#"
50607 ;;
50608 esac
50609 shift
50610 done
50611
50612 objfilebase=\`basename ${D}objfile\`
50613 builddir=\`dirname ${D}objfile\`
50614 depsdir=${D}builddir/${D}DEPSDIRBASE
50615 mkdir -p ${D}depsdir
50616
50617 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50618 exit 0
50619
50620 else
50621 ${D}*
50622 exit ${D}?
50623 fi
50624 EOF
50625
50626 chmod +x bk-deps
50627 BK_DEPS="`pwd`/bk-deps"
50628 fi
50629 fi
50630
50631
50632
50633
50634
50635 case ${BAKEFILE_HOST} in
50636 *-*-cygwin* | *-*-mingw32* )
50637 if test -n "$ac_tool_prefix"; then
50638 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50639 set dummy ${ac_tool_prefix}windres; ac_word=$2
50640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50642 if test "${ac_cv_prog_WINDRES+set}" = set; then
50643 echo $ECHO_N "(cached) $ECHO_C" >&6
50644 else
50645 if test -n "$WINDRES"; then
50646 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50647 else
50648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50649 for as_dir in $PATH
50650 do
50651 IFS=$as_save_IFS
50652 test -z "$as_dir" && as_dir=.
50653 for ac_exec_ext in '' $ac_executable_extensions; do
50654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50655 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50657 break 2
50658 fi
50659 done
50660 done
50661 IFS=$as_save_IFS
50662
50663 fi
50664 fi
50665 WINDRES=$ac_cv_prog_WINDRES
50666 if test -n "$WINDRES"; then
50667 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50668 echo "${ECHO_T}$WINDRES" >&6; }
50669 else
50670 { echo "$as_me:$LINENO: result: no" >&5
50671 echo "${ECHO_T}no" >&6; }
50672 fi
50673
50674
50675 fi
50676 if test -z "$ac_cv_prog_WINDRES"; then
50677 ac_ct_WINDRES=$WINDRES
50678 # Extract the first word of "windres", so it can be a program name with args.
50679 set dummy windres; ac_word=$2
50680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50682 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50683 echo $ECHO_N "(cached) $ECHO_C" >&6
50684 else
50685 if test -n "$ac_ct_WINDRES"; then
50686 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50687 else
50688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50689 for as_dir in $PATH
50690 do
50691 IFS=$as_save_IFS
50692 test -z "$as_dir" && as_dir=.
50693 for ac_exec_ext in '' $ac_executable_extensions; do
50694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50695 ac_cv_prog_ac_ct_WINDRES="windres"
50696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50697 break 2
50698 fi
50699 done
50700 done
50701 IFS=$as_save_IFS
50702
50703 fi
50704 fi
50705 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50706 if test -n "$ac_ct_WINDRES"; then
50707 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50708 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50709 else
50710 { echo "$as_me:$LINENO: result: no" >&5
50711 echo "${ECHO_T}no" >&6; }
50712 fi
50713
50714 if test "x$ac_ct_WINDRES" = x; then
50715 WINDRES=""
50716 else
50717 case $cross_compiling:$ac_tool_warned in
50718 yes:)
50719 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50720 whose name does not start with the host triplet. If you think this
50721 configuration is useful to you, please write to autoconf@gnu.org." >&5
50722 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50723 whose name does not start with the host triplet. If you think this
50724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50725 ac_tool_warned=yes ;;
50726 esac
50727 WINDRES=$ac_ct_WINDRES
50728 fi
50729 else
50730 WINDRES="$ac_cv_prog_WINDRES"
50731 fi
50732
50733 ;;
50734
50735 *-*-darwin* | powerpc-apple-macos* )
50736 # Extract the first word of "Rez", so it can be a program name with args.
50737 set dummy Rez; ac_word=$2
50738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50740 if test "${ac_cv_prog_REZ+set}" = set; then
50741 echo $ECHO_N "(cached) $ECHO_C" >&6
50742 else
50743 if test -n "$REZ"; then
50744 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50745 else
50746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50747 for as_dir in $PATH
50748 do
50749 IFS=$as_save_IFS
50750 test -z "$as_dir" && as_dir=.
50751 for ac_exec_ext in '' $ac_executable_extensions; do
50752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50753 ac_cv_prog_REZ="Rez"
50754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50755 break 2
50756 fi
50757 done
50758 done
50759 IFS=$as_save_IFS
50760
50761 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50762 fi
50763 fi
50764 REZ=$ac_cv_prog_REZ
50765 if test -n "$REZ"; then
50766 { echo "$as_me:$LINENO: result: $REZ" >&5
50767 echo "${ECHO_T}$REZ" >&6; }
50768 else
50769 { echo "$as_me:$LINENO: result: no" >&5
50770 echo "${ECHO_T}no" >&6; }
50771 fi
50772
50773
50774 # Extract the first word of "SetFile", so it can be a program name with args.
50775 set dummy SetFile; ac_word=$2
50776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50778 if test "${ac_cv_prog_SETFILE+set}" = set; then
50779 echo $ECHO_N "(cached) $ECHO_C" >&6
50780 else
50781 if test -n "$SETFILE"; then
50782 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50783 else
50784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50785 for as_dir in $PATH
50786 do
50787 IFS=$as_save_IFS
50788 test -z "$as_dir" && as_dir=.
50789 for ac_exec_ext in '' $ac_executable_extensions; do
50790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50791 ac_cv_prog_SETFILE="SetFile"
50792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50793 break 2
50794 fi
50795 done
50796 done
50797 IFS=$as_save_IFS
50798
50799 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50800 fi
50801 fi
50802 SETFILE=$ac_cv_prog_SETFILE
50803 if test -n "$SETFILE"; then
50804 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50805 echo "${ECHO_T}$SETFILE" >&6; }
50806 else
50807 { echo "$as_me:$LINENO: result: no" >&5
50808 echo "${ECHO_T}no" >&6; }
50809 fi
50810
50811
50812 ;;
50813 esac
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50824
50825
50826 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50827
50828
50829
50830 # Check whether --enable-precomp-headers was given.
50831 if test "${enable_precomp_headers+set}" = set; then
50832 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50833 fi
50834
50835
50836 GCC_PCH=0
50837 ICC_PCH=0
50838 USE_PCH=0
50839 BK_MAKE_PCH=""
50840
50841 case ${BAKEFILE_HOST} in
50842 *-*-cygwin* )
50843 bk_use_pch="no"
50844 ;;
50845 esac
50846
50847 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50848 if test "x$GCC" = "xyes"; then
50849 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50850 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50851 cat >conftest.$ac_ext <<_ACEOF
50852 /* confdefs.h. */
50853 _ACEOF
50854 cat confdefs.h >>conftest.$ac_ext
50855 cat >>conftest.$ac_ext <<_ACEOF
50856 /* end confdefs.h. */
50857
50858 int
50859 main ()
50860 {
50861
50862 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50863 There is no PCH support
50864 #endif
50865 #if (__GNUC__ < 3)
50866 There is no PCH support
50867 #endif
50868 #if (__GNUC__ == 3) && \
50869 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50870 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50871 ( defined(__INTEL_COMPILER) )
50872 There is no PCH support
50873 #endif
50874
50875 ;
50876 return 0;
50877 }
50878 _ACEOF
50879 rm -f conftest.$ac_objext
50880 if { (ac_try="$ac_compile"
50881 case "(($ac_try" in
50882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50883 *) ac_try_echo=$ac_try;;
50884 esac
50885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50886 (eval "$ac_compile") 2>conftest.er1
50887 ac_status=$?
50888 grep -v '^ *+' conftest.er1 >conftest.err
50889 rm -f conftest.er1
50890 cat conftest.err >&5
50891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50892 (exit $ac_status); } && {
50893 test -z "$ac_c_werror_flag" ||
50894 test ! -s conftest.err
50895 } && test -s conftest.$ac_objext; then
50896
50897 { echo "$as_me:$LINENO: result: yes" >&5
50898 echo "${ECHO_T}yes" >&6; }
50899 GCC_PCH=1
50900
50901 else
50902 echo "$as_me: failed program was:" >&5
50903 sed 's/^/| /' conftest.$ac_ext >&5
50904
50905
50906 if test "$INTELCXX8" = "yes"; then
50907 { echo "$as_me:$LINENO: result: yes" >&5
50908 echo "${ECHO_T}yes" >&6; }
50909 ICC_PCH=1
50910 if test "$INTELCXX10" = "yes"; then
50911 ICC_PCH_CREATE_SWITCH="-pch-create"
50912 ICC_PCH_USE_SWITCH="-pch-use"
50913 else
50914 ICC_PCH_CREATE_SWITCH="-create-pch"
50915 ICC_PCH_USE_SWITCH="-use-pch"
50916 fi
50917 else
50918 { echo "$as_me:$LINENO: result: no" >&5
50919 echo "${ECHO_T}no" >&6; }
50920 fi
50921
50922 fi
50923
50924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50925 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50926 USE_PCH=1
50927
50928 D='$'
50929 cat <<EOF >bk-make-pch
50930 #!/bin/sh
50931
50932 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50933 # script. It is used to generated precompiled headers.
50934 #
50935 # Permission is given to use this file in any way.
50936
50937 outfile="${D}{1}"
50938 header="${D}{2}"
50939 shift
50940 shift
50941
50942 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50943
50944 compiler=""
50945 headerfile=""
50946
50947 while test ${D}{#} -gt 0; do
50948 add_to_cmdline=1
50949 case "${D}{1}" in
50950 -I* )
50951 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50952 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50953 headerfile="${D}{incdir}/${D}{header}"
50954 fi
50955 ;;
50956 -use-pch|-use_pch|-pch-use )
50957 shift
50958 add_to_cmdline=0
50959 ;;
50960 esac
50961 if test ${D}add_to_cmdline = 1 ; then
50962 compiler="${D}{compiler} ${D}{1}"
50963 fi
50964 shift
50965 done
50966
50967 if test "x${D}{headerfile}" = "x" ; then
50968 echo "error: can't find header ${D}{header} in include paths" >&2
50969 else
50970 if test -f ${D}{outfile} ; then
50971 rm -f ${D}{outfile}
50972 else
50973 mkdir -p \`dirname ${D}{outfile}\`
50974 fi
50975 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50976 mkdir -p ${D}{builddir}/.deps
50977 if test "x${GCC_PCH}" = "x1" ; then
50978 # can do this because gcc is >= 3.4:
50979 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50980 elif test "x${ICC_PCH}" = "x1" ; then
50981 filename=pch_gen-${D}${D}
50982 file=${D}{filename}.c
50983 dfile=${D}{filename}.d
50984 cat > ${D}file <<EOT
50985 #include "${D}header"
50986 EOT
50987 # using -MF icc complains about differing command lines in creation/use
50988 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50989 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50990 rm -f ${D}file ${D}dfile ${D}{filename}.o
50991 fi
50992 exit ${D}{?}
50993 fi
50994 EOF
50995
50996 chmod +x bk-make-pch
50997 BK_MAKE_PCH="`pwd`/bk-make-pch"
50998 fi
50999 fi
51000 fi
51001
51002
51003
51004
51005
51006
51007
51008 COND_BUILD_DEBUG="#"
51009 if test "x$BUILD" = "xdebug" ; then
51010 COND_BUILD_DEBUG=""
51011 fi
51012
51013 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51014 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51015 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51016 fi
51017
51018 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51019 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51020 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51021 fi
51022
51023 COND_BUILD_DEBUG_UNICODE_0="#"
51024 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51025 COND_BUILD_DEBUG_UNICODE_0=""
51026 fi
51027
51028 COND_BUILD_DEBUG_UNICODE_1="#"
51029 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51030 COND_BUILD_DEBUG_UNICODE_1=""
51031 fi
51032
51033 COND_BUILD_RELEASE="#"
51034 if test "x$BUILD" = "xrelease" ; then
51035 COND_BUILD_RELEASE=""
51036 fi
51037
51038 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51039 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51040 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51041 fi
51042
51043 COND_BUILD_RELEASE_UNICODE_0="#"
51044 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51045 COND_BUILD_RELEASE_UNICODE_0=""
51046 fi
51047
51048 COND_BUILD_RELEASE_UNICODE_1="#"
51049 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51050 COND_BUILD_RELEASE_UNICODE_1=""
51051 fi
51052
51053 COND_BUILD_debug="#"
51054 if test "x$BUILD" = "xdebug" ; then
51055 COND_BUILD_debug=""
51056 fi
51057
51058 COND_BUILD_debug_DEBUG_FLAG_default="#"
51059 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51060 COND_BUILD_debug_DEBUG_FLAG_default=""
51061 fi
51062
51063 COND_BUILD_debug_DEBUG_INFO_default="#"
51064 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51065 COND_BUILD_debug_DEBUG_INFO_default=""
51066 fi
51067
51068 COND_BUILD_debug_UNICODE_0="#"
51069 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51070 COND_BUILD_debug_UNICODE_0=""
51071 fi
51072
51073 COND_BUILD_debug_UNICODE_1="#"
51074 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51075 COND_BUILD_debug_UNICODE_1=""
51076 fi
51077
51078 COND_BUILD_release="#"
51079 if test "x$BUILD" = "xrelease" ; then
51080 COND_BUILD_release=""
51081 fi
51082
51083 COND_BUILD_release_DEBUG_INFO_default="#"
51084 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51085 COND_BUILD_release_DEBUG_INFO_default=""
51086 fi
51087
51088 COND_BUILD_release_UNICODE_0="#"
51089 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51090 COND_BUILD_release_UNICODE_0=""
51091 fi
51092
51093 COND_BUILD_release_UNICODE_1="#"
51094 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51095 COND_BUILD_release_UNICODE_1=""
51096 fi
51097
51098 COND_DEBUG_FLAG_0="#"
51099 if test "x$DEBUG_FLAG" = "x0" ; then
51100 COND_DEBUG_FLAG_0=""
51101 fi
51102
51103 COND_DEBUG_FLAG_1="#"
51104 if test "x$DEBUG_FLAG" = "x1" ; then
51105 COND_DEBUG_FLAG_1=""
51106 fi
51107
51108 COND_DEBUG_INFO_0="#"
51109 if test "x$DEBUG_INFO" = "x0" ; then
51110 COND_DEBUG_INFO_0=""
51111 fi
51112
51113 COND_DEBUG_INFO_1="#"
51114 if test "x$DEBUG_INFO" = "x1" ; then
51115 COND_DEBUG_INFO_1=""
51116 fi
51117
51118 COND_DEPS_TRACKING_0="#"
51119 if test "x$DEPS_TRACKING" = "x0" ; then
51120 COND_DEPS_TRACKING_0=""
51121 fi
51122
51123 COND_DEPS_TRACKING_1="#"
51124 if test "x$DEPS_TRACKING" = "x1" ; then
51125 COND_DEPS_TRACKING_1=""
51126 fi
51127
51128 COND_GCC_PCH_1="#"
51129 if test "x$GCC_PCH" = "x1" ; then
51130 COND_GCC_PCH_1=""
51131 fi
51132
51133 COND_ICC_PCH_1="#"
51134 if test "x$ICC_PCH" = "x1" ; then
51135 COND_ICC_PCH_1=""
51136 fi
51137
51138 COND_MONOLITHIC_0="#"
51139 if test "x$MONOLITHIC" = "x0" ; then
51140 COND_MONOLITHIC_0=""
51141 fi
51142
51143 COND_MONOLITHIC_0_SHARED_0="#"
51144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51145 COND_MONOLITHIC_0_SHARED_0=""
51146 fi
51147
51148 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51150 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51151 fi
51152
51153 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51155 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51156 fi
51157
51158 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51161 fi
51162
51163 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51165 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51166 fi
51167
51168 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51170 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51171 fi
51172
51173 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51175 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51176 fi
51177
51178 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51180 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51181 fi
51182
51183 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51185 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51186 fi
51187
51188 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51189 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51190 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51191 fi
51192
51193 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51194 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51195 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51196 fi
51197
51198 COND_MONOLITHIC_0_SHARED_1="#"
51199 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51200 COND_MONOLITHIC_0_SHARED_1=""
51201 fi
51202
51203 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51204 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51205 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51206 fi
51207
51208 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51210 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51211 fi
51212
51213 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51215 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51216 fi
51217
51218 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51221 fi
51222
51223 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51225 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51226 fi
51227
51228 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51229 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51230 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51231 fi
51232
51233 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51234 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51235 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51236 fi
51237
51238 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51239 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51240 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51241 fi
51242
51243 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51245 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51246 fi
51247
51248 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51250 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51251 fi
51252
51253 COND_MONOLITHIC_0_USE_AUI_1="#"
51254 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51255 COND_MONOLITHIC_0_USE_AUI_1=""
51256 fi
51257
51258 COND_MONOLITHIC_0_USE_GUI_1="#"
51259 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51260 COND_MONOLITHIC_0_USE_GUI_1=""
51261 fi
51262
51263 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51264 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51265 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51266 fi
51267
51268 COND_MONOLITHIC_0_USE_HTML_1="#"
51269 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51270 COND_MONOLITHIC_0_USE_HTML_1=""
51271 fi
51272
51273 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51274 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51275 COND_MONOLITHIC_0_USE_MEDIA_1=""
51276 fi
51277
51278 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51279 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51280 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51281 fi
51282
51283 COND_MONOLITHIC_0_USE_QA_1="#"
51284 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51285 COND_MONOLITHIC_0_USE_QA_1=""
51286 fi
51287
51288 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51289 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51290 COND_MONOLITHIC_0_USE_RIBBON_1=""
51291 fi
51292
51293 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51294 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51295 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51296 fi
51297
51298 COND_MONOLITHIC_0_USE_STC_1="#"
51299 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51300 COND_MONOLITHIC_0_USE_STC_1=""
51301 fi
51302
51303 COND_MONOLITHIC_0_USE_XRC_1="#"
51304 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51305 COND_MONOLITHIC_0_USE_XRC_1=""
51306 fi
51307
51308 COND_MONOLITHIC_1="#"
51309 if test "x$MONOLITHIC" = "x1" ; then
51310 COND_MONOLITHIC_1=""
51311 fi
51312
51313 COND_MONOLITHIC_1_SHARED_0="#"
51314 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51315 COND_MONOLITHIC_1_SHARED_0=""
51316 fi
51317
51318 COND_MONOLITHIC_1_SHARED_1="#"
51319 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51320 COND_MONOLITHIC_1_SHARED_1=""
51321 fi
51322
51323 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51324 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51325 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51326 fi
51327
51328 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51329 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51330 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51331 fi
51332
51333 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51334 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51335 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51336 fi
51337
51338 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51339 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51340 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51341 fi
51342
51343 COND_PLATFORM_MACOSX_1="#"
51344 if test "x$PLATFORM_MACOSX" = "x1" ; then
51345 COND_PLATFORM_MACOSX_1=""
51346 fi
51347
51348 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51349 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51350 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51351 fi
51352
51353 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51354 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51355 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51356 fi
51357
51358 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51359 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51360 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51361 fi
51362
51363 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51364 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51365 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51366 fi
51367
51368 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51369 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51370 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51371 fi
51372
51373 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51374 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51375 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51376 fi
51377
51378 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51379 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51380 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51381 fi
51382
51383 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51384 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51385 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51386 fi
51387
51388 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51389 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51390 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51391 fi
51392
51393 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51394 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51395 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51396 fi
51397
51398 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51399 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51400 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51401 fi
51402
51403 COND_PLATFORM_MACOS_1="#"
51404 if test "x$PLATFORM_MACOS" = "x1" ; then
51405 COND_PLATFORM_MACOS_1=""
51406 fi
51407
51408 COND_PLATFORM_MAC_0="#"
51409 if test "x$PLATFORM_MAC" = "x0" ; then
51410 COND_PLATFORM_MAC_0=""
51411 fi
51412
51413 COND_PLATFORM_MAC_1="#"
51414 if test "x$PLATFORM_MAC" = "x1" ; then
51415 COND_PLATFORM_MAC_1=""
51416 fi
51417
51418 COND_PLATFORM_MSDOS_0="#"
51419 if test "x$PLATFORM_MSDOS" = "x0" ; then
51420 COND_PLATFORM_MSDOS_0=""
51421 fi
51422
51423 COND_PLATFORM_MSDOS_1="#"
51424 if test "x$PLATFORM_MSDOS" = "x1" ; then
51425 COND_PLATFORM_MSDOS_1=""
51426 fi
51427
51428 COND_PLATFORM_OS2_1="#"
51429 if test "x$PLATFORM_OS2" = "x1" ; then
51430 COND_PLATFORM_OS2_1=""
51431 fi
51432
51433 COND_PLATFORM_UNIX_0="#"
51434 if test "x$PLATFORM_UNIX" = "x0" ; then
51435 COND_PLATFORM_UNIX_0=""
51436 fi
51437
51438 COND_PLATFORM_UNIX_1="#"
51439 if test "x$PLATFORM_UNIX" = "x1" ; then
51440 COND_PLATFORM_UNIX_1=""
51441 fi
51442
51443 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51444 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51445 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51446 fi
51447
51448 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51449 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51450 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51451 fi
51452
51453 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51454 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51455 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51456 fi
51457
51458 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51459 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51460 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51461 fi
51462
51463 COND_PLATFORM_WIN32_0="#"
51464 if test "x$PLATFORM_WIN32" = "x0" ; then
51465 COND_PLATFORM_WIN32_0=""
51466 fi
51467
51468 COND_PLATFORM_WIN32_1="#"
51469 if test "x$PLATFORM_WIN32" = "x1" ; then
51470 COND_PLATFORM_WIN32_1=""
51471 fi
51472
51473 COND_PLATFORM_WIN32_1_SHARED_0="#"
51474 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51475 COND_PLATFORM_WIN32_1_SHARED_0=""
51476 fi
51477
51478 COND_SHARED_0="#"
51479 if test "x$SHARED" = "x0" ; then
51480 COND_SHARED_0=""
51481 fi
51482
51483 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51484 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51485 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51486 fi
51487
51488 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51489 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51490 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51491 fi
51492
51493 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51494 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51495 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51496 fi
51497
51498 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51499 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51500 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51501 fi
51502
51503 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51504 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51505 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51506 fi
51507
51508 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51509 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51510 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51511 fi
51512
51513 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51514 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51515 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51516 fi
51517
51518 COND_SHARED_0_USE_STC_1="#"
51519 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51520 COND_SHARED_0_USE_STC_1=""
51521 fi
51522
51523 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51524 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51525 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51526 fi
51527
51528 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51529 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51530 COND_SHARED_0_wxUSE_REGEX_builtin=""
51531 fi
51532
51533 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51534 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51535 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51536 fi
51537
51538 COND_SHARED_1="#"
51539 if test "x$SHARED" = "x1" ; then
51540 COND_SHARED_1=""
51541 fi
51542
51543 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51544 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51545 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51546 fi
51547
51548 COND_TOOLKIT_="#"
51549 if test "x$TOOLKIT" = "x" ; then
51550 COND_TOOLKIT_=""
51551 fi
51552
51553 COND_TOOLKIT_COCOA="#"
51554 if test "x$TOOLKIT" = "xCOCOA" ; then
51555 COND_TOOLKIT_COCOA=""
51556 fi
51557
51558 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51559 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51560 COND_TOOLKIT_COCOA_USE_GUI_1=""
51561 fi
51562
51563 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51564 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51565 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51566 fi
51567
51568 COND_TOOLKIT_DFB="#"
51569 if test "x$TOOLKIT" = "xDFB" ; then
51570 COND_TOOLKIT_DFB=""
51571 fi
51572
51573 COND_TOOLKIT_DFB_USE_GUI_1="#"
51574 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51575 COND_TOOLKIT_DFB_USE_GUI_1=""
51576 fi
51577
51578 COND_TOOLKIT_GTK="#"
51579 if test "x$TOOLKIT" = "xGTK" ; then
51580 COND_TOOLKIT_GTK=""
51581 fi
51582
51583 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51584 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51585 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51586 fi
51587
51588 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51589 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51590 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51591 fi
51592
51593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51594 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51595 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51596 fi
51597
51598 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51599 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51600 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51601 fi
51602
51603 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51604 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51605 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51606 fi
51607
51608 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51609 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51610 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51611 fi
51612
51613 COND_TOOLKIT_GTK_USE_GUI_1="#"
51614 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51615 COND_TOOLKIT_GTK_USE_GUI_1=""
51616 fi
51617
51618 COND_TOOLKIT_MAC="#"
51619 if test "x$TOOLKIT" = "xMAC" ; then
51620 COND_TOOLKIT_MAC=""
51621 fi
51622
51623 COND_TOOLKIT_MGL="#"
51624 if test "x$TOOLKIT" = "xMGL" ; then
51625 COND_TOOLKIT_MGL=""
51626 fi
51627
51628 COND_TOOLKIT_MGL_USE_GUI_1="#"
51629 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51630 COND_TOOLKIT_MGL_USE_GUI_1=""
51631 fi
51632
51633 COND_TOOLKIT_MOTIF="#"
51634 if test "x$TOOLKIT" = "xMOTIF" ; then
51635 COND_TOOLKIT_MOTIF=""
51636 fi
51637
51638 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51639 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51640 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51641 fi
51642
51643 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51644 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51645 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51646 fi
51647
51648 COND_TOOLKIT_MSW="#"
51649 if test "x$TOOLKIT" = "xMSW" ; then
51650 COND_TOOLKIT_MSW=""
51651 fi
51652
51653 COND_TOOLKIT_MSW_USE_GUI_1="#"
51654 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51655 COND_TOOLKIT_MSW_USE_GUI_1=""
51656 fi
51657
51658 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51659 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51660 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51661 fi
51662
51663 COND_TOOLKIT_MSW_WXUNIV_0="#"
51664 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51665 COND_TOOLKIT_MSW_WXUNIV_0=""
51666 fi
51667
51668 COND_TOOLKIT_OSX_CARBON="#"
51669 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51670 COND_TOOLKIT_OSX_CARBON=""
51671 fi
51672
51673 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51674 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51675 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51676 fi
51677
51678 COND_TOOLKIT_OSX_COCOA="#"
51679 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51680 COND_TOOLKIT_OSX_COCOA=""
51681 fi
51682
51683 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51684 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51685 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51686 fi
51687
51688 COND_TOOLKIT_OSX_IPHONE="#"
51689 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51690 COND_TOOLKIT_OSX_IPHONE=""
51691 fi
51692
51693 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51694 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51695 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51696 fi
51697
51698 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51699 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51700 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51701 fi
51702
51703 COND_TOOLKIT_PM="#"
51704 if test "x$TOOLKIT" = "xPM" ; then
51705 COND_TOOLKIT_PM=""
51706 fi
51707
51708 COND_TOOLKIT_PM_USE_GUI_1="#"
51709 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51710 COND_TOOLKIT_PM_USE_GUI_1=""
51711 fi
51712
51713 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51714 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51715 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51716 fi
51717
51718 COND_TOOLKIT_WINCE="#"
51719 if test "x$TOOLKIT" = "xWINCE" ; then
51720 COND_TOOLKIT_WINCE=""
51721 fi
51722
51723 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51724 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51725 COND_TOOLKIT_WINCE_USE_GUI_1=""
51726 fi
51727
51728 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51729 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51730 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51731 fi
51732
51733 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51734 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51735 COND_TOOLKIT_WINCE_WXUNIV_0=""
51736 fi
51737
51738 COND_TOOLKIT_X11="#"
51739 if test "x$TOOLKIT" = "xX11" ; then
51740 COND_TOOLKIT_X11=""
51741 fi
51742
51743 COND_TOOLKIT_X11_USE_GUI_1="#"
51744 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51745 COND_TOOLKIT_X11_USE_GUI_1=""
51746 fi
51747
51748 COND_UNICODE_1="#"
51749 if test "x$UNICODE" = "x1" ; then
51750 COND_UNICODE_1=""
51751 fi
51752
51753 COND_USE_CAIRO_1="#"
51754 if test "x$USE_CAIRO" = "x1" ; then
51755 COND_USE_CAIRO_1=""
51756 fi
51757
51758 COND_USE_EXCEPTIONS_0="#"
51759 if test "x$USE_EXCEPTIONS" = "x0" ; then
51760 COND_USE_EXCEPTIONS_0=""
51761 fi
51762
51763 COND_USE_EXCEPTIONS_1="#"
51764 if test "x$USE_EXCEPTIONS" = "x1" ; then
51765 COND_USE_EXCEPTIONS_1=""
51766 fi
51767
51768 COND_USE_GUI_0="#"
51769 if test "x$USE_GUI" = "x0" ; then
51770 COND_USE_GUI_0=""
51771 fi
51772
51773 COND_USE_GUI_1="#"
51774 if test "x$USE_GUI" = "x1" ; then
51775 COND_USE_GUI_1=""
51776 fi
51777
51778 COND_USE_GUI_1_USE_OPENGL_1="#"
51779 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51780 COND_USE_GUI_1_USE_OPENGL_1=""
51781 fi
51782
51783 COND_USE_GUI_1_WXUNIV_0="#"
51784 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51785 COND_USE_GUI_1_WXUNIV_0=""
51786 fi
51787
51788 COND_USE_GUI_1_WXUNIV_1="#"
51789 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51790 COND_USE_GUI_1_WXUNIV_1=""
51791 fi
51792
51793 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51794 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51795 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51796 fi
51797
51798 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51799 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51800 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51801 fi
51802
51803 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51804 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51805 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51806 fi
51807
51808 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51809 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51810 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51811 fi
51812
51813 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51815 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51816 fi
51817
51818 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51820 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51821 fi
51822
51823 COND_USE_OPENGL_1="#"
51824 if test "x$USE_OPENGL" = "x1" ; then
51825 COND_USE_OPENGL_1=""
51826 fi
51827
51828 COND_USE_PCH_1="#"
51829 if test "x$USE_PCH" = "x1" ; then
51830 COND_USE_PCH_1=""
51831 fi
51832
51833 COND_USE_PLUGINS_0="#"
51834 if test "x$USE_PLUGINS" = "x0" ; then
51835 COND_USE_PLUGINS_0=""
51836 fi
51837
51838 COND_USE_RTTI_0="#"
51839 if test "x$USE_RTTI" = "x0" ; then
51840 COND_USE_RTTI_0=""
51841 fi
51842
51843 COND_USE_RTTI_1="#"
51844 if test "x$USE_RTTI" = "x1" ; then
51845 COND_USE_RTTI_1=""
51846 fi
51847
51848 COND_USE_SOTWOSYMLINKS_1="#"
51849 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51850 COND_USE_SOTWOSYMLINKS_1=""
51851 fi
51852
51853 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51854 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51855 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51856 fi
51857
51858 COND_USE_SOVERLINUX_1="#"
51859 if test "x$USE_SOVERLINUX" = "x1" ; then
51860 COND_USE_SOVERLINUX_1=""
51861 fi
51862
51863 COND_USE_SOVERSION_0="#"
51864 if test "x$USE_SOVERSION" = "x0" ; then
51865 COND_USE_SOVERSION_0=""
51866 fi
51867
51868 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51869 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51870 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51871 fi
51872
51873 COND_USE_SOVERSOLARIS_1="#"
51874 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51875 COND_USE_SOVERSOLARIS_1=""
51876 fi
51877
51878 COND_USE_STC_1="#"
51879 if test "x$USE_STC" = "x1" ; then
51880 COND_USE_STC_1=""
51881 fi
51882
51883 COND_USE_THREADS_0="#"
51884 if test "x$USE_THREADS" = "x0" ; then
51885 COND_USE_THREADS_0=""
51886 fi
51887
51888 COND_USE_THREADS_1="#"
51889 if test "x$USE_THREADS" = "x1" ; then
51890 COND_USE_THREADS_1=""
51891 fi
51892
51893 COND_USE_XRC_1="#"
51894 if test "x$USE_XRC" = "x1" ; then
51895 COND_USE_XRC_1=""
51896 fi
51897
51898 COND_WINDOWS_IMPLIB_1="#"
51899 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51900 COND_WINDOWS_IMPLIB_1=""
51901 fi
51902
51903 COND_WITH_PLUGIN_SDL_1="#"
51904 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51905 COND_WITH_PLUGIN_SDL_1=""
51906 fi
51907
51908 COND_WXUNIV_0="#"
51909 if test "x$WXUNIV" = "x0" ; then
51910 COND_WXUNIV_0=""
51911 fi
51912
51913 COND_WXUNIV_1="#"
51914 if test "x$WXUNIV" = "x1" ; then
51915 COND_WXUNIV_1=""
51916 fi
51917
51918 COND_WXUSE_EXPAT_BUILTIN="#"
51919 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51920 COND_WXUSE_EXPAT_BUILTIN=""
51921 fi
51922
51923 COND_WXUSE_LIBJPEG_BUILTIN="#"
51924 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51925 COND_WXUSE_LIBJPEG_BUILTIN=""
51926 fi
51927
51928 COND_WXUSE_LIBPNG_BUILTIN="#"
51929 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51930 COND_WXUSE_LIBPNG_BUILTIN=""
51931 fi
51932
51933 COND_WXUSE_LIBTIFF_BUILTIN="#"
51934 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51935 COND_WXUSE_LIBTIFF_BUILTIN=""
51936 fi
51937
51938 COND_WXUSE_REGEX_BUILTIN="#"
51939 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51940 COND_WXUSE_REGEX_BUILTIN=""
51941 fi
51942
51943 COND_WXUSE_ZLIB_BUILTIN="#"
51944 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51945 COND_WXUSE_ZLIB_BUILTIN=""
51946 fi
51947
51948 COND_wxUSE_EXPAT_builtin="#"
51949 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51950 COND_wxUSE_EXPAT_builtin=""
51951 fi
51952
51953 COND_wxUSE_LIBJPEG_builtin="#"
51954 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51955 COND_wxUSE_LIBJPEG_builtin=""
51956 fi
51957
51958 COND_wxUSE_LIBPNG_builtin="#"
51959 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51960 COND_wxUSE_LIBPNG_builtin=""
51961 fi
51962
51963 COND_wxUSE_LIBTIFF_builtin="#"
51964 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51965 COND_wxUSE_LIBTIFF_builtin=""
51966 fi
51967
51968 COND_wxUSE_REGEX_builtin="#"
51969 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51970 COND_wxUSE_REGEX_builtin=""
51971 fi
51972
51973 COND_wxUSE_ZLIB_builtin="#"
51974 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51975 COND_wxUSE_ZLIB_builtin=""
51976 fi
51977
51978
51979
51980 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51981 { { 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
51982 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;}
51983 { (exit 1); exit 1; }; }
51984 fi
51985
51986 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51987 { { 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
51988 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;}
51989 { (exit 1); exit 1; }; }
51990 fi
51991
51992
51993 case ${INSTALL} in
51994 /* ) # Absolute
51995 ;;
51996 ?:* ) # Drive letter, considered as absolute.
51997 ;;
51998 *)
51999 INSTALL=`pwd`/${INSTALL} ;;
52000 esac
52001
52002 if test "$wxUSE_GUI" = "yes"; then
52003
52004 if test "$wxUSE_MSW" = 1 ; then
52005 if test "x$WINDRES" = "x"; then
52006 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52007 echo "$as_me: error: Required windres program not found" >&2;}
52008 { (exit 1); exit 1; }; }
52009 fi
52010
52011 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52012 fi
52013
52014 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52015 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52016 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52017
52018 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52019
52020 # Extract the first word of "DeRez", so it can be a program name with args.
52021 set dummy DeRez; ac_word=$2
52022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52024 if test "${ac_cv_prog_DEREZ+set}" = set; then
52025 echo $ECHO_N "(cached) $ECHO_C" >&6
52026 else
52027 if test -n "$DEREZ"; then
52028 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52029 else
52030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52031 for as_dir in $PATH
52032 do
52033 IFS=$as_save_IFS
52034 test -z "$as_dir" && as_dir=.
52035 for ac_exec_ext in '' $ac_executable_extensions; do
52036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52037 ac_cv_prog_DEREZ="DeRez"
52038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52039 break 2
52040 fi
52041 done
52042 done
52043 IFS=$as_save_IFS
52044
52045 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52046 fi
52047 fi
52048 DEREZ=$ac_cv_prog_DEREZ
52049 if test -n "$DEREZ"; then
52050 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52051 echo "${ECHO_T}$DEREZ" >&6; }
52052 else
52053 { echo "$as_me:$LINENO: result: no" >&5
52054 echo "${ECHO_T}no" >&6; }
52055 fi
52056
52057
52058
52059 MACSETFILE="\$(SETFILE)"
52060
52061 if test "$wxUSE_OSX_CARBON" = 1; then
52062 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52063 RESCOMP="$REZ"
52064 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52065 else
52066 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52067 RESCOMP="cat /dev/null \| $REZ"
52068 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52069 fi
52070
52071 else
52072 MACSETFILE="@true"
52073
52074 if test "$wxUSE_PM" = 1; then
52075 RESCOMP="emxbind"
52076 WXCONFIG_RESFLAGS="-ep"
52077
52078 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52079 else
52080 POSTLINK_COMMAND="@true"
52081 fi
52082 fi
52083
52084 fi
52085
52086
52087 if test $GCC_PCH = 1
52088 then
52089 if test "$wx_cv_gcc_pch_bug" = yes; then
52090 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52091 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52092 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52093 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52094 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52095 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52096 fi
52097
52098 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52099 # the headers that benefit from precompilation are mostly C++ headers.
52100 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52101 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52102 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52103 fi
52104
52105
52106 if test "$wxUSE_MAC" = 1 ; then
52107 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52108 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52109 mv temp bk-deps
52110 chmod +x bk-deps
52111 fi
52112 fi
52113
52114 if test "$wxUSE_SHARED" = "yes"; then
52115 case "${host}" in
52116 *-pc-os2_emx | *-pc-os2-emx )
52117 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52118 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52119 cp -p ${srcdir}/src/os2/dllnames.sh .
52120 cp -p ${srcdir}/src/os2/dllar.sh .
52121 ;;
52122 esac
52123 fi
52124 if test "$wxUSE_OMF" = "yes"; then
52125 case "${host}" in
52126 *-pc-os2_emx | *-pc-os2-emx )
52127 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52128 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52129 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52130 ;;
52131 esac
52132 fi
52133
52134 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52135
52136
52137 case "${host}" in
52138 *-*-solaris2* )
52139 if test "$GCC" = yes; then
52140 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52141 LIBS=`echo $LIBS | sed 's/-mt//'`
52142 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52143 fi
52144 ;;
52145
52146 *-*-linux* )
52147 if test "x$SUNCXX" = xyes; then
52148 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52149 LIBS=`echo $LIBS | sed 's/-pthread//'`
52150 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52151 fi
52152 ;;
52153 esac
52154
52155 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52156 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52157 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52158 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52159
52160 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52161
52162
52163
52164
52165
52166
52167
52168
52169
52170
52171
52172
52173
52174
52175
52176
52177
52178
52179
52180
52181
52182
52183
52184
52185
52186
52187
52188
52189
52190
52191
52192
52193
52194
52195
52196
52197
52198
52199
52200
52201
52202
52203
52204
52205
52206
52207
52208
52209
52210
52211
52212
52213
52214
52215
52216
52217
52218
52219
52220
52221 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52223 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52224 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52225 echo $ECHO_N "(cached) $ECHO_C" >&6
52226 else
52227 cat >conftest.make <<\_ACEOF
52228 SHELL = /bin/sh
52229 all:
52230 @echo '@@@%%%=$(MAKE)=@@@%%%'
52231 _ACEOF
52232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52234 *@@@%%%=?*=@@@%%%*)
52235 eval ac_cv_prog_make_${ac_make}_set=yes;;
52236 *)
52237 eval ac_cv_prog_make_${ac_make}_set=no;;
52238 esac
52239 rm -f conftest.make
52240 fi
52241 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52242 { echo "$as_me:$LINENO: result: yes" >&5
52243 echo "${ECHO_T}yes" >&6; }
52244 SET_MAKE=
52245 else
52246 { echo "$as_me:$LINENO: result: no" >&5
52247 echo "${ECHO_T}no" >&6; }
52248 SET_MAKE="MAKE=${MAKE-make}"
52249 fi
52250
52251
52252
52253 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52254
52255
52256 if test "$USE_WIN32" = 1; then
52257 ac_config_commands="$ac_config_commands rcdefs.h"
52258
52259 fi
52260
52261 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52262
52263
52264 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52265
52266
52267 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52268
52269
52270 if test "$wx_cv_version_script" = "yes"; then
52271 ac_config_files="$ac_config_files version-script"
52272
52273 fi
52274 ac_config_files="$ac_config_files Makefile"
52275
52276
52277 ac_config_commands="$ac_config_commands wx-config"
52278
52279
52280
52281 if test "$wxWITH_SUBDIRS" != "no"; then
52282 if test "$wxUSE_GUI" = "yes"; then
52283 SUBDIRS="samples demos utils"
52284 else
52285 SUBDIRS="samples utils"
52286 fi
52287
52288
52289
52290 # Check whether --with-cppunit-prefix was given.
52291 if test "${with_cppunit_prefix+set}" = set; then
52292 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52293 else
52294 cppunit_config_prefix=""
52295 fi
52296
52297
52298 # Check whether --with-cppunit-exec-prefix was given.
52299 if test "${with_cppunit_exec_prefix+set}" = set; then
52300 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52301 else
52302 cppunit_config_exec_prefix=""
52303 fi
52304
52305
52306 if test x$cppunit_config_exec_prefix != x ; then
52307 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52308 if test x${CPPUNIT_CONFIG+set} != xset ; then
52309 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52310 fi
52311 fi
52312 if test x$cppunit_config_prefix != x ; then
52313 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52314 if test x${CPPUNIT_CONFIG+set} != xset ; then
52315 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52316 fi
52317 fi
52318
52319 # Extract the first word of "cppunit-config", so it can be a program name with args.
52320 set dummy cppunit-config; ac_word=$2
52321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52323 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52324 echo $ECHO_N "(cached) $ECHO_C" >&6
52325 else
52326 case $CPPUNIT_CONFIG in
52327 [\\/]* | ?:[\\/]*)
52328 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52329 ;;
52330 *)
52331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52332 for as_dir in $PATH
52333 do
52334 IFS=$as_save_IFS
52335 test -z "$as_dir" && as_dir=.
52336 for ac_exec_ext in '' $ac_executable_extensions; do
52337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52338 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52340 break 2
52341 fi
52342 done
52343 done
52344 IFS=$as_save_IFS
52345
52346 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52347 ;;
52348 esac
52349 fi
52350 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52351 if test -n "$CPPUNIT_CONFIG"; then
52352 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52353 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52354 else
52355 { echo "$as_me:$LINENO: result: no" >&5
52356 echo "${ECHO_T}no" >&6; }
52357 fi
52358
52359
52360 cppunit_version_min=1.8.0
52361
52362 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52363 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52364 no_cppunit=""
52365 if test "$CPPUNIT_CONFIG" = "no" ; then
52366 { echo "$as_me:$LINENO: result: no" >&5
52367 echo "${ECHO_T}no" >&6; }
52368 no_cppunit=yes
52369 else
52370 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52371 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52372 cppunit_version=`$CPPUNIT_CONFIG --version`
52373
52374 cppunit_major_version=`echo $cppunit_version | \
52375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52376 cppunit_minor_version=`echo $cppunit_version | \
52377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52378 cppunit_micro_version=`echo $cppunit_version | \
52379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52380
52381 cppunit_major_min=`echo $cppunit_version_min | \
52382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52383 cppunit_minor_min=`echo $cppunit_version_min | \
52384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52385 cppunit_micro_min=`echo $cppunit_version_min | \
52386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52387
52388 cppunit_version_proper=`expr \
52389 $cppunit_major_version \> $cppunit_major_min \| \
52390 $cppunit_major_version \= $cppunit_major_min \& \
52391 $cppunit_minor_version \> $cppunit_minor_min \| \
52392 $cppunit_major_version \= $cppunit_major_min \& \
52393 $cppunit_minor_version \= $cppunit_minor_min \& \
52394 $cppunit_micro_version \>= $cppunit_micro_min `
52395
52396 if test "$cppunit_version_proper" = "1" ; then
52397 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52398 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52399 else
52400 { echo "$as_me:$LINENO: result: no" >&5
52401 echo "${ECHO_T}no" >&6; }
52402 no_cppunit=yes
52403 fi
52404 fi
52405
52406 if test "x$no_cppunit" = x ; then
52407 SUBDIRS="$SUBDIRS tests"
52408 else
52409 CPPUNIT_CFLAGS=""
52410 CPPUNIT_LIBS=""
52411 :
52412 fi
52413
52414
52415
52416
52417
52418 for subdir in $SUBDIRS; do
52419 if test -d ${srcdir}/${subdir} ; then
52420 if test "$wxUSE_GUI" = "yes"; then
52421 if test ${subdir} = "samples"; then
52422 makefiles="samples/Makefile.in $makefiles"
52423 for sample in $SAMPLES_SUBDIRS; do
52424 if test -d $srcdir/samples/$sample; then
52425 makefiles="samples/$sample/Makefile.in $makefiles"
52426 fi
52427 done
52428 else
52429 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52430 eval "disabled=\$$disabled_var"
52431 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52432 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52433 fi
52434 else
52435 if test ${subdir} = "samples"; then
52436 makefiles="samples/Makefile.in $makefiles"
52437 for sample in `echo $SAMPLES_SUBDIRS`; do
52438 if test -d $srcdir/samples/$sample; then
52439 makefiles="samples/$sample/Makefile.in $makefiles"
52440 fi
52441 done
52442 elif test ${subdir} = "utils"; then
52443 makefiles=""
52444 for util in ifacecheck ; do
52445 if test -d $srcdir/utils/$util ; then
52446 makefiles="utils/$util/src/Makefile.in \
52447 $makefiles"
52448 fi
52449 done
52450 else
52451 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52452 fi
52453 fi
52454
52455 for mkin in $makefiles ; do
52456 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52457 ac_config_files="$ac_config_files $mk"
52458
52459 done
52460 fi
52461 done
52462 fi
52463 cat >confcache <<\_ACEOF
52464 # This file is a shell script that caches the results of configure
52465 # tests run on this system so they can be shared between configure
52466 # scripts and configure runs, see configure's option --config-cache.
52467 # It is not useful on other systems. If it contains results you don't
52468 # want to keep, you may remove or edit it.
52469 #
52470 # config.status only pays attention to the cache file if you give it
52471 # the --recheck option to rerun configure.
52472 #
52473 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52474 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52475 # following values.
52476
52477 _ACEOF
52478
52479 # The following way of writing the cache mishandles newlines in values,
52480 # but we know of no workaround that is simple, portable, and efficient.
52481 # So, we kill variables containing newlines.
52482 # Ultrix sh set writes to stderr and can't be redirected directly,
52483 # and sets the high bit in the cache file unless we assign to the vars.
52484 (
52485 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52486 eval ac_val=\$$ac_var
52487 case $ac_val in #(
52488 *${as_nl}*)
52489 case $ac_var in #(
52490 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52491 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52492 esac
52493 case $ac_var in #(
52494 _ | IFS | as_nl) ;; #(
52495 *) $as_unset $ac_var ;;
52496 esac ;;
52497 esac
52498 done
52499
52500 (set) 2>&1 |
52501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52502 *${as_nl}ac_space=\ *)
52503 # `set' does not quote correctly, so add quotes (double-quote
52504 # substitution turns \\\\ into \\, and sed turns \\ into \).
52505 sed -n \
52506 "s/'/'\\\\''/g;
52507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52508 ;; #(
52509 *)
52510 # `set' quotes correctly as required by POSIX, so do not add quotes.
52511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52512 ;;
52513 esac |
52514 sort
52515 ) |
52516 sed '
52517 /^ac_cv_env_/b end
52518 t clear
52519 :clear
52520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52521 t end
52522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52523 :end' >>confcache
52524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52525 if test -w "$cache_file"; then
52526 test "x$cache_file" != "x/dev/null" &&
52527 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52528 echo "$as_me: updating cache $cache_file" >&6;}
52529 cat confcache >$cache_file
52530 else
52531 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52532 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52533 fi
52534 fi
52535 rm -f confcache
52536
52537 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52538 # Let make expand exec_prefix.
52539 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52540
52541 DEFS=-DHAVE_CONFIG_H
52542
52543 ac_libobjs=
52544 ac_ltlibobjs=
52545 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52546 # 1. Remove the extension, and $U if already installed.
52547 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52548 ac_i=`echo "$ac_i" | sed "$ac_script"`
52549 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52550 # will be set to the directory where LIBOBJS objects are built.
52551 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52552 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52553 done
52554 LIBOBJS=$ac_libobjs
52555
52556 LTLIBOBJS=$ac_ltlibobjs
52557
52558
52559
52560 : ${CONFIG_STATUS=./config.status}
52561 ac_clean_files_save=$ac_clean_files
52562 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52563 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52564 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52565 cat >$CONFIG_STATUS <<_ACEOF
52566 #! $SHELL
52567 # Generated by $as_me.
52568 # Run this file to recreate the current configuration.
52569 # Compiler output produced by configure, useful for debugging
52570 # configure, is in config.log if it exists.
52571
52572 debug=false
52573 ac_cs_recheck=false
52574 ac_cs_silent=false
52575 SHELL=\${CONFIG_SHELL-$SHELL}
52576 _ACEOF
52577
52578 cat >>$CONFIG_STATUS <<\_ACEOF
52579 ## --------------------- ##
52580 ## M4sh Initialization. ##
52581 ## --------------------- ##
52582
52583 # Be more Bourne compatible
52584 DUALCASE=1; export DUALCASE # for MKS sh
52585 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52586 emulate sh
52587 NULLCMD=:
52588 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52589 # is contrary to our usage. Disable this feature.
52590 alias -g '${1+"$@"}'='"$@"'
52591 setopt NO_GLOB_SUBST
52592 else
52593 case `(set -o) 2>/dev/null` in
52594 *posix*) set -o posix ;;
52595 esac
52596
52597 fi
52598
52599
52600
52601
52602 # PATH needs CR
52603 # Avoid depending upon Character Ranges.
52604 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52605 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52606 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52607 as_cr_digits='0123456789'
52608 as_cr_alnum=$as_cr_Letters$as_cr_digits
52609
52610 # The user is always right.
52611 if test "${PATH_SEPARATOR+set}" != set; then
52612 echo "#! /bin/sh" >conf$$.sh
52613 echo "exit 0" >>conf$$.sh
52614 chmod +x conf$$.sh
52615 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52616 PATH_SEPARATOR=';'
52617 else
52618 PATH_SEPARATOR=:
52619 fi
52620 rm -f conf$$.sh
52621 fi
52622
52623 # Support unset when possible.
52624 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52625 as_unset=unset
52626 else
52627 as_unset=false
52628 fi
52629
52630
52631 # IFS
52632 # We need space, tab and new line, in precisely that order. Quoting is
52633 # there to prevent editors from complaining about space-tab.
52634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52635 # splitting by setting IFS to empty value.)
52636 as_nl='
52637 '
52638 IFS=" "" $as_nl"
52639
52640 # Find who we are. Look in the path if we contain no directory separator.
52641 case $0 in
52642 *[\\/]* ) as_myself=$0 ;;
52643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52644 for as_dir in $PATH
52645 do
52646 IFS=$as_save_IFS
52647 test -z "$as_dir" && as_dir=.
52648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52649 done
52650 IFS=$as_save_IFS
52651
52652 ;;
52653 esac
52654 # We did not find ourselves, most probably we were run as `sh COMMAND'
52655 # in which case we are not to be found in the path.
52656 if test "x$as_myself" = x; then
52657 as_myself=$0
52658 fi
52659 if test ! -f "$as_myself"; then
52660 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52661 { (exit 1); exit 1; }
52662 fi
52663
52664 # Work around bugs in pre-3.0 UWIN ksh.
52665 for as_var in ENV MAIL MAILPATH
52666 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52667 done
52668 PS1='$ '
52669 PS2='> '
52670 PS4='+ '
52671
52672 # NLS nuisances.
52673 for as_var in \
52674 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52675 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52676 LC_TELEPHONE LC_TIME
52677 do
52678 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52679 eval $as_var=C; export $as_var
52680 else
52681 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52682 fi
52683 done
52684
52685 # Required to use basename.
52686 if expr a : '\(a\)' >/dev/null 2>&1 &&
52687 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52688 as_expr=expr
52689 else
52690 as_expr=false
52691 fi
52692
52693 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52694 as_basename=basename
52695 else
52696 as_basename=false
52697 fi
52698
52699
52700 # Name of the executable.
52701 as_me=`$as_basename -- "$0" ||
52702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52703 X"$0" : 'X\(//\)$' \| \
52704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52705 echo X/"$0" |
52706 sed '/^.*\/\([^/][^/]*\)\/*$/{
52707 s//\1/
52708 q
52709 }
52710 /^X\/\(\/\/\)$/{
52711 s//\1/
52712 q
52713 }
52714 /^X\/\(\/\).*/{
52715 s//\1/
52716 q
52717 }
52718 s/.*/./; q'`
52719
52720 # CDPATH.
52721 $as_unset CDPATH
52722
52723
52724
52725 as_lineno_1=$LINENO
52726 as_lineno_2=$LINENO
52727 test "x$as_lineno_1" != "x$as_lineno_2" &&
52728 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52729
52730 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52731 # uniformly replaced by the line number. The first 'sed' inserts a
52732 # line-number line after each line using $LINENO; the second 'sed'
52733 # does the real work. The second script uses 'N' to pair each
52734 # line-number line with the line containing $LINENO, and appends
52735 # trailing '-' during substitution so that $LINENO is not a special
52736 # case at line end.
52737 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52738 # scripts with optimization help from Paolo Bonzini. Blame Lee
52739 # E. McMahon (1931-1989) for sed's syntax. :-)
52740 sed -n '
52741 p
52742 /[$]LINENO/=
52743 ' <$as_myself |
52744 sed '
52745 s/[$]LINENO.*/&-/
52746 t lineno
52747 b
52748 :lineno
52749 N
52750 :loop
52751 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52752 t loop
52753 s/-\n.*//
52754 ' >$as_me.lineno &&
52755 chmod +x "$as_me.lineno" ||
52756 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52757 { (exit 1); exit 1; }; }
52758
52759 # Don't try to exec as it changes $[0], causing all sort of problems
52760 # (the dirname of $[0] is not the place where we might find the
52761 # original and so on. Autoconf is especially sensitive to this).
52762 . "./$as_me.lineno"
52763 # Exit status is that of the last command.
52764 exit
52765 }
52766
52767
52768 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52769 as_dirname=dirname
52770 else
52771 as_dirname=false
52772 fi
52773
52774 ECHO_C= ECHO_N= ECHO_T=
52775 case `echo -n x` in
52776 -n*)
52777 case `echo 'x\c'` in
52778 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52779 *) ECHO_C='\c';;
52780 esac;;
52781 *)
52782 ECHO_N='-n';;
52783 esac
52784
52785 if expr a : '\(a\)' >/dev/null 2>&1 &&
52786 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52787 as_expr=expr
52788 else
52789 as_expr=false
52790 fi
52791
52792 rm -f conf$$ conf$$.exe conf$$.file
52793 if test -d conf$$.dir; then
52794 rm -f conf$$.dir/conf$$.file
52795 else
52796 rm -f conf$$.dir
52797 mkdir conf$$.dir
52798 fi
52799 echo >conf$$.file
52800 if ln -s conf$$.file conf$$ 2>/dev/null; then
52801 as_ln_s='ln -s'
52802 # ... but there are two gotchas:
52803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52805 # In both cases, we have to default to `cp -p'.
52806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52807 as_ln_s='cp -p'
52808 elif ln conf$$.file conf$$ 2>/dev/null; then
52809 as_ln_s=ln
52810 else
52811 as_ln_s='cp -p'
52812 fi
52813 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52814 rmdir conf$$.dir 2>/dev/null
52815
52816 if mkdir -p . 2>/dev/null; then
52817 as_mkdir_p=:
52818 else
52819 test -d ./-p && rmdir ./-p
52820 as_mkdir_p=false
52821 fi
52822
52823 if test -x / >/dev/null 2>&1; then
52824 as_test_x='test -x'
52825 else
52826 if ls -dL / >/dev/null 2>&1; then
52827 as_ls_L_option=L
52828 else
52829 as_ls_L_option=
52830 fi
52831 as_test_x='
52832 eval sh -c '\''
52833 if test -d "$1"; then
52834 test -d "$1/.";
52835 else
52836 case $1 in
52837 -*)set "./$1";;
52838 esac;
52839 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52840 ???[sx]*):;;*)false;;esac;fi
52841 '\'' sh
52842 '
52843 fi
52844 as_executable_p=$as_test_x
52845
52846 # Sed expression to map a string onto a valid CPP name.
52847 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52848
52849 # Sed expression to map a string onto a valid variable name.
52850 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52851
52852
52853 exec 6>&1
52854
52855 # Save the log message, to keep $[0] and so on meaningful, and to
52856 # report actual input values of CONFIG_FILES etc. instead of their
52857 # values after options handling.
52858 ac_log="
52859 This file was extended by wxWidgets $as_me 2.9.1, which was
52860 generated by GNU Autoconf 2.61. Invocation command line was
52861
52862 CONFIG_FILES = $CONFIG_FILES
52863 CONFIG_HEADERS = $CONFIG_HEADERS
52864 CONFIG_LINKS = $CONFIG_LINKS
52865 CONFIG_COMMANDS = $CONFIG_COMMANDS
52866 $ $0 $@
52867
52868 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52869 "
52870
52871 _ACEOF
52872
52873 cat >>$CONFIG_STATUS <<_ACEOF
52874 # Files that config.status was made for.
52875 config_files="$ac_config_files"
52876 config_headers="$ac_config_headers"
52877 config_commands="$ac_config_commands"
52878
52879 _ACEOF
52880
52881 cat >>$CONFIG_STATUS <<\_ACEOF
52882 ac_cs_usage="\
52883 \`$as_me' instantiates files from templates according to the
52884 current configuration.
52885
52886 Usage: $0 [OPTIONS] [FILE]...
52887
52888 -h, --help print this help, then exit
52889 -V, --version print version number and configuration settings, then exit
52890 -q, --quiet do not print progress messages
52891 -d, --debug don't remove temporary files
52892 --recheck update $as_me by reconfiguring in the same conditions
52893 --file=FILE[:TEMPLATE]
52894 instantiate the configuration file FILE
52895 --header=FILE[:TEMPLATE]
52896 instantiate the configuration header FILE
52897
52898 Configuration files:
52899 $config_files
52900
52901 Configuration headers:
52902 $config_headers
52903
52904 Configuration commands:
52905 $config_commands
52906
52907 Report bugs to <bug-autoconf@gnu.org>."
52908
52909 _ACEOF
52910 cat >>$CONFIG_STATUS <<_ACEOF
52911 ac_cs_version="\\
52912 wxWidgets config.status 2.9.1
52913 configured by $0, generated by GNU Autoconf 2.61,
52914 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52915
52916 Copyright (C) 2006 Free Software Foundation, Inc.
52917 This config.status script is free software; the Free Software Foundation
52918 gives unlimited permission to copy, distribute and modify it."
52919
52920 ac_pwd='$ac_pwd'
52921 srcdir='$srcdir'
52922 INSTALL='$INSTALL'
52923 _ACEOF
52924
52925 cat >>$CONFIG_STATUS <<\_ACEOF
52926 # If no file are specified by the user, then we need to provide default
52927 # value. By we need to know if files were specified by the user.
52928 ac_need_defaults=:
52929 while test $# != 0
52930 do
52931 case $1 in
52932 --*=*)
52933 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52934 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52935 ac_shift=:
52936 ;;
52937 *)
52938 ac_option=$1
52939 ac_optarg=$2
52940 ac_shift=shift
52941 ;;
52942 esac
52943
52944 case $ac_option in
52945 # Handling of the options.
52946 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52947 ac_cs_recheck=: ;;
52948 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52949 echo "$ac_cs_version"; exit ;;
52950 --debug | --debu | --deb | --de | --d | -d )
52951 debug=: ;;
52952 --file | --fil | --fi | --f )
52953 $ac_shift
52954 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52955 ac_need_defaults=false;;
52956 --header | --heade | --head | --hea )
52957 $ac_shift
52958 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52959 ac_need_defaults=false;;
52960 --he | --h)
52961 # Conflict between --help and --header
52962 { echo "$as_me: error: ambiguous option: $1
52963 Try \`$0 --help' for more information." >&2
52964 { (exit 1); exit 1; }; };;
52965 --help | --hel | -h )
52966 echo "$ac_cs_usage"; exit ;;
52967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52968 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52969 ac_cs_silent=: ;;
52970
52971 # This is an error.
52972 -*) { echo "$as_me: error: unrecognized option: $1
52973 Try \`$0 --help' for more information." >&2
52974 { (exit 1); exit 1; }; } ;;
52975
52976 *) ac_config_targets="$ac_config_targets $1"
52977 ac_need_defaults=false ;;
52978
52979 esac
52980 shift
52981 done
52982
52983 ac_configure_extra_args=
52984
52985 if $ac_cs_silent; then
52986 exec 6>/dev/null
52987 ac_configure_extra_args="$ac_configure_extra_args --silent"
52988 fi
52989
52990 _ACEOF
52991 cat >>$CONFIG_STATUS <<_ACEOF
52992 if \$ac_cs_recheck; then
52993 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52994 CONFIG_SHELL=$SHELL
52995 export CONFIG_SHELL
52996 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52997 fi
52998
52999 _ACEOF
53000 cat >>$CONFIG_STATUS <<\_ACEOF
53001 exec 5>>config.log
53002 {
53003 echo
53004 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53005 ## Running $as_me. ##
53006 _ASBOX
53007 echo "$ac_log"
53008 } >&5
53009
53010 _ACEOF
53011 cat >>$CONFIG_STATUS <<_ACEOF
53012 #
53013 # INIT-COMMANDS
53014 #
53015
53016 CPP="$CPP"
53017 infile="$srcdir/include/wx/msw/genrcdefs.h"
53018 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53019
53020
53021 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53022 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53023 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53024 LN_S="${LN_S}"
53025
53026
53027 _ACEOF
53028
53029 cat >>$CONFIG_STATUS <<\_ACEOF
53030
53031 # Handling of arguments.
53032 for ac_config_target in $ac_config_targets
53033 do
53034 case $ac_config_target in
53035 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53036 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53037 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53038 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53039 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53040 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53041 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53042 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53043 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53044
53045 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53046 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53047 { (exit 1); exit 1; }; };;
53048 esac
53049 done
53050
53051
53052 # If the user did not use the arguments to specify the items to instantiate,
53053 # then the envvar interface is used. Set only those that are not.
53054 # We use the long form for the default assignment because of an extremely
53055 # bizarre bug on SunOS 4.1.3.
53056 if $ac_need_defaults; then
53057 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53058 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53059 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53060 fi
53061
53062 # Have a temporary directory for convenience. Make it in the build tree
53063 # simply because there is no reason against having it here, and in addition,
53064 # creating and moving files from /tmp can sometimes cause problems.
53065 # Hook for its removal unless debugging.
53066 # Note that there is a small window in which the directory will not be cleaned:
53067 # after its creation but before its name has been assigned to `$tmp'.
53068 $debug ||
53069 {
53070 tmp=
53071 trap 'exit_status=$?
53072 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53073 ' 0
53074 trap '{ (exit 1); exit 1; }' 1 2 13 15
53075 }
53076 # Create a (secure) tmp directory for tmp files.
53077
53078 {
53079 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53080 test -n "$tmp" && test -d "$tmp"
53081 } ||
53082 {
53083 tmp=./conf$$-$RANDOM
53084 (umask 077 && mkdir "$tmp")
53085 } ||
53086 {
53087 echo "$me: cannot create a temporary directory in ." >&2
53088 { (exit 1); exit 1; }
53089 }
53090
53091 #
53092 # Set up the sed scripts for CONFIG_FILES section.
53093 #
53094
53095 # No need to generate the scripts if there are no CONFIG_FILES.
53096 # This happens for instance when ./config.status config.h
53097 if test -n "$CONFIG_FILES"; then
53098
53099 _ACEOF
53100
53101
53102
53103 ac_delim='%!_!# '
53104 for ac_last_try in false false false false false :; do
53105 cat >conf$$subs.sed <<_ACEOF
53106 SHELL!$SHELL$ac_delim
53107 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53108 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53109 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53110 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53111 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53112 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53113 exec_prefix!$exec_prefix$ac_delim
53114 prefix!$prefix$ac_delim
53115 program_transform_name!$program_transform_name$ac_delim
53116 bindir!$bindir$ac_delim
53117 sbindir!$sbindir$ac_delim
53118 libexecdir!$libexecdir$ac_delim
53119 datarootdir!$datarootdir$ac_delim
53120 datadir!$datadir$ac_delim
53121 sysconfdir!$sysconfdir$ac_delim
53122 sharedstatedir!$sharedstatedir$ac_delim
53123 localstatedir!$localstatedir$ac_delim
53124 includedir!$includedir$ac_delim
53125 oldincludedir!$oldincludedir$ac_delim
53126 docdir!$docdir$ac_delim
53127 infodir!$infodir$ac_delim
53128 htmldir!$htmldir$ac_delim
53129 dvidir!$dvidir$ac_delim
53130 pdfdir!$pdfdir$ac_delim
53131 psdir!$psdir$ac_delim
53132 libdir!$libdir$ac_delim
53133 localedir!$localedir$ac_delim
53134 mandir!$mandir$ac_delim
53135 DEFS!$DEFS$ac_delim
53136 ECHO_C!$ECHO_C$ac_delim
53137 ECHO_N!$ECHO_N$ac_delim
53138 ECHO_T!$ECHO_T$ac_delim
53139 LIBS!$LIBS$ac_delim
53140 build_alias!$build_alias$ac_delim
53141 host_alias!$host_alias$ac_delim
53142 target_alias!$target_alias$ac_delim
53143 build!$build$ac_delim
53144 build_cpu!$build_cpu$ac_delim
53145 build_vendor!$build_vendor$ac_delim
53146 build_os!$build_os$ac_delim
53147 host!$host$ac_delim
53148 host_cpu!$host_cpu$ac_delim
53149 host_vendor!$host_vendor$ac_delim
53150 host_os!$host_os$ac_delim
53151 wx_top_builddir!$wx_top_builddir$ac_delim
53152 CC!$CC$ac_delim
53153 CFLAGS!$CFLAGS$ac_delim
53154 LDFLAGS!$LDFLAGS$ac_delim
53155 CPPFLAGS!$CPPFLAGS$ac_delim
53156 ac_ct_CC!$ac_ct_CC$ac_delim
53157 EXEEXT!$EXEEXT$ac_delim
53158 OBJEXT!$OBJEXT$ac_delim
53159 CPP!$CPP$ac_delim
53160 GREP!$GREP$ac_delim
53161 EGREP!$EGREP$ac_delim
53162 CXX!$CXX$ac_delim
53163 CXXFLAGS!$CXXFLAGS$ac_delim
53164 ac_ct_CXX!$ac_ct_CXX$ac_delim
53165 AR!$AR$ac_delim
53166 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53167 CXXCPP!$CXXCPP$ac_delim
53168 subdirs!$subdirs$ac_delim
53169 PKG_CONFIG!$PKG_CONFIG$ac_delim
53170 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53171 GTK_LIBS!$GTK_LIBS$ac_delim
53172 GTK_CONFIG!$GTK_CONFIG$ac_delim
53173 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53174 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53175 XMKMF!$XMKMF$ac_delim
53176 X_CFLAGS!$X_CFLAGS$ac_delim
53177 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53178 X_LIBS!$X_LIBS$ac_delim
53179 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53180 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53181 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53182 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53183 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53184 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53185 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53186 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53187 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53188 LIBICONV!$LIBICONV$ac_delim
53189 GXX_VERSION!$GXX_VERSION$ac_delim
53190 SDL_CONFIG!$SDL_CONFIG$ac_delim
53191 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53192 SDL_LIBS!$SDL_LIBS$ac_delim
53193 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53194 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53195 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53196 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53197 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53198 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53199 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53200 HILDON_LIBS!$HILDON_LIBS$ac_delim
53201 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53202 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53203 _ACEOF
53204
53205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53206 break
53207 elif $ac_last_try; then
53208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53210 { (exit 1); exit 1; }; }
53211 else
53212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53213 fi
53214 done
53215
53216 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53217 if test -n "$ac_eof"; then
53218 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53219 ac_eof=`expr $ac_eof + 1`
53220 fi
53221
53222 cat >>$CONFIG_STATUS <<_ACEOF
53223 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53225 _ACEOF
53226 sed '
53227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53228 s/^/s,@/; s/!/@,|#_!!_#|/
53229 :n
53230 t n
53231 s/'"$ac_delim"'$/,g/; t
53232 s/$/\\/; p
53233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53234 ' >>$CONFIG_STATUS <conf$$subs.sed
53235 rm -f conf$$subs.sed
53236 cat >>$CONFIG_STATUS <<_ACEOF
53237 CEOF$ac_eof
53238 _ACEOF
53239
53240
53241 ac_delim='%!_!# '
53242 for ac_last_try in false false false false false :; do
53243 cat >conf$$subs.sed <<_ACEOF
53244 PYTHON!$PYTHON$ac_delim
53245 COND_PYTHON!$COND_PYTHON$ac_delim
53246 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53247 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53248 GST_CFLAGS!$GST_CFLAGS$ac_delim
53249 GST_LIBS!$GST_LIBS$ac_delim
53250 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53251 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53252 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53253 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53254 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53255 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53256 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53257 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53258 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53259 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53260 VENDOR!$VENDOR$ac_delim
53261 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53262 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53263 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53264 WXUNIV!$WXUNIV$ac_delim
53265 MONOLITHIC!$MONOLITHIC$ac_delim
53266 USE_PLUGINS!$USE_PLUGINS$ac_delim
53267 CXXWARNINGS!$CXXWARNINGS$ac_delim
53268 EXTRALIBS!$EXTRALIBS$ac_delim
53269 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53270 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53271 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53272 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53273 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53274 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53275 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53276 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53277 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53278 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53279 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53280 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53281 UNICODE!$UNICODE$ac_delim
53282 DEBUG_INFO!$DEBUG_INFO$ac_delim
53283 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53284 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53285 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53286 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53287 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53288 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53289 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53290 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53291 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53292 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53293 RANLIB!$RANLIB$ac_delim
53294 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53295 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53296 INSTALL_DATA!$INSTALL_DATA$ac_delim
53297 LN_S!$LN_S$ac_delim
53298 SET_MAKE!$SET_MAKE$ac_delim
53299 MAKE_SET!$MAKE_SET$ac_delim
53300 AROPTIONS!$AROPTIONS$ac_delim
53301 STRIP!$STRIP$ac_delim
53302 NM!$NM$ac_delim
53303 INSTALL_DIR!$INSTALL_DIR$ac_delim
53304 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53305 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53306 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53307 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53308 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53309 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53310 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53311 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53312 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53313 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53314 SO_SUFFIX!$SO_SUFFIX$ac_delim
53315 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53316 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53317 LIBPREFIX!$LIBPREFIX$ac_delim
53318 LIBEXT!$LIBEXT$ac_delim
53319 DLLPREFIX!$DLLPREFIX$ac_delim
53320 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53321 dlldir!$dlldir$ac_delim
53322 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53323 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53324 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53325 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53326 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53327 PIC_FLAG!$PIC_FLAG$ac_delim
53328 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53329 USE_SOVERSION!$USE_SOVERSION$ac_delim
53330 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53331 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53332 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53333 USE_MACVERSION!$USE_MACVERSION$ac_delim
53334 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53335 SONAME_FLAG!$SONAME_FLAG$ac_delim
53336 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53337 BK_DEPS!$BK_DEPS$ac_delim
53338 WINDRES!$WINDRES$ac_delim
53339 REZ!$REZ$ac_delim
53340 SETFILE!$SETFILE$ac_delim
53341 _ACEOF
53342
53343 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53344 break
53345 elif $ac_last_try; then
53346 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53347 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53348 { (exit 1); exit 1; }; }
53349 else
53350 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53351 fi
53352 done
53353
53354 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53355 if test -n "$ac_eof"; then
53356 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53357 ac_eof=`expr $ac_eof + 1`
53358 fi
53359
53360 cat >>$CONFIG_STATUS <<_ACEOF
53361 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53363 _ACEOF
53364 sed '
53365 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53366 s/^/s,@/; s/!/@,|#_!!_#|/
53367 :n
53368 t n
53369 s/'"$ac_delim"'$/,g/; t
53370 s/$/\\/; p
53371 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53372 ' >>$CONFIG_STATUS <conf$$subs.sed
53373 rm -f conf$$subs.sed
53374 cat >>$CONFIG_STATUS <<_ACEOF
53375 CEOF$ac_eof
53376 _ACEOF
53377
53378
53379 ac_delim='%!_!# '
53380 for ac_last_try in false false false false false :; do
53381 cat >conf$$subs.sed <<_ACEOF
53382 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53383 GCC_PCH!$GCC_PCH$ac_delim
53384 ICC_PCH!$ICC_PCH$ac_delim
53385 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53386 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53387 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53388 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53389 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53390 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53391 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53392 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53393 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53394 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53395 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53396 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53397 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53398 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53399 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53400 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53401 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53402 COND_BUILD_release!$COND_BUILD_release$ac_delim
53403 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53404 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53405 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53406 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53407 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53408 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53409 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53410 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53411 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53412 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53413 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53414 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53415 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53416 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53417 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53419 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53420 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53421 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53422 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53423 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53424 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53425 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53426 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53427 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53428 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53430 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53431 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53432 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53433 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53434 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53435 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53436 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53437 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53438 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53439 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53440 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53441 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53442 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53443 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53444 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53445 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53446 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53447 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53448 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53449 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53450 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53451 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53452 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53453 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53454 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53455 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53456 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53457 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53458 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53459 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
53460 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53461 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53462 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53463 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53464 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53465 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53466 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53467 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53468 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53469 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53470 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53471 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53472 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53473 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53474 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53475 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53476 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53477 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53478 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53479 _ACEOF
53480
53481 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53482 break
53483 elif $ac_last_try; then
53484 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53485 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53486 { (exit 1); exit 1; }; }
53487 else
53488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53489 fi
53490 done
53491
53492 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53493 if test -n "$ac_eof"; then
53494 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53495 ac_eof=`expr $ac_eof + 1`
53496 fi
53497
53498 cat >>$CONFIG_STATUS <<_ACEOF
53499 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53501 _ACEOF
53502 sed '
53503 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53504 s/^/s,@/; s/!/@,|#_!!_#|/
53505 :n
53506 t n
53507 s/'"$ac_delim"'$/,g/; t
53508 s/$/\\/; p
53509 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53510 ' >>$CONFIG_STATUS <conf$$subs.sed
53511 rm -f conf$$subs.sed
53512 cat >>$CONFIG_STATUS <<_ACEOF
53513 CEOF$ac_eof
53514 _ACEOF
53515
53516
53517 ac_delim='%!_!# '
53518 for ac_last_try in false false false false false :; do
53519 cat >conf$$subs.sed <<_ACEOF
53520 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53521 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53522 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53523 COND_SHARED_0!$COND_SHARED_0$ac_delim
53524 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53525 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53526 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53527 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53528 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53529 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53530 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53531 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53532 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53533 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53534 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53535 COND_SHARED_1!$COND_SHARED_1$ac_delim
53536 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53537 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53538 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53539 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53540 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53541 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53542 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53543 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53544 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53545 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53546 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53547 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53548 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53549 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53550 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53551 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53552 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53553 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53554 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53555 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53556 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53557 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53558 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53559 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53560 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53561 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53562 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53563 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53564 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53565 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53566 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53567 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53568 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53569 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53570 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53571 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53572 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53573 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53574 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53575 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53576 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53577 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53578 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53579 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53580 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53581 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53582 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53583 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53584 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53585 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53587 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53588 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53589 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53590 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53591 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53592 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53593 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53594 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53595 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53596 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53597 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53598 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53599 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53600 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53601 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53602 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53603 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53604 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53605 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53606 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53607 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53608 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53609 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53610 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53611 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53612 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53613 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53614 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53615 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53616 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53617 _ACEOF
53618
53619 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53620 break
53621 elif $ac_last_try; then
53622 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53623 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53624 { (exit 1); exit 1; }; }
53625 else
53626 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53627 fi
53628 done
53629
53630 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53631 if test -n "$ac_eof"; then
53632 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53633 ac_eof=`expr $ac_eof + 1`
53634 fi
53635
53636 cat >>$CONFIG_STATUS <<_ACEOF
53637 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53638 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53639 _ACEOF
53640 sed '
53641 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53642 s/^/s,@/; s/!/@,|#_!!_#|/
53643 :n
53644 t n
53645 s/'"$ac_delim"'$/,g/; t
53646 s/$/\\/; p
53647 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53648 ' >>$CONFIG_STATUS <conf$$subs.sed
53649 rm -f conf$$subs.sed
53650 cat >>$CONFIG_STATUS <<_ACEOF
53651 CEOF$ac_eof
53652 _ACEOF
53653
53654
53655 ac_delim='%!_!# '
53656 for ac_last_try in false false false false false :; do
53657 cat >conf$$subs.sed <<_ACEOF
53658 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53659 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53660 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53661 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53662 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53663 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53664 DEREZ!$DEREZ$ac_delim
53665 SHARED!$SHARED$ac_delim
53666 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53667 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53668 USE_GUI!$USE_GUI$ac_delim
53669 AFMINSTALL!$AFMINSTALL$ac_delim
53670 WIN32INSTALL!$WIN32INSTALL$ac_delim
53671 TOOLKIT!$TOOLKIT$ac_delim
53672 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53673 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53674 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53675 cross_compiling!$cross_compiling$ac_delim
53676 WIDGET_SET!$WIDGET_SET$ac_delim
53677 WX_RELEASE!$WX_RELEASE$ac_delim
53678 WX_VERSION!$WX_VERSION$ac_delim
53679 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53680 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53681 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53682 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53683 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53684 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53685 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53686 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53687 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53688 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53689 GUIDIST!$GUIDIST$ac_delim
53690 DISTDIR!$DISTDIR$ac_delim
53691 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53692 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53693 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53694 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53695 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53696 RESCOMP!$RESCOMP$ac_delim
53697 RESFLAGS!$RESFLAGS$ac_delim
53698 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53699 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53700 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53701 LIBWXMACRES!$LIBWXMACRES$ac_delim
53702 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53703 MACSETFILE!$MACSETFILE$ac_delim
53704 GCC!$GCC$ac_delim
53705 DLLTOOL!$DLLTOOL$ac_delim
53706 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53707 LIBOBJS!$LIBOBJS$ac_delim
53708 LTLIBOBJS!$LTLIBOBJS$ac_delim
53709 _ACEOF
53710
53711 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53712 break
53713 elif $ac_last_try; then
53714 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53715 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53716 { (exit 1); exit 1; }; }
53717 else
53718 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53719 fi
53720 done
53721
53722 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53723 if test -n "$ac_eof"; then
53724 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53725 ac_eof=`expr $ac_eof + 1`
53726 fi
53727
53728 cat >>$CONFIG_STATUS <<_ACEOF
53729 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53731 _ACEOF
53732 sed '
53733 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53734 s/^/s,@/; s/!/@,|#_!!_#|/
53735 :n
53736 t n
53737 s/'"$ac_delim"'$/,g/; t
53738 s/$/\\/; p
53739 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53740 ' >>$CONFIG_STATUS <conf$$subs.sed
53741 rm -f conf$$subs.sed
53742 cat >>$CONFIG_STATUS <<_ACEOF
53743 :end
53744 s/|#_!!_#|//g
53745 CEOF$ac_eof
53746 _ACEOF
53747
53748
53749 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53750 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53751 # trailing colons and then remove the whole line if VPATH becomes empty
53752 # (actually we leave an empty line to preserve line numbers).
53753 if test "x$srcdir" = x.; then
53754 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53755 s/:*\$(srcdir):*/:/
53756 s/:*\${srcdir}:*/:/
53757 s/:*@srcdir@:*/:/
53758 s/^\([^=]*=[ ]*\):*/\1/
53759 s/:*$//
53760 s/^[^=]*=[ ]*$//
53761 }'
53762 fi
53763
53764 cat >>$CONFIG_STATUS <<\_ACEOF
53765 fi # test -n "$CONFIG_FILES"
53766
53767
53768 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53769 do
53770 case $ac_tag in
53771 :[FHLC]) ac_mode=$ac_tag; continue;;
53772 esac
53773 case $ac_mode$ac_tag in
53774 :[FHL]*:*);;
53775 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53776 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53777 { (exit 1); exit 1; }; };;
53778 :[FH]-) ac_tag=-:-;;
53779 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53780 esac
53781 ac_save_IFS=$IFS
53782 IFS=:
53783 set x $ac_tag
53784 IFS=$ac_save_IFS
53785 shift
53786 ac_file=$1
53787 shift
53788
53789 case $ac_mode in
53790 :L) ac_source=$1;;
53791 :[FH])
53792 ac_file_inputs=
53793 for ac_f
53794 do
53795 case $ac_f in
53796 -) ac_f="$tmp/stdin";;
53797 *) # Look for the file first in the build tree, then in the source tree
53798 # (if the path is not absolute). The absolute path cannot be DOS-style,
53799 # because $ac_f cannot contain `:'.
53800 test -f "$ac_f" ||
53801 case $ac_f in
53802 [\\/$]*) false;;
53803 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53804 esac ||
53805 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53806 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53807 { (exit 1); exit 1; }; };;
53808 esac
53809 ac_file_inputs="$ac_file_inputs $ac_f"
53810 done
53811
53812 # Let's still pretend it is `configure' which instantiates (i.e., don't
53813 # use $as_me), people would be surprised to read:
53814 # /* config.h. Generated by config.status. */
53815 configure_input="Generated from "`IFS=:
53816 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53817 if test x"$ac_file" != x-; then
53818 configure_input="$ac_file. $configure_input"
53819 { echo "$as_me:$LINENO: creating $ac_file" >&5
53820 echo "$as_me: creating $ac_file" >&6;}
53821 fi
53822
53823 case $ac_tag in
53824 *:-:* | *:-) cat >"$tmp/stdin";;
53825 esac
53826 ;;
53827 esac
53828
53829 ac_dir=`$as_dirname -- "$ac_file" ||
53830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53831 X"$ac_file" : 'X\(//\)[^/]' \| \
53832 X"$ac_file" : 'X\(//\)$' \| \
53833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53834 echo X"$ac_file" |
53835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53836 s//\1/
53837 q
53838 }
53839 /^X\(\/\/\)[^/].*/{
53840 s//\1/
53841 q
53842 }
53843 /^X\(\/\/\)$/{
53844 s//\1/
53845 q
53846 }
53847 /^X\(\/\).*/{
53848 s//\1/
53849 q
53850 }
53851 s/.*/./; q'`
53852 { as_dir="$ac_dir"
53853 case $as_dir in #(
53854 -*) as_dir=./$as_dir;;
53855 esac
53856 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53857 as_dirs=
53858 while :; do
53859 case $as_dir in #(
53860 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53861 *) as_qdir=$as_dir;;
53862 esac
53863 as_dirs="'$as_qdir' $as_dirs"
53864 as_dir=`$as_dirname -- "$as_dir" ||
53865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53866 X"$as_dir" : 'X\(//\)[^/]' \| \
53867 X"$as_dir" : 'X\(//\)$' \| \
53868 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53869 echo X"$as_dir" |
53870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53871 s//\1/
53872 q
53873 }
53874 /^X\(\/\/\)[^/].*/{
53875 s//\1/
53876 q
53877 }
53878 /^X\(\/\/\)$/{
53879 s//\1/
53880 q
53881 }
53882 /^X\(\/\).*/{
53883 s//\1/
53884 q
53885 }
53886 s/.*/./; q'`
53887 test -d "$as_dir" && break
53888 done
53889 test -z "$as_dirs" || eval "mkdir $as_dirs"
53890 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53891 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53892 { (exit 1); exit 1; }; }; }
53893 ac_builddir=.
53894
53895 case "$ac_dir" in
53896 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53897 *)
53898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53899 # A ".." for each directory in $ac_dir_suffix.
53900 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53901 case $ac_top_builddir_sub in
53902 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53903 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53904 esac ;;
53905 esac
53906 ac_abs_top_builddir=$ac_pwd
53907 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53908 # for backward compatibility:
53909 ac_top_builddir=$ac_top_build_prefix
53910
53911 case $srcdir in
53912 .) # We are building in place.
53913 ac_srcdir=.
53914 ac_top_srcdir=$ac_top_builddir_sub
53915 ac_abs_top_srcdir=$ac_pwd ;;
53916 [\\/]* | ?:[\\/]* ) # Absolute name.
53917 ac_srcdir=$srcdir$ac_dir_suffix;
53918 ac_top_srcdir=$srcdir
53919 ac_abs_top_srcdir=$srcdir ;;
53920 *) # Relative name.
53921 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53922 ac_top_srcdir=$ac_top_build_prefix$srcdir
53923 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53924 esac
53925 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53926
53927
53928 case $ac_mode in
53929 :F)
53930 #
53931 # CONFIG_FILE
53932 #
53933
53934 case $INSTALL in
53935 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53936 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53937 esac
53938 _ACEOF
53939
53940 cat >>$CONFIG_STATUS <<\_ACEOF
53941 # If the template does not know about datarootdir, expand it.
53942 # FIXME: This hack should be removed a few years after 2.60.
53943 ac_datarootdir_hack=; ac_datarootdir_seen=
53944
53945 case `sed -n '/datarootdir/ {
53946 p
53947 q
53948 }
53949 /@datadir@/p
53950 /@docdir@/p
53951 /@infodir@/p
53952 /@localedir@/p
53953 /@mandir@/p
53954 ' $ac_file_inputs` in
53955 *datarootdir*) ac_datarootdir_seen=yes;;
53956 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53957 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53958 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53959 _ACEOF
53960 cat >>$CONFIG_STATUS <<_ACEOF
53961 ac_datarootdir_hack='
53962 s&@datadir@&$datadir&g
53963 s&@docdir@&$docdir&g
53964 s&@infodir@&$infodir&g
53965 s&@localedir@&$localedir&g
53966 s&@mandir@&$mandir&g
53967 s&\\\${datarootdir}&$datarootdir&g' ;;
53968 esac
53969 _ACEOF
53970
53971 # Neutralize VPATH when `$srcdir' = `.'.
53972 # Shell code in configure.ac might set extrasub.
53973 # FIXME: do we really want to maintain this feature?
53974 cat >>$CONFIG_STATUS <<_ACEOF
53975 sed "$ac_vpsub
53976 $extrasub
53977 _ACEOF
53978 cat >>$CONFIG_STATUS <<\_ACEOF
53979 :t
53980 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53981 s&@configure_input@&$configure_input&;t t
53982 s&@top_builddir@&$ac_top_builddir_sub&;t t
53983 s&@srcdir@&$ac_srcdir&;t t
53984 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53985 s&@top_srcdir@&$ac_top_srcdir&;t t
53986 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53987 s&@builddir@&$ac_builddir&;t t
53988 s&@abs_builddir@&$ac_abs_builddir&;t t
53989 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53990 s&@INSTALL@&$ac_INSTALL&;t t
53991 $ac_datarootdir_hack
53992 " $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
53993
53994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53995 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53996 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53997 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53998 which seems to be undefined. Please make sure it is defined." >&5
53999 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54000 which seems to be undefined. Please make sure it is defined." >&2;}
54001
54002 rm -f "$tmp/stdin"
54003 case $ac_file in
54004 -) cat "$tmp/out"; rm -f "$tmp/out";;
54005 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54006 esac
54007 ;;
54008 :H)
54009 #
54010 # CONFIG_HEADER
54011 #
54012 _ACEOF
54013
54014 # Transform confdefs.h into a sed script `conftest.defines', that
54015 # substitutes the proper values into config.h.in to produce config.h.
54016 rm -f conftest.defines conftest.tail
54017 # First, append a space to every undef/define line, to ease matching.
54018 echo 's/$/ /' >conftest.defines
54019 # Then, protect against being on the right side of a sed subst, or in
54020 # an unquoted here document, in config.status. If some macros were
54021 # called several times there might be several #defines for the same
54022 # symbol, which is useless. But do not sort them, since the last
54023 # AC_DEFINE must be honored.
54024 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54025 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54026 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54027 # PARAMS is the parameter list in the macro definition--in most cases, it's
54028 # just an empty string.
54029 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54030 ac_dB='\\)[ (].*,\\1define\\2'
54031 ac_dC=' '
54032 ac_dD=' ,'
54033
54034 uniq confdefs.h |
54035 sed -n '
54036 t rset
54037 :rset
54038 s/^[ ]*#[ ]*define[ ][ ]*//
54039 t ok
54040 d
54041 :ok
54042 s/[\\&,]/\\&/g
54043 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54044 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54045 ' >>conftest.defines
54046
54047 # Remove the space that was appended to ease matching.
54048 # Then replace #undef with comments. This is necessary, for
54049 # example, in the case of _POSIX_SOURCE, which is predefined and required
54050 # on some systems where configure will not decide to define it.
54051 # (The regexp can be short, since the line contains either #define or #undef.)
54052 echo 's/ $//
54053 s,^[ #]*u.*,/* & */,' >>conftest.defines
54054
54055 # Break up conftest.defines:
54056 ac_max_sed_lines=50
54057
54058 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54059 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54060 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54061 # et cetera.
54062 ac_in='$ac_file_inputs'
54063 ac_out='"$tmp/out1"'
54064 ac_nxt='"$tmp/out2"'
54065
54066 while :
54067 do
54068 # Write a here document:
54069 cat >>$CONFIG_STATUS <<_ACEOF
54070 # First, check the format of the line:
54071 cat >"\$tmp/defines.sed" <<\\CEOF
54072 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54073 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54074 b
54075 :def
54076 _ACEOF
54077 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54078 echo 'CEOF
54079 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54080 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54081 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54082 grep . conftest.tail >/dev/null || break
54083 rm -f conftest.defines
54084 mv conftest.tail conftest.defines
54085 done
54086 rm -f conftest.defines conftest.tail
54087
54088 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54089 cat >>$CONFIG_STATUS <<\_ACEOF
54090 if test x"$ac_file" != x-; then
54091 echo "/* $configure_input */" >"$tmp/config.h"
54092 cat "$ac_result" >>"$tmp/config.h"
54093 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54094 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54095 echo "$as_me: $ac_file is unchanged" >&6;}
54096 else
54097 rm -f $ac_file
54098 mv "$tmp/config.h" $ac_file
54099 fi
54100 else
54101 echo "/* $configure_input */"
54102 cat "$ac_result"
54103 fi
54104 rm -f "$tmp/out12"
54105 ;;
54106
54107 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54108 echo "$as_me: executing $ac_file commands" >&6;}
54109 ;;
54110 esac
54111
54112
54113 case $ac_file$ac_mode in
54114 "rcdefs.h":C)
54115 mkdir -p $outdir &&
54116 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54117 ;;
54118 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54119 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54120 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54121 "wx-config":C) rm -f wx-config
54122 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54123 ;;
54124
54125 esac
54126 done # for ac_tag
54127
54128
54129 { (exit 0); exit 0; }
54130 _ACEOF
54131 chmod +x $CONFIG_STATUS
54132 ac_clean_files=$ac_clean_files_save
54133
54134
54135 # configure is writing to config.log, and then calls config.status.
54136 # config.status does its own redirection, appending to config.log.
54137 # Unfortunately, on DOS this fails, as config.log is still kept open
54138 # by configure, so config.status won't be able to write to it; its
54139 # output is simply discarded. So we exec the FD to /dev/null,
54140 # effectively closing config.log, so it can be properly (re)opened and
54141 # appended to by config.status. When coming back to configure, we
54142 # need to make the FD available again.
54143 if test "$no_create" != yes; then
54144 ac_cs_success=:
54145 ac_config_status_args=
54146 test "$silent" = yes &&
54147 ac_config_status_args="$ac_config_status_args --quiet"
54148 exec 5>/dev/null
54149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54150 exec 5>>config.log
54151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54152 # would make configure fail if this is the last instruction.
54153 $ac_cs_success || { (exit 1); exit 1; }
54154 fi
54155
54156 #
54157 # CONFIG_SUBDIRS section.
54158 #
54159 if test "$no_recursion" != yes; then
54160
54161 # Remove --cache-file and --srcdir arguments so they do not pile up.
54162 ac_sub_configure_args=
54163 ac_prev=
54164 eval "set x $ac_configure_args"
54165 shift
54166 for ac_arg
54167 do
54168 if test -n "$ac_prev"; then
54169 ac_prev=
54170 continue
54171 fi
54172 case $ac_arg in
54173 -cache-file | --cache-file | --cache-fil | --cache-fi \
54174 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54175 ac_prev=cache_file ;;
54176 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54177 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54178 | --c=*)
54179 ;;
54180 --config-cache | -C)
54181 ;;
54182 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54183 ac_prev=srcdir ;;
54184 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54185 ;;
54186 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54187 ac_prev=prefix ;;
54188 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54189 ;;
54190 *)
54191 case $ac_arg in
54192 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54193 esac
54194 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54195 esac
54196 done
54197
54198 # Always prepend --prefix to ensure using the same prefix
54199 # in subdir configurations.
54200 ac_arg="--prefix=$prefix"
54201 case $ac_arg in
54202 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54203 esac
54204 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54205
54206 # Pass --silent
54207 if test "$silent" = yes; then
54208 ac_sub_configure_args="--silent $ac_sub_configure_args"
54209 fi
54210
54211 ac_popdir=`pwd`
54212 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54213
54214 # Do not complain, so a configure script can configure whichever
54215 # parts of a large source tree are present.
54216 test -d "$srcdir/$ac_dir" || continue
54217
54218 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54219 echo "$as_me:$LINENO: $ac_msg" >&5
54220 echo "$ac_msg" >&6
54221 { as_dir="$ac_dir"
54222 case $as_dir in #(
54223 -*) as_dir=./$as_dir;;
54224 esac
54225 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54226 as_dirs=
54227 while :; do
54228 case $as_dir in #(
54229 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54230 *) as_qdir=$as_dir;;
54231 esac
54232 as_dirs="'$as_qdir' $as_dirs"
54233 as_dir=`$as_dirname -- "$as_dir" ||
54234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54235 X"$as_dir" : 'X\(//\)[^/]' \| \
54236 X"$as_dir" : 'X\(//\)$' \| \
54237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54238 echo X"$as_dir" |
54239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54240 s//\1/
54241 q
54242 }
54243 /^X\(\/\/\)[^/].*/{
54244 s//\1/
54245 q
54246 }
54247 /^X\(\/\/\)$/{
54248 s//\1/
54249 q
54250 }
54251 /^X\(\/\).*/{
54252 s//\1/
54253 q
54254 }
54255 s/.*/./; q'`
54256 test -d "$as_dir" && break
54257 done
54258 test -z "$as_dirs" || eval "mkdir $as_dirs"
54259 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54260 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54261 { (exit 1); exit 1; }; }; }
54262 ac_builddir=.
54263
54264 case "$ac_dir" in
54265 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54266 *)
54267 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54268 # A ".." for each directory in $ac_dir_suffix.
54269 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54270 case $ac_top_builddir_sub in
54271 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54272 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54273 esac ;;
54274 esac
54275 ac_abs_top_builddir=$ac_pwd
54276 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54277 # for backward compatibility:
54278 ac_top_builddir=$ac_top_build_prefix
54279
54280 case $srcdir in
54281 .) # We are building in place.
54282 ac_srcdir=.
54283 ac_top_srcdir=$ac_top_builddir_sub
54284 ac_abs_top_srcdir=$ac_pwd ;;
54285 [\\/]* | ?:[\\/]* ) # Absolute name.
54286 ac_srcdir=$srcdir$ac_dir_suffix;
54287 ac_top_srcdir=$srcdir
54288 ac_abs_top_srcdir=$srcdir ;;
54289 *) # Relative name.
54290 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54291 ac_top_srcdir=$ac_top_build_prefix$srcdir
54292 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54293 esac
54294 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54295
54296
54297 cd "$ac_dir"
54298
54299 # Check for guested configure; otherwise get Cygnus style configure.
54300 if test -f "$ac_srcdir/configure.gnu"; then
54301 ac_sub_configure=$ac_srcdir/configure.gnu
54302 elif test -f "$ac_srcdir/configure"; then
54303 ac_sub_configure=$ac_srcdir/configure
54304 elif test -f "$ac_srcdir/configure.in"; then
54305 # This should be Cygnus configure.
54306 ac_sub_configure=$ac_aux_dir/configure
54307 else
54308 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54310 ac_sub_configure=
54311 fi
54312
54313 # The recursion is here.
54314 if test -n "$ac_sub_configure"; then
54315 # Make the cache file name correct relative to the subdirectory.
54316 case $cache_file in
54317 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54318 *) # Relative name.
54319 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54320 esac
54321
54322 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54323 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54324 # The eval makes quoting arguments work.
54325 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54326 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54327 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54328 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54329 { (exit 1); exit 1; }; }
54330 fi
54331
54332 cd "$ac_popdir"
54333 done
54334 fi
54335
54336
54337 echo
54338 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54339 echo ""
54340 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54341 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54342 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54343 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54344 if test "$wxUSE_UNICODE" = "yes"; then
54345 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54346 echo " (using UTF-8)"
54347 else
54348 echo " (using wchar_t)"
54349 fi
54350 else
54351 echo
54352 fi
54353
54354 echo " What level of wxWidgets compatibility should be enabled?"
54355 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54356 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54357
54358 echo " Which libraries should wxWidgets use?"
54359 echo " STL ${wxUSE_STL}"
54360 echo " jpeg ${wxUSE_LIBJPEG-none}"
54361 echo " png ${wxUSE_LIBPNG-none}"
54362 echo " regex ${wxUSE_REGEX}"
54363 echo " tiff ${wxUSE_LIBTIFF-none}"
54364 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54365 echo " xpm ${wxUSE_LIBXPM-none}"
54366 fi
54367 echo " zlib ${wxUSE_ZLIB}"
54368 echo " expat ${wxUSE_EXPAT}"
54369 echo " libmspack ${wxUSE_LIBMSPACK}"
54370 echo " sdl ${wxUSE_LIBSDL}"
54371
54372 echo ""
54373