]> git.saurik.com Git - wxWidgets.git/blob - configure
Czech translation update from Herbert Breunung.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
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 subdirs
681 PKG_CONFIG
682 GTK_CFLAGS
683 GTK_LIBS
684 GTK_CONFIG
685 DIRECTFB_CFLAGS
686 DIRECTFB_LIBS
687 XMKMF
688 X_CFLAGS
689 X_PRE_LIBS
690 X_LIBS
691 X_EXTRA_LIBS
692 PANGOX_CFLAGS
693 PANGOX_LIBS
694 PANGOFT2_CFLAGS
695 PANGOFT2_LIBS
696 PANGOXFT_CFLAGS
697 PANGOXFT_LIBS
698 CFLAGS_VISIBILITY
699 CXXFLAGS_VISIBILITY
700 LIBICONV
701 GXX_VERSION
702 SDL_CONFIG
703 SDL_CFLAGS
704 SDL_LIBS
705 GTKPRINT_CFLAGS
706 GTKPRINT_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 HILDON2_CFLAGS
714 HILDON2_LIBS
715 PYTHON
716 COND_PYTHON
717 CAIRO_CFLAGS
718 CAIRO_LIBS
719 GST_CFLAGS
720 GST_LIBS
721 ALL_WX_LIBS
722 BUILT_WX_LIBS
723 STD_BASE_LIBS
724 STD_GUI_LIBS
725 wxUSE_ZLIB
726 wxUSE_REGEX
727 wxUSE_EXPAT
728 wxUSE_LIBJPEG
729 wxUSE_LIBPNG
730 wxUSE_LIBTIFF
731 VENDOR
732 OFFICIAL_BUILD
733 WX_FLAVOUR
734 WX_LIB_FLAVOUR
735 WXUNIV
736 MONOLITHIC
737 USE_PLUGINS
738 CXXWARNINGS
739 EXTRALIBS
740 EXTRALIBS_XML
741 EXTRALIBS_HTML
742 EXTRALIBS_MEDIA
743 EXTRALIBS_GUI
744 EXTRALIBS_OPENGL
745 EXTRALIBS_SDL
746 EXTRALIBS_STC
747 WITH_PLUGIN_SDL
748 EXTRALIBS_GTKPRINT
749 EXTRALIBS_GNOMEPRINT
750 EXTRALIBS_GNOMEVFS
751 EXTRALIBS_HILDON
752 UNICODE
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 DYLIB_RPATH_INSTALL
758 DYLIB_RPATH_POSTLINK
759 SAMPLES_RPATH_FLAG
760 HEADER_PAD_OPTION
761 HOST_SUFFIX
762 CPPUNIT_CFLAGS
763 CPPUNIT_LIBS
764 RANLIB
765 INSTALL_PROGRAM
766 INSTALL_SCRIPT
767 INSTALL_DATA
768 LN_S
769 SET_MAKE
770 MAKE_SET
771 AROPTIONS
772 STRIP
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 IF_GNU_MAKE
777 PLATFORM_UNIX
778 PLATFORM_WIN32
779 PLATFORM_MSDOS
780 PLATFORM_MAC
781 PLATFORM_MACOS
782 PLATFORM_MACOSX
783 PLATFORM_OS2
784 PLATFORM_BEOS
785 SO_SUFFIX
786 SO_SUFFIX_MODULE
787 DLLIMP_SUFFIX
788 LIBPREFIX
789 LIBEXT
790 DLLPREFIX
791 DLLPREFIX_MODULE
792 dlldir
793 AIX_CXX_LD
794 SHARED_LD_CC
795 SHARED_LD_CXX
796 SHARED_LD_MODULE_CC
797 SHARED_LD_MODULE_CXX
798 PIC_FLAG
799 WINDOWS_IMPLIB
800 USE_SOVERSION
801 USE_SOVERLINUX
802 USE_SOVERSOLARIS
803 USE_SOVERCYGWIN
804 USE_MACVERSION
805 USE_SOTWOSYMLINKS
806 SONAME_FLAG
807 DEPS_TRACKING
808 BK_DEPS
809 WINDRES
810 REZ
811 SETFILE
812 OBJCXXFLAGS
813 GCC_PCH
814 ICC_PCH
815 ICC_PCH_CREATE_SWITCH
816 ICC_PCH_USE_SWITCH
817 BK_MAKE_PCH
818 COND_BUILD_DEBUG
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
836 COND_DEBUG_FLAG_0
837 COND_DEBUG_FLAG_1
838 COND_DEBUG_INFO_0
839 COND_DEBUG_INFO_1
840 COND_DEPS_TRACKING_0
841 COND_DEPS_TRACKING_1
842 COND_GCC_PCH_1
843 COND_ICC_PCH_1
844 COND_MONOLITHIC_0
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MAC_0
897 COND_PLATFORM_MAC_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
900 COND_PLATFORM_OS2_1
901 COND_PLATFORM_UNIX_0
902 COND_PLATFORM_UNIX_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
924 COND_TOOLKIT_
925 COND_TOOLKIT_COCOA
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB
929 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
938 COND_TOOLKIT_MAC
939 COND_TOOLKIT_MGL
940 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11
961 COND_TOOLKIT_X11_USE_GUI_1
962 COND_UNICODE_1
963 COND_USE_CAIRO_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
966 COND_USE_GUI_0
967 COND_USE_GUI_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
977 COND_USE_OPENGL_1
978 COND_USE_PCH_1
979 COND_USE_PLUGINS_0
980 COND_USE_RTTI_0
981 COND_USE_RTTI_1
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_0
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
988 COND_USE_STC_1
989 COND_USE_THREADS_0
990 COND_USE_THREADS_1
991 COND_USE_XRC_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
994 COND_WXUNIV_0
995 COND_WXUNIV_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1008 DEREZ
1009 SHARED
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1012 USE_GUI
1013 AFMINSTALL
1014 WIN32INSTALL
1015 TOOLKIT
1016 TOOLKIT_DIR
1017 TOOLCHAIN_NAME
1018 TOOLCHAIN_FULLNAME
1019 cross_compiling
1020 WIDGET_SET
1021 WX_RELEASE
1022 WX_VERSION
1023 WX_SUBVERSION
1024 WX_CHARTYPE
1025 WXCONFIG_CPPFLAGS
1026 WXCONFIG_CFLAGS
1027 WXCONFIG_CXXFLAGS
1028 WXCONFIG_LIBS
1029 WXCONFIG_RPATH
1030 WXCONFIG_LDFLAGS
1031 WXCONFIG_LDFLAGS_GUI
1032 WXCONFIG_RESFLAGS
1033 GUIDIST
1034 DISTDIR
1035 SAMPLES_SUBDIRS
1036 LDFLAGS_GL
1037 OPENGL_LIBS
1038 DMALLOC_LIBS
1039 WX_VERSION_TAG
1040 RESCOMP
1041 RESFLAGS
1042 RESPROGRAMOBJ
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1045 LIBWXMACRES
1046 POSTLINK_COMMAND
1047 MACSETFILE
1048 GCC
1049 DLLTOOL
1050 CPPUNIT_CONFIG
1051 LIBOBJS
1052 LTLIBOBJS'
1053 ac_subst_files=''
1054 ac_precious_vars='build_alias
1055 host_alias
1056 target_alias
1057 CC
1058 CFLAGS
1059 LDFLAGS
1060 LIBS
1061 CPPFLAGS
1062 CPP
1063 CXX
1064 CXXFLAGS
1065 CCC
1066 PKG_CONFIG
1067 DIRECTFB_CFLAGS
1068 DIRECTFB_LIBS
1069 XMKMF
1070 PANGOX_CFLAGS
1071 PANGOX_LIBS
1072 PANGOFT2_CFLAGS
1073 PANGOFT2_LIBS
1074 PANGOXFT_CFLAGS
1075 PANGOXFT_LIBS
1076 GTKPRINT_CFLAGS
1077 GTKPRINT_LIBS
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1080 GNOMEVFS_CFLAGS
1081 GNOMEVFS_LIBS
1082 HILDON_CFLAGS
1083 HILDON_LIBS
1084 HILDON2_CFLAGS
1085 HILDON2_LIBS
1086 CAIRO_CFLAGS
1087 CAIRO_LIBS
1088 GST_CFLAGS
1089 GST_LIBS'
1090 ac_subdirs_all='src/tiff
1091 src/expat'
1092
1093 # Initialize some variables set by options.
1094 ac_init_help=
1095 ac_init_version=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file=/dev/null
1099 exec_prefix=NONE
1100 no_create=
1101 no_recursion=
1102 prefix=NONE
1103 program_prefix=NONE
1104 program_suffix=NONE
1105 program_transform_name=s,x,x,
1106 silent=
1107 site=
1108 srcdir=
1109 verbose=
1110 x_includes=NONE
1111 x_libraries=NONE
1112
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir='${exec_prefix}/bin'
1120 sbindir='${exec_prefix}/sbin'
1121 libexecdir='${exec_prefix}/libexec'
1122 datarootdir='${prefix}/share'
1123 datadir='${datarootdir}'
1124 sysconfdir='${prefix}/etc'
1125 sharedstatedir='${prefix}/com'
1126 localstatedir='${prefix}/var'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir='${datarootdir}/info'
1131 htmldir='${docdir}'
1132 dvidir='${docdir}'
1133 pdfdir='${docdir}'
1134 psdir='${docdir}'
1135 libdir='${exec_prefix}/lib'
1136 localedir='${datarootdir}/locale'
1137 mandir='${datarootdir}/man'
1138
1139 ac_prev=
1140 ac_dashdash=
1141 for ac_option
1142 do
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\$ac_option
1146 ac_prev=
1147 continue
1148 fi
1149
1150 case $ac_option in
1151 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 *) ac_optarg=yes ;;
1153 esac
1154
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1156
1157 case $ac_dashdash$ac_option in
1158 --)
1159 ac_dashdash=yes ;;
1160
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 ac_prev=bindir ;;
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir=$ac_optarg ;;
1165
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev=build_alias ;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias=$ac_optarg ;;
1170
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev=cache_file ;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file=$ac_optarg ;;
1177
1178 --config-cache | -C)
1179 cache_file=config.cache ;;
1180
1181 -datadir | --datadir | --datadi | --datad)
1182 ac_prev=datadir ;;
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir=$ac_optarg ;;
1185
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev=datarootdir ;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir=$ac_optarg ;;
1192
1193 -disable-* | --disable-*)
1194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_$ac_feature=no ;;
1201
1202 -docdir | --docdir | --docdi | --doc | --do)
1203 ac_prev=docdir ;;
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir=$ac_optarg ;;
1206
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 ac_prev=dvidir ;;
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir=$ac_optarg ;;
1211
1212 -enable-* | --enable-*)
1213 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_$ac_feature=\$ac_optarg ;;
1220
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev=exec_prefix ;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix=$ac_optarg ;;
1229
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1232 with_gas=yes ;;
1233
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help=long ;;
1236 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1237 ac_init_help=recursive ;;
1238 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1239 ac_init_help=short ;;
1240
1241 -host | --host | --hos | --ho)
1242 ac_prev=host_alias ;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias=$ac_optarg ;;
1245
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 ac_prev=htmldir ;;
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 | --ht=*)
1250 htmldir=$ac_optarg ;;
1251
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev=includedir ;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir=$ac_optarg ;;
1258
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 ac_prev=infodir ;;
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir=$ac_optarg ;;
1263
1264 -libdir | --libdir | --libdi | --libd)
1265 ac_prev=libdir ;;
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir=$ac_optarg ;;
1268
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev=libexecdir ;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir=$ac_optarg ;;
1275
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev=localedir ;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir=$ac_optarg ;;
1280
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev=localstatedir ;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir=$ac_optarg ;;
1287
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 ac_prev=mandir ;;
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir=$ac_optarg ;;
1292
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1295 with_fp=no ;;
1296
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1299 no_create=yes ;;
1300
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1303 no_recursion=yes ;;
1304
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev=oldincludedir ;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir=$ac_optarg ;;
1313
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 ac_prev=prefix ;;
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix=$ac_optarg ;;
1318
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev=program_prefix ;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix=$ac_optarg ;;
1325
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev=program_suffix ;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix=$ac_optarg ;;
1332
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev=program_transform_name ;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name=$ac_optarg ;;
1349
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 ac_prev=pdfdir ;;
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir=$ac_optarg ;;
1354
1355 -psdir | --psdir | --psdi | --psd | --ps)
1356 ac_prev=psdir ;;
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1358 psdir=$ac_optarg ;;
1359
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 silent=yes ;;
1363
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 ac_prev=sbindir ;;
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 | --sbi=* | --sb=*)
1368 sbindir=$ac_optarg ;;
1369
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1373 | --sha | --sh)
1374 ac_prev=sharedstatedir ;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 | --sha=* | --sh=*)
1379 sharedstatedir=$ac_optarg ;;
1380
1381 -site | --site | --sit)
1382 ac_prev=site ;;
1383 -site=* | --site=* | --sit=*)
1384 site=$ac_optarg ;;
1385
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 ac_prev=srcdir ;;
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir=$ac_optarg ;;
1390
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev=sysconfdir ;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir=$ac_optarg ;;
1397
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev=target_alias ;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias=$ac_optarg ;;
1402
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1404 verbose=yes ;;
1405
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version=: ;;
1408
1409 -with-* | --with-*)
1410 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=\$ac_optarg ;;
1417
1418 -without-* | --without-*)
1419 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=no ;;
1426
1427 --x)
1428 # Obsolete; use --with-x.
1429 with_x=yes ;;
1430
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev=x_includes ;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes=$ac_optarg ;;
1437
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev=x_libraries ;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries=$ac_optarg ;;
1444
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1448 ;;
1449
1450 *=*)
1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\$ac_optarg
1457 export $ac_envvar ;;
1458
1459 *)
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 ;;
1466
1467 esac
1468 done
1469
1470 if test -n "$ac_prev"; then
1471 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1474 fi
1475
1476 # Be sure to have absolute directory names.
1477 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 [\\/$]* | ?:[\\/]* ) continue;;
1485 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1486 esac
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1489 done
1490
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1494 build=$build_alias
1495 host=$host_alias
1496 target=$target_alias
1497
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x; then
1500 if test "x$build_alias" = x; then
1501 cross_compiling=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1505 cross_compiling=yes
1506 fi
1507 fi
1508
1509 ac_tool_prefix=
1510 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1511
1512 test "$silent" = yes && exec 6>/dev/null
1513
1514
1515 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di=`ls -di .` &&
1517 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 echo X"$0" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)[^/].*/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\/\)$/{
1544 s//\1/
1545 q
1546 }
1547 /^X\(\/\).*/{
1548 s//\1/
1549 q
1550 }
1551 s/.*/./; q'`
1552 srcdir=$ac_confdir
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 srcdir=..
1555 fi
1556 else
1557 ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1568 pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1592 cat <<_ACEOF
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1646 _ACEOF
1647
1648 cat <<\_ACEOF
1649
1650 X features:
1651 --x-includes=DIR X include files are in DIR
1652 --x-libraries=DIR X library files are in DIR
1653
1654 System types:
1655 --build=BUILD configure for building on BUILD [guessed]
1656 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1657 _ACEOF
1658 fi
1659
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1663 esac
1664 cat <<\_ACEOF
1665
1666 Optional Features:
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --disable-gui don't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1684 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros, even if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets 2.6 compatibility
1704 --disable-compat28 disable wxWidgets 2.8 compatibility
1705 --disable-rpath disable use of rpath for uninstalled builds
1706 --enable-objc_uniquifying enable Objective-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x-locale support (requires wxLocale)
1711 --enable-config use wxConfig (and derived) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP (requires wxProtocol
1714 --enable-http use wxHTTP (requires wxProtocol
1715 --enable-fileproto use wxFileProto class (requires wxProtocol
1716 --enable-sockets use socket/network classes
1717 --enable-ipv6 enable IPv6 support in wxSocket
1718 --enable-ole use OLE classes (Win32 only)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication (wxSocket etc.)
1721 --enable-baseevtloop use event loop in console programs too
1722 --enable-epollloop use wxEpollDispatcher class (Linux only)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding/decoding functions
1728 --enable-backtrace use wxStackWalker class for getting backtraces
1729 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class for DLL loading
1735 --enable-dynamicloader use (new) wxDynamicLibrary class
1736 --enable-exceptions build exception-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filesystem use virtual file systems classes
1740 --enable-fontenum use wxFontEnumerator class
1741 --enable-fontmap use font encodings conversion classes
1742 --enable-fs_archive use virtual archive filesystems
1743 --enable-fs_inet use virtual HTTP/FTP filesystems
1744 --enable-fs_zip now replaced by fs_archive
1745 --enable-fswatcher use wxFileSystemWatcher class
1746 --enable-geometry use geometry class
1747 --enable-log use logging system
1748 --enable-longlong use wxLongLong class
1749 --enable-mimetype use wxMimeTypesManager
1750 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1751 --enable-snglinst use wxSingleInstanceChecker class
1752 --enable-sound use wxSound class
1753 --enable-stdpaths use wxStandardPaths class
1754 --enable-stopwatch use wxStopWatch class
1755 --enable-streams use wxStream etc classes
1756 --enable-sysoptions use wxSystemOptions
1757 --enable-tarstream use wxTar streams
1758 --enable-textbuf use wxTextBuffer class
1759 --enable-textfile use wxTextFile class
1760 --enable-timer use wxTimer class
1761 --enable-variant use wxVariant class
1762 --enable-zipstream use wxZip streams
1763 --enable-url use wxURL class
1764 --enable-protocol use wxProtocol class
1765 --enable-protocol-http HTTP support in wxProtocol
1766 --enable-protocol-ftp FTP support in wxProtocol
1767 --enable-protocol-file FILE support in wxProtocol
1768 --enable-threads use threads
1769 --enable-iniconf use wxIniConfig (Win32 only)
1770 --enable-regkey use wxRegKey class (Win32 only)
1771 --enable-docview use document view architecture
1772 --enable-help use help subsystem
1773 --enable-mshtmlhelp use MS HTML Help (win32)
1774 --enable-html use wxHTML sub-library
1775 --enable-htmlhelp use wxHTML-based help
1776 --enable-xrc use XRC resources sub-library
1777 --enable-aui use AUI docking library
1778 --enable-propgrid use wxPropertyGrid library
1779 --enable-ribbon use wxRibbon library
1780 --enable-stc use wxStyledTextCtrl library
1781 --enable-constraints use layout-constraints system
1782 --enable-loggui use standard GUI logger
1783 --enable-logwin use wxLogWindow
1784 --enable-logdialog use wxLogDialog
1785 --enable-mdi use multiple document interface architecture
1786 --enable-mdidoc use docview architecture with MDI
1787 --enable-mediactrl use wxMediaCtrl class
1788 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1789 --enable-webkit use wxWebKitCtrl (Mac)
1790 --enable-richtext use wxRichTextCtrl
1791 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1792 --enable-printarch use printing architecture
1793 --enable-svg use wxSVGFileDC device context
1794 --enable-graphics_ctx use graphics context 2D drawing API
1795 --enable-clipboard use wxClipboard class
1796 --enable-dnd use Drag'n'Drop classes
1797 --enable-metafile use win32 metafiles
1798 --disable-controls disable compilation of all standard controls
1799 --enable-accel use accelerators
1800 --enable-animatectrl use wxAnimationCtrl class
1801 --enable-bmpbutton use wxBitmapButton class
1802 --enable-bmpcombobox use wxBitmapComboBox class
1803 --enable-button use wxButton class
1804 --enable-calendar use wxCalendarCtrl class
1805 --enable-caret use wxCaret class
1806 --enable-checkbox use wxCheckBox class
1807 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1808 --enable-choice use wxChoice class
1809 --enable-choicebook use wxChoicebook class
1810 --enable-collpane use wxCollapsiblePane class
1811 --enable-colourpicker use wxColourPickerCtrl class
1812 --enable-combobox use wxComboBox class
1813 --enable-comboctrl use wxComboCtrl class
1814 --enable-dataviewctrl use wxDataViewCtrl class
1815 --enable-datepick use wxDatePickerCtrl class
1816 --enable-detect_sm use code to detect X11 session manager
1817 --enable-dirpicker use wxDirPickerCtrl class
1818 --enable-display use wxDisplay class
1819 --enable-editablebox use wxEditableListBox class
1820 --enable-filectrl use wxFileCtrl class
1821 --enable-filepicker use wxFilePickerCtrl class
1822 --enable-fontpicker use wxFontPickerCtrl class
1823 --enable-gauge use wxGauge class
1824 --enable-grid use wxGrid class
1825 --enable-headerctrl use wxHeaderCtrl class
1826 --enable-hyperlink use wxHyperlinkCtrl class
1827 --enable-imaglist use wxImageList class
1828 --enable-infobar use wxInfoBar class
1829 --enable-listbook use wxListbook class
1830 --enable-listbox use wxListBox class
1831 --enable-listctrl use wxListCtrl class
1832 --enable-notebook use wxNotebook class
1833 --enable-notifmsg use wxNotificationMessage class
1834 --enable-odcombobox use wxOwnerDrawnComboBox class
1835 --enable-popupwin use wxPopUpWindow class
1836 --enable-radiobox use wxRadioBox class
1837 --enable-radiobtn use wxRadioButton class
1838 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1839 --enable-sash use wxSashWindow class
1840 --enable-scrollbar use wxScrollBar class and scrollable windows
1841 --enable-searchctrl use wxSearchCtrl class
1842 --enable-slider use wxSlider class
1843 --enable-spinbtn use wxSpinButton class
1844 --enable-spinctrl use wxSpinCtrl class
1845 --enable-splitter use wxSplitterWindow class
1846 --enable-statbmp use wxStaticBitmap class
1847 --enable-statbox use wxStaticBox class
1848 --enable-statline use wxStaticLine class
1849 --enable-stattext use wxStaticText class
1850 --enable-statusbar use wxStatusBar class
1851 --enable-taskbaricon use wxTaskBarIcon class
1852 --enable-tbarnative use native wxToolBar class
1853 --enable-textctrl use wxTextCtrl class
1854 --enable-tipwindow use wxTipWindow class
1855 --enable-togglebtn use wxToggleButton class
1856 --enable-toolbar use wxToolBar class
1857 --enable-toolbook use wxToolbook class
1858 --enable-treebook use wxTreebook class
1859 --enable-treectrl use wxTreeCtrl class
1860 --enable-commondlg use all common dialogs
1861 --enable-aboutdlg use wxAboutBox
1862 --enable-choicedlg use wxChoiceDialog
1863 --enable-coldlg use wxColourDialog
1864 --enable-filedlg use wxFileDialog
1865 --enable-finddlg use wxFindReplaceDialog
1866 --enable-fontdlg use wxFontDialog
1867 --enable-dirdlg use wxDirDialog
1868 --enable-msgdlg use wxMessageDialog
1869 --enable-numberdlg use wxNumberEntryDialog
1870 --enable-splash use wxSplashScreen
1871 --enable-textdlg use wxTextDialog
1872 --enable-tipdlg use startup tips
1873 --enable-progressdlg use wxProgressDialog
1874 --enable-wizarddlg use wxWizard
1875 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1876 --enable-miniframe use wxMiniFrame class
1877 --enable-tooltips use wxToolTip class
1878 --enable-splines use spline drawing code
1879 --enable-mousewheel use mousewheel
1880 --enable-validators use wxValidator and derived classes
1881 --enable-busyinfo use wxBusyInfo
1882 --enable-joystick use wxJoystick
1883 --enable-metafiles use wxMetaFile (Win32 only)
1884 --enable-dragimage use wxDragImage
1885 --enable-accessibility enable accessibility support
1886 --enable-palette use wxPalette class
1887 --enable-image use wxImage class
1888 --enable-gif use gif images (GIF file format)
1889 --enable-pcx use pcx images (PCX file format)
1890 --enable-tga use tga images (TGA file format)
1891 --enable-iff use iff images (IFF file format)
1892 --enable-pnm use pnm images (PNM file format)
1893 --enable-xpm use xpm images (XPM file format)
1894 --enable-ico_cur use Windows ICO and CUR formats
1895 --enable-dccache cache temporary wxDC objects (Win32 only)
1896 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1897 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1898 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1899 --enable-wxdib use wxDIB class (Win32 only)
1900 --enable-autoidman use automatic ids management
1901 --disable-largefile omit support for large files
1902 --disable-gtktest do not try to compile and run a test GTK+ program
1903 --disable-gtktest Do not try to compile and run a test GTK program
1904 --disable-sdltest Do not try to compile and run a test SDL program
1905 --enable-omf use OMF object format (OS/2)
1906 --disable-dependency-tracking
1907 don't use dependency tracking even if the compiler
1908 can
1909 --disable-precomp-headers
1910 don't use precompiled headers even if compiler can
1911
1912 Optional Packages:
1913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1915 --without-subdirs don't generate makefiles for samples/demos/...
1916 --with-flavour=NAME specify a name to identify this build
1917 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1918 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1919 --with-motif use Motif/Lesstif
1920 --with-osx_carbon use Mac OS X (Carbon)
1921 --with-osx_cocoa use Mac OS X (Cocoa)
1922 --with-osx_iphone use iPhone OS X port
1923 --with-osx use Mac OS X (default port, currently Carbon)
1924 --with-carbon same as --with-osx_carbon
1925 --with-cocoa same as --with-osx_cocoa
1926 --with-iphone same as --with-osx_iphone
1927 --with-mac same as --with-osx
1928 --with-old_cocoa use old, deprecated, Cocoa port
1929 --with-wine use Wine
1930 --with-msw use MS-Windows
1931 --with-pm use OS/2 Presentation Manager
1932 --with-mgl use SciTech MGL
1933 --with-directfb use DirectFB
1934 --with-microwin use MicroWindows
1935 --with-x11 use X11
1936 --with-libpng use libpng (PNG image format)
1937 --with-libjpeg use libjpeg (JPEG file format)
1938 --with-libtiff use libtiff (TIFF file format)
1939 --with-libxpm use libxpm (XPM file format)
1940 --with-libiconv use libiconv (character conversion)
1941 --with-libmspack use libmspack (CHM help files loading)
1942 --without-gtkprint don't use GTK printing support
1943 --without-gnomeprint don't use GNOME printing libraries
1944 --with-gnomevfs use GNOME VFS for associating MIME types
1945 --with-hildon use Hildon framework for Nokia 770/800/810
1946 --with-opengl use OpenGL (or Mesa)
1947 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1948 --with-sdl use SDL for audio on Unix
1949 --with-regex enable support for wxRegEx class
1950 --with-zlib use zlib for LZW compression
1951 --with-expat enable XML support using expat parser
1952 --with-macosx-sdk=PATH use an OS X SDK at PATH
1953 --with-macosx-version-min=VER build binaries which require at least this OS X version
1954 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1955 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1956 --with-x use the X Window System
1957 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1958 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1959 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1960 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1961 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1962
1963 Some influential environment variables:
1964 CC C compiler command
1965 CFLAGS C compiler flags
1966 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1967 nonstandard directory <lib dir>
1968 LIBS libraries to pass to the linker, e.g. -l<library>
1969 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1970 you have headers in a nonstandard directory <include dir>
1971 CPP C preprocessor
1972 CXX C++ compiler command
1973 CXXFLAGS C++ compiler flags
1974 PKG_CONFIG path to pkg-config utility
1975 DIRECTFB_CFLAGS
1976 C compiler flags for DIRECTFB, overriding pkg-config
1977 DIRECTFB_LIBS
1978 linker flags for DIRECTFB, overriding pkg-config
1979 XMKMF Path to xmkmf, Makefile generator for X Window System
1980 PANGOX_CFLAGS
1981 C compiler flags for PANGOX, overriding pkg-config
1982 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1983 PANGOFT2_CFLAGS
1984 C compiler flags for PANGOFT2, overriding pkg-config
1985 PANGOFT2_LIBS
1986 linker flags for PANGOFT2, overriding pkg-config
1987 PANGOXFT_CFLAGS
1988 C compiler flags for PANGOXFT, overriding pkg-config
1989 PANGOXFT_LIBS
1990 linker flags for PANGOXFT, overriding pkg-config
1991 GTKPRINT_CFLAGS
1992 C compiler flags for GTKPRINT, overriding pkg-config
1993 GTKPRINT_LIBS
1994 linker flags for GTKPRINT, overriding pkg-config
1995 LIBGNOMEPRINTUI_CFLAGS
1996 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1997 LIBGNOMEPRINTUI_LIBS
1998 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 GNOMEVFS_CFLAGS
2000 C compiler flags for GNOMEVFS, overriding pkg-config
2001 GNOMEVFS_LIBS
2002 linker flags for GNOMEVFS, overriding pkg-config
2003 HILDON_CFLAGS
2004 C compiler flags for HILDON, overriding pkg-config
2005 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2006 HILDON2_CFLAGS
2007 C compiler flags for HILDON2, overriding pkg-config
2008 HILDON2_LIBS
2009 linker flags for HILDON2, overriding pkg-config
2010 CAIRO_CFLAGS
2011 C compiler flags for CAIRO, overriding pkg-config
2012 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2013 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2014 GST_LIBS linker flags for GST, overriding pkg-config
2015
2016 Use these variables to override the choices made by `configure' or to help
2017 it to find libraries and programs with nonstandard names/locations.
2018
2019 Report bugs to <wx-dev@lists.wxwidgets.org>.
2020 _ACEOF
2021 ac_status=$?
2022 fi
2023
2024 if test "$ac_init_help" = "recursive"; then
2025 # If there are subdirs, report their specific --help.
2026 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2027 test -d "$ac_dir" || continue
2028 ac_builddir=.
2029
2030 case "$ac_dir" in
2031 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2032 *)
2033 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2038 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2039 esac ;;
2040 esac
2041 ac_abs_top_builddir=$ac_pwd
2042 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir=$ac_top_build_prefix
2045
2046 case $srcdir in
2047 .) # We are building in place.
2048 ac_srcdir=.
2049 ac_top_srcdir=$ac_top_builddir_sub
2050 ac_abs_top_srcdir=$ac_pwd ;;
2051 [\\/]* | ?:[\\/]* ) # Absolute name.
2052 ac_srcdir=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir=$srcdir
2054 ac_abs_top_srcdir=$srcdir ;;
2055 *) # Relative name.
2056 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2059 esac
2060 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2061
2062 cd "$ac_dir" || { ac_status=$?; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2065 echo &&
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2068 echo &&
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2070 else
2071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2072 fi || ac_status=$?
2073 cd "$ac_pwd" || { ac_status=$?; break; }
2074 done
2075 fi
2076
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2079 cat <<\_ACEOF
2080 wxWidgets configure 2.9.1
2081 generated by GNU Autoconf 2.61
2082
2083 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2085 This configure script is free software; the Free Software Foundation
2086 gives unlimited permission to copy, distribute and modify it.
2087 _ACEOF
2088 exit
2089 fi
2090 cat >config.log <<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2093
2094 It was created by wxWidgets $as_me 2.9.1, which was
2095 generated by GNU Autoconf 2.61. Invocation command line was
2096
2097 $ $0 $@
2098
2099 _ACEOF
2100 exec 5>>config.log
2101 {
2102 cat <<_ASUNAME
2103 ## --------- ##
2104 ## Platform. ##
2105 ## --------- ##
2106
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2112
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2115
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2123
2124 _ASUNAME
2125
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2128 do
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 echo "PATH: $as_dir"
2132 done
2133 IFS=$as_save_IFS
2134
2135 } >&5
2136
2137 cat >&5 <<_ACEOF
2138
2139
2140 ## ----------- ##
2141 ## Core tests. ##
2142 ## ----------- ##
2143
2144 _ACEOF
2145
2146
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2152 ac_configure_args=
2153 ac_configure_args0=
2154 ac_configure_args1=
2155 ac_must_keep_next=false
2156 for ac_pass in 1 2
2157 do
2158 for ac_arg
2159 do
2160 case $ac_arg in
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2164 continue ;;
2165 *\'*)
2166 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2167 esac
2168 case $ac_pass in
2169 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2170 2)
2171 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2172 if test $ac_must_keep_next = true; then
2173 ac_must_keep_next=false # Got value, back to normal.
2174 else
2175 case $ac_arg in
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 esac
2183 ;;
2184 -* ) ac_must_keep_next=true ;;
2185 esac
2186 fi
2187 ac_configure_args="$ac_configure_args '$ac_arg'"
2188 ;;
2189 esac
2190 done
2191 done
2192 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2193 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2194
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2202 {
2203 echo
2204
2205 cat <<\_ASBOX
2206 ## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##
2209 _ASBOX
2210 echo
2211 # The following way of writing the cache mishandles newlines in values,
2212 (
2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in #(
2216 *${as_nl}*)
2217 case $ac_var in #(
2218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2220 esac
2221 case $ac_var in #(
2222 _ | IFS | as_nl) ;; #(
2223 *) $as_unset $ac_var ;;
2224 esac ;;
2225 esac
2226 done
2227 (set) 2>&1 |
2228 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2230 sed -n \
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2233 ;; #(
2234 *)
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2236 ;;
2237 esac |
2238 sort
2239 )
2240 echo
2241
2242 cat <<\_ASBOX
2243 ## ----------------- ##
2244 ## Output variables. ##
2245 ## ----------------- ##
2246 _ASBOX
2247 echo
2248 for ac_var in $ac_subst_vars
2249 do
2250 eval ac_val=\$$ac_var
2251 case $ac_val in
2252 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 esac
2254 echo "$ac_var='\''$ac_val'\''"
2255 done | sort
2256 echo
2257
2258 if test -n "$ac_subst_files"; then
2259 cat <<\_ASBOX
2260 ## ------------------- ##
2261 ## File substitutions. ##
2262 ## ------------------- ##
2263 _ASBOX
2264 echo
2265 for ac_var in $ac_subst_files
2266 do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 esac
2271 echo "$ac_var='\''$ac_val'\''"
2272 done | sort
2273 echo
2274 fi
2275
2276 if test -s confdefs.h; then
2277 cat <<\_ASBOX
2278 ## ----------- ##
2279 ## confdefs.h. ##
2280 ## ----------- ##
2281 _ASBOX
2282 echo
2283 cat confdefs.h
2284 echo
2285 fi
2286 test "$ac_signal" != 0 &&
2287 echo "$as_me: caught signal $ac_signal"
2288 echo "$as_me: exit $exit_status"
2289 } >&5
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2292 exit $exit_status
2293 ' 0
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2296 done
2297 ac_signal=0
2298
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2301
2302 # Predefined preprocessor variables.
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2306 _ACEOF
2307
2308
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2311 _ACEOF
2312
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2316 _ACEOF
2317
2318
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2321 _ACEOF
2322
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 _ACEOF
2327
2328
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 set x "$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE; then
2334 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2335 else
2336 set x "$ac_default_prefix/share/config.site" \
2337 "$ac_default_prefix/etc/config.site"
2338 fi
2339 shift
2340 for ac_site_file
2341 do
2342 if test -r "$ac_site_file"; then
2343 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2344 echo "$as_me: loading site script $ac_site_file" >&6;}
2345 sed 's/^/| /' "$ac_site_file" >&5
2346 . "$ac_site_file"
2347 fi
2348 done
2349
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special
2352 # files actually), so we avoid doing that.
2353 if test -f "$cache_file"; then
2354 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2355 echo "$as_me: loading cache $cache_file" >&6;}
2356 case $cache_file in
2357 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2358 *) . "./$cache_file";;
2359 esac
2360 fi
2361 else
2362 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2363 echo "$as_me: creating cache $cache_file" >&6;}
2364 >$cache_file
2365 fi
2366
2367 # Check that the precious variables saved in the cache have kept the same
2368 # value.
2369 ac_cache_corrupted=false
2370 for ac_var in $ac_precious_vars; do
2371 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2372 eval ac_new_set=\$ac_env_${ac_var}_set
2373 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2374 eval ac_new_val=\$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2376 set,)
2377 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted=: ;;
2380 ,set)
2381 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2382 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted=: ;;
2384 ,);;
2385 *)
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2388 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2390 echo "$as_me: former value: $ac_old_val" >&2;}
2391 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2392 echo "$as_me: current value: $ac_new_val" >&2;}
2393 ac_cache_corrupted=:
2394 fi;;
2395 esac
2396 # Pass precious variables to config.status.
2397 if test "$ac_new_set" = set; then
2398 case $ac_new_val in
2399 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg=$ac_var=$ac_new_val ;;
2401 esac
2402 case " $ac_configure_args " in
2403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2404 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2405 esac
2406 fi
2407 done
2408 if $ac_cache_corrupted; then
2409 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2412 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2413 { (exit 1); exit 1; }; }
2414 fi
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440 ac_ext=c
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445
2446
2447
2448
2449
2450 ac_aux_dir=
2451 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2452 if test -f "$ac_dir/install-sh"; then
2453 ac_aux_dir=$ac_dir
2454 ac_install_sh="$ac_aux_dir/install-sh -c"
2455 break
2456 elif test -f "$ac_dir/install.sh"; then
2457 ac_aux_dir=$ac_dir
2458 ac_install_sh="$ac_aux_dir/install.sh -c"
2459 break
2460 elif test -f "$ac_dir/shtool"; then
2461 ac_aux_dir=$ac_dir
2462 ac_install_sh="$ac_aux_dir/shtool install -c"
2463 break
2464 fi
2465 done
2466 if test -z "$ac_aux_dir"; then
2467 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2468 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2479
2480
2481 # Make sure we can run config.sub.
2482 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2485 { (exit 1); exit 1; }; }
2486
2487 { echo "$as_me:$LINENO: checking build system type" >&5
2488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2489 if test "${ac_cv_build+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 ac_build_alias=$build_alias
2493 test "x$ac_build_alias" = x &&
2494 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2495 test "x$ac_build_alias" = x &&
2496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2498 { (exit 1); exit 1; }; }
2499 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2502 { (exit 1); exit 1; }; }
2503
2504 fi
2505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2506 echo "${ECHO_T}$ac_cv_build" >&6; }
2507 case $ac_cv_build in
2508 *-*-*) ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2510 echo "$as_me: error: invalid value of canonical build" >&2;}
2511 { (exit 1); exit 1; }; };;
2512 esac
2513 build=$ac_cv_build
2514 ac_save_IFS=$IFS; IFS='-'
2515 set x $ac_cv_build
2516 shift
2517 build_cpu=$1
2518 build_vendor=$2
2519 shift; shift
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2522 build_os=$*
2523 IFS=$ac_save_IFS
2524 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2525
2526
2527 { echo "$as_me:$LINENO: checking host system type" >&5
2528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2529 if test "${ac_cv_host+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test "x$host_alias" = x; then
2533 ac_cv_host=$ac_cv_build
2534 else
2535 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2539 fi
2540
2541 fi
2542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2543 echo "${ECHO_T}$ac_cv_host" >&6; }
2544 case $ac_cv_host in
2545 *-*-*) ;;
2546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2547 echo "$as_me: error: invalid value of canonical host" >&2;}
2548 { (exit 1); exit 1; }; };;
2549 esac
2550 host=$ac_cv_host
2551 ac_save_IFS=$IFS; IFS='-'
2552 set x $ac_cv_host
2553 shift
2554 host_cpu=$1
2555 host_vendor=$2
2556 shift; shift
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2559 host_os=$*
2560 IFS=$ac_save_IFS
2561 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2562
2563
2564
2565 if test "$cross_compiling" != "no"; then
2566 HOST_PREFIX="${host_alias}-"
2567 HOST_SUFFIX="-$host_alias"
2568 else
2569 HOST_PREFIX=
2570 HOST_SUFFIX=
2571 fi
2572
2573
2574 wx_major_version_number=2
2575 wx_minor_version_number=9
2576 wx_release_number=1
2577 wx_subrelease_number=0
2578
2579 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2580 WX_VERSION=$WX_RELEASE.$wx_release_number
2581 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2582
2583 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2584
2585
2586 wx_top_builddir="`pwd`"
2587
2588
2589
2590
2591 USE_UNIX=1
2592 USE_OS2=0
2593 USE_WIN32=0
2594 USE_DOS=0
2595 USE_BEOS=0
2596 USE_MAC=0
2597
2598 USE_AIX=
2599 USE_BSD= USE_DARWIN= USE_FREEBSD=
2600 USE_GNU= USE_HPUX=
2601 USE_LINUX=
2602 USE_NETBSD=
2603 USE_OPENBSD=
2604 USE_OSF= USE_SGI=
2605 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2606 USE_ULTRIX=
2607 USE_UNIXWARE=
2608
2609 USE_ALPHA=
2610
2611 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2612
2613 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2614
2615 DEFAULT_wxUSE_OLD_COCOA=0
2616 DEFAULT_wxUSE_GTK=0
2617 DEFAULT_wxUSE_OSX_CARBON=0
2618 DEFAULT_wxUSE_OSX_COCOA=0
2619 DEFAULT_wxUSE_OSX_IPHONE=0
2620 DEFAULT_wxUSE_MGL=0
2621 DEFAULT_wxUSE_MICROWIN=0
2622 DEFAULT_wxUSE_MOTIF=0
2623 DEFAULT_wxUSE_MSW=0
2624 DEFAULT_wxUSE_PM=0
2625 DEFAULT_wxUSE_X11=0
2626 DEFAULT_wxUSE_DFB=0
2627
2628 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2629 DEFAULT_DEFAULT_wxUSE_GTK=0
2630 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2633 DEFAULT_DEFAULT_wxUSE_MGL=0
2634 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2636 DEFAULT_DEFAULT_wxUSE_MSW=0
2637 DEFAULT_DEFAULT_wxUSE_PM=0
2638 DEFAULT_DEFAULT_wxUSE_X11=0
2639 DEFAULT_DEFAULT_wxUSE_DFB=0
2640
2641 PROGRAM_EXT=
2642 SAMPLES_RPATH_FLAG=
2643 DYLIB_RPATH_INSTALL=
2644 DYLIB_RPATH_POSTLINK=
2645
2646 DEFAULT_STD_FLAG=yes
2647
2648 case "${host}" in
2649 *-hp-hpux* )
2650 USE_HPUX=1
2651 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2652 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __HPUX__ 1
2655 _ACEOF
2656
2657
2658 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2659 ;;
2660 *-*-linux* )
2661 USE_LINUX=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __LINUX__ 1
2664 _ACEOF
2665
2666 TMP=`uname -m`
2667 if test "x$TMP" = "xalpha"; then
2668 USE_ALPHA=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __ALPHA__ 1
2671 _ACEOF
2672
2673 fi
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2675 ;;
2676 *-*-gnu* | *-*-k*bsd*-gnu )
2677 USE_GNU=1
2678 TMP=`uname -m`
2679 if test "x$TMP" = "xalpha"; then
2680 USE_ALPHA=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __ALPHA__ 1
2683 _ACEOF
2684
2685 fi
2686 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 ;;
2688 *-*-irix5* | *-*-irix6* )
2689 USE_SGI=1
2690 USE_SVR4=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SGI__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SVR4__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-qnx*)
2702 USE_QNX=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __QNX__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_X11=1
2708 ;;
2709 *-*-solaris2* )
2710 USE_SUN=1
2711 USE_SOLARIS=1
2712 USE_SVR4=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SOLARIS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __SVR4__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727 ;;
2728 *-*-sunos4* )
2729 USE_SUN=1
2730 USE_SUNOS=1
2731 USE_BSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SUN__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SUNOS__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 ;;
2746 *-*-freebsd*)
2747 USE_BSD=1
2748 USE_FREEBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __FREEBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 ;;
2759 *-*-openbsd*|*-*-mirbsd*)
2760 USE_BSD=1
2761 USE_OPENBSD=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __OPENBSD__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __BSD__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_GTK=1
2771 ;;
2772 *-*-netbsd*)
2773 USE_BSD=1
2774 USE_NETBSD=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __NETBSD__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __BSD__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_GTK=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2785
2786 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2787 ;;
2788 *-*-osf* )
2789 USE_ALPHA=1
2790 USE_OSF=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __ALPHA__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __OSF__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 ;;
2802 *-*-dgux5* )
2803 USE_ALPHA=1
2804 USE_SVR4=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __ALPHA__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-sysv5* )
2816 USE_SYSV=1
2817 USE_SVR4=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SYSV__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828 *-*-aix* )
2829 USE_AIX=1
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __AIX__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846
2847 *-*-*UnixWare*)
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 USE_UNIXWARE=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __UNIXWARE__ 1
2853 _ACEOF
2854
2855 ;;
2856
2857 *-*-cygwin* | *-*-mingw32* )
2858 PROGRAM_EXT=".exe"
2859 DEFAULT_DEFAULT_wxUSE_MSW=1
2860 ;;
2861
2862 *-pc-msdosdjgpp )
2863 USE_UNIX=0
2864 USE_DOS=1
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __DOS__ 1
2867 _ACEOF
2868
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MGL=1
2871 ;;
2872
2873 *-pc-os2_emx | *-pc-os2-emx )
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __EMX__ 1
2876 _ACEOF
2877
2878 USE_OS2=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __OS2__ 1
2881 _ACEOF
2882
2883 PROGRAM_EXT=".exe"
2884 DEFAULT_DEFAULT_wxUSE_PM=1
2885 CXX=gcc
2886 LDFLAGS="$LDFLAGS -Zcrtdll"
2887 ac_executable_extensions=".exe"
2888 export ac_executable_extensions
2889 ac_save_IFS="$IFS"
2890 IFS='\\'
2891 ac_TEMP_PATH=
2892 for ac_dir in $PATH; do
2893 IFS=$ac_save_IFS
2894 if test -z "$ac_TEMP_PATH"; then
2895 ac_TEMP_PATH="$ac_dir"
2896 else
2897 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2898 fi
2899 done
2900 export PATH="$ac_TEMP_PATH"
2901 unset ac_TEMP_PATH
2902 DEFAULT_STD_FLAG=no
2903 ;;
2904
2905 arm-apple-darwin*)
2906 USE_BSD=1
2907 USE_DARWIN=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BSD__ 1
2910 _ACEOF
2911
2912 cat >>confdefs.h <<\_ACEOF
2913 #define __DARWIN__ 1
2914 _ACEOF
2915
2916 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2917 ;;
2918
2919 *-*-darwin* )
2920 USE_BSD=1
2921 USE_DARWIN=1
2922 cat >>confdefs.h <<\_ACEOF
2923 #define __BSD__ 1
2924 _ACEOF
2925
2926 cat >>confdefs.h <<\_ACEOF
2927 #define __DARWIN__ 1
2928 _ACEOF
2929
2930 cat >>confdefs.h <<\_ACEOF
2931 #define TARGET_CARBON 1
2932 _ACEOF
2933
2934 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2935 ;;
2936
2937 *-*-beos* )
2938 USE_BEOS=1
2939 cat >>confdefs.h <<\_ACEOF
2940 #define __BEOS__ 1
2941 _ACEOF
2942
2943 ;;
2944
2945 *)
2946 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2947 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2948 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2949 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2950
2951 DEFAULT_DEFAULT_wxUSE_X11=1
2952 DEFAULT_wxUSE_SHARED=no
2953 esac
2954
2955
2956
2957 DEFAULT_wxUSE_ALL_FEATURES=yes
2958
2959 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2960 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2961
2962 DEFAULT_wxUSE_DMALLOC=no
2963 DEFAULT_wxUSE_LIBGNOMEVFS=no
2964 DEFAULT_wxUSE_LIBHILDON=no
2965 DEFAULT_wxUSE_LIBHILDON2=no
2966 DEFAULT_wxUSE_LIBMSPACK=no
2967 DEFAULT_wxUSE_LIBSDL=no
2968
2969 DEFAULT_wxUSE_ACCESSIBILITY=no
2970 DEFAULT_wxUSE_IPV6=no
2971 DEFAULT_wxUSE_GSTREAMER8=no
2972
2973 DEFAULT_wxUSE_UNICODE_UTF8=auto
2974 DEFAULT_wxUSE_OPENGL=auto
2975 DEFAULT_wxUSE_MEDIACTRL=auto
2976 DEFAULT_wxUSE_COMPILER_TLS=auto
2977
2978 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2979
2980 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2981
2982 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2983
2984 DEFAULT_wxUSE_GTK2=yes
2985
2986 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2987
2988
2989
2990
2991
2992 enablestring=disable
2993 defaultval=
2994 if test -z "$defaultval"; then
2995 if test x"$enablestring" = xdisable; then
2996 defaultval=yes
2997 else
2998 defaultval=no
2999 fi
3000 fi
3001
3002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3003 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3004 # Check whether --enable-gui was given.
3005 if test "${enable_gui+set}" = set; then
3006 enableval=$enable_gui;
3007 if test "$enableval" = yes; then
3008 wx_cv_use_gui='wxUSE_GUI=yes'
3009 else
3010 wx_cv_use_gui='wxUSE_GUI=no'
3011 fi
3012
3013 else
3014
3015 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3016
3017 fi
3018
3019
3020 eval "$wx_cv_use_gui"
3021
3022 if test x"$enablestring" = xdisable; then
3023 if test $wxUSE_GUI = no; then
3024 result=yes
3025 else
3026 result=no
3027 fi
3028 else
3029 result=$wxUSE_GUI
3030 fi
3031
3032 { echo "$as_me:$LINENO: result: $result" >&5
3033 echo "${ECHO_T}$result" >&6; }
3034
3035
3036 enablestring=
3037 defaultval=
3038 if test -z "$defaultval"; then
3039 if test x"$enablestring" = xdisable; then
3040 defaultval=yes
3041 else
3042 defaultval=no
3043 fi
3044 fi
3045
3046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3047 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3048 # Check whether --enable-monolithic was given.
3049 if test "${enable_monolithic+set}" = set; then
3050 enableval=$enable_monolithic;
3051 if test "$enableval" = yes; then
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3053 else
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3055 fi
3056
3057 else
3058
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3060
3061 fi
3062
3063
3064 eval "$wx_cv_use_monolithic"
3065
3066 if test x"$enablestring" = xdisable; then
3067 if test $wxUSE_MONOLITHIC = no; then
3068 result=yes
3069 else
3070 result=no
3071 fi
3072 else
3073 result=$wxUSE_MONOLITHIC
3074 fi
3075
3076 { echo "$as_me:$LINENO: result: $result" >&5
3077 echo "${ECHO_T}$result" >&6; }
3078
3079
3080 enablestring=
3081 defaultval=
3082 if test -z "$defaultval"; then
3083 if test x"$enablestring" = xdisable; then
3084 defaultval=yes
3085 else
3086 defaultval=no
3087 fi
3088 fi
3089
3090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3091 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3092 # Check whether --enable-plugins was given.
3093 if test "${enable_plugins+set}" = set; then
3094 enableval=$enable_plugins;
3095 if test "$enableval" = yes; then
3096 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3097 else
3098 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3099 fi
3100
3101 else
3102
3103 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3104
3105 fi
3106
3107
3108 eval "$wx_cv_use_plugins"
3109
3110 if test x"$enablestring" = xdisable; then
3111 if test $wxUSE_PLUGINS = no; then
3112 result=yes
3113 else
3114 result=no
3115 fi
3116 else
3117 result=$wxUSE_PLUGINS
3118 fi
3119
3120 { echo "$as_me:$LINENO: result: $result" >&5
3121 echo "${ECHO_T}$result" >&6; }
3122
3123
3124 withstring=without
3125 defaultval=$wxUSE_ALL_FEATURES
3126 if test -z "$defaultval"; then
3127 if test x"$withstring" = xwithout; then
3128 defaultval=yes
3129 else
3130 defaultval=no
3131 fi
3132 fi
3133 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3134 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3135
3136 # Check whether --with-subdirs was given.
3137 if test "${with_subdirs+set}" = set; then
3138 withval=$with_subdirs;
3139 if test "$withval" = yes; then
3140 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3141 else
3142 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3143 fi
3144
3145 else
3146
3147 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3148
3149 fi
3150
3151
3152 eval "$wx_cv_use_subdirs"
3153
3154 if test x"$withstring" = xwithout; then
3155 if test $wxWITH_SUBDIRS = yes; then
3156 result=no
3157 else
3158 result=yes
3159 fi
3160 else
3161 result=$wxWITH_SUBDIRS
3162 fi
3163
3164 { echo "$as_me:$LINENO: result: $result" >&5
3165 echo "${ECHO_T}$result" >&6; }
3166
3167
3168 # Check whether --with-flavour was given.
3169 if test "${with_flavour+set}" = set; then
3170 withval=$with_flavour; WX_FLAVOUR="$withval"
3171 fi
3172
3173
3174 enablestring=
3175 defaultval=
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3178 defaultval=yes
3179 else
3180 defaultval=no
3181 fi
3182 fi
3183
3184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3186 # Check whether --enable-official_build was given.
3187 if test "${enable_official_build+set}" = set; then
3188 enableval=$enable_official_build;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3191 else
3192 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3193 fi
3194
3195 else
3196
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3198
3199 fi
3200
3201
3202 eval "$wx_cv_use_official_build"
3203
3204 if test x"$enablestring" = xdisable; then
3205 if test $wxUSE_OFFICIAL_BUILD = no; then
3206 result=yes
3207 else
3208 result=no
3209 fi
3210 else
3211 result=$wxUSE_OFFICIAL_BUILD
3212 fi
3213
3214 { echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3216
3217 # Check whether --enable-vendor was given.
3218 if test "${enable_vendor+set}" = set; then
3219 enableval=$enable_vendor; VENDOR="$enableval"
3220 fi
3221
3222 if test "x$VENDOR" = "x"; then
3223 VENDOR="custom"
3224 fi
3225
3226
3227 enablestring=disable
3228 defaultval=
3229 if test -z "$defaultval"; then
3230 if test x"$enablestring" = xdisable; then
3231 defaultval=yes
3232 else
3233 defaultval=no
3234 fi
3235 fi
3236
3237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3238 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3239 # Check whether --enable-all-features was given.
3240 if test "${enable_all_features+set}" = set; then
3241 enableval=$enable_all_features;
3242 if test "$enableval" = yes; then
3243 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3244 else
3245 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3246 fi
3247
3248 else
3249
3250 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3251
3252 fi
3253
3254
3255 eval "$wx_cv_use_all_features"
3256
3257 if test x"$enablestring" = xdisable; then
3258 if test $wxUSE_ALL_FEATURES = no; then
3259 result=yes
3260 else
3261 result=no
3262 fi
3263 else
3264 result=$wxUSE_ALL_FEATURES
3265 fi
3266
3267 { echo "$as_me:$LINENO: result: $result" >&5
3268 echo "${ECHO_T}$result" >&6; }
3269
3270
3271 if test "$wxUSE_ALL_FEATURES" = "no"; then
3272 DEFAULT_wxUSE_MEDIACTRL=no
3273 fi
3274
3275
3276 if test "$wxUSE_GUI" = "yes"; then
3277
3278
3279 enablestring=
3280 defaultval=
3281 if test -z "$defaultval"; then
3282 if test x"$enablestring" = xdisable; then
3283 defaultval=yes
3284 else
3285 defaultval=no
3286 fi
3287 fi
3288
3289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3290 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3291 # Check whether --enable-universal was given.
3292 if test "${enable_universal+set}" = set; then
3293 enableval=$enable_universal;
3294 if test "$enableval" = yes; then
3295 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3296 else
3297 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3298 fi
3299
3300 else
3301
3302 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3303
3304 fi
3305
3306
3307 eval "$wx_cv_use_universal"
3308
3309 if test x"$enablestring" = xdisable; then
3310 if test $wxUSE_UNIVERSAL = no; then
3311 result=yes
3312 else
3313 result=no
3314 fi
3315 else
3316 result=$wxUSE_UNIVERSAL
3317 fi
3318
3319 { echo "$as_me:$LINENO: result: $result" >&5
3320 echo "${ECHO_T}$result" >&6; }
3321
3322 if test "$wxUSE_UNIVERSAL" = "yes"; then
3323
3324 # Check whether --with-themes was given.
3325 if test "${with_themes+set}" = set; then
3326 withval=$with_themes; wxUNIV_THEMES="$withval"
3327 fi
3328
3329 fi
3330
3331
3332 # Check whether --with-gtk was given.
3333 if test "${with_gtk+set}" = set; then
3334 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-motif was given.
3339 if test "${with_motif+set}" = set; then
3340 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-osx_carbon was given.
3345 if test "${with_osx_carbon+set}" = set; then
3346 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-osx_cocoa was given.
3351 if test "${with_osx_cocoa+set}" = set; then
3352 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-osx_iphone was given.
3357 if test "${with_osx_iphone+set}" = set; then
3358 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-osx was given.
3363 if test "${with_osx+set}" = set; then
3364 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-carbon was given.
3369 if test "${with_carbon+set}" = set; then
3370 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-cocoa was given.
3375 if test "${with_cocoa+set}" = set; then
3376 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-iphone was given.
3381 if test "${with_iphone+set}" = set; then
3382 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-mac was given.
3387 if test "${with_mac+set}" = set; then
3388 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-old_cocoa was given.
3393 if test "${with_old_cocoa+set}" = set; then
3394 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 # Check whether --with-wine was given.
3399 if test "${with_wine+set}" = set; then
3400 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3401 fi
3402
3403
3404 # Check whether --with-msw was given.
3405 if test "${with_msw+set}" = set; then
3406 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-pm was given.
3411 if test "${with_pm+set}" = set; then
3412 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3413 fi
3414
3415
3416 # Check whether --with-mgl was given.
3417 if test "${with_mgl+set}" = set; then
3418 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3419 fi
3420
3421
3422 # Check whether --with-directfb was given.
3423 if test "${with_directfb+set}" = set; then
3424 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-microwin was given.
3429 if test "${with_microwin+set}" = set; then
3430 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 # Check whether --with-x11 was given.
3435 if test "${with_x11+set}" = set; then
3436 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3437 fi
3438
3439
3440 enablestring=
3441 defaultval=
3442 if test -z "$defaultval"; then
3443 if test x"$enablestring" = xdisable; then
3444 defaultval=yes
3445 else
3446 defaultval=no
3447 fi
3448 fi
3449
3450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3451 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3452 # Check whether --enable-nanox was given.
3453 if test "${enable_nanox+set}" = set; then
3454 enableval=$enable_nanox;
3455 if test "$enableval" = yes; then
3456 wx_cv_use_nanox='wxUSE_NANOX=yes'
3457 else
3458 wx_cv_use_nanox='wxUSE_NANOX=no'
3459 fi
3460
3461 else
3462
3463 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3464
3465 fi
3466
3467
3468 eval "$wx_cv_use_nanox"
3469
3470 if test x"$enablestring" = xdisable; then
3471 if test $wxUSE_NANOX = no; then
3472 result=yes
3473 else
3474 result=no
3475 fi
3476 else
3477 result=$wxUSE_NANOX
3478 fi
3479
3480 { echo "$as_me:$LINENO: result: $result" >&5
3481 echo "${ECHO_T}$result" >&6; }
3482
3483
3484 # Check whether --enable-gtk2 was given.
3485 if test "${enable_gtk2+set}" = set; then
3486 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3487 fi
3488
3489
3490 enablestring=
3491 defaultval=
3492 if test -z "$defaultval"; then
3493 if test x"$enablestring" = xdisable; then
3494 defaultval=yes
3495 else
3496 defaultval=no
3497 fi
3498 fi
3499
3500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3502 # Check whether --enable-gpe was given.
3503 if test "${enable_gpe+set}" = set; then
3504 enableval=$enable_gpe;
3505 if test "$enableval" = yes; then
3506 wx_cv_use_gpe='wxUSE_GPE=yes'
3507 else
3508 wx_cv_use_gpe='wxUSE_GPE=no'
3509 fi
3510
3511 else
3512
3513 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3514
3515 fi
3516
3517
3518 eval "$wx_cv_use_gpe"
3519
3520 if test x"$enablestring" = xdisable; then
3521 if test $wxUSE_GPE = no; then
3522 result=yes
3523 else
3524 result=no
3525 fi
3526 else
3527 result=$wxUSE_GPE
3528 fi
3529
3530 { echo "$as_me:$LINENO: result: $result" >&5
3531 echo "${ECHO_T}$result" >&6; }
3532
3533
3534
3535 { echo "$as_me:$LINENO: checking for toolkit" >&5
3536 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3537
3538
3539
3540 # In Wine, we need to default to MSW, not GTK or MOTIF
3541 if test "$wxUSE_WINE" = "yes"; then
3542 DEFAULT_DEFAULT_wxUSE_GTK=0
3543 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3544 DEFAULT_DEFAULT_wxUSE_MSW=1
3545 wxUSE_SHARED=no
3546 CC=${CC:-winegcc}
3547 CXX=${CXX:-wineg++}
3548 fi
3549
3550
3551 if test "$wxUSE_GUI" = "yes"; then
3552
3553 if test "$USE_BEOS" = 1; then
3554 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3555 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3556 { (exit 1); exit 1; }; }
3557 fi
3558
3559 if test "$TOOLKIT_GIVEN" = 1; then
3560 for toolkit in $ALL_TOOLKITS; do
3561 var=wxUSE_$toolkit
3562 eval "value=\$${var}"
3563 if test "x$value" = "xno"; then
3564 eval "$var=0"
3565 elif test "x$value" != "x"; then
3566 eval "$var=1"
3567 fi
3568
3569 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3570 eval "wx${toolkit}_VERSION=$value"
3571 fi
3572 done
3573 else
3574 for toolkit in $ALL_TOOLKITS; do
3575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3576 eval "wxUSE_$toolkit=\$${var}"
3577 done
3578 fi
3579
3580 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3581 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3582 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3583
3584 case "${host}" in
3585 *-pc-os2_emx | *-pc-os2-emx )
3586 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3587 esac
3588
3589 case "$NUM_TOOLKITS" in
3590 1)
3591 ;;
3592 0)
3593 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3594 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3595 { (exit 1); exit 1; }; }
3596 ;;
3597 *)
3598 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3599 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3600 { (exit 1); exit 1; }; }
3601 esac
3602
3603 # to be removed when --disable-gtk2 isn't needed
3604 if test "x$wxUSE_GTK2" = "xyes"; then
3605 wxGTK_VERSION=2
3606 elif test "x$wxUSE_GTK2" = "xno"; then
3607 wxGTK_VERSION=1
3608 fi
3609
3610 for toolkit in $ALL_TOOLKITS; do
3611 var=wxUSE_$toolkit
3612 eval "value=\$${var}"
3613 if test "$value" = 1; then
3614 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3615 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3616 echo "${ECHO_T}$toolkit_echo" >&6; }
3617 fi
3618 done
3619 else
3620 if test "x$host_alias" != "x"; then
3621 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3622 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3623 else
3624 { echo "$as_me:$LINENO: result: base only" >&5
3625 echo "${ECHO_T}base only" >&6; }
3626 fi
3627 fi
3628
3629 wxUSE_MAC=0
3630 if test "$wxUSE_OSX_CARBON" = 1 \
3631 -o "$wxUSE_OSX_COCOA" = 1 \
3632 -o "$wxUSE_OSX_IPHONE" = 1; then
3633 wxUSE_MAC=1
3634 fi
3635
3636
3637
3638 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3639 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3640
3641 # Check whether --with-libpng was given.
3642 if test "${with_libpng+set}" = set; then
3643 withval=$with_libpng;
3644 if test "$withval" = yes; then
3645 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3646 elif test "$withval" = no; then
3647 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3648 elif test "$withval" = sys; then
3649 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3650 elif test "$withval" = builtin; then
3651 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3652 else
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3656 fi
3657
3658 else
3659
3660 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3661
3662 fi
3663
3664
3665 eval "$wx_cv_use_libpng"
3666
3667 if test "$wxUSE_LIBPNG" = yes; then
3668 { echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6; }
3670 elif test "$wxUSE_LIBPNG" = no; then
3671 { echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6; }
3673 elif test "$wxUSE_LIBPNG" = sys; then
3674 { echo "$as_me:$LINENO: result: system version" >&5
3675 echo "${ECHO_T}system version" >&6; }
3676 elif test "$wxUSE_LIBPNG" = builtin; then
3677 { echo "$as_me:$LINENO: result: builtin version" >&5
3678 echo "${ECHO_T}builtin version" >&6; }
3679 else
3680 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3681 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3682 { (exit 1); exit 1; }; }
3683 fi
3684
3685
3686 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3687 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3688
3689 # Check whether --with-libjpeg was given.
3690 if test "${with_libjpeg+set}" = set; then
3691 withval=$with_libjpeg;
3692 if test "$withval" = yes; then
3693 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3694 elif test "$withval" = no; then
3695 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3696 elif test "$withval" = sys; then
3697 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3698 elif test "$withval" = builtin; then
3699 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3700 else
3701 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3702 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3703 { (exit 1); exit 1; }; }
3704 fi
3705
3706 else
3707
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3709
3710 fi
3711
3712
3713 eval "$wx_cv_use_libjpeg"
3714
3715 if test "$wxUSE_LIBJPEG" = yes; then
3716 { echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6; }
3718 elif test "$wxUSE_LIBJPEG" = no; then
3719 { echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6; }
3721 elif test "$wxUSE_LIBJPEG" = sys; then
3722 { echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6; }
3724 elif test "$wxUSE_LIBJPEG" = builtin; then
3725 { echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6; }
3727 else
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3731 fi
3732
3733
3734 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3735 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3736
3737 # Check whether --with-libtiff was given.
3738 if test "${with_libtiff+set}" = set; then
3739 withval=$with_libtiff;
3740 if test "$withval" = yes; then
3741 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3742 elif test "$withval" = no; then
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3744 elif test "$withval" = sys; then
3745 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3746 elif test "$withval" = builtin; then
3747 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3748 else
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3752 fi
3753
3754 else
3755
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3757
3758 fi
3759
3760
3761 eval "$wx_cv_use_libtiff"
3762
3763 if test "$wxUSE_LIBTIFF" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBTIFF" = no; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBTIFF" = sys; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBTIFF" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780
3781
3782 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3783 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3784
3785 # Check whether --with-libxpm was given.
3786 if test "${with_libxpm+set}" = set; then
3787 withval=$with_libxpm;
3788 if test "$withval" = yes; then
3789 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3790 elif test "$withval" = no; then
3791 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3792 elif test "$withval" = sys; then
3793 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3794 elif test "$withval" = builtin; then
3795 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3796 else
3797 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3798 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3799 { (exit 1); exit 1; }; }
3800 fi
3801
3802 else
3803
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3805
3806 fi
3807
3808
3809 eval "$wx_cv_use_libxpm"
3810
3811 if test "$wxUSE_LIBXPM" = yes; then
3812 { echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6; }
3814 elif test "$wxUSE_LIBXPM" = no; then
3815 { echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6; }
3817 elif test "$wxUSE_LIBXPM" = sys; then
3818 { echo "$as_me:$LINENO: result: system version" >&5
3819 echo "${ECHO_T}system version" >&6; }
3820 elif test "$wxUSE_LIBXPM" = builtin; then
3821 { echo "$as_me:$LINENO: result: builtin version" >&5
3822 echo "${ECHO_T}builtin version" >&6; }
3823 else
3824 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3825 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3826 { (exit 1); exit 1; }; }
3827 fi
3828
3829
3830 withstring=
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3834 defaultval=yes
3835 else
3836 defaultval=no
3837 fi
3838 fi
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3841
3842 # Check whether --with-libiconv was given.
3843 if test "${with_libiconv+set}" = set; then
3844 withval=$with_libiconv;
3845 if test "$withval" = yes; then
3846 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3847 else
3848 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3849 fi
3850
3851 else
3852
3853 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libiconv"
3859
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_LIBICONV = yes; then
3862 result=no
3863 else
3864 result=yes
3865 fi
3866 else
3867 result=$wxUSE_LIBICONV
3868 fi
3869
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3872
3873
3874 withstring=
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3878 defaultval=yes
3879 else
3880 defaultval=no
3881 fi
3882 fi
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3885
3886 # Check whether --with-libmspack was given.
3887 if test "${with_libmspack+set}" = set; then
3888 withval=$with_libmspack;
3889 if test "$withval" = yes; then
3890 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3891 else
3892 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3893 fi
3894
3895 else
3896
3897 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3898
3899 fi
3900
3901
3902 eval "$wx_cv_use_libmspack"
3903
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_LIBMSPACK = yes; then
3906 result=no
3907 else
3908 result=yes
3909 fi
3910 else
3911 result=$wxUSE_LIBMSPACK
3912 fi
3913
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3916
3917
3918 withstring=without
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3922 defaultval=yes
3923 else
3924 defaultval=no
3925 fi
3926 fi
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3929
3930 # Check whether --with-gtkprint was given.
3931 if test "${with_gtkprint+set}" = set; then
3932 withval=$with_gtkprint;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3935 else
3936 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3937 fi
3938
3939 else
3940
3941 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3942
3943 fi
3944
3945
3946 eval "$wx_cv_use_gtkprint"
3947
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_GTKPRINT = yes; then
3950 result=no
3951 else
3952 result=yes
3953 fi
3954 else
3955 result=$wxUSE_GTKPRINT
3956 fi
3957
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3960
3961
3962 withstring=without
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3966 defaultval=yes
3967 else
3968 defaultval=no
3969 fi
3970 fi
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3973
3974 # Check whether --with-gnomeprint was given.
3975 if test "${with_gnomeprint+set}" = set; then
3976 withval=$with_gnomeprint;
3977 if test "$withval" = yes; then
3978 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3979 else
3980 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3981 fi
3982
3983 else
3984
3985 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3986
3987 fi
3988
3989
3990 eval "$wx_cv_use_gnomeprint"
3991
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBGNOMEPRINT = yes; then
3994 result=no
3995 else
3996 result=yes
3997 fi
3998 else
3999 result=$wxUSE_LIBGNOMEPRINT
4000 fi
4001
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4004
4005
4006 withstring=
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4010 defaultval=yes
4011 else
4012 defaultval=no
4013 fi
4014 fi
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4017
4018 # Check whether --with-gnomevfs was given.
4019 if test "${with_gnomevfs+set}" = set; then
4020 withval=$with_gnomevfs;
4021 if test "$withval" = yes; then
4022 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4023 else
4024 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4025 fi
4026
4027 else
4028
4029 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4030
4031 fi
4032
4033
4034 eval "$wx_cv_use_gnomevfs"
4035
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_LIBGNOMEVFS = yes; then
4038 result=no
4039 else
4040 result=yes
4041 fi
4042 else
4043 result=$wxUSE_LIBGNOMEVFS
4044 fi
4045
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4048
4049
4050 withstring=
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4054 defaultval=yes
4055 else
4056 defaultval=no
4057 fi
4058 fi
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4061
4062 # Check whether --with-hildon was given.
4063 if test "${with_hildon+set}" = set; then
4064 withval=$with_hildon;
4065 if test "$withval" = yes; then
4066 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4067 else
4068 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4069 fi
4070
4071 else
4072
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_hildon"
4079
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_LIBHILDON = yes; then
4082 result=no
4083 else
4084 result=yes
4085 fi
4086 else
4087 result=$wxUSE_LIBHILDON
4088 fi
4089
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4092
4093
4094 withstring=
4095 defaultval=$wxUSE_ALL_FEATURES
4096 if test -z "$defaultval"; then
4097 if test x"$withstring" = xwithout; then
4098 defaultval=yes
4099 else
4100 defaultval=no
4101 fi
4102 fi
4103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4104 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4105
4106 # Check whether --with-opengl was given.
4107 if test "${with_opengl+set}" = set; then
4108 withval=$with_opengl;
4109 if test "$withval" = yes; then
4110 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4111 else
4112 wx_cv_use_opengl='wxUSE_OPENGL=no'
4113 fi
4114
4115 else
4116
4117 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4118
4119 fi
4120
4121
4122 eval "$wx_cv_use_opengl"
4123
4124 if test x"$withstring" = xwithout; then
4125 if test $wxUSE_OPENGL = yes; then
4126 result=no
4127 else
4128 result=yes
4129 fi
4130 else
4131 result=$wxUSE_OPENGL
4132 fi
4133
4134 { echo "$as_me:$LINENO: result: $result" >&5
4135 echo "${ECHO_T}$result" >&6; }
4136
4137
4138 fi
4139
4140
4141 withstring=
4142 defaultval=$wxUSE_ALL_FEATURES
4143 if test -z "$defaultval"; then
4144 if test x"$withstring" = xwithout; then
4145 defaultval=yes
4146 else
4147 defaultval=no
4148 fi
4149 fi
4150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4151 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4152
4153 # Check whether --with-dmalloc was given.
4154 if test "${with_dmalloc+set}" = set; then
4155 withval=$with_dmalloc;
4156 if test "$withval" = yes; then
4157 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4158 else
4159 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4160 fi
4161
4162 else
4163
4164 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4165
4166 fi
4167
4168
4169 eval "$wx_cv_use_dmalloc"
4170
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_DMALLOC = yes; then
4173 result=no
4174 else
4175 result=yes
4176 fi
4177 else
4178 result=$wxUSE_DMALLOC
4179 fi
4180
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4183
4184
4185 withstring=
4186 defaultval=$wxUSE_ALL_FEATURES
4187 if test -z "$defaultval"; then
4188 if test x"$withstring" = xwithout; then
4189 defaultval=yes
4190 else
4191 defaultval=no
4192 fi
4193 fi
4194 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4195 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4196
4197 # Check whether --with-sdl was given.
4198 if test "${with_sdl+set}" = set; then
4199 withval=$with_sdl;
4200 if test "$withval" = yes; then
4201 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4202 else
4203 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4204 fi
4205
4206 else
4207
4208 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4209
4210 fi
4211
4212
4213 eval "$wx_cv_use_sdl"
4214
4215 if test x"$withstring" = xwithout; then
4216 if test $wxUSE_LIBSDL = yes; then
4217 result=no
4218 else
4219 result=yes
4220 fi
4221 else
4222 result=$wxUSE_LIBSDL
4223 fi
4224
4225 { echo "$as_me:$LINENO: result: $result" >&5
4226 echo "${ECHO_T}$result" >&6; }
4227
4228
4229 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4231
4232 # Check whether --with-regex was given.
4233 if test "${with_regex+set}" = set; then
4234 withval=$with_regex;
4235 if test "$withval" = yes; then
4236 wx_cv_use_regex='wxUSE_REGEX=yes'
4237 elif test "$withval" = no; then
4238 wx_cv_use_regex='wxUSE_REGEX=no'
4239 elif test "$withval" = sys; then
4240 wx_cv_use_regex='wxUSE_REGEX=sys'
4241 elif test "$withval" = builtin; then
4242 wx_cv_use_regex='wxUSE_REGEX=builtin'
4243 else
4244 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4245 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4246 { (exit 1); exit 1; }; }
4247 fi
4248
4249 else
4250
4251 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4252
4253 fi
4254
4255
4256 eval "$wx_cv_use_regex"
4257
4258 if test "$wxUSE_REGEX" = yes; then
4259 { echo "$as_me:$LINENO: result: yes" >&5
4260 echo "${ECHO_T}yes" >&6; }
4261 elif test "$wxUSE_REGEX" = no; then
4262 { echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6; }
4264 elif test "$wxUSE_REGEX" = sys; then
4265 { echo "$as_me:$LINENO: result: system version" >&5
4266 echo "${ECHO_T}system version" >&6; }
4267 elif test "$wxUSE_REGEX" = builtin; then
4268 { echo "$as_me:$LINENO: result: builtin version" >&5
4269 echo "${ECHO_T}builtin version" >&6; }
4270 else
4271 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4272 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4273 { (exit 1); exit 1; }; }
4274 fi
4275
4276
4277 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4278 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4279
4280 # Check whether --with-zlib was given.
4281 if test "${with_zlib+set}" = set; then
4282 withval=$with_zlib;
4283 if test "$withval" = yes; then
4284 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4285 elif test "$withval" = no; then
4286 wx_cv_use_zlib='wxUSE_ZLIB=no'
4287 elif test "$withval" = sys; then
4288 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4289 elif test "$withval" = builtin; then
4290 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4291 else
4292 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4293 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4294 { (exit 1); exit 1; }; }
4295 fi
4296
4297 else
4298
4299 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4300
4301 fi
4302
4303
4304 eval "$wx_cv_use_zlib"
4305
4306 if test "$wxUSE_ZLIB" = yes; then
4307 { echo "$as_me:$LINENO: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6; }
4309 elif test "$wxUSE_ZLIB" = no; then
4310 { echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6; }
4312 elif test "$wxUSE_ZLIB" = sys; then
4313 { echo "$as_me:$LINENO: result: system version" >&5
4314 echo "${ECHO_T}system version" >&6; }
4315 elif test "$wxUSE_ZLIB" = builtin; then
4316 { echo "$as_me:$LINENO: result: builtin version" >&5
4317 echo "${ECHO_T}builtin version" >&6; }
4318 else
4319 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4320 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4321 { (exit 1); exit 1; }; }
4322 fi
4323
4324
4325 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4326 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4327
4328 # Check whether --with-expat was given.
4329 if test "${with_expat+set}" = set; then
4330 withval=$with_expat;
4331 if test "$withval" = yes; then
4332 wx_cv_use_expat='wxUSE_EXPAT=yes'
4333 elif test "$withval" = no; then
4334 wx_cv_use_expat='wxUSE_EXPAT=no'
4335 elif test "$withval" = sys; then
4336 wx_cv_use_expat='wxUSE_EXPAT=sys'
4337 elif test "$withval" = builtin; then
4338 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4339 else
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4343 fi
4344
4345 else
4346
4347 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4348
4349 fi
4350
4351
4352 eval "$wx_cv_use_expat"
4353
4354 if test "$wxUSE_EXPAT" = yes; then
4355 { echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6; }
4357 elif test "$wxUSE_EXPAT" = no; then
4358 { echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6; }
4360 elif test "$wxUSE_EXPAT" = sys; then
4361 { echo "$as_me:$LINENO: result: system version" >&5
4362 echo "${ECHO_T}system version" >&6; }
4363 elif test "$wxUSE_EXPAT" = builtin; then
4364 { echo "$as_me:$LINENO: result: builtin version" >&5
4365 echo "${ECHO_T}builtin version" >&6; }
4366 else
4367 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4368 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4369 { (exit 1); exit 1; }; }
4370 fi
4371
4372
4373 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4374 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4375
4376 # Check whether --with-macosx-sdk was given.
4377 if test "${with_macosx_sdk+set}" = set; then
4378 withval=$with_macosx_sdk;
4379 wxUSE_MACOSX_SDK=$withval
4380 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4381
4382 fi
4383
4384 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4385 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4386
4387 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4388 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4389
4390 # Check whether --with-macosx-version-min was given.
4391 if test "${with_macosx_version_min+set}" = set; then
4392 withval=$with_macosx_version_min;
4393 wxUSE_MACOSX_VERSION_MIN=$withval
4394 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4395
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4399 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4400
4401
4402 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4403 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4404 # Check whether --enable-debug was given.
4405 if test "${enable_debug+set}" = set; then
4406 enableval=$enable_debug;
4407 if test "$enableval" = yes; then
4408 wxUSE_DEBUG=yes
4409 elif test "$enableval" = no; then
4410 wxUSE_DEBUG=no
4411 elif test "$enableval" = max; then
4412 wxUSE_DEBUG=yes
4413 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4414 else
4415 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4416 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4417 { (exit 1); exit 1; }; }
4418 fi
4419
4420 else
4421 wxUSE_DEBUG=default
4422
4423 fi
4424
4425
4426 case "$wxUSE_DEBUG" in
4427 yes)
4428 DEFAULT_wxUSE_DEBUG_FLAG=yes
4429 DEFAULT_wxUSE_DEBUG_INFO=yes
4430
4431 DEFAULT_wxUSE_OPTIMISE=no
4432 ;;
4433
4434 no)
4435 DEFAULT_wxUSE_DEBUG_FLAG=no
4436 DEFAULT_wxUSE_DEBUG_INFO=no
4437 ;;
4438
4439 default)
4440 DEFAULT_wxUSE_DEBUG_FLAG=yes
4441 DEFAULT_wxUSE_DEBUG_INFO=no
4442 ;;
4443 esac
4444
4445
4446 enablestring=disable
4447 defaultval=
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4450 defaultval=yes
4451 else
4452 defaultval=no
4453 fi
4454 fi
4455
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4458 # Check whether --enable-debug_flag was given.
4459 if test "${enable_debug_flag+set}" = set; then
4460 enableval=$enable_debug_flag;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4463 else
4464 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4465 fi
4466
4467 else
4468
4469 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4470
4471 fi
4472
4473
4474 eval "$wx_cv_use_debug_flag"
4475
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_DEBUG_FLAG = no; then
4478 result=yes
4479 else
4480 result=no
4481 fi
4482 else
4483 result=$wxUSE_DEBUG_FLAG
4484 fi
4485
4486 { echo "$as_me:$LINENO: result: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4488
4489
4490 enablestring=
4491 defaultval=
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4494 defaultval=yes
4495 else
4496 defaultval=no
4497 fi
4498 fi
4499
4500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4501 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4502 # Check whether --enable-debug_info was given.
4503 if test "${enable_debug_info+set}" = set; then
4504 enableval=$enable_debug_info;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4507 else
4508 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4509 fi
4510
4511 else
4512
4513 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4514
4515 fi
4516
4517
4518 eval "$wx_cv_use_debug_info"
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_DEBUG_INFO = no; then
4522 result=yes
4523 else
4524 result=no
4525 fi
4526 else
4527 result=$wxUSE_DEBUG_INFO
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534
4535
4536 enablestring=
4537 defaultval=
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4540 defaultval=yes
4541 else
4542 defaultval=no
4543 fi
4544 fi
4545
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4548 # Check whether --enable-debug_gdb was given.
4549 if test "${enable_debug_gdb+set}" = set; then
4550 enableval=$enable_debug_gdb;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4553 else
4554 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4555 fi
4556
4557 else
4558
4559 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4560
4561 fi
4562
4563
4564 eval "$wx_cv_use_debug_gdb"
4565
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_DEBUG_GDB = no; then
4568 result=yes
4569 else
4570 result=no
4571 fi
4572 else
4573 result=$wxUSE_DEBUG_GDB
4574 fi
4575
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4578
4579
4580 enablestring=
4581 defaultval=
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4584 defaultval=yes
4585 else
4586 defaultval=no
4587 fi
4588 fi
4589
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4592 # Check whether --enable-debug_cntxt was given.
4593 if test "${enable_debug_cntxt+set}" = set; then
4594 enableval=$enable_debug_cntxt;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4597 else
4598 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4599 fi
4600
4601 else
4602
4603 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4604
4605 fi
4606
4607
4608 eval "$wx_cv_use_debug_cntxt"
4609
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_DEBUG_CONTEXT = no; then
4612 result=yes
4613 else
4614 result=no
4615 fi
4616 else
4617 result=$wxUSE_DEBUG_CONTEXT
4618 fi
4619
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4622
4623
4624 enablestring=
4625 defaultval=
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4628 defaultval=yes
4629 else
4630 defaultval=no
4631 fi
4632 fi
4633
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4636 # Check whether --enable-mem_tracing was given.
4637 if test "${enable_mem_tracing+set}" = set; then
4638 enableval=$enable_mem_tracing;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4641 else
4642 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4643 fi
4644
4645 else
4646
4647 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4648
4649 fi
4650
4651
4652 eval "$wx_cv_use_mem_tracing"
4653
4654 if test x"$enablestring" = xdisable; then
4655 if test $wxUSE_MEM_TRACING = no; then
4656 result=yes
4657 else
4658 result=no
4659 fi
4660 else
4661 result=$wxUSE_MEM_TRACING
4662 fi
4663
4664 { echo "$as_me:$LINENO: result: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4666
4667
4668
4669
4670 enablestring=disable
4671 defaultval=
4672 if test -z "$defaultval"; then
4673 if test x"$enablestring" = xdisable; then
4674 defaultval=yes
4675 else
4676 defaultval=no
4677 fi
4678 fi
4679
4680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4682 # Check whether --enable-shared was given.
4683 if test "${enable_shared+set}" = set; then
4684 enableval=$enable_shared;
4685 if test "$enableval" = yes; then
4686 wx_cv_use_shared='wxUSE_SHARED=yes'
4687 else
4688 wx_cv_use_shared='wxUSE_SHARED=no'
4689 fi
4690
4691 else
4692
4693 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4694
4695 fi
4696
4697
4698 eval "$wx_cv_use_shared"
4699
4700 if test x"$enablestring" = xdisable; then
4701 if test $wxUSE_SHARED = no; then
4702 result=yes
4703 else
4704 result=no
4705 fi
4706 else
4707 result=$wxUSE_SHARED
4708 fi
4709
4710 { echo "$as_me:$LINENO: result: $result" >&5
4711 echo "${ECHO_T}$result" >&6; }
4712
4713
4714 enablestring=
4715 defaultval=
4716 if test -z "$defaultval"; then
4717 if test x"$enablestring" = xdisable; then
4718 defaultval=yes
4719 else
4720 defaultval=no
4721 fi
4722 fi
4723
4724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4726 # Check whether --enable-stl was given.
4727 if test "${enable_stl+set}" = set; then
4728 enableval=$enable_stl;
4729 if test "$enableval" = yes; then
4730 wx_cv_use_stl='wxUSE_STL=yes'
4731 else
4732 wx_cv_use_stl='wxUSE_STL=no'
4733 fi
4734
4735 else
4736
4737 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4738
4739 fi
4740
4741
4742 eval "$wx_cv_use_stl"
4743
4744 if test x"$enablestring" = xdisable; then
4745 if test $wxUSE_STL = no; then
4746 result=yes
4747 else
4748 result=no
4749 fi
4750 else
4751 result=$wxUSE_STL
4752 fi
4753
4754 { echo "$as_me:$LINENO: result: $result" >&5
4755 echo "${ECHO_T}$result" >&6; }
4756
4757
4758 enablestring=
4759 defaultval=
4760 if test -z "$defaultval"; then
4761 if test x"$enablestring" = xdisable; then
4762 defaultval=yes
4763 else
4764 defaultval=no
4765 fi
4766 fi
4767
4768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4770 # Check whether --enable-std_iostreams was given.
4771 if test "${enable_std_iostreams+set}" = set; then
4772 enableval=$enable_std_iostreams;
4773 if test "$enableval" = yes; then
4774 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4775 else
4776 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4777 fi
4778
4779 else
4780
4781 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4782
4783 fi
4784
4785
4786 eval "$wx_cv_use_std_iostreams"
4787
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_STD_IOSTREAM = no; then
4790 result=yes
4791 else
4792 result=no
4793 fi
4794 else
4795 result=$wxUSE_STD_IOSTREAM
4796 fi
4797
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4800
4801
4802 enablestring=
4803 defaultval=
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4806 defaultval=yes
4807 else
4808 defaultval=no
4809 fi
4810 fi
4811
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4814 # Check whether --enable-std_string was given.
4815 if test "${enable_std_string+set}" = set; then
4816 enableval=$enable_std_string;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4819 else
4820 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4821 fi
4822
4823 else
4824
4825 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4826
4827 fi
4828
4829
4830 eval "$wx_cv_use_std_string"
4831
4832 if test x"$enablestring" = xdisable; then
4833 if test $wxUSE_STD_STRING = no; then
4834 result=yes
4835 else
4836 result=no
4837 fi
4838 else
4839 result=$wxUSE_STD_STRING
4840 fi
4841
4842 { echo "$as_me:$LINENO: result: $result" >&5
4843 echo "${ECHO_T}$result" >&6; }
4844
4845
4846 enablestring=disable
4847 defaultval=
4848 if test -z "$defaultval"; then
4849 if test x"$enablestring" = xdisable; then
4850 defaultval=yes
4851 else
4852 defaultval=no
4853 fi
4854 fi
4855
4856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4858 # Check whether --enable-unicode was given.
4859 if test "${enable_unicode+set}" = set; then
4860 enableval=$enable_unicode;
4861 if test "$enableval" = yes; then
4862 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4863 else
4864 wx_cv_use_unicode='wxUSE_UNICODE=no'
4865 fi
4866
4867 else
4868
4869 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4870
4871 fi
4872
4873
4874 eval "$wx_cv_use_unicode"
4875
4876 if test x"$enablestring" = xdisable; then
4877 if test $wxUSE_UNICODE = no; then
4878 result=yes
4879 else
4880 result=no
4881 fi
4882 else
4883 result=$wxUSE_UNICODE
4884 fi
4885
4886 { echo "$as_me:$LINENO: result: $result" >&5
4887 echo "${ECHO_T}$result" >&6; }
4888
4889
4890 enablestring=
4891 defaultval=
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4894 defaultval=yes
4895 else
4896 defaultval=no
4897 fi
4898 fi
4899
4900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4902 # Check whether --enable-mslu was given.
4903 if test "${enable_mslu+set}" = set; then
4904 enableval=$enable_mslu;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4907 else
4908 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4909 fi
4910
4911 else
4912
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_mslu"
4919
4920 if test x"$enablestring" = xdisable; then
4921 if test $wxUSE_UNICODE_MSLU = no; then
4922 result=yes
4923 else
4924 result=no
4925 fi
4926 else
4927 result=$wxUSE_UNICODE_MSLU
4928 fi
4929
4930 { echo "$as_me:$LINENO: result: $result" >&5
4931 echo "${ECHO_T}$result" >&6; }
4932
4933
4934 enablestring=
4935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4937 # Check whether --enable-utf8 was given.
4938 if test "${enable_utf8+set}" = set; then
4939 enableval=$enable_utf8;
4940 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4941
4942 else
4943
4944 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4945
4946 fi
4947
4948
4949 eval "$wx_cv_use_utf8"
4950
4951 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4952 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4953
4954
4955 enablestring=
4956 defaultval=
4957 if test -z "$defaultval"; then
4958 if test x"$enablestring" = xdisable; then
4959 defaultval=yes
4960 else
4961 defaultval=no
4962 fi
4963 fi
4964
4965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4967 # Check whether --enable-utf8only was given.
4968 if test "${enable_utf8only+set}" = set; then
4969 enableval=$enable_utf8only;
4970 if test "$enableval" = yes; then
4971 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4972 else
4973 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4974 fi
4975
4976 else
4977
4978 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4979
4980 fi
4981
4982
4983 eval "$wx_cv_use_utf8only"
4984
4985 if test x"$enablestring" = xdisable; then
4986 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4987 result=yes
4988 else
4989 result=no
4990 fi
4991 else
4992 result=$wxUSE_UNICODE_UTF8_LOCALE
4993 fi
4994
4995 { echo "$as_me:$LINENO: result: $result" >&5
4996 echo "${ECHO_T}$result" >&6; }
4997
4998
4999 enablestring=
5000 defaultval=
5001 if test -z "$defaultval"; then
5002 if test x"$enablestring" = xdisable; then
5003 defaultval=yes
5004 else
5005 defaultval=no
5006 fi
5007 fi
5008
5009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5011 # Check whether --enable-extended_rtti was given.
5012 if test "${enable_extended_rtti+set}" = set; then
5013 enableval=$enable_extended_rtti;
5014 if test "$enableval" = yes; then
5015 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5016 else
5017 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5018 fi
5019
5020 else
5021
5022 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5023
5024 fi
5025
5026
5027 eval "$wx_cv_use_extended_rtti"
5028
5029 if test x"$enablestring" = xdisable; then
5030 if test $wxUSE_EXTENDED_RTTI = no; then
5031 result=yes
5032 else
5033 result=no
5034 fi
5035 else
5036 result=$wxUSE_EXTENDED_RTTI
5037 fi
5038
5039 { echo "$as_me:$LINENO: result: $result" >&5
5040 echo "${ECHO_T}$result" >&6; }
5041
5042 if test "$USE_OS2" = 1; then
5043 DEFAULT_wxUSE_OMF=no
5044
5045 enablestring=
5046 defaultval=
5047 if test -z "$defaultval"; then
5048 if test x"$enablestring" = xdisable; then
5049 defaultval=yes
5050 else
5051 defaultval=no
5052 fi
5053 fi
5054
5055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5057 # Check whether --enable-omf was given.
5058 if test "${enable_omf+set}" = set; then
5059 enableval=$enable_omf;
5060 if test "$enableval" = yes; then
5061 wx_cv_use_omf='wxUSE_OMF=yes'
5062 else
5063 wx_cv_use_omf='wxUSE_OMF=no'
5064 fi
5065
5066 else
5067
5068 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5069
5070 fi
5071
5072
5073 eval "$wx_cv_use_omf"
5074
5075 if test x"$enablestring" = xdisable; then
5076 if test $wxUSE_OMF = no; then
5077 result=yes
5078 else
5079 result=no
5080 fi
5081 else
5082 result=$wxUSE_OMF
5083 fi
5084
5085 { echo "$as_me:$LINENO: result: $result" >&5
5086 echo "${ECHO_T}$result" >&6; }
5087
5088 fi
5089
5090
5091 enablestring=disable
5092 defaultval=
5093 if test -z "$defaultval"; then
5094 if test x"$enablestring" = xdisable; then
5095 defaultval=yes
5096 else
5097 defaultval=no
5098 fi
5099 fi
5100
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5103 # Check whether --enable-optimise was given.
5104 if test "${enable_optimise+set}" = set; then
5105 enableval=$enable_optimise;
5106 if test "$enableval" = yes; then
5107 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5108 else
5109 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5110 fi
5111
5112 else
5113
5114 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5115
5116 fi
5117
5118
5119 eval "$wx_cv_use_optimise"
5120
5121 if test x"$enablestring" = xdisable; then
5122 if test $wxUSE_OPTIMISE = no; then
5123 result=yes
5124 else
5125 result=no
5126 fi
5127 else
5128 result=$wxUSE_OPTIMISE
5129 fi
5130
5131 { echo "$as_me:$LINENO: result: $result" >&5
5132 echo "${ECHO_T}$result" >&6; }
5133
5134
5135
5136 enablestring=
5137 defaultval=
5138 if test -z "$defaultval"; then
5139 if test x"$enablestring" = xdisable; then
5140 defaultval=yes
5141 else
5142 defaultval=no
5143 fi
5144 fi
5145
5146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5148 # Check whether --enable-profile was given.
5149 if test "${enable_profile+set}" = set; then
5150 enableval=$enable_profile;
5151 if test "$enableval" = yes; then
5152 wx_cv_use_profile='wxUSE_PROFILE=yes'
5153 else
5154 wx_cv_use_profile='wxUSE_PROFILE=no'
5155 fi
5156
5157 else
5158
5159 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5160
5161 fi
5162
5163
5164 eval "$wx_cv_use_profile"
5165
5166 if test x"$enablestring" = xdisable; then
5167 if test $wxUSE_PROFILE = no; then
5168 result=yes
5169 else
5170 result=no
5171 fi
5172 else
5173 result=$wxUSE_PROFILE
5174 fi
5175
5176 { echo "$as_me:$LINENO: result: $result" >&5
5177 echo "${ECHO_T}$result" >&6; }
5178
5179
5180 enablestring=
5181 defaultval=
5182 if test -z "$defaultval"; then
5183 if test x"$enablestring" = xdisable; then
5184 defaultval=yes
5185 else
5186 defaultval=no
5187 fi
5188 fi
5189
5190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5191 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5192 # Check whether --enable-no_rtti was given.
5193 if test "${enable_no_rtti+set}" = set; then
5194 enableval=$enable_no_rtti;
5195 if test "$enableval" = yes; then
5196 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5197 else
5198 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5199 fi
5200
5201 else
5202
5203 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5204
5205 fi
5206
5207
5208 eval "$wx_cv_use_no_rtti"
5209
5210 if test x"$enablestring" = xdisable; then
5211 if test $wxUSE_NO_RTTI = no; then
5212 result=yes
5213 else
5214 result=no
5215 fi
5216 else
5217 result=$wxUSE_NO_RTTI
5218 fi
5219
5220 { echo "$as_me:$LINENO: result: $result" >&5
5221 echo "${ECHO_T}$result" >&6; }
5222
5223
5224 enablestring=
5225 defaultval=
5226 if test -z "$defaultval"; then
5227 if test x"$enablestring" = xdisable; then
5228 defaultval=yes
5229 else
5230 defaultval=no
5231 fi
5232 fi
5233
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5236 # Check whether --enable-no_exceptions was given.
5237 if test "${enable_no_exceptions+set}" = set; then
5238 enableval=$enable_no_exceptions;
5239 if test "$enableval" = yes; then
5240 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5241 else
5242 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5243 fi
5244
5245 else
5246
5247 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5248
5249 fi
5250
5251
5252 eval "$wx_cv_use_no_exceptions"
5253
5254 if test x"$enablestring" = xdisable; then
5255 if test $wxUSE_NO_EXCEPTIONS = no; then
5256 result=yes
5257 else
5258 result=no
5259 fi
5260 else
5261 result=$wxUSE_NO_EXCEPTIONS
5262 fi
5263
5264 { echo "$as_me:$LINENO: result: $result" >&5
5265 echo "${ECHO_T}$result" >&6; }
5266
5267
5268 enablestring=
5269 defaultval=
5270 if test -z "$defaultval"; then
5271 if test x"$enablestring" = xdisable; then
5272 defaultval=yes
5273 else
5274 defaultval=no
5275 fi
5276 fi
5277
5278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5279 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5280 # Check whether --enable-permissive was given.
5281 if test "${enable_permissive+set}" = set; then
5282 enableval=$enable_permissive;
5283 if test "$enableval" = yes; then
5284 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5285 else
5286 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5287 fi
5288
5289 else
5290
5291 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5292
5293 fi
5294
5295
5296 eval "$wx_cv_use_permissive"
5297
5298 if test x"$enablestring" = xdisable; then
5299 if test $wxUSE_PERMISSIVE = no; then
5300 result=yes
5301 else
5302 result=no
5303 fi
5304 else
5305 result=$wxUSE_PERMISSIVE
5306 fi
5307
5308 { echo "$as_me:$LINENO: result: $result" >&5
5309 echo "${ECHO_T}$result" >&6; }
5310
5311
5312 enablestring=
5313 defaultval=
5314 if test -z "$defaultval"; then
5315 if test x"$enablestring" = xdisable; then
5316 defaultval=yes
5317 else
5318 defaultval=no
5319 fi
5320 fi
5321
5322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5323 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5324 # Check whether --enable-no_deps was given.
5325 if test "${enable_no_deps+set}" = set; then
5326 enableval=$enable_no_deps;
5327 if test "$enableval" = yes; then
5328 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5329 else
5330 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5331 fi
5332
5333 else
5334
5335 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5336
5337 fi
5338
5339
5340 eval "$wx_cv_use_no_deps"
5341
5342 if test x"$enablestring" = xdisable; then
5343 if test $wxUSE_NO_DEPS = no; then
5344 result=yes
5345 else
5346 result=no
5347 fi
5348 else
5349 result=$wxUSE_NO_DEPS
5350 fi
5351
5352 { echo "$as_me:$LINENO: result: $result" >&5
5353 echo "${ECHO_T}$result" >&6; }
5354
5355
5356 enablestring=disable
5357 defaultval=
5358 if test -z "$defaultval"; then
5359 if test x"$enablestring" = xdisable; then
5360 defaultval=yes
5361 else
5362 defaultval=no
5363 fi
5364 fi
5365
5366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5367 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5368 # Check whether --enable-vararg_macros was given.
5369 if test "${enable_vararg_macros+set}" = set; then
5370 enableval=$enable_vararg_macros;
5371 if test "$enableval" = yes; then
5372 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5373 else
5374 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5375 fi
5376
5377 else
5378
5379 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5380
5381 fi
5382
5383
5384 eval "$wx_cv_use_vararg_macros"
5385
5386 if test x"$enablestring" = xdisable; then
5387 if test $wxUSE_VARARG_MACROS = no; then
5388 result=yes
5389 else
5390 result=no
5391 fi
5392 else
5393 result=$wxUSE_VARARG_MACROS
5394 fi
5395
5396 { echo "$as_me:$LINENO: result: $result" >&5
5397 echo "${ECHO_T}$result" >&6; }
5398
5399
5400 enablestring=
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5403 # Check whether --enable-universal_binary was given.
5404 if test "${enable_universal_binary+set}" = set; then
5405 enableval=$enable_universal_binary;
5406 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5407
5408 else
5409
5410 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5411
5412 fi
5413
5414
5415 eval "$wx_cv_use_universal_binary"
5416
5417 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5418 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5419
5420
5421
5422 enablestring=
5423 defaultval=
5424 if test -z "$defaultval"; then
5425 if test x"$enablestring" = xdisable; then
5426 defaultval=yes
5427 else
5428 defaultval=no
5429 fi
5430 fi
5431
5432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5434 # Check whether --enable-compat26 was given.
5435 if test "${enable_compat26+set}" = set; then
5436 enableval=$enable_compat26;
5437 if test "$enableval" = yes; then
5438 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5439 else
5440 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5441 fi
5442
5443 else
5444
5445 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5446
5447 fi
5448
5449
5450 eval "$wx_cv_use_compat26"
5451
5452 if test x"$enablestring" = xdisable; then
5453 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5454 result=yes
5455 else
5456 result=no
5457 fi
5458 else
5459 result=$WXWIN_COMPATIBILITY_2_6
5460 fi
5461
5462 { echo "$as_me:$LINENO: result: $result" >&5
5463 echo "${ECHO_T}$result" >&6; }
5464
5465
5466 enablestring=disable
5467 defaultval=
5468 if test -z "$defaultval"; then
5469 if test x"$enablestring" = xdisable; then
5470 defaultval=yes
5471 else
5472 defaultval=no
5473 fi
5474 fi
5475
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5478 # Check whether --enable-compat28 was given.
5479 if test "${enable_compat28+set}" = set; then
5480 enableval=$enable_compat28;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5483 else
5484 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5485 fi
5486
5487 else
5488
5489 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5490
5491 fi
5492
5493
5494 eval "$wx_cv_use_compat28"
5495
5496 if test x"$enablestring" = xdisable; then
5497 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5498 result=yes
5499 else
5500 result=no
5501 fi
5502 else
5503 result=$WXWIN_COMPATIBILITY_2_8
5504 fi
5505
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5508
5509
5510
5511 enablestring=disable
5512 defaultval=
5513 if test -z "$defaultval"; then
5514 if test x"$enablestring" = xdisable; then
5515 defaultval=yes
5516 else
5517 defaultval=no
5518 fi
5519 fi
5520
5521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5523 # Check whether --enable-rpath was given.
5524 if test "${enable_rpath+set}" = set; then
5525 enableval=$enable_rpath;
5526 if test "$enableval" = yes; then
5527 wx_cv_use_rpath='wxUSE_RPATH=yes'
5528 else
5529 wx_cv_use_rpath='wxUSE_RPATH=no'
5530 fi
5531
5532 else
5533
5534 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5535
5536 fi
5537
5538
5539 eval "$wx_cv_use_rpath"
5540
5541 if test x"$enablestring" = xdisable; then
5542 if test $wxUSE_RPATH = no; then
5543 result=yes
5544 else
5545 result=no
5546 fi
5547 else
5548 result=$wxUSE_RPATH
5549 fi
5550
5551 { echo "$as_me:$LINENO: result: $result" >&5
5552 echo "${ECHO_T}$result" >&6; }
5553
5554
5555
5556 enablestring=
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5568 # Check whether --enable-objc_uniquifying was given.
5569 if test "${enable_objc_uniquifying+set}" = set; then
5570 enableval=$enable_objc_uniquifying;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5573 else
5574 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5575 fi
5576
5577 else
5578
5579 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5580
5581 fi
5582
5583
5584 eval "$wx_cv_use_objc_uniquifying"
5585
5586 if test x"$enablestring" = xdisable; then
5587 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5588 result=yes
5589 else
5590 result=no
5591 fi
5592 else
5593 result=$wxUSE_OBJC_UNIQUIFYING
5594 fi
5595
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5598
5599
5600
5601 enablestring=disable
5602 defaultval=
5603 if test -z "$defaultval"; then
5604 if test x"$enablestring" = xdisable; then
5605 defaultval=yes
5606 else
5607 defaultval=no
5608 fi
5609 fi
5610
5611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5612 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5613 # Check whether --enable-visibility was given.
5614 if test "${enable_visibility+set}" = set; then
5615 enableval=$enable_visibility;
5616 if test "$enableval" = yes; then
5617 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5618 else
5619 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5620 fi
5621
5622 else
5623
5624 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5625
5626 fi
5627
5628
5629 eval "$wx_cv_use_visibility"
5630
5631 if test x"$enablestring" = xdisable; then
5632 if test $wxUSE_VISIBILITY = no; then
5633 result=yes
5634 else
5635 result=no
5636 fi
5637 else
5638 result=$wxUSE_VISIBILITY
5639 fi
5640
5641 { echo "$as_me:$LINENO: result: $result" >&5
5642 echo "${ECHO_T}$result" >&6; }
5643
5644
5645 enablestring=disable
5646 defaultval=
5647 if test -z "$defaultval"; then
5648 if test x"$enablestring" = xdisable; then
5649 defaultval=yes
5650 else
5651 defaultval=no
5652 fi
5653 fi
5654
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5657 # Check whether --enable-tls was given.
5658 if test "${enable_tls+set}" = set; then
5659 enableval=$enable_tls;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5662 else
5663 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5664 fi
5665
5666 else
5667
5668 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5669
5670 fi
5671
5672
5673 eval "$wx_cv_use_tls"
5674
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_COMPILER_TLS = no; then
5677 result=yes
5678 else
5679 result=no
5680 fi
5681 else
5682 result=$wxUSE_COMPILER_TLS
5683 fi
5684
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5687
5688
5689
5690
5691 enablestring=
5692 defaultval=$wxUSE_ALL_FEATURES
5693 if test -z "$defaultval"; then
5694 if test x"$enablestring" = xdisable; then
5695 defaultval=yes
5696 else
5697 defaultval=no
5698 fi
5699 fi
5700
5701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5703 # Check whether --enable-intl was given.
5704 if test "${enable_intl+set}" = set; then
5705 enableval=$enable_intl;
5706 if test "$enableval" = yes; then
5707 wx_cv_use_intl='wxUSE_INTL=yes'
5708 else
5709 wx_cv_use_intl='wxUSE_INTL=no'
5710 fi
5711
5712 else
5713
5714 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5715
5716 fi
5717
5718
5719 eval "$wx_cv_use_intl"
5720
5721 if test x"$enablestring" = xdisable; then
5722 if test $wxUSE_INTL = no; then
5723 result=yes
5724 else
5725 result=no
5726 fi
5727 else
5728 result=$wxUSE_INTL
5729 fi
5730
5731 { echo "$as_me:$LINENO: result: $result" >&5
5732 echo "${ECHO_T}$result" >&6; }
5733
5734
5735 enablestring=
5736 defaultval=$wxUSE_ALL_FEATURES
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5739 defaultval=yes
5740 else
5741 defaultval=no
5742 fi
5743 fi
5744
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5747 # Check whether --enable-xlocale was given.
5748 if test "${enable_xlocale+set}" = set; then
5749 enableval=$enable_xlocale;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5752 else
5753 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5754 fi
5755
5756 else
5757
5758 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5759
5760 fi
5761
5762
5763 eval "$wx_cv_use_xlocale"
5764
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_XLOCALE = no; then
5767 result=yes
5768 else
5769 result=no
5770 fi
5771 else
5772 result=$wxUSE_XLOCALE
5773 fi
5774
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5777
5778
5779 enablestring=
5780 defaultval=$wxUSE_ALL_FEATURES
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5783 defaultval=yes
5784 else
5785 defaultval=no
5786 fi
5787 fi
5788
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5791 # Check whether --enable-config was given.
5792 if test "${enable_config+set}" = set; then
5793 enableval=$enable_config;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_config='wxUSE_CONFIG=yes'
5796 else
5797 wx_cv_use_config='wxUSE_CONFIG=no'
5798 fi
5799
5800 else
5801
5802 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5803
5804 fi
5805
5806
5807 eval "$wx_cv_use_config"
5808
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_CONFIG = no; then
5811 result=yes
5812 else
5813 result=no
5814 fi
5815 else
5816 result=$wxUSE_CONFIG
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5821
5822
5823
5824 enablestring=
5825 defaultval=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5836 # Check whether --enable-protocols was given.
5837 if test "${enable_protocols+set}" = set; then
5838 enableval=$enable_protocols;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5841 else
5842 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5843 fi
5844
5845 else
5846
5847 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5848
5849 fi
5850
5851
5852 eval "$wx_cv_use_protocols"
5853
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_PROTOCOL = no; then
5856 result=yes
5857 else
5858 result=no
5859 fi
5860 else
5861 result=$wxUSE_PROTOCOL
5862 fi
5863
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5866
5867
5868 enablestring=
5869 defaultval=$wxUSE_ALL_FEATURES
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5872 defaultval=yes
5873 else
5874 defaultval=no
5875 fi
5876 fi
5877
5878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5880 # Check whether --enable-ftp was given.
5881 if test "${enable_ftp+set}" = set; then
5882 enableval=$enable_ftp;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5885 else
5886 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5887 fi
5888
5889 else
5890
5891 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5892
5893 fi
5894
5895
5896 eval "$wx_cv_use_ftp"
5897
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_PROTOCOL_FTP = no; then
5900 result=yes
5901 else
5902 result=no
5903 fi
5904 else
5905 result=$wxUSE_PROTOCOL_FTP
5906 fi
5907
5908 { echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6; }
5910
5911
5912 enablestring=
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5916 defaultval=yes
5917 else
5918 defaultval=no
5919 fi
5920 fi
5921
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5924 # Check whether --enable-http was given.
5925 if test "${enable_http+set}" = set; then
5926 enableval=$enable_http;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5929 else
5930 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5931 fi
5932
5933 else
5934
5935 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5936
5937 fi
5938
5939
5940 eval "$wx_cv_use_http"
5941
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_PROTOCOL_HTTP = no; then
5944 result=yes
5945 else
5946 result=no
5947 fi
5948 else
5949 result=$wxUSE_PROTOCOL_HTTP
5950 fi
5951
5952 { echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6; }
5954
5955
5956 enablestring=
5957 defaultval=$wxUSE_ALL_FEATURES
5958 if test -z "$defaultval"; then
5959 if test x"$enablestring" = xdisable; then
5960 defaultval=yes
5961 else
5962 defaultval=no
5963 fi
5964 fi
5965
5966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5968 # Check whether --enable-fileproto was given.
5969 if test "${enable_fileproto+set}" = set; then
5970 enableval=$enable_fileproto;
5971 if test "$enableval" = yes; then
5972 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5973 else
5974 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5975 fi
5976
5977 else
5978
5979 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5980
5981 fi
5982
5983
5984 eval "$wx_cv_use_fileproto"
5985
5986 if test x"$enablestring" = xdisable; then
5987 if test $wxUSE_PROTOCOL_FILE = no; then
5988 result=yes
5989 else
5990 result=no
5991 fi
5992 else
5993 result=$wxUSE_PROTOCOL_FILE
5994 fi
5995
5996 { echo "$as_me:$LINENO: result: $result" >&5
5997 echo "${ECHO_T}$result" >&6; }
5998
5999
6000 enablestring=
6001 defaultval=$wxUSE_ALL_FEATURES
6002 if test -z "$defaultval"; then
6003 if test x"$enablestring" = xdisable; then
6004 defaultval=yes
6005 else
6006 defaultval=no
6007 fi
6008 fi
6009
6010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6012 # Check whether --enable-sockets was given.
6013 if test "${enable_sockets+set}" = set; then
6014 enableval=$enable_sockets;
6015 if test "$enableval" = yes; then
6016 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6017 else
6018 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6019 fi
6020
6021 else
6022
6023 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6024
6025 fi
6026
6027
6028 eval "$wx_cv_use_sockets"
6029
6030 if test x"$enablestring" = xdisable; then
6031 if test $wxUSE_SOCKETS = no; then
6032 result=yes
6033 else
6034 result=no
6035 fi
6036 else
6037 result=$wxUSE_SOCKETS
6038 fi
6039
6040 { echo "$as_me:$LINENO: result: $result" >&5
6041 echo "${ECHO_T}$result" >&6; }
6042
6043
6044 enablestring=
6045 defaultval=$wxUSE_ALL_FEATURES
6046 if test -z "$defaultval"; then
6047 if test x"$enablestring" = xdisable; then
6048 defaultval=yes
6049 else
6050 defaultval=no
6051 fi
6052 fi
6053
6054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6055 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6056 # Check whether --enable-ipv6 was given.
6057 if test "${enable_ipv6+set}" = set; then
6058 enableval=$enable_ipv6;
6059 if test "$enableval" = yes; then
6060 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6061 else
6062 wx_cv_use_ipv6='wxUSE_IPV6=no'
6063 fi
6064
6065 else
6066
6067 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6068
6069 fi
6070
6071
6072 eval "$wx_cv_use_ipv6"
6073
6074 if test x"$enablestring" = xdisable; then
6075 if test $wxUSE_IPV6 = no; then
6076 result=yes
6077 else
6078 result=no
6079 fi
6080 else
6081 result=$wxUSE_IPV6
6082 fi
6083
6084 { echo "$as_me:$LINENO: result: $result" >&5
6085 echo "${ECHO_T}$result" >&6; }
6086
6087
6088 enablestring=
6089 defaultval=$wxUSE_ALL_FEATURES
6090 if test -z "$defaultval"; then
6091 if test x"$enablestring" = xdisable; then
6092 defaultval=yes
6093 else
6094 defaultval=no
6095 fi
6096 fi
6097
6098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6100 # Check whether --enable-ole was given.
6101 if test "${enable_ole+set}" = set; then
6102 enableval=$enable_ole;
6103 if test "$enableval" = yes; then
6104 wx_cv_use_ole='wxUSE_OLE=yes'
6105 else
6106 wx_cv_use_ole='wxUSE_OLE=no'
6107 fi
6108
6109 else
6110
6111 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6112
6113 fi
6114
6115
6116 eval "$wx_cv_use_ole"
6117
6118 if test x"$enablestring" = xdisable; then
6119 if test $wxUSE_OLE = no; then
6120 result=yes
6121 else
6122 result=no
6123 fi
6124 else
6125 result=$wxUSE_OLE
6126 fi
6127
6128 { echo "$as_me:$LINENO: result: $result" >&5
6129 echo "${ECHO_T}$result" >&6; }
6130
6131
6132 enablestring=
6133 defaultval=$wxUSE_ALL_FEATURES
6134 if test -z "$defaultval"; then
6135 if test x"$enablestring" = xdisable; then
6136 defaultval=yes
6137 else
6138 defaultval=no
6139 fi
6140 fi
6141
6142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6144 # Check whether --enable-dataobj was given.
6145 if test "${enable_dataobj+set}" = set; then
6146 enableval=$enable_dataobj;
6147 if test "$enableval" = yes; then
6148 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6149 else
6150 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6151 fi
6152
6153 else
6154
6155 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6156
6157 fi
6158
6159
6160 eval "$wx_cv_use_dataobj"
6161
6162 if test x"$enablestring" = xdisable; then
6163 if test $wxUSE_DATAOBJ = no; then
6164 result=yes
6165 else
6166 result=no
6167 fi
6168 else
6169 result=$wxUSE_DATAOBJ
6170 fi
6171
6172 { echo "$as_me:$LINENO: result: $result" >&5
6173 echo "${ECHO_T}$result" >&6; }
6174
6175
6176
6177 enablestring=
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6181 defaultval=yes
6182 else
6183 defaultval=no
6184 fi
6185 fi
6186
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6189 # Check whether --enable-ipc was given.
6190 if test "${enable_ipc+set}" = set; then
6191 enableval=$enable_ipc;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_ipc='wxUSE_IPC=yes'
6194 else
6195 wx_cv_use_ipc='wxUSE_IPC=no'
6196 fi
6197
6198 else
6199
6200 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6201
6202 fi
6203
6204
6205 eval "$wx_cv_use_ipc"
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_IPC = no; then
6209 result=yes
6210 else
6211 result=no
6212 fi
6213 else
6214 result=$wxUSE_IPC
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221
6222 enablestring=
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6226 defaultval=yes
6227 else
6228 defaultval=no
6229 fi
6230 fi
6231
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6234 # Check whether --enable-baseevtloop was given.
6235 if test "${enable_baseevtloop+set}" = set; then
6236 enableval=$enable_baseevtloop;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6239 else
6240 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6241 fi
6242
6243 else
6244
6245 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6246
6247 fi
6248
6249
6250 eval "$wx_cv_use_baseevtloop"
6251
6252 if test x"$enablestring" = xdisable; then
6253 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6254 result=yes
6255 else
6256 result=no
6257 fi
6258 else
6259 result=$wxUSE_CONSOLE_EVENTLOOP
6260 fi
6261
6262 { echo "$as_me:$LINENO: result: $result" >&5
6263 echo "${ECHO_T}$result" >&6; }
6264
6265
6266 enablestring=
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6270 defaultval=yes
6271 else
6272 defaultval=no
6273 fi
6274 fi
6275
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6278 # Check whether --enable-epollloop was given.
6279 if test "${enable_epollloop+set}" = set; then
6280 enableval=$enable_epollloop;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6283 else
6284 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6285 fi
6286
6287 else
6288
6289 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_epollloop"
6295
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_EPOLL_DISPATCHER = no; then
6298 result=yes
6299 else
6300 result=no
6301 fi
6302 else
6303 result=$wxUSE_EPOLL_DISPATCHER
6304 fi
6305
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6322 # Check whether --enable-selectloop was given.
6323 if test "${enable_selectloop+set}" = set; then
6324 enableval=$enable_selectloop;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6327 else
6328 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6329 fi
6330
6331 else
6332
6333 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6334
6335 fi
6336
6337
6338 eval "$wx_cv_use_selectloop"
6339
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_SELECT_DISPATCHER = no; then
6342 result=yes
6343 else
6344 result=no
6345 fi
6346 else
6347 result=$wxUSE_SELECT_DISPATCHER
6348 fi
6349
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6352
6353
6354
6355 enablestring=
6356 defaultval=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6359 defaultval=yes
6360 else
6361 defaultval=no
6362 fi
6363 fi
6364
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6367 # Check whether --enable-any was given.
6368 if test "${enable_any+set}" = set; then
6369 enableval=$enable_any;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_any='wxUSE_ANY=yes'
6372 else
6373 wx_cv_use_any='wxUSE_ANY=no'
6374 fi
6375
6376 else
6377
6378 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_any"
6384
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_ANY = no; then
6387 result=yes
6388 else
6389 result=no
6390 fi
6391 else
6392 result=$wxUSE_ANY
6393 fi
6394
6395 { echo "$as_me:$LINENO: result: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6397
6398
6399 enablestring=
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6403 defaultval=yes
6404 else
6405 defaultval=no
6406 fi
6407 fi
6408
6409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6411 # Check whether --enable-apple_ieee was given.
6412 if test "${enable_apple_ieee+set}" = set; then
6413 enableval=$enable_apple_ieee;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6416 else
6417 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6418 fi
6419
6420 else
6421
6422 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_apple_ieee"
6428
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_APPLE_IEEE = no; then
6431 result=yes
6432 else
6433 result=no
6434 fi
6435 else
6436 result=$wxUSE_APPLE_IEEE
6437 fi
6438
6439 { echo "$as_me:$LINENO: result: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6441
6442
6443 enablestring=
6444 defaultval=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6447 defaultval=yes
6448 else
6449 defaultval=no
6450 fi
6451 fi
6452
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6455 # Check whether --enable-arcstream was given.
6456 if test "${enable_arcstream+set}" = set; then
6457 enableval=$enable_arcstream;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6460 else
6461 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6462 fi
6463
6464 else
6465
6466 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_arcstream"
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_ARCHIVE_STREAMS = no; then
6475 result=yes
6476 else
6477 result=no
6478 fi
6479 else
6480 result=$wxUSE_ARCHIVE_STREAMS
6481 fi
6482
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6485
6486
6487 enablestring=
6488 defaultval=$wxUSE_ALL_FEATURES
6489 if test -z "$defaultval"; then
6490 if test x"$enablestring" = xdisable; then
6491 defaultval=yes
6492 else
6493 defaultval=no
6494 fi
6495 fi
6496
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6499 # Check whether --enable-base64 was given.
6500 if test "${enable_base64+set}" = set; then
6501 enableval=$enable_base64;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_base64='wxUSE_BASE64=yes'
6504 else
6505 wx_cv_use_base64='wxUSE_BASE64=no'
6506 fi
6507
6508 else
6509
6510 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6511
6512 fi
6513
6514
6515 eval "$wx_cv_use_base64"
6516
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_BASE64 = no; then
6519 result=yes
6520 else
6521 result=no
6522 fi
6523 else
6524 result=$wxUSE_BASE64
6525 fi
6526
6527 { echo "$as_me:$LINENO: result: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6529
6530
6531 enablestring=
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6535 defaultval=yes
6536 else
6537 defaultval=no
6538 fi
6539 fi
6540
6541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6543 # Check whether --enable-backtrace was given.
6544 if test "${enable_backtrace+set}" = set; then
6545 enableval=$enable_backtrace;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6548 else
6549 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6550 fi
6551
6552 else
6553
6554 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6555
6556 fi
6557
6558
6559 eval "$wx_cv_use_backtrace"
6560
6561 if test x"$enablestring" = xdisable; then
6562 if test $wxUSE_STACKWALKER = no; then
6563 result=yes
6564 else
6565 result=no
6566 fi
6567 else
6568 result=$wxUSE_STACKWALKER
6569 fi
6570
6571 { echo "$as_me:$LINENO: result: $result" >&5
6572 echo "${ECHO_T}$result" >&6; }
6573
6574
6575 enablestring=
6576 defaultval=$wxUSE_ALL_FEATURES
6577 if test -z "$defaultval"; then
6578 if test x"$enablestring" = xdisable; then
6579 defaultval=yes
6580 else
6581 defaultval=no
6582 fi
6583 fi
6584
6585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6586 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6587 # Check whether --enable-catch_segvs was given.
6588 if test "${enable_catch_segvs+set}" = set; then
6589 enableval=$enable_catch_segvs;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6592 else
6593 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6594 fi
6595
6596 else
6597
6598 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6599
6600 fi
6601
6602
6603 eval "$wx_cv_use_catch_segvs"
6604
6605 if test x"$enablestring" = xdisable; then
6606 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6607 result=yes
6608 else
6609 result=no
6610 fi
6611 else
6612 result=$wxUSE_ON_FATAL_EXCEPTION
6613 fi
6614
6615 { echo "$as_me:$LINENO: result: $result" >&5
6616 echo "${ECHO_T}$result" >&6; }
6617
6618
6619 enablestring=
6620 defaultval=$wxUSE_ALL_FEATURES
6621 if test -z "$defaultval"; then
6622 if test x"$enablestring" = xdisable; then
6623 defaultval=yes
6624 else
6625 defaultval=no
6626 fi
6627 fi
6628
6629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6631 # Check whether --enable-cmdline was given.
6632 if test "${enable_cmdline+set}" = set; then
6633 enableval=$enable_cmdline;
6634 if test "$enableval" = yes; then
6635 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6636 else
6637 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6638 fi
6639
6640 else
6641
6642 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6643
6644 fi
6645
6646
6647 eval "$wx_cv_use_cmdline"
6648
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_CMDLINE_PARSER = no; then
6651 result=yes
6652 else
6653 result=no
6654 fi
6655 else
6656 result=$wxUSE_CMDLINE_PARSER
6657 fi
6658
6659 { echo "$as_me:$LINENO: result: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6661
6662
6663 enablestring=
6664 defaultval=$wxUSE_ALL_FEATURES
6665 if test -z "$defaultval"; then
6666 if test x"$enablestring" = xdisable; then
6667 defaultval=yes
6668 else
6669 defaultval=no
6670 fi
6671 fi
6672
6673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6675 # Check whether --enable-datetime was given.
6676 if test "${enable_datetime+set}" = set; then
6677 enableval=$enable_datetime;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6680 else
6681 wx_cv_use_datetime='wxUSE_DATETIME=no'
6682 fi
6683
6684 else
6685
6686 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6687
6688 fi
6689
6690
6691 eval "$wx_cv_use_datetime"
6692
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_DATETIME = no; then
6695 result=yes
6696 else
6697 result=no
6698 fi
6699 else
6700 result=$wxUSE_DATETIME
6701 fi
6702
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6705
6706
6707 enablestring=
6708 defaultval=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6711 defaultval=yes
6712 else
6713 defaultval=no
6714 fi
6715 fi
6716
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6719 # Check whether --enable-debugreport was given.
6720 if test "${enable_debugreport+set}" = set; then
6721 enableval=$enable_debugreport;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6724 else
6725 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6726 fi
6727
6728 else
6729
6730 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6731
6732 fi
6733
6734
6735 eval "$wx_cv_use_debugreport"
6736
6737 if test x"$enablestring" = xdisable; then
6738 if test $wxUSE_DEBUGREPORT = no; then
6739 result=yes
6740 else
6741 result=no
6742 fi
6743 else
6744 result=$wxUSE_DEBUGREPORT
6745 fi
6746
6747 { echo "$as_me:$LINENO: result: $result" >&5
6748 echo "${ECHO_T}$result" >&6; }
6749
6750
6751 enablestring=
6752 defaultval=$wxUSE_ALL_FEATURES
6753 if test -z "$defaultval"; then
6754 if test x"$enablestring" = xdisable; then
6755 defaultval=yes
6756 else
6757 defaultval=no
6758 fi
6759 fi
6760
6761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6763 # Check whether --enable-dialupman was given.
6764 if test "${enable_dialupman+set}" = set; then
6765 enableval=$enable_dialupman;
6766 if test "$enableval" = yes; then
6767 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6768 else
6769 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6770 fi
6771
6772 else
6773
6774 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6775
6776 fi
6777
6778
6779 eval "$wx_cv_use_dialupman"
6780
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_DIALUP_MANAGER = no; then
6783 result=yes
6784 else
6785 result=no
6786 fi
6787 else
6788 result=$wxUSE_DIALUP_MANAGER
6789 fi
6790
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6793
6794
6795 enablestring=
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6799 defaultval=yes
6800 else
6801 defaultval=no
6802 fi
6803 fi
6804
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6807 # Check whether --enable-dynlib was given.
6808 if test "${enable_dynlib+set}" = set; then
6809 enableval=$enable_dynlib;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6812 else
6813 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6814 fi
6815
6816 else
6817
6818 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6819
6820 fi
6821
6822
6823 eval "$wx_cv_use_dynlib"
6824
6825 if test x"$enablestring" = xdisable; then
6826 if test $wxUSE_DYNLIB_CLASS = no; then
6827 result=yes
6828 else
6829 result=no
6830 fi
6831 else
6832 result=$wxUSE_DYNLIB_CLASS
6833 fi
6834
6835 { echo "$as_me:$LINENO: result: $result" >&5
6836 echo "${ECHO_T}$result" >&6; }
6837
6838
6839 enablestring=
6840 defaultval=$wxUSE_ALL_FEATURES
6841 if test -z "$defaultval"; then
6842 if test x"$enablestring" = xdisable; then
6843 defaultval=yes
6844 else
6845 defaultval=no
6846 fi
6847 fi
6848
6849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6850 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6851 # Check whether --enable-dynamicloader was given.
6852 if test "${enable_dynamicloader+set}" = set; then
6853 enableval=$enable_dynamicloader;
6854 if test "$enableval" = yes; then
6855 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6856 else
6857 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6858 fi
6859
6860 else
6861
6862 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6863
6864 fi
6865
6866
6867 eval "$wx_cv_use_dynamicloader"
6868
6869 if test x"$enablestring" = xdisable; then
6870 if test $wxUSE_DYNAMIC_LOADER = no; then
6871 result=yes
6872 else
6873 result=no
6874 fi
6875 else
6876 result=$wxUSE_DYNAMIC_LOADER
6877 fi
6878
6879 { echo "$as_me:$LINENO: result: $result" >&5
6880 echo "${ECHO_T}$result" >&6; }
6881
6882
6883 enablestring=
6884 defaultval=$wxUSE_ALL_FEATURES
6885 if test -z "$defaultval"; then
6886 if test x"$enablestring" = xdisable; then
6887 defaultval=yes
6888 else
6889 defaultval=no
6890 fi
6891 fi
6892
6893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6894 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6895 # Check whether --enable-exceptions was given.
6896 if test "${enable_exceptions+set}" = set; then
6897 enableval=$enable_exceptions;
6898 if test "$enableval" = yes; then
6899 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6900 else
6901 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6902 fi
6903
6904 else
6905
6906 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6907
6908 fi
6909
6910
6911 eval "$wx_cv_use_exceptions"
6912
6913 if test x"$enablestring" = xdisable; then
6914 if test $wxUSE_EXCEPTIONS = no; then
6915 result=yes
6916 else
6917 result=no
6918 fi
6919 else
6920 result=$wxUSE_EXCEPTIONS
6921 fi
6922
6923 { echo "$as_me:$LINENO: result: $result" >&5
6924 echo "${ECHO_T}$result" >&6; }
6925
6926
6927 enablestring=
6928 defaultval=$wxUSE_ALL_FEATURES
6929 if test -z "$defaultval"; then
6930 if test x"$enablestring" = xdisable; then
6931 defaultval=yes
6932 else
6933 defaultval=no
6934 fi
6935 fi
6936
6937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6938 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6939 # Check whether --enable-ffile was given.
6940 if test "${enable_ffile+set}" = set; then
6941 enableval=$enable_ffile;
6942 if test "$enableval" = yes; then
6943 wx_cv_use_ffile='wxUSE_FFILE=yes'
6944 else
6945 wx_cv_use_ffile='wxUSE_FFILE=no'
6946 fi
6947
6948 else
6949
6950 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6951
6952 fi
6953
6954
6955 eval "$wx_cv_use_ffile"
6956
6957 if test x"$enablestring" = xdisable; then
6958 if test $wxUSE_FFILE = no; then
6959 result=yes
6960 else
6961 result=no
6962 fi
6963 else
6964 result=$wxUSE_FFILE
6965 fi
6966
6967 { echo "$as_me:$LINENO: result: $result" >&5
6968 echo "${ECHO_T}$result" >&6; }
6969
6970
6971 enablestring=
6972 defaultval=$wxUSE_ALL_FEATURES
6973 if test -z "$defaultval"; then
6974 if test x"$enablestring" = xdisable; then
6975 defaultval=yes
6976 else
6977 defaultval=no
6978 fi
6979 fi
6980
6981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6982 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6983 # Check whether --enable-file was given.
6984 if test "${enable_file+set}" = set; then
6985 enableval=$enable_file;
6986 if test "$enableval" = yes; then
6987 wx_cv_use_file='wxUSE_FILE=yes'
6988 else
6989 wx_cv_use_file='wxUSE_FILE=no'
6990 fi
6991
6992 else
6993
6994 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6995
6996 fi
6997
6998
6999 eval "$wx_cv_use_file"
7000
7001 if test x"$enablestring" = xdisable; then
7002 if test $wxUSE_FILE = no; then
7003 result=yes
7004 else
7005 result=no
7006 fi
7007 else
7008 result=$wxUSE_FILE
7009 fi
7010
7011 { echo "$as_me:$LINENO: result: $result" >&5
7012 echo "${ECHO_T}$result" >&6; }
7013
7014
7015 enablestring=
7016 defaultval=$wxUSE_ALL_FEATURES
7017 if test -z "$defaultval"; then
7018 if test x"$enablestring" = xdisable; then
7019 defaultval=yes
7020 else
7021 defaultval=no
7022 fi
7023 fi
7024
7025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7026 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7027 # Check whether --enable-filesystem was given.
7028 if test "${enable_filesystem+set}" = set; then
7029 enableval=$enable_filesystem;
7030 if test "$enableval" = yes; then
7031 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7032 else
7033 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7034 fi
7035
7036 else
7037
7038 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7039
7040 fi
7041
7042
7043 eval "$wx_cv_use_filesystem"
7044
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_FILESYSTEM = no; then
7047 result=yes
7048 else
7049 result=no
7050 fi
7051 else
7052 result=$wxUSE_FILESYSTEM
7053 fi
7054
7055 { echo "$as_me:$LINENO: result: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7057
7058
7059 enablestring=
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7063 defaultval=yes
7064 else
7065 defaultval=no
7066 fi
7067 fi
7068
7069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7071 # Check whether --enable-fontenum was given.
7072 if test "${enable_fontenum+set}" = set; then
7073 enableval=$enable_fontenum;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7076 else
7077 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7078 fi
7079
7080 else
7081
7082 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7083
7084 fi
7085
7086
7087 eval "$wx_cv_use_fontenum"
7088
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_FONTENUM = no; then
7091 result=yes
7092 else
7093 result=no
7094 fi
7095 else
7096 result=$wxUSE_FONTENUM
7097 fi
7098
7099 { echo "$as_me:$LINENO: result: $result" >&5
7100 echo "${ECHO_T}$result" >&6; }
7101
7102
7103 enablestring=
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7107 defaultval=yes
7108 else
7109 defaultval=no
7110 fi
7111 fi
7112
7113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7115 # Check whether --enable-fontmap was given.
7116 if test "${enable_fontmap+set}" = set; then
7117 enableval=$enable_fontmap;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7120 else
7121 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7122 fi
7123
7124 else
7125
7126 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7127
7128 fi
7129
7130
7131 eval "$wx_cv_use_fontmap"
7132
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_FONTMAP = no; then
7135 result=yes
7136 else
7137 result=no
7138 fi
7139 else
7140 result=$wxUSE_FONTMAP
7141 fi
7142
7143 { echo "$as_me:$LINENO: result: $result" >&5
7144 echo "${ECHO_T}$result" >&6; }
7145
7146
7147 enablestring=
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7151 defaultval=yes
7152 else
7153 defaultval=no
7154 fi
7155 fi
7156
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7159 # Check whether --enable-fs_archive was given.
7160 if test "${enable_fs_archive+set}" = set; then
7161 enableval=$enable_fs_archive;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7164 else
7165 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7166 fi
7167
7168 else
7169
7170 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7171
7172 fi
7173
7174
7175 eval "$wx_cv_use_fs_archive"
7176
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_FS_ARCHIVE = no; then
7179 result=yes
7180 else
7181 result=no
7182 fi
7183 else
7184 result=$wxUSE_FS_ARCHIVE
7185 fi
7186
7187 { echo "$as_me:$LINENO: result: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7189
7190
7191 enablestring=
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7195 defaultval=yes
7196 else
7197 defaultval=no
7198 fi
7199 fi
7200
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7203 # Check whether --enable-fs_inet was given.
7204 if test "${enable_fs_inet+set}" = set; then
7205 enableval=$enable_fs_inet;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7208 else
7209 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7210 fi
7211
7212 else
7213
7214 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7215
7216 fi
7217
7218
7219 eval "$wx_cv_use_fs_inet"
7220
7221 if test x"$enablestring" = xdisable; then
7222 if test $wxUSE_FS_INET = no; then
7223 result=yes
7224 else
7225 result=no
7226 fi
7227 else
7228 result=$wxUSE_FS_INET
7229 fi
7230
7231 { echo "$as_me:$LINENO: result: $result" >&5
7232 echo "${ECHO_T}$result" >&6; }
7233
7234
7235 enablestring=
7236 defaultval=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x"$enablestring" = xdisable; then
7239 defaultval=yes
7240 else
7241 defaultval=no
7242 fi
7243 fi
7244
7245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7247 # Check whether --enable-fs_zip was given.
7248 if test "${enable_fs_zip+set}" = set; then
7249 enableval=$enable_fs_zip;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7252 else
7253 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7254 fi
7255
7256 else
7257
7258 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7259
7260 fi
7261
7262
7263 eval "$wx_cv_use_fs_zip"
7264
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_FS_ZIP = no; then
7267 result=yes
7268 else
7269 result=no
7270 fi
7271 else
7272 result=$wxUSE_FS_ZIP
7273 fi
7274
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7277
7278
7279 enablestring=
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7283 defaultval=yes
7284 else
7285 defaultval=no
7286 fi
7287 fi
7288
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7291 # Check whether --enable-fswatcher was given.
7292 if test "${enable_fswatcher+set}" = set; then
7293 enableval=$enable_fswatcher;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7296 else
7297 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7298 fi
7299
7300 else
7301
7302 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7303
7304 fi
7305
7306
7307 eval "$wx_cv_use_fswatcher"
7308
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_FSWATCHER = no; then
7311 result=yes
7312 else
7313 result=no
7314 fi
7315 else
7316 result=$wxUSE_FSWATCHER
7317 fi
7318
7319 { echo "$as_me:$LINENO: result: $result" >&5
7320 echo "${ECHO_T}$result" >&6; }
7321
7322
7323 enablestring=
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7327 defaultval=yes
7328 else
7329 defaultval=no
7330 fi
7331 fi
7332
7333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7335 # Check whether --enable-geometry was given.
7336 if test "${enable_geometry+set}" = set; then
7337 enableval=$enable_geometry;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7340 else
7341 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7342 fi
7343
7344 else
7345
7346 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7347
7348 fi
7349
7350
7351 eval "$wx_cv_use_geometry"
7352
7353 if test x"$enablestring" = xdisable; then
7354 if test $wxUSE_GEOMETRY = no; then
7355 result=yes
7356 else
7357 result=no
7358 fi
7359 else
7360 result=$wxUSE_GEOMETRY
7361 fi
7362
7363 { echo "$as_me:$LINENO: result: $result" >&5
7364 echo "${ECHO_T}$result" >&6; }
7365
7366
7367 enablestring=
7368 defaultval=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x"$enablestring" = xdisable; then
7371 defaultval=yes
7372 else
7373 defaultval=no
7374 fi
7375 fi
7376
7377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7378 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7379 # Check whether --enable-log was given.
7380 if test "${enable_log+set}" = set; then
7381 enableval=$enable_log;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_log='wxUSE_LOG=yes'
7384 else
7385 wx_cv_use_log='wxUSE_LOG=no'
7386 fi
7387
7388 else
7389
7390 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7391
7392 fi
7393
7394
7395 eval "$wx_cv_use_log"
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_LOG = no; then
7399 result=yes
7400 else
7401 result=no
7402 fi
7403 else
7404 result=$wxUSE_LOG
7405 fi
7406
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7423 # Check whether --enable-longlong was given.
7424 if test "${enable_longlong+set}" = set; then
7425 enableval=$enable_longlong;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7428 else
7429 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7430 fi
7431
7432 else
7433
7434 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7435
7436 fi
7437
7438
7439 eval "$wx_cv_use_longlong"
7440
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_LONGLONG = no; then
7443 result=yes
7444 else
7445 result=no
7446 fi
7447 else
7448 result=$wxUSE_LONGLONG
7449 fi
7450
7451 { echo "$as_me:$LINENO: result: $result" >&5
7452 echo "${ECHO_T}$result" >&6; }
7453
7454
7455 enablestring=
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7459 defaultval=yes
7460 else
7461 defaultval=no
7462 fi
7463 fi
7464
7465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7467 # Check whether --enable-mimetype was given.
7468 if test "${enable_mimetype+set}" = set; then
7469 enableval=$enable_mimetype;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7472 else
7473 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7474 fi
7475
7476 else
7477
7478 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7479
7480 fi
7481
7482
7483 eval "$wx_cv_use_mimetype"
7484
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_MIMETYPE = no; then
7487 result=yes
7488 else
7489 result=no
7490 fi
7491 else
7492 result=$wxUSE_MIMETYPE
7493 fi
7494
7495 { echo "$as_me:$LINENO: result: $result" >&5
7496 echo "${ECHO_T}$result" >&6; }
7497
7498
7499 enablestring=
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7503 defaultval=yes
7504 else
7505 defaultval=no
7506 fi
7507 fi
7508
7509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7511 # Check whether --enable-printfposparam was given.
7512 if test "${enable_printfposparam+set}" = set; then
7513 enableval=$enable_printfposparam;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7516 else
7517 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7518 fi
7519
7520 else
7521
7522 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7523
7524 fi
7525
7526
7527 eval "$wx_cv_use_printfposparam"
7528
7529 if test x"$enablestring" = xdisable; then
7530 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7531 result=yes
7532 else
7533 result=no
7534 fi
7535 else
7536 result=$wxUSE_PRINTF_POS_PARAMS
7537 fi
7538
7539 { echo "$as_me:$LINENO: result: $result" >&5
7540 echo "${ECHO_T}$result" >&6; }
7541
7542
7543 enablestring=
7544 defaultval=$wxUSE_ALL_FEATURES
7545 if test -z "$defaultval"; then
7546 if test x"$enablestring" = xdisable; then
7547 defaultval=yes
7548 else
7549 defaultval=no
7550 fi
7551 fi
7552
7553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7555 # Check whether --enable-snglinst was given.
7556 if test "${enable_snglinst+set}" = set; then
7557 enableval=$enable_snglinst;
7558 if test "$enableval" = yes; then
7559 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7560 else
7561 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7562 fi
7563
7564 else
7565
7566 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7567
7568 fi
7569
7570
7571 eval "$wx_cv_use_snglinst"
7572
7573 if test x"$enablestring" = xdisable; then
7574 if test $wxUSE_SNGLINST_CHECKER = no; then
7575 result=yes
7576 else
7577 result=no
7578 fi
7579 else
7580 result=$wxUSE_SNGLINST_CHECKER
7581 fi
7582
7583 { echo "$as_me:$LINENO: result: $result" >&5
7584 echo "${ECHO_T}$result" >&6; }
7585
7586
7587 enablestring=
7588 defaultval=$wxUSE_ALL_FEATURES
7589 if test -z "$defaultval"; then
7590 if test x"$enablestring" = xdisable; then
7591 defaultval=yes
7592 else
7593 defaultval=no
7594 fi
7595 fi
7596
7597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7599 # Check whether --enable-sound was given.
7600 if test "${enable_sound+set}" = set; then
7601 enableval=$enable_sound;
7602 if test "$enableval" = yes; then
7603 wx_cv_use_sound='wxUSE_SOUND=yes'
7604 else
7605 wx_cv_use_sound='wxUSE_SOUND=no'
7606 fi
7607
7608 else
7609
7610 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7611
7612 fi
7613
7614
7615 eval "$wx_cv_use_sound"
7616
7617 if test x"$enablestring" = xdisable; then
7618 if test $wxUSE_SOUND = no; then
7619 result=yes
7620 else
7621 result=no
7622 fi
7623 else
7624 result=$wxUSE_SOUND
7625 fi
7626
7627 { echo "$as_me:$LINENO: result: $result" >&5
7628 echo "${ECHO_T}$result" >&6; }
7629
7630
7631 enablestring=
7632 defaultval=$wxUSE_ALL_FEATURES
7633 if test -z "$defaultval"; then
7634 if test x"$enablestring" = xdisable; then
7635 defaultval=yes
7636 else
7637 defaultval=no
7638 fi
7639 fi
7640
7641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7642 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7643 # Check whether --enable-stdpaths was given.
7644 if test "${enable_stdpaths+set}" = set; then
7645 enableval=$enable_stdpaths;
7646 if test "$enableval" = yes; then
7647 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7648 else
7649 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7650 fi
7651
7652 else
7653
7654 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7655
7656 fi
7657
7658
7659 eval "$wx_cv_use_stdpaths"
7660
7661 if test x"$enablestring" = xdisable; then
7662 if test $wxUSE_STDPATHS = no; then
7663 result=yes
7664 else
7665 result=no
7666 fi
7667 else
7668 result=$wxUSE_STDPATHS
7669 fi
7670
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7673
7674
7675 enablestring=
7676 defaultval=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x"$enablestring" = xdisable; then
7679 defaultval=yes
7680 else
7681 defaultval=no
7682 fi
7683 fi
7684
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7687 # Check whether --enable-stopwatch was given.
7688 if test "${enable_stopwatch+set}" = set; then
7689 enableval=$enable_stopwatch;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7692 else
7693 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7694 fi
7695
7696 else
7697
7698 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7699
7700 fi
7701
7702
7703 eval "$wx_cv_use_stopwatch"
7704
7705 if test x"$enablestring" = xdisable; then
7706 if test $wxUSE_STOPWATCH = no; then
7707 result=yes
7708 else
7709 result=no
7710 fi
7711 else
7712 result=$wxUSE_STOPWATCH
7713 fi
7714
7715 { echo "$as_me:$LINENO: result: $result" >&5
7716 echo "${ECHO_T}$result" >&6; }
7717
7718
7719 enablestring=
7720 defaultval=$wxUSE_ALL_FEATURES
7721 if test -z "$defaultval"; then
7722 if test x"$enablestring" = xdisable; then
7723 defaultval=yes
7724 else
7725 defaultval=no
7726 fi
7727 fi
7728
7729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7731 # Check whether --enable-streams was given.
7732 if test "${enable_streams+set}" = set; then
7733 enableval=$enable_streams;
7734 if test "$enableval" = yes; then
7735 wx_cv_use_streams='wxUSE_STREAMS=yes'
7736 else
7737 wx_cv_use_streams='wxUSE_STREAMS=no'
7738 fi
7739
7740 else
7741
7742 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7743
7744 fi
7745
7746
7747 eval "$wx_cv_use_streams"
7748
7749 if test x"$enablestring" = xdisable; then
7750 if test $wxUSE_STREAMS = no; then
7751 result=yes
7752 else
7753 result=no
7754 fi
7755 else
7756 result=$wxUSE_STREAMS
7757 fi
7758
7759 { echo "$as_me:$LINENO: result: $result" >&5
7760 echo "${ECHO_T}$result" >&6; }
7761
7762
7763 enablestring=
7764 defaultval=$wxUSE_ALL_FEATURES
7765 if test -z "$defaultval"; then
7766 if test x"$enablestring" = xdisable; then
7767 defaultval=yes
7768 else
7769 defaultval=no
7770 fi
7771 fi
7772
7773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7775 # Check whether --enable-sysoptions was given.
7776 if test "${enable_sysoptions+set}" = set; then
7777 enableval=$enable_sysoptions;
7778 if test "$enableval" = yes; then
7779 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7780 else
7781 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7782 fi
7783
7784 else
7785
7786 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7787
7788 fi
7789
7790
7791 eval "$wx_cv_use_sysoptions"
7792
7793 if test x"$enablestring" = xdisable; then
7794 if test $wxUSE_SYSTEM_OPTIONS = no; then
7795 result=yes
7796 else
7797 result=no
7798 fi
7799 else
7800 result=$wxUSE_SYSTEM_OPTIONS
7801 fi
7802
7803 { echo "$as_me:$LINENO: result: $result" >&5
7804 echo "${ECHO_T}$result" >&6; }
7805
7806
7807 enablestring=
7808 defaultval=$wxUSE_ALL_FEATURES
7809 if test -z "$defaultval"; then
7810 if test x"$enablestring" = xdisable; then
7811 defaultval=yes
7812 else
7813 defaultval=no
7814 fi
7815 fi
7816
7817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7818 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7819 # Check whether --enable-tarstream was given.
7820 if test "${enable_tarstream+set}" = set; then
7821 enableval=$enable_tarstream;
7822 if test "$enableval" = yes; then
7823 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7824 else
7825 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7826 fi
7827
7828 else
7829
7830 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7831
7832 fi
7833
7834
7835 eval "$wx_cv_use_tarstream"
7836
7837 if test x"$enablestring" = xdisable; then
7838 if test $wxUSE_TARSTREAM = no; then
7839 result=yes
7840 else
7841 result=no
7842 fi
7843 else
7844 result=$wxUSE_TARSTREAM
7845 fi
7846
7847 { echo "$as_me:$LINENO: result: $result" >&5
7848 echo "${ECHO_T}$result" >&6; }
7849
7850
7851 enablestring=
7852 defaultval=$wxUSE_ALL_FEATURES
7853 if test -z "$defaultval"; then
7854 if test x"$enablestring" = xdisable; then
7855 defaultval=yes
7856 else
7857 defaultval=no
7858 fi
7859 fi
7860
7861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7862 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7863 # Check whether --enable-textbuf was given.
7864 if test "${enable_textbuf+set}" = set; then
7865 enableval=$enable_textbuf;
7866 if test "$enableval" = yes; then
7867 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7868 else
7869 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7870 fi
7871
7872 else
7873
7874 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7875
7876 fi
7877
7878
7879 eval "$wx_cv_use_textbuf"
7880
7881 if test x"$enablestring" = xdisable; then
7882 if test $wxUSE_TEXTBUFFER = no; then
7883 result=yes
7884 else
7885 result=no
7886 fi
7887 else
7888 result=$wxUSE_TEXTBUFFER
7889 fi
7890
7891 { echo "$as_me:$LINENO: result: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7893
7894
7895 enablestring=
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7899 defaultval=yes
7900 else
7901 defaultval=no
7902 fi
7903 fi
7904
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7907 # Check whether --enable-textfile was given.
7908 if test "${enable_textfile+set}" = set; then
7909 enableval=$enable_textfile;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7912 else
7913 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7914 fi
7915
7916 else
7917
7918 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7919
7920 fi
7921
7922
7923 eval "$wx_cv_use_textfile"
7924
7925 if test x"$enablestring" = xdisable; then
7926 if test $wxUSE_TEXTFILE = no; then
7927 result=yes
7928 else
7929 result=no
7930 fi
7931 else
7932 result=$wxUSE_TEXTFILE
7933 fi
7934
7935 { echo "$as_me:$LINENO: result: $result" >&5
7936 echo "${ECHO_T}$result" >&6; }
7937
7938
7939 enablestring=
7940 defaultval=$wxUSE_ALL_FEATURES
7941 if test -z "$defaultval"; then
7942 if test x"$enablestring" = xdisable; then
7943 defaultval=yes
7944 else
7945 defaultval=no
7946 fi
7947 fi
7948
7949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7951 # Check whether --enable-timer was given.
7952 if test "${enable_timer+set}" = set; then
7953 enableval=$enable_timer;
7954 if test "$enableval" = yes; then
7955 wx_cv_use_timer='wxUSE_TIMER=yes'
7956 else
7957 wx_cv_use_timer='wxUSE_TIMER=no'
7958 fi
7959
7960 else
7961
7962 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7963
7964 fi
7965
7966
7967 eval "$wx_cv_use_timer"
7968
7969 if test x"$enablestring" = xdisable; then
7970 if test $wxUSE_TIMER = no; then
7971 result=yes
7972 else
7973 result=no
7974 fi
7975 else
7976 result=$wxUSE_TIMER
7977 fi
7978
7979 { echo "$as_me:$LINENO: result: $result" >&5
7980 echo "${ECHO_T}$result" >&6; }
7981
7982
7983 enablestring=
7984 defaultval=$wxUSE_ALL_FEATURES
7985 if test -z "$defaultval"; then
7986 if test x"$enablestring" = xdisable; then
7987 defaultval=yes
7988 else
7989 defaultval=no
7990 fi
7991 fi
7992
7993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7995 # Check whether --enable-variant was given.
7996 if test "${enable_variant+set}" = set; then
7997 enableval=$enable_variant;
7998 if test "$enableval" = yes; then
7999 wx_cv_use_variant='wxUSE_VARIANT=yes'
8000 else
8001 wx_cv_use_variant='wxUSE_VARIANT=no'
8002 fi
8003
8004 else
8005
8006 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8007
8008 fi
8009
8010
8011 eval "$wx_cv_use_variant"
8012
8013 if test x"$enablestring" = xdisable; then
8014 if test $wxUSE_VARIANT = no; then
8015 result=yes
8016 else
8017 result=no
8018 fi
8019 else
8020 result=$wxUSE_VARIANT
8021 fi
8022
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8025
8026
8027 enablestring=
8028 defaultval=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x"$enablestring" = xdisable; then
8031 defaultval=yes
8032 else
8033 defaultval=no
8034 fi
8035 fi
8036
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8039 # Check whether --enable-zipstream was given.
8040 if test "${enable_zipstream+set}" = set; then
8041 enableval=$enable_zipstream;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8044 else
8045 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8046 fi
8047
8048 else
8049
8050 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8051
8052 fi
8053
8054
8055 eval "$wx_cv_use_zipstream"
8056
8057 if test x"$enablestring" = xdisable; then
8058 if test $wxUSE_ZIPSTREAM = no; then
8059 result=yes
8060 else
8061 result=no
8062 fi
8063 else
8064 result=$wxUSE_ZIPSTREAM
8065 fi
8066
8067 { echo "$as_me:$LINENO: result: $result" >&5
8068 echo "${ECHO_T}$result" >&6; }
8069
8070
8071
8072 enablestring=
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8076 defaultval=yes
8077 else
8078 defaultval=no
8079 fi
8080 fi
8081
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8084 # Check whether --enable-url was given.
8085 if test "${enable_url+set}" = set; then
8086 enableval=$enable_url;
8087 if test "$enableval" = yes; then
8088 wx_cv_use_url='wxUSE_URL=yes'
8089 else
8090 wx_cv_use_url='wxUSE_URL=no'
8091 fi
8092
8093 else
8094
8095 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8096
8097 fi
8098
8099
8100 eval "$wx_cv_use_url"
8101
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_URL = no; then
8104 result=yes
8105 else
8106 result=no
8107 fi
8108 else
8109 result=$wxUSE_URL
8110 fi
8111
8112 { echo "$as_me:$LINENO: result: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8128 # Check whether --enable-protocol was given.
8129 if test "${enable_protocol+set}" = set; then
8130 enableval=$enable_protocol;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8133 else
8134 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_protocol"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_PROTOCOL = no; then
8148 result=yes
8149 else
8150 result=no
8151 fi
8152 else
8153 result=$wxUSE_PROTOCOL
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8172 # Check whether --enable-protocol_http was given.
8173 if test "${enable_protocol_http+set}" = set; then
8174 enableval=$enable_protocol_http;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8177 else
8178 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_protocol_http"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_PROTOCOL_HTTP = no; then
8192 result=yes
8193 else
8194 result=no
8195 fi
8196 else
8197 result=$wxUSE_PROTOCOL_HTTP
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8216 # Check whether --enable-protocol_ftp was given.
8217 if test "${enable_protocol_ftp+set}" = set; then
8218 enableval=$enable_protocol_ftp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8221 else
8222 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_protocol_ftp"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_PROTOCOL_FTP = no; then
8236 result=yes
8237 else
8238 result=no
8239 fi
8240 else
8241 result=$wxUSE_PROTOCOL_FTP
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248 enablestring=
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8252 defaultval=yes
8253 else
8254 defaultval=no
8255 fi
8256 fi
8257
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8260 # Check whether --enable-protocol_file was given.
8261 if test "${enable_protocol_file+set}" = set; then
8262 enableval=$enable_protocol_file;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8265 else
8266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8267 fi
8268
8269 else
8270
8271 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8272
8273 fi
8274
8275
8276 eval "$wx_cv_use_protocol_file"
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_PROTOCOL_FILE = no; then
8280 result=yes
8281 else
8282 result=no
8283 fi
8284 else
8285 result=$wxUSE_PROTOCOL_FILE
8286 fi
8287
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8290
8291
8292
8293 enablestring=
8294 defaultval=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x"$enablestring" = xdisable; then
8297 defaultval=yes
8298 else
8299 defaultval=no
8300 fi
8301 fi
8302
8303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8305 # Check whether --enable-threads was given.
8306 if test "${enable_threads+set}" = set; then
8307 enableval=$enable_threads;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_threads='wxUSE_THREADS=yes'
8310 else
8311 wx_cv_use_threads='wxUSE_THREADS=no'
8312 fi
8313
8314 else
8315
8316 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8317
8318 fi
8319
8320
8321 eval "$wx_cv_use_threads"
8322
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_THREADS = no; then
8325 result=yes
8326 else
8327 result=no
8328 fi
8329 else
8330 result=$wxUSE_THREADS
8331 fi
8332
8333 { echo "$as_me:$LINENO: result: $result" >&5
8334 echo "${ECHO_T}$result" >&6; }
8335
8336
8337
8338 enablestring=
8339 defaultval=
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8342 defaultval=yes
8343 else
8344 defaultval=no
8345 fi
8346 fi
8347
8348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8350 # Check whether --enable-iniconf was given.
8351 if test "${enable_iniconf+set}" = set; then
8352 enableval=$enable_iniconf;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8355 else
8356 wx_cv_use_iniconf='wxUSE_INICONF=no'
8357 fi
8358
8359 else
8360
8361 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8362
8363 fi
8364
8365
8366 eval "$wx_cv_use_iniconf"
8367
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_INICONF = no; then
8370 result=yes
8371 else
8372 result=no
8373 fi
8374 else
8375 result=$wxUSE_INICONF
8376 fi
8377
8378 { echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8380
8381
8382 enablestring=
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8386 defaultval=yes
8387 else
8388 defaultval=no
8389 fi
8390 fi
8391
8392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8394 # Check whether --enable-regkey was given.
8395 if test "${enable_regkey+set}" = set; then
8396 enableval=$enable_regkey;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8399 else
8400 wx_cv_use_regkey='wxUSE_REGKEY=no'
8401 fi
8402
8403 else
8404
8405 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8406
8407 fi
8408
8409
8410 eval "$wx_cv_use_regkey"
8411
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_REGKEY = no; then
8414 result=yes
8415 else
8416 result=no
8417 fi
8418 else
8419 result=$wxUSE_REGKEY
8420 fi
8421
8422 { echo "$as_me:$LINENO: result: $result" >&5
8423 echo "${ECHO_T}$result" >&6; }
8424
8425
8426 if test "$wxUSE_GUI" = "yes"; then
8427
8428
8429
8430 enablestring=
8431 defaultval=$wxUSE_ALL_FEATURES
8432 if test -z "$defaultval"; then
8433 if test x"$enablestring" = xdisable; then
8434 defaultval=yes
8435 else
8436 defaultval=no
8437 fi
8438 fi
8439
8440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8442 # Check whether --enable-docview was given.
8443 if test "${enable_docview+set}" = set; then
8444 enableval=$enable_docview;
8445 if test "$enableval" = yes; then
8446 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8447 else
8448 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8449 fi
8450
8451 else
8452
8453 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8454
8455 fi
8456
8457
8458 eval "$wx_cv_use_docview"
8459
8460 if test x"$enablestring" = xdisable; then
8461 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8462 result=yes
8463 else
8464 result=no
8465 fi
8466 else
8467 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8468 fi
8469
8470 { echo "$as_me:$LINENO: result: $result" >&5
8471 echo "${ECHO_T}$result" >&6; }
8472
8473
8474 enablestring=
8475 defaultval=$wxUSE_ALL_FEATURES
8476 if test -z "$defaultval"; then
8477 if test x"$enablestring" = xdisable; then
8478 defaultval=yes
8479 else
8480 defaultval=no
8481 fi
8482 fi
8483
8484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8486 # Check whether --enable-help was given.
8487 if test "${enable_help+set}" = set; then
8488 enableval=$enable_help;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_help='wxUSE_HELP=yes'
8491 else
8492 wx_cv_use_help='wxUSE_HELP=no'
8493 fi
8494
8495 else
8496
8497 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8498
8499 fi
8500
8501
8502 eval "$wx_cv_use_help"
8503
8504 if test x"$enablestring" = xdisable; then
8505 if test $wxUSE_HELP = no; then
8506 result=yes
8507 else
8508 result=no
8509 fi
8510 else
8511 result=$wxUSE_HELP
8512 fi
8513
8514 { echo "$as_me:$LINENO: result: $result" >&5
8515 echo "${ECHO_T}$result" >&6; }
8516
8517
8518 enablestring=
8519 defaultval=$wxUSE_ALL_FEATURES
8520 if test -z "$defaultval"; then
8521 if test x"$enablestring" = xdisable; then
8522 defaultval=yes
8523 else
8524 defaultval=no
8525 fi
8526 fi
8527
8528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8530 # Check whether --enable-mshtmlhelp was given.
8531 if test "${enable_mshtmlhelp+set}" = set; then
8532 enableval=$enable_mshtmlhelp;
8533 if test "$enableval" = yes; then
8534 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8535 else
8536 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8537 fi
8538
8539 else
8540
8541 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8542
8543 fi
8544
8545
8546 eval "$wx_cv_use_mshtmlhelp"
8547
8548 if test x"$enablestring" = xdisable; then
8549 if test $wxUSE_MS_HTML_HELP = no; then
8550 result=yes
8551 else
8552 result=no
8553 fi
8554 else
8555 result=$wxUSE_MS_HTML_HELP
8556 fi
8557
8558 { echo "$as_me:$LINENO: result: $result" >&5
8559 echo "${ECHO_T}$result" >&6; }
8560
8561
8562 enablestring=
8563 defaultval=$wxUSE_ALL_FEATURES
8564 if test -z "$defaultval"; then
8565 if test x"$enablestring" = xdisable; then
8566 defaultval=yes
8567 else
8568 defaultval=no
8569 fi
8570 fi
8571
8572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8574 # Check whether --enable-html was given.
8575 if test "${enable_html+set}" = set; then
8576 enableval=$enable_html;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_html='wxUSE_HTML=yes'
8579 else
8580 wx_cv_use_html='wxUSE_HTML=no'
8581 fi
8582
8583 else
8584
8585 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8586
8587 fi
8588
8589
8590 eval "$wx_cv_use_html"
8591
8592 if test x"$enablestring" = xdisable; then
8593 if test $wxUSE_HTML = no; then
8594 result=yes
8595 else
8596 result=no
8597 fi
8598 else
8599 result=$wxUSE_HTML
8600 fi
8601
8602 { echo "$as_me:$LINENO: result: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8604
8605
8606 enablestring=
8607 defaultval=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x"$enablestring" = xdisable; then
8610 defaultval=yes
8611 else
8612 defaultval=no
8613 fi
8614 fi
8615
8616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8618 # Check whether --enable-htmlhelp was given.
8619 if test "${enable_htmlhelp+set}" = set; then
8620 enableval=$enable_htmlhelp;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8623 else
8624 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8625 fi
8626
8627 else
8628
8629 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8630
8631 fi
8632
8633
8634 eval "$wx_cv_use_htmlhelp"
8635
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_WXHTML_HELP = no; then
8638 result=yes
8639 else
8640 result=no
8641 fi
8642 else
8643 result=$wxUSE_WXHTML_HELP
8644 fi
8645
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8648
8649
8650 enablestring=
8651 defaultval=$wxUSE_ALL_FEATURES
8652 if test -z "$defaultval"; then
8653 if test x"$enablestring" = xdisable; then
8654 defaultval=yes
8655 else
8656 defaultval=no
8657 fi
8658 fi
8659
8660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8662 # Check whether --enable-xrc was given.
8663 if test "${enable_xrc+set}" = set; then
8664 enableval=$enable_xrc;
8665 if test "$enableval" = yes; then
8666 wx_cv_use_xrc='wxUSE_XRC=yes'
8667 else
8668 wx_cv_use_xrc='wxUSE_XRC=no'
8669 fi
8670
8671 else
8672
8673 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8674
8675 fi
8676
8677
8678 eval "$wx_cv_use_xrc"
8679
8680 if test x"$enablestring" = xdisable; then
8681 if test $wxUSE_XRC = no; then
8682 result=yes
8683 else
8684 result=no
8685 fi
8686 else
8687 result=$wxUSE_XRC
8688 fi
8689
8690 { echo "$as_me:$LINENO: result: $result" >&5
8691 echo "${ECHO_T}$result" >&6; }
8692
8693
8694 enablestring=
8695 defaultval=$wxUSE_ALL_FEATURES
8696 if test -z "$defaultval"; then
8697 if test x"$enablestring" = xdisable; then
8698 defaultval=yes
8699 else
8700 defaultval=no
8701 fi
8702 fi
8703
8704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8706 # Check whether --enable-aui was given.
8707 if test "${enable_aui+set}" = set; then
8708 enableval=$enable_aui;
8709 if test "$enableval" = yes; then
8710 wx_cv_use_aui='wxUSE_AUI=yes'
8711 else
8712 wx_cv_use_aui='wxUSE_AUI=no'
8713 fi
8714
8715 else
8716
8717 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8718
8719 fi
8720
8721
8722 eval "$wx_cv_use_aui"
8723
8724 if test x"$enablestring" = xdisable; then
8725 if test $wxUSE_AUI = no; then
8726 result=yes
8727 else
8728 result=no
8729 fi
8730 else
8731 result=$wxUSE_AUI
8732 fi
8733
8734 { echo "$as_me:$LINENO: result: $result" >&5
8735 echo "${ECHO_T}$result" >&6; }
8736
8737
8738 enablestring=
8739 defaultval=$wxUSE_ALL_FEATURES
8740 if test -z "$defaultval"; then
8741 if test x"$enablestring" = xdisable; then
8742 defaultval=yes
8743 else
8744 defaultval=no
8745 fi
8746 fi
8747
8748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8750 # Check whether --enable-propgrid was given.
8751 if test "${enable_propgrid+set}" = set; then
8752 enableval=$enable_propgrid;
8753 if test "$enableval" = yes; then
8754 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8755 else
8756 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8757 fi
8758
8759 else
8760
8761 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8762
8763 fi
8764
8765
8766 eval "$wx_cv_use_propgrid"
8767
8768 if test x"$enablestring" = xdisable; then
8769 if test $wxUSE_PROPGRID = no; then
8770 result=yes
8771 else
8772 result=no
8773 fi
8774 else
8775 result=$wxUSE_PROPGRID
8776 fi
8777
8778 { echo "$as_me:$LINENO: result: $result" >&5
8779 echo "${ECHO_T}$result" >&6; }
8780
8781
8782 enablestring=
8783 defaultval=$wxUSE_ALL_FEATURES
8784 if test -z "$defaultval"; then
8785 if test x"$enablestring" = xdisable; then
8786 defaultval=yes
8787 else
8788 defaultval=no
8789 fi
8790 fi
8791
8792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8794 # Check whether --enable-ribbon was given.
8795 if test "${enable_ribbon+set}" = set; then
8796 enableval=$enable_ribbon;
8797 if test "$enableval" = yes; then
8798 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8799 else
8800 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8801 fi
8802
8803 else
8804
8805 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8806
8807 fi
8808
8809
8810 eval "$wx_cv_use_ribbon"
8811
8812 if test x"$enablestring" = xdisable; then
8813 if test $wxUSE_RIBBON = no; then
8814 result=yes
8815 else
8816 result=no
8817 fi
8818 else
8819 result=$wxUSE_RIBBON
8820 fi
8821
8822 { echo "$as_me:$LINENO: result: $result" >&5
8823 echo "${ECHO_T}$result" >&6; }
8824
8825
8826 enablestring=
8827 defaultval=$wxUSE_ALL_FEATURES
8828 if test -z "$defaultval"; then
8829 if test x"$enablestring" = xdisable; then
8830 defaultval=yes
8831 else
8832 defaultval=no
8833 fi
8834 fi
8835
8836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8838 # Check whether --enable-stc was given.
8839 if test "${enable_stc+set}" = set; then
8840 enableval=$enable_stc;
8841 if test "$enableval" = yes; then
8842 wx_cv_use_stc='wxUSE_STC=yes'
8843 else
8844 wx_cv_use_stc='wxUSE_STC=no'
8845 fi
8846
8847 else
8848
8849 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8850
8851 fi
8852
8853
8854 eval "$wx_cv_use_stc"
8855
8856 if test x"$enablestring" = xdisable; then
8857 if test $wxUSE_STC = no; then
8858 result=yes
8859 else
8860 result=no
8861 fi
8862 else
8863 result=$wxUSE_STC
8864 fi
8865
8866 { echo "$as_me:$LINENO: result: $result" >&5
8867 echo "${ECHO_T}$result" >&6; }
8868
8869
8870 enablestring=
8871 defaultval=$wxUSE_ALL_FEATURES
8872 if test -z "$defaultval"; then
8873 if test x"$enablestring" = xdisable; then
8874 defaultval=yes
8875 else
8876 defaultval=no
8877 fi
8878 fi
8879
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8882 # Check whether --enable-constraints was given.
8883 if test "${enable_constraints+set}" = set; then
8884 enableval=$enable_constraints;
8885 if test "$enableval" = yes; then
8886 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8887 else
8888 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8889 fi
8890
8891 else
8892
8893 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8894
8895 fi
8896
8897
8898 eval "$wx_cv_use_constraints"
8899
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_CONSTRAINTS = no; then
8902 result=yes
8903 else
8904 result=no
8905 fi
8906 else
8907 result=$wxUSE_CONSTRAINTS
8908 fi
8909
8910 { echo "$as_me:$LINENO: result: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8912
8913
8914 enablestring=
8915 defaultval=$wxUSE_ALL_FEATURES
8916 if test -z "$defaultval"; then
8917 if test x"$enablestring" = xdisable; then
8918 defaultval=yes
8919 else
8920 defaultval=no
8921 fi
8922 fi
8923
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8926 # Check whether --enable-loggui was given.
8927 if test "${enable_loggui+set}" = set; then
8928 enableval=$enable_loggui;
8929 if test "$enableval" = yes; then
8930 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8931 else
8932 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8933 fi
8934
8935 else
8936
8937 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8938
8939 fi
8940
8941
8942 eval "$wx_cv_use_loggui"
8943
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_LOGGUI = no; then
8946 result=yes
8947 else
8948 result=no
8949 fi
8950 else
8951 result=$wxUSE_LOGGUI
8952 fi
8953
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8956
8957
8958 enablestring=
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8962 defaultval=yes
8963 else
8964 defaultval=no
8965 fi
8966 fi
8967
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8970 # Check whether --enable-logwin was given.
8971 if test "${enable_logwin+set}" = set; then
8972 enableval=$enable_logwin;
8973 if test "$enableval" = yes; then
8974 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8975 else
8976 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8977 fi
8978
8979 else
8980
8981 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8982
8983 fi
8984
8985
8986 eval "$wx_cv_use_logwin"
8987
8988 if test x"$enablestring" = xdisable; then
8989 if test $wxUSE_LOGWINDOW = no; then
8990 result=yes
8991 else
8992 result=no
8993 fi
8994 else
8995 result=$wxUSE_LOGWINDOW
8996 fi
8997
8998 { echo "$as_me:$LINENO: result: $result" >&5
8999 echo "${ECHO_T}$result" >&6; }
9000
9001
9002 enablestring=
9003 defaultval=$wxUSE_ALL_FEATURES
9004 if test -z "$defaultval"; then
9005 if test x"$enablestring" = xdisable; then
9006 defaultval=yes
9007 else
9008 defaultval=no
9009 fi
9010 fi
9011
9012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9013 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9014 # Check whether --enable-logdialog was given.
9015 if test "${enable_logdialog+set}" = set; then
9016 enableval=$enable_logdialog;
9017 if test "$enableval" = yes; then
9018 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9019 else
9020 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9021 fi
9022
9023 else
9024
9025 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9026
9027 fi
9028
9029
9030 eval "$wx_cv_use_logdialog"
9031
9032 if test x"$enablestring" = xdisable; then
9033 if test $wxUSE_LOGDIALOG = no; then
9034 result=yes
9035 else
9036 result=no
9037 fi
9038 else
9039 result=$wxUSE_LOGDIALOG
9040 fi
9041
9042 { echo "$as_me:$LINENO: result: $result" >&5
9043 echo "${ECHO_T}$result" >&6; }
9044
9045
9046 enablestring=
9047 defaultval=$wxUSE_ALL_FEATURES
9048 if test -z "$defaultval"; then
9049 if test x"$enablestring" = xdisable; then
9050 defaultval=yes
9051 else
9052 defaultval=no
9053 fi
9054 fi
9055
9056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9057 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9058 # Check whether --enable-mdi was given.
9059 if test "${enable_mdi+set}" = set; then
9060 enableval=$enable_mdi;
9061 if test "$enableval" = yes; then
9062 wx_cv_use_mdi='wxUSE_MDI=yes'
9063 else
9064 wx_cv_use_mdi='wxUSE_MDI=no'
9065 fi
9066
9067 else
9068
9069 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9070
9071 fi
9072
9073
9074 eval "$wx_cv_use_mdi"
9075
9076 if test x"$enablestring" = xdisable; then
9077 if test $wxUSE_MDI = no; then
9078 result=yes
9079 else
9080 result=no
9081 fi
9082 else
9083 result=$wxUSE_MDI
9084 fi
9085
9086 { echo "$as_me:$LINENO: result: $result" >&5
9087 echo "${ECHO_T}$result" >&6; }
9088
9089
9090 enablestring=
9091 defaultval=$wxUSE_ALL_FEATURES
9092 if test -z "$defaultval"; then
9093 if test x"$enablestring" = xdisable; then
9094 defaultval=yes
9095 else
9096 defaultval=no
9097 fi
9098 fi
9099
9100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9101 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9102 # Check whether --enable-mdidoc was given.
9103 if test "${enable_mdidoc+set}" = set; then
9104 enableval=$enable_mdidoc;
9105 if test "$enableval" = yes; then
9106 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9107 else
9108 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9109 fi
9110
9111 else
9112
9113 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9114
9115 fi
9116
9117
9118 eval "$wx_cv_use_mdidoc"
9119
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_MDI_ARCHITECTURE = no; then
9122 result=yes
9123 else
9124 result=no
9125 fi
9126 else
9127 result=$wxUSE_MDI_ARCHITECTURE
9128 fi
9129
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9132
9133
9134 enablestring=
9135 defaultval=$wxUSE_ALL_FEATURES
9136 if test -z "$defaultval"; then
9137 if test x"$enablestring" = xdisable; then
9138 defaultval=yes
9139 else
9140 defaultval=no
9141 fi
9142 fi
9143
9144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9146 # Check whether --enable-mediactrl was given.
9147 if test "${enable_mediactrl+set}" = set; then
9148 enableval=$enable_mediactrl;
9149 if test "$enableval" = yes; then
9150 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9151 else
9152 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9153 fi
9154
9155 else
9156
9157 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9158
9159 fi
9160
9161
9162 eval "$wx_cv_use_mediactrl"
9163
9164 if test x"$enablestring" = xdisable; then
9165 if test $wxUSE_MEDIACTRL = no; then
9166 result=yes
9167 else
9168 result=no
9169 fi
9170 else
9171 result=$wxUSE_MEDIACTRL
9172 fi
9173
9174 { echo "$as_me:$LINENO: result: $result" >&5
9175 echo "${ECHO_T}$result" >&6; }
9176
9177
9178 enablestring=
9179 defaultval=$wxUSE_ALL_FEATURES
9180 if test -z "$defaultval"; then
9181 if test x"$enablestring" = xdisable; then
9182 defaultval=yes
9183 else
9184 defaultval=no
9185 fi
9186 fi
9187
9188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9190 # Check whether --enable-gstreamer8 was given.
9191 if test "${enable_gstreamer8+set}" = set; then
9192 enableval=$enable_gstreamer8;
9193 if test "$enableval" = yes; then
9194 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9195 else
9196 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9197 fi
9198
9199 else
9200
9201 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9202
9203 fi
9204
9205
9206 eval "$wx_cv_use_gstreamer8"
9207
9208 if test x"$enablestring" = xdisable; then
9209 if test $wxUSE_GSTREAMER8 = no; then
9210 result=yes
9211 else
9212 result=no
9213 fi
9214 else
9215 result=$wxUSE_GSTREAMER8
9216 fi
9217
9218 { echo "$as_me:$LINENO: result: $result" >&5
9219 echo "${ECHO_T}$result" >&6; }
9220
9221
9222 enablestring=
9223 defaultval=$wxUSE_ALL_FEATURES
9224 if test -z "$defaultval"; then
9225 if test x"$enablestring" = xdisable; then
9226 defaultval=yes
9227 else
9228 defaultval=no
9229 fi
9230 fi
9231
9232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9234 # Check whether --enable-webkit was given.
9235 if test "${enable_webkit+set}" = set; then
9236 enableval=$enable_webkit;
9237 if test "$enableval" = yes; then
9238 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9239 else
9240 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9241 fi
9242
9243 else
9244
9245 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9246
9247 fi
9248
9249
9250 eval "$wx_cv_use_webkit"
9251
9252 if test x"$enablestring" = xdisable; then
9253 if test $wxUSE_WEBKIT = no; then
9254 result=yes
9255 else
9256 result=no
9257 fi
9258 else
9259 result=$wxUSE_WEBKIT
9260 fi
9261
9262 { echo "$as_me:$LINENO: result: $result" >&5
9263 echo "${ECHO_T}$result" >&6; }
9264
9265
9266 enablestring=
9267 defaultval=$wxUSE_ALL_FEATURES
9268 if test -z "$defaultval"; then
9269 if test x"$enablestring" = xdisable; then
9270 defaultval=yes
9271 else
9272 defaultval=no
9273 fi
9274 fi
9275
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9278 # Check whether --enable-richtext was given.
9279 if test "${enable_richtext+set}" = set; then
9280 enableval=$enable_richtext;
9281 if test "$enableval" = yes; then
9282 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9283 else
9284 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9285 fi
9286
9287 else
9288
9289 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9290
9291 fi
9292
9293
9294 eval "$wx_cv_use_richtext"
9295
9296 if test x"$enablestring" = xdisable; then
9297 if test $wxUSE_RICHTEXT = no; then
9298 result=yes
9299 else
9300 result=no
9301 fi
9302 else
9303 result=$wxUSE_RICHTEXT
9304 fi
9305
9306 { echo "$as_me:$LINENO: result: $result" >&5
9307 echo "${ECHO_T}$result" >&6; }
9308
9309
9310 enablestring=
9311 defaultval=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x"$enablestring" = xdisable; then
9314 defaultval=yes
9315 else
9316 defaultval=no
9317 fi
9318 fi
9319
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9322 # Check whether --enable-postscript was given.
9323 if test "${enable_postscript+set}" = set; then
9324 enableval=$enable_postscript;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9327 else
9328 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9329 fi
9330
9331 else
9332
9333 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9334
9335 fi
9336
9337
9338 eval "$wx_cv_use_postscript"
9339
9340 if test x"$enablestring" = xdisable; then
9341 if test $wxUSE_POSTSCRIPT = no; then
9342 result=yes
9343 else
9344 result=no
9345 fi
9346 else
9347 result=$wxUSE_POSTSCRIPT
9348 fi
9349
9350 { echo "$as_me:$LINENO: result: $result" >&5
9351 echo "${ECHO_T}$result" >&6; }
9352
9353
9354 enablestring=
9355 defaultval=$wxUSE_ALL_FEATURES
9356 if test -z "$defaultval"; then
9357 if test x"$enablestring" = xdisable; then
9358 defaultval=yes
9359 else
9360 defaultval=no
9361 fi
9362 fi
9363
9364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9366 # Check whether --enable-printarch was given.
9367 if test "${enable_printarch+set}" = set; then
9368 enableval=$enable_printarch;
9369 if test "$enableval" = yes; then
9370 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9371 else
9372 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9373 fi
9374
9375 else
9376
9377 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9378
9379 fi
9380
9381
9382 eval "$wx_cv_use_printarch"
9383
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9386 result=yes
9387 else
9388 result=no
9389 fi
9390 else
9391 result=$wxUSE_PRINTING_ARCHITECTURE
9392 fi
9393
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9396
9397
9398 enablestring=
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9402 defaultval=yes
9403 else
9404 defaultval=no
9405 fi
9406 fi
9407
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9410 # Check whether --enable-svg was given.
9411 if test "${enable_svg+set}" = set; then
9412 enableval=$enable_svg;
9413 if test "$enableval" = yes; then
9414 wx_cv_use_svg='wxUSE_SVG=yes'
9415 else
9416 wx_cv_use_svg='wxUSE_SVG=no'
9417 fi
9418
9419 else
9420
9421 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9422
9423 fi
9424
9425
9426 eval "$wx_cv_use_svg"
9427
9428 if test x"$enablestring" = xdisable; then
9429 if test $wxUSE_SVG = no; then
9430 result=yes
9431 else
9432 result=no
9433 fi
9434 else
9435 result=$wxUSE_SVG
9436 fi
9437
9438 { echo "$as_me:$LINENO: result: $result" >&5
9439 echo "${ECHO_T}$result" >&6; }
9440
9441
9442 if test "$wxUSE_MAC" != 1; then
9443
9444 enablestring=
9445 defaultval=$wxUSE_ALL_FEATURES
9446 if test -z "$defaultval"; then
9447 if test x"$enablestring" = xdisable; then
9448 defaultval=yes
9449 else
9450 defaultval=no
9451 fi
9452 fi
9453
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9456 # Check whether --enable-graphics_ctx was given.
9457 if test "${enable_graphics_ctx+set}" = set; then
9458 enableval=$enable_graphics_ctx;
9459 if test "$enableval" = yes; then
9460 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9461 else
9462 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9463 fi
9464
9465 else
9466
9467 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9468
9469 fi
9470
9471
9472 eval "$wx_cv_use_graphics_ctx"
9473
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9476 result=yes
9477 else
9478 result=no
9479 fi
9480 else
9481 result=$wxUSE_GRAPHICS_CONTEXT
9482 fi
9483
9484 { echo "$as_me:$LINENO: result: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9486
9487 fi
9488
9489
9490
9491 enablestring=
9492 defaultval=$wxUSE_ALL_FEATURES
9493 if test -z "$defaultval"; then
9494 if test x"$enablestring" = xdisable; then
9495 defaultval=yes
9496 else
9497 defaultval=no
9498 fi
9499 fi
9500
9501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9502 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9503 # Check whether --enable-clipboard was given.
9504 if test "${enable_clipboard+set}" = set; then
9505 enableval=$enable_clipboard;
9506 if test "$enableval" = yes; then
9507 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9508 else
9509 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9510 fi
9511
9512 else
9513
9514 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9515
9516 fi
9517
9518
9519 eval "$wx_cv_use_clipboard"
9520
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_CLIPBOARD = no; then
9523 result=yes
9524 else
9525 result=no
9526 fi
9527 else
9528 result=$wxUSE_CLIPBOARD
9529 fi
9530
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9533
9534
9535 enablestring=
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9539 defaultval=yes
9540 else
9541 defaultval=no
9542 fi
9543 fi
9544
9545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9547 # Check whether --enable-dnd was given.
9548 if test "${enable_dnd+set}" = set; then
9549 enableval=$enable_dnd;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9552 else
9553 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9554 fi
9555
9556 else
9557
9558 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9559
9560 fi
9561
9562
9563 eval "$wx_cv_use_dnd"
9564
9565 if test x"$enablestring" = xdisable; then
9566 if test $wxUSE_DRAG_AND_DROP = no; then
9567 result=yes
9568 else
9569 result=no
9570 fi
9571 else
9572 result=$wxUSE_DRAG_AND_DROP
9573 fi
9574
9575 { echo "$as_me:$LINENO: result: $result" >&5
9576 echo "${ECHO_T}$result" >&6; }
9577
9578
9579 enablestring=
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9583 defaultval=yes
9584 else
9585 defaultval=no
9586 fi
9587 fi
9588
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9591 # Check whether --enable-metafile was given.
9592 if test "${enable_metafile+set}" = set; then
9593 enableval=$enable_metafile;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9596 else
9597 wx_cv_use_metafile='wxUSE_METAFILE=no'
9598 fi
9599
9600 else
9601
9602 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9603
9604 fi
9605
9606
9607 eval "$wx_cv_use_metafile"
9608
9609 if test x"$enablestring" = xdisable; then
9610 if test $wxUSE_METAFILE = no; then
9611 result=yes
9612 else
9613 result=no
9614 fi
9615 else
9616 result=$wxUSE_METAFILE
9617 fi
9618
9619 { echo "$as_me:$LINENO: result: $result" >&5
9620 echo "${ECHO_T}$result" >&6; }
9621
9622
9623
9624 DEFAULT_wxUSE_CONTROLS=none
9625
9626 enablestring=disable
9627 defaultval=
9628 if test -z "$defaultval"; then
9629 if test x"$enablestring" = xdisable; then
9630 defaultval=yes
9631 else
9632 defaultval=no
9633 fi
9634 fi
9635
9636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9638 # Check whether --enable-controls was given.
9639 if test "${enable_controls+set}" = set; then
9640 enableval=$enable_controls;
9641 if test "$enableval" = yes; then
9642 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9643 else
9644 wx_cv_use_controls='wxUSE_CONTROLS=no'
9645 fi
9646
9647 else
9648
9649 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9650
9651 fi
9652
9653
9654 eval "$wx_cv_use_controls"
9655
9656 if test x"$enablestring" = xdisable; then
9657 if test $wxUSE_CONTROLS = no; then
9658 result=yes
9659 else
9660 result=no
9661 fi
9662 else
9663 result=$wxUSE_CONTROLS
9664 fi
9665
9666 { echo "$as_me:$LINENO: result: $result" >&5
9667 echo "${ECHO_T}$result" >&6; }
9668
9669
9670 if test "$wxUSE_CONTROLS" = "no"; then
9671 DEFAULT_wxUSE_ACCEL=no
9672 DEFAULT_wxUSE_ANIMATIONCTRL=no
9673 DEFAULT_wxUSE_BMPBUTTON=no
9674 DEFAULT_wxUSE_BUTTON=no
9675 DEFAULT_wxUSE_CALCTRL=no
9676 DEFAULT_wxUSE_CARET=no
9677 DEFAULT_wxUSE_CHECKBOX=no
9678 DEFAULT_wxUSE_CHECKLISTBOX=no
9679 DEFAULT_wxUSE_CHOICE=no
9680 DEFAULT_wxUSE_CHOICEBOOK=no
9681 DEFAULT_wxUSE_COLLPANE=no
9682 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9683 DEFAULT_wxUSE_COMBOBOX=no
9684 DEFAULT_wxUSE_COMBOBOX=no
9685 DEFAULT_wxUSE_DATAVIEWCTRL=no
9686 DEFAULT_wxUSE_DATEPICKCTRL=no
9687 DEFAULT_wxUSE_DETECT_SM=no
9688 DEFAULT_wxUSE_DIRPICKERCTRL=no
9689 DEFAULT_wxUSE_DISPLAY=no
9690 DEFAULT_wxUSE_FILECTRL=no
9691 DEFAULT_wxUSE_FILEPICKERCTRL=no
9692 DEFAULT_wxUSE_FONTPICKERCTRL=no
9693 DEFAULT_wxUSE_GAUGE=no
9694 DEFAULT_wxUSE_GRID=no
9695 DEFAULT_wxUSE_HEADERCTRL=no
9696 DEFAULT_wxUSE_HYPERLINKCTRL=no
9697 DEFAULT_wxUSE_IMAGLIST=no
9698 DEFAULT_wxUSE_LISTBOOK=no
9699 DEFAULT_wxUSE_LISTBOX=no
9700 DEFAULT_wxUSE_LISTCTRL=no
9701 DEFAULT_wxUSE_NOTEBOOK=no
9702 DEFAULT_wxUSE_POPUPWIN=no
9703 DEFAULT_wxUSE_RADIOBOX=no
9704 DEFAULT_wxUSE_RADIOBTN=no
9705 DEFAULT_wxUSE_REARRANGECTRL=no
9706 DEFAULT_wxUSE_SASH=no
9707 DEFAULT_wxUSE_SCROLLBAR=no
9708 DEFAULT_wxUSE_SEARCHCTRL=no
9709 DEFAULT_wxUSE_SLIDER=no
9710 DEFAULT_wxUSE_SPINBTN=no
9711 DEFAULT_wxUSE_SPINCTRL=no
9712 DEFAULT_wxUSE_SPLITTER=no
9713 DEFAULT_wxUSE_STATBMP=no
9714 DEFAULT_wxUSE_STATBOX=no
9715 DEFAULT_wxUSE_STATLINE=no
9716 DEFAULT_wxUSE_STATUSBAR=no
9717 DEFAULT_wxUSE_TIPWINDOW=no
9718 DEFAULT_wxUSE_TOGGLEBTN=no
9719 DEFAULT_wxUSE_TOOLBAR=no
9720 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9721 DEFAULT_wxUSE_TOOLBOOK=no
9722 DEFAULT_wxUSE_TOOLTIPS=no
9723 DEFAULT_wxUSE_TREEBOOK=no
9724 DEFAULT_wxUSE_TREECTRL=no
9725 fi
9726
9727
9728 enablestring=
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9732 defaultval=yes
9733 else
9734 defaultval=no
9735 fi
9736 fi
9737
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9740 # Check whether --enable-accel was given.
9741 if test "${enable_accel+set}" = set; then
9742 enableval=$enable_accel;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_accel='wxUSE_ACCEL=yes'
9745 else
9746 wx_cv_use_accel='wxUSE_ACCEL=no'
9747 fi
9748
9749 else
9750
9751 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9752
9753 fi
9754
9755
9756 eval "$wx_cv_use_accel"
9757
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_ACCEL = no; then
9760 result=yes
9761 else
9762 result=no
9763 fi
9764 else
9765 result=$wxUSE_ACCEL
9766 fi
9767
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9784 # Check whether --enable-animatectrl was given.
9785 if test "${enable_animatectrl+set}" = set; then
9786 enableval=$enable_animatectrl;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9789 else
9790 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9791 fi
9792
9793 else
9794
9795 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_animatectrl"
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_ANIMATIONCTRL = no; then
9804 result=yes
9805 else
9806 result=no
9807 fi
9808 else
9809 result=$wxUSE_ANIMATIONCTRL
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9828 # Check whether --enable-bmpbutton was given.
9829 if test "${enable_bmpbutton+set}" = set; then
9830 enableval=$enable_bmpbutton;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9833 else
9834 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9835 fi
9836
9837 else
9838
9839 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9840
9841 fi
9842
9843
9844 eval "$wx_cv_use_bmpbutton"
9845
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_BMPBUTTON = no; then
9848 result=yes
9849 else
9850 result=no
9851 fi
9852 else
9853 result=$wxUSE_BMPBUTTON
9854 fi
9855
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9858
9859
9860 enablestring=
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9864 defaultval=yes
9865 else
9866 defaultval=no
9867 fi
9868 fi
9869
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9872 # Check whether --enable-bmpcombobox was given.
9873 if test "${enable_bmpcombobox+set}" = set; then
9874 enableval=$enable_bmpcombobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9877 else
9878 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9879 fi
9880
9881 else
9882
9883 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_bmpcombobox"
9889
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_BITMAPCOMBOBOX = no; then
9892 result=yes
9893 else
9894 result=no
9895 fi
9896 else
9897 result=$wxUSE_BITMAPCOMBOBOX
9898 fi
9899
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9902
9903
9904 enablestring=
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9908 defaultval=yes
9909 else
9910 defaultval=no
9911 fi
9912 fi
9913
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9916 # Check whether --enable-button was given.
9917 if test "${enable_button+set}" = set; then
9918 enableval=$enable_button;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_button='wxUSE_BUTTON=yes'
9921 else
9922 wx_cv_use_button='wxUSE_BUTTON=no'
9923 fi
9924
9925 else
9926
9927 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_button"
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_BUTTON = no; then
9936 result=yes
9937 else
9938 result=no
9939 fi
9940 else
9941 result=$wxUSE_BUTTON
9942 fi
9943
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9960 # Check whether --enable-calendar was given.
9961 if test "${enable_calendar+set}" = set; then
9962 enableval=$enable_calendar;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9965 else
9966 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9967 fi
9968
9969 else
9970
9971 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_calendar"
9977
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_CALCTRL = no; then
9980 result=yes
9981 else
9982 result=no
9983 fi
9984 else
9985 result=$wxUSE_CALCTRL
9986 fi
9987
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9990
9991
9992 enablestring=
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
9996 defaultval=yes
9997 else
9998 defaultval=no
9999 fi
10000 fi
10001
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10004 # Check whether --enable-caret was given.
10005 if test "${enable_caret+set}" = set; then
10006 enableval=$enable_caret;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_caret='wxUSE_CARET=yes'
10009 else
10010 wx_cv_use_caret='wxUSE_CARET=no'
10011 fi
10012
10013 else
10014
10015 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_caret"
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_CARET = no; then
10024 result=yes
10025 else
10026 result=no
10027 fi
10028 else
10029 result=$wxUSE_CARET
10030 fi
10031
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10048 # Check whether --enable-checkbox was given.
10049 if test "${enable_checkbox+set}" = set; then
10050 enableval=$enable_checkbox;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10053 else
10054 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10055 fi
10056
10057 else
10058
10059 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_checkbox"
10065
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_CHECKBOX = no; then
10068 result=yes
10069 else
10070 result=no
10071 fi
10072 else
10073 result=$wxUSE_CHECKBOX
10074 fi
10075
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10078
10079
10080 enablestring=
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10084 defaultval=yes
10085 else
10086 defaultval=no
10087 fi
10088 fi
10089
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10092 # Check whether --enable-checklst was given.
10093 if test "${enable_checklst+set}" = set; then
10094 enableval=$enable_checklst;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10097 else
10098 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10099 fi
10100
10101 else
10102
10103 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_checklst"
10109
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_CHECKLST = no; then
10112 result=yes
10113 else
10114 result=no
10115 fi
10116 else
10117 result=$wxUSE_CHECKLST
10118 fi
10119
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10122
10123
10124 enablestring=
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10128 defaultval=yes
10129 else
10130 defaultval=no
10131 fi
10132 fi
10133
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10136 # Check whether --enable-choice was given.
10137 if test "${enable_choice+set}" = set; then
10138 enableval=$enable_choice;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_choice='wxUSE_CHOICE=yes'
10141 else
10142 wx_cv_use_choice='wxUSE_CHOICE=no'
10143 fi
10144
10145 else
10146
10147 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10148
10149 fi
10150
10151
10152 eval "$wx_cv_use_choice"
10153
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_CHOICE = no; then
10156 result=yes
10157 else
10158 result=no
10159 fi
10160 else
10161 result=$wxUSE_CHOICE
10162 fi
10163
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10166
10167
10168 enablestring=
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10172 defaultval=yes
10173 else
10174 defaultval=no
10175 fi
10176 fi
10177
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10180 # Check whether --enable-choicebook was given.
10181 if test "${enable_choicebook+set}" = set; then
10182 enableval=$enable_choicebook;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10185 else
10186 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10187 fi
10188
10189 else
10190
10191 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10192
10193 fi
10194
10195
10196 eval "$wx_cv_use_choicebook"
10197
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_CHOICEBOOK = no; then
10200 result=yes
10201 else
10202 result=no
10203 fi
10204 else
10205 result=$wxUSE_CHOICEBOOK
10206 fi
10207
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10210
10211
10212 enablestring=
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10216 defaultval=yes
10217 else
10218 defaultval=no
10219 fi
10220 fi
10221
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10224 # Check whether --enable-collpane was given.
10225 if test "${enable_collpane+set}" = set; then
10226 enableval=$enable_collpane;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10229 else
10230 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10231 fi
10232
10233 else
10234
10235 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10236
10237 fi
10238
10239
10240 eval "$wx_cv_use_collpane"
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_COLLPANE = no; then
10244 result=yes
10245 else
10246 result=no
10247 fi
10248 else
10249 result=$wxUSE_COLLPANE
10250 fi
10251
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-colourpicker was given.
10269 if test "${enable_colourpicker+set}" = set; then
10270 enableval=$enable_colourpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10273 else
10274 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10275 fi
10276
10277 else
10278
10279 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10280
10281 fi
10282
10283
10284 eval "$wx_cv_use_colourpicker"
10285
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_COLOURPICKERCTRL = no; then
10288 result=yes
10289 else
10290 result=no
10291 fi
10292 else
10293 result=$wxUSE_COLOURPICKERCTRL
10294 fi
10295
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10298
10299
10300 enablestring=
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10304 defaultval=yes
10305 else
10306 defaultval=no
10307 fi
10308 fi
10309
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10312 # Check whether --enable-combobox was given.
10313 if test "${enable_combobox+set}" = set; then
10314 enableval=$enable_combobox;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10317 else
10318 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10319 fi
10320
10321 else
10322
10323 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10324
10325 fi
10326
10327
10328 eval "$wx_cv_use_combobox"
10329
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_COMBOBOX = no; then
10332 result=yes
10333 else
10334 result=no
10335 fi
10336 else
10337 result=$wxUSE_COMBOBOX
10338 fi
10339
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10342
10343
10344 enablestring=
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10348 defaultval=yes
10349 else
10350 defaultval=no
10351 fi
10352 fi
10353
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10356 # Check whether --enable-comboctrl was given.
10357 if test "${enable_comboctrl+set}" = set; then
10358 enableval=$enable_comboctrl;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10361 else
10362 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10363 fi
10364
10365 else
10366
10367 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$wx_cv_use_comboctrl"
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_COMBOCTRL = no; then
10376 result=yes
10377 else
10378 result=no
10379 fi
10380 else
10381 result=$wxUSE_COMBOCTRL
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10405 else
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10407 fi
10408
10409 else
10410
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_dataviewctrl"
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = no; then
10420 result=yes
10421 else
10422 result=no
10423 fi
10424 else
10425 result=$wxUSE_DATAVIEWCTRL
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10444 # Check whether --enable-datepick was given.
10445 if test "${enable_datepick+set}" = set; then
10446 enableval=$enable_datepick;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10449 else
10450 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10451 fi
10452
10453 else
10454
10455 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10456
10457 fi
10458
10459
10460 eval "$wx_cv_use_datepick"
10461
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_DATEPICKCTRL = no; then
10464 result=yes
10465 else
10466 result=no
10467 fi
10468 else
10469 result=$wxUSE_DATEPICKCTRL
10470 fi
10471
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10474
10475
10476 enablestring=
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10480 defaultval=yes
10481 else
10482 defaultval=no
10483 fi
10484 fi
10485
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10488 # Check whether --enable-detect_sm was given.
10489 if test "${enable_detect_sm+set}" = set; then
10490 enableval=$enable_detect_sm;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10493 else
10494 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10495 fi
10496
10497 else
10498
10499 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10500
10501 fi
10502
10503
10504 eval "$wx_cv_use_detect_sm"
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_DETECT_SM = no; then
10508 result=yes
10509 else
10510 result=no
10511 fi
10512 else
10513 result=$wxUSE_DETECT_SM
10514 fi
10515
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10532 # Check whether --enable-dirpicker was given.
10533 if test "${enable_dirpicker+set}" = set; then
10534 enableval=$enable_dirpicker;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10537 else
10538 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10539 fi
10540
10541 else
10542
10543 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10544
10545 fi
10546
10547
10548 eval "$wx_cv_use_dirpicker"
10549
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_DIRPICKERCTRL = no; then
10552 result=yes
10553 else
10554 result=no
10555 fi
10556 else
10557 result=$wxUSE_DIRPICKERCTRL
10558 fi
10559
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10562
10563
10564 enablestring=
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10568 defaultval=yes
10569 else
10570 defaultval=no
10571 fi
10572 fi
10573
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10576 # Check whether --enable-display was given.
10577 if test "${enable_display+set}" = set; then
10578 enableval=$enable_display;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_display='wxUSE_DISPLAY=yes'
10581 else
10582 wx_cv_use_display='wxUSE_DISPLAY=no'
10583 fi
10584
10585 else
10586
10587 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_display"
10593
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_DISPLAY = no; then
10596 result=yes
10597 else
10598 result=no
10599 fi
10600 else
10601 result=$wxUSE_DISPLAY
10602 fi
10603
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10606
10607
10608 enablestring=
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10612 defaultval=yes
10613 else
10614 defaultval=no
10615 fi
10616 fi
10617
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10620 # Check whether --enable-editablebox was given.
10621 if test "${enable_editablebox+set}" = set; then
10622 enableval=$enable_editablebox;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10625 else
10626 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10627 fi
10628
10629 else
10630
10631 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10632
10633 fi
10634
10635
10636 eval "$wx_cv_use_editablebox"
10637
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_EDITABLELISTBOX = no; then
10640 result=yes
10641 else
10642 result=no
10643 fi
10644 else
10645 result=$wxUSE_EDITABLELISTBOX
10646 fi
10647
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10664 # Check whether --enable-filectrl was given.
10665 if test "${enable_filectrl+set}" = set; then
10666 enableval=$enable_filectrl;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10669 else
10670 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10671 fi
10672
10673 else
10674
10675 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10676
10677 fi
10678
10679
10680 eval "$wx_cv_use_filectrl"
10681
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_FILECTRL = no; then
10684 result=yes
10685 else
10686 result=no
10687 fi
10688 else
10689 result=$wxUSE_FILECTRL
10690 fi
10691
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10694
10695
10696 enablestring=
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10700 defaultval=yes
10701 else
10702 defaultval=no
10703 fi
10704 fi
10705
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10708 # Check whether --enable-filepicker was given.
10709 if test "${enable_filepicker+set}" = set; then
10710 enableval=$enable_filepicker;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10713 else
10714 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10715 fi
10716
10717 else
10718
10719 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10720
10721 fi
10722
10723
10724 eval "$wx_cv_use_filepicker"
10725
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_FILEPICKERCTRL = no; then
10728 result=yes
10729 else
10730 result=no
10731 fi
10732 else
10733 result=$wxUSE_FILEPICKERCTRL
10734 fi
10735
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10738
10739
10740 enablestring=
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10744 defaultval=yes
10745 else
10746 defaultval=no
10747 fi
10748 fi
10749
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10752 # Check whether --enable-fontpicker was given.
10753 if test "${enable_fontpicker+set}" = set; then
10754 enableval=$enable_fontpicker;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10757 else
10758 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10759 fi
10760
10761 else
10762
10763 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10764
10765 fi
10766
10767
10768 eval "$wx_cv_use_fontpicker"
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_FONTPICKERCTRL = no; then
10772 result=yes
10773 else
10774 result=no
10775 fi
10776 else
10777 result=$wxUSE_FONTPICKERCTRL
10778 fi
10779
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10796 # Check whether --enable-gauge was given.
10797 if test "${enable_gauge+set}" = set; then
10798 enableval=$enable_gauge;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10801 else
10802 wx_cv_use_gauge='wxUSE_GAUGE=no'
10803 fi
10804
10805 else
10806
10807 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$wx_cv_use_gauge"
10813
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_GAUGE = no; then
10816 result=yes
10817 else
10818 result=no
10819 fi
10820 else
10821 result=$wxUSE_GAUGE
10822 fi
10823
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10826
10827
10828 enablestring=
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10832 defaultval=yes
10833 else
10834 defaultval=no
10835 fi
10836 fi
10837
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10840 # Check whether --enable-grid was given.
10841 if test "${enable_grid+set}" = set; then
10842 enableval=$enable_grid;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_grid='wxUSE_GRID=yes'
10845 else
10846 wx_cv_use_grid='wxUSE_GRID=no'
10847 fi
10848
10849 else
10850
10851 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10852
10853 fi
10854
10855
10856 eval "$wx_cv_use_grid"
10857
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_GRID = no; then
10860 result=yes
10861 else
10862 result=no
10863 fi
10864 else
10865 result=$wxUSE_GRID
10866 fi
10867
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10870
10871
10872 enablestring=
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10876 defaultval=yes
10877 else
10878 defaultval=no
10879 fi
10880 fi
10881
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10884 # Check whether --enable-headerctrl was given.
10885 if test "${enable_headerctrl+set}" = set; then
10886 enableval=$enable_headerctrl;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10889 else
10890 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10891 fi
10892
10893 else
10894
10895 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10896
10897 fi
10898
10899
10900 eval "$wx_cv_use_headerctrl"
10901
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_HEADERCTRL = no; then
10904 result=yes
10905 else
10906 result=no
10907 fi
10908 else
10909 result=$wxUSE_HEADERCTRL
10910 fi
10911
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10914
10915
10916 enablestring=
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10920 defaultval=yes
10921 else
10922 defaultval=no
10923 fi
10924 fi
10925
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10928 # Check whether --enable-hyperlink was given.
10929 if test "${enable_hyperlink+set}" = set; then
10930 enableval=$enable_hyperlink;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10933 else
10934 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10935 fi
10936
10937 else
10938
10939 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10940
10941 fi
10942
10943
10944 eval "$wx_cv_use_hyperlink"
10945
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_HYPERLINKCTRL = no; then
10948 result=yes
10949 else
10950 result=no
10951 fi
10952 else
10953 result=$wxUSE_HYPERLINKCTRL
10954 fi
10955
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10958
10959
10960 enablestring=
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10964 defaultval=yes
10965 else
10966 defaultval=no
10967 fi
10968 fi
10969
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10972 # Check whether --enable-imaglist was given.
10973 if test "${enable_imaglist+set}" = set; then
10974 enableval=$enable_imaglist;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10977 else
10978 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10979 fi
10980
10981 else
10982
10983 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10984
10985 fi
10986
10987
10988 eval "$wx_cv_use_imaglist"
10989
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_IMAGLIST = no; then
10992 result=yes
10993 else
10994 result=no
10995 fi
10996 else
10997 result=$wxUSE_IMAGLIST
10998 fi
10999
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11016 # Check whether --enable-infobar was given.
11017 if test "${enable_infobar+set}" = set; then
11018 enableval=$enable_infobar;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11021 else
11022 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11023 fi
11024
11025 else
11026
11027 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$wx_cv_use_infobar"
11033
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_INFOBAR = no; then
11036 result=yes
11037 else
11038 result=no
11039 fi
11040 else
11041 result=$wxUSE_INFOBAR
11042 fi
11043
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11046
11047
11048 enablestring=
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11052 defaultval=yes
11053 else
11054 defaultval=no
11055 fi
11056 fi
11057
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11060 # Check whether --enable-listbook was given.
11061 if test "${enable_listbook+set}" = set; then
11062 enableval=$enable_listbook;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11065 else
11066 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11067 fi
11068
11069 else
11070
11071 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11072
11073 fi
11074
11075
11076 eval "$wx_cv_use_listbook"
11077
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_LISTBOOK = no; then
11080 result=yes
11081 else
11082 result=no
11083 fi
11084 else
11085 result=$wxUSE_LISTBOOK
11086 fi
11087
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11090
11091
11092 enablestring=
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11096 defaultval=yes
11097 else
11098 defaultval=no
11099 fi
11100 fi
11101
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11104 # Check whether --enable-listbox was given.
11105 if test "${enable_listbox+set}" = set; then
11106 enableval=$enable_listbox;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11109 else
11110 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11111 fi
11112
11113 else
11114
11115 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11116
11117 fi
11118
11119
11120 eval "$wx_cv_use_listbox"
11121
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_LISTBOX = no; then
11124 result=yes
11125 else
11126 result=no
11127 fi
11128 else
11129 result=$wxUSE_LISTBOX
11130 fi
11131
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11134
11135
11136 enablestring=
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11140 defaultval=yes
11141 else
11142 defaultval=no
11143 fi
11144 fi
11145
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11148 # Check whether --enable-listctrl was given.
11149 if test "${enable_listctrl+set}" = set; then
11150 enableval=$enable_listctrl;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11153 else
11154 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11155 fi
11156
11157 else
11158
11159 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11160
11161 fi
11162
11163
11164 eval "$wx_cv_use_listctrl"
11165
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_LISTCTRL = no; then
11168 result=yes
11169 else
11170 result=no
11171 fi
11172 else
11173 result=$wxUSE_LISTCTRL
11174 fi
11175
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11178
11179
11180 enablestring=
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11184 defaultval=yes
11185 else
11186 defaultval=no
11187 fi
11188 fi
11189
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11192 # Check whether --enable-notebook was given.
11193 if test "${enable_notebook+set}" = set; then
11194 enableval=$enable_notebook;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11197 else
11198 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11199 fi
11200
11201 else
11202
11203 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11204
11205 fi
11206
11207
11208 eval "$wx_cv_use_notebook"
11209
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_NOTEBOOK = no; then
11212 result=yes
11213 else
11214 result=no
11215 fi
11216 else
11217 result=$wxUSE_NOTEBOOK
11218 fi
11219
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11222
11223
11224 enablestring=
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11228 defaultval=yes
11229 else
11230 defaultval=no
11231 fi
11232 fi
11233
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11236 # Check whether --enable-notifmsg was given.
11237 if test "${enable_notifmsg+set}" = set; then
11238 enableval=$enable_notifmsg;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11241 else
11242 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11243 fi
11244
11245 else
11246
11247 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11248
11249 fi
11250
11251
11252 eval "$wx_cv_use_notifmsg"
11253
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11256 result=yes
11257 else
11258 result=no
11259 fi
11260 else
11261 result=$wxUSE_NOTIFICATION_MESSAGE
11262 fi
11263
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11266
11267
11268 enablestring=
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11272 defaultval=yes
11273 else
11274 defaultval=no
11275 fi
11276 fi
11277
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11280 # Check whether --enable-odcombobox was given.
11281 if test "${enable_odcombobox+set}" = set; then
11282 enableval=$enable_odcombobox;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11285 else
11286 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11287 fi
11288
11289 else
11290
11291 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11292
11293 fi
11294
11295
11296 eval "$wx_cv_use_odcombobox"
11297
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_ODCOMBOBOX = no; then
11300 result=yes
11301 else
11302 result=no
11303 fi
11304 else
11305 result=$wxUSE_ODCOMBOBOX
11306 fi
11307
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11310
11311
11312 enablestring=
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11316 defaultval=yes
11317 else
11318 defaultval=no
11319 fi
11320 fi
11321
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11324 # Check whether --enable-popupwin was given.
11325 if test "${enable_popupwin+set}" = set; then
11326 enableval=$enable_popupwin;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11329 else
11330 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11331 fi
11332
11333 else
11334
11335 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11336
11337 fi
11338
11339
11340 eval "$wx_cv_use_popupwin"
11341
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_POPUPWIN = no; then
11344 result=yes
11345 else
11346 result=no
11347 fi
11348 else
11349 result=$wxUSE_POPUPWIN
11350 fi
11351
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11354
11355
11356 enablestring=
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11360 defaultval=yes
11361 else
11362 defaultval=no
11363 fi
11364 fi
11365
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11368 # Check whether --enable-radiobox was given.
11369 if test "${enable_radiobox+set}" = set; then
11370 enableval=$enable_radiobox;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11373 else
11374 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11375 fi
11376
11377 else
11378
11379 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11380
11381 fi
11382
11383
11384 eval "$wx_cv_use_radiobox"
11385
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_RADIOBOX = no; then
11388 result=yes
11389 else
11390 result=no
11391 fi
11392 else
11393 result=$wxUSE_RADIOBOX
11394 fi
11395
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11398
11399
11400 enablestring=
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11404 defaultval=yes
11405 else
11406 defaultval=no
11407 fi
11408 fi
11409
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11412 # Check whether --enable-radiobtn was given.
11413 if test "${enable_radiobtn+set}" = set; then
11414 enableval=$enable_radiobtn;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11417 else
11418 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11419 fi
11420
11421 else
11422
11423 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_radiobtn"
11429
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_RADIOBTN = no; then
11432 result=yes
11433 else
11434 result=no
11435 fi
11436 else
11437 result=$wxUSE_RADIOBTN
11438 fi
11439
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11442
11443
11444 enablestring=
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11448 defaultval=yes
11449 else
11450 defaultval=no
11451 fi
11452 fi
11453
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11456 # Check whether --enable-rearrangectrl was given.
11457 if test "${enable_rearrangectrl+set}" = set; then
11458 enableval=$enable_rearrangectrl;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11461 else
11462 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11463 fi
11464
11465 else
11466
11467 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11468
11469 fi
11470
11471
11472 eval "$wx_cv_use_rearrangectrl"
11473
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_REARRANGECTRL = no; then
11476 result=yes
11477 else
11478 result=no
11479 fi
11480 else
11481 result=$wxUSE_REARRANGECTRL
11482 fi
11483
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11486
11487
11488 enablestring=
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11492 defaultval=yes
11493 else
11494 defaultval=no
11495 fi
11496 fi
11497
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11500 # Check whether --enable-sash was given.
11501 if test "${enable_sash+set}" = set; then
11502 enableval=$enable_sash;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_sash='wxUSE_SASH=yes'
11505 else
11506 wx_cv_use_sash='wxUSE_SASH=no'
11507 fi
11508
11509 else
11510
11511 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11512
11513 fi
11514
11515
11516 eval "$wx_cv_use_sash"
11517
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_SASH = no; then
11520 result=yes
11521 else
11522 result=no
11523 fi
11524 else
11525 result=$wxUSE_SASH
11526 fi
11527
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11530
11531
11532 enablestring=
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11536 defaultval=yes
11537 else
11538 defaultval=no
11539 fi
11540 fi
11541
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11544 # Check whether --enable-scrollbar was given.
11545 if test "${enable_scrollbar+set}" = set; then
11546 enableval=$enable_scrollbar;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11549 else
11550 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11551 fi
11552
11553 else
11554
11555 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_scrollbar"
11561
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_SCROLLBAR = no; then
11564 result=yes
11565 else
11566 result=no
11567 fi
11568 else
11569 result=$wxUSE_SCROLLBAR
11570 fi
11571
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11574
11575
11576 enablestring=
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11580 defaultval=yes
11581 else
11582 defaultval=no
11583 fi
11584 fi
11585
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11588 # Check whether --enable-searchctrl was given.
11589 if test "${enable_searchctrl+set}" = set; then
11590 enableval=$enable_searchctrl;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11593 else
11594 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11595 fi
11596
11597 else
11598
11599 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_searchctrl"
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_SEARCHCTRL = no; then
11608 result=yes
11609 else
11610 result=no
11611 fi
11612 else
11613 result=$wxUSE_SEARCHCTRL
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11632 # Check whether --enable-slider was given.
11633 if test "${enable_slider+set}" = set; then
11634 enableval=$enable_slider;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_slider='wxUSE_SLIDER=yes'
11637 else
11638 wx_cv_use_slider='wxUSE_SLIDER=no'
11639 fi
11640
11641 else
11642
11643 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11644
11645 fi
11646
11647
11648 eval "$wx_cv_use_slider"
11649
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_SLIDER = no; then
11652 result=yes
11653 else
11654 result=no
11655 fi
11656 else
11657 result=$wxUSE_SLIDER
11658 fi
11659
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11662
11663
11664 enablestring=
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11668 defaultval=yes
11669 else
11670 defaultval=no
11671 fi
11672 fi
11673
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11676 # Check whether --enable-spinbtn was given.
11677 if test "${enable_spinbtn+set}" = set; then
11678 enableval=$enable_spinbtn;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11681 else
11682 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11683 fi
11684
11685 else
11686
11687 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$wx_cv_use_spinbtn"
11693
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_SPINBTN = no; then
11696 result=yes
11697 else
11698 result=no
11699 fi
11700 else
11701 result=$wxUSE_SPINBTN
11702 fi
11703
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11706
11707
11708 enablestring=
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11712 defaultval=yes
11713 else
11714 defaultval=no
11715 fi
11716 fi
11717
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11720 # Check whether --enable-spinctrl was given.
11721 if test "${enable_spinctrl+set}" = set; then
11722 enableval=$enable_spinctrl;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11725 else
11726 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11727 fi
11728
11729 else
11730
11731 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11732
11733 fi
11734
11735
11736 eval "$wx_cv_use_spinctrl"
11737
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_SPINCTRL = no; then
11740 result=yes
11741 else
11742 result=no
11743 fi
11744 else
11745 result=$wxUSE_SPINCTRL
11746 fi
11747
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11750
11751
11752 enablestring=
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11756 defaultval=yes
11757 else
11758 defaultval=no
11759 fi
11760 fi
11761
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11764 # Check whether --enable-splitter was given.
11765 if test "${enable_splitter+set}" = set; then
11766 enableval=$enable_splitter;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11769 else
11770 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11771 fi
11772
11773 else
11774
11775 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11776
11777 fi
11778
11779
11780 eval "$wx_cv_use_splitter"
11781
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_SPLITTER = no; then
11784 result=yes
11785 else
11786 result=no
11787 fi
11788 else
11789 result=$wxUSE_SPLITTER
11790 fi
11791
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11794
11795
11796 enablestring=
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11800 defaultval=yes
11801 else
11802 defaultval=no
11803 fi
11804 fi
11805
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11808 # Check whether --enable-statbmp was given.
11809 if test "${enable_statbmp+set}" = set; then
11810 enableval=$enable_statbmp;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11813 else
11814 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11815 fi
11816
11817 else
11818
11819 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11820
11821 fi
11822
11823
11824 eval "$wx_cv_use_statbmp"
11825
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_STATBMP = no; then
11828 result=yes
11829 else
11830 result=no
11831 fi
11832 else
11833 result=$wxUSE_STATBMP
11834 fi
11835
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11838
11839
11840 enablestring=
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11844 defaultval=yes
11845 else
11846 defaultval=no
11847 fi
11848 fi
11849
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11852 # Check whether --enable-statbox was given.
11853 if test "${enable_statbox+set}" = set; then
11854 enableval=$enable_statbox;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11857 else
11858 wx_cv_use_statbox='wxUSE_STATBOX=no'
11859 fi
11860
11861 else
11862
11863 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11864
11865 fi
11866
11867
11868 eval "$wx_cv_use_statbox"
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_STATBOX = no; then
11872 result=yes
11873 else
11874 result=no
11875 fi
11876 else
11877 result=$wxUSE_STATBOX
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
11884 enablestring=
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11888 defaultval=yes
11889 else
11890 defaultval=no
11891 fi
11892 fi
11893
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11896 # Check whether --enable-statline was given.
11897 if test "${enable_statline+set}" = set; then
11898 enableval=$enable_statline;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_statline='wxUSE_STATLINE=yes'
11901 else
11902 wx_cv_use_statline='wxUSE_STATLINE=no'
11903 fi
11904
11905 else
11906
11907 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11908
11909 fi
11910
11911
11912 eval "$wx_cv_use_statline"
11913
11914 if test x"$enablestring" = xdisable; then
11915 if test $wxUSE_STATLINE = no; then
11916 result=yes
11917 else
11918 result=no
11919 fi
11920 else
11921 result=$wxUSE_STATLINE
11922 fi
11923
11924 { echo "$as_me:$LINENO: result: $result" >&5
11925 echo "${ECHO_T}$result" >&6; }
11926
11927
11928 enablestring=
11929 defaultval=$wxUSE_ALL_FEATURES
11930 if test -z "$defaultval"; then
11931 if test x"$enablestring" = xdisable; then
11932 defaultval=yes
11933 else
11934 defaultval=no
11935 fi
11936 fi
11937
11938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11939 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11940 # Check whether --enable-stattext was given.
11941 if test "${enable_stattext+set}" = set; then
11942 enableval=$enable_stattext;
11943 if test "$enableval" = yes; then
11944 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11945 else
11946 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11947 fi
11948
11949 else
11950
11951 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11952
11953 fi
11954
11955
11956 eval "$wx_cv_use_stattext"
11957
11958 if test x"$enablestring" = xdisable; then
11959 if test $wxUSE_STATTEXT = no; then
11960 result=yes
11961 else
11962 result=no
11963 fi
11964 else
11965 result=$wxUSE_STATTEXT
11966 fi
11967
11968 { echo "$as_me:$LINENO: result: $result" >&5
11969 echo "${ECHO_T}$result" >&6; }
11970
11971
11972 enablestring=
11973 defaultval=$wxUSE_ALL_FEATURES
11974 if test -z "$defaultval"; then
11975 if test x"$enablestring" = xdisable; then
11976 defaultval=yes
11977 else
11978 defaultval=no
11979 fi
11980 fi
11981
11982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11983 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11984 # Check whether --enable-statusbar was given.
11985 if test "${enable_statusbar+set}" = set; then
11986 enableval=$enable_statusbar;
11987 if test "$enableval" = yes; then
11988 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11989 else
11990 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11991 fi
11992
11993 else
11994
11995 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11996
11997 fi
11998
11999
12000 eval "$wx_cv_use_statusbar"
12001
12002 if test x"$enablestring" = xdisable; then
12003 if test $wxUSE_STATUSBAR = no; then
12004 result=yes
12005 else
12006 result=no
12007 fi
12008 else
12009 result=$wxUSE_STATUSBAR
12010 fi
12011
12012 { echo "$as_me:$LINENO: result: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12014
12015
12016 enablestring=
12017 defaultval=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x"$enablestring" = xdisable; then
12020 defaultval=yes
12021 else
12022 defaultval=no
12023 fi
12024 fi
12025
12026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12027 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12028 # Check whether --enable-taskbaricon was given.
12029 if test "${enable_taskbaricon+set}" = set; then
12030 enableval=$enable_taskbaricon;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12033 else
12034 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12035 fi
12036
12037 else
12038
12039 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12040
12041 fi
12042
12043
12044 eval "$wx_cv_use_taskbaricon"
12045
12046 if test x"$enablestring" = xdisable; then
12047 if test $wxUSE_TASKBARICON = no; then
12048 result=yes
12049 else
12050 result=no
12051 fi
12052 else
12053 result=$wxUSE_TASKBARICON
12054 fi
12055
12056 { echo "$as_me:$LINENO: result: $result" >&5
12057 echo "${ECHO_T}$result" >&6; }
12058
12059
12060 enablestring=
12061 defaultval=$wxUSE_ALL_FEATURES
12062 if test -z "$defaultval"; then
12063 if test x"$enablestring" = xdisable; then
12064 defaultval=yes
12065 else
12066 defaultval=no
12067 fi
12068 fi
12069
12070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12071 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12072 # Check whether --enable-tbarnative was given.
12073 if test "${enable_tbarnative+set}" = set; then
12074 enableval=$enable_tbarnative;
12075 if test "$enableval" = yes; then
12076 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12077 else
12078 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12079 fi
12080
12081 else
12082
12083 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12084
12085 fi
12086
12087
12088 eval "$wx_cv_use_tbarnative"
12089
12090 if test x"$enablestring" = xdisable; then
12091 if test $wxUSE_TOOLBAR_NATIVE = no; then
12092 result=yes
12093 else
12094 result=no
12095 fi
12096 else
12097 result=$wxUSE_TOOLBAR_NATIVE
12098 fi
12099
12100 { echo "$as_me:$LINENO: result: $result" >&5
12101 echo "${ECHO_T}$result" >&6; }
12102
12103
12104 enablestring=
12105 defaultval=$wxUSE_ALL_FEATURES
12106 if test -z "$defaultval"; then
12107 if test x"$enablestring" = xdisable; then
12108 defaultval=yes
12109 else
12110 defaultval=no
12111 fi
12112 fi
12113
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12116 # Check whether --enable-textctrl was given.
12117 if test "${enable_textctrl+set}" = set; then
12118 enableval=$enable_textctrl;
12119 if test "$enableval" = yes; then
12120 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12121 else
12122 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12123 fi
12124
12125 else
12126
12127 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12128
12129 fi
12130
12131
12132 eval "$wx_cv_use_textctrl"
12133
12134 if test x"$enablestring" = xdisable; then
12135 if test $wxUSE_TEXTCTRL = no; then
12136 result=yes
12137 else
12138 result=no
12139 fi
12140 else
12141 result=$wxUSE_TEXTCTRL
12142 fi
12143
12144 { echo "$as_me:$LINENO: result: $result" >&5
12145 echo "${ECHO_T}$result" >&6; }
12146
12147
12148 enablestring=
12149 defaultval=$wxUSE_ALL_FEATURES
12150 if test -z "$defaultval"; then
12151 if test x"$enablestring" = xdisable; then
12152 defaultval=yes
12153 else
12154 defaultval=no
12155 fi
12156 fi
12157
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12160 # Check whether --enable-tipwindow was given.
12161 if test "${enable_tipwindow+set}" = set; then
12162 enableval=$enable_tipwindow;
12163 if test "$enableval" = yes; then
12164 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12165 else
12166 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12167 fi
12168
12169 else
12170
12171 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12172
12173 fi
12174
12175
12176 eval "$wx_cv_use_tipwindow"
12177
12178 if test x"$enablestring" = xdisable; then
12179 if test $wxUSE_TIPWINDOW = no; then
12180 result=yes
12181 else
12182 result=no
12183 fi
12184 else
12185 result=$wxUSE_TIPWINDOW
12186 fi
12187
12188 { echo "$as_me:$LINENO: result: $result" >&5
12189 echo "${ECHO_T}$result" >&6; }
12190
12191
12192 enablestring=
12193 defaultval=$wxUSE_ALL_FEATURES
12194 if test -z "$defaultval"; then
12195 if test x"$enablestring" = xdisable; then
12196 defaultval=yes
12197 else
12198 defaultval=no
12199 fi
12200 fi
12201
12202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12203 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12204 # Check whether --enable-togglebtn was given.
12205 if test "${enable_togglebtn+set}" = set; then
12206 enableval=$enable_togglebtn;
12207 if test "$enableval" = yes; then
12208 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12209 else
12210 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12211 fi
12212
12213 else
12214
12215 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12216
12217 fi
12218
12219
12220 eval "$wx_cv_use_togglebtn"
12221
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_TOGGLEBTN = no; then
12224 result=yes
12225 else
12226 result=no
12227 fi
12228 else
12229 result=$wxUSE_TOGGLEBTN
12230 fi
12231
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12234
12235
12236 enablestring=
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12240 defaultval=yes
12241 else
12242 defaultval=no
12243 fi
12244 fi
12245
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12248 # Check whether --enable-toolbar was given.
12249 if test "${enable_toolbar+set}" = set; then
12250 enableval=$enable_toolbar;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12253 else
12254 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12255 fi
12256
12257 else
12258
12259 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12260
12261 fi
12262
12263
12264 eval "$wx_cv_use_toolbar"
12265
12266 if test x"$enablestring" = xdisable; then
12267 if test $wxUSE_TOOLBAR = no; then
12268 result=yes
12269 else
12270 result=no
12271 fi
12272 else
12273 result=$wxUSE_TOOLBAR
12274 fi
12275
12276 { echo "$as_me:$LINENO: result: $result" >&5
12277 echo "${ECHO_T}$result" >&6; }
12278
12279
12280 enablestring=
12281 defaultval=$wxUSE_ALL_FEATURES
12282 if test -z "$defaultval"; then
12283 if test x"$enablestring" = xdisable; then
12284 defaultval=yes
12285 else
12286 defaultval=no
12287 fi
12288 fi
12289
12290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12291 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12292 # Check whether --enable-toolbook was given.
12293 if test "${enable_toolbook+set}" = set; then
12294 enableval=$enable_toolbook;
12295 if test "$enableval" = yes; then
12296 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12297 else
12298 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12299 fi
12300
12301 else
12302
12303 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12304
12305 fi
12306
12307
12308 eval "$wx_cv_use_toolbook"
12309
12310 if test x"$enablestring" = xdisable; then
12311 if test $wxUSE_TOOLBOOK = no; then
12312 result=yes
12313 else
12314 result=no
12315 fi
12316 else
12317 result=$wxUSE_TOOLBOOK
12318 fi
12319
12320 { echo "$as_me:$LINENO: result: $result" >&5
12321 echo "${ECHO_T}$result" >&6; }
12322
12323
12324 enablestring=
12325 defaultval=$wxUSE_ALL_FEATURES
12326 if test -z "$defaultval"; then
12327 if test x"$enablestring" = xdisable; then
12328 defaultval=yes
12329 else
12330 defaultval=no
12331 fi
12332 fi
12333
12334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12335 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12336 # Check whether --enable-treebook was given.
12337 if test "${enable_treebook+set}" = set; then
12338 enableval=$enable_treebook;
12339 if test "$enableval" = yes; then
12340 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12341 else
12342 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12343 fi
12344
12345 else
12346
12347 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12348
12349 fi
12350
12351
12352 eval "$wx_cv_use_treebook"
12353
12354 if test x"$enablestring" = xdisable; then
12355 if test $wxUSE_TREEBOOK = no; then
12356 result=yes
12357 else
12358 result=no
12359 fi
12360 else
12361 result=$wxUSE_TREEBOOK
12362 fi
12363
12364 { echo "$as_me:$LINENO: result: $result" >&5
12365 echo "${ECHO_T}$result" >&6; }
12366
12367
12368 enablestring=
12369 defaultval=$wxUSE_ALL_FEATURES
12370 if test -z "$defaultval"; then
12371 if test x"$enablestring" = xdisable; then
12372 defaultval=yes
12373 else
12374 defaultval=no
12375 fi
12376 fi
12377
12378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12379 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12380 # Check whether --enable-treectrl was given.
12381 if test "${enable_treectrl+set}" = set; then
12382 enableval=$enable_treectrl;
12383 if test "$enableval" = yes; then
12384 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12385 else
12386 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12387 fi
12388
12389 else
12390
12391 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12392
12393 fi
12394
12395
12396 eval "$wx_cv_use_treectrl"
12397
12398 if test x"$enablestring" = xdisable; then
12399 if test $wxUSE_TREECTRL = no; then
12400 result=yes
12401 else
12402 result=no
12403 fi
12404 else
12405 result=$wxUSE_TREECTRL
12406 fi
12407
12408 { echo "$as_me:$LINENO: result: $result" >&5
12409 echo "${ECHO_T}$result" >&6; }
12410
12411
12412
12413
12414 enablestring=
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12418 defaultval=yes
12419 else
12420 defaultval=no
12421 fi
12422 fi
12423
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12426 # Check whether --enable-commondlg was given.
12427 if test "${enable_commondlg+set}" = set; then
12428 enableval=$enable_commondlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12431 else
12432 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12433 fi
12434
12435 else
12436
12437 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12438
12439 fi
12440
12441
12442 eval "$wx_cv_use_commondlg"
12443
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_COMMONDLGS = no; then
12446 result=yes
12447 else
12448 result=no
12449 fi
12450 else
12451 result=$wxUSE_COMMONDLGS
12452 fi
12453
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12456
12457
12458 enablestring=
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12462 defaultval=yes
12463 else
12464 defaultval=no
12465 fi
12466 fi
12467
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-aboutdlg was given.
12471 if test "${enable_aboutdlg+set}" = set; then
12472 enableval=$enable_aboutdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12475 else
12476 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12477 fi
12478
12479 else
12480
12481 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_aboutdlg"
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_ABOUTDLG = no; then
12490 result=yes
12491 else
12492 result=no
12493 fi
12494 else
12495 result=$wxUSE_ABOUTDLG
12496 fi
12497
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12514 # Check whether --enable-choicedlg was given.
12515 if test "${enable_choicedlg+set}" = set; then
12516 enableval=$enable_choicedlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12519 else
12520 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_choicedlg"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_CHOICEDLG = no; then
12534 result=yes
12535 else
12536 result=no
12537 fi
12538 else
12539 result=$wxUSE_CHOICEDLG
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546 enablestring=
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12550 defaultval=yes
12551 else
12552 defaultval=no
12553 fi
12554 fi
12555
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12558 # Check whether --enable-coldlg was given.
12559 if test "${enable_coldlg+set}" = set; then
12560 enableval=$enable_coldlg;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12563 else
12564 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12565 fi
12566
12567 else
12568
12569 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12570
12571 fi
12572
12573
12574 eval "$wx_cv_use_coldlg"
12575
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_COLOURDLG = no; then
12578 result=yes
12579 else
12580 result=no
12581 fi
12582 else
12583 result=$wxUSE_COLOURDLG
12584 fi
12585
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12588
12589
12590 enablestring=
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12594 defaultval=yes
12595 else
12596 defaultval=no
12597 fi
12598 fi
12599
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12602 # Check whether --enable-filedlg was given.
12603 if test "${enable_filedlg+set}" = set; then
12604 enableval=$enable_filedlg;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12607 else
12608 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12609 fi
12610
12611 else
12612
12613 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12614
12615 fi
12616
12617
12618 eval "$wx_cv_use_filedlg"
12619
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_FILEDLG = no; then
12622 result=yes
12623 else
12624 result=no
12625 fi
12626 else
12627 result=$wxUSE_FILEDLG
12628 fi
12629
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12632
12633
12634 enablestring=
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12638 defaultval=yes
12639 else
12640 defaultval=no
12641 fi
12642 fi
12643
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12646 # Check whether --enable-finddlg was given.
12647 if test "${enable_finddlg+set}" = set; then
12648 enableval=$enable_finddlg;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12651 else
12652 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12653 fi
12654
12655 else
12656
12657 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12658
12659 fi
12660
12661
12662 eval "$wx_cv_use_finddlg"
12663
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_FINDREPLDLG = no; then
12666 result=yes
12667 else
12668 result=no
12669 fi
12670 else
12671 result=$wxUSE_FINDREPLDLG
12672 fi
12673
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12676
12677
12678 enablestring=
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12682 defaultval=yes
12683 else
12684 defaultval=no
12685 fi
12686 fi
12687
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12690 # Check whether --enable-fontdlg was given.
12691 if test "${enable_fontdlg+set}" = set; then
12692 enableval=$enable_fontdlg;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12695 else
12696 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12697 fi
12698
12699 else
12700
12701 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12702
12703 fi
12704
12705
12706 eval "$wx_cv_use_fontdlg"
12707
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_FONTDLG = no; then
12710 result=yes
12711 else
12712 result=no
12713 fi
12714 else
12715 result=$wxUSE_FONTDLG
12716 fi
12717
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12720
12721
12722 enablestring=
12723 defaultval=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x"$enablestring" = xdisable; then
12726 defaultval=yes
12727 else
12728 defaultval=no
12729 fi
12730 fi
12731
12732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12733 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12734 # Check whether --enable-dirdlg was given.
12735 if test "${enable_dirdlg+set}" = set; then
12736 enableval=$enable_dirdlg;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12739 else
12740 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12741 fi
12742
12743 else
12744
12745 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12746
12747 fi
12748
12749
12750 eval "$wx_cv_use_dirdlg"
12751
12752 if test x"$enablestring" = xdisable; then
12753 if test $wxUSE_DIRDLG = no; then
12754 result=yes
12755 else
12756 result=no
12757 fi
12758 else
12759 result=$wxUSE_DIRDLG
12760 fi
12761
12762 { echo "$as_me:$LINENO: result: $result" >&5
12763 echo "${ECHO_T}$result" >&6; }
12764
12765
12766 enablestring=
12767 defaultval=$wxUSE_ALL_FEATURES
12768 if test -z "$defaultval"; then
12769 if test x"$enablestring" = xdisable; then
12770 defaultval=yes
12771 else
12772 defaultval=no
12773 fi
12774 fi
12775
12776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12777 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12778 # Check whether --enable-msgdlg was given.
12779 if test "${enable_msgdlg+set}" = set; then
12780 enableval=$enable_msgdlg;
12781 if test "$enableval" = yes; then
12782 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12783 else
12784 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12785 fi
12786
12787 else
12788
12789 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12790
12791 fi
12792
12793
12794 eval "$wx_cv_use_msgdlg"
12795
12796 if test x"$enablestring" = xdisable; then
12797 if test $wxUSE_MSGDLG = no; then
12798 result=yes
12799 else
12800 result=no
12801 fi
12802 else
12803 result=$wxUSE_MSGDLG
12804 fi
12805
12806 { echo "$as_me:$LINENO: result: $result" >&5
12807 echo "${ECHO_T}$result" >&6; }
12808
12809
12810 enablestring=
12811 defaultval=$wxUSE_ALL_FEATURES
12812 if test -z "$defaultval"; then
12813 if test x"$enablestring" = xdisable; then
12814 defaultval=yes
12815 else
12816 defaultval=no
12817 fi
12818 fi
12819
12820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12821 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12822 # Check whether --enable-numberdlg was given.
12823 if test "${enable_numberdlg+set}" = set; then
12824 enableval=$enable_numberdlg;
12825 if test "$enableval" = yes; then
12826 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12827 else
12828 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12829 fi
12830
12831 else
12832
12833 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12834
12835 fi
12836
12837
12838 eval "$wx_cv_use_numberdlg"
12839
12840 if test x"$enablestring" = xdisable; then
12841 if test $wxUSE_NUMBERDLG = no; then
12842 result=yes
12843 else
12844 result=no
12845 fi
12846 else
12847 result=$wxUSE_NUMBERDLG
12848 fi
12849
12850 { echo "$as_me:$LINENO: result: $result" >&5
12851 echo "${ECHO_T}$result" >&6; }
12852
12853
12854 enablestring=
12855 defaultval=$wxUSE_ALL_FEATURES
12856 if test -z "$defaultval"; then
12857 if test x"$enablestring" = xdisable; then
12858 defaultval=yes
12859 else
12860 defaultval=no
12861 fi
12862 fi
12863
12864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12865 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12866 # Check whether --enable-splash was given.
12867 if test "${enable_splash+set}" = set; then
12868 enableval=$enable_splash;
12869 if test "$enableval" = yes; then
12870 wx_cv_use_splash='wxUSE_SPLASH=yes'
12871 else
12872 wx_cv_use_splash='wxUSE_SPLASH=no'
12873 fi
12874
12875 else
12876
12877 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12878
12879 fi
12880
12881
12882 eval "$wx_cv_use_splash"
12883
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SPLASH = no; then
12886 result=yes
12887 else
12888 result=no
12889 fi
12890 else
12891 result=$wxUSE_SPLASH
12892 fi
12893
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12896
12897
12898 enablestring=
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12902 defaultval=yes
12903 else
12904 defaultval=no
12905 fi
12906 fi
12907
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12910 # Check whether --enable-textdlg was given.
12911 if test "${enable_textdlg+set}" = set; then
12912 enableval=$enable_textdlg;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12915 else
12916 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12917 fi
12918
12919 else
12920
12921 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12922
12923 fi
12924
12925
12926 eval "$wx_cv_use_textdlg"
12927
12928 if test x"$enablestring" = xdisable; then
12929 if test $wxUSE_TEXTDLG = no; then
12930 result=yes
12931 else
12932 result=no
12933 fi
12934 else
12935 result=$wxUSE_TEXTDLG
12936 fi
12937
12938 { echo "$as_me:$LINENO: result: $result" >&5
12939 echo "${ECHO_T}$result" >&6; }
12940
12941
12942 enablestring=
12943 defaultval=$wxUSE_ALL_FEATURES
12944 if test -z "$defaultval"; then
12945 if test x"$enablestring" = xdisable; then
12946 defaultval=yes
12947 else
12948 defaultval=no
12949 fi
12950 fi
12951
12952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12953 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12954 # Check whether --enable-tipdlg was given.
12955 if test "${enable_tipdlg+set}" = set; then
12956 enableval=$enable_tipdlg;
12957 if test "$enableval" = yes; then
12958 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12959 else
12960 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12961 fi
12962
12963 else
12964
12965 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12966
12967 fi
12968
12969
12970 eval "$wx_cv_use_tipdlg"
12971
12972 if test x"$enablestring" = xdisable; then
12973 if test $wxUSE_STARTUP_TIPS = no; then
12974 result=yes
12975 else
12976 result=no
12977 fi
12978 else
12979 result=$wxUSE_STARTUP_TIPS
12980 fi
12981
12982 { echo "$as_me:$LINENO: result: $result" >&5
12983 echo "${ECHO_T}$result" >&6; }
12984
12985
12986 enablestring=
12987 defaultval=$wxUSE_ALL_FEATURES
12988 if test -z "$defaultval"; then
12989 if test x"$enablestring" = xdisable; then
12990 defaultval=yes
12991 else
12992 defaultval=no
12993 fi
12994 fi
12995
12996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12997 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12998 # Check whether --enable-progressdlg was given.
12999 if test "${enable_progressdlg+set}" = set; then
13000 enableval=$enable_progressdlg;
13001 if test "$enableval" = yes; then
13002 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13003 else
13004 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13005 fi
13006
13007 else
13008
13009 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13010
13011 fi
13012
13013
13014 eval "$wx_cv_use_progressdlg"
13015
13016 if test x"$enablestring" = xdisable; then
13017 if test $wxUSE_PROGRESSDLG = no; then
13018 result=yes
13019 else
13020 result=no
13021 fi
13022 else
13023 result=$wxUSE_PROGRESSDLG
13024 fi
13025
13026 { echo "$as_me:$LINENO: result: $result" >&5
13027 echo "${ECHO_T}$result" >&6; }
13028
13029
13030 enablestring=
13031 defaultval=$wxUSE_ALL_FEATURES
13032 if test -z "$defaultval"; then
13033 if test x"$enablestring" = xdisable; then
13034 defaultval=yes
13035 else
13036 defaultval=no
13037 fi
13038 fi
13039
13040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13041 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13042 # Check whether --enable-wizarddlg was given.
13043 if test "${enable_wizarddlg+set}" = set; then
13044 enableval=$enable_wizarddlg;
13045 if test "$enableval" = yes; then
13046 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13047 else
13048 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13049 fi
13050
13051 else
13052
13053 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13054
13055 fi
13056
13057
13058 eval "$wx_cv_use_wizarddlg"
13059
13060 if test x"$enablestring" = xdisable; then
13061 if test $wxUSE_WIZARDDLG = no; then
13062 result=yes
13063 else
13064 result=no
13065 fi
13066 else
13067 result=$wxUSE_WIZARDDLG
13068 fi
13069
13070 { echo "$as_me:$LINENO: result: $result" >&5
13071 echo "${ECHO_T}$result" >&6; }
13072
13073
13074
13075
13076 enablestring=
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13080 defaultval=yes
13081 else
13082 defaultval=no
13083 fi
13084 fi
13085
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13088 # Check whether --enable-menus was given.
13089 if test "${enable_menus+set}" = set; then
13090 enableval=$enable_menus;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_menus='wxUSE_MENUS=yes'
13093 else
13094 wx_cv_use_menus='wxUSE_MENUS=no'
13095 fi
13096
13097 else
13098
13099 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13100
13101 fi
13102
13103
13104 eval "$wx_cv_use_menus"
13105
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_MENUS = no; then
13108 result=yes
13109 else
13110 result=no
13111 fi
13112 else
13113 result=$wxUSE_MENUS
13114 fi
13115
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13118
13119
13120 enablestring=
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13124 defaultval=yes
13125 else
13126 defaultval=no
13127 fi
13128 fi
13129
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13132 # Check whether --enable-miniframe was given.
13133 if test "${enable_miniframe+set}" = set; then
13134 enableval=$enable_miniframe;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13137 else
13138 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13139 fi
13140
13141 else
13142
13143 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13144
13145 fi
13146
13147
13148 eval "$wx_cv_use_miniframe"
13149
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_MINIFRAME = no; then
13152 result=yes
13153 else
13154 result=no
13155 fi
13156 else
13157 result=$wxUSE_MINIFRAME
13158 fi
13159
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13162
13163
13164 enablestring=
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13168 defaultval=yes
13169 else
13170 defaultval=no
13171 fi
13172 fi
13173
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13176 # Check whether --enable-tooltips was given.
13177 if test "${enable_tooltips+set}" = set; then
13178 enableval=$enable_tooltips;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13181 else
13182 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13183 fi
13184
13185 else
13186
13187 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13188
13189 fi
13190
13191
13192 eval "$wx_cv_use_tooltips"
13193
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_TOOLTIPS = no; then
13196 result=yes
13197 else
13198 result=no
13199 fi
13200 else
13201 result=$wxUSE_TOOLTIPS
13202 fi
13203
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13206
13207
13208 enablestring=
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13212 defaultval=yes
13213 else
13214 defaultval=no
13215 fi
13216 fi
13217
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13220 # Check whether --enable-splines was given.
13221 if test "${enable_splines+set}" = set; then
13222 enableval=$enable_splines;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_splines='wxUSE_SPLINES=yes'
13225 else
13226 wx_cv_use_splines='wxUSE_SPLINES=no'
13227 fi
13228
13229 else
13230
13231 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13232
13233 fi
13234
13235
13236 eval "$wx_cv_use_splines"
13237
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_SPLINES = no; then
13240 result=yes
13241 else
13242 result=no
13243 fi
13244 else
13245 result=$wxUSE_SPLINES
13246 fi
13247
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13250
13251
13252 enablestring=
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13256 defaultval=yes
13257 else
13258 defaultval=no
13259 fi
13260 fi
13261
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13264 # Check whether --enable-mousewheel was given.
13265 if test "${enable_mousewheel+set}" = set; then
13266 enableval=$enable_mousewheel;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13269 else
13270 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13271 fi
13272
13273 else
13274
13275 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13276
13277 fi
13278
13279
13280 eval "$wx_cv_use_mousewheel"
13281
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_MOUSEWHEEL = no; then
13284 result=yes
13285 else
13286 result=no
13287 fi
13288 else
13289 result=$wxUSE_MOUSEWHEEL
13290 fi
13291
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13294
13295
13296 enablestring=
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13300 defaultval=yes
13301 else
13302 defaultval=no
13303 fi
13304 fi
13305
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13308 # Check whether --enable-validators was given.
13309 if test "${enable_validators+set}" = set; then
13310 enableval=$enable_validators;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13313 else
13314 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13315 fi
13316
13317 else
13318
13319 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13320
13321 fi
13322
13323
13324 eval "$wx_cv_use_validators"
13325
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_VALIDATORS = no; then
13328 result=yes
13329 else
13330 result=no
13331 fi
13332 else
13333 result=$wxUSE_VALIDATORS
13334 fi
13335
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13338
13339
13340 enablestring=
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13344 defaultval=yes
13345 else
13346 defaultval=no
13347 fi
13348 fi
13349
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13352 # Check whether --enable-busyinfo was given.
13353 if test "${enable_busyinfo+set}" = set; then
13354 enableval=$enable_busyinfo;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13357 else
13358 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13359 fi
13360
13361 else
13362
13363 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13364
13365 fi
13366
13367
13368 eval "$wx_cv_use_busyinfo"
13369
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_BUSYINFO = no; then
13372 result=yes
13373 else
13374 result=no
13375 fi
13376 else
13377 result=$wxUSE_BUSYINFO
13378 fi
13379
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13382
13383
13384 enablestring=
13385 defaultval=$wxUSE_ALL_FEATURES
13386 if test -z "$defaultval"; then
13387 if test x"$enablestring" = xdisable; then
13388 defaultval=yes
13389 else
13390 defaultval=no
13391 fi
13392 fi
13393
13394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13395 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13396 # Check whether --enable-joystick was given.
13397 if test "${enable_joystick+set}" = set; then
13398 enableval=$enable_joystick;
13399 if test "$enableval" = yes; then
13400 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13401 else
13402 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13403 fi
13404
13405 else
13406
13407 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13408
13409 fi
13410
13411
13412 eval "$wx_cv_use_joystick"
13413
13414 if test x"$enablestring" = xdisable; then
13415 if test $wxUSE_JOYSTICK = no; then
13416 result=yes
13417 else
13418 result=no
13419 fi
13420 else
13421 result=$wxUSE_JOYSTICK
13422 fi
13423
13424 { echo "$as_me:$LINENO: result: $result" >&5
13425 echo "${ECHO_T}$result" >&6; }
13426
13427
13428 enablestring=
13429 defaultval=$wxUSE_ALL_FEATURES
13430 if test -z "$defaultval"; then
13431 if test x"$enablestring" = xdisable; then
13432 defaultval=yes
13433 else
13434 defaultval=no
13435 fi
13436 fi
13437
13438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13439 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13440 # Check whether --enable-metafile was given.
13441 if test "${enable_metafile+set}" = set; then
13442 enableval=$enable_metafile;
13443 if test "$enableval" = yes; then
13444 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13445 else
13446 wx_cv_use_metafile='wxUSE_METAFILE=no'
13447 fi
13448
13449 else
13450
13451 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13452
13453 fi
13454
13455
13456 eval "$wx_cv_use_metafile"
13457
13458 if test x"$enablestring" = xdisable; then
13459 if test $wxUSE_METAFILE = no; then
13460 result=yes
13461 else
13462 result=no
13463 fi
13464 else
13465 result=$wxUSE_METAFILE
13466 fi
13467
13468 { echo "$as_me:$LINENO: result: $result" >&5
13469 echo "${ECHO_T}$result" >&6; }
13470
13471
13472 enablestring=
13473 defaultval=$wxUSE_ALL_FEATURES
13474 if test -z "$defaultval"; then
13475 if test x"$enablestring" = xdisable; then
13476 defaultval=yes
13477 else
13478 defaultval=no
13479 fi
13480 fi
13481
13482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13483 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13484 # Check whether --enable-dragimage was given.
13485 if test "${enable_dragimage+set}" = set; then
13486 enableval=$enable_dragimage;
13487 if test "$enableval" = yes; then
13488 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13489 else
13490 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13491 fi
13492
13493 else
13494
13495 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13496
13497 fi
13498
13499
13500 eval "$wx_cv_use_dragimage"
13501
13502 if test x"$enablestring" = xdisable; then
13503 if test $wxUSE_DRAGIMAGE = no; then
13504 result=yes
13505 else
13506 result=no
13507 fi
13508 else
13509 result=$wxUSE_DRAGIMAGE
13510 fi
13511
13512 { echo "$as_me:$LINENO: result: $result" >&5
13513 echo "${ECHO_T}$result" >&6; }
13514
13515
13516 enablestring=
13517 defaultval=$wxUSE_ALL_FEATURES
13518 if test -z "$defaultval"; then
13519 if test x"$enablestring" = xdisable; then
13520 defaultval=yes
13521 else
13522 defaultval=no
13523 fi
13524 fi
13525
13526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13527 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13528 # Check whether --enable-accessibility was given.
13529 if test "${enable_accessibility+set}" = set; then
13530 enableval=$enable_accessibility;
13531 if test "$enableval" = yes; then
13532 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13533 else
13534 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13535 fi
13536
13537 else
13538
13539 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13540
13541 fi
13542
13543
13544 eval "$wx_cv_use_accessibility"
13545
13546 if test x"$enablestring" = xdisable; then
13547 if test $wxUSE_ACCESSIBILITY = no; then
13548 result=yes
13549 else
13550 result=no
13551 fi
13552 else
13553 result=$wxUSE_ACCESSIBILITY
13554 fi
13555
13556 { echo "$as_me:$LINENO: result: $result" >&5
13557 echo "${ECHO_T}$result" >&6; }
13558
13559
13560
13561
13562 enablestring=
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13566 defaultval=yes
13567 else
13568 defaultval=no
13569 fi
13570 fi
13571
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13574 # Check whether --enable-palette was given.
13575 if test "${enable_palette+set}" = set; then
13576 enableval=$enable_palette;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_palette='wxUSE_PALETTE=yes'
13579 else
13580 wx_cv_use_palette='wxUSE_PALETTE=no'
13581 fi
13582
13583 else
13584
13585 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13586
13587 fi
13588
13589
13590 eval "$wx_cv_use_palette"
13591
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_PALETTE = no; then
13594 result=yes
13595 else
13596 result=no
13597 fi
13598 else
13599 result=$wxUSE_PALETTE
13600 fi
13601
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13604
13605
13606 enablestring=
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13610 defaultval=yes
13611 else
13612 defaultval=no
13613 fi
13614 fi
13615
13616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13617 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13618 # Check whether --enable-image was given.
13619 if test "${enable_image+set}" = set; then
13620 enableval=$enable_image;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_image='wxUSE_IMAGE=yes'
13623 else
13624 wx_cv_use_image='wxUSE_IMAGE=no'
13625 fi
13626
13627 else
13628
13629 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13630
13631 fi
13632
13633
13634 eval "$wx_cv_use_image"
13635
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_IMAGE = no; then
13638 result=yes
13639 else
13640 result=no
13641 fi
13642 else
13643 result=$wxUSE_IMAGE
13644 fi
13645
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13648
13649
13650 enablestring=
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13654 defaultval=yes
13655 else
13656 defaultval=no
13657 fi
13658 fi
13659
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13662 # Check whether --enable-gif was given.
13663 if test "${enable_gif+set}" = set; then
13664 enableval=$enable_gif;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_gif='wxUSE_GIF=yes'
13667 else
13668 wx_cv_use_gif='wxUSE_GIF=no'
13669 fi
13670
13671 else
13672
13673 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13674
13675 fi
13676
13677
13678 eval "$wx_cv_use_gif"
13679
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_GIF = no; then
13682 result=yes
13683 else
13684 result=no
13685 fi
13686 else
13687 result=$wxUSE_GIF
13688 fi
13689
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13692
13693
13694 enablestring=
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13698 defaultval=yes
13699 else
13700 defaultval=no
13701 fi
13702 fi
13703
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13706 # Check whether --enable-pcx was given.
13707 if test "${enable_pcx+set}" = set; then
13708 enableval=$enable_pcx;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_pcx='wxUSE_PCX=yes'
13711 else
13712 wx_cv_use_pcx='wxUSE_PCX=no'
13713 fi
13714
13715 else
13716
13717 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13718
13719 fi
13720
13721
13722 eval "$wx_cv_use_pcx"
13723
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_PCX = no; then
13726 result=yes
13727 else
13728 result=no
13729 fi
13730 else
13731 result=$wxUSE_PCX
13732 fi
13733
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13736
13737
13738 enablestring=
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13742 defaultval=yes
13743 else
13744 defaultval=no
13745 fi
13746 fi
13747
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13750 # Check whether --enable-tga was given.
13751 if test "${enable_tga+set}" = set; then
13752 enableval=$enable_tga;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_tga='wxUSE_TGA=yes'
13755 else
13756 wx_cv_use_tga='wxUSE_TGA=no'
13757 fi
13758
13759 else
13760
13761 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13762
13763 fi
13764
13765
13766 eval "$wx_cv_use_tga"
13767
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_TGA = no; then
13770 result=yes
13771 else
13772 result=no
13773 fi
13774 else
13775 result=$wxUSE_TGA
13776 fi
13777
13778 { echo "$as_me:$LINENO: result: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13780
13781
13782 enablestring=
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13786 defaultval=yes
13787 else
13788 defaultval=no
13789 fi
13790 fi
13791
13792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13793 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13794 # Check whether --enable-iff was given.
13795 if test "${enable_iff+set}" = set; then
13796 enableval=$enable_iff;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_iff='wxUSE_IFF=yes'
13799 else
13800 wx_cv_use_iff='wxUSE_IFF=no'
13801 fi
13802
13803 else
13804
13805 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13806
13807 fi
13808
13809
13810 eval "$wx_cv_use_iff"
13811
13812 if test x"$enablestring" = xdisable; then
13813 if test $wxUSE_IFF = no; then
13814 result=yes
13815 else
13816 result=no
13817 fi
13818 else
13819 result=$wxUSE_IFF
13820 fi
13821
13822 { echo "$as_me:$LINENO: result: $result" >&5
13823 echo "${ECHO_T}$result" >&6; }
13824
13825
13826 enablestring=
13827 defaultval=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x"$enablestring" = xdisable; then
13830 defaultval=yes
13831 else
13832 defaultval=no
13833 fi
13834 fi
13835
13836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13837 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13838 # Check whether --enable-pnm was given.
13839 if test "${enable_pnm+set}" = set; then
13840 enableval=$enable_pnm;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_pnm='wxUSE_PNM=yes'
13843 else
13844 wx_cv_use_pnm='wxUSE_PNM=no'
13845 fi
13846
13847 else
13848
13849 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13850
13851 fi
13852
13853
13854 eval "$wx_cv_use_pnm"
13855
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_PNM = no; then
13858 result=yes
13859 else
13860 result=no
13861 fi
13862 else
13863 result=$wxUSE_PNM
13864 fi
13865
13866 { echo "$as_me:$LINENO: result: $result" >&5
13867 echo "${ECHO_T}$result" >&6; }
13868
13869
13870 enablestring=
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13874 defaultval=yes
13875 else
13876 defaultval=no
13877 fi
13878 fi
13879
13880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13881 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13882 # Check whether --enable-xpm was given.
13883 if test "${enable_xpm+set}" = set; then
13884 enableval=$enable_xpm;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_xpm='wxUSE_XPM=yes'
13887 else
13888 wx_cv_use_xpm='wxUSE_XPM=no'
13889 fi
13890
13891 else
13892
13893 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13894
13895 fi
13896
13897
13898 eval "$wx_cv_use_xpm"
13899
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_XPM = no; then
13902 result=yes
13903 else
13904 result=no
13905 fi
13906 else
13907 result=$wxUSE_XPM
13908 fi
13909
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13912
13913
13914 enablestring=
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13918 defaultval=yes
13919 else
13920 defaultval=no
13921 fi
13922 fi
13923
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13926 # Check whether --enable-ico_cur was given.
13927 if test "${enable_ico_cur+set}" = set; then
13928 enableval=$enable_ico_cur;
13929 if test "$enableval" = yes; then
13930 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13931 else
13932 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13933 fi
13934
13935 else
13936
13937 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13938
13939 fi
13940
13941
13942 eval "$wx_cv_use_ico_cur"
13943
13944 if test x"$enablestring" = xdisable; then
13945 if test $wxUSE_ICO_CUR = no; then
13946 result=yes
13947 else
13948 result=no
13949 fi
13950 else
13951 result=$wxUSE_ICO_CUR
13952 fi
13953
13954 { echo "$as_me:$LINENO: result: $result" >&5
13955 echo "${ECHO_T}$result" >&6; }
13956
13957
13958
13959
13960 enablestring=
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13964 defaultval=yes
13965 else
13966 defaultval=no
13967 fi
13968 fi
13969
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13972 # Check whether --enable-dccache was given.
13973 if test "${enable_dccache+set}" = set; then
13974 enableval=$enable_dccache;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13977 else
13978 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13979 fi
13980
13981 else
13982
13983 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13984
13985 fi
13986
13987
13988 eval "$wx_cv_use_dccache"
13989
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_DC_CACHEING = no; then
13992 result=yes
13993 else
13994 result=no
13995 fi
13996 else
13997 result=$wxUSE_DC_CACHEING
13998 fi
13999
14000 { echo "$as_me:$LINENO: result: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14002
14003
14004 enablestring=
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14008 defaultval=yes
14009 else
14010 defaultval=no
14011 fi
14012 fi
14013
14014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14015 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14016 # Check whether --enable-ps-in-msw was given.
14017 if test "${enable_ps_in_msw+set}" = set; then
14018 enableval=$enable_ps_in_msw;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14021 else
14022 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14023 fi
14024
14025 else
14026
14027 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14028
14029 fi
14030
14031
14032 eval "$wx_cv_use_ps_in_msw"
14033
14034 if test x"$enablestring" = xdisable; then
14035 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14036 result=yes
14037 else
14038 result=no
14039 fi
14040 else
14041 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14042 fi
14043
14044 { echo "$as_me:$LINENO: result: $result" >&5
14045 echo "${ECHO_T}$result" >&6; }
14046
14047
14048 enablestring=
14049 defaultval=$wxUSE_ALL_FEATURES
14050 if test -z "$defaultval"; then
14051 if test x"$enablestring" = xdisable; then
14052 defaultval=yes
14053 else
14054 defaultval=no
14055 fi
14056 fi
14057
14058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14059 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14060 # Check whether --enable-ownerdrawn was given.
14061 if test "${enable_ownerdrawn+set}" = set; then
14062 enableval=$enable_ownerdrawn;
14063 if test "$enableval" = yes; then
14064 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14065 else
14066 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14067 fi
14068
14069 else
14070
14071 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14072
14073 fi
14074
14075
14076 eval "$wx_cv_use_ownerdrawn"
14077
14078 if test x"$enablestring" = xdisable; then
14079 if test $wxUSE_OWNER_DRAWN = no; then
14080 result=yes
14081 else
14082 result=no
14083 fi
14084 else
14085 result=$wxUSE_OWNER_DRAWN
14086 fi
14087
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14090
14091
14092 enablestring=
14093 defaultval=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x"$enablestring" = xdisable; then
14096 defaultval=yes
14097 else
14098 defaultval=no
14099 fi
14100 fi
14101
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14104 # Check whether --enable-uxtheme was given.
14105 if test "${enable_uxtheme+set}" = set; then
14106 enableval=$enable_uxtheme;
14107 if test "$enableval" = yes; then
14108 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14109 else
14110 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14111 fi
14112
14113 else
14114
14115 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14116
14117 fi
14118
14119
14120 eval "$wx_cv_use_uxtheme"
14121
14122 if test x"$enablestring" = xdisable; then
14123 if test $wxUSE_UXTHEME = no; then
14124 result=yes
14125 else
14126 result=no
14127 fi
14128 else
14129 result=$wxUSE_UXTHEME
14130 fi
14131
14132 { echo "$as_me:$LINENO: result: $result" >&5
14133 echo "${ECHO_T}$result" >&6; }
14134
14135
14136 enablestring=
14137 defaultval=$wxUSE_ALL_FEATURES
14138 if test -z "$defaultval"; then
14139 if test x"$enablestring" = xdisable; then
14140 defaultval=yes
14141 else
14142 defaultval=no
14143 fi
14144 fi
14145
14146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14147 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14148 # Check whether --enable-wxdib was given.
14149 if test "${enable_wxdib+set}" = set; then
14150 enableval=$enable_wxdib;
14151 if test "$enableval" = yes; then
14152 wx_cv_use_wxdib='wxUSE_DIB=yes'
14153 else
14154 wx_cv_use_wxdib='wxUSE_DIB=no'
14155 fi
14156
14157 else
14158
14159 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14160
14161 fi
14162
14163
14164 eval "$wx_cv_use_wxdib"
14165
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_DIB = no; then
14168 result=yes
14169 else
14170 result=no
14171 fi
14172 else
14173 result=$wxUSE_DIB
14174 fi
14175
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14178
14179
14180 if test "$wxUSE_MSW" != 1; then
14181 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14182 fi
14183
14184
14185 enablestring=
14186 defaultval=$wxUSE_ALL_FEATURES
14187 if test -z "$defaultval"; then
14188 if test x"$enablestring" = xdisable; then
14189 defaultval=yes
14190 else
14191 defaultval=no
14192 fi
14193 fi
14194
14195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14196 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14197 # Check whether --enable-autoidman was given.
14198 if test "${enable_autoidman+set}" = set; then
14199 enableval=$enable_autoidman;
14200 if test "$enableval" = yes; then
14201 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14202 else
14203 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14204 fi
14205
14206 else
14207
14208 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14209
14210 fi
14211
14212
14213 eval "$wx_cv_use_autoidman"
14214
14215 if test x"$enablestring" = xdisable; then
14216 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14217 result=yes
14218 else
14219 result=no
14220 fi
14221 else
14222 result=$wxUSE_AUTOID_MANAGEMENT
14223 fi
14224
14225 { echo "$as_me:$LINENO: result: $result" >&5
14226 echo "${ECHO_T}$result" >&6; }
14227
14228
14229 fi
14230
14231
14232 cat >confcache <<\_ACEOF
14233 # This file is a shell script that caches the results of configure
14234 # tests run on this system so they can be shared between configure
14235 # scripts and configure runs, see configure's option --config-cache.
14236 # It is not useful on other systems. If it contains results you don't
14237 # want to keep, you may remove or edit it.
14238 #
14239 # config.status only pays attention to the cache file if you give it
14240 # the --recheck option to rerun configure.
14241 #
14242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14244 # following values.
14245
14246 _ACEOF
14247
14248 # The following way of writing the cache mishandles newlines in values,
14249 # but we know of no workaround that is simple, portable, and efficient.
14250 # So, we kill variables containing newlines.
14251 # Ultrix sh set writes to stderr and can't be redirected directly,
14252 # and sets the high bit in the cache file unless we assign to the vars.
14253 (
14254 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14255 eval ac_val=\$$ac_var
14256 case $ac_val in #(
14257 *${as_nl}*)
14258 case $ac_var in #(
14259 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14260 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14261 esac
14262 case $ac_var in #(
14263 _ | IFS | as_nl) ;; #(
14264 *) $as_unset $ac_var ;;
14265 esac ;;
14266 esac
14267 done
14268
14269 (set) 2>&1 |
14270 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14271 *${as_nl}ac_space=\ *)
14272 # `set' does not quote correctly, so add quotes (double-quote
14273 # substitution turns \\\\ into \\, and sed turns \\ into \).
14274 sed -n \
14275 "s/'/'\\\\''/g;
14276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14277 ;; #(
14278 *)
14279 # `set' quotes correctly as required by POSIX, so do not add quotes.
14280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14281 ;;
14282 esac |
14283 sort
14284 ) |
14285 sed '
14286 /^ac_cv_env_/b end
14287 t clear
14288 :clear
14289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14290 t end
14291 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14292 :end' >>confcache
14293 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14294 if test -w "$cache_file"; then
14295 test "x$cache_file" != "x/dev/null" &&
14296 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14297 echo "$as_me: updating cache $cache_file" >&6;}
14298 cat confcache >$cache_file
14299 else
14300 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14301 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14302 fi
14303 fi
14304 rm -f confcache
14305
14306 CFLAGS=${CFLAGS:=}
14307
14308
14309
14310 ac_ext=c
14311 ac_cpp='$CPP $CPPFLAGS'
14312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14315 if test -n "$ac_tool_prefix"; then
14316 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14317 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14320 if test "${ac_cv_prog_CC+set}" = set; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 else
14323 if test -n "$CC"; then
14324 ac_cv_prog_CC="$CC" # Let the user override the test.
14325 else
14326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14327 for as_dir in $PATH
14328 do
14329 IFS=$as_save_IFS
14330 test -z "$as_dir" && as_dir=.
14331 for ac_exec_ext in '' $ac_executable_extensions; do
14332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14333 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14335 break 2
14336 fi
14337 done
14338 done
14339 IFS=$as_save_IFS
14340
14341 fi
14342 fi
14343 CC=$ac_cv_prog_CC
14344 if test -n "$CC"; then
14345 { echo "$as_me:$LINENO: result: $CC" >&5
14346 echo "${ECHO_T}$CC" >&6; }
14347 else
14348 { echo "$as_me:$LINENO: result: no" >&5
14349 echo "${ECHO_T}no" >&6; }
14350 fi
14351
14352
14353 fi
14354 if test -z "$ac_cv_prog_CC"; then
14355 ac_ct_CC=$CC
14356 # Extract the first word of "gcc", so it can be a program name with args.
14357 set dummy gcc; ac_word=$2
14358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 if test -n "$ac_ct_CC"; then
14364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14365 else
14366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14367 for as_dir in $PATH
14368 do
14369 IFS=$as_save_IFS
14370 test -z "$as_dir" && as_dir=.
14371 for ac_exec_ext in '' $ac_executable_extensions; do
14372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14373 ac_cv_prog_ac_ct_CC="gcc"
14374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14375 break 2
14376 fi
14377 done
14378 done
14379 IFS=$as_save_IFS
14380
14381 fi
14382 fi
14383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14384 if test -n "$ac_ct_CC"; then
14385 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14386 echo "${ECHO_T}$ac_ct_CC" >&6; }
14387 else
14388 { echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6; }
14390 fi
14391
14392 if test "x$ac_ct_CC" = x; then
14393 CC=""
14394 else
14395 case $cross_compiling:$ac_tool_warned in
14396 yes:)
14397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14398 whose name does not start with the host triplet. If you think this
14399 configuration is useful to you, please write to autoconf@gnu.org." >&5
14400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14401 whose name does not start with the host triplet. If you think this
14402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14403 ac_tool_warned=yes ;;
14404 esac
14405 CC=$ac_ct_CC
14406 fi
14407 else
14408 CC="$ac_cv_prog_CC"
14409 fi
14410
14411 if test -z "$CC"; then
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14414 set dummy ${ac_tool_prefix}cc; 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}cc"
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 fi
14452 if test -z "$CC"; then
14453 # Extract the first word of "cc", so it can be a program name with args.
14454 set dummy cc; 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_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 if test -n "$CC"; then
14461 ac_cv_prog_CC="$CC" # Let the user override the test.
14462 else
14463 ac_prog_rejected=no
14464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14465 for as_dir in $PATH
14466 do
14467 IFS=$as_save_IFS
14468 test -z "$as_dir" && as_dir=.
14469 for ac_exec_ext in '' $ac_executable_extensions; do
14470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14472 ac_prog_rejected=yes
14473 continue
14474 fi
14475 ac_cv_prog_CC="cc"
14476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14477 break 2
14478 fi
14479 done
14480 done
14481 IFS=$as_save_IFS
14482
14483 if test $ac_prog_rejected = yes; then
14484 # We found a bogon in the path, so make sure we never use it.
14485 set dummy $ac_cv_prog_CC
14486 shift
14487 if test $# != 0; then
14488 # We chose a different compiler from the bogus one.
14489 # However, it has the same basename, so the bogon will be chosen
14490 # first if we set CC to just the basename; use the full file name.
14491 shift
14492 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14493 fi
14494 fi
14495 fi
14496 fi
14497 CC=$ac_cv_prog_CC
14498 if test -n "$CC"; then
14499 { echo "$as_me:$LINENO: result: $CC" >&5
14500 echo "${ECHO_T}$CC" >&6; }
14501 else
14502 { echo "$as_me:$LINENO: result: no" >&5
14503 echo "${ECHO_T}no" >&6; }
14504 fi
14505
14506
14507 fi
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 for ac_prog in cl.exe
14511 do
14512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14516 if test "${ac_cv_prog_CC+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519 if test -n "$CC"; then
14520 ac_cv_prog_CC="$CC" # Let the user override the test.
14521 else
14522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14523 for as_dir in $PATH
14524 do
14525 IFS=$as_save_IFS
14526 test -z "$as_dir" && as_dir=.
14527 for ac_exec_ext in '' $ac_executable_extensions; do
14528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14529 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14531 break 2
14532 fi
14533 done
14534 done
14535 IFS=$as_save_IFS
14536
14537 fi
14538 fi
14539 CC=$ac_cv_prog_CC
14540 if test -n "$CC"; then
14541 { echo "$as_me:$LINENO: result: $CC" >&5
14542 echo "${ECHO_T}$CC" >&6; }
14543 else
14544 { echo "$as_me:$LINENO: result: no" >&5
14545 echo "${ECHO_T}no" >&6; }
14546 fi
14547
14548
14549 test -n "$CC" && break
14550 done
14551 fi
14552 if test -z "$CC"; then
14553 ac_ct_CC=$CC
14554 for ac_prog in cl.exe
14555 do
14556 # Extract the first word of "$ac_prog", so it can be a program name with args.
14557 set dummy $ac_prog; ac_word=$2
14558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 if test -n "$ac_ct_CC"; then
14564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14565 else
14566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567 for as_dir in $PATH
14568 do
14569 IFS=$as_save_IFS
14570 test -z "$as_dir" && as_dir=.
14571 for ac_exec_ext in '' $ac_executable_extensions; do
14572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14573 ac_cv_prog_ac_ct_CC="$ac_prog"
14574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14575 break 2
14576 fi
14577 done
14578 done
14579 IFS=$as_save_IFS
14580
14581 fi
14582 fi
14583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14584 if test -n "$ac_ct_CC"; then
14585 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14586 echo "${ECHO_T}$ac_ct_CC" >&6; }
14587 else
14588 { echo "$as_me:$LINENO: result: no" >&5
14589 echo "${ECHO_T}no" >&6; }
14590 fi
14591
14592
14593 test -n "$ac_ct_CC" && break
14594 done
14595
14596 if test "x$ac_ct_CC" = x; then
14597 CC=""
14598 else
14599 case $cross_compiling:$ac_tool_warned in
14600 yes:)
14601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14602 whose name does not start with the host triplet. If you think this
14603 configuration is useful to you, please write to autoconf@gnu.org." >&5
14604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14605 whose name does not start with the host triplet. If you think this
14606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14607 ac_tool_warned=yes ;;
14608 esac
14609 CC=$ac_ct_CC
14610 fi
14611 fi
14612
14613 fi
14614
14615
14616 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14617 See \`config.log' for more details." >&5
14618 echo "$as_me: error: no acceptable C compiler found in \$PATH
14619 See \`config.log' for more details." >&2;}
14620 { (exit 1); exit 1; }; }
14621
14622 # Provide some information about the compiler.
14623 echo "$as_me:$LINENO: checking for C compiler version" >&5
14624 ac_compiler=`set X $ac_compile; echo $2`
14625 { (ac_try="$ac_compiler --version >&5"
14626 case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compiler --version >&5") 2>&5
14632 ac_status=$?
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }
14635 { (ac_try="$ac_compiler -v >&5"
14636 case "(($ac_try" in
14637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14639 esac
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_compiler -v >&5") 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }
14645 { (ac_try="$ac_compiler -V >&5"
14646 case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14649 esac
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_compiler -V >&5") 2>&5
14652 ac_status=$?
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }
14655
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662
14663 int
14664 main ()
14665 {
14666
14667 ;
14668 return 0;
14669 }
14670 _ACEOF
14671 ac_clean_files_save=$ac_clean_files
14672 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14673 # Try to create an executable without -o first, disregard a.out.
14674 # It will help us diagnose broken compilers, and finding out an intuition
14675 # of exeext.
14676 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14677 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14678 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14679 #
14680 # List of possible output files, starting from the most likely.
14681 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14682 # only as a last resort. b.out is created by i960 compilers.
14683 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14684 #
14685 # The IRIX 6 linker writes into existing files which may not be
14686 # executable, retaining their permissions. Remove them first so a
14687 # subsequent execution test works.
14688 ac_rmfiles=
14689 for ac_file in $ac_files
14690 do
14691 case $ac_file in
14692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14693 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14694 esac
14695 done
14696 rm -f $ac_rmfiles
14697
14698 if { (ac_try="$ac_link_default"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14702 esac
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link_default") 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; then
14708 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14709 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14710 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14711 # so that the user can short-circuit this test for compilers unknown to
14712 # Autoconf.
14713 for ac_file in $ac_files ''
14714 do
14715 test -f "$ac_file" || continue
14716 case $ac_file in
14717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14718 ;;
14719 [ab].out )
14720 # We found the default executable, but exeext='' is most
14721 # certainly right.
14722 break;;
14723 *.* )
14724 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14725 then :; else
14726 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14727 fi
14728 # We set ac_cv_exeext here because the later test for it is not
14729 # safe: cross compilers may not add the suffix if given an `-o'
14730 # argument, so we may need to know it at that point already.
14731 # Even if this section looks crufty: it has the advantage of
14732 # actually working.
14733 break;;
14734 * )
14735 break;;
14736 esac
14737 done
14738 test "$ac_cv_exeext" = no && ac_cv_exeext=
14739
14740 else
14741 ac_file=''
14742 fi
14743
14744 { echo "$as_me:$LINENO: result: $ac_file" >&5
14745 echo "${ECHO_T}$ac_file" >&6; }
14746 if test -z "$ac_file"; then
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14749
14750 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14751 See \`config.log' for more details." >&5
14752 echo "$as_me: error: C compiler cannot create executables
14753 See \`config.log' for more details." >&2;}
14754 { (exit 77); exit 77; }; }
14755 fi
14756
14757 ac_exeext=$ac_cv_exeext
14758
14759 # Check that the compiler produces executables we can run. If not, either
14760 # the compiler is broken, or we cross compile.
14761 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14764 # If not cross compiling, check that we can run a simple program.
14765 if test "$cross_compiling" != yes; then
14766 if { ac_try='./$ac_file'
14767 { (case "(($ac_try" in
14768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14769 *) ac_try_echo=$ac_try;;
14770 esac
14771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14772 (eval "$ac_try") 2>&5
14773 ac_status=$?
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 cross_compiling=no
14777 else
14778 if test "$cross_compiling" = maybe; then
14779 cross_compiling=yes
14780 else
14781 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14782 If you meant to cross compile, use \`--host'.
14783 See \`config.log' for more details." >&5
14784 echo "$as_me: error: cannot run C compiled programs.
14785 If you meant to cross compile, use \`--host'.
14786 See \`config.log' for more details." >&2;}
14787 { (exit 1); exit 1; }; }
14788 fi
14789 fi
14790 fi
14791 { echo "$as_me:$LINENO: result: yes" >&5
14792 echo "${ECHO_T}yes" >&6; }
14793
14794 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14795 ac_clean_files=$ac_clean_files_save
14796 # Check that the compiler produces executables we can run. If not, either
14797 # the compiler is broken, or we cross compile.
14798 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14799 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14800 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14801 echo "${ECHO_T}$cross_compiling" >&6; }
14802
14803 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14804 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14805 if { (ac_try="$ac_link"
14806 case "(($ac_try" in
14807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14809 esac
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_link") 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; then
14815 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14816 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14817 # work properly (i.e., refer to `conftest.exe'), while it won't with
14818 # `rm'.
14819 for ac_file in conftest.exe conftest conftest.*; do
14820 test -f "$ac_file" || continue
14821 case $ac_file in
14822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14823 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14824 break;;
14825 * ) break;;
14826 esac
14827 done
14828 else
14829 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14830 See \`config.log' for more details." >&5
14831 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14832 See \`config.log' for more details." >&2;}
14833 { (exit 1); exit 1; }; }
14834 fi
14835
14836 rm -f conftest$ac_cv_exeext
14837 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14838 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14839
14840 rm -f conftest.$ac_ext
14841 EXEEXT=$ac_cv_exeext
14842 ac_exeext=$EXEEXT
14843 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14844 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14845 if test "${ac_cv_objext+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848 cat >conftest.$ac_ext <<_ACEOF
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854
14855 int
14856 main ()
14857 {
14858
14859 ;
14860 return 0;
14861 }
14862 _ACEOF
14863 rm -f conftest.o conftest.obj
14864 if { (ac_try="$ac_compile"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_compile") 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; then
14874 for ac_file in conftest.o conftest.obj conftest.*; do
14875 test -f "$ac_file" || continue;
14876 case $ac_file in
14877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14878 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14879 break;;
14880 esac
14881 done
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14885
14886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14887 See \`config.log' for more details." >&5
14888 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14889 See \`config.log' for more details." >&2;}
14890 { (exit 1); exit 1; }; }
14891 fi
14892
14893 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14894 fi
14895 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14896 echo "${ECHO_T}$ac_cv_objext" >&6; }
14897 OBJEXT=$ac_cv_objext
14898 ac_objext=$OBJEXT
14899 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14900 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14901 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 else
14904 cat >conftest.$ac_ext <<_ACEOF
14905 /* confdefs.h. */
14906 _ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910
14911 int
14912 main ()
14913 {
14914 #ifndef __GNUC__
14915 choke me
14916 #endif
14917
14918 ;
14919 return 0;
14920 }
14921 _ACEOF
14922 rm -f conftest.$ac_objext
14923 if { (ac_try="$ac_compile"
14924 case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14927 esac
14928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14929 (eval "$ac_compile") 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } && {
14936 test -z "$ac_c_werror_flag" ||
14937 test ! -s conftest.err
14938 } && test -s conftest.$ac_objext; then
14939 ac_compiler_gnu=yes
14940 else
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.$ac_ext >&5
14943
14944 ac_compiler_gnu=no
14945 fi
14946
14947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14948 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14949
14950 fi
14951 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14952 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14953 GCC=`test $ac_compiler_gnu = yes && echo yes`
14954 ac_test_CFLAGS=${CFLAGS+set}
14955 ac_save_CFLAGS=$CFLAGS
14956 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14957 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14958 if test "${ac_cv_prog_cc_g+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14960 else
14961 ac_save_c_werror_flag=$ac_c_werror_flag
14962 ac_c_werror_flag=yes
14963 ac_cv_prog_cc_g=no
14964 CFLAGS="-g"
14965 cat >conftest.$ac_ext <<_ACEOF
14966 /* confdefs.h. */
14967 _ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971
14972 int
14973 main ()
14974 {
14975
14976 ;
14977 return 0;
14978 }
14979 _ACEOF
14980 rm -f conftest.$ac_objext
14981 if { (ac_try="$ac_compile"
14982 case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14985 esac
14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_compile") 2>conftest.er1
14988 ac_status=$?
14989 grep -v '^ *+' conftest.er1 >conftest.err
14990 rm -f conftest.er1
14991 cat conftest.err >&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } && {
14994 test -z "$ac_c_werror_flag" ||
14995 test ! -s conftest.err
14996 } && test -s conftest.$ac_objext; then
14997 ac_cv_prog_cc_g=yes
14998 else
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15001
15002 CFLAGS=""
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h. */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009
15010 int
15011 main ()
15012 {
15013
15014 ;
15015 return 0;
15016 }
15017 _ACEOF
15018 rm -f conftest.$ac_objext
15019 if { (ac_try="$ac_compile"
15020 case "(($ac_try" in
15021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15022 *) ac_try_echo=$ac_try;;
15023 esac
15024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15025 (eval "$ac_compile") 2>conftest.er1
15026 ac_status=$?
15027 grep -v '^ *+' conftest.er1 >conftest.err
15028 rm -f conftest.er1
15029 cat conftest.err >&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } && {
15032 test -z "$ac_c_werror_flag" ||
15033 test ! -s conftest.err
15034 } && test -s conftest.$ac_objext; then
15035 :
15036 else
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.$ac_ext >&5
15039
15040 ac_c_werror_flag=$ac_save_c_werror_flag
15041 CFLAGS="-g"
15042 cat >conftest.$ac_ext <<_ACEOF
15043 /* confdefs.h. */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048
15049 int
15050 main ()
15051 {
15052
15053 ;
15054 return 0;
15055 }
15056 _ACEOF
15057 rm -f conftest.$ac_objext
15058 if { (ac_try="$ac_compile"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15062 esac
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_compile") 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest.$ac_objext; then
15074 ac_cv_prog_cc_g=yes
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15078
15079
15080 fi
15081
15082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15083 fi
15084
15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15086 fi
15087
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 ac_c_werror_flag=$ac_save_c_werror_flag
15090 fi
15091 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15092 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15093 if test "$ac_test_CFLAGS" = set; then
15094 CFLAGS=$ac_save_CFLAGS
15095 elif test $ac_cv_prog_cc_g = yes; then
15096 if test "$GCC" = yes; then
15097 CFLAGS="-g -O2"
15098 else
15099 CFLAGS="-g"
15100 fi
15101 else
15102 if test "$GCC" = yes; then
15103 CFLAGS="-O2"
15104 else
15105 CFLAGS=
15106 fi
15107 fi
15108 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15109 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15110 if test "${ac_cv_prog_cc_c89+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113 ac_cv_prog_cc_c89=no
15114 ac_save_CC=$CC
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121 #include <stdarg.h>
15122 #include <stdio.h>
15123 #include <sys/types.h>
15124 #include <sys/stat.h>
15125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15126 struct buf { int x; };
15127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15128 static char *e (p, i)
15129 char **p;
15130 int i;
15131 {
15132 return p[i];
15133 }
15134 static char *f (char * (*g) (char **, int), char **p, ...)
15135 {
15136 char *s;
15137 va_list v;
15138 va_start (v,p);
15139 s = g (p, va_arg (v,int));
15140 va_end (v);
15141 return s;
15142 }
15143
15144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15145 function prototypes and stuff, but not '\xHH' hex character constants.
15146 These don't provoke an error unfortunately, instead are silently treated
15147 as 'x'. The following induces an error, until -std is added to get
15148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15149 array size at least. It's necessary to write '\x00'==0 to get something
15150 that's true only with -std. */
15151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15152
15153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15154 inside strings and character constants. */
15155 #define FOO(x) 'x'
15156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15157
15158 int test (int i, double x);
15159 struct s1 {int (*f) (int a);};
15160 struct s2 {int (*f) (double a);};
15161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15162 int argc;
15163 char **argv;
15164 int
15165 main ()
15166 {
15167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15168 ;
15169 return 0;
15170 }
15171 _ACEOF
15172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15174 do
15175 CC="$ac_save_CC $ac_arg"
15176 rm -f conftest.$ac_objext
15177 if { (ac_try="$ac_compile"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_compile") 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest.$ac_objext; then
15193 ac_cv_prog_cc_c89=$ac_arg
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15197
15198
15199 fi
15200
15201 rm -f core conftest.err conftest.$ac_objext
15202 test "x$ac_cv_prog_cc_c89" != "xno" && break
15203 done
15204 rm -f conftest.$ac_ext
15205 CC=$ac_save_CC
15206
15207 fi
15208 # AC_CACHE_VAL
15209 case "x$ac_cv_prog_cc_c89" in
15210 x)
15211 { echo "$as_me:$LINENO: result: none needed" >&5
15212 echo "${ECHO_T}none needed" >&6; } ;;
15213 xno)
15214 { echo "$as_me:$LINENO: result: unsupported" >&5
15215 echo "${ECHO_T}unsupported" >&6; } ;;
15216 *)
15217 CC="$CC $ac_cv_prog_cc_c89"
15218 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15219 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15220 esac
15221
15222
15223 ac_ext=c
15224 ac_cpp='$CPP $CPPFLAGS'
15225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15228
15229
15230
15231
15232 ac_ext=c
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15237
15238 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15239 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15240 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 else
15243 cat >conftest.$ac_ext <<_ACEOF
15244 /* confdefs.h. */
15245 _ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249
15250 int
15251 main ()
15252 {
15253
15254 #ifndef __INTEL_COMPILER
15255 choke me
15256 #endif
15257
15258 ;
15259 return 0;
15260 }
15261 _ACEOF
15262 rm -f conftest.$ac_objext
15263 if { (ac_try="$ac_compile"
15264 case "(($ac_try" in
15265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15266 *) ac_try_echo=$ac_try;;
15267 esac
15268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15269 (eval "$ac_compile") 2>conftest.er1
15270 ac_status=$?
15271 grep -v '^ *+' conftest.er1 >conftest.err
15272 rm -f conftest.er1
15273 cat conftest.err >&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } && {
15276 test -z "$ac_c_werror_flag" ||
15277 test ! -s conftest.err
15278 } && test -s conftest.$ac_objext; then
15279 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15280 else
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15283
15284 bakefile_cv_c_compiler___INTEL_COMPILER=no
15285
15286 fi
15287
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289
15290
15291 fi
15292 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15293 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15294 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15295 :; INTELCC=yes
15296 else
15297 :;
15298 fi
15299 ac_ext=c
15300 ac_cpp='$CPP $CPPFLAGS'
15301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15304
15305
15306
15307
15308 if test "$INTELCC" = "yes"; then
15309
15310
15311 ac_ext=c
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15316
15317 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15318 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15319 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 else
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h. */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328
15329 int
15330 main ()
15331 {
15332
15333 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15334 choke me
15335 #endif
15336
15337 ;
15338 return 0;
15339 }
15340 _ACEOF
15341 rm -f conftest.$ac_objext
15342 if { (ac_try="$ac_compile"
15343 case "(($ac_try" in
15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15345 *) ac_try_echo=$ac_try;;
15346 esac
15347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_compile") 2>conftest.er1
15349 ac_status=$?
15350 grep -v '^ *+' conftest.er1 >conftest.err
15351 rm -f conftest.er1
15352 cat conftest.err >&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); } && {
15355 test -z "$ac_c_werror_flag" ||
15356 test ! -s conftest.err
15357 } && test -s conftest.$ac_objext; then
15358 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15359 else
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.$ac_ext >&5
15362
15363 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15364
15365 fi
15366
15367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368
15369
15370 fi
15371 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15372 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15373 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15374 :; INTELCC8=yes
15375 else
15376 :;
15377 fi
15378 ac_ext=c
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15383
15384
15385
15386
15387
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393
15394 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15395 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15396 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 else
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h. */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405
15406 int
15407 main ()
15408 {
15409
15410 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15411 choke me
15412 #endif
15413
15414 ;
15415 return 0;
15416 }
15417 _ACEOF
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15423 esac
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15426 ac_status=$?
15427 grep -v '^ *+' conftest.er1 >conftest.err
15428 rm -f conftest.er1
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15435 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15439
15440 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15441
15442 fi
15443
15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445
15446
15447 fi
15448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15449 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15450 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15451 :; INTELCC10=yes
15452 else
15453 :;
15454 fi
15455 ac_ext=c
15456 ac_cpp='$CPP $CPPFLAGS'
15457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15460
15461
15462
15463 fi
15464
15465 if test "x$GCC" != "xyes"; then
15466 if test "xCC" = "xC"; then
15467 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15468 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15469 if test "${bakefile_cv_c_exto+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478
15479 int
15480 main ()
15481 {
15482
15483 ;
15484 return 0;
15485 }
15486 _ACEOF
15487 rm -f conftest.$ac_objext conftest.$ac_ext.o
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; then
15493 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15494 case $ac_file in
15495 conftest.$ac_ext.o)
15496 bakefile_cv_c_exto="-ext o"
15497 ;;
15498 *)
15499 ;;
15500 esac
15501 done
15502 else
15503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15504 See \`config.log' for more details." >&5
15505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15506 See \`config.log' for more details." >&2;}
15507 { (exit 1); exit 1; }; }
15508
15509 fi
15510
15511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15512
15513 fi
15514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15515 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15517 if test "c" = "c"; then
15518 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15519 fi
15520 if test "c" = "cxx"; then
15521 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15522 fi
15523 fi
15524
15525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15526 unset ac_cv_prog_cc_g
15527 ac_test_CFLAGS=${CFLAGS+set}
15528 ac_save_CFLAGS=$CFLAGS
15529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15531 if test "${ac_cv_prog_cc_g+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 else
15534 ac_save_c_werror_flag=$ac_c_werror_flag
15535 ac_c_werror_flag=yes
15536 ac_cv_prog_cc_g=no
15537 CFLAGS="-g"
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544
15545 int
15546 main ()
15547 {
15548
15549 ;
15550 return 0;
15551 }
15552 _ACEOF
15553 rm -f conftest.$ac_objext
15554 if { (ac_try="$ac_compile"
15555 case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558 esac
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_compile") 2>conftest.er1
15561 ac_status=$?
15562 grep -v '^ *+' conftest.er1 >conftest.err
15563 rm -f conftest.er1
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest.$ac_objext; then
15570 ac_cv_prog_cc_g=yes
15571 else
15572 echo "$as_me: failed program was:" >&5
15573 sed 's/^/| /' conftest.$ac_ext >&5
15574
15575 CFLAGS=""
15576 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582
15583 int
15584 main ()
15585 {
15586
15587 ;
15588 return 0;
15589 }
15590 _ACEOF
15591 rm -f conftest.$ac_objext
15592 if { (ac_try="$ac_compile"
15593 case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15596 esac
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_compile") 2>conftest.er1
15599 ac_status=$?
15600 grep -v '^ *+' conftest.er1 >conftest.err
15601 rm -f conftest.er1
15602 cat conftest.err >&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); } && {
15605 test -z "$ac_c_werror_flag" ||
15606 test ! -s conftest.err
15607 } && test -s conftest.$ac_objext; then
15608 :
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15612
15613 ac_c_werror_flag=$ac_save_c_werror_flag
15614 CFLAGS="-g"
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 ;
15627 return 0;
15628 }
15629 _ACEOF
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15635 esac
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_compile") 2>conftest.er1
15638 ac_status=$?
15639 grep -v '^ *+' conftest.er1 >conftest.err
15640 rm -f conftest.er1
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } && {
15644 test -z "$ac_c_werror_flag" ||
15645 test ! -s conftest.err
15646 } && test -s conftest.$ac_objext; then
15647 ac_cv_prog_cc_g=yes
15648 else
15649 echo "$as_me: failed program was:" >&5
15650 sed 's/^/| /' conftest.$ac_ext >&5
15651
15652
15653 fi
15654
15655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 fi
15657
15658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15659 fi
15660
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662 ac_c_werror_flag=$ac_save_c_werror_flag
15663 fi
15664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15666 if test "$ac_test_CFLAGS" = set; then
15667 CFLAGS=$ac_save_CFLAGS
15668 elif test $ac_cv_prog_cc_g = yes; then
15669 if test "$GCC" = yes; then
15670 CFLAGS="-g -O2"
15671 else
15672 CFLAGS="-g"
15673 fi
15674 else
15675 if test "$GCC" = yes; then
15676 CFLAGS="-O2"
15677 else
15678 CFLAGS=
15679 fi
15680 fi
15681 fi
15682 fi
15683
15684 case `uname -s` in
15685 AIX*)
15686
15687
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693
15694 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15695 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15696 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705
15706 int
15707 main ()
15708 {
15709
15710 #ifndef __xlC__
15711 choke me
15712 #endif
15713
15714 ;
15715 return 0;
15716 }
15717 _ACEOF
15718 rm -f conftest.$ac_objext
15719 if { (ac_try="$ac_compile"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15723 esac
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_compile") 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest.$ac_objext; then
15735 bakefile_cv_c_compiler___xlC__=yes
15736 else
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.$ac_ext >&5
15739
15740 bakefile_cv_c_compiler___xlC__=no
15741
15742 fi
15743
15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15745
15746
15747 fi
15748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15749 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15750 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15751 :; XLCC=yes
15752 else
15753 :;
15754 fi
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762
15763 ;;
15764
15765 Darwin)
15766
15767
15768 ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773
15774 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15775 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15776 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15778 else
15779 cat >conftest.$ac_ext <<_ACEOF
15780 /* confdefs.h. */
15781 _ACEOF
15782 cat confdefs.h >>conftest.$ac_ext
15783 cat >>conftest.$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15785
15786 int
15787 main ()
15788 {
15789
15790 #ifndef __MWERKS__
15791 choke me
15792 #endif
15793
15794 ;
15795 return 0;
15796 }
15797 _ACEOF
15798 rm -f conftest.$ac_objext
15799 if { (ac_try="$ac_compile"
15800 case "(($ac_try" in
15801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802 *) ac_try_echo=$ac_try;;
15803 esac
15804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15805 (eval "$ac_compile") 2>conftest.er1
15806 ac_status=$?
15807 grep -v '^ *+' conftest.er1 >conftest.err
15808 rm -f conftest.er1
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } && {
15812 test -z "$ac_c_werror_flag" ||
15813 test ! -s conftest.err
15814 } && test -s conftest.$ac_objext; then
15815 bakefile_cv_c_compiler___MWERKS__=yes
15816 else
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.$ac_ext >&5
15819
15820 bakefile_cv_c_compiler___MWERKS__=no
15821
15822 fi
15823
15824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825
15826
15827 fi
15828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15829 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15830 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15831 :; MWCC=yes
15832 else
15833 :;
15834 fi
15835 ac_ext=c
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15840
15841
15842
15843 if test "$MWCC" != "yes"; then
15844
15845
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 cat >conftest.$ac_ext <<_ACEOF
15858 /* confdefs.h. */
15859 _ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863
15864 int
15865 main ()
15866 {
15867
15868 #ifndef __xlC__
15869 choke me
15870 #endif
15871
15872 ;
15873 return 0;
15874 }
15875 _ACEOF
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15881 esac
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15884 ac_status=$?
15885 grep -v '^ *+' conftest.er1 >conftest.err
15886 rm -f conftest.er1
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___xlC__=yes
15894 else
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.$ac_ext >&5
15897
15898 bakefile_cv_c_compiler___xlC__=no
15899
15900 fi
15901
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903
15904
15905 fi
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15908 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15909 :; XLCC=yes
15910 else
15911 :;
15912 fi
15913 ac_ext=c
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15918
15919
15920
15921 fi
15922 ;;
15923
15924 IRIX*)
15925
15926
15927 ac_ext=c
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932
15933 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15934 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15935 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944
15945 int
15946 main ()
15947 {
15948
15949 #ifndef _SGI_COMPILER_VERSION
15950 choke me
15951 #endif
15952
15953 ;
15954 return 0;
15955 }
15956 _ACEOF
15957 rm -f conftest.$ac_objext
15958 if { (ac_try="$ac_compile"
15959 case "(($ac_try" in
15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15961 *) ac_try_echo=$ac_try;;
15962 esac
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15964 (eval "$ac_compile") 2>conftest.er1
15965 ac_status=$?
15966 grep -v '^ *+' conftest.er1 >conftest.err
15967 rm -f conftest.er1
15968 cat conftest.err >&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } && {
15971 test -z "$ac_c_werror_flag" ||
15972 test ! -s conftest.err
15973 } && test -s conftest.$ac_objext; then
15974 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15980
15981 fi
15982
15983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15984
15985
15986 fi
15987 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15988 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15989 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15990 :; SGICC=yes
15991 else
15992 :;
15993 fi
15994 ac_ext=c
15995 ac_cpp='$CPP $CPPFLAGS'
15996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15999
16000
16001
16002 ;;
16003
16004 Linux*)
16005 if test "$INTELCC" != "yes"; then
16006
16007
16008 ac_ext=c
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16013
16014 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16015 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16016 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 else
16019 cat >conftest.$ac_ext <<_ACEOF
16020 /* confdefs.h. */
16021 _ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025
16026 int
16027 main ()
16028 {
16029
16030 #ifndef __SUNPRO_C
16031 choke me
16032 #endif
16033
16034 ;
16035 return 0;
16036 }
16037 _ACEOF
16038 rm -f conftest.$ac_objext
16039 if { (ac_try="$ac_compile"
16040 case "(($ac_try" in
16041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16043 esac
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_compile") 2>conftest.er1
16046 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest.$ac_objext; then
16055 bakefile_cv_c_compiler___SUNPRO_C=yes
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 bakefile_cv_c_compiler___SUNPRO_C=no
16061
16062 fi
16063
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16065
16066
16067 fi
16068 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16069 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16070 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16071 :; SUNCC=yes
16072 else
16073 :;
16074 fi
16075 ac_ext=c
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16080
16081
16082
16083 fi
16084 ;;
16085
16086 HP-UX*)
16087
16088
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16096 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16097 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 else
16100 cat >conftest.$ac_ext <<_ACEOF
16101 /* confdefs.h. */
16102 _ACEOF
16103 cat confdefs.h >>conftest.$ac_ext
16104 cat >>conftest.$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16106
16107 int
16108 main ()
16109 {
16110
16111 #ifndef __HP_cc
16112 choke me
16113 #endif
16114
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext
16120 if { (ac_try="$ac_compile"
16121 case "(($ac_try" in
16122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16123 *) ac_try_echo=$ac_try;;
16124 esac
16125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 (eval "$ac_compile") 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } && {
16133 test -z "$ac_c_werror_flag" ||
16134 test ! -s conftest.err
16135 } && test -s conftest.$ac_objext; then
16136 bakefile_cv_c_compiler___HP_cc=yes
16137 else
16138 echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16140
16141 bakefile_cv_c_compiler___HP_cc=no
16142
16143 fi
16144
16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16146
16147
16148 fi
16149 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16150 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16151 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16152 :; HPCC=yes
16153 else
16154 :;
16155 fi
16156 ac_ext=c
16157 ac_cpp='$CPP $CPPFLAGS'
16158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16161
16162
16163
16164 ;;
16165
16166 OSF1)
16167
16168
16169 ac_ext=c
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16174
16175 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16176 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16177 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 else
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16186
16187 int
16188 main ()
16189 {
16190
16191 #ifndef __DECC
16192 choke me
16193 #endif
16194
16195 ;
16196 return 0;
16197 }
16198 _ACEOF
16199 rm -f conftest.$ac_objext
16200 if { (ac_try="$ac_compile"
16201 case "(($ac_try" in
16202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16203 *) ac_try_echo=$ac_try;;
16204 esac
16205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16206 (eval "$ac_compile") 2>conftest.er1
16207 ac_status=$?
16208 grep -v '^ *+' conftest.er1 >conftest.err
16209 rm -f conftest.er1
16210 cat conftest.err >&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); } && {
16213 test -z "$ac_c_werror_flag" ||
16214 test ! -s conftest.err
16215 } && test -s conftest.$ac_objext; then
16216 bakefile_cv_c_compiler___DECC=yes
16217 else
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.$ac_ext >&5
16220
16221 bakefile_cv_c_compiler___DECC=no
16222
16223 fi
16224
16225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16226
16227
16228 fi
16229 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16230 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16231 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16232 :; COMPAQCC=yes
16233 else
16234 :;
16235 fi
16236 ac_ext=c
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16241
16242
16243
16244 ;;
16245
16246 SunOS)
16247
16248
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16254
16255 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16256 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16257 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16259 else
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266
16267 int
16268 main ()
16269 {
16270
16271 #ifndef __SUNPRO_C
16272 choke me
16273 #endif
16274
16275 ;
16276 return 0;
16277 }
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (ac_try="$ac_compile"
16281 case "(($ac_try" in
16282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16283 *) ac_try_echo=$ac_try;;
16284 esac
16285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16286 (eval "$ac_compile") 2>conftest.er1
16287 ac_status=$?
16288 grep -v '^ *+' conftest.er1 >conftest.err
16289 rm -f conftest.er1
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } && {
16293 test -z "$ac_c_werror_flag" ||
16294 test ! -s conftest.err
16295 } && test -s conftest.$ac_objext; then
16296 bakefile_cv_c_compiler___SUNPRO_C=yes
16297 else
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.$ac_ext >&5
16300
16301 bakefile_cv_c_compiler___SUNPRO_C=no
16302
16303 fi
16304
16305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16306
16307
16308 fi
16309 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16310 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16311 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16312 :; SUNCC=yes
16313 else
16314 :;
16315 fi
16316 ac_ext=c
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321
16322
16323
16324 ;;
16325 esac
16326 fi
16327
16328
16329
16330 ac_ext=c
16331 ac_cpp='$CPP $CPPFLAGS'
16332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16335 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16336 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16337 # On Suns, sometimes $CPP names a directory.
16338 if test -n "$CPP" && test -d "$CPP"; then
16339 CPP=
16340 fi
16341 if test -z "$CPP"; then
16342 if test "${ac_cv_prog_CPP+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 # Double quotes because CPP needs to be expanded
16346 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16347 do
16348 ac_preproc_ok=false
16349 for ac_c_preproc_warn_flag in '' yes
16350 do
16351 # Use a header file that comes with gcc, so configuring glibc
16352 # with a fresh cross-compiler works.
16353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16354 # <limits.h> exists even on freestanding compilers.
16355 # On the NeXT, cc -E runs the code through the compiler's parser,
16356 # not just through cpp. "Syntax error" is here to catch this case.
16357 cat >conftest.$ac_ext <<_ACEOF
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 #ifdef __STDC__
16364 # include <limits.h>
16365 #else
16366 # include <assert.h>
16367 #endif
16368 Syntax error
16369 _ACEOF
16370 if { (ac_try="$ac_cpp conftest.$ac_ext"
16371 case "(($ac_try" in
16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16374 esac
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } >/dev/null && {
16383 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16385 }; then
16386 :
16387 else
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16390
16391 # Broken: fails on valid input.
16392 continue
16393 fi
16394
16395 rm -f conftest.err conftest.$ac_ext
16396
16397 # OK, works on sane cases. Now check whether nonexistent headers
16398 # can be detected and how.
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 #include <ac_nonexistent.h>
16406 _ACEOF
16407 if { (ac_try="$ac_cpp conftest.$ac_ext"
16408 case "(($ac_try" in
16409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16410 *) ac_try_echo=$ac_try;;
16411 esac
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16414 ac_status=$?
16415 grep -v '^ *+' conftest.er1 >conftest.err
16416 rm -f conftest.er1
16417 cat conftest.err >&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); } >/dev/null && {
16420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16421 test ! -s conftest.err
16422 }; then
16423 # Broken: success on invalid input.
16424 continue
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16428
16429 # Passes both tests.
16430 ac_preproc_ok=:
16431 break
16432 fi
16433
16434 rm -f conftest.err conftest.$ac_ext
16435
16436 done
16437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16438 rm -f conftest.err conftest.$ac_ext
16439 if $ac_preproc_ok; then
16440 break
16441 fi
16442
16443 done
16444 ac_cv_prog_CPP=$CPP
16445
16446 fi
16447 CPP=$ac_cv_prog_CPP
16448 else
16449 ac_cv_prog_CPP=$CPP
16450 fi
16451 { echo "$as_me:$LINENO: result: $CPP" >&5
16452 echo "${ECHO_T}$CPP" >&6; }
16453 ac_preproc_ok=false
16454 for ac_c_preproc_warn_flag in '' yes
16455 do
16456 # Use a header file that comes with gcc, so configuring glibc
16457 # with a fresh cross-compiler works.
16458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16459 # <limits.h> exists even on freestanding compilers.
16460 # On the NeXT, cc -E runs the code through the compiler's parser,
16461 # not just through cpp. "Syntax error" is here to catch this case.
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #ifdef __STDC__
16469 # include <limits.h>
16470 #else
16471 # include <assert.h>
16472 #endif
16473 Syntax error
16474 _ACEOF
16475 if { (ac_try="$ac_cpp conftest.$ac_ext"
16476 case "(($ac_try" in
16477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16479 esac
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } >/dev/null && {
16488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 }; then
16491 :
16492 else
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16495
16496 # Broken: fails on valid input.
16497 continue
16498 fi
16499
16500 rm -f conftest.err conftest.$ac_ext
16501
16502 # OK, works on sane cases. Now check whether nonexistent headers
16503 # can be detected and how.
16504 cat >conftest.$ac_ext <<_ACEOF
16505 /* confdefs.h. */
16506 _ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #include <ac_nonexistent.h>
16511 _ACEOF
16512 if { (ac_try="$ac_cpp conftest.$ac_ext"
16513 case "(($ac_try" in
16514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16515 *) ac_try_echo=$ac_try;;
16516 esac
16517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16519 ac_status=$?
16520 grep -v '^ *+' conftest.er1 >conftest.err
16521 rm -f conftest.er1
16522 cat conftest.err >&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } >/dev/null && {
16525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16526 test ! -s conftest.err
16527 }; then
16528 # Broken: success on invalid input.
16529 continue
16530 else
16531 echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.$ac_ext >&5
16533
16534 # Passes both tests.
16535 ac_preproc_ok=:
16536 break
16537 fi
16538
16539 rm -f conftest.err conftest.$ac_ext
16540
16541 done
16542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16543 rm -f conftest.err conftest.$ac_ext
16544 if $ac_preproc_ok; then
16545 :
16546 else
16547 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16548 See \`config.log' for more details." >&5
16549 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16550 See \`config.log' for more details." >&2;}
16551 { (exit 1); exit 1; }; }
16552 fi
16553
16554 ac_ext=c
16555 ac_cpp='$CPP $CPPFLAGS'
16556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16559
16560
16561 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16562 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16563 if test "${ac_cv_path_GREP+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 else
16566 # Extract the first word of "grep ggrep" to use in msg output
16567 if test -z "$GREP"; then
16568 set dummy grep ggrep; ac_prog_name=$2
16569 if test "${ac_cv_path_GREP+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 ac_path_GREP_found=false
16573 # Loop through the user's path and test for each of PROGNAME-LIST
16574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16575 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16576 do
16577 IFS=$as_save_IFS
16578 test -z "$as_dir" && as_dir=.
16579 for ac_prog in grep ggrep; do
16580 for ac_exec_ext in '' $ac_executable_extensions; do
16581 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16582 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16583 # Check for GNU ac_path_GREP and select it if it is found.
16584 # Check for GNU $ac_path_GREP
16585 case `"$ac_path_GREP" --version 2>&1` in
16586 *GNU*)
16587 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16588 *)
16589 ac_count=0
16590 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16591 while :
16592 do
16593 cat "conftest.in" "conftest.in" >"conftest.tmp"
16594 mv "conftest.tmp" "conftest.in"
16595 cp "conftest.in" "conftest.nl"
16596 echo 'GREP' >> "conftest.nl"
16597 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16598 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16599 ac_count=`expr $ac_count + 1`
16600 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16601 # Best one so far, save it but keep looking for a better one
16602 ac_cv_path_GREP="$ac_path_GREP"
16603 ac_path_GREP_max=$ac_count
16604 fi
16605 # 10*(2^10) chars as input seems more than enough
16606 test $ac_count -gt 10 && break
16607 done
16608 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16609 esac
16610
16611
16612 $ac_path_GREP_found && break 3
16613 done
16614 done
16615
16616 done
16617 IFS=$as_save_IFS
16618
16619
16620 fi
16621
16622 GREP="$ac_cv_path_GREP"
16623 if test -z "$GREP"; then
16624 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16625 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16626 { (exit 1); exit 1; }; }
16627 fi
16628
16629 else
16630 ac_cv_path_GREP=$GREP
16631 fi
16632
16633
16634 fi
16635 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16636 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16637 GREP="$ac_cv_path_GREP"
16638
16639
16640 { echo "$as_me:$LINENO: checking for egrep" >&5
16641 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16642 if test "${ac_cv_path_EGREP+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16646 then ac_cv_path_EGREP="$GREP -E"
16647 else
16648 # Extract the first word of "egrep" to use in msg output
16649 if test -z "$EGREP"; then
16650 set dummy egrep; ac_prog_name=$2
16651 if test "${ac_cv_path_EGREP+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 else
16654 ac_path_EGREP_found=false
16655 # Loop through the user's path and test for each of PROGNAME-LIST
16656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16657 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16658 do
16659 IFS=$as_save_IFS
16660 test -z "$as_dir" && as_dir=.
16661 for ac_prog in egrep; do
16662 for ac_exec_ext in '' $ac_executable_extensions; do
16663 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16664 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16665 # Check for GNU ac_path_EGREP and select it if it is found.
16666 # Check for GNU $ac_path_EGREP
16667 case `"$ac_path_EGREP" --version 2>&1` in
16668 *GNU*)
16669 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16670 *)
16671 ac_count=0
16672 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16673 while :
16674 do
16675 cat "conftest.in" "conftest.in" >"conftest.tmp"
16676 mv "conftest.tmp" "conftest.in"
16677 cp "conftest.in" "conftest.nl"
16678 echo 'EGREP' >> "conftest.nl"
16679 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16680 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16681 ac_count=`expr $ac_count + 1`
16682 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16683 # Best one so far, save it but keep looking for a better one
16684 ac_cv_path_EGREP="$ac_path_EGREP"
16685 ac_path_EGREP_max=$ac_count
16686 fi
16687 # 10*(2^10) chars as input seems more than enough
16688 test $ac_count -gt 10 && break
16689 done
16690 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16691 esac
16692
16693
16694 $ac_path_EGREP_found && break 3
16695 done
16696 done
16697
16698 done
16699 IFS=$as_save_IFS
16700
16701
16702 fi
16703
16704 EGREP="$ac_cv_path_EGREP"
16705 if test -z "$EGREP"; then
16706 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16707 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16708 { (exit 1); exit 1; }; }
16709 fi
16710
16711 else
16712 ac_cv_path_EGREP=$EGREP
16713 fi
16714
16715
16716 fi
16717 fi
16718 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16719 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16720 EGREP="$ac_cv_path_EGREP"
16721
16722
16723 if test $ac_cv_c_compiler_gnu = yes; then
16724 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16725 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16726 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 else
16729 ac_pattern="Autoconf.*'x'"
16730 cat >conftest.$ac_ext <<_ACEOF
16731 /* confdefs.h. */
16732 _ACEOF
16733 cat confdefs.h >>conftest.$ac_ext
16734 cat >>conftest.$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 #include <sgtty.h>
16737 Autoconf TIOCGETP
16738 _ACEOF
16739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16740 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16741 ac_cv_prog_gcc_traditional=yes
16742 else
16743 ac_cv_prog_gcc_traditional=no
16744 fi
16745 rm -f conftest*
16746
16747
16748 if test $ac_cv_prog_gcc_traditional = no; then
16749 cat >conftest.$ac_ext <<_ACEOF
16750 /* confdefs.h. */
16751 _ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 #include <termio.h>
16756 Autoconf TCGETA
16757 _ACEOF
16758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16759 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16760 ac_cv_prog_gcc_traditional=yes
16761 fi
16762 rm -f conftest*
16763
16764 fi
16765 fi
16766 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16767 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16768 if test $ac_cv_prog_gcc_traditional = yes; then
16769 CC="$CC -traditional"
16770 fi
16771 fi
16772
16773
16774 CXXFLAGS=${CXXFLAGS:=}
16775
16776
16777
16778 ac_ext=cpp
16779 ac_cpp='$CXXCPP $CPPFLAGS'
16780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16783 if test -z "$CXX"; then
16784 if test -n "$CCC"; then
16785 CXX=$CCC
16786 else
16787 if test -n "$ac_tool_prefix"; then
16788 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16789 do
16790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16794 if test "${ac_cv_prog_CXX+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 if test -n "$CXX"; then
16798 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16799 else
16800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16801 for as_dir in $PATH
16802 do
16803 IFS=$as_save_IFS
16804 test -z "$as_dir" && as_dir=.
16805 for ac_exec_ext in '' $ac_executable_extensions; do
16806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16807 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16809 break 2
16810 fi
16811 done
16812 done
16813 IFS=$as_save_IFS
16814
16815 fi
16816 fi
16817 CXX=$ac_cv_prog_CXX
16818 if test -n "$CXX"; then
16819 { echo "$as_me:$LINENO: result: $CXX" >&5
16820 echo "${ECHO_T}$CXX" >&6; }
16821 else
16822 { echo "$as_me:$LINENO: result: no" >&5
16823 echo "${ECHO_T}no" >&6; }
16824 fi
16825
16826
16827 test -n "$CXX" && break
16828 done
16829 fi
16830 if test -z "$CXX"; then
16831 ac_ct_CXX=$CXX
16832 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16833 do
16834 # Extract the first word of "$ac_prog", so it can be a program name with args.
16835 set dummy $ac_prog; ac_word=$2
16836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16838 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 else
16841 if test -n "$ac_ct_CXX"; then
16842 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16843 else
16844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16845 for as_dir in $PATH
16846 do
16847 IFS=$as_save_IFS
16848 test -z "$as_dir" && as_dir=.
16849 for ac_exec_ext in '' $ac_executable_extensions; do
16850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16851 ac_cv_prog_ac_ct_CXX="$ac_prog"
16852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16853 break 2
16854 fi
16855 done
16856 done
16857 IFS=$as_save_IFS
16858
16859 fi
16860 fi
16861 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16862 if test -n "$ac_ct_CXX"; then
16863 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16864 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16865 else
16866 { echo "$as_me:$LINENO: result: no" >&5
16867 echo "${ECHO_T}no" >&6; }
16868 fi
16869
16870
16871 test -n "$ac_ct_CXX" && break
16872 done
16873
16874 if test "x$ac_ct_CXX" = x; then
16875 CXX="g++"
16876 else
16877 case $cross_compiling:$ac_tool_warned in
16878 yes:)
16879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16880 whose name does not start with the host triplet. If you think this
16881 configuration is useful to you, please write to autoconf@gnu.org." >&5
16882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16883 whose name does not start with the host triplet. If you think this
16884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16885 ac_tool_warned=yes ;;
16886 esac
16887 CXX=$ac_ct_CXX
16888 fi
16889 fi
16890
16891 fi
16892 fi
16893 # Provide some information about the compiler.
16894 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16895 ac_compiler=`set X $ac_compile; echo $2`
16896 { (ac_try="$ac_compiler --version >&5"
16897 case "(($ac_try" in
16898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16899 *) ac_try_echo=$ac_try;;
16900 esac
16901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16902 (eval "$ac_compiler --version >&5") 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }
16906 { (ac_try="$ac_compiler -v >&5"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_compiler -v >&5") 2>&5
16913 ac_status=$?
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }
16916 { (ac_try="$ac_compiler -V >&5"
16917 case "(($ac_try" in
16918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16919 *) ac_try_echo=$ac_try;;
16920 esac
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16922 (eval "$ac_compiler -V >&5") 2>&5
16923 ac_status=$?
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }
16926
16927 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16928 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16929 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 else
16932 cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h. */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938
16939 int
16940 main ()
16941 {
16942 #ifndef __GNUC__
16943 choke me
16944 #endif
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (ac_try="$ac_compile"
16952 case "(($ac_try" in
16953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16955 esac
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_compile") 2>conftest.er1
16958 ac_status=$?
16959 grep -v '^ *+' conftest.er1 >conftest.err
16960 rm -f conftest.er1
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } && {
16964 test -z "$ac_cxx_werror_flag" ||
16965 test ! -s conftest.err
16966 } && test -s conftest.$ac_objext; then
16967 ac_compiler_gnu=yes
16968 else
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16971
16972 ac_compiler_gnu=no
16973 fi
16974
16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16977
16978 fi
16979 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16980 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16981 GXX=`test $ac_compiler_gnu = yes && echo yes`
16982 ac_test_CXXFLAGS=${CXXFLAGS+set}
16983 ac_save_CXXFLAGS=$CXXFLAGS
16984 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16985 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16986 if test "${ac_cv_prog_cxx_g+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16989 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16990 ac_cxx_werror_flag=yes
16991 ac_cv_prog_cxx_g=no
16992 CXXFLAGS="-g"
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999
17000 int
17001 main ()
17002 {
17003
17004 ;
17005 return 0;
17006 }
17007 _ACEOF
17008 rm -f conftest.$ac_objext
17009 if { (ac_try="$ac_compile"
17010 case "(($ac_try" in
17011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17013 esac
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compile") 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } && {
17022 test -z "$ac_cxx_werror_flag" ||
17023 test ! -s conftest.err
17024 } && test -s conftest.$ac_objext; then
17025 ac_cv_prog_cxx_g=yes
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 CXXFLAGS=""
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037
17038 int
17039 main ()
17040 {
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (ac_try="$ac_compile"
17048 case "(($ac_try" in
17049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17050 *) ac_try_echo=$ac_try;;
17051 esac
17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17053 (eval "$ac_compile") 2>conftest.er1
17054 ac_status=$?
17055 grep -v '^ *+' conftest.er1 >conftest.err
17056 rm -f conftest.er1
17057 cat conftest.err >&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); } && {
17060 test -z "$ac_cxx_werror_flag" ||
17061 test ! -s conftest.err
17062 } && test -s conftest.$ac_objext; then
17063 :
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17069 CXXFLAGS="-g"
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 rm -f conftest.$ac_objext
17086 if { (ac_try="$ac_compile"
17087 case "(($ac_try" in
17088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17089 *) ac_try_echo=$ac_try;;
17090 esac
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_compile") 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } && {
17099 test -z "$ac_cxx_werror_flag" ||
17100 test ! -s conftest.err
17101 } && test -s conftest.$ac_objext; then
17102 ac_cv_prog_cxx_g=yes
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17106
17107
17108 fi
17109
17110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 fi
17112
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114 fi
17115
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17118 fi
17119 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17120 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17121 if test "$ac_test_CXXFLAGS" = set; then
17122 CXXFLAGS=$ac_save_CXXFLAGS
17123 elif test $ac_cv_prog_cxx_g = yes; then
17124 if test "$GXX" = yes; then
17125 CXXFLAGS="-g -O2"
17126 else
17127 CXXFLAGS="-g"
17128 fi
17129 else
17130 if test "$GXX" = yes; then
17131 CXXFLAGS="-O2"
17132 else
17133 CXXFLAGS=
17134 fi
17135 fi
17136 ac_ext=c
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141
17142
17143
17144
17145 ac_ext=cpp
17146 ac_cpp='$CXXCPP $CPPFLAGS'
17147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17150
17151 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17152 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17153 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156 cat >conftest.$ac_ext <<_ACEOF
17157 /* confdefs.h. */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162
17163 int
17164 main ()
17165 {
17166
17167 #ifndef __INTEL_COMPILER
17168 choke me
17169 #endif
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 rm -f conftest.$ac_objext
17176 if { (ac_try="$ac_compile"
17177 case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 *) ac_try_echo=$ac_try;;
17180 esac
17181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17182 (eval "$ac_compile") 2>conftest.er1
17183 ac_status=$?
17184 grep -v '^ *+' conftest.er1 >conftest.err
17185 rm -f conftest.er1
17186 cat conftest.err >&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } && {
17189 test -z "$ac_cxx_werror_flag" ||
17190 test ! -s conftest.err
17191 } && test -s conftest.$ac_objext; then
17192 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17193 else
17194 echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.$ac_ext >&5
17196
17197 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17198
17199 fi
17200
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17202
17203
17204 fi
17205 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17206 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17207 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17208 :; INTELCXX=yes
17209 else
17210 :;
17211 fi
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17217
17218
17219
17220
17221 if test "$INTELCXX" = "yes"; then
17222
17223
17224 ac_ext=cpp
17225 ac_cpp='$CXXCPP $CPPFLAGS'
17226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17229
17230 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17231 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17232 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 else
17235 cat >conftest.$ac_ext <<_ACEOF
17236 /* confdefs.h. */
17237 _ACEOF
17238 cat confdefs.h >>conftest.$ac_ext
17239 cat >>conftest.$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17241
17242 int
17243 main ()
17244 {
17245
17246 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17247 choke me
17248 #endif
17249
17250 ;
17251 return 0;
17252 }
17253 _ACEOF
17254 rm -f conftest.$ac_objext
17255 if { (ac_try="$ac_compile"
17256 case "(($ac_try" in
17257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17259 esac
17260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17261 (eval "$ac_compile") 2>conftest.er1
17262 ac_status=$?
17263 grep -v '^ *+' conftest.er1 >conftest.err
17264 rm -f conftest.er1
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } && {
17268 test -z "$ac_cxx_werror_flag" ||
17269 test ! -s conftest.err
17270 } && test -s conftest.$ac_objext; then
17271 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17272 else
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.$ac_ext >&5
17275
17276 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17277
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281
17282
17283 fi
17284 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17285 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17286 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17287 :; INTELCXX8=yes
17288 else
17289 :;
17290 fi
17291 ac_ext=c
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17296
17297
17298
17299
17300
17301 ac_ext=cpp
17302 ac_cpp='$CXXCPP $CPPFLAGS'
17303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17306
17307 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17308 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17309 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318
17319 int
17320 main ()
17321 {
17322
17323 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17324 choke me
17325 #endif
17326
17327 ;
17328 return 0;
17329 }
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17336 esac
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17339 ac_status=$?
17340 grep -v '^ *+' conftest.er1 >conftest.err
17341 rm -f conftest.er1
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_cxx_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17349 else
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17352
17353 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17354
17355 fi
17356
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358
17359
17360 fi
17361 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17362 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17363 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17364 :; INTELCXX10=yes
17365 else
17366 :;
17367 fi
17368 ac_ext=c
17369 ac_cpp='$CPP $CPPFLAGS'
17370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17373
17374
17375
17376 fi
17377
17378 if test "x$GCXX" != "xyes"; then
17379 if test "xCXX" = "xC"; then
17380 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17381 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17382 if test "${bakefile_cv_c_exto+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 else
17385 cat >conftest.$ac_ext <<_ACEOF
17386 /* confdefs.h. */
17387 _ACEOF
17388 cat confdefs.h >>conftest.$ac_ext
17389 cat >>conftest.$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391
17392 int
17393 main ()
17394 {
17395
17396 ;
17397 return 0;
17398 }
17399 _ACEOF
17400 rm -f conftest.$ac_objext conftest.$ac_ext.o
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>&5
17403 ac_status=$?
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; then
17406 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17407 case $ac_file in
17408 conftest.$ac_ext.o)
17409 bakefile_cv_c_exto="-ext o"
17410 ;;
17411 *)
17412 ;;
17413 esac
17414 done
17415 else
17416 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17417 See \`config.log' for more details." >&5
17418 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17419 See \`config.log' for more details." >&2;}
17420 { (exit 1); exit 1; }; }
17421
17422 fi
17423
17424 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17425
17426 fi
17427 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17428 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17429 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17430 if test "c" = "c"; then
17431 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17432 fi
17433 if test "c" = "cxx"; then
17434 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17435 fi
17436 fi
17437
17438 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17439 unset ac_cv_prog_cc_g
17440 ac_test_CFLAGS=${CFLAGS+set}
17441 ac_save_CFLAGS=$CFLAGS
17442 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17443 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17444 if test "${ac_cv_prog_cc_g+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 else
17447 ac_save_c_werror_flag=$ac_c_werror_flag
17448 ac_c_werror_flag=yes
17449 ac_cv_prog_cc_g=no
17450 CFLAGS="-g"
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457
17458 int
17459 main ()
17460 {
17461
17462 ;
17463 return 0;
17464 }
17465 _ACEOF
17466 rm -f conftest.$ac_objext
17467 if { (ac_try="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17471 esac
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17474 ac_status=$?
17475 grep -v '^ *+' conftest.er1 >conftest.err
17476 rm -f conftest.er1
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.$ac_objext; then
17483 ac_cv_prog_cc_g=yes
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17487
17488 CFLAGS=""
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495
17496 int
17497 main ()
17498 {
17499
17500 ;
17501 return 0;
17502 }
17503 _ACEOF
17504 rm -f conftest.$ac_objext
17505 if { (ac_try="$ac_compile"
17506 case "(($ac_try" in
17507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17508 *) ac_try_echo=$ac_try;;
17509 esac
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511 (eval "$ac_compile") 2>conftest.er1
17512 ac_status=$?
17513 grep -v '^ *+' conftest.er1 >conftest.err
17514 rm -f conftest.er1
17515 cat conftest.err >&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } && {
17518 test -z "$ac_c_werror_flag" ||
17519 test ! -s conftest.err
17520 } && test -s conftest.$ac_objext; then
17521 :
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17525
17526 ac_c_werror_flag=$ac_save_c_werror_flag
17527 CFLAGS="-g"
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534
17535 int
17536 main ()
17537 {
17538
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 rm -f conftest.$ac_objext
17544 if { (ac_try="$ac_compile"
17545 case "(($ac_try" in
17546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17548 esac
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_compile") 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } && {
17557 test -z "$ac_c_werror_flag" ||
17558 test ! -s conftest.err
17559 } && test -s conftest.$ac_objext; then
17560 ac_cv_prog_cc_g=yes
17561 else
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17564
17565
17566 fi
17567
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17569 fi
17570
17571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17572 fi
17573
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575 ac_c_werror_flag=$ac_save_c_werror_flag
17576 fi
17577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17578 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17579 if test "$ac_test_CFLAGS" = set; then
17580 CFLAGS=$ac_save_CFLAGS
17581 elif test $ac_cv_prog_cc_g = yes; then
17582 if test "$GCC" = yes; then
17583 CFLAGS="-g -O2"
17584 else
17585 CFLAGS="-g"
17586 fi
17587 else
17588 if test "$GCC" = yes; then
17589 CFLAGS="-O2"
17590 else
17591 CFLAGS=
17592 fi
17593 fi
17594 fi
17595 fi
17596
17597 case `uname -s` in
17598 AIX*)
17599
17600
17601 ac_ext=cpp
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606
17607 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17608 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17609 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 else
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618
17619 int
17620 main ()
17621 {
17622
17623 #ifndef __xlC__
17624 choke me
17625 #endif
17626
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 rm -f conftest.$ac_objext
17632 if { (ac_try="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17635 *) ac_try_echo=$ac_try;;
17636 esac
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.$ac_objext; then
17648 bakefile_cv_cxx_compiler___xlC__=yes
17649 else
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.$ac_ext >&5
17652
17653 bakefile_cv_cxx_compiler___xlC__=no
17654
17655 fi
17656
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658
17659
17660 fi
17661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17662 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17663 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17664 :; XLCXX=yes
17665 else
17666 :;
17667 fi
17668 ac_ext=c
17669 ac_cpp='$CPP $CPPFLAGS'
17670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673
17674
17675
17676 ;;
17677
17678 Darwin)
17679
17680
17681 ac_ext=cpp
17682 ac_cpp='$CXXCPP $CPPFLAGS'
17683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17686
17687 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17688 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17689 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17691 else
17692 cat >conftest.$ac_ext <<_ACEOF
17693 /* confdefs.h. */
17694 _ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17698
17699 int
17700 main ()
17701 {
17702
17703 #ifndef __MWERKS__
17704 choke me
17705 #endif
17706
17707 ;
17708 return 0;
17709 }
17710 _ACEOF
17711 rm -f conftest.$ac_objext
17712 if { (ac_try="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17716 esac
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17719 ac_status=$?
17720 grep -v '^ *+' conftest.er1 >conftest.err
17721 rm -f conftest.er1
17722 cat conftest.err >&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_cxx_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.$ac_objext; then
17728 bakefile_cv_cxx_compiler___MWERKS__=yes
17729 else
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.$ac_ext >&5
17732
17733 bakefile_cv_cxx_compiler___MWERKS__=no
17734
17735 fi
17736
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17738
17739
17740 fi
17741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17742 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17743 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17744 :; MWCXX=yes
17745 else
17746 :;
17747 fi
17748 ac_ext=c
17749 ac_cpp='$CPP $CPPFLAGS'
17750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17753
17754
17755
17756 if test "$MWCXX" != "yes"; then
17757
17758
17759 ac_ext=cpp
17760 ac_cpp='$CXXCPP $CPPFLAGS'
17761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17764
17765 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776
17777 int
17778 main ()
17779 {
17780
17781 #ifndef __xlC__
17782 choke me
17783 #endif
17784
17785 ;
17786 return 0;
17787 }
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___xlC__=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 bakefile_cv_cxx_compiler___xlC__=no
17812
17813 fi
17814
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816
17817
17818 fi
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17822 :; XLCXX=yes
17823 else
17824 :;
17825 fi
17826 ac_ext=c
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831
17832
17833
17834 fi
17835 ;;
17836
17837 IRIX*)
17838
17839
17840 ac_ext=cpp
17841 ac_cpp='$CXXCPP $CPPFLAGS'
17842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845
17846 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17847 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17848 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857
17858 int
17859 main ()
17860 {
17861
17862 #ifndef _SGI_COMPILER_VERSION
17863 choke me
17864 #endif
17865
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (ac_try="$ac_compile"
17872 case "(($ac_try" in
17873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17875 esac
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_compile") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_cxx_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest.$ac_objext; then
17887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17888 else
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17891
17892 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17893
17894 fi
17895
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897
17898
17899 fi
17900 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17901 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17902 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17903 :; SGICXX=yes
17904 else
17905 :;
17906 fi
17907 ac_ext=c
17908 ac_cpp='$CPP $CPPFLAGS'
17909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912
17913
17914
17915 ;;
17916
17917 Linux*)
17918 if test "$INTELCXX" != "yes"; then
17919
17920
17921 ac_ext=cpp
17922 ac_cpp='$CXXCPP $CPPFLAGS'
17923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17926
17927 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17928 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17929 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938
17939 int
17940 main ()
17941 {
17942
17943 #ifndef __SUNPRO_CC
17944 choke me
17945 #endif
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17956 esac
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_cxx_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17968 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17972
17973 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17974
17975 fi
17976
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978
17979
17980 fi
17981 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17982 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17983 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17984 :; SUNCXX=yes
17985 else
17986 :;
17987 fi
17988 ac_ext=c
17989 ac_cpp='$CPP $CPPFLAGS'
17990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17993
17994
17995
17996 fi
17997 ;;
17998
17999 HP-UX*)
18000
18001
18002 ac_ext=cpp
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18007
18008 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18009 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18010 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 else
18013 cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h. */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18019
18020 int
18021 main ()
18022 {
18023
18024 #ifndef __HP_aCC
18025 choke me
18026 #endif
18027
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_cxx_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.$ac_objext; then
18049 bakefile_cv_cxx_compiler___HP_aCC=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 bakefile_cv_cxx_compiler___HP_aCC=no
18055
18056 fi
18057
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059
18060
18061 fi
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18064 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18065 :; HPCXX=yes
18066 else
18067 :;
18068 fi
18069 ac_ext=c
18070 ac_cpp='$CPP $CPPFLAGS'
18071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18074
18075
18076
18077 ;;
18078
18079 OSF1)
18080
18081
18082 ac_ext=cpp
18083 ac_cpp='$CXXCPP $CPPFLAGS'
18084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18087
18088 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18089 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18090 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 else
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099
18100 int
18101 main ()
18102 {
18103
18104 #ifndef __DECCXX
18105 choke me
18106 #endif
18107
18108 ;
18109 return 0;
18110 }
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_cxx_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 bakefile_cv_cxx_compiler___DECCXX=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 bakefile_cv_cxx_compiler___DECCXX=no
18135
18136 fi
18137
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139
18140
18141 fi
18142 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18143 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18144 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18145 :; COMPAQCXX=yes
18146 else
18147 :;
18148 fi
18149 ac_ext=c
18150 ac_cpp='$CPP $CPPFLAGS'
18151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18154
18155
18156
18157 ;;
18158
18159 SunOS)
18160
18161
18162 ac_ext=cpp
18163 ac_cpp='$CXXCPP $CPPFLAGS'
18164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18167
18168 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18169 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18170 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 else
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179
18180 int
18181 main ()
18182 {
18183
18184 #ifndef __SUNPRO_CC
18185 choke me
18186 #endif
18187
18188 ;
18189 return 0;
18190 }
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_cxx_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18215
18216 fi
18217
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219
18220
18221 fi
18222 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18223 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18224 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18225 :; SUNCXX=yes
18226 else
18227 :;
18228 fi
18229 ac_ext=c
18230 ac_cpp='$CPP $CPPFLAGS'
18231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18234
18235
18236
18237 ;;
18238 esac
18239 fi
18240
18241
18242
18243 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18244 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18245 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18246 { (exit 1); exit 1; }; }
18247 fi
18248
18249 if test "x$SUNCXX" != xyes; then
18250 if test -n "$ac_tool_prefix"; then
18251 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18252 set dummy ${ac_tool_prefix}ar; ac_word=$2
18253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18255 if test "${ac_cv_prog_AR+set}" = set; then
18256 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 else
18258 if test -n "$AR"; then
18259 ac_cv_prog_AR="$AR" # Let the user override the test.
18260 else
18261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18262 for as_dir in $PATH
18263 do
18264 IFS=$as_save_IFS
18265 test -z "$as_dir" && as_dir=.
18266 for ac_exec_ext in '' $ac_executable_extensions; do
18267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18268 ac_cv_prog_AR="${ac_tool_prefix}ar"
18269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18270 break 2
18271 fi
18272 done
18273 done
18274 IFS=$as_save_IFS
18275
18276 fi
18277 fi
18278 AR=$ac_cv_prog_AR
18279 if test -n "$AR"; then
18280 { echo "$as_me:$LINENO: result: $AR" >&5
18281 echo "${ECHO_T}$AR" >&6; }
18282 else
18283 { echo "$as_me:$LINENO: result: no" >&5
18284 echo "${ECHO_T}no" >&6; }
18285 fi
18286
18287
18288 fi
18289 if test -z "$ac_cv_prog_AR"; then
18290 ac_ct_AR=$AR
18291 # Extract the first word of "ar", so it can be a program name with args.
18292 set dummy ar; ac_word=$2
18293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18295 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 if test -n "$ac_ct_AR"; then
18299 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18300 else
18301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18302 for as_dir in $PATH
18303 do
18304 IFS=$as_save_IFS
18305 test -z "$as_dir" && as_dir=.
18306 for ac_exec_ext in '' $ac_executable_extensions; do
18307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18308 ac_cv_prog_ac_ct_AR="ar"
18309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18310 break 2
18311 fi
18312 done
18313 done
18314 IFS=$as_save_IFS
18315
18316 fi
18317 fi
18318 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18319 if test -n "$ac_ct_AR"; then
18320 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18321 echo "${ECHO_T}$ac_ct_AR" >&6; }
18322 else
18323 { echo "$as_me:$LINENO: result: no" >&5
18324 echo "${ECHO_T}no" >&6; }
18325 fi
18326
18327 if test "x$ac_ct_AR" = x; then
18328 AR=""
18329 else
18330 case $cross_compiling:$ac_tool_warned in
18331 yes:)
18332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18333 whose name does not start with the host triplet. If you think this
18334 configuration is useful to you, please write to autoconf@gnu.org." >&5
18335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18336 whose name does not start with the host triplet. If you think this
18337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18338 ac_tool_warned=yes ;;
18339 esac
18340 AR=$ac_ct_AR
18341 fi
18342 else
18343 AR="$ac_cv_prog_AR"
18344 fi
18345
18346 if test "x$AR" = "x" ; then
18347 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18348 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18349 { (exit 1); exit 1; }; }
18350 fi
18351 fi
18352
18353
18354 if test "$wxUSE_MAC" = 1; then
18355
18356 retest_macosx_linking=no
18357
18358 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18359 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18360 # Implicitly turn on the new --with-macosx-sdk using the default
18361 # SDK which provides the behavior this option has always had.
18362 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18363 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18364 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18365 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18366 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18367 wxUSE_MACOSX_SDK=yes
18368 fi
18369 else
18370 # Complain to user if he specified an argument to --enable-universal_binary
18371 # and also 1) specified --with-macosx-sdk using the default (yes) or
18372 # 2) specified --with-macosx-sdk using a path or 3) specified
18373 # --without-macosx-sdk (no).
18374 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18375 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18376 See \`config.log' for more details." >&5
18377 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18378 See \`config.log' for more details." >&2;}
18379 { (exit 1); exit 1; }; }
18380 else
18381 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18382 # special-case the empty string because the below test simply
18383 # converts "no" to the empty string anyway.
18384 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18385 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18386 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18387 fi
18388 fi
18389 OSX_UNIV_OPTS="-arch ppc -arch i386"
18390 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18391 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18392 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18393 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18394 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18395 retest_macosx_linking=yes
18396
18397 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18398 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18399 bk_use_pch=no
18400 fi
18401
18402 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18403 wxUSE_MACOSX_SDK=
18404 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18405 # TODO: Search for most recent SDK and use it.
18406 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18407 fi
18408
18409
18410 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18411 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18412 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18413 if ! test -d "$wxUSE_MACOSX_SDK"; then
18414 { { echo "$as_me:$LINENO: error: not found
18415 See \`config.log' for more details." >&5
18416 echo "$as_me: error: not found
18417 See \`config.log' for more details." >&2;}
18418 { (exit 1); exit 1; }; }
18419 else
18420 { echo "$as_me:$LINENO: result: exists" >&5
18421 echo "${ECHO_T}exists" >&6; }
18422 fi
18423 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18424 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18425 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18426 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18427 retest_macosx_linking=yes
18428 fi
18429
18430 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18431 wxUSE_MACOSX_VERSION_MIN=
18432 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18433 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18434 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18435 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18436
18437 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/'`
18438
18439 # If that failed, try again with the new key
18440 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18441
18442 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/'`
18443
18444 fi
18445
18446 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18447 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18448 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18449 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18450 else
18451 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18452 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18453 wxUSE_MACOSX_VERSION_MIN=
18454 fi
18455 else
18456 wxUSE_MACOSX_VERSION_MIN=
18457 fi
18458 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18459 for ac_prog in sw_vers
18460 do
18461 # Extract the first word of "$ac_prog", so it can be a program name with args.
18462 set dummy $ac_prog; ac_word=$2
18463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18465 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468 if test -n "$OSX_SW_VERS"; then
18469 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18470 else
18471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18472 for as_dir in $PATH
18473 do
18474 IFS=$as_save_IFS
18475 test -z "$as_dir" && as_dir=.
18476 for ac_exec_ext in '' $ac_executable_extensions; do
18477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18478 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18480 break 2
18481 fi
18482 done
18483 done
18484 IFS=$as_save_IFS
18485
18486 fi
18487 fi
18488 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18489 if test -n "$OSX_SW_VERS"; then
18490 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18491 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18492 else
18493 { echo "$as_me:$LINENO: result: no" >&5
18494 echo "${ECHO_T}no" >&6; }
18495 fi
18496
18497
18498 test -n "$OSX_SW_VERS" && break
18499 done
18500
18501 if test "$OSX_SW_VERS" != ""; then
18502 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18503 else
18504 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18505 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18506 OSX_VERSION="10.4"
18507 fi
18508
18509 case "$OSX_VERSION" in
18510 10.4* )
18511 wxUSE_MACOSX_VERSION_MIN=10.4
18512 ;;
18513
18514 * )
18515 if test "$wxUSE_OSX_CARBON" = 1; then
18516 # otherwise configure stops on leopard for universal_binary
18517 wxUSE_MACOSX_VERSION_MIN=10.4
18518 else
18519 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18520 wxUSE_MACOSX_VERSION_MIN=10.5
18521 fi
18522 ;;
18523 esac
18524 fi
18525
18526 NEEDS_GCC40="no"
18527 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18528 NEEDS_GCC40="yes"
18529 fi
18530
18531 if test "$wxUSE_OSX_CARBON" = 1; then
18532 NEEDS_GCC40="yes"
18533 fi
18534
18535 if test "x$NEEDS_GCC40" == "xyes"; then
18536 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18537 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18538 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18539 if test "x$CC" = "xgcc"; then
18540 CCVERSION=`$CC --version | grep 4.[2-9].`
18541 if test "x$CCVERSION" != "x"; then
18542 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18543 CC="/usr/bin/gcc-4.0"
18544 fi
18545 fi
18546
18547 if test "x$CXX" = "xg++"; then
18548 CCVERSION=`$CXX --version | grep 4.[2-9].`
18549 if test "x$CCVERSION" != "x"; then
18550 CXX="/usr/bin/g++-4.0"
18551 fi
18552 fi
18553 fi
18554
18555 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18556 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18557 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18558 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18559 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18560 retest_macosx_linking=yes
18561 fi
18562
18563 if test "x$retest_macosx_linking" = "xyes"; then
18564 ac_ext=c
18565 ac_cpp='$CPP $CPPFLAGS'
18566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569
18570 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18571 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578
18579 int
18580 main ()
18581 {
18582
18583 ;
18584 return 0;
18585 }
18586 _ACEOF
18587 rm -f conftest.$ac_objext conftest$ac_exeext
18588 if { (ac_try="$ac_link"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18592 esac
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_link") 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest$ac_exeext &&
18604 $as_test_x conftest$ac_exeext; then
18605 { echo "$as_me:$LINENO: result: yes" >&5
18606 echo "${ECHO_T}yes" >&6; }
18607 else
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18610
18611 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18612 See \`config.log' for more details." >&5
18613 echo "$as_me: error: no. Try a different SDK
18614 See \`config.log' for more details." >&2;}
18615 { (exit 1); exit 1; }; }; exit 1
18616 fi
18617
18618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18619 conftest$ac_exeext conftest.$ac_ext
18620 ac_ext=c
18621 ac_cpp='$CPP $CPPFLAGS'
18622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18634 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641
18642 int
18643 main ()
18644 {
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 rm -f conftest.$ac_objext conftest$ac_exeext
18651 if { (ac_try="$ac_link"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_link") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_cxx_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest$ac_exeext &&
18667 $as_test_x conftest$ac_exeext; then
18668 { echo "$as_me:$LINENO: result: yes" >&5
18669 echo "${ECHO_T}yes" >&6; }
18670 else
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.$ac_ext >&5
18673
18674 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18675 See \`config.log' for more details." >&5
18676 echo "$as_me: error: no. Try a different SDK
18677 See \`config.log' for more details." >&2;}
18678 { (exit 1); exit 1; }; }; exit 1
18679 fi
18680
18681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18682 conftest$ac_exeext conftest.$ac_ext
18683 ac_ext=c
18684 ac_cpp='$CPP $CPPFLAGS'
18685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18688
18689 fi
18690
18691 fi
18692 case "${host}" in
18693
18694 *-*-darwin* )
18695 INSTALL_PROGRAM="cp -fp"
18696 INSTALL_DATA="cp -fp"
18697 ;;
18698 *)
18699 ;;
18700 esac
18701
18702
18703 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18704 CXXFLAGS="-qunique $CXXFLAGS"
18705 fi
18706
18707 case "${host}" in
18708 powerpc-*-darwin* )
18709 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18710 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717
18718 int
18719 main ()
18720 {
18721 #ifndef __POWERPC__
18722 choke me for lack of PowerPC
18723 #endif
18724
18725 ;
18726 return 0;
18727 }
18728 _ACEOF
18729 rm -f conftest.$ac_objext
18730 if { (ac_try="$ac_compile"
18731 case "(($ac_try" in
18732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18734 esac
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_compile") 2>conftest.er1
18737 ac_status=$?
18738 grep -v '^ *+' conftest.er1 >conftest.err
18739 rm -f conftest.er1
18740 cat conftest.err >&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } && {
18743 test -z "$ac_c_werror_flag" ||
18744 test ! -s conftest.err
18745 } && test -s conftest.$ac_objext; then
18746 { echo "$as_me:$LINENO: result: yes" >&5
18747 echo "${ECHO_T}yes" >&6; }
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18751
18752 { echo "$as_me:$LINENO: result: no" >&5
18753 echo "${ECHO_T}no" >&6; }
18754 cat >>confdefs.h <<\_ACEOF
18755 #define __POWERPC__ 1
18756 _ACEOF
18757
18758
18759 fi
18760
18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 ;;
18763 esac
18764
18765 case "${host}" in
18766 *-*-darwin* )
18767 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18768 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 #include <CoreFoundation/CFBase.h>
18776
18777 int
18778 main ()
18779 {
18780
18781 ;
18782 return 0;
18783 }
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (ac_try="$ac_compile"
18787 case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18790 esac
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_compile") 2>conftest.er1
18793 ac_status=$?
18794 grep -v '^ *+' conftest.er1 >conftest.err
18795 rm -f conftest.er1
18796 cat conftest.err >&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } && {
18799 test -z "$ac_c_werror_flag" ||
18800 test ! -s conftest.err
18801 } && test -s conftest.$ac_objext; then
18802 { echo "$as_me:$LINENO: result: yes" >&5
18803 echo "${ECHO_T}yes" >&6; }
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18807
18808 { echo "$as_me:$LINENO: result: no" >&5
18809 echo "${ECHO_T}no" >&6; }
18810 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18811 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18812 cat >conftest.$ac_ext <<_ACEOF
18813 /* confdefs.h. */
18814 _ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 #define __CF_USE_FRAMEWORK_INCLUDES__
18819 #include <CoreFoundation/CFBase.h>
18820
18821 int
18822 main ()
18823 {
18824
18825 ;
18826 return 0;
18827 }
18828 _ACEOF
18829 rm -f conftest.$ac_objext
18830 if { (ac_try="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18834 esac
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.$ac_objext; then
18846 { echo "$as_me:$LINENO: result: yes" >&5
18847 echo "${ECHO_T}yes" >&6; }
18848 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18849 else
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18852
18853 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18854 See \`config.log' for more details." >&5
18855 echo "$as_me: error: no. CoreFoundation not available.
18856 See \`config.log' for more details." >&2;}
18857 { (exit 1); exit 1; }; }
18858
18859 fi
18860
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862
18863
18864 fi
18865
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18867 ;;
18868 esac
18869
18870 wants_win32=0
18871 doesnt_want_win32=0
18872 case "${host}" in
18873 *-*-cygwin*)
18874 if test "$wxUSE_MSW" = 1 ; then
18875 wants_win32=1
18876 else
18877 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18878 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18879 if test "${wx_cv_nocygwin+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 else
18882
18883 cat >conftest.$ac_ext <<_ACEOF
18884 /* confdefs.h. */
18885 _ACEOF
18886 cat confdefs.h >>conftest.$ac_ext
18887 cat >>conftest.$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18889
18890 int
18891 main ()
18892 {
18893
18894 #ifdef __MINGW32__
18895 choke me
18896 #endif
18897
18898 ;
18899 return 0;
18900 }
18901 _ACEOF
18902 rm -f conftest.$ac_objext
18903 if { (ac_try="$ac_compile"
18904 case "(($ac_try" in
18905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18906 *) ac_try_echo=$ac_try;;
18907 esac
18908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18909 (eval "$ac_compile") 2>conftest.er1
18910 ac_status=$?
18911 grep -v '^ *+' conftest.er1 >conftest.err
18912 rm -f conftest.er1
18913 cat conftest.err >&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } && {
18916 test -z "$ac_c_werror_flag" ||
18917 test ! -s conftest.err
18918 } && test -s conftest.$ac_objext; then
18919 wx_cv_nocygwin=no
18920 else
18921 echo "$as_me: failed program was:" >&5
18922 sed 's/^/| /' conftest.$ac_ext >&5
18923
18924 wx_cv_nocygwin=yes
18925
18926 fi
18927
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929
18930
18931 fi
18932 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18933 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18934
18935 if test "$wx_cv_nocygwin" = "yes"; then
18936 wants_win32=1
18937 else
18938 doesnt_want_win32=1
18939 fi
18940 fi
18941 if test "$wants_win32" = 1 ; then
18942 BAKEFILE_FORCE_PLATFORM=win32
18943 fi
18944 ;;
18945 *-*-mingw*)
18946 wants_win32=1
18947 ;;
18948 esac
18949
18950 if test "$wxUSE_WINE" = "yes"; then
18951 wants_win32=1
18952 LDFLAGS_GUI="-mwindows"
18953 fi
18954
18955 if test "$wants_win32" = 1 ; then
18956 USE_UNIX=0
18957 USE_WIN32=1
18958 cat >>confdefs.h <<\_ACEOF
18959 #define __WIN32__ 1
18960 _ACEOF
18961
18962 cat >>confdefs.h <<\_ACEOF
18963 #define __WIN95__ 1
18964 _ACEOF
18965
18966 cat >>confdefs.h <<\_ACEOF
18967 #define __WINDOWS__ 1
18968 _ACEOF
18969
18970 cat >>confdefs.h <<\_ACEOF
18971 #define __GNUWIN32__ 1
18972 _ACEOF
18973
18974 cat >>confdefs.h <<\_ACEOF
18975 #define STRICT 1
18976 _ACEOF
18977
18978 fi
18979 if test "$doesnt_want_win32" = 1 ; then
18980 USE_UNIX=1
18981 USE_WIN32=0
18982 fi
18983
18984 if test "$USE_UNIX" = 1 ; then
18985 wxUSE_UNIX=yes
18986 cat >>confdefs.h <<\_ACEOF
18987 #define __UNIX__ 1
18988 _ACEOF
18989
18990 fi
18991
18992 case "${host}" in
18993 *-pc-os2_emx | *-pc-os2-emx )
18994 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18995 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18996 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18997 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
18999 else
19000 ac_check_lib_save_LIBS=$LIBS
19001 LIBS="-lcExt $LIBS"
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008
19009 /* Override any GCC internal prototype to avoid an error.
19010 Use char because int might match the return type of a GCC
19011 builtin and then its argument prototype would still apply. */
19012 #ifdef __cplusplus
19013 extern "C"
19014 #endif
19015 char drand48 ();
19016 int
19017 main ()
19018 {
19019 return drand48 ();
19020 ;
19021 return 0;
19022 }
19023 _ACEOF
19024 rm -f conftest.$ac_objext conftest$ac_exeext
19025 if { (ac_try="$ac_link"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19029 esac
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_link") 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest$ac_exeext &&
19041 $as_test_x conftest$ac_exeext; then
19042 ac_cv_lib_cExt_drand48=yes
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19046
19047 ac_cv_lib_cExt_drand48=no
19048 fi
19049
19050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19051 conftest$ac_exeext conftest.$ac_ext
19052 LIBS=$ac_check_lib_save_LIBS
19053 fi
19054 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19055 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19056 if test $ac_cv_lib_cExt_drand48 = yes; then
19057 LIBS="$LIBS -lcExt"
19058 fi
19059
19060 else
19061 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19062 fi
19063 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19064 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19065 if test "${wx_cv_gccversion+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068
19069 if test "$cross_compiling" = yes; then
19070 wx_cv_gccversion="EMX2"
19071
19072 else
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079
19080 #include <stdio.h>
19081
19082 int main()
19083 {
19084 FILE *f=fopen("conftestval", "w");
19085 if (!f) exit(1);
19086 fprintf(f,
19087 #if (__GNUC__ < 3)
19088 "EMX2"
19089 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19090 "EMX3"
19091 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19092 "Innotek5"
19093 #else
19094 "Innotek6"
19095 #endif
19096 );
19097 exit(0);
19098 }
19099
19100 _ACEOF
19101 rm -f conftest$ac_exeext
19102 if { (ac_try="$ac_link"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19106 esac
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_link") 2>&5
19109 ac_status=$?
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19112 { (case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19115 esac
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_try") 2>&5
19118 ac_status=$?
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 wx_cv_gccversion=`cat conftestval`
19122 else
19123 echo "$as_me: program exited with status $ac_status" >&5
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19126
19127 ( exit $ac_status )
19128 wx_cv_gccversion="EMX2"
19129 fi
19130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19131 fi
19132
19133
19134
19135 fi
19136 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19137 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19138 if test "$wx_cv_gccversion" = "EMX2"; then
19139 LIBS="$LIBS -lstdcpp"
19140 LDFLAGS="$LDFLAGS -Zsysv-signals"
19141 else
19142 if test "$wx_cv_gccversion" = "EMX3"; then
19143 LIBS="$LIBS -lstdcxx -lgcc"
19144 LDFLAGS="$LDFLAGS -Zsysv-signals"
19145 else
19146 LIBS="$LIBS -lstdc++"
19147 fi
19148 fi
19149 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19150 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19151 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19152 wxUSE_OMF=yes
19153 enable_omf=yes
19154 fi
19155 ;;
19156 *)
19157
19158 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19159 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19160 if test "${ac_cv_string_strcasecmp+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 else
19163
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170
19171 #include <string.h>
19172
19173 int
19174 main ()
19175 {
19176
19177 strcasecmp("foo", "bar");
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (ac_try="$ac_link"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_link") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest$ac_exeext &&
19200 $as_test_x conftest$ac_exeext; then
19201 ac_cv_string_strcasecmp=yes
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19205
19206 ac_cv_string_strcasecmp=no
19207
19208 fi
19209
19210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19211 conftest$ac_exeext conftest.$ac_ext
19212
19213 fi
19214 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19215 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19216
19217 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19218 cat >>confdefs.h <<\_ACEOF
19219 #define HAVE_STRCASECMP_IN_STRING_H 1
19220 _ACEOF
19221
19222 else
19223 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19224 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19225 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 else
19228
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235
19236 #include <strings.h>
19237
19238 int
19239 main ()
19240 {
19241
19242 strcasecmp("foo", "bar");
19243
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext conftest$ac_exeext
19249 if { (ac_try="$ac_link"
19250 case "(($ac_try" in
19251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19253 esac
19254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_link") 2>conftest.er1
19256 ac_status=$?
19257 grep -v '^ *+' conftest.er1 >conftest.err
19258 rm -f conftest.er1
19259 cat conftest.err >&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); } && {
19262 test -z "$ac_c_werror_flag" ||
19263 test ! -s conftest.err
19264 } && test -s conftest$ac_exeext &&
19265 $as_test_x conftest$ac_exeext; then
19266 ac_cv_strings_strcasecmp=yes
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 ac_cv_strings_strcasecmp=no
19272
19273 fi
19274
19275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19276 conftest$ac_exeext conftest.$ac_ext
19277
19278 fi
19279 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19280 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19281
19282 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19283 cat >>confdefs.h <<\_ACEOF
19284 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19285 _ACEOF
19286
19287 else
19288 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19289 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19290 { (exit 1); exit 1; }; }
19291 fi
19292 fi
19293
19294 ;;
19295 esac
19296
19297
19298 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19299 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19300 if test "${ac_cv_header_stdc+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 else
19303 cat >conftest.$ac_ext <<_ACEOF
19304 /* confdefs.h. */
19305 _ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 #include <stdlib.h>
19310 #include <stdarg.h>
19311 #include <string.h>
19312 #include <float.h>
19313
19314 int
19315 main ()
19316 {
19317
19318 ;
19319 return 0;
19320 }
19321 _ACEOF
19322 rm -f conftest.$ac_objext
19323 if { (ac_try="$ac_compile"
19324 case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19327 esac
19328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_compile") 2>conftest.er1
19330 ac_status=$?
19331 grep -v '^ *+' conftest.er1 >conftest.err
19332 rm -f conftest.er1
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } && {
19336 test -z "$ac_c_werror_flag" ||
19337 test ! -s conftest.err
19338 } && test -s conftest.$ac_objext; then
19339 ac_cv_header_stdc=yes
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19343
19344 ac_cv_header_stdc=no
19345 fi
19346
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348
19349 if test $ac_cv_header_stdc = yes; then
19350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <string.h>
19358
19359 _ACEOF
19360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19361 $EGREP "memchr" >/dev/null 2>&1; then
19362 :
19363 else
19364 ac_cv_header_stdc=no
19365 fi
19366 rm -f conftest*
19367
19368 fi
19369
19370 if test $ac_cv_header_stdc = yes; then
19371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <stdlib.h>
19379
19380 _ACEOF
19381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19382 $EGREP "free" >/dev/null 2>&1; then
19383 :
19384 else
19385 ac_cv_header_stdc=no
19386 fi
19387 rm -f conftest*
19388
19389 fi
19390
19391 if test $ac_cv_header_stdc = yes; then
19392 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19393 if test "$cross_compiling" = yes; then
19394 :
19395 else
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <ctype.h>
19403 #include <stdlib.h>
19404 #if ((' ' & 0x0FF) == 0x020)
19405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19407 #else
19408 # define ISLOWER(c) \
19409 (('a' <= (c) && (c) <= 'i') \
19410 || ('j' <= (c) && (c) <= 'r') \
19411 || ('s' <= (c) && (c) <= 'z'))
19412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19413 #endif
19414
19415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19416 int
19417 main ()
19418 {
19419 int i;
19420 for (i = 0; i < 256; i++)
19421 if (XOR (islower (i), ISLOWER (i))
19422 || toupper (i) != TOUPPER (i))
19423 return 2;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest$ac_exeext
19428 if { (ac_try="$ac_link"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19432 esac
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_link") 2>&5
19435 ac_status=$?
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19438 { (case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19441 esac
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_try") 2>&5
19444 ac_status=$?
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 :
19448 else
19449 echo "$as_me: program exited with status $ac_status" >&5
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 ( exit $ac_status )
19454 ac_cv_header_stdc=no
19455 fi
19456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19457 fi
19458
19459
19460 fi
19461 fi
19462 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19463 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19464 if test $ac_cv_header_stdc = yes; then
19465
19466 cat >>confdefs.h <<\_ACEOF
19467 #define STDC_HEADERS 1
19468 _ACEOF
19469
19470 fi
19471
19472 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19483 inttypes.h stdint.h unistd.h
19484 do
19485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 else
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19498
19499 #include <$ac_header>
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19518 eval "$as_ac_Header=yes"
19519 else
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.$ac_ext >&5
19522
19523 eval "$as_ac_Header=no"
19524 fi
19525
19526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 fi
19528 ac_res=`eval echo '${'$as_ac_Header'}'`
19529 { echo "$as_me:$LINENO: result: $ac_res" >&5
19530 echo "${ECHO_T}$ac_res" >&6; }
19531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19532 cat >>confdefs.h <<_ACEOF
19533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19534 _ACEOF
19535
19536 fi
19537
19538 done
19539
19540
19541
19542
19543 for ac_header in langinfo.h wchar.h
19544 do
19545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19546 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19549 echo $ECHO_N "(cached) $ECHO_C" >&6
19550 else
19551 cat >conftest.$ac_ext <<_ACEOF
19552 /* confdefs.h. */
19553 _ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 $ac_includes_default
19558
19559 #include <$ac_header>
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 eval "$as_ac_Header=yes"
19579 else
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19582
19583 eval "$as_ac_Header=no"
19584 fi
19585
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 fi
19588 ac_res=`eval echo '${'$as_ac_Header'}'`
19589 { echo "$as_me:$LINENO: result: $ac_res" >&5
19590 echo "${ECHO_T}$ac_res" >&6; }
19591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19592 cat >>confdefs.h <<_ACEOF
19593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19594 _ACEOF
19595
19596 fi
19597
19598 done
19599
19600
19601 if test "$ac_cv_header_wchar_h" != "yes"; then
19602
19603 for ac_header in wcstr.h
19604 do
19605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19610 else
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19618
19619 #include <$ac_header>
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 eval "$as_ac_Header=yes"
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 eval "$as_ac_Header=no"
19644 fi
19645
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 fi
19648 ac_res=`eval echo '${'$as_ac_Header'}'`
19649 { echo "$as_me:$LINENO: result: $ac_res" >&5
19650 echo "${ECHO_T}$ac_res" >&6; }
19651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19652 cat >>confdefs.h <<_ACEOF
19653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19654 _ACEOF
19655
19656 fi
19657
19658 done
19659
19660 fi
19661
19662 case "${host}" in
19663 *-pc-os2_emx | *-pc-os2-emx )
19664 if test $ac_cv_header_langinfo_h = "yes" \
19665 -a \( "$wx_cv_gccversion" = "EMX2" \
19666 -o "$wx_cv_gccversion" = "EMX3" \
19667 -o "$wx_cv_gccversion" = "Innotek5" \); then
19668 LIBS="$LIBS -lintl"
19669 fi
19670 ;;
19671 esac
19672
19673 if test "$USE_UNIX" = 1 ; then
19674
19675 for ac_header in sys/select.h
19676 do
19677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 else
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690
19691 #include <$ac_header>
19692 _ACEOF
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698 esac
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19710 eval "$as_ac_Header=yes"
19711 else
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19714
19715 eval "$as_ac_Header=no"
19716 fi
19717
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 fi
19720 ac_res=`eval echo '${'$as_ac_Header'}'`
19721 { echo "$as_me:$LINENO: result: $ac_res" >&5
19722 echo "${ECHO_T}$ac_res" >&6; }
19723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19724 cat >>confdefs.h <<_ACEOF
19725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19726 _ACEOF
19727
19728 fi
19729
19730 done
19731
19732 fi
19733
19734
19735 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19736 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19737 if test "${ac_cv_c_const+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746
19747 int
19748 main ()
19749 {
19750 /* FIXME: Include the comments suggested by Paul. */
19751 #ifndef __cplusplus
19752 /* Ultrix mips cc rejects this. */
19753 typedef int charset[2];
19754 const charset cs;
19755 /* SunOS 4.1.1 cc rejects this. */
19756 char const *const *pcpcc;
19757 char **ppc;
19758 /* NEC SVR4.0.2 mips cc rejects this. */
19759 struct point {int x, y;};
19760 static struct point const zero = {0,0};
19761 /* AIX XL C 1.02.0.0 rejects this.
19762 It does not let you subtract one const X* pointer from another in
19763 an arm of an if-expression whose if-part is not a constant
19764 expression */
19765 const char *g = "string";
19766 pcpcc = &g + (g ? g-g : 0);
19767 /* HPUX 7.0 cc rejects these. */
19768 ++pcpcc;
19769 ppc = (char**) pcpcc;
19770 pcpcc = (char const *const *) ppc;
19771 { /* SCO 3.2v4 cc rejects this. */
19772 char *t;
19773 char const *s = 0 ? (char *) 0 : (char const *) 0;
19774
19775 *t++ = 0;
19776 if (s) return 0;
19777 }
19778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19779 int x[] = {25, 17};
19780 const int *foo = &x[0];
19781 ++foo;
19782 }
19783 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19784 typedef const int *iptr;
19785 iptr p = 0;
19786 ++p;
19787 }
19788 { /* AIX XL C 1.02.0.0 rejects this saying
19789 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19790 struct s { int j; const int *ap[3]; };
19791 struct s *b; b->j = 5;
19792 }
19793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19794 const int foo = 10;
19795 if (!foo) return 0;
19796 }
19797 return !cs[0] && !zero.x;
19798 #endif
19799
19800 ;
19801 return 0;
19802 }
19803 _ACEOF
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19809 esac
19810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19821 ac_cv_c_const=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19825
19826 ac_cv_c_const=no
19827 fi
19828
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 fi
19831 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19832 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19833 if test $ac_cv_c_const = no; then
19834
19835 cat >>confdefs.h <<\_ACEOF
19836 #define const
19837 _ACEOF
19838
19839 fi
19840
19841 { echo "$as_me:$LINENO: checking for inline" >&5
19842 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19843 if test "${ac_cv_c_inline+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 else
19846 ac_cv_c_inline=no
19847 for ac_kw in inline __inline__ __inline; do
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #ifndef __cplusplus
19855 typedef int foo_t;
19856 static $ac_kw foo_t static_foo () {return 0; }
19857 $ac_kw foo_t foo () {return 0; }
19858 #endif
19859
19860 _ACEOF
19861 rm -f conftest.$ac_objext
19862 if { (ac_try="$ac_compile"
19863 case "(($ac_try" in
19864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865 *) ac_try_echo=$ac_try;;
19866 esac
19867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19869 ac_status=$?
19870 grep -v '^ *+' conftest.er1 >conftest.err
19871 rm -f conftest.er1
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_c_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 ac_cv_c_inline=$ac_kw
19879 else
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19882
19883
19884 fi
19885
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 test "$ac_cv_c_inline" != no && break
19888 done
19889
19890 fi
19891 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19892 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19893
19894
19895 case $ac_cv_c_inline in
19896 inline | yes) ;;
19897 *)
19898 case $ac_cv_c_inline in
19899 no) ac_val=;;
19900 *) ac_val=$ac_cv_c_inline;;
19901 esac
19902 cat >>confdefs.h <<_ACEOF
19903 #ifndef __cplusplus
19904 #define inline $ac_val
19905 #endif
19906 _ACEOF
19907 ;;
19908 esac
19909
19910
19911 { echo "$as_me:$LINENO: checking for short" >&5
19912 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19913 if test "${ac_cv_type_short+set}" = set; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 else
19916 cat >conftest.$ac_ext <<_ACEOF
19917 /* confdefs.h. */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 $ac_includes_default
19923 typedef short ac__type_new_;
19924 int
19925 main ()
19926 {
19927 if ((ac__type_new_ *) 0)
19928 return 0;
19929 if (sizeof (ac__type_new_))
19930 return 0;
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 ac_cv_type_short=yes
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ac_cv_type_short=no
19958 fi
19959
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 fi
19962 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19963 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19964
19965 # The cast to long int works around a bug in the HP C Compiler
19966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19968 # This bug is HP SR number 8606223364.
19969 { echo "$as_me:$LINENO: checking size of short" >&5
19970 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19971 if test "${ac_cv_sizeof_short+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19974 if test "$cross_compiling" = yes; then
19975 # Depending upon the size, compute the lo and hi bounds.
19976 cat >conftest.$ac_ext <<_ACEOF
19977 /* confdefs.h. */
19978 _ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 typedef short ac__type_sizeof_;
19984 int
19985 main ()
19986 {
19987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19988 test_array [0] = 0
19989
19990 ;
19991 return 0;
19992 }
19993 _ACEOF
19994 rm -f conftest.$ac_objext
19995 if { (ac_try="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
19999 esac
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.$ac_objext; then
20011 ac_lo=0 ac_mid=0
20012 while :; do
20013 cat >conftest.$ac_ext <<_ACEOF
20014 /* confdefs.h. */
20015 _ACEOF
20016 cat confdefs.h >>conftest.$ac_ext
20017 cat >>conftest.$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 $ac_includes_default
20020 typedef short ac__type_sizeof_;
20021 int
20022 main ()
20023 {
20024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20025 test_array [0] = 0
20026
20027 ;
20028 return 0;
20029 }
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (ac_try="$ac_compile"
20033 case "(($ac_try" in
20034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20035 *) ac_try_echo=$ac_try;;
20036 esac
20037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_compile") 2>conftest.er1
20039 ac_status=$?
20040 grep -v '^ *+' conftest.er1 >conftest.err
20041 rm -f conftest.er1
20042 cat conftest.err >&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } && {
20045 test -z "$ac_c_werror_flag" ||
20046 test ! -s conftest.err
20047 } && test -s conftest.$ac_objext; then
20048 ac_hi=$ac_mid; break
20049 else
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.$ac_ext >&5
20052
20053 ac_lo=`expr $ac_mid + 1`
20054 if test $ac_lo -le $ac_mid; then
20055 ac_lo= ac_hi=
20056 break
20057 fi
20058 ac_mid=`expr 2 '*' $ac_mid + 1`
20059 fi
20060
20061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20062 done
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20066
20067 cat >conftest.$ac_ext <<_ACEOF
20068 /* confdefs.h. */
20069 _ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef short ac__type_sizeof_;
20075 int
20076 main ()
20077 {
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20079 test_array [0] = 0
20080
20081 ;
20082 return 0;
20083 }
20084 _ACEOF
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20090 esac
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20102 ac_hi=-1 ac_mid=-1
20103 while :; do
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 typedef short ac__type_sizeof_;
20112 int
20113 main ()
20114 {
20115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20116 test_array [0] = 0
20117
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 rm -f conftest.$ac_objext
20123 if { (ac_try="$ac_compile"
20124 case "(($ac_try" in
20125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20127 esac
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_compile") 2>conftest.er1
20130 ac_status=$?
20131 grep -v '^ *+' conftest.er1 >conftest.err
20132 rm -f conftest.er1
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest.$ac_objext; then
20139 ac_lo=$ac_mid; break
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20143
20144 ac_hi=`expr '(' $ac_mid ')' - 1`
20145 if test $ac_mid -le $ac_hi; then
20146 ac_lo= ac_hi=
20147 break
20148 fi
20149 ac_mid=`expr 2 '*' $ac_mid`
20150 fi
20151
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153 done
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_lo= ac_hi=
20159 fi
20160
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20162 fi
20163
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 # Binary search between lo and hi bounds.
20166 while test "x$ac_lo" != "x$ac_hi"; do
20167 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20168 cat >conftest.$ac_ext <<_ACEOF
20169 /* confdefs.h. */
20170 _ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20175 typedef short ac__type_sizeof_;
20176 int
20177 main ()
20178 {
20179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20180 test_array [0] = 0
20181
20182 ;
20183 return 0;
20184 }
20185 _ACEOF
20186 rm -f conftest.$ac_objext
20187 if { (ac_try="$ac_compile"
20188 case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20191 esac
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_compile") 2>conftest.er1
20194 ac_status=$?
20195 grep -v '^ *+' conftest.er1 >conftest.err
20196 rm -f conftest.er1
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } && {
20200 test -z "$ac_c_werror_flag" ||
20201 test ! -s conftest.err
20202 } && test -s conftest.$ac_objext; then
20203 ac_hi=$ac_mid
20204 else
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20207
20208 ac_lo=`expr '(' $ac_mid ')' + 1`
20209 fi
20210
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 done
20213 case $ac_lo in
20214 ?*) ac_cv_sizeof_short=$ac_lo;;
20215 '') if test "$ac_cv_type_short" = yes; then
20216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20217 See \`config.log' for more details." >&5
20218 echo "$as_me: error: cannot compute sizeof (short)
20219 See \`config.log' for more details." >&2;}
20220 { (exit 77); exit 77; }; }
20221 else
20222 ac_cv_sizeof_short=0
20223 fi ;;
20224 esac
20225 else
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef short ac__type_sizeof_;
20234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20236 #include <stdio.h>
20237 #include <stdlib.h>
20238 int
20239 main ()
20240 {
20241
20242 FILE *f = fopen ("conftest.val", "w");
20243 if (! f)
20244 return 1;
20245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20246 {
20247 long int i = longval ();
20248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20249 return 1;
20250 fprintf (f, "%ld\n", i);
20251 }
20252 else
20253 {
20254 unsigned long int i = ulongval ();
20255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20256 return 1;
20257 fprintf (f, "%lu\n", i);
20258 }
20259 return ferror (f) || fclose (f) != 0;
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest$ac_exeext
20266 if { (ac_try="$ac_link"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_link") 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20276 { (case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20279 esac
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_try") 2>&5
20282 ac_status=$?
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_cv_sizeof_short=`cat conftest.val`
20286 else
20287 echo "$as_me: program exited with status $ac_status" >&5
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ( exit $ac_status )
20292 if test "$ac_cv_type_short" = yes; then
20293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20294 See \`config.log' for more details." >&5
20295 echo "$as_me: error: cannot compute sizeof (short)
20296 See \`config.log' for more details." >&2;}
20297 { (exit 77); exit 77; }; }
20298 else
20299 ac_cv_sizeof_short=0
20300 fi
20301 fi
20302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20303 fi
20304 rm -f conftest.val
20305 fi
20306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20307 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20308
20309
20310
20311 cat >>confdefs.h <<_ACEOF
20312 #define SIZEOF_SHORT $ac_cv_sizeof_short
20313 _ACEOF
20314
20315
20316 { echo "$as_me:$LINENO: checking for void *" >&5
20317 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20318 if test "${ac_cv_type_void_p+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 else
20321 cat >conftest.$ac_ext <<_ACEOF
20322 /* confdefs.h. */
20323 _ACEOF
20324 cat confdefs.h >>conftest.$ac_ext
20325 cat >>conftest.$ac_ext <<_ACEOF
20326 /* end confdefs.h. */
20327 $ac_includes_default
20328 typedef void * ac__type_new_;
20329 int
20330 main ()
20331 {
20332 if ((ac__type_new_ *) 0)
20333 return 0;
20334 if (sizeof (ac__type_new_))
20335 return 0;
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (ac_try="$ac_compile"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_compile") 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && {
20354 test -z "$ac_c_werror_flag" ||
20355 test ! -s conftest.err
20356 } && test -s conftest.$ac_objext; then
20357 ac_cv_type_void_p=yes
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_cv_type_void_p=no
20363 fi
20364
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 fi
20367 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20368 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20369
20370 # The cast to long int works around a bug in the HP C Compiler
20371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20373 # This bug is HP SR number 8606223364.
20374 { echo "$as_me:$LINENO: checking size of void *" >&5
20375 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20376 if test "${ac_cv_sizeof_void_p+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20379 if test "$cross_compiling" = yes; then
20380 # Depending upon the size, compute the lo and hi bounds.
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef void * ac__type_sizeof_;
20389 int
20390 main ()
20391 {
20392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20393 test_array [0] = 0
20394
20395 ;
20396 return 0;
20397 }
20398 _ACEOF
20399 rm -f conftest.$ac_objext
20400 if { (ac_try="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20404 esac
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.$ac_objext; then
20416 ac_lo=0 ac_mid=0
20417 while :; do
20418 cat >conftest.$ac_ext <<_ACEOF
20419 /* confdefs.h. */
20420 _ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 typedef void * ac__type_sizeof_;
20426 int
20427 main ()
20428 {
20429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20430 test_array [0] = 0
20431
20432 ;
20433 return 0;
20434 }
20435 _ACEOF
20436 rm -f conftest.$ac_objext
20437 if { (ac_try="$ac_compile"
20438 case "(($ac_try" in
20439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20441 esac
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_compile") 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest.$ac_objext; then
20453 ac_hi=$ac_mid; break
20454 else
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 ac_lo=`expr $ac_mid + 1`
20459 if test $ac_lo -le $ac_mid; then
20460 ac_lo= ac_hi=
20461 break
20462 fi
20463 ac_mid=`expr 2 '*' $ac_mid + 1`
20464 fi
20465
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20467 done
20468 else
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20471
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef void * ac__type_sizeof_;
20480 int
20481 main ()
20482 {
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20484 test_array [0] = 0
20485
20486 ;
20487 return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (ac_try="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20495 esac
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.$ac_objext; then
20507 ac_hi=-1 ac_mid=-1
20508 while :; do
20509 cat >conftest.$ac_ext <<_ACEOF
20510 /* confdefs.h. */
20511 _ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 typedef void * ac__type_sizeof_;
20517 int
20518 main ()
20519 {
20520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20521 test_array [0] = 0
20522
20523 ;
20524 return 0;
20525 }
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20532 esac
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20535 ac_status=$?
20536 grep -v '^ *+' conftest.er1 >conftest.err
20537 rm -f conftest.er1
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.$ac_objext; then
20544 ac_lo=$ac_mid; break
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20548
20549 ac_hi=`expr '(' $ac_mid ')' - 1`
20550 if test $ac_mid -le $ac_hi; then
20551 ac_lo= ac_hi=
20552 break
20553 fi
20554 ac_mid=`expr 2 '*' $ac_mid`
20555 fi
20556
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 done
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ac_lo= ac_hi=
20564 fi
20565
20566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 fi
20568
20569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20570 # Binary search between lo and hi bounds.
20571 while test "x$ac_lo" != "x$ac_hi"; do
20572 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20580 typedef void * ac__type_sizeof_;
20581 int
20582 main ()
20583 {
20584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20585 test_array [0] = 0
20586
20587 ;
20588 return 0;
20589 }
20590 _ACEOF
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20599 ac_status=$?
20600 grep -v '^ *+' conftest.er1 >conftest.err
20601 rm -f conftest.er1
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.$ac_objext; then
20608 ac_hi=$ac_mid
20609 else
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613 ac_lo=`expr '(' $ac_mid ')' + 1`
20614 fi
20615
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20617 done
20618 case $ac_lo in
20619 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20620 '') if test "$ac_cv_type_void_p" = yes; then
20621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20622 See \`config.log' for more details." >&5
20623 echo "$as_me: error: cannot compute sizeof (void *)
20624 See \`config.log' for more details." >&2;}
20625 { (exit 77); exit 77; }; }
20626 else
20627 ac_cv_sizeof_void_p=0
20628 fi ;;
20629 esac
20630 else
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef void * ac__type_sizeof_;
20639 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20640 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20641 #include <stdio.h>
20642 #include <stdlib.h>
20643 int
20644 main ()
20645 {
20646
20647 FILE *f = fopen ("conftest.val", "w");
20648 if (! f)
20649 return 1;
20650 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20651 {
20652 long int i = longval ();
20653 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20654 return 1;
20655 fprintf (f, "%ld\n", i);
20656 }
20657 else
20658 {
20659 unsigned long int i = ulongval ();
20660 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20661 return 1;
20662 fprintf (f, "%lu\n", i);
20663 }
20664 return ferror (f) || fclose (f) != 0;
20665
20666 ;
20667 return 0;
20668 }
20669 _ACEOF
20670 rm -f conftest$ac_exeext
20671 if { (ac_try="$ac_link"
20672 case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20675 esac
20676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677 (eval "$ac_link") 2>&5
20678 ac_status=$?
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20681 { (case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20684 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_try") 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_sizeof_void_p=`cat conftest.val`
20691 else
20692 echo "$as_me: program exited with status $ac_status" >&5
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20695
20696 ( exit $ac_status )
20697 if test "$ac_cv_type_void_p" = yes; then
20698 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20699 See \`config.log' for more details." >&5
20700 echo "$as_me: error: cannot compute sizeof (void *)
20701 See \`config.log' for more details." >&2;}
20702 { (exit 77); exit 77; }; }
20703 else
20704 ac_cv_sizeof_void_p=0
20705 fi
20706 fi
20707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20708 fi
20709 rm -f conftest.val
20710 fi
20711 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20712 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20713
20714
20715
20716 cat >>confdefs.h <<_ACEOF
20717 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20718 _ACEOF
20719
20720
20721 { echo "$as_me:$LINENO: checking for int" >&5
20722 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20723 if test "${ac_cv_type_int+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 $ac_includes_default
20733 typedef int ac__type_new_;
20734 int
20735 main ()
20736 {
20737 if ((ac__type_new_ *) 0)
20738 return 0;
20739 if (sizeof (ac__type_new_))
20740 return 0;
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 rm -f conftest.$ac_objext
20746 if { (ac_try="$ac_compile"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20750 esac
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20753 ac_status=$?
20754 grep -v '^ *+' conftest.er1 >conftest.err
20755 rm -f conftest.er1
20756 cat conftest.err >&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } && {
20759 test -z "$ac_c_werror_flag" ||
20760 test ! -s conftest.err
20761 } && test -s conftest.$ac_objext; then
20762 ac_cv_type_int=yes
20763 else
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ac_cv_type_int=no
20768 fi
20769
20770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771 fi
20772 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20773 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20774
20775 # The cast to long int works around a bug in the HP C Compiler
20776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20778 # This bug is HP SR number 8606223364.
20779 { echo "$as_me:$LINENO: checking size of int" >&5
20780 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20781 if test "${ac_cv_sizeof_int+set}" = set; then
20782 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 else
20784 if test "$cross_compiling" = yes; then
20785 # Depending upon the size, compute the lo and hi bounds.
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef int ac__type_sizeof_;
20794 int
20795 main ()
20796 {
20797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20798 test_array [0] = 0
20799
20800 ;
20801 return 0;
20802 }
20803 _ACEOF
20804 rm -f conftest.$ac_objext
20805 if { (ac_try="$ac_compile"
20806 case "(($ac_try" in
20807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20808 *) ac_try_echo=$ac_try;;
20809 esac
20810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20811 (eval "$ac_compile") 2>conftest.er1
20812 ac_status=$?
20813 grep -v '^ *+' conftest.er1 >conftest.err
20814 rm -f conftest.er1
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } && {
20818 test -z "$ac_c_werror_flag" ||
20819 test ! -s conftest.err
20820 } && test -s conftest.$ac_objext; then
20821 ac_lo=0 ac_mid=0
20822 while :; do
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_sizeof_;
20831 int
20832 main ()
20833 {
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20835 test_array [0] = 0
20836
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_hi=$ac_mid; break
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 ac_lo=`expr $ac_mid + 1`
20864 if test $ac_lo -le $ac_mid; then
20865 ac_lo= ac_hi=
20866 break
20867 fi
20868 ac_mid=`expr 2 '*' $ac_mid + 1`
20869 fi
20870
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872 done
20873 else
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20876
20877 cat >conftest.$ac_ext <<_ACEOF
20878 /* confdefs.h. */
20879 _ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20885 int
20886 main ()
20887 {
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20889 test_array [0] = 0
20890
20891 ;
20892 return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.$ac_objext; then
20912 ac_hi=-1 ac_mid=-1
20913 while :; do
20914 cat >conftest.$ac_ext <<_ACEOF
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 typedef int ac__type_sizeof_;
20922 int
20923 main ()
20924 {
20925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20926 test_array [0] = 0
20927
20928 ;
20929 return 0;
20930 }
20931 _ACEOF
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20937 esac
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20940 ac_status=$?
20941 grep -v '^ *+' conftest.er1 >conftest.err
20942 rm -f conftest.er1
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.$ac_objext; then
20949 ac_lo=$ac_mid; break
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20953
20954 ac_hi=`expr '(' $ac_mid ')' - 1`
20955 if test $ac_mid -le $ac_hi; then
20956 ac_lo= ac_hi=
20957 break
20958 fi
20959 ac_mid=`expr 2 '*' $ac_mid`
20960 fi
20961
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 done
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_lo= ac_hi=
20969 fi
20970
20971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20972 fi
20973
20974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20975 # Binary search between lo and hi bounds.
20976 while test "x$ac_lo" != "x$ac_hi"; do
20977 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef int ac__type_sizeof_;
20986 int
20987 main ()
20988 {
20989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20990 test_array [0] = 0
20991
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_hi=$ac_mid
21014 else
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21017
21018 ac_lo=`expr '(' $ac_mid ')' + 1`
21019 fi
21020
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 done
21023 case $ac_lo in
21024 ?*) ac_cv_sizeof_int=$ac_lo;;
21025 '') if test "$ac_cv_type_int" = yes; then
21026 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21027 See \`config.log' for more details." >&5
21028 echo "$as_me: error: cannot compute sizeof (int)
21029 See \`config.log' for more details." >&2;}
21030 { (exit 77); exit 77; }; }
21031 else
21032 ac_cv_sizeof_int=0
21033 fi ;;
21034 esac
21035 else
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21043 typedef int ac__type_sizeof_;
21044 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21045 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21046 #include <stdio.h>
21047 #include <stdlib.h>
21048 int
21049 main ()
21050 {
21051
21052 FILE *f = fopen ("conftest.val", "w");
21053 if (! f)
21054 return 1;
21055 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21056 {
21057 long int i = longval ();
21058 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21059 return 1;
21060 fprintf (f, "%ld\n", i);
21061 }
21062 else
21063 {
21064 unsigned long int i = ulongval ();
21065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21066 return 1;
21067 fprintf (f, "%lu\n", i);
21068 }
21069 return ferror (f) || fclose (f) != 0;
21070
21071 ;
21072 return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest$ac_exeext
21076 if { (ac_try="$ac_link"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_link") 2>&5
21083 ac_status=$?
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21086 { (case "(($ac_try" in
21087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21089 esac
21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_try") 2>&5
21092 ac_status=$?
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; }; then
21095 ac_cv_sizeof_int=`cat conftest.val`
21096 else
21097 echo "$as_me: program exited with status $ac_status" >&5
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21100
21101 ( exit $ac_status )
21102 if test "$ac_cv_type_int" = yes; then
21103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21104 See \`config.log' for more details." >&5
21105 echo "$as_me: error: cannot compute sizeof (int)
21106 See \`config.log' for more details." >&2;}
21107 { (exit 77); exit 77; }; }
21108 else
21109 ac_cv_sizeof_int=0
21110 fi
21111 fi
21112 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21113 fi
21114 rm -f conftest.val
21115 fi
21116 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21117 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21118
21119
21120
21121 cat >>confdefs.h <<_ACEOF
21122 #define SIZEOF_INT $ac_cv_sizeof_int
21123 _ACEOF
21124
21125
21126 { echo "$as_me:$LINENO: checking for long" >&5
21127 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21128 if test "${ac_cv_type_long+set}" = set; then
21129 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 else
21131 cat >conftest.$ac_ext <<_ACEOF
21132 /* confdefs.h. */
21133 _ACEOF
21134 cat confdefs.h >>conftest.$ac_ext
21135 cat >>conftest.$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 $ac_includes_default
21138 typedef long ac__type_new_;
21139 int
21140 main ()
21141 {
21142 if ((ac__type_new_ *) 0)
21143 return 0;
21144 if (sizeof (ac__type_new_))
21145 return 0;
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest.$ac_objext
21151 if { (ac_try="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21167 ac_cv_type_long=yes
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_cv_type_long=no
21173 fi
21174
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 fi
21177 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21178 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21179
21180 # The cast to long int works around a bug in the HP C Compiler
21181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21183 # This bug is HP SR number 8606223364.
21184 { echo "$as_me:$LINENO: checking size of long" >&5
21185 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21186 if test "${ac_cv_sizeof_long+set}" = set; then
21187 echo $ECHO_N "(cached) $ECHO_C" >&6
21188 else
21189 if test "$cross_compiling" = yes; then
21190 # Depending upon the size, compute the lo and hi bounds.
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long ac__type_sizeof_;
21199 int
21200 main ()
21201 {
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21203 test_array [0] = 0
21204
21205 ;
21206 return 0;
21207 }
21208 _ACEOF
21209 rm -f conftest.$ac_objext
21210 if { (ac_try="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21214 esac
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21226 ac_lo=0 ac_mid=0
21227 while :; do
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long ac__type_sizeof_;
21236 int
21237 main ()
21238 {
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21240 test_array [0] = 0
21241
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_hi=$ac_mid; break
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_lo=`expr $ac_mid + 1`
21269 if test $ac_lo -le $ac_mid; then
21270 ac_lo= ac_hi=
21271 break
21272 fi
21273 ac_mid=`expr 2 '*' $ac_mid + 1`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 cat >conftest.$ac_ext <<_ACEOF
21283 /* confdefs.h. */
21284 _ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 typedef long ac__type_sizeof_;
21290 int
21291 main ()
21292 {
21293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21294 test_array [0] = 0
21295
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 rm -f conftest.$ac_objext
21301 if { (ac_try="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21305 esac
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21308 ac_status=$?
21309 grep -v '^ *+' conftest.er1 >conftest.err
21310 rm -f conftest.er1
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.$ac_objext; then
21317 ac_hi=-1 ac_mid=-1
21318 while :; do
21319 cat >conftest.$ac_ext <<_ACEOF
21320 /* confdefs.h. */
21321 _ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21326 typedef long ac__type_sizeof_;
21327 int
21328 main ()
21329 {
21330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21331 test_array [0] = 0
21332
21333 ;
21334 return 0;
21335 }
21336 _ACEOF
21337 rm -f conftest.$ac_objext
21338 if { (ac_try="$ac_compile"
21339 case "(($ac_try" in
21340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21341 *) ac_try_echo=$ac_try;;
21342 esac
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_compile") 2>conftest.er1
21345 ac_status=$?
21346 grep -v '^ *+' conftest.er1 >conftest.err
21347 rm -f conftest.er1
21348 cat conftest.err >&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && {
21351 test -z "$ac_c_werror_flag" ||
21352 test ! -s conftest.err
21353 } && test -s conftest.$ac_objext; then
21354 ac_lo=$ac_mid; break
21355 else
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21358
21359 ac_hi=`expr '(' $ac_mid ')' - 1`
21360 if test $ac_mid -le $ac_hi; then
21361 ac_lo= ac_hi=
21362 break
21363 fi
21364 ac_mid=`expr 2 '*' $ac_mid`
21365 fi
21366
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 done
21369 else
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 ac_lo= ac_hi=
21374 fi
21375
21376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21377 fi
21378
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 # Binary search between lo and hi bounds.
21381 while test "x$ac_lo" != "x$ac_hi"; do
21382 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21383 cat >conftest.$ac_ext <<_ACEOF
21384 /* confdefs.h. */
21385 _ACEOF
21386 cat confdefs.h >>conftest.$ac_ext
21387 cat >>conftest.$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21390 typedef long ac__type_sizeof_;
21391 int
21392 main ()
21393 {
21394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21395 test_array [0] = 0
21396
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21406 esac
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21409 ac_status=$?
21410 grep -v '^ *+' conftest.er1 >conftest.err
21411 rm -f conftest.er1
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21418 ac_hi=$ac_mid
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 ac_lo=`expr '(' $ac_mid ')' + 1`
21424 fi
21425
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 done
21428 case $ac_lo in
21429 ?*) ac_cv_sizeof_long=$ac_lo;;
21430 '') if test "$ac_cv_type_long" = yes; then
21431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21432 See \`config.log' for more details." >&5
21433 echo "$as_me: error: cannot compute sizeof (long)
21434 See \`config.log' for more details." >&2;}
21435 { (exit 77); exit 77; }; }
21436 else
21437 ac_cv_sizeof_long=0
21438 fi ;;
21439 esac
21440 else
21441 cat >conftest.$ac_ext <<_ACEOF
21442 /* confdefs.h. */
21443 _ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 $ac_includes_default
21448 typedef long ac__type_sizeof_;
21449 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21450 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21451 #include <stdio.h>
21452 #include <stdlib.h>
21453 int
21454 main ()
21455 {
21456
21457 FILE *f = fopen ("conftest.val", "w");
21458 if (! f)
21459 return 1;
21460 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21461 {
21462 long int i = longval ();
21463 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21464 return 1;
21465 fprintf (f, "%ld\n", i);
21466 }
21467 else
21468 {
21469 unsigned long int i = ulongval ();
21470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21471 return 1;
21472 fprintf (f, "%lu\n", i);
21473 }
21474 return ferror (f) || fclose (f) != 0;
21475
21476 ;
21477 return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest$ac_exeext
21481 if { (ac_try="$ac_link"
21482 case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21485 esac
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_link") 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21491 { (case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21494 esac
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_sizeof_long=`cat conftest.val`
21501 else
21502 echo "$as_me: program exited with status $ac_status" >&5
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21505
21506 ( exit $ac_status )
21507 if test "$ac_cv_type_long" = yes; then
21508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21509 See \`config.log' for more details." >&5
21510 echo "$as_me: error: cannot compute sizeof (long)
21511 See \`config.log' for more details." >&2;}
21512 { (exit 77); exit 77; }; }
21513 else
21514 ac_cv_sizeof_long=0
21515 fi
21516 fi
21517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21518 fi
21519 rm -f conftest.val
21520 fi
21521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21522 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21523
21524
21525
21526 cat >>confdefs.h <<_ACEOF
21527 #define SIZEOF_LONG $ac_cv_sizeof_long
21528 _ACEOF
21529
21530
21531 { echo "$as_me:$LINENO: checking for size_t" >&5
21532 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21533 if test "${ac_cv_type_size_t+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 else
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 $ac_includes_default
21543 typedef size_t ac__type_new_;
21544 int
21545 main ()
21546 {
21547 if ((ac__type_new_ *) 0)
21548 return 0;
21549 if (sizeof (ac__type_new_))
21550 return 0;
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21563 ac_status=$?
21564 grep -v '^ *+' conftest.er1 >conftest.err
21565 rm -f conftest.er1
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } && {
21569 test -z "$ac_c_werror_flag" ||
21570 test ! -s conftest.err
21571 } && test -s conftest.$ac_objext; then
21572 ac_cv_type_size_t=yes
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21576
21577 ac_cv_type_size_t=no
21578 fi
21579
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581 fi
21582 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21583 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21584
21585 # The cast to long int works around a bug in the HP C Compiler
21586 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21587 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21588 # This bug is HP SR number 8606223364.
21589 { echo "$as_me:$LINENO: checking size of size_t" >&5
21590 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21591 if test "${ac_cv_sizeof_size_t+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 else
21594 if test "$cross_compiling" = yes; then
21595 # Depending upon the size, compute the lo and hi bounds.
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603 typedef size_t ac__type_sizeof_;
21604 int
21605 main ()
21606 {
21607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21608 test_array [0] = 0
21609
21610 ;
21611 return 0;
21612 }
21613 _ACEOF
21614 rm -f conftest.$ac_objext
21615 if { (ac_try="$ac_compile"
21616 case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21619 esac
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_compile") 2>conftest.er1
21622 ac_status=$?
21623 grep -v '^ *+' conftest.er1 >conftest.err
21624 rm -f conftest.er1
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && {
21628 test -z "$ac_c_werror_flag" ||
21629 test ! -s conftest.err
21630 } && test -s conftest.$ac_objext; then
21631 ac_lo=0 ac_mid=0
21632 while :; do
21633 cat >conftest.$ac_ext <<_ACEOF
21634 /* confdefs.h. */
21635 _ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21639 $ac_includes_default
21640 typedef size_t ac__type_sizeof_;
21641 int
21642 main ()
21643 {
21644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21645 test_array [0] = 0
21646
21647 ;
21648 return 0;
21649 }
21650 _ACEOF
21651 rm -f conftest.$ac_objext
21652 if { (ac_try="$ac_compile"
21653 case "(($ac_try" in
21654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21655 *) ac_try_echo=$ac_try;;
21656 esac
21657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21658 (eval "$ac_compile") 2>conftest.er1
21659 ac_status=$?
21660 grep -v '^ *+' conftest.er1 >conftest.err
21661 rm -f conftest.er1
21662 cat conftest.err >&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } && {
21665 test -z "$ac_c_werror_flag" ||
21666 test ! -s conftest.err
21667 } && test -s conftest.$ac_objext; then
21668 ac_hi=$ac_mid; break
21669 else
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 ac_lo=`expr $ac_mid + 1`
21674 if test $ac_lo -le $ac_mid; then
21675 ac_lo= ac_hi=
21676 break
21677 fi
21678 ac_mid=`expr 2 '*' $ac_mid + 1`
21679 fi
21680
21681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21682 done
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 $ac_includes_default
21694 typedef size_t ac__type_sizeof_;
21695 int
21696 main ()
21697 {
21698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21699 test_array [0] = 0
21700
21701 ;
21702 return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21710 esac
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_hi=-1 ac_mid=-1
21723 while :; do
21724 cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h. */
21726 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 typedef size_t ac__type_sizeof_;
21732 int
21733 main ()
21734 {
21735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21736 test_array [0] = 0
21737
21738 ;
21739 return 0;
21740 }
21741 _ACEOF
21742 rm -f conftest.$ac_objext
21743 if { (ac_try="$ac_compile"
21744 case "(($ac_try" in
21745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21746 *) ac_try_echo=$ac_try;;
21747 esac
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_compile") 2>conftest.er1
21750 ac_status=$?
21751 grep -v '^ *+' conftest.er1 >conftest.err
21752 rm -f conftest.er1
21753 cat conftest.err >&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } && {
21756 test -z "$ac_c_werror_flag" ||
21757 test ! -s conftest.err
21758 } && test -s conftest.$ac_objext; then
21759 ac_lo=$ac_mid; break
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 ac_hi=`expr '(' $ac_mid ')' - 1`
21765 if test $ac_mid -le $ac_hi; then
21766 ac_lo= ac_hi=
21767 break
21768 fi
21769 ac_mid=`expr 2 '*' $ac_mid`
21770 fi
21771
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21773 done
21774 else
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21777
21778 ac_lo= ac_hi=
21779 fi
21780
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782 fi
21783
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 # Binary search between lo and hi bounds.
21786 while test "x$ac_lo" != "x$ac_hi"; do
21787 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21788 cat >conftest.$ac_ext <<_ACEOF
21789 /* confdefs.h. */
21790 _ACEOF
21791 cat confdefs.h >>conftest.$ac_ext
21792 cat >>conftest.$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21794 $ac_includes_default
21795 typedef size_t ac__type_sizeof_;
21796 int
21797 main ()
21798 {
21799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21800 test_array [0] = 0
21801
21802 ;
21803 return 0;
21804 }
21805 _ACEOF
21806 rm -f conftest.$ac_objext
21807 if { (ac_try="$ac_compile"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21811 esac
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_compile") 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest.$ac_objext; then
21823 ac_hi=$ac_mid
21824 else
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21827
21828 ac_lo=`expr '(' $ac_mid ')' + 1`
21829 fi
21830
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 done
21833 case $ac_lo in
21834 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21835 '') if test "$ac_cv_type_size_t" = yes; then
21836 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21837 See \`config.log' for more details." >&5
21838 echo "$as_me: error: cannot compute sizeof (size_t)
21839 See \`config.log' for more details." >&2;}
21840 { (exit 77); exit 77; }; }
21841 else
21842 ac_cv_sizeof_size_t=0
21843 fi ;;
21844 esac
21845 else
21846 cat >conftest.$ac_ext <<_ACEOF
21847 /* confdefs.h. */
21848 _ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 $ac_includes_default
21853 typedef size_t ac__type_sizeof_;
21854 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21855 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21856 #include <stdio.h>
21857 #include <stdlib.h>
21858 int
21859 main ()
21860 {
21861
21862 FILE *f = fopen ("conftest.val", "w");
21863 if (! f)
21864 return 1;
21865 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21866 {
21867 long int i = longval ();
21868 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21869 return 1;
21870 fprintf (f, "%ld\n", i);
21871 }
21872 else
21873 {
21874 unsigned long int i = ulongval ();
21875 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21876 return 1;
21877 fprintf (f, "%lu\n", i);
21878 }
21879 return ferror (f) || fclose (f) != 0;
21880
21881 ;
21882 return 0;
21883 }
21884 _ACEOF
21885 rm -f conftest$ac_exeext
21886 if { (ac_try="$ac_link"
21887 case "(($ac_try" in
21888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21889 *) ac_try_echo=$ac_try;;
21890 esac
21891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21892 (eval "$ac_link") 2>&5
21893 ac_status=$?
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21896 { (case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21899 esac
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_try") 2>&5
21902 ac_status=$?
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; }; then
21905 ac_cv_sizeof_size_t=`cat conftest.val`
21906 else
21907 echo "$as_me: program exited with status $ac_status" >&5
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21910
21911 ( exit $ac_status )
21912 if test "$ac_cv_type_size_t" = yes; then
21913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21914 See \`config.log' for more details." >&5
21915 echo "$as_me: error: cannot compute sizeof (size_t)
21916 See \`config.log' for more details." >&2;}
21917 { (exit 77); exit 77; }; }
21918 else
21919 ac_cv_sizeof_size_t=0
21920 fi
21921 fi
21922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21923 fi
21924 rm -f conftest.val
21925 fi
21926 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21927 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21928
21929
21930
21931 cat >>confdefs.h <<_ACEOF
21932 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21933 _ACEOF
21934
21935
21936
21937 case "${host}" in
21938 arm-*-linux* )
21939 { echo "$as_me:$LINENO: checking for long long" >&5
21940 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21941 if test "${ac_cv_type_long_long+set}" = set; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21943 else
21944 cat >conftest.$ac_ext <<_ACEOF
21945 /* confdefs.h. */
21946 _ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 $ac_includes_default
21951 typedef long long ac__type_new_;
21952 int
21953 main ()
21954 {
21955 if ((ac__type_new_ *) 0)
21956 return 0;
21957 if (sizeof (ac__type_new_))
21958 return 0;
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 rm -f conftest.$ac_objext
21964 if { (ac_try="$ac_compile"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21971 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21980 ac_cv_type_long_long=yes
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_cv_type_long_long=no
21986 fi
21987
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 fi
21990 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21991 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21992
21993 # The cast to long int works around a bug in the HP C Compiler
21994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21996 # This bug is HP SR number 8606223364.
21997 { echo "$as_me:$LINENO: checking size of long long" >&5
21998 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21999 if test "${ac_cv_sizeof_long_long+set}" = set; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 else
22002 if test "$cross_compiling" = yes; then
22003 # Depending upon the size, compute the lo and hi bounds.
22004 cat >conftest.$ac_ext <<_ACEOF
22005 /* confdefs.h. */
22006 _ACEOF
22007 cat confdefs.h >>conftest.$ac_ext
22008 cat >>conftest.$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22010 $ac_includes_default
22011 typedef long long ac__type_sizeof_;
22012 int
22013 main ()
22014 {
22015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22016 test_array [0] = 0
22017
22018 ;
22019 return 0;
22020 }
22021 _ACEOF
22022 rm -f conftest.$ac_objext
22023 if { (ac_try="$ac_compile"
22024 case "(($ac_try" in
22025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22026 *) ac_try_echo=$ac_try;;
22027 esac
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22029 (eval "$ac_compile") 2>conftest.er1
22030 ac_status=$?
22031 grep -v '^ *+' conftest.er1 >conftest.err
22032 rm -f conftest.er1
22033 cat conftest.err >&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); } && {
22036 test -z "$ac_c_werror_flag" ||
22037 test ! -s conftest.err
22038 } && test -s conftest.$ac_objext; then
22039 ac_lo=0 ac_mid=0
22040 while :; do
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 $ac_includes_default
22048 typedef long long ac__type_sizeof_;
22049 int
22050 main ()
22051 {
22052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22053 test_array [0] = 0
22054
22055 ;
22056 return 0;
22057 }
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (ac_try="$ac_compile"
22061 case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22064 esac
22065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_compile") 2>conftest.er1
22067 ac_status=$?
22068 grep -v '^ *+' conftest.er1 >conftest.err
22069 rm -f conftest.er1
22070 cat conftest.err >&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); } && {
22073 test -z "$ac_c_werror_flag" ||
22074 test ! -s conftest.err
22075 } && test -s conftest.$ac_objext; then
22076 ac_hi=$ac_mid; break
22077 else
22078 echo "$as_me: failed program was:" >&5
22079 sed 's/^/| /' conftest.$ac_ext >&5
22080
22081 ac_lo=`expr $ac_mid + 1`
22082 if test $ac_lo -le $ac_mid; then
22083 ac_lo= ac_hi=
22084 break
22085 fi
22086 ac_mid=`expr 2 '*' $ac_mid + 1`
22087 fi
22088
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 done
22091 else
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22094
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 typedef long long ac__type_sizeof_;
22103 int
22104 main ()
22105 {
22106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22107 test_array [0] = 0
22108
22109 ;
22110 return 0;
22111 }
22112 _ACEOF
22113 rm -f conftest.$ac_objext
22114 if { (ac_try="$ac_compile"
22115 case "(($ac_try" in
22116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22117 *) ac_try_echo=$ac_try;;
22118 esac
22119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22120 (eval "$ac_compile") 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && {
22127 test -z "$ac_c_werror_flag" ||
22128 test ! -s conftest.err
22129 } && test -s conftest.$ac_objext; then
22130 ac_hi=-1 ac_mid=-1
22131 while :; do
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 typedef long long ac__type_sizeof_;
22140 int
22141 main ()
22142 {
22143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22144 test_array [0] = 0
22145
22146 ;
22147 return 0;
22148 }
22149 _ACEOF
22150 rm -f conftest.$ac_objext
22151 if { (ac_try="$ac_compile"
22152 case "(($ac_try" in
22153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22154 *) ac_try_echo=$ac_try;;
22155 esac
22156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22157 (eval "$ac_compile") 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err
22166 } && test -s conftest.$ac_objext; then
22167 ac_lo=$ac_mid; break
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 ac_hi=`expr '(' $ac_mid ')' - 1`
22173 if test $ac_mid -le $ac_hi; then
22174 ac_lo= ac_hi=
22175 break
22176 fi
22177 ac_mid=`expr 2 '*' $ac_mid`
22178 fi
22179
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22181 done
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 ac_lo= ac_hi=
22187 fi
22188
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 fi
22191
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22193 # Binary search between lo and hi bounds.
22194 while test "x$ac_lo" != "x$ac_hi"; do
22195 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22196 cat >conftest.$ac_ext <<_ACEOF
22197 /* confdefs.h. */
22198 _ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 typedef long long ac__type_sizeof_;
22204 int
22205 main ()
22206 {
22207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22208 test_array [0] = 0
22209
22210 ;
22211 return 0;
22212 }
22213 _ACEOF
22214 rm -f conftest.$ac_objext
22215 if { (ac_try="$ac_compile"
22216 case "(($ac_try" in
22217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22218 *) ac_try_echo=$ac_try;;
22219 esac
22220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22221 (eval "$ac_compile") 2>conftest.er1
22222 ac_status=$?
22223 grep -v '^ *+' conftest.er1 >conftest.err
22224 rm -f conftest.er1
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && {
22228 test -z "$ac_c_werror_flag" ||
22229 test ! -s conftest.err
22230 } && test -s conftest.$ac_objext; then
22231 ac_hi=$ac_mid
22232 else
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.$ac_ext >&5
22235
22236 ac_lo=`expr '(' $ac_mid ')' + 1`
22237 fi
22238
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 done
22241 case $ac_lo in
22242 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22243 '') if test "$ac_cv_type_long_long" = yes; then
22244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22245 See \`config.log' for more details." >&5
22246 echo "$as_me: error: cannot compute sizeof (long long)
22247 See \`config.log' for more details." >&2;}
22248 { (exit 77); exit 77; }; }
22249 else
22250 ac_cv_sizeof_long_long=0
22251 fi ;;
22252 esac
22253 else
22254 cat >conftest.$ac_ext <<_ACEOF
22255 /* confdefs.h. */
22256 _ACEOF
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 $ac_includes_default
22261 typedef long long ac__type_sizeof_;
22262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22264 #include <stdio.h>
22265 #include <stdlib.h>
22266 int
22267 main ()
22268 {
22269
22270 FILE *f = fopen ("conftest.val", "w");
22271 if (! f)
22272 return 1;
22273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22274 {
22275 long int i = longval ();
22276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22277 return 1;
22278 fprintf (f, "%ld\n", i);
22279 }
22280 else
22281 {
22282 unsigned long int i = ulongval ();
22283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22284 return 1;
22285 fprintf (f, "%lu\n", i);
22286 }
22287 return ferror (f) || fclose (f) != 0;
22288
22289 ;
22290 return 0;
22291 }
22292 _ACEOF
22293 rm -f conftest$ac_exeext
22294 if { (ac_try="$ac_link"
22295 case "(($ac_try" in
22296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22297 *) ac_try_echo=$ac_try;;
22298 esac
22299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22300 (eval "$ac_link") 2>&5
22301 ac_status=$?
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22304 { (case "(($ac_try" in
22305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22306 *) ac_try_echo=$ac_try;;
22307 esac
22308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22309 (eval "$ac_try") 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 ac_cv_sizeof_long_long=`cat conftest.val`
22314 else
22315 echo "$as_me: program exited with status $ac_status" >&5
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22318
22319 ( exit $ac_status )
22320 if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22322 See \`config.log' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log' for more details." >&2;}
22325 { (exit 77); exit 77; }; }
22326 else
22327 ac_cv_sizeof_long_long=0
22328 fi
22329 fi
22330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22331 fi
22332 rm -f conftest.val
22333 fi
22334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22335 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22336
22337
22338
22339 cat >>confdefs.h <<_ACEOF
22340 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22341 _ACEOF
22342
22343
22344 ;;
22345 *-hp-hpux* )
22346 { echo "$as_me:$LINENO: checking for long long" >&5
22347 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22348 if test "${ac_cv_type_long_long+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22350 else
22351 cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 $ac_includes_default
22358 typedef long long ac__type_new_;
22359 int
22360 main ()
22361 {
22362 if ((ac__type_new_ *) 0)
22363 return 0;
22364 if (sizeof (ac__type_new_))
22365 return 0;
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22378 ac_status=$?
22379 grep -v '^ *+' conftest.er1 >conftest.err
22380 rm -f conftest.er1
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.$ac_objext; then
22387 ac_cv_type_long_long=yes
22388 else
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22391
22392 ac_cv_type_long_long=no
22393 fi
22394
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22396 fi
22397 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22398 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22399
22400 # The cast to long int works around a bug in the HP C Compiler
22401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22403 # This bug is HP SR number 8606223364.
22404 { echo "$as_me:$LINENO: checking size of long long" >&5
22405 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22406 if test "${ac_cv_sizeof_long_long+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 else
22409 if test "$cross_compiling" = yes; then
22410 # Depending upon the size, compute the lo and hi bounds.
22411 cat >conftest.$ac_ext <<_ACEOF
22412 /* confdefs.h. */
22413 _ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 $ac_includes_default
22418 typedef long long ac__type_sizeof_;
22419 int
22420 main ()
22421 {
22422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22423 test_array [0] = 0
22424
22425 ;
22426 return 0;
22427 }
22428 _ACEOF
22429 rm -f conftest.$ac_objext
22430 if { (ac_try="$ac_compile"
22431 case "(($ac_try" in
22432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22433 *) ac_try_echo=$ac_try;;
22434 esac
22435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22436 (eval "$ac_compile") 2>conftest.er1
22437 ac_status=$?
22438 grep -v '^ *+' conftest.er1 >conftest.err
22439 rm -f conftest.er1
22440 cat conftest.err >&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } && {
22443 test -z "$ac_c_werror_flag" ||
22444 test ! -s conftest.err
22445 } && test -s conftest.$ac_objext; then
22446 ac_lo=0 ac_mid=0
22447 while :; do
22448 cat >conftest.$ac_ext <<_ACEOF
22449 /* confdefs.h. */
22450 _ACEOF
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 $ac_includes_default
22455 typedef long long ac__type_sizeof_;
22456 int
22457 main ()
22458 {
22459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22460 test_array [0] = 0
22461
22462 ;
22463 return 0;
22464 }
22465 _ACEOF
22466 rm -f conftest.$ac_objext
22467 if { (ac_try="$ac_compile"
22468 case "(($ac_try" in
22469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22470 *) ac_try_echo=$ac_try;;
22471 esac
22472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22473 (eval "$ac_compile") 2>conftest.er1
22474 ac_status=$?
22475 grep -v '^ *+' conftest.er1 >conftest.err
22476 rm -f conftest.er1
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } && {
22480 test -z "$ac_c_werror_flag" ||
22481 test ! -s conftest.err
22482 } && test -s conftest.$ac_objext; then
22483 ac_hi=$ac_mid; break
22484 else
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22487
22488 ac_lo=`expr $ac_mid + 1`
22489 if test $ac_lo -le $ac_mid; then
22490 ac_lo= ac_hi=
22491 break
22492 fi
22493 ac_mid=`expr 2 '*' $ac_mid + 1`
22494 fi
22495
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 done
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef long long ac__type_sizeof_;
22510 int
22511 main ()
22512 {
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22514 test_array [0] = 0
22515
22516 ;
22517 return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22525 esac
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22528 ac_status=$?
22529 grep -v '^ *+' conftest.er1 >conftest.err
22530 rm -f conftest.er1
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
22537 ac_hi=-1 ac_mid=-1
22538 while :; do
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long long ac__type_sizeof_;
22547 int
22548 main ()
22549 {
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22551 test_array [0] = 0
22552
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 ac_lo=$ac_mid; break
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 ac_hi=`expr '(' $ac_mid ')' - 1`
22580 if test $ac_mid -le $ac_hi; then
22581 ac_lo= ac_hi=
22582 break
22583 fi
22584 ac_mid=`expr 2 '*' $ac_mid`
22585 fi
22586
22587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22588 done
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 ac_lo= ac_hi=
22594 fi
22595
22596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 fi
22598
22599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22600 # Binary search between lo and hi bounds.
22601 while test "x$ac_lo" != "x$ac_hi"; do
22602 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22603 cat >conftest.$ac_ext <<_ACEOF
22604 /* confdefs.h. */
22605 _ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef long long ac__type_sizeof_;
22611 int
22612 main ()
22613 {
22614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22615 test_array [0] = 0
22616
22617 ;
22618 return 0;
22619 }
22620 _ACEOF
22621 rm -f conftest.$ac_objext
22622 if { (ac_try="$ac_compile"
22623 case "(($ac_try" in
22624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22625 *) ac_try_echo=$ac_try;;
22626 esac
22627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22628 (eval "$ac_compile") 2>conftest.er1
22629 ac_status=$?
22630 grep -v '^ *+' conftest.er1 >conftest.err
22631 rm -f conftest.er1
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } && {
22635 test -z "$ac_c_werror_flag" ||
22636 test ! -s conftest.err
22637 } && test -s conftest.$ac_objext; then
22638 ac_hi=$ac_mid
22639 else
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22642
22643 ac_lo=`expr '(' $ac_mid ')' + 1`
22644 fi
22645
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647 done
22648 case $ac_lo in
22649 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22650 '') if test "$ac_cv_type_long_long" = yes; then
22651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22652 See \`config.log' for more details." >&5
22653 echo "$as_me: error: cannot compute sizeof (long long)
22654 See \`config.log' for more details." >&2;}
22655 { (exit 77); exit 77; }; }
22656 else
22657 ac_cv_sizeof_long_long=0
22658 fi ;;
22659 esac
22660 else
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long long ac__type_sizeof_;
22669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22671 #include <stdio.h>
22672 #include <stdlib.h>
22673 int
22674 main ()
22675 {
22676
22677 FILE *f = fopen ("conftest.val", "w");
22678 if (! f)
22679 return 1;
22680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22681 {
22682 long int i = longval ();
22683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22684 return 1;
22685 fprintf (f, "%ld\n", i);
22686 }
22687 else
22688 {
22689 unsigned long int i = ulongval ();
22690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22691 return 1;
22692 fprintf (f, "%lu\n", i);
22693 }
22694 return ferror (f) || fclose (f) != 0;
22695
22696 ;
22697 return 0;
22698 }
22699 _ACEOF
22700 rm -f conftest$ac_exeext
22701 if { (ac_try="$ac_link"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22705 esac
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_link") 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22711 { (case "(($ac_try" in
22712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22713 *) ac_try_echo=$ac_try;;
22714 esac
22715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22716 (eval "$ac_try") 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_sizeof_long_long=`cat conftest.val`
22721 else
22722 echo "$as_me: program exited with status $ac_status" >&5
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ( exit $ac_status )
22727 if test "$ac_cv_type_long_long" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (long long)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22733 else
22734 ac_cv_sizeof_long_long=0
22735 fi
22736 fi
22737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22738 fi
22739 rm -f conftest.val
22740 fi
22741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22742 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22743
22744
22745
22746 cat >>confdefs.h <<_ACEOF
22747 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22748 _ACEOF
22749
22750
22751 if test "$ac_cv_sizeof_long_long" != 0; then
22752 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22753 fi
22754 ;;
22755 * )
22756 { echo "$as_me:$LINENO: checking for long long" >&5
22757 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22758 if test "${ac_cv_type_long_long+set}" = set; then
22759 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 else
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 $ac_includes_default
22768 typedef long long ac__type_new_;
22769 int
22770 main ()
22771 {
22772 if ((ac__type_new_ *) 0)
22773 return 0;
22774 if (sizeof (ac__type_new_))
22775 return 0;
22776 ;
22777 return 0;
22778 }
22779 _ACEOF
22780 rm -f conftest.$ac_objext
22781 if { (ac_try="$ac_compile"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22785 esac
22786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_compile") 2>conftest.er1
22788 ac_status=$?
22789 grep -v '^ *+' conftest.er1 >conftest.err
22790 rm -f conftest.er1
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && {
22794 test -z "$ac_c_werror_flag" ||
22795 test ! -s conftest.err
22796 } && test -s conftest.$ac_objext; then
22797 ac_cv_type_long_long=yes
22798 else
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22801
22802 ac_cv_type_long_long=no
22803 fi
22804
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 fi
22807 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22808 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22809
22810 # The cast to long int works around a bug in the HP C Compiler
22811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22813 # This bug is HP SR number 8606223364.
22814 { echo "$as_me:$LINENO: checking size of long long" >&5
22815 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22816 if test "${ac_cv_sizeof_long_long+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22818 else
22819 if test "$cross_compiling" = yes; then
22820 # Depending upon the size, compute the lo and hi bounds.
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef long long ac__type_sizeof_;
22829 int
22830 main ()
22831 {
22832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22833 test_array [0] = 0
22834
22835 ;
22836 return 0;
22837 }
22838 _ACEOF
22839 rm -f conftest.$ac_objext
22840 if { (ac_try="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22844 esac
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22856 ac_lo=0 ac_mid=0
22857 while :; do
22858 cat >conftest.$ac_ext <<_ACEOF
22859 /* confdefs.h. */
22860 _ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 $ac_includes_default
22865 typedef long long ac__type_sizeof_;
22866 int
22867 main ()
22868 {
22869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22870 test_array [0] = 0
22871
22872 ;
22873 return 0;
22874 }
22875 _ACEOF
22876 rm -f conftest.$ac_objext
22877 if { (ac_try="$ac_compile"
22878 case "(($ac_try" in
22879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22880 *) ac_try_echo=$ac_try;;
22881 esac
22882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22883 (eval "$ac_compile") 2>conftest.er1
22884 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } && {
22890 test -z "$ac_c_werror_flag" ||
22891 test ! -s conftest.err
22892 } && test -s conftest.$ac_objext; then
22893 ac_hi=$ac_mid; break
22894 else
22895 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5
22897
22898 ac_lo=`expr $ac_mid + 1`
22899 if test $ac_lo -le $ac_mid; then
22900 ac_lo= ac_hi=
22901 break
22902 fi
22903 ac_mid=`expr 2 '*' $ac_mid + 1`
22904 fi
22905
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 done
22908 else
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.$ac_ext >&5
22911
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 $ac_includes_default
22919 typedef long long ac__type_sizeof_;
22920 int
22921 main ()
22922 {
22923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22924 test_array [0] = 0
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 ac_hi=-1 ac_mid=-1
22948 while :; do
22949 cat >conftest.$ac_ext <<_ACEOF
22950 /* confdefs.h. */
22951 _ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 typedef long long ac__type_sizeof_;
22957 int
22958 main ()
22959 {
22960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22961 test_array [0] = 0
22962
22963 ;
22964 return 0;
22965 }
22966 _ACEOF
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22975 ac_status=$?
22976 grep -v '^ *+' conftest.er1 >conftest.err
22977 rm -f conftest.er1
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest.$ac_objext; then
22984 ac_lo=$ac_mid; break
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_hi=`expr '(' $ac_mid ')' - 1`
22990 if test $ac_mid -le $ac_hi; then
22991 ac_lo= ac_hi=
22992 break
22993 fi
22994 ac_mid=`expr 2 '*' $ac_mid`
22995 fi
22996
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 done
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 ac_lo= ac_hi=
23004 fi
23005
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 fi
23008
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 # Binary search between lo and hi bounds.
23011 while test "x$ac_lo" != "x$ac_hi"; do
23012 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23013 cat >conftest.$ac_ext <<_ACEOF
23014 /* confdefs.h. */
23015 _ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 $ac_includes_default
23020 typedef long long ac__type_sizeof_;
23021 int
23022 main ()
23023 {
23024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23025 test_array [0] = 0
23026
23027 ;
23028 return 0;
23029 }
23030 _ACEOF
23031 rm -f conftest.$ac_objext
23032 if { (ac_try="$ac_compile"
23033 case "(($ac_try" in
23034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23035 *) ac_try_echo=$ac_try;;
23036 esac
23037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23038 (eval "$ac_compile") 2>conftest.er1
23039 ac_status=$?
23040 grep -v '^ *+' conftest.er1 >conftest.err
23041 rm -f conftest.er1
23042 cat conftest.err >&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } && {
23045 test -z "$ac_c_werror_flag" ||
23046 test ! -s conftest.err
23047 } && test -s conftest.$ac_objext; then
23048 ac_hi=$ac_mid
23049 else
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23052
23053 ac_lo=`expr '(' $ac_mid ')' + 1`
23054 fi
23055
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23057 done
23058 case $ac_lo in
23059 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23060 '') if test "$ac_cv_type_long_long" = yes; then
23061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23062 See \`config.log' for more details." >&5
23063 echo "$as_me: error: cannot compute sizeof (long long)
23064 See \`config.log' for more details." >&2;}
23065 { (exit 77); exit 77; }; }
23066 else
23067 ac_cv_sizeof_long_long=0
23068 fi ;;
23069 esac
23070 else
23071 cat >conftest.$ac_ext <<_ACEOF
23072 /* confdefs.h. */
23073 _ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 $ac_includes_default
23078 typedef long long ac__type_sizeof_;
23079 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23080 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23081 #include <stdio.h>
23082 #include <stdlib.h>
23083 int
23084 main ()
23085 {
23086
23087 FILE *f = fopen ("conftest.val", "w");
23088 if (! f)
23089 return 1;
23090 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23091 {
23092 long int i = longval ();
23093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23094 return 1;
23095 fprintf (f, "%ld\n", i);
23096 }
23097 else
23098 {
23099 unsigned long int i = ulongval ();
23100 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23101 return 1;
23102 fprintf (f, "%lu\n", i);
23103 }
23104 return ferror (f) || fclose (f) != 0;
23105
23106 ;
23107 return 0;
23108 }
23109 _ACEOF
23110 rm -f conftest$ac_exeext
23111 if { (ac_try="$ac_link"
23112 case "(($ac_try" in
23113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23115 esac
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_link") 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123 *) ac_try_echo=$ac_try;;
23124 esac
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; }; then
23130 ac_cv_sizeof_long_long=`cat conftest.val`
23131 else
23132 echo "$as_me: program exited with status $ac_status" >&5
23133 echo "$as_me: failed program was:" >&5
23134 sed 's/^/| /' conftest.$ac_ext >&5
23135
23136 ( exit $ac_status )
23137 if test "$ac_cv_type_long_long" = yes; then
23138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23139 See \`config.log' for more details." >&5
23140 echo "$as_me: error: cannot compute sizeof (long long)
23141 See \`config.log' for more details." >&2;}
23142 { (exit 77); exit 77; }; }
23143 else
23144 ac_cv_sizeof_long_long=0
23145 fi
23146 fi
23147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23148 fi
23149 rm -f conftest.val
23150 fi
23151 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23152 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23153
23154
23155
23156 cat >>confdefs.h <<_ACEOF
23157 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23158 _ACEOF
23159
23160
23161 esac
23162
23163 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23164 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23165 if test "${ac_cv_type_wchar_t+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 else
23168 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174
23175 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23176 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23177 # error "fake wchar_t"
23178 #endif
23179 #ifdef HAVE_WCHAR_H
23180 # ifdef __CYGWIN__
23181 # include <stddef.h>
23182 # endif
23183 # include <wchar.h>
23184 #endif
23185 #ifdef HAVE_STDLIB_H
23186 # include <stdlib.h>
23187 #endif
23188 #include <stdio.h>
23189
23190
23191
23192 typedef wchar_t ac__type_new_;
23193 int
23194 main ()
23195 {
23196 if ((ac__type_new_ *) 0)
23197 return 0;
23198 if (sizeof (ac__type_new_))
23199 return 0;
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext
23205 if { (ac_try="$ac_compile"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_compile") 2>conftest.er1
23212 ac_status=$?
23213 grep -v '^ *+' conftest.er1 >conftest.err
23214 rm -f conftest.er1
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } && {
23218 test -z "$ac_c_werror_flag" ||
23219 test ! -s conftest.err
23220 } && test -s conftest.$ac_objext; then
23221 ac_cv_type_wchar_t=yes
23222 else
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.$ac_ext >&5
23225
23226 ac_cv_type_wchar_t=no
23227 fi
23228
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 fi
23231 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23232 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23233
23234 # The cast to long int works around a bug in the HP C Compiler
23235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23237 # This bug is HP SR number 8606223364.
23238 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23239 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23240 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 else
23243 if test "$cross_compiling" = yes; then
23244 # Depending upon the size, compute the lo and hi bounds.
23245 cat >conftest.$ac_ext <<_ACEOF
23246 /* confdefs.h. */
23247 _ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251
23252 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23254 # error "fake wchar_t"
23255 #endif
23256 #ifdef HAVE_WCHAR_H
23257 # ifdef __CYGWIN__
23258 # include <stddef.h>
23259 # endif
23260 # include <wchar.h>
23261 #endif
23262 #ifdef HAVE_STDLIB_H
23263 # include <stdlib.h>
23264 #endif
23265 #include <stdio.h>
23266
23267
23268
23269 typedef wchar_t ac__type_sizeof_;
23270 int
23271 main ()
23272 {
23273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23274 test_array [0] = 0
23275
23276 ;
23277 return 0;
23278 }
23279 _ACEOF
23280 rm -f conftest.$ac_objext
23281 if { (ac_try="$ac_compile"
23282 case "(($ac_try" in
23283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23284 *) ac_try_echo=$ac_try;;
23285 esac
23286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23287 (eval "$ac_compile") 2>conftest.er1
23288 ac_status=$?
23289 grep -v '^ *+' conftest.er1 >conftest.err
23290 rm -f conftest.er1
23291 cat conftest.err >&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } && {
23294 test -z "$ac_c_werror_flag" ||
23295 test ! -s conftest.err
23296 } && test -s conftest.$ac_objext; then
23297 ac_lo=0 ac_mid=0
23298 while :; do
23299 cat >conftest.$ac_ext <<_ACEOF
23300 /* confdefs.h. */
23301 _ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23305
23306 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23307 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23308 # error "fake wchar_t"
23309 #endif
23310 #ifdef HAVE_WCHAR_H
23311 # ifdef __CYGWIN__
23312 # include <stddef.h>
23313 # endif
23314 # include <wchar.h>
23315 #endif
23316 #ifdef HAVE_STDLIB_H
23317 # include <stdlib.h>
23318 #endif
23319 #include <stdio.h>
23320
23321
23322
23323 typedef wchar_t ac__type_sizeof_;
23324 int
23325 main ()
23326 {
23327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23328 test_array [0] = 0
23329
23330 ;
23331 return 0;
23332 }
23333 _ACEOF
23334 rm -f conftest.$ac_objext
23335 if { (ac_try="$ac_compile"
23336 case "(($ac_try" in
23337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23338 *) ac_try_echo=$ac_try;;
23339 esac
23340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23341 (eval "$ac_compile") 2>conftest.er1
23342 ac_status=$?
23343 grep -v '^ *+' conftest.er1 >conftest.err
23344 rm -f conftest.er1
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } && {
23348 test -z "$ac_c_werror_flag" ||
23349 test ! -s conftest.err
23350 } && test -s conftest.$ac_objext; then
23351 ac_hi=$ac_mid; break
23352 else
23353 echo "$as_me: failed program was:" >&5
23354 sed 's/^/| /' conftest.$ac_ext >&5
23355
23356 ac_lo=`expr $ac_mid + 1`
23357 if test $ac_lo -le $ac_mid; then
23358 ac_lo= ac_hi=
23359 break
23360 fi
23361 ac_mid=`expr 2 '*' $ac_mid + 1`
23362 fi
23363
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365 done
23366 else
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.$ac_ext >&5
23369
23370 cat >conftest.$ac_ext <<_ACEOF
23371 /* confdefs.h. */
23372 _ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376
23377 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23378 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23379 # error "fake wchar_t"
23380 #endif
23381 #ifdef HAVE_WCHAR_H
23382 # ifdef __CYGWIN__
23383 # include <stddef.h>
23384 # endif
23385 # include <wchar.h>
23386 #endif
23387 #ifdef HAVE_STDLIB_H
23388 # include <stdlib.h>
23389 #endif
23390 #include <stdio.h>
23391
23392
23393
23394 typedef wchar_t ac__type_sizeof_;
23395 int
23396 main ()
23397 {
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23399 test_array [0] = 0
23400
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23422 ac_hi=-1 ac_mid=-1
23423 while :; do
23424 cat >conftest.$ac_ext <<_ACEOF
23425 /* confdefs.h. */
23426 _ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23430
23431 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23432 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23433 # error "fake wchar_t"
23434 #endif
23435 #ifdef HAVE_WCHAR_H
23436 # ifdef __CYGWIN__
23437 # include <stddef.h>
23438 # endif
23439 # include <wchar.h>
23440 #endif
23441 #ifdef HAVE_STDLIB_H
23442 # include <stdlib.h>
23443 #endif
23444 #include <stdio.h>
23445
23446
23447
23448 typedef wchar_t ac__type_sizeof_;
23449 int
23450 main ()
23451 {
23452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23453 test_array [0] = 0
23454
23455 ;
23456 return 0;
23457 }
23458 _ACEOF
23459 rm -f conftest.$ac_objext
23460 if { (ac_try="$ac_compile"
23461 case "(($ac_try" in
23462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23463 *) ac_try_echo=$ac_try;;
23464 esac
23465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466 (eval "$ac_compile") 2>conftest.er1
23467 ac_status=$?
23468 grep -v '^ *+' conftest.er1 >conftest.err
23469 rm -f conftest.er1
23470 cat conftest.err >&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } && {
23473 test -z "$ac_c_werror_flag" ||
23474 test ! -s conftest.err
23475 } && test -s conftest.$ac_objext; then
23476 ac_lo=$ac_mid; break
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481 ac_hi=`expr '(' $ac_mid ')' - 1`
23482 if test $ac_mid -le $ac_hi; then
23483 ac_lo= ac_hi=
23484 break
23485 fi
23486 ac_mid=`expr 2 '*' $ac_mid`
23487 fi
23488
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 done
23491 else
23492 echo "$as_me: failed program was:" >&5
23493 sed 's/^/| /' conftest.$ac_ext >&5
23494
23495 ac_lo= ac_hi=
23496 fi
23497
23498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23499 fi
23500
23501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23502 # Binary search between lo and hi bounds.
23503 while test "x$ac_lo" != "x$ac_hi"; do
23504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23505 cat >conftest.$ac_ext <<_ACEOF
23506 /* confdefs.h. */
23507 _ACEOF
23508 cat confdefs.h >>conftest.$ac_ext
23509 cat >>conftest.$ac_ext <<_ACEOF
23510 /* end confdefs.h. */
23511
23512 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23513 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23514 # error "fake wchar_t"
23515 #endif
23516 #ifdef HAVE_WCHAR_H
23517 # ifdef __CYGWIN__
23518 # include <stddef.h>
23519 # endif
23520 # include <wchar.h>
23521 #endif
23522 #ifdef HAVE_STDLIB_H
23523 # include <stdlib.h>
23524 #endif
23525 #include <stdio.h>
23526
23527
23528
23529 typedef wchar_t ac__type_sizeof_;
23530 int
23531 main ()
23532 {
23533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23534 test_array [0] = 0
23535
23536 ;
23537 return 0;
23538 }
23539 _ACEOF
23540 rm -f conftest.$ac_objext
23541 if { (ac_try="$ac_compile"
23542 case "(($ac_try" in
23543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23545 esac
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_compile") 2>conftest.er1
23548 ac_status=$?
23549 grep -v '^ *+' conftest.er1 >conftest.err
23550 rm -f conftest.er1
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } && {
23554 test -z "$ac_c_werror_flag" ||
23555 test ! -s conftest.err
23556 } && test -s conftest.$ac_objext; then
23557 ac_hi=$ac_mid
23558 else
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.$ac_ext >&5
23561
23562 ac_lo=`expr '(' $ac_mid ')' + 1`
23563 fi
23564
23565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23566 done
23567 case $ac_lo in
23568 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23569 '') if test "$ac_cv_type_wchar_t" = yes; then
23570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23571 See \`config.log' for more details." >&5
23572 echo "$as_me: error: cannot compute sizeof (wchar_t)
23573 See \`config.log' for more details." >&2;}
23574 { (exit 77); exit 77; }; }
23575 else
23576 ac_cv_sizeof_wchar_t=0
23577 fi ;;
23578 esac
23579 else
23580 cat >conftest.$ac_ext <<_ACEOF
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586
23587 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23588 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23589 # error "fake wchar_t"
23590 #endif
23591 #ifdef HAVE_WCHAR_H
23592 # ifdef __CYGWIN__
23593 # include <stddef.h>
23594 # endif
23595 # include <wchar.h>
23596 #endif
23597 #ifdef HAVE_STDLIB_H
23598 # include <stdlib.h>
23599 #endif
23600 #include <stdio.h>
23601
23602
23603
23604 typedef wchar_t ac__type_sizeof_;
23605 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23606 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23607 #include <stdio.h>
23608 #include <stdlib.h>
23609 int
23610 main ()
23611 {
23612
23613 FILE *f = fopen ("conftest.val", "w");
23614 if (! f)
23615 return 1;
23616 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23617 {
23618 long int i = longval ();
23619 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23620 return 1;
23621 fprintf (f, "%ld\n", i);
23622 }
23623 else
23624 {
23625 unsigned long int i = ulongval ();
23626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23627 return 1;
23628 fprintf (f, "%lu\n", i);
23629 }
23630 return ferror (f) || fclose (f) != 0;
23631
23632 ;
23633 return 0;
23634 }
23635 _ACEOF
23636 rm -f conftest$ac_exeext
23637 if { (ac_try="$ac_link"
23638 case "(($ac_try" in
23639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23640 *) ac_try_echo=$ac_try;;
23641 esac
23642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23643 (eval "$ac_link") 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23647 { (case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23650 esac
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_try") 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 ac_cv_sizeof_wchar_t=`cat conftest.val`
23657 else
23658 echo "$as_me: program exited with status $ac_status" >&5
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23661
23662 ( exit $ac_status )
23663 if test "$ac_cv_type_wchar_t" = yes; then
23664 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23665 See \`config.log' for more details." >&5
23666 echo "$as_me: error: cannot compute sizeof (wchar_t)
23667 See \`config.log' for more details." >&2;}
23668 { (exit 77); exit 77; }; }
23669 else
23670 ac_cv_sizeof_wchar_t=0
23671 fi
23672 fi
23673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23674 fi
23675 rm -f conftest.val
23676 fi
23677 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23678 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23679
23680
23681
23682 cat >>confdefs.h <<_ACEOF
23683 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23684 _ACEOF
23685
23686
23687 if test "$ac_cv_sizeof_wchar_t" != 0; then
23688 wxUSE_WCHAR_T=yes
23689 else
23690 wxUSE_WCHAR_T=no
23691 fi
23692
23693 { echo "$as_me:$LINENO: checking for va_copy" >&5
23694 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23695 if test "${wx_cv_func_va_copy+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 else
23698
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704
23705 cat >conftest.$ac_ext <<_ACEOF
23706
23707 #include <stdarg.h>
23708 void foo(char *f, ...)
23709 {
23710 va_list ap1, ap2;
23711 va_start(ap1, f);
23712 va_copy(ap2, ap1);
23713 va_end(ap2);
23714 va_end(ap1);
23715 }
23716 int main()
23717 {
23718 foo("hi", 17);
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest.$ac_objext conftest$ac_exeext
23723 if { (ac_try="$ac_link"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_link") 2>conftest.er1
23730 ac_status=$?
23731 grep -v '^ *+' conftest.er1 >conftest.err
23732 rm -f conftest.er1
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_cxx_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest$ac_exeext &&
23739 $as_test_x conftest$ac_exeext; then
23740 wx_cv_func_va_copy=yes
23741 else
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.$ac_ext >&5
23744
23745 wx_cv_func_va_copy=no
23746
23747 fi
23748
23749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23750 conftest$ac_exeext conftest.$ac_ext
23751 ac_ext=c
23752 ac_cpp='$CPP $CPPFLAGS'
23753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23756
23757
23758
23759 fi
23760 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23761 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23762
23763 if test $wx_cv_func_va_copy = "yes"; then
23764 cat >>confdefs.h <<\_ACEOF
23765 #define HAVE_VA_COPY 1
23766 _ACEOF
23767
23768 else
23769 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23770 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23771 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 else
23774
23775 if test "$cross_compiling" = yes; then
23776 wx_cv_type_va_list_lvalue=yes
23777
23778 else
23779 cat >conftest.$ac_ext <<_ACEOF
23780
23781 #include <stdarg.h>
23782 int foo(char *f, ...)
23783 {
23784 va_list ap1, ap2;
23785 va_start(ap1, f);
23786 ap2 = ap1;
23787 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23788 return 1;
23789 va_end(ap2);
23790 va_end(ap1);
23791 return 0;
23792 }
23793 int main()
23794 {
23795 return foo("hi", 17);
23796 }
23797 _ACEOF
23798 rm -f conftest$ac_exeext
23799 if { (ac_try="$ac_link"
23800 case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23803 esac
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_link") 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23809 { (case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23812 esac
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_try") 2>&5
23815 ac_status=$?
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; }; then
23818 wx_cv_type_va_list_lvalue=yes
23819 else
23820 echo "$as_me: program exited with status $ac_status" >&5
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 ( exit $ac_status )
23825 wx_cv_type_va_list_lvalue=no
23826 fi
23827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23828 fi
23829
23830
23831
23832
23833 fi
23834 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23835 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23836
23837 if test $wx_cv_type_va_list_lvalue != "yes"; then
23838 cat >>confdefs.h <<\_ACEOF
23839 #define VA_LIST_IS_ARRAY 1
23840 _ACEOF
23841
23842 fi
23843 fi
23844
23845 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23846
23847 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23848 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23849 if test "${wx_cv_have_variadic_macros+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23852
23853 ac_ext=cpp
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858
23859 cat >conftest.$ac_ext <<_ACEOF
23860 /* confdefs.h. */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865
23866 #include <stdio.h>
23867 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23868
23869 int
23870 main ()
23871 {
23872
23873 test("%s %d %p", "test", 1, 0);
23874
23875
23876 ;
23877 return 0;
23878 }
23879 _ACEOF
23880 rm -f conftest.$ac_objext
23881 if { (ac_try="$ac_compile"
23882 case "(($ac_try" in
23883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23884 *) ac_try_echo=$ac_try;;
23885 esac
23886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23887 (eval "$ac_compile") 2>conftest.er1
23888 ac_status=$?
23889 grep -v '^ *+' conftest.er1 >conftest.err
23890 rm -f conftest.er1
23891 cat conftest.err >&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } && {
23894 test -z "$ac_cxx_werror_flag" ||
23895 test ! -s conftest.err
23896 } && test -s conftest.$ac_objext; then
23897 wx_cv_have_variadic_macros=yes
23898 else
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.$ac_ext >&5
23901
23902 wx_cv_have_variadic_macros=no
23903
23904 fi
23905
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23907 ac_ext=c
23908 ac_cpp='$CPP $CPPFLAGS'
23909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912
23913
23914
23915 fi
23916 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23917 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23918
23919 if test $wx_cv_have_variadic_macros = "yes"; then
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_VARIADIC_MACROS 1
23922 _ACEOF
23923
23924 fi
23925
23926 fi
23927
23928 LARGEFILE_CPPFLAGS=
23929 # Check whether --enable-largefile was given.
23930 if test "${enable_largefile+set}" = set; then
23931 enableval=$enable_largefile;
23932 fi
23933
23934 if test "$enable_largefile" != no; then
23935 wx_largefile=no
23936
23937 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23938 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23939 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 else
23942
23943 cat >conftest.$ac_ext <<_ACEOF
23944 /* confdefs.h. */
23945 _ACEOF
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23949 #define _FILE_OFFSET_BITS 64
23950 #include <sys/types.h>
23951 int
23952 main ()
23953 {
23954 typedef struct {
23955 unsigned int field: sizeof(off_t) == 8;
23956 } wxlf;
23957
23958 ;
23959 return 0;
23960 }
23961 _ACEOF
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23967 esac
23968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23970 ac_status=$?
23971 grep -v '^ *+' conftest.er1 >conftest.err
23972 rm -f conftest.er1
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_c_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23979 ac_cv_sys_file_offset_bits=64
23980 else
23981 echo "$as_me: failed program was:" >&5
23982 sed 's/^/| /' conftest.$ac_ext >&5
23983
23984 ac_cv_sys_file_offset_bits=no
23985 fi
23986
23987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23988
23989
23990 fi
23991 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23992 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23993
23994 if test "$ac_cv_sys_file_offset_bits" != no; then
23995 wx_largefile=yes
23996 cat >>confdefs.h <<_ACEOF
23997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23998 _ACEOF
23999
24000 fi
24001
24002 if test "x$wx_largefile" != "xyes"; then
24003
24004 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24005 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24006 if test "${ac_cv_sys_large_files+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 else
24009
24010 cat >conftest.$ac_ext <<_ACEOF
24011 /* confdefs.h. */
24012 _ACEOF
24013 cat confdefs.h >>conftest.$ac_ext
24014 cat >>conftest.$ac_ext <<_ACEOF
24015 /* end confdefs.h. */
24016 #define _LARGE_FILES 1
24017 #include <sys/types.h>
24018 int
24019 main ()
24020 {
24021 typedef struct {
24022 unsigned int field: sizeof(off_t) == 8;
24023 } wxlf;
24024
24025 ;
24026 return 0;
24027 }
24028 _ACEOF
24029 rm -f conftest.$ac_objext
24030 if { (ac_try="$ac_compile"
24031 case "(($ac_try" in
24032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033 *) ac_try_echo=$ac_try;;
24034 esac
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_compile") 2>conftest.er1
24037 ac_status=$?
24038 grep -v '^ *+' conftest.er1 >conftest.err
24039 rm -f conftest.er1
24040 cat conftest.err >&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } && {
24043 test -z "$ac_c_werror_flag" ||
24044 test ! -s conftest.err
24045 } && test -s conftest.$ac_objext; then
24046 ac_cv_sys_large_files=1
24047 else
24048 echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24050
24051 ac_cv_sys_large_files=no
24052 fi
24053
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055
24056
24057 fi
24058 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24059 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24060
24061 if test "$ac_cv_sys_large_files" != no; then
24062 wx_largefile=yes
24063 cat >>confdefs.h <<_ACEOF
24064 #define _LARGE_FILES $ac_cv_sys_large_files
24065 _ACEOF
24066
24067 fi
24068
24069 fi
24070
24071 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24072 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24073 if test "x$wx_largefile" = "xyes"; then
24074 cat >>confdefs.h <<\_ACEOF
24075 #define HAVE_LARGEFILE_SUPPORT 1
24076 _ACEOF
24077
24078 fi
24079 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24080 echo "${ECHO_T}$wx_largefile" >&6; }
24081 fi
24082
24083 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24084 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24085 elif test "$ac_cv_sys_large_files" = 1; then
24086 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24087 fi
24088
24089 if test -n "$LARGEFILE_CPPFLAGS"; then
24090 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24091
24092 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24093 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24094 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24095 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 else
24098
24099 ac_ext=cpp
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24104
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111
24112 int
24113 main ()
24114 {
24115
24116 #ifndef __STDC_EXT__
24117 choke me
24118 #endif
24119
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 rm -f conftest.$ac_objext
24125 if { (ac_try="$ac_compile"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24129 esac
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24132 ac_status=$?
24133 grep -v '^ *+' conftest.er1 >conftest.err
24134 rm -f conftest.er1
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24141 wx_cv_STDC_EXT_required=no
24142 else
24143 echo "$as_me: failed program was:" >&5
24144 sed 's/^/| /' conftest.$ac_ext >&5
24145
24146 wx_cv_STDC_EXT_required=yes
24147
24148 fi
24149
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156
24157
24158
24159 fi
24160 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24161 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24162 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24163 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24164 fi
24165 fi
24166 fi
24167
24168 ac_ext=cpp
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24173
24174 old_CPPFLAGS="$CPPFLAGS"
24175 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24176 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24177 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24178 if test "${ac_cv_sys_largefile_source+set}" = set; then
24179 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 else
24181 while :; do
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <sys/types.h> /* for off_t */
24189 #include <stdio.h>
24190 int
24191 main ()
24192 {
24193 int (*fp) (FILE *, off_t, int) = fseeko;
24194 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24195 ;
24196 return 0;
24197 }
24198 _ACEOF
24199 rm -f conftest.$ac_objext conftest$ac_exeext
24200 if { (ac_try="$ac_link"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24204 esac
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_link") 2>conftest.er1
24207 ac_status=$?
24208 grep -v '^ *+' conftest.er1 >conftest.err
24209 rm -f conftest.er1
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_cxx_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest$ac_exeext &&
24216 $as_test_x conftest$ac_exeext; then
24217 ac_cv_sys_largefile_source=no; break
24218 else
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222
24223 fi
24224
24225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24226 conftest$ac_exeext conftest.$ac_ext
24227 cat >conftest.$ac_ext <<_ACEOF
24228 /* confdefs.h. */
24229 _ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 #define _LARGEFILE_SOURCE 1
24234 #include <sys/types.h> /* for off_t */
24235 #include <stdio.h>
24236 int
24237 main ()
24238 {
24239 int (*fp) (FILE *, off_t, int) = fseeko;
24240 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24241 ;
24242 return 0;
24243 }
24244 _ACEOF
24245 rm -f conftest.$ac_objext conftest$ac_exeext
24246 if { (ac_try="$ac_link"
24247 case "(($ac_try" in
24248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24249 *) ac_try_echo=$ac_try;;
24250 esac
24251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24252 (eval "$ac_link") 2>conftest.er1
24253 ac_status=$?
24254 grep -v '^ *+' conftest.er1 >conftest.err
24255 rm -f conftest.er1
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && {
24259 test -z "$ac_cxx_werror_flag" ||
24260 test ! -s conftest.err
24261 } && test -s conftest$ac_exeext &&
24262 $as_test_x conftest$ac_exeext; then
24263 ac_cv_sys_largefile_source=1; break
24264 else
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.$ac_ext >&5
24267
24268
24269 fi
24270
24271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24272 conftest$ac_exeext conftest.$ac_ext
24273 ac_cv_sys_largefile_source=unknown
24274 break
24275 done
24276 fi
24277 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24278 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24279 case $ac_cv_sys_largefile_source in #(
24280 no | unknown) ;;
24281 *)
24282 cat >>confdefs.h <<_ACEOF
24283 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24284 _ACEOF
24285 ;;
24286 esac
24287 rm -f conftest*
24288
24289 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24290 # in glibc 2.1.3, but that breaks too many other things.
24291 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24292 if test $ac_cv_sys_largefile_source != unknown; then
24293
24294 cat >>confdefs.h <<\_ACEOF
24295 #define HAVE_FSEEKO 1
24296 _ACEOF
24297
24298 fi
24299
24300 CPPFLAGS="$old_CPPFLAGS"
24301 ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24306
24307 if test "$ac_cv_sys_largefile_source" != no; then
24308 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24309 fi
24310
24311 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24312 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24313 if test "${ac_cv_c_bigendian+set}" = set; then
24314 echo $ECHO_N "(cached) $ECHO_C" >&6
24315 else
24316 ac_cv_c_bigendian=unknown
24317 # See if sys/param.h defines the BYTE_ORDER macro.
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #include <sys/types.h>
24325 #include <sys/param.h>
24326 int
24327 main ()
24328 {
24329
24330 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24331 bogus endian macros
24332 #endif
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 rm -f conftest.$ac_objext
24338 if { (ac_try="$ac_compile"
24339 case "(($ac_try" in
24340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24341 *) ac_try_echo=$ac_try;;
24342 esac
24343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24344 (eval "$ac_compile") 2>conftest.er1
24345 ac_status=$?
24346 grep -v '^ *+' conftest.er1 >conftest.err
24347 rm -f conftest.er1
24348 cat conftest.err >&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } && {
24351 test -z "$ac_c_werror_flag" ||
24352 test ! -s conftest.err
24353 } && test -s conftest.$ac_objext; then
24354 # It does; now see whether it defined to BIG_ENDIAN or not.
24355 cat >conftest.$ac_ext <<_ACEOF
24356 /* confdefs.h. */
24357 _ACEOF
24358 cat confdefs.h >>conftest.$ac_ext
24359 cat >>conftest.$ac_ext <<_ACEOF
24360 /* end confdefs.h. */
24361 #include <sys/types.h>
24362 #include <sys/param.h>
24363 int
24364 main ()
24365 {
24366
24367 #if BYTE_ORDER != BIG_ENDIAN
24368 not big endian
24369 #endif
24370 ;
24371 return 0;
24372 }
24373 _ACEOF
24374 rm -f conftest.$ac_objext
24375 if { (ac_try="$ac_compile"
24376 case "(($ac_try" in
24377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24378 *) ac_try_echo=$ac_try;;
24379 esac
24380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24381 (eval "$ac_compile") 2>conftest.er1
24382 ac_status=$?
24383 grep -v '^ *+' conftest.er1 >conftest.err
24384 rm -f conftest.er1
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } && {
24388 test -z "$ac_c_werror_flag" ||
24389 test ! -s conftest.err
24390 } && test -s conftest.$ac_objext; then
24391 ac_cv_c_bigendian=yes
24392 else
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24395
24396 ac_cv_c_bigendian=no
24397 fi
24398
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 else
24401 echo "$as_me: failed program was:" >&5
24402 sed 's/^/| /' conftest.$ac_ext >&5
24403
24404
24405 fi
24406
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 if test $ac_cv_c_bigendian = unknown; then
24409 if test "$cross_compiling" = yes; then
24410 ac_cv_c_bigendian=unknown
24411 else
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h. */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 main () {
24419 /* Are we little or big endian? From Harbison&Steele. */
24420 union
24421 {
24422 long l;
24423 char c[sizeof (long)];
24424 } u;
24425 u.l = 1;
24426 exit (u.c[sizeof (long) - 1] == 1);
24427 }
24428 _ACEOF
24429 rm -f conftest$ac_exeext
24430 if { (ac_try="$ac_link"
24431 case "(($ac_try" in
24432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24433 *) ac_try_echo=$ac_try;;
24434 esac
24435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24436 (eval "$ac_link") 2>&5
24437 ac_status=$?
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24440 { (case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24442 *) ac_try_echo=$ac_try;;
24443 esac
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_try") 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_cv_c_bigendian=no
24450 else
24451 echo "$as_me: program exited with status $ac_status" >&5
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24454
24455 ( exit $ac_status )
24456 ac_cv_c_bigendian=yes
24457 fi
24458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24459 fi
24460
24461
24462 fi
24463 fi
24464 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24465 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24466 if test $ac_cv_c_bigendian = unknown; then
24467 { 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
24468 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;}
24469 fi
24470 if test $ac_cv_c_bigendian = yes; then
24471 cat >>confdefs.h <<\_ACEOF
24472 #define WORDS_BIGENDIAN 1
24473 _ACEOF
24474
24475 fi
24476
24477
24478
24479
24480 ac_ext=cpp
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24485
24486
24487
24488 for ac_header in iostream
24489 do
24490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24495 else
24496 cat >conftest.$ac_ext <<_ACEOF
24497 /* confdefs.h. */
24498 _ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502
24503
24504 #include <$ac_header>
24505 _ACEOF
24506 rm -f conftest.$ac_objext
24507 if { (ac_try="$ac_compile"
24508 case "(($ac_try" in
24509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24510 *) ac_try_echo=$ac_try;;
24511 esac
24512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24513 (eval "$ac_compile") 2>conftest.er1
24514 ac_status=$?
24515 grep -v '^ *+' conftest.er1 >conftest.err
24516 rm -f conftest.er1
24517 cat conftest.err >&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } && {
24520 test -z "$ac_cxx_werror_flag" ||
24521 test ! -s conftest.err
24522 } && test -s conftest.$ac_objext; then
24523 eval "$as_ac_Header=yes"
24524 else
24525 echo "$as_me: failed program was:" >&5
24526 sed 's/^/| /' conftest.$ac_ext >&5
24527
24528 eval "$as_ac_Header=no"
24529 fi
24530
24531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24532 fi
24533 ac_res=`eval echo '${'$as_ac_Header'}'`
24534 { echo "$as_me:$LINENO: result: $ac_res" >&5
24535 echo "${ECHO_T}$ac_res" >&6; }
24536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24537 cat >>confdefs.h <<_ACEOF
24538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24539 _ACEOF
24540
24541 fi
24542
24543 done
24544
24545
24546 if test "$ac_cv_header_iostream" = "yes" ; then
24547 :
24548 else
24549 cat >>confdefs.h <<\_ACEOF
24550 #define wxUSE_IOSTREAMH 1
24551 _ACEOF
24552
24553 fi
24554
24555 ac_ext=c
24556 ac_cpp='$CPP $CPPFLAGS'
24557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24560
24561
24562
24563
24564 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24565 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24566 if test "${wx_cv_explicit+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 else
24569
24570
24571 ac_ext=cpp
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24576
24577
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584
24585 class Foo { public: explicit Foo(int) {} };
24586
24587 int
24588 main ()
24589 {
24590
24591 return 0;
24592
24593 ;
24594 return 0;
24595 }
24596 _ACEOF
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24602 esac
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24605 ac_status=$?
24606 grep -v '^ *+' conftest.er1 >conftest.err
24607 rm -f conftest.er1
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_cxx_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614
24615 cat >conftest.$ac_ext <<_ACEOF
24616 /* confdefs.h. */
24617 _ACEOF
24618 cat confdefs.h >>conftest.$ac_ext
24619 cat >>conftest.$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24621
24622 class Foo { public: explicit Foo(int) {} };
24623 static void TakeFoo(const Foo& foo) { }
24624
24625 int
24626 main ()
24627 {
24628
24629 TakeFoo(17);
24630 return 0;
24631
24632 ;
24633 return 0;
24634 }
24635 _ACEOF
24636 rm -f conftest.$ac_objext
24637 if { (ac_try="$ac_compile"
24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_compile") 2>conftest.er1
24644 ac_status=$?
24645 grep -v '^ *+' conftest.er1 >conftest.err
24646 rm -f conftest.er1
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_cxx_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest.$ac_objext; then
24653 wx_cv_explicit=no
24654 else
24655 echo "$as_me: failed program was:" >&5
24656 sed 's/^/| /' conftest.$ac_ext >&5
24657
24658 wx_cv_explicit=yes
24659
24660 fi
24661
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663
24664 else
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24667
24668 wx_cv_explicit=no
24669
24670 fi
24671
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679
24680
24681 fi
24682 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24683 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24684
24685 if test "$wx_cv_explicit" = "yes"; then
24686 cat >>confdefs.h <<\_ACEOF
24687 #define HAVE_EXPLICIT 1
24688 _ACEOF
24689
24690 fi
24691
24692
24693 if test "x$SUNCXX" = xyes; then
24694 CXXFLAGS="-features=tmplife $CXXFLAGS"
24695 fi
24696
24697 if test "x$SUNCC" = xyes; then
24698 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24699 fi
24700
24701 if test "x$SGICC" = "xyes"; then
24702 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24703 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24704 if test "${wx_cv_prog_sgicc744+set}" = set; then
24705 echo $ECHO_N "(cached) $ECHO_C" >&6
24706 else
24707
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714
24715 int
24716 main ()
24717 {
24718
24719 #if _SGI_COMPILER_VERSION >= 744
24720 chock me: mipsPro is 7.4.4 or later
24721 #endif
24722
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24732 esac
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24735 ac_status=$?
24736 grep -v '^ *+' conftest.er1 >conftest.err
24737 rm -f conftest.er1
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_c_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 wx_cv_prog_sgicc744=no
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 wx_cv_prog_sgicc744=yes
24750
24751 fi
24752
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754
24755
24756 fi
24757 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24758 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24759
24760 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24761 CFLAGS="-woff 3970 $CFLAGS"
24762 fi
24763 fi
24764 if test "x$SGICXX" = "xyes"; then
24765 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24766 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24767 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24770
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776
24777 cat >conftest.$ac_ext <<_ACEOF
24778 /* confdefs.h. */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783
24784 int
24785 main ()
24786 {
24787
24788 #if _SGI_COMPILER_VERSION >= 744
24789 chock me: mipsPro is 7.4.4 or later
24790 #endif
24791
24792 ;
24793 return 0;
24794 }
24795 _ACEOF
24796 rm -f conftest.$ac_objext
24797 if { (ac_try="$ac_compile"
24798 case "(($ac_try" in
24799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24800 *) ac_try_echo=$ac_try;;
24801 esac
24802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24803 (eval "$ac_compile") 2>conftest.er1
24804 ac_status=$?
24805 grep -v '^ *+' conftest.er1 >conftest.err
24806 rm -f conftest.er1
24807 cat conftest.err >&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } && {
24810 test -z "$ac_cxx_werror_flag" ||
24811 test ! -s conftest.err
24812 } && test -s conftest.$ac_objext; then
24813 wx_cv_prog_sgicxx744=no
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 wx_cv_prog_sgicxx744=yes
24819
24820 fi
24821
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830
24831 fi
24832 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24833 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24834
24835 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24836 CXXFLAGS="-woff 3970 $CXXFLAGS"
24837 fi
24838 fi
24839
24840 if test "x$HPCC" = "xyes"; then
24841 CFLAGS="+W 2011,2450 $CFLAGS"
24842 fi
24843 if test "x$HPCXX" = "xyes"; then
24844 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24845 fi
24846
24847 if test "x$COMPAQCXX" = "xyes"; then
24848 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24849 fi
24850
24851 ac_ext=cpp
24852 ac_cpp='$CXXCPP $CPPFLAGS'
24853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24856
24857
24858 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24859 if test "$wxUSE_UNICODE" = "yes"; then
24860 std_string="std::wstring"
24861 char_type="wchar_t"
24862 else
24863 std_string="std::string"
24864 char_type="char"
24865 fi
24866
24867 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24868 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24869 if test "${wx_cv_class_stdstring+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872
24873 cat >conftest.$ac_ext <<_ACEOF
24874 /* confdefs.h. */
24875 _ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24879 #include <string>
24880 int
24881 main ()
24882 {
24883 $std_string foo;
24884 ;
24885 return 0;
24886 }
24887 _ACEOF
24888 rm -f conftest.$ac_objext
24889 if { (ac_try="$ac_compile"
24890 case "(($ac_try" in
24891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24893 esac
24894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_compile") 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } && {
24902 test -z "$ac_cxx_werror_flag" ||
24903 test ! -s conftest.err
24904 } && test -s conftest.$ac_objext; then
24905 wx_cv_class_stdstring=yes
24906 else
24907 echo "$as_me: failed program was:" >&5
24908 sed 's/^/| /' conftest.$ac_ext >&5
24909
24910 wx_cv_class_stdstring=no
24911
24912 fi
24913
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915
24916
24917 fi
24918 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24919 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24920
24921 if test "$wx_cv_class_stdstring" = yes; then
24922 if test "$wxUSE_UNICODE" = "yes"; then
24923 cat >>confdefs.h <<\_ACEOF
24924 #define HAVE_STD_WSTRING 1
24925 _ACEOF
24926
24927 fi
24928 else
24929 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24930 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24931 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24933 else
24934
24935 cat >conftest.$ac_ext <<_ACEOF
24936 /* confdefs.h. */
24937 _ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24941
24942 #ifdef HAVE_WCHAR_H
24943 # ifdef __CYGWIN__
24944 # include <stddef.h>
24945 # endif
24946 # include <wchar.h>
24947 #endif
24948 #ifdef HAVE_STDLIB_H
24949 # include <stdlib.h>
24950 #endif
24951 #include <stdio.h>
24952 #include <string>
24953
24954 int
24955 main ()
24956 {
24957 std::basic_string<$char_type> foo;
24958 const $char_type* dummy = foo.c_str();
24959 ;
24960 return 0;
24961 }
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24971 ac_status=$?
24972 grep -v '^ *+' conftest.er1 >conftest.err
24973 rm -f conftest.er1
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 wx_cv_class_stdbasicstring=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 wx_cv_class_stdbasicstring=no
24986
24987 fi
24988
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990
24991
24992 fi
24993 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24994 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24995
24996 if test "$wx_cv_class_stdbasicstring" != yes; then
24997 if test "$wxUSE_STL" = "yes"; then
24998 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24999 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25000 { (exit 1); exit 1; }; }
25001 elif test "$wxUSE_STD_STRING" = "yes"; then
25002 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25003 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25004 { (exit 1); exit 1; }; }
25005 else
25006 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25007 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25008 wxUSE_STD_STRING=no
25009 fi
25010 fi
25011 fi
25012 fi
25013
25014 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25015 { echo "$as_me:$LINENO: checking for std::istream" >&5
25016 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25017 if test "${ac_cv_type_std__istream+set}" = set; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 else
25020 cat >conftest.$ac_ext <<_ACEOF
25021 /* confdefs.h. */
25022 _ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25026 #include <iostream>
25027
25028 typedef std::istream ac__type_new_;
25029 int
25030 main ()
25031 {
25032 if ((ac__type_new_ *) 0)
25033 return 0;
25034 if (sizeof (ac__type_new_))
25035 return 0;
25036 ;
25037 return 0;
25038 }
25039 _ACEOF
25040 rm -f conftest.$ac_objext
25041 if { (ac_try="$ac_compile"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25044 *) ac_try_echo=$ac_try;;
25045 esac
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_compile") 2>conftest.er1
25048 ac_status=$?
25049 grep -v '^ *+' conftest.er1 >conftest.err
25050 rm -f conftest.er1
25051 cat conftest.err >&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && {
25054 test -z "$ac_cxx_werror_flag" ||
25055 test ! -s conftest.err
25056 } && test -s conftest.$ac_objext; then
25057 ac_cv_type_std__istream=yes
25058 else
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.$ac_ext >&5
25061
25062 ac_cv_type_std__istream=no
25063 fi
25064
25065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25066 fi
25067 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25068 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25069 if test $ac_cv_type_std__istream = yes; then
25070
25071 cat >>confdefs.h <<_ACEOF
25072 #define HAVE_STD__ISTREAM 1
25073 _ACEOF
25074
25075
25076 else
25077 wxUSE_STD_IOSTREAM=no
25078 fi
25079 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25080 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25081 if test "${ac_cv_type_std__ostream+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084 cat >conftest.$ac_ext <<_ACEOF
25085 /* confdefs.h. */
25086 _ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090 #include <iostream>
25091
25092 typedef std::ostream ac__type_new_;
25093 int
25094 main ()
25095 {
25096 if ((ac__type_new_ *) 0)
25097 return 0;
25098 if (sizeof (ac__type_new_))
25099 return 0;
25100 ;
25101 return 0;
25102 }
25103 _ACEOF
25104 rm -f conftest.$ac_objext
25105 if { (ac_try="$ac_compile"
25106 case "(($ac_try" in
25107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25108 *) ac_try_echo=$ac_try;;
25109 esac
25110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25111 (eval "$ac_compile") 2>conftest.er1
25112 ac_status=$?
25113 grep -v '^ *+' conftest.er1 >conftest.err
25114 rm -f conftest.er1
25115 cat conftest.err >&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); } && {
25118 test -z "$ac_cxx_werror_flag" ||
25119 test ! -s conftest.err
25120 } && test -s conftest.$ac_objext; then
25121 ac_cv_type_std__ostream=yes
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126 ac_cv_type_std__ostream=no
25127 fi
25128
25129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25130 fi
25131 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25132 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25133 if test $ac_cv_type_std__ostream = yes; then
25134
25135 cat >>confdefs.h <<_ACEOF
25136 #define HAVE_STD__OSTREAM 1
25137 _ACEOF
25138
25139
25140 else
25141 wxUSE_STD_IOSTREAM=no
25142 fi
25143
25144
25145 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25146 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25147 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25148 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25149 { (exit 1); exit 1; }; }
25150 else
25151 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25152 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25153 fi
25154 fi
25155 fi
25156
25157 if test "$wxUSE_STL" = "yes"; then
25158 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25159 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25160 if test "${wx_cv_lib_stl+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 else
25163 cat >conftest.$ac_ext <<_ACEOF
25164 /* confdefs.h. */
25165 _ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25169 #include <string>
25170 #include <functional>
25171 #include <algorithm>
25172 #include <vector>
25173 #include <list>
25174 int
25175 main ()
25176 {
25177 std::vector<int> moo;
25178 std::list<int> foo;
25179 std::vector<int>::iterator it =
25180 std::find_if(moo.begin(), moo.end(),
25181 std::bind2nd(std::less<int>(), 3));
25182 ;
25183 return 0;
25184 }
25185 _ACEOF
25186 rm -f conftest.$ac_objext
25187 if { (ac_try="$ac_compile"
25188 case "(($ac_try" in
25189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25191 esac
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_compile") 2>conftest.er1
25194 ac_status=$?
25195 grep -v '^ *+' conftest.er1 >conftest.err
25196 rm -f conftest.er1
25197 cat conftest.err >&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); } && {
25200 test -z "$ac_cxx_werror_flag" ||
25201 test ! -s conftest.err
25202 } && test -s conftest.$ac_objext; then
25203 wx_cv_lib_stl=yes
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 wx_cv_lib_stl=no
25209
25210 fi
25211
25212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25213
25214 fi
25215 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25216 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25217
25218 if test "$wx_cv_lib_stl" != yes; then
25219 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25220 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25221 { (exit 1); exit 1; }; }
25222 fi
25223
25224 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25225 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25226 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229 cat >conftest.$ac_ext <<_ACEOF
25230 /* confdefs.h. */
25231 _ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 #include <string>
25236 int
25237 main ()
25238 {
25239 std::string foo, bar;
25240 foo.compare(bar);
25241 foo.compare(1, 1, bar);
25242 foo.compare(1, 1, bar, 1, 1);
25243 foo.compare("");
25244 foo.compare(1, 1, "");
25245 foo.compare(1, 1, "", 2);
25246 ;
25247 return 0;
25248 }
25249 _ACEOF
25250 rm -f conftest.$ac_objext
25251 if { (ac_try="$ac_compile"
25252 case "(($ac_try" in
25253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25254 *) ac_try_echo=$ac_try;;
25255 esac
25256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25257 (eval "$ac_compile") 2>conftest.er1
25258 ac_status=$?
25259 grep -v '^ *+' conftest.er1 >conftest.err
25260 rm -f conftest.er1
25261 cat conftest.err >&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } && {
25264 test -z "$ac_cxx_werror_flag" ||
25265 test ! -s conftest.err
25266 } && test -s conftest.$ac_objext; then
25267 wx_cv_func_stdstring_compare=yes
25268 else
25269 echo "$as_me: failed program was:" >&5
25270 sed 's/^/| /' conftest.$ac_ext >&5
25271
25272 wx_cv_func_stdstring_compare=no
25273
25274 fi
25275
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277
25278 fi
25279 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25280 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25281
25282 if test "$wx_cv_func_stdstring_compare" = yes; then
25283 cat >>confdefs.h <<\_ACEOF
25284 #define HAVE_STD_STRING_COMPARE 1
25285 _ACEOF
25286
25287 fi
25288
25289 if test "$wx_cv_class_gnuhashmapset" = yes; then
25290 cat >>confdefs.h <<\_ACEOF
25291 #define HAVE_EXT_HASH_MAP 1
25292 _ACEOF
25293
25294 cat >>confdefs.h <<\_ACEOF
25295 #define HAVE_GNU_CXX_HASH_MAP 1
25296 _ACEOF
25297
25298 fi
25299
25300 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25301 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25302 if test "${ac_cv_header_unordered_map+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 else
25305 cat >conftest.$ac_ext <<_ACEOF
25306 /* confdefs.h. */
25307 _ACEOF
25308 cat confdefs.h >>conftest.$ac_ext
25309 cat >>conftest.$ac_ext <<_ACEOF
25310 /* end confdefs.h. */
25311
25312
25313
25314 #include <unordered_map>
25315 _ACEOF
25316 rm -f conftest.$ac_objext
25317 if { (ac_try="$ac_compile"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25321 esac
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_compile") 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } && {
25330 test -z "$ac_cxx_werror_flag" ||
25331 test ! -s conftest.err
25332 } && test -s conftest.$ac_objext; then
25333 ac_cv_header_unordered_map=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 ac_cv_header_unordered_map=no
25339 fi
25340
25341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25342 fi
25343 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25344 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25345 if test $ac_cv_header_unordered_map = yes; then
25346 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25347 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25348 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 else
25351 cat >conftest.$ac_ext <<_ACEOF
25352 /* confdefs.h. */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <unordered_map>
25358 #include <unordered_set>
25359 int
25360 main ()
25361 {
25362 std::unordered_map<double*, char*> test1;
25363 std::unordered_set<char*> test2;
25364 ;
25365 return 0;
25366 }
25367 _ACEOF
25368 rm -f conftest.$ac_objext
25369 if { (ac_try="$ac_compile"
25370 case "(($ac_try" in
25371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25372 *) ac_try_echo=$ac_try;;
25373 esac
25374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25375 (eval "$ac_compile") 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } && {
25382 test -z "$ac_cxx_werror_flag" ||
25383 test ! -s conftest.err
25384 } && test -s conftest.$ac_objext; then
25385 wx_cv_class_stdunorderedmapset=yes
25386 else
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.$ac_ext >&5
25389
25390 wx_cv_class_stdunorderedmapset=no
25391 fi
25392
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394
25395
25396 fi
25397 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25398 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25399 fi
25400
25401
25402
25403 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25404 cat >>confdefs.h <<\_ACEOF
25405 #define HAVE_STD_UNORDERED_MAP 1
25406 _ACEOF
25407
25408 cat >>confdefs.h <<\_ACEOF
25409 #define HAVE_STD_UNORDERED_SET 1
25410 _ACEOF
25411
25412 else
25413 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25414 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25415 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 else
25418 cat >conftest.$ac_ext <<_ACEOF
25419 /* confdefs.h. */
25420 _ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25424
25425
25426
25427 #include <tr1/unordered_map>
25428 _ACEOF
25429 rm -f conftest.$ac_objext
25430 if { (ac_try="$ac_compile"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25434 esac
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_compile") 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_cxx_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest.$ac_objext; then
25446 ac_cv_header_tr1_unordered_map=yes
25447 else
25448 echo "$as_me: failed program was:" >&5
25449 sed 's/^/| /' conftest.$ac_ext >&5
25450
25451 ac_cv_header_tr1_unordered_map=no
25452 fi
25453
25454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25455 fi
25456 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25457 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25458 if test $ac_cv_header_tr1_unordered_map = yes; then
25459 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25460 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25461 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 #include <tr1/unordered_map>
25471 #include <tr1/unordered_set>
25472 int
25473 main ()
25474 {
25475 std::tr1::unordered_map<double*, char*> test1;
25476 std::tr1::unordered_set<char*> test2;
25477 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25478 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25479 #endif
25480 ;
25481 return 0;
25482 }
25483 _ACEOF
25484 rm -f conftest.$ac_objext
25485 if { (ac_try="$ac_compile"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25489 esac
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_compile") 2>conftest.er1
25492 ac_status=$?
25493 grep -v '^ *+' conftest.er1 >conftest.err
25494 rm -f conftest.er1
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_cxx_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest.$ac_objext; then
25501 wx_cv_class_tr1unorderedmapset=yes
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 wx_cv_class_tr1unorderedmapset=no
25507 fi
25508
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25510
25511
25512 fi
25513 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25514 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25515 fi
25516
25517
25518
25519 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25520 cat >>confdefs.h <<\_ACEOF
25521 #define HAVE_TR1_UNORDERED_MAP 1
25522 _ACEOF
25523
25524 cat >>confdefs.h <<\_ACEOF
25525 #define HAVE_TR1_UNORDERED_SET 1
25526 _ACEOF
25527
25528 else
25529 { echo "$as_me:$LINENO: checking for hash_map" >&5
25530 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25531 if test "${ac_cv_header_hash_map+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 else
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540
25541
25542
25543 #include <hash_map>
25544 _ACEOF
25545 rm -f conftest.$ac_objext
25546 if { (ac_try="$ac_compile"
25547 case "(($ac_try" in
25548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25549 *) ac_try_echo=$ac_try;;
25550 esac
25551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25552 (eval "$ac_compile") 2>conftest.er1
25553 ac_status=$?
25554 grep -v '^ *+' conftest.er1 >conftest.err
25555 rm -f conftest.er1
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } && {
25559 test -z "$ac_cxx_werror_flag" ||
25560 test ! -s conftest.err
25561 } && test -s conftest.$ac_objext; then
25562 ac_cv_header_hash_map=yes
25563 else
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.$ac_ext >&5
25566
25567 ac_cv_header_hash_map=no
25568 fi
25569
25570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25571 fi
25572 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25573 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25574 if test $ac_cv_header_hash_map = yes; then
25575 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25576 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25577 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 else
25580 cat >conftest.$ac_ext <<_ACEOF
25581 /* confdefs.h. */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 #include <hash_map>
25587 #include <hash_set>
25588 int
25589 main ()
25590 {
25591 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25592 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25593 ;
25594 return 0;
25595 }
25596 _ACEOF
25597 rm -f conftest.$ac_objext
25598 if { (ac_try="$ac_compile"
25599 case "(($ac_try" in
25600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25601 *) ac_try_echo=$ac_try;;
25602 esac
25603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25604 (eval "$ac_compile") 2>conftest.er1
25605 ac_status=$?
25606 grep -v '^ *+' conftest.er1 >conftest.err
25607 rm -f conftest.er1
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } && {
25611 test -z "$ac_cxx_werror_flag" ||
25612 test ! -s conftest.err
25613 } && test -s conftest.$ac_objext; then
25614 wx_cv_class_stdhashmapset=yes
25615 else
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25618
25619 wx_cv_class_stdhashmapset=no
25620 fi
25621
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25623
25624
25625 fi
25626 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25627 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25628 fi
25629
25630
25631
25632 if test "$wx_cv_class_stdhashmapset" = yes; then
25633 cat >>confdefs.h <<\_ACEOF
25634 #define HAVE_HASH_MAP 1
25635 _ACEOF
25636
25637 cat >>confdefs.h <<\_ACEOF
25638 #define HAVE_STD_HASH_MAP 1
25639 _ACEOF
25640
25641 fi
25642
25643 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25644 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25645 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 else
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654
25655
25656
25657 #include <ext/hash_map>
25658 _ACEOF
25659 rm -f conftest.$ac_objext
25660 if { (ac_try="$ac_compile"
25661 case "(($ac_try" in
25662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25663 *) ac_try_echo=$ac_try;;
25664 esac
25665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25666 (eval "$ac_compile") 2>conftest.er1
25667 ac_status=$?
25668 grep -v '^ *+' conftest.er1 >conftest.err
25669 rm -f conftest.er1
25670 cat conftest.err >&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } && {
25673 test -z "$ac_cxx_werror_flag" ||
25674 test ! -s conftest.err
25675 } && test -s conftest.$ac_objext; then
25676 ac_cv_header_ext_hash_map=yes
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25680
25681 ac_cv_header_ext_hash_map=no
25682 fi
25683
25684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 fi
25686 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25687 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25688 if test $ac_cv_header_ext_hash_map = yes; then
25689 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25690 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25691 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25692 echo $ECHO_N "(cached) $ECHO_C" >&6
25693 else
25694 cat >conftest.$ac_ext <<_ACEOF
25695 /* confdefs.h. */
25696 _ACEOF
25697 cat confdefs.h >>conftest.$ac_ext
25698 cat >>conftest.$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25700 #include <ext/hash_map>
25701 #include <ext/hash_set>
25702 int
25703 main ()
25704 {
25705 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25706 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25707 ;
25708 return 0;
25709 }
25710 _ACEOF
25711 rm -f conftest.$ac_objext
25712 if { (ac_try="$ac_compile"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25716 esac
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_compile") 2>conftest.er1
25719 ac_status=$?
25720 grep -v '^ *+' conftest.er1 >conftest.err
25721 rm -f conftest.er1
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } && {
25725 test -z "$ac_cxx_werror_flag" ||
25726 test ! -s conftest.err
25727 } && test -s conftest.$ac_objext; then
25728 wx_cv_class_gnuhashmapset=yes
25729 else
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25732
25733 wx_cv_class_gnuhashmapset=no
25734 fi
25735
25736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737
25738
25739 fi
25740 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25741 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25742 fi
25743
25744
25745
25746 fi
25747 fi
25748 fi
25749
25750
25751
25752 if test -n "$GCC"; then
25753 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25754 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25755 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25756 echo $ECHO_N "(cached) $ECHO_C" >&6
25757 else
25758
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765
25766 int
25767 main ()
25768 {
25769
25770 unsigned int value=0;
25771 /* wxAtomicInc doesn't use return value here */
25772 __sync_fetch_and_add(&value, 2);
25773 __sync_sub_and_fetch(&value, 1);
25774 /* but wxAtomicDec does, so mimic that: */
25775 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25776
25777 ;
25778 return 0;
25779 }
25780 _ACEOF
25781 rm -f conftest.$ac_objext conftest$ac_exeext
25782 if { (ac_try="$ac_link"
25783 case "(($ac_try" in
25784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25785 *) ac_try_echo=$ac_try;;
25786 esac
25787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25788 (eval "$ac_link") 2>conftest.er1
25789 ac_status=$?
25790 grep -v '^ *+' conftest.er1 >conftest.err
25791 rm -f conftest.er1
25792 cat conftest.err >&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); } && {
25795 test -z "$ac_cxx_werror_flag" ||
25796 test ! -s conftest.err
25797 } && test -s conftest$ac_exeext &&
25798 $as_test_x conftest$ac_exeext; then
25799 wx_cv_cc_gcc_atomic_builtins=yes
25800 else
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25803
25804 wx_cv_cc_gcc_atomic_builtins=no
25805 fi
25806
25807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25808 conftest$ac_exeext conftest.$ac_ext
25809
25810 fi
25811
25812 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25813 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25814 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE_GCC_ATOMIC_BUILTINS 1
25817 _ACEOF
25818
25819 fi
25820 fi
25821
25822
25823 ac_ext=c
25824 ac_cpp='$CPP $CPPFLAGS'
25825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25828
25829
25830
25831 SEARCH_INCLUDE="\
25832 /usr/local/include \
25833 /usr/local/X11/include \
25834 /usr/local/include/X11 \
25835 /usr/local/X11R7/include \
25836 /usr/local/X11R6/include \
25837 /usr/local/include/X11R7 \
25838 /usr/local/include/X11R6 \
25839 \
25840 /usr/Motif-2.1/include \
25841 /usr/Motif-1.2/include \
25842 /usr/include/Motif1.2 \
25843 \
25844 /usr/dt/include \
25845 /usr/openwin/include \
25846 \
25847 /usr/include/Xm \
25848 \
25849 /usr/X11R7/include \
25850 /usr/X11R6/include \
25851 /usr/X11R6.4/include \
25852 \
25853 /usr/include/X11R7 \
25854 /usr/include/X11R6 \
25855 \
25856 /usr/X11/include \
25857 /usr/include/X11 \
25858 \
25859 /usr/XFree86/include/X11 \
25860 /usr/pkg/include \
25861 \
25862 /usr/local/X1R5/include \
25863 /usr/local/include/X11R5 \
25864 /usr/X11R5/include \
25865 /usr/include/X11R5 \
25866 \
25867 /usr/local/X11R4/include \
25868 /usr/local/include/X11R4 \
25869 /usr/X11R4/include \
25870 /usr/include/X11R4 \
25871 \
25872 /usr/openwin/share/include"
25873
25874 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25875 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25876
25877 case "${host}" in
25878 *-*-irix6* )
25879 if test "${wx_cv_std_libpath+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25881 else
25882
25883 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25884 for e in a so sl dylib dll.a; do
25885 libc="$d/libc.$e"
25886 if test -f $libc; then
25887 save_LIBS="$LIBS"
25888 LIBS="$libc"
25889 cat >conftest.$ac_ext <<_ACEOF
25890 int main() { return 0; }
25891 _ACEOF
25892 rm -f conftest.$ac_objext conftest$ac_exeext
25893 if { (ac_try="$ac_link"
25894 case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25897 esac
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_link") 2>conftest.er1
25900 ac_status=$?
25901 grep -v '^ *+' conftest.er1 >conftest.err
25902 rm -f conftest.er1
25903 cat conftest.err >&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); } && {
25906 test -z "$ac_c_werror_flag" ||
25907 test ! -s conftest.err
25908 } && test -s conftest$ac_exeext &&
25909 $as_test_x conftest$ac_exeext; then
25910 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25911 else
25912 echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.$ac_ext >&5
25914
25915
25916 fi
25917
25918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25919 conftest$ac_exeext conftest.$ac_ext
25920 LIBS="$save_LIBS"
25921 if test "x$wx_cv_std_libpath" != "x"; then
25922 break 2
25923 fi
25924 fi
25925 done
25926 done
25927 if test "x$wx_cv_std_libpath" = "x"; then
25928 wx_cv_std_libpath="lib"
25929 fi
25930
25931
25932 fi
25933
25934 ;;
25935
25936 *-*-solaris2* )
25937 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25938 wx_cv_std_libpath="lib/64"
25939 else
25940 wx_cv_std_libpath="lib"
25941 fi
25942 ;;
25943
25944 *-*-linux* )
25945 if test "$ac_cv_sizeof_void_p" = 8 -a \
25946 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25947 wx_cv_std_libpath="lib64"
25948 else
25949 wx_cv_std_libpath="lib"
25950 fi
25951 ;;
25952
25953 *)
25954 wx_cv_std_libpath="lib";
25955 ;;
25956 esac
25957
25958 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25959 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25960
25961 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25962
25963 if test "$build" != "$host" -a "$GCC" = yes; then
25964 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25965 cross_root=`dirname $cross_root`
25966 cross_root=`dirname $cross_root`
25967
25968 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25969 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25970 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25971
25972 if test -z "$PKG_CONFIG_PATH"; then
25973 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25974 export PKG_CONFIG_PATH
25975 fi
25976
25977 if test -z "$x_includes" -o "$x_includes" = NONE; then
25978
25979 ac_find_includes=
25980 for ac_dir in $SEARCH_INCLUDE /usr/include;
25981 do
25982 if test -f "$ac_dir/X11/Intrinsic.h"; then
25983 ac_find_includes=$ac_dir
25984 break
25985 fi
25986 done
25987
25988 x_includes=$ac_find_includes
25989 fi
25990 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25991
25992 ac_find_libraries=
25993 for ac_dir in $SEARCH_LIB;
25994 do
25995 for ac_extension in a so sl dylib dll.a; do
25996 if test -f "$ac_dir/libXt.$ac_extension"; then
25997 ac_find_libraries=$ac_dir
25998 break 2
25999 fi
26000 done
26001 done
26002
26003 x_libraries=$ac_find_libraries
26004 fi
26005 fi
26006 fi
26007
26008
26009 cat >confcache <<\_ACEOF
26010 # This file is a shell script that caches the results of configure
26011 # tests run on this system so they can be shared between configure
26012 # scripts and configure runs, see configure's option --config-cache.
26013 # It is not useful on other systems. If it contains results you don't
26014 # want to keep, you may remove or edit it.
26015 #
26016 # config.status only pays attention to the cache file if you give it
26017 # the --recheck option to rerun configure.
26018 #
26019 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26021 # following values.
26022
26023 _ACEOF
26024
26025 # The following way of writing the cache mishandles newlines in values,
26026 # but we know of no workaround that is simple, portable, and efficient.
26027 # So, we kill variables containing newlines.
26028 # Ultrix sh set writes to stderr and can't be redirected directly,
26029 # and sets the high bit in the cache file unless we assign to the vars.
26030 (
26031 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26032 eval ac_val=\$$ac_var
26033 case $ac_val in #(
26034 *${as_nl}*)
26035 case $ac_var in #(
26036 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26037 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26038 esac
26039 case $ac_var in #(
26040 _ | IFS | as_nl) ;; #(
26041 *) $as_unset $ac_var ;;
26042 esac ;;
26043 esac
26044 done
26045
26046 (set) 2>&1 |
26047 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26048 *${as_nl}ac_space=\ *)
26049 # `set' does not quote correctly, so add quotes (double-quote
26050 # substitution turns \\\\ into \\, and sed turns \\ into \).
26051 sed -n \
26052 "s/'/'\\\\''/g;
26053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26054 ;; #(
26055 *)
26056 # `set' quotes correctly as required by POSIX, so do not add quotes.
26057 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26058 ;;
26059 esac |
26060 sort
26061 ) |
26062 sed '
26063 /^ac_cv_env_/b end
26064 t clear
26065 :clear
26066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26067 t end
26068 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26069 :end' >>confcache
26070 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26071 if test -w "$cache_file"; then
26072 test "x$cache_file" != "x/dev/null" &&
26073 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26074 echo "$as_me: updating cache $cache_file" >&6;}
26075 cat confcache >$cache_file
26076 else
26077 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26078 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26079 fi
26080 fi
26081 rm -f confcache
26082
26083 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26084 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26085 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26086 if test "${wx_cv_lib_glibc21+set}" = set; then
26087 echo $ECHO_N "(cached) $ECHO_C" >&6
26088 else
26089
26090 cat >conftest.$ac_ext <<_ACEOF
26091 /* confdefs.h. */
26092 _ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096 #include <features.h>
26097 int
26098 main ()
26099 {
26100
26101 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26102 not glibc 2.1
26103 #endif
26104
26105 ;
26106 return 0;
26107 }
26108 _ACEOF
26109 rm -f conftest.$ac_objext
26110 if { (ac_try="$ac_compile"
26111 case "(($ac_try" in
26112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26113 *) ac_try_echo=$ac_try;;
26114 esac
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_compile") 2>conftest.er1
26117 ac_status=$?
26118 grep -v '^ *+' conftest.er1 >conftest.err
26119 rm -f conftest.er1
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } && {
26123 test -z "$ac_c_werror_flag" ||
26124 test ! -s conftest.err
26125 } && test -s conftest.$ac_objext; then
26126
26127 wx_cv_lib_glibc21=yes
26128
26129 else
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.$ac_ext >&5
26132
26133
26134 wx_cv_lib_glibc21=no
26135
26136
26137 fi
26138
26139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140
26141 fi
26142 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26143 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26144 if test "$wx_cv_lib_glibc21" = "yes"; then
26145 cat >>confdefs.h <<\_ACEOF
26146 #define wxHAVE_GLIBC2 1
26147 _ACEOF
26148
26149 fi
26150 fi
26151
26152 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26153 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26154 cat >>confdefs.h <<\_ACEOF
26155 #define _GNU_SOURCE 1
26156 _ACEOF
26157
26158 fi
26159 fi
26160
26161 have_cos=0
26162 have_floor=0
26163
26164 for ac_func in cos
26165 do
26166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26170 echo $ECHO_N "(cached) $ECHO_C" >&6
26171 else
26172 cat >conftest.$ac_ext <<_ACEOF
26173 /* confdefs.h. */
26174 _ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26180 #define $ac_func innocuous_$ac_func
26181
26182 /* System header to define __stub macros and hopefully few prototypes,
26183 which can conflict with char $ac_func (); below.
26184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26185 <limits.h> exists even on freestanding compilers. */
26186
26187 #ifdef __STDC__
26188 # include <limits.h>
26189 #else
26190 # include <assert.h>
26191 #endif
26192
26193 #undef $ac_func
26194
26195 /* Override any GCC internal prototype to avoid an error.
26196 Use char because int might match the return type of a GCC
26197 builtin and then its argument prototype would still apply. */
26198 #ifdef __cplusplus
26199 extern "C"
26200 #endif
26201 char $ac_func ();
26202 /* The GNU C library defines this for functions which it implements
26203 to always fail with ENOSYS. Some functions are actually named
26204 something starting with __ and the normal name is an alias. */
26205 #if defined __stub_$ac_func || defined __stub___$ac_func
26206 choke me
26207 #endif
26208
26209 int
26210 main ()
26211 {
26212 return $ac_func ();
26213 ;
26214 return 0;
26215 }
26216 _ACEOF
26217 rm -f conftest.$ac_objext conftest$ac_exeext
26218 if { (ac_try="$ac_link"
26219 case "(($ac_try" in
26220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26221 *) ac_try_echo=$ac_try;;
26222 esac
26223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26224 (eval "$ac_link") 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } && {
26231 test -z "$ac_c_werror_flag" ||
26232 test ! -s conftest.err
26233 } && test -s conftest$ac_exeext &&
26234 $as_test_x conftest$ac_exeext; then
26235 eval "$as_ac_var=yes"
26236 else
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240 eval "$as_ac_var=no"
26241 fi
26242
26243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26244 conftest$ac_exeext conftest.$ac_ext
26245 fi
26246 ac_res=`eval echo '${'$as_ac_var'}'`
26247 { echo "$as_me:$LINENO: result: $ac_res" >&5
26248 echo "${ECHO_T}$ac_res" >&6; }
26249 if test `eval echo '${'$as_ac_var'}'` = yes; then
26250 cat >>confdefs.h <<_ACEOF
26251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26252 _ACEOF
26253 have_cos=1
26254 fi
26255 done
26256
26257
26258 for ac_func in floor
26259 do
26260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26265 else
26266 cat >conftest.$ac_ext <<_ACEOF
26267 /* confdefs.h. */
26268 _ACEOF
26269 cat confdefs.h >>conftest.$ac_ext
26270 cat >>conftest.$ac_ext <<_ACEOF
26271 /* end confdefs.h. */
26272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26274 #define $ac_func innocuous_$ac_func
26275
26276 /* System header to define __stub macros and hopefully few prototypes,
26277 which can conflict with char $ac_func (); below.
26278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26279 <limits.h> exists even on freestanding compilers. */
26280
26281 #ifdef __STDC__
26282 # include <limits.h>
26283 #else
26284 # include <assert.h>
26285 #endif
26286
26287 #undef $ac_func
26288
26289 /* Override any GCC internal prototype to avoid an error.
26290 Use char because int might match the return type of a GCC
26291 builtin and then its argument prototype would still apply. */
26292 #ifdef __cplusplus
26293 extern "C"
26294 #endif
26295 char $ac_func ();
26296 /* The GNU C library defines this for functions which it implements
26297 to always fail with ENOSYS. Some functions are actually named
26298 something starting with __ and the normal name is an alias. */
26299 #if defined __stub_$ac_func || defined __stub___$ac_func
26300 choke me
26301 #endif
26302
26303 int
26304 main ()
26305 {
26306 return $ac_func ();
26307 ;
26308 return 0;
26309 }
26310 _ACEOF
26311 rm -f conftest.$ac_objext conftest$ac_exeext
26312 if { (ac_try="$ac_link"
26313 case "(($ac_try" in
26314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26315 *) ac_try_echo=$ac_try;;
26316 esac
26317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26318 (eval "$ac_link") 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } && {
26325 test -z "$ac_c_werror_flag" ||
26326 test ! -s conftest.err
26327 } && test -s conftest$ac_exeext &&
26328 $as_test_x conftest$ac_exeext; then
26329 eval "$as_ac_var=yes"
26330 else
26331 echo "$as_me: failed program was:" >&5
26332 sed 's/^/| /' conftest.$ac_ext >&5
26333
26334 eval "$as_ac_var=no"
26335 fi
26336
26337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26338 conftest$ac_exeext conftest.$ac_ext
26339 fi
26340 ac_res=`eval echo '${'$as_ac_var'}'`
26341 { echo "$as_me:$LINENO: result: $ac_res" >&5
26342 echo "${ECHO_T}$ac_res" >&6; }
26343 if test `eval echo '${'$as_ac_var'}'` = yes; then
26344 cat >>confdefs.h <<_ACEOF
26345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26346 _ACEOF
26347 have_floor=1
26348 fi
26349 done
26350
26351 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26352 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26353 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26354 { echo "$as_me:$LINENO: result: yes" >&5
26355 echo "${ECHO_T}yes" >&6; }
26356 else
26357 { echo "$as_me:$LINENO: result: no" >&5
26358 echo "${ECHO_T}no" >&6; }
26359 LIBS="$LIBS -lm"
26360 # use different functions to avoid configure caching
26361 have_sin=0
26362 have_ceil=0
26363
26364 for ac_func in sin
26365 do
26366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 else
26372 cat >conftest.$ac_ext <<_ACEOF
26373 /* confdefs.h. */
26374 _ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26380 #define $ac_func innocuous_$ac_func
26381
26382 /* System header to define __stub macros and hopefully few prototypes,
26383 which can conflict with char $ac_func (); below.
26384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26385 <limits.h> exists even on freestanding compilers. */
26386
26387 #ifdef __STDC__
26388 # include <limits.h>
26389 #else
26390 # include <assert.h>
26391 #endif
26392
26393 #undef $ac_func
26394
26395 /* Override any GCC internal prototype to avoid an error.
26396 Use char because int might match the return type of a GCC
26397 builtin and then its argument prototype would still apply. */
26398 #ifdef __cplusplus
26399 extern "C"
26400 #endif
26401 char $ac_func ();
26402 /* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405 #if defined __stub_$ac_func || defined __stub___$ac_func
26406 choke me
26407 #endif
26408
26409 int
26410 main ()
26411 {
26412 return $ac_func ();
26413 ;
26414 return 0;
26415 }
26416 _ACEOF
26417 rm -f conftest.$ac_objext conftest$ac_exeext
26418 if { (ac_try="$ac_link"
26419 case "(($ac_try" in
26420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26421 *) ac_try_echo=$ac_try;;
26422 esac
26423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26424 (eval "$ac_link") 2>conftest.er1
26425 ac_status=$?
26426 grep -v '^ *+' conftest.er1 >conftest.err
26427 rm -f conftest.er1
26428 cat conftest.err >&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } && {
26431 test -z "$ac_c_werror_flag" ||
26432 test ! -s conftest.err
26433 } && test -s conftest$ac_exeext &&
26434 $as_test_x conftest$ac_exeext; then
26435 eval "$as_ac_var=yes"
26436 else
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.$ac_ext >&5
26439
26440 eval "$as_ac_var=no"
26441 fi
26442
26443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26444 conftest$ac_exeext conftest.$ac_ext
26445 fi
26446 ac_res=`eval echo '${'$as_ac_var'}'`
26447 { echo "$as_me:$LINENO: result: $ac_res" >&5
26448 echo "${ECHO_T}$ac_res" >&6; }
26449 if test `eval echo '${'$as_ac_var'}'` = yes; then
26450 cat >>confdefs.h <<_ACEOF
26451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26452 _ACEOF
26453 have_sin=1
26454 fi
26455 done
26456
26457
26458 for ac_func in ceil
26459 do
26460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 else
26466 cat >conftest.$ac_ext <<_ACEOF
26467 /* confdefs.h. */
26468 _ACEOF
26469 cat confdefs.h >>conftest.$ac_ext
26470 cat >>conftest.$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26474 #define $ac_func innocuous_$ac_func
26475
26476 /* System header to define __stub macros and hopefully few prototypes,
26477 which can conflict with char $ac_func (); below.
26478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26479 <limits.h> exists even on freestanding compilers. */
26480
26481 #ifdef __STDC__
26482 # include <limits.h>
26483 #else
26484 # include <assert.h>
26485 #endif
26486
26487 #undef $ac_func
26488
26489 /* Override any GCC internal prototype to avoid an error.
26490 Use char because int might match the return type of a GCC
26491 builtin and then its argument prototype would still apply. */
26492 #ifdef __cplusplus
26493 extern "C"
26494 #endif
26495 char $ac_func ();
26496 /* The GNU C library defines this for functions which it implements
26497 to always fail with ENOSYS. Some functions are actually named
26498 something starting with __ and the normal name is an alias. */
26499 #if defined __stub_$ac_func || defined __stub___$ac_func
26500 choke me
26501 #endif
26502
26503 int
26504 main ()
26505 {
26506 return $ac_func ();
26507 ;
26508 return 0;
26509 }
26510 _ACEOF
26511 rm -f conftest.$ac_objext conftest$ac_exeext
26512 if { (ac_try="$ac_link"
26513 case "(($ac_try" in
26514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26515 *) ac_try_echo=$ac_try;;
26516 esac
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_link") 2>conftest.er1
26519 ac_status=$?
26520 grep -v '^ *+' conftest.er1 >conftest.err
26521 rm -f conftest.er1
26522 cat conftest.err >&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } && {
26525 test -z "$ac_c_werror_flag" ||
26526 test ! -s conftest.err
26527 } && test -s conftest$ac_exeext &&
26528 $as_test_x conftest$ac_exeext; then
26529 eval "$as_ac_var=yes"
26530 else
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 eval "$as_ac_var=no"
26535 fi
26536
26537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26538 conftest$ac_exeext conftest.$ac_ext
26539 fi
26540 ac_res=`eval echo '${'$as_ac_var'}'`
26541 { echo "$as_me:$LINENO: result: $ac_res" >&5
26542 echo "${ECHO_T}$ac_res" >&6; }
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h <<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26546 _ACEOF
26547 have_ceil=1
26548 fi
26549 done
26550
26551 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26552 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26553 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26554 { echo "$as_me:$LINENO: result: yes" >&5
26555 echo "${ECHO_T}yes" >&6; }
26556 else
26557 { echo "$as_me:$LINENO: result: no" >&5
26558 echo "${ECHO_T}no" >&6; }
26559 # not sure we should warn the user, crash, etc.
26560 fi
26561 fi
26562
26563 ac_ext=cpp
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568
26569 if test "wxUSE_UNICODE" = "yes"; then
26570
26571 for wx_func in wcstoull
26572 do
26573 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26574 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26575 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26578
26579 cat >conftest.$ac_ext <<_ACEOF
26580
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586
26587
26588 $ac_includes_default
26589
26590 int
26591 main ()
26592 {
26593
26594 #ifndef $wx_func
26595 &$wx_func;
26596 #endif
26597
26598
26599 ;
26600 return 0;
26601 }
26602
26603 _ACEOF
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (ac_try="$ac_link"
26606 case "(($ac_try" in
26607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26608 *) ac_try_echo=$ac_try;;
26609 esac
26610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26611 (eval "$ac_link") 2>conftest.er1
26612 ac_status=$?
26613 grep -v '^ *+' conftest.er1 >conftest.err
26614 rm -f conftest.er1
26615 cat conftest.err >&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && {
26618 test -z "$ac_cxx_werror_flag" ||
26619 test ! -s conftest.err
26620 } && test -s conftest$ac_exeext &&
26621 $as_test_x conftest$ac_exeext; then
26622 eval wx_cv_func_$wx_func=yes
26623 else
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26626
26627 eval wx_cv_func_$wx_func=no
26628 fi
26629
26630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26631 conftest$ac_exeext conftest.$ac_ext
26632
26633 fi
26634 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26635 { echo "$as_me:$LINENO: result: $ac_res" >&5
26636 echo "${ECHO_T}$ac_res" >&6; }
26637
26638 if eval test \$wx_cv_func_$wx_func = yes
26639 then
26640 cat >>confdefs.h <<_ACEOF
26641 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26642 _ACEOF
26643
26644
26645 else
26646 :
26647
26648 fi
26649 done
26650
26651 else
26652
26653 for wx_func in strtoull
26654 do
26655 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26656 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26657 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26658 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660
26661 cat >conftest.$ac_ext <<_ACEOF
26662
26663 /* confdefs.h. */
26664 _ACEOF
26665 cat confdefs.h >>conftest.$ac_ext
26666 cat >>conftest.$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668
26669
26670 $ac_includes_default
26671
26672 int
26673 main ()
26674 {
26675
26676 #ifndef $wx_func
26677 &$wx_func;
26678 #endif
26679
26680
26681 ;
26682 return 0;
26683 }
26684
26685 _ACEOF
26686 rm -f conftest.$ac_objext conftest$ac_exeext
26687 if { (ac_try="$ac_link"
26688 case "(($ac_try" in
26689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26690 *) ac_try_echo=$ac_try;;
26691 esac
26692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26693 (eval "$ac_link") 2>conftest.er1
26694 ac_status=$?
26695 grep -v '^ *+' conftest.er1 >conftest.err
26696 rm -f conftest.er1
26697 cat conftest.err >&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } && {
26700 test -z "$ac_cxx_werror_flag" ||
26701 test ! -s conftest.err
26702 } && test -s conftest$ac_exeext &&
26703 $as_test_x conftest$ac_exeext; then
26704 eval wx_cv_func_$wx_func=yes
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26708
26709 eval wx_cv_func_$wx_func=no
26710 fi
26711
26712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26713 conftest$ac_exeext conftest.$ac_ext
26714
26715 fi
26716 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26717 { echo "$as_me:$LINENO: result: $ac_res" >&5
26718 echo "${ECHO_T}$ac_res" >&6; }
26719
26720 if eval test \$wx_cv_func_$wx_func = yes
26721 then
26722 cat >>confdefs.h <<_ACEOF
26723 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26724 _ACEOF
26725
26726
26727 else
26728 :
26729
26730 fi
26731 done
26732
26733 fi
26734 ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26739
26740
26741
26742
26743 if test "$wxUSE_REGEX" != "no"; then
26744 cat >>confdefs.h <<\_ACEOF
26745 #define wxUSE_REGEX 1
26746 _ACEOF
26747
26748
26749 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26750 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26751 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26752 wxUSE_REGEX=builtin
26753 fi
26754
26755 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26756 { echo "$as_me:$LINENO: checking for regex.h" >&5
26757 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26758 if test "${ac_cv_header_regex_h+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26760 else
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767
26768
26769 #include <regex.h>
26770 _ACEOF
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26775 *) ac_try_echo=$ac_try;;
26776 esac
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26779 ac_status=$?
26780 grep -v '^ *+' conftest.er1 >conftest.err
26781 rm -f conftest.er1
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_c_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.$ac_objext; then
26788 ac_cv_header_regex_h=yes
26789 else
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.$ac_ext >&5
26792
26793 ac_cv_header_regex_h=no
26794 fi
26795
26796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26797 fi
26798 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26799 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26800 if test $ac_cv_header_regex_h = yes; then
26801
26802
26803 for ac_func in regcomp re_search
26804 do
26805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 else
26811 cat >conftest.$ac_ext <<_ACEOF
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26819 #define $ac_func innocuous_$ac_func
26820
26821 /* System header to define __stub macros and hopefully few prototypes,
26822 which can conflict with char $ac_func (); below.
26823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26824 <limits.h> exists even on freestanding compilers. */
26825
26826 #ifdef __STDC__
26827 # include <limits.h>
26828 #else
26829 # include <assert.h>
26830 #endif
26831
26832 #undef $ac_func
26833
26834 /* Override any GCC internal prototype to avoid an error.
26835 Use char because int might match the return type of a GCC
26836 builtin and then its argument prototype would still apply. */
26837 #ifdef __cplusplus
26838 extern "C"
26839 #endif
26840 char $ac_func ();
26841 /* The GNU C library defines this for functions which it implements
26842 to always fail with ENOSYS. Some functions are actually named
26843 something starting with __ and the normal name is an alias. */
26844 #if defined __stub_$ac_func || defined __stub___$ac_func
26845 choke me
26846 #endif
26847
26848 int
26849 main ()
26850 {
26851 return $ac_func ();
26852 ;
26853 return 0;
26854 }
26855 _ACEOF
26856 rm -f conftest.$ac_objext conftest$ac_exeext
26857 if { (ac_try="$ac_link"
26858 case "(($ac_try" in
26859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26861 esac
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_link") 2>conftest.er1
26864 ac_status=$?
26865 grep -v '^ *+' conftest.er1 >conftest.err
26866 rm -f conftest.er1
26867 cat conftest.err >&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } && {
26870 test -z "$ac_c_werror_flag" ||
26871 test ! -s conftest.err
26872 } && test -s conftest$ac_exeext &&
26873 $as_test_x conftest$ac_exeext; then
26874 eval "$as_ac_var=yes"
26875 else
26876 echo "$as_me: failed program was:" >&5
26877 sed 's/^/| /' conftest.$ac_ext >&5
26878
26879 eval "$as_ac_var=no"
26880 fi
26881
26882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26883 conftest$ac_exeext conftest.$ac_ext
26884 fi
26885 ac_res=`eval echo '${'$as_ac_var'}'`
26886 { echo "$as_me:$LINENO: result: $ac_res" >&5
26887 echo "${ECHO_T}$ac_res" >&6; }
26888 if test `eval echo '${'$as_ac_var'}'` = yes; then
26889 cat >>confdefs.h <<_ACEOF
26890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26891 _ACEOF
26892
26893 fi
26894 done
26895
26896 fi
26897
26898
26899
26900 if test "x$ac_cv_func_regcomp" != "xyes"; then
26901 if test "$wxUSE_REGEX" = "sys" ; then
26902 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26903 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26904 { (exit 1); exit 1; }; }
26905 else
26906 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26907 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26908 wxUSE_REGEX=builtin
26909 fi
26910 else
26911 wxUSE_REGEX=sys
26912 cat >>confdefs.h <<\_ACEOF
26913 #define WX_NO_REGEX_ADVANCED 1
26914 _ACEOF
26915
26916 fi
26917 fi
26918 fi
26919
26920
26921 ZLIB_LINK=
26922 if test "$wxUSE_ZLIB" != "no" ; then
26923 cat >>confdefs.h <<\_ACEOF
26924 #define wxUSE_ZLIB 1
26925 _ACEOF
26926
26927
26928 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26929 if test "$USE_DARWIN" = 1; then
26930 system_zlib_h_ok="yes"
26931 else
26932 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26933 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26934 if test "${ac_cv_header_zlib_h+set}" = set; then
26935 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 else
26937 if test "$cross_compiling" = yes; then
26938 unset ac_cv_header_zlib_h
26939
26940 else
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26947
26948 #include <zlib.h>
26949 #include <stdio.h>
26950
26951 int main()
26952 {
26953 FILE *f=fopen("conftestval", "w");
26954 if (!f) exit(1);
26955 fprintf(f, "%s",
26956 ZLIB_VERSION[0] == '1' &&
26957 (ZLIB_VERSION[2] > '1' ||
26958 (ZLIB_VERSION[2] == '1' &&
26959 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26960 exit(0);
26961 }
26962
26963 _ACEOF
26964 rm -f conftest$ac_exeext
26965 if { (ac_try="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>&5
26972 ac_status=$?
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26975 { (case "(($ac_try" in
26976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26977 *) ac_try_echo=$ac_try;;
26978 esac
26979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26980 (eval "$ac_try") 2>&5
26981 ac_status=$?
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 ac_cv_header_zlib_h=`cat conftestval`
26985 else
26986 echo "$as_me: program exited with status $ac_status" >&5
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26989
26990 ( exit $ac_status )
26991 ac_cv_header_zlib_h=no
26992 fi
26993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26994 fi
26995
26996
26997
26998 fi
26999 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27000 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27001 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27002 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27003 if test "${ac_cv_header_zlib_h+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 else
27006 cat >conftest.$ac_ext <<_ACEOF
27007 /* confdefs.h. */
27008 _ACEOF
27009 cat confdefs.h >>conftest.$ac_ext
27010 cat >>conftest.$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27012
27013
27014 #include <zlib.h>
27015 _ACEOF
27016 rm -f conftest.$ac_objext
27017 if { (ac_try="$ac_compile"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27021 esac
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_compile") 2>conftest.er1
27024 ac_status=$?
27025 grep -v '^ *+' conftest.er1 >conftest.err
27026 rm -f conftest.er1
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_c_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest.$ac_objext; then
27033 ac_cv_header_zlib_h=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_cv_header_zlib_h=no
27039 fi
27040
27041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042 fi
27043 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27044 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27045
27046
27047
27048 system_zlib_h_ok=$ac_cv_header_zlib_h
27049 fi
27050
27051 if test "$system_zlib_h_ok" = "yes"; then
27052 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27053 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27054 if test "${ac_cv_lib_z_deflate+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27056 else
27057 ac_check_lib_save_LIBS=$LIBS
27058 LIBS="-lz $LIBS"
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065
27066 /* Override any GCC internal prototype to avoid an error.
27067 Use char because int might match the return type of a GCC
27068 builtin and then its argument prototype would still apply. */
27069 #ifdef __cplusplus
27070 extern "C"
27071 #endif
27072 char deflate ();
27073 int
27074 main ()
27075 {
27076 return deflate ();
27077 ;
27078 return 0;
27079 }
27080 _ACEOF
27081 rm -f conftest.$ac_objext conftest$ac_exeext
27082 if { (ac_try="$ac_link"
27083 case "(($ac_try" in
27084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27086 esac
27087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_link") 2>conftest.er1
27089 ac_status=$?
27090 grep -v '^ *+' conftest.er1 >conftest.err
27091 rm -f conftest.er1
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } && {
27095 test -z "$ac_c_werror_flag" ||
27096 test ! -s conftest.err
27097 } && test -s conftest$ac_exeext &&
27098 $as_test_x conftest$ac_exeext; then
27099 ac_cv_lib_z_deflate=yes
27100 else
27101 echo "$as_me: failed program was:" >&5
27102 sed 's/^/| /' conftest.$ac_ext >&5
27103
27104 ac_cv_lib_z_deflate=no
27105 fi
27106
27107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27108 conftest$ac_exeext conftest.$ac_ext
27109 LIBS=$ac_check_lib_save_LIBS
27110 fi
27111 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27112 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27113 if test $ac_cv_lib_z_deflate = yes; then
27114 ZLIB_LINK=" -lz"
27115 fi
27116
27117 fi
27118
27119 if test "x$ZLIB_LINK" = "x" ; then
27120 if test "$wxUSE_ZLIB" = "sys" ; then
27121 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27122 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27123 { (exit 1); exit 1; }; }
27124 else
27125 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27126 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27127 wxUSE_ZLIB=builtin
27128 fi
27129 else
27130 wxUSE_ZLIB=sys
27131 fi
27132 fi
27133 fi
27134
27135
27136 PNG_LINK=
27137 if test "$wxUSE_LIBPNG" != "no" ; then
27138 cat >>confdefs.h <<\_ACEOF
27139 #define wxUSE_LIBPNG 1
27140 _ACEOF
27141
27142
27143 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27144 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27145 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27146 wxUSE_LIBPNG=sys
27147 fi
27148
27149 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27150 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27151 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27152 wxUSE_LIBPNG=builtin
27153 fi
27154
27155 if test "$wxUSE_MGL" != 1 ; then
27156 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27157 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27158 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27159 if test "${ac_cv_header_png_h+set}" = set; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 else
27162 if test "$cross_compiling" = yes; then
27163 unset ac_cv_header_png_h
27164
27165 else
27166 cat >conftest.$ac_ext <<_ACEOF
27167 /* confdefs.h. */
27168 _ACEOF
27169 cat confdefs.h >>conftest.$ac_ext
27170 cat >>conftest.$ac_ext <<_ACEOF
27171 /* end confdefs.h. */
27172
27173 #include <png.h>
27174 #include <stdio.h>
27175
27176 int main()
27177 {
27178 FILE *f=fopen("conftestval", "w");
27179 if (!f) exit(1);
27180 fprintf(f, "%s",
27181 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27182 exit(0);
27183 }
27184
27185 _ACEOF
27186 rm -f conftest$ac_exeext
27187 if { (ac_try="$ac_link"
27188 case "(($ac_try" in
27189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27190 *) ac_try_echo=$ac_try;;
27191 esac
27192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27193 (eval "$ac_link") 2>&5
27194 ac_status=$?
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27197 { (case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27200 esac
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_try") 2>&5
27203 ac_status=$?
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; }; then
27206 ac_cv_header_png_h=`cat conftestval`
27207 else
27208 echo "$as_me: program exited with status $ac_status" >&5
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212 ( exit $ac_status )
27213 ac_cv_header_png_h=no
27214 fi
27215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27216 fi
27217
27218
27219
27220 fi
27221 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27222 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27223 { echo "$as_me:$LINENO: checking for png.h" >&5
27224 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27225 if test "${ac_cv_header_png_h+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 else
27228 cat >conftest.$ac_ext <<_ACEOF
27229 /* confdefs.h. */
27230 _ACEOF
27231 cat confdefs.h >>conftest.$ac_ext
27232 cat >>conftest.$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27234
27235
27236 #include <png.h>
27237 _ACEOF
27238 rm -f conftest.$ac_objext
27239 if { (ac_try="$ac_compile"
27240 case "(($ac_try" in
27241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27242 *) ac_try_echo=$ac_try;;
27243 esac
27244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27245 (eval "$ac_compile") 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } && {
27252 test -z "$ac_c_werror_flag" ||
27253 test ! -s conftest.err
27254 } && test -s conftest.$ac_objext; then
27255 ac_cv_header_png_h=yes
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 ac_cv_header_png_h=no
27261 fi
27262
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 fi
27265 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27266 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27267
27268
27269
27270 if test "$ac_cv_header_png_h" = "yes"; then
27271 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27272 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27273 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 else
27276 ac_check_lib_save_LIBS=$LIBS
27277 LIBS="-lpng -lz -lm $LIBS"
27278 cat >conftest.$ac_ext <<_ACEOF
27279 /* confdefs.h. */
27280 _ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284
27285 /* Override any GCC internal prototype to avoid an error.
27286 Use char because int might match the return type of a GCC
27287 builtin and then its argument prototype would still apply. */
27288 #ifdef __cplusplus
27289 extern "C"
27290 #endif
27291 char png_sig_cmp ();
27292 int
27293 main ()
27294 {
27295 return png_sig_cmp ();
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 rm -f conftest.$ac_objext conftest$ac_exeext
27301 if { (ac_try="$ac_link"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_link") 2>conftest.er1
27308 ac_status=$?
27309 grep -v '^ *+' conftest.er1 >conftest.err
27310 rm -f conftest.er1
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest$ac_exeext &&
27317 $as_test_x conftest$ac_exeext; then
27318 ac_cv_lib_png_png_sig_cmp=yes
27319 else
27320 echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.$ac_ext >&5
27322
27323 ac_cv_lib_png_png_sig_cmp=no
27324 fi
27325
27326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27327 conftest$ac_exeext conftest.$ac_ext
27328 LIBS=$ac_check_lib_save_LIBS
27329 fi
27330 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27331 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27332 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27333 PNG_LINK=" -lpng -lz"
27334 fi
27335
27336 fi
27337
27338 if test "x$PNG_LINK" = "x" ; then
27339 if test "$wxUSE_LIBPNG" = "sys" ; then
27340 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27341 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27342 { (exit 1); exit 1; }; }
27343 else
27344 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27345 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27346 wxUSE_LIBPNG=builtin
27347 fi
27348 else
27349 wxUSE_LIBPNG=sys
27350 fi
27351 fi
27352 fi
27353 fi
27354
27355
27356 JPEG_LINK=
27357 if test "$wxUSE_LIBJPEG" != "no" ; then
27358 cat >>confdefs.h <<\_ACEOF
27359 #define wxUSE_LIBJPEG 1
27360 _ACEOF
27361
27362
27363 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27364 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27365 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27366 wxUSE_LIBJPEG=sys
27367 fi
27368
27369 if test "$wxUSE_MGL" != 1 ; then
27370 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27371 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27372 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27373 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 else
27376 cat >conftest.$ac_ext <<_ACEOF
27377 /* confdefs.h. */
27378 _ACEOF
27379 cat confdefs.h >>conftest.$ac_ext
27380 cat >>conftest.$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382
27383 #undef HAVE_STDLIB_H
27384 #include <stdio.h>
27385 #include <jpeglib.h>
27386
27387 int
27388 main ()
27389 {
27390
27391
27392 ;
27393 return 0;
27394 }
27395 _ACEOF
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27400 *) ac_try_echo=$ac_try;;
27401 esac
27402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27404 ac_status=$?
27405 grep -v '^ *+' conftest.er1 >conftest.err
27406 rm -f conftest.er1
27407 cat conftest.err >&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.$ac_objext; then
27413 ac_cv_header_jpeglib_h=yes
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 ac_cv_header_jpeglib_h=no
27419
27420 fi
27421
27422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27423
27424 fi
27425
27426 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27427 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27428
27429 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27430 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27431 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27432 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 else
27435 ac_check_lib_save_LIBS=$LIBS
27436 LIBS="-ljpeg $LIBS"
27437 cat >conftest.$ac_ext <<_ACEOF
27438 /* confdefs.h. */
27439 _ACEOF
27440 cat confdefs.h >>conftest.$ac_ext
27441 cat >>conftest.$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27443
27444 /* Override any GCC internal prototype to avoid an error.
27445 Use char because int might match the return type of a GCC
27446 builtin and then its argument prototype would still apply. */
27447 #ifdef __cplusplus
27448 extern "C"
27449 #endif
27450 char jpeg_read_header ();
27451 int
27452 main ()
27453 {
27454 return jpeg_read_header ();
27455 ;
27456 return 0;
27457 }
27458 _ACEOF
27459 rm -f conftest.$ac_objext conftest$ac_exeext
27460 if { (ac_try="$ac_link"
27461 case "(($ac_try" in
27462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27464 esac
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_link") 2>conftest.er1
27467 ac_status=$?
27468 grep -v '^ *+' conftest.er1 >conftest.err
27469 rm -f conftest.er1
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_c_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest$ac_exeext &&
27476 $as_test_x conftest$ac_exeext; then
27477 ac_cv_lib_jpeg_jpeg_read_header=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_cv_lib_jpeg_jpeg_read_header=no
27483 fi
27484
27485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27488 fi
27489 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27490 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27491 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27492 JPEG_LINK=" -ljpeg"
27493 fi
27494
27495 fi
27496
27497 if test "x$JPEG_LINK" = "x" ; then
27498 if test "$wxUSE_LIBJPEG" = "sys" ; then
27499 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27500 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27501 { (exit 1); exit 1; }; }
27502 else
27503 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27504 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27505 wxUSE_LIBJPEG=builtin
27506 fi
27507 else
27508 wxUSE_LIBJPEG=sys
27509
27510 if test "$wxUSE_MSW" = 1; then
27511 { echo "$as_me:$LINENO: checking for boolean" >&5
27512 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27513 if test "${ac_cv_type_boolean+set}" = set; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h. */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 #include <windows.h>
27523
27524 typedef boolean ac__type_new_;
27525 int
27526 main ()
27527 {
27528 if ((ac__type_new_ *) 0)
27529 return 0;
27530 if (sizeof (ac__type_new_))
27531 return 0;
27532 ;
27533 return 0;
27534 }
27535 _ACEOF
27536 rm -f conftest.$ac_objext
27537 if { (ac_try="$ac_compile"
27538 case "(($ac_try" in
27539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27540 *) ac_try_echo=$ac_try;;
27541 esac
27542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27543 (eval "$ac_compile") 2>conftest.er1
27544 ac_status=$?
27545 grep -v '^ *+' conftest.er1 >conftest.err
27546 rm -f conftest.er1
27547 cat conftest.err >&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } && {
27550 test -z "$ac_c_werror_flag" ||
27551 test ! -s conftest.err
27552 } && test -s conftest.$ac_objext; then
27553 ac_cv_type_boolean=yes
27554 else
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 ac_cv_type_boolean=no
27559 fi
27560
27561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27562 fi
27563 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27564 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27565 if test $ac_cv_type_boolean = yes; then
27566
27567 cat >>confdefs.h <<_ACEOF
27568 #define HAVE_BOOLEAN 1
27569 _ACEOF
27570
27571
27572 { echo "$as_me:$LINENO: checking for boolean" >&5
27573 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27574 if test "${ac_cv_type_boolean+set}" = set; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 else
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583
27584 #undef HAVE_BOOLEAN
27585 #include <stdio.h>
27586 #include <jpeglib.h>
27587
27588
27589 typedef boolean ac__type_new_;
27590 int
27591 main ()
27592 {
27593 if ((ac__type_new_ *) 0)
27594 return 0;
27595 if (sizeof (ac__type_new_))
27596 return 0;
27597 ;
27598 return 0;
27599 }
27600 _ACEOF
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27606 esac
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27609 ac_status=$?
27610 grep -v '^ *+' conftest.er1 >conftest.err
27611 rm -f conftest.er1
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_c_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 ac_cv_type_boolean=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 ac_cv_type_boolean=no
27624 fi
27625
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27627 fi
27628 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27629 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27630
27631 # The cast to long int works around a bug in the HP C Compiler
27632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27634 # This bug is HP SR number 8606223364.
27635 { echo "$as_me:$LINENO: checking size of boolean" >&5
27636 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27637 if test "${ac_cv_sizeof_boolean+set}" = set; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27639 else
27640 if test "$cross_compiling" = yes; then
27641 # Depending upon the size, compute the lo and hi bounds.
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 #undef HAVE_BOOLEAN
27650 #include <stdio.h>
27651 #include <jpeglib.h>
27652
27653
27654 typedef boolean ac__type_sizeof_;
27655 int
27656 main ()
27657 {
27658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27659 test_array [0] = 0
27660
27661 ;
27662 return 0;
27663 }
27664 _ACEOF
27665 rm -f conftest.$ac_objext
27666 if { (ac_try="$ac_compile"
27667 case "(($ac_try" in
27668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27669 *) ac_try_echo=$ac_try;;
27670 esac
27671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27672 (eval "$ac_compile") 2>conftest.er1
27673 ac_status=$?
27674 grep -v '^ *+' conftest.er1 >conftest.err
27675 rm -f conftest.er1
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } && {
27679 test -z "$ac_c_werror_flag" ||
27680 test ! -s conftest.err
27681 } && test -s conftest.$ac_objext; then
27682 ac_lo=0 ac_mid=0
27683 while :; do
27684 cat >conftest.$ac_ext <<_ACEOF
27685 /* confdefs.h. */
27686 _ACEOF
27687 cat confdefs.h >>conftest.$ac_ext
27688 cat >>conftest.$ac_ext <<_ACEOF
27689 /* end confdefs.h. */
27690
27691 #undef HAVE_BOOLEAN
27692 #include <stdio.h>
27693 #include <jpeglib.h>
27694
27695
27696 typedef boolean ac__type_sizeof_;
27697 int
27698 main ()
27699 {
27700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27701 test_array [0] = 0
27702
27703 ;
27704 return 0;
27705 }
27706 _ACEOF
27707 rm -f conftest.$ac_objext
27708 if { (ac_try="$ac_compile"
27709 case "(($ac_try" in
27710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27711 *) ac_try_echo=$ac_try;;
27712 esac
27713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27714 (eval "$ac_compile") 2>conftest.er1
27715 ac_status=$?
27716 grep -v '^ *+' conftest.er1 >conftest.err
27717 rm -f conftest.er1
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } && {
27721 test -z "$ac_c_werror_flag" ||
27722 test ! -s conftest.err
27723 } && test -s conftest.$ac_objext; then
27724 ac_hi=$ac_mid; break
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729 ac_lo=`expr $ac_mid + 1`
27730 if test $ac_lo -le $ac_mid; then
27731 ac_lo= ac_hi=
27732 break
27733 fi
27734 ac_mid=`expr 2 '*' $ac_mid + 1`
27735 fi
27736
27737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27738 done
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 cat >conftest.$ac_ext <<_ACEOF
27744 /* confdefs.h. */
27745 _ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749
27750 #undef HAVE_BOOLEAN
27751 #include <stdio.h>
27752 #include <jpeglib.h>
27753
27754
27755 typedef boolean ac__type_sizeof_;
27756 int
27757 main ()
27758 {
27759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27760 test_array [0] = 0
27761
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext
27767 if { (ac_try="$ac_compile"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27771 esac
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_compile") 2>conftest.er1
27774 ac_status=$?
27775 grep -v '^ *+' conftest.er1 >conftest.err
27776 rm -f conftest.er1
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } && {
27780 test -z "$ac_c_werror_flag" ||
27781 test ! -s conftest.err
27782 } && test -s conftest.$ac_objext; then
27783 ac_hi=-1 ac_mid=-1
27784 while :; do
27785 cat >conftest.$ac_ext <<_ACEOF
27786 /* confdefs.h. */
27787 _ACEOF
27788 cat confdefs.h >>conftest.$ac_ext
27789 cat >>conftest.$ac_ext <<_ACEOF
27790 /* end confdefs.h. */
27791
27792 #undef HAVE_BOOLEAN
27793 #include <stdio.h>
27794 #include <jpeglib.h>
27795
27796
27797 typedef boolean ac__type_sizeof_;
27798 int
27799 main ()
27800 {
27801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27802 test_array [0] = 0
27803
27804 ;
27805 return 0;
27806 }
27807 _ACEOF
27808 rm -f conftest.$ac_objext
27809 if { (ac_try="$ac_compile"
27810 case "(($ac_try" in
27811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27812 *) ac_try_echo=$ac_try;;
27813 esac
27814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27815 (eval "$ac_compile") 2>conftest.er1
27816 ac_status=$?
27817 grep -v '^ *+' conftest.er1 >conftest.err
27818 rm -f conftest.er1
27819 cat conftest.err >&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); } && {
27822 test -z "$ac_c_werror_flag" ||
27823 test ! -s conftest.err
27824 } && test -s conftest.$ac_objext; then
27825 ac_lo=$ac_mid; break
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27829
27830 ac_hi=`expr '(' $ac_mid ')' - 1`
27831 if test $ac_mid -le $ac_hi; then
27832 ac_lo= ac_hi=
27833 break
27834 fi
27835 ac_mid=`expr 2 '*' $ac_mid`
27836 fi
27837
27838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27839 done
27840 else
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.$ac_ext >&5
27843
27844 ac_lo= ac_hi=
27845 fi
27846
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 fi
27849
27850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27851 # Binary search between lo and hi bounds.
27852 while test "x$ac_lo" != "x$ac_hi"; do
27853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27854 cat >conftest.$ac_ext <<_ACEOF
27855 /* confdefs.h. */
27856 _ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h. */
27860
27861 #undef HAVE_BOOLEAN
27862 #include <stdio.h>
27863 #include <jpeglib.h>
27864
27865
27866 typedef boolean ac__type_sizeof_;
27867 int
27868 main ()
27869 {
27870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27871 test_array [0] = 0
27872
27873 ;
27874 return 0;
27875 }
27876 _ACEOF
27877 rm -f conftest.$ac_objext
27878 if { (ac_try="$ac_compile"
27879 case "(($ac_try" in
27880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27881 *) ac_try_echo=$ac_try;;
27882 esac
27883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27884 (eval "$ac_compile") 2>conftest.er1
27885 ac_status=$?
27886 grep -v '^ *+' conftest.er1 >conftest.err
27887 rm -f conftest.er1
27888 cat conftest.err >&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } && {
27891 test -z "$ac_c_werror_flag" ||
27892 test ! -s conftest.err
27893 } && test -s conftest.$ac_objext; then
27894 ac_hi=$ac_mid
27895 else
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.$ac_ext >&5
27898
27899 ac_lo=`expr '(' $ac_mid ')' + 1`
27900 fi
27901
27902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27903 done
27904 case $ac_lo in
27905 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27906 '') if test "$ac_cv_type_boolean" = yes; then
27907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27908 See \`config.log' for more details." >&5
27909 echo "$as_me: error: cannot compute sizeof (boolean)
27910 See \`config.log' for more details." >&2;}
27911 { (exit 77); exit 77; }; }
27912 else
27913 ac_cv_sizeof_boolean=0
27914 fi ;;
27915 esac
27916 else
27917 cat >conftest.$ac_ext <<_ACEOF
27918 /* confdefs.h. */
27919 _ACEOF
27920 cat confdefs.h >>conftest.$ac_ext
27921 cat >>conftest.$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27923
27924 #undef HAVE_BOOLEAN
27925 #include <stdio.h>
27926 #include <jpeglib.h>
27927
27928
27929 typedef boolean ac__type_sizeof_;
27930 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27931 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27932 #include <stdio.h>
27933 #include <stdlib.h>
27934 int
27935 main ()
27936 {
27937
27938 FILE *f = fopen ("conftest.val", "w");
27939 if (! f)
27940 return 1;
27941 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27942 {
27943 long int i = longval ();
27944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27945 return 1;
27946 fprintf (f, "%ld\n", i);
27947 }
27948 else
27949 {
27950 unsigned long int i = ulongval ();
27951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27952 return 1;
27953 fprintf (f, "%lu\n", i);
27954 }
27955 return ferror (f) || fclose (f) != 0;
27956
27957 ;
27958 return 0;
27959 }
27960 _ACEOF
27961 rm -f conftest$ac_exeext
27962 if { (ac_try="$ac_link"
27963 case "(($ac_try" in
27964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27966 esac
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_link") 2>&5
27969 ac_status=$?
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27972 { (case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27975 esac
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_try") 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 ac_cv_sizeof_boolean=`cat conftest.val`
27982 else
27983 echo "$as_me: program exited with status $ac_status" >&5
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27986
27987 ( exit $ac_status )
27988 if test "$ac_cv_type_boolean" = yes; then
27989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27990 See \`config.log' for more details." >&5
27991 echo "$as_me: error: cannot compute sizeof (boolean)
27992 See \`config.log' for more details." >&2;}
27993 { (exit 77); exit 77; }; }
27994 else
27995 ac_cv_sizeof_boolean=0
27996 fi
27997 fi
27998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27999 fi
28000 rm -f conftest.val
28001 fi
28002 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28003 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28004
28005
28006
28007 cat >>confdefs.h <<_ACEOF
28008 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28009 _ACEOF
28010
28011
28012 cat >>confdefs.h <<_ACEOF
28013 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28014 _ACEOF
28015
28016
28017 fi
28018
28019 fi
28020 fi
28021 fi
28022 fi
28023 fi
28024
28025
28026 TIFF_LINK=
28027 TIFF_PREREQ_LINKS=-lm
28028 if test "$wxUSE_LIBTIFF" != "no" ; then
28029 cat >>confdefs.h <<\_ACEOF
28030 #define wxUSE_LIBTIFF 1
28031 _ACEOF
28032
28033
28034 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28035 if test "$wxUSE_LIBJPEG" = "sys"; then
28036 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28037 fi
28038 if test "$wxUSE_ZLIB" = "sys"; then
28039 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28040 fi
28041 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28042 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28043 if test "${ac_cv_header_tiffio_h+set}" = set; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 else
28046 cat >conftest.$ac_ext <<_ACEOF
28047 /* confdefs.h. */
28048 _ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28052
28053
28054
28055 #include <tiffio.h>
28056 _ACEOF
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28062 esac
28063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28065 ac_status=$?
28066 grep -v '^ *+' conftest.er1 >conftest.err
28067 rm -f conftest.er1
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 ac_cv_header_tiffio_h=yes
28075 else
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28078
28079 ac_cv_header_tiffio_h=no
28080 fi
28081
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 fi
28084 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28085 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28086 if test $ac_cv_header_tiffio_h = yes; then
28087
28088 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28089 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28092 else
28093 ac_check_lib_save_LIBS=$LIBS
28094 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h. */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101
28102 /* Override any GCC internal prototype to avoid an error.
28103 Use char because int might match the return type of a GCC
28104 builtin and then its argument prototype would still apply. */
28105 #ifdef __cplusplus
28106 extern "C"
28107 #endif
28108 char TIFFError ();
28109 int
28110 main ()
28111 {
28112 return TIFFError ();
28113 ;
28114 return 0;
28115 }
28116 _ACEOF
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (ac_try="$ac_link"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28122 esac
28123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_link") 2>conftest.er1
28125 ac_status=$?
28126 grep -v '^ *+' conftest.er1 >conftest.err
28127 rm -f conftest.er1
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest$ac_exeext &&
28134 $as_test_x conftest$ac_exeext; then
28135 ac_cv_lib_tiff_TIFFError=yes
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 ac_cv_lib_tiff_TIFFError=no
28141 fi
28142
28143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28144 conftest$ac_exeext conftest.$ac_ext
28145 LIBS=$ac_check_lib_save_LIBS
28146 fi
28147 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28148 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28149 if test $ac_cv_lib_tiff_TIFFError = yes; then
28150 TIFF_LINK=" -ltiff"
28151 fi
28152
28153
28154 fi
28155
28156
28157
28158 if test "x$TIFF_LINK" = "x" ; then
28159 if test "$wxUSE_LIBTIFF" = "sys" ; then
28160 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28161 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28162 { (exit 1); exit 1; }; }
28163 else
28164 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28165 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28166 wxUSE_LIBTIFF=builtin
28167 fi
28168 else
28169 wxUSE_LIBTIFF=sys
28170 fi
28171 fi
28172 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28173 if test "$wxUSE_LIBJPEG" = "no"; then
28174 ac_configure_args="$ac_configure_args --disable-jpeg"
28175 fi
28176 subdirs="$subdirs src/tiff"
28177
28178 fi
28179 fi
28180
28181
28182 if test "$wxUSE_WCHAR_T" != "yes"; then
28183 if test "$wxUSE_EXPAT" != "no"; then
28184 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28185 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28186 wxUSE_EXPAT=no
28187 fi
28188 if test "$wxUSE_XML" != "no"; then
28189 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28190 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28191 wxUSE_XML=no
28192 fi
28193 fi
28194
28195 if test "$wxUSE_EXPAT" != "no"; then
28196 wxUSE_XML=yes
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_EXPAT 1
28199 _ACEOF
28200
28201 cat >>confdefs.h <<\_ACEOF
28202 #define wxUSE_XML 1
28203 _ACEOF
28204
28205
28206 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28207 { echo "$as_me:$LINENO: checking for expat.h" >&5
28208 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28209 if test "${ac_cv_header_expat_h+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 cat >conftest.$ac_ext <<_ACEOF
28213 /* confdefs.h. */
28214 _ACEOF
28215 cat confdefs.h >>conftest.$ac_ext
28216 cat >>conftest.$ac_ext <<_ACEOF
28217 /* end confdefs.h. */
28218
28219
28220 #include <expat.h>
28221 _ACEOF
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28227 esac
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28230 ac_status=$?
28231 grep -v '^ *+' conftest.er1 >conftest.err
28232 rm -f conftest.er1
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 ac_cv_header_expat_h=yes
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 ac_cv_header_expat_h=no
28245 fi
28246
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28248 fi
28249 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28250 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28251 if test $ac_cv_header_expat_h = yes; then
28252 found_expat_h=1
28253 fi
28254
28255
28256 if test "x$found_expat_h" = "x1"; then
28257 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28258 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28259 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262
28263 ac_ext=cpp
28264 ac_cpp='$CXXCPP $CPPFLAGS'
28265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28268
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275 #include <expat.h>
28276 int
28277 main ()
28278 {
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_cxx_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301 wx_cv_expat_is_not_broken=yes
28302 else
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28305
28306 wx_cv_expat_is_not_broken=no
28307
28308 fi
28309
28310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28311 ac_ext=c
28312 ac_cpp='$CPP $CPPFLAGS'
28313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28316
28317
28318
28319 fi
28320 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28321 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28322 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28323 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28324 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28325 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328 ac_check_lib_save_LIBS=$LIBS
28329 LIBS="-lexpat $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
28338 Use char because int might match the return type of a GCC
28339 builtin and then its argument prototype would still apply. */
28340 #ifdef __cplusplus
28341 extern "C"
28342 #endif
28343 char XML_ParserCreate ();
28344 int
28345 main ()
28346 {
28347 return XML_ParserCreate ();
28348 ;
28349 return 0;
28350 }
28351 _ACEOF
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (ac_try="$ac_link"
28354 case "(($ac_try" in
28355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28356 *) ac_try_echo=$ac_try;;
28357 esac
28358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28359 (eval "$ac_link") 2>conftest.er1
28360 ac_status=$?
28361 grep -v '^ *+' conftest.er1 >conftest.err
28362 rm -f conftest.er1
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } && {
28366 test -z "$ac_c_werror_flag" ||
28367 test ! -s conftest.err
28368 } && test -s conftest$ac_exeext &&
28369 $as_test_x conftest$ac_exeext; then
28370 ac_cv_lib_expat_XML_ParserCreate=yes
28371 else
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28374
28375 ac_cv_lib_expat_XML_ParserCreate=no
28376 fi
28377
28378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28379 conftest$ac_exeext conftest.$ac_ext
28380 LIBS=$ac_check_lib_save_LIBS
28381 fi
28382 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28383 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28384 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28385 EXPAT_LINK=" -lexpat"
28386 fi
28387
28388 fi
28389 fi
28390 if test "x$EXPAT_LINK" = "x" ; then
28391 if test "$wxUSE_EXPAT" = "sys" ; then
28392 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28393 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28394 { (exit 1); exit 1; }; }
28395 else
28396 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28397 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28398 wxUSE_EXPAT=builtin
28399 fi
28400 else
28401 wxUSE_EXPAT=sys
28402 fi
28403 fi
28404 if test "$wxUSE_EXPAT" = "builtin" ; then
28405 subdirs="$subdirs src/expat"
28406
28407 fi
28408 fi
28409
28410
28411
28412 if test "$wxUSE_LIBMSPACK" != "no"; then
28413 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28414 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28415 if test "${ac_cv_header_mspack_h+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28417 else
28418 cat >conftest.$ac_ext <<_ACEOF
28419 /* confdefs.h. */
28420 _ACEOF
28421 cat confdefs.h >>conftest.$ac_ext
28422 cat >>conftest.$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424
28425
28426 #include <mspack.h>
28427 _ACEOF
28428 rm -f conftest.$ac_objext
28429 if { (ac_try="$ac_compile"
28430 case "(($ac_try" in
28431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28432 *) ac_try_echo=$ac_try;;
28433 esac
28434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28435 (eval "$ac_compile") 2>conftest.er1
28436 ac_status=$?
28437 grep -v '^ *+' conftest.er1 >conftest.err
28438 rm -f conftest.er1
28439 cat conftest.err >&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); } && {
28442 test -z "$ac_c_werror_flag" ||
28443 test ! -s conftest.err
28444 } && test -s conftest.$ac_objext; then
28445 ac_cv_header_mspack_h=yes
28446 else
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28449
28450 ac_cv_header_mspack_h=no
28451 fi
28452
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28454 fi
28455 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28456 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28457 if test $ac_cv_header_mspack_h = yes; then
28458 found_mspack_h=1
28459 fi
28460
28461
28462 if test "x$found_mspack_h" = "x1"; then
28463 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28464 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28465 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 else
28468 ac_check_lib_save_LIBS=$LIBS
28469 LIBS="-lmspack $LIBS"
28470 cat >conftest.$ac_ext <<_ACEOF
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476
28477 /* Override any GCC internal prototype to avoid an error.
28478 Use char because int might match the return type of a GCC
28479 builtin and then its argument prototype would still apply. */
28480 #ifdef __cplusplus
28481 extern "C"
28482 #endif
28483 char mspack_create_chm_decompressor ();
28484 int
28485 main ()
28486 {
28487 return mspack_create_chm_decompressor ();
28488 ;
28489 return 0;
28490 }
28491 _ACEOF
28492 rm -f conftest.$ac_objext conftest$ac_exeext
28493 if { (ac_try="$ac_link"
28494 case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28497 esac
28498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_link") 2>conftest.er1
28500 ac_status=$?
28501 grep -v '^ *+' conftest.er1 >conftest.err
28502 rm -f conftest.er1
28503 cat conftest.err >&5
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); } && {
28506 test -z "$ac_c_werror_flag" ||
28507 test ! -s conftest.err
28508 } && test -s conftest$ac_exeext &&
28509 $as_test_x conftest$ac_exeext; then
28510 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28511 else
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28516 fi
28517
28518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28519 conftest$ac_exeext conftest.$ac_ext
28520 LIBS=$ac_check_lib_save_LIBS
28521 fi
28522 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28523 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28524 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28525 MSPACK_LINK=" -lmspack"
28526 fi
28527
28528 fi
28529 if test "x$MSPACK_LINK" = "x" ; then
28530 wxUSE_LIBMSPACK=no
28531 fi
28532 fi
28533
28534 if test "$wxUSE_LIBMSPACK" != "no"; then
28535 cat >>confdefs.h <<\_ACEOF
28536 #define wxUSE_LIBMSPACK 1
28537 _ACEOF
28538
28539 fi
28540
28541
28542
28543 AFMINSTALL=
28544 WIN32INSTALL=
28545
28546 TOOLKIT=
28547 TOOLKIT_INCLUDE=
28548 WIDGET_SET=
28549
28550 if test "$USE_WIN32" = 1 ; then
28551
28552 for ac_header in w32api.h
28553 do
28554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28559 else
28560 cat >conftest.$ac_ext <<_ACEOF
28561 /* confdefs.h. */
28562 _ACEOF
28563 cat confdefs.h >>conftest.$ac_ext
28564 cat >>conftest.$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28566
28567
28568 #include <$ac_header>
28569 _ACEOF
28570 rm -f conftest.$ac_objext
28571 if { (ac_try="$ac_compile"
28572 case "(($ac_try" in
28573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28574 *) ac_try_echo=$ac_try;;
28575 esac
28576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28577 (eval "$ac_compile") 2>conftest.er1
28578 ac_status=$?
28579 grep -v '^ *+' conftest.er1 >conftest.err
28580 rm -f conftest.er1
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } && {
28584 test -z "$ac_c_werror_flag" ||
28585 test ! -s conftest.err
28586 } && test -s conftest.$ac_objext; then
28587 eval "$as_ac_Header=yes"
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 eval "$as_ac_Header=no"
28593 fi
28594
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 fi
28597 ac_res=`eval echo '${'$as_ac_Header'}'`
28598 { echo "$as_me:$LINENO: result: $ac_res" >&5
28599 echo "${ECHO_T}$ac_res" >&6; }
28600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28601 cat >>confdefs.h <<_ACEOF
28602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28603 _ACEOF
28604
28605 fi
28606
28607 done
28608
28609 { echo "$as_me:$LINENO: checking for windows.h" >&5
28610 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28611 if test "${ac_cv_header_windows_h+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28613 else
28614 cat >conftest.$ac_ext <<_ACEOF
28615 /* confdefs.h. */
28616 _ACEOF
28617 cat confdefs.h >>conftest.$ac_ext
28618 cat >>conftest.$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28620
28621
28622 #include <windows.h>
28623 _ACEOF
28624 rm -f conftest.$ac_objext
28625 if { (ac_try="$ac_compile"
28626 case "(($ac_try" in
28627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28628 *) ac_try_echo=$ac_try;;
28629 esac
28630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28631 (eval "$ac_compile") 2>conftest.er1
28632 ac_status=$?
28633 grep -v '^ *+' conftest.er1 >conftest.err
28634 rm -f conftest.er1
28635 cat conftest.err >&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } && {
28638 test -z "$ac_c_werror_flag" ||
28639 test ! -s conftest.err
28640 } && test -s conftest.$ac_objext; then
28641 ac_cv_header_windows_h=yes
28642 else
28643 echo "$as_me: failed program was:" >&5
28644 sed 's/^/| /' conftest.$ac_ext >&5
28645
28646 ac_cv_header_windows_h=no
28647 fi
28648
28649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28650 fi
28651 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28652 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28653 if test $ac_cv_header_windows_h = yes; then
28654 :
28655 else
28656
28657 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28658 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28659 { (exit 1); exit 1; }; }
28660
28661 fi
28662
28663
28664
28665 case "${host}" in
28666 x86_64-*-mingw32* )
28667 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28668
28669 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28670 ;;
28671 * )
28672 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28673 ;;
28674 esac
28675 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28676 LIBS="$LIBS -loleacc"
28677 fi
28678
28679 case "${host}" in
28680 *-*-cygwin* )
28681 LIBS="$LIBS -lkernel32 -luser32"
28682 esac
28683
28684 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28685 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28686
28687 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28688
28689 WIN32INSTALL=win32install
28690
28691 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28692 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28693 if test "${ac_cv_header_pbt_h+set}" = set; then
28694 echo $ECHO_N "(cached) $ECHO_C" >&6
28695 else
28696 cat >conftest.$ac_ext <<_ACEOF
28697 /* confdefs.h. */
28698 _ACEOF
28699 cat confdefs.h >>conftest.$ac_ext
28700 cat >>conftest.$ac_ext <<_ACEOF
28701 /* end confdefs.h. */
28702
28703
28704 #include <pbt.h>
28705 _ACEOF
28706 rm -f conftest.$ac_objext
28707 if { (ac_try="$ac_compile"
28708 case "(($ac_try" in
28709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28710 *) ac_try_echo=$ac_try;;
28711 esac
28712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28713 (eval "$ac_compile") 2>conftest.er1
28714 ac_status=$?
28715 grep -v '^ *+' conftest.er1 >conftest.err
28716 rm -f conftest.er1
28717 cat conftest.err >&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); } && {
28720 test -z "$ac_c_werror_flag" ||
28721 test ! -s conftest.err
28722 } && test -s conftest.$ac_objext; then
28723 ac_cv_header_pbt_h=yes
28724 else
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.$ac_ext >&5
28727
28728 ac_cv_header_pbt_h=no
28729 fi
28730
28731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28732 fi
28733 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28734 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28735 if test $ac_cv_header_pbt_h = yes; then
28736 :
28737 else
28738 cat >>confdefs.h <<\_ACEOF
28739 #define NEED_PBT_H 1
28740 _ACEOF
28741
28742 fi
28743
28744
28745 fi
28746
28747 if test "$wxUSE_GUI" = "yes"; then
28748 USE_GUI=1
28749
28750 GUI_TK_LIBRARY=
28751
28752 WXGTK12=
28753 WXGTK127=
28754 WXGTK2=
28755 WXGPE=
28756
28757 if test "$wxUSE_OLD_COCOA" = 1 ; then
28758 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28759 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28760 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28761 wxUSE_PRINTING_ARCHITECTURE=no
28762 fi
28763 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28764 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28765 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28766 wxUSE_DRAG_AND_DROP=no
28767 fi
28768 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28769 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28770 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28771 wxUSE_DRAGIMAGE=no
28772 fi
28773 fi
28774
28775 if test "$wxUSE_MSW" = 1 ; then
28776 TOOLKIT=MSW
28777 GUIDIST=MSW_DIST
28778
28779 case "${host}" in
28780 *-*-mingw32* )
28781 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28782 esac
28783 fi
28784
28785 if test "$wxUSE_GTK" = 1; then
28786 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28787 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28788
28789 gtk_version_cached=1
28790 if test "${wx_cv_lib_gtk+set}" = set; then
28791 echo $ECHO_N "(cached) $ECHO_C" >&6
28792 else
28793
28794 gtk_version_cached=0
28795 { echo "$as_me:$LINENO: result: " >&5
28796 echo "${ECHO_T}" >&6; }
28797
28798 GTK_MODULES=
28799 if test "$wxUSE_THREADS" = "yes"; then
28800 GTK_MODULES=gthread
28801 fi
28802
28803 wx_cv_lib_gtk=
28804 if test "x$wxGTK_VERSION" != "x1"
28805 then
28806 case "${host}" in
28807 *-*-solaris2* )
28808 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28809 enable_gtktest=no
28810 fi
28811 esac
28812
28813 # Check whether --enable-gtktest was given.
28814 if test "${enable_gtktest+set}" = set; then
28815 enableval=$enable_gtktest;
28816 else
28817 enable_gtktest=yes
28818 fi
28819
28820
28821 pkg_config_args=gtk+-2.0
28822 for module in . $GTK_MODULES
28823 do
28824 case "$module" in
28825 gthread)
28826 pkg_config_args="$pkg_config_args gthread-2.0"
28827 ;;
28828 esac
28829 done
28830
28831 no_gtk=""
28832
28833 # Extract the first word of "pkg-config", so it can be a program name with args.
28834 set dummy pkg-config; ac_word=$2
28835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28837 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 case $PKG_CONFIG in
28841 [\\/]* | ?:[\\/]*)
28842 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28843 ;;
28844 *)
28845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28846 for as_dir in $PATH
28847 do
28848 IFS=$as_save_IFS
28849 test -z "$as_dir" && as_dir=.
28850 for ac_exec_ext in '' $ac_executable_extensions; do
28851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28852 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28854 break 2
28855 fi
28856 done
28857 done
28858 IFS=$as_save_IFS
28859
28860 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28861 ;;
28862 esac
28863 fi
28864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28865 if test -n "$PKG_CONFIG"; then
28866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28868 else
28869 { echo "$as_me:$LINENO: result: no" >&5
28870 echo "${ECHO_T}no" >&6; }
28871 fi
28872
28873
28874
28875 if test x$PKG_CONFIG != xno ; then
28876 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28877 :
28878 else
28879 echo "*** pkg-config too old; version 0.7 or better required."
28880 no_gtk=yes
28881 PKG_CONFIG=no
28882 fi
28883 else
28884 no_gtk=yes
28885 fi
28886
28887 min_gtk_version=2.4.0
28888 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28889 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28890
28891 if test x$PKG_CONFIG != xno ; then
28892 ## don't try to run the test against uninstalled libtool libs
28893 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28894 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28895 enable_gtktest=no
28896 fi
28897
28898 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28899 :
28900 else
28901 no_gtk=yes
28902 fi
28903 fi
28904
28905 if test x"$no_gtk" = x ; then
28906 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28907 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28908 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28910 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28912 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28914 if test "x$enable_gtktest" = "xyes" ; then
28915 ac_save_CFLAGS="$CFLAGS"
28916 ac_save_LIBS="$LIBS"
28917 CFLAGS="$CFLAGS $GTK_CFLAGS"
28918 LIBS="$GTK_LIBS $LIBS"
28919 rm -f conf.gtktest
28920 if test "$cross_compiling" = yes; then
28921 echo $ac_n "cross compiling; assumed OK... $ac_c"
28922 else
28923 cat >conftest.$ac_ext <<_ACEOF
28924 /* confdefs.h. */
28925 _ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h. */
28929
28930 #include <gtk/gtk.h>
28931 #include <stdio.h>
28932 #include <stdlib.h>
28933
28934 int
28935 main ()
28936 {
28937 int major, minor, micro;
28938 char *tmp_version;
28939
28940 system ("touch conf.gtktest");
28941
28942 /* HP/UX 9 (%@#!) writes to sscanf strings */
28943 tmp_version = g_strdup("$min_gtk_version");
28944 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28945 printf("%s, bad version string\n", "$min_gtk_version");
28946 exit(1);
28947 }
28948
28949 if ((gtk_major_version != $gtk_config_major_version) ||
28950 (gtk_minor_version != $gtk_config_minor_version) ||
28951 (gtk_micro_version != $gtk_config_micro_version))
28952 {
28953 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28954 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28955 gtk_major_version, gtk_minor_version, gtk_micro_version);
28956 printf ("*** was found! If pkg-config was correct, then it is best\n");
28957 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28958 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28959 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28960 printf("*** required on your system.\n");
28961 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28962 printf("*** to point to the correct configuration files\n");
28963 }
28964 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28965 (gtk_minor_version != GTK_MINOR_VERSION) ||
28966 (gtk_micro_version != GTK_MICRO_VERSION))
28967 {
28968 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28969 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28970 printf("*** library (version %d.%d.%d)\n",
28971 gtk_major_version, gtk_minor_version, gtk_micro_version);
28972 }
28973 else
28974 {
28975 if ((gtk_major_version > major) ||
28976 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28977 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28978 {
28979 return 0;
28980 }
28981 else
28982 {
28983 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28984 gtk_major_version, gtk_minor_version, gtk_micro_version);
28985 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28986 major, minor, micro);
28987 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28988 printf("***\n");
28989 printf("*** If you have already installed a sufficiently new version, this error\n");
28990 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28991 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28992 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28993 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28994 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28995 printf("*** so that the correct libraries are found at run-time))\n");
28996 }
28997 }
28998 return 1;
28999 }
29000
29001 _ACEOF
29002 rm -f conftest$ac_exeext
29003 if { (ac_try="$ac_link"
29004 case "(($ac_try" in
29005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29006 *) ac_try_echo=$ac_try;;
29007 esac
29008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_link") 2>&5
29010 ac_status=$?
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29013 { (case "(($ac_try" in
29014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29015 *) ac_try_echo=$ac_try;;
29016 esac
29017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29018 (eval "$ac_try") 2>&5
29019 ac_status=$?
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 :
29023 else
29024 echo "$as_me: program exited with status $ac_status" >&5
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 ( exit $ac_status )
29029 no_gtk=yes
29030 fi
29031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29032 fi
29033
29034
29035 CFLAGS="$ac_save_CFLAGS"
29036 LIBS="$ac_save_LIBS"
29037 fi
29038 fi
29039 if test "x$no_gtk" = x ; then
29040 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29041 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29042 wx_cv_lib_gtk=2.0
29043 else
29044 { echo "$as_me:$LINENO: result: no" >&5
29045 echo "${ECHO_T}no" >&6; }
29046 if test "$PKG_CONFIG" = "no" ; then
29047 echo "*** A new enough version of pkg-config was not found."
29048 echo "*** See http://pkgconfig.sourceforge.net"
29049 else
29050 if test -f conf.gtktest ; then
29051 :
29052 else
29053 echo "*** Could not run GTK+ test program, checking why..."
29054 ac_save_CFLAGS="$CFLAGS"
29055 ac_save_LIBS="$LIBS"
29056 CFLAGS="$CFLAGS $GTK_CFLAGS"
29057 LIBS="$LIBS $GTK_LIBS"
29058 cat >conftest.$ac_ext <<_ACEOF
29059 /* confdefs.h. */
29060 _ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29064
29065 #include <gtk/gtk.h>
29066 #include <stdio.h>
29067
29068 int
29069 main ()
29070 {
29071 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29072 ;
29073 return 0;
29074 }
29075 _ACEOF
29076 rm -f conftest.$ac_objext conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29080 *) ac_try_echo=$ac_try;;
29081 esac
29082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>conftest.er1
29084 ac_status=$?
29085 grep -v '^ *+' conftest.er1 >conftest.err
29086 rm -f conftest.er1
29087 cat conftest.err >&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } && {
29090 test -z "$ac_c_werror_flag" ||
29091 test ! -s conftest.err
29092 } && test -s conftest$ac_exeext &&
29093 $as_test_x conftest$ac_exeext; then
29094 echo "*** The test program compiled, but did not run. This usually means"
29095 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29096 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29099 echo "*** is required on your system"
29100 echo "***"
29101 echo "*** If you have an old version installed, it is best to remove it, although"
29102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29103 else
29104 echo "$as_me: failed program was:" >&5
29105 sed 's/^/| /' conftest.$ac_ext >&5
29106
29107 echo "*** The test program failed to compile or link. See the file config.log for the"
29108 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29109 fi
29110
29111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29112 conftest$ac_exeext conftest.$ac_ext
29113 CFLAGS="$ac_save_CFLAGS"
29114 LIBS="$ac_save_LIBS"
29115 fi
29116 fi
29117 GTK_CFLAGS=""
29118 GTK_LIBS=""
29119 :
29120 fi
29121
29122
29123 rm -f conf.gtktest
29124
29125
29126 case "${host}" in
29127 *-*-solaris2* )
29128 if test "$wxUSE_SHARED" != "yes"; then
29129 GTK_LIBS="$GTK_LIBS -lX11"
29130 fi
29131 esac
29132 fi
29133
29134 if test -z "$wx_cv_lib_gtk"; then
29135 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29136
29137 # Check whether --with-gtk-prefix was given.
29138 if test "${with_gtk_prefix+set}" = set; then
29139 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29140 else
29141 gtk_config_prefix=""
29142 fi
29143
29144
29145 # Check whether --with-gtk-exec-prefix was given.
29146 if test "${with_gtk_exec_prefix+set}" = set; then
29147 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29148 else
29149 gtk_config_exec_prefix=""
29150 fi
29151
29152 # Check whether --enable-gtktest was given.
29153 if test "${enable_gtktest+set}" = set; then
29154 enableval=$enable_gtktest;
29155 else
29156 enable_gtktest=yes
29157 fi
29158
29159
29160 for module in . $GTK_MODULES
29161 do
29162 case "$module" in
29163 gthread)
29164 gtk_config_args="$gtk_config_args gthread"
29165 ;;
29166 esac
29167 done
29168
29169 if test x$gtk_config_exec_prefix != x ; then
29170 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29171 if test x${GTK_CONFIG+set} != xset ; then
29172 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29173 fi
29174 fi
29175 if test x$gtk_config_prefix != x ; then
29176 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29177 if test x${GTK_CONFIG+set} != xset ; then
29178 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29179 fi
29180 fi
29181
29182 # Extract the first word of "gtk-config", so it can be a program name with args.
29183 set dummy gtk-config; ac_word=$2
29184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29186 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 else
29189 case $GTK_CONFIG in
29190 [\\/]* | ?:[\\/]*)
29191 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29192 ;;
29193 *)
29194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29195 for as_dir in $PATH
29196 do
29197 IFS=$as_save_IFS
29198 test -z "$as_dir" && as_dir=.
29199 for ac_exec_ext in '' $ac_executable_extensions; do
29200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29201 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29203 break 2
29204 fi
29205 done
29206 done
29207 IFS=$as_save_IFS
29208
29209 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29210 ;;
29211 esac
29212 fi
29213 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29214 if test -n "$GTK_CONFIG"; then
29215 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29216 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29217 else
29218 { echo "$as_me:$LINENO: result: no" >&5
29219 echo "${ECHO_T}no" >&6; }
29220 fi
29221
29222
29223 min_gtk_version=1.2.7
29224 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29225 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29226 no_gtk=""
29227 if test "$GTK_CONFIG" = "no" ; then
29228 no_gtk=yes
29229 else
29230 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29231 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29232 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29233 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29234 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29235 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29236 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29238 if test "x$enable_gtktest" = "xyes" ; then
29239 ac_save_CFLAGS="$CFLAGS"
29240 ac_save_LIBS="$LIBS"
29241 CFLAGS="$CFLAGS $GTK_CFLAGS"
29242 LIBS="$GTK_LIBS $LIBS"
29243 rm -f conf.gtktest
29244 if test "$cross_compiling" = yes; then
29245 echo $ac_n "cross compiling; assumed OK... $ac_c"
29246 else
29247 cat >conftest.$ac_ext <<_ACEOF
29248 /* confdefs.h. */
29249 _ACEOF
29250 cat confdefs.h >>conftest.$ac_ext
29251 cat >>conftest.$ac_ext <<_ACEOF
29252 /* end confdefs.h. */
29253
29254 #include <gtk/gtk.h>
29255 #include <stdio.h>
29256 #include <stdlib.h>
29257
29258 int
29259 main ()
29260 {
29261 int major, minor, micro;
29262 char *tmp_version;
29263
29264 system ("touch conf.gtktest");
29265
29266 /* HP/UX 9 (%@#!) writes to sscanf strings */
29267 tmp_version = g_strdup("$min_gtk_version");
29268 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29269 printf("%s, bad version string\n", "$min_gtk_version");
29270 exit(1);
29271 }
29272
29273 if ((gtk_major_version != $gtk_config_major_version) ||
29274 (gtk_minor_version != $gtk_config_minor_version) ||
29275 (gtk_micro_version != $gtk_config_micro_version))
29276 {
29277 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29278 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29279 gtk_major_version, gtk_minor_version, gtk_micro_version);
29280 printf ("*** was found! If gtk-config was correct, then it is best\n");
29281 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29282 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29283 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29284 printf("*** required on your system.\n");
29285 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29286 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29287 printf("*** before re-running configure\n");
29288 }
29289 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29290 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29291 (gtk_minor_version != GTK_MINOR_VERSION) ||
29292 (gtk_micro_version != GTK_MICRO_VERSION))
29293 {
29294 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29295 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29296 printf("*** library (version %d.%d.%d)\n",
29297 gtk_major_version, gtk_minor_version, gtk_micro_version);
29298 }
29299 #endif /* defined (GTK_MAJOR_VERSION) ... */
29300 else
29301 {
29302 if ((gtk_major_version > major) ||
29303 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29304 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29305 {
29306 return 0;
29307 }
29308 else
29309 {
29310 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29311 gtk_major_version, gtk_minor_version, gtk_micro_version);
29312 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29313 major, minor, micro);
29314 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29315 printf("***\n");
29316 printf("*** If you have already installed a sufficiently new version, this error\n");
29317 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29318 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29319 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29320 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29321 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29322 printf("*** so that the correct libraries are found at run-time))\n");
29323 }
29324 }
29325 return 1;
29326 }
29327
29328 _ACEOF
29329 rm -f conftest$ac_exeext
29330 if { (ac_try="$ac_link"
29331 case "(($ac_try" in
29332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29333 *) ac_try_echo=$ac_try;;
29334 esac
29335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29336 (eval "$ac_link") 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29340 { (case "(($ac_try" in
29341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29342 *) ac_try_echo=$ac_try;;
29343 esac
29344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29345 (eval "$ac_try") 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; }; then
29349 :
29350 else
29351 echo "$as_me: program exited with status $ac_status" >&5
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 ( exit $ac_status )
29356 no_gtk=yes
29357 fi
29358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29359 fi
29360
29361
29362 CFLAGS="$ac_save_CFLAGS"
29363 LIBS="$ac_save_LIBS"
29364 fi
29365 fi
29366 if test "x$no_gtk" = x ; then
29367 { echo "$as_me:$LINENO: result: yes" >&5
29368 echo "${ECHO_T}yes" >&6; }
29369 wx_cv_lib_gtk=1.2.7
29370 else
29371 { echo "$as_me:$LINENO: result: no" >&5
29372 echo "${ECHO_T}no" >&6; }
29373 if test "$GTK_CONFIG" = "no" ; then
29374 echo "*** The gtk-config script installed by GTK could not be found"
29375 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29376 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29377 echo "*** full path to gtk-config."
29378 else
29379 if test -f conf.gtktest ; then
29380 :
29381 else
29382 echo "*** Could not run GTK test program, checking why..."
29383 CFLAGS="$CFLAGS $GTK_CFLAGS"
29384 LIBS="$LIBS $GTK_LIBS"
29385 cat >conftest.$ac_ext <<_ACEOF
29386 /* confdefs.h. */
29387 _ACEOF
29388 cat confdefs.h >>conftest.$ac_ext
29389 cat >>conftest.$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29391
29392 #include <gtk/gtk.h>
29393 #include <stdio.h>
29394
29395 int
29396 main ()
29397 {
29398 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (ac_try="$ac_link"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29408 esac
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_link") 2>conftest.er1
29411 ac_status=$?
29412 grep -v '^ *+' conftest.er1 >conftest.err
29413 rm -f conftest.er1
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); } && {
29417 test -z "$ac_c_werror_flag" ||
29418 test ! -s conftest.err
29419 } && test -s conftest$ac_exeext &&
29420 $as_test_x conftest$ac_exeext; then
29421 echo "*** The test program compiled, but did not run. This usually means"
29422 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29423 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29424 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29425 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29426 echo "*** is required on your system"
29427 echo "***"
29428 echo "*** If you have an old version installed, it is best to remove it, although"
29429 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29430 echo "***"
29431 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29432 echo "*** came with the system with the command"
29433 echo "***"
29434 echo "*** rpm --erase --nodeps gtk gtk-devel"
29435 else
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29438
29439 echo "*** The test program failed to compile or link. See the file config.log for the"
29440 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29441 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29442 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29443 fi
29444
29445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29446 conftest$ac_exeext conftest.$ac_ext
29447 CFLAGS="$ac_save_CFLAGS"
29448 LIBS="$ac_save_LIBS"
29449 fi
29450 fi
29451 GTK_CFLAGS=""
29452 GTK_LIBS=""
29453 :
29454 fi
29455
29456
29457 rm -f conf.gtktest
29458
29459
29460 if test -z "$wx_cv_lib_gtk"; then
29461
29462 # Check whether --with-gtk-prefix was given.
29463 if test "${with_gtk_prefix+set}" = set; then
29464 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29465 else
29466 gtk_config_prefix=""
29467 fi
29468
29469
29470 # Check whether --with-gtk-exec-prefix was given.
29471 if test "${with_gtk_exec_prefix+set}" = set; then
29472 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29473 else
29474 gtk_config_exec_prefix=""
29475 fi
29476
29477 # Check whether --enable-gtktest was given.
29478 if test "${enable_gtktest+set}" = set; then
29479 enableval=$enable_gtktest;
29480 else
29481 enable_gtktest=yes
29482 fi
29483
29484
29485 for module in . $GTK_MODULES
29486 do
29487 case "$module" in
29488 gthread)
29489 gtk_config_args="$gtk_config_args gthread"
29490 ;;
29491 esac
29492 done
29493
29494 if test x$gtk_config_exec_prefix != x ; then
29495 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29496 if test x${GTK_CONFIG+set} != xset ; then
29497 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29498 fi
29499 fi
29500 if test x$gtk_config_prefix != x ; then
29501 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29502 if test x${GTK_CONFIG+set} != xset ; then
29503 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29504 fi
29505 fi
29506
29507 # Extract the first word of "gtk-config", so it can be a program name with args.
29508 set dummy gtk-config; ac_word=$2
29509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29511 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29512 echo $ECHO_N "(cached) $ECHO_C" >&6
29513 else
29514 case $GTK_CONFIG in
29515 [\\/]* | ?:[\\/]*)
29516 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29517 ;;
29518 *)
29519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29520 for as_dir in $PATH
29521 do
29522 IFS=$as_save_IFS
29523 test -z "$as_dir" && as_dir=.
29524 for ac_exec_ext in '' $ac_executable_extensions; do
29525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29526 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29528 break 2
29529 fi
29530 done
29531 done
29532 IFS=$as_save_IFS
29533
29534 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29535 ;;
29536 esac
29537 fi
29538 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29539 if test -n "$GTK_CONFIG"; then
29540 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29541 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29542 else
29543 { echo "$as_me:$LINENO: result: no" >&5
29544 echo "${ECHO_T}no" >&6; }
29545 fi
29546
29547
29548 min_gtk_version=1.2.3
29549 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29550 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29551 no_gtk=""
29552 if test "$GTK_CONFIG" = "no" ; then
29553 no_gtk=yes
29554 else
29555 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29556 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29557 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29559 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29561 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29563 if test "x$enable_gtktest" = "xyes" ; then
29564 ac_save_CFLAGS="$CFLAGS"
29565 ac_save_LIBS="$LIBS"
29566 CFLAGS="$CFLAGS $GTK_CFLAGS"
29567 LIBS="$GTK_LIBS $LIBS"
29568 rm -f conf.gtktest
29569 if test "$cross_compiling" = yes; then
29570 echo $ac_n "cross compiling; assumed OK... $ac_c"
29571 else
29572 cat >conftest.$ac_ext <<_ACEOF
29573 /* confdefs.h. */
29574 _ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29578
29579 #include <gtk/gtk.h>
29580 #include <stdio.h>
29581 #include <stdlib.h>
29582
29583 int
29584 main ()
29585 {
29586 int major, minor, micro;
29587 char *tmp_version;
29588
29589 system ("touch conf.gtktest");
29590
29591 /* HP/UX 9 (%@#!) writes to sscanf strings */
29592 tmp_version = g_strdup("$min_gtk_version");
29593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29594 printf("%s, bad version string\n", "$min_gtk_version");
29595 exit(1);
29596 }
29597
29598 if ((gtk_major_version != $gtk_config_major_version) ||
29599 (gtk_minor_version != $gtk_config_minor_version) ||
29600 (gtk_micro_version != $gtk_config_micro_version))
29601 {
29602 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29603 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29604 gtk_major_version, gtk_minor_version, gtk_micro_version);
29605 printf ("*** was found! If gtk-config was correct, then it is best\n");
29606 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29607 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29608 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29609 printf("*** required on your system.\n");
29610 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29611 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29612 printf("*** before re-running configure\n");
29613 }
29614 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29616 (gtk_minor_version != GTK_MINOR_VERSION) ||
29617 (gtk_micro_version != GTK_MICRO_VERSION))
29618 {
29619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29621 printf("*** library (version %d.%d.%d)\n",
29622 gtk_major_version, gtk_minor_version, gtk_micro_version);
29623 }
29624 #endif /* defined (GTK_MAJOR_VERSION) ... */
29625 else
29626 {
29627 if ((gtk_major_version > major) ||
29628 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29629 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29630 {
29631 return 0;
29632 }
29633 else
29634 {
29635 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29636 gtk_major_version, gtk_minor_version, gtk_micro_version);
29637 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29638 major, minor, micro);
29639 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29640 printf("***\n");
29641 printf("*** If you have already installed a sufficiently new version, this error\n");
29642 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29643 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29644 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29645 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29646 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29647 printf("*** so that the correct libraries are found at run-time))\n");
29648 }
29649 }
29650 return 1;
29651 }
29652
29653 _ACEOF
29654 rm -f conftest$ac_exeext
29655 if { (ac_try="$ac_link"
29656 case "(($ac_try" in
29657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29658 *) ac_try_echo=$ac_try;;
29659 esac
29660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29661 (eval "$ac_link") 2>&5
29662 ac_status=$?
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29665 { (case "(($ac_try" in
29666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29668 esac
29669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_try") 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 :
29675 else
29676 echo "$as_me: program exited with status $ac_status" >&5
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 ( exit $ac_status )
29681 no_gtk=yes
29682 fi
29683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29684 fi
29685
29686
29687 CFLAGS="$ac_save_CFLAGS"
29688 LIBS="$ac_save_LIBS"
29689 fi
29690 fi
29691 if test "x$no_gtk" = x ; then
29692 { echo "$as_me:$LINENO: result: yes" >&5
29693 echo "${ECHO_T}yes" >&6; }
29694 wx_cv_lib_gtk=1.2.3
29695 else
29696 { echo "$as_me:$LINENO: result: no" >&5
29697 echo "${ECHO_T}no" >&6; }
29698 if test "$GTK_CONFIG" = "no" ; then
29699 echo "*** The gtk-config script installed by GTK could not be found"
29700 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29701 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29702 echo "*** full path to gtk-config."
29703 else
29704 if test -f conf.gtktest ; then
29705 :
29706 else
29707 echo "*** Could not run GTK test program, checking why..."
29708 CFLAGS="$CFLAGS $GTK_CFLAGS"
29709 LIBS="$LIBS $GTK_LIBS"
29710 cat >conftest.$ac_ext <<_ACEOF
29711 /* confdefs.h. */
29712 _ACEOF
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29716
29717 #include <gtk/gtk.h>
29718 #include <stdio.h>
29719
29720 int
29721 main ()
29722 {
29723 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29724 ;
29725 return 0;
29726 }
29727 _ACEOF
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (ac_try="$ac_link"
29730 case "(($ac_try" in
29731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29733 esac
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_link") 2>conftest.er1
29736 ac_status=$?
29737 grep -v '^ *+' conftest.er1 >conftest.err
29738 rm -f conftest.er1
29739 cat conftest.err >&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } && {
29742 test -z "$ac_c_werror_flag" ||
29743 test ! -s conftest.err
29744 } && test -s conftest$ac_exeext &&
29745 $as_test_x conftest$ac_exeext; then
29746 echo "*** The test program compiled, but did not run. This usually means"
29747 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29748 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29749 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29750 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29751 echo "*** is required on your system"
29752 echo "***"
29753 echo "*** If you have an old version installed, it is best to remove it, although"
29754 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29755 echo "***"
29756 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29757 echo "*** came with the system with the command"
29758 echo "***"
29759 echo "*** rpm --erase --nodeps gtk gtk-devel"
29760 else
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.$ac_ext >&5
29763
29764 echo "*** The test program failed to compile or link. See the file config.log for the"
29765 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29766 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29767 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29768 fi
29769
29770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29771 conftest$ac_exeext conftest.$ac_ext
29772 CFLAGS="$ac_save_CFLAGS"
29773 LIBS="$ac_save_LIBS"
29774 fi
29775 fi
29776 GTK_CFLAGS=""
29777 GTK_LIBS=""
29778 :
29779 fi
29780
29781
29782 rm -f conf.gtktest
29783
29784 fi
29785 fi
29786 fi
29787
29788 if test -z "$wx_cv_lib_gtk"; then
29789 wx_cv_lib_gtk=none
29790 else
29791 wx_cv_cflags_gtk=$GTK_CFLAGS
29792 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29793 fi
29794
29795
29796 fi
29797
29798
29799 if test "$gtk_version_cached" = 1; then
29800 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29801 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29802 fi
29803
29804 case "$wx_cv_lib_gtk" in
29805 2.0) WXGTK2=1
29806 TOOLKIT_VERSION=2
29807 ;;
29808 1.2.7) WXGTK127=1
29809 WXGTK12=1
29810 ;;
29811 1.2.3) WXGTK12=1
29812 ;;
29813 *) { { echo "$as_me:$LINENO: error:
29814 The development files for GTK+ were not found. For GTK+ 2, please
29815 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29816 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29817 and that the version is 1.2.3 or above. Also check that the
29818 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29819 --libs' are in the LD_LIBRARY_PATH or equivalent.
29820 " >&5
29821 echo "$as_me: error:
29822 The development files for GTK+ were not found. For GTK+ 2, please
29823 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29824 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29825 and that the version is 1.2.3 or above. Also check that the
29826 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29827 --libs' are in the LD_LIBRARY_PATH or equivalent.
29828 " >&2;}
29829 { (exit 1); exit 1; }; }
29830 ;;
29831 esac
29832
29833 if test "$WXGTK2" = 1; then
29834 save_CFLAGS="$CFLAGS"
29835 save_LIBS="$LIBS"
29836 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29837 LIBS="$LIBS $wx_cv_libs_gtk"
29838
29839 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29840 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29841 cat >conftest.$ac_ext <<_ACEOF
29842 /* confdefs.h. */
29843 _ACEOF
29844 cat confdefs.h >>conftest.$ac_ext
29845 cat >>conftest.$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29847
29848 #include <gtk/gtk.h>
29849
29850 int
29851 main ()
29852 {
29853
29854 #if !GTK_CHECK_VERSION(2,18,0)
29855 Not GTK+ 2.18
29856 #endif
29857
29858 ;
29859 return 0;
29860 }
29861 _ACEOF
29862 rm -f conftest.$ac_objext
29863 if { (ac_try="$ac_compile"
29864 case "(($ac_try" in
29865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29866 *) ac_try_echo=$ac_try;;
29867 esac
29868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29869 (eval "$ac_compile") 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } && {
29876 test -z "$ac_c_werror_flag" ||
29877 test ! -s conftest.err
29878 } && test -s conftest.$ac_objext; then
29879
29880 cat >>confdefs.h <<\_ACEOF
29881 #define __WXGTK218__ 1
29882 _ACEOF
29883
29884 cat >>confdefs.h <<\_ACEOF
29885 #define __WXGTK210__ 1
29886 _ACEOF
29887
29888 cat >>confdefs.h <<\_ACEOF
29889 #define __WXGTK26__ 1
29890 _ACEOF
29891
29892 { echo "$as_me:$LINENO: result: yes" >&5
29893 echo "${ECHO_T}yes" >&6; }
29894 ac_wxgtk218=1
29895
29896 else
29897 echo "$as_me: failed program was:" >&5
29898 sed 's/^/| /' conftest.$ac_ext >&5
29899
29900
29901 { echo "$as_me:$LINENO: result: no" >&5
29902 echo "${ECHO_T}no" >&6; }
29903 ac_wxgtk218=0
29904
29905 fi
29906
29907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29908
29909 if test "$ac_wxgtk218" = 0; then
29910 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29911 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918
29919 #include <gtk/gtk.h>
29920
29921 int
29922 main ()
29923 {
29924
29925 #if !GTK_CHECK_VERSION(2,10,0)
29926 Not GTK+ 2.10
29927 #endif
29928
29929 ;
29930 return 0;
29931 }
29932 _ACEOF
29933 rm -f conftest.$ac_objext
29934 if { (ac_try="$ac_compile"
29935 case "(($ac_try" in
29936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29937 *) ac_try_echo=$ac_try;;
29938 esac
29939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29940 (eval "$ac_compile") 2>conftest.er1
29941 ac_status=$?
29942 grep -v '^ *+' conftest.er1 >conftest.err
29943 rm -f conftest.er1
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } && {
29947 test -z "$ac_c_werror_flag" ||
29948 test ! -s conftest.err
29949 } && test -s conftest.$ac_objext; then
29950
29951 cat >>confdefs.h <<\_ACEOF
29952 #define __WXGTK210__ 1
29953 _ACEOF
29954
29955 cat >>confdefs.h <<\_ACEOF
29956 #define __WXGTK26__ 1
29957 _ACEOF
29958
29959 { echo "$as_me:$LINENO: result: yes" >&5
29960 echo "${ECHO_T}yes" >&6; }
29961 ac_wxgtk210=1
29962
29963 else
29964 echo "$as_me: failed program was:" >&5
29965 sed 's/^/| /' conftest.$ac_ext >&5
29966
29967
29968 { echo "$as_me:$LINENO: result: no" >&5
29969 echo "${ECHO_T}no" >&6; }
29970 ac_wxgtk210=0
29971
29972 fi
29973
29974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29975
29976 if test "$ac_wxgtk210" = 0; then
29977 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29978 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29979 cat >conftest.$ac_ext <<_ACEOF
29980 /* confdefs.h. */
29981 _ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985
29986 #include <gtk/gtk.h>
29987
29988 int
29989 main ()
29990 {
29991
29992 #if !GTK_CHECK_VERSION(2,6,0)
29993 Not GTK+ 2.6
29994 #endif
29995
29996 ;
29997 return 0;
29998 }
29999 _ACEOF
30000 rm -f conftest.$ac_objext
30001 if { (ac_try="$ac_compile"
30002 case "(($ac_try" in
30003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30004 *) ac_try_echo=$ac_try;;
30005 esac
30006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30007 (eval "$ac_compile") 2>conftest.er1
30008 ac_status=$?
30009 grep -v '^ *+' conftest.er1 >conftest.err
30010 rm -f conftest.er1
30011 cat conftest.err >&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); } && {
30014 test -z "$ac_c_werror_flag" ||
30015 test ! -s conftest.err
30016 } && test -s conftest.$ac_objext; then
30017
30018 cat >>confdefs.h <<\_ACEOF
30019 #define __WXGTK26__ 1
30020 _ACEOF
30021
30022 { echo "$as_me:$LINENO: result: yes" >&5
30023 echo "${ECHO_T}yes" >&6; }
30024 ac_wxgtk26=1
30025
30026 else
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30029
30030
30031 { echo "$as_me:$LINENO: result: no" >&5
30032 echo "${ECHO_T}no" >&6; }
30033 ac_wxgtk26=0
30034
30035 fi
30036
30037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30038 fi
30039 fi
30040
30041 CFLAGS="$save_CFLAGS"
30042 LIBS="$save_LIBS"
30043 else
30044 if test "$wxUSE_UNICODE" = "yes"; then
30045 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30046 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30047 wxUSE_UNICODE=no
30048 fi
30049
30050 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30051 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30052 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 else
30055 ac_check_lib_save_LIBS=$LIBS
30056 LIBS="-lgdk $LIBS"
30057 cat >conftest.$ac_ext <<_ACEOF
30058 /* confdefs.h. */
30059 _ACEOF
30060 cat confdefs.h >>conftest.$ac_ext
30061 cat >>conftest.$ac_ext <<_ACEOF
30062 /* end confdefs.h. */
30063
30064 /* Override any GCC internal prototype to avoid an error.
30065 Use char because int might match the return type of a GCC
30066 builtin and then its argument prototype would still apply. */
30067 #ifdef __cplusplus
30068 extern "C"
30069 #endif
30070 char gdk_im_open ();
30071 int
30072 main ()
30073 {
30074 return gdk_im_open ();
30075 ;
30076 return 0;
30077 }
30078 _ACEOF
30079 rm -f conftest.$ac_objext conftest$ac_exeext
30080 if { (ac_try="$ac_link"
30081 case "(($ac_try" in
30082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30083 *) ac_try_echo=$ac_try;;
30084 esac
30085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30086 (eval "$ac_link") 2>conftest.er1
30087 ac_status=$?
30088 grep -v '^ *+' conftest.er1 >conftest.err
30089 rm -f conftest.er1
30090 cat conftest.err >&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); } && {
30093 test -z "$ac_c_werror_flag" ||
30094 test ! -s conftest.err
30095 } && test -s conftest$ac_exeext &&
30096 $as_test_x conftest$ac_exeext; then
30097 ac_cv_lib_gdk_gdk_im_open=yes
30098 else
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.$ac_ext >&5
30101
30102 ac_cv_lib_gdk_gdk_im_open=no
30103 fi
30104
30105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30106 conftest$ac_exeext conftest.$ac_ext
30107 LIBS=$ac_check_lib_save_LIBS
30108 fi
30109 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30110 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30111 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30112 cat >>confdefs.h <<\_ACEOF
30113 #define HAVE_XIM 1
30114 _ACEOF
30115
30116 fi
30117
30118
30119 if test "$USE_DARWIN" != 1; then
30120
30121 for ac_func in poll
30122 do
30123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30127 echo $ECHO_N "(cached) $ECHO_C" >&6
30128 else
30129 cat >conftest.$ac_ext <<_ACEOF
30130 /* confdefs.h. */
30131 _ACEOF
30132 cat confdefs.h >>conftest.$ac_ext
30133 cat >>conftest.$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30137 #define $ac_func innocuous_$ac_func
30138
30139 /* System header to define __stub macros and hopefully few prototypes,
30140 which can conflict with char $ac_func (); below.
30141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30142 <limits.h> exists even on freestanding compilers. */
30143
30144 #ifdef __STDC__
30145 # include <limits.h>
30146 #else
30147 # include <assert.h>
30148 #endif
30149
30150 #undef $ac_func
30151
30152 /* Override any GCC internal prototype to avoid an error.
30153 Use char because int might match the return type of a GCC
30154 builtin and then its argument prototype would still apply. */
30155 #ifdef __cplusplus
30156 extern "C"
30157 #endif
30158 char $ac_func ();
30159 /* The GNU C library defines this for functions which it implements
30160 to always fail with ENOSYS. Some functions are actually named
30161 something starting with __ and the normal name is an alias. */
30162 #if defined __stub_$ac_func || defined __stub___$ac_func
30163 choke me
30164 #endif
30165
30166 int
30167 main ()
30168 {
30169 return $ac_func ();
30170 ;
30171 return 0;
30172 }
30173 _ACEOF
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30179 esac
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>conftest.er1
30182 ac_status=$?
30183 grep -v '^ *+' conftest.er1 >conftest.err
30184 rm -f conftest.er1
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest$ac_exeext &&
30191 $as_test_x conftest$ac_exeext; then
30192 eval "$as_ac_var=yes"
30193 else
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30196
30197 eval "$as_ac_var=no"
30198 fi
30199
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 fi
30203 ac_res=`eval echo '${'$as_ac_var'}'`
30204 { echo "$as_me:$LINENO: result: $ac_res" >&5
30205 echo "${ECHO_T}$ac_res" >&6; }
30206 if test `eval echo '${'$as_ac_var'}'` = yes; then
30207 cat >>confdefs.h <<_ACEOF
30208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30209 _ACEOF
30210
30211 fi
30212 done
30213
30214 fi
30215 fi
30216
30217 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30218 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30219
30220 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30221
30222 AFMINSTALL=afminstall
30223 TOOLKIT=GTK
30224 GUIDIST=GTK_DIST
30225
30226 if test "$wxUSE_GPE" = "yes"; then
30227 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30228 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30229
30230 ac_find_libraries=
30231 for ac_dir in $SEARCH_LIB;
30232 do
30233 for ac_extension in a so sl dylib dll.a; do
30234 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30235 ac_find_libraries=$ac_dir
30236 break 2
30237 fi
30238 done
30239 done
30240
30241 if test "$ac_find_libraries" != "" ; then
30242
30243 if test "$ac_find_libraries" = "default location"; then
30244 ac_path_to_link=""
30245 else
30246 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30247 result=$?
30248 if test $result = 0; then
30249 ac_path_to_link=""
30250 else
30251 ac_path_to_link=" -L$ac_find_libraries"
30252 fi
30253 fi
30254
30255 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30256 WXGPE=1
30257 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30258 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30259 else
30260 { echo "$as_me:$LINENO: result: not found" >&5
30261 echo "${ECHO_T}not found" >&6; }
30262 fi
30263
30264 fi
30265 fi
30266
30267 if test "$wxUSE_MGL" = 1; then
30268 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30269 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30270 if test "x$MGL_ROOT" = x ; then
30271 { echo "$as_me:$LINENO: result: not found" >&5
30272 echo "${ECHO_T}not found" >&6; }
30273 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30274 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30275 { (exit 1); exit 1; }; }
30276 else
30277 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30278 echo "${ECHO_T}$MGL_ROOT" >&6; }
30279 fi
30280
30281 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30282 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30283 case "${host}" in
30284 *-*-linux* )
30285 if test "x$wxUSE_SHARED" = xyes ; then
30286 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30287 else
30288 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30289 fi
30290 ;;
30291 *-pc-msdosdjgpp )
30292 mgl_os_candidates="dos32/dj2"
30293 ;;
30294 *)
30295 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30296 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30297 { (exit 1); exit 1; }; }
30298 esac
30299
30300 mgl_lib_type=""
30301 mgl_os=""
30302
30303 for mgl_os_i in $mgl_os_candidates ; do
30304 if test "x$mgl_os" = x ; then
30305 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30306 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30307 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30308 mgl_lib_type=debug
30309 mgl_os=$mgl_os_i
30310 fi
30311 fi
30312 if test "x$mgl_lib_type" = x ; then
30313 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30314 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30315 mgl_lib_type=release
30316 mgl_os=$mgl_os_i
30317 fi
30318 fi
30319 fi
30320 done
30321
30322 if test "x$mgl_os" = x ; then
30323 { echo "$as_me:$LINENO: result: not found" >&5
30324 echo "${ECHO_T}not found" >&6; }
30325 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30326 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30327 { (exit 1); exit 1; }; }
30328 fi
30329 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30330 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30331
30332 wxUSE_UNIVERSAL="yes"
30333
30334 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30335 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30336
30337 AFMINSTALL=afminstall
30338 TOOLKIT=MGL
30339 GUIDIST=MGL_DIST
30340 fi
30341
30342 if test "$wxUSE_DFB" = 1; then
30343
30344
30345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30346 if test -n "$ac_tool_prefix"; then
30347 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30348 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30352 echo $ECHO_N "(cached) $ECHO_C" >&6
30353 else
30354 case $PKG_CONFIG in
30355 [\\/]* | ?:[\\/]*)
30356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30357 ;;
30358 *)
30359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30360 for as_dir in $PATH
30361 do
30362 IFS=$as_save_IFS
30363 test -z "$as_dir" && as_dir=.
30364 for ac_exec_ext in '' $ac_executable_extensions; do
30365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30368 break 2
30369 fi
30370 done
30371 done
30372 IFS=$as_save_IFS
30373
30374 ;;
30375 esac
30376 fi
30377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30378 if test -n "$PKG_CONFIG"; then
30379 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30380 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30381 else
30382 { echo "$as_me:$LINENO: result: no" >&5
30383 echo "${ECHO_T}no" >&6; }
30384 fi
30385
30386
30387 fi
30388 if test -z "$ac_cv_path_PKG_CONFIG"; then
30389 ac_pt_PKG_CONFIG=$PKG_CONFIG
30390 # Extract the first word of "pkg-config", so it can be a program name with args.
30391 set dummy pkg-config; ac_word=$2
30392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30394 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30395 echo $ECHO_N "(cached) $ECHO_C" >&6
30396 else
30397 case $ac_pt_PKG_CONFIG in
30398 [\\/]* | ?:[\\/]*)
30399 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30400 ;;
30401 *)
30402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30403 for as_dir in $PATH
30404 do
30405 IFS=$as_save_IFS
30406 test -z "$as_dir" && as_dir=.
30407 for ac_exec_ext in '' $ac_executable_extensions; do
30408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30409 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30411 break 2
30412 fi
30413 done
30414 done
30415 IFS=$as_save_IFS
30416
30417 ;;
30418 esac
30419 fi
30420 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30421 if test -n "$ac_pt_PKG_CONFIG"; then
30422 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30423 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30424 else
30425 { echo "$as_me:$LINENO: result: no" >&5
30426 echo "${ECHO_T}no" >&6; }
30427 fi
30428
30429 if test "x$ac_pt_PKG_CONFIG" = x; then
30430 PKG_CONFIG=""
30431 else
30432 case $cross_compiling:$ac_tool_warned in
30433 yes:)
30434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30435 whose name does not start with the host triplet. If you think this
30436 configuration is useful to you, please write to autoconf@gnu.org." >&5
30437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30438 whose name does not start with the host triplet. If you think this
30439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30440 ac_tool_warned=yes ;;
30441 esac
30442 PKG_CONFIG=$ac_pt_PKG_CONFIG
30443 fi
30444 else
30445 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30446 fi
30447
30448 fi
30449 if test -n "$PKG_CONFIG"; then
30450 _pkg_min_version=0.9.0
30451 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30452 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30453 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30454 { echo "$as_me:$LINENO: result: yes" >&5
30455 echo "${ECHO_T}yes" >&6; }
30456 else
30457 { echo "$as_me:$LINENO: result: no" >&5
30458 echo "${ECHO_T}no" >&6; }
30459 PKG_CONFIG=""
30460 fi
30461
30462 fi
30463
30464
30465 pkg_failed=no
30466 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30467 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30468
30469 if test -n "$PKG_CONFIG"; then
30470 if test -n "$DIRECTFB_CFLAGS"; then
30471 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30472 else
30473 if test -n "$PKG_CONFIG" && \
30474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30475 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30476 ac_status=$?
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; then
30479 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30480 else
30481 pkg_failed=yes
30482 fi
30483 fi
30484 else
30485 pkg_failed=untried
30486 fi
30487 if test -n "$PKG_CONFIG"; then
30488 if test -n "$DIRECTFB_LIBS"; then
30489 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30490 else
30491 if test -n "$PKG_CONFIG" && \
30492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30493 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30494 ac_status=$?
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; then
30497 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30498 else
30499 pkg_failed=yes
30500 fi
30501 fi
30502 else
30503 pkg_failed=untried
30504 fi
30505
30506
30507
30508 if test $pkg_failed = yes; then
30509
30510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30511 _pkg_short_errors_supported=yes
30512 else
30513 _pkg_short_errors_supported=no
30514 fi
30515 if test $_pkg_short_errors_supported = yes; then
30516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30517 else
30518 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30519 fi
30520 # Put the nasty error message in config.log where it belongs
30521 echo "$DIRECTFB_PKG_ERRORS" >&5
30522
30523
30524 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30525 echo "$as_me: error: DirectFB not found." >&2;}
30526 { (exit 1); exit 1; }; }
30527
30528
30529 elif test $pkg_failed = untried; then
30530
30531 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30532 echo "$as_me: error: DirectFB not found." >&2;}
30533 { (exit 1); exit 1; }; }
30534
30535
30536 else
30537 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30538 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30539 { echo "$as_me:$LINENO: result: yes" >&5
30540 echo "${ECHO_T}yes" >&6; }
30541
30542 wxUSE_UNIVERSAL="yes"
30543 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30544 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30545 TOOLKIT=DFB
30546 GUIDIST=DFB_DIST
30547
30548 fi
30549 fi
30550
30551 if test "$wxUSE_MICROWIN" = 1; then
30552 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30553 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30554 if test "x$MICROWINDOWS" = x ; then
30555 { echo "$as_me:$LINENO: result: not found" >&5
30556 echo "${ECHO_T}not found" >&6; }
30557 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30558 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30559 { (exit 1); exit 1; }; }
30560 else
30561 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30562 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30563 fi
30564
30565 if test -f $MICROWINDOWS/lib/libmwin.a; then
30566 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30567 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30568 else
30569 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30570 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30571 { (exit 1); exit 1; }; }
30572 fi
30573
30574 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30575 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30576
30577 wxUSE_UNIVERSAL="yes"
30578
30579 AFMINSTALL=afminstall
30580 TOOLKIT=MICROWIN
30581 GUIDIST=MICROWIN_DIST
30582
30583 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30584 fi
30585
30586 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30587 { echo "$as_me:$LINENO: checking for X" >&5
30588 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30589
30590
30591 # Check whether --with-x was given.
30592 if test "${with_x+set}" = set; then
30593 withval=$with_x;
30594 fi
30595
30596 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30597 if test "x$with_x" = xno; then
30598 # The user explicitly disabled X.
30599 have_x=disabled
30600 else
30601 case $x_includes,$x_libraries in #(
30602 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30603 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30604 { (exit 1); exit 1; }; };; #(
30605 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30607 else
30608 # One or both of the vars are not set, and there is no cached value.
30609 ac_x_includes=no ac_x_libraries=no
30610 rm -f -r conftest.dir
30611 if mkdir conftest.dir; then
30612 cd conftest.dir
30613 cat >Imakefile <<'_ACEOF'
30614 incroot:
30615 @echo incroot='${INCROOT}'
30616 usrlibdir:
30617 @echo usrlibdir='${USRLIBDIR}'
30618 libdir:
30619 @echo libdir='${LIBDIR}'
30620 _ACEOF
30621 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30622 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30623 for ac_var in incroot usrlibdir libdir; do
30624 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30625 done
30626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30627 for ac_extension in a so sl; do
30628 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30629 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30630 ac_im_usrlibdir=$ac_im_libdir; break
30631 fi
30632 done
30633 # Screen out bogus values from the imake configuration. They are
30634 # bogus both because they are the default anyway, and because
30635 # using them would break gcc on systems where it needs fixed includes.
30636 case $ac_im_incroot in
30637 /usr/include) ac_x_includes= ;;
30638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30639 esac
30640 case $ac_im_usrlibdir in
30641 /usr/lib | /lib) ;;
30642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30643 esac
30644 fi
30645 cd ..
30646 rm -f -r conftest.dir
30647 fi
30648
30649 # Standard set of common directories for X headers.
30650 # Check X11 before X11Rn because it is often a symlink to the current release.
30651 ac_x_header_dirs='
30652 /usr/X11/include
30653 /usr/X11R6/include
30654 /usr/X11R5/include
30655 /usr/X11R4/include
30656
30657 /usr/include/X11
30658 /usr/include/X11R6
30659 /usr/include/X11R5
30660 /usr/include/X11R4
30661
30662 /usr/local/X11/include
30663 /usr/local/X11R6/include
30664 /usr/local/X11R5/include
30665 /usr/local/X11R4/include
30666
30667 /usr/local/include/X11
30668 /usr/local/include/X11R6
30669 /usr/local/include/X11R5
30670 /usr/local/include/X11R4
30671
30672 /usr/X386/include
30673 /usr/x386/include
30674 /usr/XFree86/include/X11
30675
30676 /usr/include
30677 /usr/local/include
30678 /usr/unsupported/include
30679 /usr/athena/include
30680 /usr/local/x11r5/include
30681 /usr/lpp/Xamples/include
30682
30683 /usr/openwin/include
30684 /usr/openwin/share/include'
30685
30686 if test "$ac_x_includes" = no; then
30687 # Guess where to find include files, by looking for Xlib.h.
30688 # First, try using that file with no special directory specified.
30689 cat >conftest.$ac_ext <<_ACEOF
30690 /* confdefs.h. */
30691 _ACEOF
30692 cat confdefs.h >>conftest.$ac_ext
30693 cat >>conftest.$ac_ext <<_ACEOF
30694 /* end confdefs.h. */
30695 #include <X11/Xlib.h>
30696 _ACEOF
30697 if { (ac_try="$ac_cpp conftest.$ac_ext"
30698 case "(($ac_try" in
30699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30700 *) ac_try_echo=$ac_try;;
30701 esac
30702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30704 ac_status=$?
30705 grep -v '^ *+' conftest.er1 >conftest.err
30706 rm -f conftest.er1
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } >/dev/null && {
30710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30711 test ! -s conftest.err
30712 }; then
30713 # We can compile using X headers with no special include directory.
30714 ac_x_includes=
30715 else
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30718
30719 for ac_dir in $ac_x_header_dirs; do
30720 if test -r "$ac_dir/X11/Xlib.h"; then
30721 ac_x_includes=$ac_dir
30722 break
30723 fi
30724 done
30725 fi
30726
30727 rm -f conftest.err conftest.$ac_ext
30728 fi # $ac_x_includes = no
30729
30730 if test "$ac_x_libraries" = no; then
30731 # Check for the libraries.
30732 # See if we find them without any special options.
30733 # Don't add to $LIBS permanently.
30734 ac_save_LIBS=$LIBS
30735 LIBS="-lX11 $LIBS"
30736 cat >conftest.$ac_ext <<_ACEOF
30737 /* confdefs.h. */
30738 _ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 #include <X11/Xlib.h>
30743 int
30744 main ()
30745 {
30746 XrmInitialize ()
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 rm -f conftest.$ac_objext conftest$ac_exeext
30752 if { (ac_try="$ac_link"
30753 case "(($ac_try" in
30754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30755 *) ac_try_echo=$ac_try;;
30756 esac
30757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30758 (eval "$ac_link") 2>conftest.er1
30759 ac_status=$?
30760 grep -v '^ *+' conftest.er1 >conftest.err
30761 rm -f conftest.er1
30762 cat conftest.err >&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); } && {
30765 test -z "$ac_c_werror_flag" ||
30766 test ! -s conftest.err
30767 } && test -s conftest$ac_exeext &&
30768 $as_test_x conftest$ac_exeext; then
30769 LIBS=$ac_save_LIBS
30770 # We can link X programs with no special library path.
30771 ac_x_libraries=
30772 else
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30775
30776 LIBS=$ac_save_LIBS
30777 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30778 do
30779 # Don't even attempt the hair of trying to link an X program!
30780 for ac_extension in a so sl; do
30781 if test -r "$ac_dir/libX11.$ac_extension"; then
30782 ac_x_libraries=$ac_dir
30783 break 2
30784 fi
30785 done
30786 done
30787 fi
30788
30789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30790 conftest$ac_exeext conftest.$ac_ext
30791 fi # $ac_x_libraries = no
30792
30793 case $ac_x_includes,$ac_x_libraries in #(
30794 no,* | *,no | *\'*)
30795 # Didn't find X, or a directory has "'" in its name.
30796 ac_cv_have_x="have_x=no";; #(
30797 *)
30798 # Record where we found X for the cache.
30799 ac_cv_have_x="have_x=yes\
30800 ac_x_includes='$ac_x_includes'\
30801 ac_x_libraries='$ac_x_libraries'"
30802 esac
30803 fi
30804 ;; #(
30805 *) have_x=yes;;
30806 esac
30807 eval "$ac_cv_have_x"
30808 fi # $with_x != no
30809
30810 if test "$have_x" != yes; then
30811 { echo "$as_me:$LINENO: result: $have_x" >&5
30812 echo "${ECHO_T}$have_x" >&6; }
30813 no_x=yes
30814 else
30815 # If each of the values was on the command line, it overrides each guess.
30816 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30817 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30818 # Update the cache value to reflect the command line values.
30819 ac_cv_have_x="have_x=yes\
30820 ac_x_includes='$x_includes'\
30821 ac_x_libraries='$x_libraries'"
30822 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30823 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30824 fi
30825
30826 if test "$no_x" = yes; then
30827 # Not all programs may use this symbol, but it does not hurt to define it.
30828
30829 cat >>confdefs.h <<\_ACEOF
30830 #define X_DISPLAY_MISSING 1
30831 _ACEOF
30832
30833 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30834 else
30835 if test -n "$x_includes"; then
30836 X_CFLAGS="$X_CFLAGS -I$x_includes"
30837 fi
30838
30839 # It would also be nice to do this for all -L options, not just this one.
30840 if test -n "$x_libraries"; then
30841 X_LIBS="$X_LIBS -L$x_libraries"
30842 # For Solaris; some versions of Sun CC require a space after -R and
30843 # others require no space. Words are not sufficient . . . .
30844 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30845 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30846 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30847 ac_xsave_c_werror_flag=$ac_c_werror_flag
30848 ac_c_werror_flag=yes
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855
30856 int
30857 main ()
30858 {
30859
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 rm -f conftest.$ac_objext conftest$ac_exeext
30865 if { (ac_try="$ac_link"
30866 case "(($ac_try" in
30867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30868 *) ac_try_echo=$ac_try;;
30869 esac
30870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30871 (eval "$ac_link") 2>conftest.er1
30872 ac_status=$?
30873 grep -v '^ *+' conftest.er1 >conftest.err
30874 rm -f conftest.er1
30875 cat conftest.err >&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); } && {
30878 test -z "$ac_c_werror_flag" ||
30879 test ! -s conftest.err
30880 } && test -s conftest$ac_exeext &&
30881 $as_test_x conftest$ac_exeext; then
30882 { echo "$as_me:$LINENO: result: no" >&5
30883 echo "${ECHO_T}no" >&6; }
30884 X_LIBS="$X_LIBS -R$x_libraries"
30885 else
30886 echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.$ac_ext >&5
30888
30889 LIBS="$ac_xsave_LIBS -R $x_libraries"
30890 cat >conftest.$ac_ext <<_ACEOF
30891 /* confdefs.h. */
30892 _ACEOF
30893 cat confdefs.h >>conftest.$ac_ext
30894 cat >>conftest.$ac_ext <<_ACEOF
30895 /* end confdefs.h. */
30896
30897 int
30898 main ()
30899 {
30900
30901 ;
30902 return 0;
30903 }
30904 _ACEOF
30905 rm -f conftest.$ac_objext conftest$ac_exeext
30906 if { (ac_try="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30910 esac
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30913 ac_status=$?
30914 grep -v '^ *+' conftest.er1 >conftest.err
30915 rm -f conftest.er1
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest$ac_exeext &&
30922 $as_test_x conftest$ac_exeext; then
30923 { echo "$as_me:$LINENO: result: yes" >&5
30924 echo "${ECHO_T}yes" >&6; }
30925 X_LIBS="$X_LIBS -R $x_libraries"
30926 else
30927 echo "$as_me: failed program was:" >&5
30928 sed 's/^/| /' conftest.$ac_ext >&5
30929
30930 { echo "$as_me:$LINENO: result: neither works" >&5
30931 echo "${ECHO_T}neither works" >&6; }
30932 fi
30933
30934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30935 conftest$ac_exeext conftest.$ac_ext
30936 fi
30937
30938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30939 conftest$ac_exeext conftest.$ac_ext
30940 ac_c_werror_flag=$ac_xsave_c_werror_flag
30941 LIBS=$ac_xsave_LIBS
30942 fi
30943
30944 # Check for system-dependent libraries X programs must link with.
30945 # Do this before checking for the system-independent R6 libraries
30946 # (-lICE), since we may need -lsocket or whatever for X linking.
30947
30948 if test "$ISC" = yes; then
30949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30950 else
30951 # Martyn Johnson says this is needed for Ultrix, if the X
30952 # libraries were built with DECnet support. And Karl Berry says
30953 # the Alpha needs dnet_stub (dnet does not exist).
30954 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961
30962 /* Override any GCC internal prototype to avoid an error.
30963 Use char because int might match the return type of a GCC
30964 builtin and then its argument prototype would still apply. */
30965 #ifdef __cplusplus
30966 extern "C"
30967 #endif
30968 char XOpenDisplay ();
30969 int
30970 main ()
30971 {
30972 return XOpenDisplay ();
30973 ;
30974 return 0;
30975 }
30976 _ACEOF
30977 rm -f conftest.$ac_objext conftest$ac_exeext
30978 if { (ac_try="$ac_link"
30979 case "(($ac_try" in
30980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30981 *) ac_try_echo=$ac_try;;
30982 esac
30983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30984 (eval "$ac_link") 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } && {
30991 test -z "$ac_c_werror_flag" ||
30992 test ! -s conftest.err
30993 } && test -s conftest$ac_exeext &&
30994 $as_test_x conftest$ac_exeext; then
30995 :
30996 else
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
30999
31000 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31001 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31002 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31003 echo $ECHO_N "(cached) $ECHO_C" >&6
31004 else
31005 ac_check_lib_save_LIBS=$LIBS
31006 LIBS="-ldnet $LIBS"
31007 cat >conftest.$ac_ext <<_ACEOF
31008 /* confdefs.h. */
31009 _ACEOF
31010 cat confdefs.h >>conftest.$ac_ext
31011 cat >>conftest.$ac_ext <<_ACEOF
31012 /* end confdefs.h. */
31013
31014 /* Override any GCC internal prototype to avoid an error.
31015 Use char because int might match the return type of a GCC
31016 builtin and then its argument prototype would still apply. */
31017 #ifdef __cplusplus
31018 extern "C"
31019 #endif
31020 char dnet_ntoa ();
31021 int
31022 main ()
31023 {
31024 return dnet_ntoa ();
31025 ;
31026 return 0;
31027 }
31028 _ACEOF
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31034 esac
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 ac_cv_lib_dnet_dnet_ntoa=yes
31048 else
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.$ac_ext >&5
31051
31052 ac_cv_lib_dnet_dnet_ntoa=no
31053 fi
31054
31055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31056 conftest$ac_exeext conftest.$ac_ext
31057 LIBS=$ac_check_lib_save_LIBS
31058 fi
31059 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31060 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31061 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31062 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31063 fi
31064
31065 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31066 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31067 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31068 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 else
31071 ac_check_lib_save_LIBS=$LIBS
31072 LIBS="-ldnet_stub $LIBS"
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 /* Override any GCC internal prototype to avoid an error.
31081 Use char because int might match the return type of a GCC
31082 builtin and then its argument prototype would still apply. */
31083 #ifdef __cplusplus
31084 extern "C"
31085 #endif
31086 char dnet_ntoa ();
31087 int
31088 main ()
31089 {
31090 return dnet_ntoa ();
31091 ;
31092 return 0;
31093 }
31094 _ACEOF
31095 rm -f conftest.$ac_objext conftest$ac_exeext
31096 if { (ac_try="$ac_link"
31097 case "(($ac_try" in
31098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31099 *) ac_try_echo=$ac_try;;
31100 esac
31101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31102 (eval "$ac_link") 2>conftest.er1
31103 ac_status=$?
31104 grep -v '^ *+' conftest.er1 >conftest.err
31105 rm -f conftest.er1
31106 cat conftest.err >&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); } && {
31109 test -z "$ac_c_werror_flag" ||
31110 test ! -s conftest.err
31111 } && test -s conftest$ac_exeext &&
31112 $as_test_x conftest$ac_exeext; then
31113 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31114 else
31115 echo "$as_me: failed program was:" >&5
31116 sed 's/^/| /' conftest.$ac_ext >&5
31117
31118 ac_cv_lib_dnet_stub_dnet_ntoa=no
31119 fi
31120
31121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31122 conftest$ac_exeext conftest.$ac_ext
31123 LIBS=$ac_check_lib_save_LIBS
31124 fi
31125 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31126 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31127 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31128 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31129 fi
31130
31131 fi
31132 fi
31133
31134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31135 conftest$ac_exeext conftest.$ac_ext
31136 LIBS="$ac_xsave_LIBS"
31137
31138 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31139 # to get the SysV transport functions.
31140 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31141 # needs -lnsl.
31142 # The nsl library prevents programs from opening the X display
31143 # on Irix 5.2, according to T.E. Dickey.
31144 # The functions gethostbyname, getservbyname, and inet_addr are
31145 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31146 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31147 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31148 if test "${ac_cv_func_gethostbyname+set}" = set; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31150 else
31151 cat >conftest.$ac_ext <<_ACEOF
31152 /* confdefs.h. */
31153 _ACEOF
31154 cat confdefs.h >>conftest.$ac_ext
31155 cat >>conftest.$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31159 #define gethostbyname innocuous_gethostbyname
31160
31161 /* System header to define __stub macros and hopefully few prototypes,
31162 which can conflict with char gethostbyname (); below.
31163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31164 <limits.h> exists even on freestanding compilers. */
31165
31166 #ifdef __STDC__
31167 # include <limits.h>
31168 #else
31169 # include <assert.h>
31170 #endif
31171
31172 #undef gethostbyname
31173
31174 /* Override any GCC internal prototype to avoid an error.
31175 Use char because int might match the return type of a GCC
31176 builtin and then its argument prototype would still apply. */
31177 #ifdef __cplusplus
31178 extern "C"
31179 #endif
31180 char gethostbyname ();
31181 /* The GNU C library defines this for functions which it implements
31182 to always fail with ENOSYS. Some functions are actually named
31183 something starting with __ and the normal name is an alias. */
31184 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31185 choke me
31186 #endif
31187
31188 int
31189 main ()
31190 {
31191 return gethostbyname ();
31192 ;
31193 return 0;
31194 }
31195 _ACEOF
31196 rm -f conftest.$ac_objext conftest$ac_exeext
31197 if { (ac_try="$ac_link"
31198 case "(($ac_try" in
31199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31201 esac
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_link") 2>conftest.er1
31204 ac_status=$?
31205 grep -v '^ *+' conftest.er1 >conftest.err
31206 rm -f conftest.er1
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } && {
31210 test -z "$ac_c_werror_flag" ||
31211 test ! -s conftest.err
31212 } && test -s conftest$ac_exeext &&
31213 $as_test_x conftest$ac_exeext; then
31214 ac_cv_func_gethostbyname=yes
31215 else
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.$ac_ext >&5
31218
31219 ac_cv_func_gethostbyname=no
31220 fi
31221
31222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31223 conftest$ac_exeext conftest.$ac_ext
31224 fi
31225 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31226 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31227
31228 if test $ac_cv_func_gethostbyname = no; then
31229 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31230 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31231 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31233 else
31234 ac_check_lib_save_LIBS=$LIBS
31235 LIBS="-lnsl $LIBS"
31236 cat >conftest.$ac_ext <<_ACEOF
31237 /* confdefs.h. */
31238 _ACEOF
31239 cat confdefs.h >>conftest.$ac_ext
31240 cat >>conftest.$ac_ext <<_ACEOF
31241 /* end confdefs.h. */
31242
31243 /* Override any GCC internal prototype to avoid an error.
31244 Use char because int might match the return type of a GCC
31245 builtin and then its argument prototype would still apply. */
31246 #ifdef __cplusplus
31247 extern "C"
31248 #endif
31249 char gethostbyname ();
31250 int
31251 main ()
31252 {
31253 return gethostbyname ();
31254 ;
31255 return 0;
31256 }
31257 _ACEOF
31258 rm -f conftest.$ac_objext conftest$ac_exeext
31259 if { (ac_try="$ac_link"
31260 case "(($ac_try" in
31261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31262 *) ac_try_echo=$ac_try;;
31263 esac
31264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31265 (eval "$ac_link") 2>conftest.er1
31266 ac_status=$?
31267 grep -v '^ *+' conftest.er1 >conftest.err
31268 rm -f conftest.er1
31269 cat conftest.err >&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); } && {
31272 test -z "$ac_c_werror_flag" ||
31273 test ! -s conftest.err
31274 } && test -s conftest$ac_exeext &&
31275 $as_test_x conftest$ac_exeext; then
31276 ac_cv_lib_nsl_gethostbyname=yes
31277 else
31278 echo "$as_me: failed program was:" >&5
31279 sed 's/^/| /' conftest.$ac_ext >&5
31280
31281 ac_cv_lib_nsl_gethostbyname=no
31282 fi
31283
31284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31285 conftest$ac_exeext conftest.$ac_ext
31286 LIBS=$ac_check_lib_save_LIBS
31287 fi
31288 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31289 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31290 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31292 fi
31293
31294 if test $ac_cv_lib_nsl_gethostbyname = no; then
31295 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31296 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31297 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31299 else
31300 ac_check_lib_save_LIBS=$LIBS
31301 LIBS="-lbsd $LIBS"
31302 cat >conftest.$ac_ext <<_ACEOF
31303 /* confdefs.h. */
31304 _ACEOF
31305 cat confdefs.h >>conftest.$ac_ext
31306 cat >>conftest.$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31308
31309 /* Override any GCC internal prototype to avoid an error.
31310 Use char because int might match the return type of a GCC
31311 builtin and then its argument prototype would still apply. */
31312 #ifdef __cplusplus
31313 extern "C"
31314 #endif
31315 char gethostbyname ();
31316 int
31317 main ()
31318 {
31319 return gethostbyname ();
31320 ;
31321 return 0;
31322 }
31323 _ACEOF
31324 rm -f conftest.$ac_objext conftest$ac_exeext
31325 if { (ac_try="$ac_link"
31326 case "(($ac_try" in
31327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31328 *) ac_try_echo=$ac_try;;
31329 esac
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_link") 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest$ac_exeext &&
31341 $as_test_x conftest$ac_exeext; then
31342 ac_cv_lib_bsd_gethostbyname=yes
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 ac_cv_lib_bsd_gethostbyname=no
31348 fi
31349
31350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31351 conftest$ac_exeext conftest.$ac_ext
31352 LIBS=$ac_check_lib_save_LIBS
31353 fi
31354 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31355 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31356 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31358 fi
31359
31360 fi
31361 fi
31362
31363 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31364 # socket/setsockopt and other routines are undefined under SCO ODT
31365 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31366 # on later versions), says Simon Leinen: it contains gethostby*
31367 # variants that don't use the name server (or something). -lsocket
31368 # must be given before -lnsl if both are needed. We assume that
31369 # if connect needs -lnsl, so does gethostbyname.
31370 { echo "$as_me:$LINENO: checking for connect" >&5
31371 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31372 if test "${ac_cv_func_connect+set}" = set; then
31373 echo $ECHO_N "(cached) $ECHO_C" >&6
31374 else
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31383 #define connect innocuous_connect
31384
31385 /* System header to define __stub macros and hopefully few prototypes,
31386 which can conflict with char connect (); below.
31387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31388 <limits.h> exists even on freestanding compilers. */
31389
31390 #ifdef __STDC__
31391 # include <limits.h>
31392 #else
31393 # include <assert.h>
31394 #endif
31395
31396 #undef connect
31397
31398 /* Override any GCC internal prototype to avoid an error.
31399 Use char because int might match the return type of a GCC
31400 builtin and then its argument prototype would still apply. */
31401 #ifdef __cplusplus
31402 extern "C"
31403 #endif
31404 char connect ();
31405 /* The GNU C library defines this for functions which it implements
31406 to always fail with ENOSYS. Some functions are actually named
31407 something starting with __ and the normal name is an alias. */
31408 #if defined __stub_connect || defined __stub___connect
31409 choke me
31410 #endif
31411
31412 int
31413 main ()
31414 {
31415 return connect ();
31416 ;
31417 return 0;
31418 }
31419 _ACEOF
31420 rm -f conftest.$ac_objext conftest$ac_exeext
31421 if { (ac_try="$ac_link"
31422 case "(($ac_try" in
31423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31424 *) ac_try_echo=$ac_try;;
31425 esac
31426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31427 (eval "$ac_link") 2>conftest.er1
31428 ac_status=$?
31429 grep -v '^ *+' conftest.er1 >conftest.err
31430 rm -f conftest.er1
31431 cat conftest.err >&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); } && {
31434 test -z "$ac_c_werror_flag" ||
31435 test ! -s conftest.err
31436 } && test -s conftest$ac_exeext &&
31437 $as_test_x conftest$ac_exeext; then
31438 ac_cv_func_connect=yes
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31442
31443 ac_cv_func_connect=no
31444 fi
31445
31446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31447 conftest$ac_exeext conftest.$ac_ext
31448 fi
31449 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31450 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31451
31452 if test $ac_cv_func_connect = no; then
31453 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31454 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31455 if test "${ac_cv_lib_socket_connect+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31457 else
31458 ac_check_lib_save_LIBS=$LIBS
31459 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31460 cat >conftest.$ac_ext <<_ACEOF
31461 /* confdefs.h. */
31462 _ACEOF
31463 cat confdefs.h >>conftest.$ac_ext
31464 cat >>conftest.$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466
31467 /* Override any GCC internal prototype to avoid an error.
31468 Use char because int might match the return type of a GCC
31469 builtin and then its argument prototype would still apply. */
31470 #ifdef __cplusplus
31471 extern "C"
31472 #endif
31473 char connect ();
31474 int
31475 main ()
31476 {
31477 return connect ();
31478 ;
31479 return 0;
31480 }
31481 _ACEOF
31482 rm -f conftest.$ac_objext conftest$ac_exeext
31483 if { (ac_try="$ac_link"
31484 case "(($ac_try" in
31485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31486 *) ac_try_echo=$ac_try;;
31487 esac
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_link") 2>conftest.er1
31490 ac_status=$?
31491 grep -v '^ *+' conftest.er1 >conftest.err
31492 rm -f conftest.er1
31493 cat conftest.err >&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); } && {
31496 test -z "$ac_c_werror_flag" ||
31497 test ! -s conftest.err
31498 } && test -s conftest$ac_exeext &&
31499 $as_test_x conftest$ac_exeext; then
31500 ac_cv_lib_socket_connect=yes
31501 else
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31504
31505 ac_cv_lib_socket_connect=no
31506 fi
31507
31508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31509 conftest$ac_exeext conftest.$ac_ext
31510 LIBS=$ac_check_lib_save_LIBS
31511 fi
31512 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31513 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31514 if test $ac_cv_lib_socket_connect = yes; then
31515 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31516 fi
31517
31518 fi
31519
31520 # Guillermo Gomez says -lposix is necessary on A/UX.
31521 { echo "$as_me:$LINENO: checking for remove" >&5
31522 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31523 if test "${ac_cv_func_remove+set}" = set; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31525 else
31526 cat >conftest.$ac_ext <<_ACEOF
31527 /* confdefs.h. */
31528 _ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31534 #define remove innocuous_remove
31535
31536 /* System header to define __stub macros and hopefully few prototypes,
31537 which can conflict with char remove (); below.
31538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31539 <limits.h> exists even on freestanding compilers. */
31540
31541 #ifdef __STDC__
31542 # include <limits.h>
31543 #else
31544 # include <assert.h>
31545 #endif
31546
31547 #undef remove
31548
31549 /* Override any GCC internal prototype to avoid an error.
31550 Use char because int might match the return type of a GCC
31551 builtin and then its argument prototype would still apply. */
31552 #ifdef __cplusplus
31553 extern "C"
31554 #endif
31555 char remove ();
31556 /* The GNU C library defines this for functions which it implements
31557 to always fail with ENOSYS. Some functions are actually named
31558 something starting with __ and the normal name is an alias. */
31559 #if defined __stub_remove || defined __stub___remove
31560 choke me
31561 #endif
31562
31563 int
31564 main ()
31565 {
31566 return remove ();
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_func_remove=yes
31590 else
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.$ac_ext >&5
31593
31594 ac_cv_func_remove=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 fi
31600 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31601 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31602
31603 if test $ac_cv_func_remove = no; then
31604 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31605 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31606 if test "${ac_cv_lib_posix_remove+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 else
31609 ac_check_lib_save_LIBS=$LIBS
31610 LIBS="-lposix $LIBS"
31611 cat >conftest.$ac_ext <<_ACEOF
31612 /* confdefs.h. */
31613 _ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31617
31618 /* Override any GCC internal prototype to avoid an error.
31619 Use char because int might match the return type of a GCC
31620 builtin and then its argument prototype would still apply. */
31621 #ifdef __cplusplus
31622 extern "C"
31623 #endif
31624 char remove ();
31625 int
31626 main ()
31627 {
31628 return remove ();
31629 ;
31630 return 0;
31631 }
31632 _ACEOF
31633 rm -f conftest.$ac_objext conftest$ac_exeext
31634 if { (ac_try="$ac_link"
31635 case "(($ac_try" in
31636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31637 *) ac_try_echo=$ac_try;;
31638 esac
31639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31640 (eval "$ac_link") 2>conftest.er1
31641 ac_status=$?
31642 grep -v '^ *+' conftest.er1 >conftest.err
31643 rm -f conftest.er1
31644 cat conftest.err >&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } && {
31647 test -z "$ac_c_werror_flag" ||
31648 test ! -s conftest.err
31649 } && test -s conftest$ac_exeext &&
31650 $as_test_x conftest$ac_exeext; then
31651 ac_cv_lib_posix_remove=yes
31652 else
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31655
31656 ac_cv_lib_posix_remove=no
31657 fi
31658
31659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31660 conftest$ac_exeext conftest.$ac_ext
31661 LIBS=$ac_check_lib_save_LIBS
31662 fi
31663 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31664 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31665 if test $ac_cv_lib_posix_remove = yes; then
31666 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31667 fi
31668
31669 fi
31670
31671 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31672 { echo "$as_me:$LINENO: checking for shmat" >&5
31673 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31674 if test "${ac_cv_func_shmat+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 else
31677 cat >conftest.$ac_ext <<_ACEOF
31678 /* confdefs.h. */
31679 _ACEOF
31680 cat confdefs.h >>conftest.$ac_ext
31681 cat >>conftest.$ac_ext <<_ACEOF
31682 /* end confdefs.h. */
31683 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31685 #define shmat innocuous_shmat
31686
31687 /* System header to define __stub macros and hopefully few prototypes,
31688 which can conflict with char shmat (); below.
31689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31690 <limits.h> exists even on freestanding compilers. */
31691
31692 #ifdef __STDC__
31693 # include <limits.h>
31694 #else
31695 # include <assert.h>
31696 #endif
31697
31698 #undef shmat
31699
31700 /* Override any GCC internal prototype to avoid an error.
31701 Use char because int might match the return type of a GCC
31702 builtin and then its argument prototype would still apply. */
31703 #ifdef __cplusplus
31704 extern "C"
31705 #endif
31706 char shmat ();
31707 /* The GNU C library defines this for functions which it implements
31708 to always fail with ENOSYS. Some functions are actually named
31709 something starting with __ and the normal name is an alias. */
31710 #if defined __stub_shmat || defined __stub___shmat
31711 choke me
31712 #endif
31713
31714 int
31715 main ()
31716 {
31717 return shmat ();
31718 ;
31719 return 0;
31720 }
31721 _ACEOF
31722 rm -f conftest.$ac_objext conftest$ac_exeext
31723 if { (ac_try="$ac_link"
31724 case "(($ac_try" in
31725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31726 *) ac_try_echo=$ac_try;;
31727 esac
31728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31729 (eval "$ac_link") 2>conftest.er1
31730 ac_status=$?
31731 grep -v '^ *+' conftest.er1 >conftest.err
31732 rm -f conftest.er1
31733 cat conftest.err >&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } && {
31736 test -z "$ac_c_werror_flag" ||
31737 test ! -s conftest.err
31738 } && test -s conftest$ac_exeext &&
31739 $as_test_x conftest$ac_exeext; then
31740 ac_cv_func_shmat=yes
31741 else
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745 ac_cv_func_shmat=no
31746 fi
31747
31748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31749 conftest$ac_exeext conftest.$ac_ext
31750 fi
31751 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31752 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31753
31754 if test $ac_cv_func_shmat = no; then
31755 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31756 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 ac_check_lib_save_LIBS=$LIBS
31761 LIBS="-lipc $LIBS"
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31772 #ifdef __cplusplus
31773 extern "C"
31774 #endif
31775 char shmat ();
31776 int
31777 main ()
31778 {
31779 return shmat ();
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31789 esac
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_ipc_shmat=yes
31803 else
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31806
31807 ac_cv_lib_ipc_shmat=no
31808 fi
31809
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31813 fi
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31815 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31816 if test $ac_cv_lib_ipc_shmat = yes; then
31817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31818 fi
31819
31820 fi
31821 fi
31822
31823 # Check for libraries that X11R6 Xt/Xaw programs need.
31824 ac_save_LDFLAGS=$LDFLAGS
31825 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31826 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31827 # check for ICE first), but we must link in the order -lSM -lICE or
31828 # we get undefined symbols. So assume we have SM if we have ICE.
31829 # These have to be linked with before -lX11, unlike the other
31830 # libraries we check for below, so use a different variable.
31831 # John Interrante, Karl Berry
31832 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31833 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31834 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31835 echo $ECHO_N "(cached) $ECHO_C" >&6
31836 else
31837 ac_check_lib_save_LIBS=$LIBS
31838 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31839 cat >conftest.$ac_ext <<_ACEOF
31840 /* confdefs.h. */
31841 _ACEOF
31842 cat confdefs.h >>conftest.$ac_ext
31843 cat >>conftest.$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845
31846 /* Override any GCC internal prototype to avoid an error.
31847 Use char because int might match the return type of a GCC
31848 builtin and then its argument prototype would still apply. */
31849 #ifdef __cplusplus
31850 extern "C"
31851 #endif
31852 char IceConnectionNumber ();
31853 int
31854 main ()
31855 {
31856 return IceConnectionNumber ();
31857 ;
31858 return 0;
31859 }
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (ac_try="$ac_link"
31863 case "(($ac_try" in
31864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31865 *) ac_try_echo=$ac_try;;
31866 esac
31867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31868 (eval "$ac_link") 2>conftest.er1
31869 ac_status=$?
31870 grep -v '^ *+' conftest.er1 >conftest.err
31871 rm -f conftest.er1
31872 cat conftest.err >&5
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); } && {
31875 test -z "$ac_c_werror_flag" ||
31876 test ! -s conftest.err
31877 } && test -s conftest$ac_exeext &&
31878 $as_test_x conftest$ac_exeext; then
31879 ac_cv_lib_ICE_IceConnectionNumber=yes
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31883
31884 ac_cv_lib_ICE_IceConnectionNumber=no
31885 fi
31886
31887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31888 conftest$ac_exeext conftest.$ac_ext
31889 LIBS=$ac_check_lib_save_LIBS
31890 fi
31891 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31892 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31893 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31894 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31895 fi
31896
31897 LDFLAGS=$ac_save_LDFLAGS
31898
31899 fi
31900
31901
31902 if test "$no_x" = "yes"; then
31903 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31904 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31905 { (exit 1); exit 1; }; }
31906 fi
31907
31908 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31909 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31910 AFMINSTALL=afminstall
31911 COMPILED_X_PROGRAM=0
31912
31913 fi
31914
31915 if test "$wxUSE_X11" = 1; then
31916 if test "$wxUSE_NANOX" = "yes"; then
31917 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31918 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31919 if test "x$MICROWIN" = x ; then
31920 { echo "$as_me:$LINENO: result: not found" >&5
31921 echo "${ECHO_T}not found" >&6; }
31922 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31923 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31924 { (exit 1); exit 1; }; }
31925 else
31926 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31927 echo "${ECHO_T}$MICROWIN" >&6; }
31928 cat >>confdefs.h <<\_ACEOF
31929 #define wxUSE_NANOX 1
31930 _ACEOF
31931
31932 fi
31933 fi
31934
31935 if test "$wxUSE_UNICODE" = "yes"; then
31936
31937
31938 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31939 if test -n "$ac_tool_prefix"; then
31940 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31941 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31944 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 else
31947 case $PKG_CONFIG in
31948 [\\/]* | ?:[\\/]*)
31949 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31950 ;;
31951 *)
31952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31953 for as_dir in $PATH
31954 do
31955 IFS=$as_save_IFS
31956 test -z "$as_dir" && as_dir=.
31957 for ac_exec_ext in '' $ac_executable_extensions; do
31958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31959 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31961 break 2
31962 fi
31963 done
31964 done
31965 IFS=$as_save_IFS
31966
31967 ;;
31968 esac
31969 fi
31970 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31971 if test -n "$PKG_CONFIG"; then
31972 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31973 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31974 else
31975 { echo "$as_me:$LINENO: result: no" >&5
31976 echo "${ECHO_T}no" >&6; }
31977 fi
31978
31979
31980 fi
31981 if test -z "$ac_cv_path_PKG_CONFIG"; then
31982 ac_pt_PKG_CONFIG=$PKG_CONFIG
31983 # Extract the first word of "pkg-config", so it can be a program name with args.
31984 set dummy pkg-config; ac_word=$2
31985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31987 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31988 echo $ECHO_N "(cached) $ECHO_C" >&6
31989 else
31990 case $ac_pt_PKG_CONFIG in
31991 [\\/]* | ?:[\\/]*)
31992 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31993 ;;
31994 *)
31995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31996 for as_dir in $PATH
31997 do
31998 IFS=$as_save_IFS
31999 test -z "$as_dir" && as_dir=.
32000 for ac_exec_ext in '' $ac_executable_extensions; do
32001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32002 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32004 break 2
32005 fi
32006 done
32007 done
32008 IFS=$as_save_IFS
32009
32010 ;;
32011 esac
32012 fi
32013 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32014 if test -n "$ac_pt_PKG_CONFIG"; then
32015 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32016 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32017 else
32018 { echo "$as_me:$LINENO: result: no" >&5
32019 echo "${ECHO_T}no" >&6; }
32020 fi
32021
32022 if test "x$ac_pt_PKG_CONFIG" = x; then
32023 PKG_CONFIG=""
32024 else
32025 case $cross_compiling:$ac_tool_warned in
32026 yes:)
32027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32028 whose name does not start with the host triplet. If you think this
32029 configuration is useful to you, please write to autoconf@gnu.org." >&5
32030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32031 whose name does not start with the host triplet. If you think this
32032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32033 ac_tool_warned=yes ;;
32034 esac
32035 PKG_CONFIG=$ac_pt_PKG_CONFIG
32036 fi
32037 else
32038 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32039 fi
32040
32041 fi
32042 if test -n "$PKG_CONFIG"; then
32043 _pkg_min_version=0.9.0
32044 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32045 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32046 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32047 { echo "$as_me:$LINENO: result: yes" >&5
32048 echo "${ECHO_T}yes" >&6; }
32049 else
32050 { echo "$as_me:$LINENO: result: no" >&5
32051 echo "${ECHO_T}no" >&6; }
32052 PKG_CONFIG=""
32053 fi
32054
32055 fi
32056
32057
32058 pkg_failed=no
32059 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32060 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32061
32062 if test -n "$PKG_CONFIG"; then
32063 if test -n "$PANGOX_CFLAGS"; then
32064 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32065 else
32066 if test -n "$PKG_CONFIG" && \
32067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32068 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; then
32072 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32073 else
32074 pkg_failed=yes
32075 fi
32076 fi
32077 else
32078 pkg_failed=untried
32079 fi
32080 if test -n "$PKG_CONFIG"; then
32081 if test -n "$PANGOX_LIBS"; then
32082 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32083 else
32084 if test -n "$PKG_CONFIG" && \
32085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32086 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32087 ac_status=$?
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; then
32090 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32091 else
32092 pkg_failed=yes
32093 fi
32094 fi
32095 else
32096 pkg_failed=untried
32097 fi
32098
32099
32100
32101 if test $pkg_failed = yes; then
32102
32103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32104 _pkg_short_errors_supported=yes
32105 else
32106 _pkg_short_errors_supported=no
32107 fi
32108 if test $_pkg_short_errors_supported = yes; then
32109 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32110 else
32111 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32112 fi
32113 # Put the nasty error message in config.log where it belongs
32114 echo "$PANGOX_PKG_ERRORS" >&5
32115
32116
32117 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32118 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32119 { (exit 1); exit 1; }; }
32120
32121
32122 elif test $pkg_failed = untried; then
32123
32124 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32125 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32126 { (exit 1); exit 1; }; }
32127
32128
32129 else
32130 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32131 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32132 { echo "$as_me:$LINENO: result: yes" >&5
32133 echo "${ECHO_T}yes" >&6; }
32134
32135 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32136 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32137 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32138
32139 fi
32140
32141 pkg_failed=no
32142 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32143 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32144
32145 if test -n "$PKG_CONFIG"; then
32146 if test -n "$PANGOFT2_CFLAGS"; then
32147 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32148 else
32149 if test -n "$PKG_CONFIG" && \
32150 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32151 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32152 ac_status=$?
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); }; then
32155 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32156 else
32157 pkg_failed=yes
32158 fi
32159 fi
32160 else
32161 pkg_failed=untried
32162 fi
32163 if test -n "$PKG_CONFIG"; then
32164 if test -n "$PANGOFT2_LIBS"; then
32165 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32166 else
32167 if test -n "$PKG_CONFIG" && \
32168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32169 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; then
32173 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32174 else
32175 pkg_failed=yes
32176 fi
32177 fi
32178 else
32179 pkg_failed=untried
32180 fi
32181
32182
32183
32184 if test $pkg_failed = yes; then
32185
32186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32187 _pkg_short_errors_supported=yes
32188 else
32189 _pkg_short_errors_supported=no
32190 fi
32191 if test $_pkg_short_errors_supported = yes; then
32192 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32193 else
32194 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32195 fi
32196 # Put the nasty error message in config.log where it belongs
32197 echo "$PANGOFT2_PKG_ERRORS" >&5
32198
32199
32200 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32201 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32202 wxUSE_PRINTING_ARCHITECTURE="no"
32203
32204
32205 elif test $pkg_failed = untried; then
32206
32207 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32208 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32209 wxUSE_PRINTING_ARCHITECTURE="no"
32210
32211
32212 else
32213 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32214 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32215 { echo "$as_me:$LINENO: result: yes" >&5
32216 echo "${ECHO_T}yes" >&6; }
32217
32218 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32219 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32221
32222 fi
32223
32224 pkg_failed=no
32225 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32226 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32227
32228 if test -n "$PKG_CONFIG"; then
32229 if test -n "$PANGOXFT_CFLAGS"; then
32230 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32231 else
32232 if test -n "$PKG_CONFIG" && \
32233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32234 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; then
32238 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32239 else
32240 pkg_failed=yes
32241 fi
32242 fi
32243 else
32244 pkg_failed=untried
32245 fi
32246 if test -n "$PKG_CONFIG"; then
32247 if test -n "$PANGOXFT_LIBS"; then
32248 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32249 else
32250 if test -n "$PKG_CONFIG" && \
32251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32252 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32253 ac_status=$?
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; then
32256 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32257 else
32258 pkg_failed=yes
32259 fi
32260 fi
32261 else
32262 pkg_failed=untried
32263 fi
32264
32265
32266
32267 if test $pkg_failed = yes; then
32268
32269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32270 _pkg_short_errors_supported=yes
32271 else
32272 _pkg_short_errors_supported=no
32273 fi
32274 if test $_pkg_short_errors_supported = yes; then
32275 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32276 else
32277 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32278 fi
32279 # Put the nasty error message in config.log where it belongs
32280 echo "$PANGOXFT_PKG_ERRORS" >&5
32281
32282
32283 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32284 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32285
32286
32287 elif test $pkg_failed = untried; then
32288
32289 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32290 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32291
32292
32293 else
32294 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32295 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32296 { echo "$as_me:$LINENO: result: yes" >&5
32297 echo "${ECHO_T}yes" >&6; }
32298
32299 cat >>confdefs.h <<\_ACEOF
32300 #define HAVE_PANGO_XFT 1
32301 _ACEOF
32302
32303 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32304 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32305 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32306
32307 fi
32308 save_LIBS="$LIBS"
32309 LIBS="$LIBS $PANGOX_LIBS"
32310
32311 for ac_func in pango_font_family_is_monospace
32312 do
32313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 else
32319 cat >conftest.$ac_ext <<_ACEOF
32320 /* confdefs.h. */
32321 _ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32327 #define $ac_func innocuous_$ac_func
32328
32329 /* System header to define __stub macros and hopefully few prototypes,
32330 which can conflict with char $ac_func (); below.
32331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332 <limits.h> exists even on freestanding compilers. */
32333
32334 #ifdef __STDC__
32335 # include <limits.h>
32336 #else
32337 # include <assert.h>
32338 #endif
32339
32340 #undef $ac_func
32341
32342 /* Override any GCC internal prototype to avoid an error.
32343 Use char because int might match the return type of a GCC
32344 builtin and then its argument prototype would still apply. */
32345 #ifdef __cplusplus
32346 extern "C"
32347 #endif
32348 char $ac_func ();
32349 /* The GNU C library defines this for functions which it implements
32350 to always fail with ENOSYS. Some functions are actually named
32351 something starting with __ and the normal name is an alias. */
32352 #if defined __stub_$ac_func || defined __stub___$ac_func
32353 choke me
32354 #endif
32355
32356 int
32357 main ()
32358 {
32359 return $ac_func ();
32360 ;
32361 return 0;
32362 }
32363 _ACEOF
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (ac_try="$ac_link"
32366 case "(($ac_try" in
32367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32368 *) ac_try_echo=$ac_try;;
32369 esac
32370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32371 (eval "$ac_link") 2>conftest.er1
32372 ac_status=$?
32373 grep -v '^ *+' conftest.er1 >conftest.err
32374 rm -f conftest.er1
32375 cat conftest.err >&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } && {
32378 test -z "$ac_c_werror_flag" ||
32379 test ! -s conftest.err
32380 } && test -s conftest$ac_exeext &&
32381 $as_test_x conftest$ac_exeext; then
32382 eval "$as_ac_var=yes"
32383 else
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.$ac_ext >&5
32386
32387 eval "$as_ac_var=no"
32388 fi
32389
32390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32391 conftest$ac_exeext conftest.$ac_ext
32392 fi
32393 ac_res=`eval echo '${'$as_ac_var'}'`
32394 { echo "$as_me:$LINENO: result: $ac_res" >&5
32395 echo "${ECHO_T}$ac_res" >&6; }
32396 if test `eval echo '${'$as_ac_var'}'` = yes; then
32397 cat >>confdefs.h <<_ACEOF
32398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32399 _ACEOF
32400
32401 fi
32402 done
32403
32404 LIBS="$save_LIBS"
32405 fi
32406
32407 wxUSE_UNIVERSAL="yes"
32408
32409 if test "$wxUSE_NANOX" = "yes"; then
32410 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32411 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"
32412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32413 else
32414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32415 fi
32416
32417 TOOLKIT=X11
32418 GUIDIST=X11_DIST
32419 fi
32420
32421 if test "$wxUSE_MOTIF" = 1; then
32422 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32423 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32424
32425 ac_find_includes=
32426 for ac_dir in $SEARCH_INCLUDE /usr/include;
32427 do
32428 if test -f "$ac_dir/Xm/Xm.h"; then
32429 ac_find_includes=$ac_dir
32430 break
32431 fi
32432 done
32433
32434 if test "$ac_find_includes" != "" ; then
32435 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32436 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32437
32438 if test "x$ac_find_includes" = "x/usr/include"; then
32439 ac_path_to_include=""
32440 else
32441 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32442 result=$?
32443 if test $result = 0; then
32444 ac_path_to_include=""
32445 else
32446 ac_path_to_include=" -I$ac_find_includes"
32447 fi
32448 fi
32449
32450 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32451 else
32452 save_CFLAGS=$CFLAGS
32453 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32454
32455 cat >conftest.$ac_ext <<_ACEOF
32456 /* confdefs.h. */
32457 _ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461
32462 #include <Xm/Xm.h>
32463
32464 int
32465 main ()
32466 {
32467
32468 int version;
32469 version = xmUseVersion;
32470
32471 ;
32472 return 0;
32473 }
32474 _ACEOF
32475 rm -f conftest.$ac_objext
32476 if { (ac_try="$ac_compile"
32477 case "(($ac_try" in
32478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32479 *) ac_try_echo=$ac_try;;
32480 esac
32481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32482 (eval "$ac_compile") 2>conftest.er1
32483 ac_status=$?
32484 grep -v '^ *+' conftest.er1 >conftest.err
32485 rm -f conftest.er1
32486 cat conftest.err >&5
32487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32488 (exit $ac_status); } && {
32489 test -z "$ac_c_werror_flag" ||
32490 test ! -s conftest.err
32491 } && test -s conftest.$ac_objext; then
32492
32493 { echo "$as_me:$LINENO: result: found in default search path" >&5
32494 echo "${ECHO_T}found in default search path" >&6; }
32495 COMPILED_X_PROGRAM=1
32496
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501
32502 { echo "$as_me:$LINENO: result: no" >&5
32503 echo "${ECHO_T}no" >&6; }
32504 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32505 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32506 { (exit 1); exit 1; }; }
32507
32508
32509 fi
32510
32511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32512
32513 CFLAGS=$save_CFLAGS
32514 fi
32515
32516
32517 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32518 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32519
32520 ac_find_libraries=
32521 for ac_dir in $SEARCH_LIB;
32522 do
32523 for ac_extension in a so sl dylib dll.a; do
32524 if test -f "$ac_dir/libXm.$ac_extension"; then
32525 ac_find_libraries=$ac_dir
32526 break 2
32527 fi
32528 done
32529 done
32530
32531
32532 if test "x$ac_find_libraries" != "x" ; then
32533 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32534 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32535
32536
32537 if test "$ac_find_libraries" = "default location"; then
32538 ac_path_to_link=""
32539 else
32540 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32541 result=$?
32542 if test $result = 0; then
32543 ac_path_to_link=""
32544 else
32545 ac_path_to_link=" -L$ac_find_libraries"
32546 fi
32547 fi
32548
32549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32550 else
32551 save_CFLAGS=$CFLAGS
32552 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32553 save_LIBS="$LIBS"
32554 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32555
32556 cat >conftest.$ac_ext <<_ACEOF
32557 /* confdefs.h. */
32558 _ACEOF
32559 cat confdefs.h >>conftest.$ac_ext
32560 cat >>conftest.$ac_ext <<_ACEOF
32561 /* end confdefs.h. */
32562
32563 #include <Xm/Xm.h>
32564
32565 int
32566 main ()
32567 {
32568
32569 int version;
32570 version = xmUseVersion;
32571
32572 ;
32573 return 0;
32574 }
32575 _ACEOF
32576 rm -f conftest.$ac_objext conftest$ac_exeext
32577 if { (ac_try="$ac_link"
32578 case "(($ac_try" in
32579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32580 *) ac_try_echo=$ac_try;;
32581 esac
32582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32583 (eval "$ac_link") 2>conftest.er1
32584 ac_status=$?
32585 grep -v '^ *+' conftest.er1 >conftest.err
32586 rm -f conftest.er1
32587 cat conftest.err >&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); } && {
32590 test -z "$ac_c_werror_flag" ||
32591 test ! -s conftest.err
32592 } && test -s conftest$ac_exeext &&
32593 $as_test_x conftest$ac_exeext; then
32594
32595 { echo "$as_me:$LINENO: result: found in default search path" >&5
32596 echo "${ECHO_T}found in default search path" >&6; }
32597 COMPILED_X_PROGRAM=1
32598
32599 else
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32602
32603
32604 { echo "$as_me:$LINENO: result: no" >&5
32605 echo "${ECHO_T}no" >&6; }
32606 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32607 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32608 { (exit 1); exit 1; }; }
32609
32610
32611 fi
32612
32613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32614 conftest$ac_exeext conftest.$ac_ext
32615
32616 CFLAGS=$save_CFLAGS
32617 LIBS="$save_LIBS"
32618 fi
32619
32620 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32621 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32622 libp_link=""
32623 libsm_ice_link=""
32624 libs_found=0
32625 for libp in "" " -lXp"; do
32626 if test "$libs_found" = 0; then
32627 for libsm_ice in "" " -lSM -lICE"; do
32628 if test "$libs_found" = 0; then
32629 save_LIBS="$LIBS"
32630 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32631 save_CFLAGS=$CFLAGS
32632 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32633
32634 cat >conftest.$ac_ext <<_ACEOF
32635 /* confdefs.h. */
32636 _ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640
32641 #include <Xm/Xm.h>
32642 #include <Xm/List.h>
32643
32644 int
32645 main ()
32646 {
32647
32648 XmString string = NULL;
32649 Widget w = NULL;
32650 int position = 0;
32651 XmListAddItem(w, string, position);
32652
32653 ;
32654 return 0;
32655 }
32656 _ACEOF
32657 rm -f conftest.$ac_objext conftest$ac_exeext
32658 if { (ac_try="$ac_link"
32659 case "(($ac_try" in
32660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32661 *) ac_try_echo=$ac_try;;
32662 esac
32663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32664 (eval "$ac_link") 2>conftest.er1
32665 ac_status=$?
32666 grep -v '^ *+' conftest.er1 >conftest.err
32667 rm -f conftest.er1
32668 cat conftest.err >&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); } && {
32671 test -z "$ac_c_werror_flag" ||
32672 test ! -s conftest.err
32673 } && test -s conftest$ac_exeext &&
32674 $as_test_x conftest$ac_exeext; then
32675
32676 libp_link="$libp"
32677 libsm_ice_link="$libsm_ice"
32678 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32679 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32680 libs_found=1
32681
32682 else
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.$ac_ext >&5
32685
32686
32687
32688 fi
32689
32690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32691 conftest$ac_exeext conftest.$ac_ext
32692
32693 LIBS="$save_LIBS"
32694 CFLAGS=$save_CFLAGS
32695 fi
32696 done
32697 fi
32698 done
32699
32700 if test "$libs_found" = 0; then
32701 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32702 echo "${ECHO_T}can't find the right libraries" >&6; }
32703 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32704 echo "$as_me: error: can't link a simple motif program" >&2;}
32705 { (exit 1); exit 1; }; }
32706 fi
32707
32708 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32709 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32710 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 else
32713 ac_check_lib_save_LIBS=$LIBS
32714 LIBS="-lSgm $LIBS"
32715 cat >conftest.$ac_ext <<_ACEOF
32716 /* confdefs.h. */
32717 _ACEOF
32718 cat confdefs.h >>conftest.$ac_ext
32719 cat >>conftest.$ac_ext <<_ACEOF
32720 /* end confdefs.h. */
32721
32722 /* Override any GCC internal prototype to avoid an error.
32723 Use char because int might match the return type of a GCC
32724 builtin and then its argument prototype would still apply. */
32725 #ifdef __cplusplus
32726 extern "C"
32727 #endif
32728 char SgCreateList ();
32729 int
32730 main ()
32731 {
32732 return SgCreateList ();
32733 ;
32734 return 0;
32735 }
32736 _ACEOF
32737 rm -f conftest.$ac_objext conftest$ac_exeext
32738 if { (ac_try="$ac_link"
32739 case "(($ac_try" in
32740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32741 *) ac_try_echo=$ac_try;;
32742 esac
32743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32744 (eval "$ac_link") 2>conftest.er1
32745 ac_status=$?
32746 grep -v '^ *+' conftest.er1 >conftest.err
32747 rm -f conftest.er1
32748 cat conftest.err >&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); } && {
32751 test -z "$ac_c_werror_flag" ||
32752 test ! -s conftest.err
32753 } && test -s conftest$ac_exeext &&
32754 $as_test_x conftest$ac_exeext; then
32755 ac_cv_lib_Sgm_SgCreateList=yes
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 ac_cv_lib_Sgm_SgCreateList=no
32761 fi
32762
32763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32764 conftest$ac_exeext conftest.$ac_ext
32765 LIBS=$ac_check_lib_save_LIBS
32766 fi
32767 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32768 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32769 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32770 libsgm_link=" -lSgm"
32771 fi
32772
32773
32774 save_CFLAGS=$CFLAGS
32775 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32776
32777 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32778 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32779 if test "${wx_cv_lib_motif2+set}" = set; then
32780 echo $ECHO_N "(cached) $ECHO_C" >&6
32781 else
32782 cat >conftest.$ac_ext <<_ACEOF
32783 /* confdefs.h. */
32784 _ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h. */
32788
32789 #include <Xm/Xm.h>
32790
32791 int
32792 main ()
32793 {
32794
32795 #if XmVersion < 2000
32796 Not Motif 2
32797 #endif
32798
32799 ;
32800 return 0;
32801 }
32802 _ACEOF
32803 rm -f conftest.$ac_objext
32804 if { (ac_try="$ac_compile"
32805 case "(($ac_try" in
32806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32807 *) ac_try_echo=$ac_try;;
32808 esac
32809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32810 (eval "$ac_compile") 2>conftest.er1
32811 ac_status=$?
32812 grep -v '^ *+' conftest.er1 >conftest.err
32813 rm -f conftest.er1
32814 cat conftest.err >&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } && {
32817 test -z "$ac_c_werror_flag" ||
32818 test ! -s conftest.err
32819 } && test -s conftest.$ac_objext; then
32820 wx_cv_lib_motif2="yes"
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32824
32825 wx_cv_lib_motif2="no"
32826 fi
32827
32828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32829 fi
32830 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32831 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32832 if test "$wx_cv_lib_motif2" = "yes"; then
32833 cat >>confdefs.h <<\_ACEOF
32834 #define __WXMOTIF20__ 1
32835 _ACEOF
32836
32837 else
32838 cat >>confdefs.h <<\_ACEOF
32839 #define __WXMOTIF20__ 0
32840 _ACEOF
32841
32842 fi
32843
32844 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32845 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32846 if test "${wx_cv_lib_lesstif+set}" = set; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 else
32849 cat >conftest.$ac_ext <<_ACEOF
32850 /* confdefs.h. */
32851 _ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32855
32856 #include <Xm/Xm.h>
32857
32858 int
32859 main ()
32860 {
32861
32862 #if !defined(LesstifVersion) || LesstifVersion <= 0
32863 Not Lesstif
32864 #endif
32865
32866 ;
32867 return 0;
32868 }
32869 _ACEOF
32870 rm -f conftest.$ac_objext
32871 if { (ac_try="$ac_compile"
32872 case "(($ac_try" in
32873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32875 esac
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_compile") 2>conftest.er1
32878 ac_status=$?
32879 grep -v '^ *+' conftest.er1 >conftest.err
32880 rm -f conftest.er1
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } && {
32884 test -z "$ac_c_werror_flag" ||
32885 test ! -s conftest.err
32886 } && test -s conftest.$ac_objext; then
32887 wx_cv_lib_lesstif="yes"
32888 else
32889 echo "$as_me: failed program was:" >&5
32890 sed 's/^/| /' conftest.$ac_ext >&5
32891
32892 wx_cv_lib_lesstif="no"
32893 fi
32894
32895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896
32897 fi
32898 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32899 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32900 if test "$wx_cv_lib_lesstif" = "yes"; then
32901 cat >>confdefs.h <<\_ACEOF
32902 #define __WXLESSTIF__ 1
32903 _ACEOF
32904
32905 else
32906 cat >>confdefs.h <<\_ACEOF
32907 #define __WXLESSTIF__ 0
32908 _ACEOF
32909
32910 fi
32911
32912 CFLAGS=$save_CFLAGS
32913
32914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32915 TOOLKIT=MOTIF
32916 GUIDIST=MOTIF_DIST
32917 fi
32918
32919 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32920 if test "$wxUSE_LIBXPM" = "sys"; then
32921 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32922 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32923
32924 ac_find_libraries=
32925 for ac_dir in $SEARCH_LIB;
32926 do
32927 for ac_extension in a so sl dylib dll.a; do
32928 if test -f "$ac_dir/libXpm.$ac_extension"; then
32929 ac_find_libraries=$ac_dir
32930 break 2
32931 fi
32932 done
32933 done
32934
32935 if test "$ac_find_libraries" != "" ; then
32936
32937 if test "$ac_find_libraries" = "default location"; then
32938 ac_path_to_link=""
32939 else
32940 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32941 result=$?
32942 if test $result = 0; then
32943 ac_path_to_link=""
32944 else
32945 ac_path_to_link=" -L$ac_find_libraries"
32946 fi
32947 fi
32948
32949 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32950 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32951 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32952
32953 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32954 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32955 if test "${wx_cv_x11_xpm_h+set}" = set; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 else
32958
32959 save_CFLAGS=$CFLAGS
32960 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32961
32962 cat >conftest.$ac_ext <<_ACEOF
32963 /* confdefs.h. */
32964 _ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32968
32969 #include <X11/xpm.h>
32970
32971 int
32972 main ()
32973 {
32974
32975 int version;
32976 version = XpmLibraryVersion();
32977
32978 ;
32979 return 0;
32980 }
32981 _ACEOF
32982 rm -f conftest.$ac_objext
32983 if { (ac_try="$ac_compile"
32984 case "(($ac_try" in
32985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32986 *) ac_try_echo=$ac_try;;
32987 esac
32988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32989 (eval "$ac_compile") 2>conftest.er1
32990 ac_status=$?
32991 grep -v '^ *+' conftest.er1 >conftest.err
32992 rm -f conftest.er1
32993 cat conftest.err >&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); } && {
32996 test -z "$ac_c_werror_flag" ||
32997 test ! -s conftest.err
32998 } && test -s conftest.$ac_objext; then
32999 wx_cv_x11_xpm_h=yes
33000 else
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.$ac_ext >&5
33003
33004 wx_cv_x11_xpm_h=no
33005
33006 fi
33007
33008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33009
33010 CFLAGS=$save_CFLAGS
33011
33012
33013 fi
33014 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33015 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33016
33017 if test $wx_cv_x11_xpm_h = "yes"; then
33018 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33019 cat >>confdefs.h <<\_ACEOF
33020 #define wxHAVE_LIB_XPM 1
33021 _ACEOF
33022
33023 else
33024 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33025 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33026 fi
33027 fi
33028
33029 fi
33030
33031 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33032 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33033 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 else
33036 ac_check_lib_save_LIBS=$LIBS
33037 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33038 cat >conftest.$ac_ext <<_ACEOF
33039 /* confdefs.h. */
33040 _ACEOF
33041 cat confdefs.h >>conftest.$ac_ext
33042 cat >>conftest.$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33044
33045 /* Override any GCC internal prototype to avoid an error.
33046 Use char because int might match the return type of a GCC
33047 builtin and then its argument prototype would still apply. */
33048 #ifdef __cplusplus
33049 extern "C"
33050 #endif
33051 char XShapeQueryExtension ();
33052 int
33053 main ()
33054 {
33055 return XShapeQueryExtension ();
33056 ;
33057 return 0;
33058 }
33059 _ACEOF
33060 rm -f conftest.$ac_objext conftest$ac_exeext
33061 if { (ac_try="$ac_link"
33062 case "(($ac_try" in
33063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33064 *) ac_try_echo=$ac_try;;
33065 esac
33066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33067 (eval "$ac_link") 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } && {
33074 test -z "$ac_c_werror_flag" ||
33075 test ! -s conftest.err
33076 } && test -s conftest$ac_exeext &&
33077 $as_test_x conftest$ac_exeext; then
33078 ac_cv_lib_Xext_XShapeQueryExtension=yes
33079 else
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33082
33083 ac_cv_lib_Xext_XShapeQueryExtension=no
33084 fi
33085
33086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33087 conftest$ac_exeext conftest.$ac_ext
33088 LIBS=$ac_check_lib_save_LIBS
33089 fi
33090 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33091 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33092 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33093
33094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33095 wxHAVE_XEXT_LIB=1
33096
33097 fi
33098
33099
33100 if test "$wxHAVE_XEXT_LIB" = 1; then
33101 save_CFLAGS="$CFLAGS"
33102 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33103
33104 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33105 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112
33113 #include <X11/Xlib.h>
33114 #include <X11/extensions/shape.h>
33115
33116 int
33117 main ()
33118 {
33119
33120 int dummy1, dummy2;
33121 XShapeQueryExtension((Display*)NULL,
33122 (int*)NULL, (int*)NULL);
33123
33124 ;
33125 return 0;
33126 }
33127 _ACEOF
33128 rm -f conftest.$ac_objext
33129 if { (ac_try="$ac_compile"
33130 case "(($ac_try" in
33131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33132 *) ac_try_echo=$ac_try;;
33133 esac
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_compile") 2>conftest.er1
33136 ac_status=$?
33137 grep -v '^ *+' conftest.er1 >conftest.err
33138 rm -f conftest.er1
33139 cat conftest.err >&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest.$ac_objext; then
33145
33146 cat >>confdefs.h <<\_ACEOF
33147 #define HAVE_XSHAPE 1
33148 _ACEOF
33149
33150 { echo "$as_me:$LINENO: result: found" >&5
33151 echo "${ECHO_T}found" >&6; }
33152
33153 else
33154 echo "$as_me: failed program was:" >&5
33155 sed 's/^/| /' conftest.$ac_ext >&5
33156
33157
33158 { echo "$as_me:$LINENO: result: not found" >&5
33159 echo "${ECHO_T}not found" >&6; }
33160
33161 fi
33162
33163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33164 CFLAGS="$save_CFLAGS"
33165
33166 fi
33167 fi
33168
33169 if test "$wxUSE_OSX_CARBON" = 1; then
33170 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33171 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33172 if test "$GCC" = yes; then
33173 { echo "$as_me:$LINENO: result: gcc" >&5
33174 echo "${ECHO_T}gcc" >&6; }
33175 CPPFLAGS_PASCAL="-fpascal-strings"
33176 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33177 { echo "$as_me:$LINENO: result: xlc" >&5
33178 echo "${ECHO_T}xlc" >&6; }
33179 CPPFLAGS_PASCAL="-qmacpstr"
33180 else
33181 { echo "$as_me:$LINENO: result: none" >&5
33182 echo "${ECHO_T}none" >&6; }
33183 fi
33184
33185 if test "x$wxUSE_UNIX" = "xyes"; then
33186 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33187 else
33188 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33189 fi
33190
33191 TOOLKIT=OSX_CARBON
33192 GUIDIST=OSX_CARBON_DIST
33193 WXBASEPORT="_carbon"
33194
33195 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33196 fi
33197
33198 if test "$wxUSE_OSX_COCOA" = 1; then
33199 TOOLKIT=OSX_COCOA
33200 GUIDIST=OSX_COCOA_DIST
33201
33202 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33203 fi
33204
33205 if test "$wxUSE_OSX_IPHONE" = 1; then
33206 TOOLKIT=OSX_IPHONE
33207 fi
33208
33209 if test "$wxUSE_OLD_COCOA" = 1; then
33210 TOOLKIT=COCOA
33211 GUIDIST=COCOA_DIST
33212 fi
33213
33214 if test "$wxUSE_PM" = 1; then
33215 TOOLKIT=PM
33216 GUIDIST=PM_DIST
33217 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33218 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33219 if test "${wx_cv_spbcdata+set}" = set; then
33220 echo $ECHO_N "(cached) $ECHO_C" >&6
33221 else
33222
33223 cat >conftest.$ac_ext <<_ACEOF
33224 /* confdefs.h. */
33225 _ACEOF
33226 cat confdefs.h >>conftest.$ac_ext
33227 cat >>conftest.$ac_ext <<_ACEOF
33228 /* end confdefs.h. */
33229
33230 #define INCL_PM
33231 #include <os2.h>
33232
33233 int
33234 main ()
33235 {
33236
33237 SPBCDATA test;
33238
33239 ;
33240 return 0;
33241 }
33242 _ACEOF
33243 rm -f conftest.$ac_objext
33244 if { (ac_try="$ac_compile"
33245 case "(($ac_try" in
33246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33247 *) ac_try_echo=$ac_try;;
33248 esac
33249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33250 (eval "$ac_compile") 2>conftest.er1
33251 ac_status=$?
33252 grep -v '^ *+' conftest.er1 >conftest.err
33253 rm -f conftest.er1
33254 cat conftest.err >&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); } && {
33257 test -z "$ac_c_werror_flag" ||
33258 test ! -s conftest.err
33259 } && test -s conftest.$ac_objext; then
33260 wx_cv_spbcdata=yes
33261 else
33262 echo "$as_me: failed program was:" >&5
33263 sed 's/^/| /' conftest.$ac_ext >&5
33264
33265 wx_cv_spbcdata=no
33266
33267 fi
33268
33269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33270
33271
33272 fi
33273 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33274 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33275
33276 if test $wx_cv_spbcdata = "yes"; then
33277 cat >>confdefs.h <<\_ACEOF
33278 #define HAVE_SPBCDATA 1
33279 _ACEOF
33280
33281 fi
33282 fi
33283
33284 if test "$TOOLKIT" = "PM" ; then
33285 TOOLKIT_DIR="os2"
33286 else
33287 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33288 fi
33289
33290 if test "$wxUSE_UNIVERSAL" = "yes"; then
33291 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33292 WIDGET_SET=univ
33293 fi
33294
33295 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33296 DISTDIR="wx\$(TOOLKIT)"
33297 else
33298 USE_GUI=0
33299
33300 TOOLKIT_DIR="base"
33301
33302 if test "$USE_WIN32" = 1 ; then
33303 TOOLKIT="MSW"
33304 fi
33305
33306 GUIDIST="BASE_DIST"
33307 DISTDIR="wxBase"
33308 fi
33309
33310
33311
33312 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33313 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33314 wxUSE_UNICODE_UTF8=yes
33315 elif test "$USE_OS2" = 1 ; then
33316 wxUSE_UNICODE_UTF8=yes
33317 else
33318 wxUSE_UNICODE_UTF8=no
33319 fi
33320 fi
33321
33322
33323 if test "$wxUSE_GUI" = "yes"; then
33324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33325
33326 for ac_header in X11/Xlib.h
33327 do
33328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33332 echo $ECHO_N "(cached) $ECHO_C" >&6
33333 else
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340
33341
33342 #include <$ac_header>
33343 _ACEOF
33344 rm -f conftest.$ac_objext
33345 if { (ac_try="$ac_compile"
33346 case "(($ac_try" in
33347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33348 *) ac_try_echo=$ac_try;;
33349 esac
33350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33351 (eval "$ac_compile") 2>conftest.er1
33352 ac_status=$?
33353 grep -v '^ *+' conftest.er1 >conftest.err
33354 rm -f conftest.er1
33355 cat conftest.err >&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } && {
33358 test -z "$ac_c_werror_flag" ||
33359 test ! -s conftest.err
33360 } && test -s conftest.$ac_objext; then
33361 eval "$as_ac_Header=yes"
33362 else
33363 echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.$ac_ext >&5
33365
33366 eval "$as_ac_Header=no"
33367 fi
33368
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 fi
33371 ac_res=`eval echo '${'$as_ac_Header'}'`
33372 { echo "$as_me:$LINENO: result: $ac_res" >&5
33373 echo "${ECHO_T}$ac_res" >&6; }
33374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33375 cat >>confdefs.h <<_ACEOF
33376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33377 _ACEOF
33378
33379 fi
33380
33381 done
33382
33383
33384 for ac_header in X11/XKBlib.h
33385 do
33386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33390 echo $ECHO_N "(cached) $ECHO_C" >&6
33391 else
33392 cat >conftest.$ac_ext <<_ACEOF
33393 /* confdefs.h. */
33394 _ACEOF
33395 cat confdefs.h >>conftest.$ac_ext
33396 cat >>conftest.$ac_ext <<_ACEOF
33397 /* end confdefs.h. */
33398
33399 #if HAVE_X11_XLIB_H
33400 #include <X11/Xlib.h>
33401 #endif
33402
33403
33404 #include <$ac_header>
33405 _ACEOF
33406 rm -f conftest.$ac_objext
33407 if { (ac_try="$ac_compile"
33408 case "(($ac_try" in
33409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33410 *) ac_try_echo=$ac_try;;
33411 esac
33412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33413 (eval "$ac_compile") 2>conftest.er1
33414 ac_status=$?
33415 grep -v '^ *+' conftest.er1 >conftest.err
33416 rm -f conftest.er1
33417 cat conftest.err >&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } && {
33420 test -z "$ac_c_werror_flag" ||
33421 test ! -s conftest.err
33422 } && test -s conftest.$ac_objext; then
33423 eval "$as_ac_Header=yes"
33424 else
33425 echo "$as_me: failed program was:" >&5
33426 sed 's/^/| /' conftest.$ac_ext >&5
33427
33428 eval "$as_ac_Header=no"
33429 fi
33430
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33432 fi
33433 ac_res=`eval echo '${'$as_ac_Header'}'`
33434 { echo "$as_me:$LINENO: result: $ac_res" >&5
33435 echo "${ECHO_T}$ac_res" >&6; }
33436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33437 cat >>confdefs.h <<_ACEOF
33438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33439 _ACEOF
33440
33441 fi
33442
33443 done
33444
33445 fi
33446 fi
33447
33448
33449
33450 if test "$wxUSE_DISPLAY" = "yes"; then
33451 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33452 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33453 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33454
33455 ac_find_libraries=
33456 for ac_dir in $SEARCH_LIB;
33457 do
33458 for ac_extension in a so sl dylib dll.a; do
33459 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33460 ac_find_libraries=$ac_dir
33461 break 2
33462 fi
33463 done
33464 done
33465
33466 if test "$ac_find_libraries" != "" ; then
33467
33468 if test "$ac_find_libraries" = "default location"; then
33469 ac_path_to_link=""
33470 else
33471 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33472 result=$?
33473 if test $result = 0; then
33474 ac_path_to_link=""
33475 else
33476 ac_path_to_link=" -L$ac_find_libraries"
33477 fi
33478 fi
33479
33480 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33481 LDFLAGS="$LDFLAGS $ac_path_to_link"
33482 fi
33483 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33484 { echo "$as_me:$LINENO: result: yes" >&5
33485 echo "${ECHO_T}yes" >&6; }
33486
33487 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33488 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33489
33490 ac_find_libraries=
33491 for ac_dir in $SEARCH_LIB;
33492 do
33493 for ac_extension in a so sl dylib dll.a; do
33494 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33495 ac_find_libraries=$ac_dir
33496 break 2
33497 fi
33498 done
33499 done
33500
33501 if test "$ac_find_libraries" != "" ; then
33502 { echo "$as_me:$LINENO: result: yes" >&5
33503 echo "${ECHO_T}yes" >&6; }
33504
33505 for ac_header in X11/extensions/xf86vmode.h
33506 do
33507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512 else
33513 cat >conftest.$ac_ext <<_ACEOF
33514 /* confdefs.h. */
33515 _ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33519
33520 #if HAVE_X11_XLIB_H
33521 #include <X11/Xlib.h>
33522 #endif
33523
33524
33525 #include <$ac_header>
33526 _ACEOF
33527 rm -f conftest.$ac_objext
33528 if { (ac_try="$ac_compile"
33529 case "(($ac_try" in
33530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33531 *) ac_try_echo=$ac_try;;
33532 esac
33533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33534 (eval "$ac_compile") 2>conftest.er1
33535 ac_status=$?
33536 grep -v '^ *+' conftest.er1 >conftest.err
33537 rm -f conftest.er1
33538 cat conftest.err >&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } && {
33541 test -z "$ac_c_werror_flag" ||
33542 test ! -s conftest.err
33543 } && test -s conftest.$ac_objext; then
33544 eval "$as_ac_Header=yes"
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 eval "$as_ac_Header=no"
33550 fi
33551
33552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33553 fi
33554 ac_res=`eval echo '${'$as_ac_Header'}'`
33555 { echo "$as_me:$LINENO: result: $ac_res" >&5
33556 echo "${ECHO_T}$ac_res" >&6; }
33557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33558 cat >>confdefs.h <<_ACEOF
33559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33560 _ACEOF
33561
33562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33563
33564 fi
33565
33566 done
33567
33568 else
33569 { echo "$as_me:$LINENO: result: no" >&5
33570 echo "${ECHO_T}no" >&6; }
33571 fi
33572
33573 else
33574 { echo "$as_me:$LINENO: result: no" >&5
33575 echo "${ECHO_T}no" >&6; }
33576 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33577 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33578 wxUSE_DISPLAY="no"
33579 fi
33580 elif test "$wxUSE_MSW" = 1; then
33581 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33582 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33583 if test "${ac_cv_header_ddraw_h+set}" = set; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 else
33586 cat >conftest.$ac_ext <<_ACEOF
33587 /* confdefs.h. */
33588 _ACEOF
33589 cat confdefs.h >>conftest.$ac_ext
33590 cat >>conftest.$ac_ext <<_ACEOF
33591 /* end confdefs.h. */
33592 #include <windows.h>
33593
33594 #include <ddraw.h>
33595 _ACEOF
33596 rm -f conftest.$ac_objext
33597 if { (ac_try="$ac_compile"
33598 case "(($ac_try" in
33599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33600 *) ac_try_echo=$ac_try;;
33601 esac
33602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33603 (eval "$ac_compile") 2>conftest.er1
33604 ac_status=$?
33605 grep -v '^ *+' conftest.er1 >conftest.err
33606 rm -f conftest.er1
33607 cat conftest.err >&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); } && {
33610 test -z "$ac_c_werror_flag" ||
33611 test ! -s conftest.err
33612 } && test -s conftest.$ac_objext; then
33613 ac_cv_header_ddraw_h=yes
33614 else
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33617
33618 ac_cv_header_ddraw_h=no
33619 fi
33620
33621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33622 fi
33623 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33624 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33625
33626
33627 fi
33628 fi
33629
33630 if test "$wxUSE_DETECT_SM" = "yes"; then
33631 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33632 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33633 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33634
33635 ac_find_libraries=
33636 for ac_dir in $SEARCH_LIB;
33637 do
33638 for ac_extension in a so sl dylib dll.a; do
33639 if test -f "$ac_dir/libSM.$ac_extension"; then
33640 ac_find_libraries=$ac_dir
33641 break 2
33642 fi
33643 done
33644 done
33645
33646 if test "$ac_find_libraries" != "" ; then
33647
33648 if test "$ac_find_libraries" = "default location"; then
33649 ac_path_to_link=""
33650 else
33651 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33652 result=$?
33653 if test $result = 0; then
33654 ac_path_to_link=""
33655 else
33656 ac_path_to_link=" -L$ac_find_libraries"
33657 fi
33658 fi
33659
33660 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33661 LDFLAGS="$LDFLAGS $ac_path_to_link"
33662 fi
33663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33664 { echo "$as_me:$LINENO: result: yes" >&5
33665 echo "${ECHO_T}yes" >&6; }
33666 else
33667 { echo "$as_me:$LINENO: result: no" >&5
33668 echo "${ECHO_T}no" >&6; }
33669 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33670 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33671 wxUSE_DETECT_SM="no"
33672 fi
33673 else
33674 wxUSE_DETECT_SM="no"
33675 fi
33676 fi
33677
33678
33679
33680 USE_OPENGL=0
33681 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33682
33683
33684 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33685 OPENGL_LIBS="-framework OpenGL -framework AGL"
33686 elif test "$wxUSE_MSW" = 1; then
33687 OPENGL_LIBS="-lopengl32 -lglu32"
33688 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33689
33690 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33691 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33692
33693 ac_find_includes=
33694 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33695 do
33696 if test -f "$ac_dir/GL/gl.h"; then
33697 ac_find_includes=$ac_dir
33698 break
33699 fi
33700 done
33701
33702 if test "$ac_find_includes" != "" ; then
33703 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33704 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33705
33706 if test "x$ac_find_includes" = "x/usr/include"; then
33707 ac_path_to_include=""
33708 else
33709 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33710 result=$?
33711 if test $result = 0; then
33712 ac_path_to_include=""
33713 else
33714 ac_path_to_include=" -I$ac_find_includes"
33715 fi
33716 fi
33717
33718 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33719 else
33720 { echo "$as_me:$LINENO: result: not found" >&5
33721 echo "${ECHO_T}not found" >&6; }
33722 fi
33723
33724 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33725 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33726 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 else
33729 cat >conftest.$ac_ext <<_ACEOF
33730 /* confdefs.h. */
33731 _ACEOF
33732 cat confdefs.h >>conftest.$ac_ext
33733 cat >>conftest.$ac_ext <<_ACEOF
33734 /* end confdefs.h. */
33735
33736
33737 #include <GL/gl.h>
33738 _ACEOF
33739 rm -f conftest.$ac_objext
33740 if { (ac_try="$ac_compile"
33741 case "(($ac_try" in
33742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33743 *) ac_try_echo=$ac_try;;
33744 esac
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_compile") 2>conftest.er1
33747 ac_status=$?
33748 grep -v '^ *+' conftest.er1 >conftest.err
33749 rm -f conftest.er1
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_c_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest.$ac_objext; then
33756 ac_cv_header_GL_gl_h=yes
33757 else
33758 echo "$as_me: failed program was:" >&5
33759 sed 's/^/| /' conftest.$ac_ext >&5
33760
33761 ac_cv_header_GL_gl_h=no
33762 fi
33763
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765 fi
33766 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33767 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33768 if test $ac_cv_header_GL_gl_h = yes; then
33769
33770 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33771 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33772 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33774 else
33775 cat >conftest.$ac_ext <<_ACEOF
33776 /* confdefs.h. */
33777 _ACEOF
33778 cat confdefs.h >>conftest.$ac_ext
33779 cat >>conftest.$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33781
33782
33783 #include <GL/glu.h>
33784 _ACEOF
33785 rm -f conftest.$ac_objext
33786 if { (ac_try="$ac_compile"
33787 case "(($ac_try" in
33788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33789 *) ac_try_echo=$ac_try;;
33790 esac
33791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33792 (eval "$ac_compile") 2>conftest.er1
33793 ac_status=$?
33794 grep -v '^ *+' conftest.er1 >conftest.err
33795 rm -f conftest.er1
33796 cat conftest.err >&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } && {
33799 test -z "$ac_c_werror_flag" ||
33800 test ! -s conftest.err
33801 } && test -s conftest.$ac_objext; then
33802 ac_cv_header_GL_glu_h=yes
33803 else
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33806
33807 ac_cv_header_GL_glu_h=no
33808 fi
33809
33810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33811 fi
33812 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33813 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33814 if test $ac_cv_header_GL_glu_h = yes; then
33815
33816 found_gl=0
33817
33818 { echo "$as_me:$LINENO: checking for -lGL" >&5
33819 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33820
33821 ac_find_libraries=
33822 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33823 do
33824 for ac_extension in a so sl dylib dll.a; do
33825 if test -f "$ac_dir/libGL.$ac_extension"; then
33826 ac_find_libraries=$ac_dir
33827 break 2
33828 fi
33829 done
33830 done
33831
33832 if test "$ac_find_libraries" != "" ; then
33833 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33834 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33835
33836
33837 if test "$ac_find_libraries" = "default location"; then
33838 ac_path_to_link=""
33839 else
33840 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33841 result=$?
33842 if test $result = 0; then
33843 ac_path_to_link=""
33844 else
33845 ac_path_to_link=" -L$ac_find_libraries"
33846 fi
33847 fi
33848
33849 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33850 LDFLAGS_GL="$ac_path_to_link"
33851 fi
33852
33853 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33854 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33855
33856 ac_find_libraries=
33857 for ac_dir in $SEARCH_LIB;
33858 do
33859 for ac_extension in a so sl dylib dll.a; do
33860 if test -f "$ac_dir/libGLU.$ac_extension"; then
33861 ac_find_libraries=$ac_dir
33862 break 2
33863 fi
33864 done
33865 done
33866
33867 if test "$ac_find_libraries" != "" ; then
33868
33869 if test "$ac_find_libraries" = "default location"; then
33870 ac_path_to_link=""
33871 else
33872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33873 result=$?
33874 if test $result = 0; then
33875 ac_path_to_link=""
33876 else
33877 ac_path_to_link=" -L$ac_find_libraries"
33878 fi
33879 fi
33880
33881 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33882 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33883 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33884 fi
33885
33886 found_gl=1
33887 OPENGL_LIBS="-lGL -lGLU"
33888 { echo "$as_me:$LINENO: result: yes" >&5
33889 echo "${ECHO_T}yes" >&6; }
33890 else
33891 { echo "$as_me:$LINENO: result: no" >&5
33892 echo "${ECHO_T}no" >&6; }
33893 fi
33894 else
33895 { echo "$as_me:$LINENO: result: no" >&5
33896 echo "${ECHO_T}no" >&6; }
33897 fi
33898
33899 if test "$found_gl" != 1; then
33900 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33901 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33902
33903 ac_find_libraries=
33904 for ac_dir in $SEARCH_LIB;
33905 do
33906 for ac_extension in a so sl dylib dll.a; do
33907 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33908 ac_find_libraries=$ac_dir
33909 break 2
33910 fi
33911 done
33912 done
33913
33914 if test "$ac_find_libraries" != "" ; then
33915
33916 if test "$ac_find_libraries" = "default location"; then
33917 ac_path_to_link=""
33918 else
33919 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33920 result=$?
33921 if test $result = 0; then
33922 ac_path_to_link=""
33923 else
33924 ac_path_to_link=" -L$ac_find_libraries"
33925 fi
33926 fi
33927
33928 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33929 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33930 { echo "$as_me:$LINENO: result: yes" >&5
33931 echo "${ECHO_T}yes" >&6; }
33932 else
33933 { echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6; }
33935 fi
33936 fi
33937
33938 fi
33939
33940
33941
33942 fi
33943
33944
33945
33946 if test "x$OPENGL_LIBS" = "x"; then
33947 if test "$wxUSE_OPENGL" = "yes"; then
33948 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33949 echo "$as_me: error: OpenGL libraries not available" >&2;}
33950 { (exit 1); exit 1; }; }
33951 else
33952 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33953 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33954 wxUSE_OPENGL=no
33955 USE_OPENGL=0
33956 fi
33957 fi
33958 else
33959 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33960 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33961 wxUSE_OPENGL="no"
33962 fi
33963
33964 if test "$wxUSE_OPENGL" = "auto"; then
33965 wxUSE_OPENGL=yes
33966 fi
33967
33968 if test "$wxUSE_OPENGL" = "yes"; then
33969 USE_OPENGL=1
33970 cat >>confdefs.h <<\_ACEOF
33971 #define wxUSE_OPENGL 1
33972 _ACEOF
33973
33974 cat >>confdefs.h <<\_ACEOF
33975 #define wxUSE_GLCANVAS 1
33976 _ACEOF
33977
33978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33979 fi
33980 fi
33981
33982
33983 if test -n "$TOOLKIT" ; then
33984 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33985 fi
33986
33987
33988
33989 if test "$wxUSE_SHARED" = "yes"; then
33990 case "${host}" in
33991 *-pc-msdosdjgpp )
33992 wxUSE_SHARED=no
33993 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33994 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33995 ;;
33996 esac
33997 fi
33998
33999 if test "$wxUSE_SHARED" = "yes"; then
34000
34001
34002 case "${host}" in
34003 *-*-cygwin* | *-*-mingw* )
34004 wx_cv_version_script=no
34005 ;;
34006
34007 *)
34008 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34009 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34010 if test "${wx_cv_version_script+set}" = set; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34012 else
34013
34014 echo "VER_1 { *; };" >conftest.sym
34015 echo "int main() { return 0; }" >conftest.cpp
34016
34017 if { ac_try='
34018 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34019 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34022 ac_status=$?
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; } ; then
34025 if test -s conftest.stderr ; then
34026 wx_cv_version_script=no
34027 else
34028 wx_cv_version_script=yes
34029 fi
34030 else
34031 wx_cv_version_script=no
34032 fi
34033
34034 if test $wx_cv_version_script = yes
34035 then
34036 echo "struct B { virtual ~B() { } }; \
34037 struct D : public B { }; \
34038 void F() { D d; }" > conftest.cpp
34039
34040 if { ac_try='
34041 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34042 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34045 ac_status=$?
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; } &&
34048 { ac_try='
34049 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34050 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34053 ac_status=$?
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; }
34056 then
34057 if { ac_try='
34058 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34059 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34062 ac_status=$?
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; }
34065 then
34066 wx_cv_version_script=yes
34067 else
34068 wx_cv_version_script=no
34069 fi
34070 fi
34071 fi
34072
34073 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34074 rm -f conftest1.output conftest2.output conftest3.output
34075
34076 fi
34077 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34078 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34079
34080 if test $wx_cv_version_script = yes ; then
34081 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34082 fi
34083 ;;
34084 esac
34085
34086
34087 if test "$wxUSE_VISIBILITY" != "no"; then
34088
34089
34090 if test -n "$GCC"; then
34091 CFLAGS_VISIBILITY="-fvisibility=hidden"
34092 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34093 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34094 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34095 if test "${wx_cv_cc_visibility+set}" = set; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 else
34098
34099 wx_save_CXXFLAGS="$CXXFLAGS"
34100 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34101 ac_ext=cpp
34102 ac_cpp='$CXXCPP $CPPFLAGS'
34103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34106
34107 cat >conftest.$ac_ext <<_ACEOF
34108 /* confdefs.h. */
34109 _ACEOF
34110 cat confdefs.h >>conftest.$ac_ext
34111 cat >>conftest.$ac_ext <<_ACEOF
34112 /* end confdefs.h. */
34113
34114 /* we need gcc >= 4.0, older versions with visibility support
34115 didn't have class visibility: */
34116 #if defined(__GNUC__) && __GNUC__ < 4
34117 error this gcc is too old;
34118 #endif
34119
34120 /* visibility only makes sense for ELF shared libs: */
34121 #if !defined(__ELF__) && !defined(__APPLE__)
34122 error this platform has no visibility;
34123 #endif
34124
34125 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34126 extern __attribute__((__visibility__("default"))) int exportedvar;
34127 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34128 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34129 class __attribute__((__visibility__("default"))) Foo {
34130 Foo() {}
34131 };
34132
34133 int
34134 main ()
34135 {
34136
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34146 esac
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_cxx_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 wx_cv_cc_visibility=yes
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 wx_cv_cc_visibility=no
34164 fi
34165
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167 ac_ext=c
34168 ac_cpp='$CPP $CPPFLAGS'
34169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34172
34173 CXXFLAGS="$wx_save_CXXFLAGS"
34174 fi
34175
34176 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34177 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34178 if test $wx_cv_cc_visibility = yes; then
34179 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34180 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34181 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34182 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 else
34184
34185 wx_save_CXXFLAGS="$CXXFLAGS"
34186 wx_save_LDFLAGS="$LDFLAGS"
34187 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34188 LDFLAGS="$LDFLAGS -shared -fPIC"
34189 ac_ext=cpp
34190 ac_cpp='$CXXCPP $CPPFLAGS'
34191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194
34195 cat >conftest.$ac_ext <<_ACEOF
34196 /* confdefs.h. */
34197 _ACEOF
34198 cat confdefs.h >>conftest.$ac_ext
34199 cat >>conftest.$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34201
34202 #include <string>
34203
34204 int
34205 main ()
34206 {
34207
34208 std::string s("hello");
34209 return s.length();
34210
34211 ;
34212 return 0;
34213 }
34214 _ACEOF
34215 rm -f conftest.$ac_objext conftest$ac_exeext
34216 if { (ac_try="$ac_link"
34217 case "(($ac_try" in
34218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34219 *) ac_try_echo=$ac_try;;
34220 esac
34221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34222 (eval "$ac_link") 2>conftest.er1
34223 ac_status=$?
34224 grep -v '^ *+' conftest.er1 >conftest.err
34225 rm -f conftest.er1
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } && {
34229 test -z "$ac_cxx_werror_flag" ||
34230 test ! -s conftest.err
34231 } && test -s conftest$ac_exeext &&
34232 $as_test_x conftest$ac_exeext; then
34233 wx_cv_cc_broken_libstdcxx_visibility=no
34234 else
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34237
34238 wx_cv_cc_broken_libstdcxx_visibility=yes
34239 fi
34240
34241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34242 conftest$ac_exeext conftest.$ac_ext
34243 ac_ext=c
34244 ac_cpp='$CPP $CPPFLAGS'
34245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34248
34249 CXXFLAGS="$wx_save_CXXFLAGS"
34250 LDFLAGS="$wx_save_LDFLAGS"
34251 fi
34252
34253 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34254 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34255
34256 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34257 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34258 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34259 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 else
34262
34263 ac_ext=cpp
34264 ac_cpp='$CXXCPP $CPPFLAGS'
34265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34268
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275
34276 #pragma GCC visibility push(default)
34277 #include <string>
34278 #pragma GCC visibility pop
34279
34280 int
34281 main ()
34282 {
34283
34284 std::string s("hello");
34285 return s.length();
34286
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext conftest$ac_exeext
34292 if { (ac_try="$ac_link"
34293 case "(($ac_try" in
34294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34295 *) ac_try_echo=$ac_try;;
34296 esac
34297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34298 (eval "$ac_link") 2>conftest.er1
34299 ac_status=$?
34300 grep -v '^ *+' conftest.er1 >conftest.err
34301 rm -f conftest.er1
34302 cat conftest.err >&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } && {
34305 test -z "$ac_cxx_werror_flag" ||
34306 test ! -s conftest.err
34307 } && test -s conftest$ac_exeext &&
34308 $as_test_x conftest$ac_exeext; then
34309 wx_cv_cc_visibility_workaround=no
34310 else
34311 echo "$as_me: failed program was:" >&5
34312 sed 's/^/| /' conftest.$ac_ext >&5
34313
34314 wx_cv_cc_visibility_workaround=yes
34315 fi
34316
34317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34318 conftest$ac_exeext conftest.$ac_ext
34319 ac_ext=c
34320 ac_cpp='$CPP $CPPFLAGS'
34321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34324
34325
34326 fi
34327
34328 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34329 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34330
34331 if test $wx_cv_cc_visibility_workaround = no; then
34332 wx_cv_cc_visibility=no
34333 fi
34334 fi
34335 fi
34336
34337 if test $wx_cv_cc_visibility = yes; then
34338 cat >>confdefs.h <<\_ACEOF
34339 #define HAVE_VISIBILITY 1
34340 _ACEOF
34341
34342 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34343 cat >>confdefs.h <<\_ACEOF
34344 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34345 _ACEOF
34346
34347 fi
34348 else
34349 CFLAGS_VISIBILITY=""
34350 CXXFLAGS_VISIBILITY=""
34351 fi
34352
34353
34354 fi
34355
34356 fi
34357
34358 if test "x$SUNCXX" = xyes; then
34359 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34360 WXCONFIG_RPATH="-R\$libdir"
34361 else
34362 case "${host}" in
34363 *-*-linux* | *-*-gnu* )
34364 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34365 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34366 ;;
34367
34368 *-*-solaris2* )
34369
34370 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34371
34372 saveLdflags="$LDFLAGS"
34373 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34374 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34375 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34376 cat >conftest.$ac_ext <<_ACEOF
34377 /* confdefs.h. */
34378 _ACEOF
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34382
34383 int
34384 main ()
34385 {
34386
34387 ;
34388 return 0;
34389 }
34390 _ACEOF
34391 rm -f conftest.$ac_objext conftest$ac_exeext
34392 if { (ac_try="$ac_link"
34393 case "(($ac_try" in
34394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34395 *) ac_try_echo=$ac_try;;
34396 esac
34397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34398 (eval "$ac_link") 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } && {
34405 test -z "$ac_c_werror_flag" ||
34406 test ! -s conftest.err
34407 } && test -s conftest$ac_exeext &&
34408 $as_test_x conftest$ac_exeext; then
34409
34410 { echo "$as_me:$LINENO: result: yes" >&5
34411 echo "${ECHO_T}yes" >&6; }
34412 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34413 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34414
34415 else
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34418
34419
34420 { echo "$as_me:$LINENO: result: no" >&5
34421 echo "${ECHO_T}no" >&6; }
34422 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34423 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34424 LDFLAGS="$saveLdflags -Wl,-R,/"
34425 cat >conftest.$ac_ext <<_ACEOF
34426 /* confdefs.h. */
34427 _ACEOF
34428 cat confdefs.h >>conftest.$ac_ext
34429 cat >>conftest.$ac_ext <<_ACEOF
34430 /* end confdefs.h. */
34431
34432 int
34433 main ()
34434 {
34435
34436 ;
34437 return 0;
34438 }
34439 _ACEOF
34440 rm -f conftest.$ac_objext conftest$ac_exeext
34441 if { (ac_try="$ac_link"
34442 case "(($ac_try" in
34443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34444 *) ac_try_echo=$ac_try;;
34445 esac
34446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34447 (eval "$ac_link") 2>conftest.er1
34448 ac_status=$?
34449 grep -v '^ *+' conftest.er1 >conftest.err
34450 rm -f conftest.er1
34451 cat conftest.err >&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } && {
34454 test -z "$ac_c_werror_flag" ||
34455 test ! -s conftest.err
34456 } && test -s conftest$ac_exeext &&
34457 $as_test_x conftest$ac_exeext; then
34458
34459 { echo "$as_me:$LINENO: result: yes" >&5
34460 echo "${ECHO_T}yes" >&6; }
34461 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34462 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34463
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34467
34468
34469 { echo "$as_me:$LINENO: result: no" >&5
34470 echo "${ECHO_T}no" >&6; }
34471
34472 fi
34473
34474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34475 conftest$ac_exeext conftest.$ac_ext
34476
34477 fi
34478
34479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34480 conftest$ac_exeext conftest.$ac_ext
34481 LDFLAGS="$saveLdflags"
34482 ;;
34483
34484 *-*-darwin* )
34485 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34486 if test "$install_name_tool" -a -x "$install_name_tool"; then
34487 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34488 cat <<EOF >change-install-names
34489 #!/bin/sh
34490 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34491 for i in \${libnames} ; do
34492 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34493 for dep in \${libnames} ; do
34494 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34495 done
34496 done
34497 EOF
34498 chmod +x change-install-names
34499 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34500 fi
34501
34502 HEADER_PAD_OPTION="-headerpad_max_install_names"
34503 ;;
34504
34505 *-*-cygwin* | *-*-mingw32* )
34506 ;;
34507
34508 *-*-hpux* )
34509 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34510 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34511 ;;
34512
34513 esac
34514 fi
34515
34516 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34517
34518 if test $wxUSE_RPATH = "no"; then
34519 SAMPLES_RPATH_FLAG=''
34520 DYLIB_PATH_POSTLINK=''
34521 WXCONFIG_RPATH=''
34522 fi
34523
34524 SHARED=1
34525
34526 else
34527
34528 config_linkage_component="-static"
34529 SHARED=0
34530
34531 fi
34532
34533
34534 UNICODE=0
34535 lib_unicode_suffix=
34536 WX_CHARTYPE="ansi"
34537 if test "$wxUSE_UNICODE" = "yes"; then
34538 lib_unicode_suffix=u
34539 WX_CHARTYPE="unicode"
34540 UNICODE=1
34541 fi
34542
34543 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34544 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34545
34546 DEBUG_INFO=0
34547 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34548 DEBUG_INFO=1
34549 fi
34550
34551 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34552
34553 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34554
34555 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34556
34557
34558 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34559 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34560 else
34561 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34562 fi
34563 if test "${TOOLKIT_DIR}" = "os2"; then
34564 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34565 else
34566 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34567 fi
34568
34569
34570
34571 if test "$wxUSE_OLD_COCOA" = 1; then
34572
34573 ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34578
34579 ac_ext=m
34580
34581 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34582 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34583 cat >conftest.$ac_ext <<_ACEOF
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 #include <AppKit/NSEvent.h>
34590 #include <CoreFoundation/CoreFoundation.h>
34591
34592 int
34593 main ()
34594 {
34595
34596 ;
34597 return 0;
34598 }
34599 _ACEOF
34600 rm -f conftest.$ac_objext
34601 if { (ac_try="$ac_compile"
34602 case "(($ac_try" in
34603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34604 *) ac_try_echo=$ac_try;;
34605 esac
34606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34607 (eval "$ac_compile") 2>conftest.er1
34608 ac_status=$?
34609 grep -v '^ *+' conftest.er1 >conftest.err
34610 rm -f conftest.er1
34611 cat conftest.err >&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } && {
34614 test -z "$ac_c_werror_flag" ||
34615 test ! -s conftest.err
34616 } && test -s conftest.$ac_objext; then
34617 { echo "$as_me:$LINENO: result: no" >&5
34618 echo "${ECHO_T}no" >&6; }
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623 { echo "$as_me:$LINENO: result: yes" >&5
34624 echo "${ECHO_T}yes" >&6; }
34625 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34626 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 #define __Point__ 1
34634 #include <AppKit/NSEvent.h>
34635 #include <CoreFoundation/CoreFoundation.h>
34636
34637 int
34638 main ()
34639 {
34640
34641 ;
34642 return 0;
34643 }
34644 _ACEOF
34645 rm -f conftest.$ac_objext
34646 if { (ac_try="$ac_compile"
34647 case "(($ac_try" in
34648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34649 *) ac_try_echo=$ac_try;;
34650 esac
34651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34652 (eval "$ac_compile") 2>conftest.er1
34653 ac_status=$?
34654 grep -v '^ *+' conftest.er1 >conftest.err
34655 rm -f conftest.er1
34656 cat conftest.err >&5
34657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34658 (exit $ac_status); } && {
34659 test -z "$ac_c_werror_flag" ||
34660 test ! -s conftest.err
34661 } && test -s conftest.$ac_objext; then
34662 { echo "$as_me:$LINENO: result: yes" >&5
34663 echo "${ECHO_T}yes" >&6; }
34664 cat >>confdefs.h <<\_ACEOF
34665 #define __Point__ 1
34666 _ACEOF
34667
34668
34669 else
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.$ac_ext >&5
34672
34673 { { echo "$as_me:$LINENO: error: no
34674 See \`config.log' for more details." >&5
34675 echo "$as_me: error: no
34676 See \`config.log' for more details." >&2;}
34677 { (exit 1); exit 1; }; }
34678
34679 fi
34680
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682
34683 fi
34684
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691
34692 fi
34693
34694
34695 { echo "$as_me:$LINENO: checking for mode_t" >&5
34696 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34697 if test "${ac_cv_type_mode_t+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34699 else
34700 cat >conftest.$ac_ext <<_ACEOF
34701 /* confdefs.h. */
34702 _ACEOF
34703 cat confdefs.h >>conftest.$ac_ext
34704 cat >>conftest.$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706 $ac_includes_default
34707 typedef mode_t ac__type_new_;
34708 int
34709 main ()
34710 {
34711 if ((ac__type_new_ *) 0)
34712 return 0;
34713 if (sizeof (ac__type_new_))
34714 return 0;
34715 ;
34716 return 0;
34717 }
34718 _ACEOF
34719 rm -f conftest.$ac_objext
34720 if { (ac_try="$ac_compile"
34721 case "(($ac_try" in
34722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34723 *) ac_try_echo=$ac_try;;
34724 esac
34725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34726 (eval "$ac_compile") 2>conftest.er1
34727 ac_status=$?
34728 grep -v '^ *+' conftest.er1 >conftest.err
34729 rm -f conftest.er1
34730 cat conftest.err >&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } && {
34733 test -z "$ac_c_werror_flag" ||
34734 test ! -s conftest.err
34735 } && test -s conftest.$ac_objext; then
34736 ac_cv_type_mode_t=yes
34737 else
34738 echo "$as_me: failed program was:" >&5
34739 sed 's/^/| /' conftest.$ac_ext >&5
34740
34741 ac_cv_type_mode_t=no
34742 fi
34743
34744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34745 fi
34746 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34747 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34748 if test $ac_cv_type_mode_t = yes; then
34749 :
34750 else
34751
34752 cat >>confdefs.h <<_ACEOF
34753 #define mode_t int
34754 _ACEOF
34755
34756 fi
34757
34758 { echo "$as_me:$LINENO: checking for off_t" >&5
34759 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34760 if test "${ac_cv_type_off_t+set}" = set; then
34761 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 else
34763 cat >conftest.$ac_ext <<_ACEOF
34764 /* confdefs.h. */
34765 _ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769 $ac_includes_default
34770 typedef off_t ac__type_new_;
34771 int
34772 main ()
34773 {
34774 if ((ac__type_new_ *) 0)
34775 return 0;
34776 if (sizeof (ac__type_new_))
34777 return 0;
34778 ;
34779 return 0;
34780 }
34781 _ACEOF
34782 rm -f conftest.$ac_objext
34783 if { (ac_try="$ac_compile"
34784 case "(($ac_try" in
34785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34786 *) ac_try_echo=$ac_try;;
34787 esac
34788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34789 (eval "$ac_compile") 2>conftest.er1
34790 ac_status=$?
34791 grep -v '^ *+' conftest.er1 >conftest.err
34792 rm -f conftest.er1
34793 cat conftest.err >&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); } && {
34796 test -z "$ac_c_werror_flag" ||
34797 test ! -s conftest.err
34798 } && test -s conftest.$ac_objext; then
34799 ac_cv_type_off_t=yes
34800 else
34801 echo "$as_me: failed program was:" >&5
34802 sed 's/^/| /' conftest.$ac_ext >&5
34803
34804 ac_cv_type_off_t=no
34805 fi
34806
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808 fi
34809 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34810 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34811 if test $ac_cv_type_off_t = yes; then
34812 :
34813 else
34814
34815 cat >>confdefs.h <<_ACEOF
34816 #define off_t long int
34817 _ACEOF
34818
34819 fi
34820
34821 { echo "$as_me:$LINENO: checking for pid_t" >&5
34822 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34823 if test "${ac_cv_type_pid_t+set}" = set; then
34824 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 else
34826 cat >conftest.$ac_ext <<_ACEOF
34827 /* confdefs.h. */
34828 _ACEOF
34829 cat confdefs.h >>conftest.$ac_ext
34830 cat >>conftest.$ac_ext <<_ACEOF
34831 /* end confdefs.h. */
34832 $ac_includes_default
34833 typedef pid_t ac__type_new_;
34834 int
34835 main ()
34836 {
34837 if ((ac__type_new_ *) 0)
34838 return 0;
34839 if (sizeof (ac__type_new_))
34840 return 0;
34841 ;
34842 return 0;
34843 }
34844 _ACEOF
34845 rm -f conftest.$ac_objext
34846 if { (ac_try="$ac_compile"
34847 case "(($ac_try" in
34848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34850 esac
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_compile") 2>conftest.er1
34853 ac_status=$?
34854 grep -v '^ *+' conftest.er1 >conftest.err
34855 rm -f conftest.er1
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } && {
34859 test -z "$ac_c_werror_flag" ||
34860 test ! -s conftest.err
34861 } && test -s conftest.$ac_objext; then
34862 ac_cv_type_pid_t=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 ac_cv_type_pid_t=no
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34871 fi
34872 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34873 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34874 if test $ac_cv_type_pid_t = yes; then
34875 :
34876 else
34877
34878 cat >>confdefs.h <<_ACEOF
34879 #define pid_t int
34880 _ACEOF
34881
34882 fi
34883
34884 { echo "$as_me:$LINENO: checking for size_t" >&5
34885 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34886 if test "${ac_cv_type_size_t+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 else
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895 $ac_includes_default
34896 typedef size_t ac__type_new_;
34897 int
34898 main ()
34899 {
34900 if ((ac__type_new_ *) 0)
34901 return 0;
34902 if (sizeof (ac__type_new_))
34903 return 0;
34904 ;
34905 return 0;
34906 }
34907 _ACEOF
34908 rm -f conftest.$ac_objext
34909 if { (ac_try="$ac_compile"
34910 case "(($ac_try" in
34911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34912 *) ac_try_echo=$ac_try;;
34913 esac
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_compile") 2>conftest.er1
34916 ac_status=$?
34917 grep -v '^ *+' conftest.er1 >conftest.err
34918 rm -f conftest.er1
34919 cat conftest.err >&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_c_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest.$ac_objext; then
34925 ac_cv_type_size_t=yes
34926 else
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.$ac_ext >&5
34929
34930 ac_cv_type_size_t=no
34931 fi
34932
34933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34934 fi
34935 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34936 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34937 if test $ac_cv_type_size_t = yes; then
34938 :
34939 else
34940
34941 cat >>confdefs.h <<_ACEOF
34942 #define size_t unsigned int
34943 _ACEOF
34944
34945 fi
34946
34947
34948 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34949 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34950 if test "${ac_cv_type_ssize_t+set}" = set; then
34951 echo $ECHO_N "(cached) $ECHO_C" >&6
34952 else
34953 cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h. */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 $ac_includes_default
34960 typedef ssize_t ac__type_new_;
34961 int
34962 main ()
34963 {
34964 if ((ac__type_new_ *) 0)
34965 return 0;
34966 if (sizeof (ac__type_new_))
34967 return 0;
34968 ;
34969 return 0;
34970 }
34971 _ACEOF
34972 rm -f conftest.$ac_objext
34973 if { (ac_try="$ac_compile"
34974 case "(($ac_try" in
34975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34976 *) ac_try_echo=$ac_try;;
34977 esac
34978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34979 (eval "$ac_compile") 2>conftest.er1
34980 ac_status=$?
34981 grep -v '^ *+' conftest.er1 >conftest.err
34982 rm -f conftest.er1
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } && {
34986 test -z "$ac_c_werror_flag" ||
34987 test ! -s conftest.err
34988 } && test -s conftest.$ac_objext; then
34989 ac_cv_type_ssize_t=yes
34990 else
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34993
34994 ac_cv_type_ssize_t=no
34995 fi
34996
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 fi
34999 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35000 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35001 if test $ac_cv_type_ssize_t = yes; then
35002
35003 cat >>confdefs.h <<_ACEOF
35004 #define HAVE_SSIZE_T 1
35005 _ACEOF
35006
35007
35008 fi
35009
35010
35011 ac_ext=cpp
35012 ac_cpp='$CXXCPP $CPPFLAGS'
35013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35017 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35018 if test "${wx_cv_size_t_is_uint+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35021
35022 cat >conftest.$ac_ext <<_ACEOF
35023 /* confdefs.h. */
35024 _ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028 #include <stddef.h>
35029 int
35030 main ()
35031 {
35032
35033 return 0; }
35034
35035 struct Foo { void foo(size_t); void foo(unsigned int); };
35036
35037 int bar() {
35038
35039 ;
35040 return 0;
35041 }
35042 _ACEOF
35043 rm -f conftest.$ac_objext
35044 if { (ac_try="$ac_compile"
35045 case "(($ac_try" in
35046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35047 *) ac_try_echo=$ac_try;;
35048 esac
35049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35050 (eval "$ac_compile") 2>conftest.er1
35051 ac_status=$?
35052 grep -v '^ *+' conftest.er1 >conftest.err
35053 rm -f conftest.er1
35054 cat conftest.err >&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } && {
35057 test -z "$ac_cxx_werror_flag" ||
35058 test ! -s conftest.err
35059 } && test -s conftest.$ac_objext; then
35060 wx_cv_size_t_is_uint=no
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35064
35065 wx_cv_size_t_is_uint=yes
35066
35067 fi
35068
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070
35071
35072 fi
35073 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35074 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35075
35076 if test "$wx_cv_size_t_is_uint" = "yes"; then
35077 cat >>confdefs.h <<\_ACEOF
35078 #define wxSIZE_T_IS_UINT 1
35079 _ACEOF
35080
35081 else
35082 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35083 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35084 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 cat >conftest.$ac_ext <<_ACEOF
35088 /* confdefs.h. */
35089 _ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 #include <stddef.h>
35094 int
35095 main ()
35096 {
35097
35098 return 0; }
35099
35100 struct Foo { void foo(size_t); void foo(unsigned long); };
35101
35102 int bar() {
35103
35104 ;
35105 return 0;
35106 }
35107 _ACEOF
35108 rm -f conftest.$ac_objext
35109 if { (ac_try="$ac_compile"
35110 case "(($ac_try" in
35111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35112 *) ac_try_echo=$ac_try;;
35113 esac
35114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35115 (eval "$ac_compile") 2>conftest.er1
35116 ac_status=$?
35117 grep -v '^ *+' conftest.er1 >conftest.err
35118 rm -f conftest.er1
35119 cat conftest.err >&5
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); } && {
35122 test -z "$ac_cxx_werror_flag" ||
35123 test ! -s conftest.err
35124 } && test -s conftest.$ac_objext; then
35125 wx_cv_size_t_is_ulong=no
35126 else
35127 echo "$as_me: failed program was:" >&5
35128 sed 's/^/| /' conftest.$ac_ext >&5
35129
35130 wx_cv_size_t_is_ulong=yes
35131
35132 fi
35133
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35135
35136 fi
35137 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35138 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35139
35140 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35141 cat >>confdefs.h <<\_ACEOF
35142 #define wxSIZE_T_IS_ULONG 1
35143 _ACEOF
35144
35145 fi
35146 fi
35147
35148 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35149 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35150 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 else
35153 cat >conftest.$ac_ext <<_ACEOF
35154 /* confdefs.h. */
35155 _ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35159 #include <wchar.h>
35160 int
35161 main ()
35162 {
35163
35164 return 0; }
35165
35166 struct Foo { void foo(wchar_t);
35167 void foo(unsigned short);
35168 void foo(unsigned int);
35169 void foo(unsigned long); };
35170
35171 int bar() {
35172
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 rm -f conftest.$ac_objext
35178 if { (ac_try="$ac_compile"
35179 case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35182 esac
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_compile") 2>conftest.er1
35185 ac_status=$?
35186 grep -v '^ *+' conftest.er1 >conftest.err
35187 rm -f conftest.er1
35188 cat conftest.err >&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); } && {
35191 test -z "$ac_cxx_werror_flag" ||
35192 test ! -s conftest.err
35193 } && test -s conftest.$ac_objext; then
35194 wx_cv_wchar_t_is_separate_type=yes
35195 else
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35198
35199 wx_cv_wchar_t_is_separate_type=no
35200
35201 fi
35202
35203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35204
35205 fi
35206 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35207 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35208
35209 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35210 cat >>confdefs.h <<\_ACEOF
35211 #define wxWCHAR_T_IS_REAL_TYPE 1
35212 _ACEOF
35213
35214 else
35215 cat >>confdefs.h <<\_ACEOF
35216 #define wxWCHAR_T_IS_REAL_TYPE 0
35217 _ACEOF
35218
35219 fi
35220
35221 ac_ext=c
35222 ac_cpp='$CPP $CPPFLAGS'
35223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35226
35227
35228 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35229 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35230 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 else
35233
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h. */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240 #include <pwd.h>
35241 int
35242 main ()
35243 {
35244
35245 char *p;
35246 struct passwd *pw;
35247 p = pw->pw_gecos;
35248
35249 ;
35250 return 0;
35251 }
35252 _ACEOF
35253 rm -f conftest.$ac_objext
35254 if { (ac_try="$ac_compile"
35255 case "(($ac_try" in
35256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35257 *) ac_try_echo=$ac_try;;
35258 esac
35259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35260 (eval "$ac_compile") 2>conftest.er1
35261 ac_status=$?
35262 grep -v '^ *+' conftest.er1 >conftest.err
35263 rm -f conftest.er1
35264 cat conftest.err >&5
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); } && {
35267 test -z "$ac_c_werror_flag" ||
35268 test ! -s conftest.err
35269 } && test -s conftest.$ac_objext; then
35270
35271 wx_cv_struct_pw_gecos=yes
35272
35273 else
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277
35278 wx_cv_struct_pw_gecos=no
35279
35280
35281 fi
35282
35283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284
35285
35286 fi
35287 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35288 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35289
35290 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35291 cat >>confdefs.h <<\_ACEOF
35292 #define HAVE_PW_GECOS 1
35293 _ACEOF
35294
35295 fi
35296
35297
35298 if test "$wxUSE_WCHAR_T" = "yes"; then
35299 cat >>confdefs.h <<\_ACEOF
35300 #define wxUSE_WCHAR_T 1
35301 _ACEOF
35302
35303
35304 WCSLEN_FOUND=0
35305 WCHAR_LINK=
35306
35307 for ac_func in wcslen
35308 do
35309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 else
35315 cat >conftest.$ac_ext <<_ACEOF
35316 /* confdefs.h. */
35317 _ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35323 #define $ac_func innocuous_$ac_func
35324
35325 /* System header to define __stub macros and hopefully few prototypes,
35326 which can conflict with char $ac_func (); below.
35327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35328 <limits.h> exists even on freestanding compilers. */
35329
35330 #ifdef __STDC__
35331 # include <limits.h>
35332 #else
35333 # include <assert.h>
35334 #endif
35335
35336 #undef $ac_func
35337
35338 /* Override any GCC internal prototype to avoid an error.
35339 Use char because int might match the return type of a GCC
35340 builtin and then its argument prototype would still apply. */
35341 #ifdef __cplusplus
35342 extern "C"
35343 #endif
35344 char $ac_func ();
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined __stub_$ac_func || defined __stub___$ac_func
35349 choke me
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355 return $ac_func ();
35356 ;
35357 return 0;
35358 }
35359 _ACEOF
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (ac_try="$ac_link"
35362 case "(($ac_try" in
35363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35364 *) ac_try_echo=$ac_try;;
35365 esac
35366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35367 (eval "$ac_link") 2>conftest.er1
35368 ac_status=$?
35369 grep -v '^ *+' conftest.er1 >conftest.err
35370 rm -f conftest.er1
35371 cat conftest.err >&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } && {
35374 test -z "$ac_c_werror_flag" ||
35375 test ! -s conftest.err
35376 } && test -s conftest$ac_exeext &&
35377 $as_test_x conftest$ac_exeext; then
35378 eval "$as_ac_var=yes"
35379 else
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.$ac_ext >&5
35382
35383 eval "$as_ac_var=no"
35384 fi
35385
35386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35387 conftest$ac_exeext conftest.$ac_ext
35388 fi
35389 ac_res=`eval echo '${'$as_ac_var'}'`
35390 { echo "$as_me:$LINENO: result: $ac_res" >&5
35391 echo "${ECHO_T}$ac_res" >&6; }
35392 if test `eval echo '${'$as_ac_var'}'` = yes; then
35393 cat >>confdefs.h <<_ACEOF
35394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35395 _ACEOF
35396 WCSLEN_FOUND=1
35397 fi
35398 done
35399
35400
35401 if test "$WCSLEN_FOUND" = 0; then
35402 if test "$TOOLKIT" = "MSW"; then
35403 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35404 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35405 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35407 else
35408 ac_check_lib_save_LIBS=$LIBS
35409 LIBS="-lmsvcrt $LIBS"
35410 cat >conftest.$ac_ext <<_ACEOF
35411 /* confdefs.h. */
35412 _ACEOF
35413 cat confdefs.h >>conftest.$ac_ext
35414 cat >>conftest.$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35416
35417 /* Override any GCC internal prototype to avoid an error.
35418 Use char because int might match the return type of a GCC
35419 builtin and then its argument prototype would still apply. */
35420 #ifdef __cplusplus
35421 extern "C"
35422 #endif
35423 char wcslen ();
35424 int
35425 main ()
35426 {
35427 return wcslen ();
35428 ;
35429 return 0;
35430 }
35431 _ACEOF
35432 rm -f conftest.$ac_objext conftest$ac_exeext
35433 if { (ac_try="$ac_link"
35434 case "(($ac_try" in
35435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35436 *) ac_try_echo=$ac_try;;
35437 esac
35438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35439 (eval "$ac_link") 2>conftest.er1
35440 ac_status=$?
35441 grep -v '^ *+' conftest.er1 >conftest.err
35442 rm -f conftest.er1
35443 cat conftest.err >&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } && {
35446 test -z "$ac_c_werror_flag" ||
35447 test ! -s conftest.err
35448 } && test -s conftest$ac_exeext &&
35449 $as_test_x conftest$ac_exeext; then
35450 ac_cv_lib_msvcrt_wcslen=yes
35451 else
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.$ac_ext >&5
35454
35455 ac_cv_lib_msvcrt_wcslen=no
35456 fi
35457
35458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35459 conftest$ac_exeext conftest.$ac_ext
35460 LIBS=$ac_check_lib_save_LIBS
35461 fi
35462 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35463 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35464 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35465 WCHAR_OK=1
35466 fi
35467
35468 else
35469 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35470 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35471 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 else
35474 ac_check_lib_save_LIBS=$LIBS
35475 LIBS="-lw $LIBS"
35476 cat >conftest.$ac_ext <<_ACEOF
35477 /* confdefs.h. */
35478 _ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35482
35483 /* Override any GCC internal prototype to avoid an error.
35484 Use char because int might match the return type of a GCC
35485 builtin and then its argument prototype would still apply. */
35486 #ifdef __cplusplus
35487 extern "C"
35488 #endif
35489 char wcslen ();
35490 int
35491 main ()
35492 {
35493 return wcslen ();
35494 ;
35495 return 0;
35496 }
35497 _ACEOF
35498 rm -f conftest.$ac_objext conftest$ac_exeext
35499 if { (ac_try="$ac_link"
35500 case "(($ac_try" in
35501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35502 *) ac_try_echo=$ac_try;;
35503 esac
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_link") 2>conftest.er1
35506 ac_status=$?
35507 grep -v '^ *+' conftest.er1 >conftest.err
35508 rm -f conftest.er1
35509 cat conftest.err >&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } && {
35512 test -z "$ac_c_werror_flag" ||
35513 test ! -s conftest.err
35514 } && test -s conftest$ac_exeext &&
35515 $as_test_x conftest$ac_exeext; then
35516 ac_cv_lib_w_wcslen=yes
35517 else
35518 echo "$as_me: failed program was:" >&5
35519 sed 's/^/| /' conftest.$ac_ext >&5
35520
35521 ac_cv_lib_w_wcslen=no
35522 fi
35523
35524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35525 conftest$ac_exeext conftest.$ac_ext
35526 LIBS=$ac_check_lib_save_LIBS
35527 fi
35528 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35529 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35530 if test $ac_cv_lib_w_wcslen = yes; then
35531
35532 WCHAR_LINK=" -lw"
35533 WCSLEN_FOUND=1
35534
35535 fi
35536
35537 fi
35538 fi
35539
35540 if test "$WCSLEN_FOUND" = 1; then
35541 cat >>confdefs.h <<\_ACEOF
35542 #define HAVE_WCSLEN 1
35543 _ACEOF
35544
35545 fi
35546
35547
35548
35549
35550
35551
35552 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35553 do
35554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35560 cat >conftest.$ac_ext <<_ACEOF
35561 /* confdefs.h. */
35562 _ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35569
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35574
35575 #ifdef __STDC__
35576 # include <limits.h>
35577 #else
35578 # include <assert.h>
35579 #endif
35580
35581 #undef $ac_func
35582
35583 /* Override any GCC internal prototype to avoid an error.
35584 Use char because int might match the return type of a GCC
35585 builtin and then its argument prototype would still apply. */
35586 #ifdef __cplusplus
35587 extern "C"
35588 #endif
35589 char $ac_func ();
35590 /* The GNU C library defines this for functions which it implements
35591 to always fail with ENOSYS. Some functions are actually named
35592 something starting with __ and the normal name is an alias. */
35593 #if defined __stub_$ac_func || defined __stub___$ac_func
35594 choke me
35595 #endif
35596
35597 int
35598 main ()
35599 {
35600 return $ac_func ();
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (ac_try="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35609 *) ac_try_echo=$ac_try;;
35610 esac
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35613 ac_status=$?
35614 grep -v '^ *+' conftest.er1 >conftest.err
35615 rm -f conftest.er1
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest$ac_exeext &&
35622 $as_test_x conftest$ac_exeext; then
35623 eval "$as_ac_var=yes"
35624 else
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.$ac_ext >&5
35627
35628 eval "$as_ac_var=no"
35629 fi
35630
35631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35632 conftest$ac_exeext conftest.$ac_ext
35633 fi
35634 ac_res=`eval echo '${'$as_ac_var'}'`
35635 { echo "$as_me:$LINENO: result: $ac_res" >&5
35636 echo "${ECHO_T}$ac_res" >&6; }
35637 if test `eval echo '${'$as_ac_var'}'` = yes; then
35638 cat >>confdefs.h <<_ACEOF
35639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35640 _ACEOF
35641
35642 fi
35643 done
35644
35645
35646 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35647 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35648 fi
35649
35650 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35651 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35652 if test "${ac_cv_type_mbstate_t+set}" = set; then
35653 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 else
35655 cat >conftest.$ac_ext <<_ACEOF
35656 /* confdefs.h. */
35657 _ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h. */
35661 #include <wchar.h>
35662
35663 typedef mbstate_t ac__type_new_;
35664 int
35665 main ()
35666 {
35667 if ((ac__type_new_ *) 0)
35668 return 0;
35669 if (sizeof (ac__type_new_))
35670 return 0;
35671 ;
35672 return 0;
35673 }
35674 _ACEOF
35675 rm -f conftest.$ac_objext
35676 if { (ac_try="$ac_compile"
35677 case "(($ac_try" in
35678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35679 *) ac_try_echo=$ac_try;;
35680 esac
35681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35682 (eval "$ac_compile") 2>conftest.er1
35683 ac_status=$?
35684 grep -v '^ *+' conftest.er1 >conftest.err
35685 rm -f conftest.er1
35686 cat conftest.err >&5
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); } && {
35689 test -z "$ac_c_werror_flag" ||
35690 test ! -s conftest.err
35691 } && test -s conftest.$ac_objext; then
35692 ac_cv_type_mbstate_t=yes
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 ac_cv_type_mbstate_t=no
35698 fi
35699
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 fi
35702 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35703 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35704 if test $ac_cv_type_mbstate_t = yes; then
35705
35706 cat >>confdefs.h <<_ACEOF
35707 #define HAVE_MBSTATE_T 1
35708 _ACEOF
35709
35710
35711 for ac_func in wcsrtombs
35712 do
35713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 else
35719 cat >conftest.$ac_ext <<_ACEOF
35720 /* confdefs.h. */
35721 _ACEOF
35722 cat confdefs.h >>conftest.$ac_ext
35723 cat >>conftest.$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35727 #define $ac_func innocuous_$ac_func
35728
35729 /* System header to define __stub macros and hopefully few prototypes,
35730 which can conflict with char $ac_func (); below.
35731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35732 <limits.h> exists even on freestanding compilers. */
35733
35734 #ifdef __STDC__
35735 # include <limits.h>
35736 #else
35737 # include <assert.h>
35738 #endif
35739
35740 #undef $ac_func
35741
35742 /* Override any GCC internal prototype to avoid an error.
35743 Use char because int might match the return type of a GCC
35744 builtin and then its argument prototype would still apply. */
35745 #ifdef __cplusplus
35746 extern "C"
35747 #endif
35748 char $ac_func ();
35749 /* The GNU C library defines this for functions which it implements
35750 to always fail with ENOSYS. Some functions are actually named
35751 something starting with __ and the normal name is an alias. */
35752 #if defined __stub_$ac_func || defined __stub___$ac_func
35753 choke me
35754 #endif
35755
35756 int
35757 main ()
35758 {
35759 return $ac_func ();
35760 ;
35761 return 0;
35762 }
35763 _ACEOF
35764 rm -f conftest.$ac_objext conftest$ac_exeext
35765 if { (ac_try="$ac_link"
35766 case "(($ac_try" in
35767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35768 *) ac_try_echo=$ac_try;;
35769 esac
35770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35771 (eval "$ac_link") 2>conftest.er1
35772 ac_status=$?
35773 grep -v '^ *+' conftest.er1 >conftest.err
35774 rm -f conftest.er1
35775 cat conftest.err >&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); } && {
35778 test -z "$ac_c_werror_flag" ||
35779 test ! -s conftest.err
35780 } && test -s conftest$ac_exeext &&
35781 $as_test_x conftest$ac_exeext; then
35782 eval "$as_ac_var=yes"
35783 else
35784 echo "$as_me: failed program was:" >&5
35785 sed 's/^/| /' conftest.$ac_ext >&5
35786
35787 eval "$as_ac_var=no"
35788 fi
35789
35790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35791 conftest$ac_exeext conftest.$ac_ext
35792 fi
35793 ac_res=`eval echo '${'$as_ac_var'}'`
35794 { echo "$as_me:$LINENO: result: $ac_res" >&5
35795 echo "${ECHO_T}$ac_res" >&6; }
35796 if test `eval echo '${'$as_ac_var'}'` = yes; then
35797 cat >>confdefs.h <<_ACEOF
35798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35799 _ACEOF
35800
35801 fi
35802 done
35803
35804 fi
35805
35806 else
35807 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35808 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35809 fi
35810
35811
35812
35813
35814 for ac_func in snprintf vsnprintf vsscanf
35815 do
35816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35817 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35820 echo $ECHO_N "(cached) $ECHO_C" >&6
35821 else
35822 cat >conftest.$ac_ext <<_ACEOF
35823 /* confdefs.h. */
35824 _ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35830 #define $ac_func innocuous_$ac_func
35831
35832 /* System header to define __stub macros and hopefully few prototypes,
35833 which can conflict with char $ac_func (); below.
35834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35835 <limits.h> exists even on freestanding compilers. */
35836
35837 #ifdef __STDC__
35838 # include <limits.h>
35839 #else
35840 # include <assert.h>
35841 #endif
35842
35843 #undef $ac_func
35844
35845 /* Override any GCC internal prototype to avoid an error.
35846 Use char because int might match the return type of a GCC
35847 builtin and then its argument prototype would still apply. */
35848 #ifdef __cplusplus
35849 extern "C"
35850 #endif
35851 char $ac_func ();
35852 /* The GNU C library defines this for functions which it implements
35853 to always fail with ENOSYS. Some functions are actually named
35854 something starting with __ and the normal name is an alias. */
35855 #if defined __stub_$ac_func || defined __stub___$ac_func
35856 choke me
35857 #endif
35858
35859 int
35860 main ()
35861 {
35862 return $ac_func ();
35863 ;
35864 return 0;
35865 }
35866 _ACEOF
35867 rm -f conftest.$ac_objext conftest$ac_exeext
35868 if { (ac_try="$ac_link"
35869 case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35872 esac
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_link") 2>conftest.er1
35875 ac_status=$?
35876 grep -v '^ *+' conftest.er1 >conftest.err
35877 rm -f conftest.er1
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } && {
35881 test -z "$ac_c_werror_flag" ||
35882 test ! -s conftest.err
35883 } && test -s conftest$ac_exeext &&
35884 $as_test_x conftest$ac_exeext; then
35885 eval "$as_ac_var=yes"
35886 else
35887 echo "$as_me: failed program was:" >&5
35888 sed 's/^/| /' conftest.$ac_ext >&5
35889
35890 eval "$as_ac_var=no"
35891 fi
35892
35893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35894 conftest$ac_exeext conftest.$ac_ext
35895 fi
35896 ac_res=`eval echo '${'$as_ac_var'}'`
35897 { echo "$as_me:$LINENO: result: $ac_res" >&5
35898 echo "${ECHO_T}$ac_res" >&6; }
35899 if test `eval echo '${'$as_ac_var'}'` = yes; then
35900 cat >>confdefs.h <<_ACEOF
35901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35902 _ACEOF
35903
35904 fi
35905 done
35906
35907
35908 ac_ext=cpp
35909 ac_cpp='$CXXCPP $CPPFLAGS'
35910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35913
35914 if test "$ac_cv_func_vsnprintf" = "yes"; then
35915 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35916 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35917 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920
35921 cat >conftest.$ac_ext <<_ACEOF
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927
35928 #include <stdio.h>
35929 #include <stdarg.h>
35930 #ifdef __MSL__
35931 #if __MSL__ >= 0x6000
35932 namespace std {}
35933 using namespace std;
35934 #endif
35935 #endif
35936
35937 int
35938 main ()
35939 {
35940
35941 char *buf;
35942 va_list ap;
35943 vsnprintf(buf, 10u, "%s", ap);
35944
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 rm -f conftest.$ac_objext
35950 if { (ac_try="$ac_compile"
35951 case "(($ac_try" in
35952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35953 *) ac_try_echo=$ac_try;;
35954 esac
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_compile") 2>conftest.er1
35957 ac_status=$?
35958 grep -v '^ *+' conftest.er1 >conftest.err
35959 rm -f conftest.er1
35960 cat conftest.err >&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_cxx_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest.$ac_objext; then
35966 wx_cv_func_vsnprintf_decl=yes
35967 else
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.$ac_ext >&5
35970
35971 wx_cv_func_vsnprintf_decl=no
35972
35973 fi
35974
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35976
35977
35978 fi
35979 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35980 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35981
35982 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35983 cat >>confdefs.h <<\_ACEOF
35984 #define HAVE_VSNPRINTF_DECL 1
35985 _ACEOF
35986
35987
35988 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35989 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35990 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35992 else
35993
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000
36001 #include <stdio.h>
36002 #include <stdarg.h>
36003 #ifdef __MSL__
36004 #if __MSL__ >= 0x6000
36005 namespace std {}
36006 using namespace std;
36007 #endif
36008 #endif
36009
36010 int
36011 main ()
36012 {
36013
36014 char *buf;
36015 va_list ap;
36016 const char *fmt = "%s";
36017 vsnprintf(buf, 10u, fmt, ap);
36018
36019 ;
36020 return 0;
36021 }
36022 _ACEOF
36023 rm -f conftest.$ac_objext
36024 if { (ac_try="$ac_compile"
36025 case "(($ac_try" in
36026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36028 esac
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_compile") 2>conftest.er1
36031 ac_status=$?
36032 grep -v '^ *+' conftest.er1 >conftest.err
36033 rm -f conftest.er1
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_cxx_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest.$ac_objext; then
36040 wx_cv_func_broken_vsnprintf_decl=no
36041 else
36042 echo "$as_me: failed program was:" >&5
36043 sed 's/^/| /' conftest.$ac_ext >&5
36044
36045 wx_cv_func_broken_vsnprintf_decl=yes
36046
36047 fi
36048
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050
36051
36052 fi
36053 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36054 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36055
36056 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36057 cat >>confdefs.h <<\_ACEOF
36058 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36059 _ACEOF
36060
36061 fi
36062 fi
36063 fi
36064
36065 if test "$ac_cv_func_snprintf" = "yes"; then
36066 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36067 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36068 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36069 echo $ECHO_N "(cached) $ECHO_C" >&6
36070 else
36071
36072 cat >conftest.$ac_ext <<_ACEOF
36073 /* confdefs.h. */
36074 _ACEOF
36075 cat confdefs.h >>conftest.$ac_ext
36076 cat >>conftest.$ac_ext <<_ACEOF
36077 /* end confdefs.h. */
36078
36079 #include <stdio.h>
36080 #include <stdarg.h>
36081 #ifdef __MSL__
36082 #if __MSL__ >= 0x6000
36083 namespace std {}
36084 using namespace std;
36085 #endif
36086 #endif
36087
36088 int
36089 main ()
36090 {
36091
36092 char *buf;
36093 snprintf(buf, 10u, "%s", "wx");
36094
36095 ;
36096 return 0;
36097 }
36098 _ACEOF
36099 rm -f conftest.$ac_objext
36100 if { (ac_try="$ac_compile"
36101 case "(($ac_try" in
36102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36103 *) ac_try_echo=$ac_try;;
36104 esac
36105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36106 (eval "$ac_compile") 2>conftest.er1
36107 ac_status=$?
36108 grep -v '^ *+' conftest.er1 >conftest.err
36109 rm -f conftest.er1
36110 cat conftest.err >&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } && {
36113 test -z "$ac_cxx_werror_flag" ||
36114 test ! -s conftest.err
36115 } && test -s conftest.$ac_objext; then
36116 wx_cv_func_snprintf_decl=yes
36117 else
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.$ac_ext >&5
36120
36121 wx_cv_func_snprintf_decl=no
36122
36123 fi
36124
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126
36127
36128 fi
36129 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36130 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36131
36132 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36133 cat >>confdefs.h <<\_ACEOF
36134 #define HAVE_SNPRINTF_DECL 1
36135 _ACEOF
36136
36137 fi
36138
36139 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36140
36141 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36142 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36143 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36146
36147 if test "$cross_compiling" = yes; then
36148
36149 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36150 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36151 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36152 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36153 wx_cv_func_snprintf_pos_params=no
36154
36155
36156 else
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163
36164 #include <stdio.h>
36165
36166 int main (void)
36167 {
36168 char buffer[128];
36169 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36170 if (strcmp ("2 3 1", buffer) == 0)
36171 exit (0);
36172 exit (1);
36173 }
36174
36175 _ACEOF
36176 rm -f conftest$ac_exeext
36177 if { (ac_try="$ac_link"
36178 case "(($ac_try" in
36179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36180 *) ac_try_echo=$ac_try;;
36181 esac
36182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36183 (eval "$ac_link") 2>&5
36184 ac_status=$?
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36187 { (case "(($ac_try" in
36188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36189 *) ac_try_echo=$ac_try;;
36190 esac
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_try") 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 wx_cv_func_snprintf_pos_params=no
36197 else
36198 echo "$as_me: program exited with status $ac_status" >&5
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36201
36202 ( exit $ac_status )
36203 wx_cv_func_snprintf_pos_params=yes
36204 fi
36205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36206 fi
36207
36208
36209
36210
36211 fi
36212 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36213 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36214
36215 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36216 cat >>confdefs.h <<\_ACEOF
36217 #define HAVE_UNIX98_PRINTF 1
36218 _ACEOF
36219
36220 fi
36221 fi
36222 fi
36223
36224 if test "$ac_cv_func_vsscanf" = "yes"; then
36225 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36226 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36227 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 else
36230
36231 cat >conftest.$ac_ext <<_ACEOF
36232 /* confdefs.h. */
36233 _ACEOF
36234 cat confdefs.h >>conftest.$ac_ext
36235 cat >>conftest.$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36237
36238 #include <stdio.h>
36239 #include <stdarg.h>
36240 #ifdef __MSL__
36241 #if __MSL__ >= 0x6000
36242 namespace std {}
36243 using namespace std;
36244 #endif
36245 #endif
36246
36247 int
36248 main ()
36249 {
36250
36251 char *buf;
36252 va_list args;
36253 vsscanf(buf, "%s", args);
36254
36255 ;
36256 return 0;
36257 }
36258 _ACEOF
36259 rm -f conftest.$ac_objext
36260 if { (ac_try="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36263 *) ac_try_echo=$ac_try;;
36264 esac
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36267 ac_status=$?
36268 grep -v '^ *+' conftest.er1 >conftest.err
36269 rm -f conftest.er1
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_cxx_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.$ac_objext; then
36276 wx_cv_func_vsscanf_decl=yes
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36280
36281 wx_cv_func_vsscanf_decl=no
36282
36283 fi
36284
36285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36286
36287
36288 fi
36289 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36290 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36291
36292 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define HAVE_VSSCANF_DECL 1
36295 _ACEOF
36296
36297 fi
36298 fi
36299 ac_ext=c
36300 ac_cpp='$CPP $CPPFLAGS'
36301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304
36305
36306 if test "$wxUSE_UNICODE" = yes; then
36307
36308 wchar_headers="#include <stdio.h>
36309 #include <wchar.h>"
36310 case "${host}" in
36311 *-*-solaris2* )
36312
36313 for ac_header in widec.h
36314 do
36315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 else
36321 cat >conftest.$ac_ext <<_ACEOF
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 $ac_includes_default
36328
36329 #include <$ac_header>
36330 _ACEOF
36331 rm -f conftest.$ac_objext
36332 if { (ac_try="$ac_compile"
36333 case "(($ac_try" in
36334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36335 *) ac_try_echo=$ac_try;;
36336 esac
36337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36338 (eval "$ac_compile") 2>conftest.er1
36339 ac_status=$?
36340 grep -v '^ *+' conftest.er1 >conftest.err
36341 rm -f conftest.er1
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } && {
36345 test -z "$ac_c_werror_flag" ||
36346 test ! -s conftest.err
36347 } && test -s conftest.$ac_objext; then
36348 eval "$as_ac_Header=yes"
36349 else
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.$ac_ext >&5
36352
36353 eval "$as_ac_Header=no"
36354 fi
36355
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 fi
36358 ac_res=`eval echo '${'$as_ac_Header'}'`
36359 { echo "$as_me:$LINENO: result: $ac_res" >&5
36360 echo "${ECHO_T}$ac_res" >&6; }
36361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36362 cat >>confdefs.h <<_ACEOF
36363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36364 _ACEOF
36365
36366 fi
36367
36368 done
36369
36370 if test "$ac_cv_header_widec_h" = "yes"; then
36371 wchar_headers="$wchar_headers
36372 #include <widec.h>"
36373 fi
36374 esac
36375
36376
36377 for wx_func in putws fputws wprintf vswprintf vswscanf
36378 do
36379 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36380 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36381 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36383 else
36384
36385 cat >conftest.$ac_ext <<_ACEOF
36386
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392
36393 $wchar_headers
36394 $ac_includes_default
36395
36396 int
36397 main ()
36398 {
36399
36400 #ifndef $wx_func
36401 &$wx_func;
36402 #endif
36403
36404
36405 ;
36406 return 0;
36407 }
36408
36409 _ACEOF
36410 rm -f conftest.$ac_objext conftest$ac_exeext
36411 if { (ac_try="$ac_link"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36415 esac
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_link") 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest$ac_exeext &&
36427 $as_test_x conftest$ac_exeext; then
36428 eval wx_cv_func_$wx_func=yes
36429 else
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36432
36433 eval wx_cv_func_$wx_func=no
36434 fi
36435
36436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36437 conftest$ac_exeext conftest.$ac_ext
36438
36439 fi
36440 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36441 { echo "$as_me:$LINENO: result: $ac_res" >&5
36442 echo "${ECHO_T}$ac_res" >&6; }
36443
36444 if eval test \$wx_cv_func_$wx_func = yes
36445 then
36446 cat >>confdefs.h <<_ACEOF
36447 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36448 _ACEOF
36449
36450
36451 else
36452 :
36453
36454 fi
36455 done
36456
36457
36458 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36459 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36460 cat >conftest.$ac_ext <<_ACEOF
36461 /* confdefs.h. */
36462 _ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 #include <wchar.h>
36467 int
36468 main ()
36469 {
36470 &_vsnwprintf;
36471 ;
36472 return 0;
36473 }
36474 _ACEOF
36475 rm -f conftest.$ac_objext
36476 if { (ac_try="$ac_compile"
36477 case "(($ac_try" in
36478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36479 *) ac_try_echo=$ac_try;;
36480 esac
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_compile") 2>conftest.er1
36483 ac_status=$?
36484 grep -v '^ *+' conftest.er1 >conftest.err
36485 rm -f conftest.er1
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_c_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest.$ac_objext; then
36492 { echo "$as_me:$LINENO: result: yes" >&5
36493 echo "${ECHO_T}yes" >&6; }
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE__VSNWPRINTF 1
36496 _ACEOF
36497
36498 else
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36501
36502 { echo "$as_me:$LINENO: result: no" >&5
36503 echo "${ECHO_T}no" >&6; }
36504 fi
36505
36506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36507 fi
36508
36509 if test "$wxUSE_FILE" = "yes"; then
36510
36511 for wx_func in fsync
36512 do
36513 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36515 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36516 echo $ECHO_N "(cached) $ECHO_C" >&6
36517 else
36518
36519 cat >conftest.$ac_ext <<_ACEOF
36520
36521 /* confdefs.h. */
36522 _ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36526
36527
36528 $ac_includes_default
36529
36530 int
36531 main ()
36532 {
36533
36534 #ifndef $wx_func
36535 &$wx_func;
36536 #endif
36537
36538
36539 ;
36540 return 0;
36541 }
36542
36543 _ACEOF
36544 rm -f conftest.$ac_objext conftest$ac_exeext
36545 if { (ac_try="$ac_link"
36546 case "(($ac_try" in
36547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36548 *) ac_try_echo=$ac_try;;
36549 esac
36550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36551 (eval "$ac_link") 2>conftest.er1
36552 ac_status=$?
36553 grep -v '^ *+' conftest.er1 >conftest.err
36554 rm -f conftest.er1
36555 cat conftest.err >&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); } && {
36558 test -z "$ac_c_werror_flag" ||
36559 test ! -s conftest.err
36560 } && test -s conftest$ac_exeext &&
36561 $as_test_x conftest$ac_exeext; then
36562 eval wx_cv_func_$wx_func=yes
36563 else
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36566
36567 eval wx_cv_func_$wx_func=no
36568 fi
36569
36570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36571 conftest$ac_exeext conftest.$ac_ext
36572
36573 fi
36574 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36575 { echo "$as_me:$LINENO: result: $ac_res" >&5
36576 echo "${ECHO_T}$ac_res" >&6; }
36577
36578 if eval test \$wx_cv_func_$wx_func = yes
36579 then
36580 cat >>confdefs.h <<_ACEOF
36581 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36582 _ACEOF
36583
36584
36585 else
36586 :
36587
36588 fi
36589 done
36590
36591 fi
36592
36593 ac_ext=cpp
36594 ac_cpp='$CXXCPP $CPPFLAGS'
36595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598
36599
36600 for wx_func in round
36601 do
36602 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36603 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36604 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607
36608 cat >conftest.$ac_ext <<_ACEOF
36609
36610 /* confdefs.h. */
36611 _ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615
36616 #include <math.h>
36617 $ac_includes_default
36618
36619 int
36620 main ()
36621 {
36622
36623 #ifndef $wx_func
36624 &$wx_func;
36625 #endif
36626
36627
36628 ;
36629 return 0;
36630 }
36631
36632 _ACEOF
36633 rm -f conftest.$ac_objext conftest$ac_exeext
36634 if { (ac_try="$ac_link"
36635 case "(($ac_try" in
36636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36637 *) ac_try_echo=$ac_try;;
36638 esac
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_link") 2>conftest.er1
36641 ac_status=$?
36642 grep -v '^ *+' conftest.er1 >conftest.err
36643 rm -f conftest.er1
36644 cat conftest.err >&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest$ac_exeext &&
36650 $as_test_x conftest$ac_exeext; then
36651 eval wx_cv_func_$wx_func=yes
36652 else
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36655
36656 eval wx_cv_func_$wx_func=no
36657 fi
36658
36659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36660 conftest$ac_exeext conftest.$ac_ext
36661
36662 fi
36663 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36664 { echo "$as_me:$LINENO: result: $ac_res" >&5
36665 echo "${ECHO_T}$ac_res" >&6; }
36666
36667 if eval test \$wx_cv_func_$wx_func = yes
36668 then
36669 cat >>confdefs.h <<_ACEOF
36670 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36671 _ACEOF
36672
36673
36674 else
36675 :
36676
36677 fi
36678 done
36679
36680 ac_ext=c
36681 ac_cpp='$CPP $CPPFLAGS'
36682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36685
36686
36687 if test "$TOOLKIT" != "MSW"; then
36688
36689 if test "$wxUSE_LIBICONV" != "no" ; then
36690
36691
36692
36693 # Check whether --with-libiconv-prefix was given.
36694 if test "${with_libiconv_prefix+set}" = set; then
36695 withval=$with_libiconv_prefix;
36696 for dir in `echo "$withval" | tr : ' '`; do
36697 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36698 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36699 done
36700
36701 fi
36702
36703
36704 { echo "$as_me:$LINENO: checking for iconv" >&5
36705 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36706 if test "${am_cv_func_iconv+set}" = set; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36708 else
36709
36710 am_cv_func_iconv="no, consider installing GNU libiconv"
36711 am_cv_lib_iconv=no
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 #include <stdlib.h>
36719 #include <iconv.h>
36720 int
36721 main ()
36722 {
36723 iconv_t cd = iconv_open("","");
36724 iconv(cd,NULL,NULL,NULL,NULL);
36725 iconv_close(cd);
36726 ;
36727 return 0;
36728 }
36729 _ACEOF
36730 rm -f conftest.$ac_objext conftest$ac_exeext
36731 if { (ac_try="$ac_link"
36732 case "(($ac_try" in
36733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36734 *) ac_try_echo=$ac_try;;
36735 esac
36736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36737 (eval "$ac_link") 2>conftest.er1
36738 ac_status=$?
36739 grep -v '^ *+' conftest.er1 >conftest.err
36740 rm -f conftest.er1
36741 cat conftest.err >&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } && {
36744 test -z "$ac_c_werror_flag" ||
36745 test ! -s conftest.err
36746 } && test -s conftest$ac_exeext &&
36747 $as_test_x conftest$ac_exeext; then
36748 am_cv_func_iconv=yes
36749 else
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36752
36753
36754 fi
36755
36756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36757 conftest$ac_exeext conftest.$ac_ext
36758 if test "$am_cv_func_iconv" != yes; then
36759 am_save_LIBS="$LIBS"
36760 LIBS="$LIBS -liconv"
36761 cat >conftest.$ac_ext <<_ACEOF
36762 /* confdefs.h. */
36763 _ACEOF
36764 cat confdefs.h >>conftest.$ac_ext
36765 cat >>conftest.$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767 #include <stdlib.h>
36768 #include <iconv.h>
36769 int
36770 main ()
36771 {
36772 iconv_t cd = iconv_open("","");
36773 iconv(cd,NULL,NULL,NULL,NULL);
36774 iconv_close(cd);
36775 ;
36776 return 0;
36777 }
36778 _ACEOF
36779 rm -f conftest.$ac_objext conftest$ac_exeext
36780 if { (ac_try="$ac_link"
36781 case "(($ac_try" in
36782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36783 *) ac_try_echo=$ac_try;;
36784 esac
36785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36786 (eval "$ac_link") 2>conftest.er1
36787 ac_status=$?
36788 grep -v '^ *+' conftest.er1 >conftest.err
36789 rm -f conftest.er1
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && {
36793 test -z "$ac_c_werror_flag" ||
36794 test ! -s conftest.err
36795 } && test -s conftest$ac_exeext &&
36796 $as_test_x conftest$ac_exeext; then
36797 am_cv_lib_iconv=yes
36798 am_cv_func_iconv=yes
36799 else
36800 echo "$as_me: failed program was:" >&5
36801 sed 's/^/| /' conftest.$ac_ext >&5
36802
36803
36804 fi
36805
36806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36807 conftest$ac_exeext conftest.$ac_ext
36808 LIBS="$am_save_LIBS"
36809 fi
36810
36811 fi
36812 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36813 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36814 if test "$am_cv_func_iconv" = yes; then
36815
36816 cat >>confdefs.h <<\_ACEOF
36817 #define HAVE_ICONV 1
36818 _ACEOF
36819
36820 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36821 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36822 if test "${wx_cv_func_iconv_const+set}" = set; then
36823 echo $ECHO_N "(cached) $ECHO_C" >&6
36824 else
36825 cat >conftest.$ac_ext <<_ACEOF
36826 /* confdefs.h. */
36827 _ACEOF
36828 cat confdefs.h >>conftest.$ac_ext
36829 cat >>conftest.$ac_ext <<_ACEOF
36830 /* end confdefs.h. */
36831
36832 #include <stdlib.h>
36833 #include <iconv.h>
36834 extern
36835 #ifdef __cplusplus
36836 "C"
36837 #endif
36838 #if defined(__STDC__) || defined(__cplusplus)
36839 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36840 #else
36841 size_t iconv();
36842 #endif
36843
36844 int
36845 main ()
36846 {
36847
36848 ;
36849 return 0;
36850 }
36851 _ACEOF
36852 rm -f conftest.$ac_objext
36853 if { (ac_try="$ac_compile"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36856 *) ac_try_echo=$ac_try;;
36857 esac
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_compile") 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_c_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest.$ac_objext; then
36869 wx_cv_func_iconv_const="no"
36870 else
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.$ac_ext >&5
36873
36874 wx_cv_func_iconv_const="yes"
36875
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879
36880 fi
36881 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36882 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36883
36884 iconv_const=
36885 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36886 iconv_const="const"
36887 fi
36888
36889
36890 cat >>confdefs.h <<_ACEOF
36891 #define ICONV_CONST $iconv_const
36892 _ACEOF
36893
36894 fi
36895 LIBICONV=
36896 if test "$am_cv_lib_iconv" = yes; then
36897 LIBICONV="-liconv"
36898 fi
36899
36900
36901 LIBS="$LIBICONV $LIBS"
36902 fi
36903
36904 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36905
36906 for ac_func in sigaction
36907 do
36908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36923
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36928
36929 #ifdef __STDC__
36930 # include <limits.h>
36931 #else
36932 # include <assert.h>
36933 #endif
36934
36935 #undef $ac_func
36936
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36940 #ifdef __cplusplus
36941 extern "C"
36942 #endif
36943 char $ac_func ();
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36948 choke me
36949 #endif
36950
36951 int
36952 main ()
36953 {
36954 return $ac_func ();
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (ac_try="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36964 esac
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 eval "$as_ac_var=no"
36983 fi
36984
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36987 fi
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 _ACEOF
36995
36996 fi
36997 done
36998
36999
37000 if test "$ac_cv_func_sigaction" = "no"; then
37001 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37002 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37003 wxUSE_ON_FATAL_EXCEPTION=no
37004 fi
37005
37006 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37007 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37008 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37009 if test "${wx_cv_type_sa_handler+set}" = set; then
37010 echo $ECHO_N "(cached) $ECHO_C" >&6
37011 else
37012
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018
37019 cat >conftest.$ac_ext <<_ACEOF
37020 /* confdefs.h. */
37021 _ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37025 #include <signal.h>
37026 int
37027 main ()
37028 {
37029
37030 extern void testSigHandler(int);
37031
37032 struct sigaction sa;
37033 sa.sa_handler = testSigHandler;
37034
37035 ;
37036 return 0;
37037 }
37038 _ACEOF
37039 rm -f conftest.$ac_objext
37040 if { (ac_try="$ac_compile"
37041 case "(($ac_try" in
37042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37043 *) ac_try_echo=$ac_try;;
37044 esac
37045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37046 (eval "$ac_compile") 2>conftest.er1
37047 ac_status=$?
37048 grep -v '^ *+' conftest.er1 >conftest.err
37049 rm -f conftest.er1
37050 cat conftest.err >&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } && {
37053 test -z "$ac_cxx_werror_flag" ||
37054 test ! -s conftest.err
37055 } && test -s conftest.$ac_objext; then
37056
37057 wx_cv_type_sa_handler=int
37058
37059 else
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37062
37063
37064 wx_cv_type_sa_handler=void
37065
37066 fi
37067
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069 ac_ext=c
37070 ac_cpp='$CPP $CPPFLAGS'
37071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37074
37075
37076 fi
37077 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37078 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37079
37080 cat >>confdefs.h <<_ACEOF
37081 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37082 _ACEOF
37083
37084 fi
37085 fi
37086
37087 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37088 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37089 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37090 if test "${wx_cv_func_backtrace+set}" = set; then
37091 echo $ECHO_N "(cached) $ECHO_C" >&6
37092 else
37093
37094 ac_ext=cpp
37095 ac_cpp='$CXXCPP $CPPFLAGS'
37096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37099
37100 cat >conftest.$ac_ext <<_ACEOF
37101 /* confdefs.h. */
37102 _ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #include <execinfo.h>
37107 int
37108 main ()
37109 {
37110
37111 void *trace[1];
37112 char **messages;
37113
37114 backtrace(trace, 1);
37115 messages = backtrace_symbols(trace, 1);
37116
37117 ;
37118 return 0;
37119 }
37120 _ACEOF
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37126 esac
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_func_backtrace=yes
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143 wx_cv_func_backtrace=no
37144
37145 fi
37146
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37148 ac_ext=c
37149 ac_cpp='$CPP $CPPFLAGS'
37150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37153
37154
37155
37156 fi
37157 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37158 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37159
37160
37161 if test "$wx_cv_func_backtrace" = "no"; then
37162 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37163 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37164 wxUSE_STACKWALKER=no
37165 else
37166 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37167 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37168 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 else
37171
37172 ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37177
37178 cat >conftest.$ac_ext <<_ACEOF
37179 /* confdefs.h. */
37180 _ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37184 #include <cxxabi.h>
37185 int
37186 main ()
37187 {
37188
37189 int rc;
37190 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37191
37192 ;
37193 return 0;
37194 }
37195 _ACEOF
37196 rm -f conftest.$ac_objext conftest$ac_exeext
37197 if { (ac_try="$ac_link"
37198 case "(($ac_try" in
37199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37200 *) ac_try_echo=$ac_try;;
37201 esac
37202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37203 (eval "$ac_link") 2>conftest.er1
37204 ac_status=$?
37205 grep -v '^ *+' conftest.er1 >conftest.err
37206 rm -f conftest.er1
37207 cat conftest.err >&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); } && {
37210 test -z "$ac_cxx_werror_flag" ||
37211 test ! -s conftest.err
37212 } && test -s conftest$ac_exeext &&
37213 $as_test_x conftest$ac_exeext; then
37214 wx_cv_func_cxa_demangle=yes
37215 else
37216 echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.$ac_ext >&5
37218
37219 wx_cv_func_cxa_demangle=no
37220
37221 fi
37222
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37225 ac_ext=c
37226 ac_cpp='$CPP $CPPFLAGS'
37227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37230
37231
37232
37233 fi
37234 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37235 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37236
37237 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37238 cat >>confdefs.h <<\_ACEOF
37239 #define HAVE_CXA_DEMANGLE 1
37240 _ACEOF
37241
37242 fi
37243 fi
37244 fi
37245
37246 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37247 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37248 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37249 wxUSE_STACKWALKER=no
37250 fi
37251
37252
37253
37254
37255 for ac_func in mkstemp mktemp
37256 do
37257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37262 else
37263 cat >conftest.$ac_ext <<_ACEOF
37264 /* confdefs.h. */
37265 _ACEOF
37266 cat confdefs.h >>conftest.$ac_ext
37267 cat >>conftest.$ac_ext <<_ACEOF
37268 /* end confdefs.h. */
37269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37271 #define $ac_func innocuous_$ac_func
37272
37273 /* System header to define __stub macros and hopefully few prototypes,
37274 which can conflict with char $ac_func (); below.
37275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37276 <limits.h> exists even on freestanding compilers. */
37277
37278 #ifdef __STDC__
37279 # include <limits.h>
37280 #else
37281 # include <assert.h>
37282 #endif
37283
37284 #undef $ac_func
37285
37286 /* Override any GCC internal prototype to avoid an error.
37287 Use char because int might match the return type of a GCC
37288 builtin and then its argument prototype would still apply. */
37289 #ifdef __cplusplus
37290 extern "C"
37291 #endif
37292 char $ac_func ();
37293 /* The GNU C library defines this for functions which it implements
37294 to always fail with ENOSYS. Some functions are actually named
37295 something starting with __ and the normal name is an alias. */
37296 #if defined __stub_$ac_func || defined __stub___$ac_func
37297 choke me
37298 #endif
37299
37300 int
37301 main ()
37302 {
37303 return $ac_func ();
37304 ;
37305 return 0;
37306 }
37307 _ACEOF
37308 rm -f conftest.$ac_objext conftest$ac_exeext
37309 if { (ac_try="$ac_link"
37310 case "(($ac_try" in
37311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37312 *) ac_try_echo=$ac_try;;
37313 esac
37314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37315 (eval "$ac_link") 2>conftest.er1
37316 ac_status=$?
37317 grep -v '^ *+' conftest.er1 >conftest.err
37318 rm -f conftest.er1
37319 cat conftest.err >&5
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); } && {
37322 test -z "$ac_c_werror_flag" ||
37323 test ! -s conftest.err
37324 } && test -s conftest$ac_exeext &&
37325 $as_test_x conftest$ac_exeext; then
37326 eval "$as_ac_var=yes"
37327 else
37328 echo "$as_me: failed program was:" >&5
37329 sed 's/^/| /' conftest.$ac_ext >&5
37330
37331 eval "$as_ac_var=no"
37332 fi
37333
37334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37335 conftest$ac_exeext conftest.$ac_ext
37336 fi
37337 ac_res=`eval echo '${'$as_ac_var'}'`
37338 { echo "$as_me:$LINENO: result: $ac_res" >&5
37339 echo "${ECHO_T}$ac_res" >&6; }
37340 if test `eval echo '${'$as_ac_var'}'` = yes; then
37341 cat >>confdefs.h <<_ACEOF
37342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37343 _ACEOF
37344 break
37345 fi
37346 done
37347
37348
37349 { echo "$as_me:$LINENO: checking for statfs" >&5
37350 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37351 if test "${wx_cv_func_statfs+set}" = set; then
37352 echo $ECHO_N "(cached) $ECHO_C" >&6
37353 else
37354 cat >conftest.$ac_ext <<_ACEOF
37355 /* confdefs.h. */
37356 _ACEOF
37357 cat confdefs.h >>conftest.$ac_ext
37358 cat >>conftest.$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360
37361 #if defined(__BSD__)
37362 #include <sys/param.h>
37363 #include <sys/mount.h>
37364 #else
37365 #include <sys/vfs.h>
37366 #endif
37367
37368 int
37369 main ()
37370 {
37371
37372 long l;
37373 struct statfs fs;
37374 statfs("/", &fs);
37375 l = fs.f_bsize;
37376 l += fs.f_blocks;
37377 l += fs.f_bavail;
37378
37379 ;
37380 return 0;
37381 }
37382 _ACEOF
37383 rm -f conftest.$ac_objext
37384 if { (ac_try="$ac_compile"
37385 case "(($ac_try" in
37386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37387 *) ac_try_echo=$ac_try;;
37388 esac
37389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37390 (eval "$ac_compile") 2>conftest.er1
37391 ac_status=$?
37392 grep -v '^ *+' conftest.er1 >conftest.err
37393 rm -f conftest.er1
37394 cat conftest.err >&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } && {
37397 test -z "$ac_c_werror_flag" ||
37398 test ! -s conftest.err
37399 } && test -s conftest.$ac_objext; then
37400 wx_cv_func_statfs=yes
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 wx_cv_func_statfs=no
37406
37407 fi
37408
37409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410
37411 fi
37412 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37413 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37414
37415 if test "$wx_cv_func_statfs" = "yes"; then
37416 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37417 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37418 if test "${wx_cv_func_statfs_decl+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37426
37427 cat >conftest.$ac_ext <<_ACEOF
37428 /* confdefs.h. */
37429 _ACEOF
37430 cat confdefs.h >>conftest.$ac_ext
37431 cat >>conftest.$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433
37434 #if defined(__BSD__)
37435 #include <sys/param.h>
37436 #include <sys/mount.h>
37437 #else
37438 #include <sys/vfs.h>
37439 #endif
37440
37441 int
37442 main ()
37443 {
37444
37445 struct statfs fs;
37446 statfs("", &fs);
37447
37448 ;
37449 return 0;
37450 }
37451 _ACEOF
37452 rm -f conftest.$ac_objext
37453 if { (ac_try="$ac_compile"
37454 case "(($ac_try" in
37455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37456 *) ac_try_echo=$ac_try;;
37457 esac
37458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37459 (eval "$ac_compile") 2>conftest.er1
37460 ac_status=$?
37461 grep -v '^ *+' conftest.er1 >conftest.err
37462 rm -f conftest.er1
37463 cat conftest.err >&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); } && {
37466 test -z "$ac_cxx_werror_flag" ||
37467 test ! -s conftest.err
37468 } && test -s conftest.$ac_objext; then
37469 wx_cv_func_statfs_decl=yes
37470 else
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37473
37474 wx_cv_func_statfs_decl=no
37475
37476 fi
37477
37478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37479 ac_ext=c
37480 ac_cpp='$CPP $CPPFLAGS'
37481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37484
37485
37486 fi
37487 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37488 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37489
37490 if test "$wx_cv_func_statfs_decl" = "yes"; then
37491 cat >>confdefs.h <<\_ACEOF
37492 #define HAVE_STATFS_DECL 1
37493 _ACEOF
37494
37495 fi
37496
37497 wx_cv_type_statvfs_t="struct statfs"
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_STATFS 1
37500 _ACEOF
37501
37502 else
37503 { echo "$as_me:$LINENO: checking for statvfs" >&5
37504 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37505 if test "${wx_cv_func_statvfs+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37507 else
37508 cat >conftest.$ac_ext <<_ACEOF
37509 /* confdefs.h. */
37510 _ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37514
37515 #include <stddef.h>
37516 #include <sys/statvfs.h>
37517
37518 int
37519 main ()
37520 {
37521
37522 statvfs("/", NULL);
37523
37524 ;
37525 return 0;
37526 }
37527 _ACEOF
37528 rm -f conftest.$ac_objext
37529 if { (ac_try="$ac_compile"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37532 *) ac_try_echo=$ac_try;;
37533 esac
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_compile") 2>conftest.er1
37536 ac_status=$?
37537 grep -v '^ *+' conftest.er1 >conftest.err
37538 rm -f conftest.er1
37539 cat conftest.err >&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } && {
37542 test -z "$ac_c_werror_flag" ||
37543 test ! -s conftest.err
37544 } && test -s conftest.$ac_objext; then
37545 wx_cv_func_statvfs=yes
37546 else
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.$ac_ext >&5
37549
37550 wx_cv_func_statvfs=no
37551
37552 fi
37553
37554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37555
37556 fi
37557 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37558 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37559
37560 if test "$wx_cv_func_statvfs" = "yes"; then
37561 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37562 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37563 if test "${wx_cv_type_statvfs_t+set}" = set; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 else
37566 ac_ext=cpp
37567 ac_cpp='$CXXCPP $CPPFLAGS'
37568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37571
37572 cat >conftest.$ac_ext <<_ACEOF
37573 /* confdefs.h. */
37574 _ACEOF
37575 cat confdefs.h >>conftest.$ac_ext
37576 cat >>conftest.$ac_ext <<_ACEOF
37577 /* end confdefs.h. */
37578
37579 #include <sys/statvfs.h>
37580
37581 int
37582 main ()
37583 {
37584
37585 long l;
37586 statvfs_t fs;
37587 statvfs("/", &fs);
37588 l = fs.f_bsize;
37589 l += fs.f_blocks;
37590 l += fs.f_bavail;
37591
37592 ;
37593 return 0;
37594 }
37595 _ACEOF
37596 rm -f conftest.$ac_objext
37597 if { (ac_try="$ac_compile"
37598 case "(($ac_try" in
37599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37600 *) ac_try_echo=$ac_try;;
37601 esac
37602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37603 (eval "$ac_compile") 2>conftest.er1
37604 ac_status=$?
37605 grep -v '^ *+' conftest.er1 >conftest.err
37606 rm -f conftest.er1
37607 cat conftest.err >&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); } && {
37610 test -z "$ac_cxx_werror_flag" ||
37611 test ! -s conftest.err
37612 } && test -s conftest.$ac_objext; then
37613 wx_cv_type_statvfs_t=statvfs_t
37614 else
37615 echo "$as_me: failed program was:" >&5
37616 sed 's/^/| /' conftest.$ac_ext >&5
37617
37618
37619 cat >conftest.$ac_ext <<_ACEOF
37620 /* confdefs.h. */
37621 _ACEOF
37622 cat confdefs.h >>conftest.$ac_ext
37623 cat >>conftest.$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37625
37626 #include <sys/statvfs.h>
37627
37628 int
37629 main ()
37630 {
37631
37632 long l;
37633 struct statvfs fs;
37634 statvfs("/", &fs);
37635 l = fs.f_bsize;
37636 l += fs.f_blocks;
37637 l += fs.f_bavail;
37638
37639 ;
37640 return 0;
37641 }
37642 _ACEOF
37643 rm -f conftest.$ac_objext
37644 if { (ac_try="$ac_compile"
37645 case "(($ac_try" in
37646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37647 *) ac_try_echo=$ac_try;;
37648 esac
37649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37650 (eval "$ac_compile") 2>conftest.er1
37651 ac_status=$?
37652 grep -v '^ *+' conftest.er1 >conftest.err
37653 rm -f conftest.er1
37654 cat conftest.err >&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); } && {
37657 test -z "$ac_cxx_werror_flag" ||
37658 test ! -s conftest.err
37659 } && test -s conftest.$ac_objext; then
37660 wx_cv_type_statvfs_t="struct statvfs"
37661 else
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.$ac_ext >&5
37664
37665 wx_cv_type_statvfs_t="unknown"
37666
37667 fi
37668
37669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670
37671
37672 fi
37673
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680
37681
37682 fi
37683 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37684 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37685
37686 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37687 cat >>confdefs.h <<\_ACEOF
37688 #define HAVE_STATVFS 1
37689 _ACEOF
37690
37691 fi
37692 else
37693 wx_cv_type_statvfs_t="unknown"
37694 fi
37695 fi
37696
37697 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37698 cat >>confdefs.h <<_ACEOF
37699 #define WX_STATFS_T $wx_cv_type_statvfs_t
37700 _ACEOF
37701
37702 else
37703 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37704 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37705 fi
37706
37707 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37708
37709
37710 for ac_func in fcntl flock
37711 do
37712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37717 else
37718 cat >conftest.$ac_ext <<_ACEOF
37719 /* confdefs.h. */
37720 _ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37726 #define $ac_func innocuous_$ac_func
37727
37728 /* System header to define __stub macros and hopefully few prototypes,
37729 which can conflict with char $ac_func (); below.
37730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37731 <limits.h> exists even on freestanding compilers. */
37732
37733 #ifdef __STDC__
37734 # include <limits.h>
37735 #else
37736 # include <assert.h>
37737 #endif
37738
37739 #undef $ac_func
37740
37741 /* Override any GCC internal prototype to avoid an error.
37742 Use char because int might match the return type of a GCC
37743 builtin and then its argument prototype would still apply. */
37744 #ifdef __cplusplus
37745 extern "C"
37746 #endif
37747 char $ac_func ();
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined __stub_$ac_func || defined __stub___$ac_func
37752 choke me
37753 #endif
37754
37755 int
37756 main ()
37757 {
37758 return $ac_func ();
37759 ;
37760 return 0;
37761 }
37762 _ACEOF
37763 rm -f conftest.$ac_objext conftest$ac_exeext
37764 if { (ac_try="$ac_link"
37765 case "(($ac_try" in
37766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37767 *) ac_try_echo=$ac_try;;
37768 esac
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_link") 2>conftest.er1
37771 ac_status=$?
37772 grep -v '^ *+' conftest.er1 >conftest.err
37773 rm -f conftest.er1
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_c_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest$ac_exeext &&
37780 $as_test_x conftest$ac_exeext; then
37781 eval "$as_ac_var=yes"
37782 else
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.$ac_ext >&5
37785
37786 eval "$as_ac_var=no"
37787 fi
37788
37789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37790 conftest$ac_exeext conftest.$ac_ext
37791 fi
37792 ac_res=`eval echo '${'$as_ac_var'}'`
37793 { echo "$as_me:$LINENO: result: $ac_res" >&5
37794 echo "${ECHO_T}$ac_res" >&6; }
37795 if test `eval echo '${'$as_ac_var'}'` = yes; then
37796 cat >>confdefs.h <<_ACEOF
37797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37798 _ACEOF
37799 break
37800 fi
37801 done
37802
37803
37804 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37805 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37806 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37807 wxUSE_SNGLINST_CHECKER=no
37808 fi
37809 fi
37810
37811
37812
37813 for ac_func in setenv putenv
37814 do
37815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 else
37821 cat >conftest.$ac_ext <<_ACEOF
37822 /* confdefs.h. */
37823 _ACEOF
37824 cat confdefs.h >>conftest.$ac_ext
37825 cat >>conftest.$ac_ext <<_ACEOF
37826 /* end confdefs.h. */
37827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37829 #define $ac_func innocuous_$ac_func
37830
37831 /* System header to define __stub macros and hopefully few prototypes,
37832 which can conflict with char $ac_func (); below.
37833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37834 <limits.h> exists even on freestanding compilers. */
37835
37836 #ifdef __STDC__
37837 # include <limits.h>
37838 #else
37839 # include <assert.h>
37840 #endif
37841
37842 #undef $ac_func
37843
37844 /* Override any GCC internal prototype to avoid an error.
37845 Use char because int might match the return type of a GCC
37846 builtin and then its argument prototype would still apply. */
37847 #ifdef __cplusplus
37848 extern "C"
37849 #endif
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined __stub_$ac_func || defined __stub___$ac_func
37855 choke me
37856 #endif
37857
37858 int
37859 main ()
37860 {
37861 return $ac_func ();
37862 ;
37863 return 0;
37864 }
37865 _ACEOF
37866 rm -f conftest.$ac_objext conftest$ac_exeext
37867 if { (ac_try="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37870 *) ac_try_echo=$ac_try;;
37871 esac
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37874 ac_status=$?
37875 grep -v '^ *+' conftest.er1 >conftest.err
37876 rm -f conftest.er1
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest$ac_exeext &&
37883 $as_test_x conftest$ac_exeext; then
37884 eval "$as_ac_var=yes"
37885 else
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.$ac_ext >&5
37888
37889 eval "$as_ac_var=no"
37890 fi
37891
37892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37893 conftest$ac_exeext conftest.$ac_ext
37894 fi
37895 ac_res=`eval echo '${'$as_ac_var'}'`
37896 { echo "$as_me:$LINENO: result: $ac_res" >&5
37897 echo "${ECHO_T}$ac_res" >&6; }
37898 if test `eval echo '${'$as_ac_var'}'` = yes; then
37899 cat >>confdefs.h <<_ACEOF
37900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37901 _ACEOF
37902 break
37903 fi
37904 done
37905
37906 if test "$ac_cv_func_setenv" = "yes"; then
37907
37908 for ac_func in unsetenv
37909 do
37910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 else
37916 cat >conftest.$ac_ext <<_ACEOF
37917 /* confdefs.h. */
37918 _ACEOF
37919 cat confdefs.h >>conftest.$ac_ext
37920 cat >>conftest.$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37924 #define $ac_func innocuous_$ac_func
37925
37926 /* System header to define __stub macros and hopefully few prototypes,
37927 which can conflict with char $ac_func (); below.
37928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37929 <limits.h> exists even on freestanding compilers. */
37930
37931 #ifdef __STDC__
37932 # include <limits.h>
37933 #else
37934 # include <assert.h>
37935 #endif
37936
37937 #undef $ac_func
37938
37939 /* Override any GCC internal prototype to avoid an error.
37940 Use char because int might match the return type of a GCC
37941 builtin and then its argument prototype would still apply. */
37942 #ifdef __cplusplus
37943 extern "C"
37944 #endif
37945 char $ac_func ();
37946 /* The GNU C library defines this for functions which it implements
37947 to always fail with ENOSYS. Some functions are actually named
37948 something starting with __ and the normal name is an alias. */
37949 #if defined __stub_$ac_func || defined __stub___$ac_func
37950 choke me
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 return $ac_func ();
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (ac_try="$ac_link"
37963 case "(($ac_try" in
37964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37965 *) ac_try_echo=$ac_try;;
37966 esac
37967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37968 (eval "$ac_link") 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } && {
37975 test -z "$ac_c_werror_flag" ||
37976 test ! -s conftest.err
37977 } && test -s conftest$ac_exeext &&
37978 $as_test_x conftest$ac_exeext; then
37979 eval "$as_ac_var=yes"
37980 else
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37983
37984 eval "$as_ac_var=no"
37985 fi
37986
37987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37988 conftest$ac_exeext conftest.$ac_ext
37989 fi
37990 ac_res=`eval echo '${'$as_ac_var'}'`
37991 { echo "$as_me:$LINENO: result: $ac_res" >&5
37992 echo "${ECHO_T}$ac_res" >&6; }
37993 if test `eval echo '${'$as_ac_var'}'` = yes; then
37994 cat >>confdefs.h <<_ACEOF
37995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37996 _ACEOF
37997
37998 fi
37999 done
38000
38001 fi
38002
38003 HAVE_SOME_SLEEP_FUNC=0
38004 if test "$USE_BEOS" = 1; then
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE_SLEEP 1
38007 _ACEOF
38008
38009 HAVE_SOME_SLEEP_FUNC=1
38010 fi
38011
38012 if test "$USE_DARWIN" = 1; then
38013 cat >>confdefs.h <<\_ACEOF
38014 #define HAVE_USLEEP 1
38015 _ACEOF
38016
38017 HAVE_SOME_SLEEP_FUNC=1
38018 fi
38019
38020 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38021 POSIX4_LINK=
38022
38023 for ac_func in nanosleep
38024 do
38025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031 cat >conftest.$ac_ext <<_ACEOF
38032 /* confdefs.h. */
38033 _ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38039 #define $ac_func innocuous_$ac_func
38040
38041 /* System header to define __stub macros and hopefully few prototypes,
38042 which can conflict with char $ac_func (); below.
38043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38044 <limits.h> exists even on freestanding compilers. */
38045
38046 #ifdef __STDC__
38047 # include <limits.h>
38048 #else
38049 # include <assert.h>
38050 #endif
38051
38052 #undef $ac_func
38053
38054 /* Override any GCC internal prototype to avoid an error.
38055 Use char because int might match the return type of a GCC
38056 builtin and then its argument prototype would still apply. */
38057 #ifdef __cplusplus
38058 extern "C"
38059 #endif
38060 char $ac_func ();
38061 /* The GNU C library defines this for functions which it implements
38062 to always fail with ENOSYS. Some functions are actually named
38063 something starting with __ and the normal name is an alias. */
38064 #if defined __stub_$ac_func || defined __stub___$ac_func
38065 choke me
38066 #endif
38067
38068 int
38069 main ()
38070 {
38071 return $ac_func ();
38072 ;
38073 return 0;
38074 }
38075 _ACEOF
38076 rm -f conftest.$ac_objext conftest$ac_exeext
38077 if { (ac_try="$ac_link"
38078 case "(($ac_try" in
38079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38080 *) ac_try_echo=$ac_try;;
38081 esac
38082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38083 (eval "$ac_link") 2>conftest.er1
38084 ac_status=$?
38085 grep -v '^ *+' conftest.er1 >conftest.err
38086 rm -f conftest.er1
38087 cat conftest.err >&5
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); } && {
38090 test -z "$ac_c_werror_flag" ||
38091 test ! -s conftest.err
38092 } && test -s conftest$ac_exeext &&
38093 $as_test_x conftest$ac_exeext; then
38094 eval "$as_ac_var=yes"
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38098
38099 eval "$as_ac_var=no"
38100 fi
38101
38102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38103 conftest$ac_exeext conftest.$ac_ext
38104 fi
38105 ac_res=`eval echo '${'$as_ac_var'}'`
38106 { echo "$as_me:$LINENO: result: $ac_res" >&5
38107 echo "${ECHO_T}$ac_res" >&6; }
38108 if test `eval echo '${'$as_ac_var'}'` = yes; then
38109 cat >>confdefs.h <<_ACEOF
38110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38111 _ACEOF
38112 cat >>confdefs.h <<\_ACEOF
38113 #define HAVE_NANOSLEEP 1
38114 _ACEOF
38115
38116 else
38117
38118 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38119 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38120 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 else
38123 ac_check_lib_save_LIBS=$LIBS
38124 LIBS="-lposix4 $LIBS"
38125 cat >conftest.$ac_ext <<_ACEOF
38126 /* confdefs.h. */
38127 _ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38131
38132 /* Override any GCC internal prototype to avoid an error.
38133 Use char because int might match the return type of a GCC
38134 builtin and then its argument prototype would still apply. */
38135 #ifdef __cplusplus
38136 extern "C"
38137 #endif
38138 char nanosleep ();
38139 int
38140 main ()
38141 {
38142 return nanosleep ();
38143 ;
38144 return 0;
38145 }
38146 _ACEOF
38147 rm -f conftest.$ac_objext conftest$ac_exeext
38148 if { (ac_try="$ac_link"
38149 case "(($ac_try" in
38150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38151 *) ac_try_echo=$ac_try;;
38152 esac
38153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38154 (eval "$ac_link") 2>conftest.er1
38155 ac_status=$?
38156 grep -v '^ *+' conftest.er1 >conftest.err
38157 rm -f conftest.er1
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } && {
38161 test -z "$ac_c_werror_flag" ||
38162 test ! -s conftest.err
38163 } && test -s conftest$ac_exeext &&
38164 $as_test_x conftest$ac_exeext; then
38165 ac_cv_lib_posix4_nanosleep=yes
38166 else
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38169
38170 ac_cv_lib_posix4_nanosleep=no
38171 fi
38172
38173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38174 conftest$ac_exeext conftest.$ac_ext
38175 LIBS=$ac_check_lib_save_LIBS
38176 fi
38177 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38178 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38179 if test $ac_cv_lib_posix4_nanosleep = yes; then
38180
38181 cat >>confdefs.h <<\_ACEOF
38182 #define HAVE_NANOSLEEP 1
38183 _ACEOF
38184
38185 POSIX4_LINK=" -lposix4"
38186
38187 else
38188
38189
38190 for wx_func in usleep
38191 do
38192 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38193 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38194 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 else
38197
38198 cat >conftest.$ac_ext <<_ACEOF
38199
38200 /* confdefs.h. */
38201 _ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38205
38206
38207 $ac_includes_default
38208
38209 int
38210 main ()
38211 {
38212
38213 #ifndef $wx_func
38214 &$wx_func;
38215 #endif
38216
38217
38218 ;
38219 return 0;
38220 }
38221
38222 _ACEOF
38223 rm -f conftest.$ac_objext conftest$ac_exeext
38224 if { (ac_try="$ac_link"
38225 case "(($ac_try" in
38226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38227 *) ac_try_echo=$ac_try;;
38228 esac
38229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38230 (eval "$ac_link") 2>conftest.er1
38231 ac_status=$?
38232 grep -v '^ *+' conftest.er1 >conftest.err
38233 rm -f conftest.er1
38234 cat conftest.err >&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && {
38237 test -z "$ac_c_werror_flag" ||
38238 test ! -s conftest.err
38239 } && test -s conftest$ac_exeext &&
38240 $as_test_x conftest$ac_exeext; then
38241 eval wx_cv_func_$wx_func=yes
38242 else
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38245
38246 eval wx_cv_func_$wx_func=no
38247 fi
38248
38249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38250 conftest$ac_exeext conftest.$ac_ext
38251
38252 fi
38253 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38254 { echo "$as_me:$LINENO: result: $ac_res" >&5
38255 echo "${ECHO_T}$ac_res" >&6; }
38256
38257 if eval test \$wx_cv_func_$wx_func = yes
38258 then
38259 cat >>confdefs.h <<_ACEOF
38260 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38261 _ACEOF
38262
38263
38264 else
38265 :
38266 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38267 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38268
38269 fi
38270 done
38271
38272
38273
38274 fi
38275
38276
38277
38278 fi
38279 done
38280
38281 fi
38282
38283
38284 for wx_func in uname
38285 do
38286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38289 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 else
38291
38292 cat >conftest.$ac_ext <<_ACEOF
38293
38294 /* confdefs.h. */
38295 _ACEOF
38296 cat confdefs.h >>conftest.$ac_ext
38297 cat >>conftest.$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38299
38300 #include <sys/utsname.h>
38301 $ac_includes_default
38302
38303 int
38304 main ()
38305 {
38306
38307 #ifndef $wx_func
38308 &$wx_func;
38309 #endif
38310
38311
38312 ;
38313 return 0;
38314 }
38315
38316 _ACEOF
38317 rm -f conftest.$ac_objext conftest$ac_exeext
38318 if { (ac_try="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38322 esac
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } && {
38331 test -z "$ac_c_werror_flag" ||
38332 test ! -s conftest.err
38333 } && test -s conftest$ac_exeext &&
38334 $as_test_x conftest$ac_exeext; then
38335 eval wx_cv_func_$wx_func=yes
38336 else
38337 echo "$as_me: failed program was:" >&5
38338 sed 's/^/| /' conftest.$ac_ext >&5
38339
38340 eval wx_cv_func_$wx_func=no
38341 fi
38342
38343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38344 conftest$ac_exeext conftest.$ac_ext
38345
38346 fi
38347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38348 { echo "$as_me:$LINENO: result: $ac_res" >&5
38349 echo "${ECHO_T}$ac_res" >&6; }
38350
38351 if eval test \$wx_cv_func_$wx_func = yes
38352 then
38353 cat >>confdefs.h <<_ACEOF
38354 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38355 _ACEOF
38356
38357
38358 else
38359 :
38360
38361 fi
38362 done
38363
38364 if test "$wx_cv_func_uname" != yes; then
38365
38366 for wx_func in gethostname
38367 do
38368 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38369 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38370 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38371 echo $ECHO_N "(cached) $ECHO_C" >&6
38372 else
38373
38374 cat >conftest.$ac_ext <<_ACEOF
38375
38376 /* confdefs.h. */
38377 _ACEOF
38378 cat confdefs.h >>conftest.$ac_ext
38379 cat >>conftest.$ac_ext <<_ACEOF
38380 /* end confdefs.h. */
38381
38382
38383 $ac_includes_default
38384
38385 int
38386 main ()
38387 {
38388
38389 #ifndef $wx_func
38390 &$wx_func;
38391 #endif
38392
38393
38394 ;
38395 return 0;
38396 }
38397
38398 _ACEOF
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38404 esac
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 eval wx_cv_func_$wx_func=yes
38418 else
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38421
38422 eval wx_cv_func_$wx_func=no
38423 fi
38424
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427
38428 fi
38429 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38430 { echo "$as_me:$LINENO: result: $ac_res" >&5
38431 echo "${ECHO_T}$ac_res" >&6; }
38432
38433 if eval test \$wx_cv_func_$wx_func = yes
38434 then
38435 cat >>confdefs.h <<_ACEOF
38436 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38437 _ACEOF
38438
38439
38440 else
38441 :
38442
38443 fi
38444 done
38445
38446 fi
38447
38448
38449 for wx_func in strtok_r
38450 do
38451 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38452 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38453 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 else
38456
38457 cat >conftest.$ac_ext <<_ACEOF
38458
38459 /* confdefs.h. */
38460 _ACEOF
38461 cat confdefs.h >>conftest.$ac_ext
38462 cat >>conftest.$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38464
38465 #define _REENTRANT
38466 $ac_includes_default
38467
38468 int
38469 main ()
38470 {
38471
38472 #ifndef $wx_func
38473 &$wx_func;
38474 #endif
38475
38476
38477 ;
38478 return 0;
38479 }
38480
38481 _ACEOF
38482 rm -f conftest.$ac_objext conftest$ac_exeext
38483 if { (ac_try="$ac_link"
38484 case "(($ac_try" in
38485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38486 *) ac_try_echo=$ac_try;;
38487 esac
38488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38489 (eval "$ac_link") 2>conftest.er1
38490 ac_status=$?
38491 grep -v '^ *+' conftest.er1 >conftest.err
38492 rm -f conftest.er1
38493 cat conftest.err >&5
38494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495 (exit $ac_status); } && {
38496 test -z "$ac_c_werror_flag" ||
38497 test ! -s conftest.err
38498 } && test -s conftest$ac_exeext &&
38499 $as_test_x conftest$ac_exeext; then
38500 eval wx_cv_func_$wx_func=yes
38501 else
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38504
38505 eval wx_cv_func_$wx_func=no
38506 fi
38507
38508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38509 conftest$ac_exeext conftest.$ac_ext
38510
38511 fi
38512 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38513 { echo "$as_me:$LINENO: result: $ac_res" >&5
38514 echo "${ECHO_T}$ac_res" >&6; }
38515
38516 if eval test \$wx_cv_func_$wx_func = yes
38517 then
38518 cat >>confdefs.h <<_ACEOF
38519 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38520 _ACEOF
38521
38522
38523 else
38524 :
38525
38526 fi
38527 done
38528
38529
38530 INET_LINK=
38531
38532 for ac_func in inet_addr
38533 do
38534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38539 else
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define $ac_func innocuous_$ac_func
38549
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char $ac_func (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38554
38555 #ifdef __STDC__
38556 # include <limits.h>
38557 #else
38558 # include <assert.h>
38559 #endif
38560
38561 #undef $ac_func
38562
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38566 #ifdef __cplusplus
38567 extern "C"
38568 #endif
38569 char $ac_func ();
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_$ac_func || defined __stub___$ac_func
38574 choke me
38575 #endif
38576
38577 int
38578 main ()
38579 {
38580 return $ac_func ();
38581 ;
38582 return 0;
38583 }
38584 _ACEOF
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38589 *) ac_try_echo=$ac_try;;
38590 esac
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38593 ac_status=$?
38594 grep -v '^ *+' conftest.er1 >conftest.err
38595 rm -f conftest.er1
38596 cat conftest.err >&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest$ac_exeext &&
38602 $as_test_x conftest$ac_exeext; then
38603 eval "$as_ac_var=yes"
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38607
38608 eval "$as_ac_var=no"
38609 fi
38610
38611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38612 conftest$ac_exeext conftest.$ac_ext
38613 fi
38614 ac_res=`eval echo '${'$as_ac_var'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38617 if test `eval echo '${'$as_ac_var'}'` = yes; then
38618 cat >>confdefs.h <<_ACEOF
38619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38620 _ACEOF
38621 cat >>confdefs.h <<\_ACEOF
38622 #define HAVE_INET_ADDR 1
38623 _ACEOF
38624
38625 else
38626
38627 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38628 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38629 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632 ac_check_lib_save_LIBS=$LIBS
38633 LIBS="-lnsl $LIBS"
38634 cat >conftest.$ac_ext <<_ACEOF
38635 /* confdefs.h. */
38636 _ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640
38641 /* Override any GCC internal prototype to avoid an error.
38642 Use char because int might match the return type of a GCC
38643 builtin and then its argument prototype would still apply. */
38644 #ifdef __cplusplus
38645 extern "C"
38646 #endif
38647 char inet_addr ();
38648 int
38649 main ()
38650 {
38651 return inet_addr ();
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 rm -f conftest.$ac_objext conftest$ac_exeext
38657 if { (ac_try="$ac_link"
38658 case "(($ac_try" in
38659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38660 *) ac_try_echo=$ac_try;;
38661 esac
38662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38663 (eval "$ac_link") 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } && {
38670 test -z "$ac_c_werror_flag" ||
38671 test ! -s conftest.err
38672 } && test -s conftest$ac_exeext &&
38673 $as_test_x conftest$ac_exeext; then
38674 ac_cv_lib_nsl_inet_addr=yes
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38678
38679 ac_cv_lib_nsl_inet_addr=no
38680 fi
38681
38682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38683 conftest$ac_exeext conftest.$ac_ext
38684 LIBS=$ac_check_lib_save_LIBS
38685 fi
38686 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38687 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38688 if test $ac_cv_lib_nsl_inet_addr = yes; then
38689 INET_LINK="nsl"
38690 else
38691
38692 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38693 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38694 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697 ac_check_lib_save_LIBS=$LIBS
38698 LIBS="-lresolv $LIBS"
38699 cat >conftest.$ac_ext <<_ACEOF
38700 /* confdefs.h. */
38701 _ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705
38706 /* Override any GCC internal prototype to avoid an error.
38707 Use char because int might match the return type of a GCC
38708 builtin and then its argument prototype would still apply. */
38709 #ifdef __cplusplus
38710 extern "C"
38711 #endif
38712 char inet_addr ();
38713 int
38714 main ()
38715 {
38716 return inet_addr ();
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (ac_try="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38726 esac
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest$ac_exeext &&
38738 $as_test_x conftest$ac_exeext; then
38739 ac_cv_lib_resolv_inet_addr=yes
38740 else
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38743
38744 ac_cv_lib_resolv_inet_addr=no
38745 fi
38746
38747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38748 conftest$ac_exeext conftest.$ac_ext
38749 LIBS=$ac_check_lib_save_LIBS
38750 fi
38751 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38752 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38753 if test $ac_cv_lib_resolv_inet_addr = yes; then
38754 INET_LINK="resolv"
38755 else
38756
38757 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38758 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38759 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762 ac_check_lib_save_LIBS=$LIBS
38763 LIBS="-lsocket $LIBS"
38764 cat >conftest.$ac_ext <<_ACEOF
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770
38771 /* Override any GCC internal prototype to avoid an error.
38772 Use char because int might match the return type of a GCC
38773 builtin and then its argument prototype would still apply. */
38774 #ifdef __cplusplus
38775 extern "C"
38776 #endif
38777 char inet_addr ();
38778 int
38779 main ()
38780 {
38781 return inet_addr ();
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 rm -f conftest.$ac_objext conftest$ac_exeext
38787 if { (ac_try="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38791 esac
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_lib_socket_inet_addr=yes
38805 else
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38808
38809 ac_cv_lib_socket_inet_addr=no
38810 fi
38811
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38814 LIBS=$ac_check_lib_save_LIBS
38815 fi
38816 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38817 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38818 if test $ac_cv_lib_socket_inet_addr = yes; then
38819 INET_LINK="socket"
38820
38821 fi
38822
38823
38824
38825 fi
38826
38827
38828
38829 fi
38830
38831
38832
38833 fi
38834 done
38835
38836
38837
38838 for ac_func in inet_aton
38839 do
38840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846 cat >conftest.$ac_ext <<_ACEOF
38847 /* confdefs.h. */
38848 _ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38854 #define $ac_func innocuous_$ac_func
38855
38856 /* System header to define __stub macros and hopefully few prototypes,
38857 which can conflict with char $ac_func (); below.
38858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38859 <limits.h> exists even on freestanding compilers. */
38860
38861 #ifdef __STDC__
38862 # include <limits.h>
38863 #else
38864 # include <assert.h>
38865 #endif
38866
38867 #undef $ac_func
38868
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38872 #ifdef __cplusplus
38873 extern "C"
38874 #endif
38875 char $ac_func ();
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined __stub_$ac_func || defined __stub___$ac_func
38880 choke me
38881 #endif
38882
38883 int
38884 main ()
38885 {
38886 return $ac_func ();
38887 ;
38888 return 0;
38889 }
38890 _ACEOF
38891 rm -f conftest.$ac_objext conftest$ac_exeext
38892 if { (ac_try="$ac_link"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38896 esac
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_link") 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest$ac_exeext &&
38908 $as_test_x conftest$ac_exeext; then
38909 eval "$as_ac_var=yes"
38910 else
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38913
38914 eval "$as_ac_var=no"
38915 fi
38916
38917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38918 conftest$ac_exeext conftest.$ac_ext
38919 fi
38920 ac_res=`eval echo '${'$as_ac_var'}'`
38921 { echo "$as_me:$LINENO: result: $ac_res" >&5
38922 echo "${ECHO_T}$ac_res" >&6; }
38923 if test `eval echo '${'$as_ac_var'}'` = yes; then
38924 cat >>confdefs.h <<_ACEOF
38925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38926 _ACEOF
38927 cat >>confdefs.h <<\_ACEOF
38928 #define HAVE_INET_ATON 1
38929 _ACEOF
38930
38931 else
38932
38933 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38934 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38935 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38936 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38938 else
38939 ac_check_lib_save_LIBS=$LIBS
38940 LIBS="-l$INET_LINK $LIBS"
38941 cat >conftest.$ac_ext <<_ACEOF
38942 /* confdefs.h. */
38943 _ACEOF
38944 cat confdefs.h >>conftest.$ac_ext
38945 cat >>conftest.$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38947
38948 /* Override any GCC internal prototype to avoid an error.
38949 Use char because int might match the return type of a GCC
38950 builtin and then its argument prototype would still apply. */
38951 #ifdef __cplusplus
38952 extern "C"
38953 #endif
38954 char inet_aton ();
38955 int
38956 main ()
38957 {
38958 return inet_aton ();
38959 ;
38960 return 0;
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 "$as_ac_Lib=yes"
38982 else
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38985
38986 eval "$as_ac_Lib=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 LIBS=$ac_check_lib_save_LIBS
38992 fi
38993 ac_res=`eval echo '${'$as_ac_Lib'}'`
38994 { echo "$as_me:$LINENO: result: $ac_res" >&5
38995 echo "${ECHO_T}$ac_res" >&6; }
38996 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38997 cat >>confdefs.h <<\_ACEOF
38998 #define HAVE_INET_ATON 1
38999 _ACEOF
39000
39001 fi
39002
39003
39004 fi
39005 done
39006
39007
39008 if test "x$INET_LINK" != "x"; then
39009 cat >>confdefs.h <<\_ACEOF
39010 #define HAVE_INET_ADDR 1
39011 _ACEOF
39012
39013 INET_LINK=" -l$INET_LINK"
39014 fi
39015
39016
39017 for wx_func in fdopen
39018 do
39019 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39020 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39021 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39022 echo $ECHO_N "(cached) $ECHO_C" >&6
39023 else
39024
39025 cat >conftest.$ac_ext <<_ACEOF
39026
39027 /* confdefs.h. */
39028 _ACEOF
39029 cat confdefs.h >>conftest.$ac_ext
39030 cat >>conftest.$ac_ext <<_ACEOF
39031 /* end confdefs.h. */
39032
39033
39034 $ac_includes_default
39035
39036 int
39037 main ()
39038 {
39039
39040 #ifndef $wx_func
39041 &$wx_func;
39042 #endif
39043
39044
39045 ;
39046 return 0;
39047 }
39048
39049 _ACEOF
39050 rm -f conftest.$ac_objext conftest$ac_exeext
39051 if { (ac_try="$ac_link"
39052 case "(($ac_try" in
39053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39054 *) ac_try_echo=$ac_try;;
39055 esac
39056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39057 (eval "$ac_link") 2>conftest.er1
39058 ac_status=$?
39059 grep -v '^ *+' conftest.er1 >conftest.err
39060 rm -f conftest.er1
39061 cat conftest.err >&5
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); } && {
39064 test -z "$ac_c_werror_flag" ||
39065 test ! -s conftest.err
39066 } && test -s conftest$ac_exeext &&
39067 $as_test_x conftest$ac_exeext; then
39068 eval wx_cv_func_$wx_func=yes
39069 else
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.$ac_ext >&5
39072
39073 eval wx_cv_func_$wx_func=no
39074 fi
39075
39076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39077 conftest$ac_exeext conftest.$ac_ext
39078
39079 fi
39080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39081 { echo "$as_me:$LINENO: result: $ac_res" >&5
39082 echo "${ECHO_T}$ac_res" >&6; }
39083
39084 if eval test \$wx_cv_func_$wx_func = yes
39085 then
39086 cat >>confdefs.h <<_ACEOF
39087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39088 _ACEOF
39089
39090
39091 else
39092 :
39093
39094 fi
39095 done
39096
39097
39098 if test "$wxUSE_TARSTREAM" = "yes"; then
39099
39100 for wx_func in sysconf
39101 do
39102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39104 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39105 echo $ECHO_N "(cached) $ECHO_C" >&6
39106 else
39107
39108 cat >conftest.$ac_ext <<_ACEOF
39109
39110 /* confdefs.h. */
39111 _ACEOF
39112 cat confdefs.h >>conftest.$ac_ext
39113 cat >>conftest.$ac_ext <<_ACEOF
39114 /* end confdefs.h. */
39115
39116
39117 $ac_includes_default
39118
39119 int
39120 main ()
39121 {
39122
39123 #ifndef $wx_func
39124 &$wx_func;
39125 #endif
39126
39127
39128 ;
39129 return 0;
39130 }
39131
39132 _ACEOF
39133 rm -f conftest.$ac_objext conftest$ac_exeext
39134 if { (ac_try="$ac_link"
39135 case "(($ac_try" in
39136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39137 *) ac_try_echo=$ac_try;;
39138 esac
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_link") 2>conftest.er1
39141 ac_status=$?
39142 grep -v '^ *+' conftest.er1 >conftest.err
39143 rm -f conftest.er1
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_c_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest$ac_exeext &&
39150 $as_test_x conftest$ac_exeext; then
39151 eval wx_cv_func_$wx_func=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39155
39156 eval wx_cv_func_$wx_func=no
39157 fi
39158
39159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39160 conftest$ac_exeext conftest.$ac_ext
39161
39162 fi
39163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39166
39167 if eval test \$wx_cv_func_$wx_func = yes
39168 then
39169 cat >>confdefs.h <<_ACEOF
39170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39171 _ACEOF
39172
39173
39174 else
39175 :
39176
39177 fi
39178 done
39179
39180
39181
39182 for wx_func in getpwuid_r
39183 do
39184 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39185 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39186 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39187 echo $ECHO_N "(cached) $ECHO_C" >&6
39188 else
39189
39190 cat >conftest.$ac_ext <<_ACEOF
39191
39192 /* confdefs.h. */
39193 _ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39197
39198
39199 #define _REENTRANT
39200 #include <pwd.h>
39201
39202 $ac_includes_default
39203
39204 int
39205 main ()
39206 {
39207
39208 #ifndef $wx_func
39209 &$wx_func;
39210 #endif
39211
39212 struct passwd pw, *ppw;
39213 char buf[1024];
39214 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39215
39216
39217 ;
39218 return 0;
39219 }
39220
39221 _ACEOF
39222 rm -f conftest.$ac_objext conftest$ac_exeext
39223 if { (ac_try="$ac_link"
39224 case "(($ac_try" in
39225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39226 *) ac_try_echo=$ac_try;;
39227 esac
39228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39229 (eval "$ac_link") 2>conftest.er1
39230 ac_status=$?
39231 grep -v '^ *+' conftest.er1 >conftest.err
39232 rm -f conftest.er1
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } && {
39236 test -z "$ac_c_werror_flag" ||
39237 test ! -s conftest.err
39238 } && test -s conftest$ac_exeext &&
39239 $as_test_x conftest$ac_exeext; then
39240 eval wx_cv_func_$wx_func=yes
39241 else
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39244
39245 eval wx_cv_func_$wx_func=no
39246 fi
39247
39248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39249 conftest$ac_exeext conftest.$ac_ext
39250
39251 fi
39252 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39253 { echo "$as_me:$LINENO: result: $ac_res" >&5
39254 echo "${ECHO_T}$ac_res" >&6; }
39255
39256 if eval test \$wx_cv_func_$wx_func = yes
39257 then
39258 cat >>confdefs.h <<_ACEOF
39259 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39260 _ACEOF
39261
39262
39263 else
39264 :
39265
39266 fi
39267 done
39268
39269
39270
39271 for wx_func in getgrgid_r
39272 do
39273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39275 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 else
39278
39279 cat >conftest.$ac_ext <<_ACEOF
39280
39281 /* confdefs.h. */
39282 _ACEOF
39283 cat confdefs.h >>conftest.$ac_ext
39284 cat >>conftest.$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39286
39287
39288 #define _REENTRANT
39289 #include <grp.h>
39290
39291 $ac_includes_default
39292
39293 int
39294 main ()
39295 {
39296
39297 #ifndef $wx_func
39298 &$wx_func;
39299 #endif
39300
39301 struct group grp, *pgrp;
39302 char buf[1024];
39303 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39304
39305
39306 ;
39307 return 0;
39308 }
39309
39310 _ACEOF
39311 rm -f conftest.$ac_objext conftest$ac_exeext
39312 if { (ac_try="$ac_link"
39313 case "(($ac_try" in
39314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39315 *) ac_try_echo=$ac_try;;
39316 esac
39317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39318 (eval "$ac_link") 2>conftest.er1
39319 ac_status=$?
39320 grep -v '^ *+' conftest.er1 >conftest.err
39321 rm -f conftest.er1
39322 cat conftest.err >&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); } && {
39325 test -z "$ac_c_werror_flag" ||
39326 test ! -s conftest.err
39327 } && test -s conftest$ac_exeext &&
39328 $as_test_x conftest$ac_exeext; then
39329 eval wx_cv_func_$wx_func=yes
39330 else
39331 echo "$as_me: failed program was:" >&5
39332 sed 's/^/| /' conftest.$ac_ext >&5
39333
39334 eval wx_cv_func_$wx_func=no
39335 fi
39336
39337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39338 conftest$ac_exeext conftest.$ac_ext
39339
39340 fi
39341 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39342 { echo "$as_me:$LINENO: result: $ac_res" >&5
39343 echo "${ECHO_T}$ac_res" >&6; }
39344
39345 if eval test \$wx_cv_func_$wx_func = yes
39346 then
39347 cat >>confdefs.h <<_ACEOF
39348 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39349 _ACEOF
39350
39351
39352 else
39353 :
39354
39355 fi
39356 done
39357
39358 fi
39359
39360 fi
39361
39362
39363
39364 cat >confcache <<\_ACEOF
39365 # This file is a shell script that caches the results of configure
39366 # tests run on this system so they can be shared between configure
39367 # scripts and configure runs, see configure's option --config-cache.
39368 # It is not useful on other systems. If it contains results you don't
39369 # want to keep, you may remove or edit it.
39370 #
39371 # config.status only pays attention to the cache file if you give it
39372 # the --recheck option to rerun configure.
39373 #
39374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39376 # following values.
39377
39378 _ACEOF
39379
39380 # The following way of writing the cache mishandles newlines in values,
39381 # but we know of no workaround that is simple, portable, and efficient.
39382 # So, we kill variables containing newlines.
39383 # Ultrix sh set writes to stderr and can't be redirected directly,
39384 # and sets the high bit in the cache file unless we assign to the vars.
39385 (
39386 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39387 eval ac_val=\$$ac_var
39388 case $ac_val in #(
39389 *${as_nl}*)
39390 case $ac_var in #(
39391 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39392 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39393 esac
39394 case $ac_var in #(
39395 _ | IFS | as_nl) ;; #(
39396 *) $as_unset $ac_var ;;
39397 esac ;;
39398 esac
39399 done
39400
39401 (set) 2>&1 |
39402 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39403 *${as_nl}ac_space=\ *)
39404 # `set' does not quote correctly, so add quotes (double-quote
39405 # substitution turns \\\\ into \\, and sed turns \\ into \).
39406 sed -n \
39407 "s/'/'\\\\''/g;
39408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39409 ;; #(
39410 *)
39411 # `set' quotes correctly as required by POSIX, so do not add quotes.
39412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39413 ;;
39414 esac |
39415 sort
39416 ) |
39417 sed '
39418 /^ac_cv_env_/b end
39419 t clear
39420 :clear
39421 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39422 t end
39423 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39424 :end' >>confcache
39425 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39426 if test -w "$cache_file"; then
39427 test "x$cache_file" != "x/dev/null" &&
39428 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39429 echo "$as_me: updating cache $cache_file" >&6;}
39430 cat confcache >$cache_file
39431 else
39432 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39433 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39434 fi
39435 fi
39436 rm -f confcache
39437
39438
39439 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39440
39441
39442 THREADS_LINK=
39443 THREADS_CFLAGS=
39444
39445 if test "$wxUSE_THREADS" = "yes" ; then
39446 if test "$USE_BEOS" = 1; then
39447 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39448 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39449 wxUSE_THREADS="no"
39450 fi
39451 fi
39452
39453 if test "$wxUSE_THREADS" = "yes" ; then
39454
39455
39456 THREAD_OPTS="-pthread"
39457 if test "x$SUNCXX" = xyes; then
39458 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39459 fi
39460
39461 case "${host}" in
39462 *-*-solaris2* | *-*-sunos4* )
39463 if test "x$GCC" = "xyes"; then
39464 THREAD_OPTS="-pthreads $THREAD_OPTS"
39465 fi
39466 ;;
39467 *-*-freebsd*)
39468 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39469 ;;
39470 *-*-darwin* | *-*-cygwin* )
39471 THREAD_OPTS=""
39472 ;;
39473 *-*-aix*)
39474 THREAD_OPTS="pthreads"
39475 ;;
39476 *-hp-hpux* )
39477 if test "x$GCC" = "xyes"; then
39478 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39479 THREAD_OPTS=""
39480 else
39481 THREAD_OPTS="-mt"
39482 fi
39483 ;;
39484
39485 *-*-irix* )
39486 if test "x$GCC" = "xyes"; then
39487 THREAD_OPTS=""
39488 fi
39489 ;;
39490
39491 *-*-qnx*)
39492 THREAD_OPTS=""
39493 ;;
39494
39495 *-*-*UnixWare*)
39496 if test "x$GCC" != "xyes"; then
39497 THREAD_OPTS="-Ethread"
39498 fi
39499 ;;
39500 esac
39501
39502 case "${host}" in
39503 *-*-qnx*)
39504 THREAD_OPTS="none pthread"
39505 ;;
39506
39507 *)
39508 THREAD_OPTS="$THREAD_OPTS pthread none"
39509 ;;
39510 esac
39511
39512 THREADS_OK=no
39513 for flag in $THREAD_OPTS; do
39514 case $flag in
39515 none)
39516 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39517 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39518 ;;
39519
39520 -*)
39521 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39522 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39523 THREADS_CFLAGS="$flag"
39524 ;;
39525
39526 *)
39527 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39528 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39529 THREADS_LINK="-l$flag"
39530 ;;
39531 esac
39532
39533 save_LIBS="$LIBS"
39534 save_CFLAGS="$CFLAGS"
39535 LIBS="$THREADS_LINK $LIBS"
39536 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39537
39538 cat >conftest.$ac_ext <<_ACEOF
39539 /* confdefs.h. */
39540 _ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544 #include <pthread.h>
39545 int
39546 main ()
39547 {
39548 pthread_create(0,0,0,0);
39549 ;
39550 return 0;
39551 }
39552 _ACEOF
39553 rm -f conftest.$ac_objext conftest$ac_exeext
39554 if { (ac_try="$ac_link"
39555 case "(($ac_try" in
39556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39557 *) ac_try_echo=$ac_try;;
39558 esac
39559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39560 (eval "$ac_link") 2>conftest.er1
39561 ac_status=$?
39562 grep -v '^ *+' conftest.er1 >conftest.err
39563 rm -f conftest.er1
39564 cat conftest.err >&5
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); } && {
39567 test -z "$ac_c_werror_flag" ||
39568 test ! -s conftest.err
39569 } && test -s conftest$ac_exeext &&
39570 $as_test_x conftest$ac_exeext; then
39571 THREADS_OK=yes
39572 else
39573 echo "$as_me: failed program was:" >&5
39574 sed 's/^/| /' conftest.$ac_ext >&5
39575
39576
39577 fi
39578
39579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39580 conftest$ac_exeext conftest.$ac_ext
39581
39582 LIBS="$save_LIBS"
39583 CFLAGS="$save_CFLAGS"
39584
39585 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39586 echo "${ECHO_T}$THREADS_OK" >&6; }
39587 if test "x$THREADS_OK" = "xyes"; then
39588 break;
39589 fi
39590
39591 THREADS_LINK=""
39592 THREADS_CFLAGS=""
39593 done
39594
39595 if test "x$THREADS_OK" != "xyes"; then
39596 wxUSE_THREADS=no
39597 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39598 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39599 else
39600 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39601 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39602 LIBS="$THREADS_LINK $LIBS"
39603
39604 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39605 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39606 flag=no
39607 case "${host}" in
39608 *-aix*)
39609 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39610 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39611 flag="-D_THREAD_SAFE"
39612 ;;
39613 *-freebsd*)
39614 flag="-D_THREAD_SAFE"
39615 ;;
39616 *-hp-hpux* )
39617 flag="-D_REENTRANT"
39618 if test "x$GCC" != "xyes"; then
39619 flag="$flag -D_RWSTD_MULTI_THREAD"
39620 fi
39621 ;;
39622 *solaris* | alpha*-osf*)
39623 flag="-D_REENTRANT"
39624 ;;
39625 esac
39626 { echo "$as_me:$LINENO: result: ${flag}" >&5
39627 echo "${ECHO_T}${flag}" >&6; }
39628 if test "x$flag" != xno; then
39629 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39630 fi
39631
39632 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39633 fi
39634 fi
39635
39636 if test "$wxUSE_THREADS" = "yes" ; then
39637
39638 for ac_func in thr_setconcurrency
39639 do
39640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 else
39646 cat >conftest.$ac_ext <<_ACEOF
39647 /* confdefs.h. */
39648 _ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h. */
39652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39654 #define $ac_func innocuous_$ac_func
39655
39656 /* System header to define __stub macros and hopefully few prototypes,
39657 which can conflict with char $ac_func (); below.
39658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39659 <limits.h> exists even on freestanding compilers. */
39660
39661 #ifdef __STDC__
39662 # include <limits.h>
39663 #else
39664 # include <assert.h>
39665 #endif
39666
39667 #undef $ac_func
39668
39669 /* Override any GCC internal prototype to avoid an error.
39670 Use char because int might match the return type of a GCC
39671 builtin and then its argument prototype would still apply. */
39672 #ifdef __cplusplus
39673 extern "C"
39674 #endif
39675 char $ac_func ();
39676 /* The GNU C library defines this for functions which it implements
39677 to always fail with ENOSYS. Some functions are actually named
39678 something starting with __ and the normal name is an alias. */
39679 #if defined __stub_$ac_func || defined __stub___$ac_func
39680 choke me
39681 #endif
39682
39683 int
39684 main ()
39685 {
39686 return $ac_func ();
39687 ;
39688 return 0;
39689 }
39690 _ACEOF
39691 rm -f conftest.$ac_objext conftest$ac_exeext
39692 if { (ac_try="$ac_link"
39693 case "(($ac_try" in
39694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39695 *) ac_try_echo=$ac_try;;
39696 esac
39697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39698 (eval "$ac_link") 2>conftest.er1
39699 ac_status=$?
39700 grep -v '^ *+' conftest.er1 >conftest.err
39701 rm -f conftest.er1
39702 cat conftest.err >&5
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); } && {
39705 test -z "$ac_c_werror_flag" ||
39706 test ! -s conftest.err
39707 } && test -s conftest$ac_exeext &&
39708 $as_test_x conftest$ac_exeext; then
39709 eval "$as_ac_var=yes"
39710 else
39711 echo "$as_me: failed program was:" >&5
39712 sed 's/^/| /' conftest.$ac_ext >&5
39713
39714 eval "$as_ac_var=no"
39715 fi
39716
39717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39718 conftest$ac_exeext conftest.$ac_ext
39719 fi
39720 ac_res=`eval echo '${'$as_ac_var'}'`
39721 { echo "$as_me:$LINENO: result: $ac_res" >&5
39722 echo "${ECHO_T}$ac_res" >&6; }
39723 if test `eval echo '${'$as_ac_var'}'` = yes; then
39724 cat >>confdefs.h <<_ACEOF
39725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39726 _ACEOF
39727
39728 fi
39729 done
39730
39731
39732 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39733 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39734 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39736 else
39737
39738 ac_ext=cpp
39739 ac_cpp='$CXXCPP $CPPFLAGS'
39740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743
39744 cat >conftest.$ac_ext <<_ACEOF
39745 /* confdefs.h. */
39746 _ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 #include <pthread.h>
39751 void ThreadCleanupFunc(void *p);
39752
39753 int
39754 main ()
39755 {
39756
39757 void *p;
39758 pthread_cleanup_push(ThreadCleanupFunc, p);
39759 pthread_cleanup_pop(0);
39760
39761 ;
39762 return 0;
39763 }
39764 _ACEOF
39765 rm -f conftest.$ac_objext
39766 if { (ac_try="$ac_compile"
39767 case "(($ac_try" in
39768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39769 *) ac_try_echo=$ac_try;;
39770 esac
39771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39772 (eval "$ac_compile") 2>conftest.er1
39773 ac_status=$?
39774 grep -v '^ *+' conftest.er1 >conftest.err
39775 rm -f conftest.er1
39776 cat conftest.err >&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } && {
39779 test -z "$ac_cxx_werror_flag" ||
39780 test ! -s conftest.err
39781 } && test -s conftest.$ac_objext; then
39782
39783 wx_cv_func_pthread_cleanup=yes
39784
39785 else
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.$ac_ext >&5
39788
39789
39790 wx_cv_func_pthread_cleanup=no
39791
39792
39793 fi
39794
39795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39796 ac_ext=c
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39801
39802
39803 fi
39804 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39805 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39806 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39807 cat >>confdefs.h <<\_ACEOF
39808 #define wxHAVE_PTHREAD_CLEANUP 1
39809 _ACEOF
39810
39811 fi
39812
39813
39814 for ac_header in sched.h
39815 do
39816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39817 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39820 echo $ECHO_N "(cached) $ECHO_C" >&6
39821 else
39822 cat >conftest.$ac_ext <<_ACEOF
39823 /* confdefs.h. */
39824 _ACEOF
39825 cat confdefs.h >>conftest.$ac_ext
39826 cat >>conftest.$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39828 $ac_includes_default
39829
39830 #include <$ac_header>
39831 _ACEOF
39832 rm -f conftest.$ac_objext
39833 if { (ac_try="$ac_compile"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39836 *) ac_try_echo=$ac_try;;
39837 esac
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_compile") 2>conftest.er1
39840 ac_status=$?
39841 grep -v '^ *+' conftest.er1 >conftest.err
39842 rm -f conftest.er1
39843 cat conftest.err >&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest.$ac_objext; then
39849 eval "$as_ac_Header=yes"
39850 else
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 eval "$as_ac_Header=no"
39855 fi
39856
39857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39858 fi
39859 ac_res=`eval echo '${'$as_ac_Header'}'`
39860 { echo "$as_me:$LINENO: result: $ac_res" >&5
39861 echo "${ECHO_T}$ac_res" >&6; }
39862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39863 cat >>confdefs.h <<_ACEOF
39864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39865 _ACEOF
39866
39867 fi
39868
39869 done
39870
39871 if test "$ac_cv_header_sched_h" = "yes"; then
39872 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39873 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39874 if test "${ac_cv_func_sched_yield+set}" = set; then
39875 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 else
39877 cat >conftest.$ac_ext <<_ACEOF
39878 /* confdefs.h. */
39879 _ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39885 #define sched_yield innocuous_sched_yield
39886
39887 /* System header to define __stub macros and hopefully few prototypes,
39888 which can conflict with char sched_yield (); below.
39889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39890 <limits.h> exists even on freestanding compilers. */
39891
39892 #ifdef __STDC__
39893 # include <limits.h>
39894 #else
39895 # include <assert.h>
39896 #endif
39897
39898 #undef sched_yield
39899
39900 /* Override any GCC internal prototype to avoid an error.
39901 Use char because int might match the return type of a GCC
39902 builtin and then its argument prototype would still apply. */
39903 #ifdef __cplusplus
39904 extern "C"
39905 #endif
39906 char sched_yield ();
39907 /* The GNU C library defines this for functions which it implements
39908 to always fail with ENOSYS. Some functions are actually named
39909 something starting with __ and the normal name is an alias. */
39910 #if defined __stub_sched_yield || defined __stub___sched_yield
39911 choke me
39912 #endif
39913
39914 int
39915 main ()
39916 {
39917 return sched_yield ();
39918 ;
39919 return 0;
39920 }
39921 _ACEOF
39922 rm -f conftest.$ac_objext conftest$ac_exeext
39923 if { (ac_try="$ac_link"
39924 case "(($ac_try" in
39925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39926 *) ac_try_echo=$ac_try;;
39927 esac
39928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39929 (eval "$ac_link") 2>conftest.er1
39930 ac_status=$?
39931 grep -v '^ *+' conftest.er1 >conftest.err
39932 rm -f conftest.er1
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } && {
39936 test -z "$ac_c_werror_flag" ||
39937 test ! -s conftest.err
39938 } && test -s conftest$ac_exeext &&
39939 $as_test_x conftest$ac_exeext; then
39940 ac_cv_func_sched_yield=yes
39941 else
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39944
39945 ac_cv_func_sched_yield=no
39946 fi
39947
39948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39949 conftest$ac_exeext conftest.$ac_ext
39950 fi
39951 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39952 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39953 if test $ac_cv_func_sched_yield = yes; then
39954 cat >>confdefs.h <<\_ACEOF
39955 #define HAVE_SCHED_YIELD 1
39956 _ACEOF
39957
39958 else
39959
39960 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39961 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39962 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 else
39965 ac_check_lib_save_LIBS=$LIBS
39966 LIBS="-lposix4 $LIBS"
39967 cat >conftest.$ac_ext <<_ACEOF
39968 /* confdefs.h. */
39969 _ACEOF
39970 cat confdefs.h >>conftest.$ac_ext
39971 cat >>conftest.$ac_ext <<_ACEOF
39972 /* end confdefs.h. */
39973
39974 /* Override any GCC internal prototype to avoid an error.
39975 Use char because int might match the return type of a GCC
39976 builtin and then its argument prototype would still apply. */
39977 #ifdef __cplusplus
39978 extern "C"
39979 #endif
39980 char sched_yield ();
39981 int
39982 main ()
39983 {
39984 return sched_yield ();
39985 ;
39986 return 0;
39987 }
39988 _ACEOF
39989 rm -f conftest.$ac_objext conftest$ac_exeext
39990 if { (ac_try="$ac_link"
39991 case "(($ac_try" in
39992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39993 *) ac_try_echo=$ac_try;;
39994 esac
39995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39996 (eval "$ac_link") 2>conftest.er1
39997 ac_status=$?
39998 grep -v '^ *+' conftest.er1 >conftest.err
39999 rm -f conftest.er1
40000 cat conftest.err >&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); } && {
40003 test -z "$ac_c_werror_flag" ||
40004 test ! -s conftest.err
40005 } && test -s conftest$ac_exeext &&
40006 $as_test_x conftest$ac_exeext; then
40007 ac_cv_lib_posix4_sched_yield=yes
40008 else
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40011
40012 ac_cv_lib_posix4_sched_yield=no
40013 fi
40014
40015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40016 conftest$ac_exeext conftest.$ac_ext
40017 LIBS=$ac_check_lib_save_LIBS
40018 fi
40019 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40020 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40021 if test $ac_cv_lib_posix4_sched_yield = yes; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_SCHED_YIELD 1
40024 _ACEOF
40025 POSIX4_LINK=" -lposix4"
40026 else
40027 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40028 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40029
40030 fi
40031
40032
40033
40034 fi
40035
40036 fi
40037
40038 HAVE_PRIOR_FUNCS=0
40039 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40040 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40041 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 else
40044 cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h. */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40052 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40053
40054 /* System header to define __stub macros and hopefully few prototypes,
40055 which can conflict with char pthread_attr_getschedpolicy (); below.
40056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40057 <limits.h> exists even on freestanding compilers. */
40058
40059 #ifdef __STDC__
40060 # include <limits.h>
40061 #else
40062 # include <assert.h>
40063 #endif
40064
40065 #undef pthread_attr_getschedpolicy
40066
40067 /* Override any GCC internal prototype to avoid an error.
40068 Use char because int might match the return type of a GCC
40069 builtin and then its argument prototype would still apply. */
40070 #ifdef __cplusplus
40071 extern "C"
40072 #endif
40073 char pthread_attr_getschedpolicy ();
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40078 choke me
40079 #endif
40080
40081 int
40082 main ()
40083 {
40084 return pthread_attr_getschedpolicy ();
40085 ;
40086 return 0;
40087 }
40088 _ACEOF
40089 rm -f conftest.$ac_objext conftest$ac_exeext
40090 if { (ac_try="$ac_link"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40094 esac
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_link") 2>conftest.er1
40097 ac_status=$?
40098 grep -v '^ *+' conftest.er1 >conftest.err
40099 rm -f conftest.er1
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest$ac_exeext &&
40106 $as_test_x conftest$ac_exeext; then
40107 ac_cv_func_pthread_attr_getschedpolicy=yes
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112 ac_cv_func_pthread_attr_getschedpolicy=no
40113 fi
40114
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40117 fi
40118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40119 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40120 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40121 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40122 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40123 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40125 else
40126 cat >conftest.$ac_ext <<_ACEOF
40127 /* confdefs.h. */
40128 _ACEOF
40129 cat confdefs.h >>conftest.$ac_ext
40130 cat >>conftest.$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40134 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40135
40136 /* System header to define __stub macros and hopefully few prototypes,
40137 which can conflict with char pthread_attr_setschedparam (); below.
40138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40139 <limits.h> exists even on freestanding compilers. */
40140
40141 #ifdef __STDC__
40142 # include <limits.h>
40143 #else
40144 # include <assert.h>
40145 #endif
40146
40147 #undef pthread_attr_setschedparam
40148
40149 /* Override any GCC internal prototype to avoid an error.
40150 Use char because int might match the return type of a GCC
40151 builtin and then its argument prototype would still apply. */
40152 #ifdef __cplusplus
40153 extern "C"
40154 #endif
40155 char pthread_attr_setschedparam ();
40156 /* The GNU C library defines this for functions which it implements
40157 to always fail with ENOSYS. Some functions are actually named
40158 something starting with __ and the normal name is an alias. */
40159 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40160 choke me
40161 #endif
40162
40163 int
40164 main ()
40165 {
40166 return pthread_attr_setschedparam ();
40167 ;
40168 return 0;
40169 }
40170 _ACEOF
40171 rm -f conftest.$ac_objext conftest$ac_exeext
40172 if { (ac_try="$ac_link"
40173 case "(($ac_try" in
40174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40175 *) ac_try_echo=$ac_try;;
40176 esac
40177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40178 (eval "$ac_link") 2>conftest.er1
40179 ac_status=$?
40180 grep -v '^ *+' conftest.er1 >conftest.err
40181 rm -f conftest.er1
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } && {
40185 test -z "$ac_c_werror_flag" ||
40186 test ! -s conftest.err
40187 } && test -s conftest$ac_exeext &&
40188 $as_test_x conftest$ac_exeext; then
40189 ac_cv_func_pthread_attr_setschedparam=yes
40190 else
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40193
40194 ac_cv_func_pthread_attr_setschedparam=no
40195 fi
40196
40197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40198 conftest$ac_exeext conftest.$ac_ext
40199 fi
40200 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40201 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40202 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40203 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40204 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40205 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40216 #define sched_get_priority_max innocuous_sched_get_priority_max
40217
40218 /* System header to define __stub macros and hopefully few prototypes,
40219 which can conflict with char sched_get_priority_max (); below.
40220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40221 <limits.h> exists even on freestanding compilers. */
40222
40223 #ifdef __STDC__
40224 # include <limits.h>
40225 #else
40226 # include <assert.h>
40227 #endif
40228
40229 #undef sched_get_priority_max
40230
40231 /* Override any GCC internal prototype to avoid an error.
40232 Use char because int might match the return type of a GCC
40233 builtin and then its argument prototype would still apply. */
40234 #ifdef __cplusplus
40235 extern "C"
40236 #endif
40237 char sched_get_priority_max ();
40238 /* The GNU C library defines this for functions which it implements
40239 to always fail with ENOSYS. Some functions are actually named
40240 something starting with __ and the normal name is an alias. */
40241 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40242 choke me
40243 #endif
40244
40245 int
40246 main ()
40247 {
40248 return sched_get_priority_max ();
40249 ;
40250 return 0;
40251 }
40252 _ACEOF
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (ac_try="$ac_link"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40258 esac
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_link") 2>conftest.er1
40261 ac_status=$?
40262 grep -v '^ *+' conftest.er1 >conftest.err
40263 rm -f conftest.er1
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest$ac_exeext &&
40270 $as_test_x conftest$ac_exeext; then
40271 ac_cv_func_sched_get_priority_max=yes
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 ac_cv_func_sched_get_priority_max=no
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40280 conftest$ac_exeext conftest.$ac_ext
40281 fi
40282 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40283 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40284 if test $ac_cv_func_sched_get_priority_max = yes; then
40285 HAVE_PRIOR_FUNCS=1
40286 else
40287 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40288 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40289 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 else
40292 ac_check_lib_save_LIBS=$LIBS
40293 LIBS="-lposix4 $LIBS"
40294 cat >conftest.$ac_ext <<_ACEOF
40295 /* confdefs.h. */
40296 _ACEOF
40297 cat confdefs.h >>conftest.$ac_ext
40298 cat >>conftest.$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40300
40301 /* Override any GCC internal prototype to avoid an error.
40302 Use char because int might match the return type of a GCC
40303 builtin and then its argument prototype would still apply. */
40304 #ifdef __cplusplus
40305 extern "C"
40306 #endif
40307 char sched_get_priority_max ();
40308 int
40309 main ()
40310 {
40311 return sched_get_priority_max ();
40312 ;
40313 return 0;
40314 }
40315 _ACEOF
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (ac_try="$ac_link"
40318 case "(($ac_try" in
40319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40320 *) ac_try_echo=$ac_try;;
40321 esac
40322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40323 (eval "$ac_link") 2>conftest.er1
40324 ac_status=$?
40325 grep -v '^ *+' conftest.er1 >conftest.err
40326 rm -f conftest.er1
40327 cat conftest.err >&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } && {
40330 test -z "$ac_c_werror_flag" ||
40331 test ! -s conftest.err
40332 } && test -s conftest$ac_exeext &&
40333 $as_test_x conftest$ac_exeext; then
40334 ac_cv_lib_posix4_sched_get_priority_max=yes
40335 else
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.$ac_ext >&5
40338
40339 ac_cv_lib_posix4_sched_get_priority_max=no
40340 fi
40341
40342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40343 conftest$ac_exeext conftest.$ac_ext
40344 LIBS=$ac_check_lib_save_LIBS
40345 fi
40346 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40347 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40348 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40349
40350 HAVE_PRIOR_FUNCS=1
40351 POSIX4_LINK=" -lposix4"
40352
40353 fi
40354
40355
40356 fi
40357
40358
40359 fi
40360
40361
40362 fi
40363
40364
40365 if test "$HAVE_PRIOR_FUNCS" = 1; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40368 _ACEOF
40369
40370 else
40371 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40372 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40373 fi
40374
40375 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40376 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40377 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 else
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40388 #define pthread_cancel innocuous_pthread_cancel
40389
40390 /* System header to define __stub macros and hopefully few prototypes,
40391 which can conflict with char pthread_cancel (); below.
40392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40393 <limits.h> exists even on freestanding compilers. */
40394
40395 #ifdef __STDC__
40396 # include <limits.h>
40397 #else
40398 # include <assert.h>
40399 #endif
40400
40401 #undef pthread_cancel
40402
40403 /* Override any GCC internal prototype to avoid an error.
40404 Use char because int might match the return type of a GCC
40405 builtin and then its argument prototype would still apply. */
40406 #ifdef __cplusplus
40407 extern "C"
40408 #endif
40409 char pthread_cancel ();
40410 /* The GNU C library defines this for functions which it implements
40411 to always fail with ENOSYS. Some functions are actually named
40412 something starting with __ and the normal name is an alias. */
40413 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40414 choke me
40415 #endif
40416
40417 int
40418 main ()
40419 {
40420 return pthread_cancel ();
40421 ;
40422 return 0;
40423 }
40424 _ACEOF
40425 rm -f conftest.$ac_objext conftest$ac_exeext
40426 if { (ac_try="$ac_link"
40427 case "(($ac_try" in
40428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40429 *) ac_try_echo=$ac_try;;
40430 esac
40431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40432 (eval "$ac_link") 2>conftest.er1
40433 ac_status=$?
40434 grep -v '^ *+' conftest.er1 >conftest.err
40435 rm -f conftest.er1
40436 cat conftest.err >&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } && {
40439 test -z "$ac_c_werror_flag" ||
40440 test ! -s conftest.err
40441 } && test -s conftest$ac_exeext &&
40442 $as_test_x conftest$ac_exeext; then
40443 ac_cv_func_pthread_cancel=yes
40444 else
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.$ac_ext >&5
40447
40448 ac_cv_func_pthread_cancel=no
40449 fi
40450
40451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40452 conftest$ac_exeext conftest.$ac_ext
40453 fi
40454 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40455 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40456 if test $ac_cv_func_pthread_cancel = yes; then
40457 cat >>confdefs.h <<\_ACEOF
40458 #define HAVE_PTHREAD_CANCEL 1
40459 _ACEOF
40460
40461 else
40462 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40463 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40464 fi
40465
40466
40467 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40468 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40469 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40470 echo $ECHO_N "(cached) $ECHO_C" >&6
40471 else
40472 cat >conftest.$ac_ext <<_ACEOF
40473 /* confdefs.h. */
40474 _ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40478 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40480 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40481
40482 /* System header to define __stub macros and hopefully few prototypes,
40483 which can conflict with char pthread_mutex_timedlock (); below.
40484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40485 <limits.h> exists even on freestanding compilers. */
40486
40487 #ifdef __STDC__
40488 # include <limits.h>
40489 #else
40490 # include <assert.h>
40491 #endif
40492
40493 #undef pthread_mutex_timedlock
40494
40495 /* Override any GCC internal prototype to avoid an error.
40496 Use char because int might match the return type of a GCC
40497 builtin and then its argument prototype would still apply. */
40498 #ifdef __cplusplus
40499 extern "C"
40500 #endif
40501 char pthread_mutex_timedlock ();
40502 /* The GNU C library defines this for functions which it implements
40503 to always fail with ENOSYS. Some functions are actually named
40504 something starting with __ and the normal name is an alias. */
40505 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40506 choke me
40507 #endif
40508
40509 int
40510 main ()
40511 {
40512 return pthread_mutex_timedlock ();
40513 ;
40514 return 0;
40515 }
40516 _ACEOF
40517 rm -f conftest.$ac_objext conftest$ac_exeext
40518 if { (ac_try="$ac_link"
40519 case "(($ac_try" in
40520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40521 *) ac_try_echo=$ac_try;;
40522 esac
40523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40524 (eval "$ac_link") 2>conftest.er1
40525 ac_status=$?
40526 grep -v '^ *+' conftest.er1 >conftest.err
40527 rm -f conftest.er1
40528 cat conftest.err >&5
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); } && {
40531 test -z "$ac_c_werror_flag" ||
40532 test ! -s conftest.err
40533 } && test -s conftest$ac_exeext &&
40534 $as_test_x conftest$ac_exeext; then
40535 ac_cv_func_pthread_mutex_timedlock=yes
40536 else
40537 echo "$as_me: failed program was:" >&5
40538 sed 's/^/| /' conftest.$ac_ext >&5
40539
40540 ac_cv_func_pthread_mutex_timedlock=no
40541 fi
40542
40543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40544 conftest$ac_exeext conftest.$ac_ext
40545 fi
40546 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40547 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40548 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40549 cat >>confdefs.h <<\_ACEOF
40550 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40551 _ACEOF
40552
40553 else
40554 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40555 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40556 fi
40557
40558
40559 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40560 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40561 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 else
40564 cat >conftest.$ac_ext <<_ACEOF
40565 /* confdefs.h. */
40566 _ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40573
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char pthread_attr_setstacksize (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40578
40579 #ifdef __STDC__
40580 # include <limits.h>
40581 #else
40582 # include <assert.h>
40583 #endif
40584
40585 #undef pthread_attr_setstacksize
40586
40587 /* Override any GCC internal prototype to avoid an error.
40588 Use char because int might match the return type of a GCC
40589 builtin and then its argument prototype would still apply. */
40590 #ifdef __cplusplus
40591 extern "C"
40592 #endif
40593 char pthread_attr_setstacksize ();
40594 /* The GNU C library defines this for functions which it implements
40595 to always fail with ENOSYS. Some functions are actually named
40596 something starting with __ and the normal name is an alias. */
40597 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40598 choke me
40599 #endif
40600
40601 int
40602 main ()
40603 {
40604 return pthread_attr_setstacksize ();
40605 ;
40606 return 0;
40607 }
40608 _ACEOF
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40614 esac
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } && {
40623 test -z "$ac_c_werror_flag" ||
40624 test ! -s conftest.err
40625 } && test -s conftest$ac_exeext &&
40626 $as_test_x conftest$ac_exeext; then
40627 ac_cv_func_pthread_attr_setstacksize=yes
40628 else
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40631
40632 ac_cv_func_pthread_attr_setstacksize=no
40633 fi
40634
40635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40636 conftest$ac_exeext conftest.$ac_ext
40637 fi
40638 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40639 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40640 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40643 _ACEOF
40644
40645 fi
40646
40647
40648
40649 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40650 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40651 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 else
40654
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 #include <pthread.h>
40662 int
40663 main ()
40664 {
40665
40666 pthread_mutexattr_t attr;
40667 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40668
40669 ;
40670 return 0;
40671 }
40672 _ACEOF
40673 rm -f conftest.$ac_objext
40674 if { (ac_try="$ac_compile"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40678 esac
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_compile") 2>conftest.er1
40681 ac_status=$?
40682 grep -v '^ *+' conftest.er1 >conftest.err
40683 rm -f conftest.er1
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest.$ac_objext; then
40690 wx_cv_type_pthread_mutexattr_t=yes
40691 else
40692 echo "$as_me: failed program was:" >&5
40693 sed 's/^/| /' conftest.$ac_ext >&5
40694
40695 wx_cv_type_pthread_mutexattr_t=no
40696
40697 fi
40698
40699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40700
40701 fi
40702 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40703 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40704
40705 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40706 cat >>confdefs.h <<\_ACEOF
40707 #define HAVE_PTHREAD_MUTEXATTR_T 1
40708 _ACEOF
40709
40710
40711 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40712 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40713 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40714 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 else
40716
40717 cat >conftest.$ac_ext <<_ACEOF
40718 /* confdefs.h. */
40719 _ACEOF
40720 cat confdefs.h >>conftest.$ac_ext
40721 cat >>conftest.$ac_ext <<_ACEOF
40722 /* end confdefs.h. */
40723 #include <pthread.h>
40724 int
40725 main ()
40726 {
40727
40728 pthread_mutexattr_t attr;
40729 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40730
40731 ;
40732 return 0;
40733 }
40734 _ACEOF
40735 rm -f conftest.$ac_objext
40736 if { (ac_try="$ac_compile"
40737 case "(($ac_try" in
40738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40739 *) ac_try_echo=$ac_try;;
40740 esac
40741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40742 (eval "$ac_compile") 2>conftest.er1
40743 ac_status=$?
40744 grep -v '^ *+' conftest.er1 >conftest.err
40745 rm -f conftest.er1
40746 cat conftest.err >&5
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); } && {
40749 test -z "$ac_c_werror_flag" ||
40750 test ! -s conftest.err
40751 } && test -s conftest.$ac_objext; then
40752 wx_cv_func_pthread_mutexattr_settype_decl=yes
40753 else
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40756
40757 wx_cv_func_pthread_mutexattr_settype_decl=no
40758
40759 fi
40760
40761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762
40763 fi
40764 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40765 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40766 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40767 cat >>confdefs.h <<\_ACEOF
40768 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40769 _ACEOF
40770
40771 fi
40772 else
40773 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40774 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40775 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 else
40778
40779 cat >conftest.$ac_ext <<_ACEOF
40780 /* confdefs.h. */
40781 _ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40785 #include <pthread.h>
40786 int
40787 main ()
40788 {
40789
40790 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40791
40792 ;
40793 return 0;
40794 }
40795 _ACEOF
40796 rm -f conftest.$ac_objext
40797 if { (ac_try="$ac_compile"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40800 *) ac_try_echo=$ac_try;;
40801 esac
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_compile") 2>conftest.er1
40804 ac_status=$?
40805 grep -v '^ *+' conftest.er1 >conftest.err
40806 rm -f conftest.er1
40807 cat conftest.err >&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest.$ac_objext; then
40813
40814 wx_cv_type_pthread_rec_mutex_init=yes
40815
40816 else
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820
40821 wx_cv_type_pthread_rec_mutex_init=no
40822
40823
40824 fi
40825
40826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40827
40828 fi
40829 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40830 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40831 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40832 cat >>confdefs.h <<\_ACEOF
40833 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40834 _ACEOF
40835
40836 else
40837 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40838 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40839 fi
40840 fi
40841
40842 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40843 if test "$USE_NETBSD" = 1; then
40844 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40845 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40846 wxUSE_COMPILER_TLS=no
40847 else
40848 wxUSE_COMPILER_TLS=yes
40849 fi
40850 fi
40851
40852 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40853 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40854 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40855 if test "${wx_cv_cc___thread+set}" = set; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40857 else
40858
40859 cat >conftest.$ac_ext <<_ACEOF
40860 /* confdefs.h. */
40861 _ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 #include <pthread.h>
40866 int
40867 main ()
40868 {
40869
40870 static __thread int n = 0;
40871 static __thread int *p = 0;
40872
40873 ;
40874 return 0;
40875 }
40876 _ACEOF
40877 rm -f conftest.$ac_objext
40878 if { (ac_try="$ac_compile"
40879 case "(($ac_try" in
40880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40881 *) ac_try_echo=$ac_try;;
40882 esac
40883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40884 (eval "$ac_compile") 2>conftest.er1
40885 ac_status=$?
40886 grep -v '^ *+' conftest.er1 >conftest.err
40887 rm -f conftest.er1
40888 cat conftest.err >&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } && {
40891 test -z "$ac_c_werror_flag" ||
40892 test ! -s conftest.err
40893 } && test -s conftest.$ac_objext; then
40894 wx_cv_cc___thread=yes
40895 else
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40898
40899 wx_cv_cc___thread=no
40900
40901 fi
40902
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40904
40905
40906 fi
40907 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40908 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40909
40910 if test "$wx_cv_cc___thread" = "yes"; then
40911
40912 GXX_VERSION=""
40913
40914
40915
40916 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40917 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40918
40919 if test "x$GCC" = "xyes" ; then
40920
40921 if test -z "" ; then
40922
40923 ax_gcc_option_test="int main()
40924 {
40925 return 0;
40926 }"
40927
40928 else
40929
40930 ax_gcc_option_test=""
40931
40932 fi
40933
40934
40935 # Dump the test program to file
40936 cat <<EOF > conftest.c
40937 $ax_gcc_option_test
40938 EOF
40939
40940 # Dump back the file to the log, useful for debugging purposes
40941 { ac_try='cat conftest.c 1>&5'
40942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40943 (eval $ac_try) 2>&5
40944 ac_status=$?
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); }; }
40947
40948 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40951 ac_status=$?
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; } ; then
40954
40955 { echo "$as_me:$LINENO: result: yes" >&5
40956 echo "${ECHO_T}yes" >&6; }
40957
40958 ax_gcc_version_option=yes
40959
40960
40961 else
40962
40963 { echo "$as_me:$LINENO: result: no" >&5
40964 echo "${ECHO_T}no" >&6; }
40965
40966 ax_gcc_version_option=no
40967
40968
40969 fi
40970
40971
40972 else
40973
40974 { echo "$as_me:$LINENO: result: no gcc available" >&5
40975 echo "${ECHO_T}no gcc available" >&6; }
40976
40977 fi
40978
40979
40980 if test "x$GXX" = "xyes"; then
40981
40982 if test "x$ax_gxx_version_option" != "no"; then
40983
40984 { echo "$as_me:$LINENO: checking gxx version" >&5
40985 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40986 if test "${ax_cv_gxx_version+set}" = set; then
40987 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 else
40989
40990 ax_cv_gxx_version="`$CXX -dumpversion`"
40991 if test "x$ax_cv_gxx_version" = "x"; then
40992
40993 ax_cv_gxx_version=""
40994
40995 fi
40996
40997
40998 fi
40999 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41000 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41001 GXX_VERSION=$ax_cv_gxx_version
41002
41003 fi
41004
41005
41006 fi
41007
41008
41009
41010 if test -n "$ax_cv_gxx_version"; then
41011 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41012 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41013 case "$ax_cv_gxx_version" in
41014 1.* | 2.* | 3.* )
41015 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41016 echo "${ECHO_T}no, it's broken" >&6; }
41017 wx_cv_cc___thread=no
41018 ;;
41019 *)
41020 { echo "$as_me:$LINENO: result: yes, it works" >&5
41021 echo "${ECHO_T}yes, it works" >&6; }
41022 ;;
41023 esac
41024 fi
41025 fi
41026
41027 if test "$wx_cv_cc___thread" = "yes"; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define HAVE___THREAD_KEYWORD 1
41030 _ACEOF
41031
41032 fi
41033 fi
41034 fi
41035
41036 else
41037 if test "$wxUSE_THREADS" = "yes" ; then
41038 case "${host}" in
41039 x86_64-*-mingw32* )
41040 ;;
41041 *-*-mingw32* )
41042 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41043 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41044 if test "${wx_cv_cflags_mthread+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047
41048 CFLAGS_OLD="$CFLAGS"
41049 CFLAGS="-mthreads $CFLAGS"
41050 cat >conftest.$ac_ext <<_ACEOF
41051 /* confdefs.h. */
41052 _ACEOF
41053 cat confdefs.h >>conftest.$ac_ext
41054 cat >>conftest.$ac_ext <<_ACEOF
41055 /* end confdefs.h. */
41056
41057 int
41058 main ()
41059 {
41060
41061 ;
41062 return 0;
41063 }
41064 _ACEOF
41065 rm -f conftest.$ac_objext
41066 if { (ac_try="$ac_compile"
41067 case "(($ac_try" in
41068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41069 *) ac_try_echo=$ac_try;;
41070 esac
41071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41072 (eval "$ac_compile") 2>conftest.er1
41073 ac_status=$?
41074 grep -v '^ *+' conftest.er1 >conftest.err
41075 rm -f conftest.er1
41076 cat conftest.err >&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } && {
41079 test -z "$ac_c_werror_flag" ||
41080 test ! -s conftest.err
41081 } && test -s conftest.$ac_objext; then
41082 wx_cv_cflags_mthread=yes
41083 else
41084 echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.$ac_ext >&5
41086
41087 wx_cv_cflags_mthread=no
41088
41089 fi
41090
41091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41092
41093
41094 fi
41095 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41096 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41097
41098 if test "$wx_cv_cflags_mthread" = "yes"; then
41099 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41100 LDFLAGS="$LDFLAGS -mthreads"
41101 else
41102 CFLAGS="$CFLAGS_OLD"
41103 fi
41104 ;;
41105 *-pc-os2*emx )
41106 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41107 LDFLAGS="$LDFLAGS -Zmt"
41108 ;;
41109 esac
41110 fi
41111 fi
41112
41113 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41114 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41115 if test "${ac_cv_func_localtime_r+set}" = set; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41118 cat >conftest.$ac_ext <<_ACEOF
41119 /* confdefs.h. */
41120 _ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41124 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41126 #define localtime_r innocuous_localtime_r
41127
41128 /* System header to define __stub macros and hopefully few prototypes,
41129 which can conflict with char localtime_r (); below.
41130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41131 <limits.h> exists even on freestanding compilers. */
41132
41133 #ifdef __STDC__
41134 # include <limits.h>
41135 #else
41136 # include <assert.h>
41137 #endif
41138
41139 #undef localtime_r
41140
41141 /* Override any GCC internal prototype to avoid an error.
41142 Use char because int might match the return type of a GCC
41143 builtin and then its argument prototype would still apply. */
41144 #ifdef __cplusplus
41145 extern "C"
41146 #endif
41147 char localtime_r ();
41148 /* The GNU C library defines this for functions which it implements
41149 to always fail with ENOSYS. Some functions are actually named
41150 something starting with __ and the normal name is an alias. */
41151 #if defined __stub_localtime_r || defined __stub___localtime_r
41152 choke me
41153 #endif
41154
41155 int
41156 main ()
41157 {
41158 return localtime_r ();
41159 ;
41160 return 0;
41161 }
41162 _ACEOF
41163 rm -f conftest.$ac_objext conftest$ac_exeext
41164 if { (ac_try="$ac_link"
41165 case "(($ac_try" in
41166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41167 *) ac_try_echo=$ac_try;;
41168 esac
41169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41170 (eval "$ac_link") 2>conftest.er1
41171 ac_status=$?
41172 grep -v '^ *+' conftest.er1 >conftest.err
41173 rm -f conftest.er1
41174 cat conftest.err >&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } && {
41177 test -z "$ac_c_werror_flag" ||
41178 test ! -s conftest.err
41179 } && test -s conftest$ac_exeext &&
41180 $as_test_x conftest$ac_exeext; then
41181 ac_cv_func_localtime_r=yes
41182 else
41183 echo "$as_me: failed program was:" >&5
41184 sed 's/^/| /' conftest.$ac_ext >&5
41185
41186 ac_cv_func_localtime_r=no
41187 fi
41188
41189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41190 conftest$ac_exeext conftest.$ac_ext
41191 fi
41192 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41193 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41194 if test $ac_cv_func_localtime_r = yes; then
41195 cat >>confdefs.h <<\_ACEOF
41196 #define HAVE_LOCALTIME_R 1
41197 _ACEOF
41198
41199 fi
41200
41201 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41202 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41203 if test "${ac_cv_func_gmtime_r+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41205 else
41206 cat >conftest.$ac_ext <<_ACEOF
41207 /* confdefs.h. */
41208 _ACEOF
41209 cat confdefs.h >>conftest.$ac_ext
41210 cat >>conftest.$ac_ext <<_ACEOF
41211 /* end confdefs.h. */
41212 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41214 #define gmtime_r innocuous_gmtime_r
41215
41216 /* System header to define __stub macros and hopefully few prototypes,
41217 which can conflict with char gmtime_r (); below.
41218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41219 <limits.h> exists even on freestanding compilers. */
41220
41221 #ifdef __STDC__
41222 # include <limits.h>
41223 #else
41224 # include <assert.h>
41225 #endif
41226
41227 #undef gmtime_r
41228
41229 /* Override any GCC internal prototype to avoid an error.
41230 Use char because int might match the return type of a GCC
41231 builtin and then its argument prototype would still apply. */
41232 #ifdef __cplusplus
41233 extern "C"
41234 #endif
41235 char gmtime_r ();
41236 /* The GNU C library defines this for functions which it implements
41237 to always fail with ENOSYS. Some functions are actually named
41238 something starting with __ and the normal name is an alias. */
41239 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41240 choke me
41241 #endif
41242
41243 int
41244 main ()
41245 {
41246 return gmtime_r ();
41247 ;
41248 return 0;
41249 }
41250 _ACEOF
41251 rm -f conftest.$ac_objext conftest$ac_exeext
41252 if { (ac_try="$ac_link"
41253 case "(($ac_try" in
41254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41255 *) ac_try_echo=$ac_try;;
41256 esac
41257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41258 (eval "$ac_link") 2>conftest.er1
41259 ac_status=$?
41260 grep -v '^ *+' conftest.er1 >conftest.err
41261 rm -f conftest.er1
41262 cat conftest.err >&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); } && {
41265 test -z "$ac_c_werror_flag" ||
41266 test ! -s conftest.err
41267 } && test -s conftest$ac_exeext &&
41268 $as_test_x conftest$ac_exeext; then
41269 ac_cv_func_gmtime_r=yes
41270 else
41271 echo "$as_me: failed program was:" >&5
41272 sed 's/^/| /' conftest.$ac_ext >&5
41273
41274 ac_cv_func_gmtime_r=no
41275 fi
41276
41277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41278 conftest$ac_exeext conftest.$ac_ext
41279 fi
41280 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41281 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41282 if test $ac_cv_func_gmtime_r = yes; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define HAVE_GMTIME_R 1
41285 _ACEOF
41286
41287 fi
41288
41289
41290
41291
41292 ac_ext=c
41293 ac_cpp='$CPP $CPPFLAGS'
41294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41297
41298 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41299 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41300
41301 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41303 else
41304
41305
41306 ################################################################
41307
41308 ac_cv_func_which_gethostbyname_r=unknown
41309
41310 #
41311 # ONE ARGUMENT (sanity check)
41312 #
41313
41314 # This should fail, as there is no variant of gethostbyname_r() that takes
41315 # a single argument. If it actually compiles, then we can assume that
41316 # netdb.h is not declaring the function, and the compiler is thereby
41317 # assuming an implicit prototype. In which case, we're out of luck.
41318 #
41319 cat >conftest.$ac_ext <<_ACEOF
41320 /* confdefs.h. */
41321 _ACEOF
41322 cat confdefs.h >>conftest.$ac_ext
41323 cat >>conftest.$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41325 #include <netdb.h>
41326 int
41327 main ()
41328 {
41329
41330 char *name = "www.gnu.org";
41331 (void)gethostbyname_r(name) /* ; */
41332
41333 ;
41334 return 0;
41335 }
41336 _ACEOF
41337 rm -f conftest.$ac_objext
41338 if { (ac_try="$ac_compile"
41339 case "(($ac_try" in
41340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41341 *) ac_try_echo=$ac_try;;
41342 esac
41343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41344 (eval "$ac_compile") 2>conftest.er1
41345 ac_status=$?
41346 grep -v '^ *+' conftest.er1 >conftest.err
41347 rm -f conftest.er1
41348 cat conftest.err >&5
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); } && {
41351 test -z "$ac_c_werror_flag" ||
41352 test ! -s conftest.err
41353 } && test -s conftest.$ac_objext; then
41354 ac_cv_func_which_gethostbyname_r=no
41355 else
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.$ac_ext >&5
41358
41359
41360 fi
41361
41362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41363
41364 #
41365 # SIX ARGUMENTS
41366 # (e.g. Linux)
41367 #
41368
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41370
41371 cat >conftest.$ac_ext <<_ACEOF
41372 /* confdefs.h. */
41373 _ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 #include <netdb.h>
41378 int
41379 main ()
41380 {
41381
41382 char *name = "www.gnu.org";
41383 struct hostent ret, *retp;
41384 char buf[1024];
41385 int buflen = 1024;
41386 int my_h_errno;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41388
41389 ;
41390 return 0;
41391 }
41392 _ACEOF
41393 rm -f conftest.$ac_objext
41394 if { (ac_try="$ac_compile"
41395 case "(($ac_try" in
41396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41397 *) ac_try_echo=$ac_try;;
41398 esac
41399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41400 (eval "$ac_compile") 2>conftest.er1
41401 ac_status=$?
41402 grep -v '^ *+' conftest.er1 >conftest.err
41403 rm -f conftest.er1
41404 cat conftest.err >&5
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); } && {
41407 test -z "$ac_c_werror_flag" ||
41408 test ! -s conftest.err
41409 } && test -s conftest.$ac_objext; then
41410 ac_cv_func_which_gethostbyname_r=six
41411 else
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41414
41415
41416 fi
41417
41418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41419
41420 fi
41421
41422 #
41423 # FIVE ARGUMENTS
41424 # (e.g. Solaris)
41425 #
41426
41427 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41428
41429 cat >conftest.$ac_ext <<_ACEOF
41430 /* confdefs.h. */
41431 _ACEOF
41432 cat confdefs.h >>conftest.$ac_ext
41433 cat >>conftest.$ac_ext <<_ACEOF
41434 /* end confdefs.h. */
41435 #include <netdb.h>
41436 int
41437 main ()
41438 {
41439
41440 char *name = "www.gnu.org";
41441 struct hostent ret;
41442 char buf[1024];
41443 int buflen = 1024;
41444 int my_h_errno;
41445 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41446
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext
41452 if { (ac_try="$ac_compile"
41453 case "(($ac_try" in
41454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41455 *) ac_try_echo=$ac_try;;
41456 esac
41457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41458 (eval "$ac_compile") 2>conftest.er1
41459 ac_status=$?
41460 grep -v '^ *+' conftest.er1 >conftest.err
41461 rm -f conftest.er1
41462 cat conftest.err >&5
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); } && {
41465 test -z "$ac_c_werror_flag" ||
41466 test ! -s conftest.err
41467 } && test -s conftest.$ac_objext; then
41468 ac_cv_func_which_gethostbyname_r=five
41469 else
41470 echo "$as_me: failed program was:" >&5
41471 sed 's/^/| /' conftest.$ac_ext >&5
41472
41473
41474 fi
41475
41476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477
41478 fi
41479
41480 #
41481 # THREE ARGUMENTS
41482 # (e.g. AIX, HP-UX, Tru64)
41483 #
41484
41485 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41486
41487 cat >conftest.$ac_ext <<_ACEOF
41488 /* confdefs.h. */
41489 _ACEOF
41490 cat confdefs.h >>conftest.$ac_ext
41491 cat >>conftest.$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41493 #include <netdb.h>
41494 int
41495 main ()
41496 {
41497
41498 char *name = "www.gnu.org";
41499 struct hostent ret;
41500 struct hostent_data data;
41501 (void)gethostbyname_r(name, &ret, &data) /* ; */
41502
41503 ;
41504 return 0;
41505 }
41506 _ACEOF
41507 rm -f conftest.$ac_objext
41508 if { (ac_try="$ac_compile"
41509 case "(($ac_try" in
41510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41511 *) ac_try_echo=$ac_try;;
41512 esac
41513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41514 (eval "$ac_compile") 2>conftest.er1
41515 ac_status=$?
41516 grep -v '^ *+' conftest.er1 >conftest.err
41517 rm -f conftest.er1
41518 cat conftest.err >&5
41519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41520 (exit $ac_status); } && {
41521 test -z "$ac_c_werror_flag" ||
41522 test ! -s conftest.err
41523 } && test -s conftest.$ac_objext; then
41524 ac_cv_func_which_gethostbyname_r=three
41525 else
41526 echo "$as_me: failed program was:" >&5
41527 sed 's/^/| /' conftest.$ac_ext >&5
41528
41529
41530 fi
41531
41532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41533
41534 fi
41535
41536 ################################################################
41537
41538
41539 fi
41540
41541 case "$ac_cv_func_which_gethostbyname_r" in
41542 three)
41543 { echo "$as_me:$LINENO: result: three" >&5
41544 echo "${ECHO_T}three" >&6; }
41545 cat >>confdefs.h <<\_ACEOF
41546 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41547 _ACEOF
41548
41549 ;;
41550
41551 five)
41552 { echo "$as_me:$LINENO: result: five" >&5
41553 echo "${ECHO_T}five" >&6; }
41554 cat >>confdefs.h <<\_ACEOF
41555 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41556 _ACEOF
41557
41558 ;;
41559
41560 six)
41561 { echo "$as_me:$LINENO: result: six" >&5
41562 echo "${ECHO_T}six" >&6; }
41563 cat >>confdefs.h <<\_ACEOF
41564 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41565 _ACEOF
41566
41567 ;;
41568
41569 no)
41570 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41571 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41572 ;;
41573
41574 unknown)
41575 { echo "$as_me:$LINENO: result: can't tell" >&5
41576 echo "${ECHO_T}can't tell" >&6; }
41577 ;;
41578
41579 *)
41580 { { echo "$as_me:$LINENO: error: internal error" >&5
41581 echo "$as_me: error: internal error" >&2;}
41582 { (exit 1); exit 1; }; }
41583 ;;
41584 esac
41585
41586 ac_ext=c
41587 ac_cpp='$CPP $CPPFLAGS'
41588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41591
41592
41593
41594 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41595 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41596 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41597 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41598 if test "${ac_cv_func_gethostbyname+set}" = set; then
41599 echo $ECHO_N "(cached) $ECHO_C" >&6
41600 else
41601 cat >conftest.$ac_ext <<_ACEOF
41602 /* confdefs.h. */
41603 _ACEOF
41604 cat confdefs.h >>conftest.$ac_ext
41605 cat >>conftest.$ac_ext <<_ACEOF
41606 /* end confdefs.h. */
41607 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41609 #define gethostbyname innocuous_gethostbyname
41610
41611 /* System header to define __stub macros and hopefully few prototypes,
41612 which can conflict with char gethostbyname (); below.
41613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41614 <limits.h> exists even on freestanding compilers. */
41615
41616 #ifdef __STDC__
41617 # include <limits.h>
41618 #else
41619 # include <assert.h>
41620 #endif
41621
41622 #undef gethostbyname
41623
41624 /* Override any GCC internal prototype to avoid an error.
41625 Use char because int might match the return type of a GCC
41626 builtin and then its argument prototype would still apply. */
41627 #ifdef __cplusplus
41628 extern "C"
41629 #endif
41630 char gethostbyname ();
41631 /* The GNU C library defines this for functions which it implements
41632 to always fail with ENOSYS. Some functions are actually named
41633 something starting with __ and the normal name is an alias. */
41634 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41635 choke me
41636 #endif
41637
41638 int
41639 main ()
41640 {
41641 return gethostbyname ();
41642 ;
41643 return 0;
41644 }
41645 _ACEOF
41646 rm -f conftest.$ac_objext conftest$ac_exeext
41647 if { (ac_try="$ac_link"
41648 case "(($ac_try" in
41649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41650 *) ac_try_echo=$ac_try;;
41651 esac
41652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41653 (eval "$ac_link") 2>conftest.er1
41654 ac_status=$?
41655 grep -v '^ *+' conftest.er1 >conftest.err
41656 rm -f conftest.er1
41657 cat conftest.err >&5
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); } && {
41660 test -z "$ac_c_werror_flag" ||
41661 test ! -s conftest.err
41662 } && test -s conftest$ac_exeext &&
41663 $as_test_x conftest$ac_exeext; then
41664 ac_cv_func_gethostbyname=yes
41665 else
41666 echo "$as_me: failed program was:" >&5
41667 sed 's/^/| /' conftest.$ac_ext >&5
41668
41669 ac_cv_func_gethostbyname=no
41670 fi
41671
41672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41673 conftest$ac_exeext conftest.$ac_ext
41674 fi
41675 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41676 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41677 if test $ac_cv_func_gethostbyname = yes; then
41678 cat >>confdefs.h <<\_ACEOF
41679 #define HAVE_GETHOSTBYNAME 1
41680 _ACEOF
41681
41682 fi
41683
41684 fi
41685
41686 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41687 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41688 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41689 echo $ECHO_N "(cached) $ECHO_C" >&6
41690 else
41691
41692 ac_ext=cpp
41693 ac_cpp='$CXXCPP $CPPFLAGS'
41694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41697
41698
41699 cat >conftest.$ac_ext <<_ACEOF
41700 /* confdefs.h. */
41701 _ACEOF
41702 cat confdefs.h >>conftest.$ac_ext
41703 cat >>conftest.$ac_ext <<_ACEOF
41704 /* end confdefs.h. */
41705 #include <netdb.h>
41706 int
41707 main ()
41708 {
41709
41710 char *name;
41711 char *proto;
41712 struct servent *se, *res;
41713 char buffer[2048];
41714 int buflen = 2048;
41715 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41716
41717 ;
41718 return 0;
41719 }
41720 _ACEOF
41721 rm -f conftest.$ac_objext
41722 if { (ac_try="$ac_compile"
41723 case "(($ac_try" in
41724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41725 *) ac_try_echo=$ac_try;;
41726 esac
41727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41728 (eval "$ac_compile") 2>conftest.er1
41729 ac_status=$?
41730 grep -v '^ *+' conftest.er1 >conftest.err
41731 rm -f conftest.er1
41732 cat conftest.err >&5
41733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734 (exit $ac_status); } && {
41735 test -z "$ac_cxx_werror_flag" ||
41736 test ! -s conftest.err
41737 } && test -s conftest.$ac_objext; then
41738 ac_cv_func_which_getservbyname_r=six
41739 else
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.$ac_ext >&5
41742
41743
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750 #include <netdb.h>
41751 int
41752 main ()
41753 {
41754
41755 char *name;
41756 char *proto;
41757 struct servent *se;
41758 char buffer[2048];
41759 int buflen = 2048;
41760 (void) getservbyname_r(name, proto, se, buffer, buflen)
41761
41762 ;
41763 return 0;
41764 }
41765 _ACEOF
41766 rm -f conftest.$ac_objext
41767 if { (ac_try="$ac_compile"
41768 case "(($ac_try" in
41769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41770 *) ac_try_echo=$ac_try;;
41771 esac
41772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41773 (eval "$ac_compile") 2>conftest.er1
41774 ac_status=$?
41775 grep -v '^ *+' conftest.er1 >conftest.err
41776 rm -f conftest.er1
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } && {
41780 test -z "$ac_cxx_werror_flag" ||
41781 test ! -s conftest.err
41782 } && test -s conftest.$ac_objext; then
41783 ac_cv_func_which_getservbyname_r=five
41784 else
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41787
41788
41789 cat >conftest.$ac_ext <<_ACEOF
41790 /* confdefs.h. */
41791 _ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41795 #include <netdb.h>
41796 int
41797 main ()
41798 {
41799
41800 char *name;
41801 char *proto;
41802 struct servent *se;
41803 struct servent_data data;
41804 (void) getservbyname_r(name, proto, se, &data);
41805
41806 ;
41807 return 0;
41808 }
41809 _ACEOF
41810 rm -f conftest.$ac_objext
41811 if { (ac_try="$ac_compile"
41812 case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41814 *) ac_try_echo=$ac_try;;
41815 esac
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_compile") 2>conftest.er1
41818 ac_status=$?
41819 grep -v '^ *+' conftest.er1 >conftest.err
41820 rm -f conftest.er1
41821 cat conftest.err >&5
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); } && {
41824 test -z "$ac_cxx_werror_flag" ||
41825 test ! -s conftest.err
41826 } && test -s conftest.$ac_objext; then
41827 ac_cv_func_which_getservbyname_r=four
41828 else
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41831
41832 ac_cv_func_which_getservbyname_r=no
41833
41834 fi
41835
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837
41838
41839 fi
41840
41841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842
41843
41844 fi
41845
41846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41847 ac_ext=c
41848 ac_cpp='$CPP $CPPFLAGS'
41849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41852
41853
41854
41855 fi
41856 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41857 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41858
41859 if test $ac_cv_func_which_getservbyname_r = six; then
41860 cat >>confdefs.h <<\_ACEOF
41861 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41862 _ACEOF
41863
41864 elif test $ac_cv_func_which_getservbyname_r = five; then
41865 cat >>confdefs.h <<\_ACEOF
41866 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41867 _ACEOF
41868
41869 elif test $ac_cv_func_which_getservbyname_r = four; then
41870 cat >>confdefs.h <<\_ACEOF
41871 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41872 _ACEOF
41873
41874 fi
41875
41876
41877 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41878 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41879
41880 for ac_func in getservbyname
41881 do
41882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41883 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41885 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 else
41888 cat >conftest.$ac_ext <<_ACEOF
41889 /* confdefs.h. */
41890 _ACEOF
41891 cat confdefs.h >>conftest.$ac_ext
41892 cat >>conftest.$ac_ext <<_ACEOF
41893 /* end confdefs.h. */
41894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41896 #define $ac_func innocuous_$ac_func
41897
41898 /* System header to define __stub macros and hopefully few prototypes,
41899 which can conflict with char $ac_func (); below.
41900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41901 <limits.h> exists even on freestanding compilers. */
41902
41903 #ifdef __STDC__
41904 # include <limits.h>
41905 #else
41906 # include <assert.h>
41907 #endif
41908
41909 #undef $ac_func
41910
41911 /* Override any GCC internal prototype to avoid an error.
41912 Use char because int might match the return type of a GCC
41913 builtin and then its argument prototype would still apply. */
41914 #ifdef __cplusplus
41915 extern "C"
41916 #endif
41917 char $ac_func ();
41918 /* The GNU C library defines this for functions which it implements
41919 to always fail with ENOSYS. Some functions are actually named
41920 something starting with __ and the normal name is an alias. */
41921 #if defined __stub_$ac_func || defined __stub___$ac_func
41922 choke me
41923 #endif
41924
41925 int
41926 main ()
41927 {
41928 return $ac_func ();
41929 ;
41930 return 0;
41931 }
41932 _ACEOF
41933 rm -f conftest.$ac_objext conftest$ac_exeext
41934 if { (ac_try="$ac_link"
41935 case "(($ac_try" in
41936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41937 *) ac_try_echo=$ac_try;;
41938 esac
41939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41940 (eval "$ac_link") 2>conftest.er1
41941 ac_status=$?
41942 grep -v '^ *+' conftest.er1 >conftest.err
41943 rm -f conftest.er1
41944 cat conftest.err >&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); } && {
41947 test -z "$ac_c_werror_flag" ||
41948 test ! -s conftest.err
41949 } && test -s conftest$ac_exeext &&
41950 $as_test_x conftest$ac_exeext; then
41951 eval "$as_ac_var=yes"
41952 else
41953 echo "$as_me: failed program was:" >&5
41954 sed 's/^/| /' conftest.$ac_ext >&5
41955
41956 eval "$as_ac_var=no"
41957 fi
41958
41959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41960 conftest$ac_exeext conftest.$ac_ext
41961 fi
41962 ac_res=`eval echo '${'$as_ac_var'}'`
41963 { echo "$as_me:$LINENO: result: $ac_res" >&5
41964 echo "${ECHO_T}$ac_res" >&6; }
41965 if test `eval echo '${'$as_ac_var'}'` = yes; then
41966 cat >>confdefs.h <<_ACEOF
41967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41968 _ACEOF
41969 cat >>confdefs.h <<\_ACEOF
41970 #define HAVE_GETSERVBYNAME 1
41971 _ACEOF
41972
41973 fi
41974 done
41975
41976 fi
41977
41978 if test "$wxUSE_THREADS" = "yes"; then
41979 cat >>confdefs.h <<\_ACEOF
41980 #define wxUSE_THREADS 1
41981 _ACEOF
41982
41983
41984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41985 else
41986 if test "$wx_cv_func_strtok_r" = "yes"; then
41987 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41988 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41989 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41990 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41991 { echo "$as_me:$LINENO: result: yes" >&5
41992 echo "${ECHO_T}yes" >&6; }
41993 else
41994 { echo "$as_me:$LINENO: result: no" >&5
41995 echo "${ECHO_T}no" >&6; }
41996 fi
41997 fi
41998 fi
41999
42000 if test "$WXGTK2" = 1 ; then
42001 cat >>confdefs.h <<_ACEOF
42002 #define __WXGTK20__ $WXGTK2
42003 _ACEOF
42004
42005 WXGTK12=1
42006 fi
42007
42008 if test "$WXGTK12" = 1 ; then
42009 cat >>confdefs.h <<_ACEOF
42010 #define __WXGTK12__ $WXGTK12
42011 _ACEOF
42012
42013 fi
42014
42015 if test "$WXGTK127" = 1 ; then
42016 cat >>confdefs.h <<_ACEOF
42017 #define __WXGTK127__ $WXGTK127
42018 _ACEOF
42019
42020 fi
42021
42022 if test "$WXGPE" = 1 ; then
42023 cat >>confdefs.h <<_ACEOF
42024 #define __WXGPE__ $WXGPE
42025 _ACEOF
42026
42027 fi
42028
42029 DEBUG_CFLAGS=
42030 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42031 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42032 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42033 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42034 DEBUG_CFLAGS="-g"
42035 fi
42036
42037 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42038 wxUSE_DEBUG_INFO=yes
42039 if test "$GCC" = yes; then
42040 DEBUG_CFLAGS="-ggdb"
42041 fi
42042 fi
42043
42044 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42045 if test "$wxUSE_GTK" = 1 ; then
42046 if test "x$wxGTK_VERSION" = "x1" ; then
42047 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42048 fi
42049 fi
42050 fi
42051
42052 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42053 cat >>confdefs.h <<\_ACEOF
42054 #define wxUSE_MEMORY_TRACING 1
42055 _ACEOF
42056
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42059 _ACEOF
42060
42061 cat >>confdefs.h <<\_ACEOF
42062 #define wxUSE_DEBUG_NEW_ALWAYS 1
42063 _ACEOF
42064
42065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42066 fi
42067
42068 if test "$wxUSE_DMALLOC" = "yes" ; then
42069 DMALLOC_LIBS="-ldmallocthcxx"
42070 fi
42071
42072 PROFILE_FLAGS=
42073 if test "$wxUSE_PROFILE" = "yes" ; then
42074 PROFILE_FLAGS=" -pg"
42075 fi
42076
42077 if test "$GCC" = "yes" ; then
42078 if test "$wxUSE_NO_RTTI" = "yes" ; then
42079 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42080 fi
42081 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42082 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42083 fi
42084 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42085 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42086 fi
42087
42088 case "${host}" in
42089 powerpc*-*-aix* )
42090 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42091 ;;
42092 *-hppa* )
42093 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42094 ;;
42095 esac
42096 fi
42097
42098 OPTIMISE_CFLAGS=
42099 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42100 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42101 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42102 else
42103 if test "$wxUSE_OPTIMISE" = "no" ; then
42104 if test "$GCC" = yes ; then
42105 OPTIMISE_CFLAGS="-O0"
42106 fi
42107 else
42108 if test "$GCC" = yes ; then
42109 case "${host}" in
42110 *-pc-os2_emx | *-pc-os2-emx )
42111 OPTIMISE_CFLAGS="-O2"
42112 ;;
42113 *)
42114 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42115 ;;
42116 esac
42117 else
42118 OPTIMISE_CFLAGS="-O"
42119 fi
42120 fi
42121 fi
42122
42123
42124 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42125 cat >>confdefs.h <<\_ACEOF
42126 #define WXWIN_COMPATIBILITY_2_6 1
42127 _ACEOF
42128
42129
42130 WXWIN_COMPATIBILITY_2_8="yes"
42131 fi
42132
42133 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42134 cat >>confdefs.h <<\_ACEOF
42135 #define WXWIN_COMPATIBILITY_2_8 1
42136 _ACEOF
42137
42138 fi
42139
42140
42141 if test "$wxUSE_GUI" = "yes"; then
42142 cat >>confdefs.h <<\_ACEOF
42143 #define wxUSE_GUI 1
42144 _ACEOF
42145
42146
42147 fi
42148
42149
42150 if test "$wxUSE_UNIX" = "yes"; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_UNIX 1
42153 _ACEOF
42154
42155 fi
42156
42157
42158 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42159
42160 HAVE_DL_FUNCS=0
42161 HAVE_SHL_FUNCS=0
42162 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42163 if test "$USE_DOS" = 1; then
42164 HAVE_DL_FUNCS=0
42165 else
42166
42167 for ac_func in dlopen
42168 do
42169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 else
42175 cat >conftest.$ac_ext <<_ACEOF
42176 /* confdefs.h. */
42177 _ACEOF
42178 cat confdefs.h >>conftest.$ac_ext
42179 cat >>conftest.$ac_ext <<_ACEOF
42180 /* end confdefs.h. */
42181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42183 #define $ac_func innocuous_$ac_func
42184
42185 /* System header to define __stub macros and hopefully few prototypes,
42186 which can conflict with char $ac_func (); below.
42187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42188 <limits.h> exists even on freestanding compilers. */
42189
42190 #ifdef __STDC__
42191 # include <limits.h>
42192 #else
42193 # include <assert.h>
42194 #endif
42195
42196 #undef $ac_func
42197
42198 /* Override any GCC internal prototype to avoid an error.
42199 Use char because int might match the return type of a GCC
42200 builtin and then its argument prototype would still apply. */
42201 #ifdef __cplusplus
42202 extern "C"
42203 #endif
42204 char $ac_func ();
42205 /* The GNU C library defines this for functions which it implements
42206 to always fail with ENOSYS. Some functions are actually named
42207 something starting with __ and the normal name is an alias. */
42208 #if defined __stub_$ac_func || defined __stub___$ac_func
42209 choke me
42210 #endif
42211
42212 int
42213 main ()
42214 {
42215 return $ac_func ();
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 rm -f conftest.$ac_objext conftest$ac_exeext
42221 if { (ac_try="$ac_link"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42224 *) ac_try_echo=$ac_try;;
42225 esac
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_link") 2>conftest.er1
42228 ac_status=$?
42229 grep -v '^ *+' conftest.er1 >conftest.err
42230 rm -f conftest.er1
42231 cat conftest.err >&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_c_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest$ac_exeext &&
42237 $as_test_x conftest$ac_exeext; then
42238 eval "$as_ac_var=yes"
42239 else
42240 echo "$as_me: failed program was:" >&5
42241 sed 's/^/| /' conftest.$ac_ext >&5
42242
42243 eval "$as_ac_var=no"
42244 fi
42245
42246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42247 conftest$ac_exeext conftest.$ac_ext
42248 fi
42249 ac_res=`eval echo '${'$as_ac_var'}'`
42250 { echo "$as_me:$LINENO: result: $ac_res" >&5
42251 echo "${ECHO_T}$ac_res" >&6; }
42252 if test `eval echo '${'$as_ac_var'}'` = yes; then
42253 cat >>confdefs.h <<_ACEOF
42254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42255 _ACEOF
42256
42257 cat >>confdefs.h <<\_ACEOF
42258 #define HAVE_DLOPEN 1
42259 _ACEOF
42260
42261 HAVE_DL_FUNCS=1
42262
42263 else
42264
42265 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42266 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 else
42270 ac_check_lib_save_LIBS=$LIBS
42271 LIBS="-ldl $LIBS"
42272 cat >conftest.$ac_ext <<_ACEOF
42273 /* confdefs.h. */
42274 _ACEOF
42275 cat confdefs.h >>conftest.$ac_ext
42276 cat >>conftest.$ac_ext <<_ACEOF
42277 /* end confdefs.h. */
42278
42279 /* Override any GCC internal prototype to avoid an error.
42280 Use char because int might match the return type of a GCC
42281 builtin and then its argument prototype would still apply. */
42282 #ifdef __cplusplus
42283 extern "C"
42284 #endif
42285 char dlopen ();
42286 int
42287 main ()
42288 {
42289 return dlopen ();
42290 ;
42291 return 0;
42292 }
42293 _ACEOF
42294 rm -f conftest.$ac_objext conftest$ac_exeext
42295 if { (ac_try="$ac_link"
42296 case "(($ac_try" in
42297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42298 *) ac_try_echo=$ac_try;;
42299 esac
42300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42301 (eval "$ac_link") 2>conftest.er1
42302 ac_status=$?
42303 grep -v '^ *+' conftest.er1 >conftest.err
42304 rm -f conftest.er1
42305 cat conftest.err >&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); } && {
42308 test -z "$ac_c_werror_flag" ||
42309 test ! -s conftest.err
42310 } && test -s conftest$ac_exeext &&
42311 $as_test_x conftest$ac_exeext; then
42312 ac_cv_lib_dl_dlopen=yes
42313 else
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.$ac_ext >&5
42316
42317 ac_cv_lib_dl_dlopen=no
42318 fi
42319
42320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42321 conftest$ac_exeext conftest.$ac_ext
42322 LIBS=$ac_check_lib_save_LIBS
42323 fi
42324 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42325 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42326 if test $ac_cv_lib_dl_dlopen = yes; then
42327
42328 cat >>confdefs.h <<\_ACEOF
42329 #define HAVE_DLOPEN 1
42330 _ACEOF
42331
42332 HAVE_DL_FUNCS=1
42333 DL_LINK=" -ldl$DL_LINK"
42334
42335 else
42336
42337
42338 for ac_func in shl_load
42339 do
42340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 else
42346 cat >conftest.$ac_ext <<_ACEOF
42347 /* confdefs.h. */
42348 _ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42354 #define $ac_func innocuous_$ac_func
42355
42356 /* System header to define __stub macros and hopefully few prototypes,
42357 which can conflict with char $ac_func (); below.
42358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42359 <limits.h> exists even on freestanding compilers. */
42360
42361 #ifdef __STDC__
42362 # include <limits.h>
42363 #else
42364 # include <assert.h>
42365 #endif
42366
42367 #undef $ac_func
42368
42369 /* Override any GCC internal prototype to avoid an error.
42370 Use char because int might match the return type of a GCC
42371 builtin and then its argument prototype would still apply. */
42372 #ifdef __cplusplus
42373 extern "C"
42374 #endif
42375 char $ac_func ();
42376 /* The GNU C library defines this for functions which it implements
42377 to always fail with ENOSYS. Some functions are actually named
42378 something starting with __ and the normal name is an alias. */
42379 #if defined __stub_$ac_func || defined __stub___$ac_func
42380 choke me
42381 #endif
42382
42383 int
42384 main ()
42385 {
42386 return $ac_func ();
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 rm -f conftest.$ac_objext conftest$ac_exeext
42392 if { (ac_try="$ac_link"
42393 case "(($ac_try" in
42394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42395 *) ac_try_echo=$ac_try;;
42396 esac
42397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42398 (eval "$ac_link") 2>conftest.er1
42399 ac_status=$?
42400 grep -v '^ *+' conftest.er1 >conftest.err
42401 rm -f conftest.er1
42402 cat conftest.err >&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } && {
42405 test -z "$ac_c_werror_flag" ||
42406 test ! -s conftest.err
42407 } && test -s conftest$ac_exeext &&
42408 $as_test_x conftest$ac_exeext; then
42409 eval "$as_ac_var=yes"
42410 else
42411 echo "$as_me: failed program was:" >&5
42412 sed 's/^/| /' conftest.$ac_ext >&5
42413
42414 eval "$as_ac_var=no"
42415 fi
42416
42417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42418 conftest$ac_exeext conftest.$ac_ext
42419 fi
42420 ac_res=`eval echo '${'$as_ac_var'}'`
42421 { echo "$as_me:$LINENO: result: $ac_res" >&5
42422 echo "${ECHO_T}$ac_res" >&6; }
42423 if test `eval echo '${'$as_ac_var'}'` = yes; then
42424 cat >>confdefs.h <<_ACEOF
42425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42426 _ACEOF
42427
42428 cat >>confdefs.h <<\_ACEOF
42429 #define HAVE_SHL_LOAD 1
42430 _ACEOF
42431
42432 HAVE_SHL_FUNCS=1
42433
42434 else
42435
42436 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42437 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42438 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42439 echo $ECHO_N "(cached) $ECHO_C" >&6
42440 else
42441 ac_check_lib_save_LIBS=$LIBS
42442 LIBS="-lshl_load $LIBS"
42443 cat >conftest.$ac_ext <<_ACEOF
42444 /* confdefs.h. */
42445 _ACEOF
42446 cat confdefs.h >>conftest.$ac_ext
42447 cat >>conftest.$ac_ext <<_ACEOF
42448 /* end confdefs.h. */
42449
42450 /* Override any GCC internal prototype to avoid an error.
42451 Use char because int might match the return type of a GCC
42452 builtin and then its argument prototype would still apply. */
42453 #ifdef __cplusplus
42454 extern "C"
42455 #endif
42456 char dld ();
42457 int
42458 main ()
42459 {
42460 return dld ();
42461 ;
42462 return 0;
42463 }
42464 _ACEOF
42465 rm -f conftest.$ac_objext conftest$ac_exeext
42466 if { (ac_try="$ac_link"
42467 case "(($ac_try" in
42468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42469 *) ac_try_echo=$ac_try;;
42470 esac
42471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42472 (eval "$ac_link") 2>conftest.er1
42473 ac_status=$?
42474 grep -v '^ *+' conftest.er1 >conftest.err
42475 rm -f conftest.er1
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } && {
42479 test -z "$ac_c_werror_flag" ||
42480 test ! -s conftest.err
42481 } && test -s conftest$ac_exeext &&
42482 $as_test_x conftest$ac_exeext; then
42483 ac_cv_lib_shl_load_dld=yes
42484 else
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42487
42488 ac_cv_lib_shl_load_dld=no
42489 fi
42490
42491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42492 conftest$ac_exeext conftest.$ac_ext
42493 LIBS=$ac_check_lib_save_LIBS
42494 fi
42495 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42496 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42497 if test $ac_cv_lib_shl_load_dld = yes; then
42498
42499 HAVE_SHL_FUNCS=1
42500 DL_LINK=" -ldld$DL_LINK"
42501
42502 fi
42503
42504
42505 fi
42506 done
42507
42508
42509 fi
42510
42511
42512 fi
42513 done
42514
42515
42516 if test "$HAVE_DL_FUNCS" = 1; then
42517
42518 for ac_func in dlerror
42519 do
42520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42521 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42525 else
42526 cat >conftest.$ac_ext <<_ACEOF
42527 /* confdefs.h. */
42528 _ACEOF
42529 cat confdefs.h >>conftest.$ac_ext
42530 cat >>conftest.$ac_ext <<_ACEOF
42531 /* end confdefs.h. */
42532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42534 #define $ac_func innocuous_$ac_func
42535
42536 /* System header to define __stub macros and hopefully few prototypes,
42537 which can conflict with char $ac_func (); below.
42538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42539 <limits.h> exists even on freestanding compilers. */
42540
42541 #ifdef __STDC__
42542 # include <limits.h>
42543 #else
42544 # include <assert.h>
42545 #endif
42546
42547 #undef $ac_func
42548
42549 /* Override any GCC internal prototype to avoid an error.
42550 Use char because int might match the return type of a GCC
42551 builtin and then its argument prototype would still apply. */
42552 #ifdef __cplusplus
42553 extern "C"
42554 #endif
42555 char $ac_func ();
42556 /* The GNU C library defines this for functions which it implements
42557 to always fail with ENOSYS. Some functions are actually named
42558 something starting with __ and the normal name is an alias. */
42559 #if defined __stub_$ac_func || defined __stub___$ac_func
42560 choke me
42561 #endif
42562
42563 int
42564 main ()
42565 {
42566 return $ac_func ();
42567 ;
42568 return 0;
42569 }
42570 _ACEOF
42571 rm -f conftest.$ac_objext conftest$ac_exeext
42572 if { (ac_try="$ac_link"
42573 case "(($ac_try" in
42574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42575 *) ac_try_echo=$ac_try;;
42576 esac
42577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42578 (eval "$ac_link") 2>conftest.er1
42579 ac_status=$?
42580 grep -v '^ *+' conftest.er1 >conftest.err
42581 rm -f conftest.er1
42582 cat conftest.err >&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && {
42585 test -z "$ac_c_werror_flag" ||
42586 test ! -s conftest.err
42587 } && test -s conftest$ac_exeext &&
42588 $as_test_x conftest$ac_exeext; then
42589 eval "$as_ac_var=yes"
42590 else
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.$ac_ext >&5
42593
42594 eval "$as_ac_var=no"
42595 fi
42596
42597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42598 conftest$ac_exeext conftest.$ac_ext
42599 fi
42600 ac_res=`eval echo '${'$as_ac_var'}'`
42601 { echo "$as_me:$LINENO: result: $ac_res" >&5
42602 echo "${ECHO_T}$ac_res" >&6; }
42603 if test `eval echo '${'$as_ac_var'}'` = yes; then
42604 cat >>confdefs.h <<_ACEOF
42605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42606 _ACEOF
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_DLERROR 1
42609 _ACEOF
42610
42611 else
42612
42613 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42614 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42615 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 else
42618 ac_check_lib_save_LIBS=$LIBS
42619 LIBS="-ldl $LIBS"
42620 cat >conftest.$ac_ext <<_ACEOF
42621 /* confdefs.h. */
42622 _ACEOF
42623 cat confdefs.h >>conftest.$ac_ext
42624 cat >>conftest.$ac_ext <<_ACEOF
42625 /* end confdefs.h. */
42626
42627 /* Override any GCC internal prototype to avoid an error.
42628 Use char because int might match the return type of a GCC
42629 builtin and then its argument prototype would still apply. */
42630 #ifdef __cplusplus
42631 extern "C"
42632 #endif
42633 char dlerror ();
42634 int
42635 main ()
42636 {
42637 return dlerror ();
42638 ;
42639 return 0;
42640 }
42641 _ACEOF
42642 rm -f conftest.$ac_objext conftest$ac_exeext
42643 if { (ac_try="$ac_link"
42644 case "(($ac_try" in
42645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42647 esac
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_link") 2>conftest.er1
42650 ac_status=$?
42651 grep -v '^ *+' conftest.er1 >conftest.err
42652 rm -f conftest.er1
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_c_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest$ac_exeext &&
42659 $as_test_x conftest$ac_exeext; then
42660 ac_cv_lib_dl_dlerror=yes
42661 else
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42664
42665 ac_cv_lib_dl_dlerror=no
42666 fi
42667
42668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42669 conftest$ac_exeext conftest.$ac_ext
42670 LIBS=$ac_check_lib_save_LIBS
42671 fi
42672 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42673 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42674 if test $ac_cv_lib_dl_dlerror = yes; then
42675 cat >>confdefs.h <<\_ACEOF
42676 #define HAVE_DLERROR 1
42677 _ACEOF
42678
42679 fi
42680
42681
42682
42683 fi
42684 done
42685
42686 fi
42687 fi
42688
42689 if test "$USE_DARWIN" = 1; then
42690 HAVE_DL_FUNCS=1
42691 fi
42692
42693 if test "$HAVE_DL_FUNCS" = 0; then
42694 if test "$HAVE_SHL_FUNCS" = 0; then
42695 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42696 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42697 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42698 wxUSE_DYNAMIC_LOADER=no
42699 wxUSE_DYNLIB_CLASS=no
42700 else
42701 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42702 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42703 fi
42704 fi
42705 fi
42706 fi
42707 fi
42708
42709 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_DYNAMIC_LOADER 1
42712 _ACEOF
42713
42714 fi
42715 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42716 cat >>confdefs.h <<\_ACEOF
42717 #define wxUSE_DYNLIB_CLASS 1
42718 _ACEOF
42719
42720 fi
42721
42722
42723
42724 if test "$wxUSE_PLUGINS" = "yes" ; then
42725 if test "$wxUSE_SHARED" = "no" ; then
42726 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42727 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42728 wxUSE_PLUGINS=no
42729 fi
42730 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42731 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42732 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42733 wxUSE_PLUGINS=no
42734 fi
42735 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42736 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42737 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42738 wxUSE_PLUGINS=no
42739 fi
42740 if test "$wxUSE_PLUGINS" = "yes" ; then
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_PLUGINS 1
42743 _ACEOF
42744
42745 fi
42746 fi
42747
42748
42749 if test "$wxUSE_FSWATCHER" = "yes"; then
42750 if test "$wxUSE_MSW" != "1"; then
42751 if test "$wxUSE_UNIX" = "yes"; then
42752
42753 for ac_header in sys/inotify.h
42754 do
42755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42759 echo $ECHO_N "(cached) $ECHO_C" >&6
42760 else
42761 cat >conftest.$ac_ext <<_ACEOF
42762 /* confdefs.h. */
42763 _ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767 $ac_includes_default
42768
42769 #include <$ac_header>
42770 _ACEOF
42771 rm -f conftest.$ac_objext
42772 if { (ac_try="$ac_compile"
42773 case "(($ac_try" in
42774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42776 esac
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_compile") 2>conftest.er1
42779 ac_status=$?
42780 grep -v '^ *+' conftest.er1 >conftest.err
42781 rm -f conftest.er1
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest.$ac_objext; then
42788 eval "$as_ac_Header=yes"
42789 else
42790 echo "$as_me: failed program was:" >&5
42791 sed 's/^/| /' conftest.$ac_ext >&5
42792
42793 eval "$as_ac_Header=no"
42794 fi
42795
42796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797 fi
42798 ac_res=`eval echo '${'$as_ac_Header'}'`
42799 { echo "$as_me:$LINENO: result: $ac_res" >&5
42800 echo "${ECHO_T}$ac_res" >&6; }
42801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42802 cat >>confdefs.h <<_ACEOF
42803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42804 _ACEOF
42805
42806 fi
42807
42808 done
42809
42810 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42811 cat >>confdefs.h <<\_ACEOF
42812 #define wxHAS_INOTIFY 1
42813 _ACEOF
42814
42815 else
42816
42817 for ac_header in sys/event.h
42818 do
42819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 else
42825 cat >conftest.$ac_ext <<_ACEOF
42826 /* confdefs.h. */
42827 _ACEOF
42828 cat confdefs.h >>conftest.$ac_ext
42829 cat >>conftest.$ac_ext <<_ACEOF
42830 /* end confdefs.h. */
42831 $ac_includes_default
42832
42833 #include <$ac_header>
42834 _ACEOF
42835 rm -f conftest.$ac_objext
42836 if { (ac_try="$ac_compile"
42837 case "(($ac_try" in
42838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42839 *) ac_try_echo=$ac_try;;
42840 esac
42841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42842 (eval "$ac_compile") 2>conftest.er1
42843 ac_status=$?
42844 grep -v '^ *+' conftest.er1 >conftest.err
42845 rm -f conftest.er1
42846 cat conftest.err >&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } && {
42849 test -z "$ac_c_werror_flag" ||
42850 test ! -s conftest.err
42851 } && test -s conftest.$ac_objext; then
42852 eval "$as_ac_Header=yes"
42853 else
42854 echo "$as_me: failed program was:" >&5
42855 sed 's/^/| /' conftest.$ac_ext >&5
42856
42857 eval "$as_ac_Header=no"
42858 fi
42859
42860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42861 fi
42862 ac_res=`eval echo '${'$as_ac_Header'}'`
42863 { echo "$as_me:$LINENO: result: $ac_res" >&5
42864 echo "${ECHO_T}$ac_res" >&6; }
42865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42866 cat >>confdefs.h <<_ACEOF
42867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42868 _ACEOF
42869
42870 fi
42871
42872 done
42873
42874 if test "$ac_cv_header_sys_event_h" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxHAS_KQUEUE 1
42877 _ACEOF
42878
42879 else
42880 wxUSE_FSWATCHER=no
42881 fi
42882 fi
42883 else
42884 wxUSE_FSWATCHER=no
42885 fi
42886 fi
42887
42888 if test "$wxUSE_FSWATCHER" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_FSWATCHER 1
42891 _ACEOF
42892
42893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42894 else
42895 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42896 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42897 fi
42898 fi
42899
42900
42901 if test "$wxUSE_STL" = "yes"; then
42902 cat >>confdefs.h <<\_ACEOF
42903 #define wxUSE_STL 1
42904 _ACEOF
42905
42906 fi
42907
42908 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42909 cat >>confdefs.h <<\_ACEOF
42910 #define wxUSE_EXTENDED_RTTI 1
42911 _ACEOF
42912
42913 fi
42914
42915 if test "$wxUSE_ANY" = "yes"; then
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_ANY 1
42918 _ACEOF
42919
42920 fi
42921
42922 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42923 cat >>confdefs.h <<\_ACEOF
42924 #define wxUSE_APPLE_IEEE 1
42925 _ACEOF
42926
42927 fi
42928
42929 if test "$wxUSE_TIMER" = "yes"; then
42930 cat >>confdefs.h <<\_ACEOF
42931 #define wxUSE_TIMER 1
42932 _ACEOF
42933
42934 fi
42935
42936 if test "$USE_UNIX" = 1 ; then
42937 if test "$wxUSE_MGL" != 1; then
42938 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42939 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42940 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42942 else
42943
42944 cat >conftest.$ac_ext <<_ACEOF
42945 /* confdefs.h. */
42946 _ACEOF
42947 cat confdefs.h >>conftest.$ac_ext
42948 cat >>conftest.$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42950
42951 #include <sys/ioctl.h>
42952 #include <sys/soundcard.h>
42953
42954 int
42955 main ()
42956 {
42957
42958 ioctl(0, SNDCTL_DSP_SPEED, 0);
42959
42960 ;
42961 return 0;
42962 }
42963 _ACEOF
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42968 *) ac_try_echo=$ac_try;;
42969 esac
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>conftest.er1
42972 ac_status=$?
42973 grep -v '^ *+' conftest.er1 >conftest.err
42974 rm -f conftest.er1
42975 cat conftest.err >&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } && {
42978 test -z "$ac_c_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest$ac_exeext &&
42981 $as_test_x conftest$ac_exeext; then
42982 ac_cv_header_sys_soundcard=yes
42983 else
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42986
42987
42988 saveLibs="$LIBS"
42989 LIBS="$saveLibs -lossaudio"
42990 cat >conftest.$ac_ext <<_ACEOF
42991 /* confdefs.h. */
42992 _ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42996
42997 #include <sys/ioctl.h>
42998 #include <sys/soundcard.h>
42999
43000 int
43001 main ()
43002 {
43003
43004 ioctl(0, SNDCTL_DSP_SPEED, 0);
43005
43006 ;
43007 return 0;
43008 }
43009 _ACEOF
43010 rm -f conftest.$ac_objext conftest$ac_exeext
43011 if { (ac_try="$ac_link"
43012 case "(($ac_try" in
43013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43014 *) ac_try_echo=$ac_try;;
43015 esac
43016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43017 (eval "$ac_link") 2>conftest.er1
43018 ac_status=$?
43019 grep -v '^ *+' conftest.er1 >conftest.err
43020 rm -f conftest.er1
43021 cat conftest.err >&5
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); } && {
43024 test -z "$ac_c_werror_flag" ||
43025 test ! -s conftest.err
43026 } && test -s conftest$ac_exeext &&
43027 $as_test_x conftest$ac_exeext; then
43028 ac_cv_header_sys_soundcard=yes
43029 else
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43032
43033
43034 LIBS="$saveLibs"
43035 ac_cv_header_sys_soundcard=no
43036
43037
43038 fi
43039
43040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43041 conftest$ac_exeext conftest.$ac_ext
43042
43043
43044 fi
43045
43046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43047 conftest$ac_exeext conftest.$ac_ext
43048
43049 fi
43050 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43051 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43052 fi
43053
43054 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43055 cat >>confdefs.h <<\_ACEOF
43056 #define HAVE_SYS_SOUNDCARD_H 1
43057 _ACEOF
43058
43059 fi
43060 fi
43061
43062 WITH_PLUGIN_SDL=0
43063 if test "$wxUSE_SOUND" = "yes"; then
43064 if test "$USE_UNIX" = 1 ; then
43065 if test "$wxUSE_LIBSDL" != "no"; then
43066
43067 # Check whether --with-sdl-prefix was given.
43068 if test "${with_sdl_prefix+set}" = set; then
43069 withval=$with_sdl_prefix; sdl_prefix="$withval"
43070 else
43071 sdl_prefix=""
43072 fi
43073
43074
43075 # Check whether --with-sdl-exec-prefix was given.
43076 if test "${with_sdl_exec_prefix+set}" = set; then
43077 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43078 else
43079 sdl_exec_prefix=""
43080 fi
43081
43082 # Check whether --enable-sdltest was given.
43083 if test "${enable_sdltest+set}" = set; then
43084 enableval=$enable_sdltest;
43085 else
43086 enable_sdltest=yes
43087 fi
43088
43089
43090 if test x$sdl_exec_prefix != x ; then
43091 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43092 if test x${SDL_CONFIG+set} != xset ; then
43093 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43094 fi
43095 fi
43096 if test x$sdl_prefix != x ; then
43097 sdl_args="$sdl_args --prefix=$sdl_prefix"
43098 if test x${SDL_CONFIG+set} != xset ; then
43099 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43100 fi
43101 fi
43102
43103 if test "x$prefix" != xNONE; then
43104 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43105 fi
43106 # Extract the first word of "sdl-config", so it can be a program name with args.
43107 set dummy sdl-config; ac_word=$2
43108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43110 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43111 echo $ECHO_N "(cached) $ECHO_C" >&6
43112 else
43113 case $SDL_CONFIG in
43114 [\\/]* | ?:[\\/]*)
43115 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43116 ;;
43117 *)
43118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43119 for as_dir in $PATH
43120 do
43121 IFS=$as_save_IFS
43122 test -z "$as_dir" && as_dir=.
43123 for ac_exec_ext in '' $ac_executable_extensions; do
43124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43125 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43127 break 2
43128 fi
43129 done
43130 done
43131 IFS=$as_save_IFS
43132
43133 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43134 ;;
43135 esac
43136 fi
43137 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43138 if test -n "$SDL_CONFIG"; then
43139 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43140 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43141 else
43142 { echo "$as_me:$LINENO: result: no" >&5
43143 echo "${ECHO_T}no" >&6; }
43144 fi
43145
43146
43147 min_sdl_version=1.2.0
43148 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43149 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43150 no_sdl=""
43151 if test "$SDL_CONFIG" = "no" ; then
43152 no_sdl=yes
43153 else
43154 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43155 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43156
43157 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43159 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43161 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43163 if test "x$enable_sdltest" = "xyes" ; then
43164 ac_save_CFLAGS="$CFLAGS"
43165 ac_save_CXXFLAGS="$CXXFLAGS"
43166 ac_save_LIBS="$LIBS"
43167 CFLAGS="$CFLAGS $SDL_CFLAGS"
43168 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43169 LIBS="$LIBS $SDL_LIBS"
43170 rm -f conf.sdltest
43171 if test "$cross_compiling" = yes; then
43172 echo $ac_n "cross compiling; assumed OK... $ac_c"
43173 else
43174 cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h. */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43180
43181 #include <stdio.h>
43182 #include <stdlib.h>
43183 #include <string.h>
43184 #include "SDL.h"
43185
43186 char*
43187 my_strdup (char *str)
43188 {
43189 char *new_str;
43190
43191 if (str)
43192 {
43193 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43194 strcpy (new_str, str);
43195 }
43196 else
43197 new_str = NULL;
43198
43199 return new_str;
43200 }
43201
43202 int main (int argc, char *argv[])
43203 {
43204 int major, minor, micro;
43205 char *tmp_version;
43206
43207 /* This hangs on some systems (?)
43208 system ("touch conf.sdltest");
43209 */
43210 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43211
43212 /* HP/UX 9 (%@#!) writes to sscanf strings */
43213 tmp_version = my_strdup("$min_sdl_version");
43214 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43215 printf("%s, bad version string\n", "$min_sdl_version");
43216 exit(1);
43217 }
43218
43219 if (($sdl_major_version > major) ||
43220 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43221 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43222 {
43223 return 0;
43224 }
43225 else
43226 {
43227 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43228 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43229 printf("*** best to upgrade to the required version.\n");
43230 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43231 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43232 printf("*** config.cache before re-running configure\n");
43233 return 1;
43234 }
43235 }
43236
43237
43238 _ACEOF
43239 rm -f conftest$ac_exeext
43240 if { (ac_try="$ac_link"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43244 esac
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_link") 2>&5
43247 ac_status=$?
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43250 { (case "(($ac_try" in
43251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43252 *) ac_try_echo=$ac_try;;
43253 esac
43254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43255 (eval "$ac_try") 2>&5
43256 ac_status=$?
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; }; then
43259 :
43260 else
43261 echo "$as_me: program exited with status $ac_status" >&5
43262 echo "$as_me: failed program was:" >&5
43263 sed 's/^/| /' conftest.$ac_ext >&5
43264
43265 ( exit $ac_status )
43266 no_sdl=yes
43267 fi
43268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43269 fi
43270
43271
43272 CFLAGS="$ac_save_CFLAGS"
43273 CXXFLAGS="$ac_save_CXXFLAGS"
43274 LIBS="$ac_save_LIBS"
43275 fi
43276 fi
43277 if test "x$no_sdl" = x ; then
43278 { echo "$as_me:$LINENO: result: yes" >&5
43279 echo "${ECHO_T}yes" >&6; }
43280
43281 EXTRALIBS_SDL="$SDL_LIBS"
43282 CFLAGS="$SDL_CFLAGS $CFLAGS"
43283 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_LIBSDL 1
43286 _ACEOF
43287
43288
43289 else
43290 { echo "$as_me:$LINENO: result: no" >&5
43291 echo "${ECHO_T}no" >&6; }
43292 if test "$SDL_CONFIG" = "no" ; then
43293 echo "*** The sdl-config script installed by SDL could not be found"
43294 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43295 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43296 echo "*** full path to sdl-config."
43297 else
43298 if test -f conf.sdltest ; then
43299 :
43300 else
43301 echo "*** Could not run SDL test program, checking why..."
43302 CFLAGS="$CFLAGS $SDL_CFLAGS"
43303 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43304 LIBS="$LIBS $SDL_LIBS"
43305 cat >conftest.$ac_ext <<_ACEOF
43306 /* confdefs.h. */
43307 _ACEOF
43308 cat confdefs.h >>conftest.$ac_ext
43309 cat >>conftest.$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43311
43312 #include <stdio.h>
43313 #include "SDL.h"
43314
43315 int main(int argc, char *argv[])
43316 { return 0; }
43317 #undef main
43318 #define main K_and_R_C_main
43319
43320 int
43321 main ()
43322 {
43323 return 0;
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (ac_try="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43333 esac
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest$ac_exeext &&
43345 $as_test_x conftest$ac_exeext; then
43346 echo "*** The test program compiled, but did not run. This usually means"
43347 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43348 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43349 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43350 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43351 echo "*** is required on your system"
43352 echo "***"
43353 echo "*** If you have an old version installed, it is best to remove it, although"
43354 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43355 else
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.$ac_ext >&5
43358
43359 echo "*** The test program failed to compile or link. See the file config.log for the"
43360 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43361 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43362 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43363 fi
43364
43365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43366 conftest$ac_exeext conftest.$ac_ext
43367 CFLAGS="$ac_save_CFLAGS"
43368 CXXFLAGS="$ac_save_CXXFLAGS"
43369 LIBS="$ac_save_LIBS"
43370 fi
43371 fi
43372 SDL_CFLAGS=""
43373 SDL_LIBS=""
43374 wxUSE_LIBSDL="no"
43375 fi
43376
43377
43378 rm -f conf.sdltest
43379
43380 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43381 WITH_PLUGIN_SDL=1
43382 fi
43383 fi
43384 else
43385 if test "$wxUSE_MGL" = 1; then
43386 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43387 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43388 wxUSE_SOUND="no"
43389 fi
43390 fi
43391 fi
43392
43393 if test "$wxUSE_SOUND" = "yes"; then
43394 cat >>confdefs.h <<\_ACEOF
43395 #define wxUSE_SOUND 1
43396 _ACEOF
43397
43398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43399 fi
43400
43401 if test "$WXGTK2" = 1; then
43402
43403
43404 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43405 if test -n "$ac_tool_prefix"; then
43406 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43407 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43410 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43411 echo $ECHO_N "(cached) $ECHO_C" >&6
43412 else
43413 case $PKG_CONFIG in
43414 [\\/]* | ?:[\\/]*)
43415 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43416 ;;
43417 *)
43418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43419 for as_dir in $PATH
43420 do
43421 IFS=$as_save_IFS
43422 test -z "$as_dir" && as_dir=.
43423 for ac_exec_ext in '' $ac_executable_extensions; do
43424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43425 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43427 break 2
43428 fi
43429 done
43430 done
43431 IFS=$as_save_IFS
43432
43433 ;;
43434 esac
43435 fi
43436 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43437 if test -n "$PKG_CONFIG"; then
43438 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43439 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43440 else
43441 { echo "$as_me:$LINENO: result: no" >&5
43442 echo "${ECHO_T}no" >&6; }
43443 fi
43444
43445
43446 fi
43447 if test -z "$ac_cv_path_PKG_CONFIG"; then
43448 ac_pt_PKG_CONFIG=$PKG_CONFIG
43449 # Extract the first word of "pkg-config", so it can be a program name with args.
43450 set dummy pkg-config; ac_word=$2
43451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43453 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43455 else
43456 case $ac_pt_PKG_CONFIG in
43457 [\\/]* | ?:[\\/]*)
43458 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43459 ;;
43460 *)
43461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43462 for as_dir in $PATH
43463 do
43464 IFS=$as_save_IFS
43465 test -z "$as_dir" && as_dir=.
43466 for ac_exec_ext in '' $ac_executable_extensions; do
43467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43468 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43470 break 2
43471 fi
43472 done
43473 done
43474 IFS=$as_save_IFS
43475
43476 ;;
43477 esac
43478 fi
43479 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43480 if test -n "$ac_pt_PKG_CONFIG"; then
43481 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43482 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43483 else
43484 { echo "$as_me:$LINENO: result: no" >&5
43485 echo "${ECHO_T}no" >&6; }
43486 fi
43487
43488 if test "x$ac_pt_PKG_CONFIG" = x; then
43489 PKG_CONFIG=""
43490 else
43491 case $cross_compiling:$ac_tool_warned in
43492 yes:)
43493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43494 whose name does not start with the host triplet. If you think this
43495 configuration is useful to you, please write to autoconf@gnu.org." >&5
43496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43497 whose name does not start with the host triplet. If you think this
43498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43499 ac_tool_warned=yes ;;
43500 esac
43501 PKG_CONFIG=$ac_pt_PKG_CONFIG
43502 fi
43503 else
43504 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43505 fi
43506
43507 fi
43508 if test -n "$PKG_CONFIG"; then
43509 _pkg_min_version=0.9.0
43510 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43511 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43512 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43513 { echo "$as_me:$LINENO: result: yes" >&5
43514 echo "${ECHO_T}yes" >&6; }
43515 else
43516 { echo "$as_me:$LINENO: result: no" >&5
43517 echo "${ECHO_T}no" >&6; }
43518 PKG_CONFIG=""
43519 fi
43520
43521 fi
43522
43523 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43524
43525 if test "$wxUSE_GTKPRINT" = "yes" ; then
43526
43527
43528 pkg_failed=no
43529 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43530 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43531
43532 if test -n "$PKG_CONFIG"; then
43533 if test -n "$GTKPRINT_CFLAGS"; then
43534 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43535 else
43536 if test -n "$PKG_CONFIG" && \
43537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43538 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43539 ac_status=$?
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; then
43542 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43543 else
43544 pkg_failed=yes
43545 fi
43546 fi
43547 else
43548 pkg_failed=untried
43549 fi
43550 if test -n "$PKG_CONFIG"; then
43551 if test -n "$GTKPRINT_LIBS"; then
43552 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43553 else
43554 if test -n "$PKG_CONFIG" && \
43555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43556 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43557 ac_status=$?
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); }; then
43560 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43561 else
43562 pkg_failed=yes
43563 fi
43564 fi
43565 else
43566 pkg_failed=untried
43567 fi
43568
43569
43570
43571 if test $pkg_failed = yes; then
43572
43573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43574 _pkg_short_errors_supported=yes
43575 else
43576 _pkg_short_errors_supported=no
43577 fi
43578 if test $_pkg_short_errors_supported = yes; then
43579 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43580 else
43581 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43582 fi
43583 # Put the nasty error message in config.log where it belongs
43584 echo "$GTKPRINT_PKG_ERRORS" >&5
43585
43586
43587 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43588 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43589 wxUSE_GTKPRINT="no"
43590
43591
43592 elif test $pkg_failed = untried; then
43593
43594 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43595 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43596 wxUSE_GTKPRINT="no"
43597
43598
43599 else
43600 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43601 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43602 { echo "$as_me:$LINENO: result: yes" >&5
43603 echo "${ECHO_T}yes" >&6; }
43604
43605 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43606 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43607 cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_GTKPRINT 1
43609 _ACEOF
43610
43611
43612 fi
43613 fi
43614
43615 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43616
43617
43618 pkg_failed=no
43619 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43620 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43621
43622 if test -n "$PKG_CONFIG"; then
43623 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43624 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43625 else
43626 if test -n "$PKG_CONFIG" && \
43627 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43628 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43629 ac_status=$?
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); }; then
43632 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43633 else
43634 pkg_failed=yes
43635 fi
43636 fi
43637 else
43638 pkg_failed=untried
43639 fi
43640 if test -n "$PKG_CONFIG"; then
43641 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43642 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43643 else
43644 if test -n "$PKG_CONFIG" && \
43645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43646 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43647 ac_status=$?
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; then
43650 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43651 else
43652 pkg_failed=yes
43653 fi
43654 fi
43655 else
43656 pkg_failed=untried
43657 fi
43658
43659
43660
43661 if test $pkg_failed = yes; then
43662
43663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43664 _pkg_short_errors_supported=yes
43665 else
43666 _pkg_short_errors_supported=no
43667 fi
43668 if test $_pkg_short_errors_supported = yes; then
43669 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43670 else
43671 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43672 fi
43673 # Put the nasty error message in config.log where it belongs
43674 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43675
43676
43677 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43678 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43679 wxUSE_LIBGNOMEPRINT="no"
43680
43681
43682 elif test $pkg_failed = untried; then
43683
43684 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43685 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43686 wxUSE_LIBGNOMEPRINT="no"
43687
43688
43689 else
43690 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43691 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43692 { echo "$as_me:$LINENO: result: yes" >&5
43693 echo "${ECHO_T}yes" >&6; }
43694
43695 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43696 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_LIBGNOMEPRINT 1
43699 _ACEOF
43700
43701
43702 fi
43703 fi
43704 fi
43705
43706 if test "$wxUSE_MIMETYPE" = "yes" ; then
43707 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43708
43709
43710 pkg_failed=no
43711 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43712 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43713
43714 if test -n "$PKG_CONFIG"; then
43715 if test -n "$GNOMEVFS_CFLAGS"; then
43716 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43717 else
43718 if test -n "$PKG_CONFIG" && \
43719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43720 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43721 ac_status=$?
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); }; then
43724 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43725 else
43726 pkg_failed=yes
43727 fi
43728 fi
43729 else
43730 pkg_failed=untried
43731 fi
43732 if test -n "$PKG_CONFIG"; then
43733 if test -n "$GNOMEVFS_LIBS"; then
43734 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43735 else
43736 if test -n "$PKG_CONFIG" && \
43737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43738 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43739 ac_status=$?
43740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43741 (exit $ac_status); }; then
43742 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43743 else
43744 pkg_failed=yes
43745 fi
43746 fi
43747 else
43748 pkg_failed=untried
43749 fi
43750
43751
43752
43753 if test $pkg_failed = yes; then
43754
43755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43756 _pkg_short_errors_supported=yes
43757 else
43758 _pkg_short_errors_supported=no
43759 fi
43760 if test $_pkg_short_errors_supported = yes; then
43761 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43762 else
43763 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43764 fi
43765 # Put the nasty error message in config.log where it belongs
43766 echo "$GNOMEVFS_PKG_ERRORS" >&5
43767
43768
43769 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43770 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43771 wxUSE_LIBGNOMEVFS="no"
43772
43773
43774 elif test $pkg_failed = untried; then
43775
43776 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43777 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43778 wxUSE_LIBGNOMEVFS="no"
43779
43780
43781 else
43782 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43783 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43784 { echo "$as_me:$LINENO: result: yes" >&5
43785 echo "${ECHO_T}yes" >&6; }
43786
43787 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43788 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43789 cat >>confdefs.h <<\_ACEOF
43790 #define wxUSE_LIBGNOMEVFS 1
43791 _ACEOF
43792
43793
43794 fi
43795 fi
43796 fi
43797
43798 if test "$wxUSE_LIBHILDON" = "yes" ; then
43799
43800 pkg_failed=no
43801 { echo "$as_me:$LINENO: checking for HILDON" >&5
43802 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43803
43804 if test -n "$PKG_CONFIG"; then
43805 if test -n "$HILDON_CFLAGS"; then
43806 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43807 else
43808 if test -n "$PKG_CONFIG" && \
43809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43810 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43811 ac_status=$?
43812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43813 (exit $ac_status); }; then
43814 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43815 else
43816 pkg_failed=yes
43817 fi
43818 fi
43819 else
43820 pkg_failed=untried
43821 fi
43822 if test -n "$PKG_CONFIG"; then
43823 if test -n "$HILDON_LIBS"; then
43824 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43825 else
43826 if test -n "$PKG_CONFIG" && \
43827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43828 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43829 ac_status=$?
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); }; then
43832 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43833 else
43834 pkg_failed=yes
43835 fi
43836 fi
43837 else
43838 pkg_failed=untried
43839 fi
43840
43841
43842
43843 if test $pkg_failed = yes; then
43844
43845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43846 _pkg_short_errors_supported=yes
43847 else
43848 _pkg_short_errors_supported=no
43849 fi
43850 if test $_pkg_short_errors_supported = yes; then
43851 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43852 else
43853 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43854 fi
43855 # Put the nasty error message in config.log where it belongs
43856 echo "$HILDON_PKG_ERRORS" >&5
43857
43858
43859 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43860 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43861 wxUSE_LIBHILDON="no"
43862 ac_hildon_lgpl=0
43863
43864
43865 elif test $pkg_failed = untried; then
43866
43867 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43868 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43869 wxUSE_LIBHILDON="no"
43870 ac_hildon_lgpl=0
43871
43872
43873 else
43874 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43875 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43876 { echo "$as_me:$LINENO: result: yes" >&5
43877 echo "${ECHO_T}yes" >&6; }
43878
43879 EXTRALIBS_HILDON="$HILDON_LIBS"
43880 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43881 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_LIBHILDON 1
43884 _ACEOF
43885
43886 ac_hildon_lgpl=1
43887
43888 fi
43889
43890 if test "$ac_hildon_lgpl" = 0 ; then
43891
43892 pkg_failed=no
43893 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43894 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43895
43896 if test -n "$PKG_CONFIG"; then
43897 if test -n "$HILDON2_CFLAGS"; then
43898 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43899 else
43900 if test -n "$PKG_CONFIG" && \
43901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43902 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43903 ac_status=$?
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); }; then
43906 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43907 else
43908 pkg_failed=yes
43909 fi
43910 fi
43911 else
43912 pkg_failed=untried
43913 fi
43914 if test -n "$PKG_CONFIG"; then
43915 if test -n "$HILDON2_LIBS"; then
43916 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43917 else
43918 if test -n "$PKG_CONFIG" && \
43919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43920 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43921 ac_status=$?
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; then
43924 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43925 else
43926 pkg_failed=yes
43927 fi
43928 fi
43929 else
43930 pkg_failed=untried
43931 fi
43932
43933
43934
43935 if test $pkg_failed = yes; then
43936
43937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43938 _pkg_short_errors_supported=yes
43939 else
43940 _pkg_short_errors_supported=no
43941 fi
43942 if test $_pkg_short_errors_supported = yes; then
43943 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43944 else
43945 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43946 fi
43947 # Put the nasty error message in config.log where it belongs
43948 echo "$HILDON2_PKG_ERRORS" >&5
43949
43950
43951 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43952 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43953 wxUSE_LIBHILDON2="no"
43954
43955
43956 elif test $pkg_failed = untried; then
43957
43958 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43959 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43960 wxUSE_LIBHILDON2="no"
43961
43962
43963 else
43964 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43965 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43966 { echo "$as_me:$LINENO: result: yes" >&5
43967 echo "${ECHO_T}yes" >&6; }
43968
43969 EXTRALIBS_HILDON="$HILDON2_LIBS"
43970 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43971 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_LIBHILDON2 1
43974 _ACEOF
43975
43976
43977 fi
43978 fi
43979 fi
43980 fi
43981
43982 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_CMDLINE_PARSER 1
43985 _ACEOF
43986
43987 fi
43988
43989 if test "$wxUSE_STOPWATCH" = "yes"; then
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_STOPWATCH 1
43992 _ACEOF
43993
43994 fi
43995
43996 if test "$wxUSE_DATETIME" = "yes"; then
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_DATETIME 1
43999 _ACEOF
44000
44001 fi
44002
44003 if test "$wxUSE_FILE" = "yes"; then
44004 cat >>confdefs.h <<\_ACEOF
44005 #define wxUSE_FILE 1
44006 _ACEOF
44007
44008 fi
44009
44010 if test "$wxUSE_FFILE" = "yes"; then
44011 cat >>confdefs.h <<\_ACEOF
44012 #define wxUSE_FFILE 1
44013 _ACEOF
44014
44015 fi
44016
44017 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44018 if test "$wxUSE_STREAMS" != yes; then
44019 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44020 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44021 wxUSE_ARCHIVE_STREAMS=no
44022 else
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_ARCHIVE_STREAMS 1
44025 _ACEOF
44026
44027 fi
44028 fi
44029
44030 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44031 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44032 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44033 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44034 elif test "$wxUSE_ZLIB" = "no"; then
44035 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44036 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44037 else
44038 cat >>confdefs.h <<\_ACEOF
44039 #define wxUSE_ZIPSTREAM 1
44040 _ACEOF
44041
44042 fi
44043 fi
44044
44045 if test "$wxUSE_TARSTREAM" = "yes"; then
44046 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44047 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44048 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44049 else
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_TARSTREAM 1
44052 _ACEOF
44053
44054 fi
44055 fi
44056
44057 if test "$wxUSE_FILESYSTEM" = "yes"; then
44058 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44059 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44060 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44061 wxUSE_FILESYSTEM=no
44062 else
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_FILESYSTEM 1
44065 _ACEOF
44066
44067 fi
44068 fi
44069
44070 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44071 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44072 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44073 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44074 else
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_FS_ARCHIVE 1
44077 _ACEOF
44078
44079 fi
44080 fi
44081
44082 if test "$wxUSE_FS_ZIP" = "yes"; then
44083 if test "$wxUSE_FS_ARCHIVE" != yes; then
44084 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44085 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44086 else
44087 cat >>confdefs.h <<\_ACEOF
44088 #define wxUSE_FS_ZIP 1
44089 _ACEOF
44090
44091 fi
44092 fi
44093
44094 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44095 if test "$USE_UNIX" != 1; then
44096 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44097 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44098 wxUSE_ON_FATAL_EXCEPTION=no
44099 else
44100 cat >>confdefs.h <<\_ACEOF
44101 #define wxUSE_ON_FATAL_EXCEPTION 1
44102 _ACEOF
44103
44104 fi
44105 fi
44106
44107 if test "$wxUSE_STACKWALKER" = "yes"; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_STACKWALKER 1
44110 _ACEOF
44111
44112 fi
44113
44114 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44115 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44116 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44117 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44118 wxUSE_DEBUGREPORT=no
44119 else
44120 cat >>confdefs.h <<\_ACEOF
44121 #define wxUSE_DEBUGREPORT 1
44122 _ACEOF
44123
44124 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44126 fi
44127 fi
44128 fi
44129
44130 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_SNGLINST_CHECKER 1
44133 _ACEOF
44134
44135 fi
44136
44137 if test "$wxUSE_BUSYINFO" = "yes"; then
44138 cat >>confdefs.h <<\_ACEOF
44139 #define wxUSE_BUSYINFO 1
44140 _ACEOF
44141
44142 fi
44143
44144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44145 cat >>confdefs.h <<\_ACEOF
44146 #define wxUSE_STD_IOSTREAM 1
44147 _ACEOF
44148
44149 fi
44150
44151 if test "$wxUSE_STD_STRING" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define wxUSE_STD_STRING 1
44154 _ACEOF
44155
44156 fi
44157
44158 if test "$wxUSE_STDPATHS" = "yes"; then
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_STDPATHS 1
44161 _ACEOF
44162
44163 fi
44164
44165 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44166 cat >>confdefs.h <<\_ACEOF
44167 #define wxUSE_TEXTBUFFER 1
44168 _ACEOF
44169
44170 fi
44171
44172 if test "$wxUSE_TEXTFILE" = "yes"; then
44173 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44174 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44175 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44176 else
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_TEXTFILE 1
44179 _ACEOF
44180
44181 fi
44182 fi
44183
44184 if test "$wxUSE_CONFIG" = "yes" ; then
44185 if test "$wxUSE_TEXTFILE" != "yes"; then
44186 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44187 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44188 else
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_CONFIG 1
44191 _ACEOF
44192
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_CONFIG_NATIVE 1
44195 _ACEOF
44196
44197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44198 fi
44199 fi
44200
44201 if test "$wxUSE_INTL" = "yes" ; then
44202 if test "$wxUSE_FILE" != "yes"; then
44203 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44204 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44205 else
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_INTL 1
44208 _ACEOF
44209
44210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44211 GUIDIST="$GUIDIST INTL_DIST"
44212 fi
44213 fi
44214
44215 if test "$wxUSE_XLOCALE" = "yes" ; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_XLOCALE 1
44218 _ACEOF
44219
44220 { echo "$as_me:$LINENO: checking for locale_t" >&5
44221 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44222 if test "${ac_cv_type_locale_t+set}" = set; then
44223 echo $ECHO_N "(cached) $ECHO_C" >&6
44224 else
44225 cat >conftest.$ac_ext <<_ACEOF
44226 /* confdefs.h. */
44227 _ACEOF
44228 cat confdefs.h >>conftest.$ac_ext
44229 cat >>conftest.$ac_ext <<_ACEOF
44230 /* end confdefs.h. */
44231 #include <xlocale.h>
44232 #include <locale.h>
44233
44234 typedef locale_t ac__type_new_;
44235 int
44236 main ()
44237 {
44238 if ((ac__type_new_ *) 0)
44239 return 0;
44240 if (sizeof (ac__type_new_))
44241 return 0;
44242 ;
44243 return 0;
44244 }
44245 _ACEOF
44246 rm -f conftest.$ac_objext
44247 if { (ac_try="$ac_compile"
44248 case "(($ac_try" in
44249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44250 *) ac_try_echo=$ac_try;;
44251 esac
44252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44253 (eval "$ac_compile") 2>conftest.er1
44254 ac_status=$?
44255 grep -v '^ *+' conftest.er1 >conftest.err
44256 rm -f conftest.er1
44257 cat conftest.err >&5
44258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44259 (exit $ac_status); } && {
44260 test -z "$ac_c_werror_flag" ||
44261 test ! -s conftest.err
44262 } && test -s conftest.$ac_objext; then
44263 ac_cv_type_locale_t=yes
44264 else
44265 echo "$as_me: failed program was:" >&5
44266 sed 's/^/| /' conftest.$ac_ext >&5
44267
44268 ac_cv_type_locale_t=no
44269 fi
44270
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44272 fi
44273 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44274 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44275 if test $ac_cv_type_locale_t = yes; then
44276
44277 cat >>confdefs.h <<_ACEOF
44278 #define HAVE_LOCALE_T 1
44279 _ACEOF
44280
44281
44282 fi
44283
44284 fi
44285
44286 if test "$wxUSE_LOG" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_LOG 1
44289 _ACEOF
44290
44291
44292 if test "$wxUSE_LOGGUI" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_LOGGUI 1
44295 _ACEOF
44296
44297 fi
44298
44299 if test "$wxUSE_LOGWINDOW" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_LOGWINDOW 1
44302 _ACEOF
44303
44304 fi
44305
44306 if test "$wxUSE_LOGDIALOG" = "yes"; then
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_LOG_DIALOG 1
44309 _ACEOF
44310
44311 fi
44312
44313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44314 fi
44315
44316 if test "$wxUSE_LONGLONG" = "yes"; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_LONGLONG 1
44319 _ACEOF
44320
44321 fi
44322
44323 if test "$wxUSE_GEOMETRY" = "yes"; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_GEOMETRY 1
44326 _ACEOF
44327
44328 fi
44329
44330 if test "$wxUSE_BASE64" = "yes"; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_BASE64 1
44333 _ACEOF
44334
44335 fi
44336
44337 if test "$wxUSE_STREAMS" = "yes" ; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_STREAMS 1
44340 _ACEOF
44341
44342 fi
44343
44344 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_PRINTF_POS_PARAMS 1
44347 _ACEOF
44348
44349 fi
44350
44351 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_OBJC_UNIQUIFYING 1
44354 _ACEOF
44355
44356 fi
44357
44358
44359 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_CONSOLE_EVENTLOOP 1
44362 _ACEOF
44363
44364
44365 if test "$wxUSE_UNIX" = "yes"; then
44366 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_SELECT_DISPATCHER 1
44369 _ACEOF
44370
44371 fi
44372
44373 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44374
44375 for ac_header in sys/epoll.h
44376 do
44377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44381 echo $ECHO_N "(cached) $ECHO_C" >&6
44382 else
44383 cat >conftest.$ac_ext <<_ACEOF
44384 /* confdefs.h. */
44385 _ACEOF
44386 cat confdefs.h >>conftest.$ac_ext
44387 cat >>conftest.$ac_ext <<_ACEOF
44388 /* end confdefs.h. */
44389 $ac_includes_default
44390
44391 #include <$ac_header>
44392 _ACEOF
44393 rm -f conftest.$ac_objext
44394 if { (ac_try="$ac_compile"
44395 case "(($ac_try" in
44396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44397 *) ac_try_echo=$ac_try;;
44398 esac
44399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44400 (eval "$ac_compile") 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } && {
44407 test -z "$ac_c_werror_flag" ||
44408 test ! -s conftest.err
44409 } && test -s conftest.$ac_objext; then
44410 eval "$as_ac_Header=yes"
44411 else
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44414
44415 eval "$as_ac_Header=no"
44416 fi
44417
44418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44419 fi
44420 ac_res=`eval echo '${'$as_ac_Header'}'`
44421 { echo "$as_me:$LINENO: result: $ac_res" >&5
44422 echo "${ECHO_T}$ac_res" >&6; }
44423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44424 cat >>confdefs.h <<_ACEOF
44425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44426 _ACEOF
44427
44428 fi
44429
44430 done
44431
44432 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_EPOLL_DISPATCHER 1
44435 _ACEOF
44436
44437 else
44438 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44439 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44440 fi
44441 fi
44442 fi
44443 fi
44444
44445
44446
44447
44448 for ac_func in gettimeofday ftime
44449 do
44450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44455 else
44456 cat >conftest.$ac_ext <<_ACEOF
44457 /* confdefs.h. */
44458 _ACEOF
44459 cat confdefs.h >>conftest.$ac_ext
44460 cat >>conftest.$ac_ext <<_ACEOF
44461 /* end confdefs.h. */
44462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44464 #define $ac_func innocuous_$ac_func
44465
44466 /* System header to define __stub macros and hopefully few prototypes,
44467 which can conflict with char $ac_func (); below.
44468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44469 <limits.h> exists even on freestanding compilers. */
44470
44471 #ifdef __STDC__
44472 # include <limits.h>
44473 #else
44474 # include <assert.h>
44475 #endif
44476
44477 #undef $ac_func
44478
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44482 #ifdef __cplusplus
44483 extern "C"
44484 #endif
44485 char $ac_func ();
44486 /* The GNU C library defines this for functions which it implements
44487 to always fail with ENOSYS. Some functions are actually named
44488 something starting with __ and the normal name is an alias. */
44489 #if defined __stub_$ac_func || defined __stub___$ac_func
44490 choke me
44491 #endif
44492
44493 int
44494 main ()
44495 {
44496 return $ac_func ();
44497 ;
44498 return 0;
44499 }
44500 _ACEOF
44501 rm -f conftest.$ac_objext conftest$ac_exeext
44502 if { (ac_try="$ac_link"
44503 case "(($ac_try" in
44504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44505 *) ac_try_echo=$ac_try;;
44506 esac
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_link") 2>conftest.er1
44509 ac_status=$?
44510 grep -v '^ *+' conftest.er1 >conftest.err
44511 rm -f conftest.er1
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } && {
44515 test -z "$ac_c_werror_flag" ||
44516 test ! -s conftest.err
44517 } && test -s conftest$ac_exeext &&
44518 $as_test_x conftest$ac_exeext; then
44519 eval "$as_ac_var=yes"
44520 else
44521 echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.$ac_ext >&5
44523
44524 eval "$as_ac_var=no"
44525 fi
44526
44527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44528 conftest$ac_exeext conftest.$ac_ext
44529 fi
44530 ac_res=`eval echo '${'$as_ac_var'}'`
44531 { echo "$as_me:$LINENO: result: $ac_res" >&5
44532 echo "${ECHO_T}$ac_res" >&6; }
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44536 _ACEOF
44537 break
44538 fi
44539 done
44540
44541
44542 if test "$ac_cv_func_gettimeofday" = "yes"; then
44543 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44544 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44545 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44546 echo $ECHO_N "(cached) $ECHO_C" >&6
44547 else
44548
44549 cat >conftest.$ac_ext <<_ACEOF
44550 /* confdefs.h. */
44551 _ACEOF
44552 cat confdefs.h >>conftest.$ac_ext
44553 cat >>conftest.$ac_ext <<_ACEOF
44554 /* end confdefs.h. */
44555
44556 #include <sys/time.h>
44557 #include <unistd.h>
44558
44559 int
44560 main ()
44561 {
44562
44563 struct timeval tv;
44564 gettimeofday(&tv, NULL);
44565
44566 ;
44567 return 0;
44568 }
44569 _ACEOF
44570 rm -f conftest.$ac_objext
44571 if { (ac_try="$ac_compile"
44572 case "(($ac_try" in
44573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44574 *) ac_try_echo=$ac_try;;
44575 esac
44576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44577 (eval "$ac_compile") 2>conftest.er1
44578 ac_status=$?
44579 grep -v '^ *+' conftest.er1 >conftest.err
44580 rm -f conftest.er1
44581 cat conftest.err >&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } && {
44584 test -z "$ac_c_werror_flag" ||
44585 test ! -s conftest.err
44586 } && test -s conftest.$ac_objext; then
44587 wx_cv_func_gettimeofday_has_2_args=yes
44588 else
44589 echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.$ac_ext >&5
44591
44592 cat >conftest.$ac_ext <<_ACEOF
44593 /* confdefs.h. */
44594 _ACEOF
44595 cat confdefs.h >>conftest.$ac_ext
44596 cat >>conftest.$ac_ext <<_ACEOF
44597 /* end confdefs.h. */
44598
44599 #include <sys/time.h>
44600 #include <unistd.h>
44601
44602 int
44603 main ()
44604 {
44605
44606 struct timeval tv;
44607 gettimeofday(&tv);
44608
44609 ;
44610 return 0;
44611 }
44612 _ACEOF
44613 rm -f conftest.$ac_objext
44614 if { (ac_try="$ac_compile"
44615 case "(($ac_try" in
44616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44617 *) ac_try_echo=$ac_try;;
44618 esac
44619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44620 (eval "$ac_compile") 2>conftest.er1
44621 ac_status=$?
44622 grep -v '^ *+' conftest.er1 >conftest.err
44623 rm -f conftest.er1
44624 cat conftest.err >&5
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); } && {
44627 test -z "$ac_c_werror_flag" ||
44628 test ! -s conftest.err
44629 } && test -s conftest.$ac_objext; then
44630 wx_cv_func_gettimeofday_has_2_args=no
44631 else
44632 echo "$as_me: failed program was:" >&5
44633 sed 's/^/| /' conftest.$ac_ext >&5
44634
44635
44636 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44637 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44638 wx_cv_func_gettimeofday_has_2_args=unknown
44639
44640
44641 fi
44642
44643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44644
44645 fi
44646
44647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44648
44649 fi
44650 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44651 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44652
44653 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define WX_GETTIMEOFDAY_NO_TZ 1
44656 _ACEOF
44657
44658 fi
44659 fi
44660
44661 if test "$wxUSE_DATETIME" = "yes"; then
44662 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44663 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44664 if test "${wx_cv_var_timezone+set}" = set; then
44665 echo $ECHO_N "(cached) $ECHO_C" >&6
44666 else
44667
44668 ac_ext=cpp
44669 ac_cpp='$CXXCPP $CPPFLAGS'
44670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44673
44674 cat >conftest.$ac_ext <<_ACEOF
44675 /* confdefs.h. */
44676 _ACEOF
44677 cat confdefs.h >>conftest.$ac_ext
44678 cat >>conftest.$ac_ext <<_ACEOF
44679 /* end confdefs.h. */
44680
44681 #include <time.h>
44682
44683 int
44684 main ()
44685 {
44686
44687 int tz;
44688 tz = timezone;
44689
44690 ;
44691 return 0;
44692 }
44693 _ACEOF
44694 rm -f conftest.$ac_objext
44695 if { (ac_try="$ac_compile"
44696 case "(($ac_try" in
44697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44698 *) ac_try_echo=$ac_try;;
44699 esac
44700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44701 (eval "$ac_compile") 2>conftest.er1
44702 ac_status=$?
44703 grep -v '^ *+' conftest.er1 >conftest.err
44704 rm -f conftest.er1
44705 cat conftest.err >&5
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); } && {
44708 test -z "$ac_cxx_werror_flag" ||
44709 test ! -s conftest.err
44710 } && test -s conftest.$ac_objext; then
44711
44712 wx_cv_var_timezone=timezone
44713
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718
44719 cat >conftest.$ac_ext <<_ACEOF
44720 /* confdefs.h. */
44721 _ACEOF
44722 cat confdefs.h >>conftest.$ac_ext
44723 cat >>conftest.$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44725
44726 #include <time.h>
44727
44728 int
44729 main ()
44730 {
44731
44732 int tz;
44733 tz = _timezone;
44734
44735 ;
44736 return 0;
44737 }
44738 _ACEOF
44739 rm -f conftest.$ac_objext
44740 if { (ac_try="$ac_compile"
44741 case "(($ac_try" in
44742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44743 *) ac_try_echo=$ac_try;;
44744 esac
44745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44746 (eval "$ac_compile") 2>conftest.er1
44747 ac_status=$?
44748 grep -v '^ *+' conftest.er1 >conftest.err
44749 rm -f conftest.er1
44750 cat conftest.err >&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); } && {
44753 test -z "$ac_cxx_werror_flag" ||
44754 test ! -s conftest.err
44755 } && test -s conftest.$ac_objext; then
44756
44757 wx_cv_var_timezone=_timezone
44758
44759 else
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.$ac_ext >&5
44762
44763
44764 cat >conftest.$ac_ext <<_ACEOF
44765 /* confdefs.h. */
44766 _ACEOF
44767 cat confdefs.h >>conftest.$ac_ext
44768 cat >>conftest.$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44770
44771 #include <time.h>
44772
44773 int
44774 main ()
44775 {
44776
44777 int tz;
44778 tz = __timezone;
44779
44780 ;
44781 return 0;
44782 }
44783 _ACEOF
44784 rm -f conftest.$ac_objext
44785 if { (ac_try="$ac_compile"
44786 case "(($ac_try" in
44787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44789 esac
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_compile") 2>conftest.er1
44792 ac_status=$?
44793 grep -v '^ *+' conftest.er1 >conftest.err
44794 rm -f conftest.er1
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_cxx_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest.$ac_objext; then
44801
44802 wx_cv_var_timezone=__timezone
44803
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808
44809 if test "$USE_DOS" = 0 ; then
44810 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44811 echo "$as_me: WARNING: no timezone variable" >&2;}
44812 fi
44813
44814
44815 fi
44816
44817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44818
44819
44820 fi
44821
44822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44823
44824
44825 fi
44826
44827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44828 ac_ext=c
44829 ac_cpp='$CPP $CPPFLAGS'
44830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44833
44834
44835
44836 fi
44837 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44838 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44839
44840 if test "x$wx_cv_var_timezone" != x ; then
44841 cat >>confdefs.h <<_ACEOF
44842 #define WX_TIMEZONE $wx_cv_var_timezone
44843 _ACEOF
44844
44845 fi
44846
44847
44848 for ac_func in localtime
44849 do
44850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44854 echo $ECHO_N "(cached) $ECHO_C" >&6
44855 else
44856 cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h. */
44858 _ACEOF
44859 cat confdefs.h >>conftest.$ac_ext
44860 cat >>conftest.$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44864 #define $ac_func innocuous_$ac_func
44865
44866 /* System header to define __stub macros and hopefully few prototypes,
44867 which can conflict with char $ac_func (); below.
44868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44869 <limits.h> exists even on freestanding compilers. */
44870
44871 #ifdef __STDC__
44872 # include <limits.h>
44873 #else
44874 # include <assert.h>
44875 #endif
44876
44877 #undef $ac_func
44878
44879 /* Override any GCC internal prototype to avoid an error.
44880 Use char because int might match the return type of a GCC
44881 builtin and then its argument prototype would still apply. */
44882 #ifdef __cplusplus
44883 extern "C"
44884 #endif
44885 char $ac_func ();
44886 /* The GNU C library defines this for functions which it implements
44887 to always fail with ENOSYS. Some functions are actually named
44888 something starting with __ and the normal name is an alias. */
44889 #if defined __stub_$ac_func || defined __stub___$ac_func
44890 choke me
44891 #endif
44892
44893 int
44894 main ()
44895 {
44896 return $ac_func ();
44897 ;
44898 return 0;
44899 }
44900 _ACEOF
44901 rm -f conftest.$ac_objext conftest$ac_exeext
44902 if { (ac_try="$ac_link"
44903 case "(($ac_try" in
44904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44905 *) ac_try_echo=$ac_try;;
44906 esac
44907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44908 (eval "$ac_link") 2>conftest.er1
44909 ac_status=$?
44910 grep -v '^ *+' conftest.er1 >conftest.err
44911 rm -f conftest.er1
44912 cat conftest.err >&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); } && {
44915 test -z "$ac_c_werror_flag" ||
44916 test ! -s conftest.err
44917 } && test -s conftest$ac_exeext &&
44918 $as_test_x conftest$ac_exeext; then
44919 eval "$as_ac_var=yes"
44920 else
44921 echo "$as_me: failed program was:" >&5
44922 sed 's/^/| /' conftest.$ac_ext >&5
44923
44924 eval "$as_ac_var=no"
44925 fi
44926
44927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44928 conftest$ac_exeext conftest.$ac_ext
44929 fi
44930 ac_res=`eval echo '${'$as_ac_var'}'`
44931 { echo "$as_me:$LINENO: result: $ac_res" >&5
44932 echo "${ECHO_T}$ac_res" >&6; }
44933 if test `eval echo '${'$as_ac_var'}'` = yes; then
44934 cat >>confdefs.h <<_ACEOF
44935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44936 _ACEOF
44937
44938 fi
44939 done
44940
44941
44942 if test "$ac_cv_func_localtime" = "yes"; then
44943 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44944 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44945 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44946 echo $ECHO_N "(cached) $ECHO_C" >&6
44947 else
44948
44949 cat >conftest.$ac_ext <<_ACEOF
44950 /* confdefs.h. */
44951 _ACEOF
44952 cat confdefs.h >>conftest.$ac_ext
44953 cat >>conftest.$ac_ext <<_ACEOF
44954 /* end confdefs.h. */
44955
44956 #include <time.h>
44957
44958 int
44959 main ()
44960 {
44961
44962 struct tm tm;
44963 tm.tm_gmtoff++;
44964
44965 ;
44966 return 0;
44967 }
44968 _ACEOF
44969 rm -f conftest.$ac_objext
44970 if { (ac_try="$ac_compile"
44971 case "(($ac_try" in
44972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44973 *) ac_try_echo=$ac_try;;
44974 esac
44975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44976 (eval "$ac_compile") 2>conftest.er1
44977 ac_status=$?
44978 grep -v '^ *+' conftest.er1 >conftest.err
44979 rm -f conftest.er1
44980 cat conftest.err >&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } && {
44983 test -z "$ac_c_werror_flag" ||
44984 test ! -s conftest.err
44985 } && test -s conftest.$ac_objext; then
44986
44987 wx_cv_struct_tm_has_gmtoff=yes
44988
44989 else
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44992
44993 wx_cv_struct_tm_has_gmtoff=no
44994
44995 fi
44996
44997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44998
44999 fi
45000 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45002 fi
45003
45004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45005 cat >>confdefs.h <<\_ACEOF
45006 #define WX_GMTOFF_IN_TM 1
45007 _ACEOF
45008
45009 fi
45010
45011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45012 fi
45013
45014
45015 if test "$wxUSE_SOCKETS" = "yes"; then
45016 if test "$wxUSE_MGL" = 1; then
45017 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45018 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45019 wxUSE_SOCKETS="no"
45020 fi
45021 fi
45022
45023 if test "$wxUSE_SOCKETS" = "yes"; then
45024 if test "$TOOLKIT" != "MSW"; then
45025 { echo "$as_me:$LINENO: checking for socket" >&5
45026 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45027 if test "${ac_cv_func_socket+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45029 else
45030 cat >conftest.$ac_ext <<_ACEOF
45031 /* confdefs.h. */
45032 _ACEOF
45033 cat confdefs.h >>conftest.$ac_ext
45034 cat >>conftest.$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45038 #define socket innocuous_socket
45039
45040 /* System header to define __stub macros and hopefully few prototypes,
45041 which can conflict with char socket (); below.
45042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45043 <limits.h> exists even on freestanding compilers. */
45044
45045 #ifdef __STDC__
45046 # include <limits.h>
45047 #else
45048 # include <assert.h>
45049 #endif
45050
45051 #undef socket
45052
45053 /* Override any GCC internal prototype to avoid an error.
45054 Use char because int might match the return type of a GCC
45055 builtin and then its argument prototype would still apply. */
45056 #ifdef __cplusplus
45057 extern "C"
45058 #endif
45059 char socket ();
45060 /* The GNU C library defines this for functions which it implements
45061 to always fail with ENOSYS. Some functions are actually named
45062 something starting with __ and the normal name is an alias. */
45063 #if defined __stub_socket || defined __stub___socket
45064 choke me
45065 #endif
45066
45067 int
45068 main ()
45069 {
45070 return socket ();
45071 ;
45072 return 0;
45073 }
45074 _ACEOF
45075 rm -f conftest.$ac_objext conftest$ac_exeext
45076 if { (ac_try="$ac_link"
45077 case "(($ac_try" in
45078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45079 *) ac_try_echo=$ac_try;;
45080 esac
45081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45082 (eval "$ac_link") 2>conftest.er1
45083 ac_status=$?
45084 grep -v '^ *+' conftest.er1 >conftest.err
45085 rm -f conftest.er1
45086 cat conftest.err >&5
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); } && {
45089 test -z "$ac_c_werror_flag" ||
45090 test ! -s conftest.err
45091 } && test -s conftest$ac_exeext &&
45092 $as_test_x conftest$ac_exeext; then
45093 ac_cv_func_socket=yes
45094 else
45095 echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.$ac_ext >&5
45097
45098 ac_cv_func_socket=no
45099 fi
45100
45101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45102 conftest$ac_exeext conftest.$ac_ext
45103 fi
45104 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45105 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45106 if test $ac_cv_func_socket = yes; then
45107 :
45108 else
45109
45110 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45111 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45112 if test "${ac_cv_lib_socket_socket+set}" = set; then
45113 echo $ECHO_N "(cached) $ECHO_C" >&6
45114 else
45115 ac_check_lib_save_LIBS=$LIBS
45116 LIBS="-lsocket $LIBS"
45117 cat >conftest.$ac_ext <<_ACEOF
45118 /* confdefs.h. */
45119 _ACEOF
45120 cat confdefs.h >>conftest.$ac_ext
45121 cat >>conftest.$ac_ext <<_ACEOF
45122 /* end confdefs.h. */
45123
45124 /* Override any GCC internal prototype to avoid an error.
45125 Use char because int might match the return type of a GCC
45126 builtin and then its argument prototype would still apply. */
45127 #ifdef __cplusplus
45128 extern "C"
45129 #endif
45130 char socket ();
45131 int
45132 main ()
45133 {
45134 return socket ();
45135 ;
45136 return 0;
45137 }
45138 _ACEOF
45139 rm -f conftest.$ac_objext conftest$ac_exeext
45140 if { (ac_try="$ac_link"
45141 case "(($ac_try" in
45142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45143 *) ac_try_echo=$ac_try;;
45144 esac
45145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45146 (eval "$ac_link") 2>conftest.er1
45147 ac_status=$?
45148 grep -v '^ *+' conftest.er1 >conftest.err
45149 rm -f conftest.er1
45150 cat conftest.err >&5
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); } && {
45153 test -z "$ac_c_werror_flag" ||
45154 test ! -s conftest.err
45155 } && test -s conftest$ac_exeext &&
45156 $as_test_x conftest$ac_exeext; then
45157 ac_cv_lib_socket_socket=yes
45158 else
45159 echo "$as_me: failed program was:" >&5
45160 sed 's/^/| /' conftest.$ac_ext >&5
45161
45162 ac_cv_lib_socket_socket=no
45163 fi
45164
45165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45166 conftest$ac_exeext conftest.$ac_ext
45167 LIBS=$ac_check_lib_save_LIBS
45168 fi
45169 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45170 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45171 if test $ac_cv_lib_socket_socket = yes; then
45172 if test "$INET_LINK" != " -lsocket"; then
45173 INET_LINK="$INET_LINK -lsocket"
45174 fi
45175 else
45176
45177 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45178 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45179 wxUSE_SOCKETS=no
45180
45181
45182 fi
45183
45184
45185
45186 fi
45187
45188 fi
45189 fi
45190
45191 if test "$wxUSE_SOCKETS" = "yes" ; then
45192 if test "$TOOLKIT" != "MSW"; then
45193 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45194 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45195 if test "${wx_cv_type_getsockname3+set}" = set; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45197 else
45198
45199 ac_ext=cpp
45200 ac_cpp='$CXXCPP $CPPFLAGS'
45201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45204
45205 cat >conftest.$ac_ext <<_ACEOF
45206 /* confdefs.h. */
45207 _ACEOF
45208 cat confdefs.h >>conftest.$ac_ext
45209 cat >>conftest.$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211
45212 #include <sys/types.h>
45213 #include <sys/socket.h>
45214
45215 int
45216 main ()
45217 {
45218
45219 socklen_t len;
45220 getsockname(0, 0, &len);
45221
45222 ;
45223 return 0;
45224 }
45225 _ACEOF
45226 rm -f conftest.$ac_objext
45227 if { (ac_try="$ac_compile"
45228 case "(($ac_try" in
45229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45230 *) ac_try_echo=$ac_try;;
45231 esac
45232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45233 (eval "$ac_compile") 2>conftest.er1
45234 ac_status=$?
45235 grep -v '^ *+' conftest.er1 >conftest.err
45236 rm -f conftest.er1
45237 cat conftest.err >&5
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); } && {
45240 test -z "$ac_cxx_werror_flag" ||
45241 test ! -s conftest.err
45242 } && test -s conftest.$ac_objext; then
45243 wx_cv_type_getsockname3=socklen_t
45244 else
45245 echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45247
45248
45249 CFLAGS_OLD="$CFLAGS"
45250 if test "$GCC" = yes ; then
45251 CFLAGS="-Werror $CFLAGS"
45252 fi
45253
45254 cat >conftest.$ac_ext <<_ACEOF
45255 /* confdefs.h. */
45256 _ACEOF
45257 cat confdefs.h >>conftest.$ac_ext
45258 cat >>conftest.$ac_ext <<_ACEOF
45259 /* end confdefs.h. */
45260
45261 #include <sys/types.h>
45262 #include <sys/socket.h>
45263
45264 int
45265 main ()
45266 {
45267
45268 size_t len;
45269 getsockname(0, 0, &len);
45270
45271 ;
45272 return 0;
45273 }
45274 _ACEOF
45275 rm -f conftest.$ac_objext
45276 if { (ac_try="$ac_compile"
45277 case "(($ac_try" in
45278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45279 *) ac_try_echo=$ac_try;;
45280 esac
45281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45282 (eval "$ac_compile") 2>conftest.er1
45283 ac_status=$?
45284 grep -v '^ *+' conftest.er1 >conftest.err
45285 rm -f conftest.er1
45286 cat conftest.err >&5
45287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288 (exit $ac_status); } && {
45289 test -z "$ac_cxx_werror_flag" ||
45290 test ! -s conftest.err
45291 } && test -s conftest.$ac_objext; then
45292 wx_cv_type_getsockname3=size_t
45293 else
45294 echo "$as_me: failed program was:" >&5
45295 sed 's/^/| /' conftest.$ac_ext >&5
45296
45297 cat >conftest.$ac_ext <<_ACEOF
45298 /* confdefs.h. */
45299 _ACEOF
45300 cat confdefs.h >>conftest.$ac_ext
45301 cat >>conftest.$ac_ext <<_ACEOF
45302 /* end confdefs.h. */
45303
45304 #include <sys/types.h>
45305 #include <sys/socket.h>
45306
45307 int
45308 main ()
45309 {
45310
45311 int len;
45312 getsockname(0, 0, &len);
45313
45314 ;
45315 return 0;
45316 }
45317 _ACEOF
45318 rm -f conftest.$ac_objext
45319 if { (ac_try="$ac_compile"
45320 case "(($ac_try" in
45321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45322 *) ac_try_echo=$ac_try;;
45323 esac
45324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45325 (eval "$ac_compile") 2>conftest.er1
45326 ac_status=$?
45327 grep -v '^ *+' conftest.er1 >conftest.err
45328 rm -f conftest.er1
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } && {
45332 test -z "$ac_cxx_werror_flag" ||
45333 test ! -s conftest.err
45334 } && test -s conftest.$ac_objext; then
45335 wx_cv_type_getsockname3=int
45336 else
45337 echo "$as_me: failed program was:" >&5
45338 sed 's/^/| /' conftest.$ac_ext >&5
45339
45340 wx_cv_type_getsockname3=unknown
45341
45342 fi
45343
45344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345
45346 fi
45347
45348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45349
45350 CFLAGS="$CFLAGS_OLD"
45351
45352
45353 fi
45354
45355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45356 ac_ext=c
45357 ac_cpp='$CPP $CPPFLAGS'
45358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45361
45362
45363 fi
45364 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45365 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45366
45367 if test "$wx_cv_type_getsockname3" = "unknown"; then
45368 wxUSE_SOCKETS=no
45369 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45370 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45371 else
45372 cat >>confdefs.h <<_ACEOF
45373 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45374 _ACEOF
45375
45376 fi
45377 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45378 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45379 if test "${wx_cv_type_getsockopt5+set}" = set; then
45380 echo $ECHO_N "(cached) $ECHO_C" >&6
45381 else
45382
45383 ac_ext=cpp
45384 ac_cpp='$CXXCPP $CPPFLAGS'
45385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45388
45389 cat >conftest.$ac_ext <<_ACEOF
45390 /* confdefs.h. */
45391 _ACEOF
45392 cat confdefs.h >>conftest.$ac_ext
45393 cat >>conftest.$ac_ext <<_ACEOF
45394 /* end confdefs.h. */
45395
45396 #include <sys/types.h>
45397 #include <sys/socket.h>
45398
45399 int
45400 main ()
45401 {
45402
45403 socklen_t len;
45404 getsockopt(0, 0, 0, 0, &len);
45405
45406 ;
45407 return 0;
45408 }
45409 _ACEOF
45410 rm -f conftest.$ac_objext
45411 if { (ac_try="$ac_compile"
45412 case "(($ac_try" in
45413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45414 *) ac_try_echo=$ac_try;;
45415 esac
45416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45417 (eval "$ac_compile") 2>conftest.er1
45418 ac_status=$?
45419 grep -v '^ *+' conftest.er1 >conftest.err
45420 rm -f conftest.er1
45421 cat conftest.err >&5
45422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45423 (exit $ac_status); } && {
45424 test -z "$ac_cxx_werror_flag" ||
45425 test ! -s conftest.err
45426 } && test -s conftest.$ac_objext; then
45427 wx_cv_type_getsockopt5=socklen_t
45428 else
45429 echo "$as_me: failed program was:" >&5
45430 sed 's/^/| /' conftest.$ac_ext >&5
45431
45432
45433 cat >conftest.$ac_ext <<_ACEOF
45434 /* confdefs.h. */
45435 _ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45439
45440 #include <sys/types.h>
45441 #include <sys/socket.h>
45442
45443 int
45444 main ()
45445 {
45446
45447 size_t len;
45448 getsockopt(0, 0, 0, 0, &len);
45449
45450 ;
45451 return 0;
45452 }
45453 _ACEOF
45454 rm -f conftest.$ac_objext
45455 if { (ac_try="$ac_compile"
45456 case "(($ac_try" in
45457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45458 *) ac_try_echo=$ac_try;;
45459 esac
45460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45461 (eval "$ac_compile") 2>conftest.er1
45462 ac_status=$?
45463 grep -v '^ *+' conftest.er1 >conftest.err
45464 rm -f conftest.er1
45465 cat conftest.err >&5
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); } && {
45468 test -z "$ac_cxx_werror_flag" ||
45469 test ! -s conftest.err
45470 } && test -s conftest.$ac_objext; then
45471 wx_cv_type_getsockopt5=size_t
45472 else
45473 echo "$as_me: failed program was:" >&5
45474 sed 's/^/| /' conftest.$ac_ext >&5
45475
45476 cat >conftest.$ac_ext <<_ACEOF
45477 /* confdefs.h. */
45478 _ACEOF
45479 cat confdefs.h >>conftest.$ac_ext
45480 cat >>conftest.$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45482
45483 #include <sys/types.h>
45484 #include <sys/socket.h>
45485
45486 int
45487 main ()
45488 {
45489
45490 int len;
45491 getsockopt(0, 0, 0, 0, &len);
45492
45493 ;
45494 return 0;
45495 }
45496 _ACEOF
45497 rm -f conftest.$ac_objext
45498 if { (ac_try="$ac_compile"
45499 case "(($ac_try" in
45500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45502 esac
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_compile") 2>conftest.er1
45505 ac_status=$?
45506 grep -v '^ *+' conftest.er1 >conftest.err
45507 rm -f conftest.er1
45508 cat conftest.err >&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_cxx_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest.$ac_objext; then
45514 wx_cv_type_getsockopt5=int
45515 else
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45518
45519 wx_cv_type_getsockopt5=unknown
45520
45521 fi
45522
45523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45524
45525 fi
45526
45527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45528
45529
45530 fi
45531
45532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45533 ac_ext=c
45534 ac_cpp='$CPP $CPPFLAGS'
45535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45538
45539
45540 fi
45541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45542 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45543
45544 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45545 wxUSE_SOCKETS=no
45546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45548 else
45549 cat >>confdefs.h <<_ACEOF
45550 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45551 _ACEOF
45552
45553 fi
45554 fi
45555 fi
45556
45557 if test "$wxUSE_SOCKETS" = "yes" ; then
45558 if test "$wxUSE_IPV6" = "yes"; then
45559 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45560 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45561 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45562 echo $ECHO_N "(cached) $ECHO_C" >&6
45563 else
45564
45565 cat >conftest.$ac_ext <<_ACEOF
45566 /* confdefs.h. */
45567 _ACEOF
45568 cat confdefs.h >>conftest.$ac_ext
45569 cat >>conftest.$ac_ext <<_ACEOF
45570 /* end confdefs.h. */
45571
45572 #include <sys/types.h>
45573 #include <sys/socket.h>
45574 #include <netinet/in.h>
45575
45576 int
45577 main ()
45578 {
45579
45580 struct sockaddr_in6 sa6;
45581
45582 ;
45583 return 0;
45584 }
45585 _ACEOF
45586 rm -f conftest.$ac_objext
45587 if { (ac_try="$ac_compile"
45588 case "(($ac_try" in
45589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45590 *) ac_try_echo=$ac_try;;
45591 esac
45592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45593 (eval "$ac_compile") 2>conftest.er1
45594 ac_status=$?
45595 grep -v '^ *+' conftest.er1 >conftest.err
45596 rm -f conftest.er1
45597 cat conftest.err >&5
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); } && {
45600 test -z "$ac_c_werror_flag" ||
45601 test ! -s conftest.err
45602 } && test -s conftest.$ac_objext; then
45603 wx_cv_type_sockaddr_in6=yes
45604 else
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45607
45608 wx_cv_type_sockaddr_in6=no
45609
45610 fi
45611
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613
45614
45615 fi
45616 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45617 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45618
45619 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_IPV6 1
45622 _ACEOF
45623
45624 else
45625 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45626 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45627 fi
45628 fi
45629
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_SOCKETS 1
45632 _ACEOF
45633
45634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45635 fi
45636
45637 if test "$wxUSE_PROTOCOL" = "yes"; then
45638 if test "$wxUSE_SOCKETS" != "yes"; then
45639 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45640 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45641 wxUSE_PROTOCOL=no
45642 fi
45643 fi
45644
45645 if test "$wxUSE_PROTOCOL" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_PROTOCOL 1
45648 _ACEOF
45649
45650
45651 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_PROTOCOL_HTTP 1
45654 _ACEOF
45655
45656 fi
45657 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_PROTOCOL_FTP 1
45660 _ACEOF
45661
45662 fi
45663 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_PROTOCOL_FILE 1
45666 _ACEOF
45667
45668 fi
45669 else
45670 if test "$wxUSE_FS_INET" = "yes"; then
45671 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45672 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45673 wxUSE_FS_INET="no"
45674 fi
45675 fi
45676
45677 if test "$wxUSE_URL" = "yes"; then
45678 if test "$wxUSE_PROTOCOL" != "yes"; then
45679 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45680 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45681 wxUSE_URL=no
45682 fi
45683 if test "$wxUSE_URL" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_URL 1
45686 _ACEOF
45687
45688 fi
45689 fi
45690
45691 if test "$wxUSE_VARIANT" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_VARIANT 1
45694 _ACEOF
45695
45696 fi
45697
45698 if test "$wxUSE_FS_INET" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_FS_INET 1
45701 _ACEOF
45702
45703 fi
45704
45705
45706 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45707 wxUSE_JOYSTICK=no
45708
45709 if test "$TOOLKIT" = "MSW"; then
45710 wxUSE_JOYSTICK=yes
45711
45712 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45713 if test "$USE_DARWIN" = 1; then
45714 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45715 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45716 ac_ext=cpp
45717 ac_cpp='$CXXCPP $CPPFLAGS'
45718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45721
45722 cat >conftest.$ac_ext <<_ACEOF
45723 /* confdefs.h. */
45724 _ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 #include <IOKit/hid/IOHIDLib.h>
45729 int
45730 main ()
45731 {
45732 IOHIDQueueInterface *qi = NULL;
45733 IOHIDCallbackFunction cb = NULL;
45734 qi->setEventCallout(NULL, cb, NULL, NULL);
45735 ;
45736 return 0;
45737 }
45738 _ACEOF
45739 rm -f conftest.$ac_objext
45740 if { (ac_try="$ac_compile"
45741 case "(($ac_try" in
45742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45743 *) ac_try_echo=$ac_try;;
45744 esac
45745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45746 (eval "$ac_compile") 2>conftest.er1
45747 ac_status=$?
45748 grep -v '^ *+' conftest.er1 >conftest.err
45749 rm -f conftest.er1
45750 cat conftest.err >&5
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); } && {
45753 test -z "$ac_cxx_werror_flag" ||
45754 test ! -s conftest.err
45755 } && test -s conftest.$ac_objext; then
45756 wxUSE_JOYSTICK=yes
45757
45758 else
45759 echo "$as_me: failed program was:" >&5
45760 sed 's/^/| /' conftest.$ac_ext >&5
45761
45762
45763 fi
45764
45765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45766 ac_ext=c
45767 ac_cpp='$CPP $CPPFLAGS'
45768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45771
45772 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45773 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45774 fi
45775
45776 else
45777 if test "$wxUSE_MGL" != 1; then
45778
45779 for ac_header in linux/joystick.h
45780 do
45781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45785 echo $ECHO_N "(cached) $ECHO_C" >&6
45786 else
45787 cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h. */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45793 $ac_includes_default
45794
45795 #include <$ac_header>
45796 _ACEOF
45797 rm -f conftest.$ac_objext
45798 if { (ac_try="$ac_compile"
45799 case "(($ac_try" in
45800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45801 *) ac_try_echo=$ac_try;;
45802 esac
45803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45804 (eval "$ac_compile") 2>conftest.er1
45805 ac_status=$?
45806 grep -v '^ *+' conftest.er1 >conftest.err
45807 rm -f conftest.er1
45808 cat conftest.err >&5
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); } && {
45811 test -z "$ac_c_werror_flag" ||
45812 test ! -s conftest.err
45813 } && test -s conftest.$ac_objext; then
45814 eval "$as_ac_Header=yes"
45815 else
45816 echo "$as_me: failed program was:" >&5
45817 sed 's/^/| /' conftest.$ac_ext >&5
45818
45819 eval "$as_ac_Header=no"
45820 fi
45821
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823 fi
45824 ac_res=`eval echo '${'$as_ac_Header'}'`
45825 { echo "$as_me:$LINENO: result: $ac_res" >&5
45826 echo "${ECHO_T}$ac_res" >&6; }
45827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45828 cat >>confdefs.h <<_ACEOF
45829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45830 _ACEOF
45831 wxUSE_JOYSTICK=yes
45832 fi
45833
45834 done
45835
45836 fi
45837 fi
45838
45839 if test "$wxUSE_JOYSTICK" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_JOYSTICK 1
45842 _ACEOF
45843
45844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45845 else
45846 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45847 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45848 fi
45849 fi
45850
45851
45852
45853 if test "$wxUSE_FONTENUM" = "yes" ; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_FONTENUM 1
45856 _ACEOF
45857
45858 fi
45859
45860 if test "$wxUSE_FONTMAP" = "yes" ; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_FONTMAP 1
45863 _ACEOF
45864
45865 fi
45866
45867 if test "$wxUSE_UNICODE" = "yes" ; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_UNICODE 1
45870 _ACEOF
45871
45872
45873 if test "$USE_WIN32" != 1; then
45874 wxUSE_UNICODE_MSLU=no
45875 fi
45876
45877 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45878 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45879 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45880 if test "${ac_cv_lib_unicows_main+set}" = set; then
45881 echo $ECHO_N "(cached) $ECHO_C" >&6
45882 else
45883 ac_check_lib_save_LIBS=$LIBS
45884 LIBS="-lunicows $LIBS"
45885 cat >conftest.$ac_ext <<_ACEOF
45886 /* confdefs.h. */
45887 _ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891
45892
45893 int
45894 main ()
45895 {
45896 return main ();
45897 ;
45898 return 0;
45899 }
45900 _ACEOF
45901 rm -f conftest.$ac_objext conftest$ac_exeext
45902 if { (ac_try="$ac_link"
45903 case "(($ac_try" in
45904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45905 *) ac_try_echo=$ac_try;;
45906 esac
45907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45908 (eval "$ac_link") 2>conftest.er1
45909 ac_status=$?
45910 grep -v '^ *+' conftest.er1 >conftest.err
45911 rm -f conftest.er1
45912 cat conftest.err >&5
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); } && {
45915 test -z "$ac_c_werror_flag" ||
45916 test ! -s conftest.err
45917 } && test -s conftest$ac_exeext &&
45918 $as_test_x conftest$ac_exeext; then
45919 ac_cv_lib_unicows_main=yes
45920 else
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45923
45924 ac_cv_lib_unicows_main=no
45925 fi
45926
45927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45928 conftest$ac_exeext conftest.$ac_ext
45929 LIBS=$ac_check_lib_save_LIBS
45930 fi
45931 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45932 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45933 if test $ac_cv_lib_unicows_main = yes; then
45934
45935 cat >>confdefs.h <<\_ACEOF
45936 #define wxUSE_UNICODE_MSLU 1
45937 _ACEOF
45938
45939
45940 else
45941
45942 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45943 Applications will only run on Windows NT/2000/XP!" >&5
45944 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45945 Applications will only run on Windows NT/2000/XP!" >&2;}
45946 wxUSE_UNICODE_MSLU=no
45947
45948 fi
45949
45950 fi
45951 fi
45952
45953 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_UNICODE_UTF8 1
45956 _ACEOF
45957
45958
45959 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_UTF8_LOCALE_ONLY 1
45962 _ACEOF
45963
45964 fi
45965 fi
45966
45967
45968 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_CONSTRAINTS 1
45971 _ACEOF
45972
45973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45974 fi
45975
45976 if test "$wxUSE_MDI" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_MDI 1
45979 _ACEOF
45980
45981
45982 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_MDI_ARCHITECTURE 1
45985 _ACEOF
45986
45987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45988 fi
45989 fi
45990
45991 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45994 _ACEOF
45995
45996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45997 fi
45998
45999 if test "$wxUSE_HELP" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_HELP 1
46002 _ACEOF
46003
46004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46005
46006 if test "$wxUSE_MSW" = 1; then
46007 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_MS_HTML_HELP 1
46010 _ACEOF
46011
46012 fi
46013 fi
46014
46015 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46016 if test "$wxUSE_HTML" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_WXHTML_HELP 1
46019 _ACEOF
46020
46021 else
46022 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46023 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46024 wxUSE_WXHTML_HELP=no
46025 fi
46026 fi
46027 fi
46028
46029 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_PRINTING_ARCHITECTURE 1
46032 _ACEOF
46033
46034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46035 fi
46036
46037 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_POSTSCRIPT 1
46040 _ACEOF
46041
46042 fi
46043
46044 cat >>confdefs.h <<\_ACEOF
46045 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46046 _ACEOF
46047
46048
46049 if test "$wxUSE_SVG" = "yes"; then
46050 cat >>confdefs.h <<\_ACEOF
46051 #define wxUSE_SVG 1
46052 _ACEOF
46053
46054 fi
46055
46056
46057 if test "$wxUSE_METAFILE" = "yes"; then
46058 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46059 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46060 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46061 wxUSE_METAFILE=no
46062 fi
46063 fi
46064
46065
46066 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46067 -o "$wxUSE_CLIPBOARD" = "yes" \
46068 -o "$wxUSE_OLE" = "yes" \
46069 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46070 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46071 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46072 if test "${ac_cv_header_ole2_h+set}" = set; then
46073 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 else
46075 cat >conftest.$ac_ext <<_ACEOF
46076 /* confdefs.h. */
46077 _ACEOF
46078 cat confdefs.h >>conftest.$ac_ext
46079 cat >>conftest.$ac_ext <<_ACEOF
46080 /* end confdefs.h. */
46081
46082
46083 #include <ole2.h>
46084 _ACEOF
46085 rm -f conftest.$ac_objext
46086 if { (ac_try="$ac_compile"
46087 case "(($ac_try" in
46088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46089 *) ac_try_echo=$ac_try;;
46090 esac
46091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46092 (eval "$ac_compile") 2>conftest.er1
46093 ac_status=$?
46094 grep -v '^ *+' conftest.er1 >conftest.err
46095 rm -f conftest.er1
46096 cat conftest.err >&5
46097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46098 (exit $ac_status); } && {
46099 test -z "$ac_c_werror_flag" ||
46100 test ! -s conftest.err
46101 } && test -s conftest.$ac_objext; then
46102 ac_cv_header_ole2_h=yes
46103 else
46104 echo "$as_me: failed program was:" >&5
46105 sed 's/^/| /' conftest.$ac_ext >&5
46106
46107 ac_cv_header_ole2_h=no
46108 fi
46109
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 fi
46112 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46113 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46114
46115
46116
46117 if test "$ac_cv_header_ole2_h" = "yes" ; then
46118 if test "$GCC" = yes ; then
46119 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46120 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46121 cat >conftest.$ac_ext <<_ACEOF
46122 /* confdefs.h. */
46123 _ACEOF
46124 cat confdefs.h >>conftest.$ac_ext
46125 cat >>conftest.$ac_ext <<_ACEOF
46126 /* end confdefs.h. */
46127 #include <windows.h>
46128 #include <ole2.h>
46129 int
46130 main ()
46131 {
46132
46133 ;
46134 return 0;
46135 }
46136 _ACEOF
46137 rm -f conftest.$ac_objext
46138 if { (ac_try="$ac_compile"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46141 *) ac_try_echo=$ac_try;;
46142 esac
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_compile") 2>conftest.er1
46145 ac_status=$?
46146 grep -v '^ *+' conftest.er1 >conftest.err
46147 rm -f conftest.er1
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } && {
46151 test -z "$ac_c_werror_flag" ||
46152 test ! -s conftest.err
46153 } && test -s conftest.$ac_objext; then
46154 { echo "$as_me:$LINENO: result: no" >&5
46155 echo "${ECHO_T}no" >&6; }
46156 else
46157 echo "$as_me: failed program was:" >&5
46158 sed 's/^/| /' conftest.$ac_ext >&5
46159
46160 { echo "$as_me:$LINENO: result: yes" >&5
46161 echo "${ECHO_T}yes" >&6; }
46162 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46163 fi
46164
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46167 if test "$wxUSE_OLE" = "yes" ; then
46168 cat >>confdefs.h <<\_ACEOF
46169 #define wxUSE_OLE 1
46170 _ACEOF
46171
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_OLE_AUTOMATION 1
46174 _ACEOF
46175
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_ACTIVEX 1
46178 _ACEOF
46179
46180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46181 fi
46182 fi
46183
46184 if test "$wxUSE_DATAOBJ" = "yes" ; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_DATAOBJ 1
46187 _ACEOF
46188
46189 fi
46190 else
46191 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46192 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46193
46194 wxUSE_CLIPBOARD=no
46195 wxUSE_DRAG_AND_DROP=no
46196 wxUSE_DATAOBJ=no
46197 wxUSE_OLE=no
46198 fi
46199
46200 if test "$wxUSE_METAFILE" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_METAFILE 1
46203 _ACEOF
46204
46205
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_ENH_METAFILE 1
46208 _ACEOF
46209
46210 fi
46211 fi
46212
46213 if test "$wxUSE_IPC" = "yes"; then
46214 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46215 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46216 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46217 wxUSE_IPC=no
46218 fi
46219
46220 if test "$wxUSE_IPC" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_IPC 1
46223 _ACEOF
46224
46225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46226 fi
46227 fi
46228
46229 if test "$wxUSE_DATAOBJ" = "yes"; then
46230 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46231 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46232 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46233 wxUSE_DATAOBJ=no
46234 else
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_DATAOBJ 1
46237 _ACEOF
46238
46239 fi
46240 else
46241 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46242 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46243 wxUSE_CLIPBOARD=no
46244 wxUSE_DRAG_AND_DROP=no
46245 fi
46246
46247 if test "$wxUSE_CLIPBOARD" = "yes"; then
46248 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46249 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46250 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46251 wxUSE_CLIPBOARD=no
46252 fi
46253
46254 if test "$wxUSE_CLIPBOARD" = "yes"; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_CLIPBOARD 1
46257 _ACEOF
46258
46259 fi
46260 fi
46261
46262 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46263 if test "$wxUSE_GTK" = 1; then
46264 if test "$WXGTK12" != 1; then
46265 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46266 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46267 wxUSE_DRAG_AND_DROP=no
46268 fi
46269 fi
46270
46271 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46272 "$wxUSE_DFB" = 1; then
46273 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46274 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46275 wxUSE_DRAG_AND_DROP=no
46276 fi
46277
46278 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_DRAG_AND_DROP 1
46281 _ACEOF
46282
46283 fi
46284
46285 fi
46286
46287 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46289 fi
46290
46291 if test "$wxUSE_CLIPBOARD" = "yes"; then
46292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46293 fi
46294
46295 if test "$wxUSE_SPLINES" = "yes" ; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_SPLINES 1
46298 _ACEOF
46299
46300 fi
46301
46302 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_MOUSEWHEEL 1
46305 _ACEOF
46306
46307 fi
46308
46309
46310 USES_CONTROLS=0
46311 if test "$wxUSE_CONTROLS" = "yes"; then
46312 USES_CONTROLS=1
46313 fi
46314
46315 if test "$wxUSE_ACCEL" = "yes"; then
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_ACCEL 1
46318 _ACEOF
46319
46320 USES_CONTROLS=1
46321 fi
46322
46323 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_ANIMATIONCTRL 1
46326 _ACEOF
46327
46328 USES_CONTROLS=1
46329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46330 fi
46331
46332 if test "$wxUSE_BUTTON" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_BUTTON 1
46335 _ACEOF
46336
46337 USES_CONTROLS=1
46338 fi
46339
46340 if test "$wxUSE_BMPBUTTON" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_BMPBUTTON 1
46343 _ACEOF
46344
46345 USES_CONTROLS=1
46346 fi
46347
46348 if test "$wxUSE_CALCTRL" = "yes"; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_CALENDARCTRL 1
46351 _ACEOF
46352
46353 USES_CONTROLS=1
46354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46355 fi
46356
46357 if test "$wxUSE_CARET" = "yes"; then
46358 cat >>confdefs.h <<\_ACEOF
46359 #define wxUSE_CARET 1
46360 _ACEOF
46361
46362 USES_CONTROLS=1
46363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46364 fi
46365
46366 if test "$wxUSE_COLLPANE" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_COLLPANE 1
46369 _ACEOF
46370
46371 USES_CONTROLS=1
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46373 fi
46374
46375 if test "$wxUSE_COMBOBOX" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_COMBOBOX 1
46378 _ACEOF
46379
46380 USES_CONTROLS=1
46381 fi
46382
46383 if test "$wxUSE_COMBOCTRL" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_COMBOCTRL 1
46386 _ACEOF
46387
46388 USES_CONTROLS=1
46389 fi
46390
46391 if test "$wxUSE_CHOICE" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_CHOICE 1
46394 _ACEOF
46395
46396 USES_CONTROLS=1
46397 fi
46398
46399 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_CHOICEBOOK 1
46402 _ACEOF
46403
46404 USES_CONTROLS=1
46405 fi
46406
46407 if test "$wxUSE_CHECKBOX" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_CHECKBOX 1
46410 _ACEOF
46411
46412 USES_CONTROLS=1
46413 fi
46414
46415 if test "$wxUSE_CHECKLST" = "yes"; then
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_CHECKLISTBOX 1
46418 _ACEOF
46419
46420 USES_CONTROLS=1
46421 fi
46422
46423 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_COLOURPICKERCTRL 1
46426 _ACEOF
46427
46428 USES_CONTROLS=1
46429 fi
46430
46431 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_DATEPICKCTRL 1
46434 _ACEOF
46435
46436 USES_CONTROLS=1
46437 fi
46438
46439 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_DIRPICKERCTRL 1
46442 _ACEOF
46443
46444 USES_CONTROLS=1
46445 fi
46446
46447 if test "$wxUSE_FILECTRL" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_FILECTRL 1
46450 _ACEOF
46451
46452 USES_CONTROLS=1
46453 fi
46454
46455 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_FILEPICKERCTRL 1
46458 _ACEOF
46459
46460 USES_CONTROLS=1
46461 fi
46462
46463 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_FONTPICKERCTRL 1
46466 _ACEOF
46467
46468 USES_CONTROLS=1
46469 fi
46470
46471 if test "$wxUSE_DISPLAY" = "yes"; then
46472 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46473 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46474 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46475 wxUSE_DISPLAY=no
46476 else
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_DISPLAY 1
46479 _ACEOF
46480
46481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46482 fi
46483 fi
46484
46485 if test "$wxUSE_DETECT_SM" = "yes"; then
46486 cat >>confdefs.h <<\_ACEOF
46487 #define wxUSE_DETECT_SM 1
46488 _ACEOF
46489
46490 fi
46491
46492 if test "$wxUSE_GAUGE" = "yes"; then
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_GAUGE 1
46495 _ACEOF
46496
46497 USES_CONTROLS=1
46498 fi
46499
46500 if test "$wxUSE_GRID" = "yes"; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_GRID 1
46503 _ACEOF
46504
46505 USES_CONTROLS=1
46506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46507 fi
46508
46509 if test "$wxUSE_HEADERCTRL" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_HEADERCTRL 1
46512 _ACEOF
46513
46514 USES_CONTROLS=1
46515 fi
46516
46517 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_HYPERLINKCTRL 1
46520 _ACEOF
46521
46522 USES_CONTROLS=1
46523 fi
46524
46525 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_BITMAPCOMBOBOX 1
46528 _ACEOF
46529
46530 USES_CONTROLS=1
46531 fi
46532
46533 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_DATAVIEWCTRL 1
46536 _ACEOF
46537
46538 USES_CONTROLS=1
46539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46540 fi
46541
46542 if test "$wxUSE_IMAGLIST" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_IMAGLIST 1
46545 _ACEOF
46546
46547 fi
46548
46549 if test "$wxUSE_INFOBAR" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_INFOBAR 1
46552 _ACEOF
46553
46554 fi
46555
46556 if test "$wxUSE_LISTBOOK" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_LISTBOOK 1
46559 _ACEOF
46560
46561 USES_CONTROLS=1
46562 fi
46563
46564 if test "$wxUSE_LISTBOX" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_LISTBOX 1
46567 _ACEOF
46568
46569 USES_CONTROLS=1
46570 fi
46571
46572 if test "$wxUSE_LISTCTRL" = "yes"; then
46573 if test "$wxUSE_IMAGLIST" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_LISTCTRL 1
46576 _ACEOF
46577
46578 USES_CONTROLS=1
46579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46580 else
46581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46583 fi
46584 fi
46585
46586 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_EDITABLELISTBOX 1
46589 _ACEOF
46590
46591 USES_CONTROLS=1
46592 fi
46593
46594 if test "$wxUSE_NOTEBOOK" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_NOTEBOOK 1
46597 _ACEOF
46598
46599 USES_CONTROLS=1
46600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46601 fi
46602
46603 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_NOTIFICATION_MESSAGE 1
46606 _ACEOF
46607
46608 fi
46609
46610 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_ODCOMBOBOX 1
46613 _ACEOF
46614
46615 USES_CONTROLS=1
46616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46617 fi
46618
46619 if test "$wxUSE_RADIOBOX" = "yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_RADIOBOX 1
46622 _ACEOF
46623
46624 USES_CONTROLS=1
46625 fi
46626
46627 if test "$wxUSE_RADIOBTN" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_RADIOBTN 1
46630 _ACEOF
46631
46632 USES_CONTROLS=1
46633 fi
46634
46635 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_REARRANGECTRL 1
46638 _ACEOF
46639
46640 fi
46641
46642 if test "$wxUSE_SASH" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_SASH 1
46645 _ACEOF
46646
46647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46648 fi
46649
46650 if test "$wxUSE_SCROLLBAR" = "yes"; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_SCROLLBAR 1
46653 _ACEOF
46654
46655 USES_CONTROLS=1
46656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46657 fi
46658
46659 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46660 cat >>confdefs.h <<\_ACEOF
46661 #define wxUSE_SEARCHCTRL 1
46662 _ACEOF
46663
46664 USES_CONTROLS=1
46665 fi
46666
46667 if test "$wxUSE_SLIDER" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_SLIDER 1
46670 _ACEOF
46671
46672 USES_CONTROLS=1
46673 fi
46674
46675 if test "$wxUSE_SPINBTN" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_SPINBTN 1
46678 _ACEOF
46679
46680 USES_CONTROLS=1
46681 fi
46682
46683 if test "$wxUSE_SPINCTRL" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_SPINCTRL 1
46686 _ACEOF
46687
46688 USES_CONTROLS=1
46689 fi
46690
46691 if test "$wxUSE_SPLITTER" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_SPLITTER 1
46694 _ACEOF
46695
46696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46697 fi
46698
46699 if test "$wxUSE_STATBMP" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_STATBMP 1
46702 _ACEOF
46703
46704 USES_CONTROLS=1
46705 fi
46706
46707 if test "$wxUSE_STATBOX" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_STATBOX 1
46710 _ACEOF
46711
46712 USES_CONTROLS=1
46713 fi
46714
46715 if test "$wxUSE_STATTEXT" = "yes"; then
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_STATTEXT 1
46718 _ACEOF
46719
46720 USES_CONTROLS=1
46721 fi
46722
46723 if test "$wxUSE_STATLINE" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_STATLINE 1
46726 _ACEOF
46727
46728 USES_CONTROLS=1
46729 fi
46730
46731 if test "$wxUSE_STATUSBAR" = "yes"; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_NATIVE_STATUSBAR 1
46734 _ACEOF
46735
46736 cat >>confdefs.h <<\_ACEOF
46737 #define wxUSE_STATUSBAR 1
46738 _ACEOF
46739
46740 USES_CONTROLS=1
46741
46742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46743 fi
46744
46745 if test "$wxUSE_TEXTCTRL" = "yes"; then
46746 cat >>confdefs.h <<\_ACEOF
46747 #define wxUSE_TEXTCTRL 1
46748 _ACEOF
46749
46750 USES_CONTROLS=1
46751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46752
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_RICHEDIT 1
46755 _ACEOF
46756
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_RICHEDIT2 1
46759 _ACEOF
46760
46761 fi
46762
46763 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46764 if test "$wxUSE_OLD_COCOA" = 1 ; then
46765 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46766 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46767 wxUSE_TOGGLEBTN=no
46768 fi
46769
46770 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46771 cat >>confdefs.h <<\_ACEOF
46772 #define wxUSE_TOGGLEBTN 1
46773 _ACEOF
46774
46775 USES_CONTROLS=1
46776 fi
46777 fi
46778
46779 if test "$wxUSE_TOOLBAR" = "yes"; then
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_TOOLBAR 1
46782 _ACEOF
46783
46784 USES_CONTROLS=1
46785
46786 if test "$wxUSE_UNIVERSAL" = "yes"; then
46787 wxUSE_TOOLBAR_NATIVE="no"
46788 else
46789 wxUSE_TOOLBAR_NATIVE="yes"
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_TOOLBAR_NATIVE 1
46792 _ACEOF
46793
46794 fi
46795
46796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46797 fi
46798
46799 if test "$wxUSE_TOOLTIPS" = "yes"; then
46800 if test "$wxUSE_MOTIF" = 1; then
46801 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46802 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46803 else
46804 if test "$wxUSE_UNIVERSAL" = "yes"; then
46805 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46806 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46807 else
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_TOOLTIPS 1
46810 _ACEOF
46811
46812 fi
46813 fi
46814 fi
46815
46816 if test "$wxUSE_TREEBOOK" = "yes"; then
46817 cat >>confdefs.h <<\_ACEOF
46818 #define wxUSE_TREEBOOK 1
46819 _ACEOF
46820
46821 USES_CONTROLS=1
46822 fi
46823
46824 if test "$wxUSE_TOOLBOOK" = "yes"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_TOOLBOOK 1
46827 _ACEOF
46828
46829 USES_CONTROLS=1
46830 fi
46831
46832 if test "$wxUSE_TREECTRL" = "yes"; then
46833 if test "$wxUSE_IMAGLIST" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_TREECTRL 1
46836 _ACEOF
46837
46838 USES_CONTROLS=1
46839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46840 else
46841 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46842 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46843 fi
46844 fi
46845
46846 if test "$wxUSE_POPUPWIN" = "yes"; then
46847 if test "$wxUSE_OLD_COCOA" = 1 ; then
46848 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46849 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46850 else
46851 if test "$wxUSE_PM" = 1; then
46852 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46853 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46854 else
46855 cat >>confdefs.h <<\_ACEOF
46856 #define wxUSE_POPUPWIN 1
46857 _ACEOF
46858
46859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46860
46861 USES_CONTROLS=1
46862 fi
46863 fi
46864 fi
46865
46866 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46868 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46869 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46870 else
46871 cat >>confdefs.h <<\_ACEOF
46872 #define wxUSE_DIALUP_MANAGER 1
46873 _ACEOF
46874
46875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46876 fi
46877 fi
46878
46879 if test "$wxUSE_TIPWINDOW" = "yes"; then
46880 if test "$wxUSE_PM" = 1; then
46881 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46882 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46883 else
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_TIPWINDOW 1
46886 _ACEOF
46887
46888 fi
46889 fi
46890
46891 if test "$USES_CONTROLS" = 1; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_CONTROLS 1
46894 _ACEOF
46895
46896 fi
46897
46898
46899 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_ACCESSIBILITY 1
46902 _ACEOF
46903
46904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46905 fi
46906
46907 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_DRAGIMAGE 1
46910 _ACEOF
46911
46912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46913 fi
46914
46915 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46916 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46917 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46918 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46919 else
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_EXCEPTIONS 1
46922 _ACEOF
46923
46924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46925 fi
46926 fi
46927
46928 USE_HTML=0
46929 if test "$wxUSE_HTML" = "yes"; then
46930 cat >>confdefs.h <<\_ACEOF
46931 #define wxUSE_HTML 1
46932 _ACEOF
46933
46934 USE_HTML=1
46935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46936 fi
46937 if test "$wxUSE_WEBKIT" = "yes"; then
46938 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46939 old_CPPFLAGS="$CPPFLAGS"
46940 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46941 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46942 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46943 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46944 echo $ECHO_N "(cached) $ECHO_C" >&6
46945 else
46946 cat >conftest.$ac_ext <<_ACEOF
46947 /* confdefs.h. */
46948 _ACEOF
46949 cat confdefs.h >>conftest.$ac_ext
46950 cat >>conftest.$ac_ext <<_ACEOF
46951 /* end confdefs.h. */
46952
46953 #include <Carbon/Carbon.h>
46954 #include <WebKit/WebKit.h>
46955
46956
46957 #include <WebKit/HIWebView.h>
46958 _ACEOF
46959 rm -f conftest.$ac_objext
46960 if { (ac_try="$ac_compile"
46961 case "(($ac_try" in
46962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46963 *) ac_try_echo=$ac_try;;
46964 esac
46965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46966 (eval "$ac_compile") 2>conftest.er1
46967 ac_status=$?
46968 grep -v '^ *+' conftest.er1 >conftest.err
46969 rm -f conftest.er1
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } && {
46973 test -z "$ac_c_werror_flag" ||
46974 test ! -s conftest.err
46975 } && test -s conftest.$ac_objext; then
46976 ac_cv_header_WebKit_HIWebView_h=yes
46977 else
46978 echo "$as_me: failed program was:" >&5
46979 sed 's/^/| /' conftest.$ac_ext >&5
46980
46981 ac_cv_header_WebKit_HIWebView_h=no
46982 fi
46983
46984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46985 fi
46986 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46987 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46988 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46989
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_WEBKIT 1
46992 _ACEOF
46993
46994 WEBKIT_LINK="-framework WebKit"
46995
46996 else
46997
46998 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46999 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47000 wxUSE_WEBKIT=no
47001
47002 fi
47003
47004
47005 CPPFLAGS="$old_CPPFLAGS"
47006 elif test "$wxUSE_OLD_COCOA" = 1; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_WEBKIT 1
47009 _ACEOF
47010
47011 else
47012 wxUSE_WEBKIT=no
47013 fi
47014 if test "$wxUSE_WEBKIT" = "yes"; then
47015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47016 fi
47017 fi
47018
47019 USE_XRC=0
47020 if test "$wxUSE_XRC" = "yes"; then
47021 if test "$wxUSE_XML" != "yes"; then
47022 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47023 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47024 wxUSE_XRC=no
47025 else
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_XRC 1
47028 _ACEOF
47029
47030 USE_XRC=1
47031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47032 fi
47033 fi
47034
47035 USE_AUI=0
47036 if test "$wxUSE_AUI" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_AUI 1
47039 _ACEOF
47040
47041 USE_AUI=1
47042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47043 fi
47044
47045 USE_PROPGRID=0
47046 if test "$wxUSE_PROPGRID" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_PROPGRID 1
47049 _ACEOF
47050
47051 USE_PROPGRID=1
47052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47053 fi
47054
47055 USE_RIBBON=0
47056 if test "$wxUSE_RIBBON" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_RIBBON 1
47059 _ACEOF
47060
47061 USE_RIBBON=1
47062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47063 fi
47064
47065 USE_STC=0
47066 if test "$wxUSE_STC" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_STC 1
47069 _ACEOF
47070
47071 USE_STC=1
47072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47073
47074 # Extract the first word of "python", so it can be a program name with args.
47075 set dummy python; ac_word=$2
47076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47078 if test "${ac_cv_path_PYTHON+set}" = set; then
47079 echo $ECHO_N "(cached) $ECHO_C" >&6
47080 else
47081 case $PYTHON in
47082 [\\/]* | ?:[\\/]*)
47083 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47084 ;;
47085 *)
47086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47087 for as_dir in $PATH
47088 do
47089 IFS=$as_save_IFS
47090 test -z "$as_dir" && as_dir=.
47091 for ac_exec_ext in '' $ac_executable_extensions; do
47092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47093 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47095 break 2
47096 fi
47097 done
47098 done
47099 IFS=$as_save_IFS
47100
47101 ;;
47102 esac
47103 fi
47104 PYTHON=$ac_cv_path_PYTHON
47105 if test -n "$PYTHON"; then
47106 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47107 echo "${ECHO_T}$PYTHON" >&6; }
47108 else
47109 { echo "$as_me:$LINENO: result: no" >&5
47110 echo "${ECHO_T}no" >&6; }
47111 fi
47112
47113
47114 if test "x$PYTHON" = "x"; then
47115 COND_PYTHON="#"
47116 fi
47117
47118 fi
47119
47120 if test "$wxUSE_MENUS" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_MENUS 1
47123 _ACEOF
47124
47125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47126 fi
47127
47128 if test "$wxUSE_METAFILE" = "yes"; then
47129 cat >>confdefs.h <<\_ACEOF
47130 #define wxUSE_METAFILE 1
47131 _ACEOF
47132
47133 fi
47134
47135 if test "$wxUSE_MIMETYPE" = "yes"; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_MIMETYPE 1
47138 _ACEOF
47139
47140 fi
47141
47142 if test "$wxUSE_MINIFRAME" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_MINIFRAME 1
47145 _ACEOF
47146
47147 fi
47148
47149 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_SYSTEM_OPTIONS 1
47152 _ACEOF
47153
47154 fi
47155
47156 if test "$wxUSE_TASKBARICON" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_TASKBARICON 1
47159 _ACEOF
47160
47161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47162 fi
47163
47164
47165 if test "$wxUSE_VALIDATORS" = "yes"; then
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_VALIDATORS 1
47168 _ACEOF
47169
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47171 fi
47172
47173 if test "$wxUSE_PALETTE" = "yes" ; then
47174 if test "$wxUSE_DFB" = 1; then
47175 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47176 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47177 wxUSE_PALETTE=no
47178 else
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_PALETTE 1
47181 _ACEOF
47182
47183 fi
47184 fi
47185
47186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47187 LIBS=" -lunicows $LIBS"
47188 fi
47189
47190 USE_RICHTEXT=0
47191 if test "$wxUSE_RICHTEXT" = "yes"; then
47192 cat >>confdefs.h <<\_ACEOF
47193 #define wxUSE_RICHTEXT 1
47194 _ACEOF
47195
47196 USE_RICHTEXT=1
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47198 fi
47199
47200
47201 if test "$wxUSE_IMAGE" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_IMAGE 1
47204 _ACEOF
47205
47206
47207 if test "$wxUSE_GIF" = "yes" ; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_GIF 1
47210 _ACEOF
47211
47212 fi
47213
47214 if test "$wxUSE_PCX" = "yes" ; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_PCX 1
47217 _ACEOF
47218
47219 fi
47220
47221 if test "$wxUSE_TGA" = "yes" ; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_TGA 1
47224 _ACEOF
47225
47226 fi
47227
47228 if test "$wxUSE_IFF" = "yes" ; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_IFF 1
47231 _ACEOF
47232
47233 fi
47234
47235 if test "$wxUSE_PNM" = "yes" ; then
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_PNM 1
47238 _ACEOF
47239
47240 fi
47241
47242 if test "$wxUSE_XPM" = "yes" ; then
47243 cat >>confdefs.h <<\_ACEOF
47244 #define wxUSE_XPM 1
47245 _ACEOF
47246
47247 fi
47248
47249 if test "$wxUSE_ICO_CUR" = "yes" ; then
47250 cat >>confdefs.h <<\_ACEOF
47251 #define wxUSE_ICO_CUR 1
47252 _ACEOF
47253
47254 fi
47255 fi
47256
47257
47258 if test "$wxUSE_ABOUTDLG" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_ABOUTDLG 1
47261 _ACEOF
47262
47263 fi
47264
47265 if test "$wxUSE_CHOICEDLG" = "yes"; then
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_CHOICEDLG 1
47268 _ACEOF
47269
47270 fi
47271
47272 if test "$wxUSE_COLOURDLG" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_COLOURDLG 1
47275 _ACEOF
47276
47277 fi
47278
47279 if test "$wxUSE_FILEDLG" = "yes"; then
47280 cat >>confdefs.h <<\_ACEOF
47281 #define wxUSE_FILEDLG 1
47282 _ACEOF
47283
47284 fi
47285
47286 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_FINDREPLDLG 1
47289 _ACEOF
47290
47291 fi
47292
47293 if test "$wxUSE_FONTDLG" = "yes"; then
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_FONTDLG 1
47296 _ACEOF
47297
47298 fi
47299
47300 if test "$wxUSE_DIRDLG" = "yes"; then
47301 if test "$wxUSE_TREECTRL" != "yes"; then
47302 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47303 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47304 else
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_DIRDLG 1
47307 _ACEOF
47308
47309 fi
47310 fi
47311
47312 if test "$wxUSE_MSGDLG" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_MSGDLG 1
47315 _ACEOF
47316
47317 fi
47318
47319 if test "$wxUSE_NUMBERDLG" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_NUMBERDLG 1
47322 _ACEOF
47323
47324 fi
47325
47326 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_PROGRESSDLG 1
47329 _ACEOF
47330
47331 fi
47332
47333 if test "$wxUSE_SPLASH" = "yes"; then
47334 cat >>confdefs.h <<\_ACEOF
47335 #define wxUSE_SPLASH 1
47336 _ACEOF
47337
47338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47339 fi
47340
47341 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_STARTUP_TIPS 1
47344 _ACEOF
47345
47346 fi
47347
47348 if test "$wxUSE_TEXTDLG" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_TEXTDLG 1
47351 _ACEOF
47352
47353 fi
47354
47355 if test "$wxUSE_WIZARDDLG" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_WIZARDDLG 1
47358 _ACEOF
47359
47360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47361 fi
47362
47363
47364 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47365 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_OWNER_DRAWN 1
47368 _ACEOF
47369
47370 fi
47371 fi
47372
47373
47374 if test "$wxUSE_MSW" = 1 ; then
47375
47376 if test "$wxUSE_DC_CACHEING" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_DC_CACHEING 1
47379 _ACEOF
47380
47381 fi
47382
47383 if test "$wxUSE_DIB" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_WXDIB 1
47386 _ACEOF
47387
47388 fi
47389
47390 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47393 _ACEOF
47394
47395 fi
47396
47397 if test "$wxUSE_UXTHEME" = "yes"; then
47398 cat >>confdefs.h <<\_ACEOF
47399 #define wxUSE_UXTHEME 1
47400 _ACEOF
47401
47402 fi
47403
47404 fi
47405
47406 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_AUTOID_MANAGEMENT 1
47409 _ACEOF
47410
47411 fi
47412
47413 if test "$USE_WIN32" = 1 ; then
47414 if test "$wxUSE_INICONF" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_INICONF 1
47417 _ACEOF
47418
47419 fi
47420
47421 if test "$wxUSE_REGKEY" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_REGKEY 1
47424 _ACEOF
47425
47426 fi
47427 fi
47428
47429
47430 if test "$wxUSE_MAC" = 1; then
47431 wxUSE_GRAPHICS_CONTEXT="yes"
47432 fi
47433
47434 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47435 wx_has_graphics=0
47436 if test "$wxUSE_MSW" = 1; then
47437 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47438 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47439 if test "${wx_cv_lib_gdiplus+set}" = set; then
47440 echo $ECHO_N "(cached) $ECHO_C" >&6
47441 else
47442
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47448
47449 cat >conftest.$ac_ext <<_ACEOF
47450 /* confdefs.h. */
47451 _ACEOF
47452 cat confdefs.h >>conftest.$ac_ext
47453 cat >>conftest.$ac_ext <<_ACEOF
47454 /* end confdefs.h. */
47455 #include <gdiplus.h>
47456 int
47457 main ()
47458 {
47459
47460 using namespace Gdiplus;
47461
47462 ;
47463 return 0;
47464 }
47465 _ACEOF
47466 rm -f conftest.$ac_objext
47467 if { (ac_try="$ac_compile"
47468 case "(($ac_try" in
47469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47470 *) ac_try_echo=$ac_try;;
47471 esac
47472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47473 (eval "$ac_compile") 2>conftest.er1
47474 ac_status=$?
47475 grep -v '^ *+' conftest.er1 >conftest.err
47476 rm -f conftest.er1
47477 cat conftest.err >&5
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); } && {
47480 test -z "$ac_cxx_werror_flag" ||
47481 test ! -s conftest.err
47482 } && test -s conftest.$ac_objext; then
47483 wx_cv_lib_gdiplus=yes
47484 else
47485 echo "$as_me: failed program was:" >&5
47486 sed 's/^/| /' conftest.$ac_ext >&5
47487
47488 wx_cv_lib_gdiplus=no
47489
47490 fi
47491
47492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47493 ac_ext=c
47494 ac_cpp='$CPP $CPPFLAGS'
47495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47498
47499
47500
47501 fi
47502 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47503 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47504 if test "$wx_cv_lib_gdiplus" = "yes"; then
47505 wx_has_graphics=1
47506 fi
47507 elif test "$wxUSE_GTK" = 1; then
47508
47509 pkg_failed=no
47510 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47511 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47512
47513 if test -n "$PKG_CONFIG"; then
47514 if test -n "$CAIRO_CFLAGS"; then
47515 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47516 else
47517 if test -n "$PKG_CONFIG" && \
47518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47519 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47520 ac_status=$?
47521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47522 (exit $ac_status); }; then
47523 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47524 else
47525 pkg_failed=yes
47526 fi
47527 fi
47528 else
47529 pkg_failed=untried
47530 fi
47531 if test -n "$PKG_CONFIG"; then
47532 if test -n "$CAIRO_LIBS"; then
47533 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47534 else
47535 if test -n "$PKG_CONFIG" && \
47536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47537 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47538 ac_status=$?
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); }; then
47541 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47542 else
47543 pkg_failed=yes
47544 fi
47545 fi
47546 else
47547 pkg_failed=untried
47548 fi
47549
47550
47551
47552 if test $pkg_failed = yes; then
47553
47554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47555 _pkg_short_errors_supported=yes
47556 else
47557 _pkg_short_errors_supported=no
47558 fi
47559 if test $_pkg_short_errors_supported = yes; then
47560 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47561 else
47562 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47563 fi
47564 # Put the nasty error message in config.log where it belongs
47565 echo "$CAIRO_PKG_ERRORS" >&5
47566
47567 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47568 echo "$as_me: WARNING: Cairo library not found" >&2;}
47569
47570 elif test $pkg_failed = untried; then
47571 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47572 echo "$as_me: WARNING: Cairo library not found" >&2;}
47573
47574 else
47575 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47576 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47577 { echo "$as_me:$LINENO: result: yes" >&5
47578 echo "${ECHO_T}yes" >&6; }
47579 wx_has_graphics=1
47580 fi
47581 else
47582 wx_has_graphics=1
47583 fi
47584
47585 if test "$wx_has_graphics" = 1; then
47586 cat >>confdefs.h <<\_ACEOF
47587 #define wxUSE_GRAPHICS_CONTEXT 1
47588 _ACEOF
47589
47590 else
47591 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47592 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47593 fi
47594 fi
47595
47596
47597 USE_MEDIA=0
47598
47599 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47600 USE_MEDIA=1
47601
47602 if test "$wxUSE_GTK" = 1; then
47603 wxUSE_GSTREAMER="no"
47604
47605 GST_VERSION_MAJOR=0
47606 GST_VERSION_MINOR=10
47607 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47608
47609 if test "$wxUSE_GSTREAMER8" = "no"; then
47610
47611 pkg_failed=no
47612 { echo "$as_me:$LINENO: checking for GST" >&5
47613 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47614
47615 if test -n "$PKG_CONFIG"; then
47616 if test -n "$GST_CFLAGS"; then
47617 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47618 else
47619 if test -n "$PKG_CONFIG" && \
47620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47621 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; then
47625 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47626 else
47627 pkg_failed=yes
47628 fi
47629 fi
47630 else
47631 pkg_failed=untried
47632 fi
47633 if test -n "$PKG_CONFIG"; then
47634 if test -n "$GST_LIBS"; then
47635 pkg_cv_GST_LIBS="$GST_LIBS"
47636 else
47637 if test -n "$PKG_CONFIG" && \
47638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47639 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47640 ac_status=$?
47641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642 (exit $ac_status); }; then
47643 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47644 else
47645 pkg_failed=yes
47646 fi
47647 fi
47648 else
47649 pkg_failed=untried
47650 fi
47651
47652
47653
47654 if test $pkg_failed = yes; then
47655
47656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47657 _pkg_short_errors_supported=yes
47658 else
47659 _pkg_short_errors_supported=no
47660 fi
47661 if test $_pkg_short_errors_supported = yes; then
47662 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47663 else
47664 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47665 fi
47666 # Put the nasty error message in config.log where it belongs
47667 echo "$GST_PKG_ERRORS" >&5
47668
47669
47670 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47671 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47672 GST_VERSION_MINOR=8
47673
47674
47675 elif test $pkg_failed = untried; then
47676
47677 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47678 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47679 GST_VERSION_MINOR=8
47680
47681
47682 else
47683 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47684 GST_LIBS=$pkg_cv_GST_LIBS
47685 { echo "$as_me:$LINENO: result: yes" >&5
47686 echo "${ECHO_T}yes" >&6; }
47687
47688 wxUSE_GSTREAMER="yes"
47689 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47690
47691 fi
47692 else
47693 GST_VERSION_MINOR=8
47694 fi
47695
47696 if test $GST_VERSION_MINOR = "8"; then
47697 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47698
47699 pkg_failed=no
47700 { echo "$as_me:$LINENO: checking for GST" >&5
47701 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47702
47703 if test -n "$PKG_CONFIG"; then
47704 if test -n "$GST_CFLAGS"; then
47705 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47706 else
47707 if test -n "$PKG_CONFIG" && \
47708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47709 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47710 ac_status=$?
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); }; then
47713 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47714 else
47715 pkg_failed=yes
47716 fi
47717 fi
47718 else
47719 pkg_failed=untried
47720 fi
47721 if test -n "$PKG_CONFIG"; then
47722 if test -n "$GST_LIBS"; then
47723 pkg_cv_GST_LIBS="$GST_LIBS"
47724 else
47725 if test -n "$PKG_CONFIG" && \
47726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47727 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47728 ac_status=$?
47729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730 (exit $ac_status); }; then
47731 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47732 else
47733 pkg_failed=yes
47734 fi
47735 fi
47736 else
47737 pkg_failed=untried
47738 fi
47739
47740
47741
47742 if test $pkg_failed = yes; then
47743
47744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47745 _pkg_short_errors_supported=yes
47746 else
47747 _pkg_short_errors_supported=no
47748 fi
47749 if test $_pkg_short_errors_supported = yes; then
47750 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47751 else
47752 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47753 fi
47754 # Put the nasty error message in config.log where it belongs
47755 echo "$GST_PKG_ERRORS" >&5
47756
47757
47758 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47759 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47760
47761 elif test $pkg_failed = untried; then
47762
47763 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47764 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47765
47766 else
47767 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47768 GST_LIBS=$pkg_cv_GST_LIBS
47769 { echo "$as_me:$LINENO: result: yes" >&5
47770 echo "${ECHO_T}yes" >&6; }
47771 wxUSE_GSTREAMER="yes"
47772 fi
47773 fi
47774
47775
47776 if test "$wxUSE_GSTREAMER" = "yes"; then
47777 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47778 EXTRALIBS_MEDIA="$GST_LIBS"
47779
47780 cat >>confdefs.h <<\_ACEOF
47781 #define wxUSE_GSTREAMER 1
47782 _ACEOF
47783
47784 else
47785 USE_MEDIA=0
47786 fi
47787 fi
47788
47789 if test $USE_MEDIA = 1; then
47790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_MEDIACTRL 1
47793 _ACEOF
47794
47795 else
47796 if test "$wxUSE_MEDIACTRL" = "yes"; then
47797 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47798 echo "$as_me: error: GStreamer not available" >&2;}
47799 { (exit 1); exit 1; }; }
47800 else
47801 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47802 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47803 fi
47804 fi
47805 fi
47806
47807
47808 if test "$cross_compiling" != "no"; then
47809 OSINFO="\"$host\""
47810 else
47811 OSINFO=`uname -s -r -m`
47812 OSINFO="\"$OSINFO\""
47813 fi
47814
47815 cat >>confdefs.h <<_ACEOF
47816 #define WXWIN_OS_DESCRIPTION $OSINFO
47817 _ACEOF
47818
47819
47820
47821 if test "x$prefix" != "xNONE"; then
47822 wxPREFIX=$prefix
47823 else
47824 wxPREFIX=$ac_default_prefix
47825 fi
47826
47827 cat >>confdefs.h <<_ACEOF
47828 #define wxINSTALL_PREFIX "$wxPREFIX"
47829 _ACEOF
47830
47831
47832
47833
47834 STD_BASE_LIBS="base"
47835 STD_GUI_LIBS=""
47836 BUILT_WX_LIBS="base"
47837 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47838
47839 if test "$wxUSE_SOCKETS" = "yes" ; then
47840 STD_BASE_LIBS="net $STD_BASE_LIBS"
47841 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47842 fi
47843 if test "$wxUSE_XML" = "yes" ; then
47844 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47845 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47846 fi
47847
47848 if test "$wxUSE_GUI" = "yes"; then
47849 STD_GUI_LIBS="adv core"
47850 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47851
47852 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47853 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47854 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47855 fi
47856 if test "$wxUSE_HTML" = "yes" ; then
47857 STD_GUI_LIBS="html $STD_GUI_LIBS"
47858 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47859 fi
47860 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47861 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47862 fi
47863 if test "$wxUSE_OPENGL" = "yes" ; then
47864 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47865 fi
47866 if test "$wxUSE_AUI" = "yes" ; then
47867 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47868 fi
47869 if test "$wxUSE_PROPGRID" = "yes" ; then
47870 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47871 fi
47872 if test "$wxUSE_RIBBON" = "yes" ; then
47873 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47874 fi
47875 if test "$wxUSE_RICHTEXT" = "yes" ; then
47876 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47877 fi
47878 if test "$wxUSE_STC" = "yes" ; then
47879 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47880 fi
47881 if test "$wxUSE_XRC" = "yes" ; then
47882 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47883 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47884 fi
47885 fi
47886
47887
47888
47889
47890
47891
47892
47893 EXTRA_FRAMEWORKS=
47894 if test "$wxUSE_MAC" = 1 ; then
47895 if test "$USE_DARWIN" = 1; then
47896 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47897 fi
47898 fi
47899 if test "$wxUSE_OLD_COCOA" = 1 ; then
47900 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47901 if test "$wxUSE_MEDIACTRL" = "yes"; then
47902 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47903 fi
47904 fi
47905 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47906 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47907 fi
47908
47909 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47910 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47911
47912 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47913
47914 if test "$wxUSE_GUI" = "yes"; then
47915
47916
47917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47918 erase event exec font image minimal render \
47919 shaped svg taborder vscroll widgets wrapsizer"
47920
47921 if test "$wxUSE_MONOLITHIC" != "yes"; then
47922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47923 fi
47924 if test "$TOOLKIT" = "MSW"; then
47925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47926 if test "$wxUSE_UNIVERSAL" != "yes"; then
47927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47928 fi
47929 fi
47930 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47932 fi
47933 else
47934 SAMPLES_SUBDIRS="console"
47935 if test "$wxUSE_SOCKETS" = "yes" ; then
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47937 fi
47938 if test "$wxUSE_IPC" = "yes" ; then
47939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47940 fi
47941 fi
47942
47943
47944 if test "x$INTELCC" = "xyes" ; then
47945 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47946 elif test "$GCC" = yes ; then
47947 CWARNINGS="-Wall -Wundef"
47948 fi
47949
47950 if test "x$INTELCXX" = "xyes" ; then
47951 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47952 elif test "$GXX" = yes ; then
47953 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47954 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47955 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47956 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47957 echo $ECHO_N "(cached) $ECHO_C" >&6
47958 else
47959 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47960
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966
47967 ac_save_CXXFLAGS="$CXXFLAGS"
47968 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47969 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47970 cat >conftest.$ac_ext <<_ACEOF
47971 /* confdefs.h. */
47972 _ACEOF
47973 cat confdefs.h >>conftest.$ac_ext
47974 cat >>conftest.$ac_ext <<_ACEOF
47975 /* end confdefs.h. */
47976
47977 int
47978 main ()
47979 {
47980 return 0;
47981 ;
47982 return 0;
47983 }
47984 _ACEOF
47985 rm -f conftest.$ac_objext
47986 if { (ac_try="$ac_compile"
47987 case "(($ac_try" in
47988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47989 *) ac_try_echo=$ac_try;;
47990 esac
47991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47992 (eval "$ac_compile") 2>conftest.er1
47993 ac_status=$?
47994 grep -v '^ *+' conftest.er1 >conftest.err
47995 rm -f conftest.er1
47996 cat conftest.err >&5
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); } && {
47999 test -z "$ac_cxx_werror_flag" ||
48000 test ! -s conftest.err
48001 } && test -s conftest.$ac_objext; then
48002 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48003 else
48004 echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48006
48007
48008 fi
48009
48010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48011 done
48012 CXXFLAGS="$ac_save_CXXFLAGS"
48013 ac_ext=c
48014 ac_cpp='$CPP $CPPFLAGS'
48015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48018
48019
48020 fi
48021 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48022 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48023 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48024 .ok|.ok,*) ;;
48025 .|.no|.no,*) ;;
48026 *)
48027 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48028 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48029 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48030 ac_status=$?
48031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48032 (exit $ac_status); }
48033 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48034 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48035 ac_status=$?
48036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48037 (exit $ac_status); }
48038 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48039 fi
48040 ;;
48041 esac
48042
48043
48044 if test "$wxUSE_MAC" = 1 ; then
48045 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48046 fi
48047 fi
48048
48049
48050 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48051 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48052
48053
48054 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48055 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48056 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48057 $CPPFLAGS `
48058
48059 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48060 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48061 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48062 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48063 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48064
48065 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48066
48067
48068 if test "x$MWCC" = "xyes"; then
48069
48070 CC="$CC -cwd source -I-"
48071 CXX="$CXX -cwd source -I-"
48072 fi
48073
48074
48075 LIBS=`echo $LIBS`
48076 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48077 EXTRALIBS_XML="$EXPAT_LINK"
48078 EXTRALIBS_HTML="$MSPACK_LINK"
48079 EXTRALIBS_MEDIA="$GST_LIBS"
48080 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48081 if test "$wxUSE_GUI" = "yes"; then
48082 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48083 fi
48084 if test "$wxUSE_OPENGL" = "yes"; then
48085 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48086 fi
48087
48088 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48089
48090 WXCONFIG_LIBS="$LIBS"
48091
48092 if test "$wxUSE_REGEX" = "builtin" ; then
48093 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48094 fi
48095 if test "$wxUSE_EXPAT" = "builtin" ; then
48096 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48097 fi
48098 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48099 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48100 fi
48101 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48102 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48103 fi
48104 if test "$wxUSE_LIBPNG" = "builtin" ; then
48105 wxconfig_3rdparty="png $wxconfig_3rdparty"
48106 fi
48107 if test "$wxUSE_ZLIB" = "builtin" ; then
48108 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48109 fi
48110
48111 for i in $wxconfig_3rdparty ; do
48112 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48113 done
48114
48115
48116 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48117 WXUNIV=1
48118
48119 case "$wxUNIV_THEMES" in
48120 ''|all)
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_ALL_THEMES 1
48123 _ACEOF
48124
48125 ;;
48126
48127 *)
48128 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48129 cat >>confdefs.h <<_ACEOF
48130 #define wxUSE_THEME_$t 1
48131 _ACEOF
48132
48133 done
48134 esac
48135 else
48136 WXUNIV=0
48137 fi
48138
48139
48140
48141
48142
48143
48144
48145
48146 if test $wxUSE_MONOLITHIC = "yes" ; then
48147 MONOLITHIC=1
48148 else
48149 MONOLITHIC=0
48150 fi
48151
48152 if test $wxUSE_PLUGINS = "yes" ; then
48153 USE_PLUGINS=1
48154 else
48155 USE_PLUGINS=0
48156 fi
48157
48158 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48159 USE_QA=1
48160 else
48161 USE_QA=0
48162 fi
48163
48164 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48165 OFFICIAL_BUILD=1
48166 else
48167 OFFICIAL_BUILD=0
48168 fi
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207 case "$TOOLKIT" in
48208 GTK)
48209 TOOLKIT_DESC="GTK+"
48210 if test "$WXGTK2" = 1; then
48211 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48212 if test "$wxUSE_GTKPRINT" = "yes" ; then
48213 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48214 fi
48215 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48216 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48217 fi
48218 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48219 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48220 fi
48221 if test "$wxUSE_LIBHILDON" = "yes"; then
48222 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48223 fi
48224 if test "$wxUSE_LIBHILDON2" = "yes"; then
48225 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48226 fi
48227
48228 if test "$TOOLKIT_EXTRA" != ""; then
48229 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48230 fi
48231 fi
48232 ;;
48233
48234 ?*)
48235 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48236 ;;
48237
48238 *)
48239 TOOLKIT_DESC="base only"
48240 ;;
48241 esac
48242
48243 if test "$wxUSE_WINE" = "yes"; then
48244 BAKEFILE_FORCE_PLATFORM=win32
48245 fi
48246
48247 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48248 then
48249 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48250 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48251 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48252 echo $ECHO_N "(cached) $ECHO_C" >&6
48253 else
48254
48255 echo '#include <stdio.h>
48256 const wchar_t test_var[] = L"awidetest";' > conftest.h
48257
48258 echo '#include "conftest.h"
48259 int main()
48260 {
48261 printf("%ls", test_var);
48262 return 0;
48263 }' > conftest.cpp
48264
48265 wx_cv_gcc_pch_bug="pch not supported"
48266
48267 if $CXX conftest.h >/dev/null 2>&1
48268 then
48269 wx_cv_gcc_pch_bug=
48270
48271 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48272 then
48273 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48274 grep awidetest >/dev/null
48275 then
48276 wx_cv_gcc_pch_bug=no
48277 else
48278 wx_cv_gcc_pch_bug=yes
48279 fi
48280 fi
48281 fi
48282
48283 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48284
48285 fi
48286 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48287 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48288
48289 if test "$wx_cv_gcc_pch_bug" = yes; then
48290 bk_use_pch=no
48291 fi
48292 fi
48293
48294
48295
48296
48297
48298
48299
48300 if test "x$BAKEFILE_HOST" = "x"; then
48301 if test "x${host}" = "x" ; then
48302 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48303 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48304 { (exit 1); exit 1; }; }
48305 fi
48306
48307 BAKEFILE_HOST="${host}"
48308 fi
48309
48310 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48311
48312 if test -n "$ac_tool_prefix"; then
48313 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48317 if test "${ac_cv_prog_RANLIB+set}" = set; then
48318 echo $ECHO_N "(cached) $ECHO_C" >&6
48319 else
48320 if test -n "$RANLIB"; then
48321 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48322 else
48323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48324 for as_dir in $PATH
48325 do
48326 IFS=$as_save_IFS
48327 test -z "$as_dir" && as_dir=.
48328 for ac_exec_ext in '' $ac_executable_extensions; do
48329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48330 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48332 break 2
48333 fi
48334 done
48335 done
48336 IFS=$as_save_IFS
48337
48338 fi
48339 fi
48340 RANLIB=$ac_cv_prog_RANLIB
48341 if test -n "$RANLIB"; then
48342 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48343 echo "${ECHO_T}$RANLIB" >&6; }
48344 else
48345 { echo "$as_me:$LINENO: result: no" >&5
48346 echo "${ECHO_T}no" >&6; }
48347 fi
48348
48349
48350 fi
48351 if test -z "$ac_cv_prog_RANLIB"; then
48352 ac_ct_RANLIB=$RANLIB
48353 # Extract the first word of "ranlib", so it can be a program name with args.
48354 set dummy ranlib; ac_word=$2
48355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48357 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48360 if test -n "$ac_ct_RANLIB"; then
48361 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48362 else
48363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48364 for as_dir in $PATH
48365 do
48366 IFS=$as_save_IFS
48367 test -z "$as_dir" && as_dir=.
48368 for ac_exec_ext in '' $ac_executable_extensions; do
48369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48370 ac_cv_prog_ac_ct_RANLIB="ranlib"
48371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48372 break 2
48373 fi
48374 done
48375 done
48376 IFS=$as_save_IFS
48377
48378 fi
48379 fi
48380 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48381 if test -n "$ac_ct_RANLIB"; then
48382 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48383 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48384 else
48385 { echo "$as_me:$LINENO: result: no" >&5
48386 echo "${ECHO_T}no" >&6; }
48387 fi
48388
48389 if test "x$ac_ct_RANLIB" = x; then
48390 RANLIB=":"
48391 else
48392 case $cross_compiling:$ac_tool_warned in
48393 yes:)
48394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48395 whose name does not start with the host triplet. If you think this
48396 configuration is useful to you, please write to autoconf@gnu.org." >&5
48397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48398 whose name does not start with the host triplet. If you think this
48399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48400 ac_tool_warned=yes ;;
48401 esac
48402 RANLIB=$ac_ct_RANLIB
48403 fi
48404 else
48405 RANLIB="$ac_cv_prog_RANLIB"
48406 fi
48407
48408 # Find a good install program. We prefer a C program (faster),
48409 # so one script is as good as another. But avoid the broken or
48410 # incompatible versions:
48411 # SysV /etc/install, /usr/sbin/install
48412 # SunOS /usr/etc/install
48413 # IRIX /sbin/install
48414 # AIX /bin/install
48415 # AmigaOS /C/install, which installs bootblocks on floppy discs
48416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48419 # OS/2's system install, which has a completely different semantic
48420 # ./install, which can be erroneously created by make from ./install.sh.
48421 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48422 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48423 if test -z "$INSTALL"; then
48424 if test "${ac_cv_path_install+set}" = set; then
48425 echo $ECHO_N "(cached) $ECHO_C" >&6
48426 else
48427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48428 for as_dir in $PATH
48429 do
48430 IFS=$as_save_IFS
48431 test -z "$as_dir" && as_dir=.
48432 # Account for people who put trailing slashes in PATH elements.
48433 case $as_dir/ in
48434 ./ | .// | /cC/* | \
48435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48436 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48437 /usr/ucb/* ) ;;
48438 *)
48439 # OSF1 and SCO ODT 3.0 have their own names for install.
48440 # Don't use installbsd from OSF since it installs stuff as root
48441 # by default.
48442 for ac_prog in ginstall scoinst install; do
48443 for ac_exec_ext in '' $ac_executable_extensions; do
48444 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48445 if test $ac_prog = install &&
48446 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48447 # AIX install. It has an incompatible calling convention.
48448 :
48449 elif test $ac_prog = install &&
48450 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48451 # program-specific install script used by HP pwplus--don't use.
48452 :
48453 else
48454 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48455 break 3
48456 fi
48457 fi
48458 done
48459 done
48460 ;;
48461 esac
48462 done
48463 IFS=$as_save_IFS
48464
48465
48466 fi
48467 if test "${ac_cv_path_install+set}" = set; then
48468 INSTALL=$ac_cv_path_install
48469 else
48470 # As a last resort, use the slow shell script. Don't cache a
48471 # value for INSTALL within a source directory, because that will
48472 # break other packages using the cache if that directory is
48473 # removed, or if the value is a relative name.
48474 INSTALL=$ac_install_sh
48475 fi
48476 fi
48477 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48478 echo "${ECHO_T}$INSTALL" >&6; }
48479
48480 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48481 # It thinks the first close brace ends the variable substitution.
48482 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48483
48484 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48485
48486 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48487
48488 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48489 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48490 LN_S=$as_ln_s
48491 if test "$LN_S" = "ln -s"; then
48492 { echo "$as_me:$LINENO: result: yes" >&5
48493 echo "${ECHO_T}yes" >&6; }
48494 else
48495 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48496 echo "${ECHO_T}no, using $LN_S" >&6; }
48497 fi
48498
48499
48500 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48502 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48503 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48504 echo $ECHO_N "(cached) $ECHO_C" >&6
48505 else
48506 cat >conftest.make <<\_ACEOF
48507 SHELL = /bin/sh
48508 all:
48509 @echo '@@@%%%=$(MAKE)=@@@%%%'
48510 _ACEOF
48511 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48512 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48513 *@@@%%%=?*=@@@%%%*)
48514 eval ac_cv_prog_make_${ac_make}_set=yes;;
48515 *)
48516 eval ac_cv_prog_make_${ac_make}_set=no;;
48517 esac
48518 rm -f conftest.make
48519 fi
48520 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48521 { echo "$as_me:$LINENO: result: yes" >&5
48522 echo "${ECHO_T}yes" >&6; }
48523 SET_MAKE=
48524 else
48525 { echo "$as_me:$LINENO: result: no" >&5
48526 echo "${ECHO_T}no" >&6; }
48527 SET_MAKE="MAKE=${MAKE-make}"
48528 fi
48529
48530
48531
48532 if test "x$SUNCXX" = "xyes"; then
48533 AR=$CXX
48534 AROPTIONS="-xar -o"
48535
48536 elif test "x$SGICC" = "xyes"; then
48537 AR=$CXX
48538 AROPTIONS="-ar -o"
48539
48540 else
48541 if test -n "$ac_tool_prefix"; then
48542 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48543 set dummy ${ac_tool_prefix}ar; ac_word=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_AR+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 else
48549 if test -n "$AR"; then
48550 ac_cv_prog_AR="$AR" # Let the user override the test.
48551 else
48552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48553 for as_dir in $PATH
48554 do
48555 IFS=$as_save_IFS
48556 test -z "$as_dir" && as_dir=.
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_AR="${ac_tool_prefix}ar"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48561 break 2
48562 fi
48563 done
48564 done
48565 IFS=$as_save_IFS
48566
48567 fi
48568 fi
48569 AR=$ac_cv_prog_AR
48570 if test -n "$AR"; then
48571 { echo "$as_me:$LINENO: result: $AR" >&5
48572 echo "${ECHO_T}$AR" >&6; }
48573 else
48574 { echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6; }
48576 fi
48577
48578
48579 fi
48580 if test -z "$ac_cv_prog_AR"; then
48581 ac_ct_AR=$AR
48582 # Extract the first word of "ar", so it can be a program name with args.
48583 set dummy ar; ac_word=$2
48584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48586 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48587 echo $ECHO_N "(cached) $ECHO_C" >&6
48588 else
48589 if test -n "$ac_ct_AR"; then
48590 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48591 else
48592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48593 for as_dir in $PATH
48594 do
48595 IFS=$as_save_IFS
48596 test -z "$as_dir" && as_dir=.
48597 for ac_exec_ext in '' $ac_executable_extensions; do
48598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48599 ac_cv_prog_ac_ct_AR="ar"
48600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48601 break 2
48602 fi
48603 done
48604 done
48605 IFS=$as_save_IFS
48606
48607 fi
48608 fi
48609 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48610 if test -n "$ac_ct_AR"; then
48611 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48612 echo "${ECHO_T}$ac_ct_AR" >&6; }
48613 else
48614 { echo "$as_me:$LINENO: result: no" >&5
48615 echo "${ECHO_T}no" >&6; }
48616 fi
48617
48618 if test "x$ac_ct_AR" = x; then
48619 AR="ar"
48620 else
48621 case $cross_compiling:$ac_tool_warned in
48622 yes:)
48623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48624 whose name does not start with the host triplet. If you think this
48625 configuration is useful to you, please write to autoconf@gnu.org." >&5
48626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48627 whose name does not start with the host triplet. If you think this
48628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48629 ac_tool_warned=yes ;;
48630 esac
48631 AR=$ac_ct_AR
48632 fi
48633 else
48634 AR="$ac_cv_prog_AR"
48635 fi
48636
48637 AROPTIONS=rcu
48638 fi
48639
48640
48641 if test -n "$ac_tool_prefix"; then
48642 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48643 set dummy ${ac_tool_prefix}strip; ac_word=$2
48644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48646 if test "${ac_cv_prog_STRIP+set}" = set; then
48647 echo $ECHO_N "(cached) $ECHO_C" >&6
48648 else
48649 if test -n "$STRIP"; then
48650 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48651 else
48652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48653 for as_dir in $PATH
48654 do
48655 IFS=$as_save_IFS
48656 test -z "$as_dir" && as_dir=.
48657 for ac_exec_ext in '' $ac_executable_extensions; do
48658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48659 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48661 break 2
48662 fi
48663 done
48664 done
48665 IFS=$as_save_IFS
48666
48667 fi
48668 fi
48669 STRIP=$ac_cv_prog_STRIP
48670 if test -n "$STRIP"; then
48671 { echo "$as_me:$LINENO: result: $STRIP" >&5
48672 echo "${ECHO_T}$STRIP" >&6; }
48673 else
48674 { echo "$as_me:$LINENO: result: no" >&5
48675 echo "${ECHO_T}no" >&6; }
48676 fi
48677
48678
48679 fi
48680 if test -z "$ac_cv_prog_STRIP"; then
48681 ac_ct_STRIP=$STRIP
48682 # Extract the first word of "strip", so it can be a program name with args.
48683 set dummy strip; ac_word=$2
48684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48686 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48687 echo $ECHO_N "(cached) $ECHO_C" >&6
48688 else
48689 if test -n "$ac_ct_STRIP"; then
48690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48691 else
48692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48693 for as_dir in $PATH
48694 do
48695 IFS=$as_save_IFS
48696 test -z "$as_dir" && as_dir=.
48697 for ac_exec_ext in '' $ac_executable_extensions; do
48698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48699 ac_cv_prog_ac_ct_STRIP="strip"
48700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48701 break 2
48702 fi
48703 done
48704 done
48705 IFS=$as_save_IFS
48706
48707 fi
48708 fi
48709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48710 if test -n "$ac_ct_STRIP"; then
48711 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48712 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48713 else
48714 { echo "$as_me:$LINENO: result: no" >&5
48715 echo "${ECHO_T}no" >&6; }
48716 fi
48717
48718 if test "x$ac_ct_STRIP" = x; then
48719 STRIP=":"
48720 else
48721 case $cross_compiling:$ac_tool_warned in
48722 yes:)
48723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48724 whose name does not start with the host triplet. If you think this
48725 configuration is useful to you, please write to autoconf@gnu.org." >&5
48726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48727 whose name does not start with the host triplet. If you think this
48728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48729 ac_tool_warned=yes ;;
48730 esac
48731 STRIP=$ac_ct_STRIP
48732 fi
48733 else
48734 STRIP="$ac_cv_prog_STRIP"
48735 fi
48736
48737 if test -n "$ac_tool_prefix"; then
48738 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48739 set dummy ${ac_tool_prefix}nm; ac_word=$2
48740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48742 if test "${ac_cv_prog_NM+set}" = set; then
48743 echo $ECHO_N "(cached) $ECHO_C" >&6
48744 else
48745 if test -n "$NM"; then
48746 ac_cv_prog_NM="$NM" # Let the user override the test.
48747 else
48748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48749 for as_dir in $PATH
48750 do
48751 IFS=$as_save_IFS
48752 test -z "$as_dir" && as_dir=.
48753 for ac_exec_ext in '' $ac_executable_extensions; do
48754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48755 ac_cv_prog_NM="${ac_tool_prefix}nm"
48756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48757 break 2
48758 fi
48759 done
48760 done
48761 IFS=$as_save_IFS
48762
48763 fi
48764 fi
48765 NM=$ac_cv_prog_NM
48766 if test -n "$NM"; then
48767 { echo "$as_me:$LINENO: result: $NM" >&5
48768 echo "${ECHO_T}$NM" >&6; }
48769 else
48770 { echo "$as_me:$LINENO: result: no" >&5
48771 echo "${ECHO_T}no" >&6; }
48772 fi
48773
48774
48775 fi
48776 if test -z "$ac_cv_prog_NM"; then
48777 ac_ct_NM=$NM
48778 # Extract the first word of "nm", so it can be a program name with args.
48779 set dummy nm; ac_word=$2
48780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48782 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48784 else
48785 if test -n "$ac_ct_NM"; then
48786 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48787 else
48788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48789 for as_dir in $PATH
48790 do
48791 IFS=$as_save_IFS
48792 test -z "$as_dir" && as_dir=.
48793 for ac_exec_ext in '' $ac_executable_extensions; do
48794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48795 ac_cv_prog_ac_ct_NM="nm"
48796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48797 break 2
48798 fi
48799 done
48800 done
48801 IFS=$as_save_IFS
48802
48803 fi
48804 fi
48805 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48806 if test -n "$ac_ct_NM"; then
48807 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48808 echo "${ECHO_T}$ac_ct_NM" >&6; }
48809 else
48810 { echo "$as_me:$LINENO: result: no" >&5
48811 echo "${ECHO_T}no" >&6; }
48812 fi
48813
48814 if test "x$ac_ct_NM" = x; then
48815 NM=":"
48816 else
48817 case $cross_compiling:$ac_tool_warned in
48818 yes:)
48819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48820 whose name does not start with the host triplet. If you think this
48821 configuration is useful to you, please write to autoconf@gnu.org." >&5
48822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48823 whose name does not start with the host triplet. If you think this
48824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48825 ac_tool_warned=yes ;;
48826 esac
48827 NM=$ac_ct_NM
48828 fi
48829 else
48830 NM="$ac_cv_prog_NM"
48831 fi
48832
48833
48834 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48835 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48836 INSTALL_TEST_DIR=acbftest$$
48837 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48838 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48839 rmdir $INSTALL_TEST_DIR
48840 INSTALL_DIR='$(INSTALL) -d'
48841 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48842 echo "${ECHO_T}$INSTALL -d" >&6; }
48843 else
48844 INSTALL_DIR="mkdir -p"
48845 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48846 echo "${ECHO_T}mkdir -p" >&6; }
48847 fi
48848
48849
48850 LDFLAGS_GUI=
48851 case ${BAKEFILE_HOST} in
48852 *-*-cygwin* | *-*-mingw32* )
48853 LDFLAGS_GUI="-mwindows"
48854 esac
48855
48856
48857 fi
48858
48859 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48860 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48861 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48862 echo $ECHO_N "(cached) $ECHO_C" >&6
48863 else
48864
48865 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48866 egrep -s GNU > /dev/null); then
48867 bakefile_cv_prog_makeisgnu="yes"
48868 else
48869 bakefile_cv_prog_makeisgnu="no"
48870 fi
48871
48872 fi
48873 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48874 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48875
48876 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48877 IF_GNU_MAKE=""
48878 else
48879 IF_GNU_MAKE="#"
48880 fi
48881
48882
48883
48884 PLATFORM_UNIX=0
48885 PLATFORM_WIN32=0
48886 PLATFORM_MSDOS=0
48887 PLATFORM_MAC=0
48888 PLATFORM_MACOS=0
48889 PLATFORM_MACOSX=0
48890 PLATFORM_OS2=0
48891 PLATFORM_BEOS=0
48892
48893 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48894 case "${BAKEFILE_HOST}" in
48895 *-*-mingw32* )
48896 PLATFORM_WIN32=1
48897 ;;
48898 *-pc-msdosdjgpp )
48899 PLATFORM_MSDOS=1
48900 ;;
48901 *-pc-os2_emx | *-pc-os2-emx )
48902 PLATFORM_OS2=1
48903 ;;
48904 *-*-darwin* )
48905 PLATFORM_MAC=1
48906 PLATFORM_MACOSX=1
48907 ;;
48908 *-*-beos* )
48909 PLATFORM_BEOS=1
48910 ;;
48911 powerpc-apple-macos* )
48912 PLATFORM_MAC=1
48913 PLATFORM_MACOS=1
48914 ;;
48915 * )
48916 PLATFORM_UNIX=1
48917 ;;
48918 esac
48919 else
48920 case "$BAKEFILE_FORCE_PLATFORM" in
48921 win32 )
48922 PLATFORM_WIN32=1
48923 ;;
48924 msdos )
48925 PLATFORM_MSDOS=1
48926 ;;
48927 os2 )
48928 PLATFORM_OS2=1
48929 ;;
48930 darwin )
48931 PLATFORM_MAC=1
48932 PLATFORM_MACOSX=1
48933 ;;
48934 unix )
48935 PLATFORM_UNIX=1
48936 ;;
48937 beos )
48938 PLATFORM_BEOS=1
48939 ;;
48940 * )
48941 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48942 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48943 { (exit 1); exit 1; }; }
48944 ;;
48945 esac
48946 fi
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958 # Check whether --enable-omf was given.
48959 if test "${enable_omf+set}" = set; then
48960 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48961 fi
48962
48963
48964 case "${BAKEFILE_HOST}" in
48965 *-*-darwin* )
48966 if test "x$GCC" = "xyes"; then
48967 CFLAGS="$CFLAGS -fno-common"
48968 CXXFLAGS="$CXXFLAGS -fno-common"
48969 fi
48970 if test "x$XLCC" = "xyes"; then
48971 CFLAGS="$CFLAGS -qnocommon"
48972 CXXFLAGS="$CXXFLAGS -qnocommon"
48973 fi
48974 ;;
48975
48976 *-pc-os2_emx | *-pc-os2-emx )
48977 if test "x$bk_os2_use_omf" = "xyes" ; then
48978 AR=emxomfar
48979 RANLIB=:
48980 LDFLAGS="-Zomf $LDFLAGS"
48981 CFLAGS="-Zomf $CFLAGS"
48982 CXXFLAGS="-Zomf $CXXFLAGS"
48983 OS2_LIBEXT="lib"
48984 else
48985 OS2_LIBEXT="a"
48986 fi
48987 ;;
48988
48989 i*86-*-beos* )
48990 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48991 ;;
48992 esac
48993
48994
48995 SO_SUFFIX="so"
48996 SO_SUFFIX_MODULE="so"
48997 EXEEXT=""
48998 LIBPREFIX="lib"
48999 LIBEXT=".a"
49000 DLLPREFIX="lib"
49001 DLLPREFIX_MODULE=""
49002 DLLIMP_SUFFIX=""
49003 dlldir="$libdir"
49004
49005 case "${BAKEFILE_HOST}" in
49006 ia64-hp-hpux* )
49007 ;;
49008 *-hp-hpux* )
49009 SO_SUFFIX="sl"
49010 SO_SUFFIX_MODULE="sl"
49011 ;;
49012 *-*-aix* )
49013 SO_SUFFIX="a"
49014 SO_SUFFIX_MODULE="a"
49015 ;;
49016 *-*-cygwin* )
49017 SO_SUFFIX="dll"
49018 SO_SUFFIX_MODULE="dll"
49019 DLLIMP_SUFFIX="dll.a"
49020 EXEEXT=".exe"
49021 DLLPREFIX="cyg"
49022 dlldir="$bindir"
49023 ;;
49024 *-*-mingw32* )
49025 SO_SUFFIX="dll"
49026 SO_SUFFIX_MODULE="dll"
49027 DLLIMP_SUFFIX="dll.a"
49028 EXEEXT=".exe"
49029 DLLPREFIX=""
49030 dlldir="$bindir"
49031 ;;
49032 *-pc-msdosdjgpp )
49033 EXEEXT=".exe"
49034 DLLPREFIX=""
49035 dlldir="$bindir"
49036 ;;
49037 *-pc-os2_emx | *-pc-os2-emx )
49038 SO_SUFFIX="dll"
49039 SO_SUFFIX_MODULE="dll"
49040 DLLIMP_SUFFIX=$OS2_LIBEXT
49041 EXEEXT=".exe"
49042 DLLPREFIX=""
49043 LIBPREFIX=""
49044 LIBEXT=".$OS2_LIBEXT"
49045 dlldir="$bindir"
49046 ;;
49047 *-*-darwin* )
49048 SO_SUFFIX="dylib"
49049 SO_SUFFIX_MODULE="bundle"
49050 ;;
49051 esac
49052
49053 if test "x$DLLIMP_SUFFIX" = "x" ; then
49054 DLLIMP_SUFFIX="$SO_SUFFIX"
49055 fi
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068 PIC_FLAG=""
49069 if test "x$GCC" = "xyes"; then
49070 PIC_FLAG="-fPIC"
49071 fi
49072
49073 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49074 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49075 WINDOWS_IMPLIB=0
49076
49077 case "${BAKEFILE_HOST}" in
49078 *-hp-hpux* )
49079 if test "x$GCC" != "xyes"; then
49080 LDFLAGS="$LDFLAGS -L/usr/lib"
49081
49082 SHARED_LD_CC="${CC} -b -o"
49083 SHARED_LD_CXX="${CXX} -b -o"
49084 PIC_FLAG="+Z"
49085 fi
49086 ;;
49087
49088 *-*-linux* )
49089 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49090 PIC_FLAG="-KPIC"
49091 elif test "x$SUNCXX" = "xyes"; then
49092 SHARED_LD_CC="${CC} -G -o"
49093 SHARED_LD_CXX="${CXX} -G -o"
49094 PIC_FLAG="-KPIC"
49095 fi
49096 ;;
49097
49098 *-*-solaris2* )
49099 if test "x$SUNCXX" = xyes ; then
49100 SHARED_LD_CC="${CC} -G -o"
49101 SHARED_LD_CXX="${CXX} -G -o"
49102 PIC_FLAG="-KPIC"
49103 fi
49104 ;;
49105
49106 *-*-darwin* )
49107
49108 D='$'
49109 cat <<EOF >shared-ld-sh
49110 #!/bin/sh
49111 #-----------------------------------------------------------------------------
49112 #-- Name: distrib/mac/shared-ld-sh
49113 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49114 #-- Author: Gilles Depeyrot
49115 #-- Copyright: (c) 2002 Gilles Depeyrot
49116 #-- Licence: any use permitted
49117 #-----------------------------------------------------------------------------
49118
49119 verbose=0
49120 args=""
49121 objects=""
49122 linking_flag="-dynamiclib"
49123 ldargs="-r -keep_private_externs -nostdlib"
49124
49125 if test "x${D}CXX" = "x"; then
49126 CXX="c++"
49127 fi
49128
49129 while test ${D}# -gt 0; do
49130 case ${D}1 in
49131
49132 -v)
49133 verbose=1
49134 ;;
49135
49136 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49137 # collect these options and values
49138 args="${D}{args} ${D}1 ${D}2"
49139 shift
49140 ;;
49141
49142 -arch|-isysroot)
49143 # collect these options and values
49144 ldargs="${D}{ldargs} ${D}1 ${D}2"
49145 shift
49146 ;;
49147
49148 -s|-Wl,*)
49149 # collect these load args
49150 ldargs="${D}{ldargs} ${D}1"
49151 ;;
49152
49153 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49154 # collect these options
49155 args="${D}{args} ${D}1"
49156 ;;
49157
49158 -dynamiclib|-bundle)
49159 linking_flag="${D}1"
49160 ;;
49161
49162 -*)
49163 echo "shared-ld: unhandled option '${D}1'"
49164 exit 1
49165 ;;
49166
49167 *.o | *.a | *.dylib)
49168 # collect object files
49169 objects="${D}{objects} ${D}1"
49170 ;;
49171
49172 *)
49173 echo "shared-ld: unhandled argument '${D}1'"
49174 exit 1
49175 ;;
49176
49177 esac
49178 shift
49179 done
49180
49181 status=0
49182
49183 #
49184 # Link one module containing all the others
49185 #
49186 if test ${D}{verbose} = 1; then
49187 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49188 fi
49189 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49190 status=${D}?
49191
49192 #
49193 # Link the shared library from the single module created, but only if the
49194 # previous command didn't fail:
49195 #
49196 if test ${D}{status} = 0; then
49197 if test ${D}{verbose} = 1; then
49198 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49199 fi
49200 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49201 status=${D}?
49202 fi
49203
49204 #
49205 # Remove intermediate module
49206 #
49207 rm -f master.${D}${D}.o
49208
49209 exit ${D}status
49210 EOF
49211
49212 chmod +x shared-ld-sh
49213
49214 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49215 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49216
49217
49218 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49219 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49220 if test "${bakefile_cv_gcc31+set}" = set; then
49221 echo $ECHO_N "(cached) $ECHO_C" >&6
49222 else
49223
49224 cat >conftest.$ac_ext <<_ACEOF
49225 /* confdefs.h. */
49226 _ACEOF
49227 cat confdefs.h >>conftest.$ac_ext
49228 cat >>conftest.$ac_ext <<_ACEOF
49229 /* end confdefs.h. */
49230
49231 int
49232 main ()
49233 {
49234
49235 #if (__GNUC__ < 3) || \
49236 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49237 This is old gcc
49238 #endif
49239
49240 ;
49241 return 0;
49242 }
49243 _ACEOF
49244 rm -f conftest.$ac_objext
49245 if { (ac_try="$ac_compile"
49246 case "(($ac_try" in
49247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49248 *) ac_try_echo=$ac_try;;
49249 esac
49250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49251 (eval "$ac_compile") 2>conftest.er1
49252 ac_status=$?
49253 grep -v '^ *+' conftest.er1 >conftest.err
49254 rm -f conftest.er1
49255 cat conftest.err >&5
49256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49257 (exit $ac_status); } && {
49258 test -z "$ac_c_werror_flag" ||
49259 test ! -s conftest.err
49260 } && test -s conftest.$ac_objext; then
49261
49262 bakefile_cv_gcc31=yes
49263
49264 else
49265 echo "$as_me: failed program was:" >&5
49266 sed 's/^/| /' conftest.$ac_ext >&5
49267
49268
49269 bakefile_cv_gcc31=no
49270
49271
49272 fi
49273
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275
49276 fi
49277 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49278 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49279 if test "$bakefile_cv_gcc31" = "no"; then
49280 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49281 SHARED_LD_CXX="$SHARED_LD_CC"
49282 else
49283 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49284 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49285 fi
49286
49287 if test "x$GCC" == "xyes"; then
49288 PIC_FLAG="-dynamic -fPIC"
49289 fi
49290 if test "x$XLCC" = "xyes"; then
49291 PIC_FLAG="-dynamic -DPIC"
49292 fi
49293 ;;
49294
49295 *-*-aix* )
49296 if test "x$GCC" = "xyes"; then
49297 PIC_FLAG=""
49298
49299 case "${BAKEFILE_HOST}" in
49300 *-*-aix5* )
49301 LD_EXPFULL="-Wl,-bexpfull"
49302 ;;
49303 esac
49304
49305 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49306 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49307 else
49308 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49309 set dummy makeC++SharedLib; ac_word=$2
49310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49312 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49313 echo $ECHO_N "(cached) $ECHO_C" >&6
49314 else
49315 if test -n "$AIX_CXX_LD"; then
49316 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49317 else
49318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49319 for as_dir in $PATH
49320 do
49321 IFS=$as_save_IFS
49322 test -z "$as_dir" && as_dir=.
49323 for ac_exec_ext in '' $ac_executable_extensions; do
49324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49325 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49327 break 2
49328 fi
49329 done
49330 done
49331 IFS=$as_save_IFS
49332
49333 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49334 fi
49335 fi
49336 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49337 if test -n "$AIX_CXX_LD"; then
49338 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49339 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49340 else
49341 { echo "$as_me:$LINENO: result: no" >&5
49342 echo "${ECHO_T}no" >&6; }
49343 fi
49344
49345
49346 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49347 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49348 fi
49349 ;;
49350
49351 *-*-beos* )
49352 SHARED_LD_CC="${LD} -nostart -o"
49353 SHARED_LD_CXX="${LD} -nostart -o"
49354 ;;
49355
49356 *-*-irix* )
49357 if test "x$GCC" != "xyes"; then
49358 PIC_FLAG="-KPIC"
49359 fi
49360 ;;
49361
49362 *-*-cygwin* | *-*-mingw32* )
49363 PIC_FLAG=""
49364 SHARED_LD_CC="\$(CC) -shared -o"
49365 SHARED_LD_CXX="\$(CXX) -shared -o"
49366 WINDOWS_IMPLIB=1
49367 ;;
49368
49369 *-pc-os2_emx | *-pc-os2-emx )
49370 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49371 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49372 PIC_FLAG=""
49373
49374 D='$'
49375 cat <<EOF >dllar.sh
49376 #!/bin/sh
49377 #
49378 # dllar - a tool to build both a .dll and an .a file
49379 # from a set of object (.o) files for EMX/OS2.
49380 #
49381 # Written by Andrew Zabolotny, bit@freya.etu.ru
49382 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49383 #
49384 # This script will accept a set of files on the command line.
49385 # All the public symbols from the .o files will be exported into
49386 # a .DEF file, then linker will be run (through gcc) against them to
49387 # build a shared library consisting of all given .o files. All libraries
49388 # (.a) will be first decompressed into component .o files then act as
49389 # described above. You can optionally give a description (-d "description")
49390 # which will be put into .DLL. To see the list of accepted options (as well
49391 # as command-line format) simply run this program without options. The .DLL
49392 # is built to be imported by name (there is no guarantee that new versions
49393 # of the library you build will have same ordinals for same symbols).
49394 #
49395 # dllar is free software; you can redistribute it and/or modify
49396 # it under the terms of the GNU General Public License as published by
49397 # the Free Software Foundation; either version 2, or (at your option)
49398 # any later version.
49399 #
49400 # dllar is distributed in the hope that it will be useful,
49401 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49402 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49403 # GNU General Public License for more details.
49404 #
49405 # You should have received a copy of the GNU General Public License
49406 # along with dllar; see the file COPYING. If not, write to the Free
49407 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49408 # 02111-1307, USA.
49409
49410 # To successfuly run this program you will need:
49411 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49412 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49413 # - gcc
49414 # (used to build the .dll)
49415 # - emxexp
49416 # (used to create .def file from .o files)
49417 # - emximp
49418 # (used to create .a file from .def file)
49419 # - GNU text utilites (cat, sort, uniq)
49420 # used to process emxexp output
49421 # - GNU file utilities (mv, rm)
49422 # - GNU sed
49423 # - lxlite (optional, see flag below)
49424 # (used for general .dll cleanup)
49425 #
49426
49427 flag_USE_LXLITE=1;
49428
49429 #
49430 # helper functions
49431 # basnam, variant of basename, which does _not_ remove the path, _iff_
49432 # second argument (suffix to remove) is given
49433 basnam(){
49434 case ${D}# in
49435 1)
49436 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49437 ;;
49438 2)
49439 echo ${D}1 | sed 's/'${D}2'${D}//'
49440 ;;
49441 *)
49442 echo "error in basnam ${D}*"
49443 exit 8
49444 ;;
49445 esac
49446 }
49447
49448 # Cleanup temporary files and output
49449 CleanUp() {
49450 cd ${D}curDir
49451 for i in ${D}inputFiles ; do
49452 case ${D}i in
49453 *!)
49454 rm -rf \`basnam ${D}i !\`
49455 ;;
49456 *)
49457 ;;
49458 esac
49459 done
49460
49461 # Kill result in case of failure as there is just to many stupid make/nmake
49462 # things out there which doesn't do this.
49463 if [ ${D}# -eq 0 ]; then
49464 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49465 fi
49466 }
49467
49468 # Print usage and exit script with rc=1.
49469 PrintHelp() {
49470 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49471 echo ' [-name-mangler-script script.sh]'
49472 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49473 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49474 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49475 echo ' [*.o] [*.a]'
49476 echo '*> "output_file" should have no extension.'
49477 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49478 echo ' The import library name is derived from this and is set to "name".a,'
49479 echo ' unless overridden by -import'
49480 echo '*> "importlib_name" should have no extension.'
49481 echo ' If it has the .o, or .a extension, it is automatically removed.'
49482 echo ' This name is used as the import library name and may be longer and'
49483 echo ' more descriptive than the DLL name which has to follow the old '
49484 echo ' 8.3 convention of FAT.'
49485 echo '*> "script.sh may be given to override the output_file name by a'
49486 echo ' different name. It is mainly useful if the regular make process'
49487 echo ' of some package does not take into account OS/2 restriction of'
49488 echo ' DLL name lengths. It takes the importlib name as input and is'
49489 echo ' supposed to procude a shorter name as output. The script should'
49490 echo ' expect to get importlib_name without extension and should produce'
49491 echo ' a (max.) 8 letter name without extension.'
49492 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49493 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49494 echo ' These flags will be put at the start of GCC command line.'
49495 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49496 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49497 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49498 echo ' If the last character of a symbol is "*", all symbols beginning'
49499 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49500 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49501 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49502 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49503 echo ' C runtime DLLs.'
49504 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49505 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49506 echo ' unchanged to GCC at the end of command line.'
49507 echo '*> If you create a DLL from a library and you do not specify -o,'
49508 echo ' the basename for DLL and import library will be set to library name,'
49509 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49510 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49511 echo ' library will be renamed into gcc_s.a.'
49512 echo '--------'
49513 echo 'Example:'
49514 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49515 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49516 CleanUp
49517 exit 1
49518 }
49519
49520 # Execute a command.
49521 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49522 # @Uses Whatever CleanUp() uses.
49523 doCommand() {
49524 echo "${D}*"
49525 eval ${D}*
49526 rcCmd=${D}?
49527
49528 if [ ${D}rcCmd -ne 0 ]; then
49529 echo "command failed, exit code="${D}rcCmd
49530 CleanUp
49531 exit ${D}rcCmd
49532 fi
49533 }
49534
49535 # main routine
49536 # setup globals
49537 cmdLine=${D}*
49538 outFile=""
49539 outimpFile=""
49540 inputFiles=""
49541 renameScript=""
49542 description=""
49543 CC=gcc.exe
49544 CFLAGS="-s -Zcrtdll"
49545 EXTRA_CFLAGS=""
49546 EXPORT_BY_ORDINALS=0
49547 exclude_symbols=""
49548 library_flags=""
49549 curDir=\`pwd\`
49550 curDirS=curDir
49551 case ${D}curDirS in
49552 */)
49553 ;;
49554 *)
49555 curDirS=${D}{curDirS}"/"
49556 ;;
49557 esac
49558 # Parse commandline
49559 libsToLink=0
49560 omfLinking=0
49561 while [ ${D}1 ]; do
49562 case ${D}1 in
49563 -ord*)
49564 EXPORT_BY_ORDINALS=1;
49565 ;;
49566 -o*)
49567 shift
49568 outFile=${D}1
49569 ;;
49570 -i*)
49571 shift
49572 outimpFile=${D}1
49573 ;;
49574 -name-mangler-script)
49575 shift
49576 renameScript=${D}1
49577 ;;
49578 -d*)
49579 shift
49580 description=${D}1
49581 ;;
49582 -f*)
49583 shift
49584 CFLAGS=${D}1
49585 ;;
49586 -c*)
49587 shift
49588 CC=${D}1
49589 ;;
49590 -h*)
49591 PrintHelp
49592 ;;
49593 -ex*)
49594 shift
49595 exclude_symbols=${D}{exclude_symbols}${D}1" "
49596 ;;
49597 -libf*)
49598 shift
49599 library_flags=${D}{library_flags}${D}1" "
49600 ;;
49601 -nocrt*)
49602 CFLAGS="-s"
49603 ;;
49604 -nolxl*)
49605 flag_USE_LXLITE=0
49606 ;;
49607 -* | /*)
49608 case ${D}1 in
49609 -L* | -l*)
49610 libsToLink=1
49611 ;;
49612 -Zomf)
49613 omfLinking=1
49614 ;;
49615 *)
49616 ;;
49617 esac
49618 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49619 ;;
49620 *.dll)
49621 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49622 if [ ${D}omfLinking -eq 1 ]; then
49623 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49624 else
49625 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49626 fi
49627 ;;
49628 *)
49629 found=0;
49630 if [ ${D}libsToLink -ne 0 ]; then
49631 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49632 else
49633 for file in ${D}1 ; do
49634 if [ -f ${D}file ]; then
49635 inputFiles="${D}{inputFiles} ${D}file"
49636 found=1
49637 fi
49638 done
49639 if [ ${D}found -eq 0 ]; then
49640 echo "ERROR: No file(s) found: "${D}1
49641 exit 8
49642 fi
49643 fi
49644 ;;
49645 esac
49646 shift
49647 done # iterate cmdline words
49648
49649 #
49650 if [ -z "${D}inputFiles" ]; then
49651 echo "dllar: no input files"
49652 PrintHelp
49653 fi
49654
49655 # Now extract all .o files from .a files
49656 newInputFiles=""
49657 for file in ${D}inputFiles ; do
49658 case ${D}file in
49659 *.a | *.lib)
49660 case ${D}file in
49661 *.a)
49662 suffix=".a"
49663 AR="ar"
49664 ;;
49665 *.lib)
49666 suffix=".lib"
49667 AR="emxomfar"
49668 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49669 ;;
49670 *)
49671 ;;
49672 esac
49673 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49674 mkdir ${D}dirname
49675 if [ ${D}? -ne 0 ]; then
49676 echo "Failed to create subdirectory ./${D}dirname"
49677 CleanUp
49678 exit 8;
49679 fi
49680 # Append '!' to indicate archive
49681 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49682 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49683 cd ${D}curDir
49684 found=0;
49685 for subfile in ${D}dirname/*.o* ; do
49686 if [ -f ${D}subfile ]; then
49687 found=1
49688 if [ -s ${D}subfile ]; then
49689 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49690 newInputFiles="${D}newInputFiles ${D}subfile"
49691 fi
49692 fi
49693 done
49694 if [ ${D}found -eq 0 ]; then
49695 echo "WARNING: there are no files in archive \\'${D}file\\'"
49696 fi
49697 ;;
49698 *)
49699 newInputFiles="${D}{newInputFiles} ${D}file"
49700 ;;
49701 esac
49702 done
49703 inputFiles="${D}newInputFiles"
49704
49705 # Output filename(s).
49706 do_backup=0;
49707 if [ -z ${D}outFile ]; then
49708 do_backup=1;
49709 set outFile ${D}inputFiles; outFile=${D}2
49710 fi
49711
49712 # If it is an archive, remove the '!' and the '_%' suffixes
49713 case ${D}outFile in
49714 *_%!)
49715 outFile=\`basnam ${D}outFile _%!\`
49716 ;;
49717 *)
49718 ;;
49719 esac
49720 case ${D}outFile in
49721 *.dll)
49722 outFile=\`basnam ${D}outFile .dll\`
49723 ;;
49724 *.DLL)
49725 outFile=\`basnam ${D}outFile .DLL\`
49726 ;;
49727 *.o)
49728 outFile=\`basnam ${D}outFile .o\`
49729 ;;
49730 *.obj)
49731 outFile=\`basnam ${D}outFile .obj\`
49732 ;;
49733 *.a)
49734 outFile=\`basnam ${D}outFile .a\`
49735 ;;
49736 *.lib)
49737 outFile=\`basnam ${D}outFile .lib\`
49738 ;;
49739 *)
49740 ;;
49741 esac
49742 case ${D}outimpFile in
49743 *.a)
49744 outimpFile=\`basnam ${D}outimpFile .a\`
49745 ;;
49746 *.lib)
49747 outimpFile=\`basnam ${D}outimpFile .lib\`
49748 ;;
49749 *)
49750 ;;
49751 esac
49752 if [ -z ${D}outimpFile ]; then
49753 outimpFile=${D}outFile
49754 fi
49755 defFile="${D}{outFile}.def"
49756 arcFile="${D}{outimpFile}.a"
49757 arcFile2="${D}{outimpFile}.lib"
49758
49759 #create ${D}dllFile as something matching 8.3 restrictions,
49760 if [ -z ${D}renameScript ] ; then
49761 dllFile="${D}outFile"
49762 else
49763 dllFile=\`${D}renameScript ${D}outimpFile\`
49764 fi
49765
49766 if [ ${D}do_backup -ne 0 ] ; then
49767 if [ -f ${D}arcFile ] ; then
49768 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49769 fi
49770 if [ -f ${D}arcFile2 ] ; then
49771 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49772 fi
49773 fi
49774
49775 # Extract public symbols from all the object files.
49776 tmpdefFile=${D}{defFile}_%
49777 rm -f ${D}tmpdefFile
49778 for file in ${D}inputFiles ; do
49779 case ${D}file in
49780 *!)
49781 ;;
49782 *)
49783 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49784 ;;
49785 esac
49786 done
49787
49788 # Create the def file.
49789 rm -f ${D}defFile
49790 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49791 dllFile="${D}{dllFile}.dll"
49792 if [ ! -z ${D}description ]; then
49793 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49794 fi
49795 echo "EXPORTS" >> ${D}defFile
49796
49797 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49798 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49799
49800 # Checks if the export is ok or not.
49801 for word in ${D}exclude_symbols; do
49802 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49803 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49804 done
49805
49806
49807 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49808 sed "=" < ${D}tmpdefFile | \\
49809 sed '
49810 N
49811 : loop
49812 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49813 t loop
49814 ' > ${D}{tmpdefFile}%
49815 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49816 else
49817 rm -f ${D}{tmpdefFile}%
49818 fi
49819 cat ${D}tmpdefFile >> ${D}defFile
49820 rm -f ${D}tmpdefFile
49821
49822 # Do linking, create implib, and apply lxlite.
49823 gccCmdl="";
49824 for file in ${D}inputFiles ; do
49825 case ${D}file in
49826 *!)
49827 ;;
49828 *)
49829 gccCmdl="${D}gccCmdl ${D}file"
49830 ;;
49831 esac
49832 done
49833 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49834 touch "${D}{outFile}.dll"
49835
49836 doCommand "emximp -o ${D}arcFile ${D}defFile"
49837 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49838 add_flags="";
49839 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49840 add_flags="-ynd"
49841 fi
49842 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49843 fi
49844 doCommand "emxomf -s -l ${D}arcFile"
49845
49846 # Successful exit.
49847 CleanUp 1
49848 exit 0
49849 EOF
49850
49851 chmod +x dllar.sh
49852 ;;
49853
49854 powerpc-apple-macos* | \
49855 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49856 *-*-mirbsd* | \
49857 *-*-sunos4* | \
49858 *-*-osf* | \
49859 *-*-dgux5* | \
49860 *-*-sysv5* | \
49861 *-pc-msdosdjgpp )
49862 ;;
49863
49864 *)
49865 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49866 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49867 { (exit 1); exit 1; }; }
49868 esac
49869
49870 if test "x$PIC_FLAG" != "x" ; then
49871 PIC_FLAG="$PIC_FLAG -DPIC"
49872 fi
49873
49874 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49875 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49876 fi
49877 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49878 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49879 fi
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889 USE_SOVERSION=0
49890 USE_SOVERLINUX=0
49891 USE_SOVERSOLARIS=0
49892 USE_SOVERCYGWIN=0
49893 USE_SOTWOSYMLINKS=0
49894 USE_MACVERSION=0
49895 SONAME_FLAG=
49896
49897 case "${BAKEFILE_HOST}" in
49898 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49899 *-*-k*bsd*-gnu | *-*-mirbsd* )
49900 if test "x$SUNCXX" = "xyes"; then
49901 SONAME_FLAG="-h "
49902 else
49903 SONAME_FLAG="-Wl,-soname,"
49904 fi
49905 USE_SOVERSION=1
49906 USE_SOVERLINUX=1
49907 USE_SOTWOSYMLINKS=1
49908 ;;
49909
49910 *-*-solaris2* )
49911 SONAME_FLAG="-h "
49912 USE_SOVERSION=1
49913 USE_SOVERSOLARIS=1
49914 ;;
49915
49916 *-*-darwin* )
49917 USE_MACVERSION=1
49918 USE_SOVERSION=1
49919 USE_SOTWOSYMLINKS=1
49920 ;;
49921
49922 *-*-cygwin* )
49923 USE_SOVERSION=1
49924 USE_SOVERCYGWIN=1
49925 ;;
49926 esac
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937 # Check whether --enable-dependency-tracking was given.
49938 if test "${enable_dependency_tracking+set}" = set; then
49939 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49940 fi
49941
49942
49943 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49944 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49945
49946 BK_DEPS=""
49947 if test "x$bk_use_trackdeps" = "xno" ; then
49948 DEPS_TRACKING=0
49949 { echo "$as_me:$LINENO: result: disabled" >&5
49950 echo "${ECHO_T}disabled" >&6; }
49951 else
49952 DEPS_TRACKING=1
49953
49954 if test "x$GCC" = "xyes"; then
49955 DEPSMODE=gcc
49956 case "${BAKEFILE_HOST}" in
49957 *-*-darwin* )
49958 DEPSFLAG="-no-cpp-precomp -MMD"
49959 ;;
49960 * )
49961 DEPSFLAG="-MMD"
49962 ;;
49963 esac
49964 { echo "$as_me:$LINENO: result: gcc" >&5
49965 echo "${ECHO_T}gcc" >&6; }
49966 elif test "x$MWCC" = "xyes"; then
49967 DEPSMODE=mwcc
49968 DEPSFLAG="-MM"
49969 { echo "$as_me:$LINENO: result: mwcc" >&5
49970 echo "${ECHO_T}mwcc" >&6; }
49971 elif test "x$SUNCC" = "xyes"; then
49972 DEPSMODE=unixcc
49973 DEPSFLAG="-xM1"
49974 { echo "$as_me:$LINENO: result: Sun cc" >&5
49975 echo "${ECHO_T}Sun cc" >&6; }
49976 elif test "x$SGICC" = "xyes"; then
49977 DEPSMODE=unixcc
49978 DEPSFLAG="-M"
49979 { echo "$as_me:$LINENO: result: SGI cc" >&5
49980 echo "${ECHO_T}SGI cc" >&6; }
49981 elif test "x$HPCC" = "xyes"; then
49982 DEPSMODE=unixcc
49983 DEPSFLAG="+make"
49984 { echo "$as_me:$LINENO: result: HP cc" >&5
49985 echo "${ECHO_T}HP cc" >&6; }
49986 elif test "x$COMPAQCC" = "xyes"; then
49987 DEPSMODE=gcc
49988 DEPSFLAG="-MD"
49989 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49990 echo "${ECHO_T}Compaq cc" >&6; }
49991 else
49992 DEPS_TRACKING=0
49993 { echo "$as_me:$LINENO: result: none" >&5
49994 echo "${ECHO_T}none" >&6; }
49995 fi
49996
49997 if test $DEPS_TRACKING = 1 ; then
49998
49999 D='$'
50000 cat <<EOF >bk-deps
50001 #!/bin/sh
50002
50003 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50004 # script. It is used to track C/C++ files dependencies in portable way.
50005 #
50006 # Permission is given to use this file in any way.
50007
50008 DEPSMODE=${DEPSMODE}
50009 DEPSFLAG="${DEPSFLAG}"
50010 DEPSDIRBASE=.deps
50011
50012 if test ${D}DEPSMODE = gcc ; then
50013 ${D}* ${D}{DEPSFLAG}
50014 status=${D}?
50015
50016 # determine location of created files:
50017 while test ${D}# -gt 0; do
50018 case "${D}1" in
50019 -o )
50020 shift
50021 objfile=${D}1
50022 ;;
50023 -* )
50024 ;;
50025 * )
50026 srcfile=${D}1
50027 ;;
50028 esac
50029 shift
50030 done
50031 objfilebase=\`basename ${D}objfile\`
50032 builddir=\`dirname ${D}objfile\`
50033 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50034 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50035 depsdir=${D}builddir/${D}DEPSDIRBASE
50036 mkdir -p ${D}depsdir
50037
50038 # if the compiler failed, we're done:
50039 if test ${D}{status} != 0 ; then
50040 rm -f ${D}depfile
50041 exit ${D}{status}
50042 fi
50043
50044 # move created file to the location we want it in:
50045 if test -f ${D}depfile ; then
50046 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50047 rm -f ${D}depfile
50048 else
50049 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50050 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50051 if test ! -f ${D}depfile ; then
50052 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50053 depfile="${D}objfile.d"
50054 fi
50055 if test -f ${D}depfile ; then
50056 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50057 rm -f ${D}depfile
50058 fi
50059 fi
50060 exit 0
50061
50062 elif test ${D}DEPSMODE = mwcc ; then
50063 ${D}* || exit ${D}?
50064 # Run mwcc again with -MM and redirect into the dep file we want
50065 # NOTE: We can't use shift here because we need ${D}* to be valid
50066 prevarg=
50067 for arg in ${D}* ; do
50068 if test "${D}prevarg" = "-o"; then
50069 objfile=${D}arg
50070 else
50071 case "${D}arg" in
50072 -* )
50073 ;;
50074 * )
50075 srcfile=${D}arg
50076 ;;
50077 esac
50078 fi
50079 prevarg="${D}arg"
50080 done
50081
50082 objfilebase=\`basename ${D}objfile\`
50083 builddir=\`dirname ${D}objfile\`
50084 depsdir=${D}builddir/${D}DEPSDIRBASE
50085 mkdir -p ${D}depsdir
50086
50087 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50088 exit 0
50089
50090 elif test ${D}DEPSMODE = unixcc; then
50091 ${D}* || exit ${D}?
50092 # Run compiler again with deps flag and redirect into the dep file.
50093 # It doesn't work if the '-o FILE' option is used, but without it the
50094 # dependency file will contain the wrong name for the object. So it is
50095 # removed from the command line, and the dep file is fixed with sed.
50096 cmd=""
50097 while test ${D}# -gt 0; do
50098 case "${D}1" in
50099 -o )
50100 shift
50101 objfile=${D}1
50102 ;;
50103 * )
50104 eval arg${D}#=\\${D}1
50105 cmd="${D}cmd \\${D}arg${D}#"
50106 ;;
50107 esac
50108 shift
50109 done
50110
50111 objfilebase=\`basename ${D}objfile\`
50112 builddir=\`dirname ${D}objfile\`
50113 depsdir=${D}builddir/${D}DEPSDIRBASE
50114 mkdir -p ${D}depsdir
50115
50116 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50117 exit 0
50118
50119 else
50120 ${D}*
50121 exit ${D}?
50122 fi
50123 EOF
50124
50125 chmod +x bk-deps
50126 BK_DEPS="`pwd`/bk-deps"
50127 fi
50128 fi
50129
50130
50131
50132
50133
50134 case ${BAKEFILE_HOST} in
50135 *-*-cygwin* | *-*-mingw32* )
50136 if test -n "$ac_tool_prefix"; then
50137 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50138 set dummy ${ac_tool_prefix}windres; ac_word=$2
50139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50141 if test "${ac_cv_prog_WINDRES+set}" = set; then
50142 echo $ECHO_N "(cached) $ECHO_C" >&6
50143 else
50144 if test -n "$WINDRES"; then
50145 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50146 else
50147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50148 for as_dir in $PATH
50149 do
50150 IFS=$as_save_IFS
50151 test -z "$as_dir" && as_dir=.
50152 for ac_exec_ext in '' $ac_executable_extensions; do
50153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50154 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50156 break 2
50157 fi
50158 done
50159 done
50160 IFS=$as_save_IFS
50161
50162 fi
50163 fi
50164 WINDRES=$ac_cv_prog_WINDRES
50165 if test -n "$WINDRES"; then
50166 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50167 echo "${ECHO_T}$WINDRES" >&6; }
50168 else
50169 { echo "$as_me:$LINENO: result: no" >&5
50170 echo "${ECHO_T}no" >&6; }
50171 fi
50172
50173
50174 fi
50175 if test -z "$ac_cv_prog_WINDRES"; then
50176 ac_ct_WINDRES=$WINDRES
50177 # Extract the first word of "windres", so it can be a program name with args.
50178 set dummy windres; ac_word=$2
50179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50181 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50182 echo $ECHO_N "(cached) $ECHO_C" >&6
50183 else
50184 if test -n "$ac_ct_WINDRES"; then
50185 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50186 else
50187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50188 for as_dir in $PATH
50189 do
50190 IFS=$as_save_IFS
50191 test -z "$as_dir" && as_dir=.
50192 for ac_exec_ext in '' $ac_executable_extensions; do
50193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50194 ac_cv_prog_ac_ct_WINDRES="windres"
50195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50196 break 2
50197 fi
50198 done
50199 done
50200 IFS=$as_save_IFS
50201
50202 fi
50203 fi
50204 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50205 if test -n "$ac_ct_WINDRES"; then
50206 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50207 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50208 else
50209 { echo "$as_me:$LINENO: result: no" >&5
50210 echo "${ECHO_T}no" >&6; }
50211 fi
50212
50213 if test "x$ac_ct_WINDRES" = x; then
50214 WINDRES=""
50215 else
50216 case $cross_compiling:$ac_tool_warned in
50217 yes:)
50218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50219 whose name does not start with the host triplet. If you think this
50220 configuration is useful to you, please write to autoconf@gnu.org." >&5
50221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50222 whose name does not start with the host triplet. If you think this
50223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50224 ac_tool_warned=yes ;;
50225 esac
50226 WINDRES=$ac_ct_WINDRES
50227 fi
50228 else
50229 WINDRES="$ac_cv_prog_WINDRES"
50230 fi
50231
50232 ;;
50233
50234 *-*-darwin* | powerpc-apple-macos* )
50235 # Extract the first word of "Rez", so it can be a program name with args.
50236 set dummy Rez; ac_word=$2
50237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50239 if test "${ac_cv_prog_REZ+set}" = set; then
50240 echo $ECHO_N "(cached) $ECHO_C" >&6
50241 else
50242 if test -n "$REZ"; then
50243 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50244 else
50245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50246 for as_dir in $PATH
50247 do
50248 IFS=$as_save_IFS
50249 test -z "$as_dir" && as_dir=.
50250 for ac_exec_ext in '' $ac_executable_extensions; do
50251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50252 ac_cv_prog_REZ="Rez"
50253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50254 break 2
50255 fi
50256 done
50257 done
50258 IFS=$as_save_IFS
50259
50260 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50261 fi
50262 fi
50263 REZ=$ac_cv_prog_REZ
50264 if test -n "$REZ"; then
50265 { echo "$as_me:$LINENO: result: $REZ" >&5
50266 echo "${ECHO_T}$REZ" >&6; }
50267 else
50268 { echo "$as_me:$LINENO: result: no" >&5
50269 echo "${ECHO_T}no" >&6; }
50270 fi
50271
50272
50273 # Extract the first word of "SetFile", so it can be a program name with args.
50274 set dummy SetFile; ac_word=$2
50275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50277 if test "${ac_cv_prog_SETFILE+set}" = set; then
50278 echo $ECHO_N "(cached) $ECHO_C" >&6
50279 else
50280 if test -n "$SETFILE"; then
50281 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50282 else
50283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50284 for as_dir in $PATH
50285 do
50286 IFS=$as_save_IFS
50287 test -z "$as_dir" && as_dir=.
50288 for ac_exec_ext in '' $ac_executable_extensions; do
50289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50290 ac_cv_prog_SETFILE="SetFile"
50291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50292 break 2
50293 fi
50294 done
50295 done
50296 IFS=$as_save_IFS
50297
50298 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50299 fi
50300 fi
50301 SETFILE=$ac_cv_prog_SETFILE
50302 if test -n "$SETFILE"; then
50303 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50304 echo "${ECHO_T}$SETFILE" >&6; }
50305 else
50306 { echo "$as_me:$LINENO: result: no" >&5
50307 echo "${ECHO_T}no" >&6; }
50308 fi
50309
50310
50311 ;;
50312 esac
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50323
50324
50325 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50326
50327
50328
50329 # Check whether --enable-precomp-headers was given.
50330 if test "${enable_precomp_headers+set}" = set; then
50331 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50332 fi
50333
50334
50335 GCC_PCH=0
50336 ICC_PCH=0
50337 USE_PCH=0
50338 BK_MAKE_PCH=""
50339
50340 case ${BAKEFILE_HOST} in
50341 *-*-cygwin* )
50342 bk_use_pch="no"
50343 ;;
50344 esac
50345
50346 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50347 if test "x$GCC" = "xyes"; then
50348 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50349 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50350 cat >conftest.$ac_ext <<_ACEOF
50351 /* confdefs.h. */
50352 _ACEOF
50353 cat confdefs.h >>conftest.$ac_ext
50354 cat >>conftest.$ac_ext <<_ACEOF
50355 /* end confdefs.h. */
50356
50357 int
50358 main ()
50359 {
50360
50361 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50362 There is no PCH support
50363 #endif
50364 #if (__GNUC__ < 3)
50365 There is no PCH support
50366 #endif
50367 #if (__GNUC__ == 3) && \
50368 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50369 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50370 ( defined(__INTEL_COMPILER) )
50371 There is no PCH support
50372 #endif
50373
50374 ;
50375 return 0;
50376 }
50377 _ACEOF
50378 rm -f conftest.$ac_objext
50379 if { (ac_try="$ac_compile"
50380 case "(($ac_try" in
50381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50382 *) ac_try_echo=$ac_try;;
50383 esac
50384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50385 (eval "$ac_compile") 2>conftest.er1
50386 ac_status=$?
50387 grep -v '^ *+' conftest.er1 >conftest.err
50388 rm -f conftest.er1
50389 cat conftest.err >&5
50390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50391 (exit $ac_status); } && {
50392 test -z "$ac_c_werror_flag" ||
50393 test ! -s conftest.err
50394 } && test -s conftest.$ac_objext; then
50395
50396 { echo "$as_me:$LINENO: result: yes" >&5
50397 echo "${ECHO_T}yes" >&6; }
50398 GCC_PCH=1
50399
50400 else
50401 echo "$as_me: failed program was:" >&5
50402 sed 's/^/| /' conftest.$ac_ext >&5
50403
50404
50405 if test "$INTELCXX8" = "yes"; then
50406 { echo "$as_me:$LINENO: result: yes" >&5
50407 echo "${ECHO_T}yes" >&6; }
50408 ICC_PCH=1
50409 if test "$INTELCXX10" = "yes"; then
50410 ICC_PCH_CREATE_SWITCH="-pch-create"
50411 ICC_PCH_USE_SWITCH="-pch-use"
50412 else
50413 ICC_PCH_CREATE_SWITCH="-create-pch"
50414 ICC_PCH_USE_SWITCH="-use-pch"
50415 fi
50416 else
50417 { echo "$as_me:$LINENO: result: no" >&5
50418 echo "${ECHO_T}no" >&6; }
50419 fi
50420
50421 fi
50422
50423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50424 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50425 USE_PCH=1
50426
50427 D='$'
50428 cat <<EOF >bk-make-pch
50429 #!/bin/sh
50430
50431 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50432 # script. It is used to generated precompiled headers.
50433 #
50434 # Permission is given to use this file in any way.
50435
50436 outfile="${D}{1}"
50437 header="${D}{2}"
50438 shift
50439 shift
50440
50441 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50442
50443 compiler=""
50444 headerfile=""
50445
50446 while test ${D}{#} -gt 0; do
50447 add_to_cmdline=1
50448 case "${D}{1}" in
50449 -I* )
50450 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50451 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50452 headerfile="${D}{incdir}/${D}{header}"
50453 fi
50454 ;;
50455 -use-pch|-use_pch|-pch-use )
50456 shift
50457 add_to_cmdline=0
50458 ;;
50459 esac
50460 if test ${D}add_to_cmdline = 1 ; then
50461 compiler="${D}{compiler} ${D}{1}"
50462 fi
50463 shift
50464 done
50465
50466 if test "x${D}{headerfile}" = "x" ; then
50467 echo "error: can't find header ${D}{header} in include paths" >&2
50468 else
50469 if test -f ${D}{outfile} ; then
50470 rm -f ${D}{outfile}
50471 else
50472 mkdir -p \`dirname ${D}{outfile}\`
50473 fi
50474 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50475 mkdir -p ${D}{builddir}/.deps
50476 if test "x${GCC_PCH}" = "x1" ; then
50477 # can do this because gcc is >= 3.4:
50478 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50479 elif test "x${ICC_PCH}" = "x1" ; then
50480 filename=pch_gen-${D}${D}
50481 file=${D}{filename}.c
50482 dfile=${D}{filename}.d
50483 cat > ${D}file <<EOT
50484 #include "${D}header"
50485 EOT
50486 # using -MF icc complains about differing command lines in creation/use
50487 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50488 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50489 rm -f ${D}file ${D}dfile ${D}{filename}.o
50490 fi
50491 exit ${D}{?}
50492 fi
50493 EOF
50494
50495 chmod +x bk-make-pch
50496 BK_MAKE_PCH="`pwd`/bk-make-pch"
50497 fi
50498 fi
50499 fi
50500
50501
50502
50503
50504
50505
50506
50507 COND_BUILD_DEBUG="#"
50508 if test "x$BUILD" = "xdebug" ; then
50509 COND_BUILD_DEBUG=""
50510 fi
50511
50512 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50513 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50514 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50515 fi
50516
50517 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50518 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50519 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50520 fi
50521
50522 COND_BUILD_DEBUG_UNICODE_0="#"
50523 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50524 COND_BUILD_DEBUG_UNICODE_0=""
50525 fi
50526
50527 COND_BUILD_DEBUG_UNICODE_1="#"
50528 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50529 COND_BUILD_DEBUG_UNICODE_1=""
50530 fi
50531
50532 COND_BUILD_RELEASE="#"
50533 if test "x$BUILD" = "xrelease" ; then
50534 COND_BUILD_RELEASE=""
50535 fi
50536
50537 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50538 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50539 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50540 fi
50541
50542 COND_BUILD_RELEASE_UNICODE_0="#"
50543 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50544 COND_BUILD_RELEASE_UNICODE_0=""
50545 fi
50546
50547 COND_BUILD_RELEASE_UNICODE_1="#"
50548 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50549 COND_BUILD_RELEASE_UNICODE_1=""
50550 fi
50551
50552 COND_BUILD_debug="#"
50553 if test "x$BUILD" = "xdebug" ; then
50554 COND_BUILD_debug=""
50555 fi
50556
50557 COND_BUILD_debug_DEBUG_FLAG_default="#"
50558 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50559 COND_BUILD_debug_DEBUG_FLAG_default=""
50560 fi
50561
50562 COND_BUILD_debug_DEBUG_INFO_default="#"
50563 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50564 COND_BUILD_debug_DEBUG_INFO_default=""
50565 fi
50566
50567 COND_BUILD_debug_UNICODE_0="#"
50568 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50569 COND_BUILD_debug_UNICODE_0=""
50570 fi
50571
50572 COND_BUILD_debug_UNICODE_1="#"
50573 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50574 COND_BUILD_debug_UNICODE_1=""
50575 fi
50576
50577 COND_BUILD_release="#"
50578 if test "x$BUILD" = "xrelease" ; then
50579 COND_BUILD_release=""
50580 fi
50581
50582 COND_BUILD_release_DEBUG_INFO_default="#"
50583 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50584 COND_BUILD_release_DEBUG_INFO_default=""
50585 fi
50586
50587 COND_BUILD_release_UNICODE_0="#"
50588 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50589 COND_BUILD_release_UNICODE_0=""
50590 fi
50591
50592 COND_BUILD_release_UNICODE_1="#"
50593 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50594 COND_BUILD_release_UNICODE_1=""
50595 fi
50596
50597 COND_DEBUG_FLAG_0="#"
50598 if test "x$DEBUG_FLAG" = "x0" ; then
50599 COND_DEBUG_FLAG_0=""
50600 fi
50601
50602 COND_DEBUG_FLAG_1="#"
50603 if test "x$DEBUG_FLAG" = "x1" ; then
50604 COND_DEBUG_FLAG_1=""
50605 fi
50606
50607 COND_DEBUG_INFO_0="#"
50608 if test "x$DEBUG_INFO" = "x0" ; then
50609 COND_DEBUG_INFO_0=""
50610 fi
50611
50612 COND_DEBUG_INFO_1="#"
50613 if test "x$DEBUG_INFO" = "x1" ; then
50614 COND_DEBUG_INFO_1=""
50615 fi
50616
50617 COND_DEPS_TRACKING_0="#"
50618 if test "x$DEPS_TRACKING" = "x0" ; then
50619 COND_DEPS_TRACKING_0=""
50620 fi
50621
50622 COND_DEPS_TRACKING_1="#"
50623 if test "x$DEPS_TRACKING" = "x1" ; then
50624 COND_DEPS_TRACKING_1=""
50625 fi
50626
50627 COND_GCC_PCH_1="#"
50628 if test "x$GCC_PCH" = "x1" ; then
50629 COND_GCC_PCH_1=""
50630 fi
50631
50632 COND_ICC_PCH_1="#"
50633 if test "x$ICC_PCH" = "x1" ; then
50634 COND_ICC_PCH_1=""
50635 fi
50636
50637 COND_MONOLITHIC_0="#"
50638 if test "x$MONOLITHIC" = "x0" ; then
50639 COND_MONOLITHIC_0=""
50640 fi
50641
50642 COND_MONOLITHIC_0_SHARED_0="#"
50643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50644 COND_MONOLITHIC_0_SHARED_0=""
50645 fi
50646
50647 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50649 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50650 fi
50651
50652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50655 fi
50656
50657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50660 fi
50661
50662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50665 fi
50666
50667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50670 fi
50671
50672 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50674 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50675 fi
50676
50677 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50679 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50680 fi
50681
50682 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50684 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50685 fi
50686
50687 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50689 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50690 fi
50691
50692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50694 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50695 fi
50696
50697 COND_MONOLITHIC_0_SHARED_1="#"
50698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50699 COND_MONOLITHIC_0_SHARED_1=""
50700 fi
50701
50702 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50704 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50705 fi
50706
50707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50710 fi
50711
50712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50715 fi
50716
50717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50720 fi
50721
50722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50725 fi
50726
50727 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50729 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50730 fi
50731
50732 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50734 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50735 fi
50736
50737 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50739 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50740 fi
50741
50742 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50744 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50745 fi
50746
50747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50749 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50750 fi
50751
50752 COND_MONOLITHIC_0_USE_AUI_1="#"
50753 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50754 COND_MONOLITHIC_0_USE_AUI_1=""
50755 fi
50756
50757 COND_MONOLITHIC_0_USE_GUI_1="#"
50758 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50759 COND_MONOLITHIC_0_USE_GUI_1=""
50760 fi
50761
50762 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50763 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50764 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50765 fi
50766
50767 COND_MONOLITHIC_0_USE_HTML_1="#"
50768 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50769 COND_MONOLITHIC_0_USE_HTML_1=""
50770 fi
50771
50772 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50773 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50774 COND_MONOLITHIC_0_USE_MEDIA_1=""
50775 fi
50776
50777 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50778 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50779 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50780 fi
50781
50782 COND_MONOLITHIC_0_USE_QA_1="#"
50783 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50784 COND_MONOLITHIC_0_USE_QA_1=""
50785 fi
50786
50787 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50788 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50789 COND_MONOLITHIC_0_USE_RIBBON_1=""
50790 fi
50791
50792 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50793 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50794 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50795 fi
50796
50797 COND_MONOLITHIC_0_USE_STC_1="#"
50798 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50799 COND_MONOLITHIC_0_USE_STC_1=""
50800 fi
50801
50802 COND_MONOLITHIC_0_USE_XRC_1="#"
50803 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50804 COND_MONOLITHIC_0_USE_XRC_1=""
50805 fi
50806
50807 COND_MONOLITHIC_1="#"
50808 if test "x$MONOLITHIC" = "x1" ; then
50809 COND_MONOLITHIC_1=""
50810 fi
50811
50812 COND_MONOLITHIC_1_SHARED_0="#"
50813 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50814 COND_MONOLITHIC_1_SHARED_0=""
50815 fi
50816
50817 COND_MONOLITHIC_1_SHARED_1="#"
50818 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50819 COND_MONOLITHIC_1_SHARED_1=""
50820 fi
50821
50822 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50823 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50824 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50825 fi
50826
50827 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50828 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50829 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50830 fi
50831
50832 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50833 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50834 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50835 fi
50836
50837 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50838 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50839 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50840 fi
50841
50842 COND_PLATFORM_MACOSX_1="#"
50843 if test "x$PLATFORM_MACOSX" = "x1" ; then
50844 COND_PLATFORM_MACOSX_1=""
50845 fi
50846
50847 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50849 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50850 fi
50851
50852 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50854 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50855 fi
50856
50857 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50859 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50860 fi
50861
50862 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50864 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50865 fi
50866
50867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50869 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50870 fi
50871
50872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50874 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50875 fi
50876
50877 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50879 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50880 fi
50881
50882 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50884 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50885 fi
50886
50887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50889 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50890 fi
50891
50892 COND_PLATFORM_MACOS_1="#"
50893 if test "x$PLATFORM_MACOS" = "x1" ; then
50894 COND_PLATFORM_MACOS_1=""
50895 fi
50896
50897 COND_PLATFORM_MAC_0="#"
50898 if test "x$PLATFORM_MAC" = "x0" ; then
50899 COND_PLATFORM_MAC_0=""
50900 fi
50901
50902 COND_PLATFORM_MAC_1="#"
50903 if test "x$PLATFORM_MAC" = "x1" ; then
50904 COND_PLATFORM_MAC_1=""
50905 fi
50906
50907 COND_PLATFORM_MSDOS_0="#"
50908 if test "x$PLATFORM_MSDOS" = "x0" ; then
50909 COND_PLATFORM_MSDOS_0=""
50910 fi
50911
50912 COND_PLATFORM_MSDOS_1="#"
50913 if test "x$PLATFORM_MSDOS" = "x1" ; then
50914 COND_PLATFORM_MSDOS_1=""
50915 fi
50916
50917 COND_PLATFORM_OS2_1="#"
50918 if test "x$PLATFORM_OS2" = "x1" ; then
50919 COND_PLATFORM_OS2_1=""
50920 fi
50921
50922 COND_PLATFORM_UNIX_0="#"
50923 if test "x$PLATFORM_UNIX" = "x0" ; then
50924 COND_PLATFORM_UNIX_0=""
50925 fi
50926
50927 COND_PLATFORM_UNIX_1="#"
50928 if test "x$PLATFORM_UNIX" = "x1" ; then
50929 COND_PLATFORM_UNIX_1=""
50930 fi
50931
50932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50933 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50934 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50935 fi
50936
50937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50938 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50939 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50940 fi
50941
50942 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50943 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50944 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50945 fi
50946
50947 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50949 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50950 fi
50951
50952 COND_PLATFORM_WIN32_0="#"
50953 if test "x$PLATFORM_WIN32" = "x0" ; then
50954 COND_PLATFORM_WIN32_0=""
50955 fi
50956
50957 COND_PLATFORM_WIN32_1="#"
50958 if test "x$PLATFORM_WIN32" = "x1" ; then
50959 COND_PLATFORM_WIN32_1=""
50960 fi
50961
50962 COND_PLATFORM_WIN32_1_SHARED_0="#"
50963 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50964 COND_PLATFORM_WIN32_1_SHARED_0=""
50965 fi
50966
50967 COND_SHARED_0="#"
50968 if test "x$SHARED" = "x0" ; then
50969 COND_SHARED_0=""
50970 fi
50971
50972 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50974 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50975 fi
50976
50977 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50979 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50980 fi
50981
50982 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50983 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50984 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50985 fi
50986
50987 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50989 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50990 fi
50991
50992 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50994 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50995 fi
50996
50997 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50999 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51000 fi
51001
51002 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51004 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51005 fi
51006
51007 COND_SHARED_0_USE_STC_1="#"
51008 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51009 COND_SHARED_0_USE_STC_1=""
51010 fi
51011
51012 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51013 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51014 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51015 fi
51016
51017 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51018 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51019 COND_SHARED_0_wxUSE_REGEX_builtin=""
51020 fi
51021
51022 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51023 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51024 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51025 fi
51026
51027 COND_SHARED_1="#"
51028 if test "x$SHARED" = "x1" ; then
51029 COND_SHARED_1=""
51030 fi
51031
51032 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51033 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51034 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51035 fi
51036
51037 COND_TOOLKIT_="#"
51038 if test "x$TOOLKIT" = "x" ; then
51039 COND_TOOLKIT_=""
51040 fi
51041
51042 COND_TOOLKIT_COCOA="#"
51043 if test "x$TOOLKIT" = "xCOCOA" ; then
51044 COND_TOOLKIT_COCOA=""
51045 fi
51046
51047 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51048 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51049 COND_TOOLKIT_COCOA_USE_GUI_1=""
51050 fi
51051
51052 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51053 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51054 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51055 fi
51056
51057 COND_TOOLKIT_DFB="#"
51058 if test "x$TOOLKIT" = "xDFB" ; then
51059 COND_TOOLKIT_DFB=""
51060 fi
51061
51062 COND_TOOLKIT_DFB_USE_GUI_1="#"
51063 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51064 COND_TOOLKIT_DFB_USE_GUI_1=""
51065 fi
51066
51067 COND_TOOLKIT_GTK="#"
51068 if test "x$TOOLKIT" = "xGTK" ; then
51069 COND_TOOLKIT_GTK=""
51070 fi
51071
51072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51073 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51075 fi
51076
51077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51080 fi
51081
51082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51085 fi
51086
51087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51090 fi
51091
51092 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51094 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51095 fi
51096
51097 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51099 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51100 fi
51101
51102 COND_TOOLKIT_GTK_USE_GUI_1="#"
51103 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51104 COND_TOOLKIT_GTK_USE_GUI_1=""
51105 fi
51106
51107 COND_TOOLKIT_MAC="#"
51108 if test "x$TOOLKIT" = "xMAC" ; then
51109 COND_TOOLKIT_MAC=""
51110 fi
51111
51112 COND_TOOLKIT_MGL="#"
51113 if test "x$TOOLKIT" = "xMGL" ; then
51114 COND_TOOLKIT_MGL=""
51115 fi
51116
51117 COND_TOOLKIT_MGL_USE_GUI_1="#"
51118 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51119 COND_TOOLKIT_MGL_USE_GUI_1=""
51120 fi
51121
51122 COND_TOOLKIT_MOTIF="#"
51123 if test "x$TOOLKIT" = "xMOTIF" ; then
51124 COND_TOOLKIT_MOTIF=""
51125 fi
51126
51127 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51128 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51129 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51130 fi
51131
51132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51133 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51135 fi
51136
51137 COND_TOOLKIT_MSW="#"
51138 if test "x$TOOLKIT" = "xMSW" ; then
51139 COND_TOOLKIT_MSW=""
51140 fi
51141
51142 COND_TOOLKIT_MSW_USE_GUI_1="#"
51143 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51144 COND_TOOLKIT_MSW_USE_GUI_1=""
51145 fi
51146
51147 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51148 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51150 fi
51151
51152 COND_TOOLKIT_MSW_WXUNIV_0="#"
51153 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51154 COND_TOOLKIT_MSW_WXUNIV_0=""
51155 fi
51156
51157 COND_TOOLKIT_OSX_CARBON="#"
51158 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51159 COND_TOOLKIT_OSX_CARBON=""
51160 fi
51161
51162 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51163 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51164 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51165 fi
51166
51167 COND_TOOLKIT_OSX_COCOA="#"
51168 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51169 COND_TOOLKIT_OSX_COCOA=""
51170 fi
51171
51172 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51173 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51174 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51175 fi
51176
51177 COND_TOOLKIT_OSX_IPHONE="#"
51178 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51179 COND_TOOLKIT_OSX_IPHONE=""
51180 fi
51181
51182 COND_TOOLKIT_PM="#"
51183 if test "x$TOOLKIT" = "xPM" ; then
51184 COND_TOOLKIT_PM=""
51185 fi
51186
51187 COND_TOOLKIT_PM_USE_GUI_1="#"
51188 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51189 COND_TOOLKIT_PM_USE_GUI_1=""
51190 fi
51191
51192 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51193 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51194 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51195 fi
51196
51197 COND_TOOLKIT_WINCE="#"
51198 if test "x$TOOLKIT" = "xWINCE" ; then
51199 COND_TOOLKIT_WINCE=""
51200 fi
51201
51202 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51203 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51204 COND_TOOLKIT_WINCE_USE_GUI_1=""
51205 fi
51206
51207 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51208 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51210 fi
51211
51212 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51213 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51214 COND_TOOLKIT_WINCE_WXUNIV_0=""
51215 fi
51216
51217 COND_TOOLKIT_X11="#"
51218 if test "x$TOOLKIT" = "xX11" ; then
51219 COND_TOOLKIT_X11=""
51220 fi
51221
51222 COND_TOOLKIT_X11_USE_GUI_1="#"
51223 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51224 COND_TOOLKIT_X11_USE_GUI_1=""
51225 fi
51226
51227 COND_UNICODE_1="#"
51228 if test "x$UNICODE" = "x1" ; then
51229 COND_UNICODE_1=""
51230 fi
51231
51232 COND_USE_CAIRO_1="#"
51233 if test "x$USE_CAIRO" = "x1" ; then
51234 COND_USE_CAIRO_1=""
51235 fi
51236
51237 COND_USE_EXCEPTIONS_0="#"
51238 if test "x$USE_EXCEPTIONS" = "x0" ; then
51239 COND_USE_EXCEPTIONS_0=""
51240 fi
51241
51242 COND_USE_EXCEPTIONS_1="#"
51243 if test "x$USE_EXCEPTIONS" = "x1" ; then
51244 COND_USE_EXCEPTIONS_1=""
51245 fi
51246
51247 COND_USE_GUI_0="#"
51248 if test "x$USE_GUI" = "x0" ; then
51249 COND_USE_GUI_0=""
51250 fi
51251
51252 COND_USE_GUI_1="#"
51253 if test "x$USE_GUI" = "x1" ; then
51254 COND_USE_GUI_1=""
51255 fi
51256
51257 COND_USE_GUI_1_USE_OPENGL_1="#"
51258 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51259 COND_USE_GUI_1_USE_OPENGL_1=""
51260 fi
51261
51262 COND_USE_GUI_1_WXUNIV_0="#"
51263 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51264 COND_USE_GUI_1_WXUNIV_0=""
51265 fi
51266
51267 COND_USE_GUI_1_WXUNIV_1="#"
51268 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51269 COND_USE_GUI_1_WXUNIV_1=""
51270 fi
51271
51272 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51274 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51275 fi
51276
51277 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51278 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51279 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51280 fi
51281
51282 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51283 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51284 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51285 fi
51286
51287 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51288 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51289 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51290 fi
51291
51292 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51293 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51294 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51295 fi
51296
51297 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51298 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51299 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51300 fi
51301
51302 COND_USE_OPENGL_1="#"
51303 if test "x$USE_OPENGL" = "x1" ; then
51304 COND_USE_OPENGL_1=""
51305 fi
51306
51307 COND_USE_PCH_1="#"
51308 if test "x$USE_PCH" = "x1" ; then
51309 COND_USE_PCH_1=""
51310 fi
51311
51312 COND_USE_PLUGINS_0="#"
51313 if test "x$USE_PLUGINS" = "x0" ; then
51314 COND_USE_PLUGINS_0=""
51315 fi
51316
51317 COND_USE_RTTI_0="#"
51318 if test "x$USE_RTTI" = "x0" ; then
51319 COND_USE_RTTI_0=""
51320 fi
51321
51322 COND_USE_RTTI_1="#"
51323 if test "x$USE_RTTI" = "x1" ; then
51324 COND_USE_RTTI_1=""
51325 fi
51326
51327 COND_USE_SOTWOSYMLINKS_1="#"
51328 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51329 COND_USE_SOTWOSYMLINKS_1=""
51330 fi
51331
51332 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51333 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51334 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51335 fi
51336
51337 COND_USE_SOVERLINUX_1="#"
51338 if test "x$USE_SOVERLINUX" = "x1" ; then
51339 COND_USE_SOVERLINUX_1=""
51340 fi
51341
51342 COND_USE_SOVERSION_0="#"
51343 if test "x$USE_SOVERSION" = "x0" ; then
51344 COND_USE_SOVERSION_0=""
51345 fi
51346
51347 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51348 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51349 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51350 fi
51351
51352 COND_USE_SOVERSOLARIS_1="#"
51353 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51354 COND_USE_SOVERSOLARIS_1=""
51355 fi
51356
51357 COND_USE_STC_1="#"
51358 if test "x$USE_STC" = "x1" ; then
51359 COND_USE_STC_1=""
51360 fi
51361
51362 COND_USE_THREADS_0="#"
51363 if test "x$USE_THREADS" = "x0" ; then
51364 COND_USE_THREADS_0=""
51365 fi
51366
51367 COND_USE_THREADS_1="#"
51368 if test "x$USE_THREADS" = "x1" ; then
51369 COND_USE_THREADS_1=""
51370 fi
51371
51372 COND_USE_XRC_1="#"
51373 if test "x$USE_XRC" = "x1" ; then
51374 COND_USE_XRC_1=""
51375 fi
51376
51377 COND_WINDOWS_IMPLIB_1="#"
51378 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51379 COND_WINDOWS_IMPLIB_1=""
51380 fi
51381
51382 COND_WITH_PLUGIN_SDL_1="#"
51383 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51384 COND_WITH_PLUGIN_SDL_1=""
51385 fi
51386
51387 COND_WXUNIV_0="#"
51388 if test "x$WXUNIV" = "x0" ; then
51389 COND_WXUNIV_0=""
51390 fi
51391
51392 COND_WXUNIV_1="#"
51393 if test "x$WXUNIV" = "x1" ; then
51394 COND_WXUNIV_1=""
51395 fi
51396
51397 COND_WXUSE_EXPAT_BUILTIN="#"
51398 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51399 COND_WXUSE_EXPAT_BUILTIN=""
51400 fi
51401
51402 COND_WXUSE_LIBJPEG_BUILTIN="#"
51403 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51404 COND_WXUSE_LIBJPEG_BUILTIN=""
51405 fi
51406
51407 COND_WXUSE_LIBPNG_BUILTIN="#"
51408 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51409 COND_WXUSE_LIBPNG_BUILTIN=""
51410 fi
51411
51412 COND_WXUSE_LIBTIFF_BUILTIN="#"
51413 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51414 COND_WXUSE_LIBTIFF_BUILTIN=""
51415 fi
51416
51417 COND_WXUSE_REGEX_BUILTIN="#"
51418 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51419 COND_WXUSE_REGEX_BUILTIN=""
51420 fi
51421
51422 COND_WXUSE_ZLIB_BUILTIN="#"
51423 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51424 COND_WXUSE_ZLIB_BUILTIN=""
51425 fi
51426
51427 COND_wxUSE_EXPAT_builtin="#"
51428 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51429 COND_wxUSE_EXPAT_builtin=""
51430 fi
51431
51432 COND_wxUSE_LIBJPEG_builtin="#"
51433 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51434 COND_wxUSE_LIBJPEG_builtin=""
51435 fi
51436
51437 COND_wxUSE_LIBPNG_builtin="#"
51438 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51439 COND_wxUSE_LIBPNG_builtin=""
51440 fi
51441
51442 COND_wxUSE_LIBTIFF_builtin="#"
51443 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51444 COND_wxUSE_LIBTIFF_builtin=""
51445 fi
51446
51447 COND_wxUSE_REGEX_builtin="#"
51448 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51449 COND_wxUSE_REGEX_builtin=""
51450 fi
51451
51452 COND_wxUSE_ZLIB_builtin="#"
51453 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51454 COND_wxUSE_ZLIB_builtin=""
51455 fi
51456
51457
51458
51459 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51460 { { 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
51461 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;}
51462 { (exit 1); exit 1; }; }
51463 fi
51464
51465 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51466 { { 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
51467 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;}
51468 { (exit 1); exit 1; }; }
51469 fi
51470
51471
51472 case ${INSTALL} in
51473 /* ) # Absolute
51474 ;;
51475 ?:* ) # Drive letter, considered as absolute.
51476 ;;
51477 *)
51478 INSTALL=`pwd`/${INSTALL} ;;
51479 esac
51480
51481 if test "$wxUSE_GUI" = "yes"; then
51482
51483 if test "$wxUSE_MSW" = 1 ; then
51484 if test "x$WINDRES" = "x"; then
51485 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51486 echo "$as_me: error: Required windres program not found" >&2;}
51487 { (exit 1); exit 1; }; }
51488 fi
51489
51490 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51491 fi
51492
51493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51494 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51495 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51496
51497 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51498
51499 # Extract the first word of "DeRez", so it can be a program name with args.
51500 set dummy DeRez; ac_word=$2
51501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51503 if test "${ac_cv_prog_DEREZ+set}" = set; then
51504 echo $ECHO_N "(cached) $ECHO_C" >&6
51505 else
51506 if test -n "$DEREZ"; then
51507 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51508 else
51509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51510 for as_dir in $PATH
51511 do
51512 IFS=$as_save_IFS
51513 test -z "$as_dir" && as_dir=.
51514 for ac_exec_ext in '' $ac_executable_extensions; do
51515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51516 ac_cv_prog_DEREZ="DeRez"
51517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51518 break 2
51519 fi
51520 done
51521 done
51522 IFS=$as_save_IFS
51523
51524 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51525 fi
51526 fi
51527 DEREZ=$ac_cv_prog_DEREZ
51528 if test -n "$DEREZ"; then
51529 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51530 echo "${ECHO_T}$DEREZ" >&6; }
51531 else
51532 { echo "$as_me:$LINENO: result: no" >&5
51533 echo "${ECHO_T}no" >&6; }
51534 fi
51535
51536
51537
51538 MACSETFILE="\$(SETFILE)"
51539
51540 if test "$wxUSE_OSX_CARBON" = 1; then
51541 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51542 RESCOMP="$REZ"
51543 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51544 else
51545 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51546 RESCOMP="cat /dev/null \| $REZ"
51547 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51548 fi
51549
51550 else
51551 MACSETFILE="@true"
51552
51553 if test "$wxUSE_PM" = 1; then
51554 RESCOMP="emxbind"
51555 WXCONFIG_RESFLAGS="-ep"
51556
51557 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51558 else
51559 POSTLINK_COMMAND="@true"
51560 fi
51561 fi
51562
51563 fi
51564
51565
51566 if test $GCC_PCH = 1
51567 then
51568 if test "$wx_cv_gcc_pch_bug" = yes; then
51569 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51570 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51571 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51572 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51573 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51574 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51575 fi
51576
51577 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51578 # the headers that benefit from precompilation are mostly C++ headers.
51579 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51580 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51581 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51582 fi
51583
51584
51585 if test "$wxUSE_MAC" = 1 ; then
51586 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51587 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51588 mv temp bk-deps
51589 chmod +x bk-deps
51590 fi
51591 fi
51592
51593 if test "$wxUSE_SHARED" = "yes"; then
51594 case "${host}" in
51595 *-pc-os2_emx | *-pc-os2-emx )
51596 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51597 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51598 cp -p ${srcdir}/src/os2/dllnames.sh .
51599 cp -p ${srcdir}/src/os2/dllar.sh .
51600 ;;
51601 esac
51602 fi
51603 if test "$wxUSE_OMF" = "yes"; then
51604 case "${host}" in
51605 *-pc-os2_emx | *-pc-os2-emx )
51606 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51607 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51608 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51609 ;;
51610 esac
51611 fi
51612
51613 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51614
51615
51616 case "${host}" in
51617 *-*-solaris2* )
51618 if test "$GCC" = yes; then
51619 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51620 LIBS=`echo $LIBS | sed 's/-mt//'`
51621 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51622 fi
51623 ;;
51624
51625 *-*-linux* )
51626 if test "x$SUNCXX" = xyes; then
51627 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51628 LIBS=`echo $LIBS | sed 's/-pthread//'`
51629 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51630 fi
51631 ;;
51632 esac
51633
51634 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51635 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51636 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51637 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51638
51639 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51640
51641
51642
51643
51644
51645
51646
51647
51648
51649
51650
51651
51652
51653
51654
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51701 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51702 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51703 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51704 echo $ECHO_N "(cached) $ECHO_C" >&6
51705 else
51706 cat >conftest.make <<\_ACEOF
51707 SHELL = /bin/sh
51708 all:
51709 @echo '@@@%%%=$(MAKE)=@@@%%%'
51710 _ACEOF
51711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51713 *@@@%%%=?*=@@@%%%*)
51714 eval ac_cv_prog_make_${ac_make}_set=yes;;
51715 *)
51716 eval ac_cv_prog_make_${ac_make}_set=no;;
51717 esac
51718 rm -f conftest.make
51719 fi
51720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51721 { echo "$as_me:$LINENO: result: yes" >&5
51722 echo "${ECHO_T}yes" >&6; }
51723 SET_MAKE=
51724 else
51725 { echo "$as_me:$LINENO: result: no" >&5
51726 echo "${ECHO_T}no" >&6; }
51727 SET_MAKE="MAKE=${MAKE-make}"
51728 fi
51729
51730
51731
51732 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51733
51734
51735 if test "$USE_WIN32" = 1; then
51736 ac_config_commands="$ac_config_commands rcdefs.h"
51737
51738 fi
51739
51740 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51741
51742
51743 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51744
51745
51746 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51747
51748
51749 if test "$wx_cv_version_script" = "yes"; then
51750 ac_config_files="$ac_config_files version-script"
51751
51752 fi
51753 ac_config_files="$ac_config_files Makefile"
51754
51755
51756 ac_config_commands="$ac_config_commands wx-config"
51757
51758
51759
51760 if test "$wxWITH_SUBDIRS" != "no"; then
51761 if test "$wxUSE_GUI" = "yes"; then
51762 SUBDIRS="samples demos utils"
51763 else
51764 SUBDIRS="samples utils"
51765 fi
51766
51767
51768
51769 # Check whether --with-cppunit-prefix was given.
51770 if test "${with_cppunit_prefix+set}" = set; then
51771 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51772 else
51773 cppunit_config_prefix=""
51774 fi
51775
51776
51777 # Check whether --with-cppunit-exec-prefix was given.
51778 if test "${with_cppunit_exec_prefix+set}" = set; then
51779 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51780 else
51781 cppunit_config_exec_prefix=""
51782 fi
51783
51784
51785 if test x$cppunit_config_exec_prefix != x ; then
51786 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51787 if test x${CPPUNIT_CONFIG+set} != xset ; then
51788 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51789 fi
51790 fi
51791 if test x$cppunit_config_prefix != x ; then
51792 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51793 if test x${CPPUNIT_CONFIG+set} != xset ; then
51794 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51795 fi
51796 fi
51797
51798 # Extract the first word of "cppunit-config", so it can be a program name with args.
51799 set dummy cppunit-config; ac_word=$2
51800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51802 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51803 echo $ECHO_N "(cached) $ECHO_C" >&6
51804 else
51805 case $CPPUNIT_CONFIG in
51806 [\\/]* | ?:[\\/]*)
51807 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51808 ;;
51809 *)
51810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51811 for as_dir in $PATH
51812 do
51813 IFS=$as_save_IFS
51814 test -z "$as_dir" && as_dir=.
51815 for ac_exec_ext in '' $ac_executable_extensions; do
51816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51817 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51819 break 2
51820 fi
51821 done
51822 done
51823 IFS=$as_save_IFS
51824
51825 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51826 ;;
51827 esac
51828 fi
51829 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51830 if test -n "$CPPUNIT_CONFIG"; then
51831 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51832 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51833 else
51834 { echo "$as_me:$LINENO: result: no" >&5
51835 echo "${ECHO_T}no" >&6; }
51836 fi
51837
51838
51839 cppunit_version_min=1.8.0
51840
51841 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51842 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51843 no_cppunit=""
51844 if test "$CPPUNIT_CONFIG" = "no" ; then
51845 { echo "$as_me:$LINENO: result: no" >&5
51846 echo "${ECHO_T}no" >&6; }
51847 no_cppunit=yes
51848 else
51849 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51850 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51851 cppunit_version=`$CPPUNIT_CONFIG --version`
51852
51853 cppunit_major_version=`echo $cppunit_version | \
51854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51855 cppunit_minor_version=`echo $cppunit_version | \
51856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51857 cppunit_micro_version=`echo $cppunit_version | \
51858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51859
51860 cppunit_major_min=`echo $cppunit_version_min | \
51861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51862 cppunit_minor_min=`echo $cppunit_version_min | \
51863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51864 cppunit_micro_min=`echo $cppunit_version_min | \
51865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51866
51867 cppunit_version_proper=`expr \
51868 $cppunit_major_version \> $cppunit_major_min \| \
51869 $cppunit_major_version \= $cppunit_major_min \& \
51870 $cppunit_minor_version \> $cppunit_minor_min \| \
51871 $cppunit_major_version \= $cppunit_major_min \& \
51872 $cppunit_minor_version \= $cppunit_minor_min \& \
51873 $cppunit_micro_version \>= $cppunit_micro_min `
51874
51875 if test "$cppunit_version_proper" = "1" ; then
51876 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51877 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51878 else
51879 { echo "$as_me:$LINENO: result: no" >&5
51880 echo "${ECHO_T}no" >&6; }
51881 no_cppunit=yes
51882 fi
51883 fi
51884
51885 if test "x$no_cppunit" = x ; then
51886 SUBDIRS="$SUBDIRS tests"
51887 else
51888 CPPUNIT_CFLAGS=""
51889 CPPUNIT_LIBS=""
51890 :
51891 fi
51892
51893
51894
51895
51896
51897 for subdir in $SUBDIRS; do
51898 if test -d ${srcdir}/${subdir} ; then
51899 if test "$wxUSE_GUI" = "yes"; then
51900 if test ${subdir} = "samples"; then
51901 makefiles="samples/Makefile.in $makefiles"
51902 for sample in $SAMPLES_SUBDIRS; do
51903 if test -d $srcdir/samples/$sample; then
51904 makefiles="samples/$sample/Makefile.in $makefiles"
51905 fi
51906 done
51907 else
51908 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51909 eval "disabled=\$$disabled_var"
51910 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51911 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51912 fi
51913 else
51914 if test ${subdir} = "samples"; then
51915 makefiles="samples/Makefile.in $makefiles"
51916 for sample in `echo $SAMPLES_SUBDIRS`; do
51917 if test -d $srcdir/samples/$sample; then
51918 makefiles="samples/$sample/Makefile.in $makefiles"
51919 fi
51920 done
51921 elif test ${subdir} = "utils"; then
51922 makefiles=""
51923 for util in ifacecheck ; do
51924 if test -d $srcdir/utils/$util ; then
51925 makefiles="utils/$util/src/Makefile.in \
51926 $makefiles"
51927 fi
51928 done
51929 else
51930 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51931 fi
51932 fi
51933
51934 for mkin in $makefiles ; do
51935 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51936 ac_config_files="$ac_config_files $mk"
51937
51938 done
51939 fi
51940 done
51941 fi
51942 cat >confcache <<\_ACEOF
51943 # This file is a shell script that caches the results of configure
51944 # tests run on this system so they can be shared between configure
51945 # scripts and configure runs, see configure's option --config-cache.
51946 # It is not useful on other systems. If it contains results you don't
51947 # want to keep, you may remove or edit it.
51948 #
51949 # config.status only pays attention to the cache file if you give it
51950 # the --recheck option to rerun configure.
51951 #
51952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51954 # following values.
51955
51956 _ACEOF
51957
51958 # The following way of writing the cache mishandles newlines in values,
51959 # but we know of no workaround that is simple, portable, and efficient.
51960 # So, we kill variables containing newlines.
51961 # Ultrix sh set writes to stderr and can't be redirected directly,
51962 # and sets the high bit in the cache file unless we assign to the vars.
51963 (
51964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51965 eval ac_val=\$$ac_var
51966 case $ac_val in #(
51967 *${as_nl}*)
51968 case $ac_var in #(
51969 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51971 esac
51972 case $ac_var in #(
51973 _ | IFS | as_nl) ;; #(
51974 *) $as_unset $ac_var ;;
51975 esac ;;
51976 esac
51977 done
51978
51979 (set) 2>&1 |
51980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51981 *${as_nl}ac_space=\ *)
51982 # `set' does not quote correctly, so add quotes (double-quote
51983 # substitution turns \\\\ into \\, and sed turns \\ into \).
51984 sed -n \
51985 "s/'/'\\\\''/g;
51986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51987 ;; #(
51988 *)
51989 # `set' quotes correctly as required by POSIX, so do not add quotes.
51990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51991 ;;
51992 esac |
51993 sort
51994 ) |
51995 sed '
51996 /^ac_cv_env_/b end
51997 t clear
51998 :clear
51999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52000 t end
52001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52002 :end' >>confcache
52003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52004 if test -w "$cache_file"; then
52005 test "x$cache_file" != "x/dev/null" &&
52006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52007 echo "$as_me: updating cache $cache_file" >&6;}
52008 cat confcache >$cache_file
52009 else
52010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52012 fi
52013 fi
52014 rm -f confcache
52015
52016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52017 # Let make expand exec_prefix.
52018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52019
52020 DEFS=-DHAVE_CONFIG_H
52021
52022 ac_libobjs=
52023 ac_ltlibobjs=
52024 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52025 # 1. Remove the extension, and $U if already installed.
52026 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52027 ac_i=`echo "$ac_i" | sed "$ac_script"`
52028 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52029 # will be set to the directory where LIBOBJS objects are built.
52030 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52031 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52032 done
52033 LIBOBJS=$ac_libobjs
52034
52035 LTLIBOBJS=$ac_ltlibobjs
52036
52037
52038
52039 : ${CONFIG_STATUS=./config.status}
52040 ac_clean_files_save=$ac_clean_files
52041 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52042 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52043 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52044 cat >$CONFIG_STATUS <<_ACEOF
52045 #! $SHELL
52046 # Generated by $as_me.
52047 # Run this file to recreate the current configuration.
52048 # Compiler output produced by configure, useful for debugging
52049 # configure, is in config.log if it exists.
52050
52051 debug=false
52052 ac_cs_recheck=false
52053 ac_cs_silent=false
52054 SHELL=\${CONFIG_SHELL-$SHELL}
52055 _ACEOF
52056
52057 cat >>$CONFIG_STATUS <<\_ACEOF
52058 ## --------------------- ##
52059 ## M4sh Initialization. ##
52060 ## --------------------- ##
52061
52062 # Be more Bourne compatible
52063 DUALCASE=1; export DUALCASE # for MKS sh
52064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52065 emulate sh
52066 NULLCMD=:
52067 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52068 # is contrary to our usage. Disable this feature.
52069 alias -g '${1+"$@"}'='"$@"'
52070 setopt NO_GLOB_SUBST
52071 else
52072 case `(set -o) 2>/dev/null` in
52073 *posix*) set -o posix ;;
52074 esac
52075
52076 fi
52077
52078
52079
52080
52081 # PATH needs CR
52082 # Avoid depending upon Character Ranges.
52083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52086 as_cr_digits='0123456789'
52087 as_cr_alnum=$as_cr_Letters$as_cr_digits
52088
52089 # The user is always right.
52090 if test "${PATH_SEPARATOR+set}" != set; then
52091 echo "#! /bin/sh" >conf$$.sh
52092 echo "exit 0" >>conf$$.sh
52093 chmod +x conf$$.sh
52094 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52095 PATH_SEPARATOR=';'
52096 else
52097 PATH_SEPARATOR=:
52098 fi
52099 rm -f conf$$.sh
52100 fi
52101
52102 # Support unset when possible.
52103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52104 as_unset=unset
52105 else
52106 as_unset=false
52107 fi
52108
52109
52110 # IFS
52111 # We need space, tab and new line, in precisely that order. Quoting is
52112 # there to prevent editors from complaining about space-tab.
52113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52114 # splitting by setting IFS to empty value.)
52115 as_nl='
52116 '
52117 IFS=" "" $as_nl"
52118
52119 # Find who we are. Look in the path if we contain no directory separator.
52120 case $0 in
52121 *[\\/]* ) as_myself=$0 ;;
52122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52123 for as_dir in $PATH
52124 do
52125 IFS=$as_save_IFS
52126 test -z "$as_dir" && as_dir=.
52127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52128 done
52129 IFS=$as_save_IFS
52130
52131 ;;
52132 esac
52133 # We did not find ourselves, most probably we were run as `sh COMMAND'
52134 # in which case we are not to be found in the path.
52135 if test "x$as_myself" = x; then
52136 as_myself=$0
52137 fi
52138 if test ! -f "$as_myself"; then
52139 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52140 { (exit 1); exit 1; }
52141 fi
52142
52143 # Work around bugs in pre-3.0 UWIN ksh.
52144 for as_var in ENV MAIL MAILPATH
52145 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52146 done
52147 PS1='$ '
52148 PS2='> '
52149 PS4='+ '
52150
52151 # NLS nuisances.
52152 for as_var in \
52153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52155 LC_TELEPHONE LC_TIME
52156 do
52157 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52158 eval $as_var=C; export $as_var
52159 else
52160 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52161 fi
52162 done
52163
52164 # Required to use basename.
52165 if expr a : '\(a\)' >/dev/null 2>&1 &&
52166 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52167 as_expr=expr
52168 else
52169 as_expr=false
52170 fi
52171
52172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52173 as_basename=basename
52174 else
52175 as_basename=false
52176 fi
52177
52178
52179 # Name of the executable.
52180 as_me=`$as_basename -- "$0" ||
52181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52182 X"$0" : 'X\(//\)$' \| \
52183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52184 echo X/"$0" |
52185 sed '/^.*\/\([^/][^/]*\)\/*$/{
52186 s//\1/
52187 q
52188 }
52189 /^X\/\(\/\/\)$/{
52190 s//\1/
52191 q
52192 }
52193 /^X\/\(\/\).*/{
52194 s//\1/
52195 q
52196 }
52197 s/.*/./; q'`
52198
52199 # CDPATH.
52200 $as_unset CDPATH
52201
52202
52203
52204 as_lineno_1=$LINENO
52205 as_lineno_2=$LINENO
52206 test "x$as_lineno_1" != "x$as_lineno_2" &&
52207 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52208
52209 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52210 # uniformly replaced by the line number. The first 'sed' inserts a
52211 # line-number line after each line using $LINENO; the second 'sed'
52212 # does the real work. The second script uses 'N' to pair each
52213 # line-number line with the line containing $LINENO, and appends
52214 # trailing '-' during substitution so that $LINENO is not a special
52215 # case at line end.
52216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52217 # scripts with optimization help from Paolo Bonzini. Blame Lee
52218 # E. McMahon (1931-1989) for sed's syntax. :-)
52219 sed -n '
52220 p
52221 /[$]LINENO/=
52222 ' <$as_myself |
52223 sed '
52224 s/[$]LINENO.*/&-/
52225 t lineno
52226 b
52227 :lineno
52228 N
52229 :loop
52230 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52231 t loop
52232 s/-\n.*//
52233 ' >$as_me.lineno &&
52234 chmod +x "$as_me.lineno" ||
52235 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52236 { (exit 1); exit 1; }; }
52237
52238 # Don't try to exec as it changes $[0], causing all sort of problems
52239 # (the dirname of $[0] is not the place where we might find the
52240 # original and so on. Autoconf is especially sensitive to this).
52241 . "./$as_me.lineno"
52242 # Exit status is that of the last command.
52243 exit
52244 }
52245
52246
52247 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52248 as_dirname=dirname
52249 else
52250 as_dirname=false
52251 fi
52252
52253 ECHO_C= ECHO_N= ECHO_T=
52254 case `echo -n x` in
52255 -n*)
52256 case `echo 'x\c'` in
52257 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52258 *) ECHO_C='\c';;
52259 esac;;
52260 *)
52261 ECHO_N='-n';;
52262 esac
52263
52264 if expr a : '\(a\)' >/dev/null 2>&1 &&
52265 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52266 as_expr=expr
52267 else
52268 as_expr=false
52269 fi
52270
52271 rm -f conf$$ conf$$.exe conf$$.file
52272 if test -d conf$$.dir; then
52273 rm -f conf$$.dir/conf$$.file
52274 else
52275 rm -f conf$$.dir
52276 mkdir conf$$.dir
52277 fi
52278 echo >conf$$.file
52279 if ln -s conf$$.file conf$$ 2>/dev/null; then
52280 as_ln_s='ln -s'
52281 # ... but there are two gotchas:
52282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52284 # In both cases, we have to default to `cp -p'.
52285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52286 as_ln_s='cp -p'
52287 elif ln conf$$.file conf$$ 2>/dev/null; then
52288 as_ln_s=ln
52289 else
52290 as_ln_s='cp -p'
52291 fi
52292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52293 rmdir conf$$.dir 2>/dev/null
52294
52295 if mkdir -p . 2>/dev/null; then
52296 as_mkdir_p=:
52297 else
52298 test -d ./-p && rmdir ./-p
52299 as_mkdir_p=false
52300 fi
52301
52302 if test -x / >/dev/null 2>&1; then
52303 as_test_x='test -x'
52304 else
52305 if ls -dL / >/dev/null 2>&1; then
52306 as_ls_L_option=L
52307 else
52308 as_ls_L_option=
52309 fi
52310 as_test_x='
52311 eval sh -c '\''
52312 if test -d "$1"; then
52313 test -d "$1/.";
52314 else
52315 case $1 in
52316 -*)set "./$1";;
52317 esac;
52318 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52319 ???[sx]*):;;*)false;;esac;fi
52320 '\'' sh
52321 '
52322 fi
52323 as_executable_p=$as_test_x
52324
52325 # Sed expression to map a string onto a valid CPP name.
52326 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52327
52328 # Sed expression to map a string onto a valid variable name.
52329 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52330
52331
52332 exec 6>&1
52333
52334 # Save the log message, to keep $[0] and so on meaningful, and to
52335 # report actual input values of CONFIG_FILES etc. instead of their
52336 # values after options handling.
52337 ac_log="
52338 This file was extended by wxWidgets $as_me 2.9.1, which was
52339 generated by GNU Autoconf 2.61. Invocation command line was
52340
52341 CONFIG_FILES = $CONFIG_FILES
52342 CONFIG_HEADERS = $CONFIG_HEADERS
52343 CONFIG_LINKS = $CONFIG_LINKS
52344 CONFIG_COMMANDS = $CONFIG_COMMANDS
52345 $ $0 $@
52346
52347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52348 "
52349
52350 _ACEOF
52351
52352 cat >>$CONFIG_STATUS <<_ACEOF
52353 # Files that config.status was made for.
52354 config_files="$ac_config_files"
52355 config_headers="$ac_config_headers"
52356 config_commands="$ac_config_commands"
52357
52358 _ACEOF
52359
52360 cat >>$CONFIG_STATUS <<\_ACEOF
52361 ac_cs_usage="\
52362 \`$as_me' instantiates files from templates according to the
52363 current configuration.
52364
52365 Usage: $0 [OPTIONS] [FILE]...
52366
52367 -h, --help print this help, then exit
52368 -V, --version print version number and configuration settings, then exit
52369 -q, --quiet do not print progress messages
52370 -d, --debug don't remove temporary files
52371 --recheck update $as_me by reconfiguring in the same conditions
52372 --file=FILE[:TEMPLATE]
52373 instantiate the configuration file FILE
52374 --header=FILE[:TEMPLATE]
52375 instantiate the configuration header FILE
52376
52377 Configuration files:
52378 $config_files
52379
52380 Configuration headers:
52381 $config_headers
52382
52383 Configuration commands:
52384 $config_commands
52385
52386 Report bugs to <bug-autoconf@gnu.org>."
52387
52388 _ACEOF
52389 cat >>$CONFIG_STATUS <<_ACEOF
52390 ac_cs_version="\\
52391 wxWidgets config.status 2.9.1
52392 configured by $0, generated by GNU Autoconf 2.61,
52393 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52394
52395 Copyright (C) 2006 Free Software Foundation, Inc.
52396 This config.status script is free software; the Free Software Foundation
52397 gives unlimited permission to copy, distribute and modify it."
52398
52399 ac_pwd='$ac_pwd'
52400 srcdir='$srcdir'
52401 INSTALL='$INSTALL'
52402 _ACEOF
52403
52404 cat >>$CONFIG_STATUS <<\_ACEOF
52405 # If no file are specified by the user, then we need to provide default
52406 # value. By we need to know if files were specified by the user.
52407 ac_need_defaults=:
52408 while test $# != 0
52409 do
52410 case $1 in
52411 --*=*)
52412 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52413 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52414 ac_shift=:
52415 ;;
52416 *)
52417 ac_option=$1
52418 ac_optarg=$2
52419 ac_shift=shift
52420 ;;
52421 esac
52422
52423 case $ac_option in
52424 # Handling of the options.
52425 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52426 ac_cs_recheck=: ;;
52427 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52428 echo "$ac_cs_version"; exit ;;
52429 --debug | --debu | --deb | --de | --d | -d )
52430 debug=: ;;
52431 --file | --fil | --fi | --f )
52432 $ac_shift
52433 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52434 ac_need_defaults=false;;
52435 --header | --heade | --head | --hea )
52436 $ac_shift
52437 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52438 ac_need_defaults=false;;
52439 --he | --h)
52440 # Conflict between --help and --header
52441 { echo "$as_me: error: ambiguous option: $1
52442 Try \`$0 --help' for more information." >&2
52443 { (exit 1); exit 1; }; };;
52444 --help | --hel | -h )
52445 echo "$ac_cs_usage"; exit ;;
52446 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52447 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52448 ac_cs_silent=: ;;
52449
52450 # This is an error.
52451 -*) { echo "$as_me: error: unrecognized option: $1
52452 Try \`$0 --help' for more information." >&2
52453 { (exit 1); exit 1; }; } ;;
52454
52455 *) ac_config_targets="$ac_config_targets $1"
52456 ac_need_defaults=false ;;
52457
52458 esac
52459 shift
52460 done
52461
52462 ac_configure_extra_args=
52463
52464 if $ac_cs_silent; then
52465 exec 6>/dev/null
52466 ac_configure_extra_args="$ac_configure_extra_args --silent"
52467 fi
52468
52469 _ACEOF
52470 cat >>$CONFIG_STATUS <<_ACEOF
52471 if \$ac_cs_recheck; then
52472 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52473 CONFIG_SHELL=$SHELL
52474 export CONFIG_SHELL
52475 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52476 fi
52477
52478 _ACEOF
52479 cat >>$CONFIG_STATUS <<\_ACEOF
52480 exec 5>>config.log
52481 {
52482 echo
52483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52484 ## Running $as_me. ##
52485 _ASBOX
52486 echo "$ac_log"
52487 } >&5
52488
52489 _ACEOF
52490 cat >>$CONFIG_STATUS <<_ACEOF
52491 #
52492 # INIT-COMMANDS
52493 #
52494
52495 CPP="$CPP"
52496 infile="$srcdir/include/wx/msw/genrcdefs.h"
52497 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52498
52499
52500 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52501 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52502 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52503 LN_S="${LN_S}"
52504
52505
52506 _ACEOF
52507
52508 cat >>$CONFIG_STATUS <<\_ACEOF
52509
52510 # Handling of arguments.
52511 for ac_config_target in $ac_config_targets
52512 do
52513 case $ac_config_target in
52514 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52515 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52516 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52517 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52518 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52519 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52520 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52521 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52522 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52523
52524 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52525 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52526 { (exit 1); exit 1; }; };;
52527 esac
52528 done
52529
52530
52531 # If the user did not use the arguments to specify the items to instantiate,
52532 # then the envvar interface is used. Set only those that are not.
52533 # We use the long form for the default assignment because of an extremely
52534 # bizarre bug on SunOS 4.1.3.
52535 if $ac_need_defaults; then
52536 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52537 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52538 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52539 fi
52540
52541 # Have a temporary directory for convenience. Make it in the build tree
52542 # simply because there is no reason against having it here, and in addition,
52543 # creating and moving files from /tmp can sometimes cause problems.
52544 # Hook for its removal unless debugging.
52545 # Note that there is a small window in which the directory will not be cleaned:
52546 # after its creation but before its name has been assigned to `$tmp'.
52547 $debug ||
52548 {
52549 tmp=
52550 trap 'exit_status=$?
52551 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52552 ' 0
52553 trap '{ (exit 1); exit 1; }' 1 2 13 15
52554 }
52555 # Create a (secure) tmp directory for tmp files.
52556
52557 {
52558 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52559 test -n "$tmp" && test -d "$tmp"
52560 } ||
52561 {
52562 tmp=./conf$$-$RANDOM
52563 (umask 077 && mkdir "$tmp")
52564 } ||
52565 {
52566 echo "$me: cannot create a temporary directory in ." >&2
52567 { (exit 1); exit 1; }
52568 }
52569
52570 #
52571 # Set up the sed scripts for CONFIG_FILES section.
52572 #
52573
52574 # No need to generate the scripts if there are no CONFIG_FILES.
52575 # This happens for instance when ./config.status config.h
52576 if test -n "$CONFIG_FILES"; then
52577
52578 _ACEOF
52579
52580
52581
52582 ac_delim='%!_!# '
52583 for ac_last_try in false false false false false :; do
52584 cat >conf$$subs.sed <<_ACEOF
52585 SHELL!$SHELL$ac_delim
52586 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52587 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52588 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52589 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52590 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52591 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52592 exec_prefix!$exec_prefix$ac_delim
52593 prefix!$prefix$ac_delim
52594 program_transform_name!$program_transform_name$ac_delim
52595 bindir!$bindir$ac_delim
52596 sbindir!$sbindir$ac_delim
52597 libexecdir!$libexecdir$ac_delim
52598 datarootdir!$datarootdir$ac_delim
52599 datadir!$datadir$ac_delim
52600 sysconfdir!$sysconfdir$ac_delim
52601 sharedstatedir!$sharedstatedir$ac_delim
52602 localstatedir!$localstatedir$ac_delim
52603 includedir!$includedir$ac_delim
52604 oldincludedir!$oldincludedir$ac_delim
52605 docdir!$docdir$ac_delim
52606 infodir!$infodir$ac_delim
52607 htmldir!$htmldir$ac_delim
52608 dvidir!$dvidir$ac_delim
52609 pdfdir!$pdfdir$ac_delim
52610 psdir!$psdir$ac_delim
52611 libdir!$libdir$ac_delim
52612 localedir!$localedir$ac_delim
52613 mandir!$mandir$ac_delim
52614 DEFS!$DEFS$ac_delim
52615 ECHO_C!$ECHO_C$ac_delim
52616 ECHO_N!$ECHO_N$ac_delim
52617 ECHO_T!$ECHO_T$ac_delim
52618 LIBS!$LIBS$ac_delim
52619 build_alias!$build_alias$ac_delim
52620 host_alias!$host_alias$ac_delim
52621 target_alias!$target_alias$ac_delim
52622 build!$build$ac_delim
52623 build_cpu!$build_cpu$ac_delim
52624 build_vendor!$build_vendor$ac_delim
52625 build_os!$build_os$ac_delim
52626 host!$host$ac_delim
52627 host_cpu!$host_cpu$ac_delim
52628 host_vendor!$host_vendor$ac_delim
52629 host_os!$host_os$ac_delim
52630 wx_top_builddir!$wx_top_builddir$ac_delim
52631 CC!$CC$ac_delim
52632 CFLAGS!$CFLAGS$ac_delim
52633 LDFLAGS!$LDFLAGS$ac_delim
52634 CPPFLAGS!$CPPFLAGS$ac_delim
52635 ac_ct_CC!$ac_ct_CC$ac_delim
52636 EXEEXT!$EXEEXT$ac_delim
52637 OBJEXT!$OBJEXT$ac_delim
52638 CPP!$CPP$ac_delim
52639 GREP!$GREP$ac_delim
52640 EGREP!$EGREP$ac_delim
52641 CXX!$CXX$ac_delim
52642 CXXFLAGS!$CXXFLAGS$ac_delim
52643 ac_ct_CXX!$ac_ct_CXX$ac_delim
52644 AR!$AR$ac_delim
52645 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52646 subdirs!$subdirs$ac_delim
52647 PKG_CONFIG!$PKG_CONFIG$ac_delim
52648 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52649 GTK_LIBS!$GTK_LIBS$ac_delim
52650 GTK_CONFIG!$GTK_CONFIG$ac_delim
52651 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52652 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52653 XMKMF!$XMKMF$ac_delim
52654 X_CFLAGS!$X_CFLAGS$ac_delim
52655 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52656 X_LIBS!$X_LIBS$ac_delim
52657 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52658 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52659 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52660 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52661 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52662 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52663 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52664 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52665 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52666 LIBICONV!$LIBICONV$ac_delim
52667 GXX_VERSION!$GXX_VERSION$ac_delim
52668 SDL_CONFIG!$SDL_CONFIG$ac_delim
52669 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52670 SDL_LIBS!$SDL_LIBS$ac_delim
52671 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52672 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52673 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52674 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52675 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52676 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52677 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52678 HILDON_LIBS!$HILDON_LIBS$ac_delim
52679 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52680 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52681 PYTHON!$PYTHON$ac_delim
52682 _ACEOF
52683
52684 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52685 break
52686 elif $ac_last_try; then
52687 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52688 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52689 { (exit 1); exit 1; }; }
52690 else
52691 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52692 fi
52693 done
52694
52695 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52696 if test -n "$ac_eof"; then
52697 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52698 ac_eof=`expr $ac_eof + 1`
52699 fi
52700
52701 cat >>$CONFIG_STATUS <<_ACEOF
52702 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52703 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52704 _ACEOF
52705 sed '
52706 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52707 s/^/s,@/; s/!/@,|#_!!_#|/
52708 :n
52709 t n
52710 s/'"$ac_delim"'$/,g/; t
52711 s/$/\\/; p
52712 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52713 ' >>$CONFIG_STATUS <conf$$subs.sed
52714 rm -f conf$$subs.sed
52715 cat >>$CONFIG_STATUS <<_ACEOF
52716 CEOF$ac_eof
52717 _ACEOF
52718
52719
52720 ac_delim='%!_!# '
52721 for ac_last_try in false false false false false :; do
52722 cat >conf$$subs.sed <<_ACEOF
52723 COND_PYTHON!$COND_PYTHON$ac_delim
52724 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52725 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52726 GST_CFLAGS!$GST_CFLAGS$ac_delim
52727 GST_LIBS!$GST_LIBS$ac_delim
52728 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52729 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52730 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52731 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52732 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52733 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52734 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52735 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52736 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52737 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52738 VENDOR!$VENDOR$ac_delim
52739 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52740 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52741 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52742 WXUNIV!$WXUNIV$ac_delim
52743 MONOLITHIC!$MONOLITHIC$ac_delim
52744 USE_PLUGINS!$USE_PLUGINS$ac_delim
52745 CXXWARNINGS!$CXXWARNINGS$ac_delim
52746 EXTRALIBS!$EXTRALIBS$ac_delim
52747 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52748 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52749 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52750 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52751 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52752 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52753 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52754 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52755 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52756 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52757 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52758 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52759 UNICODE!$UNICODE$ac_delim
52760 DEBUG_INFO!$DEBUG_INFO$ac_delim
52761 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52762 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52763 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52764 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52765 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52766 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52767 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52768 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52769 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52770 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52771 RANLIB!$RANLIB$ac_delim
52772 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52773 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52774 INSTALL_DATA!$INSTALL_DATA$ac_delim
52775 LN_S!$LN_S$ac_delim
52776 SET_MAKE!$SET_MAKE$ac_delim
52777 MAKE_SET!$MAKE_SET$ac_delim
52778 AROPTIONS!$AROPTIONS$ac_delim
52779 STRIP!$STRIP$ac_delim
52780 NM!$NM$ac_delim
52781 INSTALL_DIR!$INSTALL_DIR$ac_delim
52782 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52783 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52784 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52785 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52786 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52787 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52788 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52789 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52790 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52791 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52792 SO_SUFFIX!$SO_SUFFIX$ac_delim
52793 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52794 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52795 LIBPREFIX!$LIBPREFIX$ac_delim
52796 LIBEXT!$LIBEXT$ac_delim
52797 DLLPREFIX!$DLLPREFIX$ac_delim
52798 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52799 dlldir!$dlldir$ac_delim
52800 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52801 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52802 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52803 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52804 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52805 PIC_FLAG!$PIC_FLAG$ac_delim
52806 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52807 USE_SOVERSION!$USE_SOVERSION$ac_delim
52808 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52809 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52810 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52811 USE_MACVERSION!$USE_MACVERSION$ac_delim
52812 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52813 SONAME_FLAG!$SONAME_FLAG$ac_delim
52814 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52815 BK_DEPS!$BK_DEPS$ac_delim
52816 WINDRES!$WINDRES$ac_delim
52817 REZ!$REZ$ac_delim
52818 SETFILE!$SETFILE$ac_delim
52819 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52820 _ACEOF
52821
52822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52823 break
52824 elif $ac_last_try; then
52825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52827 { (exit 1); exit 1; }; }
52828 else
52829 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52830 fi
52831 done
52832
52833 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52834 if test -n "$ac_eof"; then
52835 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52836 ac_eof=`expr $ac_eof + 1`
52837 fi
52838
52839 cat >>$CONFIG_STATUS <<_ACEOF
52840 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52842 _ACEOF
52843 sed '
52844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52845 s/^/s,@/; s/!/@,|#_!!_#|/
52846 :n
52847 t n
52848 s/'"$ac_delim"'$/,g/; t
52849 s/$/\\/; p
52850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52851 ' >>$CONFIG_STATUS <conf$$subs.sed
52852 rm -f conf$$subs.sed
52853 cat >>$CONFIG_STATUS <<_ACEOF
52854 CEOF$ac_eof
52855 _ACEOF
52856
52857
52858 ac_delim='%!_!# '
52859 for ac_last_try in false false false false false :; do
52860 cat >conf$$subs.sed <<_ACEOF
52861 GCC_PCH!$GCC_PCH$ac_delim
52862 ICC_PCH!$ICC_PCH$ac_delim
52863 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52864 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52865 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52866 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52867 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52868 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52869 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52870 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52871 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52872 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52873 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52874 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52875 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52876 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52877 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52878 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52879 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52880 COND_BUILD_release!$COND_BUILD_release$ac_delim
52881 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52882 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52883 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52884 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52885 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52886 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52887 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52888 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52889 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52890 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52891 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52892 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52893 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52899 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52900 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52901 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52902 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52903 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52904 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52905 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52910 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52911 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52912 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52913 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52915 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52916 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52917 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52918 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52919 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52920 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52921 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52922 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52923 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52924 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52925 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52926 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52927 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52928 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52929 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52930 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52931 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52932 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52933 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52934 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52935 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52937 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
52938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52939 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
52940 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52941 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52942 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52943 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52944 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52945 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52946 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52947 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52948 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52949 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52950 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52951 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52952 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52953 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52954 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52955 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52956 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52957 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52958 _ACEOF
52959
52960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52961 break
52962 elif $ac_last_try; then
52963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52965 { (exit 1); exit 1; }; }
52966 else
52967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52968 fi
52969 done
52970
52971 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52972 if test -n "$ac_eof"; then
52973 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52974 ac_eof=`expr $ac_eof + 1`
52975 fi
52976
52977 cat >>$CONFIG_STATUS <<_ACEOF
52978 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52980 _ACEOF
52981 sed '
52982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52983 s/^/s,@/; s/!/@,|#_!!_#|/
52984 :n
52985 t n
52986 s/'"$ac_delim"'$/,g/; t
52987 s/$/\\/; p
52988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52989 ' >>$CONFIG_STATUS <conf$$subs.sed
52990 rm -f conf$$subs.sed
52991 cat >>$CONFIG_STATUS <<_ACEOF
52992 CEOF$ac_eof
52993 _ACEOF
52994
52995
52996 ac_delim='%!_!# '
52997 for ac_last_try in false false false false false :; do
52998 cat >conf$$subs.sed <<_ACEOF
52999 COND_SHARED_0!$COND_SHARED_0$ac_delim
53000 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53001 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53002 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53003 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53004 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53005 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53006 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53007 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53008 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53009 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53010 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53011 COND_SHARED_1!$COND_SHARED_1$ac_delim
53012 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53013 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53014 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53015 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53016 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53017 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53018 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53019 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53020 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53022 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53024 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53025 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53026 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53027 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53028 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53029 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53030 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53031 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53032 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53033 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53034 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53035 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53036 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53037 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53038 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53039 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53040 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53041 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53042 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53043 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53044 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53045 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53046 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53047 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53048 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53049 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53050 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53051 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53052 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53053 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53054 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53055 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53056 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53057 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53058 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53059 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53060 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53061 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53062 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53063 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53064 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53065 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53066 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53067 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53068 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53069 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53070 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53071 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53072 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53073 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53074 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53075 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53076 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53077 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53078 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53079 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53080 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53081 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53082 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53083 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53084 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53085 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53086 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53087 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53088 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53089 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53090 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53091 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53092 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53093 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53094 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53095 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53096 _ACEOF
53097
53098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53099 break
53100 elif $ac_last_try; then
53101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53103 { (exit 1); exit 1; }; }
53104 else
53105 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53106 fi
53107 done
53108
53109 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53110 if test -n "$ac_eof"; then
53111 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53112 ac_eof=`expr $ac_eof + 1`
53113 fi
53114
53115 cat >>$CONFIG_STATUS <<_ACEOF
53116 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53118 _ACEOF
53119 sed '
53120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53121 s/^/s,@/; s/!/@,|#_!!_#|/
53122 :n
53123 t n
53124 s/'"$ac_delim"'$/,g/; t
53125 s/$/\\/; p
53126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53127 ' >>$CONFIG_STATUS <conf$$subs.sed
53128 rm -f conf$$subs.sed
53129 cat >>$CONFIG_STATUS <<_ACEOF
53130 CEOF$ac_eof
53131 _ACEOF
53132
53133
53134 ac_delim='%!_!# '
53135 for ac_last_try in false false false false false :; do
53136 cat >conf$$subs.sed <<_ACEOF
53137 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53138 DEREZ!$DEREZ$ac_delim
53139 SHARED!$SHARED$ac_delim
53140 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53141 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53142 USE_GUI!$USE_GUI$ac_delim
53143 AFMINSTALL!$AFMINSTALL$ac_delim
53144 WIN32INSTALL!$WIN32INSTALL$ac_delim
53145 TOOLKIT!$TOOLKIT$ac_delim
53146 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53147 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53148 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53149 cross_compiling!$cross_compiling$ac_delim
53150 WIDGET_SET!$WIDGET_SET$ac_delim
53151 WX_RELEASE!$WX_RELEASE$ac_delim
53152 WX_VERSION!$WX_VERSION$ac_delim
53153 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53154 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53155 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53156 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53157 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53158 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53159 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53160 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53161 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53162 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53163 GUIDIST!$GUIDIST$ac_delim
53164 DISTDIR!$DISTDIR$ac_delim
53165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53170 RESCOMP!$RESCOMP$ac_delim
53171 RESFLAGS!$RESFLAGS$ac_delim
53172 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53173 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53174 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53175 LIBWXMACRES!$LIBWXMACRES$ac_delim
53176 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53177 MACSETFILE!$MACSETFILE$ac_delim
53178 GCC!$GCC$ac_delim
53179 DLLTOOL!$DLLTOOL$ac_delim
53180 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53181 LIBOBJS!$LIBOBJS$ac_delim
53182 LTLIBOBJS!$LTLIBOBJS$ac_delim
53183 _ACEOF
53184
53185 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53186 break
53187 elif $ac_last_try; then
53188 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53189 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53190 { (exit 1); exit 1; }; }
53191 else
53192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53193 fi
53194 done
53195
53196 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53197 if test -n "$ac_eof"; then
53198 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53199 ac_eof=`expr $ac_eof + 1`
53200 fi
53201
53202 cat >>$CONFIG_STATUS <<_ACEOF
53203 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53205 _ACEOF
53206 sed '
53207 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53208 s/^/s,@/; s/!/@,|#_!!_#|/
53209 :n
53210 t n
53211 s/'"$ac_delim"'$/,g/; t
53212 s/$/\\/; p
53213 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53214 ' >>$CONFIG_STATUS <conf$$subs.sed
53215 rm -f conf$$subs.sed
53216 cat >>$CONFIG_STATUS <<_ACEOF
53217 :end
53218 s/|#_!!_#|//g
53219 CEOF$ac_eof
53220 _ACEOF
53221
53222
53223 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53224 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53225 # trailing colons and then remove the whole line if VPATH becomes empty
53226 # (actually we leave an empty line to preserve line numbers).
53227 if test "x$srcdir" = x.; then
53228 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53229 s/:*\$(srcdir):*/:/
53230 s/:*\${srcdir}:*/:/
53231 s/:*@srcdir@:*/:/
53232 s/^\([^=]*=[ ]*\):*/\1/
53233 s/:*$//
53234 s/^[^=]*=[ ]*$//
53235 }'
53236 fi
53237
53238 cat >>$CONFIG_STATUS <<\_ACEOF
53239 fi # test -n "$CONFIG_FILES"
53240
53241
53242 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53243 do
53244 case $ac_tag in
53245 :[FHLC]) ac_mode=$ac_tag; continue;;
53246 esac
53247 case $ac_mode$ac_tag in
53248 :[FHL]*:*);;
53249 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53250 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53251 { (exit 1); exit 1; }; };;
53252 :[FH]-) ac_tag=-:-;;
53253 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53254 esac
53255 ac_save_IFS=$IFS
53256 IFS=:
53257 set x $ac_tag
53258 IFS=$ac_save_IFS
53259 shift
53260 ac_file=$1
53261 shift
53262
53263 case $ac_mode in
53264 :L) ac_source=$1;;
53265 :[FH])
53266 ac_file_inputs=
53267 for ac_f
53268 do
53269 case $ac_f in
53270 -) ac_f="$tmp/stdin";;
53271 *) # Look for the file first in the build tree, then in the source tree
53272 # (if the path is not absolute). The absolute path cannot be DOS-style,
53273 # because $ac_f cannot contain `:'.
53274 test -f "$ac_f" ||
53275 case $ac_f in
53276 [\\/$]*) false;;
53277 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53278 esac ||
53279 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53280 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53281 { (exit 1); exit 1; }; };;
53282 esac
53283 ac_file_inputs="$ac_file_inputs $ac_f"
53284 done
53285
53286 # Let's still pretend it is `configure' which instantiates (i.e., don't
53287 # use $as_me), people would be surprised to read:
53288 # /* config.h. Generated by config.status. */
53289 configure_input="Generated from "`IFS=:
53290 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53291 if test x"$ac_file" != x-; then
53292 configure_input="$ac_file. $configure_input"
53293 { echo "$as_me:$LINENO: creating $ac_file" >&5
53294 echo "$as_me: creating $ac_file" >&6;}
53295 fi
53296
53297 case $ac_tag in
53298 *:-:* | *:-) cat >"$tmp/stdin";;
53299 esac
53300 ;;
53301 esac
53302
53303 ac_dir=`$as_dirname -- "$ac_file" ||
53304 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53305 X"$ac_file" : 'X\(//\)[^/]' \| \
53306 X"$ac_file" : 'X\(//\)$' \| \
53307 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53308 echo X"$ac_file" |
53309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53310 s//\1/
53311 q
53312 }
53313 /^X\(\/\/\)[^/].*/{
53314 s//\1/
53315 q
53316 }
53317 /^X\(\/\/\)$/{
53318 s//\1/
53319 q
53320 }
53321 /^X\(\/\).*/{
53322 s//\1/
53323 q
53324 }
53325 s/.*/./; q'`
53326 { as_dir="$ac_dir"
53327 case $as_dir in #(
53328 -*) as_dir=./$as_dir;;
53329 esac
53330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53331 as_dirs=
53332 while :; do
53333 case $as_dir in #(
53334 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53335 *) as_qdir=$as_dir;;
53336 esac
53337 as_dirs="'$as_qdir' $as_dirs"
53338 as_dir=`$as_dirname -- "$as_dir" ||
53339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53340 X"$as_dir" : 'X\(//\)[^/]' \| \
53341 X"$as_dir" : 'X\(//\)$' \| \
53342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53343 echo X"$as_dir" |
53344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53345 s//\1/
53346 q
53347 }
53348 /^X\(\/\/\)[^/].*/{
53349 s//\1/
53350 q
53351 }
53352 /^X\(\/\/\)$/{
53353 s//\1/
53354 q
53355 }
53356 /^X\(\/\).*/{
53357 s//\1/
53358 q
53359 }
53360 s/.*/./; q'`
53361 test -d "$as_dir" && break
53362 done
53363 test -z "$as_dirs" || eval "mkdir $as_dirs"
53364 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53365 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53366 { (exit 1); exit 1; }; }; }
53367 ac_builddir=.
53368
53369 case "$ac_dir" in
53370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53371 *)
53372 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53373 # A ".." for each directory in $ac_dir_suffix.
53374 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53375 case $ac_top_builddir_sub in
53376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53378 esac ;;
53379 esac
53380 ac_abs_top_builddir=$ac_pwd
53381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53382 # for backward compatibility:
53383 ac_top_builddir=$ac_top_build_prefix
53384
53385 case $srcdir in
53386 .) # We are building in place.
53387 ac_srcdir=.
53388 ac_top_srcdir=$ac_top_builddir_sub
53389 ac_abs_top_srcdir=$ac_pwd ;;
53390 [\\/]* | ?:[\\/]* ) # Absolute name.
53391 ac_srcdir=$srcdir$ac_dir_suffix;
53392 ac_top_srcdir=$srcdir
53393 ac_abs_top_srcdir=$srcdir ;;
53394 *) # Relative name.
53395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53396 ac_top_srcdir=$ac_top_build_prefix$srcdir
53397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53398 esac
53399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53400
53401
53402 case $ac_mode in
53403 :F)
53404 #
53405 # CONFIG_FILE
53406 #
53407
53408 case $INSTALL in
53409 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53410 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53411 esac
53412 _ACEOF
53413
53414 cat >>$CONFIG_STATUS <<\_ACEOF
53415 # If the template does not know about datarootdir, expand it.
53416 # FIXME: This hack should be removed a few years after 2.60.
53417 ac_datarootdir_hack=; ac_datarootdir_seen=
53418
53419 case `sed -n '/datarootdir/ {
53420 p
53421 q
53422 }
53423 /@datadir@/p
53424 /@docdir@/p
53425 /@infodir@/p
53426 /@localedir@/p
53427 /@mandir@/p
53428 ' $ac_file_inputs` in
53429 *datarootdir*) ac_datarootdir_seen=yes;;
53430 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53431 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53432 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53433 _ACEOF
53434 cat >>$CONFIG_STATUS <<_ACEOF
53435 ac_datarootdir_hack='
53436 s&@datadir@&$datadir&g
53437 s&@docdir@&$docdir&g
53438 s&@infodir@&$infodir&g
53439 s&@localedir@&$localedir&g
53440 s&@mandir@&$mandir&g
53441 s&\\\${datarootdir}&$datarootdir&g' ;;
53442 esac
53443 _ACEOF
53444
53445 # Neutralize VPATH when `$srcdir' = `.'.
53446 # Shell code in configure.ac might set extrasub.
53447 # FIXME: do we really want to maintain this feature?
53448 cat >>$CONFIG_STATUS <<_ACEOF
53449 sed "$ac_vpsub
53450 $extrasub
53451 _ACEOF
53452 cat >>$CONFIG_STATUS <<\_ACEOF
53453 :t
53454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53455 s&@configure_input@&$configure_input&;t t
53456 s&@top_builddir@&$ac_top_builddir_sub&;t t
53457 s&@srcdir@&$ac_srcdir&;t t
53458 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53459 s&@top_srcdir@&$ac_top_srcdir&;t t
53460 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53461 s&@builddir@&$ac_builddir&;t t
53462 s&@abs_builddir@&$ac_abs_builddir&;t t
53463 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53464 s&@INSTALL@&$ac_INSTALL&;t t
53465 $ac_datarootdir_hack
53466 " $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
53467
53468 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53469 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53470 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53471 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53472 which seems to be undefined. Please make sure it is defined." >&5
53473 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53474 which seems to be undefined. Please make sure it is defined." >&2;}
53475
53476 rm -f "$tmp/stdin"
53477 case $ac_file in
53478 -) cat "$tmp/out"; rm -f "$tmp/out";;
53479 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53480 esac
53481 ;;
53482 :H)
53483 #
53484 # CONFIG_HEADER
53485 #
53486 _ACEOF
53487
53488 # Transform confdefs.h into a sed script `conftest.defines', that
53489 # substitutes the proper values into config.h.in to produce config.h.
53490 rm -f conftest.defines conftest.tail
53491 # First, append a space to every undef/define line, to ease matching.
53492 echo 's/$/ /' >conftest.defines
53493 # Then, protect against being on the right side of a sed subst, or in
53494 # an unquoted here document, in config.status. If some macros were
53495 # called several times there might be several #defines for the same
53496 # symbol, which is useless. But do not sort them, since the last
53497 # AC_DEFINE must be honored.
53498 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53499 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53500 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53501 # PARAMS is the parameter list in the macro definition--in most cases, it's
53502 # just an empty string.
53503 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53504 ac_dB='\\)[ (].*,\\1define\\2'
53505 ac_dC=' '
53506 ac_dD=' ,'
53507
53508 uniq confdefs.h |
53509 sed -n '
53510 t rset
53511 :rset
53512 s/^[ ]*#[ ]*define[ ][ ]*//
53513 t ok
53514 d
53515 :ok
53516 s/[\\&,]/\\&/g
53517 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53518 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53519 ' >>conftest.defines
53520
53521 # Remove the space that was appended to ease matching.
53522 # Then replace #undef with comments. This is necessary, for
53523 # example, in the case of _POSIX_SOURCE, which is predefined and required
53524 # on some systems where configure will not decide to define it.
53525 # (The regexp can be short, since the line contains either #define or #undef.)
53526 echo 's/ $//
53527 s,^[ #]*u.*,/* & */,' >>conftest.defines
53528
53529 # Break up conftest.defines:
53530 ac_max_sed_lines=50
53531
53532 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53533 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53534 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53535 # et cetera.
53536 ac_in='$ac_file_inputs'
53537 ac_out='"$tmp/out1"'
53538 ac_nxt='"$tmp/out2"'
53539
53540 while :
53541 do
53542 # Write a here document:
53543 cat >>$CONFIG_STATUS <<_ACEOF
53544 # First, check the format of the line:
53545 cat >"\$tmp/defines.sed" <<\\CEOF
53546 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53547 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53548 b
53549 :def
53550 _ACEOF
53551 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53552 echo 'CEOF
53553 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53554 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53555 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53556 grep . conftest.tail >/dev/null || break
53557 rm -f conftest.defines
53558 mv conftest.tail conftest.defines
53559 done
53560 rm -f conftest.defines conftest.tail
53561
53562 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53563 cat >>$CONFIG_STATUS <<\_ACEOF
53564 if test x"$ac_file" != x-; then
53565 echo "/* $configure_input */" >"$tmp/config.h"
53566 cat "$ac_result" >>"$tmp/config.h"
53567 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53568 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53569 echo "$as_me: $ac_file is unchanged" >&6;}
53570 else
53571 rm -f $ac_file
53572 mv "$tmp/config.h" $ac_file
53573 fi
53574 else
53575 echo "/* $configure_input */"
53576 cat "$ac_result"
53577 fi
53578 rm -f "$tmp/out12"
53579 ;;
53580
53581 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53582 echo "$as_me: executing $ac_file commands" >&6;}
53583 ;;
53584 esac
53585
53586
53587 case $ac_file$ac_mode in
53588 "rcdefs.h":C)
53589 mkdir -p $outdir &&
53590 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53591 ;;
53592 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53593 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53594 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53595 "wx-config":C) rm -f wx-config
53596 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53597 ;;
53598
53599 esac
53600 done # for ac_tag
53601
53602
53603 { (exit 0); exit 0; }
53604 _ACEOF
53605 chmod +x $CONFIG_STATUS
53606 ac_clean_files=$ac_clean_files_save
53607
53608
53609 # configure is writing to config.log, and then calls config.status.
53610 # config.status does its own redirection, appending to config.log.
53611 # Unfortunately, on DOS this fails, as config.log is still kept open
53612 # by configure, so config.status won't be able to write to it; its
53613 # output is simply discarded. So we exec the FD to /dev/null,
53614 # effectively closing config.log, so it can be properly (re)opened and
53615 # appended to by config.status. When coming back to configure, we
53616 # need to make the FD available again.
53617 if test "$no_create" != yes; then
53618 ac_cs_success=:
53619 ac_config_status_args=
53620 test "$silent" = yes &&
53621 ac_config_status_args="$ac_config_status_args --quiet"
53622 exec 5>/dev/null
53623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53624 exec 5>>config.log
53625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53626 # would make configure fail if this is the last instruction.
53627 $ac_cs_success || { (exit 1); exit 1; }
53628 fi
53629
53630 #
53631 # CONFIG_SUBDIRS section.
53632 #
53633 if test "$no_recursion" != yes; then
53634
53635 # Remove --cache-file and --srcdir arguments so they do not pile up.
53636 ac_sub_configure_args=
53637 ac_prev=
53638 eval "set x $ac_configure_args"
53639 shift
53640 for ac_arg
53641 do
53642 if test -n "$ac_prev"; then
53643 ac_prev=
53644 continue
53645 fi
53646 case $ac_arg in
53647 -cache-file | --cache-file | --cache-fil | --cache-fi \
53648 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53649 ac_prev=cache_file ;;
53650 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53651 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53652 | --c=*)
53653 ;;
53654 --config-cache | -C)
53655 ;;
53656 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53657 ac_prev=srcdir ;;
53658 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53659 ;;
53660 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53661 ac_prev=prefix ;;
53662 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53663 ;;
53664 *)
53665 case $ac_arg in
53666 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53667 esac
53668 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53669 esac
53670 done
53671
53672 # Always prepend --prefix to ensure using the same prefix
53673 # in subdir configurations.
53674 ac_arg="--prefix=$prefix"
53675 case $ac_arg in
53676 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53677 esac
53678 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53679
53680 # Pass --silent
53681 if test "$silent" = yes; then
53682 ac_sub_configure_args="--silent $ac_sub_configure_args"
53683 fi
53684
53685 ac_popdir=`pwd`
53686 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53687
53688 # Do not complain, so a configure script can configure whichever
53689 # parts of a large source tree are present.
53690 test -d "$srcdir/$ac_dir" || continue
53691
53692 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53693 echo "$as_me:$LINENO: $ac_msg" >&5
53694 echo "$ac_msg" >&6
53695 { as_dir="$ac_dir"
53696 case $as_dir in #(
53697 -*) as_dir=./$as_dir;;
53698 esac
53699 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53700 as_dirs=
53701 while :; do
53702 case $as_dir in #(
53703 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53704 *) as_qdir=$as_dir;;
53705 esac
53706 as_dirs="'$as_qdir' $as_dirs"
53707 as_dir=`$as_dirname -- "$as_dir" ||
53708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53709 X"$as_dir" : 'X\(//\)[^/]' \| \
53710 X"$as_dir" : 'X\(//\)$' \| \
53711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53712 echo X"$as_dir" |
53713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53714 s//\1/
53715 q
53716 }
53717 /^X\(\/\/\)[^/].*/{
53718 s//\1/
53719 q
53720 }
53721 /^X\(\/\/\)$/{
53722 s//\1/
53723 q
53724 }
53725 /^X\(\/\).*/{
53726 s//\1/
53727 q
53728 }
53729 s/.*/./; q'`
53730 test -d "$as_dir" && break
53731 done
53732 test -z "$as_dirs" || eval "mkdir $as_dirs"
53733 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53734 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53735 { (exit 1); exit 1; }; }; }
53736 ac_builddir=.
53737
53738 case "$ac_dir" in
53739 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53740 *)
53741 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53742 # A ".." for each directory in $ac_dir_suffix.
53743 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53744 case $ac_top_builddir_sub in
53745 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53746 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53747 esac ;;
53748 esac
53749 ac_abs_top_builddir=$ac_pwd
53750 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53751 # for backward compatibility:
53752 ac_top_builddir=$ac_top_build_prefix
53753
53754 case $srcdir in
53755 .) # We are building in place.
53756 ac_srcdir=.
53757 ac_top_srcdir=$ac_top_builddir_sub
53758 ac_abs_top_srcdir=$ac_pwd ;;
53759 [\\/]* | ?:[\\/]* ) # Absolute name.
53760 ac_srcdir=$srcdir$ac_dir_suffix;
53761 ac_top_srcdir=$srcdir
53762 ac_abs_top_srcdir=$srcdir ;;
53763 *) # Relative name.
53764 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53765 ac_top_srcdir=$ac_top_build_prefix$srcdir
53766 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53767 esac
53768 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53769
53770
53771 cd "$ac_dir"
53772
53773 # Check for guested configure; otherwise get Cygnus style configure.
53774 if test -f "$ac_srcdir/configure.gnu"; then
53775 ac_sub_configure=$ac_srcdir/configure.gnu
53776 elif test -f "$ac_srcdir/configure"; then
53777 ac_sub_configure=$ac_srcdir/configure
53778 elif test -f "$ac_srcdir/configure.in"; then
53779 # This should be Cygnus configure.
53780 ac_sub_configure=$ac_aux_dir/configure
53781 else
53782 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53783 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53784 ac_sub_configure=
53785 fi
53786
53787 # The recursion is here.
53788 if test -n "$ac_sub_configure"; then
53789 # Make the cache file name correct relative to the subdirectory.
53790 case $cache_file in
53791 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53792 *) # Relative name.
53793 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53794 esac
53795
53796 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53797 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53798 # The eval makes quoting arguments work.
53799 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53800 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53801 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53802 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53803 { (exit 1); exit 1; }; }
53804 fi
53805
53806 cd "$ac_popdir"
53807 done
53808 fi
53809
53810
53811 echo
53812 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53813 echo ""
53814 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53815 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53816 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53817 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53818 if test "$wxUSE_UNICODE" = "yes"; then
53819 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53820 echo " (using UTF-8)"
53821 else
53822 echo " (using wchar_t)"
53823 fi
53824 else
53825 echo
53826 fi
53827
53828 echo " What level of wxWidgets compatibility should be enabled?"
53829 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53830 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53831
53832 echo " Which libraries should wxWidgets use?"
53833 echo " STL ${wxUSE_STL}"
53834 echo " jpeg ${wxUSE_LIBJPEG-none}"
53835 echo " png ${wxUSE_LIBPNG-none}"
53836 echo " regex ${wxUSE_REGEX}"
53837 echo " tiff ${wxUSE_LIBTIFF-none}"
53838 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53839 echo " xpm ${wxUSE_LIBXPM-none}"
53840 fi
53841 echo " zlib ${wxUSE_ZLIB}"
53842 echo " expat ${wxUSE_EXPAT}"
53843 echo " libmspack ${wxUSE_LIBMSPACK}"
53844 echo " sdl ${wxUSE_LIBSDL}"
53845
53846 echo ""
53847